@autoguru/overdrive 4.10.2 → 4.11.0
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/dist/components/Actions/Actions.js +21 -4
- package/dist/components/Actions/index.js +3 -1
- package/dist/components/Alert/Alert.css.js +28 -20
- package/dist/components/Alert/Alert.js +84 -26
- package/dist/components/Alert/index.js +3 -1
- package/dist/components/Anchor/Anchor.css.js +11 -3
- package/dist/components/Anchor/Anchor.js +53 -28
- package/dist/components/Anchor/index.js +3 -1
- package/dist/components/AutoSuggest/AutoSuggest.css.js +84 -76
- package/dist/components/AutoSuggest/AutoSuggest.js +621 -302
- package/dist/components/AutoSuggest/index.js +3 -1
- package/dist/components/AutoSuggest/useLayoutSuggestionVisible.js +29 -31
- package/dist/components/Badge/Badge.css.js +79 -71
- package/dist/components/Badge/Badge.js +44 -27
- package/dist/components/Badge/index.js +3 -1
- package/dist/components/Box/Box.js +122 -53
- package/dist/components/Box/argTypes.js +72 -105
- package/dist/components/Box/index.js +4 -2
- package/dist/components/Box/useBoxStyles.css.d.ts.map +1 -1
- package/dist/components/Box/useBoxStyles.css.js +114 -96
- package/dist/components/Box/useBoxStyles.js +75 -47
- package/dist/components/BulletList/Bullet.css.js +49 -41
- package/dist/components/BulletList/Bullet.js +38 -24
- package/dist/components/BulletList/BulletList.css.js +13 -5
- package/dist/components/BulletList/BulletList.js +23 -10
- package/dist/components/BulletList/context.js +3 -1
- package/dist/components/BulletList/index.js +4 -2
- package/dist/components/BulletText/BulletText.css.js +21 -13
- package/dist/components/BulletText/BulletText.js +57 -16
- package/dist/components/BulletText/index.js +3 -1
- package/dist/components/Button/Button.css.js +243 -235
- package/dist/components/Button/Button.js +154 -91
- package/dist/components/Button/index.js +3 -1
- package/dist/components/CheckBox/CheckBox.css.js +28 -20
- package/dist/components/CheckBox/CheckBox.js +54 -16
- package/dist/components/CheckBox/index.js +3 -1
- package/dist/components/ColourInput/ColourInput.css.js +31 -23
- package/dist/components/ColourInput/ColourInput.js +70 -20
- package/dist/components/ColourInput/index.js +3 -1
- package/dist/components/Columns/Column.css.js +36 -26
- package/dist/components/Columns/Column.js +51 -16
- package/dist/components/Columns/Columns.css.js +39 -31
- package/dist/components/Columns/Columns.js +55 -22
- package/dist/components/Columns/index.js +4 -2
- package/dist/components/DateInput/DateInput.js +34 -7
- package/dist/components/DateInput/index.js +3 -1
- package/dist/components/DatePicker/DatePicker.css.js +40 -32
- package/dist/components/DatePicker/DatePicker.js +64 -23
- package/dist/components/DatePicker/index.js +3 -1
- package/dist/components/DividerLine/DividerLine.css.js +45 -37
- package/dist/components/DividerLine/DividerLine.js +22 -6
- package/dist/components/DividerLine/index.js +3 -1
- package/dist/components/Flyout/Flyout.js +41 -5
- package/dist/components/Flyout/index.js +3 -1
- package/dist/components/Heading/Heading.js +41 -21
- package/dist/components/Heading/index.js +3 -1
- package/dist/components/Icon/Icon.css.js +13 -5
- package/dist/components/Icon/Icon.js +26 -9
- package/dist/components/Icon/index.js +3 -1
- package/dist/components/Image/Image.js +23 -5
- package/dist/components/Image/ImageServerProvider.d.ts +1 -1
- package/dist/components/Image/ImageServerProvider.d.ts.map +1 -1
- package/dist/components/Image/ImageServerProvider.js +55 -35
- package/dist/components/Image/ResponsiveImage.js +46 -21
- package/dist/components/Image/SimpleImage.js +30 -2
- package/dist/components/Image/index.js +4 -2
- package/dist/components/Image/types.js +3 -1
- package/dist/components/Inline/Inline.js +74 -30
- package/dist/components/Inline/index.js +3 -1
- package/dist/components/LinearProgressIndicator/LinearProgressIndicator.css.js +56 -48
- package/dist/components/LinearProgressIndicator/LinearProgressIndicator.js +31 -7
- package/dist/components/LinearProgressIndicator/index.js +3 -1
- package/dist/components/LoadingBox/LoadingBox.css.js +26 -18
- package/dist/components/LoadingBox/LoadingBox.js +40 -7
- package/dist/components/LoadingBox/index.js +3 -1
- package/dist/components/Meta/Meta.css.js +16 -8
- package/dist/components/Meta/Meta.js +30 -8
- package/dist/components/Meta/index.js +3 -1
- package/dist/components/MinimalModal/MinimalModal.css.js +15 -7
- package/dist/components/MinimalModal/MinimalModal.js +67 -29
- package/dist/components/MinimalModal/index.js +3 -1
- package/dist/components/Modal/Modal.css.js +38 -30
- package/dist/components/Modal/Modal.js +129 -73
- package/dist/components/Modal/index.js +3 -1
- package/dist/components/NumberBubble/NumberBubble.css.js +12 -4
- package/dist/components/NumberBubble/NumberBubble.js +51 -23
- package/dist/components/NumberBubble/index.js +3 -1
- package/dist/components/NumberInput/NumberInput.js +67 -29
- package/dist/components/NumberInput/index.js +3 -1
- package/dist/components/OrderedList/OrderedList.css.js +16 -8
- package/dist/components/OrderedList/OrderedList.js +60 -26
- package/dist/components/OrderedList/index.js +3 -1
- package/dist/components/OutsideClick/OutsideClick.js +40 -35
- package/dist/components/OutsideClick/index.js +3 -1
- package/dist/components/OverdriveProvider/OverdriveProvider.js +33 -19
- package/dist/components/OverdriveProvider/index.js +3 -1
- package/dist/components/Pagination/Bubble.js +41 -19
- package/dist/components/Pagination/Pagination.css.js +28 -20
- package/dist/components/Pagination/Pagination.js +166 -67
- package/dist/components/Pagination/index.js +3 -1
- package/dist/components/Portal/Portal.js +40 -24
- package/dist/components/Portal/index.js +3 -1
- package/dist/components/Positioner/Positioner.css.js +14 -6
- package/dist/components/Positioner/Positioner.js +109 -85
- package/dist/components/Positioner/alignment.js +13 -10
- package/dist/components/Positioner/index.js +4 -2
- package/dist/components/ProgressBar/ProgressBar.css.js +14 -6
- package/dist/components/ProgressBar/ProgressBar.js +30 -12
- package/dist/components/ProgressBar/index.js +3 -1
- package/dist/components/ProgressBarGroup/ProgressBarGroup.css.js +12 -4
- package/dist/components/ProgressBarGroup/ProgressBarGroup.js +42 -14
- package/dist/components/ProgressBarGroup/index.js +3 -1
- package/dist/components/ProgressSpinner/ProgressSpinner.css.js +81 -73
- package/dist/components/ProgressSpinner/ProgressSpinner.js +32 -14
- package/dist/components/ProgressSpinner/index.js +3 -1
- package/dist/components/Radio/Radio.css.js +31 -23
- package/dist/components/Radio/Radio.js +58 -19
- package/dist/components/Radio/RadioGroup.js +32 -7
- package/dist/components/Radio/index.js +4 -2
- package/dist/components/Section/Section.css.js +13 -5
- package/dist/components/Section/Section.js +19 -4
- package/dist/components/Section/index.js +3 -1
- package/dist/components/SelectInput/SelectInput.css.js +19 -11
- package/dist/components/SelectInput/SelectInput.js +60 -11
- package/dist/components/SelectInput/index.js +3 -1
- package/dist/components/SimplePagination/SimplePagination.js +57 -17
- package/dist/components/SimplePagination/index.js +3 -1
- package/dist/components/Stack/Divider.css.js +12 -4
- package/dist/components/Stack/Divider.js +13 -4
- package/dist/components/Stack/Stack.css.js +18 -10
- package/dist/components/Stack/Stack.js +47 -23
- package/dist/components/Stack/index.js +3 -1
- package/dist/components/StandardModal/StandardModal.css.js +69 -57
- package/dist/components/StandardModal/StandardModal.js +127 -52
- package/dist/components/StandardModal/index.js +3 -1
- package/dist/components/StarRating/StarRating.css.js +16 -8
- package/dist/components/StarRating/StarRating.js +90 -46
- package/dist/components/StarRating/index.js +3 -1
- package/dist/components/Stepper/Stepper.css.js +46 -36
- package/dist/components/Stepper/Stepper.js +159 -66
- package/dist/components/Stepper/index.js +3 -1
- package/dist/components/Switch/Switch.css.js +54 -46
- package/dist/components/Switch/Switch.js +54 -21
- package/dist/components/Switch/index.js +3 -1
- package/dist/components/Table/Table.css.js +14 -6
- package/dist/components/Table/Table.js +29 -6
- package/dist/components/Table/TableCell.css.js +28 -20
- package/dist/components/Table/TableCell.js +41 -11
- package/dist/components/Table/TableHeadCell.css.js +61 -50
- package/dist/components/Table/TableHeadCell.js +86 -40
- package/dist/components/Table/TableRow.js +18 -3
- package/dist/components/Table/TableRowGroup.js +16 -3
- package/dist/components/Table/context.js +21 -10
- package/dist/components/Table/index.js +7 -5
- package/dist/components/Tabs/Tab.css.js +43 -35
- package/dist/components/Tabs/Tab.js +79 -49
- package/dist/components/Tabs/TabList.css.js +30 -22
- package/dist/components/Tabs/TabList.js +122 -67
- package/dist/components/Tabs/TabPane.css.js +11 -3
- package/dist/components/Tabs/TabPane.js +32 -15
- package/dist/components/Tabs/TabPanes.css.js +16 -8
- package/dist/components/Tabs/TabPanes.js +23 -6
- package/dist/components/Tabs/Tabs.js +22 -10
- package/dist/components/Tabs/index.js +7 -5
- package/dist/components/Text/Text.js +37 -15
- package/dist/components/Text/index.js +4 -2
- package/dist/components/Text/useTextStyles.css.js +42 -20
- package/dist/components/Text/useTextStyles.js +20 -5
- package/dist/components/TextAreaInput/TextAreaInput.js +35 -7
- package/dist/components/TextAreaInput/index.js +3 -1
- package/dist/components/TextBubble/TextBubble.css.js +13 -5
- package/dist/components/TextBubble/TextBubble.js +66 -29
- package/dist/components/TextBubble/index.js +3 -1
- package/dist/components/TextContainer/TextContainer.js +44 -9
- package/dist/components/TextContainer/index.js +3 -1
- package/dist/components/TextInput/TextInput.js +36 -5
- package/dist/components/TextInput/index.js +3 -1
- package/dist/components/TextLink/TextLink.css.js +23 -15
- package/dist/components/TextLink/TextLink.js +63 -24
- package/dist/components/TextLink/index.js +3 -1
- package/dist/components/ThemeOverrideProvider/ThemeOverrideDebugger.d.ts +3 -0
- package/dist/components/ThemeOverrideProvider/ThemeOverrideDebugger.d.ts.map +1 -0
- package/dist/components/ThemeOverrideProvider/ThemeOverrideDebugger.js +80 -0
- package/dist/components/ThemeOverrideProvider/ThemeOverrideProvider.d.ts +22 -0
- package/dist/components/ThemeOverrideProvider/ThemeOverrideProvider.d.ts.map +1 -0
- package/dist/components/ThemeOverrideProvider/ThemeOverrideProvider.js +39 -0
- package/dist/components/ThemeOverrideProvider/index.d.ts +3 -0
- package/dist/components/ThemeOverrideProvider/index.d.ts.map +1 -0
- package/dist/components/ThemeOverrideProvider/index.js +4 -0
- package/dist/components/ThemeOverrideProvider/useBuildThemeOverrides.d.ts +17 -0
- package/dist/components/ThemeOverrideProvider/useBuildThemeOverrides.d.ts.map +1 -0
- package/dist/components/ThemeOverrideProvider/useBuildThemeOverrides.js +97 -0
- package/dist/components/ThemeProvider/ThemeProvider.js +30 -11
- package/dist/components/ThemeProvider/index.js +3 -1
- package/dist/components/Toaster/Toast.css.js +18 -10
- package/dist/components/Toaster/Toast.js +222 -108
- package/dist/components/Toaster/index.js +3 -1
- package/dist/components/Tooltip/Tooltip.css.js +21 -9
- package/dist/components/Tooltip/Tooltip.js +72 -40
- package/dist/components/Tooltip/index.js +3 -1
- package/dist/components/VisuallyHidden/VisuallyHidden.css.js +13 -5
- package/dist/components/VisuallyHidden/VisuallyHidden.js +20 -4
- package/dist/components/VisuallyHidden/index.js +3 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +59 -56
- package/dist/components/private/CheckableBase/CheckableBase.css.js +46 -38
- package/dist/components/private/CheckableBase/CheckableBase.js +91 -27
- package/dist/components/private/CheckableBase/index.js +3 -1
- package/dist/components/private/CheckableBase/useCheckableStyles.js +5 -3
- package/dist/components/private/InputBase/HintText.css.js +11 -3
- package/dist/components/private/InputBase/HintText.js +28 -14
- package/dist/components/private/InputBase/InputState.css.js +96 -80
- package/dist/components/private/InputBase/NotchedBase.css.js +157 -162
- package/dist/components/private/InputBase/NotchedBase.js +116 -76
- package/dist/components/private/InputBase/index.js +3 -1
- package/dist/components/private/InputBase/withEnhancedInput.css.js +117 -109
- package/dist/components/private/InputBase/withEnhancedInput.js +190 -92
- package/dist/hooks/useAttachedBoxes/index.js +3 -1
- package/dist/hooks/useAttachedBoxes/useAttachedBoxes.css.js +26 -18
- package/dist/hooks/useAttachedBoxes/useAttachedBoxes.js +71 -46
- package/dist/hooks/useMedia/index.js +3 -1
- package/dist/hooks/useMedia/useMedia.js +44 -34
- package/dist/hooks/useNegativeMargin/useNegativeMargin.js +4 -2
- package/dist/hooks/useNegativeMargin/useNegativeMarginLeft.css.js +13 -5
- package/dist/hooks/useNegativeMargin/useNegativeMarginLeft.js +6 -4
- package/dist/hooks/useNegativeMargin/useNegativeMarginTop.css.js +12 -4
- package/dist/hooks/useNegativeMargin/useNegativeMarginTop.js +6 -4
- package/dist/hooks/useResponsiveValue/index.js +3 -1
- package/dist/hooks/useResponsiveValue/useResponsiveValue.js +14 -14
- package/dist/hooks/useWindowScrollLock/index.js +15 -13
- package/dist/index.js +7 -5
- package/dist/reset/globalFonts.css.js +20 -12
- package/dist/reset/globalReset.css.js +21 -13
- package/dist/reset/reset.css.js +105 -109
- package/dist/themes/base/index.d.ts +1 -0
- package/dist/themes/base/index.d.ts.map +1 -1
- package/dist/themes/base/index.js +10 -6
- package/dist/themes/base/tokens.js +264 -257
- package/dist/themes/base/vars.css.js +10 -2
- package/dist/themes/flat_red/index.d.ts +1 -0
- package/dist/themes/flat_red/index.d.ts.map +1 -1
- package/dist/themes/flat_red/index.js +10 -6
- package/dist/themes/flat_red/tokens.js +104 -98
- package/dist/themes/flat_red/vars.css.js +10 -2
- package/dist/themes/helpers.js +60 -51
- package/dist/themes/index.js +4 -2
- package/dist/themes/makeTheme.js +27 -16
- package/dist/themes/theme.css.js +271 -259
- package/dist/themes/tokens.js +3 -1
- package/dist/utils/index.js +93 -77
- package/dist/utils/mapTokenToProperty.js +22 -10
- package/dist/utils/number.js +21 -24
- package/dist/utils/resolveResponsiveProps.js +29 -31
- package/dist/utils/responsiveProps.css.js +29 -17
- package/dist/utils/responsiveStyle.js +26 -16
- package/package.json +4 -2
package/dist/themes/theme.css.js
CHANGED
|
@@ -1,279 +1,291 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
4
|
+
import * as __vanilla_filescope__ from '@vanilla-extract/css/fileScope';
|
|
5
|
+
|
|
6
|
+
__vanilla_filescope__.setFileScope("lib/themes/theme.css.ts", "@autoguru/overdrive");
|
|
7
|
+
|
|
8
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
9
|
+
|
|
10
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
11
|
+
|
|
1
12
|
import { createThemeContract, style } from '@vanilla-extract/css';
|
|
2
|
-
import { buildColourGamut } from
|
|
13
|
+
import { buildColourGamut } from "./makeTheme.js";
|
|
3
14
|
const colours = {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
15
|
+
gray: {
|
|
16
|
+
'900': '',
|
|
17
|
+
'800': '',
|
|
18
|
+
'700': '',
|
|
19
|
+
'600': '',
|
|
20
|
+
'500': '',
|
|
21
|
+
'400': '',
|
|
22
|
+
'300': '',
|
|
23
|
+
'200': '',
|
|
24
|
+
'100': ''
|
|
25
|
+
},
|
|
26
|
+
green: {
|
|
27
|
+
'900': '',
|
|
28
|
+
'800': '',
|
|
29
|
+
'700': '',
|
|
30
|
+
'600': '',
|
|
31
|
+
'500': '',
|
|
32
|
+
'400': '',
|
|
33
|
+
'300': '',
|
|
34
|
+
'200': '',
|
|
35
|
+
'100': ''
|
|
36
|
+
},
|
|
37
|
+
blue: {
|
|
38
|
+
'900': '',
|
|
39
|
+
'800': '',
|
|
40
|
+
'700': '',
|
|
41
|
+
'600': '',
|
|
42
|
+
'500': '',
|
|
43
|
+
'400': '',
|
|
44
|
+
'300': '',
|
|
45
|
+
'200': '',
|
|
46
|
+
'100': ''
|
|
47
|
+
},
|
|
48
|
+
yellow: {
|
|
49
|
+
'900': '',
|
|
50
|
+
'800': '',
|
|
51
|
+
'700': '',
|
|
52
|
+
'600': '',
|
|
53
|
+
'500': '',
|
|
54
|
+
'400': '',
|
|
55
|
+
'300': '',
|
|
56
|
+
'200': '',
|
|
57
|
+
'100': ''
|
|
58
|
+
},
|
|
59
|
+
red: {
|
|
60
|
+
'900': '',
|
|
61
|
+
'800': '',
|
|
62
|
+
'700': '',
|
|
63
|
+
'600': '',
|
|
64
|
+
'500': '',
|
|
65
|
+
'400': '',
|
|
66
|
+
'300': '',
|
|
67
|
+
'200': '',
|
|
68
|
+
'100': ''
|
|
69
|
+
}
|
|
59
70
|
};
|
|
60
71
|
export const themeContractVars = createThemeContract({
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
72
|
+
mode: '',
|
|
73
|
+
body: {
|
|
74
|
+
backgroundColour: '',
|
|
75
|
+
colour: ''
|
|
76
|
+
},
|
|
77
|
+
contentWidth: {
|
|
78
|
+
small: '',
|
|
79
|
+
large: '',
|
|
80
|
+
medium: ''
|
|
81
|
+
},
|
|
82
|
+
space: {
|
|
83
|
+
'1': '',
|
|
84
|
+
'2': '',
|
|
85
|
+
'3': '',
|
|
86
|
+
'4': '',
|
|
87
|
+
'5': '',
|
|
88
|
+
'6': '',
|
|
89
|
+
'7': '',
|
|
90
|
+
'8': '',
|
|
91
|
+
'9': '',
|
|
92
|
+
none: ''
|
|
93
|
+
},
|
|
94
|
+
colours: {
|
|
95
|
+
gamut: _objectSpread(_objectSpread({}, buildColourGamut(colours)), {}, {
|
|
96
|
+
white: ''
|
|
97
|
+
}),
|
|
98
|
+
foreground: {
|
|
99
|
+
body: '',
|
|
100
|
+
link: ''
|
|
70
101
|
},
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
'5': '',
|
|
77
|
-
'6': '',
|
|
78
|
-
'7': '',
|
|
79
|
-
'8': '',
|
|
80
|
-
'9': '',
|
|
81
|
-
none: '',
|
|
102
|
+
background: {
|
|
103
|
+
body: '',
|
|
104
|
+
light: '',
|
|
105
|
+
neutral: '',
|
|
106
|
+
neutralDark: ''
|
|
82
107
|
},
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
...buildColourGamut(colours),
|
|
86
|
-
white: '',
|
|
87
|
-
},
|
|
88
|
-
foreground: {
|
|
89
|
-
body: '',
|
|
90
|
-
link: '',
|
|
91
|
-
},
|
|
108
|
+
intent: {
|
|
109
|
+
primary: {
|
|
92
110
|
background: {
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
neutralDark: '',
|
|
111
|
+
standard: '',
|
|
112
|
+
mild: '',
|
|
113
|
+
strong: ''
|
|
97
114
|
},
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
border: '',
|
|
107
|
-
},
|
|
108
|
-
secondary: {
|
|
109
|
-
background: {
|
|
110
|
-
standard: '',
|
|
111
|
-
mild: '',
|
|
112
|
-
strong: '',
|
|
113
|
-
},
|
|
114
|
-
foreground: '',
|
|
115
|
-
border: '',
|
|
116
|
-
},
|
|
117
|
-
shine: {
|
|
118
|
-
background: {
|
|
119
|
-
standard: '',
|
|
120
|
-
mild: '',
|
|
121
|
-
strong: '',
|
|
122
|
-
},
|
|
123
|
-
foreground: '',
|
|
124
|
-
border: '',
|
|
125
|
-
},
|
|
126
|
-
danger: {
|
|
127
|
-
background: {
|
|
128
|
-
standard: '',
|
|
129
|
-
mild: '',
|
|
130
|
-
strong: '',
|
|
131
|
-
},
|
|
132
|
-
foreground: '',
|
|
133
|
-
border: '',
|
|
134
|
-
},
|
|
135
|
-
warning: {
|
|
136
|
-
background: {
|
|
137
|
-
standard: '',
|
|
138
|
-
mild: '',
|
|
139
|
-
strong: '',
|
|
140
|
-
},
|
|
141
|
-
foreground: '',
|
|
142
|
-
border: '',
|
|
143
|
-
},
|
|
144
|
-
neutral: {
|
|
145
|
-
background: {
|
|
146
|
-
standard: '',
|
|
147
|
-
mild: '',
|
|
148
|
-
strong: '',
|
|
149
|
-
},
|
|
150
|
-
foreground: '',
|
|
151
|
-
border: '',
|
|
152
|
-
},
|
|
153
|
-
success: {
|
|
154
|
-
background: {
|
|
155
|
-
standard: '',
|
|
156
|
-
mild: '',
|
|
157
|
-
strong: '',
|
|
158
|
-
},
|
|
159
|
-
foreground: '',
|
|
160
|
-
border: '',
|
|
161
|
-
},
|
|
162
|
-
information: {
|
|
163
|
-
background: {
|
|
164
|
-
standard: '',
|
|
165
|
-
mild: '',
|
|
166
|
-
strong: '',
|
|
167
|
-
},
|
|
168
|
-
foreground: '',
|
|
169
|
-
border: '',
|
|
170
|
-
},
|
|
115
|
+
foreground: '',
|
|
116
|
+
border: ''
|
|
117
|
+
},
|
|
118
|
+
secondary: {
|
|
119
|
+
background: {
|
|
120
|
+
standard: '',
|
|
121
|
+
mild: '',
|
|
122
|
+
strong: ''
|
|
171
123
|
},
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
},
|
|
181
|
-
border: {
|
|
182
|
-
width: {
|
|
183
|
-
none: '',
|
|
184
|
-
'1': '',
|
|
185
|
-
'2': '',
|
|
186
|
-
'3': '',
|
|
124
|
+
foreground: '',
|
|
125
|
+
border: ''
|
|
126
|
+
},
|
|
127
|
+
shine: {
|
|
128
|
+
background: {
|
|
129
|
+
standard: '',
|
|
130
|
+
mild: '',
|
|
131
|
+
strong: ''
|
|
187
132
|
},
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
133
|
+
foreground: '',
|
|
134
|
+
border: ''
|
|
135
|
+
},
|
|
136
|
+
danger: {
|
|
137
|
+
background: {
|
|
138
|
+
standard: '',
|
|
139
|
+
mild: '',
|
|
140
|
+
strong: ''
|
|
192
141
|
},
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
142
|
+
foreground: '',
|
|
143
|
+
border: ''
|
|
144
|
+
},
|
|
145
|
+
warning: {
|
|
146
|
+
background: {
|
|
147
|
+
standard: '',
|
|
148
|
+
mild: '',
|
|
149
|
+
strong: ''
|
|
199
150
|
},
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
fontSize: '',
|
|
209
|
-
lineHeight: '',
|
|
210
|
-
},
|
|
211
|
-
'3': {
|
|
212
|
-
fontSize: '',
|
|
213
|
-
lineHeight: '',
|
|
214
|
-
},
|
|
215
|
-
'4': {
|
|
216
|
-
fontSize: '',
|
|
217
|
-
lineHeight: '',
|
|
218
|
-
},
|
|
219
|
-
'5': {
|
|
220
|
-
fontSize: '',
|
|
221
|
-
lineHeight: '',
|
|
222
|
-
},
|
|
223
|
-
'6': {
|
|
224
|
-
fontSize: '',
|
|
225
|
-
lineHeight: '',
|
|
226
|
-
},
|
|
227
|
-
'7': {
|
|
228
|
-
fontSize: '',
|
|
229
|
-
lineHeight: '',
|
|
230
|
-
},
|
|
231
|
-
'8': {
|
|
232
|
-
fontSize: '',
|
|
233
|
-
lineHeight: '',
|
|
234
|
-
},
|
|
235
|
-
'9': {
|
|
236
|
-
fontSize: '',
|
|
237
|
-
lineHeight: '',
|
|
238
|
-
},
|
|
151
|
+
foreground: '',
|
|
152
|
+
border: ''
|
|
153
|
+
},
|
|
154
|
+
neutral: {
|
|
155
|
+
background: {
|
|
156
|
+
standard: '',
|
|
157
|
+
mild: '',
|
|
158
|
+
strong: ''
|
|
239
159
|
},
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
neutral: '',
|
|
249
|
-
light: '',
|
|
250
|
-
danger: '',
|
|
251
|
-
warning: '',
|
|
252
|
-
success: '',
|
|
253
|
-
information: '',
|
|
160
|
+
foreground: '',
|
|
161
|
+
border: ''
|
|
162
|
+
},
|
|
163
|
+
success: {
|
|
164
|
+
background: {
|
|
165
|
+
standard: '',
|
|
166
|
+
mild: '',
|
|
167
|
+
strong: ''
|
|
254
168
|
},
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
169
|
+
foreground: '',
|
|
170
|
+
border: ''
|
|
171
|
+
},
|
|
172
|
+
information: {
|
|
173
|
+
background: {
|
|
174
|
+
standard: '',
|
|
175
|
+
mild: '',
|
|
176
|
+
strong: ''
|
|
259
177
|
},
|
|
178
|
+
foreground: '',
|
|
179
|
+
border: ''
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
elevation: {
|
|
184
|
+
none: '',
|
|
185
|
+
'1': '',
|
|
186
|
+
'2': '',
|
|
187
|
+
'3': '',
|
|
188
|
+
'4': '',
|
|
189
|
+
'5': ''
|
|
190
|
+
},
|
|
191
|
+
border: {
|
|
192
|
+
width: {
|
|
193
|
+
none: '',
|
|
194
|
+
'1': '',
|
|
195
|
+
'2': '',
|
|
196
|
+
'3': ''
|
|
260
197
|
},
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
accelerate: '',
|
|
266
|
-
},
|
|
198
|
+
colours: {
|
|
199
|
+
light: '',
|
|
200
|
+
gray: '',
|
|
201
|
+
dark: ''
|
|
267
202
|
},
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
203
|
+
radius: {
|
|
204
|
+
none: '',
|
|
205
|
+
pill: '',
|
|
206
|
+
full: '',
|
|
207
|
+
'1': '',
|
|
208
|
+
min: ''
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
typography: {
|
|
212
|
+
size: {
|
|
213
|
+
'1': {
|
|
214
|
+
fontSize: '',
|
|
215
|
+
lineHeight: ''
|
|
216
|
+
},
|
|
217
|
+
'2': {
|
|
218
|
+
fontSize: '',
|
|
219
|
+
lineHeight: ''
|
|
220
|
+
},
|
|
221
|
+
'3': {
|
|
222
|
+
fontSize: '',
|
|
223
|
+
lineHeight: ''
|
|
224
|
+
},
|
|
225
|
+
'4': {
|
|
226
|
+
fontSize: '',
|
|
227
|
+
lineHeight: ''
|
|
228
|
+
},
|
|
229
|
+
'5': {
|
|
230
|
+
fontSize: '',
|
|
231
|
+
lineHeight: ''
|
|
232
|
+
},
|
|
233
|
+
'6': {
|
|
234
|
+
fontSize: '',
|
|
235
|
+
lineHeight: ''
|
|
236
|
+
},
|
|
237
|
+
'7': {
|
|
238
|
+
fontSize: '',
|
|
239
|
+
lineHeight: ''
|
|
240
|
+
},
|
|
241
|
+
'8': {
|
|
242
|
+
fontSize: '',
|
|
243
|
+
lineHeight: ''
|
|
244
|
+
},
|
|
245
|
+
'9': {
|
|
246
|
+
fontSize: '',
|
|
247
|
+
lineHeight: ''
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
colour: {
|
|
251
|
+
primary: '',
|
|
252
|
+
secondary: '',
|
|
253
|
+
shine: '',
|
|
254
|
+
link: '',
|
|
255
|
+
dark: '',
|
|
256
|
+
white: '',
|
|
257
|
+
muted: '',
|
|
258
|
+
neutral: '',
|
|
259
|
+
light: '',
|
|
260
|
+
danger: '',
|
|
261
|
+
warning: '',
|
|
262
|
+
success: '',
|
|
263
|
+
information: ''
|
|
274
264
|
},
|
|
265
|
+
fontWeight: {
|
|
266
|
+
normal: '',
|
|
267
|
+
semiBold: '',
|
|
268
|
+
bold: ''
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
animation: {
|
|
272
|
+
easing: {
|
|
273
|
+
standard: '',
|
|
274
|
+
decelerate: '',
|
|
275
|
+
accelerate: ''
|
|
276
|
+
}
|
|
277
|
+
},
|
|
278
|
+
icon: {
|
|
279
|
+
size: {
|
|
280
|
+
small: '',
|
|
281
|
+
medium: '',
|
|
282
|
+
large: ''
|
|
283
|
+
}
|
|
284
|
+
}
|
|
275
285
|
});
|
|
276
286
|
export const container = style({
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
});
|
|
287
|
+
boxSizing: 'border-box',
|
|
288
|
+
font: '400 16px/22px AvertaStandard, system-ui, sans-serif'
|
|
289
|
+
}, "container");
|
|
290
|
+
|
|
291
|
+
__vanilla_filescope__.endFileScope();
|
package/dist/themes/tokens.js
CHANGED