@openedx/paragon 23.0.0-alpha.3 → 23.0.0-alpha.5
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/bin/paragon-scripts.js +10 -0
- package/dist/Annotation/index.scss +16 -0
- package/dist/Card/CardDeck.js +0 -2
- package/dist/Card/CardDeck.js.map +1 -1
- package/dist/Card/index.scss +8 -6
- package/dist/Carousel/index.scss +24 -1
- package/dist/Chip/ChipIcon.d.ts +1 -1
- package/dist/CloseButton/index.scss +8 -0
- package/dist/ColorPicker/index.scss +1 -1
- package/dist/Container/index.d.ts +16 -0
- package/dist/Container/index.js +15 -13
- package/dist/Container/index.js.map +1 -1
- package/dist/DataTable/index.scss +12 -0
- package/dist/Dropdown/dropdown-bootstrap.scss +6 -0
- package/dist/Dropzone/index.scss +34 -0
- package/dist/Form/_FormText.scss +1 -1
- package/dist/Form/_bootstrap-custom-forms.scss +40 -0
- package/dist/Form/_index.scss +9 -0
- package/dist/Form/_mixins.scss +22 -0
- package/dist/IconButton/index.d.ts +1 -1
- package/dist/IconButton/index.js +1 -1
- package/dist/IconButton/index.js.map +1 -1
- package/dist/IconButton/index.scss +146 -0
- package/dist/Menu/SelectMenu.js +9 -4
- package/dist/Menu/SelectMenu.js.map +1 -1
- package/dist/Menu/index.scss +8 -0
- package/dist/Modal/ModalContext.d.ts +15 -0
- package/dist/Modal/ModalContext.js +7 -14
- package/dist/Modal/ModalContext.js.map +1 -1
- package/dist/Modal/ModalDialog.d.ts +110 -0
- package/dist/Modal/ModalDialog.js +30 -24
- package/dist/Modal/ModalDialog.js.map +1 -1
- package/dist/Modal/ModalDialogHeader.d.ts +10 -0
- package/dist/Modal/ModalDialogHeader.js +6 -7
- package/dist/Modal/ModalDialogHeader.js.map +1 -1
- package/dist/Modal/ModalLayer.d.ts +53 -0
- package/dist/Modal/ModalLayer.js +5 -14
- package/dist/Modal/ModalLayer.js.map +1 -1
- package/dist/Modal/Portal.d.ts +11 -0
- package/dist/Modal/Portal.js +5 -6
- package/dist/Modal/Portal.js.map +1 -1
- package/dist/Modal/_ModalDialog.scss +22 -2
- package/dist/Nav/index.scss +8 -0
- package/dist/Overlay/index.d.ts +2 -2
- package/dist/PageBanner/index.scss +2 -2
- package/dist/Pagination/pagination-bootstrap.scss +9 -0
- package/dist/Popover/index.scss +1 -1
- package/dist/ProductTour/Checkpoint.scss +1 -1
- package/dist/ProgressBar/bootstrap-progress.scss +20 -5
- package/dist/ProgressBar/index.scss +3 -3
- package/dist/Stepper/index.scss +1 -1
- package/dist/Sticky/index.scss +12 -0
- package/dist/Toast/index.scss +13 -1
- package/dist/Tooltip/index.scss +16 -0
- package/dist/core.css +913 -470
- package/dist/core.css.map +1 -1
- package/dist/core.min.css +1 -1
- package/dist/hooks/useArrowKeyNavigation.js +2 -3
- package/dist/hooks/useArrowKeyNavigation.js.map +1 -1
- package/dist/index.d.ts +19 -5
- package/dist/index.js +5 -5
- package/dist/light.css +2035 -1315
- package/dist/light.css.map +1 -1
- package/dist/light.min.css +1 -1
- package/icons/es5/Newsstand.js +15 -0
- package/icons/es5/index.js +1 -0
- package/icons/es5/index.ts +1 -0
- package/icons/jsx/Newsstand.jsx +17 -0
- package/icons/jsx/index.jsx +1 -0
- package/icons/svg/newsstand.svg +1 -0
- package/lib/build-tokens.js +67 -31
- package/package.json +8 -5
- package/src/Annotation/index.scss +16 -0
- package/src/Card/CardDeck.jsx +0 -3
- package/src/Card/README.md +0 -31
- package/src/Card/index.scss +8 -6
- package/src/Carousel/index.scss +24 -1
- package/src/CloseButton/index.scss +8 -0
- package/src/ColorPicker/index.scss +1 -1
- package/src/Container/{Container.test.jsx → Container.test.tsx} +14 -8
- package/src/Container/README.md +4 -0
- package/src/Container/index.tsx +64 -0
- package/src/DataTable/index.scss +12 -0
- package/src/DataTable/selection/tests/ControlledSelectHeader.test.jsx +7 -7
- package/src/Dropdown/dropdown-bootstrap.scss +6 -0
- package/src/Dropzone/index.scss +34 -0
- package/src/Form/_FormText.scss +1 -1
- package/src/Form/_bootstrap-custom-forms.scss +40 -0
- package/src/Form/_index.scss +9 -0
- package/src/Form/_mixins.scss +22 -0
- package/src/IconButton/index.scss +146 -0
- package/src/IconButton/index.tsx +1 -1
- package/src/Menu/SelectMenu.jsx +5 -0
- package/src/Menu/SelectMenu.test.jsx +6 -0
- package/src/Menu/index.scss +8 -0
- package/src/Menu/select-menu.md +8 -0
- package/src/Modal/{ModalContext.jsx → ModalContext.tsx} +19 -16
- package/src/Modal/{ModalDialog.jsx → ModalDialog.tsx} +57 -26
- package/src/Modal/{ModalDialogHeader.jsx → ModalDialogHeader.tsx} +17 -11
- package/src/Modal/{ModalLayer.jsx → ModalLayer.tsx} +17 -17
- package/src/Modal/{Portal.jsx → Portal.tsx} +10 -7
- package/src/Modal/_ModalDialog.scss +22 -2
- package/src/Modal/modal-dialog.mdx +95 -6
- package/src/Modal/tests/{ModalDialog.test.jsx → ModalDialog.test.tsx} +18 -10
- package/src/Modal/tests/{ModalLayer.test.jsx → ModalLayer.test.tsx} +5 -5
- package/src/Modal/tests/{Portal.test.jsx → Portal.test.tsx} +3 -3
- package/src/Nav/index.scss +8 -0
- package/src/PageBanner/index.scss +2 -2
- package/src/Pagination/pagination-bootstrap.scss +9 -0
- package/src/Popover/index.scss +1 -1
- package/src/ProductTour/Checkpoint.scss +1 -1
- package/src/ProgressBar/bootstrap-progress.scss +20 -5
- package/src/ProgressBar/index.scss +3 -3
- package/src/Stepper/index.scss +1 -1
- package/src/Sticky/index.scss +12 -0
- package/src/Toast/index.scss +13 -1
- package/src/Tooltip/index.scss +16 -0
- package/src/hooks/useArrowKeyNavigation.jsx +1 -2
- package/src/index.d.ts +19 -5
- package/src/index.js +5 -5
- package/styles/css/core/abstraction-variables.css +44 -0
- package/styles/css/core/custom-media-breakpoints.css +3 -4
- package/styles/css/core/index.css +2 -1
- package/styles/css/core/variables.css +494 -430
- package/styles/css/themes/light/abstraction-variables.css +304 -0
- package/styles/css/themes/light/index.css +1 -0
- package/styles/css/themes/light/utility-classes.css +2 -3
- package/styles/css/themes/light/variables.css +1753 -1334
- package/styles/scss/core/_typography.scss +16 -4
- package/styles/scss/core/_utilities.scss +7 -3
- package/styles/scss/core/_variables.scss +43 -30
- package/styles/scss/core/core.scss +1 -0
- package/tokens/src/core/alias/size.json +6 -5
- package/tokens/src/core/components/ActionRow.json +3 -2
- package/tokens/src/core/components/Alert.json +12 -10
- package/tokens/src/core/components/Annotation.json +9 -7
- package/tokens/src/core/components/Avatar.json +9 -9
- package/tokens/src/core/components/AvatarButton.json +4 -3
- package/tokens/src/core/components/Badge.json +12 -9
- package/tokens/src/core/components/Breadcrumb.json +7 -5
- package/tokens/src/core/components/Bubble.json +4 -3
- package/tokens/src/core/components/Button/core.json +35 -59
- package/tokens/src/core/components/Card.json +33 -44
- package/tokens/src/core/components/Carousel.json +39 -13
- package/tokens/src/core/components/Chip.json +13 -21
- package/tokens/src/core/components/ChipCarousel.json +4 -5
- package/tokens/src/core/components/CloseButton.json +2 -6
- package/tokens/src/core/components/Code.json +9 -8
- package/tokens/src/core/components/Collapsible.json +10 -13
- package/tokens/src/core/components/ColorPicker.json +3 -2
- package/tokens/src/core/components/Container.json +6 -5
- package/tokens/src/core/components/DataTable.json +17 -9
- package/tokens/src/core/components/Dropdown.json +24 -29
- package/tokens/src/core/components/Dropzone.json +5 -7
- package/tokens/src/core/components/Form/other.json +5 -4
- package/tokens/src/core/components/Form/size.json +72 -119
- package/tokens/src/core/components/Form/spacing.json +39 -83
- package/tokens/src/core/components/Form/transition.json +43 -7
- package/tokens/src/core/components/Form/typography.json +24 -88
- package/tokens/src/core/components/Icon.json +6 -5
- package/tokens/src/core/components/IconButton.json +4 -7
- package/tokens/src/core/components/Image.json +7 -6
- package/tokens/src/core/components/Menu.json +14 -12
- package/tokens/src/core/components/Modal.json +26 -21
- package/tokens/src/core/components/Nav.json +14 -16
- package/tokens/src/core/components/Navbar.json +15 -30
- package/tokens/src/core/components/Pagination.json +23 -24
- package/tokens/src/core/components/Popover.json +18 -14
- package/tokens/src/core/components/ProductTour.json +8 -14
- package/tokens/src/core/components/ProgressBar.json +29 -14
- package/tokens/src/core/components/SearchField.json +7 -9
- package/tokens/src/core/components/SelectableBox.json +4 -3
- package/tokens/src/core/components/Sheet.json +3 -2
- package/tokens/src/core/components/Spinner.json +9 -7
- package/tokens/src/core/components/Stack.json +2 -1
- package/tokens/src/core/components/Stepper.json +12 -14
- package/tokens/src/core/components/Sticky.json +2 -1
- package/tokens/src/core/components/Tab.json +8 -7
- package/tokens/src/core/components/Tabs.json +5 -5
- package/tokens/src/core/components/Toast.json +11 -8
- package/tokens/src/core/components/Tooltip.json +13 -11
- package/tokens/src/core/components/general/caret.json +5 -3
- package/tokens/src/core/components/general/headings.json +5 -4
- package/tokens/src/core/components/general/hr.json +3 -2
- package/tokens/src/core/components/general/input.json +19 -19
- package/tokens/src/core/components/general/link.json +13 -12
- package/tokens/src/core/components/general/list.json +9 -6
- package/tokens/src/core/components/general/text.json +6 -12
- package/tokens/src/core/global/breakpoints.json +25 -6
- package/tokens/src/core/global/elevation.json +55 -13
- package/tokens/src/core/global/other.json +5 -1
- package/tokens/src/core/global/spacing.json +70 -17
- package/tokens/src/core/global/transition.json +41 -4
- package/tokens/src/core/global/typography.json +248 -53
- package/tokens/src/core/utilities/color.json +35 -4
- package/tokens/src/themes/light/alias/color.json +276 -75
- package/tokens/src/themes/light/components/Alert.json +15 -26
- package/tokens/src/themes/light/components/Annotation.json +27 -13
- package/tokens/src/themes/light/components/Avatar.json +2 -1
- package/tokens/src/themes/light/components/Badge.json +57 -122
- package/tokens/src/themes/light/components/Breadcrumb.json +6 -5
- package/tokens/src/themes/light/components/Bubble.json +9 -8
- package/tokens/src/themes/light/components/Button/brand.json +171 -119
- package/tokens/src/themes/light/components/Button/core.json +8 -9
- package/tokens/src/themes/light/components/Button/danger.json +171 -112
- package/tokens/src/themes/light/components/Button/dark.json +188 -106
- package/tokens/src/themes/light/components/Button/info.json +186 -112
- package/tokens/src/themes/light/components/Button/light.json +186 -110
- package/tokens/src/themes/light/components/Button/primary.json +178 -116
- package/tokens/src/themes/light/components/Button/secondary.json +166 -132
- package/tokens/src/themes/light/components/Button/success.json +176 -117
- package/tokens/src/themes/light/components/Button/tertiary.json +34 -60
- package/tokens/src/themes/light/components/Button/warning.json +164 -128
- package/tokens/src/themes/light/components/Card.json +10 -21
- package/tokens/src/themes/light/components/Carousel.json +12 -11
- package/tokens/src/themes/light/components/Chip.json +14 -26
- package/tokens/src/themes/light/components/CloseButton.json +12 -2
- package/tokens/src/themes/light/components/Code.json +7 -9
- package/tokens/src/themes/light/components/DataTable.json +7 -11
- package/tokens/src/themes/light/components/Dropdown.json +17 -20
- package/tokens/src/themes/light/components/Dropzone.json +49 -11
- package/tokens/src/themes/light/components/Form/color.json +101 -155
- package/tokens/src/themes/light/components/Form/elevation.json +38 -42
- package/tokens/src/themes/light/components/Form/other.json +44 -41
- package/tokens/src/themes/light/components/IconButton.json +408 -256
- package/tokens/src/themes/light/components/Image.json +7 -4
- package/tokens/src/themes/light/components/Menu.json +12 -10
- package/tokens/src/themes/light/components/Modal.json +22 -12
- package/tokens/src/themes/light/components/Nav.json +82 -94
- package/tokens/src/themes/light/components/Navbar.json +32 -76
- package/tokens/src/themes/light/components/OverflowScroll.json +3 -1
- package/tokens/src/themes/light/components/PageBanner.json +11 -10
- package/tokens/src/themes/light/components/Pagination.json +19 -23
- package/tokens/src/themes/light/components/Popover.json +22 -27
- package/tokens/src/themes/light/components/ProductTour.json +9 -20
- package/tokens/src/themes/light/components/ProgressBar.json +12 -10
- package/tokens/src/themes/light/components/Scrollable.json +3 -3
- package/tokens/src/themes/light/components/SearchField.json +9 -9
- package/tokens/src/themes/light/components/Sheet.json +6 -7
- package/tokens/src/themes/light/components/Stepper.json +12 -17
- package/tokens/src/themes/light/components/Sticky.json +31 -6
- package/tokens/src/themes/light/components/Tab.json +47 -24
- package/tokens/src/themes/light/components/Toast.json +26 -14
- package/tokens/src/themes/light/components/Tooltip.json +25 -10
- package/tokens/src/themes/light/components/general/body.json +3 -2
- package/tokens/src/themes/light/components/general/headings.json +2 -1
- package/tokens/src/themes/light/components/general/hr.json +3 -6
- package/tokens/src/themes/light/components/general/input.json +11 -4
- package/tokens/src/themes/light/components/general/link.json +34 -43
- package/tokens/src/themes/light/components/general/list.json +15 -19
- package/tokens/src/themes/light/components/general/text.json +5 -6
- package/tokens/src/themes/light/global/color.json +1592 -867
- package/tokens/src/themes/light/global/elevation.json +481 -93
- package/tokens/style-dictionary.js +342 -144
- package/tokens/utils.js +176 -6
- package/src/Container/index.jsx +0 -49
- package/tokens/src/core/global/display.json +0 -22
- /package/src/Truncate/{Truncate.test.js → utils.test.js} +0 -0
|
@@ -1,273 +1,309 @@
|
|
|
1
1
|
{
|
|
2
2
|
"color": {
|
|
3
|
+
"$type": "color",
|
|
3
4
|
"btn": {
|
|
4
5
|
"text": {
|
|
5
6
|
"warning": {
|
|
6
|
-
"value": "{color.btn.bg.warning}",
|
|
7
|
-
"type": "color",
|
|
8
7
|
"source": "$btn-warning-color",
|
|
9
|
-
"modify": [{ "type": "color-yiq" }]
|
|
8
|
+
"modify": [{ "type": "color-yiq" }],
|
|
9
|
+
"$value": "{color.btn.bg.warning}"
|
|
10
10
|
},
|
|
11
11
|
"outline-warning": {
|
|
12
|
-
"
|
|
12
|
+
"source": "$btn-warning-outline-color",
|
|
13
|
+
"$value": "{color.warning.base}"
|
|
13
14
|
},
|
|
14
15
|
"inverse-warning": {
|
|
15
|
-
"
|
|
16
|
+
"source": "$btn-warning-inverse-color",
|
|
17
|
+
"$value": "{color.warning.base}"
|
|
16
18
|
},
|
|
17
19
|
"inverse-outline-warning": {
|
|
18
|
-
"
|
|
20
|
+
"source": "$btn-warning-inverse-outline-color",
|
|
21
|
+
"$value": "{color.white}"
|
|
19
22
|
}
|
|
20
23
|
},
|
|
21
24
|
"bg": {
|
|
22
|
-
"warning": {
|
|
23
|
-
|
|
25
|
+
"warning": {
|
|
26
|
+
"source": "$btn-warning-bg",
|
|
27
|
+
"$value": "{color.warning.base}"
|
|
28
|
+
},
|
|
29
|
+
"outline-warning": {
|
|
30
|
+
"source": "$btn-warning-outline-bg",
|
|
31
|
+
"$value": "inherit"
|
|
32
|
+
},
|
|
24
33
|
"inverse-warning": {
|
|
25
|
-
"value": "{color.btn.text.inverse-warning}",
|
|
26
|
-
"type": "color",
|
|
27
34
|
"source": "$btn-warning-inverse-bg",
|
|
28
|
-
"modify": [{ "type": "color-yiq" }]
|
|
35
|
+
"modify": [{ "type": "color-yiq" }],
|
|
36
|
+
"$value": "{color.btn.text.inverse-warning}"
|
|
29
37
|
},
|
|
30
|
-
"inverse-outline-warning": {
|
|
38
|
+
"inverse-outline-warning": {
|
|
39
|
+
"source": "$btn-warning-inverse-outline-bg",
|
|
40
|
+
"$value": "inherit"
|
|
41
|
+
}
|
|
31
42
|
},
|
|
32
43
|
"border": {
|
|
33
|
-
"warning": {
|
|
44
|
+
"warning": {
|
|
45
|
+
"source": "$btn-warning-border-color",
|
|
46
|
+
"$value": "{color.btn.bg.warning}"
|
|
47
|
+
},
|
|
34
48
|
"outline-warning": {
|
|
35
|
-
"
|
|
49
|
+
"source": "$btn-warning-outline-border-color",
|
|
50
|
+
"$value": "{color.warning.base}"
|
|
51
|
+
},
|
|
52
|
+
"inverse-warning": {
|
|
53
|
+
"source": "$btn-warning-inverse-border-color",
|
|
54
|
+
"$value": "transparent"
|
|
36
55
|
},
|
|
37
|
-
"inverse-warning": { "value": "transparent", "type": "color", "source": "$btn-warning-inverse-border-color" },
|
|
38
56
|
"inverse-outline-warning": {
|
|
39
|
-
"
|
|
57
|
+
"source": "$btn-warning-inverse-outline-border-color",
|
|
58
|
+
"$value": "{color.white}"
|
|
40
59
|
}
|
|
41
60
|
},
|
|
42
61
|
"hover": {
|
|
43
62
|
"text": {
|
|
44
63
|
"warning": {
|
|
45
|
-
"value": "{color.btn.hover.bg.warning}",
|
|
46
|
-
"type": "color",
|
|
47
64
|
"source": "$btn-warning-hover-color",
|
|
48
|
-
"modify": [{ "type": "color-yiq" }]
|
|
65
|
+
"modify": [{ "type": "color-yiq" }],
|
|
66
|
+
"$value": "{color.btn.hover.bg.warning}"
|
|
49
67
|
},
|
|
50
68
|
"outline-warning": {
|
|
51
|
-
"
|
|
69
|
+
"source": "$btn-warning-outline-hover-color",
|
|
70
|
+
"$value": "{color.theme.hover.warning}"
|
|
52
71
|
},
|
|
53
72
|
"inverse-warning": {
|
|
54
|
-
"value": "{color.btn.text.inverse-warning}",
|
|
55
|
-
"type": "color",
|
|
56
73
|
"source": "$btn-warning-inverse-hover-color",
|
|
57
|
-
"modify": [{ "type": "darken", "amount": 0.075 }]
|
|
74
|
+
"modify": [{ "type": "darken", "amount": 0.075 }],
|
|
75
|
+
"$value": "{color.btn.text.inverse-warning}"
|
|
58
76
|
},
|
|
59
77
|
"inverse-outline-warning": {
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"source": "$btn-warning-inverse-outline-hover-color"
|
|
78
|
+
"source": "$btn-warning-inverse-outline-hover-color",
|
|
79
|
+
"$value": "{color.theme.hover.warning}"
|
|
63
80
|
}
|
|
64
81
|
},
|
|
65
82
|
"bg": {
|
|
66
83
|
"warning": {
|
|
67
|
-
"
|
|
84
|
+
"source": "$btn-warning-hover-bg",
|
|
85
|
+
"$value": "{color.theme.hover.warning}"
|
|
68
86
|
},
|
|
69
87
|
"outline-warning": {
|
|
70
|
-
"
|
|
88
|
+
"source": "$btn-warning-outline-hover-bg",
|
|
89
|
+
"$value": "{color.warning.100}"
|
|
71
90
|
},
|
|
72
91
|
"inverse-warning": {
|
|
73
|
-
"value": "{color.btn.bg.inverse-warning}",
|
|
74
|
-
"type": "color",
|
|
75
92
|
"source": "$btn-warning-inverse-hover-bg",
|
|
76
|
-
"modify": [{ "type": "darken", "amount": 0.075 }]
|
|
93
|
+
"modify": [{ "type": "darken", "amount": 0.075 }],
|
|
94
|
+
"$value": "{color.btn.bg.inverse-warning}"
|
|
77
95
|
},
|
|
78
96
|
"inverse-outline-warning": {
|
|
79
|
-
"
|
|
97
|
+
"source": "$btn-warning-inverse-outline-hover-bg",
|
|
98
|
+
"$value": "{color.warning.100}"
|
|
80
99
|
}
|
|
81
100
|
},
|
|
82
101
|
"border": {
|
|
83
102
|
"warning": {
|
|
84
|
-
"
|
|
103
|
+
"source": "$btn-warning-hover-border-color",
|
|
104
|
+
"$value": "{color.theme.hover.warning}"
|
|
85
105
|
},
|
|
86
106
|
"outline-warning": {
|
|
87
|
-
"
|
|
107
|
+
"source": "$btn-warning-outline-hover-border-color",
|
|
108
|
+
"$value": "{color.warning.900}"
|
|
109
|
+
},
|
|
110
|
+
"inverse-warning": {
|
|
111
|
+
"source": "$btn-warning-inverse-hover-border-color",
|
|
112
|
+
"$value": "transparent"
|
|
88
113
|
},
|
|
89
|
-
"inverse-warning": { "value": "transparent", "type": "color", "source": "$btn-warning-inverse-hover-border-color" },
|
|
90
114
|
"inverse-outline-warning": {
|
|
91
|
-
"
|
|
115
|
+
"source": "$btn-warning-inverse-outline-hover-border-color",
|
|
116
|
+
"$value": "transparent"
|
|
92
117
|
}
|
|
93
118
|
}
|
|
94
119
|
},
|
|
95
120
|
"active": {
|
|
96
121
|
"text": {
|
|
97
122
|
"warning": {
|
|
98
|
-
"value": "{color.btn.active.bg.warning}",
|
|
99
|
-
"type": "color",
|
|
100
123
|
"source": "$btn-warning-active-color",
|
|
101
|
-
"modify": [{ "type": "color-yiq" }]
|
|
124
|
+
"modify": [{ "type": "color-yiq" }],
|
|
125
|
+
"$value": "{color.btn.active.bg.warning}"
|
|
102
126
|
},
|
|
103
127
|
"outline-warning": {
|
|
104
|
-
"value": "{color.btn.active.bg.outline-warning}",
|
|
105
|
-
"type": "color",
|
|
106
128
|
"source": "$btn-warning-outline-active-color",
|
|
107
|
-
"modify": [{ "type": "color-yiq" }]
|
|
129
|
+
"modify": [{ "type": "color-yiq" }],
|
|
130
|
+
"$value": "{color.btn.active.bg.outline-warning}"
|
|
108
131
|
},
|
|
109
132
|
"inverse-warning": {
|
|
110
|
-
"value": "{color.btn.text.inverse-warning}",
|
|
111
|
-
"type": "color",
|
|
112
133
|
"source": "$btn-warning-inverse-active-color",
|
|
113
|
-
"modify": [{ "type": "darken", "amount": 0.1 }]
|
|
134
|
+
"modify": [{ "type": "darken", "amount": 0.1 }],
|
|
135
|
+
"$value": "{color.btn.text.inverse-warning}"
|
|
114
136
|
},
|
|
115
137
|
"inverse-outline-warning": {
|
|
116
|
-
"value": "{color.btn.active.bg.inverse-outline-warning}",
|
|
117
|
-
"type": "color",
|
|
118
138
|
"source": "$btn-warning-inverse-outline-active-color",
|
|
119
|
-
"modify": [{ "type": "color-yiq" }]
|
|
139
|
+
"modify": [{ "type": "color-yiq" }],
|
|
140
|
+
"$value": "{color.btn.active.bg.inverse-outline-warning}"
|
|
141
|
+
}
|
|
120
142
|
},
|
|
121
143
|
"bg": {
|
|
122
144
|
"warning": {
|
|
123
|
-
"
|
|
145
|
+
"source": "$btn-warning-active-bg",
|
|
146
|
+
"$value": "{color.theme.active.warning}"
|
|
124
147
|
},
|
|
125
148
|
"outline-warning": {
|
|
126
|
-
"
|
|
149
|
+
"source": "$btn-warning-outline-active-bg",
|
|
150
|
+
"$value": "{color.theme.bg.warning}"
|
|
151
|
+
},
|
|
152
|
+
"inverse-warning": {
|
|
153
|
+
"source": "$btn-warning-inverse-active-bg",
|
|
154
|
+
"$value": "{color.gray.100}"
|
|
127
155
|
},
|
|
128
|
-
"inverse-warning": { "value": "{color.gray.100}", "type": "color", "source": "$btn-warning-inverse-active-bg" },
|
|
129
156
|
"inverse-outline-warning": {
|
|
130
|
-
"
|
|
131
|
-
"
|
|
132
|
-
"source": "$btn-warning-inverse-outline-active-bg"
|
|
157
|
+
"source": "$btn-warning-inverse-outline-active-bg",
|
|
158
|
+
"$value": "{color.theme.bg.warning}"
|
|
133
159
|
}
|
|
134
160
|
},
|
|
135
161
|
"border": {
|
|
136
162
|
"warning": {
|
|
137
|
-
"
|
|
138
|
-
"
|
|
139
|
-
"source": "$btn-warning-active-border-color"
|
|
163
|
+
"source": "$btn-warning-active-border-color",
|
|
164
|
+
"$value": "{color.theme.active.warning}"
|
|
140
165
|
},
|
|
141
166
|
"inverse-warning": {
|
|
142
|
-
"
|
|
143
|
-
"
|
|
144
|
-
"source": "$btn-warning-inverse-active-border-color"
|
|
167
|
+
"source": "$btn-warning-inverse-active-border-color",
|
|
168
|
+
"$value": "inherit"
|
|
145
169
|
},
|
|
146
170
|
"outline-warning": {
|
|
147
|
-
"
|
|
148
|
-
"
|
|
149
|
-
"source": "$btn-warning-outline-active-border-color"
|
|
171
|
+
"source": "$btn-warning-outline-active-border-color",
|
|
172
|
+
"$value": "{color.theme.active.warning}"
|
|
150
173
|
},
|
|
151
174
|
"inverse-outline-warning": {
|
|
152
|
-
"
|
|
175
|
+
"source": "$btn-warning-inverse-outline-active-border-color",
|
|
176
|
+
"$value": "transparent"
|
|
153
177
|
}
|
|
154
178
|
}
|
|
155
179
|
},
|
|
156
180
|
"focus": {
|
|
157
181
|
"text": {
|
|
158
|
-
"warning": {
|
|
182
|
+
"warning": {
|
|
183
|
+
"source": "$btn-warning-focus-color",
|
|
184
|
+
"$value": "{color.btn.text.warning}"
|
|
185
|
+
},
|
|
159
186
|
"outline-warning": {
|
|
160
|
-
"
|
|
161
|
-
"
|
|
162
|
-
"source": "$btn-warning-outline-focus-color"
|
|
187
|
+
"source": "$btn-warning-outline-focus-color",
|
|
188
|
+
"$value": "{color.btn.text.outline-warning}"
|
|
163
189
|
},
|
|
164
190
|
"inverse-warning": {
|
|
165
|
-
"
|
|
166
|
-
"
|
|
167
|
-
"source": "$btn-warning-inverse-focus-color"
|
|
191
|
+
"source": "$btn-warning-inverse-focus-color",
|
|
192
|
+
"$value": "{color.btn.text.inverse-warning}"
|
|
168
193
|
},
|
|
169
194
|
"inverse-outline-warning": {
|
|
170
|
-
"
|
|
171
|
-
"
|
|
172
|
-
"source": "$btn-warning-inverse-outline-focus-color"
|
|
195
|
+
"source": "$btn-warning-inverse-outline-focus-color",
|
|
196
|
+
"$value": "{color.btn.text.inverse-outline-warning}"
|
|
173
197
|
}
|
|
174
198
|
},
|
|
175
199
|
"border": {
|
|
176
200
|
"warning": {
|
|
177
|
-
"
|
|
178
|
-
"
|
|
179
|
-
"source": "$btn-warning-focus-border-color"
|
|
201
|
+
"source": "$btn-warning-focus-border-color",
|
|
202
|
+
"$value": "{color.btn.border.warning}"
|
|
180
203
|
},
|
|
181
204
|
"outline-warning": {
|
|
182
|
-
"
|
|
183
|
-
"
|
|
184
|
-
"source": "$btn-warning-outline-focus-border-color"
|
|
205
|
+
"source": "$btn-warning-outline-focus-border-color",
|
|
206
|
+
"$value": "{color.btn.border.outline-warning}"
|
|
185
207
|
},
|
|
186
208
|
"inverse-warning": {
|
|
187
|
-
"
|
|
188
|
-
"
|
|
189
|
-
"source": "$btn-warning-inverse-focus-border-color"
|
|
209
|
+
"source": "$btn-warning-inverse-focus-border-color",
|
|
210
|
+
"$value": "{color.btn.border.inverse-warning}"
|
|
190
211
|
},
|
|
191
212
|
"inverse-outline-warning": {
|
|
192
|
-
"
|
|
193
|
-
"
|
|
194
|
-
"source": "$btn-warning-inverse-outline-focus-border-color"
|
|
213
|
+
"source": "$btn-warning-inverse-outline-focus-border-color",
|
|
214
|
+
"$value": "{color.btn.border.inverse-outline-warning}"
|
|
195
215
|
}
|
|
196
216
|
},
|
|
197
217
|
"bg": {
|
|
198
|
-
"warning": {
|
|
199
|
-
|
|
218
|
+
"warning": {
|
|
219
|
+
"source": "$btn-warning-focus-bg",
|
|
220
|
+
"$value": "{color.btn.bg.warning}"
|
|
221
|
+
},
|
|
222
|
+
"outline-warning": {
|
|
223
|
+
"source": "$btn-warning-outline-focus-bg",
|
|
224
|
+
"$value": "inherit"
|
|
225
|
+
},
|
|
200
226
|
"inverse-warning": {
|
|
201
|
-
"
|
|
202
|
-
"
|
|
203
|
-
"source": "$btn-warning-inverse-focus-bg"
|
|
227
|
+
"source": "$btn-warning-inverse-focus-bg",
|
|
228
|
+
"$value": "{color.btn.bg.inverse-warning}"
|
|
204
229
|
},
|
|
205
230
|
"inverse-outline-warning": {
|
|
206
|
-
"
|
|
207
|
-
"
|
|
208
|
-
"source": "$btn-warning-inverse-outline-focus-bg"
|
|
231
|
+
"source": "$btn-warning-inverse-outline-focus-bg",
|
|
232
|
+
"$value": "inherit"
|
|
209
233
|
}
|
|
210
234
|
},
|
|
211
235
|
"outline": {
|
|
212
236
|
"warning": {
|
|
213
|
-
"
|
|
214
|
-
"
|
|
215
|
-
"source": "$btn-warning-focus-outline-color"
|
|
237
|
+
"source": "$btn-warning-focus-outline-color",
|
|
238
|
+
"$value": "{color.theme.focus.warning}"
|
|
216
239
|
},
|
|
217
240
|
"outline-warning": {
|
|
218
|
-
"
|
|
219
|
-
"
|
|
220
|
-
"source": "$btn-warning-outline-focus-outline-color"
|
|
241
|
+
"source": "$btn-warning-outline-focus-outline-color",
|
|
242
|
+
"$value": "{color.theme.focus.warning}"
|
|
221
243
|
},
|
|
222
244
|
"inverse-warning": {
|
|
223
|
-
"
|
|
224
|
-
"
|
|
225
|
-
"source": "$btn-warning-inverse-focus-outline-color"
|
|
245
|
+
"source": "$btn-warning-inverse-focus-outline-color",
|
|
246
|
+
"$value": "{color.white}"
|
|
226
247
|
},
|
|
227
248
|
"inverse-outline-warning": {
|
|
228
|
-
"
|
|
229
|
-
"
|
|
230
|
-
"source": "$btn-warning-inverse-outline-focus-bg"
|
|
249
|
+
"source": "$btn-warning-inverse-outline-focus-bg",
|
|
250
|
+
"$value": "inherit"
|
|
231
251
|
}
|
|
232
252
|
}
|
|
233
253
|
},
|
|
234
254
|
"disabled": {
|
|
235
255
|
"text": {
|
|
236
|
-
"warning": {
|
|
256
|
+
"warning": {
|
|
257
|
+
"source": "$btn-warning-disabled-color",
|
|
258
|
+
"$value": "{color.btn.text.warning}"
|
|
259
|
+
},
|
|
237
260
|
"outline-warning": {
|
|
238
|
-
"
|
|
239
|
-
"
|
|
240
|
-
"source": "$btn-warning-outline-disabled-color"
|
|
261
|
+
"source": "$btn-warning-outline-disabled-color",
|
|
262
|
+
"$value": "{color.btn.text.outline-warning}"
|
|
241
263
|
},
|
|
242
264
|
"inverse-warning": {
|
|
243
|
-
"
|
|
244
|
-
"
|
|
245
|
-
"source": "$btn-warning-inverse-disabled-color"
|
|
265
|
+
"source": "$btn-warning-inverse-disabled-color",
|
|
266
|
+
"$value": "{color.warning.base}"
|
|
246
267
|
},
|
|
247
268
|
"inverse-outline-warning": {
|
|
248
|
-
"
|
|
249
|
-
"
|
|
250
|
-
"source": "$btn-warning-inverse-outline-disabled-color"
|
|
269
|
+
"source": "$btn-warning-inverse-outline-disabled-color",
|
|
270
|
+
"$value": "{color.btn.text.inverse-outline-warning}"
|
|
251
271
|
}
|
|
252
272
|
},
|
|
253
273
|
"bg": {
|
|
254
|
-
"warning": {
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
274
|
+
"warning": {
|
|
275
|
+
"source": "$btn-warning-disabled-bg",
|
|
276
|
+
"$value": "{color.btn.bg.warning}"
|
|
277
|
+
},
|
|
278
|
+
"outline-warning": {
|
|
279
|
+
"source": "$btn-warning-outline-disabled-bg",
|
|
280
|
+
"$value": "inherit"
|
|
281
|
+
},
|
|
282
|
+
"inverse-warning": {
|
|
283
|
+
"source": "$btn-warning-inverse-disabled-bg",
|
|
284
|
+
"$value": "inherit"
|
|
285
|
+
},
|
|
286
|
+
"inverse-outline-warning": {
|
|
287
|
+
"source": "$btn-warning-inverse-outline-disabled-bg",
|
|
288
|
+
"$value": "inherit"
|
|
289
|
+
}
|
|
258
290
|
},
|
|
259
291
|
"border": {
|
|
260
|
-
"warning": {
|
|
292
|
+
"warning": {
|
|
293
|
+
"source": "$btn-warning-disabled-border-color",
|
|
294
|
+
"$value": "{color.btn.border.warning}"
|
|
295
|
+
},
|
|
261
296
|
"outline-warning": {
|
|
262
|
-
"
|
|
263
|
-
"
|
|
264
|
-
|
|
297
|
+
"source": "$btn-warning-outline-disabled-border-color",
|
|
298
|
+
"$value": "{color.btn.border.outline-warning}"
|
|
299
|
+
},
|
|
300
|
+
"inverse-warning": {
|
|
301
|
+
"source": "$btn-warning-inverse-disabled-border-color",
|
|
302
|
+
"$value": "transparent"
|
|
265
303
|
},
|
|
266
|
-
"inverse-warning": { "value": "transparent", "type": "color", "source": "$btn-warning-inverse-disabled-border-color" },
|
|
267
304
|
"inverse-outline-warning": {
|
|
268
|
-
"
|
|
269
|
-
"
|
|
270
|
-
"source": "$btn-warning-inverse-outline-disabled-border-color"
|
|
305
|
+
"source": "$btn-warning-inverse-outline-disabled-border-color",
|
|
306
|
+
"$value": "{color.btn.border.inverse-outline-warning}"
|
|
271
307
|
}
|
|
272
308
|
}
|
|
273
309
|
}
|
|
@@ -1,36 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"color": {
|
|
3
|
+
"$type": "color",
|
|
3
4
|
"card": {
|
|
4
|
-
"base": { "
|
|
5
|
+
"base": { "source": "$card-color", "$value": "inherit" },
|
|
5
6
|
"bg": {
|
|
6
|
-
"base": { "
|
|
7
|
-
"dark": { "
|
|
8
|
-
"muted": { "
|
|
7
|
+
"base": { "source": "$card-bg", "$value": "{color.bg.base}" },
|
|
8
|
+
"dark": { "source": "$card-bg-dark", "$value": "{color.primary.500}" },
|
|
9
|
+
"muted": { "source": "$card-bg-muted", "$value": "{color.light.200}" }
|
|
9
10
|
},
|
|
10
11
|
"border": {
|
|
11
12
|
"base": {
|
|
12
|
-
"value": "{color.black}",
|
|
13
|
-
"type": "color",
|
|
14
13
|
"source": "$card-border-color",
|
|
15
|
-
"modify": [{
|
|
16
|
-
|
|
17
|
-
"amount": 0.125
|
|
18
|
-
}]
|
|
14
|
+
"modify": [{ "type": "alpha", "amount": 0.125 }],
|
|
15
|
+
"$value": "{color.black}"
|
|
19
16
|
},
|
|
20
17
|
"focus": {
|
|
21
|
-
"base": {
|
|
22
|
-
|
|
23
|
-
"type": "color",
|
|
24
|
-
"source": "$card-border-focus-color"
|
|
25
|
-
},
|
|
26
|
-
"dark": {
|
|
27
|
-
"value": "{color.theme.focus.primary}",
|
|
28
|
-
"type": "color",
|
|
29
|
-
"source": "$card-border-focus-color-dark"
|
|
30
|
-
}
|
|
18
|
+
"base": { "source": "$card-border-focus-color", "$value": "{color.primary.500}" },
|
|
19
|
+
"dark": { "source": "$card-border-focus-color-dark", "$value": "{color.theme.focus.primary}" }
|
|
31
20
|
}
|
|
32
21
|
},
|
|
33
|
-
"divider-bg": { "
|
|
22
|
+
"divider-bg": { "source": "$card-divider-bg", "$value": "{color.light.400}" }
|
|
34
23
|
}
|
|
35
24
|
}
|
|
36
25
|
}
|
|
@@ -1,43 +1,44 @@
|
|
|
1
1
|
{
|
|
2
2
|
"color": {
|
|
3
|
+
"$type": "color",
|
|
3
4
|
"carousel": {
|
|
4
5
|
"control": {
|
|
5
|
-
"base": { "
|
|
6
|
+
"base": { "source": "$carousel-control-color", "$value": "{color.white}" }
|
|
6
7
|
},
|
|
7
8
|
"indicator": {
|
|
8
|
-
"active-bg": { "
|
|
9
|
+
"active-bg": { "source": "$carousel-indicator-active-bg", "$value": "{color.white}" }
|
|
9
10
|
},
|
|
10
|
-
"caption": { "
|
|
11
|
+
"caption": { "source": "$carousel-caption-color", "$value": "{color.white}" }
|
|
11
12
|
}
|
|
12
13
|
},
|
|
13
14
|
"content": {
|
|
15
|
+
"$type": "file",
|
|
14
16
|
"carousel": {
|
|
15
17
|
"control": {
|
|
16
18
|
"bg": {
|
|
17
19
|
"prev-icon": {
|
|
18
|
-
"value": "url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='{color.carousel.control.base}' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3e%3c/svg%3e\")",
|
|
19
|
-
"type": "file",
|
|
20
20
|
"source": "$carousel-control-prev-icon-bg",
|
|
21
21
|
"outputReferences": false,
|
|
22
|
-
"modify": [{ "type": "str-replace", "toReplace": "#", "replaceWith": "%23" }]
|
|
22
|
+
"modify": [{ "type": "str-replace", "toReplace": "#", "replaceWith": "%23" }],
|
|
23
|
+
"$value": "url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='{color.carousel.control.base}' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3e%3c/svg%3e\")"
|
|
23
24
|
},
|
|
24
25
|
"next-icon": {
|
|
25
|
-
"value": "url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='{color.carousel.control.base}' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3e%3c/svg%3e\")",
|
|
26
|
-
"type": "file",
|
|
27
26
|
"source": "$carousel-control-next-icon-bg",
|
|
28
27
|
"outputReferences": false,
|
|
29
|
-
"modify": [{ "type": "str-replace", "toReplace": "#", "replaceWith": "%23" }]
|
|
28
|
+
"modify": [{ "type": "str-replace", "toReplace": "#", "replaceWith": "%23" }],
|
|
29
|
+
"$value": "url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='{color.carousel.control.base}' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3e%3c/svg%3e\")"
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
"other": {
|
|
36
|
+
"$type": "number",
|
|
36
37
|
"carousel": {
|
|
37
38
|
"control": {
|
|
38
39
|
"opacity": {
|
|
39
|
-
"base": { "
|
|
40
|
-
"hover": { "
|
|
40
|
+
"base": { "source": "$carousel-control-opacity", "$value": ".5" },
|
|
41
|
+
"hover": { "source": "$carousel-control-hover-opacity", "$value": ".9" }
|
|
41
42
|
}
|
|
42
43
|
}
|
|
43
44
|
}
|
|
@@ -1,50 +1,38 @@
|
|
|
1
1
|
{
|
|
2
2
|
"color": {
|
|
3
|
+
"$type": "color",
|
|
3
4
|
"chip": {
|
|
4
5
|
"text": {
|
|
5
|
-
"light": { "
|
|
6
|
-
"dark": { "
|
|
6
|
+
"light": { "source": "$chip-light-color", "$value": "{color.black}" },
|
|
7
|
+
"dark": { "source": "$chip-dark-color", "$value": "{color.white}" }
|
|
7
8
|
},
|
|
8
9
|
"bg": {
|
|
9
|
-
"light": { "
|
|
10
|
-
"dark": { "
|
|
10
|
+
"light": { "source": "$chip-light-bg-color", "$value": "{color.white}" },
|
|
11
|
+
"dark": { "source": "$chip-dark-bg", "$value": "{color.primary.300}" }
|
|
11
12
|
},
|
|
12
13
|
"border": {
|
|
13
|
-
"base": {
|
|
14
|
-
"value": "{color.light.800}", "type": "color", "source": "$chip-border-color"
|
|
15
|
-
},
|
|
14
|
+
"base": { "source": "$chip-border-color", "$value": "{color.light.800}" },
|
|
16
15
|
"focus": {
|
|
17
16
|
"selected": {
|
|
18
|
-
"dark": {
|
|
19
|
-
|
|
20
|
-
},
|
|
21
|
-
"light": {
|
|
22
|
-
"value": "{color.dark.500}", "type": "color", "source": "$chip-light-selected-focus-border-color"
|
|
23
|
-
}
|
|
17
|
+
"dark": { "source": "$chip-dark-selected-focus-border-color", "$value": "{color.chip.outline.dark}" },
|
|
18
|
+
"light": { "source": "$chip-light-selected-focus-border-color", "$value": "{color.dark.500}" }
|
|
24
19
|
}
|
|
25
20
|
}
|
|
26
21
|
},
|
|
27
22
|
"label": {
|
|
28
|
-
"base": {
|
|
29
|
-
|
|
30
|
-
},
|
|
31
|
-
"dark": {
|
|
32
|
-
"value": "{color.chip.outline.dark}", "type": "color", "source": "$chip-dark-label-color"
|
|
33
|
-
}
|
|
23
|
+
"base": { "source": "$chip-label-color", "$value": "{color.primary.700}" },
|
|
24
|
+
"dark": { "source": "$chip-dark-label-color", "$value": "{color.chip.outline.dark}" }
|
|
34
25
|
},
|
|
35
26
|
"outline": {
|
|
36
|
-
"dark": {
|
|
37
|
-
|
|
38
|
-
},
|
|
39
|
-
"light": {
|
|
40
|
-
"value": "{color.chip.label.base}", "type": "color", "source": "$chip-light-outline-color"
|
|
41
|
-
}
|
|
27
|
+
"dark": { "source": "$chip-dark-outline-color", "$value": "{color.white}" },
|
|
28
|
+
"light": { "source": "$chip-light-outline-color", "$value": "{color.chip.label.base}" }
|
|
42
29
|
}
|
|
43
30
|
}
|
|
44
31
|
},
|
|
45
32
|
"other": {
|
|
33
|
+
"$type": "number",
|
|
46
34
|
"chip": {
|
|
47
|
-
"opacity-disabled": { "
|
|
35
|
+
"opacity-disabled": { "source": "$chip-disable-opacity", "$value": ".3" }
|
|
48
36
|
}
|
|
49
37
|
}
|
|
50
38
|
}
|