@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,47 +1,51 @@
|
|
|
1
1
|
{
|
|
2
2
|
"typography": {
|
|
3
|
+
"$type": "dimension",
|
|
3
4
|
"popover": {
|
|
4
|
-
"font-size": { "
|
|
5
|
+
"font-size": { "source": "$popover-font-size", "$value": "{typography.font.size.sm}" }
|
|
5
6
|
}
|
|
6
7
|
},
|
|
7
8
|
"size": {
|
|
9
|
+
"$type": "dimension",
|
|
8
10
|
"popover": {
|
|
9
|
-
"max-width": { "
|
|
11
|
+
"max-width": { "source": "$popover-max-width", "$value": "480px" },
|
|
10
12
|
"border": {
|
|
11
|
-
"width": { "
|
|
12
|
-
"radius": { "
|
|
13
|
+
"width": { "source": "$popover-border-width", "$value": "{size.border.width}" },
|
|
14
|
+
"radius": { "source": "$popover-border-radius", "$value": "{size.border.radius.sm}" }
|
|
13
15
|
},
|
|
14
16
|
"icon": {
|
|
15
|
-
"height": { "
|
|
16
|
-
"width": { "
|
|
17
|
+
"height": { "source": "$popover-icon-height", "$value": "1rem" },
|
|
18
|
+
"width": { "source": "$popover-icon-width", "$value": "1rem" }
|
|
17
19
|
},
|
|
18
20
|
"arrow": {
|
|
19
|
-
"width": { "
|
|
20
|
-
"height": { "
|
|
21
|
+
"width": { "source": "$popover-arrow-width", "$value": "1rem" },
|
|
22
|
+
"height": { "source": "$popover-arrow-height", "$value": ".5rem" }
|
|
21
23
|
}
|
|
22
24
|
}
|
|
23
25
|
},
|
|
24
26
|
"elevation": {
|
|
27
|
+
"$type": "number",
|
|
25
28
|
"popover": {
|
|
26
|
-
"zindex": { "
|
|
29
|
+
"zindex": { "source": "$zindex-popover", "$value": "1060" }
|
|
27
30
|
}
|
|
28
31
|
},
|
|
29
32
|
"spacing": {
|
|
33
|
+
"$type": "dimension",
|
|
30
34
|
"popover": {
|
|
31
35
|
"header": {
|
|
32
36
|
"padding": {
|
|
33
|
-
"y": { "
|
|
34
|
-
"x": { "
|
|
37
|
+
"y": { "source": "$popover-header-padding-y", "$value": ".5rem" },
|
|
38
|
+
"x": { "source": "$popover-header-padding-x", "$value": "1rem" }
|
|
35
39
|
}
|
|
36
40
|
},
|
|
37
41
|
"body": {
|
|
38
42
|
"padding": {
|
|
39
|
-
"y": { "
|
|
40
|
-
"x": { "
|
|
43
|
+
"y": { "source": "$popover-body-padding-y", "$value": "{spacing.popover.header.padding.y}" },
|
|
44
|
+
"x": { "source": "$popover-body-padding-x", "$value": "{spacing.popover.header.padding.x}" }
|
|
41
45
|
}
|
|
42
46
|
},
|
|
43
47
|
"icon": {
|
|
44
|
-
"margin-right": { "
|
|
48
|
+
"margin-right": { "source": "$popover-icon-margin-right", "$value": ".5rem" }
|
|
45
49
|
}
|
|
46
50
|
}
|
|
47
51
|
}
|
|
@@ -1,31 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"size": {
|
|
3
|
+
"$type": "dimension",
|
|
3
4
|
"product-tour": {
|
|
4
5
|
"checkpoint": {
|
|
5
6
|
"width": {
|
|
6
|
-
"border": { "
|
|
7
|
-
"arrow": { "
|
|
8
|
-
"max": { "
|
|
7
|
+
"border": { "source": "$checkpoint-border-width", "$value": "8px" },
|
|
8
|
+
"arrow": { "source": "$checkpoint-arrow-width", "$value": "15px" },
|
|
9
|
+
"max": { "source": "$checkpoint-max-width", "$value": "480px" }
|
|
9
10
|
},
|
|
10
11
|
"arrow": {
|
|
11
|
-
"top": {
|
|
12
|
-
|
|
13
|
-
"type": "dimension",
|
|
14
|
-
"source": "$checkpoint-arrow-border-top"
|
|
15
|
-
},
|
|
16
|
-
"transparent": {
|
|
17
|
-
"value": "{size.product-tour.checkpoint.width.arrow}",
|
|
18
|
-
"type": "dimension",
|
|
19
|
-
"source": "$checkpoint-arrow-border-transparent"
|
|
20
|
-
}
|
|
12
|
+
"top": { "source": "$checkpoint-arrow-border-top", "$value": "{size.product-tour.checkpoint.width.arrow}" },
|
|
13
|
+
"transparent": { "source": "$checkpoint-arrow-border-transparent", "$value": "{size.product-tour.checkpoint.width.arrow}" }
|
|
21
14
|
}
|
|
22
15
|
}
|
|
23
16
|
}
|
|
24
17
|
},
|
|
25
18
|
"elevation": {
|
|
19
|
+
"$type": "number",
|
|
26
20
|
"product-tour": {
|
|
27
21
|
"checkpoint": {
|
|
28
|
-
"zindex": { "
|
|
22
|
+
"zindex": { "source": "$checkpoint-z-index", "$value": "1060" }
|
|
29
23
|
}
|
|
30
24
|
}
|
|
31
25
|
}
|
|
@@ -1,38 +1,53 @@
|
|
|
1
1
|
{
|
|
2
2
|
"typography": {
|
|
3
|
+
"$type": "dimension",
|
|
3
4
|
"progress-bar": {
|
|
4
|
-
"font-size": {
|
|
5
|
-
"value": "calc({typography.font.size.base} * .75)", "type": "dimension", "source": "$progress-font-size"
|
|
6
|
-
}
|
|
5
|
+
"font-size": { "source": "$progress-font-size", "$value": "calc({typography.font.size.base} * .75)" }
|
|
7
6
|
}
|
|
8
7
|
},
|
|
9
8
|
"size": {
|
|
9
|
+
"$type": "dimension",
|
|
10
10
|
"progress-bar": {
|
|
11
11
|
"height": {
|
|
12
|
-
"base": { "
|
|
13
|
-
"annotated": { "
|
|
12
|
+
"base": { "source": "$progress-height", "$value": "1rem" },
|
|
13
|
+
"annotated": { "source": "$annotated-progress-height", "$value": ".3125rem" }
|
|
14
14
|
},
|
|
15
15
|
"border": {
|
|
16
|
-
"width": { "
|
|
17
|
-
"radius": { "
|
|
16
|
+
"width": { "source": "$progress-bar-border-width", "$value": "1px" },
|
|
17
|
+
"radius": { "source": "$progress-border-radius", "$value": "0" }
|
|
18
18
|
},
|
|
19
|
-
"threshold-circle": { "
|
|
19
|
+
"threshold-circle": { "source": "$progress-threshold-circle", "$value": ".5625rem" }
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
22
|
"spacing": {
|
|
23
|
+
"$type": "dimension",
|
|
23
24
|
"progress-bar": {
|
|
24
25
|
"hint": {
|
|
25
|
-
"annotation-gap": { "
|
|
26
|
+
"annotation-gap": { "source": "$progress-hint-annotation-gap", "$value": ".5rem" }
|
|
26
27
|
}
|
|
27
28
|
}
|
|
28
29
|
},
|
|
29
30
|
"transition": {
|
|
31
|
+
"$type": "transition",
|
|
30
32
|
"progress-bar": {
|
|
31
|
-
"
|
|
32
|
-
"animation-timing"
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
"animation-timing": {
|
|
34
|
+
"source": "$progress-bar-animation-timing",
|
|
35
|
+
"$value": {
|
|
36
|
+
"duration": "1s",
|
|
37
|
+
"timing-function": "linear",
|
|
38
|
+
"delay": "0s",
|
|
39
|
+
"iteration-count": "infinite"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"transition": {
|
|
43
|
+
"source": "$progress-bar-transition",
|
|
44
|
+
"$value": {
|
|
45
|
+
"property": "width",
|
|
46
|
+
"duration": ".6s",
|
|
47
|
+
"timing-function": "ease",
|
|
48
|
+
"delay": "0s",
|
|
49
|
+
"behavior": "normal"
|
|
50
|
+
}
|
|
36
51
|
}
|
|
37
52
|
}
|
|
38
53
|
}
|
|
@@ -1,23 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"size": {
|
|
3
|
+
"$type": "dimension",
|
|
3
4
|
"search-field": {
|
|
4
5
|
"border": {
|
|
5
6
|
"width": {
|
|
6
|
-
"base": { "
|
|
7
|
-
"focus": { "
|
|
7
|
+
"base": { "source": "$search-border-width", "$value": ".0625rem" },
|
|
8
|
+
"focus": { "source": "$search-border-focus-width", "$value": ".3125rem" }
|
|
8
9
|
},
|
|
9
|
-
"radius": { "
|
|
10
|
+
"radius": { "source": "$search-border-radius", "$value": "0" }
|
|
10
11
|
},
|
|
11
|
-
"search-input-height": {
|
|
12
|
-
"value": "calc({typography.form.input.line-height.base} * 1em + {spacing.form.input.padding.y.base} * 2)",
|
|
13
|
-
"type": "dimension",
|
|
14
|
-
"source": "$input-height-search"
|
|
15
|
-
}
|
|
12
|
+
"search-input-height": { "source": "$input-height-search", "$value": "calc({typography.form.input.line-height.base} * 1em + {spacing.form.input.padding.y.base} * 2)" }
|
|
16
13
|
}
|
|
17
14
|
},
|
|
18
15
|
"spacing": {
|
|
16
|
+
"$type": "dimension",
|
|
19
17
|
"search-field": {
|
|
20
|
-
"margin-button": { "
|
|
18
|
+
"margin-button": { "source": "$search-button-margin", "$value": ".5rem" }
|
|
21
19
|
}
|
|
22
20
|
}
|
|
23
21
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"spacing": {
|
|
3
|
+
"$type": "dimension",
|
|
3
4
|
"selectable-box": {
|
|
4
|
-
"padding": { "
|
|
5
|
-
"border-radius": { "
|
|
6
|
-
"box-space": { "
|
|
5
|
+
"padding": { "source": "$selectable-box-padding", "$value": "1rem" },
|
|
6
|
+
"border-radius": { "source": "$selectable-box-border-radius", "$value": ".25rem" },
|
|
7
|
+
"box-space": { "source": "$selectable-box-space", "$value": ".75rem" }
|
|
7
8
|
}
|
|
8
9
|
}
|
|
9
10
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"elevation": {
|
|
3
|
+
"$type": "number",
|
|
3
4
|
"sheet": {
|
|
4
5
|
"zindex": {
|
|
5
|
-
"backdrop": { "
|
|
6
|
-
"main": { "
|
|
6
|
+
"backdrop": { "source": "$zindex-sheet-backdrop", "$value": "1031" },
|
|
7
|
+
"main": { "source": "$zindex-sheet", "$value": "1032" }
|
|
7
8
|
}
|
|
8
9
|
}
|
|
9
10
|
}
|
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"size": {
|
|
3
|
+
"$type": "dimension",
|
|
3
4
|
"spinner": {
|
|
4
5
|
"base": {
|
|
5
|
-
"width": { "
|
|
6
|
-
"height": { "value": "{size.spinner.base.width}"
|
|
7
|
-
"border-width": { "
|
|
6
|
+
"width": { "source": "$spinner-width", "$value": "2rem" },
|
|
7
|
+
"height": { "source": "$spinner-height", "$value": "{size.spinner.base.width}" },
|
|
8
|
+
"border-width": { "source": "$spinner-border-width", "$value": ".25em" }
|
|
8
9
|
},
|
|
9
10
|
"sm": {
|
|
10
|
-
"width": { "
|
|
11
|
-
"height": { "
|
|
12
|
-
"border-width": { "
|
|
11
|
+
"width": { "source": "$spinner-width-sm", "$value": "1rem" },
|
|
12
|
+
"height": { "source": "$spinner-height-sm", "$value": "{size.spinner.sm.width}" },
|
|
13
|
+
"border-width": { "source": "$spinner-border-width-sm", "$value": ".2em" }
|
|
13
14
|
}
|
|
14
15
|
}
|
|
15
16
|
},
|
|
16
17
|
"spacing": {
|
|
17
|
-
"
|
|
18
|
+
"$type": "dimension",
|
|
19
|
+
"vertical-align": { "source": "$spinner-vertical-align", "$value": ".125em" }
|
|
18
20
|
}
|
|
19
21
|
}
|
|
@@ -1,42 +1,40 @@
|
|
|
1
1
|
{
|
|
2
2
|
"spacing": {
|
|
3
|
+
"$type": "dimension",
|
|
3
4
|
"stepper": {
|
|
4
5
|
"header": {
|
|
5
6
|
"padding": {
|
|
6
|
-
"y": { "
|
|
7
|
-
"x": { "
|
|
7
|
+
"y": { "source": "$stepper-header-padding-y", "$value": ".75rem" },
|
|
8
|
+
"x": { "source": "$stepper-header-padding-x", "$value": "{spacing.spacer.base}" }
|
|
8
9
|
},
|
|
9
10
|
"step": {
|
|
10
|
-
"padding": {
|
|
11
|
-
"value": ".25rem", "type": "dimension", "source": "$stepper-header-step-padding"
|
|
12
|
-
},
|
|
11
|
+
"padding": { "source": "$stepper-header-step-padding", "$value": ".25rem" },
|
|
13
12
|
"list": {
|
|
14
13
|
"padding": {
|
|
15
|
-
"y": { "
|
|
16
|
-
"x": { "
|
|
14
|
+
"y": { "source": "$stepper-header-step-list-padding-y", "$value": ".25rem" },
|
|
15
|
+
"x": { "source": "$stepper-header-step-list-padding-x", "$value": "0" }
|
|
17
16
|
},
|
|
18
|
-
"margin": { "
|
|
17
|
+
"margin": { "source": "$stepper-header-step-list-margin", "$value": "0" }
|
|
19
18
|
}
|
|
20
19
|
}
|
|
21
20
|
}
|
|
22
21
|
}
|
|
23
22
|
},
|
|
24
23
|
"size": {
|
|
24
|
+
"$type": "dimension",
|
|
25
25
|
"stepper": {
|
|
26
26
|
"header": {
|
|
27
|
-
"height-min": { "
|
|
27
|
+
"height-min": { "source": "$stepper-header-min-height", "$value": "5.13rem" }
|
|
28
28
|
},
|
|
29
29
|
"step": {
|
|
30
|
-
"width-min": { "
|
|
31
|
-
"bubble-error-shadow-width": {
|
|
32
|
-
"value": "3px", "type": "dimension", "source": "$stepper-header-step-error-bubble-shadow-width"
|
|
33
|
-
}
|
|
30
|
+
"width-min": { "source": "$stepper-header-step-min-width", "$value": "0" },
|
|
31
|
+
"bubble-error-shadow-width": { "source": "$stepper-header-step-error-bubble-shadow-width", "$value": "3px" }
|
|
34
32
|
}
|
|
35
33
|
}
|
|
36
34
|
},
|
|
37
35
|
"typography": {
|
|
38
36
|
"spacer": {
|
|
39
|
-
"line-height": { "
|
|
37
|
+
"line-height": { "source": "$stepper-header-line-height", "$value": "1px", "$type": "number" }
|
|
40
38
|
}
|
|
41
39
|
}
|
|
42
40
|
}
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"spacing": {
|
|
3
|
+
"$type": "dimension",
|
|
3
4
|
"tab": {
|
|
4
5
|
"more-link-dropdown-toggle": {
|
|
5
|
-
"padding-x": { "
|
|
6
|
-
"padding-y": { "
|
|
6
|
+
"padding-x": { "source": "$tab-more-link-dropdown-toggle-padding-x", "$value": ".7rem" },
|
|
7
|
+
"padding-y": { "source": "$tab-more-link-dropdown-toggle-padding-y", "$value": "{spacing.spacer.base}" }
|
|
7
8
|
},
|
|
8
9
|
"inverse-pills-link-dropdown-toggle": {
|
|
9
|
-
"padding-x": { "
|
|
10
|
-
"padding-y": { "
|
|
10
|
+
"padding-x": { "source": "$tab-inverse-pills-link-dropdown-toggle-padding-x", "$value": ".625rem" },
|
|
11
|
+
"padding-y": { "source": "$tab-inverse-pills-link-dropdown-toggle-padding-y", "$value": "{spacing.spacer.base}" }
|
|
11
12
|
},
|
|
12
13
|
"inverse-tabs-link-dropdown-toggle": {
|
|
13
|
-
"padding-x": { "
|
|
14
|
-
"padding-y": { "
|
|
15
|
-
"distance": { "
|
|
14
|
+
"padding-x": { "source": "$tab-inverse-tabs-link-dropdown-toggle-padding-x", "$value": ".625rem" },
|
|
15
|
+
"padding-y": { "source": "$tab-inverse-tabs-link-dropdown-toggle-padding-y", "$value": "{spacing.spacer.base}" },
|
|
16
|
+
"distance": { "source": "$tab-inverse-pills-link-dropdown-distance", "$value": "5px" }
|
|
16
17
|
}
|
|
17
18
|
}
|
|
18
19
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"size": {
|
|
3
|
+
"$type": "dimension",
|
|
3
4
|
"tabs": {
|
|
4
5
|
"notification": {
|
|
5
|
-
"height": { "
|
|
6
|
-
"width": { "
|
|
6
|
+
"height": { "source": "$tab-notification-height", "$value": "1rem" },
|
|
7
|
+
"width": { "source": "$tab-notification-width", "$value": "1rem" }
|
|
7
8
|
}
|
|
8
9
|
}
|
|
9
10
|
},
|
|
10
11
|
"typography": {
|
|
12
|
+
"$type": "dimension",
|
|
11
13
|
"tabs": {
|
|
12
14
|
"notification": {
|
|
13
|
-
"font-size": {
|
|
14
|
-
"value": "{typography.font.size.xs}", "type": "dimension", "source": "$tab-notification-font-size"
|
|
15
|
-
}
|
|
15
|
+
"font-size": { "source": "$tab-notification-font-size", "$value": "{typography.font.size.xs}" }
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
}
|
|
@@ -1,28 +1,31 @@
|
|
|
1
1
|
{
|
|
2
2
|
"typography": {
|
|
3
|
+
"$type": "dimension",
|
|
3
4
|
"toast": {
|
|
4
|
-
"font-size": { "
|
|
5
|
+
"font-size": { "source": "$toast-font-size", "$value": ".875rem" }
|
|
5
6
|
}
|
|
6
7
|
},
|
|
7
8
|
"size": {
|
|
9
|
+
"$type": "dimension",
|
|
8
10
|
"toast": {
|
|
9
|
-
"max-width": { "
|
|
11
|
+
"max-width": { "source": "$toast-max-width", "$value": "400px" },
|
|
10
12
|
"border": {
|
|
11
|
-
"width": { "
|
|
12
|
-
"radius": { "
|
|
13
|
+
"width": { "source": "$toast-border-width", "$value": "1px" },
|
|
14
|
+
"radius": { "source": "$toast-border-radius", "$value": ".25rem" }
|
|
13
15
|
}
|
|
14
16
|
}
|
|
15
17
|
},
|
|
16
18
|
"spacing": {
|
|
19
|
+
"$type": "dimension",
|
|
17
20
|
"toast": {
|
|
18
21
|
"padding": {
|
|
19
|
-
"x": { "
|
|
20
|
-
"y": { "
|
|
22
|
+
"x": { "source": "$toast-padding-x", "$value": ".75rem" },
|
|
23
|
+
"y": { "source": "$toast-padding-y", "$value": ".25rem" }
|
|
21
24
|
},
|
|
22
25
|
"container": {
|
|
23
26
|
"gutter": {
|
|
24
|
-
"lg": { "
|
|
25
|
-
"sm": { "
|
|
27
|
+
"lg": { "source": "$toast-container-gutter-lg", "$value": "1.25rem" },
|
|
28
|
+
"sm": { "source": "$toast-container-gutter-sm", "$value": ".625rem" }
|
|
26
29
|
}
|
|
27
30
|
}
|
|
28
31
|
}
|
|
@@ -1,33 +1,35 @@
|
|
|
1
1
|
{
|
|
2
2
|
"typography": {
|
|
3
|
+
"$type": "dimension",
|
|
3
4
|
"tooltip": {
|
|
4
|
-
"font-size": { "
|
|
5
|
+
"font-size": { "source": "$tooltip-font-size", "$value": "{typography.font.size.sm}" }
|
|
5
6
|
}
|
|
6
7
|
},
|
|
7
8
|
"spacing": {
|
|
9
|
+
"$type": "dimension",
|
|
8
10
|
"tooltip": {
|
|
9
11
|
"padding": {
|
|
10
|
-
"y": { "
|
|
11
|
-
"x": { "
|
|
12
|
+
"y": { "source": "$tooltip-padding-y", "$value": ".5rem" },
|
|
13
|
+
"x": { "source": "$tooltip-padding-x", "$value": ".5rem" }
|
|
12
14
|
},
|
|
13
|
-
"margin": { "
|
|
15
|
+
"margin": { "source": "$tooltip-margin", "$value": "0" }
|
|
14
16
|
}
|
|
15
17
|
},
|
|
16
18
|
"elevation": {
|
|
19
|
+
"$type": "number",
|
|
17
20
|
"tooltip": {
|
|
18
|
-
"zindex": { "
|
|
21
|
+
"zindex": { "source": "$zindex-tooltip", "$value": "1070" }
|
|
19
22
|
}
|
|
20
23
|
},
|
|
21
24
|
"size": {
|
|
25
|
+
"$type": "dimension",
|
|
22
26
|
"tooltip": {
|
|
23
|
-
"max-width": { "
|
|
27
|
+
"max-width": { "source": "$tooltip-max-width", "$value": "200px" },
|
|
24
28
|
"arrow": {
|
|
25
|
-
"height": { "
|
|
26
|
-
"width": { "
|
|
29
|
+
"height": { "source": "$tooltip-arrow-height", "$value": ".4rem" },
|
|
30
|
+
"width": { "source": "$tooltip-arrow-width", "$value": ".8rem" }
|
|
27
31
|
},
|
|
28
|
-
"border-radius": {
|
|
29
|
-
"value": "{size.border.radius.base}", "type": "dimension", "source": "$tooltip-border-radius"
|
|
30
|
-
}
|
|
32
|
+
"border-radius": { "source": "$tooltip-border-radius", "$value": "{size.border.radius.base}" }
|
|
31
33
|
}
|
|
32
34
|
}
|
|
33
35
|
}
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"size": {
|
|
3
|
+
"$type": "dimension",
|
|
3
4
|
"caret": {
|
|
4
|
-
"width": { "
|
|
5
|
+
"width": { "source": "$caret-width", "$value": ".3em" }
|
|
5
6
|
}
|
|
6
7
|
},
|
|
7
8
|
"spacing": {
|
|
9
|
+
"$type": "dimension",
|
|
8
10
|
"caret": {
|
|
9
|
-
"base": { "
|
|
10
|
-
"vertical-align": { "
|
|
11
|
+
"base": { "source": "$caret-spacing", "$value": ".255em" },
|
|
12
|
+
"vertical-align": { "source": "$caret-vertical-align", "$value": ".255em" }
|
|
11
13
|
}
|
|
12
14
|
}
|
|
13
15
|
}
|
|
@@ -2,15 +2,16 @@
|
|
|
2
2
|
"typography": {
|
|
3
3
|
"headings": {
|
|
4
4
|
"font": {
|
|
5
|
-
"family": { "
|
|
6
|
-
"weight": { "value": "{typography.font.weight.bold}", "type": "fontWeight"
|
|
5
|
+
"family": { "source": "$headings-font-family", "$value": "inherit", "$type": "fontFamily" },
|
|
6
|
+
"weight": { "source": "$headings-font-weight", "$value": "{typography.font.weight.bold}", "$type": "fontWeight" }
|
|
7
7
|
},
|
|
8
|
-
"line-height": { "
|
|
8
|
+
"line-height": { "source": "$headings-line-height", "$value": "1.25", "$type": "number" }
|
|
9
9
|
}
|
|
10
10
|
},
|
|
11
11
|
"spacing": {
|
|
12
|
+
"$type": "dimension",
|
|
12
13
|
"headings": {
|
|
13
|
-
"margin-bottom": { "
|
|
14
|
+
"margin-bottom": { "source": "$headings-margin-bottom", "$value": ".5rem" }
|
|
14
15
|
}
|
|
15
16
|
}
|
|
16
17
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"size": {
|
|
3
|
+
"$type": "dimension",
|
|
3
4
|
"hr": {
|
|
4
5
|
"border": {
|
|
5
|
-
"width": { "
|
|
6
|
-
"margin-y": { "value": "{spacing.spacer.base}"
|
|
6
|
+
"width": { "source": "$hr-border-width", "$value": "{size.border.width}" },
|
|
7
|
+
"margin-y": { "source": "$hr-margin-y", "$value": "{spacing.spacer.base}" }
|
|
7
8
|
}
|
|
8
9
|
}
|
|
9
10
|
}
|