cozy-ui 62.0.3 → 62.0.4
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 +7 -0
- package/package.json +1 -1
- package/react/Banner/index.jsx +1 -1
- package/react/Banner/index.spec.jsx +1 -1
- package/react/BottomSheet/BottomSheet.jsx +1 -1
- package/react/BottomSheet/README.md +2 -2
- package/transpiled/react/Banner/index.js +1 -1
- package/transpiled/react/BottomSheet/BottomSheet.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [62.0.4](https://github.com/cozy/cozy-ui/compare/v62.0.3...v62.0.4) (2022-02-24)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **Grid:** Use justifyContent props inside Grid component ([9325ec1](https://github.com/cozy/cozy-ui/commit/9325ec1))
|
|
7
|
+
|
|
1
8
|
## [62.0.3](https://github.com/cozy/cozy-ui/compare/v62.0.2...v62.0.3) (2022-02-22)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
package/react/Banner/index.jsx
CHANGED
|
@@ -146,7 +146,7 @@ const BottomSheet = ({ toolbarProps, settings, children }) => {
|
|
|
146
146
|
onIndexChange={snapIndex => handleOnIndexChange(snapIndex)}
|
|
147
147
|
styles={{ root: styles.root }}
|
|
148
148
|
threshold={0}
|
|
149
|
-
// springConfig doc : https://
|
|
149
|
+
// springConfig doc : https://docs.pmnd.rs/react-spring/common/configs
|
|
150
150
|
springConfig={{
|
|
151
151
|
tension: defaultBottomSheetSpringConfig.tension,
|
|
152
152
|
friction: defaultBottomSheetSpringConfig.friction,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
Display content coming up from the bottom of the screen. The pane can be swiped to the top of the screen. [API documentation is here](https://github.com/cozy/mui-bottom-sheet#props-options)
|
|
2
2
|
|
|
3
3
|
```jsx
|
|
4
4
|
import BottomSheet, { BottomSheetItem, BottomSheetHeader } from 'cozy-ui/transpiled/react/BottomSheet'
|
|
5
5
|
import Button from 'cozy-ui/transpiled/react/Buttons'
|
|
6
6
|
|
|
7
|
-
// <-- only
|
|
7
|
+
// <-- only useful for the documentation
|
|
8
8
|
initialState = { isBottomSheetDisplayed: isTesting() }
|
|
9
9
|
const showBottomSheet = () => setState({ isBottomSheetDisplayed: true })
|
|
10
10
|
|
|
@@ -152,7 +152,7 @@ var BottomSheet = function BottomSheet(_ref2) {
|
|
|
152
152
|
styles: {
|
|
153
153
|
root: styles.root
|
|
154
154
|
},
|
|
155
|
-
threshold: 0 // springConfig doc : https://
|
|
155
|
+
threshold: 0 // springConfig doc : https://docs.pmnd.rs/react-spring/common/configs
|
|
156
156
|
,
|
|
157
157
|
springConfig: {
|
|
158
158
|
tension: defaultBottomSheetSpringConfig.tension,
|