@openedx/paragon 23.0.0-alpha.3 → 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/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 +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/IconButton/index.d.ts +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/_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 +911 -470
- package/dist/core.css.map +1 -1
- package/dist/core.min.css +1 -1
- package/dist/light.css +2035 -1315
- package/dist/light.css.map +1 -1
- package/dist/light.min.css +1 -1
- package/lib/build-tokens.js +67 -31
- package/package.json +7 -4
- 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 +6 -6
- package/src/Carousel/index.scss +24 -1
- 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/IconButton/index.scss +146 -0
- package/src/Menu/index.scss +8 -0
- package/src/Modal/ModalDialog.jsx +7 -3
- package/src/Modal/_ModalDialog.scss +22 -2
- package/src/Modal/modal-dialog.mdx +95 -6
- package/src/Modal/tests/ModalDialog.test.jsx +2 -0
- 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/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/tokens/src/core/global/display.json +0 -22
|
@@ -3,118 +3,54 @@
|
|
|
3
3
|
"form": {
|
|
4
4
|
"input": {
|
|
5
5
|
"font": {
|
|
6
|
-
"family": {
|
|
7
|
-
"value": "{typography.input.btn.font.family}", "type": "fontFamily", "source": "$input-font-family"
|
|
8
|
-
},
|
|
6
|
+
"family": { "source": "$input-font-family", "$value": "{typography.input.btn.font.family}", "$type": "fontFamily" },
|
|
9
7
|
"size": {
|
|
10
|
-
"
|
|
11
|
-
|
|
12
|
-
},
|
|
13
|
-
"
|
|
14
|
-
"value": "{typography.input.btn.font.size.sm}", "type": "dimension", "source": "$input-font-size-sm"
|
|
15
|
-
},
|
|
16
|
-
"lg": {
|
|
17
|
-
"value": "{typography.input.btn.font.size.lg}", "type": "dimension", "source": "$input-font-size-lg"
|
|
18
|
-
}
|
|
8
|
+
"$type": "dimension",
|
|
9
|
+
"base": { "source": "$input-font-size", "$value": "{typography.input.btn.font.size.base}" },
|
|
10
|
+
"sm": { "source": "$input-font-size-sm", "$value": "{typography.input.btn.font.size.sm}" },
|
|
11
|
+
"lg": { "source": "$input-font-size-lg", "$value": "{typography.input.btn.font.size.lg}" }
|
|
19
12
|
},
|
|
20
|
-
"weight": {
|
|
21
|
-
"value": "{typography.font.weight.base}", "type": "fontWeight", "source": "$input-font-weight"
|
|
22
|
-
}
|
|
13
|
+
"weight": { "source": "$input-font-weight", "$value": "{typography.font.weight.base}", "$type": "fontWeight" }
|
|
23
14
|
},
|
|
24
15
|
"line-height": {
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
},
|
|
30
|
-
"sm": {
|
|
31
|
-
"value": "{typography.input.btn.line-height.sm}",
|
|
32
|
-
"type": "dimension",
|
|
33
|
-
"source": "$input-line-height-sm"
|
|
34
|
-
},
|
|
35
|
-
"lg": {
|
|
36
|
-
"value": "{typography.input.btn.line-height.lg}",
|
|
37
|
-
"type": "dimension",
|
|
38
|
-
"source": "$input-line-height-lg"
|
|
39
|
-
}
|
|
16
|
+
"$type": "number",
|
|
17
|
+
"base": { "source": "$input-line-height", "$value": "{typography.input.btn.line-height.base}" },
|
|
18
|
+
"sm": { "source": "$input-line-height-sm", "$value": "{typography.input.btn.line-height.sm}" },
|
|
19
|
+
"lg": { "source": "$input-line-height-lg", "$value": "{typography.input.btn.line-height.lg}" }
|
|
40
20
|
}
|
|
41
21
|
},
|
|
42
22
|
"control": {
|
|
43
23
|
"select": {
|
|
44
24
|
"font": {
|
|
45
|
-
"family": {
|
|
46
|
-
"value": "{typography.form.input.font.family}",
|
|
47
|
-
"type": "fontFamily",
|
|
48
|
-
"source": "$custom-select-font-family"
|
|
49
|
-
},
|
|
25
|
+
"family": { "source": "$custom-select-font-family", "$value": "{typography.form.input.font.family}", "$type": "fontFamily" },
|
|
50
26
|
"size": {
|
|
51
|
-
"
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
},
|
|
56
|
-
"sm": {
|
|
57
|
-
"value": "{typography.form.input.font.size.sm}",
|
|
58
|
-
"type": "dimension",
|
|
59
|
-
"source": "$custom-select-font-size-sm"
|
|
60
|
-
},
|
|
61
|
-
"lg": {
|
|
62
|
-
"value": "{typography.form.input.font.size.lg}",
|
|
63
|
-
"type": "dimension",
|
|
64
|
-
"source": "$custom-select-font-size-lg"
|
|
65
|
-
}
|
|
27
|
+
"$type": "dimension",
|
|
28
|
+
"base": { "source": "$custom-select-font-size", "$value": "{typography.form.input.font.size.base}" },
|
|
29
|
+
"sm": { "source": "$custom-select-font-size-sm", "$value": "{typography.form.input.font.size.sm}" },
|
|
30
|
+
"lg": { "source": "$custom-select-font-size-lg", "$value": "{typography.form.input.font.size.lg}" }
|
|
66
31
|
},
|
|
67
|
-
"weight": {
|
|
68
|
-
"value": "{typography.form.input.font.weight}",
|
|
69
|
-
"type": "fontWeight",
|
|
70
|
-
"source": "$custom-select-font-weight"
|
|
71
|
-
}
|
|
32
|
+
"weight": { "source": "$custom-select-font-weight", "$value": "{typography.form.input.font.weight}", "$type": "fontWeight" }
|
|
72
33
|
},
|
|
73
|
-
"line-height": {
|
|
74
|
-
"value": "{typography.form.input.line-height.base}",
|
|
75
|
-
"type": "dimension",
|
|
76
|
-
"source": "$custom-select-line-height"
|
|
77
|
-
}
|
|
34
|
+
"line-height": { "source": "$custom-select-line-height", "$value": "{typography.form.input.line-height.base}", "$type": "number" }
|
|
78
35
|
},
|
|
79
36
|
"file": {
|
|
80
|
-
"line-height": {
|
|
81
|
-
"value": "{typography.form.input.line-height.base}",
|
|
82
|
-
"type": "dimension",
|
|
83
|
-
"source": "$custom-file-line-height"
|
|
84
|
-
},
|
|
37
|
+
"line-height": { "source": "$custom-file-line-height", "$value": "{typography.form.input.line-height.base}", "$type": "number" },
|
|
85
38
|
"font": {
|
|
86
|
-
"family": { "value": "{typography.form.input.font.family}",
|
|
87
|
-
|
|
88
|
-
"source": "$custom-file-font-family" },
|
|
89
|
-
"weight": {
|
|
90
|
-
"value": "{typography.form.input.font.weight}",
|
|
91
|
-
"type": "fontWeight",
|
|
92
|
-
"source": "$custom-file-font-weight"
|
|
93
|
-
}
|
|
39
|
+
"family": { "source": "$custom-file-font-family", "$value": "{typography.form.input.font.family}", "$type": "fontFamily" },
|
|
40
|
+
"weight": { "source": "$custom-file-font-weight", "$value": "{typography.form.input.font.weight}", "$type": "fontWeight" }
|
|
94
41
|
}
|
|
95
42
|
}
|
|
96
43
|
},
|
|
97
44
|
"feedback": {
|
|
45
|
+
"$type": "dimension",
|
|
98
46
|
"font": {
|
|
99
|
-
"size": {
|
|
100
|
-
"value": "{typography.font.size.small.base}",
|
|
101
|
-
"type": "dimension",
|
|
102
|
-
"source": "$form-feedback-font-size"
|
|
103
|
-
}
|
|
47
|
+
"size": { "source": "$form-feedback-font-size", "$value": "{typography.font.size.sm}" }
|
|
104
48
|
},
|
|
105
49
|
"tooltip": {
|
|
106
50
|
"font": {
|
|
107
|
-
"size": {
|
|
108
|
-
"value": "{typography.font.size.sm}",
|
|
109
|
-
"type": "dimension",
|
|
110
|
-
"source": "$form-feedback-tooltip-font-size"
|
|
111
|
-
}
|
|
51
|
+
"size": { "source": "$form-feedback-tooltip-font-size", "$value": "{typography.font.size.sm}" }
|
|
112
52
|
},
|
|
113
|
-
"line-height": {
|
|
114
|
-
"value": "{typography.line-height.base}",
|
|
115
|
-
"type": "dimension",
|
|
116
|
-
"source": "$form-feedback-tooltip-line-height"
|
|
117
|
-
}
|
|
53
|
+
"line-height": { "source": "$form-feedback-tooltip-line-height", "$value": "{typography.line-height.base}", "$type": "number" }
|
|
118
54
|
}
|
|
119
55
|
}
|
|
120
56
|
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"size": {
|
|
3
|
+
"$type": "dimension",
|
|
3
4
|
"icon": {
|
|
4
|
-
"inline": { "
|
|
5
|
-
"xs": { "
|
|
6
|
-
"sm": { "
|
|
7
|
-
"md": { "
|
|
8
|
-
"lg": { "
|
|
5
|
+
"inline": { "source": "$icon-inline", "$value": ".8em" },
|
|
6
|
+
"xs": { "source": "$icon-xs", "$value": "1rem" },
|
|
7
|
+
"sm": { "source": "$icon-sm", "$value": "1.25rem" },
|
|
8
|
+
"md": { "source": "$icon-md", "$value": "1.5rem" },
|
|
9
|
+
"lg": { "source": "$icon-lg", "$value": "1.75rem" }
|
|
9
10
|
}
|
|
10
11
|
}
|
|
11
12
|
}
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"size": {
|
|
3
|
+
"$type": "dimension",
|
|
3
4
|
"icon-button": {
|
|
4
5
|
"diameter": {
|
|
5
|
-
"md": { "
|
|
6
|
-
"sm": { "
|
|
7
|
-
"inline": {
|
|
8
|
-
"value": "calc({typography.line-height.base} * 1em + .1em)",
|
|
9
|
-
"type": "dimension",
|
|
10
|
-
"source": "$btn-icon-diameter-inline"
|
|
11
|
-
}
|
|
6
|
+
"md": { "source": "$btn-icon-diameter-md", "$value": "2.75rem" },
|
|
7
|
+
"sm": { "source": "$btn-icon-diameter-sm", "$value": "2.25rem" },
|
|
8
|
+
"inline": { "source": "$btn-icon-diameter-inline", "$value": "calc({typography.line-height.base} * 1em + .1em)" }
|
|
12
9
|
}
|
|
13
10
|
}
|
|
14
11
|
}
|
|
@@ -1,27 +1,28 @@
|
|
|
1
1
|
{
|
|
2
2
|
"typography": {
|
|
3
|
+
"$type": "percentage",
|
|
3
4
|
"image": {
|
|
4
5
|
"figure-caption": {
|
|
5
|
-
"font-size": { "
|
|
6
|
+
"font-size": { "source": "$figure-caption-font-size", "$value": "90%" }
|
|
6
7
|
}
|
|
7
8
|
}
|
|
8
9
|
},
|
|
9
10
|
"size": {
|
|
11
|
+
"$type": "dimension",
|
|
10
12
|
"image": {
|
|
11
13
|
"thumbnail": {
|
|
12
14
|
"border": {
|
|
13
|
-
"width": { "
|
|
14
|
-
"radius": {
|
|
15
|
-
"value": "{size.border.radius.base}", "type": "dimension", "source": "$thumbnail-border-radius"
|
|
16
|
-
}
|
|
15
|
+
"width": { "source": "$thumbnail-border-width", "$value": "{size.border.width}" },
|
|
16
|
+
"radius": { "source": "$thumbnail-border-radius", "$value": "{size.border.radius.base}" }
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
21
|
"spacing": {
|
|
22
|
+
"$type": "dimension",
|
|
22
23
|
"image": {
|
|
23
24
|
"thumbnail": {
|
|
24
|
-
"padding": { "
|
|
25
|
+
"padding": { "source": "$thumbnail-padding", "$value": ".25rem" }
|
|
25
26
|
}
|
|
26
27
|
}
|
|
27
28
|
}
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"spacing": {
|
|
3
|
+
"$type": "dimension",
|
|
3
4
|
"menu": {
|
|
4
5
|
"item": {
|
|
5
6
|
"padding": {
|
|
6
|
-
"x": { "value": "{spacing.btn.padding.x.base}"
|
|
7
|
-
"y": { "value": "{spacing.btn.padding.y.base}"
|
|
7
|
+
"x": { "source": "$menu-item-padding-x", "$value": "{spacing.btn.padding.x.base}" },
|
|
8
|
+
"y": { "source": "$menu-item-padding-y", "$value": "{spacing.btn.padding.y.base}" }
|
|
8
9
|
},
|
|
9
10
|
"icon": {
|
|
10
11
|
"margin": {
|
|
11
|
-
"left": { "
|
|
12
|
-
"right": { "
|
|
12
|
+
"left": { "source": "$menu-item-icon-margin-left", "$value": ".25em" },
|
|
13
|
+
"right": { "source": "$menu-item-icon-margin-right", "$value": "{spacing.menu.item.icon.margin.left}" }
|
|
13
14
|
}
|
|
14
15
|
}
|
|
15
16
|
}
|
|
@@ -20,27 +21,28 @@
|
|
|
20
21
|
"select": {
|
|
21
22
|
"btn-link": {
|
|
22
23
|
"text-decoration": {
|
|
23
|
-
"line": { "
|
|
24
|
-
"thickness": { "
|
|
24
|
+
"line": { "source": "$menu-select-btn-link-text-decoration-line", "$value": "underline", "$type": "textDecoration" },
|
|
25
|
+
"thickness": { "source": "$menu-select-btn-link-text-decoration-thickness", "$value": ".125rem", "$type": "dimension" }
|
|
25
26
|
}
|
|
26
27
|
}
|
|
27
28
|
}
|
|
28
29
|
}
|
|
29
30
|
},
|
|
30
31
|
"size": {
|
|
32
|
+
"$type": "dimension",
|
|
31
33
|
"menu": {
|
|
32
34
|
"base": {
|
|
33
|
-
"border-radius": { "
|
|
34
|
-
"max-height": { "
|
|
35
|
+
"border-radius": { "source": "$menu-border-radius", "$value": ".25em" },
|
|
36
|
+
"max-height": { "source": "$menu-max-height", "$value": "16.813rem" }
|
|
35
37
|
},
|
|
36
38
|
"item": {
|
|
37
|
-
"height": { "
|
|
39
|
+
"height": { "source": "$menu-item-height", "$value": "3rem" },
|
|
38
40
|
"width": {
|
|
39
|
-
"base": { "
|
|
40
|
-
"xs": { "
|
|
41
|
+
"base": { "source": "$menu-item-width", "$value": "19rem" },
|
|
42
|
+
"xs": { "source": "$menu-item-width-xs", "$value": "13.438rem" }
|
|
41
43
|
},
|
|
42
44
|
"border": {
|
|
43
|
-
"width": { "
|
|
45
|
+
"width": { "source": "$menu-item-border-width", "$value": "{size.btn.border.width}" }
|
|
44
46
|
}
|
|
45
47
|
}
|
|
46
48
|
}
|
|
@@ -1,47 +1,52 @@
|
|
|
1
1
|
{
|
|
2
2
|
"elevation": {
|
|
3
|
+
"$type": "number",
|
|
3
4
|
"modal": {
|
|
4
|
-
"backdrop-zindex": { "
|
|
5
|
-
"zindex": { "
|
|
5
|
+
"backdrop-zindex": { "source": "$zindex-modal-backdrop", "$value": "1040" },
|
|
6
|
+
"zindex": { "source": "$zindex-modal", "$value": "1050" }
|
|
6
7
|
}
|
|
7
8
|
},
|
|
8
9
|
"size": {
|
|
10
|
+
"$type": "dimension",
|
|
9
11
|
"modal": {
|
|
10
|
-
"xl": { "
|
|
11
|
-
"lg": { "
|
|
12
|
-
"md": { "
|
|
13
|
-
"sm": { "
|
|
12
|
+
"xl": { "source": "$modal-xl", "$value": "1140px" },
|
|
13
|
+
"lg": { "source": "$modal-lg", "$value": "800px" },
|
|
14
|
+
"md": { "source": "$modal-md", "$value": "500px" },
|
|
15
|
+
"sm": { "source": "$modal-sm", "$value": "400px" },
|
|
14
16
|
"content-border": {
|
|
15
|
-
"width": { "
|
|
16
|
-
"radius": {
|
|
17
|
-
"value": "{size.border.radius.lg}", "type": "dimension", "source": "$modal-content-border-radius"
|
|
18
|
-
}
|
|
17
|
+
"width": { "source": "$modal-content-border-width", "$value": "0px" },
|
|
18
|
+
"radius": { "source": "$modal-content-border-radius", "$value": "{size.border.radius.lg}" }
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
22
|
"spacing": {
|
|
23
|
+
"$type": "dimension",
|
|
23
24
|
"modal": {
|
|
24
25
|
"inner-padding": {
|
|
25
|
-
"base": { "
|
|
26
|
-
"bottom": { "
|
|
26
|
+
"base": { "source": "$modal-inner-padding", "$value": "1.5rem" },
|
|
27
|
+
"bottom": { "source": "$modal-inner-padding-bottom", "$value": ".7rem" }
|
|
27
28
|
},
|
|
28
29
|
"footer-padding": {
|
|
29
30
|
"base": {
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
|
|
31
|
+
"source": "$modal-footer-padding",
|
|
32
|
+
"$value": {
|
|
33
|
+
"x": "1.5rem",
|
|
34
|
+
"y": "{spacing.modal.footer-padding.y}"
|
|
35
|
+
}
|
|
33
36
|
},
|
|
34
|
-
"y": { "
|
|
37
|
+
"y": { "source": "$modal-footer-padding-y", "$value": "1rem" }
|
|
35
38
|
},
|
|
36
39
|
"header-padding": {
|
|
37
40
|
"base": {
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
|
|
41
|
+
"source": "$modal-header-padding",
|
|
42
|
+
"$value": {
|
|
43
|
+
"x": "1.5rem",
|
|
44
|
+
"y": "{spacing.modal.header-padding.y}"
|
|
45
|
+
}
|
|
41
46
|
},
|
|
42
|
-
"y": { "
|
|
47
|
+
"y": { "source": "$modal-header-padding-y", "$value": "1rem" }
|
|
43
48
|
},
|
|
44
|
-
"dialog-margin": { "
|
|
49
|
+
"dialog-margin": { "source": "$modal-dialog-margin", "$value": "1.5rem" }
|
|
45
50
|
}
|
|
46
51
|
}
|
|
47
52
|
}
|
|
@@ -2,50 +2,48 @@
|
|
|
2
2
|
"typography": {
|
|
3
3
|
"nav": {
|
|
4
4
|
"link": {
|
|
5
|
-
"font-weight": { "
|
|
6
|
-
"text-decoration": { "value": "none", "type": "textDecoration" }
|
|
5
|
+
"font-weight": { "source": "$nav-link-font-weight", "$value": "500", "$type": "fontWeight" },
|
|
6
|
+
"text-decoration": { "$value": "none", "$type": "textDecoration" }
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
},
|
|
10
10
|
"size": {
|
|
11
|
+
"$type": "dimension",
|
|
11
12
|
"nav": {
|
|
12
13
|
"pills": {
|
|
13
|
-
"border-radius": { "
|
|
14
|
+
"border-radius": { "source": "$nav-pills-border-radius", "$value": "{size.border.radius.base}" },
|
|
14
15
|
"link": {
|
|
15
|
-
"border-width": { "
|
|
16
|
+
"border-width": { "source": "$nav-pills-link-border-width", "$value": "1px" }
|
|
16
17
|
},
|
|
17
18
|
"inverse-link": {
|
|
18
|
-
"border-width": { "
|
|
19
|
+
"border-width": { "source": "$nav-inverse-pills-link-border-width", "$value": "{size.nav.pills.link.border-width}" }
|
|
19
20
|
}
|
|
20
21
|
},
|
|
21
22
|
"tabs": {
|
|
22
23
|
"link": {
|
|
23
24
|
"border-bottom": {
|
|
24
|
-
"width": { "
|
|
25
|
+
"width": { "source": "$nav-tabs-link-border-bottom-width", "$value": ".188rem" }
|
|
25
26
|
}
|
|
26
27
|
},
|
|
27
28
|
"inverse-link": {
|
|
28
|
-
"active-border-bottom-width": {
|
|
29
|
-
"value": "{size.nav.tabs.link.border-bottom.width}",
|
|
30
|
-
"type": "dimension",
|
|
31
|
-
"source": "$nav-inverse-tabs-link-active-border-bottom-width"
|
|
32
|
-
}
|
|
29
|
+
"active-border-bottom-width": { "source": "$nav-inverse-tabs-link-active-border-bottom-width", "$value": "{size.nav.tabs.link.border-bottom.width}" }
|
|
33
30
|
},
|
|
34
31
|
"border": {
|
|
35
|
-
"width": { "
|
|
36
|
-
"radius": { "
|
|
32
|
+
"width": { "source": "$nav-tabs-border-width", "$value": "2px" },
|
|
33
|
+
"radius": { "source": "$nav-tabs-border-radius", "$value": "0" }
|
|
37
34
|
}
|
|
38
35
|
}
|
|
39
36
|
}
|
|
40
37
|
},
|
|
41
38
|
"spacing": {
|
|
39
|
+
"$type": "dimension",
|
|
42
40
|
"nav": {
|
|
43
41
|
"link": {
|
|
44
42
|
"padding": {
|
|
45
|
-
"y": { "
|
|
46
|
-
"x": { "
|
|
43
|
+
"y": { "source": "$nav-link-padding-y", "$value": ".5rem" },
|
|
44
|
+
"x": { "source": "$nav-link-padding-x", "$value": "1rem" }
|
|
47
45
|
},
|
|
48
|
-
"distance-to-border": { "
|
|
46
|
+
"distance-to-border": { "source": "$nav-tabs-link-distance-to-border", "$value": "4px" }
|
|
49
47
|
}
|
|
50
48
|
}
|
|
51
49
|
}
|
|
@@ -1,69 +1,54 @@
|
|
|
1
1
|
{
|
|
2
2
|
"spacing": {
|
|
3
|
+
"$type": "dimension",
|
|
3
4
|
"navbar": {
|
|
4
5
|
"padding": {
|
|
5
|
-
"y": { "value": "calc({spacing.spacer.base} / 2)"
|
|
6
|
+
"y": { "source": "$navbar-padding-y", "$value": "calc({spacing.spacer.base} / 2)" },
|
|
6
7
|
"x": {
|
|
7
|
-
"base": { "value": "{spacing.spacer.base}"
|
|
8
|
-
"nav-link": { "
|
|
8
|
+
"base": { "source": "$navbar-padding-x", "$value": "{spacing.spacer.base}" },
|
|
9
|
+
"nav-link": { "source": "$navbar-nav-link-padding-x", "$value": ".5rem" }
|
|
9
10
|
}
|
|
10
11
|
},
|
|
11
12
|
"brand": {
|
|
12
13
|
"padding": {
|
|
13
|
-
"y": {
|
|
14
|
-
"value": "calc(({typography.navbar.nav-link.height} - {size.navbar.brand.height}) / 2)",
|
|
15
|
-
"type": "dimension",
|
|
16
|
-
"source": "$navbar-brand-padding-y"
|
|
17
|
-
}
|
|
14
|
+
"y": { "source": "$navbar-brand-padding-y", "$value": "calc(({typography.navbar.nav-link.height} - {size.navbar.brand.height}) / 2)" }
|
|
18
15
|
}
|
|
19
16
|
},
|
|
20
17
|
"toggler": {
|
|
21
18
|
"padding": {
|
|
22
|
-
"y": { "
|
|
23
|
-
"x": { "
|
|
19
|
+
"y": { "source": "$navbar-toggler-padding-y", "$value": ".25rem" },
|
|
20
|
+
"x": { "source": "$navbar-toggler-padding-x", "$value": ".75rem" }
|
|
24
21
|
}
|
|
25
22
|
}
|
|
26
23
|
}
|
|
27
24
|
},
|
|
28
25
|
"typography": {
|
|
26
|
+
"$type": "dimension",
|
|
29
27
|
"navbar": {
|
|
30
28
|
"brand": {
|
|
31
|
-
"font-size": {
|
|
32
|
-
"value": "{typography.font.size.lg}", "type": "dimension", "source": "$navbar-brand-font-size"
|
|
33
|
-
}
|
|
29
|
+
"font-size": { "source": "$navbar-brand-font-size", "$value": "{typography.font.size.lg}" }
|
|
34
30
|
},
|
|
35
31
|
"nav-link": {
|
|
36
|
-
"height": {
|
|
37
|
-
"value": "calc({typography.font.size.base} * {typography.line-height.base} + .5rem * 2)",
|
|
38
|
-
"type": "dimension",
|
|
39
|
-
"source": "$nav-link-height"
|
|
40
|
-
}
|
|
32
|
+
"height": { "source": "$nav-link-height", "$value": "calc({typography.font.size.base} * {typography.line-height.base} + .5rem * 2)" }
|
|
41
33
|
},
|
|
42
34
|
"toggler": {
|
|
43
|
-
"font-size": {
|
|
44
|
-
"value": "{typography.font.size.lg}", "type": "dimension", "source": "$navbar-toggler-font-size"
|
|
45
|
-
}
|
|
35
|
+
"font-size": { "source": "$navbar-toggler-font-size", "$value": "{typography.font.size.lg}" }
|
|
46
36
|
}
|
|
47
37
|
}
|
|
48
38
|
},
|
|
49
39
|
"size": {
|
|
40
|
+
"$type": "dimension",
|
|
50
41
|
"navbar": {
|
|
51
42
|
"nav": {
|
|
52
43
|
"scroll": {
|
|
53
|
-
"max-height": { "
|
|
44
|
+
"max-height": { "source": "$navbar-nav-scroll-max-height", "$value": "75vh" }
|
|
54
45
|
}
|
|
55
46
|
},
|
|
56
47
|
"brand": {
|
|
57
|
-
"height": {
|
|
58
|
-
"value": "calc({typography.navbar.brand.font-size} * {typography.line-height.base})",
|
|
59
|
-
"type": "dimension",
|
|
60
|
-
"source": "$navbar-brand-height"
|
|
61
|
-
}
|
|
48
|
+
"height": { "source": "$navbar-brand-height", "$value": "calc({typography.navbar.brand.font-size} * {typography.line-height.base})" }
|
|
62
49
|
},
|
|
63
50
|
"toggler": {
|
|
64
|
-
"border-radius": {
|
|
65
|
-
"value": "{size.btn.border.radius.base}", "type": "dimension", "source": "$navbar-toggler-border-radius"
|
|
66
|
-
}
|
|
51
|
+
"border-radius": { "source": "$navbar-toggler-border-radius", "$value": "{size.btn.border.radius.base}" }
|
|
67
52
|
}
|
|
68
53
|
}
|
|
69
54
|
}
|
|
@@ -2,64 +2,63 @@
|
|
|
2
2
|
"typography": {
|
|
3
3
|
"pagination": {
|
|
4
4
|
"font-size": {
|
|
5
|
-
"
|
|
5
|
+
"$type": "dimension",
|
|
6
|
+
"sm": { "source": "$pagination-font-size-sm", "$value": ".875rem" }
|
|
6
7
|
},
|
|
7
|
-
"line-height": { "
|
|
8
|
+
"line-height": { "source": "$pagination-line-height", "$value": "1.5rem", "$type": "number" }
|
|
8
9
|
}
|
|
9
10
|
},
|
|
10
11
|
"spacing": {
|
|
12
|
+
"$type": "dimension",
|
|
11
13
|
"pagination": {
|
|
12
14
|
"padding": {
|
|
13
15
|
"y": {
|
|
14
|
-
"base": { "
|
|
15
|
-
"sm": { "
|
|
16
|
-
"lg": { "
|
|
16
|
+
"base": { "source": "$pagination-padding-y", "$value": ".625rem" },
|
|
17
|
+
"sm": { "source": "$pagination-padding-y-sm", "$value": ".8rem" },
|
|
18
|
+
"lg": { "source": "$pagination-padding-y-lg", "$value": ".75rem" }
|
|
17
19
|
},
|
|
18
20
|
"x": {
|
|
19
|
-
"base": { "
|
|
20
|
-
"sm": { "
|
|
21
|
-
"lg": { "
|
|
21
|
+
"base": { "source": "$pagination-padding-x", "$value": "1rem" },
|
|
22
|
+
"sm": { "source": "$pagination-padding-x-sm", "$value": ".6rem" },
|
|
23
|
+
"lg": { "source": "$pagination-padding-x-lg", "$value": "1.5rem" }
|
|
22
24
|
}
|
|
23
25
|
}
|
|
24
26
|
}
|
|
25
27
|
},
|
|
26
28
|
"size": {
|
|
29
|
+
"$type": "dimension",
|
|
27
30
|
"pagination": {
|
|
28
31
|
"icon": {
|
|
29
|
-
"width": { "
|
|
30
|
-
"height": { "
|
|
32
|
+
"width": { "source": "$pagination-icon-width", "$value": "2.25rem" },
|
|
33
|
+
"height": { "source": "$pagination-icon-height", "$value": "2.25rem" }
|
|
31
34
|
},
|
|
32
35
|
"secondary": {
|
|
33
36
|
"height": {
|
|
34
|
-
"base": { "
|
|
35
|
-
"sm": { "
|
|
37
|
+
"base": { "source": "$pagination-secondary-height", "$value": "2.75rem" },
|
|
38
|
+
"sm": { "source": "$pagination-secondary-height-sm", "$value": "2.25rem" }
|
|
36
39
|
}
|
|
37
40
|
},
|
|
38
41
|
"border": {
|
|
39
|
-
"width": { "
|
|
42
|
+
"width": { "source": "$pagination-border-width", "$value": "{size.border.width}" },
|
|
40
43
|
"radius": {
|
|
41
|
-
"sm": {
|
|
42
|
-
|
|
43
|
-
},
|
|
44
|
-
"lg": {
|
|
45
|
-
"value": "{size.border.radius.lg}", "type": "dimension", "source": "$pagination-border-radius-lg"
|
|
46
|
-
}
|
|
44
|
+
"sm": { "source": "$pagination-border-radius-sm", "$value": "{size.border.radius.sm}" },
|
|
45
|
+
"lg": { "source": "$pagination-border-radius-lg", "$value": "{size.border.radius.lg}" }
|
|
47
46
|
}
|
|
48
47
|
},
|
|
49
48
|
"reduced": {
|
|
50
49
|
"dropdown": {
|
|
51
|
-
"max-height": { "
|
|
52
|
-
"min-width": { "
|
|
50
|
+
"max-height": { "source": "$pagination-reduced-dropdown-max-height", "$value": "60vh" },
|
|
51
|
+
"min-width": { "source": "$pagination-reduced-dropdown-min-width", "$value": "6rem" }
|
|
53
52
|
}
|
|
54
53
|
},
|
|
55
54
|
"toggle": {
|
|
56
55
|
"border": {
|
|
57
|
-
"base": { "
|
|
58
|
-
"sm": { "
|
|
56
|
+
"base": { "source": "$pagination-toggle-border", "$value": ".3125rem" },
|
|
57
|
+
"sm": { "source": "$pagination-toggle-border-sm", "$value": ".25rem" }
|
|
59
58
|
}
|
|
60
59
|
},
|
|
61
60
|
"focus": {
|
|
62
|
-
"outline": { "
|
|
61
|
+
"outline": { "source": "$pagination-focus-outline", "$value": "0" }
|
|
63
62
|
}
|
|
64
63
|
}
|
|
65
64
|
}
|