@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
|
@@ -1,73 +1,69 @@
|
|
|
1
1
|
{
|
|
2
2
|
"elevation": {
|
|
3
|
+
"$type": "shadow",
|
|
3
4
|
"form": {
|
|
4
5
|
"input": {
|
|
5
|
-
"base": { "
|
|
6
|
+
"base": { "source": "$input-box-shadow", "$value": "none" },
|
|
6
7
|
"focus": {
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
|
|
8
|
+
"source": "$input-focus-box-shadow",
|
|
9
|
+
"$value": {
|
|
10
|
+
"color": "{color.primary.500}",
|
|
11
|
+
"spread": "1px",
|
|
12
|
+
"offsetX": "0",
|
|
13
|
+
"offsetY": "0",
|
|
14
|
+
"blur": "0"
|
|
15
|
+
}
|
|
10
16
|
}
|
|
11
17
|
},
|
|
12
18
|
"control": {
|
|
13
19
|
"indicator": {
|
|
14
|
-
"base": {
|
|
15
|
-
"value": "{elevation.form.input.base}",
|
|
16
|
-
"type": "shadow",
|
|
17
|
-
"source": "$custom-control-indicator-box-shadow"
|
|
18
|
-
},
|
|
20
|
+
"base": { "source": "$custom-control-indicator-box-shadow", "$value": "{elevation.form.input.base}" },
|
|
19
21
|
"checked": {
|
|
20
|
-
"base": { "
|
|
22
|
+
"base": { "source": "$custom-control-indicator-checked-box-shadow", "$value": "none" },
|
|
21
23
|
"focus": {
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
|
|
24
|
+
"source": "$custom-control-indicator-focus-box-shadow",
|
|
25
|
+
"$value": {
|
|
26
|
+
"color": "rgba(0, 0, 0, .1)",
|
|
27
|
+
"spread": "4px",
|
|
28
|
+
"offsetX": "0",
|
|
29
|
+
"offsetY": "0",
|
|
30
|
+
"blur": "0"
|
|
31
|
+
}
|
|
25
32
|
}
|
|
26
33
|
},
|
|
27
|
-
"active": { "
|
|
34
|
+
"active": { "source": "$custom-control-indicator-active-box-shadow", "$value": "none" }
|
|
28
35
|
},
|
|
29
36
|
"checkbox": {
|
|
30
37
|
"indicator": {
|
|
31
|
-
"indeterminate": {
|
|
32
|
-
"value": "none", "type": "shadow", "source": "$custom-checkbox-indicator-indeterminate-box-shadow"
|
|
33
|
-
}
|
|
38
|
+
"indeterminate": { "source": "$custom-checkbox-indicator-indeterminate-box-shadow", "$value": "none" }
|
|
34
39
|
}
|
|
35
40
|
},
|
|
36
41
|
"range": {
|
|
37
|
-
"track": {
|
|
38
|
-
"value": "none",
|
|
39
|
-
"type": "shadow",
|
|
40
|
-
"source": "$custom-range-track-box-shadow"
|
|
41
|
-
},
|
|
42
|
+
"track": { "source": "$custom-range-track-box-shadow", "$value": "none" },
|
|
42
43
|
"thumb": {
|
|
43
|
-
"base": {
|
|
44
|
-
"value": "none", "type": "shadow", "source": "$custom-range-thumb-box-shadow"
|
|
45
|
-
},
|
|
44
|
+
"base": { "source": "$custom-range-thumb-box-shadow", "$value": "none" },
|
|
46
45
|
"focus": {
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
|
|
46
|
+
"source": "$custom-range-thumb-focus-box-shadow",
|
|
47
|
+
"$value": [
|
|
48
|
+
{
|
|
49
|
+
"color": "{color.body.bg}",
|
|
50
|
+
"spread": "0",
|
|
51
|
+
"offsetX": "0",
|
|
52
|
+
"offsetY": ".1rem",
|
|
53
|
+
"blur": ".25rem"
|
|
54
|
+
}
|
|
55
|
+
]
|
|
50
56
|
}
|
|
51
57
|
}
|
|
52
58
|
},
|
|
53
59
|
"file": {
|
|
54
|
-
"base": {
|
|
55
|
-
|
|
56
|
-
},
|
|
57
|
-
"focus": {
|
|
58
|
-
"value": "{elevation.form.input.focus}", "type": "shadow", "source": "$custom-file-focus-box-shadow"
|
|
59
|
-
}
|
|
60
|
+
"base": { "source": "$custom-file-box-shadow", "$value": "{elevation.form.input.base}" },
|
|
61
|
+
"focus": { "source": "$custom-file-focus-box-shadow", "$value": "{elevation.form.input.focus}" }
|
|
60
62
|
},
|
|
61
63
|
"select": {
|
|
62
64
|
"border": {
|
|
63
|
-
"base": {
|
|
64
|
-
|
|
65
|
-
},
|
|
66
|
-
"focus": {
|
|
67
|
-
"value": "{elevation.input.btn-focus.box-shadow}",
|
|
68
|
-
"type": "shadow",
|
|
69
|
-
"source": "$custom-select-focus-box-shadow"
|
|
70
|
-
}
|
|
65
|
+
"base": { "source": "$custom-select-box-shadow", "$value": "none" },
|
|
66
|
+
"focus": { "source": "$custom-select-focus-box-shadow", "$value": "{elevation.input.btn-focus.box-shadow}" }
|
|
71
67
|
}
|
|
72
68
|
}
|
|
73
69
|
}
|
|
@@ -1,127 +1,130 @@
|
|
|
1
1
|
{
|
|
2
2
|
"other": {
|
|
3
3
|
"form": {
|
|
4
|
+
"$type": "number",
|
|
4
5
|
"feedback": {
|
|
5
|
-
"tooltip-opacity": {
|
|
6
|
+
"tooltip-opacity": {
|
|
7
|
+
"source": "$form-feedback-tooltip-opacity",
|
|
8
|
+
"$value": ".9"
|
|
9
|
+
}
|
|
6
10
|
}
|
|
7
11
|
},
|
|
8
12
|
"content": {
|
|
9
13
|
"form": {
|
|
10
14
|
"control": {
|
|
11
15
|
"checkbox": {
|
|
16
|
+
"$type": "file",
|
|
12
17
|
"indicator": {
|
|
13
18
|
"icon-checked": {
|
|
14
19
|
"base": {
|
|
15
|
-
"value": "url(\"data:image/svg+xml,<svg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M21 3H3V21H21V3ZM10 17L5 12L6.41 10.59L10 14.17L17.59 6.58L19 8L10 17Z' fill='{color.form.control.indicator.checked.base}'/></svg>\")",
|
|
16
|
-
"type": "file",
|
|
17
20
|
"source": "$custom-checkbox-indicator-icon-checked",
|
|
18
21
|
"outputReferences": false,
|
|
19
|
-
"modify": [{ "type": "str-replace", "toReplace": "#", "replaceWith": "%23" }]
|
|
22
|
+
"modify": [{ "type": "str-replace", "toReplace": "#", "replaceWith": "%23" }],
|
|
23
|
+
"$value": "url(\"data:image/svg+xml,<svg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M21 3H3V21H21V3ZM10 17L5 12L6.41 10.59L10 14.17L17.59 6.58L19 8L10 17Z' fill='{color.form.control.indicator.checked.base}'/></svg>\")"
|
|
20
24
|
},
|
|
21
25
|
"valid": {
|
|
22
|
-
"value": "url(\"data:image/svg+xml,<svg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M21 3H3V21H21V3ZM10 17L5 12L6.41 10.59L10 14.17L17.59 6.58L19 8L10 17Z' fill='{color.form.control.indicator.checked.valid}'/></svg>\")",
|
|
23
|
-
"type": "file",
|
|
24
26
|
"source": "$custom-checkbox-indicator-icon-valid-checked",
|
|
25
27
|
"outputReferences": false,
|
|
26
|
-
"modify": [{ "type": "str-replace", "toReplace": "#", "replaceWith": "%23" }]
|
|
28
|
+
"modify": [{ "type": "str-replace", "toReplace": "#", "replaceWith": "%23" }],
|
|
29
|
+
"$value": "url(\"data:image/svg+xml,<svg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M21 3H3V21H21V3ZM10 17L5 12L6.41 10.59L10 14.17L17.59 6.58L19 8L10 17Z' fill='{color.form.control.indicator.checked.valid}'/></svg>\")"
|
|
27
30
|
},
|
|
28
31
|
"invalid": {
|
|
29
|
-
"value": "url(\"data:image/svg+xml,<svg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M21 3H3V21H21V3ZM10 17L5 12L6.41 10.59L10 14.17L17.59 6.58L19 8L10 17Z' fill='{color.form.control.indicator.checked.invalid}'/></svg>\")",
|
|
30
|
-
"type": "file",
|
|
31
32
|
"source": "$custom-checkbox-indicator-icon-invalid-checked",
|
|
32
33
|
"outputReferences": false,
|
|
33
|
-
"modify": [{ "type": "str-replace", "toReplace": "#", "replaceWith": "%23" }]
|
|
34
|
+
"modify": [{ "type": "str-replace", "toReplace": "#", "replaceWith": "%23" }],
|
|
35
|
+
"$value": "url(\"data:image/svg+xml,<svg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M21 3H3V21H21V3ZM10 17L5 12L6.41 10.59L10 14.17L17.59 6.58L19 8L10 17Z' fill='{color.form.control.indicator.checked.invalid}'/></svg>\")"
|
|
34
36
|
}
|
|
35
37
|
},
|
|
36
38
|
"indeterminate": {
|
|
37
39
|
"icon": {
|
|
38
|
-
"value": "url(\"data:image/svg+xml,<svg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M21 3H3V21H21V3ZM17 13H7V11H17V13Z' fill='{color.form.control.checkbox.indicator.indeterminate.base}'/></svg>\")",
|
|
39
|
-
"type": "file",
|
|
40
40
|
"source": "$custom-checkbox-indicator-icon-indeterminate",
|
|
41
41
|
"outputReferences": false,
|
|
42
|
-
"modify": [{ "type": "str-replace", "toReplace": "#", "replaceWith": "%23" }]
|
|
42
|
+
"modify": [{ "type": "str-replace", "toReplace": "#", "replaceWith": "%23" }],
|
|
43
|
+
"$value": "url(\"data:image/svg+xml,<svg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M21 3H3V21H21V3ZM17 13H7V11H17V13Z' fill='{color.form.control.checkbox.indicator.indeterminate.base}'/></svg>\")"
|
|
43
44
|
}
|
|
44
45
|
}
|
|
45
46
|
}
|
|
46
47
|
},
|
|
47
48
|
"radio": {
|
|
49
|
+
"$type": "file",
|
|
48
50
|
"indicator": {
|
|
49
51
|
"icon-checked": {
|
|
50
52
|
"base": {
|
|
51
|
-
"value": "url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='{color.form.control.indicator.checked.bg.base}'/%3e%3c/svg%3e\")",
|
|
52
|
-
"type": "file",
|
|
53
53
|
"source": "$custom-radio-indicator-icon-checked",
|
|
54
54
|
"outputReferences": false,
|
|
55
|
-
"modify": [{ "type": "str-replace", "toReplace": "#", "replaceWith": "%23" }]
|
|
55
|
+
"modify": [{ "type": "str-replace", "toReplace": "#", "replaceWith": "%23" }],
|
|
56
|
+
"$value": "url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='{color.form.control.indicator.checked.bg.base}'/%3e%3c/svg%3e\")"
|
|
56
57
|
},
|
|
57
58
|
"valid": {
|
|
58
|
-
"value": "url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='{color.form.control.indicator.checked.valid}'/%3e%3c/svg%3e\")",
|
|
59
|
-
"type": "file",
|
|
60
59
|
"source": "$custom-radio-indicator-icon-valid-checked",
|
|
61
60
|
"outputReferences": false,
|
|
62
|
-
"modify": [{ "type": "str-replace", "toReplace": "#", "replaceWith": "%23" }]
|
|
61
|
+
"modify": [{ "type": "str-replace", "toReplace": "#", "replaceWith": "%23" }],
|
|
62
|
+
"$value": "url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='{color.form.control.indicator.checked.valid}'/%3e%3c/svg%3e\")"
|
|
63
63
|
},
|
|
64
64
|
"invalid": {
|
|
65
|
-
"value": "url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='{color.form.control.indicator.checked.invalid}'/%3e%3c/svg%3e\")",
|
|
66
|
-
"type": "file",
|
|
67
65
|
"source": "$custom-radio-indicator-icon-invalid-checked",
|
|
68
66
|
"outputReferences": false,
|
|
69
|
-
"modify": [{ "type": "str-replace", "toReplace": "#", "replaceWith": "%23" }]
|
|
67
|
+
"modify": [{ "type": "str-replace", "toReplace": "#", "replaceWith": "%23" }],
|
|
68
|
+
"$value": "url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='{color.form.control.indicator.checked.invalid}'/%3e%3c/svg%3e\")"
|
|
70
69
|
}
|
|
71
70
|
}
|
|
72
71
|
}
|
|
73
72
|
},
|
|
74
73
|
"switch": {
|
|
74
|
+
"$type": "file",
|
|
75
75
|
"indicator": {
|
|
76
76
|
"icon-off": {
|
|
77
|
-
"value": "url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='{color.form.control.indicator.checked.bg.base}'/%3e%3c/svg%3e\")",
|
|
78
|
-
"type": "file",
|
|
79
77
|
"source": "$custom-switch-indicator-icon-off",
|
|
80
78
|
"outputReferences": false,
|
|
81
|
-
"modify": [{ "type": "str-replace", "toReplace": "#", "replaceWith": "%23" }]
|
|
79
|
+
"modify": [{ "type": "str-replace", "toReplace": "#", "replaceWith": "%23" }],
|
|
80
|
+
"$value": "url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='{color.form.control.indicator.checked.bg.base}'/%3e%3c/svg%3e\")"
|
|
82
81
|
},
|
|
83
82
|
"icon-on": {
|
|
84
|
-
"value": "url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='{color.form.control.indicator.active.base}'/%3e%3c/svg%3e\")",
|
|
85
|
-
"type": "file",
|
|
86
83
|
"source": "$custom-switch-indicator-icon-on",
|
|
87
84
|
"outputReferences": false,
|
|
88
|
-
"modify": [{ "type": "str-replace", "toReplace": "#", "replaceWith": "%23" }]
|
|
85
|
+
"modify": [{ "type": "str-replace", "toReplace": "#", "replaceWith": "%23" }],
|
|
86
|
+
"$value": "url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='{color.form.control.indicator.active.base}'/%3e%3c/svg%3e\")"
|
|
89
87
|
}
|
|
90
88
|
}
|
|
91
89
|
},
|
|
92
90
|
"select": {
|
|
93
91
|
"indicator": {
|
|
92
|
+
"$type": "file",
|
|
94
93
|
"icon": {
|
|
95
|
-
"value": "url('data:image/svg+xml,<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M16.59 8.58984L12 13.1698L7.41 8.58984L6 9.99984L12 15.9998L18 9.99984L16.59 8.58984Z\" fill=\"{color.form.control.select.indicator.base}\"/></svg>')",
|
|
96
|
-
"type": "file",
|
|
97
94
|
"source": "$custom-select-indicator",
|
|
98
95
|
"outputReferences": false,
|
|
99
|
-
"modify": [{ "type": "str-replace", "toReplace": "#", "replaceWith": "%23" }]
|
|
96
|
+
"modify": [{ "type": "str-replace", "toReplace": "#", "replaceWith": "%23" }],
|
|
97
|
+
"$value": "url('data:image/svg+xml,<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M16.59 8.58984L12 13.1698L7.41 8.58984L6 9.99984L12 15.9998L18 9.99984L16.59 8.58984Z\" fill=\"{color.form.control.select.indicator.base}\"/></svg>')"
|
|
100
98
|
}
|
|
101
99
|
},
|
|
102
100
|
"bg": {
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
|
|
101
|
+
"source": "$custom-select-background",
|
|
102
|
+
"$value": {
|
|
103
|
+
"color": "{color.form.control.select.bg.base}",
|
|
104
|
+
"image": "{other.content.form.control.select.indicator.icon}",
|
|
105
|
+
"repeat": "no-repeat",
|
|
106
|
+
"position-x": "right",
|
|
107
|
+
"offset-y": "{spacing.form.input.padding.y.base}",
|
|
108
|
+
"position-y": "center"
|
|
109
|
+
},
|
|
110
|
+
"$type": "background"
|
|
106
111
|
}
|
|
107
112
|
}
|
|
108
113
|
},
|
|
109
114
|
"feedback": {
|
|
115
|
+
"$type": "file",
|
|
110
116
|
"icon": {
|
|
111
117
|
"valid": {
|
|
112
|
-
"value": "url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='{color.form.feedback.icon.valid}' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e\")",
|
|
113
|
-
"type": "file",
|
|
114
118
|
"source": "$form-feedback-icon-valid",
|
|
115
119
|
"outputReferences": false,
|
|
116
|
-
"modify": [
|
|
117
|
-
|
|
120
|
+
"modify": [{ "type": "str-replace", "toReplace": "#", "replaceWith": "%23" }],
|
|
121
|
+
"$value": "url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='{color.form.feedback.icon.valid}' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e\")"
|
|
118
122
|
},
|
|
119
123
|
"invalid": {
|
|
120
|
-
"value": "url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='{color.form.feedback.icon.invalid}' viewBox='-2 -2 7 7'%3e%3cpath stroke='{color.form.feedback.icon.invalid}' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E\")",
|
|
121
|
-
"type": "file",
|
|
122
124
|
"source": "$form-feedback-icon-invalid",
|
|
123
125
|
"outputReferences": false,
|
|
124
|
-
"modify": [{ "type": "str-replace", "toReplace": "#", "replaceWith": "%23" }]
|
|
126
|
+
"modify": [{ "type": "str-replace", "toReplace": "#", "replaceWith": "%23" }],
|
|
127
|
+
"$value": "url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='{color.form.feedback.icon.invalid}' viewBox='-2 -2 7 7'%3e%3cpath stroke='{color.form.feedback.icon.invalid}' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E\")"
|
|
125
128
|
}
|
|
126
129
|
}
|
|
127
130
|
}
|