@superdispatch/ui-lab 0.32.0 → 0.34.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.
@@ -28,7 +28,7 @@ function colorMixin(textColor, iconColor, backgroundColor, buttonHoverColor) {
28
28
  var StyledAlert = /*#__PURE__*/styled__default(lab.Alert).withConfig({
29
29
  displayName: "Alert__StyledAlert",
30
30
  componentId: "SD__sc-1j6qebb-0"
31
- })(["&.MuiAlert-outlinedSuccess{", ";}&.MuiAlert-outlinedInfo{", ";}&.MuiAlert-outlinedWarning{", ";}&.MuiAlert-outlinedError{", ";}& .MuiAlert-icon{opacity:1;padding:8px 0;font-size:24px;}& .MuiAlert-action{display:block;padding-top:5px;margin-right:-3px;& .MuiIconButton-root{& .MuiSvgIcon-root{font-size:24px;}}}"], /*#__PURE__*/colorMixin(ui.ColorV2.Green500, ui.ColorV2.Green300, ui.ColorV2.Green50, ui.ColorV2.Green400), /*#__PURE__*/colorMixin(ui.ColorV2.Blue500, ui.ColorV2.Blue300, ui.ColorV2.Blue50, ui.ColorV2.Blue400), /*#__PURE__*/colorMixin(ui.ColorV2.Yellow500, ui.ColorV2.Yellow300, ui.ColorV2.Yellow50, ui.ColorV2.Yellow400), /*#__PURE__*/colorMixin(ui.ColorV2.Red500, ui.ColorV2.Red300, ui.ColorV2.Red50, ui.ColorV2.Red400));
31
+ })(["&.MuiAlert-outlinedSuccess{", ";}&.MuiAlert-outlinedInfo{", ";}&.MuiAlert-outlinedWarning{", ";}&.MuiAlert-outlinedError{", ";}& .MuiAlert-icon{opacity:1;padding:8px 0;font-size:24px;}& .MuiAlert-action{display:block;padding-top:5px;margin-right:-3px;& .MuiIconButton-root{& .MuiSvgIcon-root{font-size:24px;}}}"], /*#__PURE__*/colorMixin(ui.ColorDynamic.Green500, ui.ColorDynamic.Green300, ui.ColorDynamic.Green50, ui.ColorDynamic.Green400), /*#__PURE__*/colorMixin(ui.ColorDynamic.Blue500, ui.ColorDynamic.Blue300, ui.ColorDynamic.Blue50, ui.ColorDynamic.Blue400), /*#__PURE__*/colorMixin(ui.ColorDynamic.Yellow500, ui.ColorDynamic.Yellow300, ui.ColorDynamic.Yellow50, ui.ColorDynamic.Yellow400), /*#__PURE__*/colorMixin(ui.ColorDynamic.Red500, ui.ColorDynamic.Red300, ui.ColorDynamic.Red50, ui.ColorDynamic.Red400));
32
32
  function toMaterialSeverity(severity) {
33
33
  return severity === 'info' ? 'info' : severity === 'caution' ? 'warning' : severity === 'critical' ? 'error' : 'success';
34
34
  }
@@ -60,10 +60,10 @@ if (process.env.NODE_ENV !== "production") Alert.displayName = "Alert";
60
60
  var _excluded = ["children"],
61
61
  _excluded2 = ["in"];
62
62
  function enterMixin(border) {
63
- return styled.css(["min-height:56px;color:", ";background-color:", ";border-", ":1px #dfe3e8 solid;"], ui.ColorV2.Dark500, ui.ColorV2.White, border);
63
+ return styled.css(["min-height:56px;color:", ";background-color:", ";border-", ":1px #dfe3e8 solid;"], ui.ColorDynamic.Dark500, ui.ColorDynamic.White, border);
64
64
  }
65
65
  function enterAnimation(border) {
66
- return styled.keyframes(["0%{min-height:0;color:", ";background-color:", ";}50%{min-height:56px;color:", ";background-color:", ";}70%{min-height:56px;color:", ";background-color:", ";}100%{", "}"], ui.ColorV2.White, ui.ColorV2.Dark500, ui.ColorV2.White, ui.ColorV2.Dark500, ui.ColorV2.White, ui.ColorV2.Dark500, enterMixin(border));
66
+ return styled.keyframes(["0%{min-height:0;color:", ";background-color:", ";}50%{min-height:56px;color:", ";background-color:", ";}70%{min-height:56px;color:", ";background-color:", ";}100%{", "}"], ui.ColorDynamic.White, ui.ColorDynamic.Dark500, ui.ColorDynamic.White, ui.ColorDynamic.Dark500, ui.ColorDynamic.White, ui.ColorDynamic.Dark500, enterMixin(border));
67
67
  }
68
68
  var CustomTransition = /*#__PURE__*/react.forwardRef((_ref, ref) => {
69
69
  var {
@@ -87,7 +87,7 @@ var BannerContent = /*#__PURE__*/styled__default(CustomTransition).withConfig({
87
87
  var {
88
88
  border = 'bottom'
89
89
  } = _ref2;
90
- return styled.css(["height:0;width:100%;overflow:hidden;display:flex;align-items:center;justify-content:center;color:", ";background-color:", ";&-enter-active{animation:", " 2s 1s forwards;}&-enter-done{", ";}&-exit{", ";}&-exit-active{min-height:0;transition:min-height 2s 1s;}"], ui.ColorV2.White, ui.ColorV2.White, enterAnimation(border), enterMixin(border), enterMixin(border));
90
+ return styled.css(["height:0;width:100%;overflow:hidden;display:flex;align-items:center;justify-content:center;color:", ";background-color:", ";&-enter-active{animation:", " 2s 1s forwards;}&-enter-done{", ";}&-exit{", ";}&-exit-active{min-height:0;transition:min-height 2s 1s;}"], ui.ColorDynamic.White, ui.ColorDynamic.White, enterAnimation(border), enterMixin(border), enterMixin(border));
91
91
  });
92
92
  var Banner = /*#__PURE__*/react.forwardRef((_ref3, ref) => {
93
93
  var {
@@ -127,7 +127,7 @@ function createRuleNormalizer(rules) {
127
127
  //
128
128
 
129
129
  function normalizeColor(input) {
130
- return ui.isColorPropV2(input) ? ui.ColorV2[input] : undefined;
130
+ return ui.isColorDynamicProp(input) ? ui.ColorDynamic[input] : undefined;
131
131
  }
132
132
 
133
133
  //
@@ -271,7 +271,7 @@ var _excluded$1 = ["icon", "children", "variant", "active", "disabled", "fullWid
271
271
  var ButtonRoot = /*#__PURE__*/styled__default(core.ButtonBase).withConfig({
272
272
  displayName: "ButtonArea__ButtonRoot",
273
273
  componentId: "SD__sc-1czum63-0"
274
- })(["padding:12px 32px;border-width:1px;border-radius:4px;border-style:solid;border-color:", ";color:", ";background-color:", ";& svg{color:inherit;font-size:24px;}&[data-full-width='true']{width:100%;}&[data-disabled='true']{color:", ";border-color:", ";}&[data-variant='success']{&:hover{color:", ";box-shadow:0 0 0 2px ", ";border-color:", ";}&[data-active='true']{color:", ";border-color:", ";background-color:", ";}}&[data-variant='danger']{&:hover{color:", ";box-shadow:0 0 0 2px ", ";border-color:", ";}&[data-active='true']{color:", ";border-color:", ";background-color:", ";}}"], ui.ColorV2.Silver500, ui.ColorV2.Dark100, ui.ColorV2.White, ui.ColorV2.Silver500, ui.ColorV2.Silver400, ui.ColorV2.Green300, ui.ColorV2.Green100, ui.ColorV2.Green300, ui.ColorV2.Green300, ui.ColorV2.Green300, ui.ColorV2.Green50, ui.ColorV2.Red300, ui.ColorV2.Red100, ui.ColorV2.Red300, ui.ColorV2.Red300, ui.ColorV2.Red300, ui.ColorV2.Red50);
274
+ })(["padding:12px 32px;border-width:1px;border-radius:4px;border-style:solid;border-color:", ";color:", ";background-color:", ";& svg{color:inherit;font-size:24px;}&[data-full-width='true']{width:100%;}&[data-disabled='true']{color:", ";border-color:", ";}&[data-variant='success']{&:hover{color:", ";box-shadow:0 0 0 2px ", ";border-color:", ";}&[data-active='true']{color:", ";border-color:", ";background-color:", ";}}&[data-variant='danger']{&:hover{color:", ";box-shadow:0 0 0 2px ", ";border-color:", ";}&[data-active='true']{color:", ";border-color:", ";background-color:", ";}}"], ui.ColorDynamic.Silver500, ui.ColorDynamic.Dark100, ui.ColorDynamic.White, ui.ColorDynamic.Silver500, ui.ColorDynamic.Silver400, ui.ColorDynamic.Green300, ui.ColorDynamic.Green100, ui.ColorDynamic.Green300, ui.ColorDynamic.Green300, ui.ColorDynamic.Green300, ui.ColorDynamic.Green50, ui.ColorDynamic.Red300, ui.ColorDynamic.Red100, ui.ColorDynamic.Red300, ui.ColorDynamic.Red300, ui.ColorDynamic.Red300, ui.ColorDynamic.Red50);
275
275
  var ButtonArea = /*#__PURE__*/react.forwardRef((_ref, ref) => {
276
276
  var {
277
277
  icon,
@@ -316,15 +316,15 @@ function createButtonVariables(size, _ref) {
316
316
  paddingY = size === 'large' ? 8 : size === 'small' ? 2 : 6,
317
317
  paddingXMobile = size === 'large' ? 64 : 24,
318
318
  paddingYMobile = size === 'large' ? 14 : size === 'small' ? 4 : 10,
319
- textColor = ui.ColorV2.Transparent,
319
+ textColor = ui.ColorDynamic.Transparent,
320
320
  textColorHovered = textColor,
321
321
  textColorDisabled = textColor,
322
322
  iconColor = textColor,
323
- outlineColor = ui.ColorV2.Transparent,
324
- borderColor = ui.ColorV2.Transparent,
323
+ outlineColor = ui.ColorDynamic.Transparent,
324
+ borderColor = ui.ColorDynamic.Transparent,
325
325
  borderColorHovered = borderColor,
326
326
  borderColorDisabled = borderColor,
327
- backgroundColor = ui.ColorV2.Transparent,
327
+ backgroundColor = ui.ColorDynamic.Transparent,
328
328
  backgroundColorHovered = backgroundColor,
329
329
  backgroundColorActive = backgroundColorHovered,
330
330
  backgroundColorDisabled = backgroundColor
@@ -354,13 +354,13 @@ function createButtonVariables(size, _ref) {
354
354
  }
355
355
  function getDefaultVariables(size) {
356
356
  return createButtonVariables(size, {
357
- textColor: ui.ColorV2.White,
358
- outlineColor: ui.ColorV2.Blue30,
359
- backgroundColor: ui.ColorV2.Blue300,
360
- textColorHovered: ui.ColorV2.White,
361
- backgroundColorHovered: ui.ColorV2.Blue500,
362
- backgroundColorActive: ui.ColorV2.Blue400,
363
- backgroundColorDisabled: ui.ColorV2.Blue30
357
+ textColor: ui.Color.White,
358
+ outlineColor: ui.ColorDynamic.Blue30,
359
+ backgroundColor: ui.ColorDynamic.Blue300,
360
+ textColorHovered: ui.Color.White,
361
+ backgroundColorHovered: ui.ColorDynamic.Blue500,
362
+ backgroundColorActive: ui.ColorDynamic.Blue400,
363
+ backgroundColorDisabled: ui.ColorDynamic.Blue30
364
364
  });
365
365
  }
366
366
  function getPrimaryVariables(size) {
@@ -368,62 +368,62 @@ function getPrimaryVariables(size) {
368
368
  }
369
369
  function getNeutralVariables(size) {
370
370
  return createButtonVariables(size, {
371
- textColor: ui.ColorV2.Dark500,
372
- borderColor: ui.ColorV2.Silver500,
373
- outlineColor: ui.ColorV2.Blue30,
374
- backgroundColor: ui.ColorV2.White,
375
- textColorHovered: ui.ColorV2.Blue500,
376
- borderColorHovered: ui.ColorV2.Blue500,
377
- backgroundColorHovered: ui.ColorV2.Blue50,
378
- backgroundColorActive: ui.ColorV2.Blue75,
379
- textColorDisabled: ui.ColorV2.Silver500,
380
- iconColor: ui.ColorV2.Dark100
371
+ textColor: ui.ColorDynamic.Dark500,
372
+ borderColor: ui.ColorDynamic.Silver500,
373
+ outlineColor: ui.ColorDynamic.Blue30,
374
+ backgroundColor: ui.ColorDynamic.White,
375
+ textColorHovered: ui.ColorDynamic.Blue500,
376
+ borderColorHovered: ui.ColorDynamic.Blue500,
377
+ backgroundColorHovered: ui.ColorDynamic.Blue50,
378
+ backgroundColorActive: ui.ColorDynamic.Blue75,
379
+ textColorDisabled: ui.ColorDynamic.Silver500,
380
+ iconColor: ui.ColorDynamic.Dark100
381
381
  });
382
382
  }
383
383
  function getCriticalVariables(size) {
384
384
  return createButtonVariables(size, {
385
- textColor: ui.ColorV2.Red500,
386
- borderColor: ui.ColorV2.Red500,
387
- outlineColor: ui.ColorV2.Red30,
388
- backgroundColor: ui.ColorV2.Red50,
389
- backgroundColorHovered: ui.ColorV2.Red75,
390
- backgroundColorActive: ui.ColorV2.Red10,
391
- textColorDisabled: ui.ColorV2.Red30,
392
- borderColorDisabled: ui.ColorV2.Red30,
393
- backgroundColorDisabled: ui.ColorV2.Red50
385
+ textColor: ui.ColorDynamic.Red500,
386
+ borderColor: ui.ColorDynamic.Red500,
387
+ outlineColor: ui.ColorDynamic.Red30,
388
+ backgroundColor: ui.ColorDynamic.Red50,
389
+ backgroundColorHovered: ui.ColorDynamic.Red75,
390
+ backgroundColorActive: ui.ColorDynamic.Red10,
391
+ textColorDisabled: ui.ColorDynamic.Red30,
392
+ borderColorDisabled: ui.ColorDynamic.Red30,
393
+ backgroundColorDisabled: ui.ColorDynamic.Red50
394
394
  });
395
395
  }
396
396
  function getTextVariables(size) {
397
397
  return createButtonVariables(size, {
398
- textColor: ui.ColorV2.Blue500,
399
- outlineColor: ui.ColorV2.Blue30,
400
- textColorHovered: ui.ColorV2.Blue500,
401
- backgroundColorHovered: ui.ColorV2.Blue50,
402
- backgroundColorActive: ui.ColorV2.Blue75,
403
- textColorDisabled: ui.ColorV2.Blue30
398
+ textColor: ui.Color.Blue500,
399
+ outlineColor: ui.ColorDynamic.Blue30,
400
+ textColorHovered: ui.Color.Blue500,
401
+ backgroundColorHovered: ui.ColorDynamic.Blue50,
402
+ backgroundColorActive: ui.ColorDynamic.Blue75,
403
+ textColorDisabled: ui.ColorDynamic.Blue30
404
404
  });
405
405
  }
406
406
  function getInvertedVariables(size) {
407
407
  return createButtonVariables(size, {
408
- textColor: ui.ColorV2.White,
409
- outlineColor: ui.ColorV2.White40,
410
- backgroundColor: ui.ColorV2.White20,
411
- textColorHovered: ui.ColorV2.White,
412
- backgroundColorHovered: ui.ColorV2.White40,
413
- backgroundColorActive: ui.ColorV2.White20,
414
- textColorDisabled: ui.ColorV2.White50,
415
- backgroundColorDisabled: ui.ColorV2.White08
408
+ textColor: ui.ColorDynamic.White,
409
+ outlineColor: ui.ColorDynamic.White40,
410
+ backgroundColor: ui.ColorDynamic.White20,
411
+ textColorHovered: ui.ColorDynamic.White,
412
+ backgroundColorHovered: ui.ColorDynamic.White40,
413
+ backgroundColorActive: ui.ColorDynamic.White20,
414
+ textColorDisabled: ui.ColorDynamic.White50,
415
+ backgroundColorDisabled: ui.ColorDynamic.White08
416
416
  });
417
417
  }
418
418
  function getSuccessVariables(size) {
419
419
  return createButtonVariables(size, {
420
- textColor: ui.ColorV2.White,
421
- outlineColor: ui.ColorV2.Green30,
422
- backgroundColor: ui.ColorV2.Green300,
423
- backgroundColorHovered: ui.ColorV2.Green500,
424
- backgroundColorActive: ui.ColorV2.Green500,
425
- textColorDisabled: ui.ColorV2.White,
426
- backgroundColorDisabled: ui.ColorV2.Green30
420
+ textColor: ui.Color.White,
421
+ outlineColor: ui.ColorDynamic.Green30,
422
+ backgroundColor: ui.ColorDynamic.Green300,
423
+ backgroundColorHovered: ui.ColorDynamic.Green500,
424
+ backgroundColorActive: ui.ColorDynamic.Green500,
425
+ textColorDisabled: ui.Color.White,
426
+ backgroundColorDisabled: ui.ColorDynamic.Green30
427
427
  });
428
428
  }
429
429
  var ButtonRoot$1 = /*#__PURE__*/styled__default.button.withConfig({
@@ -437,7 +437,7 @@ var ButtonRoot$1 = /*#__PURE__*/styled__default.button.withConfig({
437
437
  fullWidth
438
438
  } = _ref2;
439
439
  var variables = variant === 'primary' ? getPrimaryVariables(size) : variant === 'neutral' ? getNeutralVariables(size) : variant === 'critical' ? getCriticalVariables(size) : variant === 'text' ? getTextVariables(size) : variant === 'inverted' ? getInvertedVariables(size) : variant === 'success' ? getSuccessVariables(size) : getDefaultVariables(size);
440
- return styled.css(JSON.parse('["border:0;margin:0;outline:0;position:relative;vertical-align:middle;cursor:pointer;text-decoration:none;&[aria-disabled=\'true\']{cursor:default;pointer-events:none;}-moz-appearance:none;&::-moz-focus-inner{border-style:none;}-webkit-appearance:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent;@media print{-webkit-print-color-adjust:exact;}--button-visibility:visible;--button-text-color:",";--button-border-color:",";--button-outline-color:",";--button-background-color:",";--button-icon-color:",";--button-padding-x:","px;--button-padding-y:","px;--button-font-size:","px;--button-line-height:","px;","{--button-padding-x:","px;--button-padding-y:","px;--button-font-size:","px;--button-line-height:","px;}&[aria-disabled=\'true\']{--button-text-color:",";--button-border-color:",";--button-background-color:",";--button-icon-color:",";&[aria-busy=\'true\']{--button-visibility:hidden;}}&[aria-disabled=\'false\']{&[aria-expanded=\'true\']{--button-text-color:",";--button-border-color:",";--button-background-color:",";--button-icon-color:",";}&,&[aria-expanded=\'true\']{&:focus{--button-outline-color:",";}@media (hover:hover) and (pointer:fine){&:hover{--button-text-color:",";--button-border-color:",";--button-background-color:",";span{svg{fill:",";}}}}&:active{--button-background-color:",";}}}display:inline-flex;align-items:center;justify-content:center;min-width:48px;width:",";border-radius:4px;font-family:",";font-weight:",";color:var(--button-text-color);background-color:var(--button-background-color);font-size:var(--button-font-size);line-height:var(--button-line-height);padding:var(--button-padding-y) var(--button-padding-x);box-shadow:inset 0 0 0 1px var(--button-border-color),0 0 0 2px var(--button-outline-color);transition:",";"]'), variables.textColor, variables.borderColor, ui.ColorV2.Transparent, variables.backgroundColor, variables.iconColor, variables.paddingXMobile, variables.paddingYMobile, variables.fontSizeMobile, variables.lineHeightMobile, theme.breakpoints.up('sm'), variables.paddingX, variables.paddingY, variables.fontSize, variables.lineHeight, variables.textColorDisabled, variables.borderColorDisabled, variables.backgroundColorDisabled, variables.textColorDisabled, variables.textColorHovered, variables.borderColorHovered, variables.backgroundColorHovered, variables.textColorHovered, variables.outlineColor, variables.textColorHovered, variables.borderColorHovered, variables.backgroundColorHovered, variables.textColorHovered, variables.backgroundColorActive, fullWidth ? '100%' : 'auto', theme.typography.fontFamily, theme.typography.fontWeightBold, theme.transitions.create(['color', 'box-shadow', 'background-color']));
440
+ return styled.css(JSON.parse('["border:0;margin:0;outline:0;position:relative;vertical-align:middle;cursor:pointer;text-decoration:none;&[aria-disabled=\'true\']{cursor:default;pointer-events:none;}-moz-appearance:none;&::-moz-focus-inner{border-style:none;}-webkit-appearance:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent;@media print{-webkit-print-color-adjust:exact;}--button-visibility:visible;--button-text-color:",";--button-border-color:",";--button-outline-color:",";--button-background-color:",";--button-icon-color:",";--button-padding-x:","px;--button-padding-y:","px;--button-font-size:","px;--button-line-height:","px;","{--button-padding-x:","px;--button-padding-y:","px;--button-font-size:","px;--button-line-height:","px;}&[aria-disabled=\'true\']{--button-text-color:",";--button-border-color:",";--button-background-color:",";--button-icon-color:",";&[aria-busy=\'true\']{--button-visibility:hidden;}}&[aria-disabled=\'false\']{&[aria-expanded=\'true\']{--button-text-color:",";--button-border-color:",";--button-background-color:",";--button-icon-color:",";}&,&[aria-expanded=\'true\']{&:focus{--button-outline-color:",";}@media (hover:hover) and (pointer:fine){&:hover{--button-text-color:",";--button-border-color:",";--button-background-color:",";span{svg{fill:",";}}}}&:active{--button-background-color:",";}}}display:inline-flex;align-items:center;justify-content:center;min-width:48px;width:",";border-radius:4px;font-family:",";font-weight:",";color:var(--button-text-color);background-color:var(--button-background-color);font-size:var(--button-font-size);line-height:var(--button-line-height);padding:var(--button-padding-y) var(--button-padding-x);box-shadow:inset 0 0 0 1px var(--button-border-color),0 0 0 2px var(--button-outline-color);transition:",";"]'), variables.textColor, variables.borderColor, ui.ColorDynamic.Transparent, variables.backgroundColor, variables.iconColor, variables.paddingXMobile, variables.paddingYMobile, variables.fontSizeMobile, variables.lineHeightMobile, theme.breakpoints.up('sm'), variables.paddingX, variables.paddingY, variables.fontSize, variables.lineHeight, variables.textColorDisabled, variables.borderColorDisabled, variables.backgroundColorDisabled, variables.textColorDisabled, variables.textColorHovered, variables.borderColorHovered, variables.backgroundColorHovered, variables.textColorHovered, variables.outlineColor, variables.textColorHovered, variables.borderColorHovered, variables.backgroundColorHovered, variables.textColorHovered, variables.backgroundColorActive, fullWidth ? '100%' : 'auto', theme.typography.fontFamily, theme.typography.fontWeightBold, theme.transitions.create(['color', 'box-shadow', 'background-color']));
441
441
  });
442
442
  var ButtonLabel = /*#__PURE__*/styled__default.span.withConfig({
443
443
  displayName: "Button__ButtonLabel",
@@ -665,16 +665,16 @@ function mergeStyles(styles) {
665
665
  var _excluded$4 = ["variant", "as", "align", "color", "display", "noWrap", "wrapOverflow"];
666
666
  var normalizeTextColor = /*#__PURE__*/createRuleNormalizer({
667
667
  inherit: 'inherit',
668
- primary: ui.ColorV2.Dark500,
669
- secondary: ui.ColorV2.Dark300,
670
- 'light-gray': ui.ColorV2.Dark100,
671
- white: ui.ColorV2.White,
672
- blue: ui.ColorV2.Blue500,
673
- green: ui.ColorV2.Green500,
674
- purple: ui.ColorV2.Purple500,
675
- red: ui.ColorV2.Red500,
676
- teal: ui.ColorV2.Teal500,
677
- yellow: ui.ColorV2.Yellow500
668
+ primary: ui.ColorDynamic.Dark500,
669
+ secondary: ui.ColorDynamic.Dark300,
670
+ 'light-gray': ui.ColorDynamic.Dark100,
671
+ white: ui.ColorDynamic.White,
672
+ blue: ui.ColorDynamic.Blue500,
673
+ green: ui.ColorDynamic.Green500,
674
+ purple: ui.ColorDynamic.Purple500,
675
+ red: ui.ColorDynamic.Red500,
676
+ teal: ui.ColorDynamic.Teal500,
677
+ yellow: ui.ColorDynamic.Yellow500
678
678
  });
679
679
  var VARIANT_TYPE_MAPPING = {
680
680
  'heading-1': 'h1',
@@ -787,7 +787,7 @@ var DescriptionItemIcon = /*#__PURE__*/styled__default.div.withConfig({
787
787
  var {
788
788
  theme
789
789
  } = _ref;
790
- return styled.css(["display:flex;align-items:center;& > .MuiSvgIcon-root{color:", ";}", ";", "{", ";}"], ui.ColorV2.Dark100, descriptionItemIconMixin(20), theme.breakpoints.up('sm'), descriptionItemIconMixin(16));
790
+ return styled.css(["display:flex;align-items:center;& > .MuiSvgIcon-root{color:", ";}", ";", "{", ";}"], ui.ColorDynamic.Dark100, descriptionItemIconMixin(20), theme.breakpoints.up('sm'), descriptionItemIconMixin(16));
791
791
  });
792
792
  var DescriptionItem = /*#__PURE__*/react.forwardRef((_ref2, ref) => {
793
793
  var {
@@ -840,7 +840,7 @@ if (process.env.NODE_ENV !== "production") DescriptionItem.displayName = "Descri
840
840
  var DottedLine = /*#__PURE__*/styled__default.div.withConfig({
841
841
  displayName: "DescriptionLineItem__DottedLine",
842
842
  componentId: "SD__sc-1ixx5h8-0"
843
- })(["border-bottom:1px dotted ", ";margin:0px 8px;height:7px;"], ui.ColorV2.Silver400);
843
+ })(["border-bottom:1px dotted ", ";margin:0px 8px;height:7px;"], ui.ColorDynamic.Silver400);
844
844
  var DescriptionLineItem = /*#__PURE__*/react.forwardRef((_ref, ref) => {
845
845
  var {
846
846
  title,
@@ -886,7 +886,7 @@ var StyledCardButton = /*#__PURE__*/styled__default(ui.CardButton).withConfig({
886
886
  status
887
887
  } = _ref;
888
888
  return {
889
- backgroundColor: status === 'active' ? ui.ColorV2.Blue50 : undefined
889
+ backgroundColor: status === 'active' ? ui.ColorDynamic.Blue50 : undefined
890
890
  };
891
891
  });
892
892
  function UploadRejection(_ref2) {
@@ -1082,7 +1082,7 @@ var FileListItem = /*#__PURE__*/react.forwardRef((_ref2, ref) => {
1082
1082
  size: "small",
1083
1083
  children: /*#__PURE__*/jsxRuntime.jsx(icons.CheckCircle, {
1084
1084
  fontSize: "small",
1085
- htmlColor: ui.ColorV2.Green300
1085
+ htmlColor: ui.ColorDynamic.Green300
1086
1086
  })
1087
1087
  }) : canDelete ? /*#__PURE__*/jsxRuntime.jsx(core.Tooltip, {
1088
1088
  title: "Delete",
@@ -1158,11 +1158,11 @@ var _excluded$7 = ["active", "hasBadge"];
1158
1158
  var StyledBottomNavigation = /*#__PURE__*/styled__default(core.BottomNavigation).withConfig({
1159
1159
  displayName: "NavbarBottomBar__StyledBottomNavigation",
1160
1160
  componentId: "SD__sc-9z6v3k-0"
1161
- })(["background:", ";"], ui.ColorV2.Dark500);
1161
+ })(["background:", ";"], ui.ColorDynamic.Dark500);
1162
1162
  var StyledBottomNavigationAction = /*#__PURE__*/styled__default(core.BottomNavigationAction).withConfig({
1163
1163
  displayName: "NavbarBottomBar__StyledBottomNavigationAction",
1164
1164
  componentId: "SD__sc-9z6v3k-1"
1165
- })(["&&{background:#1b2638;color:", ";padding:6px 0 8px;line-height:20px;}&:first-child{padding-left:12px;}&:last-child{padding-right:12px;}&.Mui-selected{color:", ";.MuiBottomNavigationAction-label{font-size:0.75rem;}}"], ui.ColorV2.Silver500, ui.ColorV2.White);
1165
+ })(["&&{background:#1b2638;color:", ";padding:6px 0 8px;line-height:20px;}&:first-child{padding-left:12px;}&:last-child{padding-right:12px;}&.Mui-selected{color:", ";.MuiBottomNavigationAction-label{font-size:0.75rem;}}"], ui.ColorDynamic.Silver500, ui.ColorDynamic.White);
1166
1166
  var IconWrapper = /*#__PURE__*/styled__default.div.withConfig({
1167
1167
  displayName: "NavbarBottomBar__IconWrapper",
1168
1168
  componentId: "SD__sc-9z6v3k-2"
@@ -1170,7 +1170,7 @@ var IconWrapper = /*#__PURE__*/styled__default.div.withConfig({
1170
1170
  var IconLabel = /*#__PURE__*/styled__default.div.withConfig({
1171
1171
  displayName: "NavbarBottomBar__IconLabel",
1172
1172
  componentId: "SD__sc-9z6v3k-3"
1173
- })(["display:flex;align-items:center;justify-content:center;font-size:12px;border-radius:50%;color:", ";background:", ";position:absolute;top:0;right:0;width:8px;height:8px;"], ui.ColorV2.White, ui.ColorV2.Red300);
1173
+ })(["display:flex;align-items:center;justify-content:center;font-size:12px;border-radius:50%;color:", ";background:", ";position:absolute;top:0;right:0;width:8px;height:8px;"], ui.ColorDynamic.White, ui.ColorDynamic.Red300);
1174
1174
  function NavbarBottomBar(_ref) {
1175
1175
  var {
1176
1176
  items,
@@ -1222,7 +1222,7 @@ function NavbarBottomBar(_ref) {
1222
1222
  var NavbarBadge = /*#__PURE__*/styled__default.span.withConfig({
1223
1223
  displayName: "NavbarItem__NavbarBadge",
1224
1224
  componentId: "SD__sc-1pvzq3w-0"
1225
- })(["flex-shrink:0;padding:4px 6px;min-width:20px;line-height:12px;font-size:12px;font-weight:400;border-radius:10px;text-align:center;background:#131c2a;&[data-variant='primary']{color:", ";background:", ";}&[data-variant='danger']{color:", ";background:", ";}"], ui.ColorV2.White, ui.ColorV2.Blue300, ui.ColorV2.White, ui.ColorV2.Red500);
1225
+ })(["flex-shrink:0;padding:4px 6px;min-width:20px;line-height:12px;font-size:12px;font-weight:400;border-radius:10px;text-align:center;background:#131c2a;&[data-variant='primary']{color:", ";background:", ";}&[data-variant='danger']{color:", ";background:", ";}"], ui.ColorDynamic.White, ui.ColorDynamic.Blue300, ui.ColorDynamic.White, ui.ColorDynamic.Red500);
1226
1226
  var NavbarLabel = /*#__PURE__*/styled__default.span.withConfig({
1227
1227
  displayName: "NavbarItem__NavbarLabel",
1228
1228
  componentId: "SD__sc-1pvzq3w-1"
@@ -1230,7 +1230,7 @@ var NavbarLabel = /*#__PURE__*/styled__default.span.withConfig({
1230
1230
  var NavbarItemRoot = /*#__PURE__*/styled__default.div.withConfig({
1231
1231
  displayName: "NavbarItem__NavbarItemRoot",
1232
1232
  componentId: "SD__sc-1pvzq3w-2"
1233
- })(["width:100%;display:flex;align-items:center;color:#c2c4c9;font-size:14px;font-weight:400;line-height:20px;text-decoration:none;outline:none;cursor:pointer;padding:8px 16px;border-left:4px solid transparent;&:hover,&[aria-current],&[data-active='true']{color:", ";background-color:#2f394a;border-left-color:", ";}"], ui.ColorV2.White, ui.ColorV2.Blue300);
1233
+ })(["width:100%;display:flex;align-items:center;color:#c2c4c9;font-size:14px;font-weight:400;line-height:20px;text-decoration:none;outline:none;cursor:pointer;padding:8px 16px;border-left:4px solid transparent;&:hover,&[aria-current],&[data-active='true']{color:", ";background-color:#2f394a;border-left-color:", ";}"], ui.ColorDynamic.White, ui.ColorDynamic.Blue300);
1234
1234
  var IconWrapper$1 = /*#__PURE__*/styled__default.div.withConfig({
1235
1235
  displayName: "NavbarItem__IconWrapper",
1236
1236
  componentId: "SD__sc-1pvzq3w-3"
@@ -1276,11 +1276,11 @@ var NavbarAccordionLabel = /*#__PURE__*/styled__default.span.withConfig({
1276
1276
  var NavbarAccordionRoot = /*#__PURE__*/styled__default(core.Accordion).withConfig({
1277
1277
  displayName: "NavbarAccordion__NavbarAccordionRoot",
1278
1278
  componentId: "SD__sc-1s7g3kw-1"
1279
- })(["width:100%;color:#c2c4c9;font-size:14px;font-weight:400;line-height:20px;text-decoration:none;outline:none;cursor:pointer;background-color:#1b2638;&[aria-current]{background-color:#2f394a;color:", ";}&.MuiAccordion-root:before{background-color:#1b2638;}&.MuiPaper-elevation0{border:0px;}&[data-gutter]{margin-top:16px;}&[data-gutter].MuiAccordion-root.Mui-expanded{margin-top:16px;}"], ui.ColorV2.White);
1279
+ })(["width:100%;color:#c2c4c9;font-size:14px;font-weight:400;line-height:20px;text-decoration:none;outline:none;cursor:pointer;background-color:#1b2638;&[aria-current]{background-color:#2f394a;color:", ";}&.MuiAccordion-root:before{background-color:#1b2638;}&.MuiPaper-elevation0{border:0px;}&[data-gutter]{margin-top:16px;}&[data-gutter].MuiAccordion-root.Mui-expanded{margin-top:16px;}"], ui.ColorDynamic.White);
1280
1280
  var NavbarAccordionSummary = /*#__PURE__*/styled__default(core.AccordionSummary).withConfig({
1281
1281
  displayName: "NavbarAccordion__NavbarAccordionSummary",
1282
1282
  componentId: "SD__sc-1s7g3kw-2"
1283
- })(["border-left:4px solid transparent;padding-left:20px;&.MuiAccordionSummary-root{max-height:40px;min-height:40px;}&.MuiAccordionSummary-content{align-items:center;}&:hover,&[aria-current],&[data-active='true']{color:", ";background-color:#2f394a;border-left-color:", ";}&[data-expanded='false']{.MuiAccordionSummary-expandIcon{display:none;}}"], ui.ColorV2.White, ui.ColorV2.Blue300);
1283
+ })(["border-left:4px solid transparent;padding-left:20px;&.MuiAccordionSummary-root{max-height:40px;min-height:40px;}&.MuiAccordionSummary-content{align-items:center;}&:hover,&[aria-current],&[data-active='true']{color:", ";background-color:#2f394a;border-left-color:", ";}&[data-expanded='false']{.MuiAccordionSummary-expandIcon{display:none;}}"], ui.ColorDynamic.White, ui.ColorDynamic.Blue300);
1284
1284
  var IconWrapper$2 = /*#__PURE__*/styled__default.div.withConfig({
1285
1285
  displayName: "NavbarAccordion__IconWrapper",
1286
1286
  componentId: "SD__sc-1s7g3kw-3"
@@ -1377,7 +1377,7 @@ var Wrapper = /*#__PURE__*/styled__default.div.withConfig({
1377
1377
  var ExpandIconButton = /*#__PURE__*/styled__default(core.IconButton).withConfig({
1378
1378
  displayName: "NavbarList__ExpandIconButton",
1379
1379
  componentId: "SD__sc-19zrmxc-2"
1380
- })(["color:", ";&&:focus{background-color:inherit;}"], ui.ColorV2.Silver500);
1380
+ })(["color:", ";&&:focus{background-color:inherit;}"], ui.ColorDynamic.Silver500);
1381
1381
  var Footer = /*#__PURE__*/styled__default.div.withConfig({
1382
1382
  displayName: "NavbarList__Footer",
1383
1383
  componentId: "SD__sc-19zrmxc-3"
@@ -1385,7 +1385,7 @@ var Footer = /*#__PURE__*/styled__default.div.withConfig({
1385
1385
  var Root = /*#__PURE__*/styled__default.div.withConfig({
1386
1386
  displayName: "NavbarList__Root",
1387
1387
  componentId: "SD__sc-19zrmxc-4"
1388
- })(["color:inherit;background-color:unset;border-left:unset;font-size:14px;font-weight:400;line-height:20px;text-decoration:none;padding:8px 16px;svg{font-size:24px;color:", ";}"], ui.ColorV2.Dark100);
1388
+ })(["color:inherit;background-color:unset;border-left:unset;font-size:14px;font-weight:400;line-height:20px;text-decoration:none;padding:8px 16px;svg{font-size:24px;color:", ";}"], ui.ColorDynamic.Dark100);
1389
1389
  function NavbarMenuItem(_ref4) {
1390
1390
  var {
1391
1391
  label,
@@ -1408,7 +1408,7 @@ function NavbarMenuItem(_ref4) {
1408
1408
  var Content = /*#__PURE__*/styled__default.div.withConfig({
1409
1409
  displayName: "NavbarList__Content",
1410
1410
  componentId: "SD__sc-19zrmxc-5"
1411
- })(["height:100%;min-height:50px;overflow-y:auto;overflow-x:hidden;&[aria-expanded='false']{", ",", "{display:none;}}&::-webkit-scrollbar{width:10px;height:10px;}&::-webkit-scrollbar-track{background-color:transparent;}&::-webkit-scrollbar-thumb{background-color:", ";border-radius:100vw;margin-bottom:100px;}"], NavbarBadge, NavbarLabel, ui.ColorV2.Dark300);
1411
+ })(["height:100%;min-height:50px;overflow-y:auto;overflow-x:hidden;&[aria-expanded='false']{", ",", "{display:none;}}&::-webkit-scrollbar{width:10px;height:10px;}&::-webkit-scrollbar-track{background-color:transparent;}&::-webkit-scrollbar-thumb{background-color:", ";border-radius:100vw;margin-bottom:100px;}"], NavbarBadge, NavbarLabel, ui.ColorDynamic.Dark300);
1412
1412
  function NavbarList(_ref5) {
1413
1413
  var {
1414
1414
  header,
@@ -1552,7 +1552,7 @@ var _excluded$8 = ["title", "subtitle", "children"];
1552
1552
  var StyledTypography = /*#__PURE__*/styled__default(core.Typography).withConfig({
1553
1553
  displayName: "NavbarAvatar__StyledTypography",
1554
1554
  componentId: "SD__sc-19q2zd0-0"
1555
- })(["color:", ";text-overflow:ellipsis;white-space:nowrap;overflow:hidden;&:hover{color:", ";}"], ui.ColorV2.Silver500, ui.ColorV2.White);
1555
+ })(["color:", ";text-overflow:ellipsis;white-space:nowrap;overflow:hidden;&:hover{color:", ";}"], ui.ColorDynamic.Silver500, ui.ColorDynamic.White);
1556
1556
  function NavbarAvatar(_ref) {
1557
1557
  var {
1558
1558
  title,
@@ -1594,20 +1594,20 @@ function NavbarAvatar(_ref) {
1594
1594
  var Divider = /*#__PURE__*/styled__default.div.withConfig({
1595
1595
  displayName: "NavbarMenu__Divider",
1596
1596
  componentId: "SD__sc-1c8icpt-0"
1597
- })(["border-bottom:1px solid ", ";margin:8px -16px;"], ui.ColorV2.Silver400);
1597
+ })(["border-bottom:1px solid ", ";margin:8px -16px;"], ui.ColorDynamic.Silver400);
1598
1598
  var StyledMenuItem = /*#__PURE__*/styled__default(core.MenuItem).withConfig({
1599
1599
  displayName: "NavbarMenu__StyledMenuItem",
1600
1600
  componentId: "SD__sc-1c8icpt-1"
1601
- })(["& svg{font-size:24px;color:", ";}"], ui.ColorV2.Dark100);
1601
+ })(["& svg{font-size:24px;color:", ";}"], ui.ColorDynamic.Dark100);
1602
1602
  var Wrapper$1 = /*#__PURE__*/styled__default.div.withConfig({
1603
1603
  displayName: "NavbarMenu__Wrapper",
1604
1604
  componentId: "SD__sc-1c8icpt-2"
1605
- })(["width:100%;padding:8px 16px;cursor:pointer;background:", ";border-left:4px solid ", ";&:hover{border-left-color:", ";background:", ";}"], ui.ColorV2.Dark400, _ref => {
1605
+ })(["width:100%;padding:8px 16px;cursor:pointer;background:", ";border-left:4px solid ", ";&:hover{border-left-color:", ";background:", ";}"], ui.ColorDynamic.Dark400, _ref => {
1606
1606
  var {
1607
1607
  active
1608
1608
  } = _ref;
1609
- return active ? ui.ColorV2.Blue300 : 'transparent';
1610
- }, ui.ColorV2.Blue300, ui.ColorV2.Dark400);
1609
+ return active ? ui.ColorDynamic.Blue300 : 'transparent';
1610
+ }, ui.ColorDynamic.Blue300, ui.ColorDynamic.Dark400);
1611
1611
  function NavbarMenu(_ref2) {
1612
1612
  var {
1613
1613
  items,
@@ -1650,7 +1650,7 @@ function NavbarMenu(_ref2) {
1650
1650
  verticalAlign: "center",
1651
1651
  children: [item.icon, /*#__PURE__*/jsxRuntime.jsx(core.Typography, {
1652
1652
  style: {
1653
- color: ui.ColorV2.Dark500
1653
+ color: ui.ColorDynamic.Dark500
1654
1654
  },
1655
1655
  children: item.label
1656
1656
  })]
@@ -1664,11 +1664,11 @@ function NavbarMenu(_ref2) {
1664
1664
  var SidebarRoot = /*#__PURE__*/styled__default.aside.withConfig({
1665
1665
  displayName: "Sidebar__SidebarRoot",
1666
1666
  componentId: "SD__sc-b77o22-0"
1667
- })(["top:0;position:sticky;overflow-y:auto;overflow-x:hidden;height:100vh;background-color:", ";border-right:1px solid ", ";"], ui.ColorV2.White, ui.ColorV2.Silver400);
1667
+ })(["top:0;position:sticky;overflow-y:auto;overflow-x:hidden;height:100vh;background-color:", ";border-right:1px solid ", ";"], ui.ColorDynamic.White, ui.ColorDynamic.Silver400);
1668
1668
  var SidebarHeader = /*#__PURE__*/styled__default.div.withConfig({
1669
1669
  displayName: "Sidebar__SidebarHeader",
1670
1670
  componentId: "SD__sc-b77o22-1"
1671
- })(["top:0;z-index:2;position:sticky;padding-left:24px;padding-right:24px;padding-bottom:8px;background-color:", ";"], ui.ColorV2.White);
1671
+ })(["top:0;z-index:2;position:sticky;padding-left:24px;padding-right:24px;padding-bottom:8px;background-color:", ";"], ui.ColorDynamic.White);
1672
1672
  var SidebarTitle = /*#__PURE__*/styled__default.div.withConfig({
1673
1673
  displayName: "Sidebar__SidebarTitle",
1674
1674
  componentId: "SD__sc-b77o22-2"
@@ -1931,12 +1931,12 @@ var SidebarMenuItemRoot = /*#__PURE__*/styled__default.div.withConfig({
1931
1931
  hasAvatar
1932
1932
  } = _ref;
1933
1933
  var height = hasAvatar ? 48 : 40;
1934
- return styled.css(["position:relative;& > .MuiButtonBase-root{width:100%;display:flex;justify-content:flex-start;padding-left:24px;padding-right:24px;height:", "px;max-height:", "px;&[aria-current='true']{background-color:", ";box-shadow:inset 4px 0 0 ", ";}&:hover{background-color:", ";}}"], height, height, ui.ColorV2.Silver200, ui.ColorV2.Blue300, ui.ColorV2.Silver200);
1934
+ return styled.css(["position:relative;& > .MuiButtonBase-root{width:100%;display:flex;justify-content:flex-start;padding-left:24px;padding-right:24px;height:", "px;max-height:", "px;&[aria-current='true']{background-color:", ";box-shadow:inset 4px 0 0 ", ";}&:hover{background-color:", ";}}"], height, height, ui.ColorDynamic.Silver200, ui.ColorDynamic.Blue300, ui.ColorDynamic.Silver200);
1935
1935
  });
1936
1936
  var SidebarMenuItemBadge = /*#__PURE__*/styled__default.div.withConfig({
1937
1937
  displayName: "SidebarMenuItem__SidebarMenuItemBadge",
1938
1938
  componentId: "SD__sc-1sb5zqa-1"
1939
- })(["font-size:12px;font-weight:500;line-height:16px;padding-left:4px;padding-right:4px;border-radius:100px;color:", ";background-color:", ";"], ui.ColorV2.Dark500, ui.ColorV2.Silver400);
1939
+ })(["font-size:12px;font-weight:500;line-height:16px;padding-left:4px;padding-right:4px;border-radius:100px;color:", ";background-color:", ";"], ui.ColorDynamic.Dark500, ui.ColorDynamic.Silver400);
1940
1940
  var SidebarMenuItem = /*#__PURE__*/react.forwardRef((_ref2, ref) => {
1941
1941
  var {
1942
1942
  action,