@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
|
@@ -327,44 +327,60 @@ var aiChat = _objectSpread(_objectSpread({}, withIcon), {}, {
|
|
|
327
327
|
}
|
|
328
328
|
}
|
|
329
329
|
});
|
|
330
|
-
|
|
331
|
-
|
|
330
|
+
|
|
331
|
+
// Base styles for icon buttons
|
|
332
|
+
var baseIconButtonStyle = {
|
|
333
|
+
p: '4px',
|
|
332
334
|
transition: 'color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out',
|
|
333
335
|
outline: 'none',
|
|
334
336
|
borderRadius: '28px',
|
|
335
|
-
border: '
|
|
336
|
-
|
|
337
|
+
border: 'none',
|
|
338
|
+
cursor: 'pointer',
|
|
339
|
+
boxShadow: 'none !important'
|
|
340
|
+
};
|
|
341
|
+
var baseIconButton = _objectSpread(_objectSpread({}, baseIconButtonStyle), {}, {
|
|
337
342
|
path: {
|
|
338
343
|
fill: 'dark'
|
|
339
344
|
},
|
|
340
|
-
'&.is-focused': {
|
|
341
|
-
outline: '2px solid',
|
|
342
|
-
outlineColor: 'primary',
|
|
343
|
-
outlineOffset: '3px'
|
|
344
|
-
},
|
|
345
345
|
'&.is-hovered': {
|
|
346
|
-
backgroundColor: '
|
|
346
|
+
backgroundColor: 'background.hover',
|
|
347
347
|
path: {
|
|
348
348
|
fill: 'dark'
|
|
349
349
|
}
|
|
350
350
|
},
|
|
351
351
|
'&.is-pressed': {
|
|
352
|
-
backgroundColor: '
|
|
353
|
-
borderColor: 'gray-200',
|
|
352
|
+
backgroundColor: 'background.hover',
|
|
354
353
|
path: {
|
|
355
354
|
fill: 'dark'
|
|
356
355
|
}
|
|
357
|
-
}
|
|
358
|
-
}
|
|
356
|
+
},
|
|
357
|
+
'&.is-focused': _objectSpread({}, defaultFocus)
|
|
358
|
+
});
|
|
359
|
+
var invertedIconButton = _objectSpread(_objectSpread({}, baseIconButtonStyle), {}, {
|
|
360
|
+
'&.is-hovered': {
|
|
361
|
+
boxShadow: 'none !important',
|
|
362
|
+
backgroundColor: 'blue-600'
|
|
363
|
+
},
|
|
364
|
+
'&.is-pressed': {
|
|
365
|
+
backgroundColor: 'blue-600'
|
|
366
|
+
},
|
|
367
|
+
'&.is-disabled': {
|
|
368
|
+
backgroundColor: 'gray-300'
|
|
369
|
+
},
|
|
370
|
+
'&.is-focused': _objectSpread({}, defaultFocus)
|
|
371
|
+
});
|
|
359
372
|
var modalCloseButton = _objectSpread(_objectSpread({}, baseIconButton), {}, {
|
|
360
373
|
position: 'absolute',
|
|
361
374
|
top: 32,
|
|
362
375
|
right: 18
|
|
363
376
|
});
|
|
364
|
-
var onyxIconButton = _objectSpread(_objectSpread(
|
|
377
|
+
var onyxIconButton = _objectSpread(_objectSpread({}, baseIconButton), {}, {
|
|
365
378
|
path: {
|
|
366
379
|
fill: 'blue'
|
|
367
380
|
},
|
|
381
|
+
display: 'inline-flex',
|
|
382
|
+
alignItems: 'center',
|
|
383
|
+
justifyContent: 'center',
|
|
368
384
|
'&.is-hovered': {
|
|
369
385
|
backgroundColor: _chromaJs["default"].mix(primaryBlue, 'black', 0.075, 'rgb').hex(),
|
|
370
386
|
path: {
|
|
@@ -373,47 +389,32 @@ var onyxIconButton = _objectSpread(_objectSpread(_objectSpread({}, baseIconButto
|
|
|
373
389
|
},
|
|
374
390
|
'&.is-pressed': {
|
|
375
391
|
backgroundColor: _chromaJs["default"].mix(primaryBlue, 'black', 0.125, 'rgb').hex(),
|
|
376
|
-
borderColor: _chromaJs["default"].mix(primaryBlue, 'black', 0.125, 'rgb').hex(),
|
|
377
392
|
path: {
|
|
378
393
|
fill: 'white'
|
|
379
394
|
}
|
|
380
395
|
},
|
|
381
|
-
|
|
382
|
-
maxWidth: '48.5px',
|
|
383
|
-
width: '48.5px',
|
|
384
|
-
p: 'sm',
|
|
385
|
-
display: 'inline-flex',
|
|
386
|
-
alignItems: 'center',
|
|
387
|
-
justifyContent: 'center'
|
|
396
|
+
'&.is-focused': _objectSpread({}, defaultFocus)
|
|
388
397
|
});
|
|
389
398
|
var hintButton = {
|
|
390
399
|
backgroundColor: 'transparent',
|
|
391
400
|
path: {
|
|
392
401
|
fill: 'dark'
|
|
393
402
|
},
|
|
394
|
-
'&.is-focused': {
|
|
395
|
-
outline: '2px solid',
|
|
396
|
-
outlineColor: 'primary',
|
|
397
|
-
outlineOffset: '3px'
|
|
398
|
-
},
|
|
399
403
|
'&.is-hovered': {
|
|
400
404
|
backgroundColor: 'gray-100',
|
|
401
405
|
path: {
|
|
402
406
|
fill: 'dark'
|
|
403
407
|
}
|
|
404
|
-
}
|
|
408
|
+
},
|
|
409
|
+
'&.is-focused': _objectSpread({}, defaultFocus)
|
|
405
410
|
};
|
|
406
411
|
var badgeDeleteButton = _objectSpread(_objectSpread({}, baseIconButton), {}, {
|
|
407
|
-
height: 14,
|
|
408
412
|
p: 0,
|
|
413
|
+
height: 14,
|
|
409
414
|
width: 14,
|
|
410
|
-
|
|
411
|
-
'&.is-focused': _objectSpread(_objectSpread({}, defaultFocus), {}, {
|
|
412
|
-
backgroundColor: 'gray-100'
|
|
413
|
-
}),
|
|
415
|
+
'&.is-focused': _objectSpread({}, defaultFocus),
|
|
414
416
|
'&.is-pressed': {
|
|
415
417
|
backgroundColor: 'gray-100',
|
|
416
|
-
borderColor: 'gray-200',
|
|
417
418
|
path: {
|
|
418
419
|
fill: 'dark'
|
|
419
420
|
}
|
|
@@ -422,19 +423,17 @@ var badgeDeleteButton = _objectSpread(_objectSpread({}, baseIconButton), {}, {
|
|
|
422
423
|
bg: 'transparent'
|
|
423
424
|
}
|
|
424
425
|
}, transitions);
|
|
425
|
-
var searchClearButton = _objectSpread(_objectSpread({},
|
|
426
|
+
var searchClearButton = _objectSpread(_objectSpread({}, baseIconButtonStyle), {}, {
|
|
427
|
+
path: {
|
|
428
|
+
fill: 'dark'
|
|
429
|
+
},
|
|
426
430
|
width: '20px',
|
|
427
431
|
height: '20px',
|
|
428
|
-
border: 'none',
|
|
429
432
|
position: 'absolute',
|
|
430
433
|
right: '20px',
|
|
431
|
-
'& > svg': {
|
|
432
|
-
minWidth: _tShirtSizes["default"].xs,
|
|
433
|
-
width: _tShirtSizes["default"].xs,
|
|
434
|
-
height: _tShirtSizes["default"].xs
|
|
435
|
-
},
|
|
436
434
|
'&.is-hovered': {
|
|
437
|
-
bg: 'background.hover'
|
|
435
|
+
bg: 'background.hover',
|
|
436
|
+
boxShadow: 'none !important'
|
|
438
437
|
},
|
|
439
438
|
'&.is-pressed': {
|
|
440
439
|
bg: 'background.hover'
|
|
@@ -442,7 +441,6 @@ var searchClearButton = _objectSpread(_objectSpread({}, baseIconButton), {}, {
|
|
|
442
441
|
});
|
|
443
442
|
var iconButtons = {
|
|
444
443
|
base: _objectSpread({}, baseIconButton),
|
|
445
|
-
nextGen: _objectSpread({}, onyxIconButton),
|
|
446
444
|
onyx: _objectSpread({}, onyxIconButton),
|
|
447
445
|
responseToolbar: _objectSpread(_objectSpread({}, baseIconButton), {}, {
|
|
448
446
|
'&.is-not-loaded': {
|
|
@@ -463,7 +461,6 @@ var iconButtons = {
|
|
|
463
461
|
}),
|
|
464
462
|
'&.is-pressed': {
|
|
465
463
|
backgroundColor: 'gray-100',
|
|
466
|
-
borderColor: 'gray-200',
|
|
467
464
|
path: {
|
|
468
465
|
fill: 'dark'
|
|
469
466
|
}
|
|
@@ -475,83 +472,30 @@ var iconButtons = {
|
|
|
475
472
|
width: '28px',
|
|
476
473
|
height: '28px',
|
|
477
474
|
'& > svg': {
|
|
478
|
-
minWidth:
|
|
479
|
-
width:
|
|
480
|
-
height:
|
|
475
|
+
minWidth: _tShirtSizes["default"].sm,
|
|
476
|
+
width: _tShirtSizes["default"].sm,
|
|
477
|
+
height: _tShirtSizes["default"].sm,
|
|
481
478
|
path: {
|
|
482
479
|
fill: '#455469 !important'
|
|
483
480
|
}
|
|
484
481
|
}
|
|
485
482
|
}),
|
|
486
|
-
headerNav: _objectSpread(
|
|
487
|
-
borderRadius: '4px',
|
|
488
|
-
path: {
|
|
489
|
-
fill: 'text.primary'
|
|
490
|
-
},
|
|
491
|
-
px: 'md',
|
|
492
|
-
py: 'sm',
|
|
493
|
-
width: '56px',
|
|
494
|
-
height: '40px',
|
|
495
|
-
'&.is-hovered': {
|
|
496
|
-
path: {
|
|
497
|
-
fill: 'text.secondary'
|
|
498
|
-
}
|
|
499
|
-
},
|
|
500
|
-
'&.is-pressed': {
|
|
501
|
-
path: {
|
|
502
|
-
fill: 'text.secondary'
|
|
503
|
-
}
|
|
504
|
-
},
|
|
505
|
-
'&.is-focused': _objectSpread(_objectSpread({}, defaultFocus), {}, {
|
|
506
|
-
outlineOffset: '1px'
|
|
507
|
-
})
|
|
508
|
-
}),
|
|
483
|
+
headerNav: _objectSpread({}, baseIconButton),
|
|
509
484
|
copyButton: _codeView.copyButton,
|
|
510
485
|
deleteAttachment: _objectSpread(_objectSpread({}, baseIconButton), {}, {
|
|
511
486
|
backgroundColor: 'light',
|
|
512
|
-
border: '1px solid',
|
|
513
|
-
borderColor: 'gray-300',
|
|
514
487
|
size: '24px',
|
|
515
|
-
p: '4px',
|
|
516
488
|
'&.is-hovered': {
|
|
517
489
|
backgroundColor: '#dde5ec'
|
|
518
490
|
}
|
|
519
491
|
}),
|
|
520
|
-
inverted: {
|
|
521
|
-
cursor: 'pointer',
|
|
522
|
-
transition: 'color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out',
|
|
523
|
-
outline: 'none',
|
|
524
|
-
path: {
|
|
525
|
-
fill: 'white'
|
|
526
|
-
},
|
|
527
|
-
'&.is-focused': {
|
|
528
|
-
outline: '2px solid',
|
|
529
|
-
outlineColor: 'primary',
|
|
530
|
-
outlineOffset: '3px'
|
|
531
|
-
},
|
|
532
|
-
'&.is-pressed': {
|
|
533
|
-
backgroundColor: _chromaJs["default"].mix(primaryBlue, 'black', 0.125, 'rgb').hex(),
|
|
534
|
-
borderColor: _chromaJs["default"].mix(primaryBlue, 'black', 0.125, 'rgb').hex()
|
|
535
|
-
},
|
|
536
|
-
'&.is-hovered': _objectSpread(_objectSpread({}, boxShadowNone), {}, {
|
|
537
|
-
border: 'none !important',
|
|
538
|
-
borderColor: 'none !important',
|
|
539
|
-
backgroundColor: _chromaJs["default"].mix(primaryBlue, 'black', 0.075, 'rgb').hex()
|
|
540
|
-
}),
|
|
541
|
-
'&.is-disabled': {
|
|
542
|
-
backgroundColor: 'gray-300'
|
|
543
|
-
}
|
|
544
|
-
},
|
|
492
|
+
inverted: _objectSpread({}, invertedIconButton),
|
|
545
493
|
searchClearButton: searchClearButton,
|
|
546
494
|
filter: _objectSpread(_objectSpread({}, baseIconButton), {}, {
|
|
547
|
-
bg: 'transparent',
|
|
548
|
-
border: '2px solid',
|
|
549
|
-
borderColor: 'transparent',
|
|
550
495
|
width: '32px',
|
|
551
496
|
height: '32px',
|
|
552
497
|
'&.is-hovered': {
|
|
553
|
-
|
|
554
|
-
borderColor: 'transparent',
|
|
498
|
+
boxShadow: 'none !important',
|
|
555
499
|
backgroundColor: 'gray-100',
|
|
556
500
|
path: {
|
|
557
501
|
fill: 'dark'
|
|
@@ -559,7 +503,6 @@ var iconButtons = {
|
|
|
559
503
|
},
|
|
560
504
|
'&.is-pressed': {
|
|
561
505
|
backgroundColor: 'gray-100',
|
|
562
|
-
borderColor: 'gray-200',
|
|
563
506
|
path: {
|
|
564
507
|
fill: 'dark'
|
|
565
508
|
}
|
|
@@ -9,7 +9,7 @@ exports["default"] = void 0;
|
|
|
9
9
|
var _tShirtSizes = _interopRequireDefault(require("../customProperties/tShirtSizes"));
|
|
10
10
|
var base = {
|
|
11
11
|
width: '100%',
|
|
12
|
-
backgroundColor: '
|
|
12
|
+
backgroundColor: 'light',
|
|
13
13
|
lineHeight: 'md',
|
|
14
14
|
p: 'md',
|
|
15
15
|
border: 'none',
|
|
@@ -25,7 +25,7 @@ var interactive = {
|
|
|
25
25
|
borderColor: 'border.base',
|
|
26
26
|
transition: 'border-color .25s ease-in',
|
|
27
27
|
'&.is-focused': {
|
|
28
|
-
backgroundColor: '
|
|
28
|
+
backgroundColor: 'backgroundBase',
|
|
29
29
|
outline: '2px solid',
|
|
30
30
|
outlineColor: 'focus',
|
|
31
31
|
outlineOffset: '0px'
|
|
@@ -31,7 +31,7 @@ var input = {
|
|
|
31
31
|
fontSize: 'md',
|
|
32
32
|
fontFamily: 'standard',
|
|
33
33
|
p: '0.75rem',
|
|
34
|
-
backgroundColor: '
|
|
34
|
+
backgroundColor: 'backgroundBase',
|
|
35
35
|
borderColor: 'border.input',
|
|
36
36
|
'&.is-focused': _objectSpread({}, defaultFocus),
|
|
37
37
|
borderRadius: '4px',
|
|
@@ -176,7 +176,7 @@ input.multivaluesWrapper = _objectSpread(_objectSpread({}, fieldControlWrapper),
|
|
|
176
176
|
border: '1px solid',
|
|
177
177
|
borderColor: 'gray-900',
|
|
178
178
|
'> input': {
|
|
179
|
-
backgroundColor: '
|
|
179
|
+
backgroundColor: 'backgroundSecondary'
|
|
180
180
|
},
|
|
181
181
|
'&:after': {
|
|
182
182
|
display: 'none'
|
|
@@ -64,7 +64,7 @@ var navigationHeader = {
|
|
|
64
64
|
fontFamily: 'standard',
|
|
65
65
|
borderBottom: '1px solid',
|
|
66
66
|
borderColor: 'border.base',
|
|
67
|
-
backgroundColor: '
|
|
67
|
+
backgroundColor: 'backgroundBase',
|
|
68
68
|
height: '4.5rem',
|
|
69
69
|
justifyContent: 'center'
|
|
70
70
|
},
|
|
@@ -73,10 +73,10 @@ var navigationHeader = {
|
|
|
73
73
|
maxWidth: '1540px',
|
|
74
74
|
mx: 'auto',
|
|
75
75
|
width: '100%',
|
|
76
|
-
backgroundColor: '
|
|
76
|
+
backgroundColor: 'backgroundBase'
|
|
77
77
|
},
|
|
78
78
|
dropdownMenu: {
|
|
79
|
-
backgroundColor: '
|
|
79
|
+
backgroundColor: 'backgroundBase',
|
|
80
80
|
maxWidth: 'unset',
|
|
81
81
|
p: 'sm',
|
|
82
82
|
'&:focus': _objectSpread({}, defaultFocus),
|
|
@@ -42,7 +42,7 @@ var step = {
|
|
|
42
42
|
active: _objectSpread(_objectSpread({
|
|
43
43
|
backgroundColor: 'active',
|
|
44
44
|
borderColor: 'active',
|
|
45
|
-
color: '
|
|
45
|
+
color: 'backgroundBase'
|
|
46
46
|
}, stepBase), {}, {
|
|
47
47
|
'&:before': {
|
|
48
48
|
content: '""',
|
|
@@ -53,7 +53,7 @@ var step = {
|
|
|
53
53
|
position: 'absolute',
|
|
54
54
|
borderRadius: '100%',
|
|
55
55
|
borderStyle: 'solid',
|
|
56
|
-
borderColor: '
|
|
56
|
+
borderColor: 'backgroundBase',
|
|
57
57
|
borderWidth: '2px'
|
|
58
58
|
}
|
|
59
59
|
}),
|
|
@@ -61,7 +61,7 @@ var step = {
|
|
|
61
61
|
borderColor: 'active'
|
|
62
62
|
}),
|
|
63
63
|
inactive: _objectSpread({
|
|
64
|
-
backgroundColor: '
|
|
64
|
+
backgroundColor: 'backgroundBase',
|
|
65
65
|
borderColor: 'blue-200',
|
|
66
66
|
color: 'active'
|
|
67
67
|
}, stepBase)
|
|
@@ -36,7 +36,7 @@ var head = {
|
|
|
36
36
|
var body = {
|
|
37
37
|
borderTopColor: 'border.base',
|
|
38
38
|
borderBottom: 'unset',
|
|
39
|
-
backgroundColor: '
|
|
39
|
+
backgroundColor: 'backgroundBase',
|
|
40
40
|
borderBottomLeftRadius: '16px',
|
|
41
41
|
borderBottomRightRadius: '16px',
|
|
42
42
|
'&& > tr:not(:last-child)': {
|
|
@@ -44,7 +44,7 @@ var body = {
|
|
|
44
44
|
borderBottomColor: 'border.base'
|
|
45
45
|
},
|
|
46
46
|
'&& > tr:nth-of-type(odd) ': {
|
|
47
|
-
backgroundColor: '
|
|
47
|
+
backgroundColor: 'backgroundBase'
|
|
48
48
|
},
|
|
49
49
|
'&& > tr:last-child': {
|
|
50
50
|
borderBottomLeftRadius: '16px',
|
|
@@ -53,7 +53,7 @@ var container = {
|
|
|
53
53
|
}
|
|
54
54
|
};
|
|
55
55
|
var caption = {
|
|
56
|
-
backgroundColor: '
|
|
56
|
+
backgroundColor: 'backgroundBase',
|
|
57
57
|
px: 'lg',
|
|
58
58
|
color: 'text.primary',
|
|
59
59
|
borderBottom: '1px solid',
|
|
@@ -69,7 +69,7 @@ var row = {
|
|
|
69
69
|
bg: 'background.hover'
|
|
70
70
|
},
|
|
71
71
|
'&:nth-of-type(odd)': {
|
|
72
|
-
bg: '
|
|
72
|
+
bg: 'backgroundBase',
|
|
73
73
|
'&.is-hovered': {
|
|
74
74
|
bg: 'background.hover'
|
|
75
75
|
}
|
|
@@ -77,7 +77,7 @@ var row = {
|
|
|
77
77
|
};
|
|
78
78
|
var thead = {
|
|
79
79
|
borderBottomColor: 'border.base',
|
|
80
|
-
backgroundColor: '
|
|
80
|
+
backgroundColor: 'backgroundBase',
|
|
81
81
|
'&.is-sticky': {
|
|
82
82
|
boxShadow: "0 1px 0 ".concat(_colors["default"].border.base)
|
|
83
83
|
}
|
|
@@ -94,7 +94,7 @@ var head = {
|
|
|
94
94
|
var tbody = {
|
|
95
95
|
borderTopColor: 'border.base',
|
|
96
96
|
borderBottom: 'unset',
|
|
97
|
-
backgroundColor: '
|
|
97
|
+
backgroundColor: 'backgroundBase',
|
|
98
98
|
borderBottomLeftRadius: borderRadius,
|
|
99
99
|
borderBottomRightRadius: borderRadius
|
|
100
100
|
};
|
|
@@ -4,18 +4,9 @@ export declare const badgeDeleteButton: {
|
|
|
4
4
|
height: number;
|
|
5
5
|
p: number;
|
|
6
6
|
width: number;
|
|
7
|
-
transition: string;
|
|
8
|
-
outline: string;
|
|
9
|
-
border: string;
|
|
10
|
-
borderColor: string;
|
|
11
7
|
path: {
|
|
12
8
|
fill: string;
|
|
13
9
|
};
|
|
14
|
-
'&.is-focused': {
|
|
15
|
-
outline: string;
|
|
16
|
-
outlineColor: string;
|
|
17
|
-
outlineOffset: string;
|
|
18
|
-
};
|
|
19
10
|
'&.is-hovered': {
|
|
20
11
|
backgroundColor: string;
|
|
21
12
|
path: {
|
|
@@ -24,11 +15,19 @@ export declare const badgeDeleteButton: {
|
|
|
24
15
|
};
|
|
25
16
|
'&.is-pressed': {
|
|
26
17
|
backgroundColor: string;
|
|
27
|
-
borderColor: string;
|
|
28
18
|
path: {
|
|
29
19
|
fill: string;
|
|
30
20
|
};
|
|
31
21
|
};
|
|
22
|
+
'&.is-focused': {
|
|
23
|
+
outline: string;
|
|
24
|
+
outlineColor: string;
|
|
25
|
+
outlineOffset: string;
|
|
26
|
+
};
|
|
27
|
+
transition: string;
|
|
28
|
+
outline: string;
|
|
29
|
+
border: string;
|
|
30
|
+
boxShadow: string;
|
|
32
31
|
};
|
|
33
32
|
declare const _default: {
|
|
34
33
|
accordion: {
|
|
@@ -789,6 +788,12 @@ declare const _default: {
|
|
|
789
788
|
maxWidth: string[];
|
|
790
789
|
};
|
|
791
790
|
};
|
|
791
|
+
headingContainer: {
|
|
792
|
+
borderBottom: string;
|
|
793
|
+
borderBottomColor: string;
|
|
794
|
+
bg: string;
|
|
795
|
+
borderRadius: string;
|
|
796
|
+
};
|
|
792
797
|
container: {
|
|
793
798
|
justifyContent: string;
|
|
794
799
|
};
|
|
@@ -123,12 +123,18 @@ var modal = {
|
|
|
123
123
|
maxWidth: modalSize.full
|
|
124
124
|
}
|
|
125
125
|
},
|
|
126
|
+
headingContainer: {
|
|
127
|
+
borderBottom: '1px solid',
|
|
128
|
+
borderBottomColor: 'gray-200',
|
|
129
|
+
bg: 'backgroundBase',
|
|
130
|
+
borderRadius: '1em 1em 0px 0px'
|
|
131
|
+
},
|
|
126
132
|
container: {
|
|
127
133
|
justifyContent: 'start'
|
|
128
134
|
},
|
|
129
135
|
header: {
|
|
130
136
|
pt: 'lg',
|
|
131
|
-
bg: '
|
|
137
|
+
bg: 'backgroundBase',
|
|
132
138
|
mb: 'lg'
|
|
133
139
|
}
|
|
134
140
|
};
|
|
@@ -160,12 +166,12 @@ var listBox = {
|
|
|
160
166
|
},
|
|
161
167
|
'&.is-condensed': {
|
|
162
168
|
pl: 'md',
|
|
163
|
-
bg: '
|
|
169
|
+
bg: 'backgroundBase',
|
|
164
170
|
'&.is-selected': {
|
|
165
|
-
bg: '
|
|
171
|
+
bg: 'backgroundBase'
|
|
166
172
|
},
|
|
167
173
|
'&.is-focused': {
|
|
168
|
-
bg: '
|
|
174
|
+
bg: 'backgroundBase'
|
|
169
175
|
}
|
|
170
176
|
}
|
|
171
177
|
}
|
|
@@ -201,11 +207,11 @@ var progressBar = {
|
|
|
201
207
|
};
|
|
202
208
|
var overlayPanel = {
|
|
203
209
|
container: {
|
|
204
|
-
backgroundColor: '
|
|
210
|
+
backgroundColor: 'backgroundBase',
|
|
205
211
|
borderColor: 'border.hairline'
|
|
206
212
|
},
|
|
207
213
|
aiPanelContainer: {
|
|
208
|
-
backgroundColor: '
|
|
214
|
+
backgroundColor: 'backgroundBase',
|
|
209
215
|
border: 'none',
|
|
210
216
|
borderLeft: 'none',
|
|
211
217
|
position: 'fixed',
|
|
@@ -239,30 +245,30 @@ var overlayPanel = {
|
|
|
239
245
|
alignSelf: 'center'
|
|
240
246
|
},
|
|
241
247
|
innerPanel: {
|
|
242
|
-
backgroundColor: '
|
|
248
|
+
backgroundColor: 'backgroundBase'
|
|
243
249
|
}
|
|
244
250
|
};
|
|
245
251
|
var buttonBar = {
|
|
246
252
|
container: {
|
|
247
253
|
gap: 'sm',
|
|
248
|
-
backgroundColor: '
|
|
254
|
+
backgroundColor: 'backgroundBase'
|
|
249
255
|
},
|
|
250
256
|
justifyRightContainer: {
|
|
251
257
|
gap: 'sm',
|
|
252
|
-
backgroundColor: '
|
|
258
|
+
backgroundColor: 'backgroundBase'
|
|
253
259
|
}
|
|
254
260
|
};
|
|
255
261
|
var rockerButton = {
|
|
256
262
|
innerContainer: {
|
|
257
263
|
boxShadow: 'none',
|
|
258
|
-
backgroundColor: 'common.
|
|
264
|
+
backgroundColor: 'common.backgroundBase',
|
|
259
265
|
borderRadius: '50px',
|
|
260
266
|
padding: 0,
|
|
261
267
|
border: 'none'
|
|
262
268
|
},
|
|
263
269
|
thumbSwitch: {
|
|
264
270
|
textTransform: 'none',
|
|
265
|
-
backgroundColor: 'common.
|
|
271
|
+
backgroundColor: 'common.backgroundBase',
|
|
266
272
|
padding: 'md',
|
|
267
273
|
height: '50px',
|
|
268
274
|
color: 'active',
|
|
@@ -314,7 +320,7 @@ var loader = {
|
|
|
314
320
|
py: 'sm'
|
|
315
321
|
},
|
|
316
322
|
circleSpinner: {
|
|
317
|
-
borderColor: '
|
|
323
|
+
borderColor: 'backgroundBase'
|
|
318
324
|
}
|
|
319
325
|
};
|
|
320
326
|
var breadcrumb = {
|