cozy-ui 124.2.0 → 125.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/dist/cozy-ui.min.css +1 -1
- package/package.json +1 -1
- package/react/AppTitle/index.jsx +2 -2
- package/react/CozyDialogs/useCozyDialog.js +7 -0
- package/react/Layout/Layout.jsx +89 -26
- package/react/Layout/styles.styl +5 -8
- package/react/MuiCozyTheme/overrides/makeLightNormalOverrides.js +12 -10
- package/react/Sidebar/Readme.md +3 -1
- package/react/Sidebar/index.jsx +1 -5
- package/react/helpers/breakpoints.js +10 -2
- package/react/providers/Breakpoints/Readme.md +2 -0
- package/react/providers/Breakpoints/index.jsx +23 -9
- package/react/providers/Breakpoints/useIframeConnection.jsx +31 -0
- package/react/providers/Breakpoints/useIframeToSendWidth.jsx +33 -0
- package/react/providers/Breakpoints/useParentBreakpoints.jsx +36 -0
- package/stylus/objects/layouts.styl +74 -87
- package/stylus/objects/sidebar.styl +9 -4
- package/transpiled/react/AppTitle/index.js +2 -2
- package/transpiled/react/CozyDialogs/useCozyDialog.js +6 -1
- package/transpiled/react/Layout/Layout.d.ts +5 -31
- package/transpiled/react/Layout/Layout.js +78 -50
- package/transpiled/react/MuiCozyTheme/overrides/makeDarkInvertedOverrides.d.ts +12 -10
- package/transpiled/react/MuiCozyTheme/overrides/makeDarkNormalOverrides.d.ts +12 -10
- package/transpiled/react/MuiCozyTheme/overrides/makeLightInvertedOverrides.d.ts +12 -10
- package/transpiled/react/MuiCozyTheme/overrides/makeLightNormalOverrides.d.ts +12 -10
- package/transpiled/react/MuiCozyTheme/overrides/makeLightNormalOverrides.js +14 -8
- package/transpiled/react/Sidebar/index.js +2 -3
- package/transpiled/react/helpers/breakpoints.d.ts +2 -1
- package/transpiled/react/helpers/breakpoints.js +9 -2
- package/transpiled/react/providers/Breakpoints/index.d.ts +12 -1
- package/transpiled/react/providers/Breakpoints/index.js +31 -10
- package/transpiled/react/providers/Breakpoints/useIframeConnection.d.ts +5 -0
- package/transpiled/react/providers/Breakpoints/useIframeConnection.js +35 -0
- package/transpiled/react/providers/Breakpoints/useIframeToSendWidth.d.ts +3 -0
- package/transpiled/react/providers/Breakpoints/useIframeToSendWidth.js +32 -0
- package/transpiled/react/providers/Breakpoints/useParentBreakpoints.d.ts +5 -0
- package/transpiled/react/providers/Breakpoints/useParentBreakpoints.js +34 -0
- package/transpiled/react/stylesheet.css +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,30 @@
|
|
|
1
|
+
# [125.1.0](https://github.com/cozy/cozy-ui/compare/v125.0.0...v125.1.0) (2025-06-11)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **Dialog:** Width wasn't correct for small screens ([0951f70](https://github.com/cozy/cozy-ui/commit/0951f70))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **BreakpointsProvider:** Add `parentBasedIframe` prop ([4a49946](https://github.com/cozy/cozy-ui/commit/4a49946))
|
|
12
|
+
|
|
13
|
+
# [125.0.0](https://github.com/cozy/cozy-ui/compare/v124.2.0...v125.0.0) (2025-06-05)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
* **Dialogs:** Add 50ms delay before showing backdrop ([868c2b7](https://github.com/cozy/cozy-ui/commit/868c2b7))
|
|
19
|
+
* **Layout:** Add refs on. Layout, Main and Content ([98ab20e](https://github.com/cozy/cozy-ui/commit/98ab20e))
|
|
20
|
+
* **Layout:** Always use background-color for Content ([f510fd0](https://github.com/cozy/cozy-ui/commit/f510fd0))
|
|
21
|
+
* **Layout:** Move style into sidebar and isolate layout styles ([f9045e9](https://github.com/cozy/cozy-ui/commit/f9045e9))
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### BREAKING CHANGES
|
|
25
|
+
|
|
26
|
+
* **Layout:** Layout doesn't apply style on Main and Content anymore, they have their own styles now. So if you didn't use these components but, for example, `<main>` instead of `<Main>` and `<div role="main">` instead of `<Content>`, you could have a style problem. So prefer `Main` and `Content` components.
|
|
27
|
+
|
|
1
28
|
# [124.2.0](https://github.com/cozy/cozy-ui/compare/v124.1.1...v124.2.0) (2025-06-02)
|
|
2
29
|
|
|
3
30
|
|