cozy-ui 59.3.0 → 60.3.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 +37 -0
- package/assets/icons/ui/bike.svg +1 -0
- package/assets/icons/ui/bus.svg +1 -0
- package/assets/icons/ui/fitness.svg +1 -0
- package/assets/icons/ui/mountain.svg +1 -0
- package/assets/icons/ui/movement.svg +1 -0
- package/assets/icons/ui/plane.svg +1 -0
- package/assets/icons/ui/radio-checked.svg +3 -0
- package/assets/icons/ui/radio-unchecked.svg +3 -0
- package/assets/icons/ui/restaurant.svg +1 -0
- package/assets/icons/ui/restore-straight.svg +1 -0
- package/assets/icons/ui/school.svg +1 -0
- package/assets/icons/ui/shop.svg +1 -0
- package/assets/icons/ui/subway.svg +1 -0
- package/assets/icons/ui/train.svg +1 -0
- package/assets/icons/ui/unknow.svg +1 -0
- package/assets/icons/ui/walk.svg +1 -0
- package/package.json +4 -2
- package/react/CozyDialogs/ConfirmDialog.jsx +3 -3
- package/react/CozyDialogs/Dialog.jsx +3 -3
- package/react/CozyDialogs/FixedActionsDialog.jsx +3 -3
- package/react/CozyDialogs/FixedDialog.jsx +3 -3
- package/react/CozyDialogs/IllustrationDialog.jsx +3 -3
- package/react/CozyDialogs/Readme.md +1 -1
- package/react/CozyDialogs/e2e.js +2 -2
- package/react/CozyDialogs/testing.js +3 -3
- package/react/CozyDialogs/useCozyDialog.js +2 -0
- package/react/Icon/Readme.md +38 -5
- package/react/Icon/icons-sprite.js +17 -13
- package/react/Icons/Bike.jsx +17 -0
- package/react/Icons/Bus.jsx +16 -0
- package/react/Icons/Fitness.jsx +12 -0
- package/react/Icons/Mountain.jsx +16 -0
- package/react/Icons/Movement.jsx +12 -0
- package/react/Icons/Plane.jsx +16 -0
- package/react/Icons/RadioChecked.jsx +16 -0
- package/react/Icons/RadioUnchecked.jsx +16 -0
- package/react/Icons/Restaurant.jsx +16 -0
- package/react/Icons/RestoreStraight.jsx +16 -0
- package/react/Icons/School.jsx +16 -0
- package/react/Icons/Shop.jsx +16 -0
- package/react/Icons/Subway.jsx +16 -0
- package/react/Icons/Train.jsx +16 -0
- package/react/Icons/Unknow.jsx +16 -0
- package/react/Icons/Unknown.jsx +0 -0
- package/react/Icons/Walk.jsx +16 -0
- package/react/MuiCozyTheme/makeOverrides.js +29 -0
- package/react/NestedSelect/Modal.jsx +1 -1
- package/react/Radio/index.jsx +10 -0
- package/react/Radios/Readme.md +133 -0
- package/react/Radios/index.jsx +23 -0
- package/react/UploadQueue/index.jsx +4 -4
- package/react/__snapshots__/examples.spec.jsx.snap +414 -172
- package/react/examples.spec.jsx +1 -1
- package/react/index.js +1 -0
- package/scripts/generate-svgr-icon.sh +21 -8
- package/svgo.config.js +18 -0
- package/transpiled/react/CozyDialogs/ConfirmDialog.js +3 -3
- package/transpiled/react/CozyDialogs/Dialog.js +3 -3
- package/transpiled/react/CozyDialogs/FixedActionsDialog.js +3 -3
- package/transpiled/react/CozyDialogs/FixedDialog.js +3 -3
- package/transpiled/react/CozyDialogs/IllustrationDialog.js +3 -3
- package/transpiled/react/CozyDialogs/e2e.js +2 -2
- package/transpiled/react/CozyDialogs/testing.js +3 -3
- package/transpiled/react/CozyDialogs/useCozyDialog.js +3 -1
- package/transpiled/react/Icon/icons-sprite.js +1 -1
- package/transpiled/react/Icons/Bike.js +17 -0
- package/transpiled/react/Icons/Bus.js +15 -0
- package/transpiled/react/Icons/Fitness.js +13 -0
- package/transpiled/react/Icons/Mountain.js +15 -0
- package/transpiled/react/Icons/Movement.js +13 -0
- package/transpiled/react/Icons/Plane.js +15 -0
- package/transpiled/react/Icons/RadioChecked.js +15 -0
- package/transpiled/react/Icons/RadioUnchecked.js +15 -0
- package/transpiled/react/Icons/Restaurant.js +15 -0
- package/transpiled/react/Icons/RestoreStraight.js +15 -0
- package/transpiled/react/Icons/School.js +15 -0
- package/transpiled/react/Icons/Shop.js +15 -0
- package/transpiled/react/Icons/Subway.js +15 -0
- package/transpiled/react/Icons/Train.js +15 -0
- package/transpiled/react/Icons/Unknow.js +15 -0
- package/transpiled/react/Icons/Unknown.js +0 -0
- package/transpiled/react/Icons/Walk.js +15 -0
- package/transpiled/react/MuiCozyTheme/makeOverrides.js +29 -0
- package/transpiled/react/NestedSelect/Modal.js +1 -1
- package/transpiled/react/Radio/index.js +6 -0
- package/transpiled/react/Radios/index.js +22 -0
- package/transpiled/react/UploadQueue/index.js +4 -4
- package/transpiled/react/index.js +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,40 @@
|
|
|
1
|
+
# [60.3.0](https://github.com/cozy/cozy-ui/compare/v60.2.0...v60.3.0) (2022-01-19)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* Add new icons radio-checked and radio-unchecked ([d441d6c](https://github.com/cozy/cozy-ui/commit/d441d6c))
|
|
7
|
+
* Add new Radios button ([13cf089](https://github.com/cozy/cozy-ui/commit/13cf089))
|
|
8
|
+
* Deprecates old Radio component ([b5785b4](https://github.com/cozy/cozy-ui/commit/b5785b4))
|
|
9
|
+
|
|
10
|
+
# [60.2.0](https://github.com/cozy/cozy-ui/compare/v60.1.0...v60.2.0) (2022-01-19)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* Add `titleRef` on CozyDialogs ([9bd885b](https://github.com/cozy/cozy-ui/commit/9bd885b))
|
|
16
|
+
|
|
17
|
+
# [60.1.0](https://github.com/cozy/cozy-ui/compare/v60.0.0...v60.1.0) (2022-01-19)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* Add optimized new Icons ([1bae76a](https://github.com/cozy/cozy-ui/commit/1bae76a))
|
|
23
|
+
* Add svgo package ([427e409](https://github.com/cozy/cozy-ui/commit/427e409))
|
|
24
|
+
* Svgr generator script can now deal with folder ([cb65cb5](https://github.com/cozy/cozy-ui/commit/cb65cb5))
|
|
25
|
+
|
|
26
|
+
# [60.0.0](https://github.com/cozy/cozy-ui/compare/v59.3.0...v60.0.0) (2022-01-14)
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### Features
|
|
30
|
+
|
|
31
|
+
* Replace `data-test-id` by `data-testid` on some components ([8087cb1](https://github.com/cozy/cozy-ui/commit/8087cb1))
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
### BREAKING CHANGES
|
|
35
|
+
|
|
36
|
+
* If you were using `data-test-id` prop to test `NestedSelect` or `UploadQueue` components, you should now use `data-testid`. Besides if something fail on `CozyDialog` components, take a look at our helpers in `react/CozyDialogs` to know how to test these components.
|
|
37
|
+
|
|
1
38
|
# [59.3.0](https://github.com/cozy/cozy-ui/compare/v59.2.0...v59.3.0) (2022-01-14)
|
|
2
39
|
|
|
3
40
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M12.5 3a2 2 0 1 1-4 0 2 2 0 0 1 4 0ZM8.457 7.543c.182.156.379.309.588.453C9.816 8.53 10.838 9 12 9a1 1 0 1 0 0-2c-.62 0-1.25-.257-1.819-.65s-.999-.867-1.204-1.164A1.561 1.561 0 0 0 7.701 4.5c-.394 0-.772.156-1.05.435L4.447 7.139a1.527 1.527 0 0 0 .233 2.35L7 11.034V14a1 1 0 1 0 2 0v-3.5a1 1 0 0 0-.445-.832l-1.334-.89 1.236-1.235Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M16 13a3 3 0 1 1-6 0 3 3 0 0 1 6 0Zm-1.5 0a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0ZM3 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm0-1.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M1 11c0 .88.39 1.67 1 2.22v1.28c0 .83.67 1.5 1.5 1.5S5 15.33 5 14.5V14h6v.5c0 .82.67 1.5 1.5 1.5.82 0 1.5-.67 1.5-1.5v-1.28c.61-.55 1-1.34 1-2.22V4c0-3-3-4-7-4S1 1 1 4v7Zm3.5 1c-.83 0-1.5-.67-1.5-1.5S3.67 9 4.5 9 6 9.67 6 10.5 5.33 12 4.5 12Zm7 0c-.83 0-1.5-.67-1.5-1.5S10.67 9 11.5 9s1.5.67 1.5 1.5-.67 1.5-1.5 1.5ZM13 7H3V3h10v4Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="m14.982 9.273.72-.72a.996.996 0 0 0 0-1.41l-.02-.02a.996.996 0 0 0-1.41 0l-2.86 2.86-5.4-5.4 2.86-2.86a.996.996 0 0 0 0-1.41l-.02-.02a.996.996 0 0 0-1.41 0l-.72.72-.72-.72c-.39-.39-1.03-.39-1.42 0l-1.43 1.43-.72-.72a1.02 1.02 0 0 0-1.43 0 1.02 1.02 0 0 0 0 1.43l.72.72-1.43 1.43a.996.996 0 0 0 0 1.41l.72.72-.72.73a.996.996 0 0 0 0 1.41l.02.02c.39.39 1.02.39 1.41 0l2.86-2.86 5.4 5.4-2.86 2.86a.996.996 0 0 0 0 1.41l.02.02c.39.39 1.02.39 1.41 0l.72-.72.72.72c.39.39 1.02.39 1.41 0l1.43-1.43.72.72c.39.39 1.04.39 1.43 0 .39-.39.39-1.04 0-1.43l-.72-.72 1.44-1.43a.996.996 0 0 0 0-1.41l-.72-.73Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="m6.065 7.66-.003.005-1.19-2.116a1 1 0 0 0-1.744 0l-2.79 4.96A1 1 0 0 0 1.21 12h13.538a1 1 0 0 0 .86-1.509l-4.747-8.034a1 1 0 0 0-1.722 0l-2.192 3.71 1.527 2.715a.75.75 0 1 1-1.308.736L6.065 7.66Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M12.585 7.002H1.001a1 1 0 1 0 0 2.002l11.582-.002-1.29 1.29a1 1 0 0 0 1.414 1.415l3-3a1 1 0 0 0 0-1.414l-3-3a1 1 0 1 0-1.414 1.414L12.586 7l-.001.002Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M15.539.461a1.574 1.574 0 0 0-2.25.023L9.88 4.081 2.025 1.135a.51.51 0 0 0-.54.117L.15 2.588a.51.51 0 0 0 .108.804l6.561 3.75-3.57 3.57-1.74-.435a.51.51 0 0 0-.506.158l-.861.98a.51.51 0 0 0 .18.805l2.417 1.042 1.042 2.416a.51.51 0 0 0 .806.181l.979-.861a.51.51 0 0 0 .158-.507l-.435-1.739 3.57-3.57 3.75 6.56a.51.51 0 0 0 .804.108l1.336-1.335a.51.51 0 0 0 .117-.54L11.918 6.12l3.597-3.41a1.576 1.576 0 0 0 .023-2.25Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M11 0a4 4 0 0 1 3.995 3.8L15 4v5a1 1 0 0 1-.883.993L14 10h-1.5v4.75a1.25 1.25 0 1 1-2.5 0V1a1 1 0 0 1 .883-.993L11 0ZM7 0a1 1 0 0 1 .993.883L8 1v4a3 3 0 0 1-2.75 2.99v6.76a1.25 1.25 0 1 1-2.5 0V7.99A3 3 0 0 1 .005 5.176L0 5V1A1 1 0 0 1 1.993.883L2 1v4h1V1A1 1 0 0 1 4.993.883L5 1v4h1V1a1 1 0 0 1 1-1Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M11 5a3 3 0 1 1 0 6H3a1 1 0 1 0 0 2h8a5 5 0 0 0 0-10H3.414l1.293-1.293A1 1 0 0 0 3.293.293l-3 3a1 1 0 0 0 0 1.414l3 3a1 1 0 0 0 1.414-1.414L3.414 5H11Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M13 9.102v2.843a.5.5 0 0 1-.255.435l-4.5 2.532a.5.5 0 0 1-.49 0l-4.5-2.532A.5.5 0 0 1 3 11.945V9.102l4.03 2.155a2.06 2.06 0 0 0 1.94 0L13 9.103ZM8.16 1.023l.102.042 7.465 3.992a.522.522 0 0 1 .204.194.492.492 0 0 1-.124.64l-.08.052-7.465 3.992a.56.56 0 0 1-.423.041l-.101-.041L2 6.867V11a1 1 0 1 1-2 0V5.5c0-.148.068-.292.192-.39l.08-.053 7.466-3.992a.558.558 0 0 1 .338-.06l.085.019Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M4.5 13a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm8 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM2.5 1a1 1 0 0 1 .986.836L3.847 4H14a1 1 0 0 1 .986 1.164l-.86 5.165A2 2 0 0 1 12.153 12H4.847a2 2 0 0 1-1.973-1.671L1.652 3H1a1 1 0 0 1-.993-.883L0 2a1 1 0 0 1 .883-.993L1 1h1.5Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.64.64C11.2.072 9.488 0 8 0 6.512 0 4.8.072 3.36.64 1.224 1.472 0 3.24 0 5.488V16h16V5.488C16 3.24 14.776 1.472 12.64.64ZM13 5.857v5c0 1.07-.785 1.958-1.811 2.118l1.097 1.096v.358h-1.429L9.43 13H6.57l-1.428 1.429H3.714v-.358l1.097-1.096A2.143 2.143 0 0 1 3 10.857v-5C3 3.714 5.143 3 8 3s5 .714 5 2.857Zm-8.571-.714V8h7.142V5.143H4.43ZM6.57 10.5a1.071 1.071 0 1 1-2.142 0 1.071 1.071 0 0 1 2.142 0Zm3.929 1.071a1.071 1.071 0 1 0 0-2.142 1.071 1.071 0 0 0 0 2.142Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M15 4v7a3 3 0 0 1-2.536 2.964L14 15.5v.5h-2l-2-2H6l-2 2H2v-.5l1.536-1.536A3 3 0 0 1 1 11V4c0-3 3-4 7-4s7 1 7 4ZM3 7h4V3H3v4Zm6-4v4h4V3H9Zm-3 7.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm5.5 1.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M8 12a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm.968-10.9c1.777.372 3.182 1.858 3.472 3.65a4.507 4.507 0 0 1-2.828 4.953l-.112.039V11h-3V8.5a1.5 1.5 0 0 1 1.356-1.493L8 7a1.5 1.5 0 1 0-1.493-1.645L6.5 5.5h-3a4.506 4.506 0 0 1 5.468-4.4Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="16" height="17" viewBox="0 0 16 17" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M10.602 3.663A2 2 0 1 1 8.38.337a2 2 0 0 1 2.222 3.326Zm-.121 3.73a2.55 2.55 0 0 0 1.51.607 1 1 0 1 1 0 2 4.071 4.071 0 0 1-3-1.29l-.69 1.58 2.33 1.94a1 1 0 0 1 .36.77v2a1 1 0 0 1-2 0v-1.53l-2.58-2.12-1.48 4a1.003 1.003 0 1 1-1.88-.7L5.87 7l-1.12.32-.82 2a1 1 0 1 1-1.86-.74l1-2.5a1 1 0 0 1 .66-.59l3.36-1h.12c.11-.014.22-.014.33 0h.1a2.16 2.16 0 0 1 2 1.51 2.56 2.56 0 0 0 .84 1.394Z"/></svg>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cozy-ui",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "60.3.0",
|
|
4
4
|
"description": "Cozy apps UI SDK",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"bin": {
|
|
@@ -59,7 +59,8 @@
|
|
|
59
59
|
"start:doc": "env BUILD_ENV=watch-styleguidist styleguidist server --config docs/styleguide.config.js",
|
|
60
60
|
"start:doc:kss": "nodemon --ext styl,md --watch stylus --exec 'yarn build:doc:kss && http-server build/styleguide -p 4242'",
|
|
61
61
|
"start": "yarn build --watch",
|
|
62
|
-
"removeEmptyCss": "node scripts/removeEmptyCss.js"
|
|
62
|
+
"removeEmptyCss": "node scripts/removeEmptyCss.js",
|
|
63
|
+
"optimizeIcons": "svgo -r --folder assets/icons"
|
|
63
64
|
},
|
|
64
65
|
"sideEffects": [
|
|
65
66
|
"*.css",
|
|
@@ -141,6 +142,7 @@
|
|
|
141
142
|
"stylus": "0.56.0",
|
|
142
143
|
"stylus-loader": "3.0.2",
|
|
143
144
|
"svg-sprite-loader": "4.1.6",
|
|
145
|
+
"svgo": "2.8.0",
|
|
144
146
|
"svgstore-cli": "1.3.2",
|
|
145
147
|
"url-loader": "1.1.2",
|
|
146
148
|
"webpack": "4.39.3"
|
|
@@ -26,18 +26,18 @@ const ConfirmDialog = props => {
|
|
|
26
26
|
{!fullScreen && onClose && (
|
|
27
27
|
<DialogCloseButton
|
|
28
28
|
onClick={onClose}
|
|
29
|
-
data-
|
|
29
|
+
data-testid={`modal-close-button-${id}`}
|
|
30
30
|
/>
|
|
31
31
|
)}
|
|
32
32
|
{!fullScreen && onBack && (
|
|
33
33
|
<DialogBackButton
|
|
34
|
-
data-
|
|
34
|
+
data-testid={`modal-back-button-${id}`}
|
|
35
35
|
onClick={onBack}
|
|
36
36
|
/>
|
|
37
37
|
)}
|
|
38
38
|
{fullScreen && onBackOrClose && (
|
|
39
39
|
<DialogBackButton
|
|
40
|
-
data-
|
|
40
|
+
data-testid={`modal-backclose-button-${id}`}
|
|
41
41
|
onClick={onBackOrClose}
|
|
42
42
|
/>
|
|
43
43
|
)}
|
|
@@ -27,18 +27,18 @@ const Dialog = props => {
|
|
|
27
27
|
{!fullScreen && onClose && (
|
|
28
28
|
<DialogCloseButton
|
|
29
29
|
onClick={onClose}
|
|
30
|
-
data-
|
|
30
|
+
data-testid={`modal-close-button-${id}`}
|
|
31
31
|
/>
|
|
32
32
|
)}
|
|
33
33
|
{!fullScreen && onBack && (
|
|
34
34
|
<DialogBackButton
|
|
35
35
|
onClick={onBack}
|
|
36
|
-
data-
|
|
36
|
+
data-testid={`modal-back-button-${id}`}
|
|
37
37
|
/>
|
|
38
38
|
)}
|
|
39
39
|
{fullScreen && onBackOrClose && (
|
|
40
40
|
<DialogBackButton
|
|
41
|
-
data-
|
|
41
|
+
data-testid={`modal-backclose-button-${id}`}
|
|
42
42
|
onClick={onBackOrClose}
|
|
43
43
|
/>
|
|
44
44
|
)}
|
|
@@ -26,19 +26,19 @@ const FixedActionsDialog = props => {
|
|
|
26
26
|
<Dialog {...dialogProps}>
|
|
27
27
|
{!fullScreen && onClose && (
|
|
28
28
|
<DialogCloseButton
|
|
29
|
-
data-
|
|
29
|
+
data-testid={`modal-close-button-${id}`}
|
|
30
30
|
onClick={onClose}
|
|
31
31
|
/>
|
|
32
32
|
)}
|
|
33
33
|
{!fullScreen && onBack && (
|
|
34
34
|
<DialogBackButton
|
|
35
|
-
data-
|
|
35
|
+
data-testid={`modal-back-button-${id}`}
|
|
36
36
|
onClick={onBack}
|
|
37
37
|
/>
|
|
38
38
|
)}
|
|
39
39
|
{fullScreen && onBackOrClose && (
|
|
40
40
|
<DialogBackButton
|
|
41
|
-
data-
|
|
41
|
+
data-testid={`modal-backclose-button-${id}`}
|
|
42
42
|
onClick={onBackOrClose}
|
|
43
43
|
/>
|
|
44
44
|
)}
|
|
@@ -26,19 +26,19 @@ const FixedDialog = props => {
|
|
|
26
26
|
<Dialog {...dialogProps}>
|
|
27
27
|
{!fullScreen && onClose && (
|
|
28
28
|
<DialogCloseButton
|
|
29
|
-
data-
|
|
29
|
+
data-testid={`modal-close-button-${id}`}
|
|
30
30
|
onClick={onClose}
|
|
31
31
|
/>
|
|
32
32
|
)}
|
|
33
33
|
{!fullScreen && onBack && (
|
|
34
34
|
<DialogBackButton
|
|
35
|
-
data-
|
|
35
|
+
data-testid={`modal-back-button-${id}`}
|
|
36
36
|
onClick={onBack}
|
|
37
37
|
/>
|
|
38
38
|
)}
|
|
39
39
|
{fullScreen && onBackOrClose && (
|
|
40
40
|
<DialogBackButton
|
|
41
|
-
data-
|
|
41
|
+
data-testid={`modal-backclose-button-${id}`}
|
|
42
42
|
onClick={onBackOrClose}
|
|
43
43
|
/>
|
|
44
44
|
)}
|
|
@@ -25,19 +25,19 @@ const IllustrationDialog = props => {
|
|
|
25
25
|
<Dialog {...dialogProps}>
|
|
26
26
|
{!fullScreen && onClose && (
|
|
27
27
|
<DialogCloseButton
|
|
28
|
-
data-
|
|
28
|
+
data-testid={`modal-close-button-${id}`}
|
|
29
29
|
onClick={onClose}
|
|
30
30
|
/>
|
|
31
31
|
)}
|
|
32
32
|
{!fullScreen && onBack && (
|
|
33
33
|
<DialogBackButton
|
|
34
34
|
onClick={onBack}
|
|
35
|
-
data-
|
|
35
|
+
data-testid={`modal-back-button-${id}`}
|
|
36
36
|
/>
|
|
37
37
|
)}
|
|
38
38
|
{fullScreen && onBackOrClose && (
|
|
39
39
|
<DialogBackButton
|
|
40
|
-
data-
|
|
40
|
+
data-testid={`modal-backclose-button-${id}`}
|
|
41
41
|
onClick={onBackOrClose}
|
|
42
42
|
/>
|
|
43
43
|
)}
|
|
@@ -242,7 +242,7 @@ initialState = {
|
|
|
242
242
|
{dialogs.map(dialog => (
|
|
243
243
|
<button
|
|
244
244
|
key={`open-btn-${dialog.name}`}
|
|
245
|
-
data-
|
|
245
|
+
data-testid={`open-btn-${dialog.name}`}
|
|
246
246
|
onClick={() => toggleDialog(dialog)}
|
|
247
247
|
>
|
|
248
248
|
Open {dialog.name}
|
package/react/CozyDialogs/e2e.js
CHANGED
|
@@ -8,8 +8,8 @@ module.exports = async (page, screenshot) => {
|
|
|
8
8
|
]) {
|
|
9
9
|
console.log(`Screenshotting dialog type ${dialogType}`)
|
|
10
10
|
|
|
11
|
-
const openBtnSel = `[data-
|
|
12
|
-
const closeBtnSel = '[data-
|
|
11
|
+
const openBtnSel = `[data-testid=open-btn-${dialogType}]`
|
|
12
|
+
const closeBtnSel = '[data-testid*=modal-close-button]'
|
|
13
13
|
await page.waitForSelector(openBtnSel)
|
|
14
14
|
await page.click(openBtnSel)
|
|
15
15
|
await page.waitForSelector(closeBtnSel)
|
|
@@ -20,20 +20,20 @@ export const getDialog = root => {
|
|
|
20
20
|
export const getCloseButton = dialogRoot => {
|
|
21
21
|
const buttons = within(dialogRoot).getAllByRole('button')
|
|
22
22
|
return buttons.find(
|
|
23
|
-
x => x.dataset.
|
|
23
|
+
x => x.dataset.testid && x.dataset.testid.includes('modal-close-button')
|
|
24
24
|
)
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
export const getBackButton = dialogRoot => {
|
|
28
28
|
const buttons = within(dialogRoot).getAllByRole('button')
|
|
29
29
|
return buttons.find(
|
|
30
|
-
x => x.dataset.
|
|
30
|
+
x => x.dataset.testid && x.dataset.testid.includes('modal-back-button')
|
|
31
31
|
)
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
export const getBackCloseButton = dialogRoot => {
|
|
35
35
|
const buttons = within(dialogRoot).getAllByRole('button')
|
|
36
36
|
return buttons.find(
|
|
37
|
-
x => x.dataset.
|
|
37
|
+
x => x.dataset.testid && x.dataset.testid.includes('modal-backclose-button')
|
|
38
38
|
)
|
|
39
39
|
}
|
|
@@ -28,6 +28,7 @@ const useCozyDialog = props => {
|
|
|
28
28
|
disableTitleAutoPadding,
|
|
29
29
|
isFluidTitle,
|
|
30
30
|
disableGutters,
|
|
31
|
+
titleRef,
|
|
31
32
|
...otherProps
|
|
32
33
|
} = props
|
|
33
34
|
const { isMobile } = useBreakpoints()
|
|
@@ -62,6 +63,7 @@ const useCozyDialog = props => {
|
|
|
62
63
|
|
|
63
64
|
const dialogTitleProps = {
|
|
64
65
|
id: `modal-title-${id}`,
|
|
66
|
+
ref: titleRef,
|
|
65
67
|
disableTypography: true,
|
|
66
68
|
className: cx({
|
|
67
69
|
'u-ellipsis': !isFluidTitle,
|
package/react/Icon/Readme.md
CHANGED
|
@@ -39,6 +39,7 @@ import Bank from 'cozy-ui/transpiled/react/Icons/Bank'
|
|
|
39
39
|
import Banking from 'cozy-ui/transpiled/react/Icons/Banking'
|
|
40
40
|
import BankingAdd from 'cozy-ui/transpiled/react/Icons/BankingAdd'
|
|
41
41
|
import Bell from 'cozy-ui/transpiled/react/Icons/Bell'
|
|
42
|
+
import Bike from 'cozy-ui/transpiled/react/Icons/Bike'
|
|
42
43
|
import Bill from 'cozy-ui/transpiled/react/Icons/Bill'
|
|
43
44
|
import Bottom from 'cozy-ui/transpiled/react/Icons/Bottom'
|
|
44
45
|
import BrowserBrave from 'cozy-ui/transpiled/react/Icons/BrowserBrave'
|
|
@@ -51,9 +52,11 @@ import BrowserIe from 'cozy-ui/transpiled/react/Icons/BrowserIe'
|
|
|
51
52
|
import BrowserOpera from 'cozy-ui/transpiled/react/Icons/BrowserOpera'
|
|
52
53
|
import BrowserSafari from 'cozy-ui/transpiled/react/Icons/BrowserSafari'
|
|
53
54
|
import Burger from 'cozy-ui/transpiled/react/Icons/Burger'
|
|
55
|
+
import Bus from 'cozy-ui/transpiled/react/Icons/Bus'
|
|
54
56
|
import Calendar from 'cozy-ui/transpiled/react/Icons/Calendar'
|
|
55
57
|
import Camera from 'cozy-ui/transpiled/react/Icons/Camera'
|
|
56
58
|
import Car from 'cozy-ui/transpiled/react/Icons/Car'
|
|
59
|
+
import CarbonCopy from 'cozy-ui/transpiled/react/Icons/CarbonCopy'
|
|
57
60
|
import Categories from 'cozy-ui/transpiled/react/Icons/Categories'
|
|
58
61
|
import Certified from 'cozy-ui/transpiled/react/Icons/Certified'
|
|
59
62
|
import Check from 'cozy-ui/transpiled/react/Icons/Check'
|
|
@@ -110,6 +113,7 @@ import FileNone from 'cozy-ui/transpiled/react/Icons/FileNone'
|
|
|
110
113
|
import FileOutline from 'cozy-ui/transpiled/react/Icons/FileOutline'
|
|
111
114
|
import Filter from 'cozy-ui/transpiled/react/Icons/Filter'
|
|
112
115
|
import Fingerprint from 'cozy-ui/transpiled/react/Icons/Fingerprint'
|
|
116
|
+
import Fitness from 'cozy-ui/transpiled/react/Icons/Fitness'
|
|
113
117
|
import Flag from 'cozy-ui/transpiled/react/Icons/Flag'
|
|
114
118
|
import FlagOutlined from 'cozy-ui/transpiled/react/Icons/FlagOutlined'
|
|
115
119
|
import FlashAuto from 'cozy-ui/transpiled/react/Icons/FlashAuto'
|
|
@@ -146,8 +150,10 @@ import MagicTrick from 'cozy-ui/transpiled/react/Icons/MagicTrick'
|
|
|
146
150
|
import Magnet from 'cozy-ui/transpiled/react/Icons/Magnet'
|
|
147
151
|
import Magnifier from 'cozy-ui/transpiled/react/Icons/Magnifier'
|
|
148
152
|
import Merge from 'cozy-ui/transpiled/react/Icons/Merge'
|
|
153
|
+
import Mountain from 'cozy-ui/transpiled/react/Icons/Mountain'
|
|
149
154
|
import MovementIn from 'cozy-ui/transpiled/react/Icons/MovementIn'
|
|
150
155
|
import MovementOut from 'cozy-ui/transpiled/react/Icons/MovementOut'
|
|
156
|
+
import Movement from 'cozy-ui/transpiled/react/Icons/Movement'
|
|
151
157
|
import Moveto from 'cozy-ui/transpiled/react/Icons/Moveto'
|
|
152
158
|
import MultiFiles from 'cozy-ui/transpiled/react/Icons/MultiFiles'
|
|
153
159
|
import Music from 'cozy-ui/transpiled/react/Icons/Music'
|
|
@@ -170,29 +176,39 @@ import Phone from 'cozy-ui/transpiled/react/Icons/Phone'
|
|
|
170
176
|
import PhoneDownload from 'cozy-ui/transpiled/react/Icons/PhoneDownload'
|
|
171
177
|
import PieChart from 'cozy-ui/transpiled/react/Icons/PieChart'
|
|
172
178
|
import Pin from 'cozy-ui/transpiled/react/Icons/Pin'
|
|
179
|
+
import Plane from 'cozy-ui/transpiled/react/Icons/Plane'
|
|
173
180
|
import Plus from 'cozy-ui/transpiled/react/Icons/Plus'
|
|
174
181
|
import PlusSmall from 'cozy-ui/transpiled/react/Icons/PlusSmall'
|
|
175
182
|
import Previous from 'cozy-ui/transpiled/react/Icons/Previous'
|
|
176
183
|
import Printer from 'cozy-ui/transpiled/react/Icons/Printer'
|
|
177
184
|
import Qualify from 'cozy-ui/transpiled/react/Icons/Qualify'
|
|
185
|
+
import RadioChecked from 'cozy-ui/transpiled/react/Icons/RadioChecked'
|
|
186
|
+
import RadioUnchecked from 'cozy-ui/transpiled/react/Icons/RadioUnchecked'
|
|
178
187
|
import Rename from 'cozy-ui/transpiled/react/Icons/Rename'
|
|
179
188
|
import Repare from 'cozy-ui/transpiled/react/Icons/Repare'
|
|
189
|
+
import Reply from 'cozy-ui/transpiled/react/Icons/Reply'
|
|
190
|
+
import Restaurant from 'cozy-ui/transpiled/react/Icons/Restaurant'
|
|
191
|
+
import RestoreStraight from 'cozy-ui/transpiled/react/Icons/RestoreStraight'
|
|
180
192
|
import Restore from 'cozy-ui/transpiled/react/Icons/Restore'
|
|
181
193
|
import Right from 'cozy-ui/transpiled/react/Icons/Right'
|
|
182
194
|
import Rise from 'cozy-ui/transpiled/react/Icons/Rise'
|
|
183
195
|
import RotateLeft from 'cozy-ui/transpiled/react/Icons/RotateLeft'
|
|
184
196
|
import RotateRight from 'cozy-ui/transpiled/react/Icons/RotateRight'
|
|
185
197
|
import SadCozy from 'cozy-ui/transpiled/react/Icons/SadCozy'
|
|
198
|
+
import Safe from 'cozy-ui/transpiled/react/Icons/Safe'
|
|
199
|
+
import School from 'cozy-ui/transpiled/react/Icons/School'
|
|
186
200
|
import SelectAll from 'cozy-ui/transpiled/react/Icons/SelectAll'
|
|
187
201
|
import Setting from 'cozy-ui/transpiled/react/Icons/Setting'
|
|
188
202
|
import Share from 'cozy-ui/transpiled/react/Icons/Share'
|
|
189
203
|
import ShareCircle from 'cozy-ui/transpiled/react/Icons/ShareCircle'
|
|
190
204
|
import Shield from 'cozy-ui/transpiled/react/Icons/Shield'
|
|
205
|
+
import Shop from 'cozy-ui/transpiled/react/Icons/Shop'
|
|
191
206
|
import Sound from 'cozy-ui/transpiled/react/Icons/Sound'
|
|
192
207
|
import Spinner from 'cozy-ui/transpiled/react/Icons/Spinner'
|
|
193
208
|
import Stack from 'cozy-ui/transpiled/react/Icons/Stack'
|
|
194
209
|
import Star from 'cozy-ui/transpiled/react/Icons/Star'
|
|
195
210
|
import Stats from 'cozy-ui/transpiled/react/Icons/Stats'
|
|
211
|
+
import Subway from 'cozy-ui/transpiled/react/Icons/Subway'
|
|
196
212
|
import Sync from 'cozy-ui/transpiled/react/Icons/Sync'
|
|
197
213
|
import SyncCozy from 'cozy-ui/transpiled/react/Icons/SyncCozy'
|
|
198
214
|
import Target from 'cozy-ui/transpiled/react/Icons/Target'
|
|
@@ -200,13 +216,16 @@ import Team from 'cozy-ui/transpiled/react/Icons/Team'
|
|
|
200
216
|
import Telephone from 'cozy-ui/transpiled/react/Icons/Telephone'
|
|
201
217
|
import ToTheCloud from 'cozy-ui/transpiled/react/Icons/ToTheCloud'
|
|
202
218
|
import Top from 'cozy-ui/transpiled/react/Icons/Top'
|
|
219
|
+
import Train from 'cozy-ui/transpiled/react/Icons/Train'
|
|
203
220
|
import Trash from 'cozy-ui/transpiled/react/Icons/Trash'
|
|
204
221
|
import Trophy from 'cozy-ui/transpiled/react/Icons/Trophy'
|
|
222
|
+
import Unknow from 'cozy-ui/transpiled/react/Icons/Unknow'
|
|
205
223
|
import Unlink from 'cozy-ui/transpiled/react/Icons/Unlink'
|
|
206
224
|
import Unlock from 'cozy-ui/transpiled/react/Icons/Unlock'
|
|
207
225
|
import Up from 'cozy-ui/transpiled/react/Icons/Up'
|
|
208
226
|
import Upload from 'cozy-ui/transpiled/react/Icons/Upload'
|
|
209
227
|
import Videos from 'cozy-ui/transpiled/react/Icons/Videos'
|
|
228
|
+
import Walk from 'cozy-ui/transpiled/react/Icons/Walk'
|
|
210
229
|
import Wallet from 'cozy-ui/transpiled/react/Icons/Wallet'
|
|
211
230
|
import WalletAdd from 'cozy-ui/transpiled/react/Icons/WalletAdd'
|
|
212
231
|
import WalletNew from 'cozy-ui/transpiled/react/Icons/WalletNew'
|
|
@@ -214,9 +233,6 @@ import Warn from 'cozy-ui/transpiled/react/Icons/Warn'
|
|
|
214
233
|
import Warning from 'cozy-ui/transpiled/react/Icons/Warning'
|
|
215
234
|
import WarningCircle from 'cozy-ui/transpiled/react/Icons/WarningCircle'
|
|
216
235
|
import WrenchCircle from 'cozy-ui/transpiled/react/Icons/WrenchCircle'
|
|
217
|
-
import CarbonCopy from 'cozy-ui/transpiled/react/Icons/CarbonCopy'
|
|
218
|
-
import Safe from 'cozy-ui/transpiled/react/Icons/Safe'
|
|
219
|
-
;
|
|
220
236
|
|
|
221
237
|
const icons = [
|
|
222
238
|
Album,
|
|
@@ -231,6 +247,7 @@ const icons = [
|
|
|
231
247
|
Banking,
|
|
232
248
|
BankingAdd,
|
|
233
249
|
Bell,
|
|
250
|
+
Bike,
|
|
234
251
|
Bill,
|
|
235
252
|
Bottom,
|
|
236
253
|
BrowserBrave,
|
|
@@ -243,6 +260,7 @@ const icons = [
|
|
|
243
260
|
BrowserOpera,
|
|
244
261
|
BrowserSafari,
|
|
245
262
|
Burger,
|
|
263
|
+
Bus,
|
|
246
264
|
Calendar,
|
|
247
265
|
Camera,
|
|
248
266
|
Car,
|
|
@@ -303,6 +321,7 @@ const icons = [
|
|
|
303
321
|
FileOutline,
|
|
304
322
|
Filter,
|
|
305
323
|
Fingerprint,
|
|
324
|
+
Fitness,
|
|
306
325
|
Flag,
|
|
307
326
|
FlagOutlined,
|
|
308
327
|
FlashAuto,
|
|
@@ -339,8 +358,10 @@ const icons = [
|
|
|
339
358
|
Magnet,
|
|
340
359
|
Magnifier,
|
|
341
360
|
Merge,
|
|
361
|
+
Mountain,
|
|
342
362
|
MovementIn,
|
|
343
363
|
MovementOut,
|
|
364
|
+
Movement,
|
|
344
365
|
Moveto,
|
|
345
366
|
MultiFiles,
|
|
346
367
|
Music,
|
|
@@ -363,13 +384,19 @@ const icons = [
|
|
|
363
384
|
PhoneDownload,
|
|
364
385
|
PieChart,
|
|
365
386
|
Pin,
|
|
387
|
+
Plane,
|
|
366
388
|
Plus,
|
|
367
389
|
PlusSmall,
|
|
368
390
|
Previous,
|
|
369
391
|
Printer,
|
|
370
392
|
Qualify,
|
|
393
|
+
RadioChecked,
|
|
394
|
+
RadioUnchecked,
|
|
371
395
|
Rename,
|
|
372
396
|
Repare,
|
|
397
|
+
Reply,
|
|
398
|
+
Restaurant,
|
|
399
|
+
RestoreStraight,
|
|
373
400
|
Restore,
|
|
374
401
|
Right,
|
|
375
402
|
Rise,
|
|
@@ -377,16 +404,19 @@ const icons = [
|
|
|
377
404
|
RotateRight,
|
|
378
405
|
SadCozy,
|
|
379
406
|
Safe,
|
|
407
|
+
School,
|
|
380
408
|
SelectAll,
|
|
381
409
|
Setting,
|
|
382
410
|
Share,
|
|
383
411
|
ShareCircle,
|
|
384
412
|
Shield,
|
|
413
|
+
Shop,
|
|
385
414
|
Sound,
|
|
386
415
|
Spinner,
|
|
387
416
|
Stack,
|
|
388
417
|
Star,
|
|
389
418
|
Stats,
|
|
419
|
+
Subway,
|
|
390
420
|
Sync,
|
|
391
421
|
SyncCozy,
|
|
392
422
|
Target,
|
|
@@ -394,13 +424,16 @@ const icons = [
|
|
|
394
424
|
Telephone,
|
|
395
425
|
ToTheCloud,
|
|
396
426
|
Top,
|
|
427
|
+
Train,
|
|
397
428
|
Trash,
|
|
398
429
|
Trophy,
|
|
430
|
+
Unknow,
|
|
399
431
|
Unlink,
|
|
400
432
|
Unlock,
|
|
401
433
|
Up,
|
|
402
434
|
Upload,
|
|
403
435
|
Videos,
|
|
436
|
+
Walk,
|
|
404
437
|
Wallet,
|
|
405
438
|
WalletAdd,
|
|
406
439
|
WalletNew,
|
|
@@ -660,12 +693,12 @@ import WarningIcon from "cozy-ui/transpiled/react/Icons/Warning"
|
|
|
660
693
|
```jsx
|
|
661
694
|
import Icon from 'cozy-ui/transpiled/react/Icon'
|
|
662
695
|
// Sprite is necessary in order to add in the html rendering
|
|
663
|
-
import Sprite from 'cozy-ui/transpiled/react/Icon/Sprite'
|
|
696
|
+
import Sprite from 'cozy-ui/transpiled/react/Icon/Sprite'
|
|
664
697
|
import Typography from 'cozy-ui/transpiled/react/Typography'
|
|
665
698
|
|
|
666
699
|
const colors = ['#297EF2', '#08b442', '#B449E7', '#F52D2D', '#FF962F']
|
|
667
700
|
let i = 0
|
|
668
|
-
const availableIcons = ['album-add','album-remove','album','answer','apple','archive','attachment','attention','bank','banking-add','banking','bell','bill','bottom','browser-brave','browser-chrome','browser-duckduckgo','browser-edge','browser-edge-chromium','browser-firefox','browser-ie','browser-opera','browser-safari','burger','calendar','camera','car','carbonCopy','categories','certified','check-circle','check-list','check-square','check','checkbox','circle-filled','clock','cloud-happy','cloud','collect','comment','company','compass','connector','contract','contrast','cozy-laugh','cozy-text','credit-card-add','credit-card','credit','crop','cross-circle','cross-medium','cross-small','cross','cube','dash','dashboard','data-control','debit','devices','dots','down','download','drawing-arrow-up','dropdown-close','dropdown-open','dropdown','dropup','email-notification','email','eu','euro','exchange','eye-closed','eye','file-add','file-duotone','file-new','file-none','file-outline','file','filter','fingerprint','flag-outlined','flag','flash-auto','flashlight','folder-add','folder','forbidden','from-user','gear','globe','graph-circle','grid','group-list','groups','heart','help','history','home','hourglass','image','info-outlined','info','key','laptop','left','lightbulb','link-out','link','list','location','lock','logout','magic-trick','magnet','magnifier','merge','movement-in','movement-out','moveto','multi-files','music','new','next','note','notification-email','offline','online','openwith','palette','paperplane','password','pen','people','percent-circle','percent','personal-data','phone-download','phone','pie-chart','pin','plus-small','plus','previous','printer','qualify','
|
|
701
|
+
const availableIcons = ['album-add','album-remove','album','answer','apple','archive','attachment','attention','bank','banking-add','banking','bell','bike','bill','bottom','browser-brave','browser-chrome','browser-duckduckgo','browser-edge','browser-edge-chromium','browser-firefox','browser-ie','browser-opera','browser-safari','burger','bus','calendar','camera','car','carbonCopy','categories','certified','check-circle','check-list','check-square','check','checkbox','circle-filled','clock','cloud-happy','cloud','collect','comment','company','compass','connector','contract','contrast','cozy-laugh','cozy-text','credit-card-add','credit-card','credit','crop','cross-circle','cross-medium','cross-small','cross','cube','dash','dashboard','data-control','debit','devices','dots','down','download','drawing-arrow-up','dropdown-close','dropdown-open','dropdown','dropup','email-notification','email','eu','euro','exchange','eye-closed','eye','file-add','file-duotone','file-new','file-none','file-outline','file','filter','fingerprint','fitness','flag-outlined','flag','flash-auto','flashlight','folder-add','folder','forbidden','from-user','gear','globe','graph-circle','grid','group-list','groups','heart','help','history','home','hourglass','image','info-outlined','info','key','laptop','left','lightbulb','link-out','link','list','location','lock','logout','magic-trick','magnet','magnifier','merge','mountain','movement-in','movement-out','mouvement','moveto','multi-files','music','new','next','note','notification-email','offline','online','openwith','palette','paperplane','password','pen','people','percent-circle','percent','personal-data','phone-download','phone','pie-chart','pin','plane','plus-small','plus','previous','printer','qualify','radio-checked','radio-unchecked','repare','reply','restaurant','restore-straight','restore','right','rise','rotate-left','rotate-right','sad-cozy','safe','school','select-all','setting','share-circle','share','shield','shop','sound','spinner','stack','star','stats','subway','sync-cozy','sync','target','team','telephone','to-the-cloud','top','train','trash','trophy','unknow','unlink','unlock','up','upload','videos','walk','wallet-add','wallet-new','wallet','warn','warning-circle','warning','wrench-circle']
|
|
669
702
|
;
|
|
670
703
|
<div style={{ fontSize: '2rem', display: 'grid', gridTemplateColumns: 'repeat(6, 1fr)' }}>
|
|
671
704
|
<Sprite />
|