@lobehub/ui 6.15.1 → 6.15.3

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 (884) hide show
  1. package/es/A/index.d.mts +1 -2
  2. package/es/Accordion/Accordion.d.mts +1 -2
  3. package/es/Accordion/atoms.d.mts +1 -2
  4. package/es/Accordion/style.d.mts +1 -2
  5. package/es/Accordion/type.d.mts +1 -2
  6. package/es/ActionIcon/ActionIcon.d.mts +1 -2
  7. package/es/ActionIcon/style.d.mts +1 -2
  8. package/es/ActionIcon/type.d.mts +1 -2
  9. package/es/ActionIconGroup/ActionIconGroup.d.mts +1 -2
  10. package/es/ActionIconGroup/type.d.mts +1 -2
  11. package/es/AgentAvatar/AgentAvatar.d.mts +1 -2
  12. package/es/AgentAvatar/type.d.mts +1 -2
  13. package/es/AgentAvatar/utils.d.mts +1 -2
  14. package/es/Alert/Alert.d.mts +1 -2
  15. package/es/Alert/style.d.mts +1 -2
  16. package/es/Alert/type.d.mts +1 -2
  17. package/es/Anchor/Anchor.d.mts +1 -2
  18. package/es/Anchor/type.d.mts +1 -2
  19. package/es/AutoComplete/AutoComplete.d.mts +1 -2
  20. package/es/AutoComplete/style.d.mts +1 -2
  21. package/es/AutoComplete/type.d.mts +1 -2
  22. package/es/Avatar/AvatarGroup/index.d.mts +1 -2
  23. package/es/Avatar/index.d.mts +1 -2
  24. package/es/Avatar/type.d.mts +1 -2
  25. package/es/Badge/Badge.d.mts +1 -2
  26. package/es/Badge/type.d.mts +1 -2
  27. package/es/Block/Block.d.mts +1 -2
  28. package/es/Block/type.d.mts +1 -2
  29. package/es/Breadcrumb/Breadcrumb.d.mts +1 -2
  30. package/es/Breadcrumb/type.d.mts +1 -2
  31. package/es/Burger/Burger.d.mts +1 -2
  32. package/es/Burger/type.d.mts +1 -2
  33. package/es/Button/Button.d.mts +1 -2
  34. package/es/Button/SplitButton.d.mts +1 -2
  35. package/es/Button/style.d.mts +1 -2
  36. package/es/Button/type.d.mts +1 -2
  37. package/es/Carousel/Carousel.d.mts +1 -2
  38. package/es/Carousel/type.d.mts +1 -2
  39. package/es/Checkbox/Checkbox.d.mts +1 -2
  40. package/es/Checkbox/Checkbox.mjs +6 -6
  41. package/es/Checkbox/Checkbox.mjs.map +1 -1
  42. package/es/Checkbox/CheckboxGroup.d.mts +1 -2
  43. package/es/Checkbox/CheckboxGroup.mjs +5 -5
  44. package/es/Checkbox/CheckboxGroup.mjs.map +1 -1
  45. package/es/Checkbox/style.d.mts +1 -2
  46. package/es/Checkbox/type.d.mts +1 -2
  47. package/es/CodeDiff/CodeDiff.d.mts +1 -2
  48. package/es/CodeDiff/PatchDiff.d.mts +1 -2
  49. package/es/CodeDiff/PatchDiff.mjs +5 -5
  50. package/es/CodeDiff/PatchDiff.mjs.map +1 -1
  51. package/es/CodeDiff/type.d.mts +1 -2
  52. package/es/CodeEditor/CodeEditor.d.mts +1 -2
  53. package/es/CodeEditor/type.d.mts +1 -2
  54. package/es/Collapsible/Collapsible.d.mts +1 -2
  55. package/es/Collapsible/Collapsible.mjs +5 -5
  56. package/es/Collapsible/Collapsible.mjs.map +1 -1
  57. package/es/Collapsible/type.d.mts +1 -2
  58. package/es/ColorPicker/ColorPicker.d.mts +1 -2
  59. package/es/ColorPicker/type.d.mts +1 -2
  60. package/es/ColorSwatches/ColorSwatches.d.mts +1 -2
  61. package/es/ColorSwatches/type.d.mts +1 -2
  62. package/es/ConfigProvider/AppElementContext.d.mts +1 -2
  63. package/es/ConfigProvider/index.d.mts +1 -2
  64. package/es/ContextMenu/ContextMenuHost.d.mts +1 -2
  65. package/es/ContextMenu/ContextMenuTrigger.d.mts +1 -2
  66. package/es/ContextMenu/renderItems.d.mts +1 -1
  67. package/es/ContextMenu/store.d.mts +1 -2
  68. package/es/ContextMenu/type.d.mts +1 -2
  69. package/es/CopyButton/CopyButton.d.mts +1 -2
  70. package/es/CopyButton/type.d.mts +1 -2
  71. package/es/DatePicker/DatePicker.d.mts +1 -2
  72. package/es/DatePicker/DateRangePicker.d.mts +1 -2
  73. package/es/DatePicker/DayjsDatePicker.d.mts +1 -2
  74. package/es/DatePicker/DayjsDateRangePicker.d.mts +1 -2
  75. package/es/DatePicker/core/PickerInput/Popup/Footer.mjs +2 -2
  76. package/es/DatePicker/core/PickerInput/Popup/Footer.mjs.map +1 -1
  77. package/es/DatePicker/core/PickerInput/Popup/PopupPanel.mjs +4 -4
  78. package/es/DatePicker/core/PickerInput/Popup/PopupPanel.mjs.map +1 -1
  79. package/es/DatePicker/core/PickerInput/Popup/index.mjs +14 -14
  80. package/es/DatePicker/core/PickerInput/Popup/index.mjs.map +1 -1
  81. package/es/DatePicker/core/PickerInput/RangePicker.d.mts +3 -4
  82. package/es/DatePicker/core/PickerInput/RangePicker.mjs +11 -11
  83. package/es/DatePicker/core/PickerInput/RangePicker.mjs.map +1 -1
  84. package/es/DatePicker/core/PickerInput/Selector/ClearIcon.mjs +2 -2
  85. package/es/DatePicker/core/PickerInput/Selector/ClearIcon.mjs.map +1 -1
  86. package/es/DatePicker/core/PickerInput/Selector/Icon.mjs +2 -2
  87. package/es/DatePicker/core/PickerInput/Selector/Icon.mjs.map +1 -1
  88. package/es/DatePicker/core/PickerInput/Selector/Input.mjs +15 -15
  89. package/es/DatePicker/core/PickerInput/Selector/Input.mjs.map +1 -1
  90. package/es/DatePicker/core/PickerInput/Selector/RangeSelector.d.mts +1 -2
  91. package/es/DatePicker/core/PickerInput/Selector/RangeSelector.mjs +11 -11
  92. package/es/DatePicker/core/PickerInput/Selector/RangeSelector.mjs.map +1 -1
  93. package/es/DatePicker/core/PickerInput/Selector/SingleSelector/HoverSelector.mjs +2 -2
  94. package/es/DatePicker/core/PickerInput/Selector/SingleSelector/HoverSelector.mjs.map +1 -1
  95. package/es/DatePicker/core/PickerInput/Selector/SingleSelector/index.mjs +6 -6
  96. package/es/DatePicker/core/PickerInput/Selector/SingleSelector/index.mjs.map +1 -1
  97. package/es/DatePicker/core/PickerInput/Selector/hooks/useInputProps.mjs +4 -4
  98. package/es/DatePicker/core/PickerInput/Selector/hooks/useInputProps.mjs.map +1 -1
  99. package/es/DatePicker/core/PickerInput/Selector/hooks/useRootProps.mjs +2 -2
  100. package/es/DatePicker/core/PickerInput/Selector/hooks/useRootProps.mjs.map +1 -1
  101. package/es/DatePicker/core/PickerInput/SinglePicker.d.mts +6 -7
  102. package/es/DatePicker/core/PickerInput/SinglePicker.mjs +8 -8
  103. package/es/DatePicker/core/PickerInput/SinglePicker.mjs.map +1 -1
  104. package/es/DatePicker/core/PickerInput/context.mjs +2 -2
  105. package/es/DatePicker/core/PickerInput/context.mjs.map +1 -1
  106. package/es/DatePicker/core/PickerInput/hooks/useCellRender.mjs +3 -3
  107. package/es/DatePicker/core/PickerInput/hooks/useCellRender.mjs.map +1 -1
  108. package/es/DatePicker/core/PickerInput/hooks/useFieldFormat.mjs +2 -2
  109. package/es/DatePicker/core/PickerInput/hooks/useFieldFormat.mjs.map +1 -1
  110. package/es/DatePicker/core/PickerInput/hooks/useFieldsInvalidate.mjs +3 -3
  111. package/es/DatePicker/core/PickerInput/hooks/useFieldsInvalidate.mjs.map +1 -1
  112. package/es/DatePicker/core/PickerInput/hooks/useFilledProps.mjs +5 -5
  113. package/es/DatePicker/core/PickerInput/hooks/useFilledProps.mjs.map +1 -1
  114. package/es/DatePicker/core/PickerInput/hooks/useFocusEvents.mjs +2 -2
  115. package/es/DatePicker/core/PickerInput/hooks/useFocusEvents.mjs.map +1 -1
  116. package/es/DatePicker/core/PickerInput/hooks/useFocusLock.mjs +2 -2
  117. package/es/DatePicker/core/PickerInput/hooks/useFocusLock.mjs.map +1 -1
  118. package/es/DatePicker/core/PickerInput/hooks/useHoverStore.mjs +3 -3
  119. package/es/DatePicker/core/PickerInput/hooks/useHoverStore.mjs.map +1 -1
  120. package/es/DatePicker/core/PickerInput/hooks/useLockEffect.mjs +2 -2
  121. package/es/DatePicker/core/PickerInput/hooks/useLockEffect.mjs.map +1 -1
  122. package/es/DatePicker/core/PickerInput/hooks/usePickerRef.mjs +3 -3
  123. package/es/DatePicker/core/PickerInput/hooks/usePickerRef.mjs.map +1 -1
  124. package/es/DatePicker/core/PickerInput/hooks/usePresets.mjs +2 -2
  125. package/es/DatePicker/core/PickerInput/hooks/usePresets.mjs.map +1 -1
  126. package/es/DatePicker/core/PickerInput/hooks/useRangePickerValue.mjs +4 -4
  127. package/es/DatePicker/core/PickerInput/hooks/useRangePickerValue.mjs.map +1 -1
  128. package/es/DatePicker/core/PickerInput/hooks/useRangeValue.mjs +3 -3
  129. package/es/DatePicker/core/PickerInput/hooks/useRangeValue.mjs.map +1 -1
  130. package/es/DatePicker/core/PickerInput/hooks/useRangeValueChange.mjs +5 -5
  131. package/es/DatePicker/core/PickerInput/hooks/useRangeValueChange.mjs.map +1 -1
  132. package/es/DatePicker/core/PickerPanel/PanelBody.mjs +2 -2
  133. package/es/DatePicker/core/PickerPanel/PanelBody.mjs.map +1 -1
  134. package/es/DatePicker/core/PickerPanel/PanelHeader.mjs +6 -6
  135. package/es/DatePicker/core/PickerPanel/PanelHeader.mjs.map +1 -1
  136. package/es/DatePicker/core/PickerPanel/TimePanel/TimeClock/ClockDial.mjs +3 -3
  137. package/es/DatePicker/core/PickerPanel/TimePanel/TimeClock/ClockDial.mjs.map +1 -1
  138. package/es/DatePicker/core/PickerPanel/TimePanel/TimeClock/index.mjs +2 -2
  139. package/es/DatePicker/core/PickerPanel/TimePanel/TimeClock/index.mjs.map +1 -1
  140. package/es/DatePicker/core/PickerPanel/TimePanel/TimePanelBody/TimeColumn.mjs +3 -3
  141. package/es/DatePicker/core/PickerPanel/TimePanel/TimePanelBody/TimeColumn.mjs.map +1 -1
  142. package/es/DatePicker/core/PickerPanel/TimePanel/TimePanelBody/index.mjs +2 -2
  143. package/es/DatePicker/core/PickerPanel/TimePanel/TimePanelBody/index.mjs.map +1 -1
  144. package/es/DatePicker/core/PickerPanel/TimePanel/TimePanelBody/useScrollTo.mjs +5 -5
  145. package/es/DatePicker/core/PickerPanel/TimePanel/TimePanelBody/useScrollTo.mjs.map +1 -1
  146. package/es/DatePicker/core/PickerPanel/TimePanel/TimePanelBody/useTimeState.mjs +7 -7
  147. package/es/DatePicker/core/PickerPanel/TimePanel/TimePanelBody/useTimeState.mjs.map +1 -1
  148. package/es/DatePicker/core/PickerPanel/context.mjs +6 -6
  149. package/es/DatePicker/core/PickerPanel/context.mjs.map +1 -1
  150. package/es/DatePicker/core/PickerPanel/index.mjs +12 -12
  151. package/es/DatePicker/core/PickerPanel/index.mjs.map +1 -1
  152. package/es/DatePicker/core/generate/index.d.mts +1 -2
  153. package/es/DatePicker/core/hooks/react.mjs +8 -8
  154. package/es/DatePicker/core/hooks/react.mjs.map +1 -1
  155. package/es/DatePicker/core/hooks/useSyncState.mjs +3 -3
  156. package/es/DatePicker/core/hooks/useSyncState.mjs.map +1 -1
  157. package/es/DatePicker/core/hooks/useTimeInfo.mjs +6 -6
  158. package/es/DatePicker/core/hooks/useTimeInfo.mjs.map +1 -1
  159. package/es/DatePicker/core/index.d.mts +28 -0
  160. package/es/DatePicker/core/interface.d.mts +1 -2
  161. package/es/DatePicker/generatePicker.d.mts +1 -2
  162. package/es/DatePicker/locale.d.mts +1 -2
  163. package/es/DatePicker/type.d.mts +1 -2
  164. package/es/Descriptions/Descriptions.d.mts +1 -2
  165. package/es/Descriptions/type.d.mts +1 -2
  166. package/es/Divider/Divider.d.mts +1 -2
  167. package/es/Divider/type.d.mts +1 -2
  168. package/es/DownloadButton/DownloadButton.d.mts +1 -2
  169. package/es/DownloadButton/type.d.mts +1 -2
  170. package/es/DraggablePanel/DraggablePanel.d.mts +1 -2
  171. package/es/DraggablePanel/atoms.d.mts +1 -2
  172. package/es/DraggablePanel/context.d.mts +1 -2
  173. package/es/DraggablePanel/core/axes.d.mts +1 -2
  174. package/es/DraggablePanel/core/controller.d.mts +1 -2
  175. package/es/DraggablePanel/type.d.mts +1 -2
  176. package/es/DraggableSideNav/DraggableSideNav.d.mts +1 -2
  177. package/es/DraggableSideNav/type.d.mts +1 -2
  178. package/es/Drawer/Drawer.d.mts +1 -2
  179. package/es/Drawer/atoms.d.mts +1 -2
  180. package/es/Drawer/constants.d.mts +1 -2
  181. package/es/Drawer/type.d.mts +1 -2
  182. package/es/DropdownMenu/DropdownMenu.d.mts +1 -2
  183. package/es/DropdownMenu/atoms.d.mts +1 -2
  184. package/es/DropdownMenu/renderItems.d.mts +1 -2
  185. package/es/DropdownMenu/style.d.mts +1 -2
  186. package/es/DropdownMenu/type.d.mts +1 -2
  187. package/es/EditableText/ControlInput.d.mts +1 -2
  188. package/es/EditableText/EditableText.d.mts +1 -2
  189. package/es/EditableText/type.d.mts +1 -2
  190. package/es/EditorSlashMenu/EditorSlashMenu.d.mts +1 -2
  191. package/es/EditorSlashMenu/atoms.d.mts +1 -2
  192. package/es/EditorSlashMenu/atoms.mjs +1 -0
  193. package/es/EditorSlashMenu/atoms.mjs.map +1 -1
  194. package/es/EditorSlashMenu/type.d.mts +1 -2
  195. package/es/EmojiPicker/EmojiPicker.d.mts +1 -2
  196. package/es/EmojiPicker/type.d.mts +1 -2
  197. package/es/Empty/Empty.d.mts +1 -2
  198. package/es/Empty/type.d.mts +1 -2
  199. package/es/FileTypeIcon/FileTypeIcon.d.mts +1 -2
  200. package/es/FileTypeIcon/type.d.mts +1 -2
  201. package/es/Flex/Center.d.mts +1 -2
  202. package/es/Flex/FlexBasic.d.mts +1 -2
  203. package/es/Flex/type.d.mts +1 -2
  204. package/es/FloatingPanel/FloatingPanel.d.mts +1 -2
  205. package/es/FloatingPanel/type.d.mts +1 -2
  206. package/es/FloatingSheet/FloatingSheet.d.mts +1 -2
  207. package/es/FloatingSheet/type.d.mts +1 -2
  208. package/es/FluentEmoji/FluentEmoji.d.mts +1 -2
  209. package/es/FluentEmoji/type.d.mts +1 -2
  210. package/es/FluentEmoji/utils.d.mts +1 -2
  211. package/es/FocusScope/FocusScope.d.mts +1 -2
  212. package/es/FocusScope/store.d.mts +1 -2
  213. package/es/FocusScope/style.d.mts +1 -2
  214. package/es/FocusScope/useScopeArrowNav.d.mts +1 -2
  215. package/es/FocusScope/useScopeSwitcher.d.mts +1 -2
  216. package/es/FontLoader/index.d.mts +1 -2
  217. package/es/FontLoader/index.mjs +2 -2
  218. package/es/FontLoader/index.mjs.map +1 -1
  219. package/es/Form/Form.mjs +5 -5
  220. package/es/Form/Form.mjs.map +1 -1
  221. package/es/Form/components/FormDivider.d.mts +1 -2
  222. package/es/Form/components/FormField.d.mts +1 -2
  223. package/es/Form/components/FormFlatGroup.d.mts +1 -2
  224. package/es/Form/components/FormFooter.d.mts +1 -2
  225. package/es/Form/components/FormGroup.d.mts +1 -2
  226. package/es/Form/components/FormSubmitFooter.d.mts +1 -2
  227. package/es/Form/components/FormTitle.d.mts +1 -2
  228. package/es/Form/context.d.mts +1 -2
  229. package/es/Form/index.d.mts +1 -2
  230. package/es/Form/type.d.mts +1 -2
  231. package/es/FormKit/Field.d.mts +1 -2
  232. package/es/FormKit/List.d.mts +1 -2
  233. package/es/FormKit/SubmitFooter.d.mts +1 -2
  234. package/es/FormKit/context.d.mts +1 -2
  235. package/es/FormKit/engine/types.d.mts +1 -2
  236. package/es/FormKit/index.d.mts +1 -2
  237. package/es/FormKit/schema.d.mts +1 -2
  238. package/es/FormKit/type.d.mts +1 -2
  239. package/es/FormKit/useForm.d.mts +1 -2
  240. package/es/FormKit/useWatch.d.mts +1 -2
  241. package/es/Freeze/Freeze.d.mts +1 -2
  242. package/es/Freeze/type.d.mts +1 -2
  243. package/es/GlobalFocusRing/index.d.mts +1 -2
  244. package/es/Grid/Grid.d.mts +1 -2
  245. package/es/Grid/type.d.mts +1 -2
  246. package/es/GroupAvatar/GroupAvatar.d.mts +1 -2
  247. package/es/GroupAvatar/type.d.mts +1 -2
  248. package/es/GuideCard/GuideCard.d.mts +1 -2
  249. package/es/GuideCard/type.d.mts +1 -2
  250. package/es/Header/Header.d.mts +1 -2
  251. package/es/Header/type.d.mts +1 -2
  252. package/es/Highlighter/Highlighter.d.mts +1 -2
  253. package/es/Highlighter/SyntaxHighlighter/index.d.mts +1 -2
  254. package/es/Highlighter/const.d.mts +1 -2
  255. package/es/Highlighter/theme/lobe-highlights-theme.d.mts +1 -2
  256. package/es/Highlighter/theme/lobe-theme.d.mts +1 -2
  257. package/es/Highlighter/type.d.mts +1 -2
  258. package/es/Hotkey/Hotkey.d.mts +1 -2
  259. package/es/Hotkey/const.d.mts +1 -2
  260. package/es/Hotkey/type.d.mts +1 -2
  261. package/es/Hotkey/utils.d.mts +1 -2
  262. package/es/HotkeyInput/HotkeyInput.d.mts +1 -2
  263. package/es/HotkeyInput/type.d.mts +1 -2
  264. package/es/HtmlPreview/HtmlPreview.d.mts +1 -2
  265. package/es/HtmlPreview/Iframe.d.mts +1 -2
  266. package/es/HtmlPreview/const.d.mts +1 -2
  267. package/es/HtmlPreview/injectAutoHeightScript.d.mts +1 -2
  268. package/es/HtmlPreview/type.d.mts +1 -2
  269. package/es/Icon/Icon.d.mts +1 -2
  270. package/es/Icon/components/IconProvider.d.mts +1 -2
  271. package/es/Icon/type.d.mts +1 -2
  272. package/es/Image/PreviewGroup.d.mts +1 -2
  273. package/es/Image/index.d.mts +1 -2
  274. package/es/Image/type.d.mts +1 -2
  275. package/es/Image/useImagePreview.d.mts +1 -2
  276. package/es/Image/viewer/geometry.d.mts +1 -2
  277. package/es/Image/viewer/registry.d.mts +1 -1
  278. package/es/ImageSelect/ImageSelect.d.mts +1 -2
  279. package/es/ImageSelect/type.d.mts +1 -2
  280. package/es/Input/Input.d.mts +1 -2
  281. package/es/Input/Input.mjs +5 -5
  282. package/es/Input/Input.mjs.map +1 -1
  283. package/es/Input/InputNumber.d.mts +1 -2
  284. package/es/Input/InputOTP.d.mts +1 -2
  285. package/es/Input/InputPassword.d.mts +1 -2
  286. package/es/Input/TextArea.d.mts +1 -2
  287. package/es/Input/style.d.mts +1 -2
  288. package/es/Input/type.d.mts +1 -2
  289. package/es/Layout/components/LayoutFooter.d.mts +1 -2
  290. package/es/Layout/components/LayoutHeader.d.mts +1 -2
  291. package/es/Layout/components/LayoutMain.d.mts +1 -2
  292. package/es/Layout/components/LayoutSidebar.d.mts +1 -2
  293. package/es/Layout/components/LayoutSidebarInner.d.mts +1 -2
  294. package/es/Layout/components/LayoutToc.d.mts +1 -2
  295. package/es/Layout/index.d.mts +1 -2
  296. package/es/Layout/type.d.mts +1 -2
  297. package/es/List/List.d.mts +1 -2
  298. package/es/List/ListRow.d.mts +1 -1
  299. package/es/List/type.d.mts +1 -2
  300. package/es/Markdown/Markdown.d.mts +1 -2
  301. package/es/Markdown/Typography.d.mts +1 -2
  302. package/es/Markdown/components/SearchResultCards/index.d.mts +1 -2
  303. package/es/Markdown/plugins/rehypeCustomFootnotes.d.mts +1 -2
  304. package/es/Markdown/plugins/rehypeKatexDir.d.mts +1 -2
  305. package/es/Markdown/plugins/remarkBr.d.mts +1 -2
  306. package/es/Markdown/plugins/remarkColor.d.mts +1 -2
  307. package/es/Markdown/plugins/remarkCustomFootnotes.d.mts +1 -2
  308. package/es/Markdown/plugins/remarkGfmPlus.d.mts +1 -2
  309. package/es/Markdown/plugins/remarkVideo.d.mts +1 -2
  310. package/es/Markdown/type.d.mts +1 -2
  311. package/es/MaskShadow/MaskShadow.d.mts +1 -2
  312. package/es/MaskShadow/type.d.mts +1 -2
  313. package/es/MaterialFileTypeIcon/MaterialFileTypeIcon.d.mts +1 -2
  314. package/es/MaterialFileTypeIcon/icon-map.json.d.mts +1 -2
  315. package/es/MaterialFileTypeIcon/{icon-map.mjs → icon-map.json.mjs} +1 -1
  316. package/es/MaterialFileTypeIcon/icon-map.json.mjs.map +1 -0
  317. package/es/MaterialFileTypeIcon/type.d.mts +1 -2
  318. package/es/MaterialFileTypeIcon/utils.mjs +1 -1
  319. package/es/Mermaid/Mermaid.d.mts +1 -2
  320. package/es/Mermaid/SyntaxMermaid/index.d.mts +1 -2
  321. package/es/Mermaid/const.d.mts +1 -2
  322. package/es/Mermaid/index.d.mts +1 -2
  323. package/es/Mermaid/themes.d.mts +2 -3
  324. package/es/Mermaid/type.d.mts +1 -2
  325. package/es/Meta/Meta.d.mts +1 -2
  326. package/es/Modal/Modal.d.mts +1 -2
  327. package/es/Modal/atoms.d.mts +1 -2
  328. package/es/Modal/constants.d.mts +1 -2
  329. package/es/Modal/context.d.mts +1 -2
  330. package/es/Modal/imperative.d.mts +1 -2
  331. package/es/Modal/type.d.mts +1 -2
  332. package/es/MotionProvider/index.d.mts +1 -2
  333. package/es/Pagination/Pagination.d.mts +1 -2
  334. package/es/Pagination/type.d.mts +1 -2
  335. package/es/Popover/ArrowIcon.d.mts +1 -2
  336. package/es/Popover/Popover.d.mts +1 -2
  337. package/es/Popover/PopoverGroup.d.mts +1 -2
  338. package/es/Popover/PopoverPortal.d.mts +1 -2
  339. package/es/Popover/atoms.d.mts +1 -2
  340. package/es/Popover/context.d.mts +1 -2
  341. package/es/Popover/groupContext.d.mts +1 -2
  342. package/es/Popover/type.d.mts +10 -12
  343. package/es/ProTable/ProTable.d.mts +1 -2
  344. package/es/ProTable/locale.d.mts +1 -2
  345. package/es/ProTable/type.d.mts +1 -2
  346. package/es/Progress/Progress.d.mts +1 -2
  347. package/es/Progress/type.d.mts +1 -2
  348. package/es/ProgressiveBlur/ProgressiveBlur.d.mts +1 -2
  349. package/es/ProgressiveBlur/type.d.mts +1 -2
  350. package/es/QRCode/QRCode.d.mts +1 -2
  351. package/es/QRCode/type.d.mts +1 -2
  352. package/es/Radio/Radio.d.mts +1 -2
  353. package/es/Radio/Radio.mjs +6 -6
  354. package/es/Radio/Radio.mjs.map +1 -1
  355. package/es/Radio/RadioGroup.d.mts +1 -2
  356. package/es/Radio/RadioGroup.mjs +5 -5
  357. package/es/Radio/RadioGroup.mjs.map +1 -1
  358. package/es/Radio/style.d.mts +1 -2
  359. package/es/Radio/type.d.mts +1 -2
  360. package/es/Rate/Rate.d.mts +1 -2
  361. package/es/Rate/type.d.mts +1 -2
  362. package/es/Result/Result.d.mts +1 -2
  363. package/es/Result/type.d.mts +1 -2
  364. package/es/ScrollArea/ScrollArea.d.mts +1 -2
  365. package/es/ScrollArea/atoms.d.mts +1 -2
  366. package/es/ScrollArea/type.d.mts +1 -2
  367. package/es/ScrollShadow/ScrollShadow.d.mts +1 -2
  368. package/es/ScrollShadow/type.d.mts +1 -2
  369. package/es/SearchBar/SearchBar.d.mts +1 -2
  370. package/es/SearchBar/type.d.mts +1 -2
  371. package/es/Segmented/Segmented.d.mts +1 -2
  372. package/es/Segmented/atoms.d.mts +1 -2
  373. package/es/Segmented/type.d.mts +3 -4
  374. package/es/Select/Select.d.mts +1 -2
  375. package/es/Select/Select.mjs +9 -9
  376. package/es/Select/Select.mjs.map +1 -1
  377. package/es/Select/atoms.d.mts +1 -2
  378. package/es/Select/type.d.mts +1 -2
  379. package/es/SideNav/SideNav.d.mts +1 -2
  380. package/es/SideNav/type.d.mts +1 -2
  381. package/es/Skeleton/SkeletonAvatar.d.mts +1 -2
  382. package/es/Skeleton/SkeletonText.d.mts +1 -2
  383. package/es/Skeleton/index.d.mts +1 -2
  384. package/es/Skeleton/type.d.mts +1 -2
  385. package/es/Slider/Slider.d.mts +1 -2
  386. package/es/Slider/Slider.mjs +7 -7
  387. package/es/Slider/Slider.mjs.map +1 -1
  388. package/es/Slider/SliderWithInput.d.mts +1 -2
  389. package/es/Slider/style.d.mts +1 -2
  390. package/es/Slider/type.d.mts +1 -2
  391. package/es/Snippet/Snippet.d.mts +1 -2
  392. package/es/Snippet/type.d.mts +1 -2
  393. package/es/SortableList/SortableList.d.mts +1 -2
  394. package/es/SortableList/components/DragHandle.d.mts +1 -2
  395. package/es/SortableList/components/SortableItem.d.mts +1 -2
  396. package/es/SortableList/type.d.mts +1 -2
  397. package/es/Spin/Spin.d.mts +1 -2
  398. package/es/Spin/type.d.mts +1 -2
  399. package/es/Statistic/Statistic.d.mts +1 -2
  400. package/es/Statistic/formatValue.d.mts +1 -2
  401. package/es/Statistic/type.d.mts +1 -2
  402. package/es/Steps/Steps.d.mts +1 -2
  403. package/es/Steps/type.d.mts +1 -2
  404. package/es/Switch/Switch.d.mts +1 -2
  405. package/es/Switch/atoms.d.mts +1 -2
  406. package/es/Switch/style.d.mts +1 -2
  407. package/es/Switch/type.d.mts +1 -2
  408. package/es/Table/Column.d.mts +1 -2
  409. package/es/Table/ColumnGroup.d.mts +1 -2
  410. package/es/Table/Table.d.mts +1 -2
  411. package/es/Table/atoms/cells.d.mts +1 -2
  412. package/es/Table/atoms/layout.d.mts +1 -2
  413. package/es/Table/engine/types.d.mts +1 -1
  414. package/es/Table/internal.d.mts +1 -1
  415. package/es/Table/pipeline/columnUtils.d.mts +1 -2
  416. package/es/Table/pipeline/selectionUtils.d.mts +2 -3
  417. package/es/Table/render/Summary.d.mts +2 -3
  418. package/es/Table/store/createTableStore.d.mts +1 -1
  419. package/es/Table/type.d.mts +1 -2
  420. package/es/Tabs/Tabs.d.mts +1 -2
  421. package/es/Tabs/atoms.d.mts +1 -2
  422. package/es/Tabs/style.d.mts +1 -2
  423. package/es/Tabs/type.d.mts +1 -2
  424. package/es/Tag/Tag.d.mts +1 -2
  425. package/es/Tag/type.d.mts +1 -2
  426. package/es/Tag/utils.d.mts +1 -2
  427. package/es/Text/Text.d.mts +1 -2
  428. package/es/Text/style.d.mts +1 -2
  429. package/es/Text/type.d.mts +1 -2
  430. package/es/Toast/imperative.d.mts +1 -2
  431. package/es/Toast/type.d.mts +1 -2
  432. package/es/Toc/Toc.d.mts +1 -2
  433. package/es/Toc/toFlatTocItems.d.mts +1 -2
  434. package/es/Toc/tocPath.d.mts +1 -2
  435. package/es/Toc/type.d.mts +1 -2
  436. package/es/ToggleGroup/ToggleGroup.d.mts +1 -2
  437. package/es/ToggleGroup/atoms.d.mts +1 -2
  438. package/es/ToggleGroup/style.d.mts +1 -2
  439. package/es/ToggleGroup/type.d.mts +1 -2
  440. package/es/Tooltip/Tooltip.d.mts +1 -2
  441. package/es/Tooltip/TooltipGroup.d.mts +1 -2
  442. package/es/Tooltip/type.d.mts +8 -10
  443. package/es/Tree/Tree.d.mts +1 -2
  444. package/es/Tree/style.d.mts +1 -2
  445. package/es/Tree/type.d.mts +1 -2
  446. package/es/Tree/utils.d.mts +1 -2
  447. package/es/Upload/Upload.d.mts +1 -2
  448. package/es/Upload/Upload.mjs +5 -5
  449. package/es/Upload/Upload.mjs.map +1 -1
  450. package/es/Upload/UploadDragger.d.mts +1 -2
  451. package/es/Upload/type.d.mts +1 -2
  452. package/es/Video/index.d.mts +1 -2
  453. package/es/Video/parts/Caption.d.mts +1 -2
  454. package/es/Video/parts/CenterPlay.d.mts +1 -2
  455. package/es/Video/parts/Controls.d.mts +1 -2
  456. package/es/Video/parts/Frame.d.mts +1 -2
  457. package/es/Video/parts/LoadError.d.mts +1 -2
  458. package/es/Video/parts/Root.d.mts +1 -2
  459. package/es/Video/parts/SectionList.d.mts +1 -2
  460. package/es/Video/parts/Timeline.d.mts +1 -2
  461. package/es/Video/type.d.mts +1 -2
  462. package/es/Video/useVideo.d.mts +1 -2
  463. package/es/_virtual/_rolldown/runtime.mjs +4 -4
  464. package/es/awesome/AgentSkillCard/AgentSkillCard.d.mts +1 -2
  465. package/es/awesome/AgentSkillCard/agents.d.mts +1 -2
  466. package/es/awesome/AgentSkillCard/type.d.mts +1 -2
  467. package/es/awesome/AuroraBackground/AuroraBackground.d.mts +1 -2
  468. package/es/awesome/AuroraBackground/type.d.mts +1 -2
  469. package/es/awesome/BentoGrid/BentoCard.d.mts +1 -2
  470. package/es/awesome/BentoGrid/BentoGrid.d.mts +1 -2
  471. package/es/awesome/BentoGrid/type.d.mts +1 -2
  472. package/es/awesome/BottomGradientButton/BottomGradientButton.d.mts +1 -2
  473. package/es/awesome/BottomGradientButton/type.d.mts +1 -2
  474. package/es/awesome/CodeShowcase/CodeShowcase.d.mts +1 -2
  475. package/es/awesome/CodeShowcase/type.d.mts +1 -2
  476. package/es/awesome/FeatureGrid/FeatureGrid.d.mts +1 -2
  477. package/es/awesome/FeatureGrid/type.d.mts +1 -2
  478. package/es/awesome/Features/Features.d.mts +1 -2
  479. package/es/awesome/Features/type.d.mts +1 -2
  480. package/es/awesome/FluidGradient/FluidGradient.d.mts +1 -2
  481. package/es/awesome/FluidGradient/type.d.mts +1 -2
  482. package/es/awesome/Giscus/Giscus.d.mts +1 -2
  483. package/es/awesome/Giscus/type.d.mts +1 -2
  484. package/es/awesome/GradientButton/GradientButton.d.mts +1 -2
  485. package/es/awesome/GradientButton/type.d.mts +1 -2
  486. package/es/awesome/Grainient/Grainient.d.mts +1 -2
  487. package/es/awesome/Grainient/type.d.mts +1 -2
  488. package/es/awesome/GridBackground/GridBackground.d.mts +1 -2
  489. package/es/awesome/GridBackground/GridShowcase.d.mts +1 -2
  490. package/es/awesome/GridBackground/type.d.mts +1 -2
  491. package/es/awesome/Hero/Hero.d.mts +1 -2
  492. package/es/awesome/Hero/type.d.mts +1 -2
  493. package/es/awesome/InstallBanner/InstallBanner.d.mts +1 -2
  494. package/es/awesome/InstallBanner/type.d.mts +1 -2
  495. package/es/awesome/LandingHero/LandingHero.d.mts +1 -2
  496. package/es/awesome/LandingHero/type.d.mts +1 -2
  497. package/es/awesome/LandingSection/LandingSection.d.mts +1 -2
  498. package/es/awesome/LandingSection/type.d.mts +1 -2
  499. package/es/awesome/LogoMarquee/LogoMarquee.d.mts +1 -2
  500. package/es/awesome/LogoMarquee/type.d.mts +1 -2
  501. package/es/awesome/Spotlight/Spotlight.d.mts +1 -2
  502. package/es/awesome/Spotlight/type.d.mts +1 -2
  503. package/es/awesome/SpotlightCard/SpotlightCard.d.mts +1 -2
  504. package/es/awesome/SpotlightCard/type.d.mts +1 -2
  505. package/es/awesome/TypewriterEffect/TypewriterEffect.d.mts +1 -2
  506. package/es/awesome/TypewriterEffect/type.d.mts +1 -2
  507. package/es/awesome/landingActions.d.mts +1 -2
  508. package/es/awesome/landingLink.d.mts +1 -2
  509. package/es/awesome/landingTokens.d.mts +1 -2
  510. package/es/brand/BrandLoading/index.d.mts +1 -2
  511. package/es/brand/LobeChat/index.d.mts +1 -2
  512. package/es/brand/LobeChatText/index.d.mts +1 -2
  513. package/es/brand/LobeHub/index.d.mts +1 -2
  514. package/es/brand/LobeHubText/index.d.mts +1 -2
  515. package/es/brand/Logo3d/index.d.mts +1 -2
  516. package/es/brand/LogoFlat/index.d.mts +1 -2
  517. package/es/chat/BackBottom/BackBottom.d.mts +1 -2
  518. package/es/chat/BackBottom/type.d.mts +1 -2
  519. package/es/chat/ChatHeader/ChatHeaderTitle.d.mts +1 -2
  520. package/es/chat/ChatHeader/index.d.mts +1 -2
  521. package/es/chat/ChatHeader/type.d.mts +1 -2
  522. package/es/chat/ChatInputArea/components/ChatInputActionBar.d.mts +1 -2
  523. package/es/chat/ChatInputArea/components/ChatInputAreaInner.d.mts +1 -2
  524. package/es/chat/ChatInputArea/components/ChatSendButton.d.mts +1 -2
  525. package/es/chat/ChatInputArea/index.d.mts +1 -2
  526. package/es/chat/ChatInputArea/type.d.mts +1 -2
  527. package/es/chat/ChatItem/ChatItem.d.mts +1 -2
  528. package/es/chat/ChatItem/type.d.mts +1 -2
  529. package/es/chat/ChatList/ChatList.d.mts +1 -2
  530. package/es/chat/ChatList/components/ChatActionsBar.d.mts +1 -2
  531. package/es/chat/ChatList/type.d.mts +1 -2
  532. package/es/chat/EditableMessage/EditableMessage.d.mts +1 -2
  533. package/es/chat/EditableMessage/type.d.mts +1 -2
  534. package/es/chat/EditableMessageList/EditableMessageList.d.mts +1 -2
  535. package/es/chat/EditableMessageList/type.d.mts +1 -2
  536. package/es/chat/LoadingDots/LoadingDots.d.mts +1 -2
  537. package/es/chat/LoadingDots/type.d.mts +1 -2
  538. package/es/chat/MessageInput/MessageInput.d.mts +1 -2
  539. package/es/chat/MessageInput/type.d.mts +1 -2
  540. package/es/chat/MessageModal/MessageModal.d.mts +1 -2
  541. package/es/chat/MessageModal/type.d.mts +1 -2
  542. package/es/chat/TokenTag/TokenTag.d.mts +1 -2
  543. package/es/chat/TokenTag/type.d.mts +1 -2
  544. package/es/chat/types/chatMessage.d.mts +1 -2
  545. package/es/chat/types/error.d.mts +1 -2
  546. package/es/chat/types/llm.d.mts +1 -2
  547. package/es/chat/types/meta.d.mts +1 -2
  548. package/es/color/ColorScales/index.d.mts +1 -2
  549. package/es/color/CssVar/index.d.mts +1 -2
  550. package/es/color/colors/blue.d.mts +1 -2
  551. package/es/color/colors/cyan.d.mts +1 -2
  552. package/es/color/colors/geekblue.d.mts +1 -2
  553. package/es/color/colors/gold.d.mts +1 -2
  554. package/es/color/colors/gray.d.mts +1 -2
  555. package/es/color/colors/green.d.mts +1 -2
  556. package/es/color/colors/index.d.mts +1 -2
  557. package/es/color/colors/lime.d.mts +1 -2
  558. package/es/color/colors/magenta.d.mts +1 -2
  559. package/es/color/colors/orange.d.mts +1 -2
  560. package/es/color/colors/primary.d.mts +1 -2
  561. package/es/color/colors/purple.d.mts +1 -2
  562. package/es/color/colors/red.d.mts +1 -2
  563. package/es/color/colors/volcano.d.mts +1 -2
  564. package/es/color/colors/yellow.d.mts +1 -2
  565. package/es/color/neutrals/index.d.mts +1 -2
  566. package/es/color/neutrals/mauve.d.mts +1 -2
  567. package/es/color/neutrals/olive.d.mts +1 -2
  568. package/es/color/neutrals/sage.d.mts +1 -2
  569. package/es/color/neutrals/sand.d.mts +1 -2
  570. package/es/color/neutrals/slate.d.mts +1 -2
  571. package/es/color/status/index.d.mts +1 -2
  572. package/es/color/types.d.mts +1 -2
  573. package/es/css/dashboard/ConsoleShell.css +8 -0
  574. package/es/dashboard/AuthLayout/Aside.d.mts +1 -2
  575. package/es/dashboard/AuthLayout/AuthLayout.d.mts +1 -2
  576. package/es/dashboard/AuthLayout/type.d.mts +1 -2
  577. package/es/dashboard/AuthTools/AuthLocaleSwitch.d.mts +1 -2
  578. package/es/dashboard/AuthTools/AuthThemeSwitch.d.mts +1 -2
  579. package/es/dashboard/AuthTools/type.d.mts +1 -2
  580. package/es/dashboard/Breadcrumb/Breadcrumb.d.mts +1 -2
  581. package/es/dashboard/Breadcrumb/type.d.mts +1 -2
  582. package/es/dashboard/ChartGrid/ChartGrid.d.mts +1 -2
  583. package/es/dashboard/ChartGrid/type.d.mts +1 -2
  584. package/es/dashboard/ConsoleNav/ConsoleNav.d.mts +1 -2
  585. package/es/dashboard/ConsoleNav/ConsoleNav.mjs +15 -4
  586. package/es/dashboard/ConsoleNav/ConsoleNav.mjs.map +1 -1
  587. package/es/dashboard/ConsoleNav/Skeleton.d.mts +1 -2
  588. package/es/dashboard/ConsoleNav/active.d.mts +1 -2
  589. package/es/dashboard/ConsoleNav/style.mjs +4 -0
  590. package/es/dashboard/ConsoleNav/style.mjs.map +1 -1
  591. package/es/dashboard/ConsoleNav/type.d.mts +1 -2
  592. package/es/dashboard/ConsoleShell/ConsoleBrand.d.mts +1 -2
  593. package/es/dashboard/ConsoleShell/ConsoleBrand.mjs +6 -2
  594. package/es/dashboard/ConsoleShell/ConsoleBrand.mjs.map +1 -1
  595. package/es/dashboard/ConsoleShell/ConsoleShell.d.mts +1 -2
  596. package/es/dashboard/ConsoleShell/context.d.mts +1 -2
  597. package/es/dashboard/ConsoleShell/stable.mjs +5 -1
  598. package/es/dashboard/ConsoleShell/stable.mjs.map +1 -1
  599. package/es/dashboard/ConsoleShell/style.mjs +8 -1
  600. package/es/dashboard/ConsoleShell/style.mjs.map +1 -1
  601. package/es/dashboard/ConsoleShell/type.d.mts +1 -2
  602. package/es/dashboard/FilterSidebar/FilterSidebar.d.mts +1 -2
  603. package/es/dashboard/FilterSidebar/context.d.mts +2 -3
  604. package/es/dashboard/FilterSidebar/type.d.mts +1 -2
  605. package/es/dashboard/FilterStrip/FilterStrip.d.mts +1 -2
  606. package/es/dashboard/FilterStrip/type.d.mts +1 -2
  607. package/es/dashboard/LabelWithKey/LabelWithKey.d.mts +1 -2
  608. package/es/dashboard/LabelWithKey/type.d.mts +1 -2
  609. package/es/dashboard/MetricStrip/MetricStrip.d.mts +1 -2
  610. package/es/dashboard/MetricStrip/type.d.mts +1 -2
  611. package/es/dashboard/PageHeader/PageHeader.d.mts +1 -2
  612. package/es/dashboard/PageHeader/type.d.mts +1 -2
  613. package/es/dashboard/PageSkeleton/PageSkeleton.d.mts +1 -2
  614. package/es/dashboard/PageSkeleton/type.d.mts +1 -2
  615. package/es/dashboard/PageTabs/PageTabs.d.mts +1 -2
  616. package/es/dashboard/PageTabs/type.d.mts +1 -2
  617. package/es/dashboard/PageToolbar/PageToolbar.d.mts +1 -2
  618. package/es/dashboard/PageToolbar/type.d.mts +1 -2
  619. package/es/dashboard/PanelSurface/PanelSurface.d.mts +1 -2
  620. package/es/dashboard/PanelSurface/type.d.mts +1 -2
  621. package/es/dashboard/RouteProgress/RouteProgress.d.mts +1 -2
  622. package/es/dashboard/RouteProgress/type.d.mts +1 -2
  623. package/es/dashboard/Section/Section.d.mts +1 -2
  624. package/es/dashboard/Section/type.d.mts +1 -2
  625. package/es/dashboard/StatCard/StatCard.d.mts +1 -2
  626. package/es/dashboard/StatCard/type.d.mts +1 -2
  627. package/es/dashboard/Surface/Surface.d.mts +1 -2
  628. package/es/dashboard/Surface/link.d.mts +1 -2
  629. package/es/dashboard/Surface/style.d.mts +1 -2
  630. package/es/dashboard/Surface/type.d.mts +1 -2
  631. package/es/dashboard/TableIconActions/TableIconActions.d.mts +1 -2
  632. package/es/dashboard/TableIconActions/type.d.mts +1 -2
  633. package/es/dashboard/TitleWithTips/TitleWithTips.d.mts +1 -2
  634. package/es/dashboard/TitleWithTips/type.d.mts +1 -2
  635. package/es/dashboard/hooks.mjs +12 -3
  636. package/es/dashboard/hooks.mjs.map +1 -1
  637. package/es/eslint/index.d.mts +1 -2
  638. package/es/global.css +2 -2
  639. package/es/hooks/useMarkdown/utils.d.mts +1 -2
  640. package/es/hooks/useScroll.d.mts +1 -2
  641. package/es/i18n/context.d.mts +1 -2
  642. package/es/i18n/resources/en/burger.d.mts +1 -2
  643. package/es/i18n/resources/en/chat.d.mts +1 -2
  644. package/es/i18n/resources/en/colorPicker.d.mts +1 -2
  645. package/es/i18n/resources/en/common.d.mts +1 -2
  646. package/es/i18n/resources/en/datePicker.d.mts +1 -2
  647. package/es/i18n/resources/en/editableMessage.d.mts +1 -2
  648. package/es/i18n/resources/en/emojiPicker.d.mts +1 -2
  649. package/es/i18n/resources/en/form.d.mts +1 -2
  650. package/es/i18n/resources/en/hotkey.d.mts +1 -2
  651. package/es/i18n/resources/en/image.d.mts +1 -2
  652. package/es/i18n/resources/en/index.d.mts +1 -2
  653. package/es/i18n/resources/en/messageModal.d.mts +1 -2
  654. package/es/i18n/resources/en/qrCode.d.mts +1 -2
  655. package/es/i18n/resources/en/sideNav.d.mts +1 -2
  656. package/es/i18n/resources/en/table.d.mts +1 -2
  657. package/es/i18n/resources/en/toc.d.mts +1 -2
  658. package/es/i18n/resources/en/video.d.mts +1 -2
  659. package/es/i18n/resources/zhCn/burger.d.mts +1 -2
  660. package/es/i18n/resources/zhCn/chat.d.mts +1 -2
  661. package/es/i18n/resources/zhCn/colorPicker.d.mts +1 -2
  662. package/es/i18n/resources/zhCn/common.d.mts +1 -2
  663. package/es/i18n/resources/zhCn/datePicker.d.mts +1 -2
  664. package/es/i18n/resources/zhCn/editableMessage.d.mts +1 -2
  665. package/es/i18n/resources/zhCn/emojiPicker.d.mts +1 -2
  666. package/es/i18n/resources/zhCn/form.d.mts +1 -2
  667. package/es/i18n/resources/zhCn/hotkey.d.mts +1 -2
  668. package/es/i18n/resources/zhCn/image.d.mts +1 -2
  669. package/es/i18n/resources/zhCn/index.d.mts +1 -2
  670. package/es/i18n/resources/zhCn/messageModal.d.mts +1 -2
  671. package/es/i18n/resources/zhCn/qrCode.d.mts +1 -2
  672. package/es/i18n/resources/zhCn/sideNav.d.mts +1 -2
  673. package/es/i18n/resources/zhCn/table.d.mts +1 -2
  674. package/es/i18n/resources/zhCn/toc.d.mts +1 -2
  675. package/es/i18n/resources/zhCn/video.d.mts +1 -2
  676. package/es/i18n/types.d.mts +1 -2
  677. package/es/i18n/useTranslation.d.mts +1 -2
  678. package/es/icons/Auth0/components/Avatar.d.mts +1 -2
  679. package/es/icons/Auth0/components/Mono.d.mts +1 -2
  680. package/es/icons/Auth0/index.d.mts +1 -2
  681. package/es/icons/Authelia/components/Avatar.d.mts +1 -2
  682. package/es/icons/Authelia/components/Color.d.mts +1 -2
  683. package/es/icons/Authelia/components/Mono.d.mts +1 -2
  684. package/es/icons/Authelia/index.d.mts +1 -2
  685. package/es/icons/Authentik/components/Avatar.d.mts +1 -2
  686. package/es/icons/Authentik/components/Color.d.mts +1 -2
  687. package/es/icons/Authentik/components/Mono.d.mts +1 -2
  688. package/es/icons/Authentik/index.d.mts +1 -2
  689. package/es/icons/Casdoor/components/Avatar.d.mts +1 -2
  690. package/es/icons/Casdoor/components/Color.d.mts +1 -2
  691. package/es/icons/Casdoor/components/Mono.d.mts +1 -2
  692. package/es/icons/Casdoor/index.d.mts +1 -2
  693. package/es/icons/Clerk/components/Avatar.d.mts +1 -2
  694. package/es/icons/Clerk/components/Color.d.mts +1 -2
  695. package/es/icons/Clerk/components/Mono.d.mts +1 -2
  696. package/es/icons/Clerk/index.d.mts +1 -2
  697. package/es/icons/DingTalk/components/Avatar.d.mts +1 -2
  698. package/es/icons/DingTalk/components/Color.d.mts +1 -2
  699. package/es/icons/DingTalk/components/Mono.d.mts +1 -2
  700. package/es/icons/DingTalk/index.d.mts +1 -2
  701. package/es/icons/Discord/components/Avatar.d.mts +1 -2
  702. package/es/icons/Discord/components/Color.d.mts +1 -2
  703. package/es/icons/Discord/components/Mono.d.mts +1 -2
  704. package/es/icons/Discord/index.d.mts +1 -2
  705. package/es/icons/GoogleChat/components/Avatar.d.mts +1 -2
  706. package/es/icons/GoogleChat/components/Color.d.mts +1 -2
  707. package/es/icons/GoogleChat/components/Mono.d.mts +1 -2
  708. package/es/icons/GoogleChat/index.d.mts +1 -2
  709. package/es/icons/IMessage/components/Avatar.d.mts +1 -2
  710. package/es/icons/IMessage/components/Color.d.mts +1 -2
  711. package/es/icons/IMessage/components/Mono.d.mts +1 -2
  712. package/es/icons/IMessage/index.d.mts +1 -2
  713. package/es/icons/Lark/components/Avatar.d.mts +1 -2
  714. package/es/icons/Lark/components/Color.d.mts +1 -2
  715. package/es/icons/Lark/components/Mono.d.mts +1 -2
  716. package/es/icons/Lark/index.d.mts +1 -2
  717. package/es/icons/Line/components/Avatar.d.mts +1 -2
  718. package/es/icons/Line/components/Color.d.mts +1 -2
  719. package/es/icons/Line/components/Mono.d.mts +1 -2
  720. package/es/icons/Line/index.d.mts +1 -2
  721. package/es/icons/Logto/components/Avatar.d.mts +1 -2
  722. package/es/icons/Logto/components/Color.d.mts +1 -2
  723. package/es/icons/Logto/components/Mono.d.mts +1 -2
  724. package/es/icons/Logto/index.d.mts +1 -2
  725. package/es/icons/MicrosoftEntra/components/Avatar.d.mts +1 -2
  726. package/es/icons/MicrosoftEntra/components/Color.d.mts +1 -2
  727. package/es/icons/MicrosoftEntra/components/Mono.d.mts +1 -2
  728. package/es/icons/MicrosoftEntra/index.d.mts +1 -2
  729. package/es/icons/MicrosoftTeams/components/Avatar.d.mts +1 -2
  730. package/es/icons/MicrosoftTeams/components/Color.d.mts +1 -2
  731. package/es/icons/MicrosoftTeams/components/Mono.d.mts +1 -2
  732. package/es/icons/MicrosoftTeams/index.d.mts +1 -2
  733. package/es/icons/NextAuth/components/Avatar.d.mts +1 -2
  734. package/es/icons/NextAuth/components/Color.d.mts +1 -2
  735. package/es/icons/NextAuth/components/Mono.d.mts +1 -2
  736. package/es/icons/NextAuth/index.d.mts +1 -2
  737. package/es/icons/QQ/components/Avatar.d.mts +1 -2
  738. package/es/icons/QQ/components/Color.d.mts +1 -2
  739. package/es/icons/QQ/components/Mono.d.mts +1 -2
  740. package/es/icons/QQ/index.d.mts +1 -2
  741. package/es/icons/Slack/components/Avatar.d.mts +1 -2
  742. package/es/icons/Slack/components/Color.d.mts +1 -2
  743. package/es/icons/Slack/components/Mono.d.mts +1 -2
  744. package/es/icons/Slack/index.d.mts +1 -2
  745. package/es/icons/Telegram/components/Avatar.d.mts +1 -2
  746. package/es/icons/Telegram/components/Color.d.mts +1 -2
  747. package/es/icons/Telegram/components/Mono.d.mts +1 -2
  748. package/es/icons/Telegram/index.d.mts +1 -2
  749. package/es/icons/WeChat/components/Avatar.d.mts +1 -2
  750. package/es/icons/WeChat/components/Color.d.mts +1 -2
  751. package/es/icons/WeChat/components/Mono.d.mts +1 -2
  752. package/es/icons/WeChat/index.d.mts +1 -2
  753. package/es/icons/WhatsApp/components/Avatar.d.mts +1 -2
  754. package/es/icons/WhatsApp/components/Color.d.mts +1 -2
  755. package/es/icons/WhatsApp/components/Mono.d.mts +1 -2
  756. package/es/icons/WhatsApp/index.d.mts +1 -2
  757. package/es/icons/Zitadel/components/Avatar.d.mts +1 -2
  758. package/es/icons/Zitadel/components/Color.d.mts +1 -2
  759. package/es/icons/Zitadel/components/Mono.d.mts +1 -2
  760. package/es/icons/Zitadel/index.d.mts +1 -2
  761. package/es/icons/lucideExtra/AndroidIcon.d.mts +1 -2
  762. package/es/icons/lucideExtra/AppleIcon.d.mts +1 -2
  763. package/es/icons/lucideExtra/AppstoreIcon.d.mts +1 -2
  764. package/es/icons/lucideExtra/BotPromptIcon.d.mts +1 -2
  765. package/es/icons/lucideExtra/BrainOffIcon.d.mts +1 -2
  766. package/es/icons/lucideExtra/ChromeIcon.d.mts +1 -2
  767. package/es/icons/lucideExtra/CodepenIcon.d.mts +1 -2
  768. package/es/icons/lucideExtra/CodesandboxIcon.d.mts +1 -2
  769. package/es/icons/lucideExtra/CreateBotIcon.d.mts +1 -2
  770. package/es/icons/lucideExtra/DiscordIcon.d.mts +1 -2
  771. package/es/icons/lucideExtra/FacebookIcon.d.mts +1 -2
  772. package/es/icons/lucideExtra/FigmaIcon.d.mts +1 -2
  773. package/es/icons/lucideExtra/FramerIcon.d.mts +1 -2
  774. package/es/icons/lucideExtra/GithubIcon.d.mts +1 -2
  775. package/es/icons/lucideExtra/GitlabIcon.d.mts +1 -2
  776. package/es/icons/lucideExtra/GlobeOffIcon.d.mts +1 -2
  777. package/es/icons/lucideExtra/GooglePlayIcon.d.mts +1 -2
  778. package/es/icons/lucideExtra/GroupBotIcon.d.mts +1 -2
  779. package/es/icons/lucideExtra/GroupBotSquareIcon.d.mts +1 -2
  780. package/es/icons/lucideExtra/InstagramIcon.d.mts +1 -2
  781. package/es/icons/lucideExtra/LeftClickIcon.d.mts +1 -2
  782. package/es/icons/lucideExtra/LeftDoubleClickIcon.d.mts +1 -2
  783. package/es/icons/lucideExtra/LinkedinIcon.d.mts +1 -2
  784. package/es/icons/lucideExtra/McpIcon.d.mts +1 -2
  785. package/es/icons/lucideExtra/NotionIcon.d.mts +1 -2
  786. package/es/icons/lucideExtra/PocketIcon.d.mts +1 -2
  787. package/es/icons/lucideExtra/ProviderIcon.d.mts +1 -2
  788. package/es/icons/lucideExtra/RailSymbolIcon.d.mts +1 -2
  789. package/es/icons/lucideExtra/RedditIcon.d.mts +1 -2
  790. package/es/icons/lucideExtra/RightClickIcon.d.mts +1 -2
  791. package/es/icons/lucideExtra/RightDoubleClickIcon.d.mts +1 -2
  792. package/es/icons/lucideExtra/ShapesUploadIcon.d.mts +1 -2
  793. package/es/icons/lucideExtra/SkillsIcon.d.mts +1 -2
  794. package/es/icons/lucideExtra/SlackIcon.d.mts +1 -2
  795. package/es/icons/lucideExtra/ThinkIcon.d.mts +1 -2
  796. package/es/icons/lucideExtra/TreeDownRightIcon.d.mts +1 -2
  797. package/es/icons/lucideExtra/TreeUpDownRightIcon.d.mts +1 -2
  798. package/es/internal/controlSize.d.mts +1 -2
  799. package/es/internal/floating/collisionPadding.d.mts +1 -2
  800. package/es/internal/menu/baseItem.d.mts +1 -2
  801. package/es/internal/menu/checkboxItem.d.mts +1 -2
  802. package/es/internal/menu/itemInterface.d.mts +1 -2
  803. package/es/internal/menu/renderUtils.d.mts +1 -2
  804. package/es/internal/menu/switchItem.d.mts +1 -2
  805. package/es/internal/menu/type.d.mts +1 -2
  806. package/es/internal/virtual/MenuVirtualList.d.mts +1 -1
  807. package/es/internal/virtual/VirtualScrollArea.d.mts +1 -1
  808. package/es/internal/virtual/type.d.mts +1 -2
  809. package/es/internal/virtual/useMenuVirtualList.d.mts +1 -1
  810. package/es/mdx/Callout/index.d.mts +1 -2
  811. package/es/mdx/Cards/Card.d.mts +1 -2
  812. package/es/mdx/Cards/index.d.mts +1 -2
  813. package/es/mdx/FileTree/File.d.mts +1 -2
  814. package/es/mdx/FileTree/File.mjs +3 -3
  815. package/es/mdx/FileTree/File.mjs.map +1 -1
  816. package/es/mdx/FileTree/Folder.d.mts +1 -2
  817. package/es/mdx/FileTree/Folder.mjs +3 -3
  818. package/es/mdx/FileTree/Folder.mjs.map +1 -1
  819. package/es/mdx/FileTree/index.d.mts +1 -2
  820. package/es/mdx/Mdx/index.d.mts +1 -2
  821. package/es/mdx/Steps/index.d.mts +1 -2
  822. package/es/mdx/Tabs/Tab.d.mts +1 -2
  823. package/es/mdx/Tabs/index.d.mts +1 -2
  824. package/es/mdx/mdxComponents/CodeBlock.d.mts +1 -2
  825. package/es/mdx/mdxComponents/Image.d.mts +1 -2
  826. package/es/mdx/mdxComponents/Link.d.mts +1 -2
  827. package/es/mdx/mdxComponents/Pre.d.mts +1 -2
  828. package/es/mdx/mdxComponents/Video.d.mts +1 -2
  829. package/es/mdx/mdxComponents/index.d.mts +1 -2
  830. package/es/mobile/ChatHeader/ChatHeaderTitle.d.mts +1 -2
  831. package/es/mobile/ChatHeader/index.d.mts +1 -2
  832. package/es/mobile/ChatHeader/type.d.mts +1 -2
  833. package/es/mobile/ChatInputArea/components/ChatSendButton.d.mts +1 -2
  834. package/es/mobile/ChatInputArea/index.d.mts +1 -2
  835. package/es/mobile/ChatInputArea/type.d.mts +1 -2
  836. package/es/mobile/SafeArea/SafeArea.d.mts +1 -2
  837. package/es/mobile/SafeArea/type.d.mts +1 -2
  838. package/es/mobile/TabBar/TabBar.d.mts +1 -2
  839. package/es/mobile/TabBar/type.d.mts +1 -2
  840. package/es/node_modules/.pnpm/@eslint_core@1.2.1/node_modules/@eslint/core/dist/esm/types.d.mts +4 -2
  841. package/es/node_modules/.pnpm/@eslint_plugin-kit@0.7.3/node_modules/@eslint/plugin-kit/dist/cjs/index.d.mts +1 -2
  842. package/es/node_modules/.pnpm/@eslint_plugin-kit@0.7.3/node_modules/@eslint/plugin-kit/dist/cjs/types.d.mts +5 -2
  843. package/es/node_modules/.pnpm/@types_estree@1.0.10/node_modules/@types/estree/index.d.mts +1 -2
  844. package/es/node_modules/.pnpm/@types_json-schema@7.0.15/node_modules/@types/json-schema/index.d.mts +1 -2
  845. package/es/node_modules/.pnpm/@types_mdx@2.0.14/node_modules/@types/mdx/types.d.mts +1 -2
  846. package/es/node_modules/.pnpm/@types_unist@3.0.3/node_modules/@types/unist/index.d.mts +1 -2
  847. package/es/node_modules/.pnpm/eslint@10.14.0_jiti@2.7.0_supports-color@10.2.2/node_modules/eslint/lib/types/index.d.mts +5 -2
  848. package/es/node_modules/.pnpm/unist-util-visit@5.2.0/node_modules/unist-util-visit/lib/index.mjs +2 -2
  849. package/es/spline/LogoThree/LogoSpline.d.mts +1 -2
  850. package/es/spline/LogoThree/index.d.mts +1 -2
  851. package/es/spline/Spline/Spine.d.mts +2 -3
  852. package/es/spline/Spline/type.d.mts +1 -2
  853. package/es/storybook/StoryBook/index.d.mts +1 -2
  854. package/es/style.css +8 -0
  855. package/es/styles/classNames.d.mts +1 -2
  856. package/es/styles/createGlobalStyle.d.mts +1 -2
  857. package/es/styles/css.d.mts +1 -2
  858. package/es/styles/customTheme.d.mts +1 -2
  859. package/es/styles/stylex/props.d.mts +1 -1
  860. package/es/styles/theme/createLobeToken.d.mts +1 -2
  861. package/es/styles/theme/customNeutral.d.mts +1 -2
  862. package/es/styles/theme/customPalette.d.mts +1 -2
  863. package/es/styles/theme/customPrimary.d.mts +1 -2
  864. package/es/styles/theme/customStylishStatic.d.mts +1 -2
  865. package/es/styles/theme/generateColorPalette.d.mts +1 -2
  866. package/es/styles/theme/scope.d.mts +1 -2
  867. package/es/styles/theme/themeCss.d.mts +1 -2
  868. package/es/styles/theme/themeCss.mjs +2 -2
  869. package/es/styles/theme/themeCss.mjs.map +1 -1
  870. package/es/styles/theme/token/font.d.mts +1 -2
  871. package/es/styles/theme/token/neutralText.d.mts +1 -2
  872. package/es/types/citation.d.mts +1 -2
  873. package/es/types/customStylish.d.mts +1 -2
  874. package/es/types/customToken.d.mts +1 -2
  875. package/es/types/index.d.mts +1 -2
  876. package/es/types/trigger.d.mts +1 -2
  877. package/es/utils/copyToClipboard.d.mts +1 -2
  878. package/es/utils/dom.d.mts +1 -2
  879. package/es/utils/genCdnUrl.d.mts +1 -2
  880. package/es/utils/parseTrigger.d.mts +1 -2
  881. package/es/utils/placement.d.mts +1 -2
  882. package/es/utils/smoothCorners.d.mts +2 -3
  883. package/package.json +1 -1
  884. package/es/MaterialFileTypeIcon/icon-map.mjs.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"ConsoleNav.mjs","names":["clsx"],"sources":["../../../src/dashboard/ConsoleNav/ConsoleNav.tsx"],"sourcesContent":["'use client';\n\nimport './style.css';\n\nimport * as stylex from '@stylexjs/stylex';\nimport clsx from 'clsx';\nimport { ChevronDown, Play } from 'lucide-react';\nimport { type ReactNode, useCallback, useEffect, useId, useRef, useState } from 'react';\n\nimport Icon from '@/Icon';\nimport ScrollShadow from '@/ScrollShadow';\nimport { styleProps } from '@/styles/stylex/props';\nimport Tooltip from '@/Tooltip';\n\nimport { useConsoleShellState } from '../ConsoleShell/context';\nimport { useLocalStorage, usePrefersReducedMotion } from '../hooks';\nimport { collectNavItems, findActiveBranch, resolveActiveHref } from './active';\nimport { dashboardConsoleNavClasses } from './stable';\nimport { styles } from './style';\nimport type { ConsoleNavGroup, ConsoleNavItem, ConsoleNavLinkProps, ConsoleNavProps } from './type';\n\nconst PANEL_TRANSITION_MS = 160;\nconst railLinkClassName = 'lobe-console-nav-rail-link';\n\nconst itemIndentStyles = [null, styles.itemIndent1, styles.itemIndent2];\nconst groupHeaderIndentStyles = [null, styles.groupHeaderIndent1, styles.groupHeaderIndent2];\nconst RAIL_TRANSITION_MS = 200;\n\ntype ExpandedOverrides = Record<string, boolean>;\n\n/** Older builds stored the closed group keys as an array. */\nfunction readOverrides(value: unknown): ExpandedOverrides {\n if (Array.isArray(value)) {\n return Object.fromEntries(value.map((key) => [String(key), false]));\n }\n return value && typeof value === 'object' ? (value as ExpandedOverrides) : {};\n}\n\nfunction scrollActiveIntoView(container: HTMLElement, behavior: ScrollBehavior = 'auto') {\n const link =\n container.querySelector<HTMLElement>('[aria-current=\"page\"]') ??\n [...container.querySelectorAll<HTMLElement>('button[data-active=\"true\"]')].at(-1);\n if (!link) return;\n const containerRect = container.getBoundingClientRect();\n const linkRect = link.getBoundingClientRect();\n if (linkRect.top >= containerRect.top && linkRect.bottom <= containerRect.bottom) return;\n container.scrollBy({\n behavior,\n top: linkRect.top - containerRect.top - (containerRect.height - linkRect.height) / 2,\n });\n}\n\ninterface LinkContext {\n onNavigate?: (href: string) => void;\n renderLink?: ConsoleNavProps['renderLink'];\n}\n\nfunction renderAnchor(context: LinkContext, linkProps: ConsoleNavLinkProps, onFollow: () => void) {\n if (context.renderLink) return context.renderLink(linkProps);\n return (\n <a\n aria-current={linkProps['aria-current']}\n aria-label={linkProps['aria-label']}\n className={linkProps.className}\n data-active={linkProps['data-active']}\n data-collapsed={linkProps['data-collapsed']}\n data-indent={linkProps['data-indent']}\n href={linkProps.href}\n rel={linkProps.external ? 'noreferrer' : undefined}\n target={linkProps.external ? '_blank' : undefined}\n title={linkProps.title}\n onClick={(event) => {\n if (context.onNavigate && !linkProps.external) event.preventDefault();\n onFollow();\n }}\n >\n {linkProps.children}\n </a>\n );\n}\n\nfunction NavLink({\n active,\n collapsed,\n context,\n href,\n icon,\n indent = 0,\n item,\n name,\n overlay = false,\n}: {\n active: boolean;\n collapsed: boolean;\n context: LinkContext;\n href: string;\n icon?: ConsoleNavItem['icon'];\n indent?: number;\n item?: ConsoleNavItem;\n name: string;\n overlay?: boolean;\n}) {\n const shell = useConsoleShellState();\n const label = item?.label ?? name;\n const follow = () => {\n context.onNavigate?.(href);\n shell?.closeNavigation();\n };\n const linkProps: ConsoleNavLinkProps = {\n 'aria-current': active ? 'page' : undefined,\n 'aria-label': collapsed ? name : undefined,\n 'children': overlay ? null : (\n <>\n {icon ? (\n <Icon\n className={styleProps(styles.navIcon, dashboardConsoleNavClasses('icon')).className}\n icon={icon}\n size={18}\n />\n ) : null}\n <span\n {...styleProps(\n [\n styles.itemLabel,\n styles.railFade,\n collapsed && [styles.itemLabelRail, styles.railFaded],\n ],\n dashboardConsoleNavClasses('label'),\n )}\n >\n {label}\n </span>\n {item?.badge ? (\n <span\n {...styleProps(\n [styles.badge, styles.railFade, collapsed && styles.railFaded],\n dashboardConsoleNavClasses('badge'),\n )}\n >\n {item.badge}\n </span>\n ) : null}\n {item?.badge ? (\n <span\n aria-hidden\n {...styleProps(\n [styles.dot, collapsed && styles.dotRail],\n dashboardConsoleNavClasses('dot'),\n )}\n />\n ) : null}\n </>\n ),\n 'className': overlay\n ? clsx(\n styleProps(\n [styles.railLink, active && styles.railLinkActive],\n dashboardConsoleNavClasses('rail-link'),\n ).className,\n railLinkClassName,\n )\n : (styleProps(\n [\n styles.item,\n active && styles.itemActive,\n (indent === 1 || indent === 2) && styles.itemIndented,\n itemIndentStyles[indent],\n collapsed && indent !== 0 && styles.itemRailIndent,\n ],\n dashboardConsoleNavClasses('item'),\n ).className ?? ''),\n 'data-active': active,\n 'data-collapsed': collapsed,\n 'data-indent': indent,\n 'external': item?.external,\n href,\n 'onClick': follow,\n 'title': collapsed ? undefined : label,\n };\n\n const link = renderAnchor(context, linkProps, follow);\n\n if (!icon && !overlay) return link;\n // Always mounted so toggling the rail keeps the same link element and its label can fade.\n return (\n <Tooltip disabled={!collapsed} placement=\"right\" title={name}>\n {link}\n </Tooltip>\n );\n}\n\nfunction Fold({ children, folded }: { children: ReactNode; folded: boolean }) {\n return (\n <div\n aria-hidden={folded || undefined}\n data-folded={folded}\n inert={folded || undefined}\n {...styleProps([styles.fold, folded && styles.folded], dashboardConsoleNavClasses('fold'))}\n >\n <div {...styleProps(styles.foldBody, dashboardConsoleNavClasses('fold-body'))}>\n {children}\n </div>\n </div>\n );\n}\n\nfunction ConsoleNav({\n className,\n collapsed: collapsedProp,\n defaultExpanded = 'all',\n groups = [],\n items = [],\n label = 'Primary',\n onNavigate,\n pathname,\n renderLink,\n storageKey,\n}: ConsoleNavProps) {\n const id = useId();\n const navRef = useRef<HTMLDivElement>(null);\n const shell = useConsoleShellState();\n const collapsed = collapsedProp ?? shell?.collapsed ?? false;\n const reducedMotion = usePrefersReducedMotion();\n const [storedOverrides, setStoredOverrides] = useLocalStorage<unknown>(storageKey, {});\n const overrides = readOverrides(storedOverrides);\n const context: LinkContext = { onNavigate, renderLink };\n\n const activeHref = resolveActiveHref(pathname, [...items, ...collectNavItems(groups)]);\n const activeBranch = findActiveBranch(pathname, groups, activeHref);\n\n // Arriving on a page reopens its branch even if it was closed by hand earlier.\n const [trackedPathname, setTrackedPathname] = useState(pathname);\n if (trackedPathname !== pathname) {\n setTrackedPathname(pathname);\n if (activeBranch.some((key) => overrides[key] === false)) {\n const next = { ...overrides };\n for (const key of activeBranch) delete next[key];\n setStoredOverrides(next);\n }\n }\n\n const isExpanded = (group: ConsoleNavGroup) =>\n overrides[group.key] ??\n (activeBranch.includes(group.key) || (group.defaultExpanded ?? defaultExpanded === 'all'));\n\n const toggleGroup = useCallback(\n (key: string, expanded: boolean) => {\n setStoredOverrides((current: unknown) => ({ ...readOverrides(current), [key]: !expanded }));\n },\n [setStoredOverrides],\n );\n\n useEffect(() => {\n const container = navRef.current;\n if (!container) return;\n scrollActiveIntoView(container);\n if (reducedMotion) return;\n const timer = window.setTimeout(() => scrollActiveIntoView(container), PANEL_TRANSITION_MS);\n return () => window.clearTimeout(timer);\n }, [activeHref, pathname, reducedMotion]);\n\n useEffect(() => {\n const container = navRef.current;\n if (!container) return;\n const timer = window.setTimeout(\n () => scrollActiveIntoView(container, reducedMotion ? 'auto' : 'smooth'),\n reducedMotion ? 0 : RAIL_TRANSITION_MS,\n );\n return () => window.clearTimeout(timer);\n }, [collapsed, reducedMotion]);\n\n // The rail folds rows out of this same tree instead of rendering its own, so icons stay put\n // while the sidebar width animates.\n const renderItems = (\n list: ConsoleNavItem[],\n indent: number,\n groupLabel: string | undefined,\n foldable: boolean,\n ) =>\n list.map((item) => {\n const link = (\n <NavLink\n active={item.href === activeHref}\n collapsed={collapsed}\n context={context}\n href={item.href}\n icon={item.icon}\n indent={item.icon ? Math.max(0, indent - 1) : indent}\n item={item}\n key={item.href}\n name={groupLabel ? `${groupLabel} / ${item.label}` : item.label}\n />\n );\n if (item.icon || !foldable) return link;\n return (\n <Fold folded={collapsed} key={item.href}>\n {link}\n </Fold>\n );\n });\n\n const renderGroup = (\n group: ConsoleNavGroup,\n level: number,\n indent: number,\n underRailIcon: boolean,\n afterGroup: boolean,\n ) => {\n const expanded = isExpanded(group);\n const panelId = `${id}-${group.key}`;\n // Nested groups are headings over their items, so the items keep the same indent.\n const childIndent = indent + (group.icon ? 1 : 0);\n const active = activeBranch.includes(group.key);\n const railIcon = level === 0 && Boolean(group.icon);\n const onRail = collapsed && !underRailIcon;\n const open = onRail ? !railIcon : expanded;\n const railHref = railIcon ? (group.href ?? collectNavItems([group])[0]?.href) : undefined;\n const railEmpty = !railIcon && !collectNavItems([group]).some((item) => item.icon);\n const nested = level !== 0;\n const headerIconClassName = stylex.props(\n styles.headerIcon,\n Boolean(group.icon) && styles.headerIconWide,\n ).className;\n\n const header = (\n <button\n aria-controls={panelId}\n aria-expanded={open}\n aria-hidden={(onRail && railIcon) || undefined}\n data-active={active}\n data-icon={Boolean(group.icon)}\n data-indent={indent}\n data-level={level}\n tabIndex={onRail && railIcon ? -1 : undefined}\n type=\"button\"\n onClick={() => toggleGroup(group.key, expanded)}\n {...styleProps(\n [\n styles.groupHeader,\n active && styles.groupHeaderActive,\n Boolean(group.icon) && styles.groupHeaderIcon,\n !nested && Boolean(group.icon) && styles.groupHeaderRailIcon,\n nested && styles.groupHeaderNested,\n nested && active && styles.groupHeaderNestedActive,\n groupHeaderIndentStyles[indent],\n ],\n dashboardConsoleNavClasses('group-header'),\n )}\n >\n {group.icon ? (\n <Icon\n className={clsx(dashboardConsoleNavClasses('group-icon'), headerIconClassName)}\n icon={group.icon}\n size={16}\n />\n ) : null}\n <span\n data-label=\"\"\n {...styleProps(\n [\n styles.itemLabel,\n styles.railFade,\n collapsed && [styles.itemLabelRail, styles.railFaded],\n nested && styles.groupLabelNested,\n ],\n dashboardConsoleNavClasses('label'),\n )}\n >\n {group.label}\n </span>\n {level === 0 ? (\n <Icon\n data-expanded={expanded}\n icon={ChevronDown}\n size={14}\n className={clsx(\n headerIconClassName,\n styleProps(\n [styles.chevron, !expanded && styles.chevronFolded, collapsed && styles.railFaded],\n dashboardConsoleNavClasses('chevron'),\n ).className,\n )}\n />\n ) : (\n <span\n data-expanded={expanded}\n {...styleProps(\n [styles.indicator, expanded && styles.indicatorExpanded],\n dashboardConsoleNavClasses('indicator'),\n )}\n >\n <Play fill={'currentColor'} size={7} strokeWidth={1} />\n </span>\n )}\n </button>\n );\n\n let head: ReactNode = header;\n if (railIcon) {\n head = (\n <div {...styleProps(styles.groupHead, dashboardConsoleNavClasses('group-head'))}>\n {header}\n {onRail && railHref ? (\n <NavLink\n collapsed\n overlay\n active={activeBranch[0] === group.key}\n context={context}\n href={railHref}\n name={group.label}\n />\n ) : null}\n </div>\n );\n } else if (!underRailIcon) {\n head = <Fold folded={onRail}>{header}</Fold>;\n }\n\n return (\n <div\n data-icon={Boolean(group.icon)}\n data-level={level}\n data-rail-empty={railEmpty}\n key={group.key}\n {...styleProps(\n [\n styles.group,\n !nested && Boolean(group.icon) && styles.groupLevelIcon,\n nested && styles.groupNested,\n collapsed && railEmpty && styles.groupRailEmpty,\n collapsed && afterGroup && !nested && !group.icon && styles.groupDivider,\n ],\n dashboardConsoleNavClasses('group'),\n )}\n >\n {head}\n <div\n aria-hidden={!open}\n data-expanded={open}\n data-instant={reducedMotion}\n id={panelId}\n inert={open ? undefined : true}\n {...styleProps(\n [\n styles.groupPanel,\n !open && styles.groupPanelCollapsed,\n reducedMotion && styles.groupPanelInstant,\n ],\n dashboardConsoleNavClasses('group-panel'),\n )}\n >\n <div {...styleProps(styles.groupItems, dashboardConsoleNavClasses('group-items'))}>\n {renderItems(group.items ?? [], childIndent, group.label, !(underRailIcon || railIcon))}\n {(group.groups ?? []).map((child, index) =>\n renderGroup(child, level + 1, childIndent, underRailIcon || railIcon, index > 0),\n )}\n </div>\n </div>\n </div>\n );\n };\n\n return (\n <ScrollShadow\n aria-label={label}\n as={'nav'}\n className={styleProps(styles.nav, clsx(dashboardConsoleNavClasses(), className)).className}\n data-collapsed={collapsed}\n orientation={'vertical'}\n ref={navRef}\n size={4}\n >\n {items.length > 0 ? (\n <div\n data-divided={groups.length > 0}\n data-rail-empty={!items.some((item) => item.icon)}\n {...styleProps(\n [\n styles.topItems,\n groups.length > 0 && styles.topItemsDivided,\n collapsed && !items.some((item) => item.icon) && styles.topItemsRailEmpty,\n ],\n dashboardConsoleNavClasses('top-items'),\n )}\n >\n {renderItems(items, 0, undefined, true)}\n </div>\n ) : null}\n {groups.map((group, index) => renderGroup(group, 0, 0, false, index > 0))}\n </ScrollShadow>\n );\n}\n\nConsoleNav.displayName = 'ConsoleNav';\n\nexport default ConsoleNav;\n"],"mappings":";;;;;;;;;;;;;;;;AAiBA,MAAM,sBAAsB;AAC5B,MAAM,oBAAoB;AAC1B,MAAM,mBAAmB;CAAC;CAAM,OAAO;CAAa,OAAO;AAAW;AACtE,MAAM,0BAA0B;CAAC;CAAM,OAAO;CAAoB,OAAO;AAAkB;AAC3F,MAAM,qBAAqB;;AAI3B,SAAS,cAAc,OAAmC;CACxD,IAAI,MAAM,QAAQ,K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ent":["'use client';\n\nimport './style.css';\n\nimport * as stylex from '@stylexjs/stylex';\nimport clsx from 'clsx';\nimport { ChevronDown, Play } from 'lucide-react';\nimport { type ReactNode, useCallback, useEffect, useId, useRef, useState } from 'react';\n\nimport Icon from '@/Icon';\nimport ScrollShadow from '@/ScrollShadow';\nimport { styleProps } from '@/styles/stylex/props';\nimport Tooltip from '@/Tooltip';\n\nimport { useConsoleShellState } from '../ConsoleShell/context';\nimport { useLocalStorage, usePrefersReducedMotion } from '../hooks';\nimport { collectNavItems, findActiveBranch, resolveActiveHref } from './active';\nimport { dashboardConsoleNavClasses } from './stable';\nimport { styles } from './style';\nimport type { ConsoleNavGroup, ConsoleNavItem, ConsoleNavLinkProps, ConsoleNavProps } from './type';\n\nconst PANEL_TRANSITION_MS = 160;\nconst railLinkClassName = 'lobe-console-nav-rail-link';\n\nconst itemIndentStyles = [null, styles.itemIndent1, styles.itemIndent2];\nconst groupHeaderIndentStyles = [null, styles.groupHeaderIndent1, styles.groupHeaderIndent2];\nconst RAIL_TRANSITION_MS = 200;\n\ntype ExpandedOverrides = Record<string, boolean>;\n\n/** Older builds stored the closed group keys as an array. */\nfunction readOverrides(value: unknown): ExpandedOverrides {\n if (Array.isArray(value)) {\n return Object.fromEntries(value.map((key) => [String(key), false]));\n }\n return value && typeof value === 'object' ? (value as ExpandedOverrides) : {};\n}\n\nfunction scrollActiveIntoView(container: HTMLElement, behavior: ScrollBehavior = 'auto') {\n const link =\n container.querySelector<HTMLElement>('[aria-current=\"page\"]') ??\n [...container.querySelectorAll<HTMLElement>('button[data-active=\"true\"]')].at(-1);\n if (!link) return;\n const containerRect = container.getBoundingClientRect();\n const linkRect = link.getBoundingClientRect();\n if (linkRect.top >= containerRect.top && linkRect.bottom <= containerRect.bottom) return;\n container.scrollBy({\n behavior,\n top: linkRect.top - containerRect.top - (containerRect.height - linkRect.height) / 2,\n });\n}\n\ninterface LinkContext {\n onNavigate?: (href: string) => void;\n renderLink?: ConsoleNavProps['renderLink'];\n}\n\nfunction renderAnchor(context: LinkContext, linkProps: ConsoleNavLinkProps, onFollow: () => void) {\n if (context.renderLink) return context.renderLink(linkProps);\n return (\n <a\n aria-current={linkProps['aria-current']}\n aria-label={linkProps['aria-label']}\n className={linkProps.className}\n data-active={linkProps['data-active']}\n data-collapsed={linkProps['data-collapsed']}\n data-indent={linkProps['data-indent']}\n href={linkProps.href}\n rel={linkProps.external ? 'noreferrer' : undefined}\n target={linkProps.external ? '_blank' : undefined}\n title={linkProps.title}\n onClick={(event) => {\n if (context.onNavigate && !linkProps.external) event.preventDefault();\n onFollow();\n }}\n >\n {linkProps.children}\n </a>\n );\n}\n\nfunction NavLink({\n active,\n collapsed,\n context,\n href,\n icon,\n indent = 0,\n item,\n name,\n overlay = false,\n}: {\n active: boolean;\n collapsed: boolean;\n context: LinkContext;\n href: string;\n icon?: ConsoleNavItem['icon'];\n indent?: number;\n item?: ConsoleNavItem;\n name: string;\n overlay?: boolean;\n}) {\n const shell = useConsoleShellState();\n const label = item?.label ?? name;\n const follow = () => {\n context.onNavigate?.(href);\n shell?.closeNavigation();\n };\n const linkProps: ConsoleNavLinkProps = {\n 'aria-current': active ? 'page' : undefined,\n 'aria-label': collapsed ? name : undefined,\n 'children': overlay ? null : (\n <>\n {icon ? (\n <Icon\n className={styleProps(styles.navIcon, dashboardConsoleNavClasses('icon')).className}\n icon={icon}\n size={18}\n />\n ) : null}\n <span\n {...styleProps(\n [\n styles.itemLabel,\n styles.railFade,\n collapsed && [styles.itemLabelRail, styles.railFaded],\n ],\n dashboardConsoleNavClasses('label'),\n )}\n >\n {label}\n </span>\n {item?.badge ? (\n <span\n {...styleProps(\n [styles.badge, styles.railFade, collapsed && styles.railFaded],\n dashboardConsoleNavClasses('badge'),\n )}\n >\n {item.badge}\n </span>\n ) : null}\n {item?.badge ? (\n <span\n aria-hidden\n {...styleProps(\n [styles.dot, collapsed && styles.dotRail],\n dashboardConsoleNavClasses('dot'),\n )}\n />\n ) : null}\n </>\n ),\n 'className': overlay\n ? clsx(\n styleProps(\n [styles.railLink, active && styles.railLinkActive],\n dashboardConsoleNavClasses('rail-link'),\n ).className,\n railLinkClassName,\n )\n : (styleProps(\n [\n styles.item,\n active && styles.itemActive,\n (indent === 1 || indent === 2) && styles.itemIndented,\n itemIndentStyles[indent],\n collapsed && indent !== 0 && styles.itemRailIndent,\n ],\n dashboardConsoleNavClasses('item'),\n ).className ?? ''),\n 'data-active': active,\n 'data-collapsed': collapsed,\n 'data-indent': indent,\n 'external': item?.external,\n href,\n 'onClick': follow,\n 'title': collapsed ? undefined : label,\n };\n\n const link = renderAnchor(context, linkProps, follow);\n\n if (!icon && !overlay) return link;\n // Always mounted so toggling the rail keeps the same link element and its label can fade.\n return (\n <Tooltip disabled={!collapsed} placement=\"right\" title={name}>\n {link}\n </Tooltip>\n );\n}\n\nfunction Fold({ children, folded }: { children: ReactNode; folded: boolean }) {\n return (\n <div\n aria-hidden={folded || undefined}\n data-folded={folded}\n inert={folded || undefined}\n {...styleProps([styles.fold, folded && styles.folded], dashboardConsoleNavClasses('fold'))}\n >\n <div {...styleProps(styles.foldBody, dashboardConsoleNavClasses('fold-body'))}>\n {children}\n </div>\n </div>\n );\n}\n\nfunction ConsoleNav({\n className,\n collapsed: collapsedProp,\n defaultExpanded = 'all',\n groups = [],\n items = [],\n label = 'Primary',\n onNavigate,\n pathname,\n renderLink,\n storageKey,\n}: ConsoleNavProps) {\n const id = useId();\n const navRef = useRef<HTMLDivElement>(null);\n const shell = useConsoleShellState();\n const collapsed = collapsedProp ?? shell?.collapsed ?? false;\n const reducedMotion = usePrefersReducedMotion();\n const [storedOverrides, setStoredOverrides] = useLocalStorage<unknown>(storageKey, {});\n const overrides = readOverrides(storedOverrides);\n // Skip expand/collapse transitions until after the first paint so a storage\n // re-sync (e.g. SSR hydration) snaps instead of animating open → closed.\n const [transitionsReady, setTransitionsReady] = useState(false);\n useEffect(() => {\n const frame = window.requestAnimationFrame(() => setTransitionsReady(true));\n return () => window.cancelAnimationFrame(frame);\n }, []);\n const instant = reducedMotion || !transitionsReady;\n const context: LinkContext = { onNavigate, renderLink };\n\n const activeHref = resolveActiveHref(pathname, [...items, ...collectNavItems(groups)]);\n const activeBranch = findActiveBranch(pathname, groups, activeHref);\n\n // Arriving on a page reopens its branch even if it was closed by hand earlier.\n const [trackedPathname, setTrackedPathname] = useState(pathname);\n if (trackedPathname !== pathname) {\n setTrackedPathname(pathname);\n if (activeBranch.some((key) => overrides[key] === false)) {\n const next = { ...overrides };\n for (const key of activeBranch) delete next[key];\n setStoredOverrides(next);\n }\n }\n\n const isExpanded = (group: ConsoleNavGroup) =>\n overrides[group.key] ??\n (activeBranch.includes(group.key) || (group.defaultExpanded ?? defaultExpanded === 'all'));\n\n const toggleGroup = useCallback(\n (key: string, expanded: boolean) => {\n setStoredOverrides((current: unknown) => ({ ...readOverrides(current), [key]: !expanded }));\n },\n [setStoredOverrides],\n );\n\n useEffect(() => {\n const container = navRef.current;\n if (!container) return;\n scrollActiveIntoView(container);\n if (reducedMotion) return;\n const timer = window.setTimeout(() => scrollActiveIntoView(container), PANEL_TRANSITION_MS);\n return () => window.clearTimeout(timer);\n }, [activeHref, pathname, reducedMotion]);\n\n useEffect(() => {\n const container = navRef.current;\n if (!container) return;\n const timer = window.setTimeout(\n () => scrollActiveIntoView(container, reducedMotion ? 'auto' : 'smooth'),\n reducedMotion ? 0 : RAIL_TRANSITION_MS,\n );\n return () => window.clearTimeout(timer);\n }, [collapsed, reducedMotion]);\n\n // The rail folds rows out of this same tree instead of rendering its own, so icons stay put\n // while the sidebar width animates.\n const renderItems = (\n list: ConsoleNavItem[],\n indent: number,\n groupLabel: string | undefined,\n foldable: boolean,\n ) =>\n list.map((item) => {\n const link = (\n <NavLink\n active={item.href === activeHref}\n collapsed={collapsed}\n context={context}\n href={item.href}\n icon={item.icon}\n indent={item.icon ? Math.max(0, indent - 1) : indent}\n item={item}\n key={item.href}\n name={groupLabel ? `${groupLabel} / ${item.label}` : item.label}\n />\n );\n if (item.icon || !foldable) return link;\n return (\n <Fold folded={collapsed} key={item.href}>\n {link}\n </Fold>\n );\n });\n\n const renderGroup = (\n group: ConsoleNavGroup,\n level: number,\n indent: number,\n underRailIcon: boolean,\n afterGroup: boolean,\n ) => {\n const expanded = isExpanded(group);\n const panelId = `${id}-${group.key}`;\n // Nested groups are headings over their items, so the items keep the same indent.\n const childIndent = indent + (group.icon ? 1 : 0);\n const active = activeBranch.includes(group.key);\n const railIcon = level === 0 && Boolean(group.icon);\n const onRail = collapsed && !underRailIcon;\n const open = onRail ? !railIcon : expanded;\n const railHref = railIcon ? (group.href ?? collectNavItems([group])[0]?.href) : undefined;\n const railEmpty = !railIcon && !collectNavItems([group]).some((item) => item.icon);\n const nested = level !== 0;\n const headerIconClassName = stylex.props(\n styles.headerIcon,\n Boolean(group.icon) && styles.headerIconWide,\n ).className;\n\n const header = (\n <button\n aria-controls={panelId}\n aria-expanded={open}\n aria-hidden={(onRail && railIcon) || undefined}\n data-active={active}\n data-icon={Boolean(group.icon)}\n data-indent={indent}\n data-level={level}\n tabIndex={onRail && railIcon ? -1 : undefined}\n type=\"button\"\n onClick={() => toggleGroup(group.key, expanded)}\n {...styleProps(\n [\n styles.groupHeader,\n active && styles.groupHeaderActive,\n Boolean(group.icon) && styles.groupHeaderIcon,\n !nested && Boolean(group.icon) && styles.groupHeaderRailIcon,\n nested && styles.groupHeaderNested,\n nested && active && styles.groupHeaderNestedActive,\n groupHeaderIndentStyles[indent],\n ],\n dashboardConsoleNavClasses('group-header'),\n )}\n >\n {group.icon ? (\n <Icon\n className={clsx(dashboardConsoleNavClasses('group-icon'), headerIconClassName)}\n icon={group.icon}\n size={16}\n />\n ) : null}\n <span\n data-label=\"\"\n {...styleProps(\n [\n styles.itemLabel,\n styles.railFade,\n collapsed && [styles.itemLabelRail, styles.railFaded],\n nested && styles.groupLabelNested,\n ],\n dashboardConsoleNavClasses('label'),\n )}\n >\n {group.label}\n </span>\n {level === 0 ? (\n <Icon\n data-expanded={expanded}\n icon={ChevronDown}\n size={14}\n className={clsx(\n headerIconClassName,\n styleProps(\n [\n styles.chevron,\n !expanded && styles.chevronFolded,\n collapsed && styles.railFaded,\n instant && styles.transitionInstant,\n ],\n dashboardConsoleNavClasses('chevron'),\n ).className,\n )}\n />\n ) : (\n <span\n data-expanded={expanded}\n {...styleProps(\n [\n styles.indicator,\n expanded && styles.indicatorExpanded,\n instant && styles.transitionInstant,\n ],\n dashboardConsoleNavClasses('indicator'),\n )}\n >\n <Play fill={'currentColor'} size={7} strokeWidth={1} />\n </span>\n )}\n </button>\n );\n\n let head: ReactNode = header;\n if (railIcon) {\n head = (\n <div {...styleProps(styles.groupHead, dashboardConsoleNavClasses('group-head'))}>\n {header}\n {onRail && railHref ? (\n <NavLink\n collapsed\n overlay\n active={activeBranch[0] === group.key}\n context={context}\n href={railHref}\n name={group.label}\n />\n ) : null}\n </div>\n );\n } else if (!underRailIcon) {\n head = <Fold folded={onRail}>{header}</Fold>;\n }\n\n return (\n <div\n data-icon={Boolean(group.icon)}\n data-level={level}\n data-rail-empty={railEmpty}\n key={group.key}\n {...styleProps(\n [\n styles.group,\n !nested && Boolean(group.icon) && styles.groupLevelIcon,\n nested && styles.groupNested,\n collapsed && railEmpty && styles.groupRailEmpty,\n collapsed && afterGroup && !nested && !group.icon && styles.groupDivider,\n ],\n dashboardConsoleNavClasses('group'),\n )}\n >\n {head}\n <div\n aria-hidden={!open}\n data-expanded={open}\n data-instant={instant}\n id={panelId}\n inert={open ? undefined : true}\n {...styleProps(\n [\n styles.groupPanel,\n !open && styles.groupPanelCollapsed,\n instant && styles.groupPanelInstant,\n ],\n dashboardConsoleNavClasses('group-panel'),\n )}\n >\n <div {...styleProps(styles.groupItems, dashboardConsoleNavClasses('group-items'))}>\n {renderItems(group.items ?? [], childIndent, group.label, !(underRailIcon || railIcon))}\n {(group.groups ?? []).map((child, index) =>\n renderGroup(child, level + 1, childIndent, underRailIcon || railIcon, index > 0),\n )}\n </div>\n </div>\n </div>\n );\n };\n\n return (\n <ScrollShadow\n aria-label={label}\n as={'nav'}\n className={styleProps(styles.nav, clsx(dashboardConsoleNavClasses(), className)).className}\n data-collapsed={collapsed}\n orientation={'vertical'}\n ref={navRef}\n size={4}\n >\n {items.length > 0 ? (\n <div\n data-divided={groups.length > 0}\n data-rail-empty={!items.some((item) => item.icon)}\n {...styleProps(\n [\n styles.topItems,\n groups.length > 0 && styles.topItemsDivided,\n collapsed && !items.some((item) => item.icon) && styles.topItemsRailEmpty,\n ],\n dashboardConsoleNavClasses('top-items'),\n )}\n >\n {renderItems(items, 0, undefined, true)}\n </div>\n ) : null}\n {groups.map((group, index) => renderGroup(group, 0, 0, false, index > 0))}\n </ScrollShadow>\n );\n}\n\nConsoleNav.displayName = 'ConsoleNav';\n\nexport default ConsoleNav;\n"],"mappings":";;;;;;;;;;;;;;;;AAiBA,MAAM,sBAAsB;AAC5B,MAAM,oBAAoB;AAC1B,MAAM,mBAAmB;CAAC;CAAM,OAAO;CAAa,OAAO;AAAW;AACtE,MAAM,0BAA0B;CAAC;CAAM,OAAO;CAAoB,OAAO;AAAkB;AAC3F,MAAM,qBAAqB;;AAI3B,SAAS,cAAc,OAAmC;CACxD,IAAI,MAAM,QAAQ,KAAK,GACrB,OAAO,OAAO,YAAY,MAAM,KAAI,QAAO,CAAC,OAAO,GAAG,GAAG,KAAK,CAAC,CAAC;CAElE,OAAO,SAAS,OAAO,UAAU,WAAW,QAA6B,CAAC;AAC5E;AACA,SAAS,qBAAqB,WAAwB,WAA2B,QAAQ;CACvF,MAAM,OAAO,UAAU,cAA2B,yBAAuB,KAAK,CAAC,GAAG,UAAU,iBAA8B,8BAA4B,CAAC,CAAC,CAAC,GAAG,EAAE;CAC9J,IAAI,CAAC,MAAM;CACX,MAAM,gBAAgB,UAAU,sBAAsB;CACtD,MAAM,WAAW,KAAK,sBAAsB;CAC5C,IAAI,SAAS,OAAO,cAAc,OAAO,SAAS,UAAU,cAAc,QAAQ;CAClF,UAAU,SA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BAA2B,aAAa,CAAC;KAAhF,UAAA,CACG,YAAY,MAAM,SAAS,CAAC,GAAG,aAAa,MAAM,OAAO,EAAE,iBAAiB,SAAS,IACpF,MAAM,UAAU,CAAC,EAAA,CAAG,KAAK,OAAO,UAAU,YAAY,OAAO,QAAQ,GAAG,aAAa,iBAAiB,UAAU,QAAQ,CAAC,CAAC,CACzH;;GACF,CAAA,CACF;EARyF,GAAA,MAAM,GAQ/F;CACT;CACA,OAAO,qBAAC,cAAD;EAAc,cAAY;EAAO,IAAI;EAAO,WAAW,WAAW,OAAO,KAAKA,OAAK,2BAA2B,GAAG,SAAS,CAAC,CAAC,CAAC;EAAW,kBAAgB;EAAW,aAAa;EAAY,KAAK;EAAQ,MAAM;EAA/M,UAAA,CACF,MAAM,SAAS,IAAI,oBAAC,OAAD;GAAK,gBAAc,OAAO,SAAS;GAAG,mBAAiB,CAAC,MAAM,MAAK,SAAQ,KAAK,IAAI;GAAG,GAAI,WAAW;IAAC,OAAO;IAAU,OAAO,SAAS,KAAK,OAAO;IAAiB,aAAa,CAAC,MAAM,MAAK,SAAQ,KAAK,IAAI,KAAK,OAAO;GAAiB,GAAG,2BAA2B,WAAW,CAAC;GACrS,UAAA,YAAY,OAAO,GAAG,KAAA,GAAW,IAAI;EACnC,CAAA,IAAI,MACV,OAAO,KAAK,OAAO,UAAU,YAAY,OAAO,GAAG,GAAG,OAAO,QAAQ,CAAC,CAAC,CAC5D;;AAClB;AACA,WAAW,cAAc"}
@@ -11,5 +11,4 @@ declare namespace ConsoleNavSkeleton {
11
11
  export declare function ConsoleFooterSkeleton({ className }: {
12
12
  className?: string;
13
13
  }): import("react").JSX.Element;
14
- export { ConsoleNavSkeleton as default };
15
- //# sourceMappingURL=Skeleton.d.mts.map
14
+ export { ConsoleNavSkeleton as default };
@@ -1,4 +1,3 @@
1
1
  import { ConsoleNavItem } from "./type.mjs";
2
2
  /** Longest matching href wins, so `/resources/new` does not also light up `/`. */
3
- export declare function resolveActiveHref(pathname: string, items: readonly ConsoleNavItem[]): string;
4
- //# sourceMappingURL=active.d.mts.map
3
+ export declare function resolveActiveHref(pathname: string, items: readonly ConsoleNavItem[]): string;
@@ -173,6 +173,10 @@ const styles = {
173
173
  kmkexE: "lbq2gx43",
174
174
  $$css: true
175
175
  },
176
+ transitionInstant: {
177
+ kmkexE: "lbq2gx43",
178
+ $$css: true
179
+ },
176
180
  groupRailEmpty: {
177
181
  keoZOQ: "lbdj266r",
178
182
  $$css: true
@@ -1 +1 @@
1
- {"version":3,"file":"style.mjs","names":[],"sources":["../../../src/dashboard/ConsoleNav/style.ts"],"sourcesContent":["import * as stylex from '@stylexjs/stylex';\n\nimport { cssVar } from '@/styles/stylex/cssVar.stylex';\nimport { media } from '@/styles/stylex/media.stylex';\n\nconst reducedMotion = '@media (prefers-reduced-motion: reduce)';\n\nexport const styles = stylex.create({\n badge: {\n borderRadius: 999,\n flex: 'none',\n paddingInline: 6,\n backgroundColor: `color-mix(in srgb, ${cssVar.colorError} 12%, transparent)`,\n color: cssVar.colorError,\n fontSize: cssVar.fontSizeSM,\n fontVariantNumeric: 'tabular-nums',\n minInlineSize: 20,\n textAlign: 'center',\n },\n chevron: {\n flex: 'none',\n transition: {\n default: 'transform 160ms ease, opacity 120ms ease 80ms',\n [reducedMotion]: 'none',\n },\n },\n chevronFolded: {\n transform: 'rotate(-90deg)',\n },\n dot: {\n borderRadius: 999,\n transition: { default: 'opacity 120ms ease', [reducedMotion]: 'none' },\n backgroundColor: cssVar.colorError,\n blockSize: 7,\n inlineSize: 7,\n insetBlockStart: 7,\n insetInlineEnd: 9,\n opacity: 0,\n position: 'absolute',\n },\n dotRail: {\n opacity: 1,\n },\n fold: {\n transition: {\n default: 'grid-template-rows 200ms ease, margin 200ms ease, opacity 120ms ease',\n [reducedMotion]: 'none',\n },\n display: 'grid',\n gridTemplateRows: '1fr',\n },\n foldBody: {\n overflow: 'hidden',\n minBlockSize: 0,\n },\n folded: {\n gridTemplateRows: '0fr',\n marginBlockStart: { 'default': null, ':not(:first-child)': -2 },\n opacity: 0,\n },\n group: {\n 'transition': { default: 'margin 200ms ease', [reducedMotion]: 'none' },\n 'display': 'flex',\n 'flexDirection': 'column',\n 'marginBlockStart': 12,\n 'position': 'relative',\n '::before': {\n insetInline: 0,\n transition: { default: 'opacity 200ms ease', [reducedMotion]: 'none' },\n backgroundColor: `var(--lobe-fill-border, ${cssVar.colorFill})`,\n blockSize: 1,\n content: '\"\"',\n insetBlockStart: -6,\n opacity: 0,\n position: 'absolute',\n },\n },\n groupDivider: {\n '::before': {\n opacity: 1,\n },\n },\n groupHead: {\n display: 'flex',\n flexDirection: 'column',\n position: 'relative',\n },\n groupHeader: {\n borderColor: 'currentcolor',\n borderRadius: cssVar.borderRadius,\n borderStyle: 'none',\n borderWidth: 'medium',\n gap: 8,\n alignItems: 'center',\n backgroundColor: 'transparent',\n color: { 'default': cssVar.colorTextSecondary, ':hover': cssVar.colorText },\n cursor: 'pointer',\n display: 'flex',\n fontSize: cssVar.fontSizeSM,\n fontWeight: 500,\n justifyContent: 'space-between',\n minBlockSize: 32,\n paddingInlineEnd: 10,\n paddingInlineStart: 10,\n textAlign: 'start',\n whiteSpace: 'nowrap',\n },\n groupHeaderActive: {\n color: cssVar.colorText,\n },\n groupHeaderIcon: {\n gap: 10,\n fontSize: cssVar.fontSize,\n justifyContent: 'flex-start',\n minBlockSize: 36,\n },\n groupHeaderIndent1: {\n paddingInlineStart: 38,\n },\n groupHeaderIndent2: {\n paddingInlineStart: 56,\n },\n groupHeaderNested: {\n gap: 8,\n color: { 'default': cssVar.colorTextDescription, ':hover': cssVar.colorTextSecondary },\n fontSize: cssVar.fontSizeSM,\n fontWeight: 400,\n justifyContent: 'flex-start',\n minBlockSize: 26,\n },\n groupHeaderNestedActive: {\n color: cssVar.colorTextSecondary,\n },\n groupHeaderRailIcon: {\n backgroundColor: { 'default': 'transparent', ':hover': cssVar.colorFillTertiary },\n },\n groupItems: {\n gap: 2,\n overflow: 'hidden',\n display: 'flex',\n flexDirection: 'column',\n minBlockSize: 0,\n },\n groupLabelNested: {\n flexBasis: 'auto',\n flexGrow: '0',\n flexShrink: '1',\n },\n groupLevelIcon: {\n marginBlockStart: 2,\n },\n groupNested: {\n marginBlockStart: 6,\n },\n groupPanel: {\n transition: 'grid-template-rows 160ms ease',\n display: 'grid',\n gridTemplateRows: '1fr',\n },\n groupPanelCollapsed: {\n gridTemplateRows: '0fr',\n },\n groupPanelInstant: {\n transition: 'none',\n },\n groupRailEmpty: {\n marginBlockStart: 0,\n },\n headerIcon: {\n flex: 'none',\n display: 'flex',\n },\n headerIconWide: {\n inlineSize: 18,\n justifyContent: 'center',\n },\n indicator: {\n flex: 'none',\n transition: 'transform 160ms ease',\n alignItems: 'center',\n color: cssVar.colorTextDescription,\n display: 'flex',\n justifyContent: 'center',\n marginInlineStart: -6,\n height: 18,\n width: 18,\n },\n indicatorExpanded: {\n transform: 'rotate(90deg)',\n },\n item: {\n borderRadius: cssVar.borderRadius,\n gap: 10,\n textDecoration: 'none',\n transition: 'background 120ms ease, color 120ms ease',\n alignItems: 'center',\n backgroundColor: { 'default': null, ':hover': cssVar.colorFillTertiary },\n color: { 'default': cssVar.colorTextSecondary, ':hover': cssVar.colorText },\n display: 'flex',\n minBlockSize: { default: 36, [media.mobile]: 44 },\n paddingInlineEnd: 10,\n paddingInlineStart: 10,\n position: 'relative',\n whiteSpace: 'nowrap',\n },\n itemActive: {\n backgroundColor: cssVar.colorFillSecondary,\n color: cssVar.colorText,\n fontWeight: 500,\n },\n itemIndent1: {\n paddingInlineStart: 38,\n },\n itemIndent2: {\n paddingInlineStart: 56,\n },\n itemIndented: {\n color: cssVar.colorText,\n minBlockSize: 32,\n },\n itemLabel: {\n flex: '1',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n },\n itemLabelRail: {\n textOverflow: 'clip',\n },\n itemRailIndent: {\n paddingInlineStart: 10,\n },\n nav: {\n flex: '1',\n gap: 2,\n paddingInline: 8,\n display: 'flex',\n flexDirection: 'column',\n minBlockSize: 0,\n overflowAnchor: 'none',\n paddingBlockEnd: 12,\n scrollbarWidth: 'thin',\n },\n navIcon: {\n flex: 'none',\n display: 'flex',\n },\n railFade: {\n transition: { default: 'opacity 120ms ease 80ms', [reducedMotion]: 'none' },\n },\n railFaded: {\n opacity: 0,\n transitionDelay: '0s',\n },\n railLink: {\n inset: 0,\n borderRadius: cssVar.borderRadius,\n transition: 'background 120ms ease',\n backgroundColor: { 'default': null, ':hover': cssVar.colorFillTertiary },\n position: 'absolute',\n },\n railLinkActive: {\n backgroundColor: cssVar.colorFillSecondary,\n },\n skeletonFooter: {\n gap: 10,\n paddingInline: 4,\n alignItems: 'center',\n display: 'flex',\n },\n skeletonGroup: {\n gap: 2,\n display: 'flex',\n flexDirection: 'column',\n marginBlockStart: 12,\n },\n skeletonRow: {\n pointerEvents: 'none',\n },\n topItems: {\n gap: 2,\n transition: {\n default: 'margin 200ms ease, padding 200ms ease, border-color 200ms ease',\n [reducedMotion]: 'none',\n },\n display: 'flex',\n flexDirection: 'column',\n },\n topItemsDivided: {\n borderBlockEndColor: `var(--lobe-fill-border, ${cssVar.colorFill})`,\n borderBlockEndStyle: 'solid',\n borderBlockEndWidth: 1,\n marginBlockEnd: 6,\n paddingBlockEnd: 8,\n },\n topItemsRailEmpty: {\n borderBlockEndColor: 'transparent',\n marginBlockEnd: 0,\n paddingBlockEnd: 0,\n },\n});\n"],"mappings":";AAMA,MAAa,SAAS;CACpB,OAAO;EACL,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,SAAS;EACP,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,eAAe;EACb,QAAQ;EACR,OAAO;CACT;CACA,KAAK;EACH,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;E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,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,SAAS;EACP,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,UAAU;EACR,QAAQ;EACR,OAAO;CACT;CACA,WAAW;EACT,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,UAAU;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,gBAAgB;EACd,QAAQ;EACR,OAAO;CACT;CACA,gBAAgB;EACd,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,eAAe;EACb,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,aAAa;EACX,QAAQ;EACR,OAAO;CACT;CACA,UAAU;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,iBAAiB;EACf,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,mBAAmB;EACjB,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;AACF"}
1
+ {"version":3,"file":"style.mjs","names":[],"sources":["../../../src/dashboard/ConsoleNav/style.ts"],"sourcesContent":["import * as stylex from '@stylexjs/stylex';\n\nimport { cssVar } from '@/styles/stylex/cssVar.stylex';\nimport { media } from '@/styles/stylex/media.stylex';\n\nconst reducedMotion = '@media (prefers-reduced-motion: reduce)';\n\nexport const styles = stylex.create({\n badge: {\n borderRadius: 999,\n flex: 'none',\n paddingInline: 6,\n backgroundColor: `color-mix(in srgb, ${cssVar.colorError} 12%, transparent)`,\n color: cssVar.colorError,\n fontSize: cssVar.fontSizeSM,\n fontVariantNumeric: 'tabular-nums',\n minInlineSize: 20,\n textAlign: 'center',\n },\n chevron: {\n flex: 'none',\n transition: {\n default: 'transform 160ms ease, opacity 120ms ease 80ms',\n [reducedMotion]: 'none',\n },\n },\n chevronFolded: {\n transform: 'rotate(-90deg)',\n },\n dot: {\n borderRadius: 999,\n transition: { default: 'opacity 120ms ease', [reducedMotion]: 'none' },\n backgroundColor: cssVar.colorError,\n blockSize: 7,\n inlineSize: 7,\n insetBlockStart: 7,\n insetInlineEnd: 9,\n opacity: 0,\n position: 'absolute',\n },\n dotRail: {\n opacity: 1,\n },\n fold: {\n transition: {\n default: 'grid-template-rows 200ms ease, margin 200ms ease, opacity 120ms ease',\n [reducedMotion]: 'none',\n },\n display: 'grid',\n gridTemplateRows: '1fr',\n },\n foldBody: {\n overflow: 'hidden',\n minBlockSize: 0,\n },\n folded: {\n gridTemplateRows: '0fr',\n marginBlockStart: { 'default': null, ':not(:first-child)': -2 },\n opacity: 0,\n },\n group: {\n 'transition': { default: 'margin 200ms ease', [reducedMotion]: 'none' },\n 'display': 'flex',\n 'flexDirection': 'column',\n 'marginBlockStart': 12,\n 'position': 'relative',\n '::before': {\n insetInline: 0,\n transition: { default: 'opacity 200ms ease', [reducedMotion]: 'none' },\n backgroundColor: `var(--lobe-fill-border, ${cssVar.colorFill})`,\n blockSize: 1,\n content: '\"\"',\n insetBlockStart: -6,\n opacity: 0,\n position: 'absolute',\n },\n },\n groupDivider: {\n '::before': {\n opacity: 1,\n },\n },\n groupHead: {\n display: 'flex',\n flexDirection: 'column',\n position: 'relative',\n },\n groupHeader: {\n borderColor: 'currentcolor',\n borderRadius: cssVar.borderRadius,\n borderStyle: 'none',\n borderWidth: 'medium',\n gap: 8,\n alignItems: 'center',\n backgroundColor: 'transparent',\n color: { 'default': cssVar.colorTextSecondary, ':hover': cssVar.colorText },\n cursor: 'pointer',\n display: 'flex',\n fontSize: cssVar.fontSizeSM,\n fontWeight: 500,\n justifyContent: 'space-between',\n minBlockSize: 32,\n paddingInlineEnd: 10,\n paddingInlineStart: 10,\n textAlign: 'start',\n whiteSpace: 'nowrap',\n },\n groupHeaderActive: {\n color: cssVar.colorText,\n },\n groupHeaderIcon: {\n gap: 10,\n fontSize: cssVar.fontSize,\n justifyContent: 'flex-start',\n minBlockSize: 36,\n },\n groupHeaderIndent1: {\n paddingInlineStart: 38,\n },\n groupHeaderIndent2: {\n paddingInlineStart: 56,\n },\n groupHeaderNested: {\n gap: 8,\n color: { 'default': cssVar.colorTextDescription, ':hover': cssVar.colorTextSecondary },\n fontSize: cssVar.fontSizeSM,\n fontWeight: 400,\n justifyContent: 'flex-start',\n minBlockSize: 26,\n },\n groupHeaderNestedActive: {\n color: cssVar.colorTextSecondary,\n },\n groupHeaderRailIcon: {\n backgroundColor: { 'default': 'transparent', ':hover': cssVar.colorFillTertiary },\n },\n groupItems: {\n gap: 2,\n overflow: 'hidden',\n display: 'flex',\n flexDirection: 'column',\n minBlockSize: 0,\n },\n groupLabelNested: {\n flexBasis: 'auto',\n flexGrow: '0',\n flexShrink: '1',\n },\n groupLevelIcon: {\n marginBlockStart: 2,\n },\n groupNested: {\n marginBlockStart: 6,\n },\n groupPanel: {\n transition: 'grid-template-rows 160ms ease',\n display: 'grid',\n gridTemplateRows: '1fr',\n },\n groupPanelCollapsed: {\n gridTemplateRows: '0fr',\n },\n groupPanelInstant: {\n transition: 'none',\n },\n transitionInstant: {\n transition: 'none',\n },\n groupRailEmpty: {\n marginBlockStart: 0,\n },\n headerIcon: {\n flex: 'none',\n display: 'flex',\n },\n headerIconWide: {\n inlineSize: 18,\n justifyContent: 'center',\n },\n indicator: {\n flex: 'none',\n transition: 'transform 160ms ease',\n alignItems: 'center',\n color: cssVar.colorTextDescription,\n display: 'flex',\n justifyContent: 'center',\n marginInlineStart: -6,\n height: 18,\n width: 18,\n },\n indicatorExpanded: {\n transform: 'rotate(90deg)',\n },\n item: {\n borderRadius: cssVar.borderRadius,\n gap: 10,\n textDecoration: 'none',\n transition: 'background 120ms ease, color 120ms ease',\n alignItems: 'center',\n backgroundColor: { 'default': null, ':hover': cssVar.colorFillTertiary },\n color: { 'default': cssVar.colorTextSecondary, ':hover': cssVar.colorText },\n display: 'flex',\n minBlockSize: { default: 36, [media.mobile]: 44 },\n paddingInlineEnd: 10,\n paddingInlineStart: 10,\n position: 'relative',\n whiteSpace: 'nowrap',\n },\n itemActive: {\n backgroundColor: cssVar.colorFillSecondary,\n color: cssVar.colorText,\n fontWeight: 500,\n },\n itemIndent1: {\n paddingInlineStart: 38,\n },\n itemIndent2: {\n paddingInlineStart: 56,\n },\n itemIndented: {\n color: cssVar.colorText,\n minBlockSize: 32,\n },\n itemLabel: {\n flex: '1',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n },\n itemLabelRail: {\n textOverflow: 'clip',\n },\n itemRailIndent: {\n paddingInlineStart: 10,\n },\n nav: {\n flex: '1',\n gap: 2,\n paddingInline: 8,\n display: 'flex',\n flexDirection: 'column',\n minBlockSize: 0,\n overflowAnchor: 'none',\n paddingBlockEnd: 12,\n scrollbarWidth: 'thin',\n },\n navIcon: {\n flex: 'none',\n display: 'flex',\n },\n railFade: {\n transition: { default: 'opacity 120ms ease 80ms', [reducedMotion]: 'none' },\n },\n railFaded: {\n opacity: 0,\n transitionDelay: '0s',\n },\n railLink: {\n inset: 0,\n borderRadius: cssVar.borderRadius,\n transition: 'background 120ms ease',\n backgroundColor: { 'default': null, ':hover': cssVar.colorFillTertiary },\n position: 'absolute',\n },\n railLinkActive: {\n backgroundColor: cssVar.colorFillSecondary,\n },\n skeletonFooter: {\n gap: 10,\n paddingInline: 4,\n alignItems: 'center',\n display: 'flex',\n },\n skeletonGroup: {\n gap: 2,\n display: 'flex',\n flexDirection: 'column',\n marginBlockStart: 12,\n },\n skeletonRow: {\n pointerEvents: 'none',\n },\n topItems: {\n gap: 2,\n transition: {\n default: 'margin 200ms ease, padding 200ms ease, border-color 200ms ease',\n [reducedMotion]: 'none',\n },\n display: 'flex',\n flexDirection: 'column',\n },\n topItemsDivided: {\n borderBlockEndColor: `var(--lobe-fill-border, ${cssVar.colorFill})`,\n borderBlockEndStyle: 'solid',\n borderBlockEndWidth: 1,\n marginBlockEnd: 6,\n paddingBlockEnd: 8,\n },\n topItemsRailEmpty: {\n borderBlockEndColor: 'transparent',\n marginBlockEnd: 0,\n paddingBlockEnd: 0,\n },\n});\n"],"mappings":";AAMA,MAAa,SAAS;CACpB,OAAO;EACL,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,SAAS;EACP,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,eAAe;EACb,QAAQ;EACR,OAAO;CACT;CACA,KAAK;EACH,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,SAAS;EACP,QAAQ;EACR,OAAO;CACT;CACA,MAAM;EACJ,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,UAAU;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,QAAQ;EACN,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,OAAO;EACL,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,cAAc;EACZ,QAAQ;EACR,OAAO;CACT;CACA,WAAW;EACT,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,aAAa;EACX,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR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,OAAO;CACT;CACA,mBAAmB;EACjB,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;AACF"}
@@ -78,5 +78,4 @@ export interface ConsoleNavSkeletonProps {
78
78
  * @default 1
79
79
  */
80
80
  items?: number;
81
- }
82
- //# sourceMappingURL=type.d.mts.map
81
+ }
@@ -3,5 +3,4 @@ declare function ConsoleBrand({ className, href, label, logo, renderLink, title
3
3
  declare namespace ConsoleBrand {
4
4
  var displayName: string;
5
5
  }
6
- export { ConsoleBrand as default };
7
- //# sourceMappingURL=ConsoleBrand.d.mts.map
6
+ export { ConsoleBrand as default };
@@ -8,9 +8,13 @@ import { jsx, jsxs } from "react/jsx-runtime";
8
8
  // src/dashboard/ConsoleShell/ConsoleBrand.tsx
9
9
  function ConsoleBrand({ className, href = "/", label, logo, renderLink, title }) {
10
10
  const shell = useConsoleShellState();
11
- const content = title == null || title === false || title === "" ? logo : /* @__PURE__ */ jsxs("span", {
11
+ const mark = /* @__PURE__ */ jsx("span", {
12
+ ...styleProps(styles.brandMark, dashboardConsoleBrandClasses("mark")),
13
+ children: logo
14
+ });
15
+ const content = title == null || title === false || title === "" ? mark : /* @__PURE__ */ jsxs("span", {
12
16
  ...styleProps(styles.brandLockup, dashboardConsoleBrandClasses("lockup")),
13
- children: [logo, /* @__PURE__ */ jsx("span", {
17
+ children: [mark, /* @__PURE__ */ jsx("span", {
14
18
  ...styleProps(styles.brandName, dashboardConsoleBrandClasses("name")),
15
19
  children: title
16
20
  })]
@@ -1 +1 @@
1
- {"version":3,"file":"ConsoleBrand.mjs","names":["clsx"],"sources":["../../../src/dashboard/ConsoleShell/ConsoleBrand.tsx"],"sourcesContent":["'use client';\n\nimport clsx from 'clsx';\n\nimport { styleProps } from '@/styles/stylex/props';\n\nimport { useConsoleShellState } from './context';\nimport { dashboardConsoleBrandClasses } from './stable';\nimport { styles } from './style';\nimport type { ConsoleBrandProps } from './type';\n\nfunction ConsoleBrand({\n className,\n href = '/',\n label,\n logo,\n renderLink,\n title,\n}: ConsoleBrandProps) {\n const shell = useConsoleShellState();\n const content =\n title == null || title === false || title === '' ? (\n logo\n ) : (\n <span {...styleProps(styles.brandLockup, dashboardConsoleBrandClasses('lockup'))}>\n {logo}\n <span {...styleProps(styles.brandName, dashboardConsoleBrandClasses('name'))}>{title}</span>\n </span>\n );\n const linkProps = {\n 'aria-label': label ?? (typeof title === 'string' ? title : 'Home'),\n 'children': content,\n 'className':\n styleProps(styles.brandAnchor, clsx(dashboardConsoleBrandClasses(), className)).className ??\n '',\n href,\n 'onClick': () => shell?.closeNavigation(),\n };\n if (renderLink) return renderLink(linkProps);\n return (\n <a\n aria-label={linkProps['aria-label']}\n className={linkProps.className}\n href={href}\n onClick={linkProps.onClick}\n >\n {content}\n </a>\n );\n}\n\nConsoleBrand.displayName = 'ConsoleBrand';\n\nexport default ConsoleBrand;\n"],"mappings":";;;;;;;;AAWA,SAAS,aAAa,EACpB,WACA,OAAO,KACP,OACA,MACA,YACA,SACoB;CACpB,MAAM,QAAQ,qBAAqB;CACnC,MAAM,UACJ,SAAS,QAAQ,UAAU,SAAS,UAAU,KAC5C,OAEA,qBAAC,QAAD;EAAM,GAAI,WAAW,OAAO,aAAa,6BAA6B,QAAQ,CAAC;EAA/E,UAAA,CACG,MACD,oBAAC,QAAD;GAAM,GAAI,WAAW,OAAO,WAAW,6BAA6B,MAAM,CAAC;GAAI,UAAA;EAAY,CAAA,CACvF;;CAEV,MAAM,YAAY;EAChB,cAAc,UAAU,OAAO,UAAU,WAAW,QAAQ;EAC5D,YAAY;EACZ,aACE,WAAW,OAAO,aAAaA,OAAK,6BAA6B,GAAG,SAAS,CAAC,CAAC,CAAC,aAChF;EACF;EACA,iBAAiB,OAAO,gBAAgB;CAC1C;CACA,IAAI,YAAY,OAAO,WAAW,SAAS;CAC3C,OACE,oBAAC,KAAD;EACE,cAAY,UAAU;EACtB,WAAW,UAAU;EACf;EACN,SAAS,UAAU;EAElB,UAAA;CACA,CAAA;AAEP;AAEA,aAAa,cAAc"}
1
+ {"version":3,"file":"ConsoleBrand.mjs","names":["clsx"],"sources":["../../../src/dashboard/ConsoleShell/ConsoleBrand.tsx"],"sourcesContent":["'use client';\n\nimport clsx from 'clsx';\n\nimport { styleProps } from '@/styles/stylex/props';\n\nimport { useConsoleShellState } from './context';\nimport { dashboardConsoleBrandClasses } from './stable';\nimport { styles } from './style';\nimport type { ConsoleBrandProps } from './type';\n\nfunction ConsoleBrand({\n className,\n href = '/',\n label,\n logo,\n renderLink,\n title,\n}: ConsoleBrandProps) {\n const shell = useConsoleShellState();\n // Keep the mark at its natural size on the rail. Without flex:none the\n // lockup (logo + title) shrinks with the sidebar and the SVG becomes a speck.\n const mark = (\n <span {...styleProps(styles.brandMark, dashboardConsoleBrandClasses('mark'))}>{logo}</span>\n );\n const content =\n title == null || title === false || title === '' ? (\n mark\n ) : (\n <span {...styleProps(styles.brandLockup, dashboardConsoleBrandClasses('lockup'))}>\n {mark}\n <span {...styleProps(styles.brandName, dashboardConsoleBrandClasses('name'))}>{title}</span>\n </span>\n );\n const linkProps = {\n 'aria-label': label ?? (typeof title === 'string' ? title : 'Home'),\n 'children': content,\n 'className':\n styleProps(styles.brandAnchor, clsx(dashboardConsoleBrandClasses(), className)).className ??\n '',\n href,\n 'onClick': () => shell?.closeNavigation(),\n };\n if (renderLink) return renderLink(linkProps);\n return (\n <a\n aria-label={linkProps['aria-label']}\n className={linkProps.className}\n href={href}\n onClick={linkProps.onClick}\n >\n {content}\n </a>\n );\n}\n\nConsoleBrand.displayName = 'ConsoleBrand';\n\nexport default ConsoleBrand;\n"],"mappings":";;;;;;;;AAWA,SAAS,aAAa,EACpB,WACA,OAAO,KACP,OACA,MACA,YACA,SACoB;CACpB,MAAM,QAAQ,qBAAqB;CAGnC,MAAM,OACJ,oBAAC,QAAD;EAAM,GAAI,WAAW,OAAO,WAAW,6BAA6B,MAAM,CAAC;EAAI,UAAA;CAAW,CAAA;CAE5F,MAAM,UACJ,SAAS,QAAQ,UAAU,SAAS,UAAU,KAC5C,OAEA,qBAAC,QAAD;EAAM,GAAI,WAAW,OAAO,aAAa,6BAA6B,QAAQ,CAAC;EAA/E,UAAA,CACG,MACD,oBAAC,QAAD;GAAM,GAAI,WAAW,OAAO,WAAW,6BAA6B,MAAM,CAAC;GAAI,UAAA;EAAY,CAAA,CACvF;;CAEV,MAAM,YAAY;EAChB,cAAc,UAAU,OAAO,UAAU,WAAW,QAAQ;EAC5D,YAAY;EACZ,aACE,WAAW,OAAO,aAAaA,OAAK,6BAA6B,GAAG,SAAS,CAAC,CAAC,CAAC,aAChF;EACF;EACA,iBAAiB,OAAO,gBAAgB;CAC1C;CACA,IAAI,YAAY,OAAO,WAAW,SAAS;CAC3C,OACE,oBAAC,KAAD;EACE,cAAY,UAAU;EACtB,WAAW,UAAU;EACf;EACN,SAAS,UAAU;EAElB,UAAA;CACA,CAAA;AAEP;AAEA,aAAa,cAAc"}
@@ -3,5 +3,4 @@ declare function ConsoleShell({ brand, breadcrumb, children, className, collapse
3
3
  declare namespace ConsoleShell {
4
4
  var displayName: string;
5
5
  }
6
- export { ConsoleShell as default };
7
- //# sourceMappingURL=ConsoleShell.d.mts.map
6
+ export { ConsoleShell as default };
@@ -1,3 +1,2 @@
1
1
  import { ConsoleShellState } from "./type.mjs";
2
- export declare function useConsoleShell(): ConsoleShellState;
3
- //# sourceMappingURL=context.d.mts.map
2
+ export declare function useConsoleShell(): ConsoleShellState;
@@ -21,7 +21,11 @@ const dashboardConsoleShellClasses = stableClasses({
21
21
  });
22
22
  const dashboardConsoleBrandClasses = stableClasses({
23
23
  block: "dashboard-console-brand",
24
- elements: ["lockup", "name"]
24
+ elements: [
25
+ "lockup",
26
+ "mark",
27
+ "name"
28
+ ]
25
29
  });
26
30
  export { dashboardConsoleBrandClasses, dashboardConsoleShellClasses };
27
31
 
@@ -1 +1 @@
1
- {"version":3,"file":"stable.mjs","names":[],"sources":["../../../src/dashboard/ConsoleShell/stable.ts"],"sourcesContent":["import { stableClasses } from '@/utils/bem';\n\nexport const dashboardConsoleShellClasses = stableClasses({\n block: 'dashboard-console-shell',\n dataAttributes: ['collapsed', 'compact'],\n elements: [\n 'skip-link',\n 'sidebar',\n 'brand',\n 'brand-close',\n 'nav',\n 'footer',\n 'workspace',\n 'topbar',\n 'toggle',\n 'topbar-divider',\n 'topbar-main',\n 'tools',\n 'main',\n ],\n});\n\nexport const dashboardConsoleBrandClasses = stableClasses({\n block: 'dashboard-console-brand',\n elements: ['lockup', 'name'],\n});\n"],"mappings":";;AAEA,MAAa,+BAA+B,cAAc;CACxD,OAAO;CACP,gBAAgB,CAAC,aAAa,SAAS;CACvC,UAAU;EACR;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF;AACF,CAAC;AAED,MAAa,+BAA+B,cAAc;CACxD,OAAO;CACP,UAAU,CAAC,UAAU,MAAM;AAC7B,CAAC"}
1
+ {"version":3,"file":"stable.mjs","names":[],"sources":["../../../src/dashboard/ConsoleShell/stable.ts"],"sourcesContent":["import { stableClasses } from '@/utils/bem';\n\nexport const dashboardConsoleShellClasses = stableClasses({\n block: 'dashboard-console-shell',\n dataAttributes: ['collapsed', 'compact'],\n elements: [\n 'skip-link',\n 'sidebar',\n 'brand',\n 'brand-close',\n 'nav',\n 'footer',\n 'workspace',\n 'topbar',\n 'toggle',\n 'topbar-divider',\n 'topbar-main',\n 'tools',\n 'main',\n ],\n});\n\nexport const dashboardConsoleBrandClasses = stableClasses({\n block: 'dashboard-console-brand',\n elements: ['lockup', 'mark', 'name'],\n});\n"],"mappings":";;AAEA,MAAa,+BAA+B,cAAc;CACxD,OAAO;CACP,gBAAgB,CAAC,aAAa,SAAS;CACvC,UAAU;EACR;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF;AACF,CAAC;AAED,MAAa,+BAA+B,cAAc;CACxD,OAAO;CACP,UAAU;EAAC;EAAU;EAAQ;CAAM;AACrC,CAAC"}
@@ -30,8 +30,14 @@ const styles = {
30
30
  k7Eaqz: "lbeuugli",
31
31
  $$css: true
32
32
  },
33
+ brandMark: {
34
+ kUk6DE: "lb1okw0bk",
35
+ kGNEyG: "lb6s0dn4",
36
+ k1xSpc: "lb78zum5",
37
+ $$css: true
38
+ },
33
39
  brandLockup: {
34
- kOIVth: "lb883omv",
40
+ kOIVth: "lb883omv lb13pt9l7",
35
41
  kGNEyG: "lb6s0dn4",
36
42
  k1xSpc: "lb78zum5",
37
43
  k7Eaqz: "lbeuugli",
@@ -43,6 +49,7 @@ const styles = {
43
49
  kMwMTN: "lb66ogz0",
44
50
  kGuDYH: "lbif65rj",
45
51
  k63SB2: "lb1s688f",
52
+ kzqmXN: "lb15u84wf",
46
53
  kLWn49: "lbwn7fz2",
47
54
  kSiTet: "lb1uo4ipp",
48
55
  kg5iWk: "lblyipyv lb10uu7sc",
@@ -1 +1 @@
1
- {"version":3,"file":"style.mjs","names":[],"sources":["../../../src/dashboard/ConsoleShell/style.ts"],"sourcesContent":["import * as stylex from '@stylexjs/stylex';\n\nimport { cssVar } from '@/styles/stylex/cssVar.stylex';\nimport { media } from '@/styles/stylex/media.stylex';\n\nimport { consoleBrandMarker } from './marker.stylex';\n\nconst SIDEBAR_INLINE_SIZE = 248;\n// Twice the nav icon inset (8px nav padding + 10px item padding) plus the 18px icon, so the icons\n// land centered on the rail without moving sideways.\nconst SIDEBAR_RAIL_INLINE_SIZE = 54;\nconst WORKSPACE_INSET = 8;\n\nconst reducedMotion = '@media (prefers-reduced-motion: reduce)';\nconst flushPage = ':has([data-page-layout=\"flush\"])';\n\n/**\n * `media.laptop`, not `media.tablet`. The aliases are named for\n * devices, and only `laptop` (max-width 991px) lines up with `useIsCompact`.\n */\nexport const styles = stylex.create({\n brand: {\n flex: 'none',\n paddingInline: 15,\n alignItems: 'center',\n blockSize: 56,\n color: cssVar.colorText,\n display: 'flex',\n marginBlockStart: { default: WORKSPACE_INSET, [media.laptop]: 0 },\n whiteSpace: 'nowrap',\n },\n /** Close button in the drawer's brand row: right edge, vertically centred with the brand. */\n brandClose: {\n flex: 'none',\n marginInlineEnd: '-7px',\n marginInlineStart: 'auto',\n },\n brandAnchor: {\n textDecoration: 'none',\n alignItems: 'center',\n color: 'inherit',\n display: 'flex',\n inlineSize: '100%',\n minInlineSize: 0,\n },\n brandLockup: {\n gap: 10,\n alignItems: 'center',\n display: 'flex',\n minInlineSize: 0,\n },\n brandName: {\n overflow: 'hidden',\n transition: { default: 'opacity 120ms ease 80ms', [reducedMotion]: 'none' },\n color: cssVar.colorText,\n fontSize: 14,\n fontWeight: 600,\n lineHeight: 1.3,\n opacity: {\n default: null,\n [stylex.when.ancestor('[data-collapsed=\"true\"]', consoleBrandMarker)]: 0,\n },\n textOverflow: {\n default: 'ellipsis',\n [stylex.when.ancestor('[data-collapsed=\"true\"]', consoleBrandMarker)]: 'clip',\n },\n transitionDelay: {\n default: null,\n [stylex.when.ancestor('[data-collapsed=\"true\"]', consoleBrandMarker)]: '0s',\n },\n whiteSpace: 'nowrap',\n },\n main: {\n padding: {\n default: 24,\n [flushPage]: 0,\n [media.mobile]: { default: 16, [flushPage]: 0 },\n },\n flex: '1',\n gap: {\n default: 20,\n [flushPage]: 0,\n [media.mobile]: { default: 16, [flushPage]: 0 },\n },\n overflow: { default: 'auto', [flushPage]: 'hidden' },\n display: 'flex',\n flexDirection: 'column',\n minBlockSize: 0,\n minInlineSize: 0,\n },\n navSlot: {\n flex: '1',\n display: 'flex',\n flexDirection: 'column',\n minBlockSize: 0,\n },\n shell: {\n flex: '1',\n overflow: 'hidden',\n backgroundColor: cssVar.colorBgLayout,\n blockSize: '100%',\n display: 'flex',\n minBlockSize: 0,\n },\n sidebar: {\n flex: 'none',\n overflow: 'hidden',\n transition: 'inline-size 200ms ease',\n blockSize: '100%',\n display: { default: 'flex', [media.laptop]: 'none' },\n flexDirection: 'column',\n inlineSize: SIDEBAR_INLINE_SIZE,\n minBlockSize: 0,\n },\n sidebarCollapsed: {\n inlineSize: SIDEBAR_RAIL_INLINE_SIZE,\n },\n sidebarInstant: {\n transition: 'none',\n },\n sidebarBottom: {\n padding: 8,\n flex: 'none',\n },\n skipLink: {\n borderRadius: cssVar.borderRadius,\n paddingBlock: 8,\n paddingInline: 12,\n backgroundColor: cssVar.colorBgElevated,\n color: cssVar.colorText,\n insetBlockStart: { 'default': -100, ':focus': 12 },\n insetInlineStart: 12,\n position: 'fixed',\n zIndex: 2000,\n },\n topbar: {\n flex: 'none',\n gap: 8,\n paddingInline: 12,\n alignItems: 'center',\n blockSize: 56,\n borderBlockEndColor: cssVar.colorBorderSecondary,\n borderBlockEndStyle: 'solid',\n borderBlockEndWidth: 1,\n display: 'flex',\n },\n topbarDivider: {\n flex: 'none',\n marginInline: 2,\n backgroundColor: cssVar.colorBorderSecondary,\n blockSize: 18,\n inlineSize: 1,\n },\n topbarMain: {\n flex: '1',\n alignItems: 'center',\n display: 'flex',\n minInlineSize: 0,\n },\n tools: {\n flex: 'none',\n gap: 6,\n alignItems: 'center',\n display: 'flex',\n marginInlineStart: 'auto',\n },\n /** Light only: the content area sits midway between the layout canvas and container white. */\n workspaceLight: {\n backgroundColor: `color-mix(in srgb, ${cssVar.colorBgLayout} 50%, ${cssVar.colorBgContainer})`,\n },\n workspace: {\n borderColor: {\n default: `color-mix(in srgb, ${cssVar.colorBorderSecondary} 70%, ${cssVar.colorBorder})`,\n [media.laptop]: 'currentcolor',\n },\n borderRadius: { default: cssVar.borderRadiusLG, [media.laptop]: 0 },\n borderStyle: { default: 'solid', [media.laptop]: 'none' },\n borderWidth: { default: 1, [media.laptop]: 'medium' },\n flex: '1',\n marginBlock: { default: WORKSPACE_INSET, [media.laptop]: 0 },\n marginInline: { default: `0 ${WORKSPACE_INSET}px`, [media.laptop]: 0 },\n overflow: 'hidden',\n backgroundColor: cssVar.colorBgContainer,\n boxShadow: { default: cssVar.boxShadowTertiary, [media.laptop]: 'none' },\n display: 'flex',\n flexDirection: 'column',\n minBlockSize: 0,\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Q;EACR,OAAO;CACT;CACA,QAAQ;EACN,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,eAAe;EACb,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,YAAY;EACV,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,OAAO;EACL,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,gBAAgB;EACd,QAAQ;EACR,OAAO;CACT;CACA,WAAW;EACT,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;AACF"}
1
+ {"version":3,"file":"style.mjs","names":[],"sources":["../../../src/dashboard/ConsoleShell/style.ts"],"sourcesContent":["import * as stylex from '@stylexjs/stylex';\n\nimport { cssVar } from '@/styles/stylex/cssVar.stylex';\nimport { media } from '@/styles/stylex/media.stylex';\n\nimport { consoleBrandMarker } from './marker.stylex';\n\nconst SIDEBAR_INLINE_SIZE = 248;\n// Twice the nav icon inset (8px nav padding + 10px item padding) plus the 18px icon, so the icons\n// land centered on the rail without moving sideways.\nconst SIDEBAR_RAIL_INLINE_SIZE = 54;\nconst WORKSPACE_INSET = 8;\n\nconst reducedMotion = '@media (prefers-reduced-motion: reduce)';\nconst flushPage = ':has([data-page-layout=\"flush\"])';\n\n/**\n * `media.laptop`, not `media.tablet`. The aliases are named for\n * devices, and only `laptop` (max-width 991px) lines up with `useIsCompact`.\n */\nexport const styles = stylex.create({\n brand: {\n flex: 'none',\n paddingInline: 15,\n alignItems: 'center',\n blockSize: 56,\n color: cssVar.colorText,\n display: 'flex',\n marginBlockStart: { default: WORKSPACE_INSET, [media.laptop]: 0 },\n whiteSpace: 'nowrap',\n },\n /** Close button in the drawer's brand row: right edge, vertically centred with the brand. */\n brandClose: {\n flex: 'none',\n marginInlineEnd: '-7px',\n marginInlineStart: 'auto',\n },\n brandAnchor: {\n textDecoration: 'none',\n alignItems: 'center',\n color: 'inherit',\n display: 'flex',\n inlineSize: '100%',\n minInlineSize: 0,\n },\n /** Mark stays natural size on the rail; never flex-shrink with the title. */\n brandMark: {\n flex: 'none',\n alignItems: 'center',\n display: 'flex',\n },\n brandLockup: {\n gap: {\n default: 10,\n [stylex.when.ancestor('[data-collapsed=\"true\"]', consoleBrandMarker)]: 0,\n },\n alignItems: 'center',\n display: 'flex',\n minInlineSize: 0,\n },\n brandName: {\n overflow: 'hidden',\n transition: { default: 'opacity 120ms ease 80ms', [reducedMotion]: 'none' },\n color: cssVar.colorText,\n fontSize: 14,\n fontWeight: 600,\n // Collapse width with the rail so the mark is not squeezed by the faded title.\n inlineSize: {\n default: null,\n [stylex.when.ancestor('[data-collapsed=\"true\"]', consoleBrandMarker)]: 0,\n },\n lineHeight: 1.3,\n opacity: {\n default: null,\n [stylex.when.ancestor('[data-collapsed=\"true\"]', consoleBrandMarker)]: 0,\n },\n textOverflow: {\n default: 'ellipsis',\n [stylex.when.ancestor('[data-collapsed=\"true\"]', consoleBrandMarker)]: 'clip',\n },\n transitionDelay: {\n default: null,\n [stylex.when.ancestor('[data-collapsed=\"true\"]', consoleBrandMarker)]: '0s',\n },\n whiteSpace: 'nowrap',\n },\n main: {\n padding: {\n default: 24,\n [flushPage]: 0,\n [media.mobile]: { default: 16, [flushPage]: 0 },\n },\n flex: '1',\n gap: {\n default: 20,\n [flushPage]: 0,\n [media.mobile]: { default: 16, [flushPage]: 0 },\n },\n overflow: { default: 'auto', [flushPage]: 'hidden' },\n display: 'flex',\n flexDirection: 'column',\n minBlockSize: 0,\n minInlineSize: 0,\n },\n navSlot: {\n flex: '1',\n display: 'flex',\n flexDirection: 'column',\n minBlockSize: 0,\n },\n shell: {\n flex: '1',\n overflow: 'hidden',\n backgroundColor: cssVar.colorBgLayout,\n blockSize: '100%',\n display: 'flex',\n minBlockSize: 0,\n },\n sidebar: {\n flex: 'none',\n overflow: 'hidden',\n transition: 'inline-size 200ms ease',\n blockSize: '100%',\n display: { default: 'flex', [media.laptop]: 'none' },\n flexDirection: 'column',\n inlineSize: SIDEBAR_INLINE_SIZE,\n minBlockSize: 0,\n },\n sidebarCollapsed: {\n inlineSize: SIDEBAR_RAIL_INLINE_SIZE,\n },\n sidebarInstant: {\n transition: 'none',\n },\n sidebarBottom: {\n padding: 8,\n flex: 'none',\n },\n skipLink: {\n borderRadius: cssVar.borderRadius,\n paddingBlock: 8,\n paddingInline: 12,\n backgroundColor: cssVar.colorBgElevated,\n color: cssVar.colorText,\n insetBlockStart: { 'default': -100, ':focus': 12 },\n insetInlineStart: 12,\n position: 'fixed',\n zIndex: 2000,\n },\n topbar: {\n flex: 'none',\n gap: 8,\n paddingInline: 12,\n alignItems: 'center',\n blockSize: 56,\n borderBlockEndColor: cssVar.colorBorderSecondary,\n borderBlockEndStyle: 'solid',\n borderBlockEndWidth: 1,\n display: 'flex',\n },\n topbarDivider: {\n flex: 'none',\n marginInline: 2,\n backgroundColor: cssVar.colorBorderSecondary,\n blockSize: 18,\n inlineSize: 1,\n },\n topbarMain: {\n flex: '1',\n alignItems: 'center',\n display: 'flex',\n minInlineSize: 0,\n },\n tools: {\n flex: 'none',\n gap: 6,\n alignItems: 'center',\n display: 'flex',\n marginInlineStart: 'auto',\n },\n /** Light only: the content area sits midway between the layout canvas and container white. */\n workspaceLight: {\n backgroundColor: `color-mix(in srgb, ${cssVar.colorBgLayout} 50%, ${cssVar.colorBgContainer})`,\n },\n workspace: {\n borderColor: {\n default: `color-mix(in srgb, ${cssVar.colorBorderSecondary} 70%, ${cssVar.colorBorder})`,\n [media.laptop]: 'currentcolor',\n },\n borderRadius: { default: cssVar.borderRadiusLG, [media.laptop]: 0 },\n borderStyle: { default: 'solid', [media.laptop]: 'none' },\n borderWidth: { default: 1, [media.laptop]: 'medium' },\n flex: '1',\n marginBlock: { default: WORKSPACE_INSET, [media.laptop]: 0 },\n marginInline: { default: `0 ${WORKSPACE_INSET}px`, [media.laptop]: 0 },\n overflow: 'hidden',\n backgroundColor: cssVar.colorBgContainer,\n boxShadow: { default: cssVar.boxShadowTertiary, [media.laptop]: 'none' },\n display: 'flex',\n flexDirection: 'column',\n minBlockSize: 0,\n minInlineSize: 0,\n },\n});\n"],"mappings":";;;;;AAmBA,MAAa,SAAS;CACpB,OAAO;EACL,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,YAAY;EACV,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,aAAa;EACX,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,WAAW;EACT,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,aAAa;EACX,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,WAAW;EACT,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,MAAM;EACJ,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,SAAS;EACP,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,OAAO;EACL,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,SAAS;EACP,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,kBAAkB;EAChB,QAAQ;EACR,OAAO;CACT;CACA,gBAAgB;EACd,QAAQ;EACR,OAAO;CACT;CACA,eAAe;EACb,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,UAAU;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,QAAQ;EACN,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,eAAe;EACb,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,YAAY;EACV,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,OAAO;EACL,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,gBAAgB;EACd,QAAQ;EACR,OAAO;CACT;CACA,WAAW;EACT,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;AACF"}
@@ -72,5 +72,4 @@ export interface ConsoleShellProps extends Omit<HTMLAttributes<HTMLDivElement>,
72
72
  storageKey?: string;
73
73
  /** Actions at the end of the top bar. */
74
74
  tools?: ReactNode;
75
- }
76
- //# sourceMappingURL=type.d.mts.map
75
+ }
@@ -11,5 +11,4 @@ declare function FilterOption({ className, count, icon, label, name, onClick, se
11
11
  declare namespace FilterOption {
12
12
  var displayName: string;
13
13
  }
14
- export { FilterOption, FilterRow, FilterSidebar as default };
15
- //# sourceMappingURL=FilterSidebar.d.mts.map
14
+ export { FilterOption, FilterRow, FilterSidebar as default };
@@ -1,4 +1,3 @@
1
- import { ReactNode } from "react";
1
+ import "react";
2
2
  /** True when this content sits in a filter split that is itself the card. */
3
- export declare function useInFilterSplit(): boolean;
4
- //# sourceMappingURL=context.d.mts.map
3
+ export declare function useInFilterSplit(): boolean;
@@ -40,5 +40,4 @@ export interface FilterOptionProps {
40
40
  onClick: () => void;
41
41
  selected: boolean;
42
42
  title?: string;
43
- }
44
- //# sourceMappingURL=type.d.mts.map
43
+ }
@@ -5,5 +5,4 @@ declare const FilterStrip: {
5
5
  ({ className, emptyText, formatCount, items, label, onChange, value }: FilterStripProps): import("react").JSX.Element;
6
6
  displayName: string;
7
7
  };
8
- export { FilterStrip as default };
9
- //# sourceMappingURL=FilterStrip.d.mts.map
8
+ export { FilterStrip as default };
@@ -20,5 +20,4 @@ export interface FilterStripProps {
20
20
  label: string;
21
21
  onChange: (key: string) => void;
22
22
  value: string;
23
- }
24
- //# sourceMappingURL=type.d.mts.map
23
+ }
@@ -4,5 +4,4 @@ declare const LabelWithKey: {
4
4
  ({ className, tag, title, ...rest }: LabelWithKeyProps): import("react").JSX.Element;
5
5
  displayName: string;
6
6
  };
7
- export { LabelWithKey as default };
8
- //# sourceMappingURL=LabelWithKey.d.mts.map
7
+ export { LabelWithKey as default };
@@ -5,5 +5,4 @@ export interface LabelWithKeyProps extends Omit<FlexboxProps, 'title'> {
5
5
  /** The machine key shown as a tag after the label, e.g. a config or permission id. */
6
6
  tag: ReactNode;
7
7
  title: ReactNode;
8
- }
9
- //# sourceMappingURL=type.d.mts.map
8
+ }
@@ -7,5 +7,4 @@ declare const MetricStrip: {
7
7
  ({ className, items, loading, renderLink, variant }: MetricStripProps): import("react").JSX.Element;
8
8
  displayName: string;
9
9
  };
10
- export { MetricStrip as default };
11
- //# sourceMappingURL=MetricStrip.d.mts.map
10
+ export { MetricStrip as default };
@@ -33,5 +33,4 @@ export interface MetricStripProps {
33
33
  * @default 'joined'
34
34
  */
35
35
  variant?: 'joined' | 'split';
36
- }
37
- //# sourceMappingURL=type.d.mts.map
36
+ }
@@ -3,5 +3,4 @@ declare function PageHeader({ action, children, className, description, mark, ti
3
3
  declare namespace PageHeader {
4
4
  var displayName: string;
5
5
  }
6
- export { PageHeader as default };
7
- //# sourceMappingURL=PageHeader.d.mts.map
6
+ export { PageHeader as default };
@@ -8,5 +8,4 @@ export interface PageHeaderProps {
8
8
  /** Mark beside the title, such as an avatar. */
9
9
  mark?: ReactNode;
10
10
  title: ReactNode;
11
- }
12
- //# sourceMappingURL=type.d.mts.map
11
+ }
@@ -21,5 +21,4 @@ declare function PageLoading({ className, header, label, stats }: PageLoadingPro
21
21
  declare namespace PageLoading {
22
22
  var displayName: string;
23
23
  }
24
- export { LoadingAnnouncer, PageHeaderSkeleton, StatCardSkeleton, TableSkeleton, PageLoading as default };
25
- //# sourceMappingURL=PageSkeleton.d.mts.map
24
+ export { LoadingAnnouncer, PageHeaderSkeleton, StatCardSkeleton, TableSkeleton, PageLoading as default };
@@ -19,5 +19,4 @@ export interface PageLoadingProps {
19
19
  /** Announced to assistive tech. */
20
20
  label?: string;
21
21
  stats?: number;
22
- }
23
- //# sourceMappingURL=type.d.mts.map
22
+ }
@@ -3,5 +3,4 @@ declare function PageTabs<Value extends string>({ className, label, onChange, ta
3
3
  declare namespace PageTabs {
4
4
  var displayName: string;
5
5
  }
6
- export { PageTabs as default };
7
- //# sourceMappingURL=PageTabs.d.mts.map
6
+ export { PageTabs as default };
@@ -11,5 +11,4 @@ export interface PageTabsProps<Value extends string> {
11
11
  onChange: (value: Value) => void;
12
12
  tabs: PageTab<Value>[];
13
13
  value: Value;
14
- }
15
- //# sourceMappingURL=type.d.mts.map
14
+ }
@@ -4,5 +4,4 @@ declare const PageToolbar: {
4
4
  ({ actions, children, className }: PageToolbarProps): import("react").JSX.Element;
5
5
  displayName: string;
6
6
  };
7
- export { PageToolbar as default };
8
- //# sourceMappingURL=PageToolbar.d.mts.map
7
+ export { PageToolbar as default };
@@ -5,5 +5,4 @@ export interface PageToolbarProps {
5
5
  /** Left side: range, scope, search, whatever narrows the page. */
6
6
  children?: ReactNode;
7
7
  className?: string;
8
- }
9
- //# sourceMappingURL=type.d.mts.map
8
+ }
@@ -4,5 +4,4 @@ declare const PanelSurface: {
4
4
  ({ title, description, extra, href, loading, renderLink, size, className, style, children }: PanelSurfaceProps): import("react").JSX.Element;
5
5
  displayName: string;
6
6
  };
7
- export { PanelSurface as default };
8
- //# sourceMappingURL=PanelSurface.d.mts.map
7
+ export { PanelSurface as default };
@@ -11,5 +11,4 @@ export interface PanelSurfaceProps {
11
11
  size?: 'default' | 'small';
12
12
  style?: CSSProperties;
13
13
  title?: ReactNode;
14
- }
15
- //# sourceMappingURL=type.d.mts.map
14
+ }
@@ -3,5 +3,4 @@ declare function RouteProgress({ className, loading }: RouteProgressProps): impo
3
3
  declare namespace RouteProgress {
4
4
  var displayName: string;
5
5
  }
6
- export { RouteProgress as default };
7
- //# sourceMappingURL=RouteProgress.d.mts.map
6
+ export { RouteProgress as default };
@@ -2,5 +2,4 @@ export interface RouteProgressProps {
2
2
  className?: string;
3
3
  /** While true, the bar creeps toward the end. When it becomes false, the bar finishes and fades. */
4
4
  loading?: boolean;
5
- }
6
- //# sourceMappingURL=type.d.mts.map
5
+ }
@@ -4,5 +4,4 @@ declare const Section: {
4
4
  ({ className, variant, fontSize, title, more, moreLink, icon, children, desc, extra, gap, padded, renderLink, ...rest }: SectionProps): import("react").JSX.Element;
5
5
  displayName: string;
6
6
  };
7
- export { Section as default };
8
- //# sourceMappingURL=Section.d.mts.map
7
+ export { Section as default };
@@ -17,5 +17,4 @@ export interface SectionProps extends Omit<FlexboxProps, 'title'> {
17
17
  title?: ReactNode;
18
18
  /** `default` is a titled page section; `card` wraps it in a Surface. */
19
19
  variant?: 'default' | 'card';
20
- }
21
- //# sourceMappingURL=type.d.mts.map
20
+ }
@@ -4,5 +4,4 @@ declare function StatCard({ action, chart, className, delta, direction, hint, hr
4
4
  declare namespace StatCard {
5
5
  var displayName: string;
6
6
  }
7
- export { StatCard as default };
8
- //# sourceMappingURL=StatCard.d.mts.map
7
+ export { StatCard as default };
@@ -32,5 +32,4 @@ export interface StatCardProps {
32
32
  valueTone?: 'danger' | 'warning';
33
33
  /** @deprecated Ignored. StatCard renders as a MetricStrip item without a wash. */
34
34
  wash?: StatWash;
35
- }
36
- //# sourceMappingURL=type.d.mts.map
35
+ }
@@ -8,5 +8,4 @@ declare function Surface({ bleed, chart, children, className, description, extra
8
8
  declare namespace Surface {
9
9
  var displayName: string;
10
10
  }
11
- export { Surface as default };
12
- //# sourceMappingURL=Surface.d.mts.map
11
+ export { Surface as default };
@@ -10,5 +10,4 @@ export declare const useSurfaceLink: (override?: SurfaceRenderLink) => SurfaceRe
10
10
  /** How many Surface cards wrap this node. A table can skip its own card when already inside one. */
11
11
  export declare const useSurfaceDepth: () => number;
12
12
  /** Class name form of `useSurfaceCardStyles`, for markup that is not styled with StyleX. */
13
- export declare const useSurfaceCardClassName: () => string;
14
- //# sourceMappingURL=link.d.mts.map
13
+ export declare const useSurfaceCardClassName: () => string;
@@ -3,5 +3,4 @@ export declare const surfaceStyles: {
3
3
  card: string;
4
4
  clip: string;
5
5
  tableBleed: string;
6
- };
7
- //# sourceMappingURL=style.d.mts.map
6
+ };
@@ -29,5 +29,4 @@ export interface SurfaceProps extends Omit<HTMLAttributes<HTMLDivElement>, 'titl
29
29
  renderLink?: SurfaceRenderLink;
30
30
  /** Visible heading. */
31
31
  title?: ReactNode;
32
- }
33
- //# sourceMappingURL=type.d.mts.map
32
+ }