@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.
Files changed (93) hide show
  1. package/lib/cjs/components/AccordionGridGroup/AccordionGrid.styles.js +1 -1
  2. package/lib/cjs/components/AstroProvider/AstroProvider.js +4 -4
  3. package/lib/cjs/components/Box/Box.stories.d.ts +1 -0
  4. package/lib/cjs/components/Box/Box.stories.js +18 -1
  5. package/lib/cjs/components/DataTable/stories/DataTableNextGenComponent.js +1 -1
  6. package/lib/cjs/components/Icon/Icon.js +2 -2
  7. package/lib/cjs/components/IconButton/IconButton.stories.js +18 -28
  8. package/lib/cjs/components/ListView/stories/ListViewNextGenComponent.js +1 -1
  9. package/lib/cjs/components/Modal/Modal.styles.js +1 -1
  10. package/lib/cjs/hooks/useGetTheme/useGetTheme.d.ts +2 -0
  11. package/lib/cjs/hooks/useTShirtSize/useTShirtSize.test.js +51 -1
  12. package/lib/cjs/styles/colors.d.ts +6 -0
  13. package/lib/cjs/styles/colors.js +6 -0
  14. package/lib/cjs/styles/theme.js +1 -3
  15. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/colors.d.ts +5 -6
  16. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/colors.js +11 -7
  17. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/customProperties/index.d.ts +1 -0
  18. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/buttons.d.ts +7 -45
  19. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/buttons.js +11 -24
  20. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/footer.js +1 -1
  21. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/forms.js +2 -2
  22. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/input.js +3 -3
  23. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/listview.js +1 -1
  24. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/message.js +6 -6
  25. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/navbar.js +1 -1
  26. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.d.ts +20 -0
  27. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.js +27 -7
  28. package/lib/cjs/styles/themes/astro/customProperties/index.d.ts +1 -0
  29. package/lib/cjs/styles/themes/astro/customProperties/index.js +2 -0
  30. package/lib/cjs/styles/themes/next-gen/colors/colors.d.ts +6 -7
  31. package/lib/cjs/styles/themes/next-gen/colors/colors.js +12 -8
  32. package/lib/cjs/styles/themes/next-gen/convertedComponentList.js +1 -1
  33. package/lib/cjs/styles/themes/next-gen/customProperties/index.d.ts +4 -2
  34. package/lib/cjs/styles/themes/next-gen/customProperties/index.js +2 -0
  35. package/lib/cjs/styles/themes/next-gen/customProperties/tShirtSizes.js +13 -13
  36. package/lib/cjs/styles/themes/next-gen/next-gen.d.ts +157 -252
  37. package/lib/cjs/styles/themes/next-gen/stories/StickerSheetComponent.js +1 -1
  38. package/lib/cjs/styles/themes/next-gen/variants/badges.d.ts +18 -20
  39. package/lib/cjs/styles/themes/next-gen/variants/button.d.ts +136 -235
  40. package/lib/cjs/styles/themes/next-gen/variants/button.js +48 -105
  41. package/lib/cjs/styles/themes/next-gen/variants/callout.js +1 -1
  42. package/lib/cjs/styles/themes/next-gen/variants/cards.js +1 -1
  43. package/lib/cjs/styles/themes/next-gen/variants/dataTable.js +1 -1
  44. package/lib/cjs/styles/themes/next-gen/variants/input.js +2 -2
  45. package/lib/cjs/styles/themes/next-gen/variants/listview.js +1 -1
  46. package/lib/cjs/styles/themes/next-gen/variants/navbar.js +1 -1
  47. package/lib/cjs/styles/themes/next-gen/variants/navigationHeader.js +3 -3
  48. package/lib/cjs/styles/themes/next-gen/variants/panelHeader.js +1 -1
  49. package/lib/cjs/styles/themes/next-gen/variants/stepper.js +3 -3
  50. package/lib/cjs/styles/themes/next-gen/variants/table.js +2 -2
  51. package/lib/cjs/styles/themes/next-gen/variants/tableBase.js +4 -4
  52. package/lib/cjs/styles/themes/next-gen/variants/variants.d.ts +15 -10
  53. package/lib/cjs/styles/themes/next-gen/variants/variants.js +18 -12
  54. package/lib/components/AccordionGridGroup/AccordionGrid.styles.js +1 -1
  55. package/lib/components/AstroProvider/AstroProvider.js +4 -4
  56. package/lib/components/Box/Box.stories.js +16 -0
  57. package/lib/components/DataTable/stories/DataTableNextGenComponent.js +1 -1
  58. package/lib/components/Icon/Icon.js +2 -2
  59. package/lib/components/IconButton/IconButton.stories.js +18 -28
  60. package/lib/components/ListView/stories/ListViewNextGenComponent.js +1 -1
  61. package/lib/components/Modal/Modal.styles.js +1 -1
  62. package/lib/hooks/useTShirtSize/useTShirtSize.test.js +51 -1
  63. package/lib/styles/colors.js +6 -0
  64. package/lib/styles/theme.js +1 -3
  65. package/lib/styles/themeOverrides/nextGenDarkMode/colors.js +11 -7
  66. package/lib/styles/themeOverrides/nextGenDarkMode/variants/buttons.js +11 -24
  67. package/lib/styles/themeOverrides/nextGenDarkMode/variants/footer.js +1 -1
  68. package/lib/styles/themeOverrides/nextGenDarkMode/variants/forms.js +2 -2
  69. package/lib/styles/themeOverrides/nextGenDarkMode/variants/input.js +3 -3
  70. package/lib/styles/themeOverrides/nextGenDarkMode/variants/listview.js +1 -1
  71. package/lib/styles/themeOverrides/nextGenDarkMode/variants/message.js +6 -6
  72. package/lib/styles/themeOverrides/nextGenDarkMode/variants/navbar.js +1 -1
  73. package/lib/styles/themeOverrides/nextGenDarkMode/variants/variants.js +27 -7
  74. package/lib/styles/themes/astro/customProperties/index.js +2 -0
  75. package/lib/styles/themes/next-gen/colors/colors.js +12 -8
  76. package/lib/styles/themes/next-gen/convertedComponentList.js +1 -1
  77. package/lib/styles/themes/next-gen/customProperties/index.js +2 -0
  78. package/lib/styles/themes/next-gen/customProperties/tShirtSizes.js +13 -13
  79. package/lib/styles/themes/next-gen/stories/StickerSheetComponent.js +1 -1
  80. package/lib/styles/themes/next-gen/variants/button.js +48 -105
  81. package/lib/styles/themes/next-gen/variants/callout.js +1 -1
  82. package/lib/styles/themes/next-gen/variants/cards.js +1 -1
  83. package/lib/styles/themes/next-gen/variants/dataTable.js +1 -1
  84. package/lib/styles/themes/next-gen/variants/input.js +2 -2
  85. package/lib/styles/themes/next-gen/variants/listview.js +1 -1
  86. package/lib/styles/themes/next-gen/variants/navbar.js +1 -1
  87. package/lib/styles/themes/next-gen/variants/navigationHeader.js +3 -3
  88. package/lib/styles/themes/next-gen/variants/panelHeader.js +1 -1
  89. package/lib/styles/themes/next-gen/variants/stepper.js +3 -3
  90. package/lib/styles/themes/next-gen/variants/table.js +2 -2
  91. package/lib/styles/themes/next-gen/variants/tableBase.js +4 -4
  92. package/lib/styles/themes/next-gen/variants/variants.js +18 -12
  93. 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: 'background.base',
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: 'background.base'
46
+ bg: 'backgroundBase'
47
47
  },
48
48
  headingContainer: {
49
- bg: 'background.base'
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: 'background.base'
72
+ bg: 'backgroundBase'
53
73
  }
54
74
  };
55
75
  var rockerButton = {
56
76
  innerContainer: {
57
- backgroundColor: 'background.base'
77
+ backgroundColor: 'backgroundBase'
58
78
  },
59
79
  thumbSwitch: {
60
- backgroundColor: 'background.base',
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: 'background.secondary',
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
- base: 'white',
107
- secondary: nextGenColors['gray-100'],
108
- card: nextGenColors['blue-100'],
109
- suggestion: '#ecf0f5',
110
- hover: nextGenColors['gray-100']
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 = nextGenColors['gray-900'];
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: '8px',
3
- 'icon-100': '.875rem',
4
- xs: '15px',
5
- 'icon-200': '1.125rem',
6
- sm: '20px',
7
- 'icon-300': '1.5rem',
8
- md: '25px',
9
- 'icon-400': '2.25rem',
10
- 'icon-500': '3rem',
11
- 'icon-600': '3.75rem',
12
- 'icon-700': '4.5rem',
13
- 'icon-800': '5.25rem',
14
- 'icon-900': '6rem'
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: 'background.base'
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
- var baseIconButton = {
323
- cursor: 'pointer',
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: '1px solid',
328
- borderColor: 'transparent',
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: 'gray-100',
338
+ backgroundColor: 'background.hover',
339
339
  path: {
340
340
  fill: 'dark'
341
341
  }
342
342
  },
343
343
  '&.is-pressed': {
344
- backgroundColor: 'gray-100',
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(_objectSpread({}, baseIconButton), secondary), {}, {
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
- maxHeight: '48.5px',
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
- border: 'none',
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({}, baseIconButton), {}, {
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: '18px',
471
- width: '18px',
472
- height: '18px',
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(_objectSpread({}, baseIconButton), {}, {
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
- border: '2px solid',
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
  }
@@ -1,7 +1,7 @@
1
1
  import tShirtSizes from '../customProperties/tShirtSizes';
2
2
  var base = {
3
3
  width: '100%',
4
- backgroundColor: 'background.secondary',
4
+ backgroundColor: 'light',
5
5
  lineHeight: 'md',
6
6
  p: 'md',
7
7
  border: 'none',
@@ -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: 'background.base',
20
+ backgroundColor: 'backgroundBase',
21
21
  outline: '2px solid',
22
22
  outlineColor: 'focus',
23
23
  outlineOffset: '0px'
@@ -25,7 +25,7 @@ var tableRow = {
25
25
  }
26
26
  };
27
27
  var selectableTableRow = _objectSpread(_objectSpread({}, tableRow), {}, {
28
- bg: 'background.base',
28
+ bg: 'backgroundBase',
29
29
  '&.is-hovered': {
30
30
  bg: 'gray-100'
31
31
  },
@@ -24,7 +24,7 @@ export var input = {
24
24
  fontSize: 'md',
25
25
  fontFamily: 'standard',
26
26
  p: '0.75rem',
27
- backgroundColor: 'background.base',
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: 'background.secondary'
170
+ backgroundColor: 'backgroundSecondary'
171
171
  },
172
172
  '&:after': {
173
173
  display: 'none'
@@ -48,7 +48,7 @@ export var listViewItem = {
48
48
  },
49
49
  expandableStyledListItem: {
50
50
  px: 'lg',
51
- bg: 'background.base',
51
+ bg: 'backgroundBase',
52
52
  '&.is-first-item': {
53
53
  borderTopLeftRadius: borderRadius,
54
54
  borderTopRightRadius: borderRadius
@@ -23,7 +23,7 @@ export var navBar = {
23
23
  fontFamily: 'standard',
24
24
  width: '252px',
25
25
  p: 'sm',
26
- backgroundColor: 'background.base',
26
+ backgroundColor: 'backgroundBase',
27
27
  boxShadow: '0 .5rem 1rem rgba(0, 0, 0, .15)'
28
28
  },
29
29
  sectionContainer: {
@@ -57,7 +57,7 @@ var navigationHeader = {
57
57
  fontFamily: 'standard',
58
58
  borderBottom: '1px solid',
59
59
  borderColor: 'border.base',
60
- backgroundColor: 'background.base',
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: 'background.base'
69
+ backgroundColor: 'backgroundBase'
70
70
  },
71
71
  dropdownMenu: {
72
- backgroundColor: 'background.base',
72
+ backgroundColor: 'backgroundBase',
73
73
  maxWidth: 'unset',
74
74
  p: 'sm',
75
75
  '&:focus': _objectSpread({}, defaultFocus),
@@ -1,5 +1,5 @@
1
1
  var container = {
2
- bg: 'background.base',
2
+ bg: 'backgroundBase',
3
3
  border: 'none',
4
4
  minHeight: 72,
5
5
  maxHeight: 72
@@ -35,7 +35,7 @@ var step = {
35
35
  active: _objectSpread(_objectSpread({
36
36
  backgroundColor: 'active',
37
37
  borderColor: 'active',
38
- color: 'background.base'
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: 'background.base',
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: 'background.base',
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: 'background.base',
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: 'background.base'
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: 'background.base',
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: 'background.base',
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: 'background.base',
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: 'background.base',
90
+ backgroundColor: 'backgroundBase',
91
91
  borderBottomLeftRadius: borderRadius,
92
92
  borderBottomRightRadius: borderRadius
93
93
  };