@traefik-labs/faency 13.7.0 → 13.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/README.md +11 -3
  2. package/dist/components/AriaTable/AriaTable.vanilla.css.cjs.map +1 -1
  3. package/dist/components/AriaTable/AriaTable.vanilla.css.js.map +1 -1
  4. package/dist/components/Avatar/Avatar.vanilla.css.cjs.map +1 -1
  5. package/dist/components/Avatar/Avatar.vanilla.css.js.map +1 -1
  6. package/dist/components/Badge/Badge.vanilla.css.cjs.map +1 -1
  7. package/dist/components/Badge/Badge.vanilla.css.js.map +1 -1
  8. package/dist/components/Blockquote/Blockquote.vanilla.css.cjs.map +1 -1
  9. package/dist/components/Blockquote/Blockquote.vanilla.css.js.map +1 -1
  10. package/dist/components/Box/Box.vanilla.css.cjs.map +1 -1
  11. package/dist/components/Box/Box.vanilla.css.js.map +1 -1
  12. package/dist/components/Bubble/Bubble.vanilla.css.cjs.map +1 -1
  13. package/dist/components/Bubble/Bubble.vanilla.css.js.map +1 -1
  14. package/dist/components/Button/Button.vanilla.css.cjs.map +1 -1
  15. package/dist/components/Button/Button.vanilla.css.js.map +1 -1
  16. package/dist/components/ButtonSwitch/ButtonSwitch.vanilla.css.cjs.map +1 -1
  17. package/dist/components/ButtonSwitch/ButtonSwitch.vanilla.css.js.map +1 -1
  18. package/dist/components/Card/Card.vanilla.css.cjs.map +1 -1
  19. package/dist/components/Card/Card.vanilla.css.js.map +1 -1
  20. package/dist/components/CodeBlock/CodeBlock.vanilla.css.cjs.map +1 -1
  21. package/dist/components/CodeBlock/CodeBlock.vanilla.css.js.map +1 -1
  22. package/dist/components/Combobox/Combobox.vanilla.css.cjs.map +1 -1
  23. package/dist/components/Combobox/Combobox.vanilla.css.js.map +1 -1
  24. package/dist/components/Container/Container.vanilla.css.cjs.map +1 -1
  25. package/dist/components/Container/Container.vanilla.css.js.map +1 -1
  26. package/dist/components/Elevation/Elevation.vanilla.css.cjs.map +1 -1
  27. package/dist/components/Elevation/Elevation.vanilla.css.js.map +1 -1
  28. package/dist/components/Field/Field.vanilla.css.cjs.map +1 -1
  29. package/dist/components/Field/Field.vanilla.css.js.map +1 -1
  30. package/dist/components/Flex/Flex.vanilla.css.cjs.map +1 -1
  31. package/dist/components/Flex/Flex.vanilla.css.js.map +1 -1
  32. package/dist/components/Grid/Grid.vanilla.css.cjs.map +1 -1
  33. package/dist/components/Grid/Grid.vanilla.css.js.map +1 -1
  34. package/dist/components/IconButton/IconButton.vanilla.css.cjs.map +1 -1
  35. package/dist/components/IconButton/IconButton.vanilla.css.js.map +1 -1
  36. package/dist/components/Image/Image.vanilla.css.cjs.map +1 -1
  37. package/dist/components/Image/Image.vanilla.css.js.map +1 -1
  38. package/dist/components/Input/Input.vanilla.css.cjs.map +1 -1
  39. package/dist/components/Input/Input.vanilla.css.js.map +1 -1
  40. package/dist/components/Label/Label.vanilla.css.cjs.map +1 -1
  41. package/dist/components/Label/Label.vanilla.css.js.map +1 -1
  42. package/dist/components/List/List.vanilla.css.cjs.map +1 -1
  43. package/dist/components/List/List.vanilla.css.js.map +1 -1
  44. package/dist/components/Meter/Meter.vanilla.css.cjs.map +1 -1
  45. package/dist/components/Meter/Meter.vanilla.css.js.map +1 -1
  46. package/dist/components/Panel/Panel.vanilla.css.cjs.map +1 -1
  47. package/dist/components/Panel/Panel.vanilla.css.js.map +1 -1
  48. package/dist/components/Paragraph/Paragraph.vanilla.css.cjs.map +1 -1
  49. package/dist/components/Paragraph/Paragraph.vanilla.css.js.map +1 -1
  50. package/dist/components/RowLink/RowLink.vanilla.css.cjs.map +1 -1
  51. package/dist/components/RowLink/RowLink.vanilla.css.js.map +1 -1
  52. package/dist/components/SegmentedControl/SegmentedControl.vanilla.css.cjs.map +1 -1
  53. package/dist/components/SegmentedControl/SegmentedControl.vanilla.css.js.map +1 -1
  54. package/dist/components/Skeleton/Skeleton.vanilla.css.cjs.map +1 -1
  55. package/dist/components/Skeleton/Skeleton.vanilla.css.js.map +1 -1
  56. package/dist/components/Spinner/Spinner.vanilla.css.cjs.map +1 -1
  57. package/dist/components/Spinner/Spinner.vanilla.css.js.map +1 -1
  58. package/dist/components/SplitLayout/SplitLayout.vanilla.css.cjs.map +1 -1
  59. package/dist/components/SplitLayout/SplitLayout.vanilla.css.js.map +1 -1
  60. package/dist/components/Table/Table.vanilla.css.cjs.map +1 -1
  61. package/dist/components/Table/Table.vanilla.css.js.map +1 -1
  62. package/dist/components/Text/Text.vanilla.css.cjs.map +1 -1
  63. package/dist/components/Text/Text.vanilla.css.js.map +1 -1
  64. package/dist/components/TextField/TextField.vanilla.css.cjs.map +1 -1
  65. package/dist/components/TextField/TextField.vanilla.css.js.map +1 -1
  66. package/dist/components/Textarea/Textarea.vanilla.css.cjs.map +1 -1
  67. package/dist/components/Textarea/Textarea.vanilla.css.js.map +1 -1
  68. package/dist/components/Toast/Toast.vanilla.css.cjs.map +1 -1
  69. package/dist/components/Toast/Toast.vanilla.css.js.map +1 -1
  70. package/dist/styles/themes.css.cjs.map +1 -1
  71. package/dist/styles/themes.css.js.map +1 -1
  72. package/dist/styles/tokens.css.cjs.map +1 -1
  73. package/dist/styles/tokens.css.js.map +1 -1
  74. package/dist/utils/warnOnce.cjs +8 -1
  75. package/dist/utils/warnOnce.cjs.map +1 -1
  76. package/dist/utils/warnOnce.js +8 -1
  77. package/dist/utils/warnOnce.js.map +1 -1
  78. package/package.json +16 -16
@@ -1 +1 @@
1
- {"version":3,"file":"Panel.vanilla.css.cjs","names":[],"sources":["../../../components/Panel/Panel.vanilla.css.ts"],"sourcesContent":["import { style } from '@vanilla-extract/css';\n\nimport { tokens } from '../../styles/tokens.css';\n\nexport const panelStyle = style({\n backgroundColor: tokens.colors.deepBlue['3'],\n borderRadius: tokens.radii['3'],\n});\n"],"mappings":""}
1
+ {"version":3,"file":"Panel.vanilla.css.cjs","names":[],"sources":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"Panel.vanilla.css.js","names":[],"sources":["../../../components/Panel/Panel.vanilla.css.ts"],"sourcesContent":["import { style } from '@vanilla-extract/css';\n\nimport { tokens } from '../../styles/tokens.css';\n\nexport const panelStyle = style({\n backgroundColor: tokens.colors.deepBlue['3'],\n borderRadius: tokens.radii['3'],\n});\n"],"mappings":""}
1
+ {"version":3,"file":"Panel.vanilla.css.js","names":[],"sources":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"Paragraph.vanilla.css.cjs","names":["_7a468"],"sources":["../../../components/Paragraph/Paragraph.vanilla.css.ts"],"sourcesContent":["import { style } from '@vanilla-extract/css';\nimport { recipe } from '@vanilla-extract/recipes';\n\nimport { breakpoints } from '../../styles/breakpoints.css';\nimport { tokens } from '../../styles/tokens.css';\n\n// Base text styles (from Text component)\nconst paragraphBase = style({\n lineHeight: '1',\n margin: '0',\n fontFamily: tokens.fonts.rubik,\n fontVariantNumeric: 'tabular-nums',\n display: 'inline-block',\n});\n\nexport const paragraphRecipe = recipe({\n base: paragraphBase,\n\n variants: {\n size: {\n '1': {\n fontSize: tokens.fontSizes['3'],\n color: tokens.colors.textDefault,\n lineHeight: '25px',\n '@media': {\n [breakpoints.bp2]: {\n fontSize: tokens.fontSizes['4'],\n lineHeight: '27px',\n },\n },\n },\n '2': {\n fontSize: tokens.fontSizes['5'],\n color: tokens.colors.slate[11],\n lineHeight: '27px',\n '@media': {\n [breakpoints.bp2]: {\n fontSize: tokens.fontSizes['6'],\n lineHeight: '30px',\n },\n },\n },\n },\n },\n\n defaultVariants: {\n size: '1',\n },\n});\n"],"mappings":""}
1
+ {"version":3,"file":"Paragraph.vanilla.css.cjs","names":[],"sources":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"Paragraph.vanilla.css.js","names":["_7a468"],"sources":["../../../components/Paragraph/Paragraph.vanilla.css.ts"],"sourcesContent":["import { style } from '@vanilla-extract/css';\nimport { recipe } from '@vanilla-extract/recipes';\n\nimport { breakpoints } from '../../styles/breakpoints.css';\nimport { tokens } from '../../styles/tokens.css';\n\n// Base text styles (from Text component)\nconst paragraphBase = style({\n lineHeight: '1',\n margin: '0',\n fontFamily: tokens.fonts.rubik,\n fontVariantNumeric: 'tabular-nums',\n display: 'inline-block',\n});\n\nexport const paragraphRecipe = recipe({\n base: paragraphBase,\n\n variants: {\n size: {\n '1': {\n fontSize: tokens.fontSizes['3'],\n color: tokens.colors.textDefault,\n lineHeight: '25px',\n '@media': {\n [breakpoints.bp2]: {\n fontSize: tokens.fontSizes['4'],\n lineHeight: '27px',\n },\n },\n },\n '2': {\n fontSize: tokens.fontSizes['5'],\n color: tokens.colors.slate[11],\n lineHeight: '27px',\n '@media': {\n [breakpoints.bp2]: {\n fontSize: tokens.fontSizes['6'],\n lineHeight: '30px',\n },\n },\n },\n },\n },\n\n defaultVariants: {\n size: '1',\n },\n});\n"],"mappings":""}
1
+ {"version":3,"file":"Paragraph.vanilla.css.js","names":[],"sources":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"RowLink.vanilla.css.cjs","names":[],"sources":["../../../components/RowLink/RowLink.vanilla.css.ts"],"sourcesContent":["import { globalStyle, style } from '@vanilla-extract/css';\n\nimport { tokens } from '../../styles/tokens.css';\nimport {\n ROW_LINK_ATTRIBUTE,\n ROW_LINK_CONTROL_Z_INDEX,\n ROW_LINK_CONTROLS,\n ROW_LINK_Z_INDEX,\n} from './RowLink.constants';\n\nconst hasRowLink = `&:has([${ROW_LINK_ATTRIBUTE}])`;\n\nexport const rowLink = style({\n color: 'inherit',\n textDecoration: 'none',\n outline: 'none',\n\n '::after': {\n content: '\"\"',\n position: 'absolute',\n inset: 0,\n zIndex: ROW_LINK_Z_INDEX,\n },\n\n selectors: {\n '&:focus-visible::after': {\n outlineWidth: '2px',\n outlineStyle: 'solid',\n outlineColor: tokens.colors.focusOutline,\n outlineOffset: '-2px',\n },\n [`&[${ROW_LINK_ATTRIBUTE}=\"click\"]::after`]: {\n content: 'none',\n },\n [`&[${ROW_LINK_ATTRIBUTE}=\"click\"]:focus-visible`]: {\n outlineWidth: '2px',\n outlineStyle: 'solid',\n outlineColor: tokens.colors.focusOutline,\n outlineOffset: '2px',\n },\n },\n});\n\nexport const rowLinkTable = style({\n selectors: {\n [hasRowLink]: {\n isolation: 'isolate',\n },\n },\n});\n\nexport const rowLinkRow = style({\n selectors: {\n [hasRowLink]: {\n position: 'relative',\n },\n },\n});\n\nglobalStyle(`${rowLinkRow}:has([${ROW_LINK_ATTRIBUTE}]) ${ROW_LINK_CONTROLS}`, {\n position: 'relative',\n zIndex: ROW_LINK_CONTROL_Z_INDEX,\n});\n"],"mappings":""}
1
+ {"version":3,"file":"RowLink.vanilla.css.cjs","names":[],"sources":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"RowLink.vanilla.css.js","names":[],"sources":["../../../components/RowLink/RowLink.vanilla.css.ts"],"sourcesContent":["import { globalStyle, style } from '@vanilla-extract/css';\n\nimport { tokens } from '../../styles/tokens.css';\nimport {\n ROW_LINK_ATTRIBUTE,\n ROW_LINK_CONTROL_Z_INDEX,\n ROW_LINK_CONTROLS,\n ROW_LINK_Z_INDEX,\n} from './RowLink.constants';\n\nconst hasRowLink = `&:has([${ROW_LINK_ATTRIBUTE}])`;\n\nexport const rowLink = style({\n color: 'inherit',\n textDecoration: 'none',\n outline: 'none',\n\n '::after': {\n content: '\"\"',\n position: 'absolute',\n inset: 0,\n zIndex: ROW_LINK_Z_INDEX,\n },\n\n selectors: {\n '&:focus-visible::after': {\n outlineWidth: '2px',\n outlineStyle: 'solid',\n outlineColor: tokens.colors.focusOutline,\n outlineOffset: '-2px',\n },\n [`&[${ROW_LINK_ATTRIBUTE}=\"click\"]::after`]: {\n content: 'none',\n },\n [`&[${ROW_LINK_ATTRIBUTE}=\"click\"]:focus-visible`]: {\n outlineWidth: '2px',\n outlineStyle: 'solid',\n outlineColor: tokens.colors.focusOutline,\n outlineOffset: '2px',\n },\n },\n});\n\nexport const rowLinkTable = style({\n selectors: {\n [hasRowLink]: {\n isolation: 'isolate',\n },\n },\n});\n\nexport const rowLinkRow = style({\n selectors: {\n [hasRowLink]: {\n position: 'relative',\n },\n },\n});\n\nglobalStyle(`${rowLinkRow}:has([${ROW_LINK_ATTRIBUTE}]) ${ROW_LINK_CONTROLS}`, {\n position: 'relative',\n zIndex: ROW_LINK_CONTROL_Z_INDEX,\n});\n"],"mappings":""}
1
+ {"version":3,"file":"RowLink.vanilla.css.js","names":[],"sources":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"SegmentedControl.vanilla.css.cjs","names":["_7a468"],"sources":["../../../components/SegmentedControl/SegmentedControl.vanilla.css.ts"],"sourcesContent":["import { recipe, RecipeVariants } from '@vanilla-extract/recipes';\n\nimport { breakpoints } from '../../styles/breakpoints.css';\nimport { tokens } from '../../styles/tokens.css';\n\nexport const segmentedControlRecipe = recipe({\n base: {\n boxSizing: 'border-box',\n display: 'inline-flex',\n alignItems: 'stretch',\n border: `1px solid ${tokens.colors.segmentedControlBorder}`,\n borderRadius: tokens.radii['2'],\n overflow: 'hidden',\n fontFamily: tokens.fonts.rubik,\n },\n\n variants: {\n fullWidth: {\n true: { display: 'flex', width: '100%' },\n false: {},\n },\n },\n\n defaultVariants: {\n fullWidth: false,\n },\n});\n\nexport const segmentedControlItemRecipe = recipe({\n base: {\n boxSizing: 'border-box',\n appearance: 'none',\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n gap: tokens.space['2'],\n margin: 0,\n border: 0,\n backgroundColor: 'transparent',\n color: tokens.colors.textSubtle,\n fontFamily: 'inherit',\n fontWeight: tokens.fontWeights.regular,\n lineHeight: 1.3,\n textAlign: 'center',\n cursor: 'pointer',\n transition: 'background-color 120ms ease, color 120ms ease',\n\n selectors: {\n '& + &': {\n borderLeft: `1px solid ${tokens.colors.segmentedControlBorder}`,\n },\n '&:hover:not([data-state=\"checked\"]):not([data-disabled])': {\n backgroundColor: tokens.colors.segmentedControlHoverBg,\n },\n '&[data-state=\"checked\"]': {\n backgroundColor: tokens.colors.segmentedControlActiveBg,\n color: tokens.colors.segmentedControlActiveText,\n },\n '&:focus-visible': {\n outline: `2px solid ${tokens.colors.focusOutline}`,\n outlineOffset: '-2px',\n },\n '&[data-disabled]': {\n opacity: 0.5,\n cursor: 'not-allowed',\n },\n },\n\n '@media': {\n [breakpoints.motion]: {\n transition: 'none',\n },\n },\n },\n\n variants: {\n size: {\n small: {\n minHeight: tokens.sizes['5'],\n paddingInline: tokens.space['2'],\n fontSize: tokens.fontSizes['1'],\n },\n medium: {\n minHeight: tokens.sizes['6'],\n paddingInline: tokens.space['3'],\n fontSize: tokens.fontSizes['2'],\n },\n large: {\n minHeight: tokens.sizes['7'],\n paddingInline: tokens.space['3'],\n fontSize: tokens.fontSizes['3'],\n },\n },\n fullWidth: {\n true: { flex: '1 1 0', minWidth: 0, whiteSpace: 'normal' },\n false: { whiteSpace: 'nowrap' },\n },\n },\n\n defaultVariants: {\n size: 'medium',\n fullWidth: false,\n },\n});\n\nexport type SegmentedControlSize = NonNullable<\n NonNullable<RecipeVariants<typeof segmentedControlItemRecipe>>['size']\n>;\n"],"mappings":""}
1
+ {"version":3,"file":"SegmentedControl.vanilla.css.cjs","names":[],"sources":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"SegmentedControl.vanilla.css.js","names":["_7a468"],"sources":["../../../components/SegmentedControl/SegmentedControl.vanilla.css.ts"],"sourcesContent":["import { recipe, RecipeVariants } from '@vanilla-extract/recipes';\n\nimport { breakpoints } from '../../styles/breakpoints.css';\nimport { tokens } from '../../styles/tokens.css';\n\nexport const segmentedControlRecipe = recipe({\n base: {\n boxSizing: 'border-box',\n display: 'inline-flex',\n alignItems: 'stretch',\n border: `1px solid ${tokens.colors.segmentedControlBorder}`,\n borderRadius: tokens.radii['2'],\n overflow: 'hidden',\n fontFamily: tokens.fonts.rubik,\n },\n\n variants: {\n fullWidth: {\n true: { display: 'flex', width: '100%' },\n false: {},\n },\n },\n\n defaultVariants: {\n fullWidth: false,\n },\n});\n\nexport const segmentedControlItemRecipe = recipe({\n base: {\n boxSizing: 'border-box',\n appearance: 'none',\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n gap: tokens.space['2'],\n margin: 0,\n border: 0,\n backgroundColor: 'transparent',\n color: tokens.colors.textSubtle,\n fontFamily: 'inherit',\n fontWeight: tokens.fontWeights.regular,\n lineHeight: 1.3,\n textAlign: 'center',\n cursor: 'pointer',\n transition: 'background-color 120ms ease, color 120ms ease',\n\n selectors: {\n '& + &': {\n borderLeft: `1px solid ${tokens.colors.segmentedControlBorder}`,\n },\n '&:hover:not([data-state=\"checked\"]):not([data-disabled])': {\n backgroundColor: tokens.colors.segmentedControlHoverBg,\n },\n '&[data-state=\"checked\"]': {\n backgroundColor: tokens.colors.segmentedControlActiveBg,\n color: tokens.colors.segmentedControlActiveText,\n },\n '&:focus-visible': {\n outline: `2px solid ${tokens.colors.focusOutline}`,\n outlineOffset: '-2px',\n },\n '&[data-disabled]': {\n opacity: 0.5,\n cursor: 'not-allowed',\n },\n },\n\n '@media': {\n [breakpoints.motion]: {\n transition: 'none',\n },\n },\n },\n\n variants: {\n size: {\n small: {\n minHeight: tokens.sizes['5'],\n paddingInline: tokens.space['2'],\n fontSize: tokens.fontSizes['1'],\n },\n medium: {\n minHeight: tokens.sizes['6'],\n paddingInline: tokens.space['3'],\n fontSize: tokens.fontSizes['2'],\n },\n large: {\n minHeight: tokens.sizes['7'],\n paddingInline: tokens.space['3'],\n fontSize: tokens.fontSizes['3'],\n },\n },\n fullWidth: {\n true: { flex: '1 1 0', minWidth: 0, whiteSpace: 'normal' },\n false: { whiteSpace: 'nowrap' },\n },\n },\n\n defaultVariants: {\n size: 'medium',\n fullWidth: false,\n },\n});\n\nexport type SegmentedControlSize = NonNullable<\n NonNullable<RecipeVariants<typeof segmentedControlItemRecipe>>['size']\n>;\n"],"mappings":""}
1
+ {"version":3,"file":"SegmentedControl.vanilla.css.js","names":[],"sources":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"Skeleton.vanilla.css.cjs","names":["_7a468"],"sources":["../../../components/Skeleton/Skeleton.vanilla.css.ts"],"sourcesContent":["import { globalStyle, keyframes, style } from '@vanilla-extract/css';\nimport { recipe } from '@vanilla-extract/recipes';\n\nimport { breakpoints } from '../../styles/breakpoints.css';\nimport { tokens } from '../../styles/tokens.css';\n\nconst pulse = keyframes({\n '0%': { opacity: 0 },\n '100%': { opacity: 1 },\n});\n\nconst skeletonBase = style({\n backgroundColor: tokens.colors.skeletonBackground,\n position: 'relative',\n overflow: 'hidden',\n borderRadius: '3px',\n height: 'auto',\n width: 'auto',\n\n selectors: {\n '&:not(:empty)': {\n maxWidth: 'fit-content',\n },\n },\n\n '::after': {\n animationName: pulse,\n animationDuration: '500ms',\n animationDirection: 'alternate',\n animationIterationCount: 'infinite',\n animationTimingFunction: 'ease-in-out',\n backgroundColor: tokens.colors.skeletonAnimation,\n borderRadius: 'inherit',\n bottom: 0,\n content: '\"\"',\n left: 0,\n position: 'absolute',\n right: 0,\n top: 0,\n },\n});\n\nglobalStyle(`${skeletonBase}::after`, {\n '@media': {\n [breakpoints.motion]: {\n animation: 'none',\n opacity: 0,\n },\n },\n});\n\n// Global styles for child elements inside skeleton\nglobalStyle(`${skeletonBase}:not(:empty) > *`, {\n visibility: 'hidden',\n display: 'block',\n});\n\nexport const skeletonRecipe = recipe({\n base: skeletonBase,\n\n variants: {\n variant: {\n square: {\n borderRadius: tokens.radii['2'],\n },\n circle: {\n borderRadius: tokens.radii.round,\n },\n badge: {\n borderRadius: tokens.radii.pill,\n display: 'inline-flex',\n },\n button: {\n borderRadius: tokens.radii['3'],\n display: 'inline-flex',\n },\n text: {\n selectors: {\n '&:empty::before': {\n content: '\"\\\\00a0\"',\n },\n },\n },\n },\n },\n\n defaultVariants: {\n variant: 'text',\n },\n});\n"],"mappings":""}
1
+ {"version":3,"file":"Skeleton.vanilla.css.cjs","names":[],"sources":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"Skeleton.vanilla.css.js","names":["_7a468"],"sources":["../../../components/Skeleton/Skeleton.vanilla.css.ts"],"sourcesContent":["import { globalStyle, keyframes, style } from '@vanilla-extract/css';\nimport { recipe } from '@vanilla-extract/recipes';\n\nimport { breakpoints } from '../../styles/breakpoints.css';\nimport { tokens } from '../../styles/tokens.css';\n\nconst pulse = keyframes({\n '0%': { opacity: 0 },\n '100%': { opacity: 1 },\n});\n\nconst skeletonBase = style({\n backgroundColor: tokens.colors.skeletonBackground,\n position: 'relative',\n overflow: 'hidden',\n borderRadius: '3px',\n height: 'auto',\n width: 'auto',\n\n selectors: {\n '&:not(:empty)': {\n maxWidth: 'fit-content',\n },\n },\n\n '::after': {\n animationName: pulse,\n animationDuration: '500ms',\n animationDirection: 'alternate',\n animationIterationCount: 'infinite',\n animationTimingFunction: 'ease-in-out',\n backgroundColor: tokens.colors.skeletonAnimation,\n borderRadius: 'inherit',\n bottom: 0,\n content: '\"\"',\n left: 0,\n position: 'absolute',\n right: 0,\n top: 0,\n },\n});\n\nglobalStyle(`${skeletonBase}::after`, {\n '@media': {\n [breakpoints.motion]: {\n animation: 'none',\n opacity: 0,\n },\n },\n});\n\n// Global styles for child elements inside skeleton\nglobalStyle(`${skeletonBase}:not(:empty) > *`, {\n visibility: 'hidden',\n display: 'block',\n});\n\nexport const skeletonRecipe = recipe({\n base: skeletonBase,\n\n variants: {\n variant: {\n square: {\n borderRadius: tokens.radii['2'],\n },\n circle: {\n borderRadius: tokens.radii.round,\n },\n badge: {\n borderRadius: tokens.radii.pill,\n display: 'inline-flex',\n },\n button: {\n borderRadius: tokens.radii['3'],\n display: 'inline-flex',\n },\n text: {\n selectors: {\n '&:empty::before': {\n content: '\"\\\\00a0\"',\n },\n },\n },\n },\n },\n\n defaultVariants: {\n variant: 'text',\n },\n});\n"],"mappings":""}
1
+ {"version":3,"file":"Skeleton.vanilla.css.js","names":[],"sources":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"Spinner.vanilla.css.cjs","names":["_7a468"],"sources":["../../../components/Spinner/Spinner.vanilla.css.ts"],"sourcesContent":["import { keyframes, style } from '@vanilla-extract/css';\nimport { recipe } from '@vanilla-extract/recipes';\n\nimport { breakpoints } from '../../styles/breakpoints.css';\nimport { tokens } from '../../styles/tokens.css';\n\nconst spin = keyframes({\n to: { transform: 'rotate(360deg)' },\n});\n\nexport const spinnerRecipe = recipe({\n base: {\n display: 'inline-flex',\n flexShrink: 0,\n verticalAlign: 'middle',\n color: tokens.colors.primary,\n },\n variants: {\n size: {\n small: { width: tokens.sizes['3'], height: tokens.sizes['3'] },\n medium: { width: tokens.sizes['5'], height: tokens.sizes['5'] },\n large: { width: tokens.sizes['6'], height: tokens.sizes['6'] },\n },\n },\n defaultVariants: {\n size: 'medium',\n },\n});\n\nexport const svg = style({\n width: '100%',\n height: '100%',\n animation: `${spin} 1s linear infinite`,\n '@media': {\n // Slowed rather than stopped, so it still reads as busy.\n [breakpoints.motion]: { animationDuration: '3s' },\n },\n});\n\nexport const track = style({\n opacity: 0.25,\n});\n\nexport const hiddenLabel = style({\n position: 'absolute',\n width: 1,\n height: 1,\n padding: 0,\n margin: -1,\n overflow: 'hidden',\n clip: 'rect(0, 0, 0, 0)',\n whiteSpace: 'nowrap',\n border: 0,\n});\n"],"mappings":""}
1
+ {"version":3,"file":"Spinner.vanilla.css.cjs","names":[],"sources":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"Spinner.vanilla.css.js","names":["_7a468"],"sources":["../../../components/Spinner/Spinner.vanilla.css.ts"],"sourcesContent":["import { keyframes, style } from '@vanilla-extract/css';\nimport { recipe } from '@vanilla-extract/recipes';\n\nimport { breakpoints } from '../../styles/breakpoints.css';\nimport { tokens } from '../../styles/tokens.css';\n\nconst spin = keyframes({\n to: { transform: 'rotate(360deg)' },\n});\n\nexport const spinnerRecipe = recipe({\n base: {\n display: 'inline-flex',\n flexShrink: 0,\n verticalAlign: 'middle',\n color: tokens.colors.primary,\n },\n variants: {\n size: {\n small: { width: tokens.sizes['3'], height: tokens.sizes['3'] },\n medium: { width: tokens.sizes['5'], height: tokens.sizes['5'] },\n large: { width: tokens.sizes['6'], height: tokens.sizes['6'] },\n },\n },\n defaultVariants: {\n size: 'medium',\n },\n});\n\nexport const svg = style({\n width: '100%',\n height: '100%',\n animation: `${spin} 1s linear infinite`,\n '@media': {\n // Slowed rather than stopped, so it still reads as busy.\n [breakpoints.motion]: { animationDuration: '3s' },\n },\n});\n\nexport const track = style({\n opacity: 0.25,\n});\n\nexport const hiddenLabel = style({\n position: 'absolute',\n width: 1,\n height: 1,\n padding: 0,\n margin: -1,\n overflow: 'hidden',\n clip: 'rect(0, 0, 0, 0)',\n whiteSpace: 'nowrap',\n border: 0,\n});\n"],"mappings":""}
1
+ {"version":3,"file":"Spinner.vanilla.css.js","names":[],"sources":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"SplitLayout.vanilla.css.cjs","names":[],"sources":["../../../components/SplitLayout/SplitLayout.vanilla.css.ts"],"sourcesContent":["import { style } from '@vanilla-extract/css';\n\nimport { breakpoints } from '../../styles/breakpoints.css';\nimport { tokens } from '../../styles/tokens.css';\nimport { HANDLE_WIDTH } from './SplitLayout.constants';\n\nexport const root = style({\n display: 'flex',\n alignItems: 'flex-start',\n minWidth: 0,\n selectors: {\n '&[data-stacked]': { display: 'block' },\n },\n});\n\nexport const main = style({\n flex: 1,\n minWidth: 0,\n});\n\nexport const aside = style({\n flexShrink: 0,\n minWidth: 0,\n selectors: {\n [`${root}[data-stacked] &`]: { marginTop: tokens.space['6'] },\n },\n});\n\nexport const handle = style({\n flexShrink: 0,\n alignSelf: 'stretch',\n width: HANDLE_WIDTH,\n display: 'flex',\n justifyContent: 'center',\n cursor: 'col-resize',\n touchAction: 'none',\n outline: 'none',\n});\n\nexport const handleLine = style({\n width: 1,\n borderRadius: 2,\n backgroundColor: tokens.colors.divider,\n transition: 'width 120ms ease, background-color 120ms ease',\n selectors: {\n [`${handle}:hover &, ${handle}:focus-visible &`]: {\n width: 3,\n backgroundColor: tokens.colors.primary,\n },\n },\n '@media': {\n [breakpoints.motion]: { transition: 'none' },\n },\n});\n"],"mappings":""}
1
+ {"version":3,"file":"SplitLayout.vanilla.css.cjs","names":[],"sources":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"SplitLayout.vanilla.css.js","names":[],"sources":["../../../components/SplitLayout/SplitLayout.vanilla.css.ts"],"sourcesContent":["import { style } from '@vanilla-extract/css';\n\nimport { breakpoints } from '../../styles/breakpoints.css';\nimport { tokens } from '../../styles/tokens.css';\nimport { HANDLE_WIDTH } from './SplitLayout.constants';\n\nexport const root = style({\n display: 'flex',\n alignItems: 'flex-start',\n minWidth: 0,\n selectors: {\n '&[data-stacked]': { display: 'block' },\n },\n});\n\nexport const main = style({\n flex: 1,\n minWidth: 0,\n});\n\nexport const aside = style({\n flexShrink: 0,\n minWidth: 0,\n selectors: {\n [`${root}[data-stacked] &`]: { marginTop: tokens.space['6'] },\n },\n});\n\nexport const handle = style({\n flexShrink: 0,\n alignSelf: 'stretch',\n width: HANDLE_WIDTH,\n display: 'flex',\n justifyContent: 'center',\n cursor: 'col-resize',\n touchAction: 'none',\n outline: 'none',\n});\n\nexport const handleLine = style({\n width: 1,\n borderRadius: 2,\n backgroundColor: tokens.colors.divider,\n transition: 'width 120ms ease, background-color 120ms ease',\n selectors: {\n [`${handle}:hover &, ${handle}:focus-visible &`]: {\n width: 3,\n backgroundColor: tokens.colors.primary,\n },\n },\n '@media': {\n [breakpoints.motion]: { transition: 'none' },\n },\n});\n"],"mappings":""}
1
+ {"version":3,"file":"SplitLayout.vanilla.css.js","names":[],"sources":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"Table.vanilla.css.cjs","names":["_7a468"],"sources":["../../../components/Table/Table.vanilla.css.ts"],"sourcesContent":["import { globalStyle, style } from '@vanilla-extract/css';\nimport { recipe } from '@vanilla-extract/recipes';\n\nimport {\n colorVariants,\n gradientVariants,\n noWrapVariants,\n sizeVariants,\n transformVariants,\n weightVariants,\n} from '../../styles/textVariants.css';\nimport { tokens } from '../../styles/tokens.css';\nimport { elevationVariants } from '../Elevation/Elevation.vanilla.css';\nimport { ROW_LINK_CONTROL_Z_INDEX } from '../RowLink/RowLink.constants';\n\nconst rowBorder = `1px solid ${tokens.colors.tableRowBorder}`;\n\nconst alignVariants = {\n start: { textAlign: 'start' },\n center: { textAlign: 'center' },\n end: { textAlign: 'end' },\n} as const;\n\nconst textVariants = {\n size: sizeVariants,\n weight: weightVariants,\n variant: colorVariants,\n gradient: gradientVariants,\n noWrap: noWrapVariants,\n} as const;\n\nconst layer = (backgroundColor: string, borderRadius: Record<string, string>) =>\n ({\n pointerEvents: 'none',\n content: '\"\"',\n position: 'absolute',\n inset: 0,\n backgroundColor,\n ...borderRadius,\n }) as const;\n\nexport const table = style({\n width: '100%',\n tableLayout: 'fixed',\n boxSizing: 'border-box',\n borderCollapse: 'separate',\n borderSpacing: 0,\n fontFamily: tokens.fonts.rubik,\n color: tokens.colors.tableText,\n borderRadius: tokens.radii['3'],\n overflow: 'hidden',\n});\n\nexport const tableRecipe = recipe({\n base: table,\n variants: {\n elevation: elevationVariants,\n },\n defaultVariants: {\n elevation: 1,\n },\n});\n\nconst captionBase = style({\n lineHeight: '1.25',\n margin: '0',\n fontFamily: tokens.fonts.rubik,\n fontVariantNumeric: 'proportional-nums',\n display: 'table-caption',\n textAlign: 'start',\n fontWeight: tokens.fontWeights.medium,\n});\n\nexport const captionRecipe = recipe({\n base: captionBase,\n variants: {\n ...textVariants,\n transform: transformVariants,\n },\n defaultVariants: {\n size: '3',\n variant: 'default',\n },\n});\n\nexport const tbody = style({\n width: '100%',\n verticalAlign: 'middle',\n});\n\nexport const thead = style({\n position: 'relative',\n borderTopLeftRadius: 'inherit',\n borderTopRightRadius: 'inherit',\n verticalAlign: 'middle',\n\n '::after': layer(tokens.colors.tableHeaderLayerBackground, {\n borderTopLeftRadius: 'inherit',\n borderTopRightRadius: 'inherit',\n }),\n});\n\nexport const tfoot = style({\n verticalAlign: 'middle',\n position: 'relative',\n borderRadius: 'inherit',\n\n '::after': layer(tokens.colors.tableFooterLayerBackground, { borderRadius: 'inherit' }),\n\n selectors: {\n [`${table} ${tbody}:not(:empty) ~ &, ${table} ${thead}:not(:empty) ~ &`]: {\n borderTopLeftRadius: '0',\n borderTopRightRadius: '0',\n },\n },\n});\n\nconst tr = style({\n verticalAlign: 'inherit',\n selectors: {\n '&:hover': {\n color: tokens.colors.tableHoverText,\n },\n },\n});\n\nexport const trRecipe = recipe({\n base: tr,\n variants: {\n interactive: {\n true: {\n selectors: {\n '&:hover': {\n backgroundColor: tokens.colors.tableHoverBackground,\n cursor: 'pointer',\n },\n },\n },\n },\n active: {\n true: {\n backgroundColor: tokens.colors.tableHoverBackground,\n color: tokens.colors.tableActiveText,\n fontWeight: tokens.fontWeights.semiBold,\n },\n },\n },\n compoundVariants: [\n {\n variants: { interactive: true, active: true },\n style: {\n selectors: {\n '&:hover': {\n color: tokens.colors.tableActiveHoverText,\n },\n },\n },\n },\n ],\n});\n\n// Text and Label base styles, then the header cell's own.\nconst th = style({\n margin: '0',\n fontFamily: tokens.fonts.rubik,\n fontVariantNumeric: 'tabular-nums',\n cursor: 'default',\n fontWeight: tokens.fontWeights.medium,\n lineHeight: '2.18',\n\n display: 'table-cell',\n verticalAlign: 'inherit',\n borderTopLeftRadius: 'inherit',\n borderTopRightRadius: 'inherit',\n textAlign: 'start',\n padding: `${tokens.space['2']} ${tokens.space['3']}`,\n borderBottom: rowBorder,\n\n selectors: {\n [`${thead} &`]: {\n fontSize: tokens.fontSizes['1'],\n color: tokens.colors.tableHeaderText,\n fontWeight: tokens.fontWeights.light,\n },\n },\n});\n\nexport const thRecipe = recipe({\n base: th,\n variants: {\n ...textVariants,\n transform: {\n ...transformVariants,\n // Label's capitalize sets inline-block; a cell must stay a cell.\n capitalize: { ...transformVariants.capitalize, display: 'table-cell' },\n },\n align: alignVariants,\n },\n defaultVariants: {\n size: '0',\n variant: 'subtle',\n transform: 'capitalize',\n align: 'start',\n },\n});\n\nexport const sortButton = style({\n all: 'unset',\n display: 'inline-flex',\n alignItems: 'center',\n gap: tokens.space['2'],\n borderRadius: tokens.radii['1'],\n cursor: 'pointer',\n selectors: {\n '&:hover': {\n color: tokens.colors.hiContrast,\n },\n '&:focus-visible': {\n outlineWidth: '2px',\n outlineStyle: 'solid',\n outlineColor: tokens.colors.focusOutline,\n outlineOffset: '2px',\n },\n },\n});\n\nexport const sortIcon = style({\n flexShrink: 0,\n});\n\nglobalStyle(`${sortIcon} > path`, {\n opacity: 0.4,\n});\n\nexport const sortIconActive = style({\n selectors: {\n [`${sortIcon} > &`]: {\n opacity: 1,\n },\n },\n});\n\nexport const emptyHeaderCell = style({\n width: 24,\n});\n\nconst td = style({\n boxSizing: 'border-box',\n padding: `${tokens.space['5']} ${tokens.space['3']}`,\n borderBottom: rowBorder,\n fontSize: tokens.fontSizes['3'],\n lineHeight: '16px',\n verticalAlign: 'inherit',\n\n selectors: {\n [`${tr}:last-child > &`]: {\n borderBottom: 'none',\n },\n // A closed collapsible row is followed only by its hidden content row.\n [`${tr}[data-collapsed]:nth-last-child(2) > &`]: {\n borderBottom: 'none',\n },\n [`${tfoot} &`]: {\n fontSize: tokens.fontSizes['1'],\n color: tokens.colors.tableHeaderText,\n fontWeight: tokens.fontWeights.light,\n padding: `${tokens.space['2']} ${tokens.space['3']}`,\n },\n [`${table} ${tbody}:not(:empty) ~ ${tfoot} &`]: {\n borderTop: rowBorder,\n },\n },\n});\n\nexport const tdRecipe = recipe({\n base: td,\n variants: {\n subtle: {\n true: {\n fontWeight: tokens.fontWeights.regular,\n color: tokens.colors.tableSubtleText,\n },\n },\n align: alignVariants,\n },\n defaultVariants: {\n align: 'start',\n },\n});\n\nexport const toggleCell = style({\n selectors: {\n '&&': {\n padding: `0 0 0 ${tokens.space['3']}`,\n },\n },\n});\n\nexport const toggle = style({\n boxSizing: 'border-box',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n position: 'relative',\n zIndex: ROW_LINK_CONTROL_Z_INDEX,\n height: '40px',\n ':hover': {\n color: tokens.colors.tableActiveText,\n },\n});\n\nexport const expandButton = style({\n all: 'unset',\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n width: '100%',\n height: '100%',\n borderRadius: tokens.radii['1'],\n cursor: 'pointer',\n selectors: {\n '&:focus-visible': {\n outlineWidth: '2px',\n outlineStyle: 'solid',\n outlineColor: tokens.colors.focusOutline,\n outlineOffset: '2px',\n },\n },\n});\n\nexport const chevron = style({\n transition: 'transform 0.2s ease-out',\n selectors: {\n [`${expandButton}[aria-expanded=\"true\"] > &`]: {\n transform: 'rotate(90deg)',\n },\n },\n});\n\n// Visibility switches after the collapse animation, so closed content leaves the tab order.\nexport const collapsedCell = style({\n transition: 'padding 0.2s ease-out, visibility 0s',\n selectors: {\n '&&[data-closed]': {\n transition: 'padding 0.2s ease-out, visibility 0s 0.2s',\n visibility: 'hidden',\n lineHeight: 0,\n fontSize: 0,\n padding: `0px ${tokens.space['3']}`,\n border: 'none',\n },\n },\n});\n\nexport const collapsedContent = style({\n boxSizing: 'border-box',\n transition: 'all 0.2s ease-out',\n selectors: {\n [`${collapsedCell}[data-closed] > &`]: {\n height: 0,\n overflow: 'hidden',\n },\n },\n});\n"],"mappings":""}
1
+ {"version":3,"file":"Table.vanilla.css.cjs","names":[],"sources":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"Table.vanilla.css.js","names":["_7a468"],"sources":["../../../components/Table/Table.vanilla.css.ts"],"sourcesContent":["import { globalStyle, style } from '@vanilla-extract/css';\nimport { recipe } from '@vanilla-extract/recipes';\n\nimport {\n colorVariants,\n gradientVariants,\n noWrapVariants,\n sizeVariants,\n transformVariants,\n weightVariants,\n} from '../../styles/textVariants.css';\nimport { tokens } from '../../styles/tokens.css';\nimport { elevationVariants } from '../Elevation/Elevation.vanilla.css';\nimport { ROW_LINK_CONTROL_Z_INDEX } from '../RowLink/RowLink.constants';\n\nconst rowBorder = `1px solid ${tokens.colors.tableRowBorder}`;\n\nconst alignVariants = {\n start: { textAlign: 'start' },\n center: { textAlign: 'center' },\n end: { textAlign: 'end' },\n} as const;\n\nconst textVariants = {\n size: sizeVariants,\n weight: weightVariants,\n variant: colorVariants,\n gradient: gradientVariants,\n noWrap: noWrapVariants,\n} as const;\n\nconst layer = (backgroundColor: string, borderRadius: Record<string, string>) =>\n ({\n pointerEvents: 'none',\n content: '\"\"',\n position: 'absolute',\n inset: 0,\n backgroundColor,\n ...borderRadius,\n }) as const;\n\nexport const table = style({\n width: '100%',\n tableLayout: 'fixed',\n boxSizing: 'border-box',\n borderCollapse: 'separate',\n borderSpacing: 0,\n fontFamily: tokens.fonts.rubik,\n color: tokens.colors.tableText,\n borderRadius: tokens.radii['3'],\n overflow: 'hidden',\n});\n\nexport const tableRecipe = recipe({\n base: table,\n variants: {\n elevation: elevationVariants,\n },\n defaultVariants: {\n elevation: 1,\n },\n});\n\nconst captionBase = style({\n lineHeight: '1.25',\n margin: '0',\n fontFamily: tokens.fonts.rubik,\n fontVariantNumeric: 'proportional-nums',\n display: 'table-caption',\n textAlign: 'start',\n fontWeight: tokens.fontWeights.medium,\n});\n\nexport const captionRecipe = recipe({\n base: captionBase,\n variants: {\n ...textVariants,\n transform: transformVariants,\n },\n defaultVariants: {\n size: '3',\n variant: 'default',\n },\n});\n\nexport const tbody = style({\n width: '100%',\n verticalAlign: 'middle',\n});\n\nexport const thead = style({\n position: 'relative',\n borderTopLeftRadius: 'inherit',\n borderTopRightRadius: 'inherit',\n verticalAlign: 'middle',\n\n '::after': layer(tokens.colors.tableHeaderLayerBackground, {\n borderTopLeftRadius: 'inherit',\n borderTopRightRadius: 'inherit',\n }),\n});\n\nexport const tfoot = style({\n verticalAlign: 'middle',\n position: 'relative',\n borderRadius: 'inherit',\n\n '::after': layer(tokens.colors.tableFooterLayerBackground, { borderRadius: 'inherit' }),\n\n selectors: {\n [`${table} ${tbody}:not(:empty) ~ &, ${table} ${thead}:not(:empty) ~ &`]: {\n borderTopLeftRadius: '0',\n borderTopRightRadius: '0',\n },\n },\n});\n\nconst tr = style({\n verticalAlign: 'inherit',\n selectors: {\n '&:hover': {\n color: tokens.colors.tableHoverText,\n },\n },\n});\n\nexport const trRecipe = recipe({\n base: tr,\n variants: {\n interactive: {\n true: {\n selectors: {\n '&:hover': {\n backgroundColor: tokens.colors.tableHoverBackground,\n cursor: 'pointer',\n },\n },\n },\n },\n active: {\n true: {\n backgroundColor: tokens.colors.tableHoverBackground,\n color: tokens.colors.tableActiveText,\n fontWeight: tokens.fontWeights.semiBold,\n },\n },\n },\n compoundVariants: [\n {\n variants: { interactive: true, active: true },\n style: {\n selectors: {\n '&:hover': {\n color: tokens.colors.tableActiveHoverText,\n },\n },\n },\n },\n ],\n});\n\n// Text and Label base styles, then the header cell's own.\nconst th = style({\n margin: '0',\n fontFamily: tokens.fonts.rubik,\n fontVariantNumeric: 'tabular-nums',\n cursor: 'default',\n fontWeight: tokens.fontWeights.medium,\n lineHeight: '2.18',\n\n display: 'table-cell',\n verticalAlign: 'inherit',\n borderTopLeftRadius: 'inherit',\n borderTopRightRadius: 'inherit',\n textAlign: 'start',\n padding: `${tokens.space['2']} ${tokens.space['3']}`,\n borderBottom: rowBorder,\n\n selectors: {\n [`${thead} &`]: {\n fontSize: tokens.fontSizes['1'],\n color: tokens.colors.tableHeaderText,\n fontWeight: tokens.fontWeights.light,\n },\n },\n});\n\nexport const thRecipe = recipe({\n base: th,\n variants: {\n ...textVariants,\n transform: {\n ...transformVariants,\n // Label's capitalize sets inline-block; a cell must stay a cell.\n capitalize: { ...transformVariants.capitalize, display: 'table-cell' },\n },\n align: alignVariants,\n },\n defaultVariants: {\n size: '0',\n variant: 'subtle',\n transform: 'capitalize',\n align: 'start',\n },\n});\n\nexport const sortButton = style({\n all: 'unset',\n display: 'inline-flex',\n alignItems: 'center',\n gap: tokens.space['2'],\n borderRadius: tokens.radii['1'],\n cursor: 'pointer',\n selectors: {\n '&:hover': {\n color: tokens.colors.hiContrast,\n },\n '&:focus-visible': {\n outlineWidth: '2px',\n outlineStyle: 'solid',\n outlineColor: tokens.colors.focusOutline,\n outlineOffset: '2px',\n },\n },\n});\n\nexport const sortIcon = style({\n flexShrink: 0,\n});\n\nglobalStyle(`${sortIcon} > path`, {\n opacity: 0.4,\n});\n\nexport const sortIconActive = style({\n selectors: {\n [`${sortIcon} > &`]: {\n opacity: 1,\n },\n },\n});\n\nexport const emptyHeaderCell = style({\n width: 24,\n});\n\nconst td = style({\n boxSizing: 'border-box',\n padding: `${tokens.space['5']} ${tokens.space['3']}`,\n borderBottom: rowBorder,\n fontSize: tokens.fontSizes['3'],\n lineHeight: '16px',\n verticalAlign: 'inherit',\n\n selectors: {\n [`${tr}:last-child > &`]: {\n borderBottom: 'none',\n },\n // A closed collapsible row is followed only by its hidden content row.\n [`${tr}[data-collapsed]:nth-last-child(2) > &`]: {\n borderBottom: 'none',\n },\n [`${tfoot} &`]: {\n fontSize: tokens.fontSizes['1'],\n color: tokens.colors.tableHeaderText,\n fontWeight: tokens.fontWeights.light,\n padding: `${tokens.space['2']} ${tokens.space['3']}`,\n },\n [`${table} ${tbody}:not(:empty) ~ ${tfoot} &`]: {\n borderTop: rowBorder,\n },\n },\n});\n\nexport const tdRecipe = recipe({\n base: td,\n variants: {\n subtle: {\n true: {\n fontWeight: tokens.fontWeights.regular,\n color: tokens.colors.tableSubtleText,\n },\n },\n align: alignVariants,\n },\n defaultVariants: {\n align: 'start',\n },\n});\n\nexport const toggleCell = style({\n selectors: {\n '&&': {\n padding: `0 0 0 ${tokens.space['3']}`,\n },\n },\n});\n\nexport const toggle = style({\n boxSizing: 'border-box',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n position: 'relative',\n zIndex: ROW_LINK_CONTROL_Z_INDEX,\n height: '40px',\n ':hover': {\n color: tokens.colors.tableActiveText,\n },\n});\n\nexport const expandButton = style({\n all: 'unset',\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n width: '100%',\n height: '100%',\n borderRadius: tokens.radii['1'],\n cursor: 'pointer',\n selectors: {\n '&:focus-visible': {\n outlineWidth: '2px',\n outlineStyle: 'solid',\n outlineColor: tokens.colors.focusOutline,\n outlineOffset: '2px',\n },\n },\n});\n\nexport const chevron = style({\n transition: 'transform 0.2s ease-out',\n selectors: {\n [`${expandButton}[aria-expanded=\"true\"] > &`]: {\n transform: 'rotate(90deg)',\n },\n },\n});\n\n// Visibility switches after the collapse animation, so closed content leaves the tab order.\nexport const collapsedCell = style({\n transition: 'padding 0.2s ease-out, visibility 0s',\n selectors: {\n '&&[data-closed]': {\n transition: 'padding 0.2s ease-out, visibility 0s 0.2s',\n visibility: 'hidden',\n lineHeight: 0,\n fontSize: 0,\n padding: `0px ${tokens.space['3']}`,\n border: 'none',\n },\n },\n});\n\nexport const collapsedContent = style({\n boxSizing: 'border-box',\n transition: 'all 0.2s ease-out',\n selectors: {\n [`${collapsedCell}[data-closed] > &`]: {\n height: 0,\n overflow: 'hidden',\n },\n },\n});\n"],"mappings":""}
1
+ {"version":3,"file":"Table.vanilla.css.js","names":[],"sources":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"Text.vanilla.css.cjs","names":["_7a468"],"sources":["../../../components/Text/Text.vanilla.css.ts"],"sourcesContent":["import { style } from '@vanilla-extract/css';\nimport { recipe } from '@vanilla-extract/recipes';\n\nimport { tokens } from '../../styles';\nimport {\n colorVariants,\n gradientVariants,\n noWrapVariants,\n sizeVariants,\n transformVariants,\n weightVariants,\n} from '../../styles/textVariants.css';\n\nconst text = style({\n lineHeight: '1',\n margin: '0',\n fontFamily: tokens.fonts.rubik,\n fontVariantNumeric: 'tabular-nums',\n display: 'inline-block',\n});\n\nexport const textRecipe = recipe({\n base: text,\n\n variants: {\n size: sizeVariants,\n weight: weightVariants,\n variant: colorVariants,\n gradient: gradientVariants,\n transform: transformVariants,\n noWrap: noWrapVariants,\n },\n\n defaultVariants: {\n size: '3',\n variant: 'default',\n },\n});\n"],"mappings":""}
1
+ {"version":3,"file":"Text.vanilla.css.cjs","names":[],"sources":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"Text.vanilla.css.js","names":["_7a468"],"sources":["../../../components/Text/Text.vanilla.css.ts"],"sourcesContent":["import { style } from '@vanilla-extract/css';\nimport { recipe } from '@vanilla-extract/recipes';\n\nimport { tokens } from '../../styles';\nimport {\n colorVariants,\n gradientVariants,\n noWrapVariants,\n sizeVariants,\n transformVariants,\n weightVariants,\n} from '../../styles/textVariants.css';\n\nconst text = style({\n lineHeight: '1',\n margin: '0',\n fontFamily: tokens.fonts.rubik,\n fontVariantNumeric: 'tabular-nums',\n display: 'inline-block',\n});\n\nexport const textRecipe = recipe({\n base: text,\n\n variants: {\n size: sizeVariants,\n weight: weightVariants,\n variant: colorVariants,\n gradient: gradientVariants,\n transform: transformVariants,\n noWrap: noWrapVariants,\n },\n\n defaultVariants: {\n size: '3',\n variant: 'default',\n },\n});\n"],"mappings":""}
1
+ {"version":3,"file":"Text.vanilla.css.js","names":[],"sources":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"TextField.vanilla.css.cjs","names":[],"sources":["../../../components/TextField/TextField.vanilla.css.ts"],"sourcesContent":["import { globalStyle, style } from '@vanilla-extract/css';\n\nimport { tokens } from '../../styles/tokens.css';\n\nexport const adornmentGroup = style({\n display: 'flex',\n flexDirection: 'row',\n alignItems: 'center',\n});\n\nexport const invalidIcon = style({});\n\nglobalStyle(`${invalidIcon} + *`, {\n marginLeft: tokens.space['1'],\n});\n\nexport const adornmentButton = style({\n appearance: 'none',\n background: 'none',\n border: 'none',\n padding: 0,\n font: 'inherit',\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n borderRadius: tokens.radii['1'],\n color: 'inherit',\n cursor: 'pointer',\n selectors: {\n '&:focus-visible': {\n outline: `2px solid ${tokens.colors.inputFocusBorder}`,\n outlineOffset: '1px',\n },\n },\n});\n"],"mappings":""}
1
+ {"version":3,"file":"TextField.vanilla.css.cjs","names":[],"sources":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"TextField.vanilla.css.js","names":[],"sources":["../../../components/TextField/TextField.vanilla.css.ts"],"sourcesContent":["import { globalStyle, style } from '@vanilla-extract/css';\n\nimport { tokens } from '../../styles/tokens.css';\n\nexport const adornmentGroup = style({\n display: 'flex',\n flexDirection: 'row',\n alignItems: 'center',\n});\n\nexport const invalidIcon = style({});\n\nglobalStyle(`${invalidIcon} + *`, {\n marginLeft: tokens.space['1'],\n});\n\nexport const adornmentButton = style({\n appearance: 'none',\n background: 'none',\n border: 'none',\n padding: 0,\n font: 'inherit',\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n borderRadius: tokens.radii['1'],\n color: 'inherit',\n cursor: 'pointer',\n selectors: {\n '&:focus-visible': {\n outline: `2px solid ${tokens.colors.inputFocusBorder}`,\n outlineOffset: '1px',\n },\n },\n});\n"],"mappings":""}
1
+ {"version":3,"file":"TextField.vanilla.css.js","names":[],"sources":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"Textarea.vanilla.css.cjs","names":["_7a468"],"sources":["../../../components/Textarea/Textarea.vanilla.css.ts"],"sourcesContent":["import { style } from '@vanilla-extract/css';\nimport { recipe } from '@vanilla-extract/recipes';\n\nimport { breakpoints } from '../../styles/breakpoints.css';\nimport { tokens } from '../../styles/tokens.css';\n\n// CONSTANTS\nconst FOCUS_SHADOW =\n '0 1px 5px 0 hsla(0, 0%, 0%, 0.2), 0 3px 1px -2px hsla(0, 0%, 0%, 0.12), 0 2px 2px 0 hsla(0, 0%, 0%, 0.14)';\n\nconst styledTextareaBase = style({\n // Reset\n appearance: 'none',\n overflow: 'auto',\n borderWidth: '0',\n boxSizing: 'border-box',\n fontFamily: tokens.fonts.rubik,\n margin: '0',\n outline: 'none',\n WebkitTapHighlightColor: 'rgba(0,0,0,0)',\n\n // Custom\n padding: tokens.space['3'],\n position: 'relative',\n flexGrow: 1,\n backgroundColor: 'transparent',\n borderRadius: 'inherit',\n boxShadow: `inset 0 0 0 1px ${tokens.colors.textareaBorder}`,\n color: tokens.colors.textareaText,\n fontVariantNumeric: 'tabular-nums',\n transition: 'box-shadow .1s ease-in-out',\n\n selectors: {\n '&:-webkit-autofill, &:autofill': {\n boxShadow: `inset 0 0 0 1px ${tokens.colors.textareaBorder}, inset 0 0 0 100px ${tokens.colors.textareaBg}`,\n WebkitTextFillColor: tokens.colors.hiContrast,\n },\n '&:-webkit-autofill::first-line, &:autofill::first-line': {\n fontFamily: tokens.fonts.rubik,\n color: tokens.colors.hiContrast,\n },\n '&:focus-visible': {\n boxShadow: `inset 0 0 0 2px ${tokens.colors.textareaFocusBorder}, ${FOCUS_SHADOW}`,\n },\n '&:-webkit-autofill:focus-visible, &:autofill:focus-visible': {\n boxShadow: `inset 0 0 0 2px ${tokens.colors.textareaFocusBorder}, inset 0 0 0 100px ${tokens.colors.textareaBg}, ${FOCUS_SHADOW}`,\n },\n '&::placeholder': {\n color: tokens.colors.textareaPlaceholder,\n },\n '&:read-only:not(:disabled)': {\n boxShadow: 'none',\n },\n '&:disabled': {\n pointerEvents: 'none',\n opacity: '0.7',\n color: tokens.colors.textareaDisabledText,\n },\n },\n});\n\nexport const styledTextareaRecipe = recipe({\n base: styledTextareaBase,\n variants: {\n variant: {\n ghost: {\n boxShadow: 'none',\n backgroundColor: 'transparent',\n selectors: {\n '&:disabled': {\n boxShadow: 'none',\n },\n '&:focus-visible': {\n backgroundColor: tokens.colors.loContrast,\n },\n },\n },\n },\n state: {\n invalid: {\n boxShadow: `inset 0 0 0 1px ${tokens.colors.textareaInvalidBorder}`,\n selectors: {\n '&:-webkit-autofill, &:autofill': {\n boxShadow: `inset 0 0 0 1px ${tokens.colors.textareaInvalidBorder}, inset 0 0 0 100px ${tokens.colors.textareaBg}`,\n },\n '&:focus-visible': {\n boxShadow: `inset 0 0 0 2px ${tokens.colors.textareaInvalidBorder}, ${FOCUS_SHADOW}`,\n },\n '&:-webkit-autofill:focus-visible, &:autofill:focus-visible': {\n boxShadow: `inset 0 0 0 2px ${tokens.colors.textareaInvalidBorder}, inset 0 0 0 100px ${tokens.colors.textareaBg}, ${FOCUS_SHADOW}`,\n },\n },\n '@media': {\n [breakpoints.hover]: {\n selectors: {\n '&:hover::after': {\n backgroundColor: tokens.colors.textareaInvalidBorder,\n },\n },\n },\n },\n },\n },\n cursor: {\n default: {\n cursor: 'default',\n '@media': {\n [breakpoints.hover]: {\n selectors: {\n '&:hover:not(:read-only)': {\n cursor: 'text',\n },\n },\n },\n },\n selectors: {\n '&:focus-visible:not(:read-only)': {\n cursor: 'text',\n },\n },\n },\n text: {\n cursor: 'text',\n },\n },\n resize: {\n none: {\n resize: 'none',\n },\n both: {\n resize: 'both',\n },\n vertical: {\n resize: 'vertical',\n },\n horizontal: {\n resize: 'horizontal',\n },\n },\n endAdornment: {\n true: {\n paddingBottom: tokens.space['5'],\n paddingRight: tokens.space['5'],\n },\n },\n },\n compoundVariants: [\n {\n variants: {\n variant: 'ghost',\n state: 'invalid',\n },\n style: {\n boxShadow: `inset 0 0 0 1px ${tokens.colors.textareaInvalidBorder}`,\n },\n },\n ],\n defaultVariants: {\n cursor: 'default',\n resize: 'both',\n },\n});\n\nconst textareaWrapperBase = style({\n // Reset\n outline: 'none',\n lineHeight: 0,\n\n position: 'relative',\n display: 'inline-flex',\n backgroundColor: tokens.colors.textareaBg,\n color: tokens.colors.textareaPlaceholder,\n borderRadius: tokens.radii['3'],\n\n selectors: {\n '&::before': {\n boxSizing: 'border-box',\n borderRadius: 'inherit',\n content: '\"\"',\n position: 'absolute',\n inset: '0',\n pointerEvents: 'none',\n },\n '&::after': {\n boxSizing: 'border-box',\n borderRadius: 'inherit',\n content: '\"\"',\n position: 'absolute',\n inset: '0',\n pointerEvents: 'none',\n },\n '&:focus-visible::before': {\n backgroundColor: tokens.colors.textareaFocusBg,\n },\n '&:focus-visible::after': {\n backgroundColor: tokens.colors.primary,\n opacity: '0.15',\n },\n },\n '@media': {\n [breakpoints.hover]: {\n selectors: {\n '&:hover::before': {\n backgroundColor: tokens.colors.textareaHoverBg,\n },\n '&:hover::after': {\n backgroundColor: tokens.colors.primary,\n opacity: '0.05',\n },\n },\n },\n },\n});\n\nexport const textareaWrapperRecipe = recipe({\n base: textareaWrapperBase,\n variants: {\n disabled: {\n true: {\n opacity: '0.7',\n color: tokens.colors.textareaDisabledText,\n '@media': {\n [breakpoints.hover]: {\n selectors: {\n '&:hover::before': {\n backgroundColor: 'inherit',\n },\n '&:hover::after': {\n backgroundColor: 'inherit',\n },\n },\n },\n },\n },\n },\n state: {\n invalid: {\n '@media': {\n [breakpoints.hover]: {\n selectors: {\n '&:hover::after': {\n backgroundColor: tokens.colors.textareaInvalidBorder,\n },\n },\n },\n },\n },\n },\n },\n defaultVariants: {\n disabled: false,\n },\n});\n\nexport const adornmentWrapperEnd = style({\n position: 'absolute',\n bottom: tokens.space['2'],\n right: tokens.space['3'],\n minWidth: tokens.sizes['5'],\n minHeight: tokens.sizes['5'],\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n});\n"],"mappings":""}
1
+ {"version":3,"file":"Textarea.vanilla.css.cjs","names":[],"sources":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"Textarea.vanilla.css.js","names":["_7a468"],"sources":["../../../components/Textarea/Textarea.vanilla.css.ts"],"sourcesContent":["import { style } from '@vanilla-extract/css';\nimport { recipe } from '@vanilla-extract/recipes';\n\nimport { breakpoints } from '../../styles/breakpoints.css';\nimport { tokens } from '../../styles/tokens.css';\n\n// CONSTANTS\nconst FOCUS_SHADOW =\n '0 1px 5px 0 hsla(0, 0%, 0%, 0.2), 0 3px 1px -2px hsla(0, 0%, 0%, 0.12), 0 2px 2px 0 hsla(0, 0%, 0%, 0.14)';\n\nconst styledTextareaBase = style({\n // Reset\n appearance: 'none',\n overflow: 'auto',\n borderWidth: '0',\n boxSizing: 'border-box',\n fontFamily: tokens.fonts.rubik,\n margin: '0',\n outline: 'none',\n WebkitTapHighlightColor: 'rgba(0,0,0,0)',\n\n // Custom\n padding: tokens.space['3'],\n position: 'relative',\n flexGrow: 1,\n backgroundColor: 'transparent',\n borderRadius: 'inherit',\n boxShadow: `inset 0 0 0 1px ${tokens.colors.textareaBorder}`,\n color: tokens.colors.textareaText,\n fontVariantNumeric: 'tabular-nums',\n transition: 'box-shadow .1s ease-in-out',\n\n selectors: {\n '&:-webkit-autofill, &:autofill': {\n boxShadow: `inset 0 0 0 1px ${tokens.colors.textareaBorder}, inset 0 0 0 100px ${tokens.colors.textareaBg}`,\n WebkitTextFillColor: tokens.colors.hiContrast,\n },\n '&:-webkit-autofill::first-line, &:autofill::first-line': {\n fontFamily: tokens.fonts.rubik,\n color: tokens.colors.hiContrast,\n },\n '&:focus-visible': {\n boxShadow: `inset 0 0 0 2px ${tokens.colors.textareaFocusBorder}, ${FOCUS_SHADOW}`,\n },\n '&:-webkit-autofill:focus-visible, &:autofill:focus-visible': {\n boxShadow: `inset 0 0 0 2px ${tokens.colors.textareaFocusBorder}, inset 0 0 0 100px ${tokens.colors.textareaBg}, ${FOCUS_SHADOW}`,\n },\n '&::placeholder': {\n color: tokens.colors.textareaPlaceholder,\n },\n '&:read-only:not(:disabled)': {\n boxShadow: 'none',\n },\n '&:disabled': {\n pointerEvents: 'none',\n opacity: '0.7',\n color: tokens.colors.textareaDisabledText,\n },\n },\n});\n\nexport const styledTextareaRecipe = recipe({\n base: styledTextareaBase,\n variants: {\n variant: {\n ghost: {\n boxShadow: 'none',\n backgroundColor: 'transparent',\n selectors: {\n '&:disabled': {\n boxShadow: 'none',\n },\n '&:focus-visible': {\n backgroundColor: tokens.colors.loContrast,\n },\n },\n },\n },\n state: {\n invalid: {\n boxShadow: `inset 0 0 0 1px ${tokens.colors.textareaInvalidBorder}`,\n selectors: {\n '&:-webkit-autofill, &:autofill': {\n boxShadow: `inset 0 0 0 1px ${tokens.colors.textareaInvalidBorder}, inset 0 0 0 100px ${tokens.colors.textareaBg}`,\n },\n '&:focus-visible': {\n boxShadow: `inset 0 0 0 2px ${tokens.colors.textareaInvalidBorder}, ${FOCUS_SHADOW}`,\n },\n '&:-webkit-autofill:focus-visible, &:autofill:focus-visible': {\n boxShadow: `inset 0 0 0 2px ${tokens.colors.textareaInvalidBorder}, inset 0 0 0 100px ${tokens.colors.textareaBg}, ${FOCUS_SHADOW}`,\n },\n },\n '@media': {\n [breakpoints.hover]: {\n selectors: {\n '&:hover::after': {\n backgroundColor: tokens.colors.textareaInvalidBorder,\n },\n },\n },\n },\n },\n },\n cursor: {\n default: {\n cursor: 'default',\n '@media': {\n [breakpoints.hover]: {\n selectors: {\n '&:hover:not(:read-only)': {\n cursor: 'text',\n },\n },\n },\n },\n selectors: {\n '&:focus-visible:not(:read-only)': {\n cursor: 'text',\n },\n },\n },\n text: {\n cursor: 'text',\n },\n },\n resize: {\n none: {\n resize: 'none',\n },\n both: {\n resize: 'both',\n },\n vertical: {\n resize: 'vertical',\n },\n horizontal: {\n resize: 'horizontal',\n },\n },\n endAdornment: {\n true: {\n paddingBottom: tokens.space['5'],\n paddingRight: tokens.space['5'],\n },\n },\n },\n compoundVariants: [\n {\n variants: {\n variant: 'ghost',\n state: 'invalid',\n },\n style: {\n boxShadow: `inset 0 0 0 1px ${tokens.colors.textareaInvalidBorder}`,\n },\n },\n ],\n defaultVariants: {\n cursor: 'default',\n resize: 'both',\n },\n});\n\nconst textareaWrapperBase = style({\n // Reset\n outline: 'none',\n lineHeight: 0,\n\n position: 'relative',\n display: 'inline-flex',\n backgroundColor: tokens.colors.textareaBg,\n color: tokens.colors.textareaPlaceholder,\n borderRadius: tokens.radii['3'],\n\n selectors: {\n '&::before': {\n boxSizing: 'border-box',\n borderRadius: 'inherit',\n content: '\"\"',\n position: 'absolute',\n inset: '0',\n pointerEvents: 'none',\n },\n '&::after': {\n boxSizing: 'border-box',\n borderRadius: 'inherit',\n content: '\"\"',\n position: 'absolute',\n inset: '0',\n pointerEvents: 'none',\n },\n '&:focus-visible::before': {\n backgroundColor: tokens.colors.textareaFocusBg,\n },\n '&:focus-visible::after': {\n backgroundColor: tokens.colors.primary,\n opacity: '0.15',\n },\n },\n '@media': {\n [breakpoints.hover]: {\n selectors: {\n '&:hover::before': {\n backgroundColor: tokens.colors.textareaHoverBg,\n },\n '&:hover::after': {\n backgroundColor: tokens.colors.primary,\n opacity: '0.05',\n },\n },\n },\n },\n});\n\nexport const textareaWrapperRecipe = recipe({\n base: textareaWrapperBase,\n variants: {\n disabled: {\n true: {\n opacity: '0.7',\n color: tokens.colors.textareaDisabledText,\n '@media': {\n [breakpoints.hover]: {\n selectors: {\n '&:hover::before': {\n backgroundColor: 'inherit',\n },\n '&:hover::after': {\n backgroundColor: 'inherit',\n },\n },\n },\n },\n },\n },\n state: {\n invalid: {\n '@media': {\n [breakpoints.hover]: {\n selectors: {\n '&:hover::after': {\n backgroundColor: tokens.colors.textareaInvalidBorder,\n },\n },\n },\n },\n },\n },\n },\n defaultVariants: {\n disabled: false,\n },\n});\n\nexport const adornmentWrapperEnd = style({\n position: 'absolute',\n bottom: tokens.space['2'],\n right: tokens.space['3'],\n minWidth: tokens.sizes['5'],\n minHeight: tokens.sizes['5'],\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n});\n"],"mappings":""}
1
+ {"version":3,"file":"Textarea.vanilla.css.js","names":[],"sources":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"Toast.vanilla.css.cjs","names":["_7a468"],"sources":["../../../components/Toast/Toast.vanilla.css.ts"],"sourcesContent":["import { createVar, keyframes, style } from '@vanilla-extract/css';\nimport { recipe, RecipeVariants } from '@vanilla-extract/recipes';\n\nimport { breakpoints } from '../../styles/breakpoints.css';\nimport { tokens } from '../../styles/tokens.css';\n\nconst enterX = createVar();\nconst enterY = createVar();\n\nconst slideIn = keyframes({\n from: { opacity: 0, transform: `translate(${enterX}, ${enterY})` },\n to: { opacity: 1, transform: 'translate(0, 0)' },\n});\n\nconst fadeOut = keyframes({\n from: { opacity: 1 },\n to: { opacity: 0 },\n});\n\nconst swipeOut = keyframes({\n from: {\n transform: 'translate(var(--radix-toast-swipe-end-x), var(--radix-toast-swipe-end-y))',\n },\n to: { transform: `translate(${enterX}, ${enterY})` },\n});\n\nexport const toastViewportRecipe = recipe({\n base: {\n position: 'fixed',\n zIndex: tokens.zIndices.max,\n display: 'flex',\n flexDirection: 'column',\n gap: tokens.space['2'],\n boxSizing: 'border-box',\n width: '380px',\n maxWidth: '100vw',\n margin: 0,\n padding: tokens.space['5'],\n listStyle: 'none',\n outline: 'none',\n pointerEvents: 'none',\n vars: { [enterX]: '0', [enterY]: '0' },\n },\n\n variants: {\n position: {\n 'top-left': { top: 0, left: 0, vars: { [enterX]: '-100%' } },\n 'top-center': {\n top: 0,\n left: '50%',\n transform: 'translateX(-50%)',\n vars: { [enterY]: '-100%' },\n },\n 'top-right': { top: 0, right: 0, vars: { [enterX]: '100%' } },\n 'bottom-left': { bottom: 0, left: 0, vars: { [enterX]: '-100%' } },\n 'bottom-center': {\n bottom: 0,\n left: '50%',\n transform: 'translateX(-50%)',\n vars: { [enterY]: '100%' },\n },\n 'bottom-right': { bottom: 0, right: 0, vars: { [enterX]: '100%' } },\n },\n },\n\n defaultVariants: {\n position: 'bottom-right',\n },\n});\n\nexport type ToastPosition = NonNullable<\n NonNullable<RecipeVariants<typeof toastViewportRecipe>>['position']\n>;\n\nexport const toastRoot = style({\n boxSizing: 'border-box',\n position: 'relative',\n display: 'flex',\n alignItems: 'flex-start',\n gap: tokens.space['2'],\n padding: tokens.space['3'],\n backgroundColor: tokens.colors.cardBackground,\n border: `1px solid ${tokens.colors.toastBorder}`,\n borderRadius: tokens.radii['3'],\n color: tokens.colors.hiContrast,\n fontFamily: tokens.fonts.rubik,\n pointerEvents: 'auto',\n\n selectors: {\n '&:focus-visible': {\n outline: `2px solid ${tokens.colors.focusOutline}`,\n outlineOffset: '2px',\n },\n '&[data-state=\"open\"]': {\n animation: `${slideIn} 200ms cubic-bezier(0.16, 1, 0.3, 1)`,\n },\n '&[data-state=\"closed\"]': {\n animation: `${fadeOut} 150ms ease-in`,\n },\n '&[data-swipe=\"move\"]': {\n transform: 'translate(var(--radix-toast-swipe-move-x), var(--radix-toast-swipe-move-y))',\n },\n '&[data-swipe=\"cancel\"]': {\n transform: 'translate(0, 0)',\n transition: 'transform 200ms ease-out',\n },\n '&[data-swipe=\"end\"]': {\n animation: `${swipeOut} 100ms ease-out`,\n },\n },\n\n '@media': {\n [breakpoints.motion]: {\n selectors: {\n '&[data-state=\"open\"], &[data-state=\"closed\"], &[data-swipe=\"end\"]': {\n animation: 'none',\n },\n '&[data-swipe=\"cancel\"]': {\n transition: 'none',\n },\n },\n },\n },\n});\n\nexport const toastIconRecipe = recipe({\n base: {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n flexShrink: 0,\n width: tokens.sizes['4'],\n height: tokens.sizes['4'],\n },\n\n variants: {\n variant: {\n gray: { color: tokens.colors.toneNeutralText },\n info: { color: tokens.colors.toneInfoSolid },\n success: { color: tokens.colors.toneSuccessSolid },\n warning: { color: tokens.colors.toneWarningSolid },\n error: { color: tokens.colors.toneDangerSolid },\n },\n },\n\n defaultVariants: {\n variant: 'gray',\n },\n});\n\nexport type ToastVariant = NonNullable<\n NonNullable<RecipeVariants<typeof toastIconRecipe>>['variant']\n>;\n\nexport const toastContent = style({\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'flex-start',\n gap: tokens.space['1'],\n flex: 1,\n minWidth: 0,\n});\n\nexport const toastTitle = style({\n margin: 0,\n fontSize: tokens.fontSizes['3'],\n fontWeight: tokens.fontWeights.medium,\n lineHeight: tokens.sizes['4'],\n color: tokens.colors.hiContrast,\n overflowWrap: 'anywhere',\n});\n\nexport const toastDescription = style({\n margin: 0,\n fontSize: tokens.fontSizes['2'],\n lineHeight: tokens.sizes['4'],\n color: tokens.colors.textDefault,\n overflowWrap: 'anywhere',\n});\n\nexport const toastAction = style({\n marginTop: tokens.space['1'],\n});\n\nexport const toastClose = style({\n flexShrink: 0,\n});\n"],"mappings":""}
1
+ {"version":3,"file":"Toast.vanilla.css.cjs","names":[],"sources":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"Toast.vanilla.css.js","names":["_7a468"],"sources":["../../../components/Toast/Toast.vanilla.css.ts"],"sourcesContent":["import { createVar, keyframes, style } from '@vanilla-extract/css';\nimport { recipe, RecipeVariants } from '@vanilla-extract/recipes';\n\nimport { breakpoints } from '../../styles/breakpoints.css';\nimport { tokens } from '../../styles/tokens.css';\n\nconst enterX = createVar();\nconst enterY = createVar();\n\nconst slideIn = keyframes({\n from: { opacity: 0, transform: `translate(${enterX}, ${enterY})` },\n to: { opacity: 1, transform: 'translate(0, 0)' },\n});\n\nconst fadeOut = keyframes({\n from: { opacity: 1 },\n to: { opacity: 0 },\n});\n\nconst swipeOut = keyframes({\n from: {\n transform: 'translate(var(--radix-toast-swipe-end-x), var(--radix-toast-swipe-end-y))',\n },\n to: { transform: `translate(${enterX}, ${enterY})` },\n});\n\nexport const toastViewportRecipe = recipe({\n base: {\n position: 'fixed',\n zIndex: tokens.zIndices.max,\n display: 'flex',\n flexDirection: 'column',\n gap: tokens.space['2'],\n boxSizing: 'border-box',\n width: '380px',\n maxWidth: '100vw',\n margin: 0,\n padding: tokens.space['5'],\n listStyle: 'none',\n outline: 'none',\n pointerEvents: 'none',\n vars: { [enterX]: '0', [enterY]: '0' },\n },\n\n variants: {\n position: {\n 'top-left': { top: 0, left: 0, vars: { [enterX]: '-100%' } },\n 'top-center': {\n top: 0,\n left: '50%',\n transform: 'translateX(-50%)',\n vars: { [enterY]: '-100%' },\n },\n 'top-right': { top: 0, right: 0, vars: { [enterX]: '100%' } },\n 'bottom-left': { bottom: 0, left: 0, vars: { [enterX]: '-100%' } },\n 'bottom-center': {\n bottom: 0,\n left: '50%',\n transform: 'translateX(-50%)',\n vars: { [enterY]: '100%' },\n },\n 'bottom-right': { bottom: 0, right: 0, vars: { [enterX]: '100%' } },\n },\n },\n\n defaultVariants: {\n position: 'bottom-right',\n },\n});\n\nexport type ToastPosition = NonNullable<\n NonNullable<RecipeVariants<typeof toastViewportRecipe>>['position']\n>;\n\nexport const toastRoot = style({\n boxSizing: 'border-box',\n position: 'relative',\n display: 'flex',\n alignItems: 'flex-start',\n gap: tokens.space['2'],\n padding: tokens.space['3'],\n backgroundColor: tokens.colors.cardBackground,\n border: `1px solid ${tokens.colors.toastBorder}`,\n borderRadius: tokens.radii['3'],\n color: tokens.colors.hiContrast,\n fontFamily: tokens.fonts.rubik,\n pointerEvents: 'auto',\n\n selectors: {\n '&:focus-visible': {\n outline: `2px solid ${tokens.colors.focusOutline}`,\n outlineOffset: '2px',\n },\n '&[data-state=\"open\"]': {\n animation: `${slideIn} 200ms cubic-bezier(0.16, 1, 0.3, 1)`,\n },\n '&[data-state=\"closed\"]': {\n animation: `${fadeOut} 150ms ease-in`,\n },\n '&[data-swipe=\"move\"]': {\n transform: 'translate(var(--radix-toast-swipe-move-x), var(--radix-toast-swipe-move-y))',\n },\n '&[data-swipe=\"cancel\"]': {\n transform: 'translate(0, 0)',\n transition: 'transform 200ms ease-out',\n },\n '&[data-swipe=\"end\"]': {\n animation: `${swipeOut} 100ms ease-out`,\n },\n },\n\n '@media': {\n [breakpoints.motion]: {\n selectors: {\n '&[data-state=\"open\"], &[data-state=\"closed\"], &[data-swipe=\"end\"]': {\n animation: 'none',\n },\n '&[data-swipe=\"cancel\"]': {\n transition: 'none',\n },\n },\n },\n },\n});\n\nexport const toastIconRecipe = recipe({\n base: {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n flexShrink: 0,\n width: tokens.sizes['4'],\n height: tokens.sizes['4'],\n },\n\n variants: {\n variant: {\n gray: { color: tokens.colors.toneNeutralText },\n info: { color: tokens.colors.toneInfoSolid },\n success: { color: tokens.colors.toneSuccessSolid },\n warning: { color: tokens.colors.toneWarningSolid },\n error: { color: tokens.colors.toneDangerSolid },\n },\n },\n\n defaultVariants: {\n variant: 'gray',\n },\n});\n\nexport type ToastVariant = NonNullable<\n NonNullable<RecipeVariants<typeof toastIconRecipe>>['variant']\n>;\n\nexport const toastContent = style({\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'flex-start',\n gap: tokens.space['1'],\n flex: 1,\n minWidth: 0,\n});\n\nexport const toastTitle = style({\n margin: 0,\n fontSize: tokens.fontSizes['3'],\n fontWeight: tokens.fontWeights.medium,\n lineHeight: tokens.sizes['4'],\n color: tokens.colors.hiContrast,\n overflowWrap: 'anywhere',\n});\n\nexport const toastDescription = style({\n margin: 0,\n fontSize: tokens.fontSizes['2'],\n lineHeight: tokens.sizes['4'],\n color: tokens.colors.textDefault,\n overflowWrap: 'anywhere',\n});\n\nexport const toastAction = style({\n marginTop: tokens.space['1'],\n});\n\nexport const toastClose = style({\n flexShrink: 0,\n});\n"],"mappings":""}
1
+ {"version":3,"file":"Toast.vanilla.css.js","names":[],"sources":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"themes.css.cjs","names":[],"sources":["../../styles/themes.css.ts"],"sourcesContent":["import { createTheme } from '@vanilla-extract/css';\nimport tinycolor from 'tinycolor2';\n\nimport { darkColors, lightColors } from '../colors';\nimport { badgeDarkTheme, badgeLightTheme } from '../components/Badge/Badge.theme.css';\nimport { buttonDarkTheme, buttonLightTheme } from '../components/Button/Button.theme.css';\nimport {\n buttonSwitchDarkTheme,\n buttonSwitchLightTheme,\n} from '../components/ButtonSwitch/ButtonSwitch.theme.css';\nimport { cardDarkTheme, cardLightTheme } from '../components/Card/Card.theme.css';\nimport {\n codeBlockDarkTheme,\n codeBlockLightTheme,\n} from '../components/CodeBlock/CodeBlock.theme.css';\nimport { comboboxDarkTheme, comboboxLightTheme } from '../components/Combobox/Combobox.theme.css';\nimport { headingDarkTheme, headingLightTheme } from '../components/Heading/Heading.theme.css';\nimport {\n iconButtonDarkTheme,\n iconButtonLightTheme,\n} from '../components/IconButton/IconButton.theme.css';\nimport { inputDarkTheme, inputLightTheme } from '../components/Input/Input.theme.css';\nimport { listDarkTheme, listLightTheme } from '../components/List/List.theme.css';\nimport { panelDarkTheme, panelLightTheme } from '../components/Panel/Panel.theme.css';\nimport {\n segmentedControlDarkTheme,\n segmentedControlLightTheme,\n} from '../components/SegmentedControl/SegmentedControl.theme.css';\nimport { skeletonDarkTheme, skeletonLightTheme } from '../components/Skeleton/Skeleton.theme.css';\nimport {\n getTableDarkColors,\n getTableLightColors,\n tableDarkTheme,\n tableLightTheme,\n} from '../components/Table/Table.theme.css';\nimport { textDarkTheme, textLightTheme } from '../components/Text/Text.theme.css';\nimport { textareaDarkTheme, textareaLightTheme } from '../components/Textarea/Textarea.theme.css';\nimport { toastDarkTheme, toastLightTheme } from '../components/Toast/Toast.theme.css';\nimport { tokens } from './tokens.css';\n\n// Type for primary colors\nexport type PrimaryColor = 'neon' | 'blue' | 'orange' | 'red' | 'green' | 'deepBlue' | 'grayBlue';\n\n// Base theme values shared across all variants\nconst baseThemeValues = {\n fonts: {\n rubik:\n 'Rubik, -apple-system, system-ui, \"Segoe UI\", \"Helvetica Neue\", helvetica, arial, sans-serif',\n },\n space: {\n '1': '4px',\n '2': '8px',\n '3': '16px',\n '4': '20px',\n '5': '24px',\n '6': '32px',\n '7': '48px',\n '8': '64px',\n '9': '80px',\n },\n sizes: {\n '1': '4px',\n '2': '8px',\n '3': '16px',\n '4': '20px',\n '5': '24px',\n '6': '32px',\n '7': '40px',\n '8': '48px',\n '9': '64px',\n '10': '80px',\n },\n fontSizes: {\n '0': '11px',\n '1': '12px',\n '2': '13px',\n '3': '14px',\n '4': '16px',\n '5': '18px',\n '6': '20px',\n '7': '22px',\n '8': '24px',\n '9': '26px',\n '10': '28px',\n '11': '32px',\n '12': '38px',\n },\n fontWeights: {\n light: '300',\n regular: '400',\n medium: '500',\n semiBold: '600',\n bold: '700',\n },\n radii: {\n '1': '4px',\n '2': '6px',\n '3': '8px',\n '4': '12px',\n round: '50%',\n pill: '9999px',\n button: '8px',\n },\n zIndices: {\n '1': '100',\n '2': '200',\n '3': '300',\n '4': '400',\n max: '999',\n },\n};\n\n// Helper to extract color scale from color map\nfunction extractColorScale(colorName: string, colors: typeof lightColors | typeof darkColors) {\n return {\n '1': colors[`${colorName}1`],\n '2': colors[`${colorName}2`],\n '3': colors[`${colorName}3`],\n '4': colors[`${colorName}4`],\n '5': colors[`${colorName}5`],\n '6': colors[`${colorName}6`],\n '7': colors[`${colorName}7`],\n '8': colors[`${colorName}8`],\n '9': colors[`${colorName}9`],\n '10': colors[`${colorName}10`],\n '11': colors[`${colorName}11`],\n '12': colors[`${colorName}12`],\n A1: colors[`${colorName}A1`],\n A2: colors[`${colorName}A2`],\n A3: colors[`${colorName}A3`],\n A4: colors[`${colorName}A4`],\n A5: colors[`${colorName}A5`],\n A6: colors[`${colorName}A6`],\n A7: colors[`${colorName}A7`],\n A8: colors[`${colorName}A8`],\n A9: colors[`${colorName}A9`],\n A10: colors[`${colorName}A10`],\n A11: colors[`${colorName}A11`],\n A12: colors[`${colorName}A12`],\n };\n}\n\n// Helper to extract just the scale without alpha\nfunction extractSimpleColorScale(\n colorName: string,\n colors: typeof lightColors | typeof darkColors,\n) {\n return {\n '1': colors[`${colorName}1`],\n '2': colors[`${colorName}2`],\n '3': colors[`${colorName}3`],\n '4': colors[`${colorName}4`],\n '5': colors[`${colorName}5`],\n '6': colors[`${colorName}6`],\n '7': colors[`${colorName}7`],\n '8': colors[`${colorName}8`],\n '9': colors[`${colorName}9`],\n '10': colors[`${colorName}10`],\n '11': colors[`${colorName}11`],\n '12': colors[`${colorName}12`],\n };\n}\n\n// Helper to create base colors object\nfunction createBaseColors(colors: typeof lightColors | typeof darkColors) {\n return {\n neon: extractColorScale('neon', colors),\n blue: extractColorScale('blue', colors),\n orange: extractColorScale('orange', colors),\n red: extractColorScale('red', colors),\n green: extractColorScale('green', colors),\n deepBlue: extractColorScale('deepBlue', colors),\n grayBlue: extractColorScale('grayBlue', colors),\n gray: extractColorScale('gray', colors),\n slate: extractColorScale('slate', colors),\n purple: extractColorScale('purple', colors),\n whiteA: extractSimpleColorScale('whiteA', colors),\n blackA: extractSimpleColorScale('blackA', colors),\n\n // Elevation\n '00dp': colors['00dp'],\n '01dp': colors['01dp'],\n '02dp': colors['02dp'],\n '03dp': colors['03dp'],\n '04dp': colors['04dp'],\n '05dp': colors['05dp'],\n '06dp': colors['06dp'],\n '08dp': colors['08dp'],\n '12dp': colors['12dp'],\n '16dp': colors['16dp'],\n '24dp': colors['24dp'],\n };\n}\n\n// Helper functions to generate button theme colors based on primary color\nfunction getButtonLightColors(primaryColorName: string) {\n return {\n buttonPrimaryFocusBorder: lightColors[`${primaryColorName}A6`],\n buttonPrimaryFocusBg: tinycolor(lightColors[`${primaryColorName}9`]).lighten(10).toHslString(),\n buttonPrimaryGhostHoverText: lightColors.deepBlue9,\n buttonSecondaryBorder: lightColors.grayBlue9,\n buttonSecondaryFocusBorder: tinycolor(lightColors[`${primaryColorName}9`])\n .setAlpha(0.19)\n .toHslString(),\n buttonRedBg: lightColors.red9,\n buttonRedFocusBg: lightColors.redA8,\n };\n}\n\nfunction getButtonDarkColors(primaryColorName: string) {\n return {\n buttonPrimaryFocusBorder: darkColors[`${primaryColorName}A12`],\n buttonPrimaryFocusBg: tinycolor(darkColors[`${primaryColorName}9`]).lighten(10).toHslString(),\n buttonPrimaryGhostHoverText: tinycolor(darkColors[`${primaryColorName}9`])\n .lighten(10)\n .toHslString(),\n buttonSecondaryBorder: darkColors.grayBlue9,\n buttonSecondaryFocusBorder: darkColors[`${primaryColorName}9`],\n buttonRedBg: darkColors.red10,\n buttonRedFocusBg: darkColors.redA11,\n };\n}\n\n// Helper functions to generate ButtonSwitch theme colors based on primary color\nfunction getButtonSwitchLightColors(primaryColorName: string) {\n return {\n buttonSwitchActiveBg: lightColors[`${primaryColorName}9`],\n };\n}\n\nfunction getButtonSwitchDarkColors(primaryColorName: string) {\n return {\n buttonSwitchActiveBg: darkColors[`${primaryColorName}9`],\n };\n}\n\nfunction getListLightFocusColors(primaryColorName: string) {\n return {\n listItemFocusBorder: lightColors[`${primaryColorName}8`],\n };\n}\n\nfunction getListDarkFocusColors(primaryColorName: string) {\n return {\n listItemFocusBorder: darkColors[`${primaryColorName}11`],\n };\n}\n\nfunction createToneColors(colors: typeof lightColors | typeof darkColors) {\n return {\n toneSuccessSolid: colors.green9,\n toneSuccessText: colors.green11,\n toneSuccessSurface: colors.green3,\n toneSuccessBorder: colors.green7,\n toneWarningSolid: colors.orange9,\n toneWarningText: colors.orange11,\n toneWarningSurface: colors.orange3,\n toneWarningBorder: colors.orange7,\n toneDangerSolid: colors.red9,\n toneDangerText: colors.red11,\n toneDangerSurface: colors.red3,\n toneDangerBorder: colors.red7,\n toneInfoSolid: colors.blue9,\n toneInfoText: colors.blue11,\n toneInfoSurface: colors.blue3,\n toneInfoBorder: colors.blue7,\n toneNeutralSolid: colors.gray9,\n toneNeutralText: tokens.colors.textSubtle,\n toneNeutralSurface: colors.gray3,\n toneNeutralBorder: colors.gray7,\n };\n}\n\nconst chartStatusColors = {\n chartStatusGood: '#0ca30c',\n chartStatusWarning: '#fab219',\n chartStatusSerious: '#ec835a',\n chartStatusCritical: '#d03b3b',\n};\n\nconst chartLightColors = {\n chartSeries1: '#2a78d6',\n chartSeries2: '#eb6834',\n chartSeries3: '#1baf7a',\n ...chartStatusColors,\n chartGrid: '#e1e0d9',\n chartAxis: '#898781',\n};\n\nconst chartDarkColors = {\n chartSeries1: '#3987e5',\n chartSeries2: '#d95926',\n chartSeries3: '#199e70',\n ...chartStatusColors,\n chartGrid: '#2c2c2a',\n chartAxis: '#898781',\n};\n\n// ============================================================================\n// LIGHT THEMES\n// ============================================================================\n\nconst lightSemanticColors = {\n contentBg: lightColors['00dp'],\n hiContrast: lightColors.deepBlue11,\n loContrast: 'white',\n focusOutline: 'hsl(216, 100%, 64%)',\n divider: 'hsl(207, 10%, 82%)',\n background: '#fcfcfc',\n foreground: '#1a1a1a',\n muted: '#f4f4f4',\n mutedForeground: '#646464',\n card: '#ffffff',\n cardForeground: '#1a1a1a',\n popover: '#ffffff',\n popoverForeground: '#1a1a1a',\n border: '#e3e3e3',\n input: '#e3e3e3',\n accent: '#60a5fa',\n accentForeground: '#ffffff',\n destructive: '#dc2626',\n destructiveForeground: '#ffffff',\n ring: '#3b82f6',\n ...badgeLightTheme,\n ...cardLightTheme,\n ...codeBlockLightTheme,\n ...panelLightTheme,\n ...textLightTheme,\n textInvalid: lightColors.red11,\n textRed: lightColors.red10,\n ...headingLightTheme,\n ...iconButtonLightTheme,\n ...inputLightTheme,\n ...textareaLightTheme,\n ...buttonLightTheme,\n buttonPrimaryText: 'white',\n buttonRedText: 'white',\n buttonRedHoverText: lightColors.red10,\n ...buttonSwitchLightTheme,\n buttonSwitchContainerBg: lightColors['02dp'],\n buttonSwitchOffColor: lightColors.deepBlue11,\n iconButtonHoverBorder: lightColors.slate9,\n iconButtonHoverBackground: lightColors.slateA3,\n iconButtonFocusBorder: lightColors.slate10,\n ...skeletonLightTheme,\n ...segmentedControlLightTheme,\n ...comboboxLightTheme,\n ...toastLightTheme,\n ...listLightTheme,\n meterTrackBg: lightColors.grayA3,\n ...createToneColors(lightColors),\n ...chartLightColors,\n ...tableLightTheme,\n};\n\nexport const lightThemeBlue = createTheme(tokens, {\n colors: {\n primary: lightColors.blue9, // Set primary to the actual color value\n ...lightSemanticColors,\n ...getButtonLightColors('blue'),\n ...getButtonSwitchLightColors('blue'),\n ...getTableLightColors(lightColors.blue9),\n ...getListLightFocusColors('blue'),\n ...createBaseColors(lightColors),\n },\n ...baseThemeValues,\n});\n\nexport const lightThemeNeon = createTheme(tokens, {\n colors: {\n primary: lightColors.neon9, // Set primary to the actual color value\n ...lightSemanticColors,\n ...getButtonLightColors('neon'),\n ...getButtonSwitchLightColors('neon'),\n ...getTableLightColors(lightColors.neon9),\n ...getListLightFocusColors('neon'),\n ...createBaseColors(lightColors),\n },\n ...baseThemeValues,\n});\n\nexport const lightThemeOrange = createTheme(tokens, {\n colors: {\n primary: lightColors.orange9, // Set primary to the actual color value\n ...lightSemanticColors,\n ...getButtonLightColors('orange'),\n ...getButtonSwitchLightColors('orange'),\n ...getTableLightColors(lightColors.orange9),\n ...getListLightFocusColors('orange'),\n ...createBaseColors(lightColors),\n },\n ...baseThemeValues,\n});\n\nexport const lightThemeRed = createTheme(tokens, {\n colors: {\n primary: lightColors.red9, // Set primary to the actual color value\n ...lightSemanticColors,\n ...getButtonLightColors('red'),\n ...getButtonSwitchLightColors('red'),\n ...getTableLightColors(lightColors.red9),\n ...getListLightFocusColors('red'),\n ...createBaseColors(lightColors),\n },\n ...baseThemeValues,\n});\n\nexport const lightThemeGreen = createTheme(tokens, {\n colors: {\n primary: lightColors.green9, // Set primary to the actual color value\n ...lightSemanticColors,\n ...getButtonLightColors('green'),\n ...getButtonSwitchLightColors('green'),\n ...getTableLightColors(lightColors.green9),\n ...getListLightFocusColors('green'),\n ...createBaseColors(lightColors),\n },\n ...baseThemeValues,\n});\n\nexport const lightThemeDeepBlue = createTheme(tokens, {\n colors: {\n primary: lightColors.deepBlue9, // Set primary to the actual color value\n ...lightSemanticColors,\n ...getButtonLightColors('deepBlue'),\n ...getButtonSwitchLightColors('deepBlue'),\n ...getTableLightColors(lightColors.deepBlue9),\n ...getListLightFocusColors('deepBlue'),\n ...createBaseColors(lightColors),\n },\n ...baseThemeValues,\n});\n\nexport const lightThemeGrayBlue = createTheme(tokens, {\n colors: {\n primary: lightColors.grayBlue9, // Set primary to the actual color value\n ...lightSemanticColors,\n ...getButtonLightColors('grayBlue'),\n ...getButtonSwitchLightColors('grayBlue'),\n ...getTableLightColors(lightColors.grayBlue9),\n ...getListLightFocusColors('grayBlue'),\n ...createBaseColors(lightColors),\n },\n ...baseThemeValues,\n});\n\n// ============================================================================\n// DARK THEMES\n// ============================================================================\n\nconst darkSemanticColors = {\n contentBg: darkColors['00dp'],\n hiContrast: 'white',\n loContrast: darkColors.deepBlue2,\n focusOutline: 'hsl(216, 100%, 64%)',\n divider: 'hsl(209, 29%, 19%)',\n background: '#0a0a0a',\n foreground: '#ffffff',\n muted: '#1a1a1a',\n mutedForeground: '#b4b4b4',\n card: '#1a1a1a',\n cardForeground: '#ffffff',\n popover: '#1a1a1a',\n popoverForeground: '#ffffff',\n border: '#3a3a3a',\n input: '#3a3a3a',\n accent: '#3b82f6',\n accentForeground: '#ffffff',\n destructive: '#dc2626',\n destructiveForeground: '#ffffff',\n ring: '#60a5fa',\n ...badgeDarkTheme,\n ...cardDarkTheme,\n ...codeBlockDarkTheme,\n ...panelDarkTheme,\n ...textDarkTheme,\n textInvalid: darkColors.red11,\n textRed: darkColors.red10,\n ...headingDarkTheme,\n ...iconButtonDarkTheme,\n ...inputDarkTheme,\n ...textareaDarkTheme,\n ...buttonDarkTheme,\n buttonPrimaryText: darkColors.deepBlue2,\n buttonRedText: 'white',\n buttonRedHoverText: darkColors.red10,\n ...buttonSwitchDarkTheme,\n buttonSwitchContainerBg: darkColors['02dp'],\n buttonSwitchOffColor: 'white',\n buttonSwitchActiveColor: darkColors.deepBlue2,\n iconButtonBackground: darkColors.deepBlue2,\n iconButtonHoverBorder: darkColors.deepBlue6,\n iconButtonHoverBackground: darkColors.slateA4,\n iconButtonFocusBorder: darkColors.deepBlue7,\n ...skeletonDarkTheme,\n ...segmentedControlDarkTheme,\n ...comboboxDarkTheme,\n ...toastDarkTheme,\n ...listDarkTheme,\n meterTrackBg: darkColors.grayA3,\n ...createToneColors(darkColors),\n ...chartDarkColors,\n ...tableDarkTheme,\n};\n\nexport const darkThemeBlue = createTheme(tokens, {\n colors: {\n primary: darkColors.blue9, // Set primary to the actual color value\n ...darkSemanticColors,\n ...getButtonDarkColors('blue'),\n ...getButtonSwitchDarkColors('blue'),\n ...getTableDarkColors(darkColors.blue9),\n ...getListDarkFocusColors('blue'),\n ...createBaseColors(darkColors),\n },\n ...baseThemeValues,\n});\n\nexport const darkThemeNeon = createTheme(tokens, {\n colors: {\n primary: darkColors.neon9, // Set primary to the actual color value\n ...darkSemanticColors,\n ...getButtonDarkColors('neon'),\n ...getButtonSwitchDarkColors('neon'),\n ...getTableDarkColors(darkColors.neon9),\n ...getListDarkFocusColors('neon'),\n ...createBaseColors(darkColors),\n },\n ...baseThemeValues,\n});\n\nexport const darkThemeOrange = createTheme(tokens, {\n colors: {\n primary: darkColors.orange9, // Set primary to the actual color value\n ...darkSemanticColors,\n ...getButtonDarkColors('orange'),\n ...getButtonSwitchDarkColors('orange'),\n ...getTableDarkColors(darkColors.orange9),\n ...getListDarkFocusColors('orange'),\n ...createBaseColors(darkColors),\n },\n ...baseThemeValues,\n});\n\nexport const darkThemeRed = createTheme(tokens, {\n colors: {\n primary: darkColors.red9, // Set primary to the actual color value\n ...darkSemanticColors,\n ...getButtonDarkColors('red'),\n ...getButtonSwitchDarkColors('red'),\n ...getTableDarkColors(darkColors.red9),\n ...getListDarkFocusColors('red'),\n ...createBaseColors(darkColors),\n },\n ...baseThemeValues,\n});\n\nexport const darkThemeGreen = createTheme(tokens, {\n colors: {\n primary: darkColors.green9, // Set primary to the actual color value\n ...darkSemanticColors,\n ...getButtonDarkColors('green'),\n ...getButtonSwitchDarkColors('green'),\n ...getTableDarkColors(darkColors.green9),\n ...getListDarkFocusColors('green'),\n ...createBaseColors(darkColors),\n },\n ...baseThemeValues,\n});\n\nexport const darkThemeDeepBlue = createTheme(tokens, {\n colors: {\n primary: darkColors.deepBlue9, // Set primary to the actual color value\n ...darkSemanticColors,\n ...getButtonDarkColors('deepBlue'),\n ...getButtonSwitchDarkColors('deepBlue'),\n ...getTableDarkColors(darkColors.deepBlue9),\n ...getListDarkFocusColors('deepBlue'),\n ...createBaseColors(darkColors),\n },\n ...baseThemeValues,\n});\n\nexport const darkThemeGrayBlue = createTheme(tokens, {\n colors: {\n primary: darkColors.grayBlue9, // Set primary to the actual color value\n ...darkSemanticColors,\n ...getButtonDarkColors('grayBlue'),\n ...getButtonSwitchDarkColors('grayBlue'),\n ...getTableDarkColors(darkColors.grayBlue9),\n ...getListDarkFocusColors('grayBlue'),\n ...createBaseColors(darkColors),\n },\n ...baseThemeValues,\n});\n\n// ============================================================================\n// THEME MAP FOR EASY LOOKUP\n// ============================================================================\n\nexport const themes = {\n light: {\n neon: lightThemeNeon,\n blue: lightThemeBlue,\n orange: lightThemeOrange,\n red: lightThemeRed,\n green: lightThemeGreen,\n deepBlue: lightThemeDeepBlue,\n grayBlue: lightThemeGrayBlue,\n },\n dark: {\n neon: darkThemeNeon,\n blue: darkThemeBlue,\n orange: darkThemeOrange,\n red: darkThemeRed,\n green: darkThemeGreen,\n deepBlue: darkThemeDeepBlue,\n grayBlue: darkThemeGrayBlue,\n },\n};\n\n// Default exports for backward compatibility\nexport const lightTheme = lightThemeBlue;\nexport const darkTheme = darkThemeBlue;\n"],"mappings":""}
1
+ {"version":3,"file":"themes.css.cjs","names":[],"sources":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"themes.css.js","names":[],"sources":["../../styles/themes.css.ts"],"sourcesContent":["import { createTheme } from '@vanilla-extract/css';\nimport tinycolor from 'tinycolor2';\n\nimport { darkColors, lightColors } from '../colors';\nimport { badgeDarkTheme, badgeLightTheme } from '../components/Badge/Badge.theme.css';\nimport { buttonDarkTheme, buttonLightTheme } from '../components/Button/Button.theme.css';\nimport {\n buttonSwitchDarkTheme,\n buttonSwitchLightTheme,\n} from '../components/ButtonSwitch/ButtonSwitch.theme.css';\nimport { cardDarkTheme, cardLightTheme } from '../components/Card/Card.theme.css';\nimport {\n codeBlockDarkTheme,\n codeBlockLightTheme,\n} from '../components/CodeBlock/CodeBlock.theme.css';\nimport { comboboxDarkTheme, comboboxLightTheme } from '../components/Combobox/Combobox.theme.css';\nimport { headingDarkTheme, headingLightTheme } from '../components/Heading/Heading.theme.css';\nimport {\n iconButtonDarkTheme,\n iconButtonLightTheme,\n} from '../components/IconButton/IconButton.theme.css';\nimport { inputDarkTheme, inputLightTheme } from '../components/Input/Input.theme.css';\nimport { listDarkTheme, listLightTheme } from '../components/List/List.theme.css';\nimport { panelDarkTheme, panelLightTheme } from '../components/Panel/Panel.theme.css';\nimport {\n segmentedControlDarkTheme,\n segmentedControlLightTheme,\n} from '../components/SegmentedControl/SegmentedControl.theme.css';\nimport { skeletonDarkTheme, skeletonLightTheme } from '../components/Skeleton/Skeleton.theme.css';\nimport {\n getTableDarkColors,\n getTableLightColors,\n tableDarkTheme,\n tableLightTheme,\n} from '../components/Table/Table.theme.css';\nimport { textDarkTheme, textLightTheme } from '../components/Text/Text.theme.css';\nimport { textareaDarkTheme, textareaLightTheme } from '../components/Textarea/Textarea.theme.css';\nimport { toastDarkTheme, toastLightTheme } from '../components/Toast/Toast.theme.css';\nimport { tokens } from './tokens.css';\n\n// Type for primary colors\nexport type PrimaryColor = 'neon' | 'blue' | 'orange' | 'red' | 'green' | 'deepBlue' | 'grayBlue';\n\n// Base theme values shared across all variants\nconst baseThemeValues = {\n fonts: {\n rubik:\n 'Rubik, -apple-system, system-ui, \"Segoe UI\", \"Helvetica Neue\", helvetica, arial, sans-serif',\n },\n space: {\n '1': '4px',\n '2': '8px',\n '3': '16px',\n '4': '20px',\n '5': '24px',\n '6': '32px',\n '7': '48px',\n '8': '64px',\n '9': '80px',\n },\n sizes: {\n '1': '4px',\n '2': '8px',\n '3': '16px',\n '4': '20px',\n '5': '24px',\n '6': '32px',\n '7': '40px',\n '8': '48px',\n '9': '64px',\n '10': '80px',\n },\n fontSizes: {\n '0': '11px',\n '1': '12px',\n '2': '13px',\n '3': '14px',\n '4': '16px',\n '5': '18px',\n '6': '20px',\n '7': '22px',\n '8': '24px',\n '9': '26px',\n '10': '28px',\n '11': '32px',\n '12': '38px',\n },\n fontWeights: {\n light: '300',\n regular: '400',\n medium: '500',\n semiBold: '600',\n bold: '700',\n },\n radii: {\n '1': '4px',\n '2': '6px',\n '3': '8px',\n '4': '12px',\n round: '50%',\n pill: '9999px',\n button: '8px',\n },\n zIndices: {\n '1': '100',\n '2': '200',\n '3': '300',\n '4': '400',\n max: '999',\n },\n};\n\n// Helper to extract color scale from color map\nfunction extractColorScale(colorName: string, colors: typeof lightColors | typeof darkColors) {\n return {\n '1': colors[`${colorName}1`],\n '2': colors[`${colorName}2`],\n '3': colors[`${colorName}3`],\n '4': colors[`${colorName}4`],\n '5': colors[`${colorName}5`],\n '6': colors[`${colorName}6`],\n '7': colors[`${colorName}7`],\n '8': colors[`${colorName}8`],\n '9': colors[`${colorName}9`],\n '10': colors[`${colorName}10`],\n '11': colors[`${colorName}11`],\n '12': colors[`${colorName}12`],\n A1: colors[`${colorName}A1`],\n A2: colors[`${colorName}A2`],\n A3: colors[`${colorName}A3`],\n A4: colors[`${colorName}A4`],\n A5: colors[`${colorName}A5`],\n A6: colors[`${colorName}A6`],\n A7: colors[`${colorName}A7`],\n A8: colors[`${colorName}A8`],\n A9: colors[`${colorName}A9`],\n A10: colors[`${colorName}A10`],\n A11: colors[`${colorName}A11`],\n A12: colors[`${colorName}A12`],\n };\n}\n\n// Helper to extract just the scale without alpha\nfunction extractSimpleColorScale(\n colorName: string,\n colors: typeof lightColors | typeof darkColors,\n) {\n return {\n '1': colors[`${colorName}1`],\n '2': colors[`${colorName}2`],\n '3': colors[`${colorName}3`],\n '4': colors[`${colorName}4`],\n '5': colors[`${colorName}5`],\n '6': colors[`${colorName}6`],\n '7': colors[`${colorName}7`],\n '8': colors[`${colorName}8`],\n '9': colors[`${colorName}9`],\n '10': colors[`${colorName}10`],\n '11': colors[`${colorName}11`],\n '12': colors[`${colorName}12`],\n };\n}\n\n// Helper to create base colors object\nfunction createBaseColors(colors: typeof lightColors | typeof darkColors) {\n return {\n neon: extractColorScale('neon', colors),\n blue: extractColorScale('blue', colors),\n orange: extractColorScale('orange', colors),\n red: extractColorScale('red', colors),\n green: extractColorScale('green', colors),\n deepBlue: extractColorScale('deepBlue', colors),\n grayBlue: extractColorScale('grayBlue', colors),\n gray: extractColorScale('gray', colors),\n slate: extractColorScale('slate', colors),\n purple: extractColorScale('purple', colors),\n whiteA: extractSimpleColorScale('whiteA', colors),\n blackA: extractSimpleColorScale('blackA', colors),\n\n // Elevation\n '00dp': colors['00dp'],\n '01dp': colors['01dp'],\n '02dp': colors['02dp'],\n '03dp': colors['03dp'],\n '04dp': colors['04dp'],\n '05dp': colors['05dp'],\n '06dp': colors['06dp'],\n '08dp': colors['08dp'],\n '12dp': colors['12dp'],\n '16dp': colors['16dp'],\n '24dp': colors['24dp'],\n };\n}\n\n// Helper functions to generate button theme colors based on primary color\nfunction getButtonLightColors(primaryColorName: string) {\n return {\n buttonPrimaryFocusBorder: lightColors[`${primaryColorName}A6`],\n buttonPrimaryFocusBg: tinycolor(lightColors[`${primaryColorName}9`]).lighten(10).toHslString(),\n buttonPrimaryGhostHoverText: lightColors.deepBlue9,\n buttonSecondaryBorder: lightColors.grayBlue9,\n buttonSecondaryFocusBorder: tinycolor(lightColors[`${primaryColorName}9`])\n .setAlpha(0.19)\n .toHslString(),\n buttonRedBg: lightColors.red9,\n buttonRedFocusBg: lightColors.redA8,\n };\n}\n\nfunction getButtonDarkColors(primaryColorName: string) {\n return {\n buttonPrimaryFocusBorder: darkColors[`${primaryColorName}A12`],\n buttonPrimaryFocusBg: tinycolor(darkColors[`${primaryColorName}9`]).lighten(10).toHslString(),\n buttonPrimaryGhostHoverText: tinycolor(darkColors[`${primaryColorName}9`])\n .lighten(10)\n .toHslString(),\n buttonSecondaryBorder: darkColors.grayBlue9,\n buttonSecondaryFocusBorder: darkColors[`${primaryColorName}9`],\n buttonRedBg: darkColors.red10,\n buttonRedFocusBg: darkColors.redA11,\n };\n}\n\n// Helper functions to generate ButtonSwitch theme colors based on primary color\nfunction getButtonSwitchLightColors(primaryColorName: string) {\n return {\n buttonSwitchActiveBg: lightColors[`${primaryColorName}9`],\n };\n}\n\nfunction getButtonSwitchDarkColors(primaryColorName: string) {\n return {\n buttonSwitchActiveBg: darkColors[`${primaryColorName}9`],\n };\n}\n\nfunction getListLightFocusColors(primaryColorName: string) {\n return {\n listItemFocusBorder: lightColors[`${primaryColorName}8`],\n };\n}\n\nfunction getListDarkFocusColors(primaryColorName: string) {\n return {\n listItemFocusBorder: darkColors[`${primaryColorName}11`],\n };\n}\n\nfunction createToneColors(colors: typeof lightColors | typeof darkColors) {\n return {\n toneSuccessSolid: colors.green9,\n toneSuccessText: colors.green11,\n toneSuccessSurface: colors.green3,\n toneSuccessBorder: colors.green7,\n toneWarningSolid: colors.orange9,\n toneWarningText: colors.orange11,\n toneWarningSurface: colors.orange3,\n toneWarningBorder: colors.orange7,\n toneDangerSolid: colors.red9,\n toneDangerText: colors.red11,\n toneDangerSurface: colors.red3,\n toneDangerBorder: colors.red7,\n toneInfoSolid: colors.blue9,\n toneInfoText: colors.blue11,\n toneInfoSurface: colors.blue3,\n toneInfoBorder: colors.blue7,\n toneNeutralSolid: colors.gray9,\n toneNeutralText: tokens.colors.textSubtle,\n toneNeutralSurface: colors.gray3,\n toneNeutralBorder: colors.gray7,\n };\n}\n\nconst chartStatusColors = {\n chartStatusGood: '#0ca30c',\n chartStatusWarning: '#fab219',\n chartStatusSerious: '#ec835a',\n chartStatusCritical: '#d03b3b',\n};\n\nconst chartLightColors = {\n chartSeries1: '#2a78d6',\n chartSeries2: '#eb6834',\n chartSeries3: '#1baf7a',\n ...chartStatusColors,\n chartGrid: '#e1e0d9',\n chartAxis: '#898781',\n};\n\nconst chartDarkColors = {\n chartSeries1: '#3987e5',\n chartSeries2: '#d95926',\n chartSeries3: '#199e70',\n ...chartStatusColors,\n chartGrid: '#2c2c2a',\n chartAxis: '#898781',\n};\n\n// ============================================================================\n// LIGHT THEMES\n// ============================================================================\n\nconst lightSemanticColors = {\n contentBg: lightColors['00dp'],\n hiContrast: lightColors.deepBlue11,\n loContrast: 'white',\n focusOutline: 'hsl(216, 100%, 64%)',\n divider: 'hsl(207, 10%, 82%)',\n background: '#fcfcfc',\n foreground: '#1a1a1a',\n muted: '#f4f4f4',\n mutedForeground: '#646464',\n card: '#ffffff',\n cardForeground: '#1a1a1a',\n popover: '#ffffff',\n popoverForeground: '#1a1a1a',\n border: '#e3e3e3',\n input: '#e3e3e3',\n accent: '#60a5fa',\n accentForeground: '#ffffff',\n destructive: '#dc2626',\n destructiveForeground: '#ffffff',\n ring: '#3b82f6',\n ...badgeLightTheme,\n ...cardLightTheme,\n ...codeBlockLightTheme,\n ...panelLightTheme,\n ...textLightTheme,\n textInvalid: lightColors.red11,\n textRed: lightColors.red10,\n ...headingLightTheme,\n ...iconButtonLightTheme,\n ...inputLightTheme,\n ...textareaLightTheme,\n ...buttonLightTheme,\n buttonPrimaryText: 'white',\n buttonRedText: 'white',\n buttonRedHoverText: lightColors.red10,\n ...buttonSwitchLightTheme,\n buttonSwitchContainerBg: lightColors['02dp'],\n buttonSwitchOffColor: lightColors.deepBlue11,\n iconButtonHoverBorder: lightColors.slate9,\n iconButtonHoverBackground: lightColors.slateA3,\n iconButtonFocusBorder: lightColors.slate10,\n ...skeletonLightTheme,\n ...segmentedControlLightTheme,\n ...comboboxLightTheme,\n ...toastLightTheme,\n ...listLightTheme,\n meterTrackBg: lightColors.grayA3,\n ...createToneColors(lightColors),\n ...chartLightColors,\n ...tableLightTheme,\n};\n\nexport const lightThemeBlue = createTheme(tokens, {\n colors: {\n primary: lightColors.blue9, // Set primary to the actual color value\n ...lightSemanticColors,\n ...getButtonLightColors('blue'),\n ...getButtonSwitchLightColors('blue'),\n ...getTableLightColors(lightColors.blue9),\n ...getListLightFocusColors('blue'),\n ...createBaseColors(lightColors),\n },\n ...baseThemeValues,\n});\n\nexport const lightThemeNeon = createTheme(tokens, {\n colors: {\n primary: lightColors.neon9, // Set primary to the actual color value\n ...lightSemanticColors,\n ...getButtonLightColors('neon'),\n ...getButtonSwitchLightColors('neon'),\n ...getTableLightColors(lightColors.neon9),\n ...getListLightFocusColors('neon'),\n ...createBaseColors(lightColors),\n },\n ...baseThemeValues,\n});\n\nexport const lightThemeOrange = createTheme(tokens, {\n colors: {\n primary: lightColors.orange9, // Set primary to the actual color value\n ...lightSemanticColors,\n ...getButtonLightColors('orange'),\n ...getButtonSwitchLightColors('orange'),\n ...getTableLightColors(lightColors.orange9),\n ...getListLightFocusColors('orange'),\n ...createBaseColors(lightColors),\n },\n ...baseThemeValues,\n});\n\nexport const lightThemeRed = createTheme(tokens, {\n colors: {\n primary: lightColors.red9, // Set primary to the actual color value\n ...lightSemanticColors,\n ...getButtonLightColors('red'),\n ...getButtonSwitchLightColors('red'),\n ...getTableLightColors(lightColors.red9),\n ...getListLightFocusColors('red'),\n ...createBaseColors(lightColors),\n },\n ...baseThemeValues,\n});\n\nexport const lightThemeGreen = createTheme(tokens, {\n colors: {\n primary: lightColors.green9, // Set primary to the actual color value\n ...lightSemanticColors,\n ...getButtonLightColors('green'),\n ...getButtonSwitchLightColors('green'),\n ...getTableLightColors(lightColors.green9),\n ...getListLightFocusColors('green'),\n ...createBaseColors(lightColors),\n },\n ...baseThemeValues,\n});\n\nexport const lightThemeDeepBlue = createTheme(tokens, {\n colors: {\n primary: lightColors.deepBlue9, // Set primary to the actual color value\n ...lightSemanticColors,\n ...getButtonLightColors('deepBlue'),\n ...getButtonSwitchLightColors('deepBlue'),\n ...getTableLightColors(lightColors.deepBlue9),\n ...getListLightFocusColors('deepBlue'),\n ...createBaseColors(lightColors),\n },\n ...baseThemeValues,\n});\n\nexport const lightThemeGrayBlue = createTheme(tokens, {\n colors: {\n primary: lightColors.grayBlue9, // Set primary to the actual color value\n ...lightSemanticColors,\n ...getButtonLightColors('grayBlue'),\n ...getButtonSwitchLightColors('grayBlue'),\n ...getTableLightColors(lightColors.grayBlue9),\n ...getListLightFocusColors('grayBlue'),\n ...createBaseColors(lightColors),\n },\n ...baseThemeValues,\n});\n\n// ============================================================================\n// DARK THEMES\n// ============================================================================\n\nconst darkSemanticColors = {\n contentBg: darkColors['00dp'],\n hiContrast: 'white',\n loContrast: darkColors.deepBlue2,\n focusOutline: 'hsl(216, 100%, 64%)',\n divider: 'hsl(209, 29%, 19%)',\n background: '#0a0a0a',\n foreground: '#ffffff',\n muted: '#1a1a1a',\n mutedForeground: '#b4b4b4',\n card: '#1a1a1a',\n cardForeground: '#ffffff',\n popover: '#1a1a1a',\n popoverForeground: '#ffffff',\n border: '#3a3a3a',\n input: '#3a3a3a',\n accent: '#3b82f6',\n accentForeground: '#ffffff',\n destructive: '#dc2626',\n destructiveForeground: '#ffffff',\n ring: '#60a5fa',\n ...badgeDarkTheme,\n ...cardDarkTheme,\n ...codeBlockDarkTheme,\n ...panelDarkTheme,\n ...textDarkTheme,\n textInvalid: darkColors.red11,\n textRed: darkColors.red10,\n ...headingDarkTheme,\n ...iconButtonDarkTheme,\n ...inputDarkTheme,\n ...textareaDarkTheme,\n ...buttonDarkTheme,\n buttonPrimaryText: darkColors.deepBlue2,\n buttonRedText: 'white',\n buttonRedHoverText: darkColors.red10,\n ...buttonSwitchDarkTheme,\n buttonSwitchContainerBg: darkColors['02dp'],\n buttonSwitchOffColor: 'white',\n buttonSwitchActiveColor: darkColors.deepBlue2,\n iconButtonBackground: darkColors.deepBlue2,\n iconButtonHoverBorder: darkColors.deepBlue6,\n iconButtonHoverBackground: darkColors.slateA4,\n iconButtonFocusBorder: darkColors.deepBlue7,\n ...skeletonDarkTheme,\n ...segmentedControlDarkTheme,\n ...comboboxDarkTheme,\n ...toastDarkTheme,\n ...listDarkTheme,\n meterTrackBg: darkColors.grayA3,\n ...createToneColors(darkColors),\n ...chartDarkColors,\n ...tableDarkTheme,\n};\n\nexport const darkThemeBlue = createTheme(tokens, {\n colors: {\n primary: darkColors.blue9, // Set primary to the actual color value\n ...darkSemanticColors,\n ...getButtonDarkColors('blue'),\n ...getButtonSwitchDarkColors('blue'),\n ...getTableDarkColors(darkColors.blue9),\n ...getListDarkFocusColors('blue'),\n ...createBaseColors(darkColors),\n },\n ...baseThemeValues,\n});\n\nexport const darkThemeNeon = createTheme(tokens, {\n colors: {\n primary: darkColors.neon9, // Set primary to the actual color value\n ...darkSemanticColors,\n ...getButtonDarkColors('neon'),\n ...getButtonSwitchDarkColors('neon'),\n ...getTableDarkColors(darkColors.neon9),\n ...getListDarkFocusColors('neon'),\n ...createBaseColors(darkColors),\n },\n ...baseThemeValues,\n});\n\nexport const darkThemeOrange = createTheme(tokens, {\n colors: {\n primary: darkColors.orange9, // Set primary to the actual color value\n ...darkSemanticColors,\n ...getButtonDarkColors('orange'),\n ...getButtonSwitchDarkColors('orange'),\n ...getTableDarkColors(darkColors.orange9),\n ...getListDarkFocusColors('orange'),\n ...createBaseColors(darkColors),\n },\n ...baseThemeValues,\n});\n\nexport const darkThemeRed = createTheme(tokens, {\n colors: {\n primary: darkColors.red9, // Set primary to the actual color value\n ...darkSemanticColors,\n ...getButtonDarkColors('red'),\n ...getButtonSwitchDarkColors('red'),\n ...getTableDarkColors(darkColors.red9),\n ...getListDarkFocusColors('red'),\n ...createBaseColors(darkColors),\n },\n ...baseThemeValues,\n});\n\nexport const darkThemeGreen = createTheme(tokens, {\n colors: {\n primary: darkColors.green9, // Set primary to the actual color value\n ...darkSemanticColors,\n ...getButtonDarkColors('green'),\n ...getButtonSwitchDarkColors('green'),\n ...getTableDarkColors(darkColors.green9),\n ...getListDarkFocusColors('green'),\n ...createBaseColors(darkColors),\n },\n ...baseThemeValues,\n});\n\nexport const darkThemeDeepBlue = createTheme(tokens, {\n colors: {\n primary: darkColors.deepBlue9, // Set primary to the actual color value\n ...darkSemanticColors,\n ...getButtonDarkColors('deepBlue'),\n ...getButtonSwitchDarkColors('deepBlue'),\n ...getTableDarkColors(darkColors.deepBlue9),\n ...getListDarkFocusColors('deepBlue'),\n ...createBaseColors(darkColors),\n },\n ...baseThemeValues,\n});\n\nexport const darkThemeGrayBlue = createTheme(tokens, {\n colors: {\n primary: darkColors.grayBlue9, // Set primary to the actual color value\n ...darkSemanticColors,\n ...getButtonDarkColors('grayBlue'),\n ...getButtonSwitchDarkColors('grayBlue'),\n ...getTableDarkColors(darkColors.grayBlue9),\n ...getListDarkFocusColors('grayBlue'),\n ...createBaseColors(darkColors),\n },\n ...baseThemeValues,\n});\n\n// ============================================================================\n// THEME MAP FOR EASY LOOKUP\n// ============================================================================\n\nexport const themes = {\n light: {\n neon: lightThemeNeon,\n blue: lightThemeBlue,\n orange: lightThemeOrange,\n red: lightThemeRed,\n green: lightThemeGreen,\n deepBlue: lightThemeDeepBlue,\n grayBlue: lightThemeGrayBlue,\n },\n dark: {\n neon: darkThemeNeon,\n blue: darkThemeBlue,\n orange: darkThemeOrange,\n red: darkThemeRed,\n green: darkThemeGreen,\n deepBlue: darkThemeDeepBlue,\n grayBlue: darkThemeGrayBlue,\n },\n};\n\n// Default exports for backward compatibility\nexport const lightTheme = lightThemeBlue;\nexport const darkTheme = darkThemeBlue;\n"],"mappings":""}
1
+ {"version":3,"file":"themes.css.js","names":[],"sources":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"tokens.css.cjs","names":[],"sources":["../../styles/tokens.css.ts"],"sourcesContent":["import { createThemeContract } from '@vanilla-extract/css';\n\nconst colorScale = () => ({\n '1': null,\n '2': null,\n '3': null,\n '4': null,\n '5': null,\n '6': null,\n '7': null,\n '8': null,\n '9': null,\n '10': null,\n '11': null,\n '12': null,\n});\n\nconst colorScaleWithAlpha = () => ({\n ...colorScale(),\n A1: null,\n A2: null,\n A3: null,\n A4: null,\n A5: null,\n A6: null,\n A7: null,\n A8: null,\n A9: null,\n A10: null,\n A11: null,\n A12: null,\n});\n\nexport const tokens = createThemeContract({\n colors: {\n // Semantic colors\n primary: null,\n contentBg: null,\n hiContrast: null,\n loContrast: null,\n focusOutline: null,\n divider: null,\n background: null,\n foreground: null,\n muted: null,\n mutedForeground: null,\n card: null,\n cardForeground: null,\n popover: null,\n popoverForeground: null,\n border: null,\n input: null,\n accent: null,\n accentForeground: null,\n destructive: null,\n destructiveForeground: null,\n ring: null,\n\n // Primary color scales\n neon: colorScaleWithAlpha(),\n blue: colorScaleWithAlpha(),\n orange: colorScaleWithAlpha(),\n red: colorScaleWithAlpha(),\n green: colorScaleWithAlpha(),\n deepBlue: colorScaleWithAlpha(),\n grayBlue: colorScaleWithAlpha(),\n\n // Radix UI color scales\n gray: colorScaleWithAlpha(),\n slate: colorScaleWithAlpha(),\n purple: colorScaleWithAlpha(),\n\n // Special alpha colors\n whiteA: colorScale(),\n blackA: colorScale(),\n\n // Elevation colors\n '00dp': null,\n '01dp': null,\n '02dp': null,\n '03dp': null,\n '04dp': null,\n '05dp': null,\n '06dp': null,\n '08dp': null,\n '12dp': null,\n '16dp': null,\n '24dp': null,\n\n // Component tokens\n badgeInteractiveBackgroundHover: null,\n badgeInteractiveBackgroundActive: null,\n\n cardBackground: null,\n cardHoverBackground: null,\n cardHoverBorder: null,\n cardActiveBackground: null,\n cardActiveBorder: null,\n innerCardBgColor: null,\n\n codeBlockCopyButtonBg: null,\n\n textSubtle: null,\n textDefault: null,\n textContrast: null,\n textInvalid: null,\n textRed: null,\n\n headingDefault: null,\n\n panelShadowLight: null,\n\n inputBg: null,\n inputBorder: null,\n inputFocusBg: null,\n inputFocusBorder: null,\n inputHoverBg: null,\n inputText: null,\n inputPlaceholder: null,\n inputDisabledText: null,\n inputInvalidBorder: null,\n\n textareaBg: null,\n textareaBorder: null,\n textareaFocusBg: null,\n textareaFocusBorder: null,\n textareaHoverBg: null,\n textareaText: null,\n textareaPlaceholder: null,\n textareaDisabledText: null,\n textareaInvalidBorder: null,\n\n buttonPrimaryText: null,\n buttonPrimaryFocusBorder: null,\n buttonPrimaryFocusBg: null,\n buttonPrimaryGhostHoverText: null,\n buttonSecondaryBg: null,\n buttonSecondaryText: null,\n buttonSecondaryBorder: null,\n buttonSecondaryFocusBorder: null,\n buttonRedBg: null,\n buttonRedText: null,\n buttonRedHoverText: null,\n buttonRedFocusBg: null,\n\n iconButtonBackground: null,\n iconButtonHoverBorder: null,\n iconButtonHoverBackground: null,\n iconButtonFocusBorder: null,\n\n buttonSwitchContainerBg: null,\n buttonSwitchActiveBg: null,\n buttonSwitchOffBg: null,\n buttonSwitchOffColor: null,\n buttonSwitchActiveColor: null,\n\n skeletonBackground: null,\n skeletonAnimation: null,\n\n segmentedControlBorder: null,\n segmentedControlHoverBg: null,\n segmentedControlActiveBg: null,\n segmentedControlActiveText: null,\n\n comboboxContentBorder: null,\n comboboxOptionHighlightBg: null,\n\n toastBorder: null,\n\n meterTrackBg: null,\n\n listItemHoverBg: null,\n listItemActiveBg: null,\n listItemFocusBorder: null,\n\n // Semantic tones\n toneSuccessSolid: null,\n toneSuccessText: null,\n toneSuccessSurface: null,\n toneSuccessBorder: null,\n toneWarningSolid: null,\n toneWarningText: null,\n toneWarningSurface: null,\n toneWarningBorder: null,\n toneDangerSolid: null,\n toneDangerText: null,\n toneDangerSurface: null,\n toneDangerBorder: null,\n toneInfoSolid: null,\n toneInfoText: null,\n toneInfoSurface: null,\n toneInfoBorder: null,\n toneNeutralSolid: null,\n toneNeutralText: null,\n toneNeutralSurface: null,\n toneNeutralBorder: null,\n\n // Charts\n chartSeries1: null,\n chartSeries2: null,\n chartSeries3: null,\n chartStatusGood: null,\n chartStatusWarning: null,\n chartStatusSerious: null,\n chartStatusCritical: null,\n chartGrid: null,\n chartAxis: null,\n\n // Table\n tableText: null,\n tableSubtleText: null,\n tableHoverBackground: null,\n tableActiveText: null,\n tableActiveHoverText: null,\n tableHeaderLayerBackground: null,\n tableFooterLayerBackground: null,\n tableHeaderText: null,\n tableFooterText: null,\n tableHoverText: null,\n tableRowBorder: null,\n },\n fonts: {\n rubik: null,\n },\n space: {\n '1': null,\n '2': null,\n '3': null,\n '4': null,\n '5': null,\n '6': null,\n '7': null,\n '8': null,\n '9': null,\n },\n sizes: {\n '1': null,\n '2': null,\n '3': null,\n '4': null,\n '5': null,\n '6': null,\n '7': null,\n '8': null,\n '9': null,\n '10': null,\n },\n fontSizes: {\n '0': null,\n '1': null,\n '2': null,\n '3': null,\n '4': null,\n '5': null,\n '6': null,\n '7': null,\n '8': null,\n '9': null,\n '10': null,\n '11': null,\n '12': null,\n },\n fontWeights: {\n light: null,\n regular: null,\n medium: null,\n semiBold: null,\n bold: null,\n },\n radii: {\n '1': null,\n '2': null,\n '3': null,\n '4': null,\n round: null,\n pill: null,\n button: null,\n },\n zIndices: {\n '1': null,\n '2': null,\n '3': null,\n '4': null,\n max: null,\n },\n});\n"],"mappings":""}
1
+ {"version":3,"file":"tokens.css.cjs","names":[],"sources":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"tokens.css.js","names":[],"sources":["../../styles/tokens.css.ts"],"sourcesContent":["import { createThemeContract } from '@vanilla-extract/css';\n\nconst colorScale = () => ({\n '1': null,\n '2': null,\n '3': null,\n '4': null,\n '5': null,\n '6': null,\n '7': null,\n '8': null,\n '9': null,\n '10': null,\n '11': null,\n '12': null,\n});\n\nconst colorScaleWithAlpha = () => ({\n ...colorScale(),\n A1: null,\n A2: null,\n A3: null,\n A4: null,\n A5: null,\n A6: null,\n A7: null,\n A8: null,\n A9: null,\n A10: null,\n A11: null,\n A12: null,\n});\n\nexport const tokens = createThemeContract({\n colors: {\n // Semantic colors\n primary: null,\n contentBg: null,\n hiContrast: null,\n loContrast: null,\n focusOutline: null,\n divider: null,\n background: null,\n foreground: null,\n muted: null,\n mutedForeground: null,\n card: null,\n cardForeground: null,\n popover: null,\n popoverForeground: null,\n border: null,\n input: null,\n accent: null,\n accentForeground: null,\n destructive: null,\n destructiveForeground: null,\n ring: null,\n\n // Primary color scales\n neon: colorScaleWithAlpha(),\n blue: colorScaleWithAlpha(),\n orange: colorScaleWithAlpha(),\n red: colorScaleWithAlpha(),\n green: colorScaleWithAlpha(),\n deepBlue: colorScaleWithAlpha(),\n grayBlue: colorScaleWithAlpha(),\n\n // Radix UI color scales\n gray: colorScaleWithAlpha(),\n slate: colorScaleWithAlpha(),\n purple: colorScaleWithAlpha(),\n\n // Special alpha colors\n whiteA: colorScale(),\n blackA: colorScale(),\n\n // Elevation colors\n '00dp': null,\n '01dp': null,\n '02dp': null,\n '03dp': null,\n '04dp': null,\n '05dp': null,\n '06dp': null,\n '08dp': null,\n '12dp': null,\n '16dp': null,\n '24dp': null,\n\n // Component tokens\n badgeInteractiveBackgroundHover: null,\n badgeInteractiveBackgroundActive: null,\n\n cardBackground: null,\n cardHoverBackground: null,\n cardHoverBorder: null,\n cardActiveBackground: null,\n cardActiveBorder: null,\n innerCardBgColor: null,\n\n codeBlockCopyButtonBg: null,\n\n textSubtle: null,\n textDefault: null,\n textContrast: null,\n textInvalid: null,\n textRed: null,\n\n headingDefault: null,\n\n panelShadowLight: null,\n\n inputBg: null,\n inputBorder: null,\n inputFocusBg: null,\n inputFocusBorder: null,\n inputHoverBg: null,\n inputText: null,\n inputPlaceholder: null,\n inputDisabledText: null,\n inputInvalidBorder: null,\n\n textareaBg: null,\n textareaBorder: null,\n textareaFocusBg: null,\n textareaFocusBorder: null,\n textareaHoverBg: null,\n textareaText: null,\n textareaPlaceholder: null,\n textareaDisabledText: null,\n textareaInvalidBorder: null,\n\n buttonPrimaryText: null,\n buttonPrimaryFocusBorder: null,\n buttonPrimaryFocusBg: null,\n buttonPrimaryGhostHoverText: null,\n buttonSecondaryBg: null,\n buttonSecondaryText: null,\n buttonSecondaryBorder: null,\n buttonSecondaryFocusBorder: null,\n buttonRedBg: null,\n buttonRedText: null,\n buttonRedHoverText: null,\n buttonRedFocusBg: null,\n\n iconButtonBackground: null,\n iconButtonHoverBorder: null,\n iconButtonHoverBackground: null,\n iconButtonFocusBorder: null,\n\n buttonSwitchContainerBg: null,\n buttonSwitchActiveBg: null,\n buttonSwitchOffBg: null,\n buttonSwitchOffColor: null,\n buttonSwitchActiveColor: null,\n\n skeletonBackground: null,\n skeletonAnimation: null,\n\n segmentedControlBorder: null,\n segmentedControlHoverBg: null,\n segmentedControlActiveBg: null,\n segmentedControlActiveText: null,\n\n comboboxContentBorder: null,\n comboboxOptionHighlightBg: null,\n\n toastBorder: null,\n\n meterTrackBg: null,\n\n listItemHoverBg: null,\n listItemActiveBg: null,\n listItemFocusBorder: null,\n\n // Semantic tones\n toneSuccessSolid: null,\n toneSuccessText: null,\n toneSuccessSurface: null,\n toneSuccessBorder: null,\n toneWarningSolid: null,\n toneWarningText: null,\n toneWarningSurface: null,\n toneWarningBorder: null,\n toneDangerSolid: null,\n toneDangerText: null,\n toneDangerSurface: null,\n toneDangerBorder: null,\n toneInfoSolid: null,\n toneInfoText: null,\n toneInfoSurface: null,\n toneInfoBorder: null,\n toneNeutralSolid: null,\n toneNeutralText: null,\n toneNeutralSurface: null,\n toneNeutralBorder: null,\n\n // Charts\n chartSeries1: null,\n chartSeries2: null,\n chartSeries3: null,\n chartStatusGood: null,\n chartStatusWarning: null,\n chartStatusSerious: null,\n chartStatusCritical: null,\n chartGrid: null,\n chartAxis: null,\n\n // Table\n tableText: null,\n tableSubtleText: null,\n tableHoverBackground: null,\n tableActiveText: null,\n tableActiveHoverText: null,\n tableHeaderLayerBackground: null,\n tableFooterLayerBackground: null,\n tableHeaderText: null,\n tableFooterText: null,\n tableHoverText: null,\n tableRowBorder: null,\n },\n fonts: {\n rubik: null,\n },\n space: {\n '1': null,\n '2': null,\n '3': null,\n '4': null,\n '5': null,\n '6': null,\n '7': null,\n '8': null,\n '9': null,\n },\n sizes: {\n '1': null,\n '2': null,\n '3': null,\n '4': null,\n '5': null,\n '6': null,\n '7': null,\n '8': null,\n '9': null,\n '10': null,\n },\n fontSizes: {\n '0': null,\n '1': null,\n '2': null,\n '3': null,\n '4': null,\n '5': null,\n '6': null,\n '7': null,\n '8': null,\n '9': null,\n '10': null,\n '11': null,\n '12': null,\n },\n fontWeights: {\n light: null,\n regular: null,\n medium: null,\n semiBold: null,\n bold: null,\n },\n radii: {\n '1': null,\n '2': null,\n '3': null,\n '4': null,\n round: null,\n pill: null,\n button: null,\n },\n zIndices: {\n '1': null,\n '2': null,\n '3': null,\n '4': null,\n max: null,\n },\n});\n"],"mappings":""}
1
+ {"version":3,"file":"tokens.css.js","names":[],"sources":[],"mappings":""}
@@ -1,8 +1,15 @@
1
1
  // utils/warnOnce.ts
2
+ var isProduction = (() => {
3
+ try {
4
+ return process.env.NODE_ENV === "production";
5
+ } catch {
6
+ return false;
7
+ }
8
+ })();
2
9
  var warnedMessages = /* @__PURE__ */ new Set();
3
10
  /** Logs a warning once per message, outside production. */
4
11
  var warnOnce = (message) => {
5
- if (typeof process !== "undefined" && process.env.NODE_ENV === "production") return;
12
+ if (isProduction) return;
6
13
  if (!warnedMessages.has(message)) {
7
14
  warnedMessages.add(message);
8
15
  console.warn(message);
@@ -1 +1 @@
1
- {"version":3,"file":"warnOnce.cjs","names":[],"sources":["../../utils/warnOnce.ts"],"sourcesContent":["const warnedMessages = new Set<string>();\n\n/** Clears the warnings that were already logged. For tests only. */\nexport const resetWarnings = () => warnedMessages.clear();\n\n/** Logs a warning once per message, outside production. */\nexport const warnOnce = (message: string) => {\n if (typeof process !== 'undefined' && process.env.NODE_ENV === 'production') {\n return;\n }\n if (!warnedMessages.has(message)) {\n warnedMessages.add(message);\n console.warn(message);\n }\n};\n"],"mappings":";AAAA,IAAM,iCAAiB,IAAI,IAAY;;AAMvC,IAAa,YAAY,YAAoB;CAC3C,IAAI,OAAO,YAAY,eAAA,QAAA,IAAA,aAAwC,cAC7D;CAEF,IAAI,CAAC,eAAe,IAAI,OAAO,GAAG;EAChC,eAAe,IAAI,OAAO;EAC1B,QAAQ,KAAK,OAAO;CACtB;AACF"}
1
+ {"version":3,"file":"warnOnce.cjs","names":[],"sources":["../../utils/warnOnce.ts"],"sourcesContent":["// Read `process.env.NODE_ENV` as is: app bundlers replace this exact expression with \"production\".\n// Don't add a `typeof process` check: bundlers leave it in, and in the browser it would always\n// fail, keeping warnings on in production.\n// The try catches the ReferenceError where `process` doesn't exist and nothing replaced it.\nconst isProduction = (() => {\n try {\n return process.env.NODE_ENV === 'production';\n } catch {\n return false;\n }\n})();\n\nconst warnedMessages = new Set<string>();\n\n/** Clears the warnings that were already logged. For tests only. */\nexport const resetWarnings = () => warnedMessages.clear();\n\n/** Logs a warning once per message, outside production. */\nexport const warnOnce = (message: string) => {\n if (isProduction) {\n return;\n }\n if (!warnedMessages.has(message)) {\n warnedMessages.add(message);\n console.warn(message);\n }\n};\n"],"mappings":";AAIA,IAAM,sBAAsB;CAC1B,IAAI;EACF,OAAA,QAAA,IAAA,aAAgC;CAClC,QAAQ;EACN,OAAO;CACT;AACF,EAAA,CAAG;AAEH,IAAM,iCAAiB,IAAI,IAAY;;AAMvC,IAAa,YAAY,YAAoB;CAC3C,IAAI,cACF;CAEF,IAAI,CAAC,eAAe,IAAI,OAAO,GAAG;EAChC,eAAe,IAAI,OAAO;EAC1B,QAAQ,KAAK,OAAO;CACtB;AACF"}
@@ -1,8 +1,15 @@
1
1
  // utils/warnOnce.ts
2
+ var isProduction = (() => {
3
+ try {
4
+ return process.env.NODE_ENV === "production";
5
+ } catch {
6
+ return false;
7
+ }
8
+ })();
2
9
  var warnedMessages = /* @__PURE__ */ new Set();
3
10
  /** Logs a warning once per message, outside production. */
4
11
  var warnOnce = (message) => {
5
- if (typeof process !== "undefined" && process.env.NODE_ENV === "production") return;
12
+ if (isProduction) return;
6
13
  if (!warnedMessages.has(message)) {
7
14
  warnedMessages.add(message);
8
15
  console.warn(message);
@@ -1 +1 @@
1
- {"version":3,"file":"warnOnce.js","names":[],"sources":["../../utils/warnOnce.ts"],"sourcesContent":["const warnedMessages = new Set<string>();\n\n/** Clears the warnings that were already logged. For tests only. */\nexport const resetWarnings = () => warnedMessages.clear();\n\n/** Logs a warning once per message, outside production. */\nexport const warnOnce = (message: string) => {\n if (typeof process !== 'undefined' && process.env.NODE_ENV === 'production') {\n return;\n }\n if (!warnedMessages.has(message)) {\n warnedMessages.add(message);\n console.warn(message);\n }\n};\n"],"mappings":";AAAA,IAAM,iCAAiB,IAAI,IAAY;;AAMvC,IAAa,YAAY,YAAoB;CAC3C,IAAI,OAAO,YAAY,eAAA,QAAA,IAAA,aAAwC,cAC7D;CAEF,IAAI,CAAC,eAAe,IAAI,OAAO,GAAG;EAChC,eAAe,IAAI,OAAO;EAC1B,QAAQ,KAAK,OAAO;CACtB;AACF"}
1
+ {"version":3,"file":"warnOnce.js","names":[],"sources":["../../utils/warnOnce.ts"],"sourcesContent":["// Read `process.env.NODE_ENV` as is: app bundlers replace this exact expression with \"production\".\n// Don't add a `typeof process` check: bundlers leave it in, and in the browser it would always\n// fail, keeping warnings on in production.\n// The try catches the ReferenceError where `process` doesn't exist and nothing replaced it.\nconst isProduction = (() => {\n try {\n return process.env.NODE_ENV === 'production';\n } catch {\n return false;\n }\n})();\n\nconst warnedMessages = new Set<string>();\n\n/** Clears the warnings that were already logged. For tests only. */\nexport const resetWarnings = () => warnedMessages.clear();\n\n/** Logs a warning once per message, outside production. */\nexport const warnOnce = (message: string) => {\n if (isProduction) {\n return;\n }\n if (!warnedMessages.has(message)) {\n warnedMessages.add(message);\n console.warn(message);\n }\n};\n"],"mappings":";AAIA,IAAM,sBAAsB;CAC1B,IAAI;EACF,OAAA,QAAA,IAAA,aAAgC;CAClC,QAAQ;EACN,OAAO;CACT;AACF,EAAA,CAAG;AAEH,IAAM,iCAAiB,IAAI,IAAY;;AAMvC,IAAa,YAAY,YAAoB;CAC3C,IAAI,cACF;CAEF,IAAI,CAAC,eAAe,IAAI,OAAO,GAAG;EAChC,eAAe,IAAI,OAAO;EAC1B,QAAQ,KAAK,OAAO;CACtB;AACF"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@traefik-labs/faency",
3
3
  "description": "Traefik Labs design system",
4
- "version": "13.7.0",
4
+ "version": "13.7.1",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": [
7
7
  "traefiklabs",
@@ -91,23 +91,23 @@
91
91
  },
92
92
  "devDependencies": {
93
93
  "@babel/core": "7.29.13",
94
- "@babel/preset-env": "7.29.7",
94
+ "@babel/preset-env": "7.29.14",
95
95
  "@babel/preset-react": "7.29.7",
96
96
  "@babel/preset-typescript": "7.29.7",
97
- "@eslint-react/eslint-plugin": "5.28.8",
97
+ "@eslint-react/eslint-plugin": "5.30.2",
98
98
  "@eslint/js": "10.0.1",
99
99
  "@semantic-release/commit-analyzer": "13.0.1",
100
- "@semantic-release/github": "12.0.10",
100
+ "@semantic-release/github": "12.0.11",
101
101
  "@semantic-release/npm": "13.2.0",
102
102
  "@semantic-release/release-notes-generator": "14.1.1",
103
- "@storybook/addon-docs": "10.6.6",
104
- "@storybook/addon-links": "10.6.6",
105
- "@storybook/builder-vite": "10.6.6",
106
- "@storybook/react-vite": "10.6.6",
103
+ "@storybook/addon-docs": "10.6.7",
104
+ "@storybook/addon-links": "10.6.7",
105
+ "@storybook/builder-vite": "10.6.7",
106
+ "@storybook/react-vite": "10.6.7",
107
107
  "@testing-library/dom": "10.4.2",
108
108
  "@testing-library/jest-dom": "7.0.1",
109
109
  "@testing-library/react": "16.3.3",
110
- "@testing-library/user-event": "14.6.8",
110
+ "@testing-library/user-event": "14.6.10",
111
111
  "@types/jest": "30.0.0",
112
112
  "@types/jest-axe": "3.5.9",
113
113
  "@types/node": "24.19.2",
@@ -116,30 +116,30 @@
116
116
  "@types/react-dom": "18.2.0",
117
117
  "@types/tinycolor2": "1.4.6",
118
118
  "@vanilla-extract/vite-plugin": "5.2.6",
119
- "@vitejs/plugin-react": "6.2.1",
119
+ "@vitejs/plugin-react": "6.3.0",
120
120
  "@vueless/storybook-dark-mode": "10.0.8",
121
121
  "babel-jest": "30.5.2",
122
122
  "conventional-changelog-conventionalcommits": "9.3.1",
123
123
  "cross-env": "10.1.0",
124
- "eslint": "10.14.0",
124
+ "eslint": "10.15.0",
125
125
  "eslint-config-prettier": "10.1.8",
126
126
  "eslint-plugin-jsx-a11y": "6.10.2",
127
127
  "eslint-plugin-prettier": "5.5.7",
128
128
  "eslint-plugin-simple-import-sort": "14.0.0",
129
- "eslint-plugin-storybook": "10.6.6",
129
+ "eslint-plugin-storybook": "10.6.7",
130
130
  "globals": "17.14.0",
131
131
  "jest": "30.5.2",
132
132
  "jest-axe": "11.0.0",
133
133
  "jest-environment-jsdom": "30.5.2",
134
134
  "patch-package": "8.0.1",
135
- "prettier": "3.9.10",
135
+ "prettier": "3.10.1",
136
136
  "react": "18.3.1",
137
137
  "react-dom": "18.3.1",
138
138
  "semantic-release": "25.0.9",
139
- "storybook": "10.6.6",
139
+ "storybook": "10.6.7",
140
140
  "typescript": "5.8.3",
141
- "typescript-eslint": "8.72.1",
142
- "vite": "8.3.6",
141
+ "typescript-eslint": "8.72.2",
142
+ "vite": "8.3.8",
143
143
  "vite-plugin-dts": "4.5.4"
144
144
  },
145
145
  "publishConfig": {