@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
|
@@ -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
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
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,58 +22,45 @@ 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:
|
|
27
|
+
fill: 'gray-400'
|
|
33
28
|
},
|
|
34
|
-
backgroundColor: '
|
|
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:
|
|
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:
|
|
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
|
-
|
|
63
|
-
nextGen: {
|
|
52
|
+
},
|
|
53
|
+
searchClearButton: {
|
|
64
54
|
'&.is-hovered': {
|
|
65
|
-
|
|
66
|
-
fill: 'black'
|
|
67
|
-
}
|
|
55
|
+
backgroundColor: 'background.secondary'
|
|
68
56
|
},
|
|
69
57
|
'&.is-pressed': {
|
|
70
|
-
|
|
71
|
-
fill: 'black'
|
|
72
|
-
}
|
|
58
|
+
backgroundColor: 'background.secondary'
|
|
73
59
|
}
|
|
74
60
|
},
|
|
61
|
+
hintButton: hintButton,
|
|
75
62
|
deleteAttachment: {
|
|
76
|
-
backgroundColor: '
|
|
63
|
+
backgroundColor: 'backgroundSecondary',
|
|
77
64
|
borderColor: 'border.attachment',
|
|
78
65
|
'&.is-hovered': {
|
|
79
66
|
backgroundColor: '#0a0b0d'
|
|
@@ -18,7 +18,7 @@ var _input = require("./input");
|
|
|
18
18
|
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; }
|
|
19
19
|
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; }
|
|
20
20
|
var select = {
|
|
21
|
-
backgroundColor: '
|
|
21
|
+
backgroundColor: 'backgroundBase',
|
|
22
22
|
borderRadius: '4px',
|
|
23
23
|
border: '.5px solid',
|
|
24
24
|
borderColor: '#69788B !important',
|
|
@@ -53,7 +53,7 @@ var label = {
|
|
|
53
53
|
}
|
|
54
54
|
};
|
|
55
55
|
var selectOption = {
|
|
56
|
-
backgroundColor: '
|
|
56
|
+
backgroundColor: 'backgroundBase',
|
|
57
57
|
color: 'text.primary',
|
|
58
58
|
px: 'md',
|
|
59
59
|
py: 'sm',
|
|
@@ -18,7 +18,7 @@ var _text = require("./text");
|
|
|
18
18
|
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; }
|
|
19
19
|
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; }
|
|
20
20
|
var input = {
|
|
21
|
-
backgroundColor: '
|
|
21
|
+
backgroundColor: 'backgroundBase',
|
|
22
22
|
borderColor: 'border.input',
|
|
23
23
|
'&::placeholder': _text.text.placeholder
|
|
24
24
|
};
|
|
@@ -26,13 +26,13 @@ exports.input = input;
|
|
|
26
26
|
var fieldControlWrapper = {
|
|
27
27
|
'> textarea': {
|
|
28
28
|
borderColor: 'border.input',
|
|
29
|
-
backgroundColor: '
|
|
29
|
+
backgroundColor: 'backgroundBase'
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
32
|
exports.fieldControlWrapper = fieldControlWrapper;
|
|
33
33
|
input.fieldControlWrapper = _objectSpread({}, fieldControlWrapper);
|
|
34
34
|
input.multivaluesWrapper = {
|
|
35
|
-
backgroundColor: '
|
|
35
|
+
backgroundColor: 'backgroundBase',
|
|
36
36
|
'&.is-read-only': {
|
|
37
37
|
boxShadow: 'inset 0 0 0 100px #30373f',
|
|
38
38
|
border: '1px solid',
|
|
@@ -7,31 +7,31 @@ _Object$defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.message = void 0;
|
|
8
8
|
var message = {
|
|
9
9
|
item: {
|
|
10
|
-
backgroundColor: '
|
|
10
|
+
backgroundColor: 'light',
|
|
11
11
|
color: 'white !important',
|
|
12
12
|
'> span': {
|
|
13
13
|
color: 'white !important'
|
|
14
14
|
},
|
|
15
15
|
'&.is-success': {
|
|
16
|
-
bg: '
|
|
16
|
+
bg: 'light',
|
|
17
17
|
borderLeftColor: 'green-500',
|
|
18
18
|
color: 'text.message'
|
|
19
19
|
},
|
|
20
20
|
'&.is-success, > .is-success': {
|
|
21
|
-
bg: '
|
|
21
|
+
bg: 'light',
|
|
22
22
|
color: 'text.message'
|
|
23
23
|
},
|
|
24
24
|
'&.is-warning': {
|
|
25
|
-
bg: '
|
|
25
|
+
bg: 'light',
|
|
26
26
|
borderLeftColor: 'yellow-500',
|
|
27
27
|
color: 'text.message'
|
|
28
28
|
},
|
|
29
29
|
'&.is-warning, > .is-warning': {
|
|
30
|
-
bg: '
|
|
30
|
+
bg: 'light',
|
|
31
31
|
color: 'text.message'
|
|
32
32
|
},
|
|
33
33
|
'&.is-error, > .is-error': {
|
|
34
|
-
bg: '
|
|
34
|
+
bg: 'light',
|
|
35
35
|
color: 'text.message'
|
|
36
36
|
},
|
|
37
37
|
'&.is-error, > button > svg': {
|
|
@@ -377,6 +377,26 @@ declare const _default: {
|
|
|
377
377
|
bg: string;
|
|
378
378
|
};
|
|
379
379
|
headingContainer: {
|
|
380
|
+
borderBottom: string;
|
|
381
|
+
borderBottomColor: string;
|
|
382
|
+
bg: string;
|
|
383
|
+
};
|
|
384
|
+
header: {
|
|
385
|
+
borderBottom: string;
|
|
386
|
+
borderBottomColor: string;
|
|
387
|
+
bg: string;
|
|
388
|
+
};
|
|
389
|
+
body: {
|
|
390
|
+
bg: string;
|
|
391
|
+
};
|
|
392
|
+
footer: {
|
|
393
|
+
borderTop: string;
|
|
394
|
+
borderTopColor: string;
|
|
395
|
+
bg: string;
|
|
396
|
+
};
|
|
397
|
+
footerContainer: {
|
|
398
|
+
borderTop: string;
|
|
399
|
+
borderTopColor: string;
|
|
380
400
|
bg: string;
|
|
381
401
|
};
|
|
382
402
|
buttonsContainer: {
|
|
@@ -18,7 +18,7 @@ var _navbar = require("./navbar");
|
|
|
18
18
|
var _skeleton = _interopRequireDefault(require("./skeleton"));
|
|
19
19
|
var listBox = {
|
|
20
20
|
container: {
|
|
21
|
-
backgroundColor: '
|
|
21
|
+
backgroundColor: 'backgroundBase',
|
|
22
22
|
border: '1px solid',
|
|
23
23
|
borderColor: 'transparent',
|
|
24
24
|
borderRadius: '4px'
|
|
@@ -51,21 +51,41 @@ var tab = {
|
|
|
51
51
|
};
|
|
52
52
|
var modal = {
|
|
53
53
|
content: {
|
|
54
|
-
bg: '
|
|
54
|
+
bg: 'backgroundBase'
|
|
55
55
|
},
|
|
56
56
|
headingContainer: {
|
|
57
|
-
|
|
57
|
+
borderBottom: '1px solid',
|
|
58
|
+
borderBottomColor: 'border.base',
|
|
59
|
+
bg: 'backgroundBase'
|
|
60
|
+
},
|
|
61
|
+
header: {
|
|
62
|
+
borderBottom: '1px solid',
|
|
63
|
+
borderBottomColor: 'border.base',
|
|
64
|
+
bg: 'backgroundBase'
|
|
65
|
+
},
|
|
66
|
+
body: {
|
|
67
|
+
bg: 'backgroundBase'
|
|
68
|
+
},
|
|
69
|
+
footer: {
|
|
70
|
+
borderTop: '1px solid',
|
|
71
|
+
borderTopColor: 'border.base',
|
|
72
|
+
bg: 'backgroundBase'
|
|
73
|
+
},
|
|
74
|
+
footerContainer: {
|
|
75
|
+
borderTop: '1px solid',
|
|
76
|
+
borderTopColor: 'border.base',
|
|
77
|
+
bg: 'backgroundBase'
|
|
58
78
|
},
|
|
59
79
|
buttonsContainer: {
|
|
60
|
-
bg: '
|
|
80
|
+
bg: 'backgroundBase'
|
|
61
81
|
}
|
|
62
82
|
};
|
|
63
83
|
var rockerButton = {
|
|
64
84
|
innerContainer: {
|
|
65
|
-
backgroundColor: '
|
|
85
|
+
backgroundColor: 'backgroundBase'
|
|
66
86
|
},
|
|
67
87
|
thumbSwitch: {
|
|
68
|
-
backgroundColor: '
|
|
88
|
+
backgroundColor: 'backgroundBase',
|
|
69
89
|
color: 'blue-400',
|
|
70
90
|
'&.is-selected': {
|
|
71
91
|
color: 'black',
|
|
@@ -83,7 +103,7 @@ var rockerButton = {
|
|
|
83
103
|
};
|
|
84
104
|
var attachment = {
|
|
85
105
|
container: {
|
|
86
|
-
backgroundColor: '
|
|
106
|
+
backgroundColor: 'backgroundSecondary',
|
|
87
107
|
borderColor: 'border.attachment'
|
|
88
108
|
}
|
|
89
109
|
};
|
|
@@ -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;
|
|
@@ -61,13 +61,12 @@ declare const colors: {
|
|
|
61
61
|
};
|
|
62
62
|
active: string;
|
|
63
63
|
primary: string;
|
|
64
|
-
background:
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
};
|
|
64
|
+
background: string;
|
|
65
|
+
backgroundBase: string;
|
|
66
|
+
backgroundSecondary: string;
|
|
67
|
+
backgroundCard: string;
|
|
68
|
+
backgroundSuggestion: string;
|
|
69
|
+
backgroundHover: string;
|
|
71
70
|
iconWrapper: {
|
|
72
71
|
wrapper: {
|
|
73
72
|
orange: string;
|
|
@@ -113,13 +113,12 @@ var overrides = {
|
|
|
113
113
|
focus: colorsObject.active,
|
|
114
114
|
disabled: _colorTokens.nextGenColors['gray-100']
|
|
115
115
|
};
|
|
116
|
-
var background =
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
};
|
|
116
|
+
var background = _colorTokens.nextGenColors['blue-100'];
|
|
117
|
+
var backgroundBase = 'white';
|
|
118
|
+
var backgroundSecondary = _colorTokens.nextGenColors['gray-100'];
|
|
119
|
+
var backgroundCard = _colorTokens.nextGenColors['blue-100'];
|
|
120
|
+
var backgroundSuggestion = '#ecf0f5';
|
|
121
|
+
var backgroundHover = _colorTokens.nextGenColors['gray-100'];
|
|
123
122
|
var card = {
|
|
124
123
|
blue: _colorTokens.nextGenColors['blue-100'],
|
|
125
124
|
gray: _colorTokens.nextGenColors['gray-100']
|
|
@@ -128,7 +127,7 @@ var badge = {
|
|
|
128
127
|
textColor: _colorTokens.nextGenColors.font.base,
|
|
129
128
|
background: _colorTokens.nextGenColors['gray-100']
|
|
130
129
|
};
|
|
131
|
-
var tooltip =
|
|
130
|
+
var tooltip = 'black';
|
|
132
131
|
var colors = _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, subColors), _colorTokens.nextGenColors), overrides), {}, {
|
|
133
132
|
badge: badge,
|
|
134
133
|
card: card,
|
|
@@ -141,6 +140,11 @@ var colors = _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, subColo
|
|
|
141
140
|
active: colorsObject.blue,
|
|
142
141
|
primary: colorsObject.blue,
|
|
143
142
|
background: background,
|
|
143
|
+
backgroundBase: backgroundBase,
|
|
144
|
+
backgroundSecondary: backgroundSecondary,
|
|
145
|
+
backgroundCard: backgroundCard,
|
|
146
|
+
backgroundSuggestion: backgroundSuggestion,
|
|
147
|
+
backgroundHover: backgroundHover,
|
|
144
148
|
iconWrapper: _iconWrapper.iconWrapper,
|
|
145
149
|
tooltip: tooltip,
|
|
146
150
|
twoTone: _twoTone["default"]
|
|
@@ -5,7 +5,7 @@ _Object$defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.nextGenOnlyComponents = exports["default"] = exports.componentSpecificNextGenBlacklist = exports.astroBlacklistStory = void 0;
|
|
8
|
-
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'];
|
|
8
|
+
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'];
|
|
9
9
|
var componentSpecificNextGenBlacklist = {
|
|
10
10
|
AstroProvider: ['Default', 'With Custom Theme Override'],
|
|
11
11
|
Messages: ['Customization'],
|
|
@@ -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:
|
|
5
|
-
breadcrumbIconSize:
|
|
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: '
|
|
10
|
-
'icon-100': '
|
|
11
|
-
xs: '
|
|
12
|
-
'icon-200': '
|
|
13
|
-
sm: '
|
|
14
|
-
'icon-300': '
|
|
15
|
-
md: '
|
|
16
|
-
'icon-400': '
|
|
17
|
-
'icon-500': '
|
|
18
|
-
'icon-600': '
|
|
19
|
-
'icon-700': '
|
|
20
|
-
'icon-800': '
|
|
21
|
-
'icon-900': '
|
|
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 = {
|