@pingux/astro 2.149.2-alpha.1 → 2.150.0-alpha.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.
Files changed (28) hide show
  1. package/lib/cjs/components/Icon/Icon.js +2 -2
  2. package/lib/cjs/components/IconButton/IconButton.stories.js +18 -28
  3. package/lib/cjs/hooks/useGetTheme/useGetTheme.d.ts +2 -0
  4. package/lib/cjs/hooks/useTShirtSize/useTShirtSize.test.js +51 -1
  5. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/customProperties/index.d.ts +1 -0
  6. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/buttons.d.ts +7 -45
  7. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/buttons.js +10 -23
  8. package/lib/cjs/styles/themes/astro/customProperties/index.d.ts +1 -0
  9. package/lib/cjs/styles/themes/astro/customProperties/index.js +2 -0
  10. package/lib/cjs/styles/themes/next-gen/colors/colors.js +1 -1
  11. package/lib/cjs/styles/themes/next-gen/customProperties/index.d.ts +4 -2
  12. package/lib/cjs/styles/themes/next-gen/customProperties/index.js +2 -0
  13. package/lib/cjs/styles/themes/next-gen/customProperties/tShirtSizes.js +13 -13
  14. package/lib/cjs/styles/themes/next-gen/next-gen.d.ts +145 -245
  15. package/lib/cjs/styles/themes/next-gen/variants/badges.d.ts +18 -20
  16. package/lib/cjs/styles/themes/next-gen/variants/button.d.ts +136 -235
  17. package/lib/cjs/styles/themes/next-gen/variants/button.js +48 -105
  18. package/lib/cjs/styles/themes/next-gen/variants/variants.d.ts +9 -10
  19. package/lib/components/Icon/Icon.js +2 -2
  20. package/lib/components/IconButton/IconButton.stories.js +18 -28
  21. package/lib/hooks/useTShirtSize/useTShirtSize.test.js +51 -1
  22. package/lib/styles/themeOverrides/nextGenDarkMode/variants/buttons.js +10 -23
  23. package/lib/styles/themes/astro/customProperties/index.js +2 -0
  24. package/lib/styles/themes/next-gen/colors/colors.js +1 -1
  25. package/lib/styles/themes/next-gen/customProperties/index.js +2 -0
  26. package/lib/styles/themes/next-gen/customProperties/tShirtSizes.js +13 -13
  27. package/lib/styles/themes/next-gen/variants/button.js +48 -105
  28. package/package.json +1 -1
@@ -29,15 +29,15 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
29
29
  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; }
30
30
  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; }
31
31
  var Icon = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
32
+ var theme = (0, _hooks.useGetTheme)();
32
33
  var color = props.color,
33
34
  IconComponent = props.icon,
34
35
  sx = props.sx,
35
36
  _props$size = props.size,
36
- size = _props$size === void 0 ? 'sm' : _props$size,
37
+ size = _props$size === void 0 ? theme.defaultIconSize : _props$size,
37
38
  variant = props.variant,
38
39
  title = props.title,
39
40
  others = (0, _objectWithoutProperties2["default"])(props, _excluded);
40
- var theme = (0, _hooks.useGetTheme)();
41
41
  var _useTShirtSize = (0, _hooks.useTShirtSize)({
42
42
  size: size,
43
43
  sizes: theme.tShirtSizes
@@ -15,6 +15,7 @@ var _PencilIcon = _interopRequireDefault(require("@pingux/mdi-react/PencilIcon")
15
15
  var _PlusIcon = _interopRequireDefault(require("@pingux/mdi-react/PlusIcon"));
16
16
  var _storybookAddonDesigns = require("storybook-addon-designs");
17
17
  var _storybookDocsLayout = _interopRequireDefault(require("../../../.storybook/storybookDocsLayout"));
18
+ var _hooks = require("../../hooks");
18
19
  var _index = require("../../index");
19
20
  var _figmaLinks = require("../../utils/designUtils/figmaLinks");
20
21
  var _IconButton = _interopRequireDefault(require("./IconButton.mdx"));
@@ -77,7 +78,6 @@ var WithTooltip = function WithTooltip(args) {
77
78
  title: "Edit"
78
79
  }, args), (0, _react2.jsx)(_index.Icon, {
79
80
  icon: _CreateIcon["default"],
80
- size: "sm",
81
81
  title: {
82
82
  name: 'Create Icon'
83
83
  }
@@ -109,6 +109,8 @@ Disabled.parameters = {
109
109
  }
110
110
  };
111
111
  var Sizes = function Sizes() {
112
+ var _useGetTheme = (0, _hooks.useGetTheme)(),
113
+ isOnyx = _useGetTheme.themeState.isOnyx;
112
114
  return (0, _react2.jsx)(_index.Table, null, (0, _react2.jsx)(_index.TableHead, null, (0, _react2.jsx)(_index.TableRow, {
113
115
  key: "head"
114
116
  }, (0, _react2.jsx)(_index.TableCell, {
@@ -126,47 +128,41 @@ var Sizes = function Sizes() {
126
128
  bg: "transparent !important"
127
129
  }, (0, _react2.jsx)(_index.TableCell, {
128
130
  width: "40%"
129
- }, (0, _react2.jsx)(_index.Text, null, "XXS | 15px")), (0, _react2.jsx)(_index.TableCell, null, (0, _react2.jsx)(_index.Text, {
131
+ }, (0, _react2.jsx)(_index.Text, null, "XXS |", ' ', isOnyx ? '18px' : '15px')), (0, _react2.jsx)(_index.TableCell, null, (0, _react2.jsx)(_index.Text, {
130
132
  fontFamily: "monospace"
131
133
  }, ' ', "<IconButton aria-label='create button' variant='inverted'/>"), (0, _react2.jsx)(_index.Text, {
132
134
  fontFamily: "monospace"
133
135
  }, "<Icon icon={CreateIcon} size='xxs'/>"), (0, _react2.jsx)(_index.Text, {
134
136
  fontFamily: "monospace"
135
- }, '</IconButton>')), (0, _react2.jsx)(_index.TableCell, null, (0, _react2.jsx)(_index.IconButton, {
137
+ }, '</IconButton>')), (0, _react2.jsx)(_index.TableCell, null, (0, _react2.jsx)(_index.Box, null, (0, _react2.jsx)(_index.IconButton, {
136
138
  "aria-label": "create button",
137
- variant: "inverted",
138
- sx: {
139
- width: 'unset'
140
- }
139
+ variant: "inverted"
141
140
  }, (0, _react2.jsx)(_index.Icon, {
142
141
  icon: _CreateIcon["default"],
143
142
  size: "xxs",
144
143
  title: {
145
144
  name: 'Create Icon'
146
145
  }
147
- })))), (0, _react2.jsx)(_index.TableRow, {
146
+ }))))), (0, _react2.jsx)(_index.TableRow, {
148
147
  bg: "transparent !important"
149
148
  }, (0, _react2.jsx)(_index.TableCell, {
150
149
  width: "40%"
151
- }, (0, _react2.jsx)(_index.Text, null, "XS | 21px")), (0, _react2.jsx)(_index.TableCell, null, (0, _react2.jsx)(_index.Text, {
150
+ }, (0, _react2.jsx)(_index.Text, null, "XS |", ' ', isOnyx ? '22px' : '21px')), (0, _react2.jsx)(_index.TableCell, null, (0, _react2.jsx)(_index.Text, {
152
151
  fontFamily: "monospace"
153
152
  }, ' ', "<IconButton aria-label='create button' variant='inverted'/>"), (0, _react2.jsx)(_index.Text, {
154
153
  fontFamily: "monospace"
155
154
  }, "<Icon icon={CreateIcon} size='xs'/>"), (0, _react2.jsx)(_index.Text, {
156
155
  fontFamily: "monospace"
157
- }, '</IconButton>')), (0, _react2.jsx)(_index.TableCell, null, (0, _react2.jsx)(_index.IconButton, {
156
+ }, '</IconButton>')), (0, _react2.jsx)(_index.TableCell, null, (0, _react2.jsx)(_index.Box, null, (0, _react2.jsx)(_index.IconButton, {
158
157
  "aria-label": "create button",
159
- variant: "inverted",
160
- sx: {
161
- width: 'unset'
162
- }
158
+ variant: "inverted"
163
159
  }, (0, _react2.jsx)(_index.Icon, {
164
160
  icon: _CreateIcon["default"],
165
161
  size: "xs",
166
162
  title: {
167
163
  name: 'Create Icon'
168
164
  }
169
- })))), (0, _react2.jsx)(_index.TableRow, {
165
+ }))))), (0, _react2.jsx)(_index.TableRow, {
170
166
  bg: "transparent !important"
171
167
  }, (0, _react2.jsx)(_index.TableCell, {
172
168
  width: "40%"
@@ -176,41 +172,35 @@ var Sizes = function Sizes() {
176
172
  fontFamily: "monospace"
177
173
  }, "<Icon icon={CreateIcon} size='sm'/>"), (0, _react2.jsx)(_index.Text, {
178
174
  fontFamily: "monospace"
179
- }, '</IconButton>')), (0, _react2.jsx)(_index.TableCell, null, (0, _react2.jsx)(_index.IconButton, {
175
+ }, '</IconButton>')), (0, _react2.jsx)(_index.TableCell, null, (0, _react2.jsx)(_index.Box, null, (0, _react2.jsx)(_index.IconButton, {
180
176
  "aria-label": "create button",
181
- variant: "inverted",
182
- sx: {
183
- width: 'unset'
184
- }
177
+ variant: "inverted"
185
178
  }, (0, _react2.jsx)(_index.Icon, {
186
179
  icon: _CreateIcon["default"],
187
180
  size: "sm",
188
181
  title: {
189
182
  name: 'Create Icon'
190
183
  }
191
- })))), (0, _react2.jsx)(_index.TableRow, {
184
+ }))))), (0, _react2.jsx)(_index.TableRow, {
192
185
  bg: "transparent !important"
193
186
  }, (0, _react2.jsx)(_index.TableCell, {
194
187
  width: "40%"
195
- }, (0, _react2.jsx)(_index.Text, null, "MD | 31px")), (0, _react2.jsx)(_index.TableCell, null, (0, _react2.jsx)(_index.Text, {
188
+ }, (0, _react2.jsx)(_index.Text, null, "MD |", ' ', isOnyx ? '32px' : '31px')), (0, _react2.jsx)(_index.TableCell, null, (0, _react2.jsx)(_index.Text, {
196
189
  fontFamily: "monospace"
197
190
  }, ' ', "<IconButton aria-label='create button' variant='inverted'/>"), (0, _react2.jsx)(_index.Text, {
198
191
  fontFamily: "monospace"
199
192
  }, "<Icon icon={CreateIcon} size='md'/>"), (0, _react2.jsx)(_index.Text, {
200
193
  fontFamily: "monospace"
201
- }, '</IconButton>')), (0, _react2.jsx)(_index.TableCell, null, (0, _react2.jsx)(_index.IconButton, {
194
+ }, '</IconButton>')), (0, _react2.jsx)(_index.TableCell, null, (0, _react2.jsx)(_index.Box, null, (0, _react2.jsx)(_index.IconButton, {
202
195
  "aria-label": "create button",
203
- variant: "inverted",
204
- sx: {
205
- width: 'unset'
206
- }
196
+ variant: "inverted"
207
197
  }, (0, _react2.jsx)(_index.Icon, {
208
198
  icon: _CreateIcon["default"],
209
199
  size: "md",
210
200
  title: {
211
201
  name: 'Create Icon'
212
202
  }
213
- }))))));
203
+ })))))));
214
204
  };
215
205
  exports.Sizes = Sizes;
216
206
  Sizes.parameters = {
@@ -56,6 +56,7 @@ declare const useGetTheme: () => {
56
56
  accordionItemDefaultLabelTag: string;
57
57
  iFrameContentDivBackgroundColor: string;
58
58
  rockerButtonGap: string;
59
+ defaultIconSize: import("../..").IconSize;
59
60
  buttonLoaderSize: import("../..").LoaderSize;
60
61
  themeState: {
61
62
  isOnyx: boolean;
@@ -106,6 +107,7 @@ declare const useGetTheme: () => {
106
107
  accordionItemMarginLeft: string;
107
108
  defaultLoaderSize: number;
108
109
  defaultIconColor: string;
110
+ defaultIconSize: import("../..").IconSize;
109
111
  buttonLoaderSize: import("../..").LoaderSize;
110
112
  name: string;
111
113
  themeState: {
@@ -62,7 +62,7 @@ test('returns size value if size is a t-shirt value', function () {
62
62
  result = _renderHook2.result;
63
63
  var obj = {
64
64
  sizeProps: {
65
- size: '3rem'
65
+ size: '48px'
66
66
  }
67
67
  };
68
68
  expect(result.current).toEqual(obj);
@@ -112,4 +112,54 @@ test('using custom sizes, returns size value if size is a string value', functio
112
112
  }
113
113
  };
114
114
  expect(result.current).toEqual(obj);
115
+ });
116
+ test('returns size directly if size key is not found in sizes', function () {
117
+ var props = {
118
+ size: 'unknown-size'
119
+ };
120
+ var _renderHook6 = (0, _react.renderHook)(function () {
121
+ return (0, _useTShirtSize["default"])(props);
122
+ }),
123
+ result = _renderHook6.result;
124
+ expect(result.current).toEqual({
125
+ sizeProps: {
126
+ size: 'unknown-size'
127
+ }
128
+ });
129
+ });
130
+ test('returns value if size value includes rem', function () {
131
+ var customSizes = {
132
+ sm: '1.5rem'
133
+ };
134
+ var props = {
135
+ size: 'sm',
136
+ sizes: customSizes
137
+ };
138
+ var _renderHook7 = (0, _react.renderHook)(function () {
139
+ return (0, _useTShirtSize["default"])(props);
140
+ }),
141
+ result = _renderHook7.result;
142
+ expect(result.current).toEqual({
143
+ sizeProps: {
144
+ size: '1.5rem'
145
+ }
146
+ });
147
+ });
148
+ test('returns size with px when numeric value found in sizes', function () {
149
+ var customSizes = {
150
+ sm: 8
151
+ };
152
+ var props = {
153
+ size: 'sm',
154
+ sizes: customSizes
155
+ };
156
+ var _renderHook8 = (0, _react.renderHook)(function () {
157
+ return (0, _useTShirtSize["default"])(props);
158
+ }),
159
+ result = _renderHook8.result;
160
+ expect(result.current).toEqual({
161
+ sizeProps: {
162
+ size: '8px'
163
+ }
164
+ });
115
165
  });
@@ -49,5 +49,6 @@ export declare const nextGenDarkThemeValues: {
49
49
  };
50
50
  accordionItemDefaultLabelTag: string;
51
51
  rockerButtonGap: string;
52
+ defaultIconSize: import("../../../..").IconSize;
52
53
  buttonLoaderSize: import("../../../..").LoaderSize;
53
54
  };
@@ -194,11 +194,6 @@ declare const buttons: {
194
194
  path: {
195
195
  fill: string;
196
196
  };
197
- '&.is-focused': {
198
- outline: string;
199
- outlineColor: string;
200
- outlineOffset: string;
201
- };
202
197
  '&.is-hovered': {
203
198
  path: {
204
199
  fill: string;
@@ -214,34 +209,28 @@ declare const buttons: {
214
209
  };
215
210
  };
216
211
  inverted: {
217
- borderColor: string;
218
212
  path: {
219
213
  fill: string;
220
214
  };
221
215
  '&.is-pressed': {
222
216
  backgroundColor: string;
223
- borderColor: string;
224
217
  };
225
218
  '&.is-hovered': {
226
- border: string;
227
- borderColor: string;
228
219
  backgroundColor: string;
229
220
  };
230
- '&.is-focused': {
231
- outline: string;
232
- outlineColor: string;
233
- outlineOffset: string;
221
+ };
222
+ searchClearButton: {
223
+ '&.is-hovered': {
224
+ backgroundColor: string;
225
+ };
226
+ '&.is-pressed': {
227
+ backgroundColor: string;
234
228
  };
235
229
  };
236
230
  hintButton: {
237
231
  path: {
238
232
  fill: string;
239
233
  };
240
- '&.is-focused': {
241
- outline: string;
242
- outlineColor: string;
243
- outlineOffset: string;
244
- };
245
234
  '&.is-hovered': {
246
235
  path: {
247
236
  fill: string;
@@ -256,18 +245,6 @@ declare const buttons: {
256
245
  };
257
246
  };
258
247
  };
259
- nextGen: {
260
- '&.is-hovered': {
261
- path: {
262
- fill: string;
263
- };
264
- };
265
- '&.is-pressed': {
266
- path: {
267
- fill: string;
268
- };
269
- };
270
- };
271
248
  deleteAttachment: {
272
249
  backgroundColor: string;
273
250
  borderColor: string;
@@ -282,11 +259,6 @@ declare const buttons: {
282
259
  path: {
283
260
  fill: string;
284
261
  };
285
- '&.is-focused': {
286
- outline: string;
287
- outlineColor: string;
288
- outlineOffset: string;
289
- };
290
262
  '&.is-pressed': {
291
263
  backgroundColor: string;
292
264
  borderColor: string;
@@ -299,11 +271,6 @@ declare const buttons: {
299
271
  path: {
300
272
  fill: string;
301
273
  };
302
- '&.is-focused': {
303
- outline: string;
304
- outlineColor: string;
305
- outlineOffset: string;
306
- };
307
274
  '&.is-hovered': {
308
275
  path: {
309
276
  fill: string;
@@ -325,11 +292,6 @@ declare const buttons: {
325
292
  path: {
326
293
  fill: string;
327
294
  };
328
- '&.is-focused': {
329
- outline: string;
330
- outlineColor: string;
331
- outlineOffset: string;
332
- };
333
295
  '&.is-pressed': {
334
296
  backgroundColor: string;
335
297
  borderColor: string;
@@ -22,56 +22,43 @@ var baseIconButton = {
22
22
  path: {
23
23
  fill: 'dark'
24
24
  },
25
- '&.is-focused': {
26
- outline: '2px solid',
27
- outlineColor: 'primary',
28
- outlineOffset: '3px'
29
- },
30
25
  '&.is-hovered': {
31
26
  path: {
32
- fill: _chromaJs["default"].mix(_colorTokens.nextGenColors['gray-400'], 'black', 0.15, 'rgb').hex()
27
+ fill: 'gray-400'
33
28
  },
34
- backgroundColor: 'transparent'
29
+ backgroundColor: 'background.secondary'
35
30
  },
36
31
  '&.is-pressed': {
37
32
  backgroundColor: 'gray-800',
38
33
  borderColor: 'gray-900',
39
34
  path: {
40
- fill: _chromaJs["default"].mix(_colorTokens.nextGenColors['gray-400'], 'black', 0.15, 'rgb').hex()
35
+ fill: 'gray-400'
41
36
  }
42
37
  }
43
38
  };
44
39
  var hintButton = _objectSpread({}, baseIconButton);
45
40
  var iconButtons = {
46
41
  base: _objectSpread({}, baseIconButton),
47
- inverted: _objectSpread(_objectSpread({}, baseIconButton), {}, {
48
- borderColor: 'transparent !important',
42
+ inverted: {
49
43
  path: {
50
44
  fill: 'black'
51
45
  },
52
46
  '&.is-pressed': {
53
- backgroundColor: _chromaJs["default"].mix('white', 'black', 0.125, 'rgb').hex(),
54
- borderColor: _chromaJs["default"].mix('white', 'black', 0.125, 'rgb').hex()
47
+ backgroundColor: _chromaJs["default"].mix('white', 'black', 0.125, 'rgb').hex()
55
48
  },
56
49
  '&.is-hovered': {
57
- border: 'none !important',
58
- borderColor: 'none !important',
59
50
  backgroundColor: 'white'
60
51
  }
61
- }),
62
- hintButton: hintButton,
63
- nextGen: {
52
+ },
53
+ searchClearButton: {
64
54
  '&.is-hovered': {
65
- path: {
66
- fill: 'black'
67
- }
55
+ backgroundColor: 'background.secondary'
68
56
  },
69
57
  '&.is-pressed': {
70
- path: {
71
- fill: 'black'
72
- }
58
+ backgroundColor: 'background.secondary'
73
59
  }
74
60
  },
61
+ hintButton: hintButton,
75
62
  deleteAttachment: {
76
63
  backgroundColor: 'background.secondary',
77
64
  borderColor: 'border.attachment',
@@ -42,5 +42,6 @@ export declare const astroThemeValues: {
42
42
  accordionItemMarginLeft: string;
43
43
  defaultLoaderSize: number;
44
44
  defaultIconColor: string;
45
+ defaultIconSize: IconSize;
45
46
  buttonLoaderSize: LoaderSize;
46
47
  };
@@ -28,6 +28,7 @@ var defaultLoaderSize = 16;
28
28
  var buttonLoaderSize = '0.5em';
29
29
  var iFrameContentDivBackgroundColor = '#F7F8FD';
30
30
  var defaultIconColor = 'currentColor';
31
+ var defaultIconSize = 'sm';
31
32
  var astroThemeValues = {
32
33
  accordionItemDefaultLabelTag: accordionItemDefaultLabelTag,
33
34
  activeColor: activeColor,
@@ -46,6 +47,7 @@ var astroThemeValues = {
46
47
  accordionItemMarginLeft: accordionItemMarginLeft,
47
48
  defaultLoaderSize: defaultLoaderSize,
48
49
  defaultIconColor: defaultIconColor,
50
+ defaultIconSize: defaultIconSize,
49
51
  buttonLoaderSize: buttonLoaderSize
50
52
  };
51
53
  exports.astroThemeValues = astroThemeValues;
@@ -128,7 +128,7 @@ var badge = {
128
128
  textColor: _colorTokens.nextGenColors.font.base,
129
129
  background: _colorTokens.nextGenColors['gray-100']
130
130
  };
131
- var tooltip = _colorTokens.nextGenColors['gray-900'];
131
+ var tooltip = 'black';
132
132
  var colors = _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, subColors), _colorTokens.nextGenColors), overrides), {}, {
133
133
  badge: badge,
134
134
  card: card,
@@ -1,8 +1,9 @@
1
1
  /// <reference types="react" />
2
+ import type { IconSize } from '../../../../types';
2
3
  import { LoaderSize } from '../../../../types';
3
4
  export declare const nextGenThemeValues: {
4
- copyButtonSize: import("../../../../types").IconSize;
5
- breadcrumbIconSize: import("../../../../types").IconSize;
5
+ copyButtonSize: IconSize;
6
+ breadcrumbIconSize: IconSize;
6
7
  breadcrumbIconMargin: string;
7
8
  accordionItemMarginLeft: string;
8
9
  pageHeaderTitleMargin: string;
@@ -51,5 +52,6 @@ export declare const nextGenThemeValues: {
51
52
  accordionItemDefaultLabelTag: string;
52
53
  iFrameContentDivBackgroundColor: string;
53
54
  rockerButtonGap: string;
55
+ defaultIconSize: IconSize;
54
56
  buttonLoaderSize: LoaderSize;
55
57
  };
@@ -30,6 +30,7 @@ var activeColor = '#1a73e8';
30
30
  var backgroundBaseColor = 'white';
31
31
  var iFrameContentDivBackgroundColor = backgroundBaseColor;
32
32
  var defaultIconColor = 'gray-800';
33
+ var defaultIconSize = 'md';
33
34
  var buttonLoaderSize = 'sm';
34
35
  var nextGenThemeValues = _objectSpread({
35
36
  activeColor: activeColor,
@@ -43,6 +44,7 @@ var nextGenThemeValues = _objectSpread({
43
44
  accordionItemDefaultLabelTag: accordionItemDefaultLabelTag,
44
45
  iFrameContentDivBackgroundColor: iFrameContentDivBackgroundColor,
45
46
  rockerButtonGap: '0px',
47
+ defaultIconSize: defaultIconSize,
46
48
  buttonLoaderSize: buttonLoaderSize
47
49
  }, _customSizes["default"]);
48
50
  exports.nextGenThemeValues = nextGenThemeValues;
@@ -6,19 +6,19 @@ _Object$defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.iconWrapperSizes = exports["default"] = void 0;
8
8
  var _default = {
9
- xxs: '8px',
10
- 'icon-100': '.875rem',
11
- xs: '15px',
12
- 'icon-200': '1.125rem',
13
- sm: '20px',
14
- 'icon-300': '1.5rem',
15
- md: '25px',
16
- 'icon-400': '2.25rem',
17
- 'icon-500': '3rem',
18
- 'icon-600': '3.75rem',
19
- 'icon-700': '4.5rem',
20
- 'icon-800': '5.25rem',
21
- 'icon-900': '6rem'
9
+ xxs: '10px',
10
+ 'icon-100': '14px',
11
+ xs: '14px',
12
+ 'icon-200': '18px',
13
+ sm: '18px',
14
+ 'icon-300': '24px',
15
+ md: '24px',
16
+ 'icon-400': '36px',
17
+ 'icon-500': '48px',
18
+ 'icon-600': '60px',
19
+ 'icon-700': '72px',
20
+ 'icon-800': '84px',
21
+ 'icon-900': '96px'
22
22
  };
23
23
  exports["default"] = _default;
24
24
  var iconWrapperSizes = {