@pstdio/ui 0.40.0 → 0.41.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 (83) hide show
  1. package/dist/{MermaidComponent-81jr28u4.js → MermaidComponent-BCiI63_G.js} +3 -3
  2. package/dist/{MermaidComponent-81jr28u4.js.map → MermaidComponent-BCiI63_G.js.map} +1 -1
  3. package/dist/chat-question-bubble-w2vMbFsS.js +68 -0
  4. package/dist/chat-question-bubble-w2vMbFsS.js.map +1 -0
  5. package/dist/chat-ui.d.ts +96 -21
  6. package/dist/chat-ui.js +2091 -1441
  7. package/dist/chat-ui.js.map +1 -1
  8. package/dist/{data-table-stats-row-CpRe_xK2.js → data-table-stats-row-EiTEONdY.js} +2 -2
  9. package/dist/{data-table-stats-row-CpRe_xK2.js.map → data-table-stats-row-EiTEONdY.js.map} +1 -1
  10. package/dist/data-table.d.ts +27 -7
  11. package/dist/data-table.js +1035 -872
  12. package/dist/data-table.js.map +1 -1
  13. package/dist/diff-bubble-DewUd_2w.js +61 -0
  14. package/dist/diff-bubble-DewUd_2w.js.map +1 -0
  15. package/dist/{diff-drawer-45rpk3aq.js → diff-drawer-BwZBOObe.js} +106 -85
  16. package/dist/diff-drawer-BwZBOObe.js.map +1 -0
  17. package/dist/diff-viewer-kOOd7C7h.js +574 -0
  18. package/dist/diff-viewer-kOOd7C7h.js.map +1 -0
  19. package/dist/diff.d.ts +11 -0
  20. package/dist/diff.js +107 -98
  21. package/dist/diff.js.map +1 -1
  22. package/dist/display-sort-control-DPxc0e5z.js +587 -0
  23. package/dist/display-sort-control-DPxc0e5z.js.map +1 -0
  24. package/dist/{workspace-badge-Brm3Xr3m.d.ts → host-storage-DP0RLj4i.d.ts} +15 -1
  25. package/dist/{index-Bfddrlz8.d.ts → index-C9mywhyX.d.ts} +50 -14
  26. package/dist/index-D3UJyWWh.d.ts +501 -0
  27. package/dist/{index-CbtbcvKm.d.ts → index-DlmvvQ6x.d.ts} +1 -1
  28. package/dist/index.d.ts +44 -19
  29. package/dist/index.js +941 -908
  30. package/dist/index.js.map +1 -1
  31. package/dist/kanban-renderer.d.ts +2 -326
  32. package/dist/kanban-renderer.js +991 -610
  33. package/dist/kanban-renderer.js.map +1 -1
  34. package/dist/list-row-DM0DiIrN.js +1167 -0
  35. package/dist/list-row-DM0DiIrN.js.map +1 -0
  36. package/dist/{mermaid-renderer-DImi0fDp.js → mermaid-renderer-0PmNkOXI.js} +29 -29
  37. package/dist/mermaid-renderer-0PmNkOXI.js.map +1 -0
  38. package/dist/mermaid.js +1 -1
  39. package/dist/param-editor.js +2 -3
  40. package/dist/prism-JVIsQMoJ.js +1029 -0
  41. package/dist/prism-JVIsQMoJ.js.map +1 -0
  42. package/dist/{resource-badge-95WPVlZf.d.ts → resource-badge-nOWPqxFU.d.ts} +1 -0
  43. package/dist/rich-text-DM24VNQZ.js +10447 -0
  44. package/dist/rich-text-DM24VNQZ.js.map +1 -0
  45. package/dist/rich-text.d.ts +2 -2
  46. package/dist/rich-text.js +2 -2
  47. package/dist/style.css +1 -1
  48. package/dist/terminal.d.ts +5 -63
  49. package/dist/terminal.js +102 -122
  50. package/dist/terminal.js.map +1 -1
  51. package/dist/{theme-CbmSEbRF.js → theme-at0rtSnX.js} +435 -245
  52. package/dist/theme-at0rtSnX.js.map +1 -0
  53. package/dist/theme-kKuLN2jb.js +80 -0
  54. package/dist/theme-kKuLN2jb.js.map +1 -0
  55. package/dist/theme-preference-BV4cbJNB.js +115 -0
  56. package/dist/theme-preference-BV4cbJNB.js.map +1 -0
  57. package/dist/theme.js +3 -2
  58. package/dist/{tree-list-BNZwjQZA.js → tree-list-Cqgl8mnN.js} +255 -250
  59. package/dist/tree-list-Cqgl8mnN.js.map +1 -0
  60. package/package.json +4 -4
  61. package/dist/diff-bubble-DZsarmSG.js +0 -61
  62. package/dist/diff-bubble-DZsarmSG.js.map +0 -1
  63. package/dist/diff-drawer-45rpk3aq.js.map +0 -1
  64. package/dist/diff-viewer-BP_mI6Wx.js +0 -558
  65. package/dist/diff-viewer-BP_mI6Wx.js.map +0 -1
  66. package/dist/list-row-uqD-q4gv.js +0 -1018
  67. package/dist/list-row-uqD-q4gv.js.map +0 -1
  68. package/dist/mermaid-renderer-DImi0fDp.js.map +0 -1
  69. package/dist/param-editor-BQd4AOUP.js +0 -225
  70. package/dist/param-editor-BQd4AOUP.js.map +0 -1
  71. package/dist/param-editor-field-BJ_rLUnV.js +0 -2385
  72. package/dist/param-editor-field-BJ_rLUnV.js.map +0 -1
  73. package/dist/prism-BStPsJSB.js +0 -658
  74. package/dist/prism-BStPsJSB.js.map +0 -1
  75. package/dist/rich-text-VYAmEigU.js +0 -6979
  76. package/dist/rich-text-VYAmEigU.js.map +0 -1
  77. package/dist/slider-hwHYe98I.js +0 -423
  78. package/dist/slider-hwHYe98I.js.map +0 -1
  79. package/dist/theme-CbmSEbRF.js.map +0 -1
  80. package/dist/theme-preference-pzfuK5cH.js +0 -101
  81. package/dist/theme-preference-pzfuK5cH.js.map +0 -1
  82. package/dist/tree-list-BNZwjQZA.js.map +0 -1
  83. package/dist/types-DWA3enV6.d.ts +0 -182
@@ -1 +0,0 @@
1
- {"version":3,"file":"theme-CbmSEbRF.js","names":["defineSlotRecipe","windowTitleBarRecipe","className","slots","base","root","position","flexShrink","width","height","bg","color","userSelect","WebkitAppRegion","content","display","alignItems","gap","minWidth","paddingInline","variants","controls","mac","paddingInlineStart","overlay","marginLeft","defaultVariants","windowTabsRecipe","list","overflowX","scrollbarWidth","tab","flex","maxWidth","borderRadius","borderWidth","borderColor","_selected","_hover","_dragging","zIndex","trigger","paddingInlineEnd","cursor","textStyle","focusVisibleRing","touchAction","_icon","label","overflow","textOverflow","whiteSpace","close","justifyContent","marginInlineEnd","ThemePreferenceMode","ThemePreferenceOption","VsCodeColorTheme","colors","Record","tokenColors","VsCodeTokenColor","scope","settings","foreground","fontStyle","MonacoThemeData","base","inherit","rules","token","tokenMap","focusBorder","descriptionForeground","disabledForeground","border","getVsCodeTokenPath","stripHash","value","replace","createMonacoThemeFromVsCodeTheme","input","mode","theme","flatMap","tokenColor","scopes","Array","isArray","map","createThemePreferenceFromVsCodeTheme","id","tokens","vsCodeToken","Object","entries","tokenPaths","tokenPath","monacoTheme","globalCss","bg","base","_dark","color","html","height","width","overflow","hr","borderColor","body","fontFamily","fontWeight","fontSize","display","zIndex","from","opacity","transform","to","blacks","DEFAULT","value","blue","sapphire","pink","peach","red","orange","yellow","green","teal","cyan","purple","sand","neutral","mint","colors","windowControl","close","minimize","zoom","blue","orange","fonts","display","value","brand","heading","label","body","fontSizes","xs","sm","md","lg","xl","fontWeights","regular","medium","semibold","bold","sp","spacing","value","none","xs","compact","sm","comfortable","md","lg","xl","sizes","borderWidths","selection","radii","full","defineSlotRecipe","alertAnatomy","alertSlotRecipe","slots","keys","base","root","px","py","gap","borderRadius","alignItems","minH","indicator","mt","content","title","textStyle","description","compoundVariants","status","variant","css","bg","color","defineRecipe","badgeRecipe","className","base","display","alignItems","borderRadius","gap","fontWeight","fontVariantNumeric","whiteSpace","userSelect","variants","variant","solid","bg","color","subtle","number","justifyContent","chip","borderWidth","borderColor","outline","shadow","shadowColor","plain","size","xs","textStyle","px","minH","sm","md","lg","defaultVariants","defineRecipe","buttonRecipe","base","borderRadius","transition","fontFamily","fontWeight","color","bg","borderColor","_disabled","opacity","_hover","_loading","variants","variant","outline","border","_active","textDecoration","primary","destructive","_expanded","ghost","subtle","size","px","h","minW","textStyle","_icon","width","height","xs","lg","md","sm","defaultVariants","defineSlotRecipe","colorPickerAnatomy","interactiveBorderColor","colorPickerSlotRecipe","slots","keys","base","control","display","alignItems","width","minW","h","bg","color","border","borderColor","borderRadius","overflow","transition","outline","boxShadow","_hover","_active","_focusWithin","borderInlineStartWidth","channelInput","flex","px","borderInlineEndWidth","textStyle","_focusVisible","trigger","minH","maxH","alignSelf","content","p","borderWidth","swatch","swatchTrigger","outlineColor","variants","size","xs","sm","defaultVariants","interactiveBorderColor","defineSlotRecipe","dialogAnatomy","dialogSlotRecipe","slots","keys","base","title","textStyle","content","bg","borderRadius","borderWidth","borderColor","overflow","defineRecipe","dividerRecipe","base","borderColor","defineSlotRecipe","drawerAnatomy","parts","drawerSlotRecipe","slots","keys","base","header","fontWeight","textStyle","p","content","bg","parts","defineSlotRecipe","editableSlotRecipe","slots","const","base","preview","textStyle","borderRadius","focusRingColor","py","lineHeight","transitionProperty","transitionDuration","_hover","bg","input","width","_focusVisible","outline","outlineColor","outlineOffset","_placeholder","color","textarea","variants","size","sm","md","lg","defineSlotRecipe","folderPickerSlotRecipe","slots","base","content","width","height","maxWidth","maxHeight","header","display","flex","px","py","alignItems","body","flexDirection","gap","p","minHeight","navigation","flexShrink","navigationButton","minWidth","path","textStyle","filter","boxSize","creation","list","rows","footer","defineSlotRecipe","fieldsetAnatomy","fieldsetSlotRecipe","slots","keys","base","legend","mb","defineRecipe","interactiveBorderColor","inputRecipe","base","px","borderRadius","transition","bg","color","border","borderColor","outline","boxShadow","_hover","_active","_focus","_focusVisible","_placeholder","variants","variant","borderless","size","h","textStyle","xs","sm","md","lg","defaultVariants","interactiveBorderColor","defineRecipe","kbdRecipe","base","display","alignItems","justifyContent","flexShrink","minW","px","borderRadius","borderWidth","borderStyle","fontFamily","fontWeight","lineHeight","userSelect","whiteSpace","wordSpacing","variants","variant","raised","color","bg","borderColor","borderBottomWidth","outline","subtle","plain","size","sm","height","textStyle","md","lg","defaultVariants","defineSlotRecipe","menuAnatomy","menuSlotRecipe","slots","keys","base","itemGroupLabel","ml","textStyle","fontWeight","color","item","width","minWidth","maxWidth","minH","h","display","alignItems","justifyContent","gap","px","py","borderRadius","bg","cursor","overflow","textAlign","textDecoration","_hover","_highlighted","_focusVisible","_checked","_selected","_disabled","itemIndicator","marginInlineStart","order","flexShrink","separator","my","borderColor","content","flexDirection","p","borderWidth","borderStyle","variants","variant","panel","defineSlotRecipe","numberInputAnatomy","restingBorderColor","interactiveBorderColor","numberInputSlotRecipe","slots","keys","base","root","position","zIndex","isolation","boxShadow","input","px","pe","borderRadius","transition","bg","color","borderWidth","borderStyle","borderColor","outline","_hover","_active","_focus","_focusVisible","_placeholder","control","display","flexDirection","top","insetEnd","margin","width","height","borderStartWidth","borderStartColor","divideY","overflow","incrementTrigger","alignItems","justifyContent","flex","minH","lineHeight","borderTopEndRadius","decrementTrigger","borderBottomEndRadius","variants","variant","size","h","textStyle","fontSize","xs","sm","md","lg","defaultVariants","interactiveBorderColor","defineSlotRecipe","popoverAnatomy","popoverRecipe","slots","keys","base","positioner","_focus","outline","closeTrigger","textStyle","color","arrow","bg","borderColor","content","gap","py","borderRadius","borderWidth","borderStyle","title","borderBottom","body","footer","variants","variant","responsive","width","size","progressCircleSlotRecipe","baseProgressCircleSlotRecipe","baseSizeVariants","variants","size","circle","valueText","textStyle","baseProgressCircleSlotRecipe","progressCircleSlotRecipe","defineSlotRecipe","stackedPanels","root","flexDirection","height","overflow","gap","resizablePanel","display","width","flex","contentPanel","separator","const","resizableSplitLayoutSlotRecipe","slots","base","minWidth","minHeight","variants","orientation","horizontal","vertical","layout","split","stacked","content","defaultVariants","defineRecipe","skeletonRecipe","base","defineSlotRecipe","switchAnatomy","switchSlotRecipe","slots","keys","base","control","alignItems","bg","borderWidth","borderColor","borderRadius","color","boxShadow","transition","_hover","_active","_focusVisible","outline","_checked","thumb","variants","variant","solid","defineSlotRecipe","tabsAnatomy","tabsSlotRecipe","slots","keys","base","root","list","maxW","gap","alignItems","justifyContent","borderBottom","_horizontal","_before","borderBottomWidth","trigger","flexShrink","overflow","flex","minW","whiteSpace","textOverflow","py","borderRadius","borderWidth","borderColor","color","bg","_selected","_hover","_disabled","variants","size","xs","h","px","textStyle","_icon","width","height","sm","md","tray","true","paddingX","paddingBottom","borderBottomColor","variant","subtle","defaultVariants","defineRecipe","interactiveBorderColor","textareaRecipe","base","paddingX","paddingY","opacity","outline","boxShadow","color","border","borderRadius","transition","borderColor","_hover","_active","_focus","_focusVisible","_placeholder","variants","variant","bg","size","textStyle","xs","sm","md","lg","defaultVariants","defineSlotRecipe","timelineAnatomy","timelineSlotRecipe","slots","keys","base","root","display","flexDirection","width","item","position","alignItems","flexShrink","gap","_last","separator","borderStartWidth","ms","insetInlineStart","insetBlock","borderColor","indicator","outline","boxSize","fontSize","justifyContent","borderRadius","fontWeight","bg","color","connector","alignSelf","content","paddingBottom","title","flexWrap","mt","description","textStyle","variants","variant","tool","minWidth","whiteSpace","solid","subtle","borderWidth","plain","showLastSeparator","true","false","size","sm","md","lg","xl","defaultVariants","defineSlotRecipe","tooltipAnatomy","tooltipRecipe","slots","keys","base","content","bg","borderRadius","color","defaultConfig","SystemConfig","shadowStyleKeys","Set","shadowPattern","ThemeConfig","NonNullable","ShadowStyleTransformer","value","stripShadowTransitionParts","test","transitionParts","split","map","part","trim","filter","length","undefined","join","stripShadowStyles","Array","isArray","entry","Object","fromEntries","entries","flatMap","key","has","nextEntry","stripShadowTokens","Record","tokens","T","shadows","_shadows","tokensWithoutShadows","REMOVED_RECIPE_VARIANTS","badge","button","const","stripRemovedRecipeVariants","recipes","nextRecipes","recipeName","removedVariants","recipe","typedRecipe","variants","variant","removedVariantSet","variantsWithoutRemovedEntries","variantName","shadowlessDefaultConfig","theme","semanticTokens","slotRecipes","layerStyles","animationStyles","borders","DEFAULT","value","subtle","inverted","accent","vis","text","primary","value","_light","_dark","secondary","grid","axis","categorical","sequential","blue","default","red","bg","DEFAULT","value","_light","_dark","muted","subtle","hover","active","info","warning","success","error","code","emphasized","elevated","inverted","panel","dark","white","button","primary","default","pressed","disabled","focus","selected","display","light","medium","vis","bg","fg","DEFAULT","value","_light","_dark","muted","subtle","inverted","info","warning","success","error","accent","button","primary","default","disabled","secondary","border","blue","orange","contrast","emphasized","solid","focusRing","text","selectable","semanticColors","defineLayerStyles","layerStyles","floatingBar","value","paddingInline","paddingBlock","borderRadius","bg","border","borderColor","boxShadow","panel","borderWidth","overflow","dropZone","idle","borderStyle","active","modal","defineTextStyles","textStyles","value","fontFamily","fontSize","fontWeight","lineHeight","brand","letterSpacing","textDecoration","textTransform","color","fontStyle","Parameters","createSystem","defineConfig","globalCss","colors","fontSizes","fonts","fontWeights","borderWidths","radii","sizes","spacing","alertSlotRecipe","badgeRecipe","buttonRecipe","colorPickerSlotRecipe","dialogSlotRecipe","dividerRecipe","drawerSlotRecipe","editableSlotRecipe","folderPickerSlotRecipe","fieldsetSlotRecipe","inputRecipe","kbdRecipe","menuSlotRecipe","numberInputSlotRecipe","popoverRecipe","progressCircleSlotRecipe","resizableSplitLayoutSlotRecipe","skeletonRecipe","switchSlotRecipe","tabsSlotRecipe","textareaRecipe","timelineSlotRecipe","tooltipRecipe","windowTabsRecipe","windowTitleBarRecipe","shadowlessDefaultConfig","borders","semanticColors","layerStyles","textStyles","config","utilities","WebkitAppRegion","values","transform","value","theme","breakpoints","recipes","badge","button","divider","input","kbd","skeleton","textarea","tokens","semanticTokens","slotRecipes","windowTitleBar","windowTabs","resizableSplitLayout","alert","colorPicker","drawer","tooltip","popover","menu","numberInput","editable","form","dialog","folderPicker","progressCircle","switch","tabs","timeline","progressCircleSlotRecipe","windowTitleBarRecipe","defineSlotRecipe","windowTabsRecipe","tokenMap","getVsCodeTokenPath","token","stripHash","value","createMonacoThemeFromVsCodeTheme","rules","input","tokenColor","scope","createThemePreferenceFromVsCodeTheme","tokens","colors","vsCodeToken","tokenPaths","tokenPath","globalCss","fonts","fontSizes","fontWeights","sp","spacing","sizes","borderWidths","radii","alertSlotRecipe","alertAnatomy","badgeRecipe","defineRecipe","buttonRecipe","interactiveBorderColor$3","colorPickerSlotRecipe","colorPickerAnatomy","dialogSlotRecipe","dialogAnatomy","dividerRecipe","drawerSlotRecipe","drawerAnatomy","editableSlotRecipe","folderPickerSlotRecipe","fieldsetSlotRecipe","fieldsetAnatomy","interactiveBorderColor$2","inputRecipe","kbdRecipe","menuSlotRecipe","menuAnatomy","restingBorderColor","interactiveBorderColor$1","numberInputSlotRecipe","numberInputAnatomy","popoverRecipe","popoverAnatomy","baseSizeVariants","progressCircleSlotRecipe","progressCircleSlotRecipe$1","stackedPanels","resizableSplitLayoutSlotRecipe","skeletonRecipe","switchSlotRecipe","switchAnatomy","tabsSlotRecipe","tabsAnatomy","interactiveBorderColor","textareaRecipe","timelineSlotRecipe","timelineAnatomy","tooltipRecipe","tooltipAnatomy","shadowStyleKeys","shadowPattern","stripShadowTransitionParts","transitionParts","part","stripShadowStyles","entry","key","nextEntry","stripShadowTokens","_shadows","tokensWithoutShadows","REMOVED_RECIPE_VARIANTS","stripRemovedRecipeVariants","nextRecipes","recipes","recipeName","removedVariants","recipe","typedRecipe","variants","variant","removedVariantSet","variantsWithoutRemovedEntries","variantName","shadowlessDefaultConfig","defaultConfig","borders","semanticColors","layerStyles","defineLayerStyles","textStyles","defineTextStyles","config","defineConfig","theme_default","createSystem"],"sources":["../src/theme/recipes/window-title-bar.ts","../src/theme/custom/vscode-theme.ts","../src/theme/global.ts","../src/theme/primitives/colors.ts","../src/theme/primitives/fonts.ts","../src/theme/primitives/sizes.ts","../src/theme/recipes/alert.ts","../src/theme/recipes/badge.ts","../src/theme/recipes/button.ts","../src/theme/recipes/color-picker.ts","../src/theme/recipes/dialog.ts","../src/theme/recipes/divider.ts","../src/theme/recipes/drawer.ts","../src/theme/recipes/editable.ts","../src/theme/recipes/folder-picker.ts","../src/theme/recipes/form.ts","../src/theme/recipes/input.ts","../src/theme/recipes/kbd.ts","../src/theme/recipes/menu.ts","../src/theme/recipes/number-input.ts","../src/theme/recipes/popover.ts","../src/theme/recipes/progress-circle.ts","../src/theme/recipes/resizable-split-layout.ts","../src/theme/recipes/skeleton.ts","../src/theme/recipes/switch.ts","../src/theme/recipes/tabs.ts","../src/theme/recipes/textarea.ts","../src/theme/recipes/timeline.ts","../src/theme/recipes/tooltip.ts","../src/theme/shadowless-default-config.ts","../src/theme/tokens/borders.ts","../src/theme/tokens/colors-visualization.ts","../src/theme/tokens/colors-background.ts","../src/theme/tokens/colors.ts","../src/theme/tokens/layer-styles.ts","../src/theme/tokens/text.ts","../src/theme/theme.ts"],"sourcesContent":["import { defineSlotRecipe } from \"@chakra-ui/react\";\n\nexport const windowTitleBarRecipe = defineSlotRecipe({\n className: \"ps-window-title-bar\",\n slots: [\"root\", \"content\"],\n base: {\n root: {\n position: \"relative\",\n flexShrink: 0,\n width: \"full\",\n height: \"window-title-bar\",\n bg: \"bg\",\n color: \"fg\",\n userSelect: \"none\",\n WebkitAppRegion: \"drag\",\n },\n content: {\n display: \"flex\",\n alignItems: \"center\",\n gap: \"xs\",\n height: \"full\",\n minWidth: 0,\n paddingInline: \"compact\",\n \"& button, & a, & input, & [role=tab]\": { WebkitAppRegion: \"no-drag\" },\n },\n },\n variants: {\n controls: {\n mac: {\n content: {\n paddingInlineStart: \"window-controls-mac\",\n \"[data-window-full-screen] &\": { paddingInlineStart: \"compact\" },\n },\n },\n overlay: { content: { marginLeft: \"env(titlebar-area-x, 0px)\", width: \"env(titlebar-area-width, 100%)\" } },\n },\n },\n defaultVariants: { controls: \"overlay\" },\n});\n\nexport const windowTabsRecipe = defineSlotRecipe({\n className: \"ps-window-tabs\",\n slots: [\"list\", \"tab\", \"trigger\", \"label\", \"close\"],\n base: {\n list: { display: \"flex\", alignItems: \"center\", gap: \"2xs\", minWidth: 0, overflowX: \"auto\", scrollbarWidth: \"none\" },\n tab: {\n position: \"relative\",\n display: \"flex\",\n alignItems: \"center\",\n flex: \"1 1 0\",\n minWidth: \"window-tab-min\",\n height: \"window-tab\",\n maxWidth: \"fit-content\",\n borderRadius: \"xs\",\n borderWidth: \"1px\",\n borderColor: \"border\",\n color: \"fg.muted\",\n bg: \"transparent\",\n _selected: { bg: \"bg.muted\", color: \"fg\" },\n _hover: { bg: \"bg.hover\", color: \"fg\" },\n _dragging: { bg: \"bg.hover\", color: \"fg\", zIndex: \"docked\" },\n WebkitAppRegion: \"no-drag\",\n },\n trigger: {\n display: \"flex\",\n alignItems: \"center\",\n gap: \"window-tab-gap\",\n minWidth: 0,\n height: \"full\",\n paddingInlineStart: \"compact\",\n paddingInlineEnd: \"window-tab-gap\",\n cursor: \"pointer\",\n textStyle: \"label/S/medium\",\n borderRadius: \"xs\",\n focusVisibleRing: \"inside\",\n WebkitAppRegion: \"no-drag\",\n touchAction: \"none\",\n _icon: { width: \"icon-xs\", height: \"icon-xs\", flexShrink: 0 },\n },\n label: {\n minWidth: 0,\n maxWidth: \"window-tab-label-max\",\n overflow: \"hidden\",\n textOverflow: \"ellipsis\",\n whiteSpace: \"nowrap\",\n },\n close: {\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n flexShrink: 0,\n width: \"window-tab-close\",\n height: \"window-tab-close\",\n marginInlineEnd: \"compact\",\n color: \"fg.muted\",\n borderRadius: \"2xs\",\n cursor: \"pointer\",\n focusVisibleRing: \"outside\",\n WebkitAppRegion: \"no-drag\",\n _hover: { bg: \"bg.active\", color: \"fg\" },\n _icon: { width: \"full\", height: \"full\" },\n },\n },\n});\n","import type { ThemePreferenceMode, ThemePreferenceOption } from \"../../utils/apply-theme-preference\";\n\nexport interface VsCodeColorTheme {\n colors?: Record<string, string>;\n tokenColors?: VsCodeTokenColor[];\n}\n\ninterface VsCodeTokenColor {\n scope?: string | string[];\n settings?: {\n foreground?: string;\n fontStyle?: string;\n };\n}\n\nexport interface MonacoThemeData {\n base: \"vs\" | \"vs-dark\";\n inherit: true;\n rules: { token: string; foreground?: string; fontStyle?: string }[];\n colors: Record<string, string>;\n}\n\nconst tokenMap = {\n \"editor.background\": [\"colors.bg\", \"colors.bg.code\"],\n \"editor.foreground\": [\"colors.fg\"],\n \"editor.lineHighlightBackground\": [\"colors.bg.hover\"],\n \"editor.selectionBackground\": [\"colors.bg.active\"],\n \"editorWidget.background\": [\"colors.bg.panel\"],\n \"sideBar.background\": [\"colors.bg.panel\"],\n \"panel.background\": [\"colors.bg.panel\"],\n \"input.background\": [\"colors.bg.subtle\"],\n \"input.foreground\": [\"colors.fg\"],\n \"input.border\": [\"colors.border\"],\n \"dropdown.background\": [\"colors.bg.panel\"],\n \"menu.background\": [\"colors.bg.panel\", \"colors.bg.menu-item.default\"],\n \"menu.foreground\": [\"colors.fg.menu-item.default\"],\n \"menu.selectionBackground\": [\n \"colors.bg.menu-item.hover\",\n \"colors.bg.menu-item.focus\",\n \"colors.bg.menu-item.selected\",\n ],\n \"list.hoverBackground\": [\"colors.bg.menu-item.hover\", \"colors.bg.menu-item.focus\"],\n \"list.focusBackground\": [\"colors.bg.menu-item.focus\"],\n \"list.inactiveSelectionBackground\": [\"colors.bg.menu-item.selected\"],\n \"list.activeSelectionBackground\": [\"colors.bg.menu-item.selected\"],\n \"badge.background\": [\"colors.bg.muted\"],\n \"badge.foreground\": [\"colors.fg.muted\"],\n \"button.background\": [\"colors.bg.button.primary.default\", \"colors.bg.accent-primary.default\"],\n \"button.hoverBackground\": [\"colors.bg.button.primary.hover\", \"colors.bg.accent-primary.hover\"],\n \"button.foreground\": [\"colors.fg.button.primary.default\"],\n \"diffEditor.insertedTextBackground\": [\"colors.bg.success\"],\n \"diffEditor.removedTextBackground\": [\"colors.bg.error\"],\n focusBorder: [\"colors.border.accent\"],\n foreground: [\"colors.fg\"],\n \"gitDecoration.addedResourceForeground\": [\"colors.fg.success\"],\n \"gitDecoration.deletedResourceForeground\": [\"colors.fg.error\"],\n descriptionForeground: [\"colors.fg.muted\"],\n disabledForeground: [\"colors.fg.subtle\"],\n border: [\"colors.border\", \"colors.border.subtle\"],\n} satisfies Record<string, string[]>;\n\nconst getVsCodeTokenPath = (token: string) => `colors.vscode.${token}`;\n\nconst stripHash = (value: string) => value.replace(/^#/, \"\");\n\nexport const createMonacoThemeFromVsCodeTheme = (input: {\n mode: ThemePreferenceMode;\n theme: VsCodeColorTheme;\n}): MonacoThemeData => {\n const rules = (input.theme.tokenColors ?? []).flatMap((tokenColor) => {\n const scopes = Array.isArray(tokenColor.scope) ? tokenColor.scope : tokenColor.scope ? [tokenColor.scope] : [];\n return scopes.map((scope) => ({\n token: scope,\n ...(tokenColor.settings?.foreground ? { foreground: stripHash(tokenColor.settings.foreground) } : {}),\n ...(tokenColor.settings?.fontStyle ? { fontStyle: tokenColor.settings.fontStyle } : {}),\n }));\n });\n\n return {\n base: input.mode === \"dark\" ? \"vs-dark\" : \"vs\",\n inherit: true,\n rules,\n colors: input.theme.colors ?? {},\n };\n};\n\nexport const createThemePreferenceFromVsCodeTheme = (input: {\n id: string;\n mode: ThemePreferenceMode;\n theme: VsCodeColorTheme;\n}): ThemePreferenceOption => {\n const tokens: Record<string, string> = {};\n const colors = input.theme.colors ?? {};\n\n for (const [vsCodeToken, value] of Object.entries(colors)) {\n tokens[getVsCodeTokenPath(vsCodeToken)] = value;\n }\n\n for (const [vsCodeToken, tokenPaths] of Object.entries(tokenMap)) {\n const value = colors[vsCodeToken];\n if (!value) continue;\n for (const tokenPath of tokenPaths) tokens[tokenPath] = value;\n }\n\n return {\n id: input.id,\n mode: input.mode,\n tokens,\n monacoTheme: createMonacoThemeFromVsCodeTheme({ mode: input.mode, theme: input.theme }),\n };\n};\n","export const globalCss = {\n \"*::selection\": {\n bg: {\n base: \"bg.accent-secondary.blue-medium\",\n _dark: \"bg.accent-secondary.blue-medium\",\n },\n color: {\n _dark: \"fg.inverted\",\n },\n },\n\n \":root\": {\n \"--focus-border\": \"border.accent-light\",\n \"--separator-border\": \"transparent !important\",\n },\n\n html: {\n height: \"100%\",\n width: \"100%\",\n overflow: \"hidden\",\n },\n\n hr: {\n borderColor: \"border.subtle\",\n },\n\n body: {\n height: \"100%\",\n width: \"100%\",\n fontFamily: \"body\",\n fontWeight: \"regular\",\n fontSize: \"md\",\n bg: \"bg\",\n color: \"fg\",\n borderColor: \"border\",\n overflow: \"hidden\",\n },\n\n \"#root\": {\n height: \"100%\",\n width: \"100%\",\n display: \"flex\",\n },\n\n \".sash\": {\n zIndex: \"docked\",\n },\n\n \"@keyframes message-fade-in\": {\n from: { opacity: 0, transform: \"translateY(4px)\" },\n to: { opacity: 1, transform: \"translateY(0)\" },\n },\n\n \"@media (min-width: 2560px)\": {\n html: { fontSize: \"1.25rem\" },\n },\n\n \"@media (min-width: 3840px)\": {\n html: { fontSize: \"1.5rem\" },\n },\n};\n","export const blacks = {\n DEFAULT: { value: \"#0A0D15\" },\n 50: { value: \"#FFFFFF\" },\n 75: { value: \"#FCFCFC\" },\n 100: { value: \"#F9F9F9\" },\n 200: { value: \"#F5F5F5\" },\n 300: { value: \"#EAEAEA\" },\n 400: { value: \"#C5C5C7\" },\n 450: { value: \"#9DA0A6\" },\n 500: { value: \"#797D83\" },\n 600: { value: \"#5A5F67\" },\n 700: { value: \"#444750\" },\n 750: { value: \"#33363E\" },\n 800: { value: \"#22252C\" },\n 850: { value: \"#1b2028\" },\n 900: { value: \"#0A0D15\" },\n 1000: { value: \"#000000\" },\n};\n\nexport const blue = {\n DEFAULT: { value: \"#5098FF\" },\n 50: { value: \"#EEF5FF\" },\n 100: { value: \"#D2E4FF\" },\n 200: { value: \"#A8CBFE\" },\n 300: { value: \"#81B4FE\" },\n 400: { value: \"#6CA9FF\" },\n 500: { value: \"#5098FF\" },\n 600: { value: \"#2B82FF\" },\n 700: { value: \"#0E6EF6\" },\n 800: { value: \"#0652C3\" },\n 900: { value: \"#002862\" },\n};\n\nexport const sapphire = {\n DEFAULT: { value: \"#3A4BE4\" },\n 25: { value: \"#F0F1FF\" },\n 50: { value: \"#E0E3FF\" },\n 100: { value: \"#BEC4FF\" },\n 200: { value: \"#97A2FF\" },\n 300: { value: \"#6A78F8\" },\n 400: { value: \"#4E5FF3\" },\n 500: { value: \"#3A4BE4\" },\n 600: { value: \"#2A3CD7\" },\n 700: { value: \"#202FB8\" },\n 800: { value: \"#131F87\" },\n 900: { value: \"#0A125A\" },\n};\n\nexport const pink = {\n DEFAULT: { value: \"#E054EC\" },\n 25: { value: \"#FDF0FF\" },\n 50: { value: \"#FCE1FF\" },\n 100: { value: \"#F5CBF9\" },\n 200: { value: \"#F6B4FC\" },\n 300: { value: \"#F69AFF\" },\n 400: { value: \"#EF81FA\" },\n 500: { value: \"#E054EC\" },\n 600: { value: \"#B636C1\" },\n 700: { value: \"#951BA0\" },\n 800: { value: \"#6F0C78\" },\n 900: { value: \"#520659\" },\n};\n\nexport const peach = {\n DEFAULT: { value: \"#FBD8CE\" },\n 50: { value: \"#FFF2EC\" },\n 100: { value: \"#FCE1DA\" },\n 200: { value: \"#FBD8CE\" },\n 300: { value: \"#F7C4B8\" },\n 400: { value: \"#F3AA9A\" },\n 500: { value: \"#EB8A75\" },\n 600: { value: \"#D17059\" },\n 700: { value: \"#A85646\" },\n 800: { value: \"#7B3F34\" },\n 900: { value: \"#522923\" },\n};\n\nexport const red = {\n DEFAULT: { value: \"#FF3232\" },\n 50: { value: \"#FFE0E3\" },\n 100: { value: \"#FFCCCC\" },\n 200: { value: \"#FDA8A8\" },\n 300: { value: \"#FF8B8B\" },\n 400: { value: \"#FF6B6B\" },\n 500: { value: \"#FF3232\" },\n 600: { value: \"#DE1D1D\" },\n 700: { value: \"#BA1313\" },\n 800: { value: \"#8E0E0E\" },\n 900: { value: \"#580707\" },\n};\n\nexport const orange = {\n DEFAULT: { value: \"#F78C25\" },\n 50: { value: \"#FFF4E8\" },\n 100: { value: \"#FFE2C1\" },\n 200: { value: \"#FFC98E\" },\n 300: { value: \"#FFAD57\" },\n 400: { value: \"#F78C25\" },\n 500: { value: \"#E26F12\" },\n 600: { value: \"#C85D12\" },\n 700: { value: \"#A74810\" },\n 800: { value: \"#7E330C\" },\n 900: { value: \"#552107\" },\n};\n\nexport const yellow = {\n DEFAULT: { value: \"#FFD643\" },\n 50: { value: \"#FFF7D9\" },\n 75: { value: \"#FFF3C2\" },\n 100: { value: \"#FFEEB3\" },\n 150: { value: \"#FFE999\" },\n 200: { value: \"#FFE792\" },\n 300: { value: \"#FFDE67\" },\n 400: { value: \"#FFD643\" },\n 500: { value: \"#FFC909\" },\n 600: { value: \"#E4B200\" },\n 700: { value: \"#C69B00\" },\n 800: { value: \"#9D7A00\" },\n 900: { value: \"#644E00\" },\n};\n\nexport const green = {\n DEFAULT: { value: \"#2DD665\" },\n 50: { value: \"#CFFFDF\" },\n 100: { value: \"#ACFBC7\" },\n 200: { value: \"#86F3AB\" },\n 300: { value: \"#61EA8F\" },\n 400: { value: \"#2DD665\" },\n 500: { value: \"#0AB744\" },\n 600: { value: \"#029232\" },\n 700: { value: \"#007126\" },\n 800: { value: \"#00511B\" },\n 900: { value: \"#003110\" },\n};\n\nexport const teal = {\n DEFAULT: { value: \"#3EECC4\" },\n 50: { value: \"#C9FFF3\" },\n 100: { value: \"#9EFBE6\" },\n 200: { value: \"#6DF4D5\" },\n 300: { value: \"#3EECC4\" },\n 400: { value: \"#16DFB0\" },\n 500: { value: \"#12C69C\" },\n 600: { value: \"#10A884\" },\n 700: { value: \"#0C8367\" },\n 800: { value: \"#096C55\" },\n 900: { value: \"#024F3D\" },\n};\n\nexport const cyan = {\n DEFAULT: { value: \"#5CDCFF\" },\n 50: { value: \"#DAF7FE\" },\n 100: { value: \"#ADEDFF\" },\n 200: { value: \"#85E4FF\" },\n 300: { value: \"#5CDCFF\" },\n 400: { value: \"#30D2FF\" },\n 500: { value: \"#00C0F5\" },\n 600: { value: \"#03AAD7\" },\n 700: { value: \"#0095BE\" },\n 800: { value: \"#007A9B\" },\n 900: { value: \"#005B73\" },\n};\n\nexport const purple = {\n DEFAULT: { value: \"#8B47FF\" },\n 50: { value: \"#EFE6FF\" },\n 100: { value: \"#D8C2FF\" },\n 200: { value: \"#BE99FF\" },\n 300: { value: \"#A36DFF\" },\n 400: { value: \"#8B47FF\" },\n 500: { value: \"#7223F9\" },\n 600: { value: \"#5A00F5\" },\n 700: { value: \"#4600C0\" },\n 800: { value: \"#310086\" },\n 900: { value: \"#1E0050\" },\n};\n\nexport const sand = {\n DEFAULT: { value: \"#F4F2EC\" },\n 50: { value: \"#FCF7EF\" },\n 100: { value: \"#F4F2EC\" },\n 200: { value: \"#E8CECE\" },\n 300: { value: \"#E8CECE\" },\n 400: { value: \"#E8CECE\" },\n 500: { value: \"#E8CECE\" },\n 600: { value: \"#E8CECE\" },\n 700: { value: \"#E8CECE\" },\n 800: { value: \"#E8CECE\" },\n 900: { value: \"#E8CECE\" },\n};\n\nexport const neutral = {\n 50: { value: \"#FCFDFC\" },\n 75: { value: \"#F7F9F7\" },\n 100: { value: \"#F1F5F2\" },\n 200: { value: \"#EDF1EE\" },\n 300: { value: \"#E9EFEA\" },\n 400: { value: \"#DEE5DF\" },\n 500: { value: \"#CCD1CE\" },\n 600: { value: \"#404347\" },\n 700: { value: \"#31363C\" },\n 750: { value: \"#252A2F\" },\n 800: { value: \"#222A35\" },\n 850: { value: \"#1A202A\" },\n 900: { value: \"#141923\" },\n 950: { value: \"#10141B\" },\n};\n\nexport const mint = {\n 100: { value: \"#D3ECEE\" },\n 200: { value: \"#B3DEE2\" },\n};\n\nexport const colors = {\n windowControl: {\n close: { value: \"#FF5F57\" },\n minimize: { value: \"#FEBC2E\" },\n zoom: { value: \"#28C840\" },\n },\n sand,\n blacks,\n blue,\n sapphire,\n pink,\n peach,\n red,\n orange,\n yellow,\n green,\n teal,\n cyan,\n purple,\n neutral,\n mint,\n};\n","export const fonts = {\n display: { value: \"'Playfair Display', serif\" },\n brand: { value: \"Onest, sans-serif\" },\n heading: { value: \"Onest, sans-serif\" },\n label: { value: \"Onest, sans-serif\" },\n body: { value: \"Inter, sans-serif\" },\n};\n\nexport const fontSizes = {\n \"2xs\": { value: \"0.5rem\" }, // 8px\n xs: { value: \"0.625rem\" }, // 10px\n sm: { value: \"0.75rem\" }, // 12px\n md: { value: \"0.875rem\" }, // 14px\n lg: { value: \"1rem\" }, // 16px\n xl: { value: \"1.125rem\" }, // 18px\n \"2xl\": { value: \"1.25rem\" }, // 20px\n \"3xl\": { value: \"1.5rem\" }, // 24px\n \"3.5xl\": { value: \"1.75rem\" }, // 28px\n \"4xl\": { value: \"2.25rem\" }, // 36px\n \"5xl\": { value: \"3rem\" }, // 48px\n \"6xl\": { value: \"4.375rem\" }, // 70px\n \"7xl\": { value: \"5.25rem\" }, // 84px\n \"icon-xs\": { value: \"0.875rem\" }, // 14px\n \"icon-sm\": { value: \"1rem\" }, // 16px\n \"icon-md\": { value: \"1.25rem\" }, // 20px\n \"icon-lg\": { value: \"1.25rem\" }, // 20px\n};\n\nexport const fontWeights = {\n regular: { value: 400 },\n medium: { value: 500 },\n semibold: { value: 600 },\n bold: { value: 700 },\n};\n","export const sp = {\n 0: \"0rem\", // 0px\n 25: \"0.125rem\", // 2px\n 50: \"0.25rem\", // 4px\n 100: \"0.5rem\", // 8px\n 150: \"0.75rem\", // 12px\n 200: \"1rem\", // 16px\n 250: \"1.25rem\", // 20px\n 300: \"1.5rem\", // 24px\n 400: \"2rem\", // 32px\n 500: \"2.5rem\", // 40px\n 600: \"3rem\", // 48px\n 700: \"3.5rem\", // 56px\n 800: \"4rem\", // 64px\n 900: \"4.5rem\", // 72px\n 1000: \"5rem\", // 80px\n 1200: \"6rem\", // 96px\n 1600: \"8rem\", // 128px\n 2000: \"10rem\", // 160px\n 3000: \"15rem\", // 240px\n 4000: \"20rem\", // 320px\n};\n\nexport const spacing = {\n \"window-tab-gap\": { value: \"0.4375rem\" },\n \"window-controls-mac\": { value: \"5.625rem\" },\n none: { value: \"0\" },\n \"3xs\": { value: sp[25] },\n \"2xs\": { value: sp[50] },\n xs: { value: sp[100] },\n compact: { value: \"0.625rem\" },\n sm: { value: sp[150] },\n comfortable: { value: \"0.875rem\" },\n md: { value: sp[200] },\n lg: { value: sp[300] },\n xl: { value: sp[400] },\n \"2xl\": { value: sp[500] },\n \"3xl\": { value: sp[600] },\n \"3.5xl\": { value: sp[700] },\n \"4xl\": { value: sp[800] },\n \"4.5xl\": { value: sp[900] },\n \"5xl\": { value: sp[1600] },\n \"panel-gap\": { value: sp[50] },\n};\n\nexport const sizes = {\n \"folder-picker-width\": { value: \"36.5rem\" },\n \"folder-picker-height\": { value: \"31rem\" },\n \"folder-picker-header\": { value: \"3.25rem\" },\n \"panel-gap\": { value: sp[50] },\n \"window-title-bar\": { value: \"2.75rem\" },\n \"window-tab\": { value: \"1.75rem\" },\n \"window-tab-close\": { value: \"0.8125rem\" },\n \"tab-min\": { value: sp[600] },\n \"tab-label-max\": { value: \"8.875rem\" },\n \"window-tab-min\": { value: sp[800] },\n \"window-tab-label-max\": { value: \"11.0625rem\" },\n \"mobile-titlebar\": { value: \"3.25rem\" },\n \"collection-row\": { value: \"2.125rem\" },\n \"drop-indicator\": { value: sp[25] },\n \"tree-empty-drop-zone\": { value: \"1.75rem\" },\n \"filter-pill\": { value: sp[300] },\n \"icon-2xs\": { value: sp[150] },\n \"icon-xs\": { value: \"0.875rem\" },\n \"icon-sm\": { value: sp[200] },\n \"icon-md\": { value: sp[250] },\n \"tag-color-dot\": { value: sp[250] },\n \"tag-icon-cell\": { value: \"1.75rem\" },\n \"tag-picker\": { value: \"16.75rem\" },\n \"tag-picker-color-only\": { value: \"13.75rem\" },\n \"tag-swatch\": { value: \"1.625rem\" },\n \"tag-swatch-dot\": { value: \"0.625rem\" },\n \"tag-editor-row\": { value: sp[500] },\n \"tag-editor-add-row\": { value: \"2.25rem\" },\n \"tag-editor-lead\": { value: sp[600] },\n \"tag-editor-commands\": { value: \"11.875rem\" },\n \"tag-editor-trailing\": { value: \"1.625rem\" },\n \"segmented-control-sm\": { value: \"1.75rem\" },\n \"segmented-control-xs\": { value: sp[300] },\n \"segmented-control-item-sm\": { value: sp[300] },\n \"segmented-control-item-xs\": { value: sp[250] },\n \"tag-action-menu\": { value: sp[2000] },\n \"view-bar\": { value: sp[500] },\n \"view-subheader\": { value: \"2.25rem\" },\n};\n\nexport const borderWidths = {\n selection: { value: \"0.09375rem\" },\n};\n\nexport const radii = {\n none: { value: \"0\" },\n \"2xs\": { value: sp[25] },\n xs: { value: sp[50] },\n compact: { value: \"0.375rem\" },\n sm: { value: sp[100] },\n md: { value: sp[150] },\n lg: { value: sp[200] },\n xl: { value: sp[400] },\n full: { value: \"100%\" },\n};\n","import { defineSlotRecipe } from \"@chakra-ui/react\";\nimport { alertAnatomy } from \"@chakra-ui/react/anatomy\";\n\nexport const alertSlotRecipe = defineSlotRecipe({\n slots: alertAnatomy.keys(),\n base: {\n root: {\n px: \"xs\",\n py: \"2xs\",\n gap: \"2xs\",\n borderRadius: \"xs\",\n alignItems: \"flex-start\",\n minH: \"auto\",\n },\n indicator: {\n mt: \"0.0625rem\",\n },\n content: {\n gap: \"0\",\n },\n title: {\n textStyle: \"label/S/medium\",\n },\n description: {\n textStyle: \"paragraph/S/regular\",\n },\n },\n compoundVariants: [\n {\n status: \"info\",\n variant: \"subtle\",\n css: {\n root: {\n bg: \"bg.info\",\n color: \"fg.info\",\n },\n indicator: {\n color: \"fg.info\",\n },\n },\n },\n {\n status: \"success\",\n variant: \"subtle\",\n css: {\n root: {\n bg: \"bg.success\",\n color: \"fg.success\",\n },\n indicator: {\n color: \"fg.success\",\n },\n },\n },\n {\n status: \"warning\",\n variant: \"subtle\",\n css: {\n root: {\n bg: \"bg.warning\",\n color: \"fg.warning\",\n },\n indicator: {\n color: \"fg.warning\",\n },\n },\n },\n {\n status: \"error\",\n variant: \"subtle\",\n css: {\n root: {\n bg: \"bg.error\",\n color: \"fg.error\",\n },\n indicator: {\n color: \"fg.error\",\n },\n },\n },\n ],\n});\n","import { defineRecipe } from \"@chakra-ui/react\";\n\nexport const badgeRecipe = defineRecipe({\n className: \"chakra-badge\",\n base: {\n display: \"inline-flex\",\n alignItems: \"center\",\n borderRadius: \"9999px\",\n gap: \"1\",\n fontWeight: \"medium\",\n fontVariantNumeric: \"tabular-nums\",\n whiteSpace: \"nowrap\",\n userSelect: \"none\",\n },\n variants: {\n variant: {\n solid: {\n bg: \"colorPalette.solid\",\n color: \"colorPalette.contrast\",\n },\n subtle: {\n bg: \"colorPalette.subtle\",\n color: \"colorPalette.fg\",\n },\n number: {\n bg: \"colorPalette.subtle\",\n color: \"colorPalette.fg\",\n borderRadius: \"2xs\",\n justifyContent: \"center\",\n },\n chip: {\n bg: \"bg.subtle\",\n color: \"fg.muted\",\n borderWidth: \"1px\",\n borderColor: \"border\",\n borderRadius: \"xs\",\n fontWeight: \"normal\",\n },\n outline: {\n color: \"colorPalette.fg\",\n \"--outline-shadow-legacy\": \"colors.colorPalette.muted\",\n \"--outline-shadow\": \"colors.colorPalette.border\",\n shadow: \"inset 0 0 0px 1px var(--shadow-color)\",\n shadowColor: \"var(--outline-shadow, var(--outline-shadow-legacy))\",\n },\n plain: {\n color: \"colorPalette.fg\",\n },\n },\n size: {\n xs: {\n textStyle: \"2xs\",\n px: \"1\",\n minH: \"4\",\n },\n sm: {\n textStyle: \"xs\",\n px: \"1.5\",\n minH: \"5\",\n },\n md: {\n textStyle: \"sm\",\n px: \"2\",\n minH: \"6\",\n },\n lg: {\n textStyle: \"sm\",\n px: \"2.5\",\n minH: \"7\",\n },\n },\n },\n defaultVariants: {\n variant: \"subtle\",\n size: \"sm\",\n },\n});\n","import { defineRecipe } from \"@chakra-ui/react\";\n\nexport const buttonRecipe = defineRecipe({\n base: {\n borderRadius: \"xs\",\n transition: \"all 0.1s ease-in-out\",\n fontFamily: \"label\",\n fontWeight: \"500\",\n color: \"fg\",\n bg: \"bg\",\n borderColor: \"border\",\n _disabled: {\n opacity: 1,\n color: \"fg.subtle\",\n bg: \"bg.muted\",\n _hover: { bg: \"bg.muted\" },\n },\n _loading: {\n opacity: 1,\n color: \"fg.subtle\",\n bg: \"bg.muted\",\n _hover: { bg: \"bg.muted\" },\n },\n },\n variants: {\n variant: {\n \"display-primary\": {\n bg: \"blacks.900\",\n color: \"fg.inverted\",\n outline: \"none\",\n border: \"none\",\n _hover: { bg: \"blacks.800\" },\n },\n \"display-outline\": {\n bg: \"transparent\",\n color: \"fg\",\n border: \"2px solid {fg}\",\n _hover: { bg: \"bg.hover\" },\n _active: { bg: \"bg.active\" },\n },\n \"display-ghost\": {\n bg: \"transparent\",\n color: \"fg\",\n _hover: { bg: \"bg.hover\" },\n _active: { bg: \"bg.active\" },\n },\n \"display-link\": {\n bg: \"transparent\",\n color: \"fg\",\n border: \"none\",\n _hover: { textDecoration: \"underline\" },\n _active: { textDecoration: \"underline\" },\n },\n primary: {\n color: \"fg.button.primary.default\",\n bg: \"bg.button.primary.default\",\n border: \"none\",\n _hover: { bg: \"bg.button.primary.hover\" },\n _active: { bg: \"bg.button.primary.pressed\" },\n },\n destructive: {\n color: \"blacks.50\",\n bg: \"red.600\",\n border: \"none\",\n _hover: { \"&:not(:active, [data-active])\": { bg: \"red.700\" } },\n _active: { bg: \"red.800\" },\n },\n outline: {\n color: \"fg\",\n bg: \"bg\",\n border: \"border\",\n _hover: { bg: \"bg.hover\" },\n _active: { bg: \"bg.active\" },\n _expanded: { bg: \"bg.active\" },\n _disabled: {\n opacity: 1,\n color: \"fg.subtle\",\n borderColor: \"border\",\n },\n },\n ghost: {\n color: \"fg\",\n bg: \"transparent\",\n border: \"none\",\n _hover: { bg: \"bg.hover\" },\n _active: { bg: \"bg.active\" },\n _expanded: { bg: \"bg.active\" },\n \"&[aria-pressed=true]\": {\n bg: \"bg.active\",\n _hover: { bg: \"bg.active\" },\n },\n _disabled: {\n bg: \"transparent\",\n _hover: { bg: \"transparent\" },\n },\n },\n \"ghost-static\": {\n color: \"fg\",\n bg: \"transparent\",\n border: \"none\",\n _hover: { bg: \"transparent\" },\n _active: { bg: \"transparent\" },\n },\n subtle: {\n color: \"fg\",\n bg: \"bg.muted\",\n border: \"1px solid {border}\",\n _hover: { bg: \"bg.hover\" },\n _active: { bg: \"bg.active\" },\n _expanded: { bg: \"bg.active\" },\n _disabled: {\n opacity: 1,\n color: \"fg.subtle\",\n bg: \"bg.muted\",\n borderColor: \"border\",\n _hover: { bg: \"bg.muted\" },\n },\n },\n },\n size: {\n \"2xs\": {\n px: \"0.375rem\",\n h: \"1.5rem\",\n minW: \"1.5rem\",\n textStyle: \"label/XS\",\n _icon: {\n width: \"0.75rem\",\n height: \"0.75rem\",\n },\n },\n xs: {\n px: \"0.5rem\",\n h: \"1.75rem\",\n minW: \"1.75rem\",\n textStyle: \"label/XS\",\n _icon: {\n width: \"0.875rem\",\n height: \"0.875rem\",\n },\n },\n \"2xl\": {\n px: \"1.5rem\",\n h: \"3.5rem\",\n textStyle: \"label/L/medium\",\n },\n lg: {\n px: \"1rem\",\n h: \"3rem\",\n textStyle: \"label/M/medium\",\n },\n md: {\n textStyle: \"label/M/medium\",\n },\n sm: {\n px: \"0.5rem\",\n h: \"2rem\",\n textStyle: \"label/S/medium\",\n },\n },\n },\n\n defaultVariants: { size: \"sm\", variant: \"outline\" },\n});\n","import { defineSlotRecipe } from \"@chakra-ui/react\";\nimport { colorPickerAnatomy } from \"@chakra-ui/react/anatomy\";\n\nconst interactiveBorderColor = \"border.accent-light\";\n\nexport const colorPickerSlotRecipe = defineSlotRecipe({\n slots: colorPickerAnatomy.keys(),\n base: {\n control: {\n display: \"flex\",\n alignItems: \"center\",\n width: \"full\",\n minW: \"0\",\n h: \"2rem\",\n bg: \"bg\",\n color: \"fg\",\n border: \"1px solid\",\n borderColor: \"border\",\n borderRadius: \"xs\",\n overflow: \"hidden\",\n transition: \"border-color 0.2s ease-in-out\",\n outline: \"none\",\n boxShadow: \"none\",\n _hover: {\n borderColor: interactiveBorderColor,\n },\n _active: {\n borderColor: interactiveBorderColor,\n },\n _focusWithin: {\n borderColor: interactiveBorderColor,\n boxShadow: \"none\",\n },\n \"&:is(:hover, [data-hover])\": {\n borderColor: interactiveBorderColor,\n },\n \"&:is(:active, [data-active])\": {\n borderColor: interactiveBorderColor,\n },\n \"& [data-scope=color-picker][data-part=trigger]\": {\n border: \"0\",\n borderInlineStartWidth: \"0\",\n boxShadow: \"none\",\n },\n },\n channelInput: {\n h: \"full\",\n minW: \"0\",\n flex: \"1\",\n px: \"sm\",\n bg: \"transparent\",\n color: \"fg\",\n border: \"0\",\n borderInlineEndWidth: \"0\",\n borderRadius: \"0\",\n outline: \"none\",\n boxShadow: \"none\",\n textStyle: \"label/S/regular\",\n _focusVisible: {\n outline: \"none\",\n boxShadow: \"none\",\n },\n },\n trigger: {\n h: \"full\",\n minH: \"0\",\n maxH: \"full\",\n minW: \"2rem\",\n alignSelf: \"stretch\",\n px: \"xs\",\n bg: \"transparent\",\n color: \"fg\",\n border: \"0\",\n borderInlineStartWidth: \"0\",\n borderRadius: \"0\",\n outline: \"none\",\n boxShadow: \"none\",\n _hover: {\n bg: \"bg.hover\",\n },\n _focusVisible: {\n outline: \"none\",\n boxShadow: \"none\",\n },\n },\n content: {\n p: \"sm\",\n bg: \"bg\",\n color: \"fg\",\n borderWidth: \"0\",\n borderRadius: \"xs\",\n },\n swatch: {\n borderRadius: \"2xs\",\n borderWidth: \"0\",\n },\n swatchTrigger: {\n borderRadius: \"2xs\",\n _focusVisible: {\n outline: \"1px solid\",\n outlineColor: interactiveBorderColor,\n },\n },\n },\n variants: {\n size: {\n xs: {\n control: {\n h: \"1.75rem\",\n },\n channelInput: {\n px: \"xs\",\n textStyle: \"label/XS\",\n },\n trigger: {\n minW: \"1.75rem\",\n px: \"2xs\",\n },\n },\n sm: {},\n },\n },\n defaultVariants: {\n size: \"sm\",\n },\n});\n","import { defineSlotRecipe } from \"@chakra-ui/react\";\nimport { dialogAnatomy } from \"@chakra-ui/react/anatomy\";\n\nexport const dialogSlotRecipe = defineSlotRecipe({\n slots: dialogAnatomy.keys(),\n base: {\n title: {\n textStyle: \"heading/dialog\",\n },\n content: {\n bg: \"bg\",\n borderRadius: \"xs\",\n borderWidth: \"1px\",\n borderColor: \"border.subtle\",\n overflow: \"hidden\",\n },\n },\n});\n","import { defineRecipe } from \"@chakra-ui/react\";\n\nexport const dividerRecipe = defineRecipe({\n base: {\n borderColor: \"border.subtle\",\n },\n});\n","import { defineSlotRecipe } from \"@chakra-ui/react\";\nimport { drawerAnatomy as parts } from \"@chakra-ui/react/anatomy\";\n\nexport const drawerSlotRecipe = defineSlotRecipe({\n slots: parts.keys(),\n base: {\n header: {\n fontWeight: \"medium\",\n textStyle: \"label/M/medium\",\n p: \"xs\",\n },\n content: {\n bg: \"bg\",\n },\n },\n});\n","import { defineSlotRecipe } from \"@chakra-ui/react\";\n\nexport const editableSlotRecipe = defineSlotRecipe({\n slots: [\"preview\", \"input\", \"textarea\"] as const,\n base: {\n preview: {\n textStyle: \"label/L/medium\",\n borderRadius: \"2xs\",\n focusRingColor: \"border\",\n py: \"0\",\n lineHeight: \"1.5rem\",\n transitionProperty: \"common\",\n transitionDuration: \"normal\",\n _hover: { bg: \"bg.hover\" },\n },\n input: {\n textStyle: \"label/L/medium\",\n borderRadius: \"2xs\",\n focusRingColor: \"border\",\n py: \"0\",\n lineHeight: \"1.5rem\",\n transitionProperty: \"common\",\n transitionDuration: \"normal\",\n bg: \"bg\",\n width: \"auto\",\n _focusVisible: { outline: \"2px solid\", outlineColor: \"border\", outlineOffset: \"2px\" },\n _placeholder: { color: \"fg.muted\" },\n },\n textarea: {\n textStyle: \"label/L/medium\",\n borderRadius: \"2xs\",\n focusRingColor: \"border\",\n py: \"0\",\n transitionProperty: \"common\",\n transitionDuration: \"normal\",\n bg: \"bg.muted\",\n width: \"auto\",\n _focusVisible: { outline: \"2px solid\", outlineColor: \"border\", outlineOffset: \"2px\" },\n _placeholder: { color: \"fg.muted\" },\n },\n },\n variants: {\n size: {\n sm: {\n preview: {\n textStyle: \"label/S/medium\",\n lineHeight: \"1.25rem\",\n },\n input: {\n textStyle: \"label/S/medium\",\n lineHeight: \"1.25rem\",\n },\n textarea: {\n textStyle: \"label/S/medium\",\n lineHeight: \"1.25rem\",\n },\n },\n md: {\n preview: {\n textStyle: \"label/M/medium\",\n lineHeight: \"1.375rem\",\n },\n input: {\n textStyle: \"label/M/medium\",\n lineHeight: \"1.375rem\",\n },\n textarea: {\n textStyle: \"label/M/medium\",\n lineHeight: \"1.375rem\",\n },\n },\n lg: {\n preview: {\n textStyle: \"label/L/medium\",\n lineHeight: \"1.5rem\",\n },\n input: {\n textStyle: \"label/L/medium\",\n lineHeight: \"1.5rem\",\n },\n textarea: {\n textStyle: \"label/L/medium\",\n lineHeight: \"1.5rem\",\n },\n },\n },\n },\n});\n","import { defineSlotRecipe } from \"@chakra-ui/react\";\n\nexport const folderPickerSlotRecipe = defineSlotRecipe({\n slots: [\n \"content\",\n \"header\",\n \"body\",\n \"navigation\",\n \"navigationButton\",\n \"path\",\n \"filter\",\n \"creation\",\n \"list\",\n \"rows\",\n \"footer\",\n ],\n base: {\n content: {\n width: \"folder-picker-width\",\n height: \"folder-picker-height\",\n maxWidth: \"calc(100vw - {spacing.xl})\",\n maxHeight: \"calc(100dvh - {spacing.xl})\",\n },\n header: {\n display: \"flex\",\n height: \"folder-picker-header\",\n flex: \"0 0 auto\",\n px: \"md\",\n py: \"none\",\n alignItems: \"center\",\n },\n body: { display: \"flex\", flexDirection: \"column\", gap: \"sm\", p: \"md\", minHeight: 0 },\n navigation: { display: \"flex\", gap: \"xs\", flexShrink: 0, alignItems: \"center\" },\n navigationButton: { width: \"8\", minWidth: \"8\", px: \"none\" },\n path: { flex: 1, minWidth: 0, px: \"2xs\", textStyle: \"label/S/medium\" },\n filter: { width: \"full\", flexShrink: 0, \"& svg\": { boxSize: \"icon-sm\" } },\n creation: { display: \"flex\", gap: \"sm\", flexShrink: 0 },\n list: { flex: 1, minHeight: 0 },\n rows: { display: \"flex\", flexDirection: \"column\", gap: \"2xs\" },\n footer: { height: \"14\", flexShrink: 0, px: \"md\", py: \"none\", gap: \"xs\" },\n },\n});\n","import { defineSlotRecipe } from \"@chakra-ui/react\";\nimport { fieldsetAnatomy } from \"@chakra-ui/react/anatomy\";\n\nexport const fieldsetSlotRecipe = defineSlotRecipe({\n slots: fieldsetAnatomy.keys(),\n base: {\n legend: {\n mb: \"2xs\",\n },\n },\n});\n","import { defineRecipe } from \"@chakra-ui/react\";\n\nconst interactiveBorderColor = \"border.accent-light\";\n\nexport const inputRecipe = defineRecipe({\n base: {\n px: \"sm\",\n borderRadius: \"xs\",\n transition: \"border-color 0.2s ease-in-out\",\n bg: \"bg\",\n color: \"fg\",\n border: \"1px solid\",\n borderColor: \"border\",\n outline: \"none\",\n boxShadow: \"none\",\n \"--focus-color\": \"var(--chakra-colors-border-accent-light)\",\n \"--focus-ring-style\": \"none\",\n _hover: { borderColor: interactiveBorderColor },\n _active: { borderColor: interactiveBorderColor },\n _focus: { borderColor: interactiveBorderColor, outline: \"none\", boxShadow: \"none\" },\n _focusVisible: { borderColor: interactiveBorderColor, outline: \"none\", boxShadow: \"none\" },\n _placeholder: { color: \"fg.subtle\" },\n \"&:is(:hover, [data-hover])\": {\n borderColor: interactiveBorderColor,\n },\n \"&:is(:active, [data-active])\": {\n borderColor: interactiveBorderColor,\n },\n },\n variants: {\n variant: {\n outline: {\n bg: \"bg\",\n border: \"1px solid\",\n borderColor: \"border\",\n outline: \"none\",\n boxShadow: \"none\",\n \"--focus-color\": \"var(--chakra-colors-border-accent-light)\",\n \"--focus-ring-style\": \"none\",\n _hover: { borderColor: interactiveBorderColor },\n _active: { borderColor: interactiveBorderColor },\n _focus: { borderColor: interactiveBorderColor, outline: \"none\", boxShadow: \"none\" },\n _focusVisible: { borderColor: interactiveBorderColor, outline: \"none\", boxShadow: \"none\" },\n \"&:is(:hover, [data-hover])\": {\n borderColor: interactiveBorderColor,\n },\n \"&:is(:active, [data-active])\": {\n borderColor: interactiveBorderColor,\n },\n },\n borderless: {\n bg: \"transparent\",\n border: \"0\",\n borderColor: \"transparent\",\n borderRadius: \"0\",\n boxShadow: \"none\",\n transition: \"none\",\n _hover: { bg: \"transparent\", borderColor: \"transparent\" },\n _active: { bg: \"transparent\", borderColor: \"transparent\" },\n _focus: { borderColor: \"transparent\", outline: \"none\", boxShadow: \"none\" },\n _focusVisible: { borderColor: \"transparent\", outline: \"none\", boxShadow: \"none\" },\n \"&:is(:hover, [data-hover])\": {\n borderColor: \"transparent\",\n },\n \"&:is(:active, [data-active])\": {\n borderColor: \"transparent\",\n },\n },\n },\n size: {\n \"2xs\": {\n h: \"1.5rem\",\n px: \"2xs\",\n textStyle: \"label/XS\",\n },\n xs: {\n h: \"1.75rem\",\n px: \"xs\",\n textStyle: \"label/XS\",\n },\n sm: {\n h: \"2rem\",\n px: \"sm\",\n textStyle: \"label/S/regular\",\n },\n md: {\n h: \"2.5rem\",\n px: \"sm\",\n textStyle: \"label/M/regular\",\n },\n lg: {\n h: \"3rem\",\n px: \"md\",\n textStyle: \"label/M/regular\",\n },\n },\n },\n defaultVariants: {\n size: \"sm\",\n variant: \"outline\",\n },\n});\n","import { defineRecipe } from \"@chakra-ui/react\";\n\nexport const kbdRecipe = defineRecipe({\n base: {\n display: \"inline-flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n flexShrink: \"0\",\n minW: \"1.25rem\",\n px: \"1\",\n borderRadius: \"0\",\n borderWidth: \"1px\",\n borderStyle: \"solid\",\n fontFamily: \"mono\",\n fontWeight: \"medium\",\n lineHeight: \"1\",\n userSelect: \"none\",\n whiteSpace: \"nowrap\",\n wordSpacing: \"normal\",\n },\n variants: {\n variant: {\n raised: {\n color: \"fg.muted\",\n bg: \"bg.subtle\",\n borderColor: \"border\",\n borderBottomWidth: \"2px\",\n },\n outline: {\n color: \"fg.muted\",\n bg: \"transparent\",\n borderColor: \"border\",\n },\n subtle: {\n color: \"fg\",\n bg: \"bg.muted\",\n borderColor: \"border.subtle\",\n },\n plain: {\n color: \"fg.muted\",\n bg: \"transparent\",\n borderColor: \"transparent\",\n minW: \"auto\",\n px: \"0\",\n },\n },\n size: {\n sm: {\n height: \"1rem\",\n textStyle: \"label/XS/medium\",\n },\n md: {\n height: \"1.25rem\",\n textStyle: \"label/XS/medium\",\n },\n lg: {\n height: \"1.5rem\",\n textStyle: \"label/S/medium\",\n },\n },\n },\n defaultVariants: {\n size: \"md\",\n variant: \"raised\",\n },\n});\n","import { defineSlotRecipe } from \"@chakra-ui/react\";\nimport { menuAnatomy } from \"@chakra-ui/react/anatomy\";\n\nexport const menuSlotRecipe = defineSlotRecipe({\n slots: menuAnatomy.keys(),\n base: {\n itemGroupLabel: {\n ml: \"{2xs}\",\n textStyle: \"label/S/regular\",\n fontWeight: \"normal\",\n color: \"fg.muted\",\n },\n\n item: {\n width: \"full\",\n minWidth: \"0\",\n maxWidth: \"full\",\n minH: \"1.75rem\",\n h: \"auto\",\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n gap: \"xs\",\n px: \"sm\",\n py: \"2xs\",\n borderRadius: \"0\",\n bg: \"transparent\",\n color: \"fg.menu-item.default\",\n textStyle: \"label/S/regular\",\n cursor: \"pointer\",\n overflow: \"hidden\",\n textAlign: \"left\",\n textDecoration: \"none\",\n _hover: {\n bg: \"bg.menu-item.hover\",\n },\n _highlighted: {\n bg: \"bg.menu-item.hover\",\n },\n _focusVisible: {\n bg: \"bg.menu-item.focus\",\n },\n _checked: {\n bg: \"bg.menu-item.selected\",\n color: \"fg\",\n },\n _selected: {\n bg: \"bg.menu-item.selected\",\n color: \"fg\",\n },\n \"&[aria-checked=true]\": {\n bg: \"bg.menu-item.selected\",\n color: \"fg\",\n },\n _disabled: {\n cursor: \"not-allowed\",\n color: \"fg.muted\",\n },\n },\n\n itemIndicator: {\n color: \"fg\",\n marginInlineStart: \"auto\",\n order: 1,\n flexShrink: 0,\n },\n\n separator: {\n my: \"0\",\n borderColor: \"border.subtle\",\n },\n\n content: {\n display: \"flex\",\n flexDirection: \"column\",\n width: \"17.5rem\",\n minWidth: \"17.5rem\",\n maxWidth: \"17.5rem\",\n gap: \"0\",\n borderRadius: \"xs\",\n p: \"0\",\n px: \"0\",\n py: \"0\",\n bg: \"bg\",\n borderWidth: \"1px\",\n borderStyle: \"solid\",\n borderColor: \"border\",\n textStyle: \"label/M/regular\",\n },\n },\n variants: {\n variant: {\n panel: {\n content: {\n width: \"64\",\n minWidth: \"64\",\n maxWidth: \"64\",\n },\n },\n },\n },\n});\n","import { defineSlotRecipe } from \"@chakra-ui/react\";\nimport { numberInputAnatomy } from \"@chakra-ui/react/anatomy\";\n\nconst restingBorderColor = \"var(--chakra-colors-border)\";\nconst interactiveBorderColor = \"var(--chakra-colors-border-accent-light)\";\n\nexport const numberInputSlotRecipe = defineSlotRecipe({\n slots: numberInputAnatomy.keys(),\n base: {\n root: {\n position: \"relative\",\n zIndex: \"0\",\n isolation: \"isolate\",\n boxShadow: \"none\",\n \"--number-input-border-color\": restingBorderColor,\n \"&:is(:hover, [data-hover])\": {\n \"--number-input-border-color\": interactiveBorderColor,\n },\n \"&:is(:active, [data-active])\": {\n \"--number-input-border-color\": interactiveBorderColor,\n },\n \"&:focus-within\": {\n \"--number-input-border-color\": interactiveBorderColor,\n },\n },\n input: {\n px: \"sm\",\n pe: \"calc(var(--stepper-width) + 0.5rem)\",\n borderRadius: \"xs\",\n transition: \"border-color 0.2s ease-in-out\",\n bg: \"bg\",\n color: \"fg\",\n borderWidth: \"1px\",\n borderStyle: \"solid\",\n borderColor: \"var(--number-input-border-color)\",\n outline: \"none\",\n boxShadow: \"none\",\n \"--focus-ring-color\": \"var(--number-input-border-color)\",\n \"--focus-ring-style\": \"none\",\n _hover: { borderColor: \"var(--number-input-border-color)\" },\n _active: { borderColor: \"var(--number-input-border-color)\" },\n _focus: { borderColor: \"var(--number-input-border-color)\", outline: \"none\", boxShadow: \"none\" },\n _focusVisible: { borderColor: \"var(--number-input-border-color)\", outline: \"none\", boxShadow: \"none\" },\n _placeholder: { color: \"fg.subtle\" },\n \"&:is(:hover, [data-hover])\": {\n borderColor: \"var(--number-input-border-color)\",\n },\n \"&:is(:active, [data-active])\": {\n borderColor: \"var(--number-input-border-color)\",\n },\n \"&:not([data-invalid], [aria-invalid='true'], [data-state='invalid'])\": {\n borderColor: \"var(--number-input-border-color)\",\n },\n },\n control: {\n display: \"flex\",\n flexDirection: \"column\",\n position: \"absolute\",\n top: \"0\",\n insetEnd: \"0\",\n margin: \"1px\",\n width: \"var(--stepper-width)\",\n height: \"calc(100% - 2px)\",\n zIndex: \"1\",\n borderStartWidth: \"1px\",\n borderStartColor: \"var(--number-input-border-color)\",\n borderColor: \"var(--number-input-border-color)\",\n divideY: \"1px\",\n overflow: \"hidden\",\n boxShadow: \"none\",\n \"& > :not(style, [hidden]) ~ :not(style, [hidden])\": {\n borderColor: \"var(--number-input-border-color)\",\n },\n },\n incrementTrigger: {\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n flex: \"1\",\n minH: \"0\",\n lineHeight: \"1\",\n borderTopEndRadius: \"xs\",\n color: \"fg.muted\",\n _hover: { bg: \"bg.hover\", color: \"fg\" },\n },\n decrementTrigger: {\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n flex: \"1\",\n minH: \"0\",\n lineHeight: \"1\",\n borderBottomEndRadius: \"xs\",\n color: \"fg.muted\",\n _hover: { bg: \"bg.hover\", color: \"fg\" },\n },\n },\n variants: {\n variant: {\n outline: {\n input: {\n bg: \"bg\",\n borderWidth: \"1px\",\n borderStyle: \"solid\",\n borderColor: \"var(--number-input-border-color)\",\n outline: \"none\",\n boxShadow: \"none\",\n \"--focus-ring-color\": \"var(--number-input-border-color)\",\n \"--focus-ring-style\": \"none\",\n _hover: { borderColor: \"var(--number-input-border-color)\" },\n _active: { borderColor: \"var(--number-input-border-color)\" },\n _focus: { borderColor: \"var(--number-input-border-color)\", outline: \"none\", boxShadow: \"none\" },\n _focusVisible: { borderColor: \"var(--number-input-border-color)\", outline: \"none\", boxShadow: \"none\" },\n \"&:is(:hover, [data-hover])\": {\n borderColor: \"var(--number-input-border-color)\",\n },\n \"&:is(:active, [data-active])\": {\n borderColor: \"var(--number-input-border-color)\",\n },\n \"&:not([data-invalid], [aria-invalid='true'], [data-state='invalid'])\": {\n borderColor: \"var(--number-input-border-color)\",\n },\n },\n },\n },\n size: {\n \"2xs\": {\n input: {\n h: \"1.5rem\",\n px: \"2xs\",\n textStyle: \"label/XS\",\n },\n control: {\n \"--stepper-width\": \"1.25rem\",\n fontSize: \"0.625rem\",\n },\n },\n xs: {\n input: {\n h: \"1.75rem\",\n px: \"xs\",\n textStyle: \"label/XS\",\n },\n control: {\n \"--stepper-width\": \"1.5rem\",\n fontSize: \"0.75rem\",\n },\n },\n sm: {\n input: {\n h: \"2rem\",\n px: \"sm\",\n textStyle: \"label/S/regular\",\n },\n control: {\n \"--stepper-width\": \"1.75rem\",\n fontSize: \"0.75rem\",\n },\n },\n md: {\n input: {\n h: \"2.5rem\",\n px: \"sm\",\n textStyle: \"label/M/regular\",\n },\n control: {\n \"--stepper-width\": \"2rem\",\n fontSize: \"0.875rem\",\n },\n },\n lg: {\n input: {\n h: \"3rem\",\n px: \"md\",\n textStyle: \"label/M/regular\",\n },\n control: {\n \"--stepper-width\": \"2.25rem\",\n fontSize: \"0.875rem\",\n },\n },\n },\n },\n defaultVariants: {\n size: \"sm\",\n variant: \"outline\",\n },\n});\n","import { defineSlotRecipe } from \"@chakra-ui/react\";\nimport { popoverAnatomy } from \"@chakra-ui/react/anatomy\";\n\nexport const popoverRecipe = defineSlotRecipe({\n slots: popoverAnatomy.keys(),\n base: {\n positioner: {\n _focus: { outline: \"none\" },\n },\n closeTrigger: {\n textStyle: \"label/M/medium\",\n color: \"fg\",\n },\n arrow: {\n bg: \"background-primary !important\",\n borderColor: \"button-secondary-stroke\",\n },\n content: {\n gap: \"8px\",\n py: \"xs\",\n borderRadius: \"xs\",\n bg: \"bg\",\n borderWidth: \"1px\",\n borderStyle: \"solid\",\n borderColor: \"border\",\n _focus: { outline: \"none\" },\n },\n title: {\n borderBottom: \"none\",\n textStyle: \"label/M/medium\",\n bg: \"bg\",\n },\n body: { textStyle: \"primary\" },\n footer: {},\n },\n variants: {\n variant: {\n responsive: {\n content: { width: \"unset\" },\n },\n },\n size: {\n \"2xl\": {\n content: { width: \"2xl\" },\n },\n },\n },\n});\n","import { progressCircleSlotRecipe as baseProgressCircleSlotRecipe } from \"@chakra-ui/react/theme\";\n\nconst baseSizeVariants = baseProgressCircleSlotRecipe.variants?.size ?? {};\n\nexport const progressCircleSlotRecipe = {\n ...baseProgressCircleSlotRecipe,\n variants: {\n ...baseProgressCircleSlotRecipe.variants,\n size: {\n ...baseSizeVariants,\n \"2xs\": {\n circle: {\n \"--size\": \"14px\",\n \"--thickness\": \"2px\",\n },\n valueText: {\n textStyle: \"2xs\",\n },\n },\n },\n },\n};\n","import { defineSlotRecipe } from \"@chakra-ui/react\";\n\nconst stackedPanels = {\n root: { flexDirection: \"column\", height: \"auto\", overflow: \"visible\", gap: \"panel-gap\" },\n resizablePanel: { display: \"flex\", width: \"full\", height: \"auto\", flex: \"initial\", overflow: \"visible\" },\n contentPanel: { height: \"auto\", flex: \"initial\", overflow: \"visible\" },\n separator: { display: \"none\" },\n} as const;\n\nexport const resizableSplitLayoutSlotRecipe = defineSlotRecipe({\n slots: [\"root\", \"resizablePanel\", \"contentPanel\", \"separator\"],\n base: {\n root: { display: \"flex\", width: \"full\", minWidth: 0, minHeight: 0 },\n resizablePanel: { minWidth: 0, minHeight: 0, \"&[data-collapsed=true]\": { display: \"none\" } },\n contentPanel: { display: \"flex\", minWidth: 0, minHeight: 0 },\n separator: { \"&[data-collapsed=true]\": { display: \"none\" } },\n },\n variants: {\n orientation: {\n horizontal: {\n root: { \"--split-direction\": \"row\", \"--split-width\": \"var(--split-size)\", \"--split-height\": \"100%\" },\n },\n vertical: {\n root: { \"--split-direction\": \"column\", \"--split-width\": \"100%\", \"--split-height\": \"var(--split-size)\" },\n },\n },\n layout: {\n split: {\n root: { flexDirection: \"var(--split-direction)\", height: \"full\", overflow: \"hidden\", gap: \"0\" },\n resizablePanel: {\n display: \"flex\",\n width: \"var(--split-width)\",\n height: \"var(--split-height)\",\n flex: \"0 0 var(--split-size)\",\n overflow: \"hidden\",\n },\n contentPanel: { height: \"full\", flex: \"1\", overflow: \"hidden\" },\n separator: { display: \"flex\" },\n },\n stacked: stackedPanels,\n \"stacked-reverse\": {\n ...stackedPanels,\n root: { ...stackedPanels.root, flexDirection: \"column-reverse\" },\n },\n content: {\n root: { height: \"full\", overflow: \"hidden\" },\n resizablePanel: { display: \"none\" },\n contentPanel: { height: \"full\", flex: \"1\", overflow: \"hidden\" },\n separator: { display: \"none\" },\n },\n },\n },\n defaultVariants: { orientation: \"horizontal\", layout: \"split\" },\n});\n","import { defineRecipe } from \"@chakra-ui/react\";\n\nexport const skeletonRecipe = defineRecipe({\n base: {\n \"--start-color\": \"fg\",\n \"--end-color\": \"fg.muted\",\n },\n});\n","import { defineSlotRecipe } from \"@chakra-ui/react\";\nimport { switchAnatomy } from \"@chakra-ui/react/anatomy\";\n\nexport const switchSlotRecipe = defineSlotRecipe({\n slots: switchAnatomy.keys(),\n base: {\n control: {\n alignItems: \"center\",\n bg: \"bg.muted\",\n borderWidth: \"1px\",\n borderColor: \"border\",\n borderRadius: \"md\",\n color: \"fg\",\n boxShadow: \"none\",\n transition: \"border-color 0.2s ease-in-out, background-color 0.2s ease-in-out\",\n _hover: { borderColor: \"border.accent-light\" },\n _active: { borderColor: \"border.accent-light\" },\n _focusVisible: {\n borderColor: \"border.accent-light\",\n outline: \"none\",\n boxShadow: \"none\",\n },\n _checked: {\n bg: \"bg.inverted\",\n borderColor: \"bg.inverted\",\n _hover: { borderColor: \"bg.inverted\" },\n _active: { borderColor: \"bg.inverted\" },\n },\n },\n thumb: {\n bg: \"bg\",\n borderColor: \"border\",\n borderRadius: \"full\",\n _checked: {\n bg: \"fg.inverted\",\n },\n },\n },\n variants: {\n variant: {\n solid: {\n control: {\n // The switch track radius is \"md\" — never \"full\", which breaks the look.\n // Chakra's default solid variant pins \"full\", so the design radius must\n // be restated here for the merge to keep it.\n borderRadius: \"md\",\n _checked: {\n bg: \"bg.inverted\",\n borderColor: \"bg.inverted\",\n },\n },\n thumb: {\n _checked: {\n bg: \"fg.inverted\",\n },\n },\n },\n },\n },\n});\n","import { defineSlotRecipe } from \"@chakra-ui/react\";\nimport { tabsAnatomy } from \"@chakra-ui/react/anatomy\";\n\nexport const tabsSlotRecipe = defineSlotRecipe({\n slots: tabsAnatomy.keys(),\n base: {\n root: {\n \"--tabs-trigger-radius\": \"radii.xs\",\n },\n list: {\n // The inline list would otherwise grow past its container to the tabs' full labels,\n // so crowded tabs could neither shrink nor scroll.\n maxW: \"full\",\n gap: \"2xs\",\n alignItems: \"center\",\n justifyContent: \"flex-start\",\n borderBottom: \"0\",\n _horizontal: {\n _before: {\n borderBottomWidth: \"0\",\n },\n },\n },\n trigger: {\n flexShrink: \"0\",\n overflow: \"hidden\",\n // Only tabs with a close button share a crowded row; the minimum keeps the\n // icon and close button whole. Other tabs keep their content width.\n \"&:has([data-tab-close])\": {\n flex: \"1 1 0\",\n minW: \"tab-min\",\n maxW: \"fit-content\",\n },\n // Keep bare-text labels on one line instead of wrapping.\n whiteSpace: \"nowrap\",\n \"& [data-tab-label]\": {\n minW: \"0\",\n maxW: \"tab-label-max\",\n overflow: \"hidden\",\n textOverflow: \"ellipsis\",\n whiteSpace: \"nowrap\",\n },\n py: \"0\",\n borderRadius: \"xs\",\n borderWidth: \"1px\",\n borderColor: \"border\",\n color: \"fg.muted\",\n bg: \"transparent\",\n _selected: {\n color: \"fg\",\n bg: \"bg.muted\",\n borderColor: \"border\",\n },\n _hover: {\n bg: \"bg.hover\",\n borderColor: \"border\",\n color: \"fg\",\n },\n _disabled: {\n color: \"fg.subtle\",\n borderColor: \"border\",\n bg: \"transparent\",\n _hover: {\n color: \"fg.subtle\",\n borderColor: \"border\",\n bg: \"transparent\",\n },\n },\n },\n },\n variants: {\n size: {\n xs: {\n trigger: {\n h: \"1.25rem\",\n px: \"xs\",\n gap: \"2xs\",\n textStyle: \"label/XS/medium\",\n _icon: {\n width: \"0.75rem\",\n height: \"0.75rem\",\n },\n },\n },\n sm: {\n trigger: {\n h: \"1.5rem\",\n px: \"xs\",\n gap: \"2xs\",\n textStyle: \"label/XS/medium\",\n _icon: {\n width: \"0.875rem\",\n height: \"0.875rem\",\n },\n },\n },\n md: {\n trigger: {\n h: \"1.75rem\",\n px: \"0.5rem\",\n gap: \"xs\",\n textStyle: \"label/S/medium\",\n _icon: {\n width: \"0.875rem\",\n height: \"0.875rem\",\n },\n },\n },\n },\n // Full-width strip with a bottom hairline holding the triggers, per the\n // design's Tab Strip bars.\n tray: {\n true: {\n list: {\n width: \"100%\",\n paddingX: \"lg\",\n paddingBottom: \"xs\",\n // Restate the base's shorthand key so the hairline survives the merge.\n borderBottom: \"1px solid\",\n borderBottomColor: \"border.subtle\",\n },\n },\n },\n variant: {\n subtle: {\n trigger: {\n borderRadius: \"var(--tabs-trigger-radius)\",\n color: \"fg.muted\",\n bg: \"transparent\",\n _selected: {\n color: \"fg\",\n bg: \"bg.muted\",\n borderColor: \"border\",\n },\n _hover: {\n bg: \"bg.hover\",\n borderColor: \"border\",\n color: \"fg\",\n },\n _disabled: {\n bg: \"transparent\",\n color: \"fg.subtle\",\n borderColor: \"border\",\n _hover: {\n bg: \"transparent\",\n color: \"fg.subtle\",\n borderColor: \"border\",\n },\n },\n },\n },\n },\n },\n defaultVariants: {\n size: \"xs\",\n variant: \"subtle\",\n },\n});\n","import { defineRecipe } from \"@chakra-ui/react\";\n\nconst interactiveBorderColor = \"border.accent-light\";\n\nexport const textareaRecipe = defineRecipe({\n base: {\n paddingX: \"sm\",\n paddingY: \"xs\",\n opacity: \"1\",\n outline: \"none\",\n boxShadow: \"none\",\n color: \"fg\",\n border: \"1px solid\",\n borderRadius: \"xs\",\n transition: \"border-color 0.2s ease-in-out\",\n borderColor: \"border\",\n \"--focus-color\": \"var(--chakra-colors-border-accent-light)\",\n \"--focus-ring-style\": \"none\",\n _hover: {\n borderColor: interactiveBorderColor,\n },\n _active: {\n borderColor: interactiveBorderColor,\n },\n _focus: {\n borderColor: interactiveBorderColor,\n outline: \"none\",\n boxShadow: \"none\",\n },\n _focusVisible: {\n borderColor: interactiveBorderColor,\n outline: \"none\",\n boxShadow: \"none\",\n },\n _placeholder: {\n color: \"fg.subtle\",\n },\n \"&:is(:hover, [data-hover])\": {\n borderColor: interactiveBorderColor,\n },\n \"&:is(:active, [data-active])\": {\n borderColor: interactiveBorderColor,\n },\n },\n variants: {\n variant: {\n outline: {\n bg: \"bg\",\n border: \"1px solid\",\n borderColor: \"border\",\n outline: \"none\",\n boxShadow: \"none\",\n \"--focus-color\": \"var(--chakra-colors-border-accent-light)\",\n \"--focus-ring-style\": \"none\",\n _hover: {\n borderColor: interactiveBorderColor,\n },\n _active: {\n borderColor: interactiveBorderColor,\n },\n _focus: {\n borderColor: interactiveBorderColor,\n outline: \"none\",\n boxShadow: \"none\",\n },\n _focusVisible: {\n borderColor: interactiveBorderColor,\n outline: \"none\",\n boxShadow: \"none\",\n },\n \"&:is(:hover, [data-hover])\": {\n borderColor: interactiveBorderColor,\n },\n \"&:is(:active, [data-active])\": {\n borderColor: interactiveBorderColor,\n },\n },\n },\n size: {\n \"2xs\": {\n paddingX: \"2xs\",\n paddingY: \"2xs\",\n textStyle: \"label/XS\",\n },\n xs: {\n paddingX: \"xs\",\n paddingY: \"2xs\",\n textStyle: \"label/XS\",\n },\n sm: {\n paddingX: \"sm\",\n paddingY: \"xs\",\n textStyle: \"label/S/regular\",\n },\n md: {\n paddingX: \"sm\",\n paddingY: \"xs\",\n textStyle: \"label/M/regular\",\n },\n lg: {\n paddingX: \"md\",\n paddingY: \"sm\",\n textStyle: \"label/M/regular\",\n },\n },\n },\n defaultVariants: {\n size: \"sm\",\n variant: \"outline\",\n },\n});\n","import { defineSlotRecipe } from \"@chakra-ui/react\";\nimport { timelineAnatomy } from \"@chakra-ui/react/anatomy\";\n\nexport const timelineSlotRecipe = defineSlotRecipe({\n slots: timelineAnatomy.keys(),\n base: {\n root: {\n display: \"flex\",\n flexDirection: \"column\",\n width: \"full\",\n \"--timeline-thickness\": \"1px\",\n \"--timeline-gutter\": \"4px\",\n },\n item: {\n \"--timeline-content-gap\": \"spacing.6\",\n display: \"flex\",\n position: \"relative\",\n alignItems: \"flex-start\",\n flexShrink: 0,\n gap: \"4\",\n _last: {\n \"--timeline-content-gap\": \"0\",\n },\n },\n separator: {\n display: \"var(--timeline-separator-display)\",\n position: \"absolute\",\n borderStartWidth: \"var(--timeline-thickness)\",\n ms: \"calc(-1 * var(--timeline-thickness) / 2)\",\n insetInlineStart: \"calc(var(--timeline-indicator-size) / 2)\",\n insetBlock: \"0\",\n borderColor: \"border.subtle\",\n },\n indicator: {\n outline: \"2px solid {colors.bg}\",\n position: \"relative\",\n flexShrink: \"0\",\n boxSize: \"var(--timeline-indicator-size)\",\n fontSize: \"var(--timeline-font-size)\",\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n borderRadius: \"full\",\n fontWeight: \"medium\",\n bg: \"bg\",\n color: \"fg\",\n },\n connector: {\n alignSelf: \"stretch\",\n position: \"relative\",\n },\n content: {\n display: \"flex\",\n flexDirection: \"column\",\n width: \"full\",\n gap: \"0\",\n paddingBottom: \"0\",\n },\n title: {\n display: \"flex\",\n fontWeight: \"medium\",\n flexWrap: \"wrap\",\n gap: \"1.5\",\n alignItems: \"center\",\n mt: \"var(--timeline-margin)\",\n },\n description: {\n color: \"fg.muted\",\n textStyle: \"xs\",\n },\n },\n variants: {\n variant: {\n tool: {\n content: {\n minWidth: \"0\",\n },\n title: {\n flexWrap: \"nowrap\",\n whiteSpace: \"nowrap\",\n },\n },\n solid: {},\n subtle: {},\n outline: {\n indicator: {\n borderWidth: \"1px\",\n borderColor: \"border.subtle\",\n },\n },\n plain: {\n indicator: {\n bg: \"transparent\",\n color: \"fg\",\n },\n },\n },\n showLastSeparator: {\n true: {\n item: {\n _last: {\n \"--timeline-separator-display\": \"initial\",\n },\n },\n },\n false: {\n item: {\n _last: {\n \"--timeline-separator-display\": \"none\",\n },\n },\n },\n },\n size: {\n sm: {\n root: {\n \"--timeline-indicator-size\": \"sizes.4\",\n \"--timeline-font-size\": \"fontSizes.2xs\",\n },\n title: {\n textStyle: \"xs\",\n },\n },\n md: {\n root: {\n \"--timeline-indicator-size\": \"sizes.5\",\n \"--timeline-font-size\": \"fontSizes.xs\",\n },\n title: {\n textStyle: \"sm\",\n },\n },\n lg: {\n root: {\n \"--timeline-indicator-size\": \"sizes.6\",\n \"--timeline-font-size\": \"fontSizes.xs\",\n },\n title: {\n mt: \"0.5\",\n textStyle: \"sm\",\n },\n },\n xl: {\n root: {\n \"--timeline-indicator-size\": \"sizes.8\",\n \"--timeline-font-size\": \"fontSizes.sm\",\n },\n title: {\n mt: \"1.5\",\n textStyle: \"sm\",\n },\n },\n },\n },\n defaultVariants: {\n size: \"md\",\n variant: \"solid\",\n showLastSeparator: false,\n },\n});\n","import { defineSlotRecipe } from \"@chakra-ui/react\";\nimport { tooltipAnatomy } from \"@chakra-ui/react/anatomy\";\n\nexport const tooltipRecipe = defineSlotRecipe({\n slots: tooltipAnatomy.keys(),\n base: {\n content: {\n bg: \"bg.inverted\",\n borderRadius: \"xs\",\n color: \"fg.inverted\",\n },\n },\n});\n","import { defaultConfig, type SystemConfig } from \"@chakra-ui/react\";\n\n// this is an escape hatch:\n// remove unwanted chakra default programmatically\n// whenever possible we should update the recipes\n\nconst shadowStyleKeys = new Set([\"boxShadow\", \"boxShadowColor\", \"textShadow\"]);\nconst shadowPattern = /shadow/i;\ntype ThemeConfig = NonNullable<SystemConfig[\"theme\"]>;\ntype ShadowStyleTransformer = (value: unknown) => unknown;\n\nconst stripShadowTransitionParts = (value: string) => {\n if (!shadowPattern.test(value)) return value;\n\n const transitionParts = value\n .split(\",\")\n .map((part) => part.trim())\n .filter((part) => !shadowPattern.test(part));\n\n if (transitionParts.length === 0) return undefined;\n return transitionParts.join(\", \");\n};\n\nconst stripShadowStyles: ShadowStyleTransformer = (value) => {\n if (Array.isArray(value)) {\n return value.map(stripShadowStyles).filter((entry) => entry !== undefined);\n }\n\n if (typeof value === \"string\") {\n return stripShadowTransitionParts(value);\n }\n\n if (!value || typeof value !== \"object\") {\n return value;\n }\n\n return Object.fromEntries(\n Object.entries(value).flatMap(([key, entry]) => {\n if (shadowStyleKeys.has(key) || shadowPattern.test(key)) return [];\n\n const nextEntry = stripShadowStyles(entry);\n if (nextEntry === undefined) return [];\n return [[key, nextEntry]];\n }),\n );\n};\n\nconst stripShadowTokens = <T extends Record<string, unknown> | undefined>(tokens: T) => {\n const { shadows: _shadows, ...tokensWithoutShadows } = tokens ?? {};\n return tokensWithoutShadows;\n};\n\nconst REMOVED_RECIPE_VARIANTS = {\n badge: [\"surface\"],\n button: [\"secondary\", \"surface\"],\n} as const;\n\nconst stripRemovedRecipeVariants = (recipes: ThemeConfig[\"recipes\"]) => {\n const nextRecipes = { ...(recipes ?? {}) } as Record<string, unknown>;\n\n for (const [recipeName, removedVariants] of Object.entries(REMOVED_RECIPE_VARIANTS)) {\n const recipe = nextRecipes[recipeName];\n if (!recipe || typeof recipe !== \"object\") continue;\n\n const typedRecipe = recipe as { variants?: { variant?: Record<string, unknown> } };\n const variants = typedRecipe.variants;\n const variant = variants?.variant;\n if (!variant) continue;\n\n const removedVariantSet = new Set<string>(removedVariants);\n const variantsWithoutRemovedEntries = Object.fromEntries(\n Object.entries(variant).filter(([variantName]) => !removedVariantSet.has(variantName)),\n );\n nextRecipes[recipeName] = {\n ...typedRecipe,\n variants: {\n ...variants,\n variant: variantsWithoutRemovedEntries,\n },\n };\n }\n\n return nextRecipes as ThemeConfig[\"recipes\"];\n};\n\n// Chakra's default recipes include elevation; keep the recipes but remove shadow styling.\nexport const shadowlessDefaultConfig: SystemConfig = {\n ...defaultConfig,\n theme: {\n ...defaultConfig.theme,\n tokens: stripShadowTokens(defaultConfig.theme?.tokens) as ThemeConfig[\"tokens\"],\n semanticTokens: stripShadowTokens(defaultConfig.theme?.semanticTokens) as ThemeConfig[\"semanticTokens\"],\n recipes: stripRemovedRecipeVariants(stripShadowStyles(defaultConfig.theme?.recipes) as ThemeConfig[\"recipes\"]),\n slotRecipes: stripShadowStyles(defaultConfig.theme?.slotRecipes) as ThemeConfig[\"slotRecipes\"],\n layerStyles: stripShadowStyles(defaultConfig.theme?.layerStyles) as ThemeConfig[\"layerStyles\"],\n animationStyles: stripShadowStyles(defaultConfig.theme?.animationStyles) as ThemeConfig[\"animationStyles\"],\n },\n};\n","export const borders = {\n DEFAULT: {\n value: \"1px solid {colors.border}\",\n },\n\n subtle: {\n value: \"1px solid {colors.border.subtle}\",\n },\n\n inverted: {\n value: \"1px solid {colors.border.inverted}\",\n },\n\n accent: {\n value: \"1px solid {colors.border.accent}\",\n },\n\n \"accent-light\": {\n value: \"1px solid {colors.border.accent-light}\",\n },\n};\n","export const vis = {\n text: {\n primary: {\n value: {\n _light: \"{colors.blacks.800}\",\n _dark: \"{colors.blacks.200}\",\n },\n },\n secondary: {\n value: {\n _light: \"{colors.blacks.600}\",\n _dark: \"{colors.blacks.500}\",\n },\n },\n },\n\n grid: {\n value: {\n _light: \"{colors.blacks.300}\",\n _dark: \"{colors.blacks.800}\",\n },\n },\n\n axis: {\n value: {\n _light: \"{colors.blacks.700}\",\n _dark: \"{colors.blacks.300}\",\n },\n },\n\n categorical: {\n 1: {\n value: {\n _light: \"{colors.blue.700}\",\n _dark: \"{colors.blue.300}\",\n },\n },\n 2: {\n value: {\n _light: \"{colors.orange.700}\",\n _dark: \"{colors.orange.300}\",\n },\n },\n 3: {\n value: {\n _light: \"{colors.purple.700}\",\n _dark: \"{colors.purple.300}\",\n },\n },\n 4: {\n value: {\n _light: \"{colors.red.700}\",\n _dark: \"{colors.red.300}\",\n },\n },\n 5: {\n value: {\n _light: \"{colors.pink.700}\",\n _dark: \"{colors.pink.300}\",\n },\n },\n 6: {\n value: {\n _light: \"{colors.teal.700}\",\n _dark: \"{colors.teal.300}\",\n },\n },\n 7: {\n value: {\n _light: \"{colors.cyan.700}\",\n _dark: \"{colors.cyan.300}\",\n },\n },\n },\n\n sequential: {\n blue: {\n \"low-3\": {\n value: {\n _light: \"{colors.blue.200}\",\n _dark: \"{colors.blue.800}\",\n },\n },\n \"low-2\": {\n value: {\n _light: \"{colors.blue.300}\",\n _dark: \"{colors.blue.700}\",\n },\n },\n \"low-1\": {\n value: {\n _light: \"{colors.blue.400}\",\n _dark: \"{colors.blue.600}\",\n },\n },\n default: {\n value: {\n _light: \"{colors.blue.500}\",\n _dark: \"{colors.blue.500}\",\n },\n },\n \"high-1\": {\n value: {\n _light: \"{colors.blue.600}\",\n _dark: \"{colors.blue.400}\",\n },\n },\n \"high-2\": {\n value: {\n _light: \"{colors.blue.700}\",\n _dark: \"{colors.blue.300}\",\n },\n },\n \"high-3\": {\n value: {\n _light: \"{colors.blue.800}\",\n _dark: \"{colors.blue.200}\",\n },\n },\n },\n red: {\n \"low-3\": {\n value: {\n _light: \"{colors.red.200}\",\n _dark: \"{colors.red.800}\",\n },\n },\n \"low-2\": {\n value: {\n _light: \"{colors.red.300}\",\n _dark: \"{colors.red.700}\",\n },\n },\n \"low-1\": {\n value: {\n _light: \"{colors.red.400}\",\n _dark: \"{colors.red.600}\",\n },\n },\n default: {\n value: {\n _light: \"{colors.red.500}\",\n _dark: \"{colors.red.500}\",\n },\n },\n \"high-1\": {\n value: {\n _light: \"{colors.red.600}\",\n _dark: \"{colors.red.400}\",\n },\n },\n \"high-2\": {\n value: {\n _light: \"{colors.red.700}\",\n _dark: \"{colors.red.300}\",\n },\n },\n \"high-3\": {\n value: {\n _light: \"{colors.red.800}\",\n _dark: \"{colors.red.200}\",\n },\n },\n },\n },\n};\n","export const bg = {\n DEFAULT: {\n value: {\n _light: \"{colors.blacks.50}\",\n _dark: \"#07090E\",\n },\n },\n\n muted: {\n value: {\n _light: \"#F0F5F1\",\n _dark: \"#171A22\",\n },\n },\n\n subtle: {\n value: {\n _light: \"#F9FBFA\",\n _dark: \"#0E1016\",\n },\n },\n\n hover: {\n value: {\n _light: \"#EDF2EE\",\n _dark: \"#1E212A\",\n },\n },\n\n active: {\n value: {\n _light: \"#E7EEE9\",\n _dark: \"#252932\",\n },\n },\n\n info: {\n value: {\n _light: \"{colors.blue.50}\",\n _dark: \"{colors.blue.900}\",\n },\n },\n\n warning: {\n value: {\n _light: \"{colors.orange.50}\",\n _dark: \"{colors.orange.900}\",\n },\n },\n\n success: {\n value: {\n _light: \"{colors.green.50}\",\n _dark: \"{colors.green.900}\",\n },\n },\n\n error: {\n value: {\n _light: \"{colors.red.50}\",\n _dark: \"{colors.red.900}\",\n },\n },\n\n code: {\n value: {\n _light: \"{colors.blacks.50}\",\n _dark: \"#10131A\",\n },\n },\n\n emphasized: {\n value: {\n _light: \"{colors.bg.active}\",\n _dark: \"#1D242E\",\n },\n },\n\n elevated: {\n value: {\n _light: \"{colors.blacks.50}\",\n _dark: \"#1B1E26\",\n },\n },\n\n inverted: {\n value: {\n _light: \"{colors.blacks.800}\",\n _dark: \"{colors.blacks.100}\",\n },\n },\n\n panel: {\n value: {\n _light: \"{colors.bg}\",\n _dark: \"{colors.bg}\",\n },\n },\n\n dark: {\n value: {\n _light: \"{colors.blacks.900}\",\n _dark: \"{colors.blacks.900}\",\n },\n },\n\n white: {\n value: {\n _light: \"{colors.blacks.50}\",\n _dark: \"{colors.blacks.50}\",\n },\n },\n\n button: {\n primary: {\n default: {\n value: \"{colors.bg.accent-primary.default}\",\n },\n hover: {\n value: \"{colors.bg.accent-primary.hover}\",\n },\n pressed: {\n value: \"{colors.bg.accent-primary.pressed}\",\n },\n disabled: {\n value: \"{colors.bg.muted}\",\n },\n },\n },\n\n \"menu-item\": {\n default: {\n value: \"{colors.bg}\",\n },\n hover: {\n value: \"{colors.bg.hover}\",\n },\n focus: {\n value: \"{colors.bg.hover}\",\n },\n selected: {\n value: \"{colors.bg.active}\",\n },\n },\n\n display: {\n \"very-light\": {\n value: {\n _light: \"{colors.sand.50}\",\n _dark: \"{colors.blacks.1000}\",\n },\n },\n },\n\n // A drop target the dragged item joins, such as a group in the Sidenav.\n \"accent-subtle\": {\n value: {\n _light: \"#EEF0FB\",\n _dark: \"#232538\",\n },\n },\n\n \"accent-primary\": {\n default: {\n value: {\n _light: \"{colors.yellow.75}\",\n _dark: \"{colors.yellow.75}\",\n },\n },\n hover: {\n value: {\n _light: \"{colors.yellow.100}\",\n _dark: \"{colors.yellow.100}\",\n },\n },\n pressed: {\n value: {\n _light: \"{colors.yellow.150}\",\n _dark: \"{colors.yellow.150}\",\n },\n },\n \"very-light\": {\n value: {\n _light: \"{colors.yellow.75}\",\n _dark: \"{colors.yellow.75}\",\n },\n },\n light: {\n value: {\n _light: \"{colors.yellow.75}\",\n _dark: \"{colors.yellow.75}\",\n },\n },\n medium: {\n value: {\n _light: \"{colors.yellow.100}\",\n _dark: \"{colors.yellow.100}\",\n },\n },\n dark: {\n value: {\n _light: \"{colors.yellow.150}\",\n _dark: \"{colors.yellow.150}\",\n },\n },\n },\n\n \"accent-secondary\": {\n \"grey-dark\": {\n value: {\n _light: \"{colors.blacks.50}\",\n _dark: \"{colors.blacks.1000}\",\n },\n },\n \"grey-light\": {\n value: {\n _light: \"{colors.blacks.100}\",\n _dark: \"{colors.blacks.900}\",\n },\n },\n \"red-very-light\": {\n value: {\n _light: \"{colors.red.50}\",\n _dark: \"{colors.red.100}\",\n },\n },\n \"red-light\": {\n value: {\n _light: \"{colors.red.100}\",\n _dark: \"{colors.red.100}\",\n },\n },\n \"pink-light\": {\n value: {\n _light: \"{colors.pink.50}\",\n _dark: \"{colors.pink.700}\",\n },\n },\n \"pink-medium\": {\n value: {\n _light: \"{colors.pink.100}\",\n _dark: \"{colors.pink.800}\",\n },\n },\n \"blue-very-light\": {\n value: {\n _light: \"{colors.blue.25}\",\n _dark: \"{colors.blue.50}\",\n },\n },\n \"blue-light\": {\n value: {\n _light: \"{colors.mint.100}\",\n _dark: \"{colors.mint.100}\",\n },\n },\n \"blue-medium\": {\n value: {\n _light: \"{colors.mint.200}\",\n _dark: \"{colors.mint.200}\",\n },\n },\n \"blue-dark\": {\n value: {\n _light: \"{colors.blue.700}\",\n _dark: \"{colors.blue.200}\",\n },\n },\n \"cyan-light\": {\n value: {\n _light: \"{colors.cyan.50}\",\n _dark: \"{colors.cyan.100}\",\n },\n },\n \"green-light\": {\n value: {\n _light: \"{colors.green.50}\",\n _dark: \"{colors.sapphire.50}\",\n },\n },\n \"sand-light\": {\n value: {\n _light: \"{colors.sand.100}\",\n _dark: \"{colors.sand.100}\",\n },\n },\n },\n};\n","import { vis } from \"./colors-visualization\";\n\nexport { vis } from \"./colors-visualization\";\n\nimport { bg } from \"./colors-background\";\n\nexport { bg } from \"./colors-background\";\nexport const fg = {\n DEFAULT: {\n value: {\n _light: \"{colors.blacks.800}\",\n _dark: \"#F7F8F8\",\n },\n },\n\n muted: {\n value: {\n _light: \"{colors.blacks.600}\",\n _dark: \"#8B9099\",\n },\n },\n\n subtle: {\n value: {\n _light: \"{colors.blacks.400}\",\n _dark: \"#646973\",\n },\n },\n\n inverted: {\n value: {\n _light: \"{colors.blacks.50}\",\n _dark: \"{colors.blacks.800}\",\n },\n },\n\n info: {\n value: {\n _light: \"{colors.blue.700}\",\n _dark: \"{colors.blue.300}\",\n },\n },\n\n warning: {\n value: {\n _light: \"{colors.orange.700}\",\n _dark: \"{colors.orange.300}\",\n },\n },\n\n success: {\n value: {\n _light: \"{colors.green.700}\",\n _dark: \"{colors.green.400}\",\n },\n },\n\n error: {\n value: {\n _light: \"{colors.red.700}\",\n _dark: \"{colors.red.400}\",\n },\n },\n\n accent: {\n \"pink-dark\": {\n value: {\n _light: \"{colors.pink.700}\",\n _dark: \"{colors.pink.50}\",\n },\n },\n },\n\n \"green-dark\": {\n value: {\n _light: \"{colors.green.700}\",\n _dark: \"{colors.green.50}\",\n },\n },\n\n \"blue-dark\": {\n value: {\n _light: \"{colors.sapphire.700}\",\n _dark: \"{colors.sapphire.100}\",\n },\n },\n\n \"blue-very-dark\": {\n value: {\n _light: \"{colors.sapphire.900}\",\n _dark: \"{colors.sapphire.800}\",\n },\n },\n\n button: {\n primary: {\n default: {\n value: {\n _light: \"{colors.blacks.800}\",\n _dark: \"{colors.blacks.800}\",\n },\n },\n disabled: {\n value: \"{colors.fg.subtle}\",\n },\n },\n },\n\n \"menu-item\": {\n default: {\n value: \"{colors.fg}\",\n },\n secondary: {\n value: \"{colors.fg.muted}\",\n },\n },\n};\n\nexport const border = {\n DEFAULT: {\n value: {\n _light: \"#EAF0EB\",\n _dark: \"#2E333F\",\n },\n },\n\n subtle: {\n value: {\n _light: \"#EDF2EE\",\n _dark: \"#1A1E26\",\n },\n },\n\n inverted: {\n value: {\n _light: \"{colors.neutral.600}\",\n _dark: \"{colors.neutral.500}\",\n },\n },\n\n \"accent-light\": {\n value: {\n _light: \"{colors.mint.100}\",\n _dark: \"{colors.mint.100}\",\n },\n },\n\n accent: {\n value: {\n _light: \"{colors.blue.700}\",\n _dark: \"{colors.blue.200}\",\n },\n },\n\n info: {\n value: {\n _light: \"{colors.blue.100}\",\n _dark: \"#113A7C\",\n },\n },\n\n warning: {\n value: {\n _light: \"{colors.orange.100}\",\n _dark: \"#7C3A0E\",\n },\n },\n\n success: {\n value: {\n _light: \"{colors.green.100}\",\n _dark: \"#0A5B24\",\n },\n },\n\n error: {\n value: {\n _light: \"{colors.red.100}\",\n _dark: \"{colors.red.800}\",\n },\n },\n\n button: {\n primary: {\n value: \"{colors.border.subtle}\",\n },\n },\n};\n\nexport const blue = {\n border: {\n value: {\n _light: \"{colors.mint.200}\",\n _dark: \"{colors.mint.200}\",\n },\n },\n};\n\nexport const orange = {\n contrast: {\n value: {\n _light: \"black\",\n _dark: \"black\",\n },\n },\n fg: {\n value: {\n _light: \"{colors.orange.700}\",\n _dark: \"{colors.orange.300}\",\n },\n },\n subtle: {\n value: {\n _light: \"{colors.orange.100}\",\n _dark: \"{colors.orange.900}\",\n },\n },\n muted: {\n value: {\n _light: \"{colors.orange.200}\",\n _dark: \"{colors.orange.800}\",\n },\n },\n emphasized: {\n value: {\n _light: \"{colors.orange.300}\",\n _dark: \"{colors.orange.700}\",\n },\n },\n solid: {\n value: {\n _light: \"{colors.orange.500}\",\n _dark: \"{colors.orange.400}\",\n },\n },\n focusRing: {\n value: {\n _light: \"{colors.orange.500}\",\n _dark: \"{colors.orange.500}\",\n },\n },\n border: {\n value: {\n _light: \"{colors.orange.400}\",\n _dark: \"{colors.orange.500}\",\n },\n },\n};\n\nexport const text = {\n selectable: {\n primary: {\n value: {\n _light: \"{colors.blacks.800}\",\n _dark: \"{colors.blacks.800}\",\n },\n },\n },\n};\n\nexport const semanticColors = {\n fg,\n bg,\n border,\n blue,\n orange,\n vis,\n text,\n};\n","import { defineLayerStyles } from \"@chakra-ui/react\";\n\nexport const layerStyles = defineLayerStyles({\n floatingBar: {\n value: {\n paddingInline: \"sm\",\n paddingBlock: \"2xs\",\n borderRadius: \"md\",\n bg: \"bg.elevated\",\n border: \"1px solid\",\n borderColor: \"border\",\n boxShadow: \"lg\",\n },\n },\n // Cards clip their content so square children never paint over the rounded corners.\n panel: {\n value: {\n borderRadius: \"sm\",\n borderWidth: \"1px\",\n borderColor: \"border.subtle\",\n overflow: \"hidden\",\n },\n },\n // A dashed outline marks an area that takes dropped files. While something is dragged over it,\n // the outline takes the accent color and the area fills in.\n dropZone: {\n idle: {\n value: {\n borderRadius: \"sm\",\n borderWidth: \"1px\",\n borderStyle: \"dashed\",\n borderColor: \"border\",\n },\n },\n active: {\n value: {\n borderRadius: \"sm\",\n borderWidth: \"1px\",\n borderStyle: \"dashed\",\n borderColor: \"border.accent\",\n bg: \"bg.subtle\",\n },\n },\n },\n modal: {\n value: {\n paddingInline: \"xs\",\n paddingBlock: \"sm\",\n borderRadius: \"xs\",\n bg: \"bg\",\n border: \"1px solid\",\n borderColor: \"border\",\n },\n },\n});\n","import { defineTextStyles } from \"@chakra-ui/react\";\n\nexport const textStyles = defineTextStyles({\n \"heading/dialog\": {\n value: {\n fontFamily: \"heading\",\n fontSize: \"0.9375rem\",\n fontWeight: \"600\",\n lineHeight: \"140%\",\n },\n },\n brand: {\n value: {\n fontFamily: \"brand\",\n fontSize: \"3xl\",\n fontWeight: \"500\",\n },\n },\n \"heading/display/L\": {\n value: {\n fontFamily: \"display\",\n fontWeight: \"600\",\n fontSize: [\"5xl\", \"5xl\", \"5xl\", \"6xl\"],\n lineHeight: \"120%\",\n },\n },\n \"heading/display/M\": {\n value: {\n fontFamily: \"display\",\n fontWeight: \"600\",\n fontSize: [\"4xl\", \"5xl\"],\n lineHeight: \"120%\",\n },\n },\n \"heading/display/S\": {\n value: {\n fontFamily: \"display\",\n fontWeight: \"600\",\n fontSize: [\"3xl\", \"4xl\"],\n lineHeight: \"120%\",\n },\n },\n \"heading/XL\": {\n value: {\n fontFamily: \"heading\",\n fontSize: \"5xl\",\n fontWeight: \"500\",\n lineHeight: \"120%\",\n },\n },\n \"heading/L\": {\n value: {\n fontFamily: \"heading\",\n fontSize: \"4xl\",\n fontWeight: \"500\",\n lineHeight: \"110%\",\n },\n },\n \"heading/M\": {\n value: {\n fontFamily: \"heading\",\n fontSize: \"3xl\",\n fontWeight: \"500\",\n lineHeight: \"120%\",\n },\n },\n \"heading/S\": {\n value: {\n fontFamily: \"heading\",\n fontSize: \"2xl\",\n fontWeight: \"500\",\n lineHeight: \"120%\",\n },\n },\n \"label/XL/regular\": {\n value: {\n fontFamily: \"label\",\n fontSize: \"2xl\",\n fontWeight: \"400\",\n lineHeight: \"150%\",\n letterSpacing: \"0.16px\",\n },\n },\n \"label/L/regular\": {\n value: {\n fontFamily: \"label\",\n fontSize: \"lg\",\n fontWeight: \"400\",\n lineHeight: \"20px\",\n letterSpacing: \"0.16px\",\n },\n },\n \"label/L/medium\": {\n value: {\n fontFamily: \"label\",\n fontSize: \"lg\",\n fontWeight: \"500\",\n lineHeight: \"20px\",\n letterSpacing: \"0.16px\",\n },\n },\n \"label/L/medium/underline\": {\n value: {\n textDecoration: \"underline\",\n fontFamily: \"label\",\n fontSize: \"lg\",\n fontWeight: \"500\",\n lineHeight: \"20px\",\n letterSpacing: \"0.16px\",\n },\n },\n \"label/L/medium/uppercase\": {\n value: {\n letterSpacing: \"0.089rem\",\n fontFamily: \"label\",\n fontWeight: \"600\",\n fontSize: \"lg\",\n lineHeight: \"150%\",\n textTransform: \"uppercase\",\n color: \"fg.muted\",\n },\n },\n \"label/M/regular\": {\n value: {\n fontFamily: \"label\",\n fontSize: \"md\",\n fontWeight: \"400\",\n lineHeight: \"150%\",\n letterSpacing: \"0.14px\",\n },\n },\n \"label/M/regular/underline\": {\n value: {\n fontFamily: \"label\",\n fontSize: \"md\",\n fontWeight: \"400\",\n lineHeight: \"150%\",\n textDecoration: \"underline\",\n letterSpacing: \"0.14px\",\n },\n },\n \"label/M/medium\": {\n value: {\n fontFamily: \"label\",\n fontSize: \"md\",\n fontWeight: \"500\",\n lineHeight: \"150%\",\n letterSpacing: \"0.14px\",\n },\n },\n \"label/S/regular\": {\n value: {\n fontFamily: \"label\",\n fontSize: \"sm\",\n fontWeight: \"400\",\n lineHeight: \"150%\",\n letterSpacing: \"0.12px\",\n },\n },\n \"label/S/medium\": {\n value: {\n fontFamily: \"label\",\n fontSize: \"sm\",\n fontWeight: \"500\",\n lineHeight: \"150%\",\n letterSpacing: \"0.12px\",\n },\n },\n \"label/S/italic\": {\n value: {\n fontFamily: \"label\",\n fontSize: \"sm\",\n fontWeight: \"400\",\n lineHeight: \"150%\",\n letterSpacing: \"0.12px\",\n fontStyle: \"italic\",\n },\n },\n \"label/XS\": {\n value: {\n fontFamily: \"label\",\n fontSize: \"xs\",\n fontWeight: \"400\",\n lineHeight: \"150%\",\n letterSpacing: \"0.1px\",\n },\n },\n \"label/XS/caps\": {\n value: {\n fontFamily: \"label\",\n fontSize: \"xs\",\n fontWeight: \"600\",\n lineHeight: \"150%\",\n letterSpacing: \"0.9px\",\n textTransform: \"uppercase\",\n },\n },\n\n \"label/XS/medium\": {\n value: {\n fontFamily: \"label\",\n fontSize: \"xs\",\n fontWeight: \"500\",\n lineHeight: \"150%\",\n letterSpacing: \"0.1px\",\n },\n },\n \"label/2XS\": {\n value: {\n fontFamily: \"label\",\n fontSize: \"2xs\",\n fontWeight: \"400\",\n lineHeight: \"150%\",\n letterSpacing: \"0.08px\",\n },\n },\n \"label/2XS/medium\": {\n value: {\n fontFamily: \"label\",\n fontSize: \"2xs\",\n fontWeight: \"500\",\n lineHeight: \"150%\",\n letterSpacing: \"0.08px\",\n },\n },\n \"mono/XS\": {\n value: {\n fontFamily: \"mono\",\n fontSize: \"xs\",\n fontWeight: \"400\",\n lineHeight: \"150%\",\n },\n },\n \"paragraph/S/regular\": {\n value: {\n fontFamily: \"body\",\n fontSize: \"sm\",\n fontWeight: \"400\",\n lineHeight: \"135%\",\n letterSpacing: \"0.12px\",\n },\n },\n \"paragraph/M/regular\": {\n value: {\n fontFamily: \"body\",\n fontSize: \"md\",\n fontWeight: \"400\",\n lineHeight: \"171%\",\n letterSpacing: \"0.14px\",\n },\n },\n \"paragraph/M/medium\": {\n value: {\n fontFamily: \"body\",\n fontSize: \"md\",\n fontWeight: \"500\",\n lineHeight: \"171%\",\n letterSpacing: \"0.14px\",\n },\n },\n \"paragraph/L/regular\": {\n value: {\n fontFamily: \"body\",\n fontSize: \"lg\",\n fontWeight: \"400\",\n lineHeight: \"150%\",\n letterSpacing: \"0.14px\",\n },\n },\n \"paragraph/L/medium\": {\n value: {\n fontFamily: \"body\",\n fontSize: \"lg\",\n fontWeight: \"500\",\n lineHeight: \"150%\",\n letterSpacing: \"0.14px\",\n },\n },\n \"paragraph/XL/regular\": {\n value: {\n fontFamily: \"body\",\n fontWeight: \"400\",\n lineHeight: \"150%\",\n fontSize: [\"xl\", \"2xl\"],\n color: \"fg\",\n letterSpacing: \"0.14px\",\n },\n },\n \"paragraph/XL/medium\": {\n value: {\n fontFamily: \"body\",\n fontWeight: \"500\",\n lineHeight: \"150%\",\n fontSize: [\"xl\", \"2xl\"],\n color: \"fg\",\n letterSpacing: \"0.14px\",\n },\n },\n} satisfies Parameters<typeof defineTextStyles>[0]);\n","import { createSystem, defineConfig } from \"@chakra-ui/react\";\nimport { globalCss } from \"./global\";\nimport { colors } from \"./primitives/colors\";\nimport { fontSizes, fonts, fontWeights } from \"./primitives/fonts\";\nimport { borderWidths, radii, sizes, spacing } from \"./primitives/sizes\";\nimport { alertSlotRecipe } from \"./recipes/alert\";\nimport { badgeRecipe } from \"./recipes/badge\";\nimport { buttonRecipe } from \"./recipes/button\";\nimport { colorPickerSlotRecipe } from \"./recipes/color-picker\";\nimport { dialogSlotRecipe } from \"./recipes/dialog\";\nimport { dividerRecipe } from \"./recipes/divider\";\nimport { drawerSlotRecipe } from \"./recipes/drawer\";\nimport { editableSlotRecipe } from \"./recipes/editable\";\nimport { folderPickerSlotRecipe } from \"./recipes/folder-picker\";\nimport { fieldsetSlotRecipe } from \"./recipes/form\";\nimport { inputRecipe } from \"./recipes/input\";\nimport { kbdRecipe } from \"./recipes/kbd\";\nimport { menuSlotRecipe } from \"./recipes/menu\";\nimport { numberInputSlotRecipe } from \"./recipes/number-input\";\nimport { popoverRecipe } from \"./recipes/popover\";\nimport { progressCircleSlotRecipe } from \"./recipes/progress-circle\";\nimport { resizableSplitLayoutSlotRecipe } from \"./recipes/resizable-split-layout\";\nimport { skeletonRecipe } from \"./recipes/skeleton\";\nimport { switchSlotRecipe } from \"./recipes/switch\";\nimport { tabsSlotRecipe } from \"./recipes/tabs\";\nimport { textareaRecipe } from \"./recipes/textarea\";\nimport { timelineSlotRecipe } from \"./recipes/timeline\";\nimport { tooltipRecipe } from \"./recipes/tooltip\";\nimport { windowTabsRecipe, windowTitleBarRecipe } from \"./recipes/window-title-bar\";\nimport { shadowlessDefaultConfig } from \"./shadowless-default-config\";\nimport { borders } from \"./tokens/borders\";\nimport { semanticColors } from \"./tokens/colors\";\nimport { layerStyles } from \"./tokens/layer-styles\";\nimport { textStyles } from \"./tokens/text\";\n\nconst config = defineConfig({\n globalCss,\n utilities: {\n WebkitAppRegion: {\n values: [\"drag\", \"no-drag\"],\n transform: (value) => ({ WebkitAppRegion: value }),\n },\n },\n theme: {\n breakpoints: {\n \"3xl\": \"2560px\",\n \"4xl\": \"3840px\",\n },\n textStyles,\n layerStyles,\n recipes: {\n badge: badgeRecipe,\n button: buttonRecipe,\n divider: dividerRecipe,\n input: inputRecipe,\n kbd: kbdRecipe,\n skeleton: skeletonRecipe,\n textarea: textareaRecipe,\n },\n tokens: {\n colors,\n borderWidths,\n fonts,\n fontSizes,\n fontWeights,\n radii,\n sizes,\n spacing,\n },\n semanticTokens: {\n colors: semanticColors,\n borders,\n },\n slotRecipes: {\n windowTitleBar: windowTitleBarRecipe,\n windowTabs: windowTabsRecipe,\n resizableSplitLayout: resizableSplitLayoutSlotRecipe,\n alert: alertSlotRecipe,\n colorPicker: colorPickerSlotRecipe,\n drawer: drawerSlotRecipe,\n tooltip: tooltipRecipe,\n popover: popoverRecipe,\n menu: menuSlotRecipe,\n numberInput: numberInputSlotRecipe,\n editable: editableSlotRecipe,\n form: fieldsetSlotRecipe,\n dialog: dialogSlotRecipe,\n folderPicker: folderPickerSlotRecipe,\n progressCircle: progressCircleSlotRecipe,\n switch: switchSlotRecipe,\n tabs: tabsSlotRecipe,\n timeline: timelineSlotRecipe,\n },\n },\n});\n\nexport default createSystem(shadowlessDefaultConfig, config);\n"],"mappings":";;;;;;;;;;;;;AAEA,IAAaC,IAAuBD,EAAiB;CACnDE,WAAW;CACXC,OAAO,CAAC,QAAQ,SAAS;CACzBC,MAAM;EACJC,MAAM;GACJC,UAAU;GACVC,YAAY;GACZC,OAAO;GACPC,QAAQ;GACRC,IAAI;GACJC,OAAO;GACPC,YAAY;GACZC,iBAAiB;EACnB;EACAC,SAAS;GACPC,SAAS;GACTC,YAAY;GACZC,KAAK;GACLR,QAAQ;GACRS,UAAU;GACVC,eAAe;GACf,wCAAwC,EAAEN,iBAAiB,UAAU;EACvE;CACF;CACAO,UAAU,EACRC,UAAU;EACRC,KAAK,EACHR,SAAS;GACPS,oBAAoB;GACpB,+BAA+B,EAAEA,oBAAoB,UAAU;EACjE,EACF;EACAC,SAAS,EAAEV,SAAS;GAAEW,YAAY;GAA6BjB,OAAO;EAAiC,EAAE;CAC3G,EACF;CACAkB,iBAAiB,EAAEL,UAAU,UAAU;AACzC,CAAC,GAEYM,IAAmB3B,EAAiB;CAC/CE,WAAW;CACXC,OAAO;EAAC;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TC,IAAI,YACN;EACAC,SAAS,EACPN,KAAK,IACP;EACAO,OAAO,EACLC,WAAW,iBACb;EACAC,aAAa,EACXD,WAAW,sBACb;CACF;CACAE,kBAAkB;EAChB;GACEC,QAAQ;GACRC,SAAS;GACTC,KAAK;IACHhB,MAAM;KACJiB,IAAI;KACJC,OAAO;IACT;IACAX,WAAW,EACTW,OAAO,UACT;GACF;EACF;EACA;GACEJ,QAAQ;GACRC,SAAS;GACTC,KAAK;IACHhB,MAAM;KACJiB,IAAI;KACJC,OAAO;IACT;IACAX,WAAW,EACTW,OAAO,aACT;GACF;EACF;EACA;GACEJ,QAAQ;GACRC,SAAS;GACTC,KAAK;IACHhB,MAAM;KACJiB,IAAI;KACJC,OAAO;IACT;IACAX,WAAW,EACTW,OAAO,aACT;GACF;EACF;EACA;GACEJ,QAAQ;GACRC,SAAS;GACTC,KAAK;IACHhB,MAAM;KACJiB,IAAI;KACJC,OAAO;IACT;IACAX,WAAW,EACTW,OAAO,WACT;GACF;EACF;CAAC;AAEL,CAAC,GC/EYE,IAAcD,EAAa;CACtCE,WAAW;CACXC,MAAM;EACJC,SAAS;EACTC,YAAY;EACZC,cAAc;EACdC,KAAK;EACLC,YAAY;EACZC,oBAAoB;EACpBC,YAAY;EACZC,YAAY;CACd;CACAC,UAAU;EACRC,SAAS;GACPC,OAAO;IACLC,IAAI;IACJC,OAAO;GACT;GACAC,QAAQ;IACNF,IAAI;IACJC,OAAO;GACT;GACAE,QAAQ;IACNH,IAAI;IACJC,OAAO;IACPV,cAAc;IACda,gBAAgB;GAClB;GACAC,MAAM;IACJL,IAAI;IACJC,OAAO;IACPK,aAAa;IACbC,aAAa;IACbhB,cAAc;IACdE,YAAY;GACd;GACAe,SAAS;IACPP,OAAO;IACP,2BAA2B;IAC3B,oBAAoB;IACpBQ,QAAQ;IACRC,aAAa;GACf;GACAC,OAAO,EACLV,OAAO,kBACT;EACF;EACAW,MAAM;GACJC,IAAI;IACFC,WAAW;IACXC,IAAI;IACJC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YAAY;EACZC,UAAU;EACVC,YAAY;EACZC,YAAY;EACZE,eAAe;CACjB,EACF;CACA,4BAA4B,EAC1BN,OAAO;EACLO,gBAAgB;EAChBN,YAAY;EACZC,UAAU;EACVC,YAAY;EACZC,YAAY;EACZE,eAAe;CACjB,EACF;CACA,4BAA4B,EAC1BN,OAAO;EACLM,eAAe;EACfL,YAAY;EACZE,YAAY;EACZD,UAAU;EACVE,YAAY;EACZI,eAAe;EACfC,OAAO;CACT,EACF;CACA,mBAAmB,EACjBT,OAAO;EACLC,YAAY;EACZC,UAAU;EACVC,YAAY;EACZC,YAAY;EACZE,eAAe;CACjB,EACF;CACA,6BAA6B,EAC3BN,OAAO;EACLC,YAAY;EACZC,UAAU;EACVC,YAAY;EACZC,YAAY;EACZG,gBAAgB;EAChBD,eAAe;CACjB,EACF;CACA,kBAAkB,EAChBN,OAAO;EACLC,YAAY;EACZC,UAAU;EACVC,YAAY;EACZC,YAAY;EACZE,eAAe;CACjB,EACF;CACA,mBAAmB,EACjBN,OAAO;EACLC,YAAY;EACZC,UAAU;EACVC,YAAY;EACZC,YAAY;EACZE,eAAe;CACjB,EACF;CACA,kBAAkB,EAChBN,OAAO;EACLC,YAAY;EACZC,UAAU;EACVC,YAAY;EACZC,YAAY;EACZE,eAAe;CACjB,EACF;CACA,kBAAkB,EAChBN,OAAO;EACLC,YAAY;EACZC,UAAU;EACVC,YAAY;EACZC,YAAY;EACZE,eAAe;EACfI,WAAW;CACb,EACF;CACA,YAAY,EACVV,OAAO;EACLC,YAAY;EACZC,UAAU;EACVC,YAAY;EACZC,YAAY;EACZE,eAAe;CACjB,EACF;CACA,iBAAiB,EACfN,OAAO;EACLC,YAAY;EACZC,UAAU;EACVC,YAAY;EACZC,YAAY;EACZE,eAAe;EACfE,eAAe;CACjB,EACF;CAEA,mBAAmB,EACjBR,OAAO;EACLC,YAAY;EACZC,UAAU;EACVC,YAAY;EACZC,YAAY;EACZE,eAAe;CACjB,EACF;CACA,aAAa,EACXN,O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AS;GACPC,OAAOtC;GACPuC,QAAQtC;GACRuC,SAASpC;GACTqC,OAAOhC;GACPiC,KAAKhC;GACLiC,UAAU3B;GACV4B,UAAUzB;EACZ;EACA0B,QAAQ;GACNtD;GACAI;GACAF;GACAD;GACAE;GACAE;GACAC;GACAC;EACF;EACAgD,gBAAgB;GACdvD,QAAQmC;GACRD;EACF;EACAsB,aAAa;GACXC,gBAAgBzB;GAChB0B,YAAY3B;GACZ4B,sBAAsBnC;GACtBoC,OAAOpD;GACPqD,aAAalD;GACbmD,QAAQhD;GACRiD,SAASjC;GACTkC,SAAS1C;GACT2C,MAAM7C;GACN8C,aAAa7C;GACb8C,UAAUpD;GACVqD,MAAMnD;GACNoD,QAAQzD;GACR0D,cAActD;GACduD,gBAAgBhD;GAChBiD,QAAQ9C;GACR+C,MAAM9C;GACN+C,UAAU7C;EACZ;CACF;AACF,CAAC,GAED0J,KAAe1L,EAAaoC,IAAyBK,EAAM"}
@@ -1,101 +0,0 @@
1
- import { t as e } from "./browser-storage-C_ipoNwP.js";
2
- import { c as t } from "react/compiler-runtime";
3
- import { jsx as n } from "react/jsx-runtime";
4
- import { createContext as r, useContext as i, useEffect as a, useState as o } from "react";
5
- //#region src/utils/apply-theme-preference.ts
6
- var s = [{
7
- id: "pstdio-light",
8
- mode: "light"
9
- }, {
10
- id: "pstdio-dark",
11
- mode: "dark"
12
- }], c = (e, t = s) => typeof e == "string" && t.some((t) => t.id === e), l = (e, t = s) => t.find((t) => t.id === e)?.mode ?? "light", u = (e) => `theme-${e}`, d = (e, t = l(e)) => [t, u(e)], f = "data-pstdio-theme-token-paths", p = (e) => `--chakra-${e.replaceAll(".", "-")}`, m = (e, t) => {
13
- if (t?.tokens) for (let n of Object.keys(t.tokens)) e.style.removeProperty(p(n));
14
- }, h = (e) => {
15
- let t = e.getAttribute(f)?.split("\n").filter(Boolean) ?? [];
16
- for (let n of t) e.style.removeProperty(p(n));
17
- e.setAttribute(f, "");
18
- }, g = (e, t) => {
19
- if (!t.tokens) {
20
- e.setAttribute(f, "");
21
- return;
22
- }
23
- for (let [n, r] of Object.entries(t.tokens)) e.style.setProperty(p(n), r);
24
- e.setAttribute(f, Object.keys(t.tokens).join("\n"));
25
- }, _ = (e, t = s) => {
26
- if (typeof document > "u") return;
27
- let n = document.documentElement, r = document.body, i = t.find((t) => t.id === e) ?? {
28
- id: e,
29
- mode: "light"
30
- }, a = l(e, t);
31
- for (let o of [n, r]) {
32
- if (!o) continue;
33
- let n = o.getAttribute("data-theme"), r = t.find((e) => e.id === n);
34
- o.classList.remove("light", "dark"), n && o.classList.remove(u(n)), h(o), m(o, r), g(o, i), o.classList.add(...d(e, a)), o.setAttribute("data-theme", e), o.setAttribute("data-color-mode", a), o.style.colorScheme = a;
35
- }
36
- }, v = "theme-preference", y = r(null), b = (e, t) => e.find((e) => e.mode === t)?.id ?? e[0]?.id ?? s[0].id, x = (t = v) => typeof window > "u" ? null : e().getItem(t), S = (t, n = v) => {
37
- typeof window < "u" && e().setItem(n, t);
38
- }, C = (e) => typeof e == "string" && e.includes("."), w = (e = s) => typeof window > "u" ? b(e, "light") : x() || b(e, typeof window.matchMedia == "function" && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light"), T = (e) => {
39
- let r = t(30), { children: i, themePreferences: u } = e, d = u === void 0 ? s : u, f = e.preferenceScope ? `${v}:${e.preferenceScope}` : v, p = e.initialPreference === void 0 ? x(f) : null, m = e.initialPreference ?? p ?? e.defaultPreference ?? w(d), [h, g] = o({
40
- storageKey: f,
41
- preference: m
42
- }), T = h.storageKey === f ? h.preference : m, E = c(T, d) ? T : b(d, l(T, d)), D;
43
- r[0] !== e.defaultPreference || r[1] !== E || r[2] !== g || r[3] !== f || r[4] !== p || r[5] !== T || r[6] !== d ? (D = () => {
44
- if (p && p !== T && c(p, d)) {
45
- g({
46
- storageKey: f,
47
- preference: p
48
- });
49
- return;
50
- }
51
- if (!c(T, d)) {
52
- e.defaultPreference || g({
53
- storageKey: f,
54
- preference: E
55
- });
56
- return;
57
- }
58
- _(T, d), !(p && p !== T && C(p) && !c(p, d)) && !e.defaultPreference && S(T, f);
59
- }, r[0] = e.defaultPreference, r[1] = E, r[2] = g, r[3] = f, r[4] = p, r[5] = T, r[6] = d, r[7] = D) : D = r[7];
60
- let O;
61
- r[8] !== e.defaultPreference || r[9] !== E || r[10] !== f || r[11] !== p || r[12] !== T || r[13] !== d ? (O = [
62
- E,
63
- p,
64
- T,
65
- d,
66
- f,
67
- e.defaultPreference
68
- ], r[8] = e.defaultPreference, r[9] = E, r[10] = f, r[11] = p, r[12] = T, r[13] = d, r[14] = O) : O = r[14], a(D, O);
69
- let k;
70
- r[15] !== g || r[16] !== f ? (k = (e) => {
71
- S(e, f), g({
72
- storageKey: f,
73
- preference: e
74
- });
75
- }, r[15] = g, r[16] = f, r[17] = k) : k = r[17];
76
- let A = k, j;
77
- r[18] !== E || r[19] !== A || r[20] !== d ? (j = () => {
78
- let e = l(E, d) === "dark" ? "light" : "dark";
79
- A(b(d, e));
80
- }, r[18] = E, r[19] = A, r[20] = d, r[21] = j) : j = r[21];
81
- let M = j, N;
82
- r[22] !== E || r[23] !== A || r[24] !== d || r[25] !== M ? (N = {
83
- themePreference: E,
84
- themePreferences: d,
85
- setThemePreference: A,
86
- toggleThemePreference: M
87
- }, r[22] = E, r[23] = A, r[24] = d, r[25] = M, r[26] = N) : N = r[26];
88
- let P;
89
- return r[27] !== i || r[28] !== N ? (P = /* @__PURE__ */ n(y, {
90
- value: N,
91
- children: i
92
- }), r[27] = i, r[28] = N, r[29] = P) : P = r[29], P;
93
- }, E = () => {
94
- let e = i(y);
95
- if (!e) throw Error("useThemePreference must be used within a ThemePreferenceProvider");
96
- return e;
97
- };
98
- //#endregion
99
- export { s as a, l as c, _ as i, c as l, w as n, u as o, E as r, d as s, T as t };
100
-
101
- //# sourceMappingURL=theme-preference-pzfuK5cH.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"theme-preference-pzfuK5cH.js","names":["ThemePreference","ThemePreferenceMode","ThemePreferenceTokens","Record","ThemePreferenceOption","id","title","mode","tokens","monacoTheme","defaultThemePreferences","isThemePreference","value","themePreferences","some","theme","getThemePreferenceMode","find","preference","getThemePreferenceClassName","getThemePreferenceClassNames","THEME_TOKEN_PATHS_ATTRIBUTE","getThemePreferenceCssVariableName","tokenPath","replaceAll","removeThemeTokens","el","HTMLElement","Object","keys","style","removeProperty","removeTrackedThemeTokens","tokenPaths","getAttribute","split","filter","Boolean","setAttribute","applyThemeTokens","entries","setProperty","join","applyThemePreference","document","root","documentElement","body","option","previousTheme","previousPreference","classList","remove","add","colorScheme","createContext","ReactNode","useContext","useEffect","useState","applyThemePreference","defaultThemePreferences","getThemePreferenceMode","isThemePreference","ThemePreference","ThemePreferenceMode","ThemePreferenceOption","createBrowserStorage","STORAGE_KEY","ThemePreferenceContext","ThemePreferenceContextValue","themePreference","themePreferences","setThemePreference","preference","toggleThemePreference","ThemePreferenceProviderProps","children","initialPreference","defaultPreference","preferenceScope","getDefaultThemePreference","mode","find","id","getStoredThemePreference","storageKey","window","getItem","storeThemePreference","setItem","looksLikeContributedThemePreference","value","includes","getInitialThemePreference","stored","prefersDark","matchMedia","matches","ThemePreferenceProvider","props","$","_c","t0","undefined","storedPreference","selection","setSelection","resolvedThemePreference","t1","hasPendingStoredTheme","t2","t3","t4","nextMode","t5","t6","useThemePreference","context","Error","_c","createBrowserStorage","defaultThemePreferences","isThemePreference","value","themePreferences","theme","getThemePreferenceMode","preference","getThemePreferenceClassName","getThemePreferenceClassNames","mode","THEME_TOKEN_PATHS_ATTRIBUTE","getThemePreferenceCssVariableName","tokenPath","removeThemeTokens","removeTrackedThemeTokens","tokenPaths","el","applyThemeTokens","applyThemePreference","root","body","option","previousTheme","previousPreference","STORAGE_KEY","ThemePreferenceContext","createContext","getDefaultThemePreference","getStoredThemePreference","storageKey","storeThemePreference","looksLikeContributedThemePreference","getInitialThemePreference","ThemePreferenceProvider","$","c","t0","props","storedPreference","initialPreference","selection","setSelection","useState","themePreference","resolvedThemePreference","t1","t2","useEffect","t3","setThemePreference","t4","nextMode","toggleThemePreference","t5","t6","children","useThemePreference","context","useContext"],"sources":["../src/utils/apply-theme-preference.ts","../src/utils/theme-preference.tsx"],"sourcesContent":["export type ThemePreference = string;\nexport type ThemePreferenceMode = \"light\" | \"dark\";\nexport type ThemePreferenceTokens = Record<string, string>;\n\nexport interface ThemePreferenceOption {\n id: ThemePreference;\n title?: string;\n mode: ThemePreferenceMode;\n tokens?: ThemePreferenceTokens;\n monacoTheme?: unknown;\n}\n\nexport const defaultThemePreferences = [\n { id: \"pstdio-light\", mode: \"light\" },\n { id: \"pstdio-dark\", mode: \"dark\" },\n] satisfies ThemePreferenceOption[];\n\nexport const isThemePreference = (\n value: string | null,\n themePreferences: readonly ThemePreferenceOption[] = defaultThemePreferences,\n): value is ThemePreference => typeof value === \"string\" && themePreferences.some((theme) => theme.id === value);\n\nexport const getThemePreferenceMode = (\n theme: ThemePreference,\n themePreferences: readonly ThemePreferenceOption[] = defaultThemePreferences,\n) => themePreferences.find((preference) => preference.id === theme)?.mode ?? \"light\";\n\nexport const getThemePreferenceClassName = (theme: ThemePreference) => `theme-${theme}`;\n\nexport const getThemePreferenceClassNames = (\n theme: ThemePreference,\n mode: ThemePreferenceMode = getThemePreferenceMode(theme),\n) => [mode, getThemePreferenceClassName(theme)];\n\nconst THEME_TOKEN_PATHS_ATTRIBUTE = \"data-pstdio-theme-token-paths\";\n\nconst getThemePreferenceCssVariableName = (tokenPath: string) => `--chakra-${tokenPath.replaceAll(\".\", \"-\")}`;\n\nconst removeThemeTokens = (el: HTMLElement, theme?: ThemePreferenceOption) => {\n if (!theme?.tokens) return;\n\n for (const tokenPath of Object.keys(theme.tokens)) {\n el.style.removeProperty(getThemePreferenceCssVariableName(tokenPath));\n }\n};\n\nconst removeTrackedThemeTokens = (el: HTMLElement) => {\n const tokenPaths = el.getAttribute(THEME_TOKEN_PATHS_ATTRIBUTE)?.split(\"\\n\").filter(Boolean) ?? [];\n\n for (const tokenPath of tokenPaths) {\n el.style.removeProperty(getThemePreferenceCssVariableName(tokenPath));\n }\n\n el.setAttribute(THEME_TOKEN_PATHS_ATTRIBUTE, \"\");\n};\n\nconst applyThemeTokens = (el: HTMLElement, theme: ThemePreferenceOption) => {\n if (!theme.tokens) {\n el.setAttribute(THEME_TOKEN_PATHS_ATTRIBUTE, \"\");\n return;\n }\n\n for (const [tokenPath, value] of Object.entries(theme.tokens)) {\n el.style.setProperty(getThemePreferenceCssVariableName(tokenPath), value);\n }\n el.setAttribute(THEME_TOKEN_PATHS_ATTRIBUTE, Object.keys(theme.tokens).join(\"\\n\"));\n};\n\nexport const applyThemePreference = (\n theme: ThemePreference,\n themePreferences: readonly ThemePreferenceOption[] = defaultThemePreferences,\n) => {\n if (typeof document === \"undefined\") return;\n\n const root = document.documentElement;\n const body = document.body;\n const preference = themePreferences.find((option) => option.id === theme) ?? { id: theme, mode: \"light\" };\n const mode = getThemePreferenceMode(theme, themePreferences);\n\n for (const el of [root, body]) {\n if (!el) continue;\n const previousTheme = el.getAttribute(\"data-theme\");\n const previousPreference = themePreferences.find((option) => option.id === previousTheme);\n\n el.classList.remove(\"light\", \"dark\");\n if (previousTheme) {\n el.classList.remove(getThemePreferenceClassName(previousTheme));\n }\n removeTrackedThemeTokens(el);\n removeThemeTokens(el, previousPreference);\n applyThemeTokens(el, preference);\n el.classList.add(...getThemePreferenceClassNames(theme, mode));\n el.setAttribute(\"data-theme\", theme);\n el.setAttribute(\"data-color-mode\", mode);\n el.style.colorScheme = mode;\n }\n};\n","import { createContext, type ReactNode, useContext, useEffect, useState } from \"react\";\n\nimport {\n applyThemePreference,\n defaultThemePreferences,\n getThemePreferenceMode,\n isThemePreference,\n type ThemePreference,\n type ThemePreferenceMode,\n type ThemePreferenceOption,\n} from \"./apply-theme-preference\";\nimport { createBrowserStorage } from \"./browser-storage\";\n\nconst STORAGE_KEY = \"theme-preference\";\n\nconst ThemePreferenceContext = createContext<ThemePreferenceContextValue | null>(null);\n\ninterface ThemePreferenceContextValue {\n themePreference: ThemePreference;\n themePreferences: readonly ThemePreferenceOption[];\n setThemePreference: (preference: ThemePreference) => void;\n toggleThemePreference: () => void;\n}\n\ninterface ThemePreferenceProviderProps {\n children: ReactNode;\n initialPreference?: ThemePreference;\n /** A default used only when the user has not chosen a theme in this scope. */\n defaultPreference?: ThemePreference;\n preferenceScope?: string;\n themePreferences?: readonly ThemePreferenceOption[];\n}\n\nconst getDefaultThemePreference = (themePreferences: readonly ThemePreferenceOption[], mode: ThemePreferenceMode) =>\n themePreferences.find((preference) => preference.mode === mode)?.id ??\n themePreferences[0]?.id ??\n defaultThemePreferences[0].id;\n\nconst getStoredThemePreference = (storageKey = STORAGE_KEY) => {\n if (typeof window === \"undefined\") return null;\n\n return createBrowserStorage().getItem(storageKey);\n};\n\nconst storeThemePreference = (preference: ThemePreference, storageKey = STORAGE_KEY) => {\n if (typeof window === \"undefined\") return;\n\n createBrowserStorage().setItem(storageKey, preference);\n};\n\n// Contributed themes register asynchronously. Keep their stored preference until\n// it registers or the user chooses another theme.\nconst looksLikeContributedThemePreference = (value: string | null) => typeof value === \"string\" && value.includes(\".\");\n\nexport const getInitialThemePreference = (\n themePreferences: readonly ThemePreferenceOption[] = defaultThemePreferences,\n) => {\n if (typeof window === \"undefined\") return getDefaultThemePreference(themePreferences, \"light\");\n\n const stored = getStoredThemePreference();\n if (stored) return stored;\n\n const prefersDark =\n typeof window.matchMedia === \"function\" && window.matchMedia(\"(prefers-color-scheme: dark)\").matches;\n\n return getDefaultThemePreference(themePreferences, prefersDark ? \"dark\" : \"light\");\n};\n\nexport const ThemePreferenceProvider = (props: ThemePreferenceProviderProps) => {\n const { children, themePreferences = defaultThemePreferences } = props;\n const storageKey = props.preferenceScope ? `${STORAGE_KEY}:${props.preferenceScope}` : STORAGE_KEY;\n const storedPreference = props.initialPreference === undefined ? getStoredThemePreference(storageKey) : null;\n const initialPreference =\n props.initialPreference ??\n storedPreference ??\n props.defaultPreference ??\n getInitialThemePreference(themePreferences);\n const [selection, setSelection] = useState({ storageKey, preference: initialPreference });\n const themePreference = selection.storageKey === storageKey ? selection.preference : initialPreference;\n const resolvedThemePreference = isThemePreference(themePreference, themePreferences)\n ? themePreference\n : getDefaultThemePreference(themePreferences, getThemePreferenceMode(themePreference, themePreferences));\n\n useEffect(() => {\n if (\n storedPreference &&\n storedPreference !== themePreference &&\n isThemePreference(storedPreference, themePreferences)\n ) {\n setSelection({ storageKey, preference: storedPreference });\n return;\n }\n\n if (!isThemePreference(themePreference, themePreferences)) {\n if (!props.defaultPreference) setSelection({ storageKey, preference: resolvedThemePreference });\n return;\n }\n\n applyThemePreference(themePreference, themePreferences);\n const hasPendingStoredTheme =\n storedPreference &&\n storedPreference !== themePreference &&\n looksLikeContributedThemePreference(storedPreference) &&\n !isThemePreference(storedPreference, themePreferences);\n if (!hasPendingStoredTheme && !props.defaultPreference) storeThemePreference(themePreference, storageKey);\n }, [\n resolvedThemePreference,\n storedPreference,\n themePreference,\n themePreferences,\n storageKey,\n props.defaultPreference,\n ]);\n\n const setThemePreference = (preference: ThemePreference) => {\n storeThemePreference(preference, storageKey);\n setSelection({ storageKey, preference });\n };\n\n const toggleThemePreference = () => {\n const nextMode = getThemePreferenceMode(resolvedThemePreference, themePreferences) === \"dark\" ? \"light\" : \"dark\";\n\n setThemePreference(getDefaultThemePreference(themePreferences, nextMode));\n };\n\n return (\n <ThemePreferenceContext\n value={{ themePreference: resolvedThemePreference, themePreferences, setThemePreference, toggleThemePreference }}\n >\n {children}\n </ThemePreferenceContext>\n );\n};\n\nexport const useThemePreference = () => {\n const context = useContext(ThemePreferenceContext);\n\n if (!context) {\n throw new Error(\"useThemePreference must be used within a ThemePreferenceProvider\");\n }\n\n return context;\n};\n"],"mappings":";;;;;AAYA,IAAaU,IAA0B,CACrC;CAAEL,IAAI;CAAgBE,MAAM;AAAQ,GACpC;CAAEF,IAAI;CAAeE,MAAM;AAAO,CAAC,GAGxBI,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