@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,44 +1,40 @@
|
|
|
1
1
|
{
|
|
2
2
|
"color": {
|
|
3
|
+
"$type": "color",
|
|
3
4
|
"pagination": {
|
|
4
5
|
"text": {
|
|
5
|
-
"base": { "
|
|
6
|
-
"inverse": { "
|
|
7
|
-
"hover": { "
|
|
8
|
-
"active": { "
|
|
9
|
-
"disabled": { "
|
|
6
|
+
"base": { "source": "$pagination-color", "$value": "{color.link.base}" },
|
|
7
|
+
"inverse": { "source": "$pagination-color-inverse", "$value": "{color.white}" },
|
|
8
|
+
"hover": { "source": "$pagination-hover-color", "$value": "{color.link.hover}" },
|
|
9
|
+
"active": { "source": "$pagination-active-color", "$value": "{color.active}" },
|
|
10
|
+
"disabled": { "source": "$pagination-disabled-color", "$value": "{color.disabled}" }
|
|
10
11
|
},
|
|
11
12
|
"bg": {
|
|
12
|
-
"base": { "
|
|
13
|
-
"hover": { "
|
|
14
|
-
"active": { "
|
|
15
|
-
"disabled": { "
|
|
13
|
+
"base": { "source": "$pagination-bg", "$value": "{color.bg.base}" },
|
|
14
|
+
"hover": { "source": "$pagination-hover-bg", "$value": "{color.gray.100}" },
|
|
15
|
+
"active": { "source": "$pagination-active-bg", "$value": "{color.bg.active}" },
|
|
16
|
+
"disabled": { "source": "$pagination-disabled-bg", "$value": "{color.white}" }
|
|
16
17
|
},
|
|
17
18
|
"border": {
|
|
18
|
-
"base": { "
|
|
19
|
-
"hover": { "
|
|
20
|
-
"active": { "
|
|
21
|
-
"disabled": { "
|
|
19
|
+
"base": { "source": "$pagination-border-color", "$value": "{color.gray.200}" },
|
|
20
|
+
"hover": { "source": "$pagination-hover-border-color", "$value": "{color.gray.200}" },
|
|
21
|
+
"active": { "source": "$pagination-active-border-color", "$value": "{color.pagination.bg.active}" },
|
|
22
|
+
"disabled": { "source": "$pagination-disabled-border-color", "$value": "{color.gray.100}" }
|
|
22
23
|
},
|
|
23
24
|
"focus": {
|
|
24
|
-
"base": { "
|
|
25
|
-
"text": { "
|
|
25
|
+
"base": { "source": "$pagination-focus-color", "$value": "{color.primary.500}" },
|
|
26
|
+
"text": { "source": "$pagination-focus-color-text", "$value": "{color.black}" }
|
|
26
27
|
},
|
|
27
28
|
"dropdown": {
|
|
28
|
-
"text-inverse": {
|
|
29
|
-
"value": "{color.white}", "type": "color", "source": "$pagination-dropdown-color-inverse"
|
|
30
|
-
}
|
|
29
|
+
"text-inverse": { "source": "$pagination-dropdown-color-inverse", "$value": "{color.white}" }
|
|
31
30
|
}
|
|
32
31
|
}
|
|
33
32
|
},
|
|
34
33
|
"elevation": {
|
|
34
|
+
"$type": "shadow",
|
|
35
35
|
"pagination": {
|
|
36
36
|
"focus": {
|
|
37
|
-
"box-shadow": {
|
|
38
|
-
"value": "{elevation.input.btn-focus.box-shadow}",
|
|
39
|
-
"type": "shadow",
|
|
40
|
-
"source": "$pagination-focus-box-shadow"
|
|
41
|
-
}
|
|
37
|
+
"box-shadow": { "source": "$pagination-focus-box-shadow", "$value": "{elevation.input.btn-focus.box-shadow}" }
|
|
42
38
|
}
|
|
43
39
|
}
|
|
44
40
|
}
|
|
@@ -1,55 +1,50 @@
|
|
|
1
1
|
{
|
|
2
2
|
"color": {
|
|
3
|
+
"$type": "color",
|
|
3
4
|
"popover": {
|
|
4
|
-
"bg": { "
|
|
5
|
-
"border": { "value": "rgba(0, 0, 0, .2)"
|
|
5
|
+
"bg": { "source": "$popover-bg", "$value": "{color.bg.base}" },
|
|
6
|
+
"border": { "source": "$popover-border-color", "$value": "rgba(0, 0, 0, .2)" },
|
|
6
7
|
"header": {
|
|
7
|
-
"text": { "
|
|
8
|
-
"bg": { "
|
|
8
|
+
"text": { "source": "$popover-header-color", "$value": "{color.headings.base}" },
|
|
9
|
+
"bg": { "source": "$popover-header-bg", "$value": "{color.white}" },
|
|
9
10
|
"bg-dark": {
|
|
10
|
-
"value": "{color.white}",
|
|
11
|
-
"type": "color",
|
|
12
11
|
"source": "$popover-header-bg-dark",
|
|
13
|
-
"modify": [{ "type": "darken", "amount": 0.5 }]
|
|
12
|
+
"modify": [{ "type": "darken", "amount": 0.5 }],
|
|
13
|
+
"$value": "{color.white}"
|
|
14
14
|
},
|
|
15
15
|
"border-bottom-dark": {
|
|
16
|
-
"value": "{color.white}",
|
|
17
|
-
"type": "color",
|
|
18
16
|
"source": "$popover-header-border-bottom-darken",
|
|
19
|
-
"modify": [{ "type": "darken", "amount": 0.05 }]
|
|
17
|
+
"modify": [{ "type": "darken", "amount": 0.05 }],
|
|
18
|
+
"$value": "{color.white}"
|
|
20
19
|
}
|
|
21
20
|
},
|
|
22
|
-
"body": { "
|
|
23
|
-
"arrow": {
|
|
24
|
-
"base": { "
|
|
21
|
+
"body": { "source": "$popover-body-color", "$value": "{color.body.base}" },
|
|
22
|
+
"arrow": {
|
|
23
|
+
"base": { "source": "$popover-arrow-color", "$value": "{color.popover.bg}" },
|
|
25
24
|
"outer": {
|
|
26
|
-
"value": "{color.popover.border}",
|
|
27
|
-
"type": "color",
|
|
28
25
|
"source": "$popover-arrow-outer-color",
|
|
29
|
-
"modify": [{ "type": "alpha", "amount": 0.05 }]
|
|
26
|
+
"modify": [{ "type": "alpha", "amount": 0.05 }],
|
|
27
|
+
"$value": "{color.popover.border}"
|
|
30
28
|
}
|
|
31
29
|
},
|
|
32
30
|
"success": {
|
|
33
|
-
"bg": { "
|
|
34
|
-
"icon": { "
|
|
31
|
+
"bg": { "source": "$popover-success-bg", "$value": "{color.success.100}" },
|
|
32
|
+
"icon": { "source": "$popover-success-icon-color", "$value": "{color.success.500}" }
|
|
35
33
|
},
|
|
36
34
|
"warning": {
|
|
37
|
-
"bg": { "
|
|
38
|
-
"icon": { "
|
|
35
|
+
"bg": { "source": "$popover-warning-bg", "$value": "{color.warning.100}" },
|
|
36
|
+
"icon": { "source": "$popover-warning-icon-color", "$value": "{color.warning.500}" }
|
|
39
37
|
},
|
|
40
38
|
"danger": {
|
|
41
|
-
"bg": { "
|
|
42
|
-
"icon": { "
|
|
39
|
+
"bg": { "source": "$popover-danger-bg", "$value": "{color.danger.100}" },
|
|
40
|
+
"icon": { "source": "$popover-danger-icon-color", "$value": "{color.danger.500}" }
|
|
43
41
|
}
|
|
44
42
|
}
|
|
45
43
|
},
|
|
46
44
|
"elevation": {
|
|
45
|
+
"$type": "shadow",
|
|
47
46
|
"popover": {
|
|
48
|
-
"box-shadow": {
|
|
49
|
-
"value": "none",
|
|
50
|
-
"type": "shadow",
|
|
51
|
-
"source": "$popover-box-shadow"
|
|
52
|
-
}
|
|
47
|
+
"box-shadow": { "source": "$popover-box-shadow", "$value": "none" }
|
|
53
48
|
}
|
|
54
49
|
}
|
|
55
50
|
}
|
|
@@ -1,32 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"color": {
|
|
3
|
+
"$type": "color",
|
|
3
4
|
"product-tour": {
|
|
4
5
|
"checkpoint": {
|
|
5
|
-
"bg": { "
|
|
6
|
-
"body": { "
|
|
7
|
-
"border": { "
|
|
8
|
-
"breadcrumb": { "
|
|
6
|
+
"bg": { "source": "$checkpoint-background-color", "$value": "{color.light.300}" },
|
|
7
|
+
"body": { "source": "$checkpoint-body-color", "$value": "{color.gray.700}" },
|
|
8
|
+
"border": { "source": "$checkpoint-border-color", "$value": "{color.brand.base}" },
|
|
9
|
+
"breadcrumb": { "source": "$checkpoint-breadcrumb-color", "$value": "{color.primary.base}" },
|
|
9
10
|
"box-shadow": {
|
|
10
|
-
"value": "{color.black}",
|
|
11
|
-
"type": "color",
|
|
12
11
|
"source": "$checkpoint-box-shadow-color",
|
|
13
|
-
"modify": [{
|
|
14
|
-
|
|
15
|
-
"amount": 0.3
|
|
16
|
-
}]
|
|
12
|
+
"modify": [{ "type": "alpha", "amount": 0.3 }],
|
|
13
|
+
"$value": "{color.black}"
|
|
17
14
|
},
|
|
18
15
|
"arrow": {
|
|
19
16
|
"border": {
|
|
20
|
-
"top": {
|
|
21
|
-
|
|
22
|
-
"type": "color",
|
|
23
|
-
"source": "$checkpoint-arrow-border-top-color"
|
|
24
|
-
},
|
|
25
|
-
"transparent": {
|
|
26
|
-
"value": "transparent",
|
|
27
|
-
"type": "color",
|
|
28
|
-
"source": "$checkpoint-arrow-border-color-transparent"
|
|
29
|
-
}
|
|
17
|
+
"top": { "source": "$checkpoint-arrow-border-top-color", "$value": "{color.product-tour.checkpoint.bg}" },
|
|
18
|
+
"transparent": { "source": "$checkpoint-arrow-border-color-transparent", "$value": "transparent" }
|
|
30
19
|
}
|
|
31
20
|
}
|
|
32
21
|
}
|
|
@@ -1,20 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"color": {
|
|
3
|
+
"$type": "color",
|
|
3
4
|
"progress-bar": {
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
7
|
-
"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
5
|
+
"base": { "source": "$progress-bar-color", "$value": "{color.white}" },
|
|
6
|
+
"bg": {
|
|
7
|
+
"base": { "source": "$progress-bar-bg", "$value": "{color.accent.a}" },
|
|
8
|
+
"annotated": { "source": "$annotated-progress-bar-bg", "$value": "{color.dark.500}" }
|
|
9
|
+
},
|
|
10
|
+
"border": { "source": "$progress-bar-border-color", "$value": "{color.gray.500}" }
|
|
11
|
+
},
|
|
12
|
+
"progress": {
|
|
13
|
+
"bg": { "source": "$progress-bg", "$value": "transparent" }
|
|
13
14
|
}
|
|
14
15
|
},
|
|
15
16
|
"elevation": {
|
|
17
|
+
"$type": "shadow",
|
|
16
18
|
"progress-bar": {
|
|
17
|
-
"box-shadow": { "
|
|
19
|
+
"box-shadow": { "source": "$progress-box-shadow", "$value": "none" }
|
|
18
20
|
}
|
|
19
21
|
}
|
|
20
22
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"elevation": {
|
|
3
|
+
"$type": "shadow",
|
|
3
4
|
"scrollable": {
|
|
4
5
|
"body": {
|
|
5
6
|
"box-shadow": {
|
|
6
|
-
"value": "{color.black}",
|
|
7
|
-
"type": "shadow",
|
|
8
7
|
"source": "$scrollable-body-box-shadow",
|
|
9
|
-
"modify": [{ "type": "alpha", "amount": 0.55 }]
|
|
8
|
+
"modify": [{ "type": "alpha", "amount": 0.55 }],
|
|
9
|
+
"$value": "{color.black}"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"color": {
|
|
3
|
+
"$type": "color",
|
|
3
4
|
"search-field": {
|
|
4
5
|
"border": {
|
|
5
|
-
"base": { "
|
|
6
|
-
"interaction": { "
|
|
7
|
-
"focus": { "
|
|
6
|
+
"base": { "source": "$search-border-color", "$value": "{color.gray.500}" },
|
|
7
|
+
"interaction": { "source": "$search-border-color-interaction", "$value": "{color.black}" },
|
|
8
|
+
"focus": { "source": "$search-border-focus-color", "$value": "{color.black}" }
|
|
8
9
|
},
|
|
9
10
|
"button": {
|
|
10
11
|
"bg": {
|
|
11
|
-
"primary": { "
|
|
12
|
-
"brand": { "
|
|
12
|
+
"primary": { "source": "$search-btn-primary-bg", "$value": "{color.primary.500}" },
|
|
13
|
+
"brand": { "source": "$search-btn-brand-bg", "$value": "{color.brand.500}" }
|
|
13
14
|
}
|
|
14
15
|
},
|
|
15
|
-
"form-bg": {
|
|
16
|
-
"value": "{color.white}", "type": "color", "source": "$search-form-background-color"
|
|
17
|
-
}
|
|
16
|
+
"form-bg": { "source": "$search-form-background-color", "$value": "{color.white}" }
|
|
18
17
|
}
|
|
19
18
|
},
|
|
20
19
|
"other": {
|
|
20
|
+
"$type": "number",
|
|
21
21
|
"search-field": {
|
|
22
|
-
"disabled-opacity": { "
|
|
22
|
+
"disabled-opacity": { "source": "$search-disabled-opacity", "$value": ".3" }
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"color": {
|
|
3
|
+
"$type": "color",
|
|
3
4
|
"sheet": {
|
|
4
5
|
"skrim": {
|
|
5
|
-
"bg": {
|
|
6
|
-
"value": "{color.gray.300}",
|
|
7
|
-
"type": "color",
|
|
6
|
+
"bg": {
|
|
8
7
|
"source": "$sheet-skrim-bg",
|
|
9
|
-
"modify": [{ "type": "alpha", "amount": 0.5 }]
|
|
8
|
+
"modify": [{ "type": "alpha", "amount": 0.5 }],
|
|
9
|
+
"$value": "{color.gray.300}"
|
|
10
10
|
},
|
|
11
11
|
"component": {
|
|
12
12
|
"box-shadow": {
|
|
13
|
-
"value": "{color.black}",
|
|
14
|
-
"type": "color",
|
|
15
13
|
"source": "$sheet-skrim-component-box-shadow",
|
|
16
|
-
"modify": [{ "type": "alpha", "amount": 0.15 }]
|
|
14
|
+
"modify": [{ "type": "alpha", "amount": 0.15 }],
|
|
15
|
+
"$value": "{color.black}"
|
|
17
16
|
}
|
|
18
17
|
}
|
|
19
18
|
}
|
|
@@ -1,31 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"color": {
|
|
3
|
+
"$type": "color",
|
|
3
4
|
"stepper": {
|
|
4
5
|
"header": {
|
|
5
|
-
"bg": {
|
|
6
|
-
"base": { "
|
|
7
|
-
"line": { "
|
|
6
|
+
"bg": {
|
|
7
|
+
"base": { "source": "$stepper-header-bg", "$value": "transparent" },
|
|
8
|
+
"line": { "source": "$stepper-header-line-bg", "$value": "{color.light.base}" }
|
|
8
9
|
},
|
|
9
10
|
"step": {
|
|
10
|
-
"base": {
|
|
11
|
-
"value": "{color.primary.base}", "type": "color", "source": "$stepper-header-step-color"
|
|
12
|
-
},
|
|
11
|
+
"base": { "source": "$stepper-header-step-color", "$value": "{color.primary.base}" },
|
|
13
12
|
"bg": {
|
|
14
|
-
"base": {
|
|
15
|
-
|
|
16
|
-
},
|
|
17
|
-
"active": {
|
|
18
|
-
"value": "{color.gray.500}", "type": "color", "source": "$stepper-header-active-step-bg"
|
|
19
|
-
}
|
|
13
|
+
"base": { "source": "$stepper-header-step-bg", "$value": "{color.stepper.header.bg.base}" },
|
|
14
|
+
"active": { "source": "$stepper-header-active-step-bg", "$value": "{color.gray.500}" }
|
|
20
15
|
},
|
|
21
|
-
"border": { "
|
|
16
|
+
"border": { "source": "$stepper-header-step-border", "$value": "none" },
|
|
22
17
|
"bubble-error": {
|
|
23
|
-
"
|
|
18
|
+
"source": "$stepper-header-step-error-bubble-color",
|
|
19
|
+
"$value": "{color.danger.base}"
|
|
24
20
|
},
|
|
25
21
|
"description-error": {
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"source": "$stepper-header-step-error-description-color"
|
|
22
|
+
"source": "$stepper-header-step-error-description-color",
|
|
23
|
+
"$value": "{color.stepper.header.step.bubble-error}"
|
|
29
24
|
}
|
|
30
25
|
}
|
|
31
26
|
}
|
|
@@ -1,16 +1,41 @@
|
|
|
1
1
|
{
|
|
2
2
|
"elevation": {
|
|
3
|
+
"$type": "shadow",
|
|
3
4
|
"sticky": {
|
|
4
5
|
"shadow": {
|
|
5
6
|
"top": {
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
|
|
7
|
+
"source": "$sticky-shadow-top",
|
|
8
|
+
"$value": [
|
|
9
|
+
{
|
|
10
|
+
"color": "rgba(0, 0, 0, .15)",
|
|
11
|
+
"offsetX": "0",
|
|
12
|
+
"offsetY": "-.5rem",
|
|
13
|
+
"blur": "1rem"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"color": "rgba(0, 0, 0, .15)",
|
|
17
|
+
"offsetX": "0",
|
|
18
|
+
"offsetY": "-.25rem",
|
|
19
|
+
"blur": ".625rem"
|
|
20
|
+
}
|
|
21
|
+
]
|
|
9
22
|
},
|
|
10
23
|
"bottom": {
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
|
|
24
|
+
"source": "$sticky-shadow-bottom",
|
|
25
|
+
"$value": [
|
|
26
|
+
{
|
|
27
|
+
"color": "rgba(0, 0, 0, .15)",
|
|
28
|
+
"offsetX": "0",
|
|
29
|
+
"offsetY": ".5rem",
|
|
30
|
+
"blur": "1rem"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"color": "rgba(0, 0, 0, .15)",
|
|
34
|
+
"offsetX": "0",
|
|
35
|
+
"offsetY": ".25rem",
|
|
36
|
+
"blur": ".625rem"
|
|
37
|
+
}
|
|
38
|
+
]
|
|
14
39
|
}
|
|
15
40
|
}
|
|
16
41
|
}
|
|
@@ -1,59 +1,82 @@
|
|
|
1
1
|
{
|
|
2
2
|
"color": {
|
|
3
|
+
"$type": "color",
|
|
3
4
|
"tab": {
|
|
4
5
|
"more-link-dropdown-toggle": {
|
|
5
6
|
"btn": {
|
|
6
7
|
"text": {
|
|
7
8
|
"focus": {
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"source": "$tab-more-link-dropdown-toggle-btn-focus-color"
|
|
9
|
+
"source": "$tab-more-link-dropdown-toggle-btn-focus-color",
|
|
10
|
+
"$value": "{color.tab.more-link-dropdown-toggle.text.focus}"
|
|
11
11
|
}
|
|
12
12
|
},
|
|
13
13
|
"border": {
|
|
14
14
|
"focus": {
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"source": "$tab-more-link-dropdown-toggle-btn-focus-border-color"
|
|
15
|
+
"source": "$tab-more-link-dropdown-toggle-btn-focus-border-color",
|
|
16
|
+
"$value": "{color.tab.more-link-dropdown-toggle.bg.focus}"
|
|
18
17
|
}
|
|
19
18
|
}
|
|
20
19
|
},
|
|
21
20
|
"text": {
|
|
22
|
-
"focus": {
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
"focus": {
|
|
22
|
+
"source": "$tab-more-link-dropdown-toggle-focus-color",
|
|
23
|
+
"$value": "{color.white}"
|
|
24
|
+
},
|
|
25
|
+
"active": {
|
|
26
|
+
"source": "$tab-more-link-dropdown-toggle-active-color",
|
|
27
|
+
"$value": "{color.tab.more-link-dropdown-toggle.text.focus}"
|
|
28
|
+
},
|
|
29
|
+
"hover": {
|
|
30
|
+
"source": "$tab-more-link-dropdown-toggle-hover-color",
|
|
31
|
+
"$value": "{color.tab.more-link-dropdown-toggle.bg.focus}"
|
|
32
|
+
}
|
|
25
33
|
},
|
|
26
34
|
"bg": {
|
|
27
|
-
"focus": {
|
|
35
|
+
"focus": {
|
|
36
|
+
"source": "$tab-more-link-dropdown-toggle-focus-bg",
|
|
37
|
+
"$value": "{color.primary.500}"
|
|
38
|
+
}
|
|
28
39
|
},
|
|
29
40
|
"border": {
|
|
30
|
-
"focus": {
|
|
41
|
+
"focus": {
|
|
42
|
+
"source": "$tab-more-link-dropdown-toggle-focus-border-color",
|
|
43
|
+
"$value": "{color.tab.more-link-dropdown-toggle.bg.focus}"
|
|
44
|
+
}
|
|
31
45
|
}
|
|
32
46
|
},
|
|
33
47
|
"inverse-pills-link-dropdown-toggle": {
|
|
34
48
|
"text": {
|
|
35
|
-
"focus": {
|
|
36
|
-
|
|
49
|
+
"focus": {
|
|
50
|
+
"source": "$tab-inverse-pills-link-dropdown-toggle-focus-color",
|
|
51
|
+
"$value": "{color.primary.500}"
|
|
52
|
+
},
|
|
53
|
+
"active": {
|
|
54
|
+
"source": "$tab-inverse-pills-link-dropdown-toggle-active-color",
|
|
55
|
+
"$value": "{color.tab.inverse-pills-link-dropdown-toggle.text.focus}"
|
|
56
|
+
},
|
|
37
57
|
"active-hover": {
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"source": "$tab-inverse-pills-link-dropdown-toggle-active-hover-color"
|
|
58
|
+
"source": "$tab-inverse-pills-link-dropdown-toggle-active-hover-color",
|
|
59
|
+
"$value": "{color.tab.inverse-pills-link-dropdown-toggle.bg.focus}"
|
|
41
60
|
}
|
|
42
61
|
},
|
|
43
62
|
"bg": {
|
|
44
|
-
"focus": {
|
|
45
|
-
|
|
63
|
+
"focus": {
|
|
64
|
+
"source": "$tab-inverse-pills-link-dropdown-toggle-focus-bg",
|
|
65
|
+
"$value": "{color.white}"
|
|
66
|
+
},
|
|
67
|
+
"hover": {
|
|
68
|
+
"source": "$tab-inverse-tabs-link-dropdown-toggle-hover-bg",
|
|
69
|
+
"$value": "transparent"
|
|
70
|
+
},
|
|
46
71
|
"active-hover": {
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"source": "$tab-inverse-pills-link-dropdown-toggle-active-hover-bg"
|
|
72
|
+
"source": "$tab-inverse-pills-link-dropdown-toggle-active-hover-bg",
|
|
73
|
+
"$value": "{color.primary.300}"
|
|
50
74
|
}
|
|
51
75
|
},
|
|
52
76
|
"border": {
|
|
53
77
|
"focus": {
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"source": "$tab-inverse-pills-link-dropdown-toggle-focus-border-color"
|
|
78
|
+
"source": "$tab-inverse-pills-link-dropdown-toggle-focus-border-color",
|
|
79
|
+
"$value": "{color.tab.inverse-pills-link-dropdown-toggle.bg.focus}"
|
|
57
80
|
}
|
|
58
81
|
}
|
|
59
82
|
}
|
|
@@ -1,32 +1,44 @@
|
|
|
1
1
|
{
|
|
2
2
|
"color": {
|
|
3
|
+
"$type": "color",
|
|
3
4
|
"toast": {
|
|
4
|
-
"base": { "
|
|
5
|
-
"bg": { "
|
|
5
|
+
"base": { "source": "$toast-color", "$value": "inherit" },
|
|
6
|
+
"bg": { "source": "$toast-background-color", "$value": "{color.gray.700}" },
|
|
6
7
|
"border": {
|
|
7
|
-
"value": "{color.black}",
|
|
8
|
-
"type": "color",
|
|
9
8
|
"source": "$toast-border-color",
|
|
10
|
-
"modify": [{ "type": "alpha", "amount": 0.1 }]
|
|
9
|
+
"modify": [{ "type": "alpha", "amount": 0.1 }],
|
|
10
|
+
"$value": "{color.black}"
|
|
11
11
|
},
|
|
12
12
|
"header": {
|
|
13
|
-
"text": { "
|
|
14
|
-
"bg": { "
|
|
15
|
-
"border": {
|
|
16
|
-
"value": "{color.black}",
|
|
17
|
-
"type": "color",
|
|
13
|
+
"text": { "source": "$toast-header-color", "$value": "{color.white}" },
|
|
14
|
+
"bg": { "source": "$toast-header-background-color", "$value": "{color.gray.700}" },
|
|
15
|
+
"border": {
|
|
18
16
|
"source": "$toast-header-border-color",
|
|
19
|
-
"modify": [{ "type": "alpha", "amount": 0.5 }]
|
|
17
|
+
"modify": [{ "type": "alpha", "amount": 0.5 }],
|
|
18
|
+
"$value": "{color.black}"
|
|
20
19
|
}
|
|
21
20
|
}
|
|
22
21
|
}
|
|
23
22
|
},
|
|
24
23
|
"elevation": {
|
|
24
|
+
"$type": "shadow",
|
|
25
25
|
"toast": {
|
|
26
26
|
"box-shadow": {
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
|
|
27
|
+
"source": "$toast-box-shadow",
|
|
28
|
+
"$value": [
|
|
29
|
+
{
|
|
30
|
+
"color": "rgba(0, 0, 0, .15)",
|
|
31
|
+
"offsetX": "0",
|
|
32
|
+
"offsetY": "1.25rem",
|
|
33
|
+
"blur": "2.5rem"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"color": "rgba(0, 0, 0, .15)",
|
|
37
|
+
"offsetX": "0",
|
|
38
|
+
"offsetY": ".5rem",
|
|
39
|
+
"blur": "3rem"
|
|
40
|
+
}
|
|
41
|
+
]
|
|
30
42
|
}
|
|
31
43
|
}
|
|
32
44
|
}
|