fix(deps): update dependency cozy-ui to v102 - autoclosed
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
cozy-ui | dependencies | major | 81.9.0 -> 102.2.1 |
Release Notes
cozy/cozy-ui
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
,lang
was spread to DOM element (3636fe3) - Func
getOnlyNeededActions
wasn't dealing withdivider
ashr
(ec4acf6)
Features
-
Actions: Add
others
(0186834) - ActionsBar: Add this new component (d80e3cf)
-
ActionsItems: Add
component
prop that manages the display (db16d71) -
ActionsItems: Add
webviewIntent
in actions (a64595b) - ActionsItems: Spread the action to the displayed component (a0a9aa4)
-
ActionsMenu: Replace
doc
prop bydocs
(1049809) -
ActionsMenu: Use own locales and add
getActionsI18n()
(351595e) -
I18n: Add
getI18n()
that work likeuseI18n
but without React (4b65a35) -
Icon: Prop
icon
no 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,
disabled
on actions is no longer a boolean but a function. So:
- on
<ActionsMenu />
replacedoc
prop bydocs
and provide an array instead of object - on actions,
disabled
must 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
body
to 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
type
prop in addition tovariant
(1d1f053) - Remove some css vars (ffc71dc)
- Rename
theme
tovariant
when 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 withtype
andvariant
. You must replaceconst theme = useCozyTheme()
byconst { variant } = useCozyTheme()
-
- you can add
<meta name="color-scheme" content="only light" />
in yourindex.ejs
app file to force Light Mode if Dark Mode not fully supported by your app.
-
MuiCozyTheme: You can't now longer rely on
theme.palette.type
to determinenormal
orinverted
theme, you have to usetheme.palette.variant
instead. -
CSS: if you want to get or override css var, you need to do it on new classes, see below:
CozyTheme--normal
->CozyTheme--light-normal
CozyTheme--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
WebviewContext
component
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-dc
utility css class to forcedisplay: contents
(700df67) -
CozyTheme: Add ignoreItself prop (add
u-dc
css class) (8c82390)
BREAKING CHANGES
-
CozyTheme:
CozyTheme
use nowdisplay: contents
by 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
level
arg 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
IconButton
andTypography
: usecolor="error"
instead ofcolor="secondary"
- for
Tabs
make sure you are usingindicatorColor="primary"
andtextColor="primary"
v96.2.0
Features
-
NestedSelect: Add
header
andchildrenHeader
props 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
defaultBackgroundColor
instead ofpaleGrey bg color
(2e3c378) -
Theme: Replace
white
by 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.white
instead 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
bicNumber
attribute (ed37277) - Remove last occurence of
mespapiers.migrated.metadata
flag (11c3147)
v95.10.0
Bug Fixes
- BottomSheet: Content was not displayed correctly with toolbar (97e3198)
Features
-
NestedSelect: Add
componentsProps
prop 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
cozyActionsMenuItem
class to be able to target it (fcd6dfa) - ListItem: Add min heights (ceaba86)
-
ListItemIcon: Add
cozyListItemIcon
class 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
Overlay
component (which wraps theViewer
component) from your applications. Or if you want to keep your implementation, please use thedisableModal
props on yourViewer
components.
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
ContactsListModal
for search input, add button and empty result, use respectively these props :placeholder={[secure]}, addContactLabel={[secure]}, emptyMessage={[secure]}
instead ofundefined
values
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:
I18n
and 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:
useBreakpoints
has been moved. Use codemods to deal with the change. -
CozyTheme:
CozyTheme
has 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
toolbarProps
attribute from Viewer property has been moved into thecomponentsProps
attribute.
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
onlyOfficeProps
attribute from Viewer property has been moved into thecomponentsProps
attribute.
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-alert
CSS 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
./AccordionSummary
folder (d58dd51) - Deprecation and fallback for some components in MuiCozyTheme (c2f4acd)
- Move
MuiCozyTheme/MuiBreadcrumbs
in/Breadcrumbs
(1678047) - Move Breadcrumbs component into
./legacy
folder (ffc9c9b) - Move components from
MuiCozyTheme
folder toreact
folder (b9f5324) - Remove
MuiCozyTheme/Dialog
content (549c20a)
BREAKING CHANGES
- We moved these components into
/react
folder.
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/Breadcrumbs
bycozy-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.metadata
flag (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
doc
was 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:
ActionsItems
no longer supportisLast
andsetIsRenaming
props. You have to useactionOptions
to pass them. You should not be worried about this BC,ActionsItems
is 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
luminosity
in normal theme (9374e9b) - Force
normal
theme 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
component
prop (d816549)
84.1.3 (2023-04-27)
Bug Fixes
-
ActionsMenu actions: Stop spreading
t
,f
,lang
into child (4fa0cc0) - ActionsMenuItem: We used transpiled version of imports, and... (233ae1f)
-
ListItem: Stop spreading
gutters
andellipsis
to 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
component
prop (d816549)
v84.1.3
Bug Fixes
-
ActionsMenu actions: Stop spreading
t
,f
,lang
into child (4fa0cc0) - ActionsMenuItem: We used transpiled version of imports, and... (233ae1f)
-
ListItem: Stop spreading
gutters
andellipsis
to 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
isEnabled
indisabled
(f4bcb0f) -
ActionsMenuItem: Force
ellipsis
[secure] on MenuItem and ListItem (8a1725e) -
ActionsMenuItem: Set
ellipsis
to [secure] for ListItem chlidren (cacf53c) -
ListItem: Add
ellipsis
prop 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/Menu
component byreact/ActionsMenu
orreact/MuiCozyTheme/Menu
. Sincereact/Menu
has 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
Viewer
to display PDF. You can find more detail inViewer
documentation : 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
filename
was 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/ActionsMenu
has been removed. You need to change some imports :
-
cozy-ui/transpiled/react/MuiCozyTheme/ListItem/ListItemBase/ActionsMenu/ActionMenuItemWrapper
tocozy-ui/transpiled/react/ActionMenu/ActionMenuItemWrapper
-
cozy-ui/transpiled/react/MuiCozyTheme/ListItem/ListItemBase/ActionsMenu/ActionMenuWithClose
tocozy-ui/transpiled/react/ActionMenu/ActionMenuWithClose
-
cozy-ui/transpiled/react/MuiCozyTheme/ListItem/ListItemBase/ActionsMenu/ActionsItems
tocozy-ui/transpiled/react/ActionMenu/Actions/ActionsItems
-
cozy-ui/transpiled/react/MuiCozyTheme/ListItem/ListItemBase/ActionsMenu/helpers
tocozy-ui/transpiled/react/ActionMenu/Actions/helpers
-
cozy-ui/transpiled/react/MuiCozyTheme/ListItem/ListItemBase/ActionsMenu/Actions/*
tocozy-ui/transpiled/react/ActionMenu/Actions/*
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.