@pingux/astro 2.143.0-alpha.0 → 2.143.0-alpha.1
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/lib/cjs/components/AccordionGridGroup/AccordionGrid.styles.js +1 -2
- package/lib/cjs/components/AccordionGridGroup/AccordionGridGroup.stories.js +86 -5
- package/lib/cjs/components/AccordionGridItem/AccordionGridItemHeader.js +7 -5
- package/lib/cjs/components/AccordionGroup/AccordionGroup.js +5 -3
- package/lib/cjs/components/AccordionGroup/AccordionGroup.stories.js +3 -6
- package/lib/cjs/components/AccordionItem/AccordionItem.js +8 -4
- package/lib/cjs/components/AstroProvider/AstroProvider.js +3 -3
- package/lib/cjs/components/Breadcrumbs/Breadcrumbs.js +6 -2
- package/lib/cjs/components/Button/Button.stories.js +6 -3
- package/lib/cjs/components/Button/Buttons.styles.d.ts +40 -0
- package/lib/cjs/components/Button/Buttons.styles.js +2 -0
- package/lib/cjs/components/CollapsiblePanel/CollapsiblePanel.stories.js +5 -1
- package/lib/cjs/components/CopyText/CopyButton.js +4 -1
- package/lib/cjs/components/CopyText/CopyText.js +2 -1
- package/lib/cjs/components/GridList/GridList.stories.js +0 -1
- package/lib/cjs/components/Icon/Icon.js +2 -1
- package/lib/cjs/components/Icon/Icon.stories.js +1 -1
- package/lib/cjs/components/IconBadge/IconBadge.js +4 -4
- package/lib/cjs/components/IconBadge/IconBadge.stories.js +2 -2
- package/lib/cjs/components/Input/Input.styles.js +3 -0
- package/lib/cjs/components/ListView/ListView.stories.js +27 -10
- package/lib/cjs/components/ListView/ListViewItem.js +1 -1
- package/lib/cjs/components/Loader/Loader.js +71 -5
- package/lib/cjs/components/Loader/Loader.stories.js +17 -2
- package/lib/cjs/components/Loader/Loader.styles.d.ts +7 -0
- package/lib/cjs/components/Loader/Loader.styles.js +11 -1
- package/lib/cjs/components/MultivaluesField/CondensedMultivaluesField.js +6 -4
- package/lib/cjs/components/MultivaluesField/DefaultMultivaluesField.js +26 -15
- package/lib/cjs/components/PageHeader/PageHeader.js +5 -2
- package/lib/cjs/components/PanelHeader/PanelHeader.js +43 -10
- package/lib/cjs/components/PanelHeader/PanelHeader.stories.js +9 -4
- package/lib/cjs/components/PanelHeader/PanelHeader.styles.js +5 -0
- package/lib/cjs/components/PanelHeader/PanelHeader.test.js +22 -0
- package/lib/cjs/components/RequirementsList/RequirementsList.js +11 -8
- package/lib/cjs/components/Stepper/Step.js +1 -1
- package/lib/cjs/components/Stepper/Stepper.styles.js +1 -0
- package/lib/cjs/components/Switch/Switch.js +12 -2
- package/lib/cjs/components/Switch/Switch.styles.js +1 -1
- package/lib/cjs/components/SwitchField/SwitchField.js +7 -2
- package/lib/cjs/components/Tabs/Tabs.stories.js +23 -7
- package/lib/cjs/components/Text/Text.stories.d.ts +1 -0
- package/lib/cjs/components/Text/Text.stories.js +354 -1
- package/lib/cjs/components/Text/Text.styles.d.ts +10 -0
- package/lib/cjs/components/Text/Text.styles.js +5 -0
- package/lib/cjs/components/TextField/TextField.stories.js +12 -2
- package/lib/cjs/hooks/useCircularLoader/useCircularLoader.d.ts +23 -0
- package/lib/cjs/hooks/useCircularLoader/useCircularLoader.js +80 -0
- package/lib/cjs/hooks/useCircularLoader/useCircularLoader.test.d.ts +1 -0
- package/lib/cjs/hooks/useCircularLoader/useCircularLoader.test.js +136 -0
- package/lib/cjs/hooks/useField/useField.d.ts +6 -6
- package/lib/cjs/hooks/useGetTheme/useGetTheme.d.ts +75 -0
- package/lib/cjs/hooks/usePagination/usePagination.d.ts +4 -4
- package/lib/cjs/styles/colors.d.ts +6 -0
- package/lib/cjs/styles/colors.js +4 -1
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/colors.d.ts +36 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/colors.js +23 -2
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/customProperties/icons.d.ts +5 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/customProperties/index.d.ts +17 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/customProperties/index.js +7 -1
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/buttons.d.ts +66 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/buttons.js +18 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/forms.d.ts +15 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/forms.js +18 -1
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/input.d.ts +0 -8
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/input.js +9 -9
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/links.d.ts +14 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/links.js +15 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.d.ts +5 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.js +5 -0
- package/lib/cjs/styles/themes/astro/customProperties/icons.d.ts +5 -0
- package/lib/cjs/styles/themes/astro/customProperties/icons.js +11 -4
- package/lib/cjs/styles/themes/astro/customProperties/index.d.ts +18 -0
- package/lib/cjs/styles/themes/astro/customProperties/index.js +26 -1
- package/lib/cjs/styles/themes/next-gen/codeView/codeView.d.ts +2 -0
- package/lib/cjs/styles/themes/next-gen/codeView/codeView.js +4 -2
- package/lib/cjs/styles/themes/next-gen/colors/colors.d.ts +37 -0
- package/lib/cjs/styles/themes/next-gen/colors/colors.js +5 -2
- package/lib/cjs/styles/themes/next-gen/colors/iconWrapper.js +14 -35
- package/lib/cjs/styles/themes/next-gen/colors/twoTone.d.ts +37 -0
- package/lib/cjs/styles/themes/next-gen/colors/twoTone.js +46 -0
- package/lib/cjs/styles/themes/next-gen/convertedComponentList.d.ts +4 -1
- package/lib/cjs/styles/themes/next-gen/convertedComponentList.js +6 -3
- package/lib/cjs/styles/themes/next-gen/customProperties/customSizes.d.ts +10 -0
- package/lib/cjs/styles/themes/next-gen/customProperties/customSizes.js +22 -0
- package/lib/cjs/styles/themes/next-gen/customProperties/icons.d.ts +5 -0
- package/lib/cjs/styles/themes/next-gen/customProperties/icons.js +10 -3
- package/lib/cjs/styles/themes/next-gen/customProperties/index.d.ts +17 -0
- package/lib/cjs/styles/themes/next-gen/customProperties/index.js +26 -4
- package/lib/cjs/styles/themes/next-gen/customProperties/tShirtSizes.js +4 -4
- package/lib/cjs/styles/themes/next-gen/forms.d.ts +42 -0
- package/lib/cjs/styles/themes/next-gen/forms.js +5 -0
- package/lib/cjs/styles/themes/next-gen/next-gen.d.ts +1151 -857
- package/lib/cjs/styles/themes/next-gen/next-gen.js +1 -1
- package/lib/cjs/styles/themes/next-gen/text.js +2 -2
- package/lib/cjs/styles/themes/next-gen/variants/accordion.d.ts +16 -0
- package/lib/cjs/styles/themes/next-gen/variants/accordion.js +26 -0
- package/lib/cjs/styles/themes/next-gen/variants/badges.d.ts +0 -17
- package/lib/cjs/styles/themes/next-gen/variants/badges.js +1 -3
- package/lib/cjs/styles/themes/next-gen/variants/button.d.ts +151 -105
- package/lib/cjs/styles/themes/next-gen/variants/button.js +38 -7
- package/lib/cjs/styles/themes/next-gen/variants/cards.js +1 -1
- package/lib/cjs/styles/themes/next-gen/variants/input.js +16 -5
- package/lib/cjs/styles/themes/next-gen/variants/label.js +5 -3
- package/lib/cjs/styles/themes/next-gen/variants/links.d.ts +4 -2
- package/lib/cjs/styles/themes/next-gen/variants/listview.js +1 -1
- package/lib/cjs/styles/themes/next-gen/variants/panelHeader.d.ts +16 -0
- package/lib/cjs/styles/themes/next-gen/variants/panelHeader.js +26 -0
- package/lib/cjs/styles/themes/next-gen/variants/stepper.d.ts +66 -0
- package/lib/cjs/styles/themes/next-gen/variants/stepper.js +74 -0
- package/lib/cjs/styles/themes/next-gen/variants/switch.d.ts +36 -0
- package/lib/cjs/styles/themes/next-gen/variants/switch.js +44 -0
- package/lib/cjs/styles/themes/next-gen/variants/text.d.ts +62 -0
- package/lib/cjs/styles/themes/next-gen/variants/text.js +67 -7
- package/lib/cjs/styles/themes/next-gen/variants/variants.d.ts +900 -743
- package/lib/cjs/styles/themes/next-gen/variants/variants.js +88 -38
- package/lib/cjs/types/loader.d.ts +5 -2
- package/lib/cjs/types/shared/style.d.ts +2 -0
- package/lib/components/AccordionGridGroup/AccordionGrid.styles.js +1 -2
- package/lib/components/AccordionGridGroup/AccordionGridGroup.stories.js +86 -5
- package/lib/components/AccordionGridItem/AccordionGridItemHeader.js +6 -4
- package/lib/components/AccordionGroup/AccordionGroup.js +5 -3
- package/lib/components/AccordionGroup/AccordionGroup.stories.js +3 -6
- package/lib/components/AccordionItem/AccordionItem.js +8 -4
- package/lib/components/AstroProvider/AstroProvider.js +3 -3
- package/lib/components/Breadcrumbs/Breadcrumbs.js +7 -3
- package/lib/components/Button/Button.stories.js +4 -1
- package/lib/components/Button/Buttons.styles.js +2 -0
- package/lib/components/CollapsiblePanel/CollapsiblePanel.stories.js +5 -1
- package/lib/components/CopyText/CopyButton.js +4 -1
- package/lib/components/CopyText/CopyText.js +2 -1
- package/lib/components/GridList/GridList.stories.js +0 -1
- package/lib/components/Icon/Icon.js +2 -1
- package/lib/components/Icon/Icon.stories.js +1 -1
- package/lib/components/IconBadge/IconBadge.js +4 -4
- package/lib/components/IconBadge/IconBadge.stories.js +2 -2
- package/lib/components/Input/Input.styles.js +3 -0
- package/lib/components/ListView/ListView.stories.js +28 -11
- package/lib/components/ListView/ListViewItem.js +1 -1
- package/lib/components/Loader/Loader.js +71 -3
- package/lib/components/Loader/Loader.stories.js +13 -0
- package/lib/components/Loader/Loader.styles.js +11 -1
- package/lib/components/MultivaluesField/CondensedMultivaluesField.js +6 -4
- package/lib/components/MultivaluesField/DefaultMultivaluesField.js +27 -16
- package/lib/components/PageHeader/PageHeader.js +5 -2
- package/lib/components/PanelHeader/PanelHeader.js +44 -11
- package/lib/components/PanelHeader/PanelHeader.stories.js +9 -4
- package/lib/components/PanelHeader/PanelHeader.styles.js +5 -0
- package/lib/components/PanelHeader/PanelHeader.test.js +23 -1
- package/lib/components/RequirementsList/RequirementsList.js +7 -4
- package/lib/components/Stepper/Step.js +1 -1
- package/lib/components/Stepper/Stepper.styles.js +1 -0
- package/lib/components/Switch/Switch.js +12 -2
- package/lib/components/Switch/Switch.styles.js +1 -1
- package/lib/components/SwitchField/SwitchField.js +7 -2
- package/lib/components/Tabs/Tabs.stories.js +23 -7
- package/lib/components/Text/Text.stories.js +352 -0
- package/lib/components/Text/Text.styles.js +5 -0
- package/lib/components/TextField/TextField.stories.js +12 -2
- package/lib/hooks/useCircularLoader/useCircularLoader.js +71 -0
- package/lib/hooks/useCircularLoader/useCircularLoader.test.js +129 -0
- package/lib/styles/colors.js +4 -1
- package/lib/styles/themeOverrides/nextGenDarkMode/colors.js +23 -2
- package/lib/styles/themeOverrides/nextGenDarkMode/customProperties/index.js +7 -1
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/buttons.js +18 -0
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/forms.js +18 -1
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/input.js +9 -9
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/links.js +15 -0
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/variants.js +5 -0
- package/lib/styles/themes/astro/customProperties/icons.js +12 -5
- package/lib/styles/themes/astro/customProperties/index.js +26 -1
- package/lib/styles/themes/next-gen/codeView/codeView.js +4 -2
- package/lib/styles/themes/next-gen/colors/colors.js +5 -2
- package/lib/styles/themes/next-gen/colors/iconWrapper.js +14 -35
- package/lib/styles/themes/next-gen/colors/twoTone.js +38 -0
- package/lib/styles/themes/next-gen/convertedComponentList.js +6 -3
- package/lib/styles/themes/next-gen/customProperties/customSizes.js +14 -0
- package/lib/styles/themes/next-gen/customProperties/icons.js +10 -3
- package/lib/styles/themes/next-gen/customProperties/index.js +26 -2
- package/lib/styles/themes/next-gen/customProperties/tShirtSizes.js +4 -4
- package/lib/styles/themes/next-gen/forms.js +5 -0
- package/lib/styles/themes/next-gen/next-gen.js +1 -1
- package/lib/styles/themes/next-gen/text.js +2 -2
- package/lib/styles/themes/next-gen/variants/accordion.js +18 -0
- package/lib/styles/themes/next-gen/variants/badges.js +1 -3
- package/lib/styles/themes/next-gen/variants/button.js +38 -7
- package/lib/styles/themes/next-gen/variants/cards.js +1 -1
- package/lib/styles/themes/next-gen/variants/input.js +16 -5
- package/lib/styles/themes/next-gen/variants/label.js +5 -3
- package/lib/styles/themes/next-gen/variants/listview.js +1 -1
- package/lib/styles/themes/next-gen/variants/panelHeader.js +18 -0
- package/lib/styles/themes/next-gen/variants/stepper.js +66 -0
- package/lib/styles/themes/next-gen/variants/switch.js +36 -0
- package/lib/styles/themes/next-gen/variants/text.js +67 -7
- package/lib/styles/themes/next-gen/variants/variants.js +82 -37
- package/package.json +1 -1
@@ -113,14 +113,14 @@ var fieldControlWrapper = {
|
|
113
113
|
},
|
114
114
|
'&.is-read-only': {
|
115
115
|
'> input': {
|
116
|
-
backgroundColor: '
|
116
|
+
backgroundColor: 'disabled',
|
117
117
|
border: '1px solid',
|
118
|
-
borderColor: 'border.input
|
118
|
+
borderColor: 'border.input'
|
119
119
|
},
|
120
120
|
'> textarea': {
|
121
|
-
backgroundColor: '
|
121
|
+
backgroundColor: 'disabled',
|
122
122
|
border: '1px solid',
|
123
|
-
borderColor: 'border.input
|
123
|
+
borderColor: 'border.input'
|
124
124
|
},
|
125
125
|
'&:after': {
|
126
126
|
display: 'none'
|
@@ -144,7 +144,6 @@ input.promptInputWrapper = _objectSpread(_objectSpread({}, fieldControlWrapper),
|
|
144
144
|
}
|
145
145
|
});
|
146
146
|
input.multivaluesWrapper = _objectSpread(_objectSpread({}, fieldControlWrapper), {}, {
|
147
|
-
borderColor: 'border.input',
|
148
147
|
borderStyle: 'solid',
|
149
148
|
borderWidth: 1,
|
150
149
|
flexDirection: 'row !important',
|
@@ -170,6 +169,18 @@ input.multivaluesWrapper = _objectSpread(_objectSpread({}, fieldControlWrapper),
|
|
170
169
|
'&.is-focused': _objectSpread({}, defaultFocus),
|
171
170
|
'&.is-error': {
|
172
171
|
borderColor: 'critical.dark'
|
172
|
+
},
|
173
|
+
'&.is-read-only': {
|
174
|
+
alignItems: 'center',
|
175
|
+
boxShadow: 'inset 0 0 0 100px #F6F8FA',
|
176
|
+
border: '1px solid',
|
177
|
+
borderColor: 'gray-900',
|
178
|
+
'> input': {
|
179
|
+
backgroundColor: 'background.secondary'
|
180
|
+
},
|
181
|
+
'&:after': {
|
182
|
+
display: 'none'
|
183
|
+
}
|
173
184
|
}
|
174
185
|
});
|
175
186
|
input.numberField = _objectSpread(_objectSpread({}, input), {}, {
|
@@ -7,7 +7,7 @@ _Object$defineProperty(exports, "__esModule", {
|
|
7
7
|
exports.label = void 0;
|
8
8
|
var label = {
|
9
9
|
color: 'text.primary',
|
10
|
-
fontSize: '
|
10
|
+
fontSize: 'md',
|
11
11
|
'&.is-float-label': {
|
12
12
|
fontSize: 'md',
|
13
13
|
fontWeight: 1,
|
@@ -19,7 +19,7 @@ var label = {
|
|
19
19
|
},
|
20
20
|
opacity: 1,
|
21
21
|
checkbox: {
|
22
|
-
fontSize: '
|
22
|
+
fontSize: 'md',
|
23
23
|
display: 'inline-flex !important',
|
24
24
|
div: {
|
25
25
|
flexShrink: 0
|
@@ -29,7 +29,9 @@ var label = {
|
|
29
29
|
cursor: 'pointer'
|
30
30
|
},
|
31
31
|
radioGroup: {
|
32
|
-
|
32
|
+
color: 'text.primary',
|
33
|
+
fontSize: 'md',
|
34
|
+
mb: 'md'
|
33
35
|
}
|
34
36
|
};
|
35
37
|
exports.label = label;
|
@@ -171,13 +171,13 @@ declare const _default: {
|
|
171
171
|
};
|
172
172
|
alignItems: string;
|
173
173
|
justifyContent: string;
|
174
|
+
flexShrink: number;
|
174
175
|
minWidth: string;
|
175
176
|
cursor: string;
|
176
177
|
display: string;
|
177
178
|
maxWidth: string;
|
178
179
|
fontFamily: string;
|
179
180
|
fontSize: string;
|
180
|
-
flexGrow: string;
|
181
181
|
fontWeight: number;
|
182
182
|
textAlign: string;
|
183
183
|
verticalAlign: string;
|
@@ -186,6 +186,7 @@ declare const _default: {
|
|
186
186
|
border: string;
|
187
187
|
px: string;
|
188
188
|
py: string;
|
189
|
+
maxHeight: string;
|
189
190
|
height: string;
|
190
191
|
'&.is-disabled': {
|
191
192
|
opacity: number;
|
@@ -218,13 +219,13 @@ declare const _default: {
|
|
218
219
|
};
|
219
220
|
alignItems: string;
|
220
221
|
justifyContent: string;
|
222
|
+
flexShrink: number;
|
221
223
|
minWidth: string;
|
222
224
|
cursor: string;
|
223
225
|
display: string;
|
224
226
|
maxWidth: string;
|
225
227
|
fontFamily: string;
|
226
228
|
fontSize: string;
|
227
|
-
flexGrow: string;
|
228
229
|
fontWeight: number;
|
229
230
|
textAlign: string;
|
230
231
|
verticalAlign: string;
|
@@ -233,6 +234,7 @@ declare const _default: {
|
|
233
234
|
border: string;
|
234
235
|
px: string;
|
235
236
|
py: string;
|
237
|
+
maxHeight: string;
|
236
238
|
height: string;
|
237
239
|
'&.is-disabled': {
|
238
240
|
opacity: number;
|
@@ -0,0 +1,26 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
|
4
|
+
_Object$defineProperty(exports, "__esModule", {
|
5
|
+
value: true
|
6
|
+
});
|
7
|
+
exports["default"] = void 0;
|
8
|
+
var container = {
|
9
|
+
bg: 'background.base',
|
10
|
+
border: 'none',
|
11
|
+
minHeight: 72,
|
12
|
+
maxHeight: 72
|
13
|
+
};
|
14
|
+
var controls = {
|
15
|
+
alignSelf: 'start',
|
16
|
+
pt: 'xs'
|
17
|
+
};
|
18
|
+
var wrapper = {
|
19
|
+
mr: 'md'
|
20
|
+
};
|
21
|
+
var _default = {
|
22
|
+
container: container,
|
23
|
+
controls: controls,
|
24
|
+
wrapper: wrapper
|
25
|
+
};
|
26
|
+
exports["default"] = _default;
|
@@ -0,0 +1,66 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
tab: {
|
3
|
+
mr: string;
|
4
|
+
};
|
5
|
+
line: {
|
6
|
+
mr: string;
|
7
|
+
borderBottomWidth: string;
|
8
|
+
borderBottomColor: string;
|
9
|
+
'&.is-inactive': {
|
10
|
+
borderBottomStyle: string;
|
11
|
+
borderBottomColor: string;
|
12
|
+
};
|
13
|
+
};
|
14
|
+
step: {
|
15
|
+
active: {
|
16
|
+
'&:before': {
|
17
|
+
content: string;
|
18
|
+
height: string;
|
19
|
+
width: string;
|
20
|
+
top: number;
|
21
|
+
left: number;
|
22
|
+
position: string;
|
23
|
+
borderRadius: string;
|
24
|
+
borderStyle: string;
|
25
|
+
borderColor: string;
|
26
|
+
borderWidth: string;
|
27
|
+
};
|
28
|
+
borderWidth: string;
|
29
|
+
width: number;
|
30
|
+
height: number;
|
31
|
+
minWidth: number;
|
32
|
+
minHeight: number;
|
33
|
+
position: string;
|
34
|
+
fontWeight: number;
|
35
|
+
fontSize: string;
|
36
|
+
backgroundColor: string;
|
37
|
+
borderColor: string;
|
38
|
+
color: string;
|
39
|
+
};
|
40
|
+
completed: {
|
41
|
+
borderColor: string;
|
42
|
+
borderWidth: string;
|
43
|
+
width: number;
|
44
|
+
height: number;
|
45
|
+
minWidth: number;
|
46
|
+
minHeight: number;
|
47
|
+
position: string;
|
48
|
+
fontWeight: number;
|
49
|
+
fontSize: string;
|
50
|
+
};
|
51
|
+
inactive: {
|
52
|
+
borderWidth: string;
|
53
|
+
width: number;
|
54
|
+
height: number;
|
55
|
+
minWidth: number;
|
56
|
+
minHeight: number;
|
57
|
+
position: string;
|
58
|
+
fontWeight: number;
|
59
|
+
fontSize: string;
|
60
|
+
backgroundColor: string;
|
61
|
+
borderColor: string;
|
62
|
+
color: string;
|
63
|
+
};
|
64
|
+
};
|
65
|
+
};
|
66
|
+
export default _default;
|
@@ -0,0 +1,74 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _Object$keys = require("@babel/runtime-corejs3/core-js-stable/object/keys");
|
4
|
+
var _Object$getOwnPropertySymbols = require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols");
|
5
|
+
var _filterInstanceProperty = require("@babel/runtime-corejs3/core-js-stable/instance/filter");
|
6
|
+
var _Object$getOwnPropertyDescriptor = require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor");
|
7
|
+
var _forEachInstanceProperty = require("@babel/runtime-corejs3/core-js-stable/instance/for-each");
|
8
|
+
var _Object$getOwnPropertyDescriptors = require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors");
|
9
|
+
var _Object$defineProperties = require("@babel/runtime-corejs3/core-js-stable/object/define-properties");
|
10
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
|
11
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
12
|
+
_Object$defineProperty(exports, "__esModule", {
|
13
|
+
value: true
|
14
|
+
});
|
15
|
+
exports["default"] = void 0;
|
16
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/defineProperty"));
|
17
|
+
function ownKeys(object, enumerableOnly) { var keys = _Object$keys(object); if (_Object$getOwnPropertySymbols) { var symbols = _Object$getOwnPropertySymbols(object); enumerableOnly && (symbols = _filterInstanceProperty(symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
18
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var _context, _context2; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty(_context = ownKeys(Object(source), !0)).call(_context, function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)) : _forEachInstanceProperty(_context2 = ownKeys(Object(source))).call(_context2, function (key) { _Object$defineProperty(target, key, _Object$getOwnPropertyDescriptor(source, key)); }); } return target; }
|
19
|
+
var line = {
|
20
|
+
mr: 'xs',
|
21
|
+
borderBottomWidth: '2px',
|
22
|
+
borderBottomColor: 'active',
|
23
|
+
'&.is-inactive': {
|
24
|
+
borderBottomStyle: 'solid',
|
25
|
+
borderBottomColor: 'blue-200'
|
26
|
+
}
|
27
|
+
};
|
28
|
+
var stepBase = {
|
29
|
+
borderWidth: '2px',
|
30
|
+
width: 32,
|
31
|
+
height: 32,
|
32
|
+
minWidth: 32,
|
33
|
+
minHeight: 32,
|
34
|
+
position: 'relative',
|
35
|
+
fontWeight: 2,
|
36
|
+
fontSize: 'md'
|
37
|
+
};
|
38
|
+
var tab = {
|
39
|
+
mr: 'xs'
|
40
|
+
};
|
41
|
+
var step = {
|
42
|
+
active: _objectSpread(_objectSpread({
|
43
|
+
backgroundColor: 'active',
|
44
|
+
borderColor: 'active',
|
45
|
+
color: 'background.base'
|
46
|
+
}, stepBase), {}, {
|
47
|
+
'&:before': {
|
48
|
+
content: '""',
|
49
|
+
height: '24px',
|
50
|
+
width: '24px',
|
51
|
+
top: 0,
|
52
|
+
left: 0,
|
53
|
+
position: 'absolute',
|
54
|
+
borderRadius: '100%',
|
55
|
+
borderStyle: 'solid',
|
56
|
+
borderColor: 'background.base',
|
57
|
+
borderWidth: '2px'
|
58
|
+
}
|
59
|
+
}),
|
60
|
+
completed: _objectSpread(_objectSpread({}, stepBase), {}, {
|
61
|
+
borderColor: 'active'
|
62
|
+
}),
|
63
|
+
inactive: _objectSpread({
|
64
|
+
backgroundColor: 'background.base',
|
65
|
+
borderColor: 'blue-200',
|
66
|
+
color: 'active'
|
67
|
+
}, stepBase)
|
68
|
+
};
|
69
|
+
var _default = {
|
70
|
+
tab: tab,
|
71
|
+
line: line,
|
72
|
+
step: step
|
73
|
+
};
|
74
|
+
exports["default"] = _default;
|
@@ -0,0 +1,36 @@
|
|
1
|
+
export declare const switchable: {
|
2
|
+
container: {
|
3
|
+
minWidth: string;
|
4
|
+
color: string;
|
5
|
+
bg: string;
|
6
|
+
border: string;
|
7
|
+
borderColor: string;
|
8
|
+
borderRadius: number;
|
9
|
+
'&.is-selected': {
|
10
|
+
bg: string;
|
11
|
+
borderColor: string;
|
12
|
+
};
|
13
|
+
};
|
14
|
+
thumbContainer: {
|
15
|
+
bg: string;
|
16
|
+
border: string;
|
17
|
+
maxWidth: number;
|
18
|
+
height: number;
|
19
|
+
py: string;
|
20
|
+
px: string;
|
21
|
+
'label.is-selected &': {
|
22
|
+
bg: string;
|
23
|
+
};
|
24
|
+
};
|
25
|
+
thumb: {
|
26
|
+
bg: string;
|
27
|
+
minHeight: number;
|
28
|
+
maxHeight: number;
|
29
|
+
width: number;
|
30
|
+
border: string;
|
31
|
+
'&.is-selected': {
|
32
|
+
bg: string;
|
33
|
+
transform: string;
|
34
|
+
};
|
35
|
+
};
|
36
|
+
};
|
@@ -0,0 +1,44 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
|
4
|
+
_Object$defineProperty(exports, "__esModule", {
|
5
|
+
value: true
|
6
|
+
});
|
7
|
+
exports.switchable = void 0;
|
8
|
+
var switchable = {
|
9
|
+
container: {
|
10
|
+
minWidth: '32px',
|
11
|
+
color: 'neutral.80',
|
12
|
+
bg: 'backgorund.base',
|
13
|
+
border: '1px solid',
|
14
|
+
borderColor: 'neutral.80',
|
15
|
+
borderRadius: 9999,
|
16
|
+
'&.is-selected': {
|
17
|
+
bg: 'active',
|
18
|
+
borderColor: 'active'
|
19
|
+
}
|
20
|
+
},
|
21
|
+
thumbContainer: {
|
22
|
+
bg: 'transparent',
|
23
|
+
border: 'none',
|
24
|
+
maxWidth: 24,
|
25
|
+
height: 16,
|
26
|
+
py: '3px',
|
27
|
+
px: '3px',
|
28
|
+
'label.is-selected &': {
|
29
|
+
bg: 'transparent'
|
30
|
+
}
|
31
|
+
},
|
32
|
+
thumb: {
|
33
|
+
bg: 'gray-500',
|
34
|
+
minHeight: 10,
|
35
|
+
maxHeight: 10,
|
36
|
+
width: 10,
|
37
|
+
border: 'none',
|
38
|
+
'&.is-selected': {
|
39
|
+
bg: 'white',
|
40
|
+
transform: 'translateX(15px)'
|
41
|
+
}
|
42
|
+
}
|
43
|
+
};
|
44
|
+
exports.switchable = switchable;
|
@@ -5,6 +5,15 @@ export declare const text: {
|
|
5
5
|
fontSize: string;
|
6
6
|
fontWeight: number;
|
7
7
|
};
|
8
|
+
panelHeaderText: {
|
9
|
+
textOverflow: string;
|
10
|
+
overflow: string;
|
11
|
+
whiteSpace: string;
|
12
|
+
fontSize: string;
|
13
|
+
fontWeight: number;
|
14
|
+
color: string;
|
15
|
+
fontFamily: string;
|
16
|
+
};
|
8
17
|
messagesText: {
|
9
18
|
'&.is-success, &.is-warning, &.is-error, &.is-default': {
|
10
19
|
color: string;
|
@@ -15,6 +24,44 @@ export declare const text: {
|
|
15
24
|
};
|
16
25
|
};
|
17
26
|
};
|
27
|
+
H1: {
|
28
|
+
fontSize: string;
|
29
|
+
fontWeight: number;
|
30
|
+
color: string;
|
31
|
+
fontFamily: string;
|
32
|
+
};
|
33
|
+
H2: {
|
34
|
+
fontSize: string;
|
35
|
+
fontWeight: number;
|
36
|
+
color: string;
|
37
|
+
fontFamily: string;
|
38
|
+
};
|
39
|
+
H3: {
|
40
|
+
fontSize: string;
|
41
|
+
fontWeight: number;
|
42
|
+
color: string;
|
43
|
+
fontFamily: string;
|
44
|
+
};
|
45
|
+
H4: {
|
46
|
+
fontSize: string;
|
47
|
+
fontWeight: number;
|
48
|
+
color: string;
|
49
|
+
fontFamily: string;
|
50
|
+
};
|
51
|
+
H5: {
|
52
|
+
fontSize: string;
|
53
|
+
fontWeight: number;
|
54
|
+
color: string;
|
55
|
+
fontFamily: string;
|
56
|
+
};
|
57
|
+
H6: {
|
58
|
+
textTransform: string;
|
59
|
+
color: string;
|
60
|
+
fontFamily: string;
|
61
|
+
fontWeight: number;
|
62
|
+
fontSize: string;
|
63
|
+
letterSpacing: string;
|
64
|
+
};
|
18
65
|
h1: {
|
19
66
|
fontSize: string;
|
20
67
|
fontWeight: number;
|
@@ -51,6 +98,21 @@ export declare const text: {
|
|
51
98
|
fontFamily: string;
|
52
99
|
fontWeight: number;
|
53
100
|
fontSize: string;
|
101
|
+
letterSpacing: string;
|
102
|
+
};
|
103
|
+
base: {
|
104
|
+
lineHeight: string;
|
105
|
+
};
|
106
|
+
buttonSubtitle: {
|
107
|
+
fontSize: string;
|
108
|
+
fontWeight: number;
|
109
|
+
};
|
110
|
+
buttonTitle: {
|
111
|
+
fontSize: string;
|
112
|
+
};
|
113
|
+
pageHeaderBody: {
|
114
|
+
lineHeight: string;
|
115
|
+
color: string;
|
54
116
|
};
|
55
117
|
sideNavHeader: {
|
56
118
|
py: string;
|
@@ -17,45 +17,100 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs3/he
|
|
17
17
|
function ownKeys(object, enumerableOnly) { var keys = _Object$keys(object); if (_Object$getOwnPropertySymbols) { var symbols = _Object$getOwnPropertySymbols(object); enumerableOnly && (symbols = _filterInstanceProperty(symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
18
18
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var _context, _context2; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty(_context = ownKeys(Object(source), !0)).call(_context, function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)) : _forEachInstanceProperty(_context2 = ownKeys(Object(source))).call(_context2, function (key) { _Object$defineProperty(target, key, _Object$getOwnPropertyDescriptor(source, key)); }); } return target; }
|
19
19
|
var hTags = {
|
20
|
+
H1: {
|
21
|
+
fontSize: 'xxx',
|
22
|
+
fontWeight: 2,
|
23
|
+
color: 'text.primary',
|
24
|
+
fontFamily: 'standard'
|
25
|
+
},
|
26
|
+
H2: {
|
27
|
+
fontSize: 'xx',
|
28
|
+
fontWeight: 2,
|
29
|
+
color: 'text.primary',
|
30
|
+
fontFamily: 'standard'
|
31
|
+
},
|
32
|
+
H3: {
|
33
|
+
fontSize: 'xl',
|
34
|
+
fontWeight: 2,
|
35
|
+
color: 'text.primary',
|
36
|
+
fontFamily: 'standard'
|
37
|
+
},
|
38
|
+
H4: {
|
39
|
+
fontSize: 'lg',
|
40
|
+
fontWeight: 2,
|
41
|
+
color: 'text.primary',
|
42
|
+
fontFamily: 'standard'
|
43
|
+
},
|
44
|
+
H5: {
|
45
|
+
fontSize: 'md',
|
46
|
+
fontWeight: 2,
|
47
|
+
color: 'text.primary',
|
48
|
+
fontFamily: 'standard'
|
49
|
+
},
|
50
|
+
H6: {
|
51
|
+
textTransform: 'uppercase',
|
52
|
+
color: 'text.primary',
|
53
|
+
fontFamily: 'standard',
|
54
|
+
fontWeight: 1,
|
55
|
+
fontSize: 'xs',
|
56
|
+
letterSpacing: '1px'
|
57
|
+
},
|
20
58
|
h1: {
|
21
59
|
fontSize: 'xxx',
|
22
60
|
fontWeight: 2,
|
23
|
-
color: 'text.
|
61
|
+
color: 'text.primary',
|
24
62
|
fontFamily: 'standard'
|
25
63
|
},
|
26
64
|
h2: {
|
27
65
|
fontSize: 'xx',
|
28
66
|
fontWeight: 2,
|
29
|
-
color: 'text.
|
67
|
+
color: 'text.primary',
|
30
68
|
fontFamily: 'standard'
|
31
69
|
},
|
32
70
|
h3: {
|
33
71
|
fontSize: 'xl',
|
34
72
|
fontWeight: 2,
|
35
|
-
color: 'text.
|
73
|
+
color: 'text.primary',
|
36
74
|
fontFamily: 'standard'
|
37
75
|
},
|
38
76
|
h4: {
|
39
77
|
fontSize: 'lg',
|
40
78
|
fontWeight: 2,
|
41
|
-
color: 'text.
|
79
|
+
color: 'text.primary',
|
42
80
|
fontFamily: 'standard'
|
43
81
|
},
|
44
82
|
h5: {
|
45
83
|
fontSize: 'md',
|
46
84
|
fontWeight: 2,
|
47
|
-
color: 'text.
|
85
|
+
color: 'text.primary',
|
48
86
|
fontFamily: 'standard'
|
49
87
|
},
|
50
88
|
h6: {
|
51
89
|
textTransform: 'uppercase',
|
52
|
-
color: 'text.
|
90
|
+
color: 'text.primary',
|
53
91
|
fontFamily: 'standard',
|
54
92
|
fontWeight: 1,
|
55
|
-
fontSize: 'xs'
|
93
|
+
fontSize: 'xs',
|
94
|
+
letterSpacing: '1px'
|
56
95
|
}
|
57
96
|
};
|
97
|
+
var buttonTitle = {
|
98
|
+
fontSize: '13px'
|
99
|
+
};
|
100
|
+
var buttonSubtitle = {
|
101
|
+
fontSize: '13px',
|
102
|
+
fontWeight: 2
|
103
|
+
};
|
58
104
|
var text = _objectSpread(_objectSpread({
|
105
|
+
base: {
|
106
|
+
lineHeight: 'body'
|
107
|
+
},
|
108
|
+
buttonSubtitle: buttonSubtitle,
|
109
|
+
buttonTitle: buttonTitle,
|
110
|
+
pageHeaderBody: {
|
111
|
+
lineHeight: '150%',
|
112
|
+
color: 'text.primary'
|
113
|
+
},
|
59
114
|
sideNavHeader: {
|
60
115
|
py: 'sm',
|
61
116
|
lineHeight: 'body',
|
@@ -125,6 +180,11 @@ var text = _objectSpread(_objectSpread({
|
|
125
180
|
fontSize: 'lg',
|
126
181
|
fontWeight: 2
|
127
182
|
},
|
183
|
+
panelHeaderText: _objectSpread(_objectSpread({}, hTags.h4), {}, {
|
184
|
+
textOverflow: 'ellipsis',
|
185
|
+
overflow: 'hidden',
|
186
|
+
whiteSpace: 'nowrap'
|
187
|
+
}),
|
128
188
|
messagesText: {
|
129
189
|
'&.is-success, &.is-warning, &.is-error, &.is-default': {
|
130
190
|
color: 'gray-700',
|