@lobehub/ui 6.16.1 → 6.16.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 (833) hide show
  1. package/es/A/index.d.mts +1 -1
  2. package/es/A/index.mjs +2 -2
  3. package/es/Accordion/Accordion.d.mts +1 -1
  4. package/es/Accordion/Accordion.mjs +1 -1
  5. package/es/Accordion/atoms.d.mts +1 -1
  6. package/es/Accordion/atoms.mjs +4 -4
  7. package/es/Accordion/style.mjs +1 -1
  8. package/es/Accordion/type.d.mts +1 -1
  9. package/es/ActionIcon/ActionIcon.d.mts +1 -1
  10. package/es/ActionIcon/ActionIcon.mjs +2 -2
  11. package/es/ActionIcon/type.d.mts +1 -1
  12. package/es/ActionIconGroup/ActionIconGroup.d.mts +1 -1
  13. package/es/ActionIconGroup/ActionIconGroup.mjs +3 -3
  14. package/es/ActionIconGroup/type.d.mts +1 -1
  15. package/es/AgentAvatar/AgentAvatar.mjs +2 -2
  16. package/es/AgentAvatar/utils.mjs +3 -3
  17. package/es/Alert/Alert.mjs +3 -3
  18. package/es/Alert/type.d.mts +1 -1
  19. package/es/Anchor/Anchor.mjs +2 -2
  20. package/es/AutoComplete/AutoComplete.mjs +4 -4
  21. package/es/AutoComplete/style.d.mts +1 -1
  22. package/es/AutoComplete/style.mjs +2 -2
  23. package/es/AutoComplete/type.d.mts +2 -2
  24. package/es/Avatar/Avatar.mjs +5 -5
  25. package/es/Avatar/AvatarGroup/index.mjs +2 -2
  26. package/es/Avatar/index.d.mts +1 -1
  27. package/es/Avatar/type.d.mts +1 -1
  28. package/es/Badge/Badge.mjs +2 -2
  29. package/es/Block/Block.d.mts +1 -1
  30. package/es/Block/Block.mjs +1 -1
  31. package/es/Block/type.d.mts +1 -1
  32. package/es/Breadcrumb/Breadcrumb.mjs +3 -3
  33. package/es/Burger/Burger.mjs +3 -3
  34. package/es/Burger/type.d.mts +1 -1
  35. package/es/Button/Button.d.mts +1 -1
  36. package/es/Button/Button.mjs +3 -3
  37. package/es/Button/SplitButton.d.mts +1 -1
  38. package/es/Button/SplitButton.mjs +3 -3
  39. package/es/Button/type.d.mts +1 -1
  40. package/es/Carousel/Carousel.mjs +3 -3
  41. package/es/Checkbox/Checkbox.mjs +5 -5
  42. package/es/Checkbox/CheckboxGroup.mjs +3 -3
  43. package/es/Checkbox/type.d.mts +3 -3
  44. package/es/CodeDiff/CodeDiff.mjs +2 -2
  45. package/es/CodeDiff/DiffPanel.mjs +3 -3
  46. package/es/CodeDiff/PatchDiff.mjs +2 -2
  47. package/es/CodeDiff/theme.mjs +1 -1
  48. package/es/CodeDiff/type.d.mts +2 -2
  49. package/es/CodeEditor/CodeEditor.mjs +2 -2
  50. package/es/CodeEditor/type.d.mts +1 -1
  51. package/es/Collapsible/Collapsible.mjs +2 -2
  52. package/es/ColorPicker/ColorInputs.mjs +3 -3
  53. package/es/ColorPicker/ColorPanel.mjs +2 -2
  54. package/es/ColorPicker/ColorPicker.mjs +1 -1
  55. package/es/ColorPicker/SaturationArea.mjs +2 -2
  56. package/es/ColorPicker/Swatch.mjs +1 -1
  57. package/es/ColorPicker/Swatches.mjs +2 -2
  58. package/es/ColorPicker/Trigger.mjs +3 -3
  59. package/es/ColorPicker/type.d.mts +1 -1
  60. package/es/ColorSwatches/ColorSwatches.d.mts +1 -1
  61. package/es/ColorSwatches/ColorSwatches.mjs +4 -4
  62. package/es/ColorSwatches/CustomPicker.mjs +2 -2
  63. package/es/ColorSwatches/type.d.mts +1 -1
  64. package/es/ConfigProvider/index.d.mts +1 -1
  65. package/es/ConfigProvider/index.mjs +1 -1
  66. package/es/ContextMenu/ContextMenuHost.mjs +4 -4
  67. package/es/ContextMenu/ContextMenuTrigger.d.mts +1 -1
  68. package/es/ContextMenu/ContextMenuTrigger.mjs +3 -3
  69. package/es/ContextMenu/renderItems.d.mts +1 -1
  70. package/es/ContextMenu/renderItems.mjs +5 -5
  71. package/es/ContextMenu/store.d.mts +1 -1
  72. package/es/CopyButton/CopyButton.mjs +3 -3
  73. package/es/DatePicker/PurePanel.mjs +1 -1
  74. package/es/DatePicker/RangePicker.mjs +2 -2
  75. package/es/DatePicker/SinglePicker.mjs +2 -2
  76. package/es/DatePicker/core/PickerInput/Popup/Footer.mjs +2 -2
  77. package/es/DatePicker/core/PickerInput/Popup/PopupPanel.mjs +1 -1
  78. package/es/DatePicker/core/PickerInput/Popup/index.mjs +2 -2
  79. package/es/DatePicker/core/PickerInput/RangePicker.d.mts +1 -1
  80. package/es/DatePicker/core/PickerInput/RangePicker.mjs +2 -2
  81. package/es/DatePicker/core/PickerInput/Selector/ClearIcon.mjs +1 -1
  82. package/es/DatePicker/core/PickerInput/Selector/Icon.mjs +2 -2
  83. package/es/DatePicker/core/PickerInput/Selector/Input.mjs +2 -2
  84. package/es/DatePicker/core/PickerInput/Selector/RangeSelector.mjs +2 -2
  85. package/es/DatePicker/core/PickerInput/Selector/SingleSelector/HoverSelector.mjs +1 -1
  86. package/es/DatePicker/core/PickerInput/Selector/SingleSelector/MultipleDates.mjs +1 -1
  87. package/es/DatePicker/core/PickerInput/Selector/SingleSelector/index.mjs +2 -2
  88. package/es/DatePicker/core/PickerInput/Selector/hooks/useClearIcon.mjs +1 -1
  89. package/es/DatePicker/core/PickerInput/Selector/hooks/useInputProps.mjs +1 -1
  90. package/es/DatePicker/core/PickerInput/Selector/hooks/useRootProps.mjs +1 -1
  91. package/es/DatePicker/core/PickerInput/SinglePicker.d.mts +1 -1
  92. package/es/DatePicker/core/PickerInput/SinglePicker.mjs +2 -2
  93. package/es/DatePicker/core/PickerInput/hooks/useCellRender.mjs +1 -1
  94. package/es/DatePicker/core/PickerInput/hooks/useDelayState.mjs +1 -1
  95. package/es/DatePicker/core/PickerInput/hooks/useFieldFormat.mjs +1 -1
  96. package/es/DatePicker/core/PickerInput/hooks/useFieldsInvalidate.mjs +1 -1
  97. package/es/DatePicker/core/PickerInput/hooks/useFilledProps.mjs +1 -1
  98. package/es/DatePicker/core/PickerInput/hooks/useFocusEvents.mjs +1 -1
  99. package/es/DatePicker/core/PickerInput/hooks/useFocusLock.mjs +1 -1
  100. package/es/DatePicker/core/PickerInput/hooks/useLockEffect.mjs +1 -1
  101. package/es/DatePicker/core/PickerInput/hooks/usePresets.mjs +1 -1
  102. package/es/DatePicker/core/PickerInput/hooks/useRangePickerValue.mjs +2 -3
  103. package/es/DatePicker/core/PickerInput/hooks/useRangePickerValue.mjs.map +1 -1
  104. package/es/DatePicker/core/PickerInput/hooks/useRangeValue.mjs +1 -1
  105. package/es/DatePicker/core/PickerInput/hooks/useRangeValueChange.mjs +1 -1
  106. package/es/DatePicker/core/PickerPanel/DatePanel/index.mjs +2 -2
  107. package/es/DatePicker/core/PickerPanel/DateTimePanel/index.mjs +1 -1
  108. package/es/DatePicker/core/PickerPanel/DecadePanel/index.mjs +1 -1
  109. package/es/DatePicker/core/PickerPanel/MonthPanel/index.mjs +1 -1
  110. package/es/DatePicker/core/PickerPanel/PanelBody.mjs +2 -2
  111. package/es/DatePicker/core/PickerPanel/PanelHeader.mjs +2 -2
  112. package/es/DatePicker/core/PickerPanel/QuarterPanel/index.mjs +1 -1
  113. package/es/DatePicker/core/PickerPanel/TimePanel/TimeClock/ClockDial.mjs +1 -1
  114. package/es/DatePicker/core/PickerPanel/TimePanel/TimeClock/index.mjs +3 -3
  115. package/es/DatePicker/core/PickerPanel/TimePanel/TimePanelBody/TimeColumn.mjs +2 -2
  116. package/es/DatePicker/core/PickerPanel/TimePanel/TimePanelBody/index.mjs +2 -2
  117. package/es/DatePicker/core/PickerPanel/TimePanel/TimePanelBody/useScrollTo.mjs +1 -1
  118. package/es/DatePicker/core/PickerPanel/TimePanel/TimePanelBody/useTimeState.mjs +1 -1
  119. package/es/DatePicker/core/PickerPanel/TimePanel/index.mjs +2 -2
  120. package/es/DatePicker/core/PickerPanel/WeekPanel/index.mjs +2 -2
  121. package/es/DatePicker/core/PickerPanel/YearPanel/index.mjs +1 -1
  122. package/es/DatePicker/core/PickerPanel/index.mjs +2 -2
  123. package/es/DatePicker/core/PickerPopup.mjs +4 -4
  124. package/es/DatePicker/core/hooks/useTimeInfo.mjs +1 -1
  125. package/es/DatePicker/dateGenerateConfig.mjs +1 -1
  126. package/es/DatePicker/legacyDate.mjs +1 -1
  127. package/es/DatePicker/locale.mjs +2 -2
  128. package/es/DatePicker/type.d.mts +2 -2
  129. package/es/DatePicker/usePanelKeyboard.mjs +1 -1
  130. package/es/DatePicker/usePickerShared.mjs +3 -3
  131. package/es/DatePicker/usePresetActive.mjs +1 -1
  132. package/es/Descriptions/Descriptions.mjs +2 -2
  133. package/es/Divider/Divider.mjs +3 -3
  134. package/es/DownloadButton/DownloadButton.d.mts +1 -1
  135. package/es/DownloadButton/DownloadButton.mjs +3 -3
  136. package/es/DraggablePanel/DraggablePanel.mjs +1 -1
  137. package/es/DraggablePanel/atoms.d.mts +1 -1
  138. package/es/DraggablePanel/atoms.mjs +5 -5
  139. package/es/DraggablePanel/core/controller.d.mts +1 -1
  140. package/es/DraggablePanel/core/controller.mjs +1 -1
  141. package/es/DraggablePanel/type.d.mts +1 -1
  142. package/es/DraggableSideNav/DraggableSideNav.mjs +5 -5
  143. package/es/DraggableSideNav/type.d.mts +2 -2
  144. package/es/Drawer/Drawer.mjs +3 -3
  145. package/es/Drawer/atoms.d.mts +2 -2
  146. package/es/Drawer/atoms.mjs +7 -7
  147. package/es/Drawer/constants.d.mts +1 -1
  148. package/es/DropdownMenu/DropdownMenu.mjs +2 -2
  149. package/es/DropdownMenu/atoms.d.mts +2 -2
  150. package/es/DropdownMenu/atoms.mjs +5 -5
  151. package/es/DropdownMenu/renderItems.d.mts +1 -1
  152. package/es/DropdownMenu/renderItems.mjs +1 -1
  153. package/es/DropdownMenu/type.d.mts +2 -2
  154. package/es/EditableText/ControlInput.mjs +2 -2
  155. package/es/EditableText/EditableText.mjs +3 -3
  156. package/es/EditableText/type.d.mts +1 -1
  157. package/es/EditorSlashMenu/EditorSlashMenu.d.mts +2 -2
  158. package/es/EditorSlashMenu/EditorSlashMenu.mjs +1 -1
  159. package/es/EditorSlashMenu/MenuItemRenderer.mjs +1 -1
  160. package/es/EditorSlashMenu/atoms.d.mts +1 -1
  161. package/es/EditorSlashMenu/atoms.mjs +3 -3
  162. package/es/EditorSlashMenu/type.d.mts +1 -1
  163. package/es/EditorSlashMenu/useKeyboardNavigation.mjs +1 -1
  164. package/es/EditorSlashMenu/useNormalizedItems.mjs +1 -1
  165. package/es/EmojiPicker/AvatarUploader.mjs +3 -3
  166. package/es/EmojiPicker/EmojiPicker.mjs +7 -7
  167. package/es/EmojiPicker/type.d.mts +1 -1
  168. package/es/Empty/Empty.mjs +4 -4
  169. package/es/Empty/type.d.mts +1 -1
  170. package/es/FileTypeIcon/FileTypeIcon.d.mts +1 -1
  171. package/es/FileTypeIcon/FileTypeIcon.mjs +2 -2
  172. package/es/FileTypeIcon/type.d.mts +1 -1
  173. package/es/Flex/Center.d.mts +1 -1
  174. package/es/Flex/Center.mjs +1 -1
  175. package/es/Flex/FlexBasic.mjs +1 -1
  176. package/es/FloatingPanel/FloatingPanel.mjs +3 -3
  177. package/es/FloatingPanel/ToastDodge.mjs +1 -1
  178. package/es/FloatingPanel/type.d.mts +2 -2
  179. package/es/FloatingSheet/FloatingSheet.mjs +2 -2
  180. package/es/FloatingSheet/useSnapPoints.mjs +1 -1
  181. package/es/FluentEmoji/FluentEmoji.d.mts +1 -1
  182. package/es/FluentEmoji/FluentEmoji.mjs +2 -2
  183. package/es/FluentEmoji/type.d.mts +1 -1
  184. package/es/FocusScope/FocusScope.mjs +1 -1
  185. package/es/FocusScope/useScopeArrowNav.mjs +1 -1
  186. package/es/FocusScope/useScopeSwitcher.mjs +1 -1
  187. package/es/Form/Form.mjs +4 -4
  188. package/es/Form/components/FormDivider.d.mts +1 -1
  189. package/es/Form/components/FormDivider.mjs +1 -1
  190. package/es/Form/components/FormField.mjs +3 -3
  191. package/es/Form/components/FormFlatGroup.mjs +2 -2
  192. package/es/Form/components/FormFooter.d.mts +1 -1
  193. package/es/Form/components/FormFooter.mjs +1 -1
  194. package/es/Form/components/FormGroup.mjs +5 -5
  195. package/es/Form/components/FormSubmitFooter.mjs +4 -4
  196. package/es/Form/components/FormTitle.d.mts +1 -1
  197. package/es/Form/components/FormTitle.mjs +1 -1
  198. package/es/Form/stableContext.mjs +1 -1
  199. package/es/Form/type.d.mts +3 -3
  200. package/es/FormKit/Field.d.mts +1 -1
  201. package/es/FormKit/Field.mjs +2 -2
  202. package/es/FormKit/Form.mjs +2 -2
  203. package/es/FormKit/List.d.mts +1 -1
  204. package/es/FormKit/List.mjs +4 -4
  205. package/es/FormKit/SubmitFooter.mjs +1 -1
  206. package/es/FormKit/engine/tanstack.mjs +1 -1
  207. package/es/FormKit/type.d.mts +1 -1
  208. package/es/FormKit/useForm.mjs +1 -1
  209. package/es/Grid/Grid.d.mts +1 -1
  210. package/es/Grid/Grid.mjs +3 -3
  211. package/es/Grid/type.d.mts +1 -1
  212. package/es/GroupAvatar/GroupAvatar.d.mts +1 -1
  213. package/es/GroupAvatar/GroupAvatar.mjs +2 -2
  214. package/es/GroupAvatar/type.d.mts +1 -1
  215. package/es/GuideCard/GuideCard.mjs +3 -3
  216. package/es/GuideCard/type.d.mts +1 -1
  217. package/es/Header/Header.mjs +2 -2
  218. package/es/Header/type.d.mts +1 -1
  219. package/es/Highlighter/FullFeatured.mjs +3 -3
  220. package/es/Highlighter/Highlighter.mjs +2 -2
  221. package/es/Highlighter/LangSelect.mjs +3 -3
  222. package/es/Highlighter/SyntaxHighlighter/StaticRenderer.mjs +1 -1
  223. package/es/Highlighter/SyntaxHighlighter/StreamRenderer.mjs +2 -2
  224. package/es/Highlighter/SyntaxHighlighter/index.mjs +3 -3
  225. package/es/Highlighter/engine.mjs +1 -1
  226. package/es/Highlighter/style.mjs +1 -1
  227. package/es/Highlighter/type.d.mts +1 -1
  228. package/es/Hotkey/Hotkey.mjs +3 -3
  229. package/es/Hotkey/type.d.mts +1 -1
  230. package/es/HotkeyInput/HotkeyInput.mjs +5 -5
  231. package/es/HtmlPreview/HtmlPreview.mjs +4 -4
  232. package/es/HtmlPreview/Iframe.mjs +2 -2
  233. package/es/HtmlPreview/type.d.mts +1 -1
  234. package/es/Icon/Icon.mjs +2 -2
  235. package/es/Icon/components/IconProvider.d.mts +1 -1
  236. package/es/Icon/type.d.mts +2 -2
  237. package/es/Image/Image.mjs +2 -2
  238. package/es/Image/index.d.mts +1 -1
  239. package/es/Image/type.d.mts +1 -1
  240. package/es/Image/useImagePreview.d.mts +1 -1
  241. package/es/Image/useImagePreview.mjs +1 -1
  242. package/es/Image/viewer/ActualSizeIcon.mjs +2 -2
  243. package/es/Image/viewer/GalleryNav.mjs +2 -2
  244. package/es/Image/viewer/ImageViewer.mjs +2 -2
  245. package/es/Image/viewer/Toolbar.mjs +3 -3
  246. package/es/Image/viewer/ViewerChrome.mjs +3 -3
  247. package/es/Image/viewer/registry.d.mts +2 -2
  248. package/es/Image/viewer/useFlipTransition.mjs +1 -1
  249. package/es/Image/viewer/useGalleryNav.mjs +1 -1
  250. package/es/Image/viewer/useRefitTransition.mjs +2 -2
  251. package/es/Image/viewer/useZoomPan.mjs +2 -2
  252. package/es/ImageSelect/ImageSelect.mjs +2 -2
  253. package/es/ImageSelect/type.d.mts +1 -1
  254. package/es/Img/index.mjs +2 -2
  255. package/es/Input/ClearButton.mjs +3 -3
  256. package/es/Input/Input.mjs +3 -3
  257. package/es/Input/InputNumber.mjs +5 -5
  258. package/es/Input/InputOTP.mjs +3 -3
  259. package/es/Input/InputPassword.mjs +3 -3
  260. package/es/Input/TextArea.mjs +3 -3
  261. package/es/Input/style.d.mts +1 -1
  262. package/es/Input/style.mjs +1 -1
  263. package/es/Input/type.d.mts +1 -1
  264. package/es/Layout/Layout.mjs +2 -2
  265. package/es/Layout/components/LayoutFooter.mjs +2 -2
  266. package/es/Layout/components/LayoutHeader.mjs +2 -2
  267. package/es/Layout/components/LayoutMain.mjs +2 -2
  268. package/es/Layout/components/LayoutSidebar.mjs +2 -2
  269. package/es/Layout/components/LayoutSidebarInner.mjs +2 -2
  270. package/es/Layout/components/LayoutToc.mjs +1 -1
  271. package/es/Layout/index.d.mts +1 -1
  272. package/es/Layout/type.d.mts +1 -1
  273. package/es/List/List.d.mts +1 -1
  274. package/es/List/List.mjs +2 -2
  275. package/es/List/ListRow.d.mts +2 -2
  276. package/es/List/ListRow.mjs +2 -2
  277. package/es/List/type.d.mts +1 -1
  278. package/es/Markdown/Markdown.mjs +4 -3
  279. package/es/Markdown/Markdown.mjs.map +1 -1
  280. package/es/Markdown/SyntaxMarkdown/MarkdownRender.mjs +36 -4
  281. package/es/Markdown/SyntaxMarkdown/MarkdownRender.mjs.map +1 -1
  282. package/es/Markdown/SyntaxMarkdown/StreamdownRender.mjs +2 -2
  283. package/es/Markdown/SyntaxMarkdown/parseCache.mjs +154 -0
  284. package/es/Markdown/SyntaxMarkdown/parseCache.mjs.map +1 -0
  285. package/es/Markdown/Typography.mjs +2 -2
  286. package/es/Markdown/components/CodeBlock.mjs +1 -1
  287. package/es/Markdown/components/Footnotes.mjs +1 -1
  288. package/es/Markdown/components/MarkdownProvider.mjs +1 -1
  289. package/es/Markdown/components/MarkdownTable/index.mjs +1 -1
  290. package/es/Markdown/components/SearchResultCards/SearchResultCard.mjs +2 -2
  291. package/es/Markdown/components/SearchResultCards/index.d.mts +1 -1
  292. package/es/Markdown/components/SearchResultCards/index.mjs +2 -2
  293. package/es/Markdown/plugins/rehypeCustomFootnotes.mjs +1 -1
  294. package/es/Markdown/plugins/rehypeKatex.mjs +1 -1
  295. package/es/Markdown/plugins/rehypeKatexDir.mjs +1 -1
  296. package/es/Markdown/plugins/remarkBr.mjs +1 -1
  297. package/es/Markdown/plugins/remarkCjkAutolink.mjs +1 -1
  298. package/es/Markdown/plugins/remarkColor.mjs +1 -1
  299. package/es/Markdown/plugins/remarkCustomFootnotes.mjs +1 -1
  300. package/es/Markdown/plugins/remarkGfmPlus.mjs +1 -1
  301. package/es/Markdown/plugins/remarkVideo.mjs +1 -1
  302. package/es/Markdown/type.d.mts +11 -4
  303. package/es/MaskShadow/MaskShadow.mjs +2 -2
  304. package/es/MaterialFileTypeIcon/MaterialFileTypeIcon.d.mts +1 -1
  305. package/es/MaterialFileTypeIcon/MaterialFileTypeIcon.mjs +2 -2
  306. package/es/Mermaid/FullFeatured.mjs +3 -3
  307. package/es/Mermaid/Mermaid.mjs +2 -2
  308. package/es/Mermaid/SyntaxMermaid/MermaidFallback.mjs +2 -2
  309. package/es/Mermaid/SyntaxMermaid/MermaidSvg.mjs +2 -2
  310. package/es/Mermaid/SyntaxMermaid/StaticMermaid.mjs +2 -2
  311. package/es/Mermaid/SyntaxMermaid/StreamMermaid.mjs +2 -2
  312. package/es/Mermaid/SyntaxMermaid/index.mjs +2 -2
  313. package/es/Mermaid/type.d.mts +1 -1
  314. package/es/Meta/Meta.mjs +1 -1
  315. package/es/Modal/Modal.d.mts +1 -1
  316. package/es/Modal/Modal.mjs +3 -3
  317. package/es/Modal/atoms.d.mts +2 -2
  318. package/es/Modal/atoms.mjs +7 -7
  319. package/es/Modal/imperative.mjs +2 -2
  320. package/es/Modal/type.d.mts +1 -1
  321. package/es/MotionProvider/index.d.mts +1 -1
  322. package/es/Pagination/Pagination.mjs +4 -4
  323. package/es/Pagination/type.d.mts +1 -1
  324. package/es/Popover/ArrowIcon.mjs +1 -1
  325. package/es/Popover/Popover.d.mts +1 -1
  326. package/es/Popover/Popover.mjs +1 -1
  327. package/es/Popover/PopoverGroup.d.mts +1 -1
  328. package/es/Popover/PopoverGroup.mjs +2 -2
  329. package/es/Popover/PopoverInGroup.mjs +4 -4
  330. package/es/Popover/PopoverStandalone.mjs +2 -2
  331. package/es/Popover/atoms.d.mts +3 -3
  332. package/es/Popover/atoms.mjs +5 -5
  333. package/es/Popover/groupContext.d.mts +1 -1
  334. package/es/Popover/type.d.mts +2 -2
  335. package/es/Popover/useMergedPopoverProps.mjs +1 -1
  336. package/es/ProTable/ProTable.mjs +2 -2
  337. package/es/ProTable/hooks/useColumnsState.mjs +1 -1
  338. package/es/ProTable/hooks/useDensity.mjs +1 -1
  339. package/es/ProTable/hooks/useFullscreen.mjs +1 -1
  340. package/es/ProTable/hooks/usePageInfo.mjs +1 -1
  341. package/es/ProTable/hooks/useProColumns.mjs +2 -2
  342. package/es/ProTable/hooks/useProLocale.mjs +1 -1
  343. package/es/ProTable/hooks/useProRequest.mjs +1 -1
  344. package/es/ProTable/hooks/useSearchForm.mjs +1 -1
  345. package/es/ProTable/hooks/useTableBindings.mjs +1 -1
  346. package/es/ProTable/locale.d.mts +1 -1
  347. package/es/ProTable/parts/ColumnSetting.mjs +1 -1
  348. package/es/ProTable/parts/FieldControl.mjs +1 -1
  349. package/es/ProTable/parts/SearchForm.mjs +2 -2
  350. package/es/ProTable/parts/TableAlert.mjs +1 -1
  351. package/es/ProTable/parts/Toolbar.mjs +2 -2
  352. package/es/ProTable/parts/ToolbarOptions.mjs +2 -2
  353. package/es/ProTable/parts/renderValue.mjs +2 -2
  354. package/es/ProTable/style.mjs +2 -2
  355. package/es/ProTable/type.d.mts +1 -1
  356. package/es/Progress/Progress.mjs +4 -4
  357. package/es/ProgressiveBlur/ProgressiveBlur.mjs +2 -2
  358. package/es/QRCode/QRCode.mjs +4 -4
  359. package/es/Radio/Radio.mjs +3 -3
  360. package/es/Radio/RadioGroup.mjs +3 -3
  361. package/es/Radio/type.d.mts +3 -3
  362. package/es/Rate/Rate.mjs +4 -4
  363. package/es/Result/Result.mjs +3 -3
  364. package/es/ScrollArea/ScrollArea.d.mts +1 -1
  365. package/es/ScrollArea/atoms.d.mts +2 -2
  366. package/es/ScrollArea/atoms.mjs +2 -2
  367. package/es/ScrollArea/type.d.mts +1 -1
  368. package/es/ScrollShadow/ScrollShadow.d.mts +1 -1
  369. package/es/ScrollShadow/ScrollShadow.mjs +2 -2
  370. package/es/ScrollShadow/type.d.mts +1 -1
  371. package/es/SearchBar/SearchBar.mjs +4 -4
  372. package/es/SearchBar/type.d.mts +1 -1
  373. package/es/Segmented/Segmented.mjs +2 -2
  374. package/es/Segmented/atoms.d.mts +2 -2
  375. package/es/Segmented/atoms.mjs +3 -3
  376. package/es/Segmented/type.d.mts +1 -1
  377. package/es/Select/Select.mjs +3 -3
  378. package/es/Select/atoms.d.mts +2 -2
  379. package/es/Select/atoms.mjs +5 -5
  380. package/es/Select/hooks.mjs +1 -1
  381. package/es/Select/parts.mjs +5 -5
  382. package/es/Select/renderOptions.mjs +3 -3
  383. package/es/Select/type.d.mts +2 -2
  384. package/es/SideNav/SideNav.mjs +2 -2
  385. package/es/SideNav/type.d.mts +1 -1
  386. package/es/Skeleton/Skeleton.mjs +1 -1
  387. package/es/Skeleton/SkeletonAvatar.d.mts +1 -1
  388. package/es/Skeleton/SkeletonAvatar.mjs +1 -1
  389. package/es/Skeleton/SkeletonText.d.mts +1 -1
  390. package/es/Skeleton/SkeletonText.mjs +1 -1
  391. package/es/Skeleton/index.d.mts +1 -1
  392. package/es/Slider/Slider.mjs +3 -3
  393. package/es/Slider/SliderWithInput.mjs +4 -4
  394. package/es/Slider/type.d.mts +2 -2
  395. package/es/Snippet/Snippet.d.mts +1 -1
  396. package/es/Snippet/Snippet.mjs +1 -1
  397. package/es/Snippet/type.d.mts +1 -1
  398. package/es/SortableList/SortableList.d.mts +1 -1
  399. package/es/SortableList/SortableList.mjs +5 -5
  400. package/es/SortableList/components/DragHandle.mjs +3 -3
  401. package/es/SortableList/components/SortableItem.d.mts +1 -1
  402. package/es/SortableList/components/SortableItem.mjs +4 -4
  403. package/es/SortableList/components/SortableOverlay.mjs +1 -1
  404. package/es/SortableList/type.d.mts +1 -1
  405. package/es/Spin/NetworkGlyph.mjs +2 -2
  406. package/es/Spin/Spin.mjs +4 -4
  407. package/es/Statistic/Statistic.mjs +2 -2
  408. package/es/Steps/Steps.mjs +3 -3
  409. package/es/Switch/Switch.mjs +4 -4
  410. package/es/Switch/atoms.d.mts +1 -1
  411. package/es/Switch/atoms.mjs +4 -4
  412. package/es/Switch/type.d.mts +1 -1
  413. package/es/Table/Column.d.mts +1 -1
  414. package/es/Table/ColumnGroup.d.mts +1 -1
  415. package/es/Table/Table.d.mts +1 -1
  416. package/es/Table/Table.mjs +4 -4
  417. package/es/Table/atoms/cells.d.mts +1 -1
  418. package/es/Table/atoms/cells.mjs +1 -1
  419. package/es/Table/atoms/layout.d.mts +1 -1
  420. package/es/Table/atoms/layout.mjs +2 -2
  421. package/es/Table/engine/useTableEngine.mjs +2 -2
  422. package/es/Table/internal.d.mts +2 -2
  423. package/es/Table/pipeline/selectionUtils.d.mts +1 -1
  424. package/es/Table/pipeline/useExpandable.mjs +1 -1
  425. package/es/Table/pipeline/useFilter.mjs +1 -1
  426. package/es/Table/pipeline/useSelection.mjs +1 -1
  427. package/es/Table/pipeline/useSorter.mjs +1 -1
  428. package/es/Table/pipeline/useTableLocale.mjs +1 -1
  429. package/es/Table/pipeline/useTableState.mjs +1 -1
  430. package/es/Table/pipeline/useVirtualLayout.mjs +1 -1
  431. package/es/Table/render/Body.mjs +2 -2
  432. package/es/Table/render/BodyCell.mjs +1 -1
  433. package/es/Table/render/CellShell.mjs +2 -2
  434. package/es/Table/render/ExpandIcon.mjs +2 -2
  435. package/es/Table/render/FilterDropdown.mjs +3 -3
  436. package/es/Table/render/FilterPanel.mjs +4 -4
  437. package/es/Table/render/FixedFrost.mjs +3 -3
  438. package/es/Table/render/FixedHolder.mjs +1 -1
  439. package/es/Table/render/Header.mjs +3 -3
  440. package/es/Table/render/LoadingSkeleton.mjs +2 -2
  441. package/es/Table/render/PaginationBar.mjs +2 -2
  442. package/es/Table/render/SelectionCells.mjs +4 -4
  443. package/es/Table/render/Summary.d.mts +1 -1
  444. package/es/Table/render/Summary.mjs +1 -1
  445. package/es/Table/render/TableView.mjs +2 -2
  446. package/es/Table/render/VirtualBody.mjs +1 -1
  447. package/es/Table/render/filterUtils.mjs +1 -1
  448. package/es/Table/render/useScrollSync.mjs +1 -1
  449. package/es/Table/render/useViewContexts.mjs +1 -1
  450. package/es/Table/semantic.mjs +1 -1
  451. package/es/Table/store/hooks.mjs +1 -1
  452. package/es/Table/type.d.mts +1 -1
  453. package/es/Table/useTableController.mjs +1 -1
  454. package/es/Tabs/Tabs.d.mts +1 -1
  455. package/es/Tabs/Tabs.mjs +2 -2
  456. package/es/Tabs/atoms.d.mts +1 -1
  457. package/es/Tabs/atoms.mjs +3 -3
  458. package/es/Tabs/style.d.mts +1 -1
  459. package/es/Tabs/style.mjs +1 -1
  460. package/es/Tabs/type.d.mts +1 -1
  461. package/es/Tag/Tag.mjs +3 -3
  462. package/es/Tag/utils.mjs +1 -1
  463. package/es/Text/Text.d.mts +1 -1
  464. package/es/Text/Text.mjs +2 -2
  465. package/es/Text/style.mjs +1 -1
  466. package/es/Text/type.d.mts +1 -1
  467. package/es/Toast/Toast.mjs +4 -4
  468. package/es/Toast/imperative.mjs +3 -3
  469. package/es/Toast/type.d.mts +2 -2
  470. package/es/Toc/Toc.mjs +2 -2
  471. package/es/Toc/toFlatTocItems.d.mts +1 -1
  472. package/es/Toc/type.d.mts +1 -1
  473. package/es/ToggleGroup/ToggleGroup.mjs +2 -2
  474. package/es/ToggleGroup/atoms.d.mts +3 -3
  475. package/es/ToggleGroup/atoms.mjs +3 -3
  476. package/es/Tooltip/ArrowIcon.mjs +1 -1
  477. package/es/Tooltip/Tooltip.d.mts +1 -1
  478. package/es/Tooltip/Tooltip.mjs +1 -1
  479. package/es/Tooltip/TooltipContent.mjs +1 -1
  480. package/es/Tooltip/TooltipGroup.d.mts +1 -1
  481. package/es/Tooltip/TooltipGroup.mjs +3 -3
  482. package/es/Tooltip/TooltipInGroup.mjs +4 -4
  483. package/es/Tooltip/TooltipStandalone.mjs +4 -4
  484. package/es/Tooltip/type.d.mts +2 -2
  485. package/es/Tooltip/useMergedTooltipProps.mjs +1 -1
  486. package/es/Tree/Tree.mjs +2 -2
  487. package/es/Tree/TreeNode.mjs +5 -5
  488. package/es/Tree/type.d.mts +1 -1
  489. package/es/Upload/Upload.mjs +3 -3
  490. package/es/Upload/UploadDragger.mjs +2 -2
  491. package/es/Video/Video.mjs +1 -1
  492. package/es/Video/index.d.mts +1 -1
  493. package/es/Video/parts/Caption.mjs +2 -2
  494. package/es/Video/parts/CenterPlay.mjs +1 -1
  495. package/es/Video/parts/Controls.mjs +3 -3
  496. package/es/Video/parts/Frame.mjs +2 -2
  497. package/es/Video/parts/HoverPreview.mjs +30 -6
  498. package/es/Video/parts/HoverPreview.mjs.map +1 -1
  499. package/es/Video/parts/LoadError.mjs +1 -1
  500. package/es/Video/parts/RateMenu.mjs +2 -2
  501. package/es/Video/parts/Root.mjs +2 -2
  502. package/es/Video/parts/SectionList.mjs +1 -1
  503. package/es/Video/parts/SectionMenu.mjs +2 -2
  504. package/es/Video/parts/Timeline.mjs +4 -2
  505. package/es/Video/parts/Timeline.mjs.map +1 -1
  506. package/es/Video/sizing.mjs +12 -1
  507. package/es/Video/sizing.mjs.map +1 -1
  508. package/es/Video/style.mjs +0 -2
  509. package/es/Video/style.mjs.map +1 -1
  510. package/es/Video/useVideo.mjs +1 -1
  511. package/es/awesome/AgentSkillCard/AgentSkillCard.mjs +3 -3
  512. package/es/awesome/AgentSkillCard/type.d.mts +1 -1
  513. package/es/awesome/AuroraBackground/AuroraBackground.mjs +2 -2
  514. package/es/awesome/AuroraBackground/type.d.mts +1 -1
  515. package/es/awesome/BentoGrid/BentoCard.mjs +2 -2
  516. package/es/awesome/BentoGrid/BentoGrid.mjs +2 -2
  517. package/es/awesome/BentoGrid/type.d.mts +1 -1
  518. package/es/awesome/BottomGradientButton/BottomGradientButton.mjs +2 -2
  519. package/es/awesome/CodeShowcase/CodeShowcase.mjs +2 -2
  520. package/es/awesome/CodeShowcase/type.d.mts +1 -1
  521. package/es/awesome/FeatureGrid/FeatureGrid.mjs +2 -2
  522. package/es/awesome/FeatureGrid/type.d.mts +1 -1
  523. package/es/awesome/Features/FeatureItem.mjs +2 -2
  524. package/es/awesome/Features/Features.mjs +2 -2
  525. package/es/awesome/Features/type.d.mts +1 -1
  526. package/es/awesome/FluidGradient/FluidGradient.mjs +2 -2
  527. package/es/awesome/Giscus/Giscus.mjs +3 -3
  528. package/es/awesome/Giscus/style.mjs +1 -1
  529. package/es/awesome/Giscus/type.d.mts +1 -1
  530. package/es/awesome/GradientButton/GradientButton.mjs +2 -2
  531. package/es/awesome/Grainient/Grainient.mjs +2 -2
  532. package/es/awesome/GridBackground/GridBackground.mjs +4 -4
  533. package/es/awesome/GridBackground/GridShowcase.mjs +2 -2
  534. package/es/awesome/GridBackground/components/Grid.mjs +2 -2
  535. package/es/awesome/Hero/Hero.mjs +2 -2
  536. package/es/awesome/InstallBanner/InstallBanner.mjs +2 -2
  537. package/es/awesome/InstallBanner/type.d.mts +1 -1
  538. package/es/awesome/LandingHero/LandingHero.mjs +2 -2
  539. package/es/awesome/LandingHero/type.d.mts +1 -1
  540. package/es/awesome/LandingSection/LandingSection.mjs +2 -2
  541. package/es/awesome/LandingSection/type.d.mts +1 -1
  542. package/es/awesome/LogoMarquee/LogoMarquee.mjs +2 -2
  543. package/es/awesome/LogoMarquee/type.d.mts +1 -1
  544. package/es/awesome/Spotlight/Spotlight.mjs +2 -2
  545. package/es/awesome/SpotlightCard/SpotlightCard.mjs +2 -2
  546. package/es/awesome/SpotlightCard/SpotlightCardItem.mjs +1 -1
  547. package/es/awesome/SpotlightCard/type.d.mts +1 -1
  548. package/es/awesome/TypewriterEffect/TypewriterEffect.mjs +2 -2
  549. package/es/awesome/landingActions.d.mts +1 -1
  550. package/es/awesome/landingActions.mjs +2 -2
  551. package/es/brand/BrandLoading/index.d.mts +1 -1
  552. package/es/brand/BrandLoading/index.mjs +1 -1
  553. package/es/brand/LobeChat/index.d.mts +1 -1
  554. package/es/brand/LobeChat/index.mjs +2 -2
  555. package/es/brand/LobeChatText/index.d.mts +1 -1
  556. package/es/brand/LobeChatText/index.mjs +1 -1
  557. package/es/brand/LobeHub/index.d.mts +1 -1
  558. package/es/brand/LobeHub/index.mjs +2 -2
  559. package/es/brand/LobeHubText/index.d.mts +1 -1
  560. package/es/brand/LobeHubText/index.mjs +1 -1
  561. package/es/brand/Logo3d/index.d.mts +1 -1
  562. package/es/brand/Logo3d/index.mjs +1 -1
  563. package/es/chat/BackBottom/BackBottom.mjs +3 -3
  564. package/es/chat/BackBottom/type.d.mts +1 -1
  565. package/es/chat/ChatHeader/ChatHeader.mjs +3 -3
  566. package/es/chat/ChatHeader/ChatHeaderTitle.d.mts +1 -1
  567. package/es/chat/ChatHeader/index.d.mts +1 -1
  568. package/es/chat/ChatHeader/type.d.mts +1 -1
  569. package/es/chat/ChatInputArea/ChatInputArea.mjs +2 -2
  570. package/es/chat/ChatInputArea/components/ChatInputActionBar.d.mts +1 -1
  571. package/es/chat/ChatInputArea/components/ChatInputActionBar.mjs +1 -1
  572. package/es/chat/ChatInputArea/components/ChatInputAreaInner.mjs +1 -1
  573. package/es/chat/ChatInputArea/components/ChatSendButton.d.mts +1 -1
  574. package/es/chat/ChatInputArea/components/ChatSendButton.mjs +2 -2
  575. package/es/chat/ChatInputArea/index.d.mts +1 -1
  576. package/es/chat/ChatInputArea/type.d.mts +1 -1
  577. package/es/chat/ChatItem/ChatItem.mjs +2 -2
  578. package/es/chat/ChatItem/components/Actions.mjs +1 -1
  579. package/es/chat/ChatItem/components/Avatar.mjs +1 -1
  580. package/es/chat/ChatItem/components/Loading.mjs +1 -1
  581. package/es/chat/ChatItem/components/MessageContent.mjs +2 -2
  582. package/es/chat/ChatItem/type.d.mts +1 -1
  583. package/es/chat/ChatList/ChatList.mjs +2 -2
  584. package/es/chat/ChatList/components/ChatActionsBar.d.mts +1 -1
  585. package/es/chat/ChatList/components/ChatActionsBar.mjs +1 -1
  586. package/es/chat/ChatList/components/ChatListItem.mjs +1 -1
  587. package/es/chat/ChatList/components/HistoryDivider.mjs +1 -1
  588. package/es/chat/ChatList/components/useChatListActionsBar.mjs +1 -1
  589. package/es/chat/ChatList/type.d.mts +1 -1
  590. package/es/chat/EditableMessage/EditableMessage.mjs +2 -2
  591. package/es/chat/EditableMessage/type.d.mts +1 -1
  592. package/es/chat/EditableMessageList/EditableMessageList.mjs +4 -4
  593. package/es/chat/EditableMessageList/type.d.mts +1 -1
  594. package/es/chat/LoadingDots/LoadingDots.d.mts +1 -1
  595. package/es/chat/LoadingDots/LoadingDots.mjs +2 -2
  596. package/es/chat/MessageInput/MessageInput.mjs +3 -3
  597. package/es/chat/MessageInput/type.d.mts +1 -1
  598. package/es/chat/MessageModal/MessageModal.mjs +2 -2
  599. package/es/chat/MessageModal/type.d.mts +1 -1
  600. package/es/chat/TokenTag/TokenTag.d.mts +1 -1
  601. package/es/chat/TokenTag/TokenTag.mjs +2 -2
  602. package/es/color/ColorScales/ScaleRow.mjs +2 -2
  603. package/es/color/ColorScales/index.d.mts +1 -1
  604. package/es/color/ColorScales/index.mjs +3 -3
  605. package/es/color/CssVar/ScaleRow.mjs +2 -2
  606. package/es/color/CssVar/VarRow.mjs +2 -2
  607. package/es/color/CssVar/index.d.mts +1 -1
  608. package/es/color/CssVar/index.mjs +3 -3
  609. package/es/css/Markdown.css +0 -4
  610. package/es/css/Video.css +0 -4
  611. package/es/css/chat/ChatItem.css +0 -4
  612. package/es/css/chat/ChatList.css +0 -4
  613. package/es/css/chat/EditableMessage.css +0 -4
  614. package/es/css/chat/MessageModal.css +0 -4
  615. package/es/css/mdx/Mdx.css +0 -4
  616. package/es/css/mdx/mdxComponents.css +0 -4
  617. package/es/dashboard/AuthLayout/Aside.mjs +1 -1
  618. package/es/dashboard/AuthLayout/AuthLayout.mjs +2 -2
  619. package/es/dashboard/AuthTools/AuthLocaleSwitch.mjs +2 -2
  620. package/es/dashboard/AuthTools/AuthThemeSwitch.mjs +2 -2
  621. package/es/dashboard/Breadcrumb/Breadcrumb.mjs +1 -1
  622. package/es/dashboard/ChartGrid/ChartGrid.mjs +1 -1
  623. package/es/dashboard/ConsoleNav/ConsoleNav.mjs +4 -4
  624. package/es/dashboard/ConsoleNav/Skeleton.mjs +1 -1
  625. package/es/dashboard/ConsoleNav/type.d.mts +1 -1
  626. package/es/dashboard/ConsoleShell/ConsoleBrand.mjs +1 -1
  627. package/es/dashboard/ConsoleShell/ConsoleShell.mjs +3 -3
  628. package/es/dashboard/FilterSidebar/FilterSidebar.mjs +3 -3
  629. package/es/dashboard/FilterStrip/FilterStrip.mjs +2 -2
  630. package/es/dashboard/LabelWithKey/LabelWithKey.mjs +1 -1
  631. package/es/dashboard/LabelWithKey/type.d.mts +1 -1
  632. package/es/dashboard/MetricStrip/MetricCell.mjs +1 -1
  633. package/es/dashboard/MetricStrip/MetricStrip.mjs +2 -2
  634. package/es/dashboard/MetricStrip/type.d.mts +1 -1
  635. package/es/dashboard/PageHeader/PageHeader.mjs +1 -1
  636. package/es/dashboard/PageSkeleton/PageSkeleton.mjs +1 -1
  637. package/es/dashboard/PageTabs/PageTabs.mjs +1 -1
  638. package/es/dashboard/PageToolbar/PageToolbar.mjs +1 -1
  639. package/es/dashboard/PanelSurface/PanelSurface.mjs +1 -1
  640. package/es/dashboard/PanelSurface/type.d.mts +1 -1
  641. package/es/dashboard/RouteProgress/RouteProgress.mjs +2 -2
  642. package/es/dashboard/Section/Section.mjs +2 -2
  643. package/es/dashboard/Section/type.d.mts +1 -1
  644. package/es/dashboard/StatCard/StatCard.mjs +1 -1
  645. package/es/dashboard/StatCard/type.d.mts +1 -1
  646. package/es/dashboard/Surface/Surface.mjs +2 -2
  647. package/es/dashboard/Surface/link.d.mts +2 -2
  648. package/es/dashboard/Surface/link.mjs +2 -2
  649. package/es/dashboard/TableIconActions/TableIconActions.mjs +1 -1
  650. package/es/dashboard/TableIconActions/type.d.mts +1 -1
  651. package/es/dashboard/TitleWithTips/TitleWithTips.mjs +2 -2
  652. package/es/hooks/useControlledState.mjs +1 -1
  653. package/es/hooks/useHighlight.mjs +1 -1
  654. package/es/hooks/useMarkdown/useMarkdownComponents.mjs +1 -1
  655. package/es/hooks/useMarkdown/useMarkdownContent.mjs +1 -1
  656. package/es/hooks/useMarkdown/useMarkdownRehypePlugins.mjs +4 -4
  657. package/es/hooks/useMarkdown/useMarkdownRemarkPlugins.mjs +5 -5
  658. package/es/hooks/useMermaid.mjs +1 -1
  659. package/es/hooks/useStableValue.mjs +1 -1
  660. package/es/hooks/useStreamHighlight.mjs +1 -1
  661. package/es/hooks/useStreamMermaid.mjs +1 -1
  662. package/es/i18n/context.d.mts +1 -1
  663. package/es/i18n/context.mjs +1 -1
  664. package/es/i18n/useTranslation.mjs +1 -1
  665. package/es/icons/Auth0/components/Avatar.d.mts +1 -1
  666. package/es/icons/Auth0/components/Avatar.mjs +1 -1
  667. package/es/icons/Auth0/components/Mono.mjs +1 -1
  668. package/es/icons/Authelia/components/Avatar.d.mts +1 -1
  669. package/es/icons/Authelia/components/Avatar.mjs +1 -1
  670. package/es/icons/Authelia/components/Color.mjs +2 -2
  671. package/es/icons/Authelia/components/Mono.mjs +1 -1
  672. package/es/icons/Authentik/components/Avatar.d.mts +1 -1
  673. package/es/icons/Authentik/components/Avatar.mjs +1 -1
  674. package/es/icons/Authentik/components/Color.mjs +1 -1
  675. package/es/icons/Authentik/components/Mono.mjs +1 -1
  676. package/es/icons/Casdoor/components/Avatar.d.mts +1 -1
  677. package/es/icons/Casdoor/components/Avatar.mjs +1 -1
  678. package/es/icons/Casdoor/components/Color.mjs +2 -2
  679. package/es/icons/Casdoor/components/Mono.mjs +1 -1
  680. package/es/icons/Clerk/components/Avatar.d.mts +1 -1
  681. package/es/icons/Clerk/components/Avatar.mjs +1 -1
  682. package/es/icons/Clerk/components/Color.mjs +1 -1
  683. package/es/icons/Clerk/components/Mono.mjs +1 -1
  684. package/es/icons/DingTalk/components/Avatar.d.mts +1 -1
  685. package/es/icons/DingTalk/components/Avatar.mjs +1 -1
  686. package/es/icons/DingTalk/components/Color.mjs +1 -1
  687. package/es/icons/DingTalk/components/Mono.mjs +1 -1
  688. package/es/icons/Discord/components/Avatar.d.mts +1 -1
  689. package/es/icons/Discord/components/Avatar.mjs +1 -1
  690. package/es/icons/Discord/components/Color.mjs +1 -1
  691. package/es/icons/Discord/components/Mono.mjs +1 -1
  692. package/es/icons/GoogleChat/components/Avatar.d.mts +1 -1
  693. package/es/icons/GoogleChat/components/Avatar.mjs +1 -1
  694. package/es/icons/GoogleChat/components/Color.mjs +1 -1
  695. package/es/icons/GoogleChat/components/Mono.mjs +1 -1
  696. package/es/icons/IMessage/components/Avatar.d.mts +1 -1
  697. package/es/icons/IMessage/components/Avatar.mjs +1 -1
  698. package/es/icons/IMessage/components/Color.mjs +1 -1
  699. package/es/icons/IMessage/components/Inner.mjs +1 -1
  700. package/es/icons/IMessage/components/Mono.mjs +1 -1
  701. package/es/icons/Lark/components/Avatar.d.mts +1 -1
  702. package/es/icons/Lark/components/Avatar.mjs +1 -1
  703. package/es/icons/Lark/components/Color.mjs +1 -1
  704. package/es/icons/Lark/components/Mono.mjs +1 -1
  705. package/es/icons/Line/components/Avatar.d.mts +1 -1
  706. package/es/icons/Line/components/Avatar.mjs +1 -1
  707. package/es/icons/Line/components/Color.mjs +1 -1
  708. package/es/icons/Line/components/Mono.mjs +1 -1
  709. package/es/icons/Logto/components/Avatar.d.mts +1 -1
  710. package/es/icons/Logto/components/Avatar.mjs +1 -1
  711. package/es/icons/Logto/components/Color.mjs +2 -2
  712. package/es/icons/Logto/components/Mono.mjs +1 -1
  713. package/es/icons/MicrosoftEntra/components/Avatar.d.mts +1 -1
  714. package/es/icons/MicrosoftEntra/components/Avatar.mjs +1 -1
  715. package/es/icons/MicrosoftEntra/components/Color.mjs +1 -1
  716. package/es/icons/MicrosoftEntra/components/Mono.mjs +1 -1
  717. package/es/icons/MicrosoftTeams/components/Avatar.d.mts +1 -1
  718. package/es/icons/MicrosoftTeams/components/Avatar.mjs +1 -1
  719. package/es/icons/MicrosoftTeams/components/Color.mjs +1 -1
  720. package/es/icons/MicrosoftTeams/components/Mono.mjs +1 -1
  721. package/es/icons/NextAuth/components/Avatar.d.mts +1 -1
  722. package/es/icons/NextAuth/components/Avatar.mjs +1 -1
  723. package/es/icons/NextAuth/components/Color.mjs +2 -2
  724. package/es/icons/NextAuth/components/Mono.mjs +1 -1
  725. package/es/icons/QQ/components/Avatar.d.mts +1 -1
  726. package/es/icons/QQ/components/Avatar.mjs +1 -1
  727. package/es/icons/Slack/components/Avatar.d.mts +1 -1
  728. package/es/icons/Slack/components/Avatar.mjs +1 -1
  729. package/es/icons/Slack/components/Color.mjs +1 -1
  730. package/es/icons/Slack/components/Mono.mjs +1 -1
  731. package/es/icons/Telegram/components/Avatar.d.mts +1 -1
  732. package/es/icons/Telegram/components/Avatar.mjs +1 -1
  733. package/es/icons/Telegram/components/Color.mjs +1 -1
  734. package/es/icons/Telegram/components/Inner.mjs +1 -1
  735. package/es/icons/Telegram/components/Mono.mjs +1 -1
  736. package/es/icons/WeChat/components/Avatar.d.mts +1 -1
  737. package/es/icons/WeChat/components/Avatar.mjs +1 -1
  738. package/es/icons/WeChat/components/Color.mjs +1 -1
  739. package/es/icons/WeChat/components/Mono.mjs +1 -1
  740. package/es/icons/WeCom/components/Avatar.d.mts +1 -1
  741. package/es/icons/WeCom/components/Avatar.mjs +1 -1
  742. package/es/icons/WeCom/components/Color.mjs +1 -1
  743. package/es/icons/WeCom/components/Mono.mjs +1 -1
  744. package/es/icons/WhatsApp/components/Avatar.d.mts +1 -1
  745. package/es/icons/WhatsApp/components/Avatar.mjs +1 -1
  746. package/es/icons/WhatsApp/components/Color.mjs +1 -1
  747. package/es/icons/WhatsApp/components/Mono.mjs +1 -1
  748. package/es/icons/Zitadel/components/Avatar.d.mts +1 -1
  749. package/es/icons/Zitadel/components/Avatar.mjs +1 -1
  750. package/es/icons/Zitadel/components/Color.mjs +2 -2
  751. package/es/icons/Zitadel/components/Mono.mjs +1 -1
  752. package/es/internal/menu/baseItem.d.mts +2 -2
  753. package/es/internal/menu/checkboxItem.d.mts +1 -1
  754. package/es/internal/menu/renderUtils.d.mts +1 -1
  755. package/es/internal/menu/renderUtils.mjs +1 -1
  756. package/es/internal/menu/switchItem.d.mts +1 -1
  757. package/es/internal/menu/type.d.mts +1 -1
  758. package/es/internal/virtual/MenuVirtualList.d.mts +2 -2
  759. package/es/internal/virtual/VirtualScrollArea.d.mts +2 -2
  760. package/es/internal/virtual/VirtualScrollArea.mjs +2 -2
  761. package/es/internal/virtual/useMenuVirtualList.d.mts +2 -2
  762. package/es/internal/virtual/useMenuVirtualList.mjs +1 -1
  763. package/es/internal/zIndex/useLayerZIndex.mjs +1 -1
  764. package/es/mdx/Callout/index.d.mts +1 -1
  765. package/es/mdx/Callout/index.mjs +2 -2
  766. package/es/mdx/Cards/Card.d.mts +1 -1
  767. package/es/mdx/Cards/Card.mjs +1 -1
  768. package/es/mdx/Cards/index.d.mts +1 -1
  769. package/es/mdx/Cards/index.mjs +1 -1
  770. package/es/mdx/FileTree/File.d.mts +1 -1
  771. package/es/mdx/FileTree/File.mjs +2 -2
  772. package/es/mdx/FileTree/Folder.d.mts +1 -1
  773. package/es/mdx/FileTree/Folder.mjs +3 -3
  774. package/es/mdx/FileTree/index.d.mts +1 -1
  775. package/es/mdx/FileTree/index.mjs +1 -1
  776. package/es/mdx/Mdx/index.d.mts +1 -1
  777. package/es/mdx/Mdx/index.mjs +8 -8
  778. package/es/mdx/Steps/index.d.mts +1 -1
  779. package/es/mdx/Steps/index.mjs +1 -1
  780. package/es/mdx/Tabs/Tab.d.mts +1 -1
  781. package/es/mdx/Tabs/Tab.mjs +1 -1
  782. package/es/mdx/Tabs/index.d.mts +1 -1
  783. package/es/mdx/Tabs/index.mjs +2 -2
  784. package/es/mdx/mdxComponents/Citation/PopoverPanel.mjs +3 -3
  785. package/es/mdx/mdxComponents/Citation/index.mjs +1 -1
  786. package/es/mdx/mdxComponents/CodeBlock.d.mts +1 -1
  787. package/es/mdx/mdxComponents/Image.d.mts +1 -1
  788. package/es/mdx/mdxComponents/Image.mjs +1 -1
  789. package/es/mdx/mdxComponents/Link.d.mts +1 -1
  790. package/es/mdx/mdxComponents/Link.mjs +1 -1
  791. package/es/mdx/mdxComponents/Pre.d.mts +1 -1
  792. package/es/mdx/mdxComponents/Pre.mjs +1 -1
  793. package/es/mdx/mdxComponents/Video.d.mts +1 -1
  794. package/es/mdx/mdxComponents/Video.mjs +1 -1
  795. package/es/mobile/ChatHeader/ChatHeader.mjs +3 -3
  796. package/es/mobile/ChatHeader/ChatHeaderTitle.mjs +1 -1
  797. package/es/mobile/ChatHeader/index.d.mts +1 -1
  798. package/es/mobile/ChatHeader/type.d.mts +1 -1
  799. package/es/mobile/ChatInputArea/ChatInputArea.mjs +3 -3
  800. package/es/mobile/ChatInputArea/components/ChatSendButton.mjs +3 -3
  801. package/es/mobile/ChatInputArea/index.d.mts +1 -1
  802. package/es/mobile/ChatInputArea/type.d.mts +1 -1
  803. package/es/mobile/SafeArea/SafeArea.d.mts +1 -1
  804. package/es/mobile/SafeArea/SafeArea.mjs +1 -1
  805. package/es/mobile/TabBar/TabBar.mjs +2 -2
  806. package/es/mobile/TabBar/type.d.mts +1 -1
  807. package/es/spline/LogoThree/Loading.mjs +1 -1
  808. package/es/spline/LogoThree/LogoSpline.d.mts +1 -1
  809. package/es/spline/LogoThree/LogoSpline.mjs +1 -1
  810. package/es/spline/LogoThree/index.d.mts +1 -1
  811. package/es/spline/LogoThree/index.mjs +1 -1
  812. package/es/spline/Spline/ParentSize.mjs +2 -2
  813. package/es/spline/Spline/Spine.mjs +1 -1
  814. package/es/spline/Spline/type.d.mts +1 -1
  815. package/es/storybook/StoryBook/index.d.mts +1 -1
  816. package/es/storybook/StoryBook/index.mjs +3 -3
  817. package/es/style.css +0 -4
  818. package/es/styles/createGlobalStyle.d.mts +1 -1
  819. package/es/styles/createGlobalStyle.mjs +1 -1
  820. package/es/styles/css.d.mts +1 -1
  821. package/es/styles/css.mjs +1 -1
  822. package/es/styles/stylex/props.d.mts +2 -2
  823. package/es/styles/stylex/props.mjs +1 -1
  824. package/es/styles/theme/customNeutral.mjs +1 -1
  825. package/es/styles/theme/customPrimary.mjs +1 -1
  826. package/es/styles/theme/customToken.mjs +1 -1
  827. package/es/styles/theme/scope.d.mts +1 -1
  828. package/es/styles/theme/scope.mjs +2 -2
  829. package/es/types/index.d.mts +1 -1
  830. package/es/utils/hashString.mjs +8 -8
  831. package/package.json +6 -1
  832. package/es/node_modules/.pnpm/unist-util-visit@5.2.0/node_modules/unist-util-visit/lib/index.mjs +0 -289
  833. package/es/node_modules/.pnpm/unist-util-visit@5.2.0/node_modules/unist-util-visit/lib/index.mjs.map +0 -1
@@ -1,289 +0,0 @@
1
- import { SKIP, visitParents } from "unist-util-visit-parents";
2
- // node_modules/.pnpm/unist-util-visit@5.2.0/node_modules/unist-util-visit/lib/index.js
3
- /**
4
- * @import {Node as UnistNode, Parent as UnistParent} from 'unist'
5
- * @import {
6
- * InclusiveDescendant,
7
- * Matches,
8
- * Visitors as ParentsVisitors,
9
- * VisitorResult,
10
- * VisitorResultExit
11
- * } from 'unist-util-visit-parents'
12
- */
13
- /**
14
- * @typedef {Exclude<import('unist-util-is').Test, undefined> | undefined} Test
15
- * Test from `unist-util-is`.
16
- *
17
- * Note: we have remove and add `undefined`, because otherwise when generating
18
- * automatic `.d.ts` files, TS tries to flatten paths from a local perspective,
19
- * which doesn’t work when publishing on npm.
20
- */
21
- /**
22
- * @typedef {(
23
- * Node extends UnistParent
24
- * ? Node extends {children: Array<infer Children>}
25
- * ? Child extends Children ? Node : never
26
- * : never
27
- * : never
28
- * )} InternalParent
29
- * Collect nodes that can be parents of `Child`.
30
- * @template {UnistNode} Node
31
- * All node types in a tree.
32
- * @template {UnistNode} Child
33
- * Node to search for.
34
- */
35
- /**
36
- * @typedef {InternalParent<InclusiveDescendant<Tree>, Child>} Parent
37
- * Collect nodes in `Tree` that can be parents of `Child`.
38
- * @template {UnistNode} Tree
39
- * All node types in a tree.
40
- * @template {UnistNode} Child
41
- * Node to search for.
42
- */
43
- /**
44
- * @callback Visitor
45
- * Handle a node (matching `test`, if given) before its children.
46
- *
47
- * Like `Visitor` in `unist-util-visit-parents`,
48
- * but with `index` and `parent` instead of `parents`.
49
- * @param {Visited} node
50
- * Found node.
51
- * @param {Visited extends UnistNode ? number | undefined : never} index
52
- * Index of `node` in `parent`,
53
- * or `undefined` for the tree itself.
54
- * @param {Ancestor extends UnistParent ? Ancestor | undefined : never} parent
55
- * Parent of `node`,
56
- * or `undefined` for the tree itself.
57
- * @returns {VisitorResult}
58
- * What to do next.
59
- * @template {UnistNode} [Visited=UnistNode]
60
- * Visited node type.
61
- * @template {UnistParent} [Ancestor=UnistParent]
62
- * Ancestor type.
63
- */
64
- /**
65
- * @callback VisitorExit
66
- * Handle a node (matching `test`, if given) after its children.
67
- *
68
- * Like `VisitorExit` in `unist-util-visit-parents`,
69
- * but with `index` and `parent` instead of `parents`.
70
- * @param {Visited} node
71
- * Found node.
72
- * @param {Visited extends UnistNode ? number | undefined : never} index
73
- * Index of `node` in `parent`,
74
- * or `undefined` for the tree itself.
75
- * @param {Ancestor extends UnistParent ? Ancestor | undefined : never} parent
76
- * Parent of `node`,
77
- * or `undefined` for the tree itself.
78
- * @returns {VisitorResultExit}
79
- * What to do next.
80
- * @template {UnistNode} [Visited=UnistNode]
81
- * Visited node type.
82
- * @template {UnistParent} [Ancestor=UnistParent]
83
- * Ancestor type.
84
- */
85
- /**
86
- * @template {UnistNode} [Visited=UnistNode]
87
- * Visited node type.
88
- * @template {UnistParent} [Ancestor=UnistParent]
89
- * Ancestor type.
90
- * @typedef Visitors
91
- * Handle nodes when entering and exiting them.
92
- *
93
- * Like `Visitors` in `unist-util-visit-parents`.
94
- * @property {Visitor<Visited, Ancestor> | null | undefined} [enter]
95
- * Handle a node before its children (optional).
96
- * @property {VisitorExit<Visited, Ancestor>} exit
97
- * Handle a node after its children.
98
- */
99
- /**
100
- * @typedef {Visitor<Visited, Parent<Ancestor, Visited>>} BuildVisitorFromMatch
101
- * Build a typed `Visitor` function from a node and all possible parents.
102
- *
103
- * It will infer which values are passed as `node` and which as `parent`.
104
- * @template {UnistNode} Visited
105
- * Node type.
106
- * @template {UnistParent} Ancestor
107
- * Parent type.
108
- */
109
- /**
110
- * @typedef {(
111
- * BuildVisitorFromMatch<
112
- * Matches<Descendant, Check>,
113
- * Extract<Descendant, UnistParent>
114
- * >
115
- * )} BuildVisitorFromDescendants
116
- * Build a typed `Visitor` function from a list of descendants and a test.
117
- *
118
- * It will infer which values are passed as `node` and which as `parent`.
119
- * @template {UnistNode} Descendant
120
- * Node type.
121
- * @template {Test} Check
122
- * Test type.
123
- */
124
- /**
125
- * @typedef {(
126
- * BuildVisitorFromDescendants<
127
- * InclusiveDescendant<Tree>,
128
- * Check
129
- * >
130
- * )} BuildVisitor
131
- * Build a typed `Visitor` function from a tree and a test.
132
- *
133
- * It will infer which values are passed as `node` and which as `parent`.
134
- * @template {UnistNode} [Tree=UnistNode]
135
- * Node type.
136
- * @template {Test} [Check=Test]
137
- * Test type.
138
- */
139
- /**
140
- * @typedef {(
141
- * Visitors<
142
- * Matches<InclusiveDescendant<Tree>, Check>,
143
- * Parent<
144
- * Extract<InclusiveDescendant<Tree>, UnistParent>,
145
- * Matches<InclusiveDescendant<Tree>, Check>
146
- * >
147
- * >
148
- * )} BuildVisitors
149
- * Build typed `Visitors` from a tree and a test.
150
- *
151
- * It will infer which values are passed as `node` and which as `parent`.
152
- * @template {UnistNode} [Tree=UnistNode]
153
- * Node type.
154
- * @template {Test} [Check=Test]
155
- * Test type.
156
- */
157
- /**
158
- * Visit nodes.
159
- *
160
- * This algorithm performs *depth-first* *tree traversal* in *preorder*
161
- * (**NLR**) or if `reverse` is given,
162
- * in *reverse preorder* (**NRL**).
163
- * An `exit` visitor is called in *postorder* (**LRN**)
164
- * or if `reverse` is given, in *reverse postorder* (**RLN**).
165
- *
166
- * You can choose which nodes are visited by passing a `test`.
167
- * For complex tests, you should test yourself in a visitor, as it will be
168
- * faster and will have improved type information.
169
- *
170
- * Walking the tree is an intensive task.
171
- * Make use of the return values of the visitor when possible.
172
- * Instead of walking a tree multiple times, walk it once, use `unist-util-is`
173
- * to check if a node matches, and then perform different operations.
174
- *
175
- * You can change the tree.
176
- * Changes inside a node made when entering it are walked,
177
- * changes made when exiting it are not.
178
- * See `Visitor` and `VisitorExit` for more info.
179
- *
180
- * @overload
181
- * @param {Tree} tree
182
- * Tree to traverse.
183
- * @param {Check} check
184
- * `unist-util-is`-compatible test.
185
- * @param {BuildVisitor<Tree, Check> | BuildVisitors<Tree, Check>} visitors
186
- * Handle each node when entering it,
187
- * or `{enter, exit}` to also handle it when exiting it.
188
- * @param {boolean | null | undefined} [reverse]
189
- * Walk children from last to first;
190
- * for `enter`, reverse preorder (NRL) instead of preorder (NLR);
191
- * for `exit`, reverse postorder (RLN) instead of postorder (LRN).
192
- * @returns {undefined}
193
- * Nothing.
194
- *
195
- * @overload
196
- * @param {Tree} tree
197
- * Tree to traverse.
198
- * @param {BuildVisitor<Tree> | BuildVisitors<Tree>} visitors
199
- * Handle each node when entering it,
200
- * or `{enter, exit}` to also handle it when exiting it.
201
- * @param {boolean | null | undefined} [reverse]
202
- * Walk children from last to first;
203
- * for `enter`, reverse preorder (NRL) instead of preorder (NLR);
204
- * for `exit`, reverse postorder (RLN) instead of postorder (LRN).
205
- * @returns {undefined}
206
- * Nothing.
207
- *
208
- * @param {UnistNode} tree
209
- * Tree to traverse.
210
- * @param {Visitor | Visitors | Test} testOrEnterOrVisitors
211
- * `unist-util-is`-compatible test, `enter`, or `visitors`.
212
- * @param {Visitor | Visitors | boolean | null | undefined} [enterOrVisitorsOrReverse]
213
- * `enter`, `visitors`, or `reverse` after a test.
214
- * @param {boolean | null | undefined} [maybeReverse]
215
- * Walk children from last to first;
216
- * for `enter`, reverse preorder (NRL) instead of preorder (NLR);
217
- * for `exit`, reverse postorder (RLN) instead of postorder (LRN).
218
- * @returns {undefined}
219
- * Nothing.
220
- *
221
- * @template {UnistNode} Tree
222
- * Node type.
223
- * @template {Test} Check
224
- * `unist-util-is`-compatible test.
225
- */
226
- function visit(tree, testOrEnterOrVisitors, enterOrVisitorsOrReverse, maybeReverse) {
227
- /** @type {Test} */
228
- let check;
229
- /** @type {Visitor | Visitors} */
230
- let visitors;
231
- /** @type {boolean | null | undefined} */
232
- let reverse;
233
- if (typeof enterOrVisitorsOrReverse === "function" || enterOrVisitorsOrReverse && typeof enterOrVisitorsOrReverse === "object") {
234
- check = testOrEnterOrVisitors;
235
- visitors = enterOrVisitorsOrReverse;
236
- reverse = maybeReverse;
237
- } else {
238
- visitors = testOrEnterOrVisitors;
239
- reverse = enterOrVisitorsOrReverse;
240
- }
241
- if (typeof visitors === "function") visitParents(tree, check, wrap(visitors), reverse);
242
- else visitParents(tree, check, wrapVisitors(visitors), reverse);
243
- }
244
- /**
245
- * Turn `visit` visitors into `visitParents` visitors.
246
- *
247
- * @param {Visitors} visitors
248
- * Visitors for `visit`.
249
- * @returns {ParentsVisitors}
250
- * Visitors for `visitParents`.
251
- */
252
- function wrapVisitors(visitors) {
253
- if (!visitors || typeof visitors !== "object") return visitors;
254
- return {
255
- enter: typeof visitors.enter === "function" ? wrap(visitors.enter) : visitors.enter,
256
- exit: typeof visitors.exit === "function" ? wrap(visitors.exit) : visitors.exit
257
- };
258
- }
259
- /**
260
- * Turn a `visit` visitor into a `visitParents` one.
261
- *
262
- * @template {VisitorResult} Result
263
- * Result type.
264
- * @param {(node: UnistNode, index: number | undefined, parent: UnistParent | undefined) => Result} visitor
265
- * Visitor for `visit`.
266
- * @returns {(node: UnistNode, parents: Array<UnistParent>, index: number | undefined) => Result}
267
- * Visitor for `visitParents`.
268
- */
269
- function wrap(visitor) {
270
- return overload;
271
- /**
272
- * Call `visitor` with `index` and `parent` instead of `parents`.
273
- *
274
- * @param {UnistNode} node
275
- * Visited node.
276
- * @param {Array<UnistParent>} parents
277
- * Ancestors of `node`.
278
- * @param {number | undefined} index
279
- * Index of `node` in its parent.
280
- * @returns {Result}
281
- * What to do next.
282
- */
283
- function overload(node, parents, index) {
284
- return visitor(node, index, parents[parents.length - 1]);
285
- }
286
- }
287
- export { SKIP, visit };
288
-
289
- //# sourceMappingURL=index.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.mjs","names":[],"sources":["../../../../../../../node_modules/.pnpm/unist-util-visit@5.2.0/node_modules/unist-util-visit/lib/index.js"],"sourcesContent":["/**\n * @import {Node as UnistNode, Parent as UnistParent} from 'unist'\n * @import {\n * InclusiveDescendant,\n * Matches,\n * Visitors as ParentsVisitors,\n * VisitorResult,\n * VisitorResultExit\n * } from 'unist-util-visit-parents'\n */\n\n/**\n * @typedef {Exclude<import('unist-util-is').Test, undefined> | undefined} Test\n * Test from `unist-util-is`.\n *\n * Note: we have remove and add `undefined`, because otherwise when generating\n * automatic `.d.ts` files, TS tries to flatten paths from a local perspective,\n * which doesn’t work when publishing on npm.\n */\n\n/**\n * @typedef {(\n * Node extends UnistParent\n * ? Node extends {children: Array<infer Children>}\n * ? Child extends Children ? Node : never\n * : never\n * : never\n * )} InternalParent\n * Collect nodes that can be parents of `Child`.\n * @template {UnistNode} Node\n * All node types in a tree.\n * @template {UnistNode} Child\n * Node to search for.\n */\n\n/**\n * @typedef {InternalParent<InclusiveDescendant<Tree>, Child>} Parent\n * Collect nodes in `Tree` that can be parents of `Child`.\n * @template {UnistNode} Tree\n * All node types in a tree.\n * @template {UnistNode} Child\n * Node to search for.\n */\n\n/**\n * @callback Visitor\n * Handle a node (matching `test`, if given) before its children.\n *\n * Like `Visitor` in `unist-util-visit-parents`,\n * but with `index` and `parent` instead of `parents`.\n * @param {Visited} node\n * Found node.\n * @param {Visited extends UnistNode ? number | undefined : never} index\n * Index of `node` in `parent`,\n * or `undefined` for the tree itself.\n * @param {Ancestor extends UnistParent ? Ancestor | undefined : never} parent\n * Parent of `node`,\n * or `undefined` for the tree itself.\n * @returns {VisitorResult}\n * What to do next.\n * @template {UnistNode} [Visited=UnistNode]\n * Visited node type.\n * @template {UnistParent} [Ancestor=UnistParent]\n * Ancestor type.\n */\n\n/**\n * @callback VisitorExit\n * Handle a node (matching `test`, if given) after its children.\n *\n * Like `VisitorExit` in `unist-util-visit-parents`,\n * but with `index` and `parent` instead of `parents`.\n * @param {Visited} node\n * Found node.\n * @param {Visited extends UnistNode ? number | undefined : never} index\n * Index of `node` in `parent`,\n * or `undefined` for the tree itself.\n * @param {Ancestor extends UnistParent ? Ancestor | undefined : never} parent\n * Parent of `node`,\n * or `undefined` for the tree itself.\n * @returns {VisitorResultExit}\n * What to do next.\n * @template {UnistNode} [Visited=UnistNode]\n * Visited node type.\n * @template {UnistParent} [Ancestor=UnistParent]\n * Ancestor type.\n */\n\n/**\n * @template {UnistNode} [Visited=UnistNode]\n * Visited node type.\n * @template {UnistParent} [Ancestor=UnistParent]\n * Ancestor type.\n * @typedef Visitors\n * Handle nodes when entering and exiting them.\n *\n * Like `Visitors` in `unist-util-visit-parents`.\n * @property {Visitor<Visited, Ancestor> | null | undefined} [enter]\n * Handle a node before its children (optional).\n * @property {VisitorExit<Visited, Ancestor>} exit\n * Handle a node after its children.\n */\n\n/**\n * @typedef {Visitor<Visited, Parent<Ancestor, Visited>>} BuildVisitorFromMatch\n * Build a typed `Visitor` function from a node and all possible parents.\n *\n * It will infer which values are passed as `node` and which as `parent`.\n * @template {UnistNode} Visited\n * Node type.\n * @template {UnistParent} Ancestor\n * Parent type.\n */\n\n/**\n * @typedef {(\n * BuildVisitorFromMatch<\n * Matches<Descendant, Check>,\n * Extract<Descendant, UnistParent>\n * >\n * )} BuildVisitorFromDescendants\n * Build a typed `Visitor` function from a list of descendants and a test.\n *\n * It will infer which values are passed as `node` and which as `parent`.\n * @template {UnistNode} Descendant\n * Node type.\n * @template {Test} Check\n * Test type.\n */\n\n/**\n * @typedef {(\n * BuildVisitorFromDescendants<\n * InclusiveDescendant<Tree>,\n * Check\n * >\n * )} BuildVisitor\n * Build a typed `Visitor` function from a tree and a test.\n *\n * It will infer which values are passed as `node` and which as `parent`.\n * @template {UnistNode} [Tree=UnistNode]\n * Node type.\n * @template {Test} [Check=Test]\n * Test type.\n */\n\n/**\n * @typedef {(\n * Visitors<\n * Matches<InclusiveDescendant<Tree>, Check>,\n * Parent<\n * Extract<InclusiveDescendant<Tree>, UnistParent>,\n * Matches<InclusiveDescendant<Tree>, Check>\n * >\n * >\n * )} BuildVisitors\n * Build typed `Visitors` from a tree and a test.\n *\n * It will infer which values are passed as `node` and which as `parent`.\n * @template {UnistNode} [Tree=UnistNode]\n * Node type.\n * @template {Test} [Check=Test]\n * Test type.\n */\n\nimport {visitParents} from 'unist-util-visit-parents'\n\nexport {CONTINUE, EXIT, SKIP} from 'unist-util-visit-parents'\n\n/**\n * Visit nodes.\n *\n * This algorithm performs *depth-first* *tree traversal* in *preorder*\n * (**NLR**) or if `reverse` is given,\n * in *reverse preorder* (**NRL**).\n * An `exit` visitor is called in *postorder* (**LRN**)\n * or if `reverse` is given, in *reverse postorder* (**RLN**).\n *\n * You can choose which nodes are visited by passing a `test`.\n * For complex tests, you should test yourself in a visitor, as it will be\n * faster and will have improved type information.\n *\n * Walking the tree is an intensive task.\n * Make use of the return values of the visitor when possible.\n * Instead of walking a tree multiple times, walk it once, use `unist-util-is`\n * to check if a node matches, and then perform different operations.\n *\n * You can change the tree.\n * Changes inside a node made when entering it are walked,\n * changes made when exiting it are not.\n * See `Visitor` and `VisitorExit` for more info.\n *\n * @overload\n * @param {Tree} tree\n * Tree to traverse.\n * @param {Check} check\n * `unist-util-is`-compatible test.\n * @param {BuildVisitor<Tree, Check> | BuildVisitors<Tree, Check>} visitors\n * Handle each node when entering it,\n * or `{enter, exit}` to also handle it when exiting it.\n * @param {boolean | null | undefined} [reverse]\n * Walk children from last to first;\n * for `enter`, reverse preorder (NRL) instead of preorder (NLR);\n * for `exit`, reverse postorder (RLN) instead of postorder (LRN).\n * @returns {undefined}\n * Nothing.\n *\n * @overload\n * @param {Tree} tree\n * Tree to traverse.\n * @param {BuildVisitor<Tree> | BuildVisitors<Tree>} visitors\n * Handle each node when entering it,\n * or `{enter, exit}` to also handle it when exiting it.\n * @param {boolean | null | undefined} [reverse]\n * Walk children from last to first;\n * for `enter`, reverse preorder (NRL) instead of preorder (NLR);\n * for `exit`, reverse postorder (RLN) instead of postorder (LRN).\n * @returns {undefined}\n * Nothing.\n *\n * @param {UnistNode} tree\n * Tree to traverse.\n * @param {Visitor | Visitors | Test} testOrEnterOrVisitors\n * `unist-util-is`-compatible test, `enter`, or `visitors`.\n * @param {Visitor | Visitors | boolean | null | undefined} [enterOrVisitorsOrReverse]\n * `enter`, `visitors`, or `reverse` after a test.\n * @param {boolean | null | undefined} [maybeReverse]\n * Walk children from last to first;\n * for `enter`, reverse preorder (NRL) instead of preorder (NLR);\n * for `exit`, reverse postorder (RLN) instead of postorder (LRN).\n * @returns {undefined}\n * Nothing.\n *\n * @template {UnistNode} Tree\n * Node type.\n * @template {Test} Check\n * `unist-util-is`-compatible test.\n */\nexport function visit(\n tree,\n testOrEnterOrVisitors,\n enterOrVisitorsOrReverse,\n maybeReverse\n) {\n /** @type {Test} */\n let check\n /** @type {Visitor | Visitors} */\n let visitors\n /** @type {boolean | null | undefined} */\n let reverse\n\n // Third parameter is an enter visitor or a visitors object, so expect a `test` too.\n if (\n typeof enterOrVisitorsOrReverse === 'function' ||\n (enterOrVisitorsOrReverse && typeof enterOrVisitorsOrReverse === 'object')\n ) {\n check = /** @type {Test} */ (testOrEnterOrVisitors)\n visitors = enterOrVisitorsOrReverse\n reverse = maybeReverse\n }\n // Assume no test.\n else {\n visitors = /** @type {Visitor | Visitors} */ (testOrEnterOrVisitors)\n reverse = enterOrVisitorsOrReverse\n }\n\n if (typeof visitors === 'function') {\n visitParents(tree, check, wrap(visitors), reverse)\n } else {\n visitParents(tree, check, wrapVisitors(visitors), reverse)\n }\n}\n\n/**\n * Turn `visit` visitors into `visitParents` visitors.\n *\n * @param {Visitors} visitors\n * Visitors for `visit`.\n * @returns {ParentsVisitors}\n * Visitors for `visitParents`.\n */\nfunction wrapVisitors(visitors) {\n // Pass anything else straight to `visitParents` to get its errors.\n if (!visitors || typeof visitors !== 'object') return visitors\n\n return {\n enter:\n typeof visitors.enter === 'function'\n ? wrap(visitors.enter)\n : visitors.enter,\n exit:\n typeof visitors.exit === 'function' ? wrap(visitors.exit) : visitors.exit\n }\n}\n\n/**\n * Turn a `visit` visitor into a `visitParents` one.\n *\n * @template {VisitorResult} Result\n * Result type.\n * @param {(node: UnistNode, index: number | undefined, parent: UnistParent | undefined) => Result} visitor\n * Visitor for `visit`.\n * @returns {(node: UnistNode, parents: Array<UnistParent>, index: number | undefined) => Result}\n * Visitor for `visitParents`.\n */\nfunction wrap(visitor) {\n return overload\n\n /**\n * Call `visitor` with `index` and `parent` instead of `parents`.\n *\n * @param {UnistNode} node\n * Visited node.\n * @param {Array<UnistParent>} parents\n * Ancestors of `node`.\n * @param {number | undefined} index\n * Index of `node` in its parent.\n * @returns {Result}\n * What to do next.\n */\n function overload(node, parents, index) {\n return visitor(node, index, parents[parents.length - 1])\n }\n}\n"],"ignoreList":[0],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8OA,SAAgB,MACd,MACA,uBACA,0BACA,cACA;;CAEA,IAAI;;CAEJ,IAAI;;CAEJ,IAAI;CAGJ,IACE,OAAO,6BAA6B,cACnC,4BAA4B,OAAO,6BAA6B,UACjE;EACA,QAA6B;EAC7B,WAAW;EACX,UAAU;CACZ,OAEK;EACH,WAA8C;EAC9C,UAAU;CACZ;CAEA,IAAI,OAAO,aAAa,YACtB,aAAa,MAAM,OAAO,KAAK,QAAQ,GAAG,OAAO;MAEjD,aAAa,MAAM,OAAO,aAAa,QAAQ,GAAG,OAAO;AAE7D;;;;;;;;;AAUA,SAAS,aAAa,UAAU;CAE9B,IAAI,CAAC,YAAY,OAAO,aAAa,UAAU,OAAO;CAEtD,OAAO;EACL,OACE,OAAO,SAAS,UAAU,aACtB,KAAK,SAAS,KAAK,IACnB,SAAS;EACf,MACE,OAAO,SAAS,SAAS,aAAa,KAAK,SAAS,IAAI,IAAI,SAAS;CACzE;AACF;;;;;;;;;;;AAYA,SAAS,KAAK,SAAS;CACrB,OAAO;;;;;;;;;;;;;CAcP,SAAS,SAAS,MAAM,SAAS,OAAO;EACtC,OAAO,QAAQ,MAAM,OAAO,QAAQ,QAAQ,SAAS,EAAE;CACzD;AACF"}