@openedx/paragon 23.0.0-alpha.2 → 23.0.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/paragon-scripts.js +10 -0
- package/dist/Annotation/index.scss +16 -0
- package/dist/Button/index.d.ts +35 -0
- package/dist/Button/index.js +37 -15
- package/dist/Button/index.js.map +1 -1
- package/dist/Card/CardDeck.js +0 -2
- package/dist/Card/CardDeck.js.map +1 -1
- package/dist/Card/index.scss +6 -6
- package/dist/Carousel/index.scss +24 -1
- package/dist/Chip/ChipIcon.d.ts +13 -8
- package/dist/Chip/ChipIcon.js +0 -2
- package/dist/Chip/ChipIcon.js.map +1 -1
- package/dist/Chip/constants.d.ts +4 -0
- package/dist/Chip/constants.js +3 -2
- package/dist/Chip/constants.js.map +1 -0
- package/dist/Chip/index.d.ts +4 -3
- package/dist/Chip/index.js +2 -4
- package/dist/Chip/index.js.map +1 -1
- package/dist/ChipCarousel/index.js +0 -2
- package/dist/ChipCarousel/index.js.map +1 -1
- package/dist/CloseButton/index.scss +8 -0
- package/dist/ColorPicker/index.scss +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/Hyperlink/index.d.ts +24 -0
- package/dist/Hyperlink/index.js +20 -32
- package/dist/Hyperlink/index.js.map +1 -1
- package/dist/Icon/index.d.ts +4 -2
- package/dist/Icon/index.js +1 -1
- package/dist/Icon/index.js.map +1 -1
- package/dist/IconButton/index.d.ts +342 -0
- package/dist/IconButton/index.js +18 -26
- package/dist/IconButton/index.js.map +1 -1
- package/dist/IconButton/index.scss +146 -0
- package/dist/Menu/index.scss +8 -0
- package/dist/Modal/ModalDialog.js +8 -4
- package/dist/Modal/ModalDialog.js.map +1 -1
- package/dist/Modal/ModalPopup.js +7 -1
- package/dist/Modal/ModalPopup.js.map +1 -1
- package/dist/Modal/_ModalDialog.scss +26 -2
- package/dist/Nav/index.scss +8 -0
- package/dist/Overlay/index.d.ts +128 -0
- package/dist/Overlay/index.js +8 -2
- package/dist/Overlay/index.js.map +1 -1
- 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.d.ts +7 -0
- package/dist/Tooltip/index.js.map +1 -1
- package/dist/Tooltip/index.scss +16 -0
- package/dist/core.css +914 -470
- package/dist/core.css.map +1 -1
- package/dist/core.min.css +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.js +7 -7
- package/dist/light.css +2035 -1315
- package/dist/light.css.map +1 -1
- package/dist/light.min.css +1 -1
- package/dist/setupTest.d.ts +2 -0
- package/dist/setupTest.js.map +1 -0
- package/dist/utils/types/bootstrap.d.ts +39 -0
- package/dist/utils/types/bootstrap.js +2 -0
- package/dist/utils/types/bootstrap.js.map +1 -0
- package/lib/build-tokens.js +67 -31
- package/package.json +11 -8
- package/src/Annotation/index.scss +16 -0
- package/src/Button/{Button.test.jsx → Button.test.tsx} +14 -2
- package/src/Button/__snapshots__/{Button.test.jsx.snap → Button.test.tsx.snap} +19 -2
- package/src/Button/{index.jsx → index.tsx} +58 -16
- package/src/Card/CardDeck.jsx +0 -3
- package/src/Card/README.md +0 -31
- package/src/Card/index.scss +6 -6
- package/src/Carousel/index.scss +24 -1
- package/src/Chip/{Chip.test.jsx → Chip.test.tsx} +5 -7
- package/src/Chip/ChipIcon.tsx +8 -8
- package/src/Chip/{constants.js → constants.ts} +1 -1
- package/src/Chip/index.tsx +6 -8
- package/src/ChipCarousel/index.tsx +0 -2
- package/src/CloseButton/index.scss +8 -0
- package/src/ColorPicker/index.scss +1 -1
- package/src/DataTable/index.scss +12 -0
- 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/Hyperlink/{Hyperlink.test.jsx → Hyperlink.test.tsx} +21 -10
- package/src/Hyperlink/{index.jsx → index.tsx} +41 -37
- package/src/Icon/index.d.ts +4 -2
- package/src/Icon/index.jsx +1 -1
- package/src/IconButton/{IconButton.test.jsx → IconButton.test.tsx} +24 -3
- package/src/IconButton/__snapshots__/IconButton.test.tsx.snap +90 -0
- package/src/IconButton/index.scss +146 -0
- package/src/IconButton/{index.jsx → index.tsx} +66 -26
- package/src/Menu/index.scss +8 -0
- package/src/Modal/ModalDialog.jsx +7 -3
- package/src/Modal/ModalPopup.jsx +9 -1
- package/src/Modal/_ModalDialog.scss +26 -2
- package/src/Modal/modal-dialog.mdx +95 -6
- package/src/Modal/tests/ModalDialog.test.jsx +2 -0
- package/src/Modal/tests/ModalPopupNoMock.test.jsx +29 -0
- package/src/Nav/index.scss +8 -0
- package/src/Overlay/{index.jsx → index.tsx} +13 -8
- 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/Tooltip/{index.jsx → index.tsx} +9 -3
- package/src/index.d.ts +5 -5
- package/src/index.js +7 -7
- package/src/{setupTest.js → setupTest.ts} +1 -0
- package/src/utils/types/bootstrap.test.tsx +86 -0
- package/src/utils/types/bootstrap.ts +43 -0
- 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/IconButton/__snapshots__/IconButton.test.jsx.snap +0 -20
- package/tokens/src/core/global/display.json +0 -22
- /package/src/Button/{ButtonGroup.test.jsx → ButtonGroup.test.tsx} +0 -0
- /package/src/Button/{ButtonToolbar.test.jsx → ButtonToolbar.test.tsx} +0 -0
- /package/src/Button/__snapshots__/{ButtonGroup.test.jsx.snap → ButtonGroup.test.tsx.snap} +0 -0
- /package/src/Button/__snapshots__/{ButtonToolbar.test.jsx.snap → ButtonToolbar.test.tsx.snap} +0 -0
- /package/src/Chip/__snapshots__/{Chip.test.jsx.snap → Chip.test.tsx.snap} +0 -0
- /package/src/Tooltip/{Tooltip.test.jsx → Tooltip.test.tsx} +0 -0
|
@@ -1,275 +1,309 @@
|
|
|
1
1
|
{
|
|
2
2
|
"color": {
|
|
3
|
+
"$type": "color",
|
|
3
4
|
"btn": {
|
|
4
5
|
"text": {
|
|
5
6
|
"secondary": {
|
|
6
|
-
"value": "{color.btn.bg.secondary}",
|
|
7
|
-
"type": "color",
|
|
8
7
|
"source": "$btn-secondary-color",
|
|
9
|
-
"modify": [{ "type": "color-yiq" }]
|
|
8
|
+
"modify": [{ "type": "color-yiq" }],
|
|
9
|
+
"$value": "{color.btn.bg.secondary}"
|
|
10
10
|
},
|
|
11
11
|
"outline-secondary": {
|
|
12
|
-
"
|
|
12
|
+
"source": "$btn-secondary-outline-color",
|
|
13
|
+
"$value": "{color.secondary.base}"
|
|
13
14
|
},
|
|
14
15
|
"inverse-secondary": {
|
|
15
|
-
"
|
|
16
|
+
"source": "$btn-secondary-inverse-color",
|
|
17
|
+
"$value": "{color.secondary.base}"
|
|
16
18
|
},
|
|
17
19
|
"inverse-outline-secondary": {
|
|
18
|
-
"
|
|
20
|
+
"source": "$btn-secondary-inverse-outline-color",
|
|
21
|
+
"$value": "{color.white}"
|
|
19
22
|
}
|
|
20
23
|
},
|
|
21
24
|
"bg": {
|
|
22
25
|
"secondary": {
|
|
23
|
-
"
|
|
26
|
+
"source": "$btn-secondary-bg",
|
|
27
|
+
"$value": "{color.secondary.base}"
|
|
28
|
+
},
|
|
29
|
+
"outline-secondary": {
|
|
30
|
+
"source": "$btn-secondary-outline-bg",
|
|
31
|
+
"$value": "inherit"
|
|
32
|
+
},
|
|
33
|
+
"inverse-outline-secondary": {
|
|
34
|
+
"source": "$btn-secondary-inverse-outline-bg",
|
|
35
|
+
"$value": "inherit"
|
|
24
36
|
},
|
|
25
|
-
"outline-secondary": { "value": "inherit", "type": "color", "source": "$btn-secondary-outline-bg" },
|
|
26
|
-
"inverse-outline-secondary": { "value": "inherit", "type": "color", "source": "$btn-secondary-inverse-outline-bg" },
|
|
27
37
|
"inverse-secondary": {
|
|
28
|
-
"value": "{color.btn.text.inverse-secondary}",
|
|
29
|
-
"type": "color",
|
|
30
38
|
"source": "$btn-secondary-inverse-bg",
|
|
31
|
-
"modify": [{ "type": "color-yiq" }]
|
|
39
|
+
"modify": [{ "type": "color-yiq" }],
|
|
40
|
+
"$value": "{color.btn.text.inverse-secondary}"
|
|
32
41
|
}
|
|
33
42
|
},
|
|
34
43
|
"border": {
|
|
35
44
|
"secondary": {
|
|
36
|
-
"
|
|
45
|
+
"source": "$btn-secondary-border-color",
|
|
46
|
+
"$value": "{color.btn.bg.secondary}"
|
|
37
47
|
},
|
|
38
48
|
"outline-secondary": {
|
|
39
|
-
"
|
|
49
|
+
"source": "$btn-secondary-outline-border-color",
|
|
50
|
+
"$value": "{color.secondary.base}"
|
|
40
51
|
},
|
|
41
52
|
"inverse-outline-secondary": {
|
|
42
|
-
"
|
|
53
|
+
"source": "$btn-secondary-inverse-outline-border-color",
|
|
54
|
+
"$value": "{color.white}"
|
|
43
55
|
},
|
|
44
|
-
"inverse-secondary": {
|
|
56
|
+
"inverse-secondary": {
|
|
57
|
+
"source": "$btn-secondary-inverse-border-color",
|
|
58
|
+
"$value": "transparent"
|
|
59
|
+
}
|
|
45
60
|
},
|
|
46
61
|
"hover": {
|
|
47
62
|
"text": {
|
|
48
63
|
"secondary": {
|
|
49
|
-
"value": "{color.btn.hover.bg.secondary}",
|
|
50
|
-
"type": "color",
|
|
51
64
|
"source": "$btn-secondary-hover-color",
|
|
52
|
-
"modify": [{ "type": "color-yiq" }]
|
|
65
|
+
"modify": [{ "type": "color-yiq" }],
|
|
66
|
+
"$value": "{color.btn.hover.bg.secondary}"
|
|
53
67
|
},
|
|
54
68
|
"outline-secondary": {
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"source": "$btn-secondary-outline-hover-color"
|
|
69
|
+
"source": "$btn-secondary-outline-hover-color",
|
|
70
|
+
"$value": "{color.theme.hover.secondary}"
|
|
58
71
|
},
|
|
59
72
|
"inverse-secondary": {
|
|
60
|
-
"value": "{color.btn.text.inverse-secondary}",
|
|
61
|
-
"type": "color",
|
|
62
73
|
"source": "$btn-secondary-inverse-hover-color",
|
|
63
|
-
"modify": [{ "type": "darken", "amount": 0.075 }]
|
|
74
|
+
"modify": [{ "type": "darken", "amount": 0.075 }],
|
|
75
|
+
"$value": "{color.btn.text.inverse-secondary}"
|
|
64
76
|
},
|
|
65
77
|
"inverse-outline-secondary": {
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"source": "$btn-secondary-inverse-outline-hover-color"
|
|
78
|
+
"source": "$btn-secondary-inverse-outline-hover-color",
|
|
79
|
+
"$value": "{color.theme.hover.secondary}"
|
|
69
80
|
}
|
|
70
81
|
},
|
|
71
82
|
"bg": {
|
|
72
83
|
"secondary": {
|
|
73
|
-
"
|
|
84
|
+
"source": "$btn-secondary-hover-bg",
|
|
85
|
+
"$value": "{color.theme.hover.secondary}"
|
|
74
86
|
},
|
|
75
87
|
"outline-secondary": {
|
|
76
|
-
"
|
|
88
|
+
"source": "$btn-secondary-outline-hover-bg",
|
|
89
|
+
"$value": "{color.secondary.100}"
|
|
77
90
|
},
|
|
78
91
|
"inverse-secondary": {
|
|
79
|
-
"value": "{color.btn.bg.inverse-secondary}",
|
|
80
|
-
"type": "color",
|
|
81
92
|
"source": "$btn-secondary-inverse-hover-bg",
|
|
82
|
-
"modify": [{ "type": "darken", "amount": 0.075 }]
|
|
93
|
+
"modify": [{ "type": "darken", "amount": 0.075 }],
|
|
94
|
+
"$value": "{color.btn.bg.inverse-secondary}"
|
|
83
95
|
},
|
|
84
96
|
"inverse-outline-secondary": {
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"source": "$btn-secondary-inverse-outline-hover-bg"
|
|
97
|
+
"source": "$btn-secondary-inverse-outline-hover-bg",
|
|
98
|
+
"$value": "{color.secondary.100}"
|
|
88
99
|
}
|
|
89
100
|
},
|
|
90
101
|
"border": {
|
|
91
102
|
"secondary": {
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"source": "$btn-secondary-hover-border-color"
|
|
103
|
+
"source": "$btn-secondary-hover-border-color",
|
|
104
|
+
"$value": "{color.theme.hover.secondary}"
|
|
95
105
|
},
|
|
96
106
|
"outline-secondary": {
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
"source": "$btn-secondary-outline-hover-border-color"
|
|
107
|
+
"source": "$btn-secondary-outline-hover-border-color",
|
|
108
|
+
"$value": "{color.secondary.900}"
|
|
100
109
|
},
|
|
101
110
|
"inverse-outline-secondary": {
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"source": "$btn-secondary-inverse-outline-hover-border-color"
|
|
111
|
+
"source": "$btn-secondary-inverse-outline-hover-border-color",
|
|
112
|
+
"$value": "transparent"
|
|
105
113
|
},
|
|
106
|
-
"inverse-secondary": {
|
|
114
|
+
"inverse-secondary": {
|
|
115
|
+
"source": "$btn-secondary-inverse-hover-border-color",
|
|
116
|
+
"$value": "transparent"
|
|
117
|
+
}
|
|
107
118
|
}
|
|
108
119
|
},
|
|
109
120
|
"active": {
|
|
110
121
|
"text": {
|
|
111
122
|
"secondary": {
|
|
112
|
-
"value": "{color.btn.active.bg.secondary}",
|
|
113
|
-
"type": "color",
|
|
114
123
|
"source": "$btn-secondary-active-color",
|
|
115
|
-
"modify": [{ "type": "color-yiq" }]
|
|
124
|
+
"modify": [{ "type": "color-yiq" }],
|
|
125
|
+
"$value": "{color.btn.active.bg.secondary}"
|
|
116
126
|
},
|
|
117
127
|
"outline-secondary": {
|
|
118
|
-
"value": "{color.btn.active.bg.outline-secondary}",
|
|
119
|
-
"type": "color",
|
|
120
128
|
"source": "$btn-secondary-outline-active-color",
|
|
121
|
-
"modify": [{ "type": "color-yiq" }]
|
|
129
|
+
"modify": [{ "type": "color-yiq" }],
|
|
130
|
+
"$value": "{color.btn.active.bg.outline-secondary}"
|
|
122
131
|
},
|
|
123
132
|
"inverse-secondary": {
|
|
124
|
-
"value": "{color.btn.text.inverse-secondary}",
|
|
125
|
-
"type": "color",
|
|
126
133
|
"source": "$btn-secondary-inverse-active-color",
|
|
127
|
-
"modify": [{ "type": "darken", "amount": 0.1 }]
|
|
134
|
+
"modify": [{ "type": "darken", "amount": 0.1 }],
|
|
135
|
+
"$value": "{color.btn.text.inverse-secondary}"
|
|
128
136
|
},
|
|
129
137
|
"inverse-outline-secondary": {
|
|
130
|
-
"value": "{color.btn.active.bg.inverse-outline-secondary}",
|
|
131
|
-
"type": "color",
|
|
132
138
|
"source": "$btn-secondary-inverse-outline-active-color",
|
|
133
|
-
"modify": [{ "type": "color-yiq" }]
|
|
139
|
+
"modify": [{ "type": "color-yiq" }],
|
|
140
|
+
"$value": "{color.btn.active.bg.inverse-outline-secondary}"
|
|
141
|
+
}
|
|
134
142
|
},
|
|
135
143
|
"bg": {
|
|
136
144
|
"secondary": {
|
|
137
|
-
"
|
|
145
|
+
"source": "$btn-secondary-active-bg",
|
|
146
|
+
"$value": "{color.theme.active.secondary}"
|
|
138
147
|
},
|
|
139
148
|
"outline-secondary": {
|
|
140
|
-
"
|
|
149
|
+
"source": "$btn-secondary-outline-active-bg",
|
|
150
|
+
"$value": "{color.theme.bg.secondary}"
|
|
141
151
|
},
|
|
142
152
|
"inverse-outline-secondary": {
|
|
143
|
-
"
|
|
144
|
-
"
|
|
145
|
-
"source": "$btn-secondary-inverse-outline-active-bg"
|
|
153
|
+
"source": "$btn-secondary-inverse-outline-active-bg",
|
|
154
|
+
"$value": "{color.theme.bg.secondary}"
|
|
146
155
|
},
|
|
147
|
-
"inverse-secondary": {
|
|
156
|
+
"inverse-secondary": {
|
|
157
|
+
"source": "$btn-secondary-inverse-active-bg",
|
|
158
|
+
"$value": "{color.gray.100}"
|
|
159
|
+
}
|
|
148
160
|
},
|
|
149
161
|
"border": {
|
|
150
162
|
"secondary": {
|
|
151
|
-
"
|
|
152
|
-
"
|
|
153
|
-
"source": "$btn-secondary-active-border-color"
|
|
163
|
+
"source": "$btn-secondary-active-border-color",
|
|
164
|
+
"$value": "{color.theme.active.secondary}"
|
|
154
165
|
},
|
|
155
166
|
"outline-secondary": {
|
|
156
|
-
"
|
|
157
|
-
"
|
|
158
|
-
"source": "$btn-secondary-outline-active-border-color"
|
|
167
|
+
"source": "$btn-secondary-outline-active-border-color",
|
|
168
|
+
"$value": "{color.theme.active.secondary}"
|
|
159
169
|
},
|
|
160
170
|
"inverse-outline-secondary": {
|
|
161
|
-
"
|
|
171
|
+
"source": "$btn-secondary-inverse-outline-active-border-color",
|
|
172
|
+
"$value": "transparent"
|
|
162
173
|
},
|
|
163
|
-
"inverse-secondary": {
|
|
174
|
+
"inverse-secondary": {
|
|
175
|
+
"source": "$btn-secondary-inverse-active-border-color",
|
|
176
|
+
"$value": "transparent"
|
|
177
|
+
}
|
|
164
178
|
}
|
|
165
179
|
},
|
|
166
180
|
"focus": {
|
|
167
181
|
"text": {
|
|
168
|
-
"secondary": {
|
|
169
|
-
|
|
182
|
+
"secondary": {
|
|
183
|
+
"source": "$btn-secondary-focus-color",
|
|
184
|
+
"$value": "{color.btn.text.secondary}"
|
|
185
|
+
},
|
|
186
|
+
"inverse-secondary": {
|
|
187
|
+
"source": "$btn-secondary-inverse-focus-color",
|
|
188
|
+
"$value": "inherit"
|
|
189
|
+
},
|
|
170
190
|
"outline-secondary": {
|
|
171
|
-
"
|
|
172
|
-
"
|
|
173
|
-
"source": "$btn-secondary-outline-focus-color"
|
|
191
|
+
"source": "$btn-secondary-outline-focus-color",
|
|
192
|
+
"$value": "{color.btn.text.outline-secondary}"
|
|
174
193
|
},
|
|
175
194
|
"inverse-outline-secondary": {
|
|
176
|
-
"
|
|
177
|
-
"
|
|
178
|
-
"source": "$btn-secondary-inverse-outline-focus-color"
|
|
195
|
+
"source": "$btn-secondary-inverse-outline-focus-color",
|
|
196
|
+
"$value": "{color.btn.text.inverse-outline-secondary}"
|
|
179
197
|
}
|
|
180
198
|
},
|
|
181
199
|
"border": {
|
|
182
200
|
"secondary": {
|
|
183
|
-
"
|
|
184
|
-
"
|
|
185
|
-
"source": "$btn-secondary-focus-border-color"
|
|
201
|
+
"source": "$btn-secondary-focus-border-color",
|
|
202
|
+
"$value": "{color.btn.bg.secondary}"
|
|
186
203
|
},
|
|
187
204
|
"outline-secondary": {
|
|
188
|
-
"
|
|
189
|
-
"
|
|
190
|
-
"source": "$btn-secondary-outline-focus-border-color"
|
|
205
|
+
"source": "$btn-secondary-outline-focus-border-color",
|
|
206
|
+
"$value": "{color.btn.border.outline-secondary}"
|
|
191
207
|
},
|
|
192
208
|
"inverse-secondary": {
|
|
193
|
-
"
|
|
194
|
-
"
|
|
195
|
-
"source": "$btn-secondary-inverse-focus-border-color"
|
|
209
|
+
"source": "$btn-secondary-inverse-focus-border-color",
|
|
210
|
+
"$value": "{color.white}"
|
|
196
211
|
},
|
|
197
212
|
"inverse-outline-secondary": {
|
|
198
|
-
"
|
|
199
|
-
"
|
|
200
|
-
"source": "$btn-secondary-inverse-outline-focus-border-color"
|
|
213
|
+
"source": "$btn-secondary-inverse-outline-focus-border-color",
|
|
214
|
+
"$value": "{color.white}"
|
|
201
215
|
}
|
|
202
216
|
},
|
|
203
217
|
"outline": {
|
|
204
218
|
"secondary": {
|
|
205
|
-
"
|
|
206
|
-
"
|
|
207
|
-
"source": "$btn-secondary-focus-outline-color"
|
|
219
|
+
"source": "$btn-secondary-focus-outline-color",
|
|
220
|
+
"$value": "{color.theme.focus.secondary}"
|
|
208
221
|
},
|
|
209
222
|
"outline-secondary": {
|
|
210
|
-
"
|
|
211
|
-
"
|
|
212
|
-
"source": "$btn-secondary-outline-focus-outline-color"
|
|
223
|
+
"source": "$btn-secondary-outline-focus-outline-color",
|
|
224
|
+
"$value": "{color.theme.focus.secondary}"
|
|
213
225
|
},
|
|
214
226
|
"inverse-secondary": {
|
|
215
|
-
"
|
|
216
|
-
"
|
|
217
|
-
"source": "$btn-secondary-inverse-focus-outline-color"
|
|
227
|
+
"source": "$btn-secondary-inverse-focus-outline-color",
|
|
228
|
+
"$value": "{color.white}"
|
|
218
229
|
},
|
|
219
230
|
"inverse-outline-secondary": {
|
|
220
|
-
"
|
|
221
|
-
"
|
|
222
|
-
"source": "$btn-secondary-inverse-outline-focus-outline-color"
|
|
231
|
+
"source": "$btn-secondary-inverse-outline-focus-outline-color",
|
|
232
|
+
"$value": "{color.btn.border.inverse-outline-secondary}"
|
|
223
233
|
}
|
|
224
234
|
},
|
|
225
235
|
"bg": {
|
|
226
|
-
"secondary": {
|
|
227
|
-
|
|
236
|
+
"secondary": {
|
|
237
|
+
"source": "$btn-secondary-focus-bg",
|
|
238
|
+
"$value": "{color.btn.bg.secondary}"
|
|
239
|
+
},
|
|
240
|
+
"outline-secondary": {
|
|
241
|
+
"source": "$btn-secondary-outline-focus-bg",
|
|
242
|
+
"$value": "transparent"
|
|
243
|
+
},
|
|
228
244
|
"inverse-secondary": {
|
|
229
|
-
"
|
|
230
|
-
"
|
|
231
|
-
"source": "$btn-secondary-inverse-focus-bg"
|
|
245
|
+
"source": "$btn-secondary-inverse-focus-bg",
|
|
246
|
+
"$value": "{color.btn.bg.inverse-secondary}"
|
|
232
247
|
},
|
|
233
|
-
"inverse-outline-secondary": {
|
|
248
|
+
"inverse-outline-secondary": {
|
|
249
|
+
"source": "$btn-secondary-inverse-outline-focus-bg",
|
|
250
|
+
"$value": "inherit"
|
|
251
|
+
}
|
|
234
252
|
}
|
|
235
253
|
},
|
|
236
254
|
"disabled": {
|
|
237
255
|
"text": {
|
|
238
|
-
"secondary": {
|
|
256
|
+
"secondary": {
|
|
257
|
+
"source": "$btn-secondary-disabled-color",
|
|
258
|
+
"$value": "{color.btn.text.secondary}"
|
|
259
|
+
},
|
|
239
260
|
"outline-secondary": {
|
|
240
|
-
"
|
|
241
|
-
"
|
|
242
|
-
|
|
261
|
+
"source": "$btn-secondary-outline-disabled-color",
|
|
262
|
+
"$value": "inherit"
|
|
263
|
+
},
|
|
264
|
+
"inverse-secondary": {
|
|
265
|
+
"source": "$btn-secondary-inverse-disabled-color",
|
|
266
|
+
"$value": "inherit"
|
|
243
267
|
},
|
|
244
|
-
"inverse-secondary": { "value": "inherit", "type": "color", "source": "$btn-secondary-inverse-disabled-color" },
|
|
245
268
|
"inverse-outline-secondary": {
|
|
246
|
-
"
|
|
247
|
-
"
|
|
248
|
-
"source": "$btn-secondary-inverse-outline-disabled-color"
|
|
269
|
+
"source": "$btn-secondary-inverse-outline-disabled-color",
|
|
270
|
+
"$value": "{color.btn.text.inverse-outline-secondary}"
|
|
249
271
|
}
|
|
250
272
|
},
|
|
251
273
|
"bg": {
|
|
252
|
-
"secondary": {
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
274
|
+
"secondary": {
|
|
275
|
+
"source": "$btn-secondary-disabled-bg",
|
|
276
|
+
"$value": "{color.btn.bg.secondary}"
|
|
277
|
+
},
|
|
278
|
+
"outline-secondary": {
|
|
279
|
+
"source": "$btn-secondary-outline-disabled-bg",
|
|
280
|
+
"$value": "inherit"
|
|
281
|
+
},
|
|
282
|
+
"inverse-secondary": {
|
|
283
|
+
"source": "$btn-secondary-inverse-disabled-bg",
|
|
284
|
+
"$value": "inherit"
|
|
285
|
+
},
|
|
286
|
+
"inverse-outline-secondary": {
|
|
287
|
+
"source": "$btn-secondary-inverse-outline-disabled-bg",
|
|
288
|
+
"$value": "inherit"
|
|
289
|
+
}
|
|
256
290
|
},
|
|
257
291
|
"border": {
|
|
258
|
-
"secondary": {
|
|
292
|
+
"secondary": {
|
|
293
|
+
"source": "$btn-secondary-disabled-border-color",
|
|
294
|
+
"$value": "inherit"
|
|
295
|
+
},
|
|
259
296
|
"outline-secondary": {
|
|
260
|
-
"
|
|
261
|
-
"
|
|
262
|
-
"source": "$btn-secondary-outline-disabled-border-color"
|
|
297
|
+
"source": "$btn-secondary-outline-disabled-border-color",
|
|
298
|
+
"$value": "{color.secondary.base}"
|
|
263
299
|
},
|
|
264
300
|
"inverse-secondary": {
|
|
265
|
-
"
|
|
266
|
-
"
|
|
267
|
-
"source": "$btn-secondary-inverse-disabled-border-color"
|
|
301
|
+
"source": "$btn-secondary-inverse-disabled-border-color",
|
|
302
|
+
"$value": "{color.btn.border.inverse-secondary}"
|
|
268
303
|
},
|
|
269
304
|
"inverse-outline-secondary": {
|
|
270
|
-
"
|
|
271
|
-
"
|
|
272
|
-
"source": "$btn-secondary-inverse-outline-disabled-border-color"
|
|
305
|
+
"source": "$btn-secondary-inverse-outline-disabled-border-color",
|
|
306
|
+
"$value": "{color.btn.border.inverse-outline-secondary}"
|
|
273
307
|
}
|
|
274
308
|
}
|
|
275
309
|
}
|