fix(deps): update dependency cozy-ui to v105 - autoclosed
This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| cozy-ui | dependencies | major | ^86.0.0 -> ^105.0.0 |
Release Notes
cozy/cozy-ui
v105.12.0
Features
- ContactsListModal: Add the contact prop to provide its own list (8652fa6)
- ContactsListModal: Split query to specific file (b232fe0)
v105.11.0
Features
- Icon: Add Relationship icon (06727bf)
105.10.2 (2024-04-18)
Bug Fixes
- MidEllipsis: It should not trim strings (311e92d)
105.10.1 (2024-04-18)
Bug Fixes
- TextField: Props should not be overriden (5636cf9)
v105.10.2
Bug Fixes
- MidEllipsis: It should not trim strings (311e92d)
v105.10.1
Bug Fixes
- TextField: Props should not be overriden (5636cf9)
v105.10.0
Bug Fixes
- Dialog: Set disableEnforceFocus to true (969c848)
- TextField: Force specific icon component for Select usage (f14f998)
Features
- TextField: Use BottomDrawer on mobile for Select input (20a0030)
105.9.1 (2024-04-16)
Bug Fixes
- MenuItem: Remove maxWidth and add it on Menu instead (291c8cd)
v105.9.1
Bug Fixes
- MenuItem: Remove maxWidth and add it on Menu instead (291c8cd)
v105.9.0
Features
- Exclude shared drives dir from filepicker (c29b26d)
v105.8.0
Features
- Add missing proptypes to NestedSelect (c474ece)
- Open NestedSelect to a specific element (8cf959e)
- Remove useless code in NestedSelect (b88450c)
v105.7.0
Bug Fixes
- Add vertical scroll to sidebar when needed (9e9e95c)
- update nav.styl after broken lint passed MR (28333d8)
Features
- Add
<NavLimiter />component (8c7a14a) - ListItem: Use cozy-client to make ExpandedAttributes label (eb681e1)
v105.6.0
Features
- ListItem: Add licenseNumber and confidentialNumber in ExpandedAttr (4de21ff)
- Remove useless Viewer locales (221a66f)
v105.5.0
Features
- Update node-polyglot (fb41dca)
v105.4.0
Features
- Icons: Add multiple icons for the new qualifications modal (b5dca90)
105.3.1 (2024-03-28)
Bug Fixes
- Argos screenshots could not be validated (4cc3a0d)
v105.3.1
Bug Fixes
- Argos screenshots could not be validated (4cc3a0d)
v105.3.0
Features
- resizeImage: Reduce quality for big image (2b6cacf)
105.2.1 (2024-03-26)
Bug Fixes
- Viewer: Remove WebviewIntentProvider (edfdc1d)
v105.2.1
Bug Fixes
- Viewer: Remove WebviewIntentProvider (edfdc1d)
v105.2.0
Features
-
Viewer: Refactor PrintButton and use
ActionsItems(8b7a068)
v105.1.0
Bug Fixes
- NestedSelect: Remove title attribute on modal (de57aff)
Features
- NestedSelect: Add ellipsis on modal title (341db5a)
105.0.2 (2024-03-20)
Bug Fixes
- Viewer: Events must be limited on the image (548994d)
105.0.1 (2024-03-19)
Bug Fixes
- Viewer: The Pinch event doesn't have a "tapCount" property (8cde71d)
v105.0.2
Bug Fixes
- Viewer: Events must be limited on the image (548994d)
v105.0.1
Bug Fixes
- Viewer: The Pinch event doesn't have a "tapCount" property (8cde71d)
v105.0.0
Features
- Add all Table components from MUI (5c6438f)
BREAKING CHANGES
-
Tablecomponent has been deprecated. Use codemods to deal with the change.
yarn global add @​cozy/codemods
yarn global add jscodeshift@0.13.1
jscodeshift -t $(yarn global dir)/node_modules/@​cozy/codemods/src/transforms/transform-ui-deprecated-table.js src babel --ignore-pattern=src/targets/ --extensions js,jsx,tsx --parser tsx
v104.3.0
Features
v104.2.0
Bug Fixes
- Viewer: Adjust toolbar spacing and button size (6a2f8fe)
Features
- I18n: Add useExtendI18n to be able to add locales to existing ones (ad388b4)
- I18n: Expose polyglot, so can be get with useI18n (7770e7b)
- Update cozy-client to 45.15.0 (c5f2649)
- Viewer: Add Print button, based on print action definition (ba80052)
- Viewer: Add ToolbarButtons component (e0b014c)
- Viewer: Add variants on Download/Forward/Sharing buttons (594b79a)
- Viewer: Add WebviewIntentProvider (97f28ff)
- Viewer: Expose Toolbarbutton, FooterActionsButtons and ForwardButton (2b9130f)
- Viewer: Modify default buttons on toolbar and footer (d82013d)
- Viewer: Remove HOC for locals on no viewer DownloadButton (edda4a9)
- Viewer: Replace toolbar download button by icon button (6f59eda)
- Viewer: Use contact formatting from cozy-client (eb9c596)
- Viewer: Use date metadata qualification formatting from cozy-client (14bc95d)
- Viewer: Use formatMetadataQualification and METADATA_NAMES from (450fb74)
- Viewer: Use getMetadataQualificationType from cozy-client (ae133f4)
- Viewer: Use information metadata qualification formatting from cozy-client (1d106ef)
- Viewer: Use other metadata qualification formatting from cozy-client (98b6510)
- Viewer: Use useExtendI18n (d93b97d)
v104.1.0
Features
- ListItem: Add locales for reference tax numbers (a7d66d2)
v104.0.0
Bug Fixes
- Color & square props are ignored (c37ad2f), closes /github.com/mui/material-ui/blob/bda562b435a70e3e8f6d7fb04581c6816a5ba0c7/packages/material-ui/src/Snackbar/Snackbar.js#L235 #L193
Features
- Add typedef to Alert component (16f2097)
- Improve AlertProvider (723a627)
- Replace ViewerSnackbarProvider by AlertProvider (374537a)
BREAKING CHANGES
- The
showAlertfunction returned by theuseAlerthook changes signature.
Also, the variant was set to filled,
it now takes the default value of Alert, i.e. standard.
Before:
const { showAlert } = useAlert()
showAlert(t('foo.bar'), 'error',)
Now:
const { showAlert } = useAlert()
showAlert({ message: t('foo.bar'), severity: 'error' })
Its options now support Alert component props. Example:
showAlert({
message: t('foo.bar'),
severity: 'info',
icon: [secure],
color: 'blue',
square: true
})
v103.12.0
Features
- viewer: Remove useless locales (476fe37)
- viewer: Use pinchend & tap events on mobile for download file (8f4b2e7)
103.11.1 (2024-03-05)
Bug Fixes
- Use /medium for PDF thumbnails (d117ee6)
v103.11.1
Bug Fixes
- Use /medium for PDF thumbnails (d117ee6)
v103.11.0
Features
-
ListItem: Add
€on net social amount and pay_sheet number values (0c9f40f) - ListItem: Add translated pay_sheet flexsearchProps (e19aa0e)
- ListItem: Remove useless expanded attributes (bd3dd4b), closes /github.com/cozy/mespapiers/blob/16c0b7bfc809518bd1e9fb2d54ad894ab77b74b0/src/helpers/migration/metadata.js#L17
v103.10.0
Features
-
Viewer: Add
€for net social amount and pay_sheet number value (a8e6800) - Viewer: Add translate for reference tax number (99da6d6)
v103.9.0
Bug Fixes
-
ListItem: Remove
contentAuthormetadata for expanded attributes (9f26d7d)
Features
-
Viewer: Replace
contentAuthorbyemployerNameinfo metadata (abe1ab2)
103.8.2 (2024-02-29)
Bug Fixes
- Styles: Remove import of stylus file with global class creation in it (41808d7)
103.8.1 (2024-02-27)
Bug Fixes
- The background of ListSubHeader should use the default background (fa58546)
v103.8.2
Bug Fixes
- Styles: Remove import of stylus file with global class creation in it (41808d7)
v103.8.1
Bug Fixes
- The background of ListSubHeader should use the default background (fa58546)
v103.8.0
Bug Fixes
- MidEllipsis: Doesn't ellipsed anymore if not needed (6830d0c)
Features
- MidEllipsis: Remove react-middle-ellipsis lib and flag (a75d1e8)
v103.7.0
Features
-
ListItem: Add
netSocialAmountandcontentAuthormetadata support (d54faa6) -
Viewer: Add
netSocialAmountandcontentAuthormetadata support (63221f4)
103.6.2 (2024-02-20)
Bug Fixes
103.6.1 (2024-02-19)
Bug Fixes
- CozyDialogs: Divider for small dialog wasn't fullwidth (594ec4e)
v103.6.2
Bug Fixes
v103.6.1
Bug Fixes
- CozyDialogs: Divider for small dialog wasn't fullwidth (594ec4e)
v103.6.0
Features
- Add new translations for fine amount (d7e681c)
v103.5.0
Features
-
Snackbar: Change position from
toptobottomon desktop (9278e06)
v103.4.0
Features
- Add new translations for fidelity card number (8288587)
103.3.1 (2024-02-15)
Bug Fixes
- MidEllipsis: Element width was incorrect on Safari (e5d4b5a)
v103.3.1
Bug Fixes
- MidEllipsis: Element width was incorrect on Safari (e5d4b5a)
v103.3.0
Features
- OutlinedInput: Adjust styles according to specs (ca960b2)
- ProgressionBanner: Adjust background color (d3b9c3e)
- Theme: Adjust border opacity and contrastBackgroundColor (346789c)
- Tile: Adjust secondary background color (6432d7a)
v103.2.0
Features
- Viewer: Changing the behavior of the edit action (3308336)
103.1.1 (2024-02-09)
Bug Fixes
- Stop propagation of event (167e50b)
v103.1.1
Bug Fixes
- Stop propagation of event (167e50b)
v103.1.0
Bug Fixes
- Filename: Adjust style and DOM structure (7f000a6)
Features
-
MidEllipsis: Use
ui.midellipsis-lib.enabledflag for better one (b7b484e) - Packages: Add react-middle-ellipsis package (a8991d9)
v103.0.0
Features
- Add Popover and Popper from Mui (e24016c)
BREAKING CHANGES
- Replace old Popover by Mui Popover. If you are using
import Popover from 'cozy-ui/transpiled/react/Popover'in your app, see Mui documentation for migration.
102.2.1 (2024-01-31)
Bug Fixes
- Use navigator.clipboard instead of copy-text-to-clipboard (ae42cb9)
v102.2.1
Bug Fixes
- Use navigator.clipboard instead of copy-text-to-clipboard (ae42cb9)
v102.2.0
Features
- Viewer: Add isPublic prop for manage panel blocks displayed (7f8668a)
102.1.1 (2024-01-29)
Bug Fixes
- BottomSheet: Default offset value wasn't good if flagship immersive [secure] (b1551d2)
v102.1.1
Bug Fixes
- BottomSheet: Default offset value wasn't good if flagship immersive [secure] (b1551d2)
v102.1.0
Features
v102.0.0
Bug Fixes
-
ActionsMenuItem: Props
t,f,langwas spread to DOM element (3636fe3) - Func
getOnlyNeededActionswasn't dealing withdividerashr(ec4acf6)
Features
-
Actions: Add
others(0186834) - ActionsBar: Add this new component (d80e3cf)
-
ActionsItems: Add
componentprop that manages the display (db16d71) -
ActionsItems: Add
webviewIntentin actions (a64595b) - ActionsItems: Spread the action to the displayed component (a0a9aa4)
-
ActionsMenu: Replace
docprop bydocs(1049809) -
ActionsMenu: Use own locales and add
getActionsI18n()(351595e) -
I18n: Add
getI18n()that work likeuseI18nbut without React (4b65a35) -
Icon: Prop
iconno longer required + can use Icon comp (3bd5b9b) - SelectionBar: Deprecates the component (6e72491)
BREAKING CHANGES
-
ActionsMenu: When using ActionsMenu, we no longer imply we deal with one single document, but several documents. Who can do more can do less. Beside,
disabledon actions is no longer a boolean but a function. So:
- on
<ActionsMenu />replacedocprop bydocsand provide an array instead of object - on actions,
disabledmust be a func instead of a boolean
v101.2.0
Bug Fixes
- Translation into CoachCO2 paywall (2efa596)
Features
- ContactsList: Show myself always at the top of the list (c4bd940)
101.1.1 (2024-01-11)
Bug Fixes
- The createNodeWithThemeCssVars must return null in test env (a1ec359)
v101.1.1
Bug Fixes
- The createNodeWithThemeCssVars must return null in test env (a1ec359)
v101.1.0
Features
- Add growth icon (6b9605f)
v101.0.0
Bug Fixes
- DeprecatedDivider: Use responsive theme instead of light theme (2c51cf6)
-
Theme: Move global background-color and color from
bodyto app node (53a1b02) - Theme: Shadows are now relative to the theme (8477d9c)
Features
- Add dark mode (cc1db83)
- Add useMediaQuery hook (f9edb8e)
- CSS: Rename CozyTheme--xxx classe into CozyTheme--light-xxx (e3b98ff)
- Deal with useCozyTheme BC (7a83553)
-
MuiCozyTheme: Introduce
typeprop in addition tovariant(1d1f053) - Remove some css vars (ffc71dc)
- Rename
themetovariantwhen usinguseCozyTheme(4a88038) - Theme: Create specific node to hold theme css variables (27f8995)
- Use dark mode in CozyTheme, docs and tests (fe25d07)
BREAKING CHANGES
-
- Remove some css vars. You should use semantic var instead. List of removed css vars :
--invertedBackgroundColor
--invertedContrastTextColor
--spinnerColor
--linkColor
--linkTextDecoration
--linkColorActive
--invertedTabsActiveTextColor
--invertedTabsInactiveTextColor
--invertedTabsIndicatorColor
--invertedTabsBackgroundColor
--regularButtonPrimaryColor
--regularButtonSecondaryColor
--regularButtonActiveColor
--regularButtonConstrastColor
--secondaryButtonPrimaryColor
--secondaryButtonSecondaryColor
--secondaryButtonActiveColor
--secondaryButtonContrastColor
--dividerColor2
--iconColor
--textIconColor
--actionMenuIconColor
--neutralBackground
--buttonTextTransform
--buttonBorderRadius
--alertErrorColor
--alertErrorBackgroundColor
--alertSuccessColor
--alertSuccessBackgroundColor
--alertInfoColor
--alertInfoBackgroundColor
-
-
useCozyTheme()return now an object withtypeandvariant. You must replaceconst theme = useCozyTheme()byconst { variant } = useCozyTheme()
-
- you can add
<meta name="color-scheme" content="only light" />in yourindex.ejsapp file to force Light Mode if Dark Mode not fully supported by your app.
-
MuiCozyTheme: You can't now longer rely on
theme.palette.typeto determinenormalorinvertedtheme, you have to usetheme.palette.variantinstead. -
CSS: if you want to get or override css var, you need to do it on new classes, see below:
CozyTheme--normal->CozyTheme--light-normalCozyTheme--inverted->CozyTheme--light-inverted
v100.2.0
Features
- Add MaxDaysToCapturePaywall component (8b6bce6)
v100.1.0
Features
- Icon: Add support icon (06eacfb)
v100.0.0
Features
- Paywall: Add IAP support (7b54299)
- Remove useInstance helper (01ec4de)
- Update cozy-client from 45.0.0 to 45.1.0 (8f5ce38)
BREAKING CHANGES
-
Paywall: To check if IAP is available, you need to wrap your Paywall into a
WebviewContextcomponent
import { WebviewIntentProvider } from 'cozy-intent'
<WebviewIntentProvider>
<Paywall />
</WebviewIntentProvider>
- you must have
99.0.4 (2023-12-14)
Bug Fixes
- BottomSheet: Did not rerender correctly after a change to children (4d97075)
- NestedSelect: Remove useless hack to force rerender when in BottomSheet (0cbe62f)
99.0.3 (2023-12-13)
Bug Fixes
- Viewer: Adjust style when no thumbnail but with bottomSheet (06dcf25)
99.0.2 (2023-12-12)
Bug Fixes
- Viewer: Remove vertical scrollbar in info panel when not necessary (86715e1)
99.0.1 (2023-12-12)
Bug Fixes
- Viewer: InformationPanel doesn't use Drawer anymore (10ad0c6)
v99.0.4
Bug Fixes
- BottomSheet: Did not rerender correctly after a change to children (4d97075)
- NestedSelect: Remove useless hack to force rerender when in BottomSheet (0cbe62f)
v99.0.3
Bug Fixes
- Viewer: Adjust style when no thumbnail but with bottomSheet (06dcf25)
v99.0.2
Bug Fixes
- Viewer: Remove vertical scrollbar in info panel when not necessary (86715e1)
v99.0.1
Bug Fixes
- Viewer: InformationPanel doesn't use Drawer anymore (10ad0c6)
v99.0.0
Features
- Add
u-dcutility css class to forcedisplay: contents(700df67) -
CozyTheme: Add ignoreItself prop (add
u-dccss class) (8c82390)
BREAKING CHANGES
-
CozyTheme:
CozyThemeuse nowdisplay: contentsby default so as not to change the style of the page, since it's just a wrapper that supports styles and nothing else. If this causes problems in the structure of your app, you can always revert to the previous state by setting<CozyTheme ignoreItself={[secure]}>.
v98.2.0
Features
- ActionsMenu: Add print action (82d918d)
98.1.1 (2023-12-06)
Bug Fixes
- Add default values if flagship var not set (8c14961)
v98.1.1
Bug Fixes
- Add default values if flagship var not set (8c14961)
v98.1.0
Features
- NestedSelect: A header can be passed for specifics option children (ad4606d)
-
NestedSelect: Add
levelarg at option.childrenHeader function (5c48e2b)
v98.0.0
Features
BREAKING CHANGES
- you must have
cozy-client >= 45.0.0
97.2.1 (2023-11-30)
Bug Fixes
- Modals: Use correct css var for zIndex (b1317a3)
- MuiTheme: Remove direct call to getCssVariableValue and use css var instead (bc09ee7)
v97.2.1
Bug Fixes
- Modals: Use correct css var for zIndex (b1317a3)
- MuiTheme: Remove direct call to getCssVariableValue and use css var instead (bc09ee7)
v97.2.0
Bug Fixes
- PointerAlert: Reserve space for arrow (3d7e4b4)
Features
- PointerAlert: Make arrow position customisable (2ed2cac)
v97.1.0
Bug Fixes
- Alert: Adjust colors (29a3b80)
Features
-
MuiPalette: Add
theme.palette.background.contrastOpacity(a09926b) - PointerAlert: Add this new component based on Alert (9d73f68)
v97.0.0
Features
- Change Secondary color values (7085cdf)
BREAKING CHANGES
- Secondary color was previously red like error color. You should not be very impacted by this change. Here's what you should be concerned about:
- for
IconButtonandTypography: usecolor="error"instead ofcolor="secondary" - for
Tabsmake sure you are usingindicatorColor="primary"andtextColor="primary"
v96.2.0
Features
-
NestedSelect: Add
headerandchildrenHeaderprops onoptions(bf31c73) - NestedSelect: Title is no longer required (6a776cf)
96.1.1 (2023-11-27)
Bug Fixes
- Improve IllustrationDialog layout in native (2946e9d)
v96.1.1
Bug Fixes
- Improve IllustrationDialog layout in native (2946e9d)
v96.1.0
Features
- Add TrashDuotone icon (b3b26b5)
v96.0.0
Bug Fixes
- Body: Use correct css var for color and bg color (502234c)
- Checkbox: Remove useless css properties for inverted theme (57e3f10)
- FormLabel: Remove useless css properties for inverted theme (5014ba0)
- Nav: Replace css var to be theme responsive (580a1ca)
-
Sidebar: Use
defaultBackgroundColorinstead ofpaleGrey bg color(2e3c378) -
Theme: Replace
whiteby theme.palette.common.white (8e6e4ee) - TooltIp: Remove useless css properties (7c62cd1)
Features
- Remove
navTextColor,navTextActiveColor,navTextHoverColor(e8aba76) - Remove palette.grey[0] from Mui palette (9b8e53f)
BREAKING CHANGES
- You should replace css var like this :
-
--navTextColor->--actionColorActive -
--navTextActiveColor->--primaryTextColor -
--navTextHoverColor->--actionColorActive
- You must use
palette.common.whiteinstead ofpalette.grey[0]
95.11.1 (2023-11-20)
Bug Fixes
- BottomSheet: Did not compare peek heights correctly (600c430)
- BottomSheet: Did not set default currentIndex correctly (e22c482)
- BottomSheet: Did not set topPosition and snapIndex correctly (c23ee5a)
v95.11.1
Bug Fixes
- BottomSheet: Did not compare peek heights correctly (600c430)
- BottomSheet: Did not set default currentIndex correctly (e22c482)
- BottomSheet: Did not set topPosition and snapIndex correctly (c23ee5a)
v95.11.0
Features
- Add missing
bicNumberattribute (ed37277) - Remove last occurence of
mespapiers.migrated.metadataflag (11c3147)
v95.10.0
Bug Fixes
- BottomSheet: Content was not displayed correctly with toolbar (97e3198)
Features
-
NestedSelect: Add
componentsPropsprop to spread to bottomsheet (11af87c)
v95.9.0
Features
- Add content push to IllustrationDialog (4880f78)
v95.8.0
Features
- Add pro category to Sections translation (485c7c4)
v95.7.0
Features
- Use the new onHide/onShowCross provided by cozy-interapp (eb3ca57)
v95.6.0
Bug Fixes
- Update AllowLocationDialog to fit Play Store needs (3a00bd2)
Features
-
Empty: Accept now ,
and as icon prop value (d13cf26)
v95.5.0
Features
- Empty: Add centered props, max width and paddings (8c03660)
v95.4.0
Bug Fixes
- ActionsMenu: ActionsMenuMobileHeader was unnecessarily in DOM on desktop (805a030)
- Menu, ActionsMenu: The margins between elements were not as expected (e021fdc)
Features
-
ActionsMenuItem: Add
cozyActionsMenuItemclass to be able to target it (fcd6dfa) - ListItem: Add min heights (ceaba86)
-
ListItemIcon: Add
cozyListItemIconclass to be able to target it (f0b218f)
v95.3.0
Bug Fixes
- BottomSheet: IsTopPosition wasn't set if condition [secure] (4ae9ac0)
Features
- BottomSheet: Add rerendering content compliancy (c93efb2)
- NestedSelect: Rerender BottomSheet if content change (b26e6bd)
v95.2.0
Features
- Add ListSkeleton and ListItemSkeleton components (742ec65)
v95.1.0
Features
- Add AllowLocationDialog in SpecificDialogs (1843f63)
v95.0.0
Features
- Modal: Re-export Modal component (1ad81f6)
- Viewer: Use Modal by default instead Overlay in app (7510557)
BREAKING CHANGES
-
Viewer: The Viewer is now wrapped with
a Modal by default.
You can remove the deprecated
Overlaycomponent (which wraps theViewercomponent) from your applications. Or if you want to keep your implementation, please use thedisableModalprops on yourViewercomponents.
v94.1.0
Features
- NestedSelect: Add NestedSelectResponsive and BottomSheet (d1659fe)
v94.0.0
Bug Fixes
- ContactsList: Center the spinner when fetching data (52791a1)
- ContactsList: Remove padding on cells (bb6c237)
Features
- ContactsListModal: Use default text on search, add button, result (652d52f)
- getRandomUUID: Returns something even without crypto API (be65396)
BREAKING CHANGES
-
ContactsListModal: If you don't want any text in
ContactsListModalfor search input, add button and empty result, use respectively these props :placeholder={[secure]}, addContactLabel={[secure]}, emptyMessage={[secure]}instead ofundefinedvalues
v93.5.0
Features
- Viewer: On mobile, the title benefits well from the midEllipsis (5bfd8b3)
v93.4.0
Features
- Add Alert provider (ebccf42)
v93.3.0
Features
- Icon: Add LabelOutlined (b0efd5a)
v93.2.0
Features
- NestedSelectModal: The dialog must be centered (6d4447f)
93.1.1 (2023-09-18)
Bug Fixes
- Cozy-bar elements must appairs above the UploadQueue (b6a2c92)
- z-index: Remove comment that no longer makes sense (a250037), closes /github.com/cozy/cozy-bar/blob/71a45f8e73601861f4e312e27bb9b5cc1b149f17/src/styles/bar.css#L5
v93.1.1
Bug Fixes
- Cozy-bar elements must appairs above the UploadQueue (b6a2c92)
- z-index: Remove comment that no longer makes sense (a250037), closes /github.com/cozy/cozy-bar/blob/71a45f8e73601861f4e312e27bb9b5cc1b149f17/src/styles/bar.css#L5
v93.1.0
Features
- NestedSelect: Manage ellipsis (adbabc9)
93.0.1 (2023-09-14)
Bug Fixes
- Checkbox: Label wasn't spread to aria-label (ffacda6)
- Dialog: Remove usage of RemoveScroll (0c4cf1e)
- TextField: Remove error log because of wrong style override (8c58b1f)
v93.0.1
Bug Fixes
- Checkbox: Label wasn't spread to aria-label (ffacda6)
- Dialog: Remove usage of RemoveScroll (0c4cf1e)
- TextField: Remove error log because of wrong style override (8c58b1f)
v93.0.0
Features
- CozyTheme: Move it into providers folder (c3cf47e)
- I18n: Move it into providers folder (191f2d4)
- useBreakpoints: Move it into providers folder (4d5e882)
BREAKING CHANGES
-
I18n:
I18nand relative tools has been moved. Use codemods to deal with the change.
yarn global add @​cozy/codemods
yarn global add jscodeshift@0.13.1
jscodeshift -t $(yarn global dir)/node_modules/@​cozy/codemods/src/transforms/transform-ui-providers-imports.js src babel --ignore-pattern=src/targets/ --extensions js,jsx,tsx --parser tsx
-
useBreakpoints:
useBreakpointshas been moved. Use codemods to deal with the change. -
CozyTheme:
CozyThemehas been moved. Use codemods to deal with the change.
v92.4.0
Features
- Add cocktail, work and sport-bag icons (62ee735)
v92.3.0
Features
- Add BIC number attribute (c5e94f6)
v92.2.0
Bug Fixes
- Color of RightArrow icon (ad5cc6b)
- ItemRow: In ListItem, Icon & Radio should be wrap in ListItemIcon (6aaa10a)
- The last ItemRow must not have a Divider (0525a4c)
Features
- Add multiple icons (b7bf028)
- ItemRow: Add information text (7d3207c)
- ItemRow: Add secondary actions (2773d91)
- NestedSelect: Wrap NestedSelect with List component (5773308)
v92.1.0
Features
- CozyTheme: Add error log if useCozyTheme is used outside provider (889c92c)
92.0.1 (2023-08-31)
Bug Fixes
- Viewer: Remove filename on path ending with slash (ad8b88c)
v92.0.1
Bug Fixes
- Viewer: Remove filename on path ending with slash (ad8b88c)
v92.0.0
Features
- Viewer: Display file path into the toolbar (e76e2f7)
- Viewer: Move toolbarProps into componentsProps (b0582da)
- Viewer: Remove onlyOfficeProps (9983c4a)
BREAKING CHANGES
-
Viewer: The
toolbarPropsattribute from Viewer property has been moved into thecomponentsPropsattribute.
You can use this codemods to migrate. Don't forget to run js linter after the codemods.
The --parser option is essential to manage any TSX files in the project.
yarn global add @​cozy/codemods
yarn global add jscodeshift@0.13.1
jscodeshift -t $(yarn global dir)/node_modules/@​cozy/codemods/src/transforms/transform-viewer-components-props.js src babel --ignore-pattern=src/targets/ --extensions js,jsx,tsx --parser tsx
You can do this manually by transferring the contents of toolbarProps to componentsProps under a toolbarProps property.
-
Viewer: The
onlyOfficePropsattribute from Viewer property has been moved into thecomponentsPropsattribute.
You have to move the contents of onlyOfficeProps to componentsProps under a OnlyOfficeViewer property.
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
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.