@traefik-labs/faency 13.7.1 → 13.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (175) hide show
  1. package/README.md +1 -2
  2. package/dist/components/AriaTable/AriaTable.cjs +48 -22
  3. package/dist/components/AriaTable/AriaTable.cjs.map +1 -1
  4. package/dist/components/AriaTable/AriaTable.js +49 -23
  5. package/dist/components/AriaTable/AriaTable.js.map +1 -1
  6. package/dist/components/AriaTable/AriaTable.vanilla.cjs +8 -4
  7. package/dist/components/AriaTable/AriaTable.vanilla.cjs.map +1 -1
  8. package/dist/components/AriaTable/AriaTable.vanilla.js +8 -4
  9. package/dist/components/AriaTable/AriaTable.vanilla.js.map +1 -1
  10. package/dist/components/Avatar/Avatar.vanilla.cjs +5 -2
  11. package/dist/components/Avatar/Avatar.vanilla.cjs.map +1 -1
  12. package/dist/components/Avatar/Avatar.vanilla.js +5 -2
  13. package/dist/components/Avatar/Avatar.vanilla.js.map +1 -1
  14. package/dist/components/Badge/Badge.vanilla.cjs +2 -10
  15. package/dist/components/Badge/Badge.vanilla.cjs.map +1 -1
  16. package/dist/components/Badge/Badge.vanilla.js +2 -10
  17. package/dist/components/Badge/Badge.vanilla.js.map +1 -1
  18. package/dist/components/Blockquote/Blockquote.vanilla.cjs +5 -11
  19. package/dist/components/Blockquote/Blockquote.vanilla.cjs.map +1 -1
  20. package/dist/components/Blockquote/Blockquote.vanilla.js +5 -11
  21. package/dist/components/Blockquote/Blockquote.vanilla.js.map +1 -1
  22. package/dist/components/Box/Box.vanilla.cjs +2 -10
  23. package/dist/components/Box/Box.vanilla.cjs.map +1 -1
  24. package/dist/components/Box/Box.vanilla.js +2 -10
  25. package/dist/components/Box/Box.vanilla.js.map +1 -1
  26. package/dist/components/Bubble/Bubble.vanilla.cjs +2 -10
  27. package/dist/components/Bubble/Bubble.vanilla.cjs.map +1 -1
  28. package/dist/components/Bubble/Bubble.vanilla.js +2 -10
  29. package/dist/components/Bubble/Bubble.vanilla.js.map +1 -1
  30. package/dist/components/Button/Button.vanilla.cjs +2 -10
  31. package/dist/components/Button/Button.vanilla.cjs.map +1 -1
  32. package/dist/components/Button/Button.vanilla.js +2 -10
  33. package/dist/components/Button/Button.vanilla.js.map +1 -1
  34. package/dist/components/ButtonSwitch/ButtonSwitch.vanilla.cjs +3 -17
  35. package/dist/components/ButtonSwitch/ButtonSwitch.vanilla.cjs.map +1 -1
  36. package/dist/components/ButtonSwitch/ButtonSwitch.vanilla.js +3 -17
  37. package/dist/components/ButtonSwitch/ButtonSwitch.vanilla.js.map +1 -1
  38. package/dist/components/Card/Card.vanilla.cjs +6 -11
  39. package/dist/components/Card/Card.vanilla.cjs.map +1 -1
  40. package/dist/components/Card/Card.vanilla.js +6 -11
  41. package/dist/components/Card/Card.vanilla.js.map +1 -1
  42. package/dist/components/CodeBlock/CodeBlock.vanilla.cjs +3 -6
  43. package/dist/components/CodeBlock/CodeBlock.vanilla.cjs.map +1 -1
  44. package/dist/components/CodeBlock/CodeBlock.vanilla.js +3 -6
  45. package/dist/components/CodeBlock/CodeBlock.vanilla.js.map +1 -1
  46. package/dist/components/Combobox/Combobox.vanilla.cjs +3 -10
  47. package/dist/components/Combobox/Combobox.vanilla.cjs.map +1 -1
  48. package/dist/components/Combobox/Combobox.vanilla.js +3 -10
  49. package/dist/components/Combobox/Combobox.vanilla.js.map +1 -1
  50. package/dist/components/Container/Container.vanilla.cjs +5 -11
  51. package/dist/components/Container/Container.vanilla.cjs.map +1 -1
  52. package/dist/components/Container/Container.vanilla.js +5 -11
  53. package/dist/components/Container/Container.vanilla.js.map +1 -1
  54. package/dist/components/Elevation/Elevation.vanilla.cjs +5 -11
  55. package/dist/components/Elevation/Elevation.vanilla.cjs.map +1 -1
  56. package/dist/components/Elevation/Elevation.vanilla.js +5 -11
  57. package/dist/components/Elevation/Elevation.vanilla.js.map +1 -1
  58. package/dist/components/Field/Field.vanilla.cjs +3 -9
  59. package/dist/components/Field/Field.vanilla.cjs.map +1 -1
  60. package/dist/components/Field/Field.vanilla.js +3 -9
  61. package/dist/components/Field/Field.vanilla.js.map +1 -1
  62. package/dist/components/Flex/Flex.vanilla.cjs +5 -11
  63. package/dist/components/Flex/Flex.vanilla.cjs.map +1 -1
  64. package/dist/components/Flex/Flex.vanilla.js +5 -11
  65. package/dist/components/Flex/Flex.vanilla.js.map +1 -1
  66. package/dist/components/Grid/Grid.vanilla.cjs +7 -11
  67. package/dist/components/Grid/Grid.vanilla.cjs.map +1 -1
  68. package/dist/components/Grid/Grid.vanilla.js +7 -11
  69. package/dist/components/Grid/Grid.vanilla.js.map +1 -1
  70. package/dist/components/Heading/Heading.vanilla.cjs +35 -0
  71. package/dist/components/Heading/Heading.vanilla.cjs.map +1 -0
  72. package/dist/components/Heading/Heading.vanilla.css.cjs +85 -0
  73. package/dist/components/Heading/Heading.vanilla.css.cjs.map +1 -0
  74. package/dist/components/Heading/Heading.vanilla.css.js +74 -0
  75. package/dist/components/Heading/Heading.vanilla.css.js.map +1 -0
  76. package/dist/components/Heading/Heading.vanilla.js +30 -0
  77. package/dist/components/Heading/Heading.vanilla.js.map +1 -0
  78. package/dist/components/IconButton/IconButton.vanilla.cjs +5 -11
  79. package/dist/components/IconButton/IconButton.vanilla.cjs.map +1 -1
  80. package/dist/components/IconButton/IconButton.vanilla.js +5 -11
  81. package/dist/components/IconButton/IconButton.vanilla.js.map +1 -1
  82. package/dist/components/Image/Image.vanilla.cjs +2 -10
  83. package/dist/components/Image/Image.vanilla.cjs.map +1 -1
  84. package/dist/components/Image/Image.vanilla.js +2 -10
  85. package/dist/components/Image/Image.vanilla.js.map +1 -1
  86. package/dist/components/Input/Input.vanilla.cjs +2 -10
  87. package/dist/components/Input/Input.vanilla.cjs.map +1 -1
  88. package/dist/components/Input/Input.vanilla.js +2 -10
  89. package/dist/components/Input/Input.vanilla.js.map +1 -1
  90. package/dist/components/Label/Label.vanilla.cjs +5 -11
  91. package/dist/components/Label/Label.vanilla.cjs.map +1 -1
  92. package/dist/components/Label/Label.vanilla.js +5 -11
  93. package/dist/components/Label/Label.vanilla.js.map +1 -1
  94. package/dist/components/List/List.vanilla.cjs +10 -18
  95. package/dist/components/List/List.vanilla.cjs.map +1 -1
  96. package/dist/components/List/List.vanilla.js +7 -15
  97. package/dist/components/List/List.vanilla.js.map +1 -1
  98. package/dist/components/Meter/Meter.vanilla.cjs +3 -8
  99. package/dist/components/Meter/Meter.vanilla.cjs.map +1 -1
  100. package/dist/components/Meter/Meter.vanilla.js +3 -8
  101. package/dist/components/Meter/Meter.vanilla.js.map +1 -1
  102. package/dist/components/Panel/Panel.vanilla.cjs +2 -10
  103. package/dist/components/Panel/Panel.vanilla.cjs.map +1 -1
  104. package/dist/components/Panel/Panel.vanilla.js +2 -10
  105. package/dist/components/Panel/Panel.vanilla.js.map +1 -1
  106. package/dist/components/Paragraph/Paragraph.vanilla.cjs +5 -11
  107. package/dist/components/Paragraph/Paragraph.vanilla.cjs.map +1 -1
  108. package/dist/components/Paragraph/Paragraph.vanilla.js +5 -11
  109. package/dist/components/Paragraph/Paragraph.vanilla.js.map +1 -1
  110. package/dist/components/RowLink/RowLink.vanilla.cjs.map +1 -1
  111. package/dist/components/RowLink/RowLink.vanilla.js.map +1 -1
  112. package/dist/components/SegmentedControl/SegmentedControl.vanilla.cjs +3 -14
  113. package/dist/components/SegmentedControl/SegmentedControl.vanilla.cjs.map +1 -1
  114. package/dist/components/SegmentedControl/SegmentedControl.vanilla.js +3 -14
  115. package/dist/components/SegmentedControl/SegmentedControl.vanilla.js.map +1 -1
  116. package/dist/components/Select/Select.vanilla.cjs +136 -0
  117. package/dist/components/Select/Select.vanilla.cjs.map +1 -0
  118. package/dist/components/Select/Select.vanilla.css.cjs +69 -0
  119. package/dist/components/Select/Select.vanilla.css.cjs.map +1 -0
  120. package/dist/components/Select/Select.vanilla.css.js +58 -0
  121. package/dist/components/Select/Select.vanilla.css.js.map +1 -0
  122. package/dist/components/Select/Select.vanilla.js +129 -0
  123. package/dist/components/Select/Select.vanilla.js.map +1 -0
  124. package/dist/components/Skeleton/Skeleton.vanilla.cjs +2 -10
  125. package/dist/components/Skeleton/Skeleton.vanilla.cjs.map +1 -1
  126. package/dist/components/Skeleton/Skeleton.vanilla.js +2 -10
  127. package/dist/components/Skeleton/Skeleton.vanilla.js.map +1 -1
  128. package/dist/components/Spinner/Spinner.vanilla.cjs +3 -6
  129. package/dist/components/Spinner/Spinner.vanilla.cjs.map +1 -1
  130. package/dist/components/Spinner/Spinner.vanilla.js +3 -6
  131. package/dist/components/Spinner/Spinner.vanilla.js.map +1 -1
  132. package/dist/components/SplitLayout/SplitLayout.vanilla.cjs +3 -10
  133. package/dist/components/SplitLayout/SplitLayout.vanilla.cjs.map +1 -1
  134. package/dist/components/SplitLayout/SplitLayout.vanilla.js +3 -10
  135. package/dist/components/SplitLayout/SplitLayout.vanilla.js.map +1 -1
  136. package/dist/components/Switch/Switch.vanilla.cjs +70 -0
  137. package/dist/components/Switch/Switch.vanilla.cjs.map +1 -0
  138. package/dist/components/Switch/Switch.vanilla.css.cjs +17 -0
  139. package/dist/components/Switch/Switch.vanilla.css.cjs.map +1 -0
  140. package/dist/components/Switch/Switch.vanilla.css.js +17 -0
  141. package/dist/components/Switch/Switch.vanilla.css.js.map +1 -0
  142. package/dist/components/Switch/Switch.vanilla.js +68 -0
  143. package/dist/components/Switch/Switch.vanilla.js.map +1 -0
  144. package/dist/components/Table/Table.vanilla.cjs +8 -4
  145. package/dist/components/Table/Table.vanilla.cjs.map +1 -1
  146. package/dist/components/Table/Table.vanilla.js +8 -4
  147. package/dist/components/Table/Table.vanilla.js.map +1 -1
  148. package/dist/components/Text/Text.vanilla.cjs +5 -11
  149. package/dist/components/Text/Text.vanilla.cjs.map +1 -1
  150. package/dist/components/Text/Text.vanilla.js +5 -11
  151. package/dist/components/Text/Text.vanilla.js.map +1 -1
  152. package/dist/components/TextField/TextField.vanilla.cjs.map +1 -1
  153. package/dist/components/TextField/TextField.vanilla.js.map +1 -1
  154. package/dist/components/Textarea/Textarea.vanilla.cjs +2 -10
  155. package/dist/components/Textarea/Textarea.vanilla.cjs.map +1 -1
  156. package/dist/components/Textarea/Textarea.vanilla.js +2 -10
  157. package/dist/components/Textarea/Textarea.vanilla.js.map +1 -1
  158. package/dist/components/Toast/Toast.vanilla.cjs +4 -15
  159. package/dist/components/Toast/Toast.vanilla.cjs.map +1 -1
  160. package/dist/components/Toast/Toast.vanilla.js +4 -15
  161. package/dist/components/Toast/Toast.vanilla.js.map +1 -1
  162. package/dist/faency.css +3098 -2517
  163. package/dist/index.cjs +17 -0
  164. package/dist/index.d.cts +36968 -0
  165. package/dist/index.d.ts +416 -94
  166. package/dist/index.js +5 -1
  167. package/dist/styles/recipeVariants.cjs +15 -0
  168. package/dist/styles/recipeVariants.cjs.map +1 -0
  169. package/dist/styles/recipeVariants.js +15 -0
  170. package/dist/styles/recipeVariants.js.map +1 -0
  171. package/dist/styles/themeContext.cjs.map +1 -1
  172. package/dist/styles/themeContext.js.map +1 -1
  173. package/dist/styles/tokens.css.cjs +146 -133
  174. package/dist/styles/tokens.css.js +146 -133
  175. package/package.json +18 -7
package/dist/index.js CHANGED
@@ -42,6 +42,7 @@ import { FlexVanilla } from "./components/Flex/Flex.vanilla.js";
42
42
  import { Grid } from "./components/Grid/Grid.js";
43
43
  import { GridVanilla } from "./components/Grid/Grid.vanilla.js";
44
44
  import { H1, H2, H3, H4, H5, H6 } from "./components/Heading/Heading.js";
45
+ import { H1Vanilla, H2Vanilla, H3Vanilla, H4Vanilla, H5Vanilla, H6Vanilla } from "./components/Heading/Heading.vanilla.js";
45
46
  import { IconButton } from "./components/IconButton/IconButton.js";
46
47
  import { IconButtonVanilla } from "./components/IconButton/IconButton.vanilla.js";
47
48
  import { Image } from "./components/Image/Image.js";
@@ -70,17 +71,20 @@ import { RadioAccordionContent, RadioAccordionItem, RadioAccordionRoot, RadioAcc
70
71
  import { RowLink, rowLinkRowStyles, rowLinkTableStyles } from "./components/RowLink/RowLink.js";
71
72
  import { SegmentedControlItemVanilla, SegmentedControlVanilla } from "./components/SegmentedControl/SegmentedControl.vanilla.js";
72
73
  import { Select } from "./components/Select/Select.js";
74
+ import { SelectGroupVanilla, SelectItemVanilla, SelectLabelVanilla, SelectSeparatorVanilla, SelectVanilla } from "./components/Select/Select.vanilla.js";
73
75
  import { SidePanel } from "./components/SidePanel/SidePanel.js";
74
76
  import { Skeleton } from "./components/Skeleton/Skeleton.js";
75
77
  import { SkeletonVanilla } from "./components/Skeleton/Skeleton.vanilla.js";
76
78
  import { SpinnerVanilla } from "./components/Spinner/Spinner.vanilla.js";
77
79
  import { SplitLayoutAsideVanilla, SplitLayoutMainVanilla, SplitLayoutVanilla } from "./components/SplitLayout/SplitLayout.vanilla.js";
78
80
  import { Switch } from "./components/Switch/Switch.js";
81
+ import { SwitchVanilla } from "./components/Switch/Switch.vanilla.js";
79
82
  import { Caption as Caption$1, Table as Table$1, Tbody as Tbody$1, Td as Td$1, Tfoot as Tfoot$1, Th as Th$1, Thead as Thead$1, Tr as Tr$1 } from "./components/Table/Table.js";
80
83
  import { CaptionVanilla, TableVanilla, TbodyVanilla, TdVanilla, TfootVanilla, ThVanilla, TheadVanilla, TrVanilla } from "./components/Table/Table.vanilla.js";
81
84
  import { sortRows, useTableSort } from "./components/Table/useTableSort.js";
82
85
  import { TabsContainer, TabsContent, TabsList, TabsTrigger } from "./components/Tabs/Tabs.js";
83
86
  import { Text } from "./components/Text/Text.js";
87
+ import { TextVanilla } from "./components/Text/Text.vanilla.js";
84
88
  import { Textarea } from "./components/Textarea/Textarea.js";
85
89
  import { TextareaVanilla } from "./components/Textarea/Textarea.vanilla.js";
86
90
  import { TextField } from "./components/TextField/TextField.js";
@@ -95,4 +99,4 @@ import { darkTheme as darkTheme$1, lightTheme as lightTheme$1, themes } from "./
95
99
  import { tokens } from "./styles/tokens.css.js";
96
100
  import { AspectRatio } from "@radix-ui/react-aspect-ratio";
97
101
  import { Portal } from "@radix-ui/react-portal";
98
- export { AccessibleIcon, AccessibleIconVanilla, AccordionContent, AccordionItem, AccordionRoot, AccordionTrigger, Alert, Caption as AriaCaption, AriaCaptionVanilla, Table as AriaTable, AriaTableVanilla, Tbody as AriaTbody, AriaTbodyVanilla, Td as AriaTd, AriaTdVanilla, Tfoot as AriaTfoot, AriaTfootVanilla, Th as AriaTh, AriaThVanilla, Thead as AriaThead, AriaTheadVanilla, Tr as AriaTr, AriaTrVanilla, AspectRatio, Avatar, AvatarVanilla, COLORS as BADGE_COLORS_VANILLA, Badge, BadgeVanilla, Blockquote, BlockquoteVanilla, Box, BoxVanilla, Bubble, BubbleVanilla, Button, ButtonSwitchContainer, ButtonSwitchContainerVanilla, ButtonSwitchItem, ButtonSwitchItemVanilla, ButtonVanilla, Caption$1 as Caption, CaptionVanilla, Card, CardVanilla, Checkbox, CodeBlock, CodeBlockVanilla, ComboboxVanilla, Container, ContainerVanilla, DateTimePicker, DateTimePickerInput, Dialog, DialogCloseIconButton, DialogClosePrimitive, DialogContent, DialogDescription, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuTrigger, Elevation, ElevationVanilla, FaencyProvider, Field, FieldVanilla, Flex, FlexVanilla, Grid, GridVanilla, H1, H2, H3, H4, H5, H6, IconButton, IconButtonVanilla, Image, ImageVanilla, Input, InputVanilla, Label, LabelVanilla, Li, LiVanilla, Link, MeterVanilla, NavigationContainer, NavigationDrawer, NavigationItem, NavigationLink, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NavigationTreeContainer, NavigationTreeDrawer, NavigationTreeItem, Ol, OlVanilla, Overlay, Panel, PanelVanilla, Paragraph, ParagraphVanilla, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverPortal, PopoverTrigger, Portal, Radio, RadioAccordionContent, RadioAccordionItem, RadioAccordionRoot, RadioAccordionTrigger, RadioGroup, RowLink, SegmentedControlItemVanilla, SegmentedControlVanilla, Select, SidePanel, Skeleton, SkeletonVanilla, SpinnerVanilla, SplitLayoutAsideVanilla, SplitLayoutMainVanilla, SplitLayoutVanilla, StyledContent, Switch, Table$1 as Table, TableVanilla, TabsContainer, TabsContent, TabsList, TabsTrigger, Tbody$1 as Tbody, TbodyVanilla, Td$1 as Td, TdVanilla, Text, TextField, TextFieldVanilla, Textarea, TextareaVanilla, Tfoot$1 as Tfoot, TfootVanilla, Th$1 as Th, ThVanilla, Thead$1 as Thead, TheadVanilla, ToastActionVanilla, ToastDescriptionVanilla, ToastProviderVanilla, ToastTitleVanilla, ToastVanilla, Tooltip, TooltipContent, TooltipRoot, TooltipTrigger, Tr$1 as Tr, TrVanilla, Ul, UlVanilla, VanillaExtractThemeProvider, VisuallyHidden, config, createTheme, css, darkTheme, elevationVariants, getCssText, globalCss, keyframes, lightTheme, panelStyles, rowLinkRowStyles, rowLinkTableStyles, sortRows, styled, useColorScheme, useFieldControl, useTableSort, useToast, useVanillaExtractTheme, darkTheme$1 as vanillaDarkTheme, lightTheme$1 as vanillaLightTheme, themes as vanillaThemes, tokens as vanillaTokens };
102
+ export { AccessibleIcon, AccessibleIconVanilla, AccordionContent, AccordionItem, AccordionRoot, AccordionTrigger, Alert, Caption as AriaCaption, AriaCaptionVanilla, Table as AriaTable, AriaTableVanilla, Tbody as AriaTbody, AriaTbodyVanilla, Td as AriaTd, AriaTdVanilla, Tfoot as AriaTfoot, AriaTfootVanilla, Th as AriaTh, AriaThVanilla, Thead as AriaThead, AriaTheadVanilla, Tr as AriaTr, AriaTrVanilla, AspectRatio, Avatar, AvatarVanilla, COLORS as BADGE_COLORS_VANILLA, Badge, BadgeVanilla, Blockquote, BlockquoteVanilla, Box, BoxVanilla, Bubble, BubbleVanilla, Button, ButtonSwitchContainer, ButtonSwitchContainerVanilla, ButtonSwitchItem, ButtonSwitchItemVanilla, ButtonVanilla, Caption$1 as Caption, CaptionVanilla, Card, CardVanilla, Checkbox, CodeBlock, CodeBlockVanilla, ComboboxVanilla, Container, ContainerVanilla, DateTimePicker, DateTimePickerInput, Dialog, DialogCloseIconButton, DialogClosePrimitive, DialogContent, DialogDescription, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuTrigger, Elevation, ElevationVanilla, FaencyProvider, Field, FieldVanilla, Flex, FlexVanilla, Grid, GridVanilla, H1, H1Vanilla, H2, H2Vanilla, H3, H3Vanilla, H4, H4Vanilla, H5, H5Vanilla, H6, H6Vanilla, IconButton, IconButtonVanilla, Image, ImageVanilla, Input, InputVanilla, Label, LabelVanilla, Li, LiVanilla, Link, MeterVanilla, NavigationContainer, NavigationDrawer, NavigationItem, NavigationLink, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NavigationTreeContainer, NavigationTreeDrawer, NavigationTreeItem, Ol, OlVanilla, Overlay, Panel, PanelVanilla, Paragraph, ParagraphVanilla, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverPortal, PopoverTrigger, Portal, Radio, RadioAccordionContent, RadioAccordionItem, RadioAccordionRoot, RadioAccordionTrigger, RadioGroup, RowLink, SegmentedControlItemVanilla, SegmentedControlVanilla, Select, SelectGroupVanilla, SelectItemVanilla, SelectLabelVanilla, SelectSeparatorVanilla, SelectVanilla, SidePanel, Skeleton, SkeletonVanilla, SpinnerVanilla, SplitLayoutAsideVanilla, SplitLayoutMainVanilla, SplitLayoutVanilla, StyledContent, Switch, SwitchVanilla, Table$1 as Table, TableVanilla, TabsContainer, TabsContent, TabsList, TabsTrigger, Tbody$1 as Tbody, TbodyVanilla, Td$1 as Td, TdVanilla, Text, TextField, TextFieldVanilla, TextVanilla, Textarea, TextareaVanilla, Tfoot$1 as Tfoot, TfootVanilla, Th$1 as Th, ThVanilla, Thead$1 as Thead, TheadVanilla, ToastActionVanilla, ToastDescriptionVanilla, ToastProviderVanilla, ToastTitleVanilla, ToastVanilla, Tooltip, TooltipContent, TooltipRoot, TooltipTrigger, Tr$1 as Tr, TrVanilla, Ul, UlVanilla, VanillaExtractThemeProvider, VisuallyHidden, config, createTheme, css, darkTheme, elevationVariants, getCssText, globalCss, keyframes, lightTheme, panelStyles, rowLinkRowStyles, rowLinkTableStyles, sortRows, styled, useColorScheme, useFieldControl, useTableSort, useToast, useVanillaExtractTheme, darkTheme$1 as vanillaDarkTheme, lightTheme$1 as vanillaLightTheme, themes as vanillaThemes, tokens as vanillaTokens };
@@ -0,0 +1,15 @@
1
+ // styles/recipeVariants.ts
2
+ var withVariantKeys = (recipe) => (options) => {
3
+ let normalized;
4
+ for (const key in options) {
5
+ const value = options[key];
6
+ if (typeof value === "number") {
7
+ if (!normalized) normalized = { ...options };
8
+ normalized[key] = String(value);
9
+ }
10
+ }
11
+ return recipe(normalized ?? options);
12
+ };
13
+ exports.withVariantKeys = withVariantKeys;
14
+
15
+ //# sourceMappingURL=recipeVariants.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recipeVariants.cjs","names":[],"sources":["../../styles/recipeVariants.ts"],"sourcesContent":["type RecipeFn = (options?: any) => string;\n\ntype NumericKey<T> = T extends `${infer N extends number}` ? N : never;\n\nexport type RecipeVariantProps<R extends RecipeFn> = {\n [K in keyof NonNullable<Parameters<R>[0]>]:\n NonNullable<Parameters<R>[0]>[K] | NumericKey<NonNullable<Parameters<R>[0]>[K]>;\n};\n\n// Compound variants match with ===, so 2 must become '2'.\nexport const withVariantKeys =\n <R extends RecipeFn>(recipe: R) =>\n (options?: RecipeVariantProps<R>): string => {\n let normalized: Record<string, unknown> | undefined;\n\n for (const key in options) {\n const value = options[key];\n if (typeof value === 'number') {\n if (!normalized) normalized = { ...options };\n normalized[key] = String(value);\n }\n }\n\n return recipe(normalized ?? options);\n };\n"],"mappings":";AAUA,IAAa,mBACU,YACpB,YAA4C;CAC3C,IAAI;CAEJ,KAAK,MAAM,OAAO,SAAS;EACzB,MAAM,QAAQ,QAAQ;EACtB,IAAI,OAAO,UAAU,UAAU;GAC7B,IAAI,CAAC,YAAY,aAAa,EAAE,GAAG,QAAQ;GAC3C,WAAW,OAAO,OAAO,KAAK;EAChC;CACF;CAEA,OAAO,OAAO,cAAc,OAAO;AACrC"}
@@ -0,0 +1,15 @@
1
+ // styles/recipeVariants.ts
2
+ var withVariantKeys = (recipe) => (options) => {
3
+ let normalized;
4
+ for (const key in options) {
5
+ const value = options[key];
6
+ if (typeof value === "number") {
7
+ if (!normalized) normalized = { ...options };
8
+ normalized[key] = String(value);
9
+ }
10
+ }
11
+ return recipe(normalized ?? options);
12
+ };
13
+ export { withVariantKeys };
14
+
15
+ //# sourceMappingURL=recipeVariants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recipeVariants.js","names":[],"sources":["../../styles/recipeVariants.ts"],"sourcesContent":["type RecipeFn = (options?: any) => string;\n\ntype NumericKey<T> = T extends `${infer N extends number}` ? N : never;\n\nexport type RecipeVariantProps<R extends RecipeFn> = {\n [K in keyof NonNullable<Parameters<R>[0]>]:\n NonNullable<Parameters<R>[0]>[K] | NumericKey<NonNullable<Parameters<R>[0]>[K]>;\n};\n\n// Compound variants match with ===, so 2 must become '2'.\nexport const withVariantKeys =\n <R extends RecipeFn>(recipe: R) =>\n (options?: RecipeVariantProps<R>): string => {\n let normalized: Record<string, unknown> | undefined;\n\n for (const key in options) {\n const value = options[key];\n if (typeof value === 'number') {\n if (!normalized) normalized = { ...options };\n normalized[key] = String(value);\n }\n }\n\n return recipe(normalized ?? options);\n };\n"],"mappings":";AAUA,IAAa,mBACU,YACpB,YAA4C;CAC3C,IAAI;CAEJ,KAAK,MAAM,OAAO,SAAS;EACzB,MAAM,QAAQ,QAAQ;EACtB,IAAI,OAAO,UAAU,UAAU;GAC7B,IAAI,CAAC,YAAY,aAAa,EAAE,GAAG,QAAQ;GAC3C,WAAW,OAAO,OAAO,KAAK;EAChC;CACF;CAEA,OAAO,OAAO,cAAc,OAAO;AACrC"}
@@ -1 +1 @@
1
- {"version":3,"file":"themeContext.cjs","names":["createContext","useState","darkColors","lightColors","themes","useContext"],"sources":["../../styles/themeContext.tsx"],"sourcesContent":["import React, { createContext, useContext, useEffect, useState } from 'react';\n\nimport { darkColors, lightColors } from '../colors';\nimport { useIsomorphicLayoutEffect } from '../utils/useIsomorphicLayoutEffect';\nimport { PrimaryColor, themes } from './themes.css';\n\nexport type ThemeMode = 'light' | 'dark' | 'system';\nexport type { PrimaryColor };\n\ninterface ThemeContextValue {\n mode: ThemeMode;\n resolvedTheme: 'light' | 'dark';\n primaryColor: PrimaryColor;\n colors: typeof lightColors | typeof darkColors;\n setMode: (mode: ThemeMode) => void;\n setPrimaryColor: (color: PrimaryColor) => void;\n}\n\nconst ThemeContext = createContext<ThemeContextValue | undefined>(undefined);\n\ninterface VanillaExtractThemeProviderProps {\n children: React.ReactNode;\n defaultTheme?: ThemeMode;\n primaryColor?: PrimaryColor;\n forcedTheme?: 'light' | 'dark';\n}\n\nexport function VanillaExtractThemeProvider({\n children,\n defaultTheme = 'system',\n primaryColor = 'blue',\n forcedTheme,\n}: VanillaExtractThemeProviderProps) {\n const [mode, setMode] = useState<ThemeMode>(defaultTheme);\n const [appliedPrimaryColor, setPrimaryColor] = useState<PrimaryColor>(primaryColor);\n const [systemTheme, setSystemTheme] = useState<'light' | 'dark'>(() => {\n if (forcedTheme) {\n return forcedTheme;\n }\n if (typeof window !== 'undefined') {\n return window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light';\n }\n return 'light';\n });\n\n useEffect(() => {\n setPrimaryColor(primaryColor);\n }, [primaryColor]);\n\n useEffect(() => {\n if (forcedTheme) {\n setSystemTheme(forcedTheme);\n return;\n }\n\n const mediaQuery = window.matchMedia('(prefers-color-scheme: dark)');\n setSystemTheme(mediaQuery.matches ? 'dark' : 'light');\n\n const handler = (e: MediaQueryListEvent) => {\n setSystemTheme(e.matches ? 'dark' : 'light');\n };\n\n mediaQuery.addEventListener('change', handler);\n return () => mediaQuery.removeEventListener('change', handler);\n }, [forcedTheme]);\n\n const resolvedTheme: 'light' | 'dark' = forcedTheme || (mode === 'system' ? systemTheme : mode);\n\n const baseColors = resolvedTheme === 'dark' ? darkColors : lightColors;\n\n const semanticColors =\n resolvedTheme === 'dark'\n ? {\n primary: darkColors[`${appliedPrimaryColor}9`],\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 }\n : {\n primary: lightColors[`${appliedPrimaryColor}9`],\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 };\n\n const colors = {\n ...baseColors,\n ...semanticColors,\n };\n\n // Apply the theme class synchronously before paint\n useIsomorphicLayoutEffect(() => {\n const themeClass = themes[resolvedTheme][appliedPrimaryColor];\n\n Object.values(themes.light).forEach((cls) => document.body.classList.remove(cls));\n Object.values(themes.dark).forEach((cls) => document.body.classList.remove(cls));\n\n document.body.classList.add(themeClass);\n\n return () => {\n document.body.classList.remove(themeClass);\n };\n }, [resolvedTheme, appliedPrimaryColor]);\n\n const contextValue: ThemeContextValue = {\n mode,\n resolvedTheme,\n primaryColor: appliedPrimaryColor,\n colors,\n setMode,\n setPrimaryColor,\n };\n\n return <ThemeContext.Provider value={contextValue}>{children}</ThemeContext.Provider>;\n}\n\nexport function useVanillaExtractTheme() {\n const context = useContext(ThemeContext);\n if (context === undefined) {\n throw new Error('useVanillaExtractTheme must be used within a VanillaExtractThemeProvider');\n }\n return context;\n}\n"],"mappings":";;;;;;;;AAkBA,IAAM,gBAAA,GAAeA,MAAAA,cAAAA,CAA6C,KAAA,CAAS;AAS3E,SAAgB,4BAA4B,EAC1C,UACA,eAAe,UACf,eAAe,QACf,eACmC;CACnC,MAAM,CAAC,MAAM,YAAA,GAAWC,MAAAA,SAAAA,CAAoB,YAAY;CACxD,MAAM,CAAC,qBAAqB,oBAAA,GAAmBA,MAAAA,SAAAA,CAAuB,YAAY;CAClF,MAAM,CAAC,aAAa,mBAAA,GAAkBA,MAAAA,SAAAA,OAAiC;EACrE,IAAI,aACF,OAAO;EAET,IAAI,OAAO,WAAW,aACpB,OAAO,OAAO,WAAW,8BAA8B,CAAC,CAAC,UAAU,SAAS;EAE9E,OAAO;CACT,CAAC;CAED,CAAA,GAAA,MAAA,UAAA,OAAgB;EACd,gBAAgB,YAAY;CAC9B,GAAG,CAAC,YAAY,CAAC;CAEjB,CAAA,GAAA,MAAA,UAAA,OAAgB;EACd,IAAI,aAAa;GACf,eAAe,WAAW;GAC1B;EACF;EAEA,MAAM,aAAa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AAO,OAAOA,mBAAAA,OAAO,IAAI,CAAC,CAAC,SAAS,QAAQ,SAAS,KAAK,UAAU,OAAO,GAAG,CAAC;EAE/E,SAAS,KAAK,UAAU,IAAI,UAAU;EAEtC,aAAa;GACX,SAAS,KAAK,UAAU,OAAO,UAAU;EAC3C;CACF,GAAG,CAAC,eAAe,mBAAmB,CAAC;CAEvC,MAAM,eAAkC;EACtC;EACA;EACA,cAAc;EACd;EACA;EACA;CACF;CAEA,OAAO,iBAAA,GAAA,kBAAA,IAAA,CAAC,aAAa,UAAd;EAAuB,OAAO;EAAe;CAAgC,CAAA;AACtF;AAEA,SAAgB,yBAAyB;CACvC,MAAM,WAAA,GAAUC,MAAAA,WAAAA,CAAW,YAAY;CACvC,IAAI,YAAY,KAAA,GACd,MAAM,IAAI,MAAM,0EAA0E;CAE5F,OAAO;AACT"}
1
+ {"version":3,"file":"themeContext.cjs","names":["createContext","useState","darkColors","lightColors","themes","useContext"],"sources":["../../styles/themeContext.tsx"],"sourcesContent":["import React, { createContext, useContext, useEffect, useState } from 'react';\n\nimport { darkColors, lightColors } from '@/colors';\nimport { useIsomorphicLayoutEffect } from '@/utils/useIsomorphicLayoutEffect';\n\nimport { PrimaryColor, themes } from './themes.css';\n\nexport type ThemeMode = 'light' | 'dark' | 'system';\nexport type { PrimaryColor };\n\ninterface ThemeContextValue {\n mode: ThemeMode;\n resolvedTheme: 'light' | 'dark';\n primaryColor: PrimaryColor;\n colors: typeof lightColors | typeof darkColors;\n setMode: (mode: ThemeMode) => void;\n setPrimaryColor: (color: PrimaryColor) => void;\n}\n\nconst ThemeContext = createContext<ThemeContextValue | undefined>(undefined);\n\ninterface VanillaExtractThemeProviderProps {\n children: React.ReactNode;\n defaultTheme?: ThemeMode;\n primaryColor?: PrimaryColor;\n forcedTheme?: 'light' | 'dark';\n}\n\nexport function VanillaExtractThemeProvider({\n children,\n defaultTheme = 'system',\n primaryColor = 'blue',\n forcedTheme,\n}: VanillaExtractThemeProviderProps) {\n const [mode, setMode] = useState<ThemeMode>(defaultTheme);\n const [appliedPrimaryColor, setPrimaryColor] = useState<PrimaryColor>(primaryColor);\n const [systemTheme, setSystemTheme] = useState<'light' | 'dark'>(() => {\n if (forcedTheme) {\n return forcedTheme;\n }\n if (typeof window !== 'undefined') {\n return window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light';\n }\n return 'light';\n });\n\n useEffect(() => {\n setPrimaryColor(primaryColor);\n }, [primaryColor]);\n\n useEffect(() => {\n if (forcedTheme) {\n setSystemTheme(forcedTheme);\n return;\n }\n\n const mediaQuery = window.matchMedia('(prefers-color-scheme: dark)');\n setSystemTheme(mediaQuery.matches ? 'dark' : 'light');\n\n const handler = (e: MediaQueryListEvent) => {\n setSystemTheme(e.matches ? 'dark' : 'light');\n };\n\n mediaQuery.addEventListener('change', handler);\n return () => mediaQuery.removeEventListener('change', handler);\n }, [forcedTheme]);\n\n const resolvedTheme: 'light' | 'dark' = forcedTheme || (mode === 'system' ? systemTheme : mode);\n\n const baseColors = resolvedTheme === 'dark' ? darkColors : lightColors;\n\n const semanticColors =\n resolvedTheme === 'dark'\n ? {\n primary: darkColors[`${appliedPrimaryColor}9`],\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 }\n : {\n primary: lightColors[`${appliedPrimaryColor}9`],\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 };\n\n const colors = {\n ...baseColors,\n ...semanticColors,\n };\n\n // Apply the theme class synchronously before paint\n useIsomorphicLayoutEffect(() => {\n const themeClass = themes[resolvedTheme][appliedPrimaryColor];\n\n Object.values(themes.light).forEach((cls) => document.body.classList.remove(cls));\n Object.values(themes.dark).forEach((cls) => document.body.classList.remove(cls));\n\n document.body.classList.add(themeClass);\n\n return () => {\n document.body.classList.remove(themeClass);\n };\n }, [resolvedTheme, appliedPrimaryColor]);\n\n const contextValue: ThemeContextValue = {\n mode,\n resolvedTheme,\n primaryColor: appliedPrimaryColor,\n colors,\n setMode,\n setPrimaryColor,\n };\n\n return <ThemeContext.Provider value={contextValue}>{children}</ThemeContext.Provider>;\n}\n\nexport function useVanillaExtractTheme() {\n const context = useContext(ThemeContext);\n if (context === undefined) {\n throw new Error('useVanillaExtractTheme must be used within a VanillaExtractThemeProvider');\n }\n return context;\n}\n"],"mappings":";;;;;;;;AAmBA,IAAM,gBAAA,GAAeA,MAAAA,cAAAA,CAA6C,KAAA,CAAS;AAS3E,SAAgB,4BAA4B,EAC1C,UACA,eAAe,UACf,eAAe,QACf,eACmC;CACnC,MAAM,CAAC,MAAM,YAAA,GAAWC,MAAAA,SAAAA,CAAoB,YAAY;CACxD,MAAM,CAAC,qBAAqB,oBAAA,GAAmBA,MAAAA,SAAAA,CAAuB,YAAY;CAClF,MAAM,CAAC,aAAa,mBAAA,GAAkBA,MAAAA,SAAAA,OAAiC;EACrE,IAAI,aACF,OAAO;EAET,IAAI,OAAO,WAAW,aACpB,OAAO,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Aa;EACb,uBAAuB;EACvB,MAAM;CACR;CAEN,MAAM,SAAS;EACb,GAAG;EACH,GAAG;CACL;CAGA,kCAAA,gCAAgC;EAC9B,MAAM,aAAaC,mBAAAA,OAAO,cAAc,CAAC;EAEzC,OAAO,OAAOA,mBAAAA,OAAO,KAAK,CAAC,CAAC,SAAS,QAAQ,SAAS,KAAK,UAAU,OAAO,GAAG,CAAC;EAChF,OAAO,OAAOA,mBAAAA,OAAO,IAAI,CAAC,CAAC,SAAS,QAAQ,SAAS,KAAK,UAAU,OAAO,GAAG,CAAC;EAE/E,SAAS,KAAK,UAAU,IAAI,UAAU;EAEtC,aAAa;GACX,SAAS,KAAK,UAAU,OAAO,UAAU;EAC3C;CACF,GAAG,CAAC,eAAe,mBAAmB,CAAC;CAEvC,MAAM,eAAkC;EACtC;EACA;EACA,cAAc;EACd;EACA;EACA;CACF;CAEA,OAAO,iBAAA,GAAA,kBAAA,IAAA,CAAC,aAAa,UAAd;EAAuB,OAAO;EAAe;CAAgC,CAAA;AACtF;AAEA,SAAgB,yBAAyB;CACvC,MAAM,WAAA,GAAUC,MAAAA,WAAAA,CAAW,YAAY;CACvC,IAAI,YAAY,KAAA,GACd,MAAM,IAAI,MAAM,0EAA0E;CAE5F,OAAO;AACT"}
@@ -1 +1 @@
1
- {"version":3,"file":"themeContext.js","names":[],"sources":["../../styles/themeContext.tsx"],"sourcesContent":["import React, { createContext, useContext, useEffect, useState } from 'react';\n\nimport { darkColors, lightColors } from '../colors';\nimport { useIsomorphicLayoutEffect } from '../utils/useIsomorphicLayoutEffect';\nimport { PrimaryColor, themes } from './themes.css';\n\nexport type ThemeMode = 'light' | 'dark' | 'system';\nexport type { PrimaryColor };\n\ninterface ThemeContextValue {\n mode: ThemeMode;\n resolvedTheme: 'light' | 'dark';\n primaryColor: PrimaryColor;\n colors: typeof lightColors | typeof darkColors;\n setMode: (mode: ThemeMode) => void;\n setPrimaryColor: (color: PrimaryColor) => void;\n}\n\nconst ThemeContext = createContext<ThemeContextValue | undefined>(undefined);\n\ninterface VanillaExtractThemeProviderProps {\n children: React.ReactNode;\n defaultTheme?: ThemeMode;\n primaryColor?: PrimaryColor;\n forcedTheme?: 'light' | 'dark';\n}\n\nexport function VanillaExtractThemeProvider({\n children,\n defaultTheme = 'system',\n primaryColor = 'blue',\n forcedTheme,\n}: VanillaExtractThemeProviderProps) {\n const [mode, setMode] = useState<ThemeMode>(defaultTheme);\n const [appliedPrimaryColor, setPrimaryColor] = useState<PrimaryColor>(primaryColor);\n const [systemTheme, setSystemTheme] = useState<'light' | 'dark'>(() => {\n if (forcedTheme) {\n return forcedTheme;\n }\n if (typeof window !== 'undefined') {\n return window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light';\n }\n return 'light';\n });\n\n useEffect(() => {\n setPrimaryColor(primaryColor);\n }, [primaryColor]);\n\n useEffect(() => {\n if (forcedTheme) {\n setSystemTheme(forcedTheme);\n return;\n }\n\n const mediaQuery = window.matchMedia('(prefers-color-scheme: dark)');\n setSystemTheme(mediaQuery.matches ? 'dark' : 'light');\n\n const handler = (e: MediaQueryListEvent) => {\n setSystemTheme(e.matches ? 'dark' : 'light');\n };\n\n mediaQuery.addEventListener('change', handler);\n return () => mediaQuery.removeEventListener('change', handler);\n }, [forcedTheme]);\n\n const resolvedTheme: 'light' | 'dark' = forcedTheme || (mode === 'system' ? systemTheme : mode);\n\n const baseColors = resolvedTheme === 'dark' ? darkColors : lightColors;\n\n const semanticColors =\n resolvedTheme === 'dark'\n ? {\n primary: darkColors[`${appliedPrimaryColor}9`],\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 }\n : {\n primary: lightColors[`${appliedPrimaryColor}9`],\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 };\n\n const colors = {\n ...baseColors,\n ...semanticColors,\n };\n\n // Apply the theme class synchronously before paint\n useIsomorphicLayoutEffect(() => {\n const themeClass = themes[resolvedTheme][appliedPrimaryColor];\n\n Object.values(themes.light).forEach((cls) => document.body.classList.remove(cls));\n Object.values(themes.dark).forEach((cls) => document.body.classList.remove(cls));\n\n document.body.classList.add(themeClass);\n\n return () => {\n document.body.classList.remove(themeClass);\n };\n }, [resolvedTheme, appliedPrimaryColor]);\n\n const contextValue: ThemeContextValue = {\n mode,\n resolvedTheme,\n primaryColor: appliedPrimaryColor,\n colors,\n setMode,\n setPrimaryColor,\n };\n\n return <ThemeContext.Provider value={contextValue}>{children}</ThemeContext.Provider>;\n}\n\nexport function useVanillaExtractTheme() {\n const context = useContext(ThemeContext);\n if (context === undefined) {\n throw new Error('useVanillaExtractTheme must be used within a VanillaExtractThemeProvider');\n }\n return context;\n}\n"],"mappings":";;;;;;AAkBA,IAAM,eAAe,cAA6C,KAAA,CAAS;AAS3E,SAAgB,4BAA4B,EAC1C,UACA,eAAe,UACf,eAAe,QACf,eACmC;CACnC,MAAM,CAAC,MAAM,WAAW,SAAoB,YAAY;CAC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EACP,QAAQ;EACR,kBAAkB;EAClB,aAAa;EACb,uBAAuB;EACvB,MAAM;CACR;CAEN,MAAM,SAAS;EACb,GAAG;EACH,GAAG;CACL;CAGA,gCAAgC;EAC9B,MAAM,aAAa,OAAO,cAAc,CAAC;EAEzC,OAAO,OAAO,OAAO,KAAK,CAAC,CAAC,SAAS,QAAQ,SAAS,KAAK,UAAU,OAAO,GAAG,CAAC;EAChF,OAAO,OAAO,OAAO,IAAI,CAAC,CAAC,SAAS,QAAQ,SAAS,KAAK,UAAU,OAAO,GAAG,CAAC;EAE/E,SAAS,KAAK,UAAU,IAAI,UAAU;EAEtC,aAAa;GACX,SAAS,KAAK,UAAU,OAAO,UAAU;EAC3C;CACF,GAAG,CAAC,eAAe,mBAAmB,CAAC;CAEvC,MAAM,eAAkC;EACtC;EACA;EACA,cAAc;EACd;EACA;EACA;CACF;CAEA,OAAO,oBAAC,aAAa,UAAd;EAAuB,OAAO;EAAe;CAAgC,CAAA;AACtF;AAEA,SAAgB,yBAAyB;CACvC,MAAM,UAAU,WAAW,YAAY;CACvC,IAAI,YAAY,KAAA,GACd,MAAM,IAAI,MAAM,0EAA0E;CAE5F,OAAO;AACT"}
1
+ {"version":3,"file":"themeContext.js","names":[],"sources":["../../styles/themeContext.tsx"],"sourcesContent":["import React, { createContext, useContext, useEffect, useState } from 'react';\n\nimport { darkColors, lightColors } from '@/colors';\nimport { useIsomorphicLayoutEffect } from '@/utils/useIsomorphicLayoutEffect';\n\nimport { PrimaryColor, themes } from './themes.css';\n\nexport type ThemeMode = 'light' | 'dark' | 'system';\nexport type { PrimaryColor };\n\ninterface ThemeContextValue {\n mode: ThemeMode;\n resolvedTheme: 'light' | 'dark';\n primaryColor: PrimaryColor;\n colors: typeof lightColors | typeof darkColors;\n setMode: (mode: ThemeMode) => void;\n setPrimaryColor: (color: PrimaryColor) => void;\n}\n\nconst ThemeContext = createContext<ThemeContextValue | undefined>(undefined);\n\ninterface VanillaExtractThemeProviderProps {\n children: React.ReactNode;\n defaultTheme?: ThemeMode;\n primaryColor?: PrimaryColor;\n forcedTheme?: 'light' | 'dark';\n}\n\nexport function VanillaExtractThemeProvider({\n children,\n defaultTheme = 'system',\n primaryColor = 'blue',\n forcedTheme,\n}: VanillaExtractThemeProviderProps) {\n const [mode, setMode] = useState<ThemeMode>(defaultTheme);\n const [appliedPrimaryColor, setPrimaryColor] = useState<PrimaryColor>(primaryColor);\n const [systemTheme, setSystemTheme] = useState<'light' | 'dark'>(() => {\n if (forcedTheme) {\n return forcedTheme;\n }\n if (typeof window !== 'undefined') {\n return window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light';\n }\n return 'light';\n });\n\n useEffect(() => {\n setPrimaryColor(primaryColor);\n }, [primaryColor]);\n\n useEffect(() => {\n if (forcedTheme) {\n setSystemTheme(forcedTheme);\n return;\n }\n\n const mediaQuery = window.matchMedia('(prefers-color-scheme: dark)');\n setSystemTheme(mediaQuery.matches ? 'dark' : 'light');\n\n const handler = (e: MediaQueryListEvent) => {\n setSystemTheme(e.matches ? 'dark' : 'light');\n };\n\n mediaQuery.addEventListener('change', handler);\n return () => mediaQuery.removeEventListener('change', handler);\n }, [forcedTheme]);\n\n const resolvedTheme: 'light' | 'dark' = forcedTheme || (mode === 'system' ? systemTheme : mode);\n\n const baseColors = resolvedTheme === 'dark' ? darkColors : lightColors;\n\n const semanticColors =\n resolvedTheme === 'dark'\n ? {\n primary: darkColors[`${appliedPrimaryColor}9`],\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 }\n : {\n primary: lightColors[`${appliedPrimaryColor}9`],\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 };\n\n const colors = {\n ...baseColors,\n ...semanticColors,\n };\n\n // Apply the theme class synchronously before paint\n useIsomorphicLayoutEffect(() => {\n const themeClass = themes[resolvedTheme][appliedPrimaryColor];\n\n Object.values(themes.light).forEach((cls) => document.body.classList.remove(cls));\n Object.values(themes.dark).forEach((cls) => document.body.classList.remove(cls));\n\n document.body.classList.add(themeClass);\n\n return () => {\n document.body.classList.remove(themeClass);\n };\n }, [resolvedTheme, appliedPrimaryColor]);\n\n const contextValue: ThemeContextValue = {\n mode,\n resolvedTheme,\n primaryColor: appliedPrimaryColor,\n colors,\n setMode,\n setPrimaryColor,\n };\n\n return <ThemeContext.Provider value={contextValue}>{children}</ThemeContext.Provider>;\n}\n\nexport function useVanillaExtractTheme() {\n const context = useContext(ThemeContext);\n if (context === undefined) {\n throw new Error('useVanillaExtractTheme must be used within a VanillaExtractThemeProvider');\n }\n return context;\n}\n"],"mappings":";;;;;;AAmBA,IAAM,eAAe,cAA6C,KAAA,CAAS;AAS3E,SAAgB,4BAA4B,EAC1C,UACA,eAAe,UACf,eAAe,QACf,eACmC;CACnC,MAAM,CAAC,MAAM,WAAW,SAAoB,YAAY;CACxD,MAAM,CAAC,qBAAqB,mBAAmB,SAAuB,YAAY;CAClF,MAAM,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AAM;CACR;CAEN,MAAM,SAAS;EACb,GAAG;EACH,GAAG;CACL;CAGA,gCAAgC;EAC9B,MAAM,aAAa,OAAO,cAAc,CAAC;EAEzC,OAAO,OAAO,OAAO,KAAK,CAAC,CAAC,SAAS,QAAQ,SAAS,KAAK,UAAU,OAAO,GAAG,CAAC;EAChF,OAAO,OAAO,OAAO,IAAI,CAAC,CAAC,SAAS,QAAQ,SAAS,KAAK,UAAU,OAAO,GAAG,CAAC;EAE/E,SAAS,KAAK,UAAU,IAAI,UAAU;EAEtC,aAAa;GACX,SAAS,KAAK,UAAU,OAAO,UAAU;EAC3C;CACF,GAAG,CAAC,eAAe,mBAAmB,CAAC;CAEvC,MAAM,eAAkC;EACtC;EACA;EACA,cAAc;EACd;EACA;EACA;CACF;CAEA,OAAO,oBAAC,aAAa,UAAd;EAAuB,OAAO;EAAe;CAAgC,CAAA;AACtF;AAEA,SAAgB,yBAAyB;CACvC,MAAM,UAAU,WAAW,YAAY;CACvC,IAAI,YAAY,KAAA,GACd,MAAM,IAAI,MAAM,0EAA0E;CAE5F,OAAO;AACT"}
@@ -346,151 +346,164 @@ var tokens = {
346
346
  inputPlaceholder: "var(--_17h2n968u)",
347
347
  inputDisabledText: "var(--_17h2n968v)",
348
348
  inputInvalidBorder: "var(--_17h2n968w)",
349
- textareaBg: "var(--_17h2n968x)",
350
- textareaBorder: "var(--_17h2n968y)",
351
- textareaFocusBg: "var(--_17h2n968z)",
352
- textareaFocusBorder: "var(--_17h2n9690)",
353
- textareaHoverBg: "var(--_17h2n9691)",
354
- textareaText: "var(--_17h2n9692)",
355
- textareaPlaceholder: "var(--_17h2n9693)",
356
- textareaDisabledText: "var(--_17h2n9694)",
357
- textareaInvalidBorder: "var(--_17h2n9695)",
358
- buttonPrimaryText: "var(--_17h2n9696)",
359
- buttonPrimaryFocusBorder: "var(--_17h2n9697)",
360
- buttonPrimaryFocusBg: "var(--_17h2n9698)",
361
- buttonPrimaryGhostHoverText: "var(--_17h2n9699)",
362
- buttonSecondaryBg: "var(--_17h2n969a)",
363
- buttonSecondaryText: "var(--_17h2n969b)",
364
- buttonSecondaryBorder: "var(--_17h2n969c)",
365
- buttonSecondaryFocusBorder: "var(--_17h2n969d)",
366
- buttonRedBg: "var(--_17h2n969e)",
367
- buttonRedText: "var(--_17h2n969f)",
368
- buttonRedHoverText: "var(--_17h2n969g)",
369
- buttonRedFocusBg: "var(--_17h2n969h)",
370
- iconButtonBackground: "var(--_17h2n969i)",
371
- iconButtonHoverBorder: "var(--_17h2n969j)",
372
- iconButtonHoverBackground: "var(--_17h2n969k)",
373
- iconButtonFocusBorder: "var(--_17h2n969l)",
374
- buttonSwitchContainerBg: "var(--_17h2n969m)",
375
- buttonSwitchActiveBg: "var(--_17h2n969n)",
376
- buttonSwitchOffBg: "var(--_17h2n969o)",
377
- buttonSwitchOffColor: "var(--_17h2n969p)",
378
- buttonSwitchActiveColor: "var(--_17h2n969q)",
379
- skeletonBackground: "var(--_17h2n969r)",
380
- skeletonAnimation: "var(--_17h2n969s)",
381
- segmentedControlBorder: "var(--_17h2n969t)",
382
- segmentedControlHoverBg: "var(--_17h2n969u)",
383
- segmentedControlActiveBg: "var(--_17h2n969v)",
384
- segmentedControlActiveText: "var(--_17h2n969w)",
385
- comboboxContentBorder: "var(--_17h2n969x)",
386
- comboboxOptionHighlightBg: "var(--_17h2n969y)",
387
- toastBorder: "var(--_17h2n969z)",
388
- meterTrackBg: "var(--_17h2n96a0)",
389
- listItemHoverBg: "var(--_17h2n96a1)",
390
- listItemActiveBg: "var(--_17h2n96a2)",
391
- listItemFocusBorder: "var(--_17h2n96a3)",
392
- toneSuccessSolid: "var(--_17h2n96a4)",
393
- toneSuccessText: "var(--_17h2n96a5)",
394
- toneSuccessSurface: "var(--_17h2n96a6)",
395
- toneSuccessBorder: "var(--_17h2n96a7)",
396
- toneWarningSolid: "var(--_17h2n96a8)",
397
- toneWarningText: "var(--_17h2n96a9)",
398
- toneWarningSurface: "var(--_17h2n96aa)",
399
- toneWarningBorder: "var(--_17h2n96ab)",
400
- toneDangerSolid: "var(--_17h2n96ac)",
401
- toneDangerText: "var(--_17h2n96ad)",
402
- toneDangerSurface: "var(--_17h2n96ae)",
403
- toneDangerBorder: "var(--_17h2n96af)",
404
- toneInfoSolid: "var(--_17h2n96ag)",
405
- toneInfoText: "var(--_17h2n96ah)",
406
- toneInfoSurface: "var(--_17h2n96ai)",
407
- toneInfoBorder: "var(--_17h2n96aj)",
408
- toneNeutralSolid: "var(--_17h2n96ak)",
409
- toneNeutralText: "var(--_17h2n96al)",
410
- toneNeutralSurface: "var(--_17h2n96am)",
411
- toneNeutralBorder: "var(--_17h2n96an)",
412
- chartSeries1: "var(--_17h2n96ao)",
413
- chartSeries2: "var(--_17h2n96ap)",
414
- chartSeries3: "var(--_17h2n96aq)",
415
- chartStatusGood: "var(--_17h2n96ar)",
416
- chartStatusWarning: "var(--_17h2n96as)",
417
- chartStatusSerious: "var(--_17h2n96at)",
418
- chartStatusCritical: "var(--_17h2n96au)",
419
- chartGrid: "var(--_17h2n96av)",
420
- chartAxis: "var(--_17h2n96aw)",
421
- tableText: "var(--_17h2n96ax)",
422
- tableSubtleText: "var(--_17h2n96ay)",
423
- tableHoverBackground: "var(--_17h2n96az)",
424
- tableActiveText: "var(--_17h2n96b0)",
425
- tableActiveHoverText: "var(--_17h2n96b1)",
426
- tableHeaderLayerBackground: "var(--_17h2n96b2)",
427
- tableFooterLayerBackground: "var(--_17h2n96b3)",
428
- tableHeaderText: "var(--_17h2n96b4)",
429
- tableFooterText: "var(--_17h2n96b5)",
430
- tableHoverText: "var(--_17h2n96b6)",
431
- tableRowBorder: "var(--_17h2n96b7)"
349
+ selectBg: "var(--_17h2n968x)",
350
+ selectBorder: "var(--_17h2n968y)",
351
+ selectFocusBorder: "var(--_17h2n968z)",
352
+ selectHoverBg: "var(--_17h2n9690)",
353
+ selectText: "var(--_17h2n9691)",
354
+ selectPlaceholder: "var(--_17h2n9692)",
355
+ selectDisabledText: "var(--_17h2n9693)",
356
+ selectInvalidBorder: "var(--_17h2n9694)",
357
+ textareaBg: "var(--_17h2n9695)",
358
+ textareaBorder: "var(--_17h2n9696)",
359
+ textareaFocusBg: "var(--_17h2n9697)",
360
+ textareaFocusBorder: "var(--_17h2n9698)",
361
+ textareaHoverBg: "var(--_17h2n9699)",
362
+ textareaText: "var(--_17h2n969a)",
363
+ textareaPlaceholder: "var(--_17h2n969b)",
364
+ textareaDisabledText: "var(--_17h2n969c)",
365
+ textareaInvalidBorder: "var(--_17h2n969d)",
366
+ buttonPrimaryText: "var(--_17h2n969e)",
367
+ buttonPrimaryFocusBorder: "var(--_17h2n969f)",
368
+ buttonPrimaryFocusBg: "var(--_17h2n969g)",
369
+ buttonPrimaryGhostHoverText: "var(--_17h2n969h)",
370
+ buttonSecondaryBg: "var(--_17h2n969i)",
371
+ buttonSecondaryText: "var(--_17h2n969j)",
372
+ buttonSecondaryBorder: "var(--_17h2n969k)",
373
+ buttonSecondaryFocusBorder: "var(--_17h2n969l)",
374
+ buttonRedBg: "var(--_17h2n969m)",
375
+ buttonRedText: "var(--_17h2n969n)",
376
+ buttonRedHoverText: "var(--_17h2n969o)",
377
+ buttonRedFocusBg: "var(--_17h2n969p)",
378
+ iconButtonBackground: "var(--_17h2n969q)",
379
+ iconButtonHoverBorder: "var(--_17h2n969r)",
380
+ iconButtonHoverBackground: "var(--_17h2n969s)",
381
+ iconButtonFocusBorder: "var(--_17h2n969t)",
382
+ buttonSwitchContainerBg: "var(--_17h2n969u)",
383
+ buttonSwitchActiveBg: "var(--_17h2n969v)",
384
+ buttonSwitchOffBg: "var(--_17h2n969w)",
385
+ buttonSwitchOffColor: "var(--_17h2n969x)",
386
+ buttonSwitchActiveColor: "var(--_17h2n969y)",
387
+ skeletonBackground: "var(--_17h2n969z)",
388
+ skeletonAnimation: "var(--_17h2n96a0)",
389
+ segmentedControlBorder: "var(--_17h2n96a1)",
390
+ segmentedControlHoverBg: "var(--_17h2n96a2)",
391
+ segmentedControlActiveBg: "var(--_17h2n96a3)",
392
+ segmentedControlActiveText: "var(--_17h2n96a4)",
393
+ comboboxContentBorder: "var(--_17h2n96a5)",
394
+ comboboxOptionHighlightBg: "var(--_17h2n96a6)",
395
+ toastBorder: "var(--_17h2n96a7)",
396
+ meterTrackBg: "var(--_17h2n96a8)",
397
+ listItemHoverBg: "var(--_17h2n96a9)",
398
+ listItemActiveBg: "var(--_17h2n96aa)",
399
+ listItemFocusBorder: "var(--_17h2n96ab)",
400
+ switchBackground: "var(--_17h2n96ac)",
401
+ switchActiveBackground: "var(--_17h2n96ad)",
402
+ switchFocusBorder: "var(--_17h2n96ae)",
403
+ switchThumb: "var(--_17h2n96af)",
404
+ switchInvalidBorder: "var(--_17h2n96ag)",
405
+ toneSuccessSolid: "var(--_17h2n96ah)",
406
+ toneSuccessText: "var(--_17h2n96ai)",
407
+ toneSuccessSurface: "var(--_17h2n96aj)",
408
+ toneSuccessBorder: "var(--_17h2n96ak)",
409
+ toneWarningSolid: "var(--_17h2n96al)",
410
+ toneWarningText: "var(--_17h2n96am)",
411
+ toneWarningSurface: "var(--_17h2n96an)",
412
+ toneWarningBorder: "var(--_17h2n96ao)",
413
+ toneDangerSolid: "var(--_17h2n96ap)",
414
+ toneDangerText: "var(--_17h2n96aq)",
415
+ toneDangerSurface: "var(--_17h2n96ar)",
416
+ toneDangerBorder: "var(--_17h2n96as)",
417
+ toneInfoSolid: "var(--_17h2n96at)",
418
+ toneInfoText: "var(--_17h2n96au)",
419
+ toneInfoSurface: "var(--_17h2n96av)",
420
+ toneInfoBorder: "var(--_17h2n96aw)",
421
+ toneNeutralSolid: "var(--_17h2n96ax)",
422
+ toneNeutralText: "var(--_17h2n96ay)",
423
+ toneNeutralSurface: "var(--_17h2n96az)",
424
+ toneNeutralBorder: "var(--_17h2n96b0)",
425
+ chartSeries1: "var(--_17h2n96b1)",
426
+ chartSeries2: "var(--_17h2n96b2)",
427
+ chartSeries3: "var(--_17h2n96b3)",
428
+ chartStatusGood: "var(--_17h2n96b4)",
429
+ chartStatusWarning: "var(--_17h2n96b5)",
430
+ chartStatusSerious: "var(--_17h2n96b6)",
431
+ chartStatusCritical: "var(--_17h2n96b7)",
432
+ chartGrid: "var(--_17h2n96b8)",
433
+ chartAxis: "var(--_17h2n96b9)",
434
+ tableText: "var(--_17h2n96ba)",
435
+ tableSubtleText: "var(--_17h2n96bb)",
436
+ tableHoverBackground: "var(--_17h2n96bc)",
437
+ tableActiveText: "var(--_17h2n96bd)",
438
+ tableActiveHoverText: "var(--_17h2n96be)",
439
+ tableHeaderLayerBackground: "var(--_17h2n96bf)",
440
+ tableFooterLayerBackground: "var(--_17h2n96bg)",
441
+ tableHeaderText: "var(--_17h2n96bh)",
442
+ tableFooterText: "var(--_17h2n96bi)",
443
+ tableHoverText: "var(--_17h2n96bj)",
444
+ tableRowBorder: "var(--_17h2n96bk)"
432
445
  },
433
- fonts: { rubik: "var(--_17h2n96b8)" },
446
+ fonts: { rubik: "var(--_17h2n96bl)" },
434
447
  space: {
435
- "1": "var(--_17h2n96b9)",
436
- "2": "var(--_17h2n96ba)",
437
- "3": "var(--_17h2n96bb)",
438
- "4": "var(--_17h2n96bc)",
439
- "5": "var(--_17h2n96bd)",
440
- "6": "var(--_17h2n96be)",
441
- "7": "var(--_17h2n96bf)",
442
- "8": "var(--_17h2n96bg)",
443
- "9": "var(--_17h2n96bh)"
448
+ "1": "var(--_17h2n96bm)",
449
+ "2": "var(--_17h2n96bn)",
450
+ "3": "var(--_17h2n96bo)",
451
+ "4": "var(--_17h2n96bp)",
452
+ "5": "var(--_17h2n96bq)",
453
+ "6": "var(--_17h2n96br)",
454
+ "7": "var(--_17h2n96bs)",
455
+ "8": "var(--_17h2n96bt)",
456
+ "9": "var(--_17h2n96bu)"
444
457
  },
445
458
  sizes: {
446
- "1": "var(--_17h2n96bi)",
447
- "2": "var(--_17h2n96bj)",
448
- "3": "var(--_17h2n96bk)",
449
- "4": "var(--_17h2n96bl)",
450
- "5": "var(--_17h2n96bm)",
451
- "6": "var(--_17h2n96bn)",
452
- "7": "var(--_17h2n96bo)",
453
- "8": "var(--_17h2n96bp)",
454
- "9": "var(--_17h2n96bq)",
455
- "10": "var(--_17h2n96br)"
459
+ "1": "var(--_17h2n96bv)",
460
+ "2": "var(--_17h2n96bw)",
461
+ "3": "var(--_17h2n96bx)",
462
+ "4": "var(--_17h2n96by)",
463
+ "5": "var(--_17h2n96bz)",
464
+ "6": "var(--_17h2n96c0)",
465
+ "7": "var(--_17h2n96c1)",
466
+ "8": "var(--_17h2n96c2)",
467
+ "9": "var(--_17h2n96c3)",
468
+ "10": "var(--_17h2n96c4)"
456
469
  },
457
470
  fontSizes: {
458
- "0": "var(--_17h2n96bs)",
459
- "1": "var(--_17h2n96bt)",
460
- "2": "var(--_17h2n96bu)",
461
- "3": "var(--_17h2n96bv)",
462
- "4": "var(--_17h2n96bw)",
463
- "5": "var(--_17h2n96bx)",
464
- "6": "var(--_17h2n96by)",
465
- "7": "var(--_17h2n96bz)",
466
- "8": "var(--_17h2n96c0)",
467
- "9": "var(--_17h2n96c1)",
468
- "10": "var(--_17h2n96c2)",
469
- "11": "var(--_17h2n96c3)",
470
- "12": "var(--_17h2n96c4)"
471
+ "0": "var(--_17h2n96c5)",
472
+ "1": "var(--_17h2n96c6)",
473
+ "2": "var(--_17h2n96c7)",
474
+ "3": "var(--_17h2n96c8)",
475
+ "4": "var(--_17h2n96c9)",
476
+ "5": "var(--_17h2n96ca)",
477
+ "6": "var(--_17h2n96cb)",
478
+ "7": "var(--_17h2n96cc)",
479
+ "8": "var(--_17h2n96cd)",
480
+ "9": "var(--_17h2n96ce)",
481
+ "10": "var(--_17h2n96cf)",
482
+ "11": "var(--_17h2n96cg)",
483
+ "12": "var(--_17h2n96ch)"
471
484
  },
472
485
  fontWeights: {
473
- light: "var(--_17h2n96c5)",
474
- regular: "var(--_17h2n96c6)",
475
- medium: "var(--_17h2n96c7)",
476
- semiBold: "var(--_17h2n96c8)",
477
- bold: "var(--_17h2n96c9)"
486
+ light: "var(--_17h2n96ci)",
487
+ regular: "var(--_17h2n96cj)",
488
+ medium: "var(--_17h2n96ck)",
489
+ semiBold: "var(--_17h2n96cl)",
490
+ bold: "var(--_17h2n96cm)"
478
491
  },
479
492
  radii: {
480
- "1": "var(--_17h2n96ca)",
481
- "2": "var(--_17h2n96cb)",
482
- "3": "var(--_17h2n96cc)",
483
- "4": "var(--_17h2n96cd)",
484
- round: "var(--_17h2n96ce)",
485
- pill: "var(--_17h2n96cf)",
486
- button: "var(--_17h2n96cg)"
493
+ "1": "var(--_17h2n96cn)",
494
+ "2": "var(--_17h2n96co)",
495
+ "3": "var(--_17h2n96cp)",
496
+ "4": "var(--_17h2n96cq)",
497
+ round: "var(--_17h2n96cr)",
498
+ pill: "var(--_17h2n96cs)",
499
+ button: "var(--_17h2n96ct)"
487
500
  },
488
501
  zIndices: {
489
- "1": "var(--_17h2n96ch)",
490
- "2": "var(--_17h2n96ci)",
491
- "3": "var(--_17h2n96cj)",
492
- "4": "var(--_17h2n96ck)",
493
- max: "var(--_17h2n96cl)"
502
+ "1": "var(--_17h2n96cu)",
503
+ "2": "var(--_17h2n96cv)",
504
+ "3": "var(--_17h2n96cw)",
505
+ "4": "var(--_17h2n96cx)",
506
+ max: "var(--_17h2n96cy)"
494
507
  }
495
508
  };
496
509
  exports.tokens = tokens;