fix(deps): update dependency cozy-ui to v91 - autoclosed
This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| cozy-ui | dependencies | major | 81.5.0 -> 91.2.0 |
Release Notes
cozy/cozy-ui
v91.2.0
Features
- Section: Add prop to manage click on AppTile (ce9e6b9)
91.1.1 (2023-08-24)
Bug Fixes
- TimelineItem: Wasn't exporting correct MUI component (b8bdfff)
v91.1.1
Bug Fixes
- TimelineItem: Wasn't exporting correct MUI component (b8bdfff)
v91.1.0
Features
- Add components relative to Timeline (c2203fc)
v91.0.0
Features
- Avatar: Remove z-index (3d95434)
BREAKING CHANGES
-
Avatar: if you encounter some z-index problem with Avatar component, you must have to set it manually. Previously it was
set to
1
90.7.1 (2023-08-16)
Bug Fixes
- ContactsList: Avatar is no longer above list subheader (a3310d3)
v90.7.1
Bug Fixes
- ContactsList: Avatar is no longer above list subheader (a3310d3)
v90.7.0
Features
- ListItemFile: Use Filename to show the primary text (38c2bd2)
v90.6.0
Features
- Filename: Add midEllipsis prop (1f9df73)
v90.5.0
Features
- Add DemoProvider to simplify doc and tests (73efeb4)
- useI18n: Throw error if not used inside I18n provider (a54de0f)
v90.4.0
Features
- Paywall: Allow to open premium on flagship when iap will be enabled (b53abad)
v90.3.0
Features
- ActionsItems: Add possibility to spread arg between onClick and actions (ef54841)
v90.2.0
Bug Fixes
- Viewer: Success alert for copied item is now with a success style (f934e3c)
Features
- Add copy-text-to-clipboard 3.2.0 package (c79456f)
- Replace navigator.clipboard by copy-text-to-clipboard (2884a37)
v90.1.0
Bug Fixes
- CozyTheme: Set default variant to "normal" (816034d)
Features
- ActionsMenu: MakeActions() can now receive nullish actions (de39ce7)
v90.0.0
Features
- Add ButtonBase component (9e77485)
- Add QualificationGrid and QualificationItem components (b773099)
- Upgrade cozy-client from 35.2.0 to 38.11.1 (d59b93b)
BREAKING CHANGES
- you must have
cozy-client >= 38.11.1
v89.1.0
Features
- ListItemFile: Show correct icon for notes (ab03f13)
v89.0.0
Bug Fixes
- Alerts: Use correct CSS variable for z-index property (efd32d1)
BREAKING CHANGES
-
Alerts: Rename
--zindex-alertCSS variable to--zIndex-alert
v88.6.0
Bug Fixes
- Paywall: Improve wording to be more explicite (d21b311)
- Paywall: Open the premium link in the current window (95ac4b7)
Features
v88.5.0
Features
- Add images to transpiled folder (17c2440), closes /github.com/babel/babel/issues/11394#issuecomment-649014113
- Move InstallFlagshipAppDialog images from ./assets to ./icons folder (e8100e9)
Reverts
- Assets were not in the good directory (aaf3fc3)
v88.4.0
Features
- AuthentificationDialog: Allow redirection after password reset (0ba12cc), closes cozy/cozy-stack#4040
v88.3.0
Bug Fixes
- EyeClosed: Remove withe stroke to adapt color change (047cf55)
Features
- Add AuthentificationDialog (52ee385)
- Add CozyAuthentification illustration (a63249a)
- Add PasswordField (4e2a854)
- Add PermissionDialog (cf85f4c)
88.2.1 (2023-07-05)
Bug Fixes
- InstallFlagshipAppDialog: Assets were not in the good directory (512bcef)
v88.2.1
Bug Fixes
- InstallFlagshipAppDialog: Assets were not in the good directory (512bcef)
v88.2.0
Features
- InstallFlagshipAppDialog: Add InstallFlagshipAppDialog new component (6c984e9)
88.1.1 (2023-06-30)
Bug Fixes
- Viewer: Force style of ActionMenuDesktop (3cf40c4)
v88.1.1
Bug Fixes
- Viewer: Force style of ActionMenuDesktop (3cf40c4)
v88.1.0
Bug Fixes
- css: Add two missing z-index in CSS var (f7ef7d4)
- css: Avoid importing z-index.styl in each css of legacy component (8bc65ee)
Features
- css: Use z-index from CSS var instead of stylus var (bc2f05e)
- Viewer: Add missing translation (58014bf)
v88.0.0
Features
-
AccordionExpandIcon: Moved to
./AccordionSummaryfolder (d58dd51) - Deprecation and fallback for some components in MuiCozyTheme (c2f4acd)
- Move
MuiCozyTheme/MuiBreadcrumbsin/Breadcrumbs(1678047) - Move Breadcrumbs component into
./legacyfolder (ffc9c9b) - Move components from
MuiCozyThemefolder toreactfolder (b9f5324) - Remove
MuiCozyTheme/Dialogcontent (549c20a)
BREAKING CHANGES
- We moved these components into
/reactfolder.
This is the list of impacted components: MuiCozyTheme/Buttons, MuiCozyTheme/MuiBreadcrumbs, MuiCozyTheme/Dialog, MuiCozyTheme/Accordion, MuiCozyTheme/AccordionDetails, MuiCozyTheme/AccordionSummary, MuiCozyTheme/Divider, MuiCozyTheme/Grid, MuiCozyTheme/List, MuiCozyTheme/ListItem, MuiCozyTheme/ListItemIcon, MuiCozyTheme/ListItemSecondaryAction, MuiCozyTheme/ListSubheader, MuiCozyTheme/Menu, MuiCozyTheme/Switch, MuiCozyTheme/TextField
You can use this codemods to migrate:
$ yarn global add @​cozy/codemods
$ jscodeshift -t $(yarn global dir)/node_modules/@​cozy/codemods/src/transforms/transform-ui-muicozytheme-imports.js src --parser babel --ignore-pattern=src/targets/ --extensions js,jsx
- you must replace
cozy-ui/transpiled/react/Breadcrumbsbycozy-ui/transpiled/react/legacy/Breadcrumbs
v87.0.0
Features
- Deprecates some component (85404bd)
BREAKING CHANGES
- This is the list of deprecated component
ActionMenu,Alerter,BottomDrawer,Button,ButtonAction,Chip,CompositeRow,GridItem,Infos,InfosCarrousel,InlineCard,IntentModal,IntentOpener,Media,Menus,Modal,NarrowContent,Overlay,PercentageBar,PercentageLine,PushClientButton,QuotaAlert,Radio,RaisedList,ViewStack
These components are now in a deprecated subfolder. Use this codemods to migrate:
$ yarn global add @​cozy/codemods
$ jscodeshift -t $(yarn global dir)/node_modules/@​cozy/codemods/src/transforms/transform-ui-deprecated-imports.js src --parser babel --ignore-pattern=src/targets/ --extensions js,jsx
v86.3.0
Features
v86.2.0
Features
- Add "ArrowUp" UI Icon (b0c3711)
v86.1.0
Features
- Remove
mespapiers.migrated.metadataflag (43bcc3e)
v86.0.0
Bug Fixes
- ActionsMenu: Divider actions wasn't spreading ref (15a9554)
- ActionsMenu: Now force autofocus on first item for better a11y (4264903)
- ActionsMenu: Now spread props first to avoid override (c30e183)
-
ActionsMenu: Prop
docwas spread to ActionsMenuItem child (a2160c1) - Divider: Ref wasn't spreaded (8220dba)
- I18n: Translate() wasn't spreading ref (b23c16f)
- I18n: WithOnlyLocales wasn't spreading ref (5ca4004)
- ListItem: Remove autoFocus and set focus on mount in RenameInput (04d9985)
Features
- ActionsMenu: Add possibility to spread props to ActionsItems (20534cb)
- ListItemContact: Use new ActionsMenu to get better accessibility (e77d043)
BREAKING CHANGES
-
ActionsMenu:
ActionsItemsno longer supportisLastandsetIsRenamingprops. You have to useactionOptionsto pass them. You should not be worried about this BC,ActionsItemsis generally not used directly in apps
v85.9.0
Bug Fixes
- css: Avoid importing palette.styl and utils.styl in each css of (311644b)
- css: Now import spaces stylus method from settings (087245b)
- Now remove useless import of display css utilities (ee6553a)
Features
- Remove direct import of palette.styl in legacy components (95ac529)
85.8.1 (2023-06-16)
Bug Fixes
- Change default wording for paywall (87f2680)
v85.8.1
Bug Fixes
- Change default wording for paywall (87f2680)
v85.8.0
Bug Fixes
Features
- Add MaxAccountByKonnectorPaywall (16ea048)
- Add MaxAccountsPaywall (b40765c)
- Add propTypes and jsDoc to Paywall (f14d3d8)
v85.7.0
Features
- Add withOnlyLocales HOC (f7fd728)
v85.6.0
Bug Fixes
- GetComponentName was crashing when using string arg (df8647f)
Features
- Add Thumbnail component (f060e70)
- Export shadows value in --shadowX css variables (d7a0f04)
- ListItemFile: Use Thumbnail in ItemIcon (03eb7f0)
v85.5.0
Features
v85.4.0
Features
- Viewer: To be consistent with recent wording changes (36d7d78)
85.3.1 (2023-05-24)
Bug Fixes
- QualificationListItemDate: Expiration annotation was shown not only on expiration date (d29e263)
v85.3.1
Bug Fixes
- QualificationListItemDate: Expiration annotation was shown not only on expiration date (d29e263)
v85.3.0
Bug Fixes
- BottomSheetItem: Use correct shadow value (7779c1e)
- Shadows: Adjust shadows value (c5b4906)
- SquareAppIcon: Use correct shadow value (316d02d)
Features
v85.2.0
Bug Fixes
- Remove usage of theme.mixin.gutters (faa161d)
Features
- MidEllipsis: We can now spread any prop and ref to the first child (8082cec)
- Move default props def from theme creation to components (233ea87)
v85.1.0
Bug Fixes
- FullScreenCozyDialog on flagship (273db8e)
Features
- Add className in order to be able to target them (8ead89c)
85.0.2 (2023-05-17)
Bug Fixes
- Fab: Hover background color is no longer transparent (74b6f54)
85.0.1 (2023-05-12)
Bug Fixes
- show spinner when needed in squareappIcon (0e92a42)
v85.0.2
Bug Fixes
- Fab: Hover background color is no longer transparent (74b6f54)
v85.0.1
Bug Fixes
- show spinner when needed in squareappIcon (0e92a42)
v85.0.0
Bug Fixes
- Update SquareAppIcon tests snapshots (360d29a)
Features
- Apply shadow to SquareAppIcon title only on inverted theme (8c16952)
- Blend ghost SquareAppIcon with
luminosityin normal theme (9374e9b) - Force
normaltheme on SquareAppIcon badge (except for ghost/add) (c15ea7c) - Make SquareAppIcon ghost and add variants adapt to CozyTheme (43364e7)
- Make SquareAppIcon shortcut's letter always white (317a2fd)
- Make SquareAppIcon's title adapt to CozyTheme (620623c)
BREAKING CHANGES
- To keep previous SquareAppIcon render, you should display it inside of an inverted Cozy Theme
import CozyTheme from 'cozy-ui/transpiled/react/CozyTheme'
<CozyTheme variant="inverted">
<SquareAppIcon /* ... */ />
</CozyTheme>
v84.3.0
Features
- Use CSS vars for shadows (13ef786)
v84.2.0
Features
- ExpandedAttributes: Add support for CAF file number (3166693)
84.1.6 (2023-05-11)
Bug Fixes
- SelectionBar: Mismatch between max action key (7a66eda)
84.1.5 (2023-05-11)
Bug Fixes
- Apply flagship style to closebutton higher (e11eb97)
84.1.4 (2023-05-04)
Bug Fixes
-
MenuItem: Override
componentprop (d816549)
84.1.3 (2023-04-27)
Bug Fixes
-
ActionsMenu actions: Stop spreading
t,f,langinto child (4fa0cc0) - ActionsMenuItem: We used transpiled version of imports, and... (233ae1f)
-
ListItem: Stop spreading
guttersandellipsisto children (0de5e66) - ListItemText: DisplayName and forwardRef was missing (a70322c)
84.1.2 (2023-04-27)
Bug Fixes
- ActionsMenu target wasn't good in global import (cac334a)
84.1.1 (2023-04-27)
Bug Fixes
- use includes() not startsWith() in animation (3c71bc6)
v84.1.6
Bug Fixes
- SelectionBar: Mismatch between max action key (7a66eda)
v84.1.5
Bug Fixes
- Apply flagship style to closebutton higher (e11eb97)
v84.1.4
Bug Fixes
-
MenuItem: Override
componentprop (d816549)
v84.1.3
Bug Fixes
-
ActionsMenu actions: Stop spreading
t,f,langinto child (4fa0cc0) - ActionsMenuItem: We used transpiled version of imports, and... (233ae1f)
-
ListItem: Stop spreading
guttersandellipsisto children (0de5e66) - ListItemText: DisplayName and forwardRef was missing (a70322c)
v84.1.2
Bug Fixes
- ActionsMenu target wasn't good in global import (cac334a)
v84.1.1
Bug Fixes
- use includes() not startsWith() in animation (3c71bc6)
v84.1.0
Bug Fixes
- ActionsMenuWrapper: Use now React.isValidElement on children and... (68c5b60)
- ListItem: LastChild should be undefined in some case without crash (0686bb3)
Features
-
ActionsItems: Rename prop
isEnabledindisabled(f4bcb0f) -
ActionsMenuItem: Force
ellipsis[secure] on MenuItem and ListItem (8a1725e) -
ActionsMenuItem: Set
ellipsisto [secure] for ListItem chlidren (cacf53c) -
ListItem: Add
ellipsisprop to set ListItemText ellipsis (135ef2a) - MenuItem: Change maxWidth and whiteSpace (e845f10)
- MenuItem: Use ListItem from cozy-ui and not from Mui (607315f)
v84.0.0
Features
- Add doc and adjust overrides for Menu from Mui. (40b5f0d)
- Add new component ActionsMenu (d1a57b1)
- Deprecates ActionMenu, use ActionsMenu instead (c71f6d8)
- Remove old deprecated Menu (36a4f6e)
- Viewer: Limit the average height of the BottomSheet (ebd964f)
BREAKING CHANGES
- You must replace
react/Menucomponent byreact/ActionsMenuorreact/MuiCozyTheme/Menu. Sincereact/Menuhas been depreciated for 3 years now, this should not be a problem.
v83.4.0
Features
- ContactsList: Adjust style after modification on ListItem (6049a7b)
- FilePicker: Adjust style after ListItem modifications (fa3b646)
- List: Update List, ListItem, ListItemText, ListSubheader, ListItemIcon (3e64e8e)
- NestedSelect: Adjust style after ListItem modifications (b951426)
v83.3.0
Features
- Add event listener on ref (5fcc981)
- Add ExtendableFab (511b5fc)
- Add useScroll hook to get scroll position from an element (fdf2a74)
v83.2.0
Features
- Add units on two attributes on ExpandedAttributes component (5410558)
83.1.1 (2023-04-21)
Bug Fixes
- SelectionBar: Adapt max actions to wide device (641f081)
v83.1.1
Bug Fixes
- SelectionBar: Adapt max actions to wide device (641f081)
v83.1.0
Features
- Add success/fail animations to SquareAppIcon (abbb4ed)
v83.0.0
Features
- Update react-pdf from 4.0.5 to 5.7.2 (fe9608e)
- Viewer: Navigate between pdf pages with keyboard (d05f712)
BREAKING CHANGES
- This update requires the two changes above in your application if you use the
Viewerto display PDF. You can find more detail inViewerdocumentation : https://docs.cozy.io/cozy-ui/react/#!/Viewer
Before :
- react-pdf alias :
react-pdf/dist/entry.webpack.js - public import for pdf worker :
react-pdf/dist/pdf.worker.entry.js
After :
- react-pdf alias :
react-pdf/dist/esm/entry.webpack - public import for pdf worker :
react-pdf/dist/esm/pdf.worker.entry
v82.14.0
Features
- TextField: Update style and documentation (8ff4ae0)
v82.13.0
Bug Fixes
- SelectionBar: Limit the number of actions displayed (bdfd9dd)
Features
- SelectionBar: Remove separator between count and actions (2930d3d)
v82.12.0
Features
- Update Fab component (cd4f0a6)
v82.11.0
Features
- ExpandedAttributes: Add some translated attributes as expanded (866bb00)
v82.10.0
Features
- Updated English translation for premium title in paywall (578836e)
v82.9.0
Bug Fixes
- helpers: GetRandomUUID was called even if undefined (749f79b)
- ListItemContact: DisplayName wasn't compliant with old contact app (1cd6ffb)
- ListItemContact: UseActions wasn't executed correctly in prod env (8c06496)
- Viewer: Typo for contractType (382bf2e)
Features
- ExpandedAttributes: Add localized contact address support (52fffe3)
- ExpandedAttributes: Add support for residence_permit... (90c3af0)
- ExpandedAttributes: Remove driver license obtention date support (3b7db1b)
- Viewer: Add locales for residence permit (f410942)
v82.8.0
Features
- Use helper for get random UUID (e659a9b)
v82.7.0
Features
82.6.1 (2023-03-31)
Bug Fixes
- Detect flagship app on paywall (593e135)
v82.6.1
Bug Fixes
- Detect flagship app on paywall (593e135)
v82.6.0
Bug Fixes
- Improve accessibility colors (ce9e6f6)
Features
- Improve CircleButton accessibility (7da40e0)
- Improve ContactListModal components accessibility (4806067)
82.5.1 (2023-03-30)
Bug Fixes
- ExpandedAttributes: Translated label was forgotten for flexsearch (46491bc)
v82.5.1
Bug Fixes
- ExpandedAttributes: Translated label was forgotten for flexsearch (46491bc)
v82.5.0
Features
- Update OnlyOffice paywall premium title (1c62ee6)
v82.4.0
Features
- Change OnlyOffice paywall action for mobile app (c3b3406)
- ExpandedAttributes: Change flexsearchProps translated keys (4b8c4ee)
- Update OnlyOffice paywall wording (58af6d8)
v82.3.0
Bug Fixes
- ExpandedAttributes: Secondary font wasn't correct (a9800df)
-
Filename: Props
filenamewas required (910ff05)
Features
- ExpandedAttributes: Add some locales (6fbcfe4)
- ExpandedAttributes: Change supported attributes and modify logic (238e359)
v82.2.0
Features
- Export Breadcrumbs from MUI (3bf0588)
82.1.2 (2023-03-24)
Bug Fixes
- Missing Viewer translation keys (0f79e7e)
82.1.1 (2023-03-23)
Bug Fixes
- remove margin on sqAppIcon spinner (6d74024)
v82.1.2
Bug Fixes
- Missing Viewer translation keys (0f79e7e)
v82.1.1
Bug Fixes
- remove margin on sqAppIcon spinner (6d74024)
v82.1.0
Bug Fixes
- ActionMenuItemWrapper: Icon prop was required (now optional) (58b98a6)
- ActionMenuWithClose: Props wasn't propagated to ActionMenu (0007d81)
- ListItem: ExpandedAttributes wasn't using correct local (97c704a)
Features
- ActionMenu: Add some export to have better DX (fda803a)
v82.0.0
Features
- Move ActionsMenu from ListItemBase into ActionMenu folder (02a91b9)
BREAKING CHANGES
-
react/MuiCozyTheme/ListItem/ListItemBase/ActionsMenuhas been removed. You need to change some imports :
-
cozy-ui/transpiled/react/MuiCozyTheme/ListItem/ListItemBase/ActionsMenu/ActionMenuItemWrappertocozy-ui/transpiled/react/ActionMenu/ActionMenuItemWrapper -
cozy-ui/transpiled/react/MuiCozyTheme/ListItem/ListItemBase/ActionsMenu/ActionMenuWithClosetocozy-ui/transpiled/react/ActionMenu/ActionMenuWithClose -
cozy-ui/transpiled/react/MuiCozyTheme/ListItem/ListItemBase/ActionsMenu/ActionsItemstocozy-ui/transpiled/react/ActionMenu/Actions/ActionsItems -
cozy-ui/transpiled/react/MuiCozyTheme/ListItem/ListItemBase/ActionsMenu/helperstocozy-ui/transpiled/react/ActionMenu/Actions/helpers -
cozy-ui/transpiled/react/MuiCozyTheme/ListItem/ListItemBase/ActionsMenu/Actions/*tocozy-ui/transpiled/react/ActionMenu/Actions/*
v81.9.0
Bug Fixes
- ListItemBase: Clicking on actions wasn't toggling the menu (3fbfa31)
Features
- Add ActionMenuItemWrapper for actions menus item (068f247)
- ListItemContact: Add action menu header (633ecf8)
- ListItemContact: Add default actions (9164e87)
v81.8.0
Features
- Fake commit to trigger CI deployment (ea46474)
v81.7.0
Features
- Fake commit to trigger CI deployment (149531b)
- ListItem: Add ExpandedAttributes comp (93c0471)
- ListItem: Add ListItemBase and its logic (fd094e0)
- ListItem: Add ListItemContact based on ListItemBase (8138158)
- ListItem: Add ListItemDoc (6972163)
- ListItem: Add ListItemFile based on ListItemBase (8ae5ce7)
- ListItem: Add locales and hoc to use them (d83876f)
- Some minors fixes after review (31f4e55)
81.6.1 (2023-03-21)
Bug Fixes
- QualificationListItemInformation component (2698d9f)
v81.6.1
Bug Fixes
- QualificationListItemInformation component (2698d9f)
v81.6.0
Features
- Add a flag around the attribute migration feature... (93790ce)
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.