@pingux/astro 2.149.2-alpha.1 → 2.150.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 -1
- package/lib/cjs/components/AstroProvider/AstroProvider.js +4 -4
- package/lib/cjs/components/Box/Box.stories.d.ts +1 -0
- package/lib/cjs/components/Box/Box.stories.js +18 -1
- package/lib/cjs/components/DataTable/stories/DataTableNextGenComponent.js +1 -1
- package/lib/cjs/components/Icon/Icon.js +2 -2
- package/lib/cjs/components/IconButton/IconButton.stories.js +18 -28
- package/lib/cjs/components/ListView/stories/ListViewNextGenComponent.js +1 -1
- package/lib/cjs/components/Modal/Modal.styles.js +1 -1
- package/lib/cjs/hooks/useGetTheme/useGetTheme.d.ts +2 -0
- package/lib/cjs/hooks/useTShirtSize/useTShirtSize.test.js +51 -1
- package/lib/cjs/styles/colors.d.ts +6 -0
- package/lib/cjs/styles/colors.js +6 -0
- package/lib/cjs/styles/theme.js +1 -3
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/colors.d.ts +5 -6
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/colors.js +11 -7
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/customProperties/index.d.ts +1 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/buttons.d.ts +7 -45
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/buttons.js +11 -24
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/footer.js +1 -1
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/forms.js +2 -2
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/input.js +3 -3
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/listview.js +1 -1
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/message.js +6 -6
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/navbar.js +1 -1
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.d.ts +20 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.js +27 -7
- package/lib/cjs/styles/themes/astro/customProperties/index.d.ts +1 -0
- package/lib/cjs/styles/themes/astro/customProperties/index.js +2 -0
- package/lib/cjs/styles/themes/next-gen/colors/colors.d.ts +6 -7
- package/lib/cjs/styles/themes/next-gen/colors/colors.js +12 -8
- package/lib/cjs/styles/themes/next-gen/convertedComponentList.js +1 -1
- package/lib/cjs/styles/themes/next-gen/customProperties/index.d.ts +4 -2
- package/lib/cjs/styles/themes/next-gen/customProperties/index.js +2 -0
- package/lib/cjs/styles/themes/next-gen/customProperties/tShirtSizes.js +13 -13
- package/lib/cjs/styles/themes/next-gen/next-gen.d.ts +157 -252
- package/lib/cjs/styles/themes/next-gen/stories/StickerSheetComponent.js +1 -1
- package/lib/cjs/styles/themes/next-gen/variants/badges.d.ts +18 -20
- package/lib/cjs/styles/themes/next-gen/variants/button.d.ts +136 -235
- package/lib/cjs/styles/themes/next-gen/variants/button.js +48 -105
- package/lib/cjs/styles/themes/next-gen/variants/callout.js +1 -1
- package/lib/cjs/styles/themes/next-gen/variants/cards.js +1 -1
- package/lib/cjs/styles/themes/next-gen/variants/dataTable.js +1 -1
- package/lib/cjs/styles/themes/next-gen/variants/input.js +2 -2
- package/lib/cjs/styles/themes/next-gen/variants/listview.js +1 -1
- package/lib/cjs/styles/themes/next-gen/variants/navbar.js +1 -1
- package/lib/cjs/styles/themes/next-gen/variants/navigationHeader.js +3 -3
- package/lib/cjs/styles/themes/next-gen/variants/panelHeader.js +1 -1
- package/lib/cjs/styles/themes/next-gen/variants/stepper.js +3 -3
- package/lib/cjs/styles/themes/next-gen/variants/table.js +2 -2
- package/lib/cjs/styles/themes/next-gen/variants/tableBase.js +4 -4
- package/lib/cjs/styles/themes/next-gen/variants/variants.d.ts +15 -10
- package/lib/cjs/styles/themes/next-gen/variants/variants.js +18 -12
- package/lib/components/AccordionGridGroup/AccordionGrid.styles.js +1 -1
- package/lib/components/AstroProvider/AstroProvider.js +4 -4
- package/lib/components/Box/Box.stories.js +16 -0
- package/lib/components/DataTable/stories/DataTableNextGenComponent.js +1 -1
- package/lib/components/Icon/Icon.js +2 -2
- package/lib/components/IconButton/IconButton.stories.js +18 -28
- package/lib/components/ListView/stories/ListViewNextGenComponent.js +1 -1
- package/lib/components/Modal/Modal.styles.js +1 -1
- package/lib/hooks/useTShirtSize/useTShirtSize.test.js +51 -1
- package/lib/styles/colors.js +6 -0
- package/lib/styles/theme.js +1 -3
- package/lib/styles/themeOverrides/nextGenDarkMode/colors.js +11 -7
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/buttons.js +11 -24
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/footer.js +1 -1
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/forms.js +2 -2
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/input.js +3 -3
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/listview.js +1 -1
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/message.js +6 -6
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/navbar.js +1 -1
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/variants.js +27 -7
- package/lib/styles/themes/astro/customProperties/index.js +2 -0
- package/lib/styles/themes/next-gen/colors/colors.js +12 -8
- package/lib/styles/themes/next-gen/convertedComponentList.js +1 -1
- package/lib/styles/themes/next-gen/customProperties/index.js +2 -0
- package/lib/styles/themes/next-gen/customProperties/tShirtSizes.js +13 -13
- package/lib/styles/themes/next-gen/stories/StickerSheetComponent.js +1 -1
- package/lib/styles/themes/next-gen/variants/button.js +48 -105
- package/lib/styles/themes/next-gen/variants/callout.js +1 -1
- package/lib/styles/themes/next-gen/variants/cards.js +1 -1
- package/lib/styles/themes/next-gen/variants/dataTable.js +1 -1
- package/lib/styles/themes/next-gen/variants/input.js +2 -2
- package/lib/styles/themes/next-gen/variants/listview.js +1 -1
- package/lib/styles/themes/next-gen/variants/navbar.js +1 -1
- package/lib/styles/themes/next-gen/variants/navigationHeader.js +3 -3
- package/lib/styles/themes/next-gen/variants/panelHeader.js +1 -1
- package/lib/styles/themes/next-gen/variants/stepper.js +3 -3
- package/lib/styles/themes/next-gen/variants/table.js +2 -2
- package/lib/styles/themes/next-gen/variants/tableBase.js +4 -4
- package/lib/styles/themes/next-gen/variants/variants.js +18 -12
- package/package.json +1 -1
|
@@ -10,7 +10,7 @@ import { navBar } from './navbar';
|
|
|
10
10
|
import skeleton from './skeleton';
|
|
11
11
|
var listBox = {
|
|
12
12
|
container: {
|
|
13
|
-
backgroundColor: '
|
|
13
|
+
backgroundColor: 'backgroundBase',
|
|
14
14
|
border: '1px solid',
|
|
15
15
|
borderColor: 'transparent',
|
|
16
16
|
borderRadius: '4px'
|
|
@@ -43,21 +43,41 @@ var tab = {
|
|
|
43
43
|
};
|
|
44
44
|
var modal = {
|
|
45
45
|
content: {
|
|
46
|
-
bg: '
|
|
46
|
+
bg: 'backgroundBase'
|
|
47
47
|
},
|
|
48
48
|
headingContainer: {
|
|
49
|
-
|
|
49
|
+
borderBottom: '1px solid',
|
|
50
|
+
borderBottomColor: 'border.base',
|
|
51
|
+
bg: 'backgroundBase'
|
|
52
|
+
},
|
|
53
|
+
header: {
|
|
54
|
+
borderBottom: '1px solid',
|
|
55
|
+
borderBottomColor: 'border.base',
|
|
56
|
+
bg: 'backgroundBase'
|
|
57
|
+
},
|
|
58
|
+
body: {
|
|
59
|
+
bg: 'backgroundBase'
|
|
60
|
+
},
|
|
61
|
+
footer: {
|
|
62
|
+
borderTop: '1px solid',
|
|
63
|
+
borderTopColor: 'border.base',
|
|
64
|
+
bg: 'backgroundBase'
|
|
65
|
+
},
|
|
66
|
+
footerContainer: {
|
|
67
|
+
borderTop: '1px solid',
|
|
68
|
+
borderTopColor: 'border.base',
|
|
69
|
+
bg: 'backgroundBase'
|
|
50
70
|
},
|
|
51
71
|
buttonsContainer: {
|
|
52
|
-
bg: '
|
|
72
|
+
bg: 'backgroundBase'
|
|
53
73
|
}
|
|
54
74
|
};
|
|
55
75
|
var rockerButton = {
|
|
56
76
|
innerContainer: {
|
|
57
|
-
backgroundColor: '
|
|
77
|
+
backgroundColor: 'backgroundBase'
|
|
58
78
|
},
|
|
59
79
|
thumbSwitch: {
|
|
60
|
-
backgroundColor: '
|
|
80
|
+
backgroundColor: 'backgroundBase',
|
|
61
81
|
color: 'blue-400',
|
|
62
82
|
'&.is-selected': {
|
|
63
83
|
color: 'black',
|
|
@@ -75,7 +95,7 @@ var rockerButton = {
|
|
|
75
95
|
};
|
|
76
96
|
var attachment = {
|
|
77
97
|
container: {
|
|
78
|
-
backgroundColor: '
|
|
98
|
+
backgroundColor: 'backgroundSecondary',
|
|
79
99
|
borderColor: 'border.attachment'
|
|
80
100
|
}
|
|
81
101
|
};
|
|
@@ -15,6 +15,7 @@ var defaultLoaderSize = 16;
|
|
|
15
15
|
var buttonLoaderSize = '0.5em';
|
|
16
16
|
var iFrameContentDivBackgroundColor = '#F7F8FD';
|
|
17
17
|
var defaultIconColor = 'currentColor';
|
|
18
|
+
var defaultIconSize = 'sm';
|
|
18
19
|
export var astroThemeValues = {
|
|
19
20
|
accordionItemDefaultLabelTag: accordionItemDefaultLabelTag,
|
|
20
21
|
activeColor: activeColor,
|
|
@@ -33,5 +34,6 @@ export var astroThemeValues = {
|
|
|
33
34
|
accordionItemMarginLeft: accordionItemMarginLeft,
|
|
34
35
|
defaultLoaderSize: defaultLoaderSize,
|
|
35
36
|
defaultIconColor: defaultIconColor,
|
|
37
|
+
defaultIconSize: defaultIconSize,
|
|
36
38
|
buttonLoaderSize: buttonLoaderSize
|
|
37
39
|
};
|
|
@@ -102,13 +102,12 @@ var overrides = {
|
|
|
102
102
|
focus: colorsObject.active,
|
|
103
103
|
disabled: nextGenColors['gray-100']
|
|
104
104
|
};
|
|
105
|
-
var background =
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
};
|
|
105
|
+
var background = nextGenColors['blue-100'];
|
|
106
|
+
var backgroundBase = 'white';
|
|
107
|
+
var backgroundSecondary = nextGenColors['gray-100'];
|
|
108
|
+
var backgroundCard = nextGenColors['blue-100'];
|
|
109
|
+
var backgroundSuggestion = '#ecf0f5';
|
|
110
|
+
var backgroundHover = nextGenColors['gray-100'];
|
|
112
111
|
var card = {
|
|
113
112
|
blue: nextGenColors['blue-100'],
|
|
114
113
|
gray: nextGenColors['gray-100']
|
|
@@ -117,7 +116,7 @@ var badge = {
|
|
|
117
116
|
textColor: nextGenColors.font.base,
|
|
118
117
|
background: nextGenColors['gray-100']
|
|
119
118
|
};
|
|
120
|
-
var tooltip =
|
|
119
|
+
var tooltip = 'black';
|
|
121
120
|
var colors = _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, subColors), nextGenColors), overrides), {}, {
|
|
122
121
|
badge: badge,
|
|
123
122
|
card: card,
|
|
@@ -130,6 +129,11 @@ var colors = _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, subColo
|
|
|
130
129
|
active: colorsObject.blue,
|
|
131
130
|
primary: colorsObject.blue,
|
|
132
131
|
background: background,
|
|
132
|
+
backgroundBase: backgroundBase,
|
|
133
|
+
backgroundSecondary: backgroundSecondary,
|
|
134
|
+
backgroundCard: backgroundCard,
|
|
135
|
+
backgroundSuggestion: backgroundSuggestion,
|
|
136
|
+
backgroundHover: backgroundHover,
|
|
133
137
|
iconWrapper: iconWrapper,
|
|
134
138
|
tooltip: tooltip,
|
|
135
139
|
twoTone: twoTone
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var nextGenConvertedComponents = ['AccordionGridGroup', 'AccordionGroup', 'ArrayField', 'AstroProvider', 'Avatar', 'Badge', 'Base Components', 'Breadcrumbs', 'Button', 'ButtonBar', 'Callout', 'Card', 'CheckboxField', 'CodeView', 'ColorField', 'ComboBoxField', 'CopyText', 'DataTable', 'EnvironmentBreadcrumb', 'GridList', 'HelpHint', 'Icon', 'IconBadge', 'IconButton', 'IconWrapper', 'ImageUploadField', 'Loader', 'Link', 'LinkSelectField', 'ListView', 'ListViewItem', 'Message', 'Messages', 'Modal', 'MultiValuesField', 'MultivaluesField', 'NavBar', 'NavigationHeader', 'NextGen ListViewItem', 'NumberField', 'OverlayPanel', 'PageHeader', 'Pagination', 'PanelHeader', 'PasswordField', 'PopoverMenu', 'ProgressBar', 'RadioField', 'RadioGroupField', 'RequirementsList', 'RockerButtonGroup', 'SearchField', 'SelectField', 'Skeleton', 'SliderField', 'Stepper', 'Sticker Sheet', 'SwitchField', 'StatusIcon', 'Table', 'TableBase', 'Tabs', 'Text', 'TextAreaField', 'TextField', 'TooltipTrigger', 'ArrayField', 'ColorField', 'LinkSelectField', 'NumberField', 'SwitchField', 'Base Components', 'SliderField', 'ServerErrorBoundary', 'Avatar'];
|
|
1
|
+
var nextGenConvertedComponents = ['AccordionGridGroup', 'AccordionGroup', 'ArrayField', 'AstroProvider', 'Avatar', 'Badge', 'Base Components', 'Breadcrumbs', 'Button', 'ButtonBar', 'Callout', 'Card', 'CheckboxField', 'CodeView', 'ColorField', 'ComboBoxField', 'CopyText', 'DataTable', 'EnvironmentBreadcrumb', 'GridList', 'HelpHint', 'Icon', 'IconBadge', 'IconButton', 'IconWrapper', 'ImageUploadField', 'Loader', 'Link', 'LinkSelectField', 'ListView', 'ListViewItem', 'Message', 'Messages', 'Modal', 'MultiValuesField', 'MultivaluesField', 'NavBar', 'NavigationHeader', 'NextGen ListViewItem', 'NumberField', 'OverlayPanel', 'PageHeader', 'Pagination', 'PanelHeader', 'PasswordField', 'PopoverMenu', 'ProgressBar', 'RadioField', 'RadioGroupField', 'RequirementsList', 'RockerButtonGroup', 'SearchField', 'SelectField', 'Skeleton', 'SliderField', 'Stepper', 'Sticker Sheet', 'SwitchField', 'StatusIcon', 'Table', 'TableBase', 'Tabs', 'Text', 'TextAreaField', 'TextField', 'TooltipTrigger', 'ArrayField', 'ColorField', 'LinkSelectField', 'NumberField', 'SwitchField', 'Base Components', 'SliderField', 'ServerErrorBoundary', 'Avatar', 'Box'];
|
|
2
2
|
export var componentSpecificNextGenBlacklist = {
|
|
3
3
|
AstroProvider: ['Default', 'With Custom Theme Override'],
|
|
4
4
|
Messages: ['Customization'],
|
|
@@ -19,6 +19,7 @@ var activeColor = '#1a73e8';
|
|
|
19
19
|
var backgroundBaseColor = 'white';
|
|
20
20
|
var iFrameContentDivBackgroundColor = backgroundBaseColor;
|
|
21
21
|
var defaultIconColor = 'gray-800';
|
|
22
|
+
var defaultIconSize = 'md';
|
|
22
23
|
var buttonLoaderSize = 'sm';
|
|
23
24
|
export var nextGenThemeValues = _objectSpread({
|
|
24
25
|
activeColor: activeColor,
|
|
@@ -32,5 +33,6 @@ export var nextGenThemeValues = _objectSpread({
|
|
|
32
33
|
accordionItemDefaultLabelTag: accordionItemDefaultLabelTag,
|
|
33
34
|
iFrameContentDivBackgroundColor: iFrameContentDivBackgroundColor,
|
|
34
35
|
rockerButtonGap: '0px',
|
|
36
|
+
defaultIconSize: defaultIconSize,
|
|
35
37
|
buttonLoaderSize: buttonLoaderSize
|
|
36
38
|
}, customSizes);
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
export default {
|
|
2
|
-
xxs: '
|
|
3
|
-
'icon-100': '
|
|
4
|
-
xs: '
|
|
5
|
-
'icon-200': '
|
|
6
|
-
sm: '
|
|
7
|
-
'icon-300': '
|
|
8
|
-
md: '
|
|
9
|
-
'icon-400': '
|
|
10
|
-
'icon-500': '
|
|
11
|
-
'icon-600': '
|
|
12
|
-
'icon-700': '
|
|
13
|
-
'icon-800': '
|
|
14
|
-
'icon-900': '
|
|
2
|
+
xxs: '10px',
|
|
3
|
+
'icon-100': '14px',
|
|
4
|
+
xs: '14px',
|
|
5
|
+
'icon-200': '18px',
|
|
6
|
+
sm: '18px',
|
|
7
|
+
'icon-300': '24px',
|
|
8
|
+
md: '24px',
|
|
9
|
+
'icon-400': '36px',
|
|
10
|
+
'icon-500': '48px',
|
|
11
|
+
'icon-600': '60px',
|
|
12
|
+
'icon-700': '72px',
|
|
13
|
+
'icon-800': '84px',
|
|
14
|
+
'icon-900': '96px'
|
|
15
15
|
};
|
|
16
16
|
export var iconWrapperSizes = {
|
|
17
17
|
sm: 18,
|
|
@@ -55,7 +55,7 @@ var iconSizes = ['icon-100', 'icon-200', 'icon-300', 'icon-400', 'icon-500', 'ic
|
|
|
55
55
|
var StickerSheetComponent = function StickerSheetComponent() {
|
|
56
56
|
return ___EmotionJSX(Box, {
|
|
57
57
|
sx: {
|
|
58
|
-
backgroundColor: '
|
|
58
|
+
backgroundColor: 'backgroundBase'
|
|
59
59
|
},
|
|
60
60
|
height: "100%",
|
|
61
61
|
p: "lg",
|
|
@@ -319,44 +319,60 @@ var aiChat = _objectSpread(_objectSpread({}, withIcon), {}, {
|
|
|
319
319
|
}
|
|
320
320
|
}
|
|
321
321
|
});
|
|
322
|
-
|
|
323
|
-
|
|
322
|
+
|
|
323
|
+
// Base styles for icon buttons
|
|
324
|
+
var baseIconButtonStyle = {
|
|
325
|
+
p: '4px',
|
|
324
326
|
transition: 'color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out',
|
|
325
327
|
outline: 'none',
|
|
326
328
|
borderRadius: '28px',
|
|
327
|
-
border: '
|
|
328
|
-
|
|
329
|
+
border: 'none',
|
|
330
|
+
cursor: 'pointer',
|
|
331
|
+
boxShadow: 'none !important'
|
|
332
|
+
};
|
|
333
|
+
var baseIconButton = _objectSpread(_objectSpread({}, baseIconButtonStyle), {}, {
|
|
329
334
|
path: {
|
|
330
335
|
fill: 'dark'
|
|
331
336
|
},
|
|
332
|
-
'&.is-focused': {
|
|
333
|
-
outline: '2px solid',
|
|
334
|
-
outlineColor: 'primary',
|
|
335
|
-
outlineOffset: '3px'
|
|
336
|
-
},
|
|
337
337
|
'&.is-hovered': {
|
|
338
|
-
backgroundColor: '
|
|
338
|
+
backgroundColor: 'background.hover',
|
|
339
339
|
path: {
|
|
340
340
|
fill: 'dark'
|
|
341
341
|
}
|
|
342
342
|
},
|
|
343
343
|
'&.is-pressed': {
|
|
344
|
-
backgroundColor: '
|
|
345
|
-
borderColor: 'gray-200',
|
|
344
|
+
backgroundColor: 'background.hover',
|
|
346
345
|
path: {
|
|
347
346
|
fill: 'dark'
|
|
348
347
|
}
|
|
349
|
-
}
|
|
350
|
-
}
|
|
348
|
+
},
|
|
349
|
+
'&.is-focused': _objectSpread({}, defaultFocus)
|
|
350
|
+
});
|
|
351
|
+
var invertedIconButton = _objectSpread(_objectSpread({}, baseIconButtonStyle), {}, {
|
|
352
|
+
'&.is-hovered': {
|
|
353
|
+
boxShadow: 'none !important',
|
|
354
|
+
backgroundColor: 'blue-600'
|
|
355
|
+
},
|
|
356
|
+
'&.is-pressed': {
|
|
357
|
+
backgroundColor: 'blue-600'
|
|
358
|
+
},
|
|
359
|
+
'&.is-disabled': {
|
|
360
|
+
backgroundColor: 'gray-300'
|
|
361
|
+
},
|
|
362
|
+
'&.is-focused': _objectSpread({}, defaultFocus)
|
|
363
|
+
});
|
|
351
364
|
var modalCloseButton = _objectSpread(_objectSpread({}, baseIconButton), {}, {
|
|
352
365
|
position: 'absolute',
|
|
353
366
|
top: 32,
|
|
354
367
|
right: 18
|
|
355
368
|
});
|
|
356
|
-
var onyxIconButton = _objectSpread(_objectSpread(
|
|
369
|
+
var onyxIconButton = _objectSpread(_objectSpread({}, baseIconButton), {}, {
|
|
357
370
|
path: {
|
|
358
371
|
fill: 'blue'
|
|
359
372
|
},
|
|
373
|
+
display: 'inline-flex',
|
|
374
|
+
alignItems: 'center',
|
|
375
|
+
justifyContent: 'center',
|
|
360
376
|
'&.is-hovered': {
|
|
361
377
|
backgroundColor: chroma.mix(primaryBlue, 'black', 0.075, 'rgb').hex(),
|
|
362
378
|
path: {
|
|
@@ -365,47 +381,32 @@ var onyxIconButton = _objectSpread(_objectSpread(_objectSpread({}, baseIconButto
|
|
|
365
381
|
},
|
|
366
382
|
'&.is-pressed': {
|
|
367
383
|
backgroundColor: chroma.mix(primaryBlue, 'black', 0.125, 'rgb').hex(),
|
|
368
|
-
borderColor: chroma.mix(primaryBlue, 'black', 0.125, 'rgb').hex(),
|
|
369
384
|
path: {
|
|
370
385
|
fill: 'white'
|
|
371
386
|
}
|
|
372
387
|
},
|
|
373
|
-
|
|
374
|
-
maxWidth: '48.5px',
|
|
375
|
-
width: '48.5px',
|
|
376
|
-
p: 'sm',
|
|
377
|
-
display: 'inline-flex',
|
|
378
|
-
alignItems: 'center',
|
|
379
|
-
justifyContent: 'center'
|
|
388
|
+
'&.is-focused': _objectSpread({}, defaultFocus)
|
|
380
389
|
});
|
|
381
390
|
var hintButton = {
|
|
382
391
|
backgroundColor: 'transparent',
|
|
383
392
|
path: {
|
|
384
393
|
fill: 'dark'
|
|
385
394
|
},
|
|
386
|
-
'&.is-focused': {
|
|
387
|
-
outline: '2px solid',
|
|
388
|
-
outlineColor: 'primary',
|
|
389
|
-
outlineOffset: '3px'
|
|
390
|
-
},
|
|
391
395
|
'&.is-hovered': {
|
|
392
396
|
backgroundColor: 'gray-100',
|
|
393
397
|
path: {
|
|
394
398
|
fill: 'dark'
|
|
395
399
|
}
|
|
396
|
-
}
|
|
400
|
+
},
|
|
401
|
+
'&.is-focused': _objectSpread({}, defaultFocus)
|
|
397
402
|
};
|
|
398
403
|
var badgeDeleteButton = _objectSpread(_objectSpread({}, baseIconButton), {}, {
|
|
399
|
-
height: 14,
|
|
400
404
|
p: 0,
|
|
405
|
+
height: 14,
|
|
401
406
|
width: 14,
|
|
402
|
-
|
|
403
|
-
'&.is-focused': _objectSpread(_objectSpread({}, defaultFocus), {}, {
|
|
404
|
-
backgroundColor: 'gray-100'
|
|
405
|
-
}),
|
|
407
|
+
'&.is-focused': _objectSpread({}, defaultFocus),
|
|
406
408
|
'&.is-pressed': {
|
|
407
409
|
backgroundColor: 'gray-100',
|
|
408
|
-
borderColor: 'gray-200',
|
|
409
410
|
path: {
|
|
410
411
|
fill: 'dark'
|
|
411
412
|
}
|
|
@@ -414,19 +415,17 @@ var badgeDeleteButton = _objectSpread(_objectSpread({}, baseIconButton), {}, {
|
|
|
414
415
|
bg: 'transparent'
|
|
415
416
|
}
|
|
416
417
|
}, transitions);
|
|
417
|
-
var searchClearButton = _objectSpread(_objectSpread({},
|
|
418
|
+
var searchClearButton = _objectSpread(_objectSpread({}, baseIconButtonStyle), {}, {
|
|
419
|
+
path: {
|
|
420
|
+
fill: 'dark'
|
|
421
|
+
},
|
|
418
422
|
width: '20px',
|
|
419
423
|
height: '20px',
|
|
420
|
-
border: 'none',
|
|
421
424
|
position: 'absolute',
|
|
422
425
|
right: '20px',
|
|
423
|
-
'& > svg': {
|
|
424
|
-
minWidth: tShirtSizes.xs,
|
|
425
|
-
width: tShirtSizes.xs,
|
|
426
|
-
height: tShirtSizes.xs
|
|
427
|
-
},
|
|
428
426
|
'&.is-hovered': {
|
|
429
|
-
bg: 'background.hover'
|
|
427
|
+
bg: 'background.hover',
|
|
428
|
+
boxShadow: 'none !important'
|
|
430
429
|
},
|
|
431
430
|
'&.is-pressed': {
|
|
432
431
|
bg: 'background.hover'
|
|
@@ -434,7 +433,6 @@ var searchClearButton = _objectSpread(_objectSpread({}, baseIconButton), {}, {
|
|
|
434
433
|
});
|
|
435
434
|
var iconButtons = {
|
|
436
435
|
base: _objectSpread({}, baseIconButton),
|
|
437
|
-
nextGen: _objectSpread({}, onyxIconButton),
|
|
438
436
|
onyx: _objectSpread({}, onyxIconButton),
|
|
439
437
|
responseToolbar: _objectSpread(_objectSpread({}, baseIconButton), {}, {
|
|
440
438
|
'&.is-not-loaded': {
|
|
@@ -455,7 +453,6 @@ var iconButtons = {
|
|
|
455
453
|
}),
|
|
456
454
|
'&.is-pressed': {
|
|
457
455
|
backgroundColor: 'gray-100',
|
|
458
|
-
borderColor: 'gray-200',
|
|
459
456
|
path: {
|
|
460
457
|
fill: 'dark'
|
|
461
458
|
}
|
|
@@ -467,83 +464,30 @@ var iconButtons = {
|
|
|
467
464
|
width: '28px',
|
|
468
465
|
height: '28px',
|
|
469
466
|
'& > svg': {
|
|
470
|
-
minWidth:
|
|
471
|
-
width:
|
|
472
|
-
height:
|
|
467
|
+
minWidth: tShirtSizes.sm,
|
|
468
|
+
width: tShirtSizes.sm,
|
|
469
|
+
height: tShirtSizes.sm,
|
|
473
470
|
path: {
|
|
474
471
|
fill: '#455469 !important'
|
|
475
472
|
}
|
|
476
473
|
}
|
|
477
474
|
}),
|
|
478
|
-
headerNav: _objectSpread(
|
|
479
|
-
borderRadius: '4px',
|
|
480
|
-
path: {
|
|
481
|
-
fill: 'text.primary'
|
|
482
|
-
},
|
|
483
|
-
px: 'md',
|
|
484
|
-
py: 'sm',
|
|
485
|
-
width: '56px',
|
|
486
|
-
height: '40px',
|
|
487
|
-
'&.is-hovered': {
|
|
488
|
-
path: {
|
|
489
|
-
fill: 'text.secondary'
|
|
490
|
-
}
|
|
491
|
-
},
|
|
492
|
-
'&.is-pressed': {
|
|
493
|
-
path: {
|
|
494
|
-
fill: 'text.secondary'
|
|
495
|
-
}
|
|
496
|
-
},
|
|
497
|
-
'&.is-focused': _objectSpread(_objectSpread({}, defaultFocus), {}, {
|
|
498
|
-
outlineOffset: '1px'
|
|
499
|
-
})
|
|
500
|
-
}),
|
|
475
|
+
headerNav: _objectSpread({}, baseIconButton),
|
|
501
476
|
copyButton: copyButton,
|
|
502
477
|
deleteAttachment: _objectSpread(_objectSpread({}, baseIconButton), {}, {
|
|
503
478
|
backgroundColor: 'light',
|
|
504
|
-
border: '1px solid',
|
|
505
|
-
borderColor: 'gray-300',
|
|
506
479
|
size: '24px',
|
|
507
|
-
p: '4px',
|
|
508
480
|
'&.is-hovered': {
|
|
509
481
|
backgroundColor: '#dde5ec'
|
|
510
482
|
}
|
|
511
483
|
}),
|
|
512
|
-
inverted: {
|
|
513
|
-
cursor: 'pointer',
|
|
514
|
-
transition: 'color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out',
|
|
515
|
-
outline: 'none',
|
|
516
|
-
path: {
|
|
517
|
-
fill: 'white'
|
|
518
|
-
},
|
|
519
|
-
'&.is-focused': {
|
|
520
|
-
outline: '2px solid',
|
|
521
|
-
outlineColor: 'primary',
|
|
522
|
-
outlineOffset: '3px'
|
|
523
|
-
},
|
|
524
|
-
'&.is-pressed': {
|
|
525
|
-
backgroundColor: chroma.mix(primaryBlue, 'black', 0.125, 'rgb').hex(),
|
|
526
|
-
borderColor: chroma.mix(primaryBlue, 'black', 0.125, 'rgb').hex()
|
|
527
|
-
},
|
|
528
|
-
'&.is-hovered': _objectSpread(_objectSpread({}, boxShadowNone), {}, {
|
|
529
|
-
border: 'none !important',
|
|
530
|
-
borderColor: 'none !important',
|
|
531
|
-
backgroundColor: chroma.mix(primaryBlue, 'black', 0.075, 'rgb').hex()
|
|
532
|
-
}),
|
|
533
|
-
'&.is-disabled': {
|
|
534
|
-
backgroundColor: 'gray-300'
|
|
535
|
-
}
|
|
536
|
-
},
|
|
484
|
+
inverted: _objectSpread({}, invertedIconButton),
|
|
537
485
|
searchClearButton: searchClearButton,
|
|
538
486
|
filter: _objectSpread(_objectSpread({}, baseIconButton), {}, {
|
|
539
|
-
bg: 'transparent',
|
|
540
|
-
border: '2px solid',
|
|
541
|
-
borderColor: 'transparent',
|
|
542
487
|
width: '32px',
|
|
543
488
|
height: '32px',
|
|
544
489
|
'&.is-hovered': {
|
|
545
|
-
|
|
546
|
-
borderColor: 'transparent',
|
|
490
|
+
boxShadow: 'none !important',
|
|
547
491
|
backgroundColor: 'gray-100',
|
|
548
492
|
path: {
|
|
549
493
|
fill: 'dark'
|
|
@@ -551,7 +495,6 @@ var iconButtons = {
|
|
|
551
495
|
},
|
|
552
496
|
'&.is-pressed': {
|
|
553
497
|
backgroundColor: 'gray-100',
|
|
554
|
-
borderColor: 'gray-200',
|
|
555
498
|
path: {
|
|
556
499
|
fill: 'dark'
|
|
557
500
|
}
|
|
@@ -17,7 +17,7 @@ var interactive = {
|
|
|
17
17
|
borderColor: 'border.base',
|
|
18
18
|
transition: 'border-color .25s ease-in',
|
|
19
19
|
'&.is-focused': {
|
|
20
|
-
backgroundColor: '
|
|
20
|
+
backgroundColor: 'backgroundBase',
|
|
21
21
|
outline: '2px solid',
|
|
22
22
|
outlineColor: 'focus',
|
|
23
23
|
outlineOffset: '0px'
|
|
@@ -24,7 +24,7 @@ export var input = {
|
|
|
24
24
|
fontSize: 'md',
|
|
25
25
|
fontFamily: 'standard',
|
|
26
26
|
p: '0.75rem',
|
|
27
|
-
backgroundColor: '
|
|
27
|
+
backgroundColor: 'backgroundBase',
|
|
28
28
|
borderColor: 'border.input',
|
|
29
29
|
'&.is-focused': _objectSpread({}, defaultFocus),
|
|
30
30
|
borderRadius: '4px',
|
|
@@ -167,7 +167,7 @@ input.multivaluesWrapper = _objectSpread(_objectSpread({}, fieldControlWrapper),
|
|
|
167
167
|
border: '1px solid',
|
|
168
168
|
borderColor: 'gray-900',
|
|
169
169
|
'> input': {
|
|
170
|
-
backgroundColor: '
|
|
170
|
+
backgroundColor: 'backgroundSecondary'
|
|
171
171
|
},
|
|
172
172
|
'&:after': {
|
|
173
173
|
display: 'none'
|
|
@@ -57,7 +57,7 @@ var navigationHeader = {
|
|
|
57
57
|
fontFamily: 'standard',
|
|
58
58
|
borderBottom: '1px solid',
|
|
59
59
|
borderColor: 'border.base',
|
|
60
|
-
backgroundColor: '
|
|
60
|
+
backgroundColor: 'backgroundBase',
|
|
61
61
|
height: '4.5rem',
|
|
62
62
|
justifyContent: 'center'
|
|
63
63
|
},
|
|
@@ -66,10 +66,10 @@ var navigationHeader = {
|
|
|
66
66
|
maxWidth: '1540px',
|
|
67
67
|
mx: 'auto',
|
|
68
68
|
width: '100%',
|
|
69
|
-
backgroundColor: '
|
|
69
|
+
backgroundColor: 'backgroundBase'
|
|
70
70
|
},
|
|
71
71
|
dropdownMenu: {
|
|
72
|
-
backgroundColor: '
|
|
72
|
+
backgroundColor: 'backgroundBase',
|
|
73
73
|
maxWidth: 'unset',
|
|
74
74
|
p: 'sm',
|
|
75
75
|
'&:focus': _objectSpread({}, defaultFocus),
|
|
@@ -35,7 +35,7 @@ var step = {
|
|
|
35
35
|
active: _objectSpread(_objectSpread({
|
|
36
36
|
backgroundColor: 'active',
|
|
37
37
|
borderColor: 'active',
|
|
38
|
-
color: '
|
|
38
|
+
color: 'backgroundBase'
|
|
39
39
|
}, stepBase), {}, {
|
|
40
40
|
'&:before': {
|
|
41
41
|
content: '""',
|
|
@@ -46,7 +46,7 @@ var step = {
|
|
|
46
46
|
position: 'absolute',
|
|
47
47
|
borderRadius: '100%',
|
|
48
48
|
borderStyle: 'solid',
|
|
49
|
-
borderColor: '
|
|
49
|
+
borderColor: 'backgroundBase',
|
|
50
50
|
borderWidth: '2px'
|
|
51
51
|
}
|
|
52
52
|
}),
|
|
@@ -54,7 +54,7 @@ var step = {
|
|
|
54
54
|
borderColor: 'active'
|
|
55
55
|
}),
|
|
56
56
|
inactive: _objectSpread({
|
|
57
|
-
backgroundColor: '
|
|
57
|
+
backgroundColor: 'backgroundBase',
|
|
58
58
|
borderColor: 'blue-200',
|
|
59
59
|
color: 'active'
|
|
60
60
|
}, stepBase)
|
|
@@ -29,7 +29,7 @@ var head = {
|
|
|
29
29
|
var body = {
|
|
30
30
|
borderTopColor: 'border.base',
|
|
31
31
|
borderBottom: 'unset',
|
|
32
|
-
backgroundColor: '
|
|
32
|
+
backgroundColor: 'backgroundBase',
|
|
33
33
|
borderBottomLeftRadius: '16px',
|
|
34
34
|
borderBottomRightRadius: '16px',
|
|
35
35
|
'&& > tr:not(:last-child)': {
|
|
@@ -37,7 +37,7 @@ var body = {
|
|
|
37
37
|
borderBottomColor: 'border.base'
|
|
38
38
|
},
|
|
39
39
|
'&& > tr:nth-of-type(odd) ': {
|
|
40
|
-
backgroundColor: '
|
|
40
|
+
backgroundColor: 'backgroundBase'
|
|
41
41
|
},
|
|
42
42
|
'&& > tr:last-child': {
|
|
43
43
|
borderBottomLeftRadius: '16px',
|
|
@@ -46,7 +46,7 @@ var container = {
|
|
|
46
46
|
}
|
|
47
47
|
};
|
|
48
48
|
var caption = {
|
|
49
|
-
backgroundColor: '
|
|
49
|
+
backgroundColor: 'backgroundBase',
|
|
50
50
|
px: 'lg',
|
|
51
51
|
color: 'text.primary',
|
|
52
52
|
borderBottom: '1px solid',
|
|
@@ -62,7 +62,7 @@ var row = {
|
|
|
62
62
|
bg: 'background.hover'
|
|
63
63
|
},
|
|
64
64
|
'&:nth-of-type(odd)': {
|
|
65
|
-
bg: '
|
|
65
|
+
bg: 'backgroundBase',
|
|
66
66
|
'&.is-hovered': {
|
|
67
67
|
bg: 'background.hover'
|
|
68
68
|
}
|
|
@@ -70,7 +70,7 @@ var row = {
|
|
|
70
70
|
};
|
|
71
71
|
var thead = {
|
|
72
72
|
borderBottomColor: 'border.base',
|
|
73
|
-
backgroundColor: '
|
|
73
|
+
backgroundColor: 'backgroundBase',
|
|
74
74
|
'&.is-sticky': {
|
|
75
75
|
boxShadow: "0 1px 0 ".concat(colors.border.base)
|
|
76
76
|
}
|
|
@@ -87,7 +87,7 @@ var head = {
|
|
|
87
87
|
var tbody = {
|
|
88
88
|
borderTopColor: 'border.base',
|
|
89
89
|
borderBottom: 'unset',
|
|
90
|
-
backgroundColor: '
|
|
90
|
+
backgroundColor: 'backgroundBase',
|
|
91
91
|
borderBottomLeftRadius: borderRadius,
|
|
92
92
|
borderBottomRightRadius: borderRadius
|
|
93
93
|
};
|