@lobehub/ui 6.10.2 → 6.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (805) hide show
  1. package/es/Accordion/Accordion.mjs +1 -1
  2. package/es/Accordion/atoms.mjs +2 -2
  3. package/es/Accordion/index.d.mts +2 -2
  4. package/es/Accordion/index.mjs +1 -1
  5. package/es/Accordion/style.d.mts +9 -9
  6. package/es/Accordion/style.mjs +26 -1
  7. package/es/Accordion/style.mjs.map +1 -1
  8. package/es/ActionIcon/ActionIcon.mjs +2 -2
  9. package/es/ActionIcon/index.d.mts +1 -1
  10. package/es/ActionIcon/index.mjs +1 -1
  11. package/es/ActionIcon/style.d.mts +13 -40
  12. package/es/ActionIcon/style.mjs +12 -2
  13. package/es/ActionIcon/style.mjs.map +1 -1
  14. package/es/ActionIconGroup/ActionIconGroup.mjs +4 -4
  15. package/es/ActionIconGroup/index.d.mts +1 -1
  16. package/es/ActionIconGroup/type.d.mts +4 -4
  17. package/es/AgentAvatar/AgentAvatar.mjs +1 -1
  18. package/es/AgentAvatar/index.d.mts +1 -1
  19. package/es/AgentAvatar/index.mjs +1 -1
  20. package/es/AgentAvatar/utils.mjs +1 -1
  21. package/es/Alert/Alert.mjs +2 -2
  22. package/es/Alert/index.d.mts +1 -1
  23. package/es/Alert/index.mjs +1 -1
  24. package/es/Alert/style.d.mts +36 -232
  25. package/es/Alert/style.mjs +35 -2
  26. package/es/Alert/style.mjs.map +1 -1
  27. package/es/Anchor/Anchor.mjs +2 -2
  28. package/es/Anchor/index.d.mts +1 -1
  29. package/es/AutoComplete/AutoComplete.mjs +3 -3
  30. package/es/AutoComplete/index.d.mts +1 -1
  31. package/es/AutoComplete/index.mjs +1 -1
  32. package/es/AutoComplete/style.d.mts +1 -1
  33. package/es/Avatar/Avatar.mjs +5 -5
  34. package/es/Avatar/AvatarGroup/index.mjs +5 -4
  35. package/es/Avatar/AvatarGroup/index.mjs.map +1 -1
  36. package/es/Avatar/index.d.mts +1 -1
  37. package/es/Avatar/type.d.mts +4 -0
  38. package/es/Badge/Badge.mjs +1 -1
  39. package/es/Badge/index.d.mts +1 -1
  40. package/es/Block/Block.mjs +2 -2
  41. package/es/Block/index.d.mts +1 -1
  42. package/es/Breadcrumb/Breadcrumb.mjs +1 -1
  43. package/es/Breadcrumb/index.d.mts +1 -1
  44. package/es/Burger/Burger.mjs +2 -2
  45. package/es/Burger/index.d.mts +1 -1
  46. package/es/Button/Button.mjs +3 -3
  47. package/es/Button/SplitButton.mjs +3 -3
  48. package/es/Button/index.d.mts +1 -1
  49. package/es/Button/index.mjs +1 -1
  50. package/es/Button/style.d.mts +37 -204
  51. package/es/Button/style.mjs +36 -2
  52. package/es/Button/style.mjs.map +1 -1
  53. package/es/Carousel/Carousel.mjs +2 -2
  54. package/es/Carousel/index.d.mts +1 -1
  55. package/es/Checkbox/Checkbox.mjs +2 -2
  56. package/es/Checkbox/CheckboxGroup.mjs +2 -2
  57. package/es/Checkbox/index.d.mts +1 -1
  58. package/es/Checkbox/index.mjs +1 -1
  59. package/es/Checkbox/style.d.mts +13 -58
  60. package/es/Checkbox/style.mjs +12 -2
  61. package/es/Checkbox/style.mjs.map +1 -1
  62. package/es/Checkbox/type.d.mts +2 -2
  63. package/es/CodeDiff/DiffPanel.mjs +4 -4
  64. package/es/CodeDiff/index.d.mts +1 -1
  65. package/es/CodeDiff/theme.mjs +1 -1
  66. package/es/CodeEditor/CodeEditor.mjs +3 -3
  67. package/es/CodeEditor/index.d.mts +1 -1
  68. package/es/Collapsible/Collapsible.mjs +1 -1
  69. package/es/Collapsible/index.d.mts +1 -1
  70. package/es/ColorPicker/ColorInputs.mjs +1 -1
  71. package/es/ColorPicker/ColorPanel.mjs +4 -4
  72. package/es/ColorPicker/ColorPicker.mjs +4 -4
  73. package/es/ColorPicker/Swatches.mjs +1 -1
  74. package/es/ColorPicker/Trigger.mjs +4 -4
  75. package/es/ColorPicker/index.d.mts +1 -1
  76. package/es/ColorSwatches/ColorSwatches.mjs +7 -7
  77. package/es/ColorSwatches/CustomPicker.mjs +2 -2
  78. package/es/ColorSwatches/index.d.mts +1 -1
  79. package/es/ContextMenu/ContextMenuHost.mjs +8 -9
  80. package/es/ContextMenu/ContextMenuHost.mjs.map +1 -1
  81. package/es/ContextMenu/index.d.mts +2 -2
  82. package/es/ContextMenu/renderItems.mjs +20 -21
  83. package/es/ContextMenu/renderItems.mjs.map +1 -1
  84. package/es/ContextMenu/store.d.mts +3 -3
  85. package/es/CopyButton/index.d.mts +1 -1
  86. package/es/DatePicker/core/PickerInput/Popup/Footer.mjs +2 -2
  87. package/es/DatePicker/core/PickerInput/Popup/PopupPanel.mjs +2 -2
  88. package/es/DatePicker/core/PickerInput/Popup/index.mjs +1 -1
  89. package/es/DatePicker/core/PickerInput/RangePicker.mjs +1 -1
  90. package/es/DatePicker/core/PickerInput/Selector/Icon.mjs +1 -1
  91. package/es/DatePicker/core/PickerInput/Selector/Input.mjs +2 -2
  92. package/es/DatePicker/core/PickerInput/Selector/RangeSelector.mjs +1 -1
  93. package/es/DatePicker/core/PickerInput/Selector/SingleSelector/index.mjs +1 -1
  94. package/es/DatePicker/core/PickerInput/SinglePicker.mjs +3 -3
  95. package/es/DatePicker/core/PickerInput/hooks/useFilledProps.mjs +2 -2
  96. package/es/DatePicker/core/PickerInput/hooks/useRangeValue.mjs +1 -1
  97. package/es/DatePicker/core/PickerPanel/DateTimePanel/index.mjs +1 -1
  98. package/es/DatePicker/core/PickerPanel/TimePanel/TimeClock/index.mjs +1 -1
  99. package/es/DatePicker/core/PickerPanel/TimePanel/TimePanelBody/index.mjs +1 -1
  100. package/es/DatePicker/core/PickerPanel/TimePanel/TimePanelBody/useTimeState.mjs +1 -1
  101. package/es/DatePicker/core/PickerPanel/index.mjs +5 -5
  102. package/es/DatePicker/core/PickerPopup.mjs +1 -1
  103. package/es/DatePicker/core/hooks/useTimeInfo.mjs +1 -1
  104. package/es/DatePicker/index.d.mts +1 -1
  105. package/es/DatePicker/index.mjs +2 -2
  106. package/es/DatePicker/legacyDate.mjs +1 -1
  107. package/es/DatePicker/locale.d.mts +1 -1
  108. package/es/DatePicker/locale.mjs +1 -1
  109. package/es/DatePicker/type.d.mts +2 -2
  110. package/es/DatePicker/usePickerShared.mjs +4 -4
  111. package/es/Descriptions/Descriptions.mjs +1 -1
  112. package/es/Descriptions/index.d.mts +1 -1
  113. package/es/Divider/Divider.mjs +1 -1
  114. package/es/Divider/index.d.mts +1 -1
  115. package/es/DownloadButton/index.d.mts +1 -1
  116. package/es/DraggablePanel/DraggablePanel.mjs +1 -1
  117. package/es/DraggablePanel/atoms.mjs +4 -4
  118. package/es/DraggablePanel/index.d.mts +1 -1
  119. package/es/DraggablePanel/index.mjs +1 -1
  120. package/es/DraggableSideNav/DraggableSideNav.mjs +4 -4
  121. package/es/DraggableSideNav/index.d.mts +1 -1
  122. package/es/Drawer/Drawer.mjs +3 -3
  123. package/es/Drawer/atoms.mjs +3 -3
  124. package/es/Drawer/index.d.mts +1 -1
  125. package/es/Drawer/index.mjs +2 -2
  126. package/es/DropdownMenu/DropdownMenu.mjs +2 -2
  127. package/es/DropdownMenu/atoms.d.mts +2 -2
  128. package/es/DropdownMenu/atoms.mjs +4 -4
  129. package/es/DropdownMenu/index.d.mts +2 -2
  130. package/es/DropdownMenu/index.mjs +1 -1
  131. package/es/DropdownMenu/renderItems.mjs +2 -2
  132. package/es/DropdownMenu/sharedStyle.d.mts +2 -3
  133. package/es/DropdownMenu/style.d.mts +24 -168
  134. package/es/DropdownMenu/style.mjs +24 -1
  135. package/es/DropdownMenu/style.mjs.map +1 -1
  136. package/es/DropdownMenu/type.d.mts +4 -4
  137. package/es/EditableText/ControlInput.mjs +1 -1
  138. package/es/EditableText/EditableText.mjs +4 -4
  139. package/es/EditableText/index.d.mts +1 -1
  140. package/es/EditableText/type.d.mts +1 -1
  141. package/es/EditorSlashMenu/EditorSlashMenu.mjs +1 -1
  142. package/es/EditorSlashMenu/index.d.mts +1 -1
  143. package/es/EmojiPicker/AvatarUploader.mjs +6 -6
  144. package/es/EmojiPicker/EmojiPicker.mjs +9 -9
  145. package/es/EmojiPicker/index.d.mts +1 -1
  146. package/es/EmojiPicker/type.d.mts +2 -2
  147. package/es/Empty/Empty.mjs +4 -4
  148. package/es/Empty/index.d.mts +1 -1
  149. package/es/Empty/type.d.mts +3 -3
  150. package/es/FileTypeIcon/FileTypeIcon.mjs +3 -3
  151. package/es/FileTypeIcon/components/FileIcon.mjs +1 -1
  152. package/es/FileTypeIcon/components/FolderIcon.mjs +1 -1
  153. package/es/FileTypeIcon/index.d.mts +1 -1
  154. package/es/Flex/index.d.mts +1 -1
  155. package/es/Flex/index.mjs +1 -1
  156. package/es/FloatingPanel/FloatingPanel.mjs +1 -1
  157. package/es/FloatingPanel/index.d.mts +1 -1
  158. package/es/FloatingSheet/FloatingSheet.mjs +3 -3
  159. package/es/FloatingSheet/index.d.mts +1 -1
  160. package/es/FluentEmoji/FluentEmoji.mjs +1 -1
  161. package/es/FluentEmoji/index.d.mts +1 -1
  162. package/es/FluentEmoji/type.d.mts +1 -1
  163. package/es/FocusScope/index.mjs +1 -1
  164. package/es/FocusScope/useScopeArrowNav.mjs +1 -1
  165. package/es/FocusScope/useScopeSwitcher.mjs +1 -1
  166. package/es/Form/Form.mjs +5 -5
  167. package/es/Form/components/FormField.mjs +1 -1
  168. package/es/Form/components/FormFlatGroup.mjs +1 -1
  169. package/es/Form/components/FormFooter.mjs +1 -1
  170. package/es/Form/components/FormGroup.mjs +3 -3
  171. package/es/Form/components/FormSubmitFooter.mjs +6 -6
  172. package/es/Form/components/FormTitle.mjs +1 -1
  173. package/es/Form/index.mjs +2 -2
  174. package/es/Form/type.d.mts +3 -3
  175. package/es/FormKit/Field.mjs +4 -4
  176. package/es/FormKit/Form.mjs +5 -5
  177. package/es/FormKit/List.mjs +3 -3
  178. package/es/FormKit/SubmitFooter.mjs +1 -1
  179. package/es/FormKit/index.d.mts +2 -2
  180. package/es/FormKit/index.mjs +2 -2
  181. package/es/FormKit/stable.mjs +1 -1
  182. package/es/Freeze/index.d.mts +1 -1
  183. package/es/Grid/Grid.mjs +1 -1
  184. package/es/Grid/index.d.mts +1 -1
  185. package/es/GroupAvatar/GroupAvatar.mjs +1 -1
  186. package/es/GroupAvatar/index.d.mts +1 -1
  187. package/es/GuideCard/GuideCard.mjs +4 -4
  188. package/es/GuideCard/index.d.mts +1 -1
  189. package/es/GuideCard/type.d.mts +2 -2
  190. package/es/Header/Header.mjs +1 -1
  191. package/es/Header/index.d.mts +1 -1
  192. package/es/Highlighter/FullFeatured.mjs +7 -7
  193. package/es/Highlighter/Highlighter.mjs +6 -6
  194. package/es/Highlighter/LangSelect.mjs +2 -2
  195. package/es/Highlighter/SyntaxHighlighter/StaticRenderer.mjs +1 -1
  196. package/es/Highlighter/SyntaxHighlighter/StreamRenderer.mjs +1 -1
  197. package/es/Highlighter/SyntaxHighlighter/index.mjs +1 -1
  198. package/es/Highlighter/index.d.mts +1 -1
  199. package/es/Highlighter/index.mjs +1 -1
  200. package/es/Highlighter/type.d.mts +2 -2
  201. package/es/Hotkey/Hotkey.mjs +5 -5
  202. package/es/Hotkey/index.d.mts +1 -1
  203. package/es/Hotkey/index.mjs +1 -1
  204. package/es/HotkeyInput/HotkeyInput.mjs +7 -7
  205. package/es/HotkeyInput/index.d.mts +1 -1
  206. package/es/HtmlPreview/HtmlPreview.mjs +9 -9
  207. package/es/HtmlPreview/Iframe.mjs +3 -3
  208. package/es/HtmlPreview/index.d.mts +1 -1
  209. package/es/HtmlPreview/index.mjs +2 -2
  210. package/es/HtmlPreview/type.d.mts +2 -2
  211. package/es/Icon/Icon.mjs +1 -1
  212. package/es/Icon/index.d.mts +1 -1
  213. package/es/Image/Image.mjs +4 -4
  214. package/es/Image/index.d.mts +1 -1
  215. package/es/Image/index.mjs +1 -1
  216. package/es/Image/useImagePreview.mjs +1 -1
  217. package/es/Image/viewer/GalleryNav.mjs +3 -3
  218. package/es/Image/viewer/ImageViewer.mjs +3 -3
  219. package/es/Image/viewer/PreviewOutlet.mjs +1 -1
  220. package/es/Image/viewer/Toolbar.mjs +8 -8
  221. package/es/Image/viewer/ViewerChrome.mjs +1 -1
  222. package/es/ImageSelect/ImageSelect.mjs +3 -3
  223. package/es/ImageSelect/index.d.mts +1 -1
  224. package/es/Input/ClearButton.mjs +2 -2
  225. package/es/Input/Input.mjs +4 -4
  226. package/es/Input/InputNumber.mjs +3 -3
  227. package/es/Input/InputOTP.mjs +2 -2
  228. package/es/Input/InputPassword.mjs +3 -3
  229. package/es/Input/TextArea.mjs +3 -3
  230. package/es/Input/index.d.mts +1 -1
  231. package/es/Input/index.mjs +1 -1
  232. package/es/Input/style.mjs +1 -1
  233. package/es/Layout/Layout.mjs +3 -3
  234. package/es/Layout/index.d.mts +1 -1
  235. package/es/List/List.d.mts +1 -1
  236. package/es/List/List.mjs +2 -2
  237. package/es/List/ListRow.mjs +3 -3
  238. package/es/List/index.d.mts +1 -1
  239. package/es/Markdown/Markdown.mjs +2 -2
  240. package/es/Markdown/SyntaxMarkdown/StreamdownRender.mjs +1 -1
  241. package/es/Markdown/components/Footnotes.mjs +1 -1
  242. package/es/Markdown/components/MarkdownTable/index.mjs +1 -1
  243. package/es/Markdown/components/SearchResultCards/SearchResultCard.mjs +1 -1
  244. package/es/Markdown/components/SearchResultCards/index.mjs +1 -1
  245. package/es/Markdown/index.d.mts +1 -1
  246. package/es/Markdown/index.mjs +1 -1
  247. package/es/Markdown/type.d.mts +5 -5
  248. package/es/MaskShadow/MaskShadow.mjs +2 -2
  249. package/es/MaskShadow/index.d.mts +1 -1
  250. package/es/MaterialFileTypeIcon/MaterialFileTypeIcon.mjs +1 -1
  251. package/es/MaterialFileTypeIcon/index.d.mts +1 -1
  252. package/es/Mermaid/FullFeatured.mjs +6 -6
  253. package/es/Mermaid/Mermaid.mjs +5 -5
  254. package/es/Mermaid/SyntaxMermaid/MermaidSvg.mjs +2 -2
  255. package/es/Mermaid/SyntaxMermaid/StaticMermaid.mjs +3 -3
  256. package/es/Mermaid/SyntaxMermaid/StreamMermaid.mjs +3 -3
  257. package/es/Mermaid/SyntaxMermaid/index.mjs +2 -2
  258. package/es/Mermaid/index.d.mts +2 -2
  259. package/es/Mermaid/index.mjs +1 -1
  260. package/es/Mermaid/type.d.mts +2 -2
  261. package/es/Modal/Modal.mjs +4 -4
  262. package/es/Modal/atoms.mjs +3 -3
  263. package/es/Modal/imperative.mjs +2 -2
  264. package/es/Modal/index.d.mts +1 -1
  265. package/es/Modal/index.mjs +1 -1
  266. package/es/Pagination/Pagination.mjs +3 -3
  267. package/es/Pagination/index.d.mts +1 -1
  268. package/es/Popover/PopoverGroup.mjs +3 -3
  269. package/es/Popover/PopoverInGroup.mjs +1 -1
  270. package/es/Popover/PopoverStandalone.mjs +3 -3
  271. package/es/Popover/atoms.mjs +3 -3
  272. package/es/Popover/index.d.mts +2 -2
  273. package/es/Popover/index.mjs +1 -1
  274. package/es/ProTable/ProTable.d.mts +1 -1
  275. package/es/ProTable/ProTable.mjs +3 -3
  276. package/es/ProTable/hooks/useProColumns.mjs +2 -2
  277. package/es/ProTable/index.d.mts +1 -1
  278. package/es/ProTable/parts/ColumnSetting.mjs +1 -1
  279. package/es/ProTable/parts/FieldControl.mjs +6 -6
  280. package/es/ProTable/parts/LightFilter.mjs +1 -1
  281. package/es/ProTable/parts/SearchForm.mjs +2 -2
  282. package/es/ProTable/parts/TableAlert.mjs +1 -1
  283. package/es/ProTable/parts/Toolbar.mjs +1 -1
  284. package/es/ProTable/parts/renderValue.mjs +1 -1
  285. package/es/ProTable/type.d.mts +2 -2
  286. package/es/Progress/Progress.mjs +3 -3
  287. package/es/Progress/index.d.mts +1 -1
  288. package/es/ProgressiveBlur/ProgressiveBlur.mjs +1 -1
  289. package/es/ProgressiveBlur/index.d.mts +1 -1
  290. package/es/QRCode/QRCode.mjs +5 -5
  291. package/es/QRCode/index.d.mts +1 -1
  292. package/es/Radio/Radio.mjs +1 -1
  293. package/es/Radio/RadioGroup.mjs +2 -2
  294. package/es/Radio/index.d.mts +1 -1
  295. package/es/Radio/index.mjs +1 -1
  296. package/es/Radio/style.d.mts +10 -52
  297. package/es/Radio/style.mjs +9 -2
  298. package/es/Radio/style.mjs.map +1 -1
  299. package/es/Radio/type.d.mts +2 -2
  300. package/es/Rate/Rate.mjs +2 -2
  301. package/es/Rate/index.d.mts +1 -1
  302. package/es/Result/Result.mjs +1 -1
  303. package/es/Result/index.d.mts +1 -1
  304. package/es/ScrollArea/atoms.mjs +1 -1
  305. package/es/ScrollArea/index.d.mts +1 -1
  306. package/es/ScrollShadow/ScrollShadow.mjs +2 -2
  307. package/es/ScrollShadow/index.d.mts +1 -1
  308. package/es/SearchBar/SearchBar.mjs +6 -6
  309. package/es/SearchBar/index.d.mts +1 -1
  310. package/es/Segmented/Segmented.mjs +1 -1
  311. package/es/Segmented/atoms.mjs +2 -2
  312. package/es/Segmented/index.d.mts +1 -1
  313. package/es/Select/Select.mjs +4 -4
  314. package/es/Select/atoms.mjs +4 -4
  315. package/es/Select/index.d.mts +1 -1
  316. package/es/Select/parts.mjs +4 -4
  317. package/es/Select/renderOptions.mjs +3 -3
  318. package/es/SideNav/SideNav.mjs +1 -1
  319. package/es/SideNav/index.d.mts +1 -1
  320. package/es/Skeleton/Skeleton.mjs +1 -1
  321. package/es/Skeleton/SkeletonAvatar.mjs +1 -1
  322. package/es/Skeleton/SkeletonText.mjs +2 -2
  323. package/es/Skeleton/index.d.mts +1 -1
  324. package/es/Slider/Slider.mjs +1 -1
  325. package/es/Slider/SliderWithInput.mjs +2 -2
  326. package/es/Slider/index.d.mts +1 -1
  327. package/es/Slider/index.mjs +1 -1
  328. package/es/Slider/style.d.mts +9 -48
  329. package/es/Slider/style.mjs +8 -2
  330. package/es/Slider/style.mjs.map +1 -1
  331. package/es/Snippet/Snippet.mjs +4 -4
  332. package/es/Snippet/index.d.mts +1 -1
  333. package/es/SortableList/SortableList.mjs +4 -4
  334. package/es/SortableList/components/SortableItem.mjs +2 -2
  335. package/es/SortableList/index.d.mts +1 -1
  336. package/es/Spin/Spin.mjs +3 -3
  337. package/es/Spin/index.d.mts +1 -1
  338. package/es/Statistic/Statistic.mjs +2 -2
  339. package/es/Statistic/index.d.mts +1 -1
  340. package/es/Steps/Steps.mjs +2 -2
  341. package/es/Steps/index.d.mts +1 -1
  342. package/es/Switch/Switch.mjs +3 -3
  343. package/es/Switch/atoms.d.mts +2 -20
  344. package/es/Switch/atoms.mjs +4 -11
  345. package/es/Switch/atoms.mjs.map +1 -1
  346. package/es/Switch/index.d.mts +3 -2
  347. package/es/Switch/index.mjs +2 -1
  348. package/es/Switch/style.d.mts +21 -0
  349. package/es/Switch/style.mjs +20 -1
  350. package/es/Switch/style.mjs.map +1 -1
  351. package/es/Table/Table.d.mts +1 -1
  352. package/es/Table/Table.mjs +6 -6
  353. package/es/Table/index.d.mts +2 -2
  354. package/es/Table/internal.d.mts +1 -1
  355. package/es/Table/pipeline/normalizeColumns.mjs +1 -1
  356. package/es/Table/pipeline/useTableLocale.mjs +1 -1
  357. package/es/Table/pipeline/useTableState.mjs +1 -1
  358. package/es/Table/render/Body.mjs +2 -2
  359. package/es/Table/render/BodyCell.mjs +1 -1
  360. package/es/Table/render/CellShell.mjs +1 -1
  361. package/es/Table/render/FilterDropdown.mjs +2 -2
  362. package/es/Table/render/FilterPanel.mjs +5 -5
  363. package/es/Table/render/Header.mjs +5 -5
  364. package/es/Table/render/SelectionCells.mjs +3 -3
  365. package/es/Table/render/Summary.d.mts +2 -2
  366. package/es/Table/render/TableView.mjs +3 -3
  367. package/es/Table/render/VirtualBody.mjs +2 -2
  368. package/es/Table/render/filterUtils.mjs +1 -1
  369. package/es/Table/type.d.mts +2 -2
  370. package/es/Table/useTableController.mjs +3 -3
  371. package/es/Tabs/Tabs.mjs +2 -2
  372. package/es/Tabs/atoms.mjs +1 -1
  373. package/es/Tabs/index.d.mts +2 -2
  374. package/es/Tabs/style.d.mts +4 -4
  375. package/es/Tabs/style.mjs +13 -1
  376. package/es/Tabs/style.mjs.map +1 -1
  377. package/es/Tag/Tag.mjs +2 -2
  378. package/es/Tag/index.d.mts +1 -1
  379. package/es/Tag/index.mjs +1 -1
  380. package/es/Text/Text.mjs +3 -3
  381. package/es/Text/index.d.mts +1 -1
  382. package/es/Text/style.d.mts +11 -11
  383. package/es/Text/style.mjs +21 -1
  384. package/es/Text/style.mjs.map +1 -1
  385. package/es/Toast/Toast.mjs +3 -3
  386. package/es/Toast/imperative.mjs +1 -1
  387. package/es/Toast/index.d.mts +1 -1
  388. package/es/ToggleGroup/ToggleGroup.mjs +1 -1
  389. package/es/ToggleGroup/atoms.d.mts +2 -3
  390. package/es/ToggleGroup/atoms.mjs +2 -4
  391. package/es/ToggleGroup/atoms.mjs.map +1 -1
  392. package/es/ToggleGroup/index.d.mts +3 -2
  393. package/es/ToggleGroup/index.mjs +2 -1
  394. package/es/ToggleGroup/style.d.mts +18 -94
  395. package/es/ToggleGroup/style.mjs +18 -1
  396. package/es/ToggleGroup/style.mjs.map +1 -1
  397. package/es/Tooltip/TooltipGroup.mjs +6 -6
  398. package/es/Tooltip/TooltipInGroup.mjs +1 -1
  399. package/es/Tooltip/TooltipStandalone.mjs +6 -6
  400. package/es/Tooltip/index.d.mts +1 -1
  401. package/es/Tree/Tree.mjs +4 -4
  402. package/es/Tree/TreeNode.mjs +4 -4
  403. package/es/Tree/index.d.mts +1 -1
  404. package/es/Tree/index.mjs +1 -1
  405. package/es/Upload/Upload.mjs +2 -2
  406. package/es/Video/Video.mjs +2 -2
  407. package/es/Video/index.d.mts +1 -1
  408. package/es/Video/index.mjs +2 -2
  409. package/es/Video/parts/CenterPlay.mjs +2 -2
  410. package/es/Video/parts/Controls.mjs +3 -3
  411. package/es/Video/parts/Frame.mjs +3 -3
  412. package/es/Video/parts/LoadError.mjs +2 -2
  413. package/es/Video/parts/RateMenu.mjs +3 -3
  414. package/es/Video/parts/Root.mjs +3 -3
  415. package/es/Video/parts/SectionMenu.mjs +3 -3
  416. package/es/Video/parts/Timeline.mjs +2 -2
  417. package/es/awesome/AgentSkillCard/AgentSkillCard.mjs +3 -3
  418. package/es/awesome/AgentSkillCard/index.d.mts +1 -1
  419. package/es/awesome/AuroraBackground/AuroraBackground.mjs +1 -1
  420. package/es/awesome/AuroraBackground/index.d.mts +1 -1
  421. package/es/awesome/BentoGrid/BentoCard.mjs +1 -1
  422. package/es/awesome/BentoGrid/index.d.mts +1 -1
  423. package/es/awesome/BentoGrid/type.d.mts +1 -1
  424. package/es/awesome/BottomGradientButton/index.d.mts +1 -1
  425. package/es/awesome/CodeShowcase/CodeShowcase.mjs +1 -1
  426. package/es/awesome/CodeShowcase/index.d.mts +1 -1
  427. package/es/awesome/FeatureGrid/FeatureGrid.mjs +2 -2
  428. package/es/awesome/FeatureGrid/index.d.mts +1 -1
  429. package/es/awesome/FeatureGrid/type.d.mts +2 -2
  430. package/es/awesome/Features/FeatureItem.mjs +3 -3
  431. package/es/awesome/Features/Features.mjs +1 -1
  432. package/es/awesome/Features/index.d.mts +1 -1
  433. package/es/awesome/Features/type.d.mts +2 -2
  434. package/es/awesome/FluidGradient/FluidGradient.mjs +1 -1
  435. package/es/awesome/FluidGradient/index.d.mts +1 -1
  436. package/es/awesome/FluidGradient/type.d.mts +1 -1
  437. package/es/awesome/Giscus/index.d.mts +1 -1
  438. package/es/awesome/Giscus/style.mjs +1 -1
  439. package/es/awesome/GradientButton/GradientButton.mjs +2 -2
  440. package/es/awesome/GradientButton/index.d.mts +1 -1
  441. package/es/awesome/Grainient/index.d.mts +1 -1
  442. package/es/awesome/GridBackground/GridBackground.mjs +4 -4
  443. package/es/awesome/GridBackground/GridShowcase.mjs +4 -4
  444. package/es/awesome/GridBackground/index.d.mts +1 -1
  445. package/es/awesome/Hero/Hero.mjs +6 -6
  446. package/es/awesome/Hero/index.d.mts +1 -1
  447. package/es/awesome/InstallBanner/InstallBanner.mjs +1 -1
  448. package/es/awesome/InstallBanner/index.d.mts +1 -1
  449. package/es/awesome/LandingHero/LandingHero.mjs +1 -1
  450. package/es/awesome/LandingHero/index.d.mts +1 -1
  451. package/es/awesome/LandingHero/type.d.mts +2 -2
  452. package/es/awesome/LandingSection/LandingSection.mjs +1 -1
  453. package/es/awesome/LandingSection/index.d.mts +1 -1
  454. package/es/awesome/LandingSection/type.d.mts +2 -2
  455. package/es/awesome/LogoMarquee/LogoMarquee.mjs +1 -1
  456. package/es/awesome/LogoMarquee/index.d.mts +1 -1
  457. package/es/awesome/Spotlight/Spotlight.mjs +1 -1
  458. package/es/awesome/Spotlight/index.d.mts +1 -1
  459. package/es/awesome/SpotlightCard/SpotlightCard.mjs +2 -2
  460. package/es/awesome/SpotlightCard/SpotlightCardItem.mjs +1 -1
  461. package/es/awesome/SpotlightCard/index.d.mts +1 -1
  462. package/es/awesome/index.d.mts +20 -20
  463. package/es/awesome/index.mjs +4 -4
  464. package/es/awesome/landingActions.d.mts +2 -2
  465. package/es/awesome/landingActions.mjs +3 -3
  466. package/es/brand/LobeChat/index.mjs +3 -3
  467. package/es/brand/LobeChatText/index.mjs +1 -1
  468. package/es/brand/LobeHub/index.mjs +4 -4
  469. package/es/brand/LobeHubText/index.mjs +1 -1
  470. package/es/brand/components/Divider.mjs +1 -1
  471. package/es/brand/index.mjs +3 -3
  472. package/es/chat/BackBottom/BackBottom.mjs +1 -1
  473. package/es/chat/BackBottom/index.d.mts +1 -1
  474. package/es/chat/ChatHeader/ChatHeader.mjs +2 -2
  475. package/es/chat/ChatHeader/ChatHeaderTitle.mjs +1 -1
  476. package/es/chat/ChatHeader/index.d.mts +1 -1
  477. package/es/chat/ChatInputArea/ChatInputArea.mjs +2 -2
  478. package/es/chat/ChatInputArea/components/ChatInputActionBar.mjs +1 -1
  479. package/es/chat/ChatInputArea/components/ChatSendButton.mjs +2 -2
  480. package/es/chat/ChatInputArea/index.d.mts +1 -1
  481. package/es/chat/ChatInputArea/index.mjs +1 -1
  482. package/es/chat/ChatInputArea/type.d.mts +3 -3
  483. package/es/chat/ChatItem/ChatItem.mjs +6 -6
  484. package/es/chat/ChatItem/components/Actions.mjs +1 -1
  485. package/es/chat/ChatItem/components/Avatar.mjs +2 -2
  486. package/es/chat/ChatItem/components/ErrorContent.mjs +2 -2
  487. package/es/chat/ChatItem/components/Loading.mjs +2 -2
  488. package/es/chat/ChatItem/components/MessageContent.mjs +2 -2
  489. package/es/chat/ChatItem/components/Title.mjs +2 -2
  490. package/es/chat/ChatItem/index.d.mts +1 -1
  491. package/es/chat/ChatItem/type.d.mts +7 -7
  492. package/es/chat/ChatList/ChatList.mjs +3 -3
  493. package/es/chat/ChatList/components/ChatListItem.mjs +2 -2
  494. package/es/chat/ChatList/components/HistoryDivider.mjs +2 -2
  495. package/es/chat/ChatList/index.d.mts +1 -1
  496. package/es/chat/ChatList/type.d.mts +4 -4
  497. package/es/chat/EditableMessage/EditableMessage.mjs +3 -3
  498. package/es/chat/EditableMessage/index.d.mts +1 -1
  499. package/es/chat/EditableMessage/type.d.mts +3 -3
  500. package/es/chat/EditableMessageList/EditableMessageList.mjs +3 -3
  501. package/es/chat/EditableMessageList/index.d.mts +1 -1
  502. package/es/chat/LoadingDots/LoadingDots.mjs +1 -1
  503. package/es/chat/LoadingDots/index.d.mts +1 -1
  504. package/es/chat/MessageInput/MessageInput.mjs +5 -5
  505. package/es/chat/MessageInput/index.d.mts +1 -1
  506. package/es/chat/MessageInput/type.d.mts +3 -3
  507. package/es/chat/MessageModal/MessageModal.mjs +5 -5
  508. package/es/chat/MessageModal/index.d.mts +1 -1
  509. package/es/chat/MessageModal/type.d.mts +2 -2
  510. package/es/chat/TokenTag/TokenTag.mjs +3 -3
  511. package/es/chat/TokenTag/index.d.mts +1 -1
  512. package/es/chat/index.d.mts +8 -8
  513. package/es/chat/index.mjs +3 -3
  514. package/es/chat/types/index.d.mts +1 -1
  515. package/es/color/ColorScales/ScaleRow.mjs +3 -3
  516. package/es/color/ColorScales/index.mjs +3 -3
  517. package/es/color/CssVar/ScaleRow.mjs +3 -3
  518. package/es/color/CssVar/VarRow.mjs +4 -4
  519. package/es/color/CssVar/index.mjs +3 -3
  520. package/es/color/index.d.mts +5 -5
  521. package/es/color/index.mjs +4 -4
  522. package/es/css/Accordion.css +475 -0
  523. package/es/css/ActionIcon.css +1237 -0
  524. package/es/css/ActionIconGroup.css +2117 -0
  525. package/es/css/AgentAvatar.css +400 -0
  526. package/es/css/Alert.css +596 -0
  527. package/es/css/Anchor.css +197 -0
  528. package/es/css/AutoComplete.css +897 -0
  529. package/es/css/Avatar.css +232 -0
  530. package/es/css/Badge.css +238 -0
  531. package/es/css/Block.css +83 -0
  532. package/es/css/Breadcrumb.css +154 -0
  533. package/es/css/Burger.css +1789 -0
  534. package/es/css/Button.css +1613 -0
  535. package/es/css/Carousel.css +1347 -0
  536. package/es/css/Checkbox.css +990 -0
  537. package/es/css/CodeDiff.css +1583 -0
  538. package/es/css/CodeEditor.css +267 -0
  539. package/es/css/Collapsible.css +475 -0
  540. package/es/css/ColorPicker.css +2254 -0
  541. package/es/css/ColorSwatches.css +2654 -0
  542. package/es/css/ContextMenu.css +1181 -0
  543. package/es/css/CopyButton.css +1237 -0
  544. package/es/css/DatePicker.css +3277 -0
  545. package/es/css/Descriptions.css +159 -0
  546. package/es/css/Divider.css +149 -0
  547. package/es/css/DownloadButton.css +1237 -0
  548. package/es/css/DraggablePanel.css +1555 -0
  549. package/es/css/DraggableSideNav.css +375 -0
  550. package/es/css/Drawer.css +580 -0
  551. package/es/css/DropdownMenu.css +1177 -0
  552. package/es/css/EditableText.css +1543 -0
  553. package/es/css/EditorSlashMenu.css +513 -0
  554. package/es/css/EmojiPicker.css +3199 -0
  555. package/es/css/Empty.css +897 -0
  556. package/es/css/FileTypeIcon.css +27 -0
  557. package/es/css/FloatingPanel.css +2027 -0
  558. package/es/css/FloatingSheet.css +182 -0
  559. package/es/css/FluentEmoji.css +17 -0
  560. package/es/css/FocusScope.css +27 -0
  561. package/es/css/Form.css +1964 -0
  562. package/es/css/Grid.css +27 -0
  563. package/es/css/GroupAvatar.css +308 -0
  564. package/es/css/GuideCard.css +1279 -0
  565. package/es/css/Header.css +89 -0
  566. package/es/css/Highlighter.css +2517 -0
  567. package/es/css/Hotkey.css +157 -0
  568. package/es/css/HotkeyInput.css +1275 -0
  569. package/es/css/HtmlPreview.css +1860 -0
  570. package/es/css/Icon.css +49 -0
  571. package/es/css/Image.css +2669 -0
  572. package/es/css/ImageSelect.css +103 -0
  573. package/es/css/Input.css +507 -0
  574. package/es/css/Layout.css +1603 -0
  575. package/es/css/List.css +404 -0
  576. package/es/css/Markdown.css +4843 -0
  577. package/es/css/MaskShadow.css +45 -0
  578. package/es/css/MaterialFileTypeIcon.css +27 -0
  579. package/es/css/Mermaid.css +2916 -0
  580. package/es/css/Modal.css +1839 -0
  581. package/es/css/Pagination.css +1603 -0
  582. package/es/css/Popover.css +408 -0
  583. package/es/css/Progress.css +295 -0
  584. package/es/css/ProgressiveBlur.css +158 -0
  585. package/es/css/QRCode.css +528 -0
  586. package/es/css/Radio.css +990 -0
  587. package/es/css/Rate.css +163 -0
  588. package/es/css/Result.css +145 -0
  589. package/es/css/ScrollArea.css +414 -0
  590. package/es/css/ScrollShadow.css +71 -0
  591. package/es/css/SearchBar.css +615 -0
  592. package/es/css/Segmented.css +389 -0
  593. package/es/css/Select.css +1227 -0
  594. package/es/css/SideNav.css +45 -0
  595. package/es/css/Skeleton.css +180 -0
  596. package/es/css/Slider.css +680 -0
  597. package/es/css/Snippet.css +1383 -0
  598. package/es/css/SortableList.css +1255 -0
  599. package/es/css/Spin.css +311 -0
  600. package/es/css/Statistic.css +236 -0
  601. package/es/css/Steps.css +291 -0
  602. package/es/css/Switch.css +482 -0
  603. package/es/css/Table.css +4187 -0
  604. package/es/css/Tabs.css +425 -0
  605. package/es/css/Tag.css +169 -0
  606. package/es/css/Text.css +787 -0
  607. package/es/css/Toast.css +679 -0
  608. package/es/css/ToggleGroup.css +315 -0
  609. package/es/css/Tooltip.css +594 -0
  610. package/es/css/Tree.css +1136 -0
  611. package/es/css/Upload.css +171 -0
  612. package/es/css/Video.css +1721 -0
  613. package/es/css/awesome/AgentSkillCard.css +1631 -0
  614. package/es/css/awesome/AuroraBackground.css +180 -0
  615. package/es/css/awesome/BentoGrid.css +239 -0
  616. package/es/css/awesome/BottomGradientButton.css +770 -0
  617. package/es/css/awesome/CodeShowcase.css +2698 -0
  618. package/es/css/awesome/FeatureGrid.css +231 -0
  619. package/es/css/awesome/Features.css +1022 -0
  620. package/es/css/awesome/FluidGradient.css +63 -0
  621. package/es/css/awesome/GradientButton.css +870 -0
  622. package/es/css/awesome/Grainient.css +43 -0
  623. package/es/css/awesome/GridBackground.css +183 -0
  624. package/es/css/awesome/Hero.css +2022 -0
  625. package/es/css/awesome/InstallBanner.css +1438 -0
  626. package/es/css/awesome/LandingHero.css +1050 -0
  627. package/es/css/awesome/LandingSection.css +1066 -0
  628. package/es/css/awesome/LogoMarquee.css +154 -0
  629. package/es/css/awesome/Spotlight.css +49 -0
  630. package/es/css/awesome/SpotlightCard.css +166 -0
  631. package/es/css/awesome/TypewriterEffect.css +81 -0
  632. package/es/css/brand/LobeChat.css +27 -0
  633. package/es/css/brand/LobeChatText.css +15 -0
  634. package/es/css/brand/LobeHub.css +27 -0
  635. package/es/css/brand/LobeHubText.css +15 -0
  636. package/es/css/brand/Logo3d.css +17 -0
  637. package/es/css/chat/BackBottom.css +740 -0
  638. package/es/css/chat/ChatHeader.css +1297 -0
  639. package/es/css/chat/ChatInputArea.css +2648 -0
  640. package/es/css/chat/ChatItem.css +5599 -0
  641. package/es/css/chat/ChatList.css +5655 -0
  642. package/es/css/chat/EditableMessage.css +5223 -0
  643. package/es/css/chat/EditableMessageList.css +2534 -0
  644. package/es/css/chat/LoadingDots.css +228 -0
  645. package/es/css/chat/MessageInput.css +2455 -0
  646. package/es/css/chat/MessageModal.css +5223 -0
  647. package/es/css/chat/TokenTag.css +1391 -0
  648. package/es/css/color/ColorScales.css +767 -0
  649. package/es/css/color/CssVar.css +743 -0
  650. package/es/css/dashboard/AuthLayout.css +1220 -0
  651. package/es/css/dashboard/AuthTools.css +1417 -0
  652. package/es/css/dashboard/Breadcrumb.css +91 -0
  653. package/es/css/dashboard/ChartGrid.css +49 -0
  654. package/es/css/dashboard/ConsoleNav.css +1184 -0
  655. package/es/css/dashboard/ConsoleShell.css +2711 -0
  656. package/es/css/dashboard/FilterSidebar.css +2861 -0
  657. package/es/css/dashboard/FilterStrip.css +845 -0
  658. package/es/css/dashboard/LabelWithKey.css +169 -0
  659. package/es/css/dashboard/MetricStrip.css +849 -0
  660. package/es/css/dashboard/PageHeader.css +851 -0
  661. package/es/css/dashboard/PageSkeleton.css +556 -0
  662. package/es/css/dashboard/PageTabs.css +502 -0
  663. package/es/css/dashboard/PageToolbar.css +57 -0
  664. package/es/css/dashboard/PanelSurface.css +733 -0
  665. package/es/css/dashboard/RouteProgress.css +45 -0
  666. package/es/css/dashboard/Section.css +749 -0
  667. package/es/css/dashboard/StatCard.css +572 -0
  668. package/es/css/dashboard/Surface.css +725 -0
  669. package/es/css/dashboard/TableIconActions.css +1237 -0
  670. package/es/css/dashboard/TitleWithTips.css +598 -0
  671. package/es/css/form.css +2464 -0
  672. package/es/css/mdx/Callout.css +145 -0
  673. package/es/css/mdx/Cards.css +115 -0
  674. package/es/css/mdx/FileTree.css +41 -0
  675. package/es/css/mdx/Mdx.css +5376 -0
  676. package/es/css/mdx/Steps.css +94 -0
  677. package/es/css/mdx/Tabs.css +454 -0
  678. package/es/css/mdx/mdxComponents.css +3769 -0
  679. package/es/css/mobile/ChatHeader.css +1277 -0
  680. package/es/css/mobile/ChatInputArea.css +2377 -0
  681. package/es/css/mobile/SafeArea.css +27 -0
  682. package/es/css/mobile/TabBar.css +98 -0
  683. package/es/css/pro-table.css +5838 -0
  684. package/es/css/storybook/StoryBook.css +1611 -0
  685. package/es/dashboard/AuthLayout/AuthLayout.d.mts +1 -1
  686. package/es/dashboard/AuthLayout/AuthLayout.mjs +4 -4
  687. package/es/dashboard/AuthLayout/index.d.mts +1 -1
  688. package/es/dashboard/AuthTools/AuthLocaleSwitch.mjs +1 -1
  689. package/es/dashboard/AuthTools/AuthThemeSwitch.mjs +1 -1
  690. package/es/dashboard/AuthTools/index.d.mts +1 -1
  691. package/es/dashboard/Breadcrumb/Breadcrumb.mjs +1 -1
  692. package/es/dashboard/Breadcrumb/index.d.mts +1 -1
  693. package/es/dashboard/ChartGrid/index.d.mts +1 -1
  694. package/es/dashboard/ConsoleNav/ConsoleNav.mjs +3 -3
  695. package/es/dashboard/ConsoleNav/Skeleton.mjs +1 -1
  696. package/es/dashboard/ConsoleNav/index.d.mts +1 -1
  697. package/es/dashboard/ConsoleShell/ConsoleShell.mjs +7 -7
  698. package/es/dashboard/ConsoleShell/index.d.mts +1 -1
  699. package/es/dashboard/FilterSidebar/FilterSidebar.mjs +3 -3
  700. package/es/dashboard/FilterSidebar/index.d.mts +1 -1
  701. package/es/dashboard/FilterStrip/FilterStrip.mjs +2 -2
  702. package/es/dashboard/FilterStrip/index.d.mts +1 -1
  703. package/es/dashboard/LabelWithKey/index.d.mts +1 -1
  704. package/es/dashboard/MetricStrip/MetricCell.mjs +2 -2
  705. package/es/dashboard/MetricStrip/MetricStrip.mjs +3 -3
  706. package/es/dashboard/MetricStrip/index.d.mts +1 -1
  707. package/es/dashboard/PageHeader/PageHeader.mjs +1 -1
  708. package/es/dashboard/PageHeader/index.d.mts +1 -1
  709. package/es/dashboard/PageSkeleton/PageSkeleton.mjs +2 -2
  710. package/es/dashboard/PageTabs/index.d.mts +1 -1
  711. package/es/dashboard/PageToolbar/index.d.mts +1 -1
  712. package/es/dashboard/PanelSurface/PanelSurface.mjs +3 -3
  713. package/es/dashboard/PanelSurface/index.d.mts +1 -1
  714. package/es/dashboard/Section/Section.mjs +3 -3
  715. package/es/dashboard/Section/index.d.mts +1 -1
  716. package/es/dashboard/StatCard/StatCard.mjs +6 -6
  717. package/es/dashboard/StatCard/StatCard.mjs.map +1 -1
  718. package/es/dashboard/StatCard/index.d.mts +1 -1
  719. package/es/dashboard/Surface/Surface.mjs +5 -5
  720. package/es/dashboard/Surface/index.d.mts +1 -1
  721. package/es/dashboard/TableIconActions/TableIconActions.mjs +1 -1
  722. package/es/dashboard/TableIconActions/index.d.mts +1 -1
  723. package/es/dashboard/TitleWithTips/TitleWithTips.mjs +3 -3
  724. package/es/dashboard/TitleWithTips/index.d.mts +1 -1
  725. package/es/dashboard/index.d.mts +2 -2
  726. package/es/dashboard/index.mjs +9 -9
  727. package/es/eslint/index.d.mts +1 -1
  728. package/es/hooks/useMarkdown/useMarkdownComponents.mjs +1 -1
  729. package/es/hooks/useMarkdown/useMarkdownContent.mjs +1 -1
  730. package/es/i18n/context.d.mts +1 -1
  731. package/es/i18n/index.d.mts +1 -1
  732. package/es/i18n/resources/en/index.mjs +6 -6
  733. package/es/i18n/resources/zhCn/index.mjs +1 -1
  734. package/es/icons/Auth0/index.mjs +2 -2
  735. package/es/icons/Authelia/index.mjs +5 -5
  736. package/es/icons/Authentik/index.mjs +5 -5
  737. package/es/icons/Casdoor/index.mjs +5 -5
  738. package/es/icons/Clerk/index.mjs +5 -5
  739. package/es/icons/DingTalk/index.mjs +5 -5
  740. package/es/icons/Discord/index.mjs +5 -5
  741. package/es/icons/GoogleChat/index.mjs +2 -2
  742. package/es/icons/IMessage/index.mjs +1 -1
  743. package/es/icons/Lark/index.mjs +2 -2
  744. package/es/icons/Line/index.mjs +5 -5
  745. package/es/icons/Logto/index.mjs +5 -5
  746. package/es/icons/MicrosoftEntra/index.mjs +2 -2
  747. package/es/icons/MicrosoftTeams/index.mjs +2 -2
  748. package/es/icons/NextAuth/index.mjs +2 -2
  749. package/es/icons/QQ/index.mjs +2 -2
  750. package/es/icons/Slack/index.mjs +2 -2
  751. package/es/icons/Telegram/index.mjs +1 -1
  752. package/es/icons/WeChat/index.mjs +5 -5
  753. package/es/icons/WhatsApp/index.mjs +5 -5
  754. package/es/icons/Zitadel/index.mjs +5 -5
  755. package/es/index.d.mts +126 -123
  756. package/es/index.mjs +123 -121
  757. package/es/internal/menu/index.d.mts +3 -3
  758. package/es/internal/menu/renderUtils.d.mts +1 -1
  759. package/es/internal/virtual/MenuVirtualList.mjs +1 -1
  760. package/es/internal/virtual/VirtualScrollArea.mjs +1 -1
  761. package/es/internal/virtual/index.d.mts +2 -2
  762. package/es/mdx/Callout/index.mjs +3 -3
  763. package/es/mdx/Cards/Card.d.mts +2 -2
  764. package/es/mdx/Cards/Card.mjs +4 -4
  765. package/es/mdx/Cards/index.mjs +1 -1
  766. package/es/mdx/FileTree/File.mjs +1 -1
  767. package/es/mdx/FileTree/Folder.mjs +3 -3
  768. package/es/mdx/Mdx/index.mjs +6 -6
  769. package/es/mdx/index.mjs +7 -7
  770. package/es/mdx/mdxComponents/Citation/PopoverPanel.mjs +2 -2
  771. package/es/mdx/mdxComponents/Citation/index.mjs +1 -1
  772. package/es/mdx/mdxComponents/Link.mjs +1 -1
  773. package/es/mdx/mdxComponents/Pre.mjs +1 -1
  774. package/es/mdx/mdxComponents/Video.mjs +1 -1
  775. package/es/mdx/mdxComponents/index.mjs +3 -3
  776. package/es/mobile/ChatHeader/ChatHeader.mjs +2 -2
  777. package/es/mobile/ChatHeader/ChatHeaderTitle.mjs +1 -1
  778. package/es/mobile/ChatHeader/index.d.mts +1 -1
  779. package/es/mobile/ChatInputArea/ChatInputArea.mjs +4 -4
  780. package/es/mobile/ChatInputArea/index.d.mts +1 -1
  781. package/es/mobile/SafeArea/SafeArea.mjs +1 -1
  782. package/es/mobile/SafeArea/index.d.mts +1 -1
  783. package/es/mobile/TabBar/TabBar.mjs +2 -2
  784. package/es/mobile/TabBar/index.d.mts +1 -1
  785. package/es/mobile/index.mjs +3 -3
  786. package/es/node_modules/.pnpm/{@types_estree@1.0.9 → @types_estree@1.0.10}/node_modules/@types/estree/index.d.mts +7 -1
  787. package/es/node_modules/.pnpm/{eslint@10.13.0_jiti@2.7.0_supports-color@10.2.2 → eslint@10.14.0_jiti@2.7.0_supports-color@10.2.2}/node_modules/eslint/lib/types/index.d.mts +1 -1
  788. package/es/spline/LogoThree/Loading.mjs +1 -1
  789. package/es/spline/LogoThree/LogoSpline.mjs +1 -1
  790. package/es/spline/Spline/index.d.mts +1 -1
  791. package/es/spline/index.d.mts +2 -2
  792. package/es/spline/index.mjs +1 -1
  793. package/es/storybook/StoryBook/index.mjs +3 -3
  794. package/es/style.css +737 -490
  795. package/es/styles/index.d.mts +5 -5
  796. package/es/styles/index.mjs +9 -9
  797. package/es/styles/theme/customNeutral.mjs +1 -1
  798. package/es/styles/theme/scope.d.mts +1 -1
  799. package/es/styles/theme/scope.mjs +3 -3
  800. package/es/styles/theme/themeCss.mjs +4 -4
  801. package/es/styles/theme/token/palette.mjs +1 -1
  802. package/es/styles/theme/token/primary.mjs +1 -1
  803. package/package.json +2 -1
  804. package/es/DropdownMenu/sharedStyle.mjs +0 -8
  805. package/es/DropdownMenu/sharedStyle.mjs.map +0 -1
@@ -1,10 +1,10 @@
1
1
  "use client";
2
- import { toDataAttributes } from "../utils/bem.mjs";
2
+ import DropdownMenu from "../DropdownMenu/DropdownMenu.mjs";
3
3
  import { styleProps } from "../styles/stylex/props.mjs";
4
+ import { toDataAttributes } from "../utils/bem.mjs";
5
+ import { ButtonImpl } from "./Button.mjs";
4
6
  import { splitButtonClasses } from "./stable.mjs";
5
7
  import { splitStyles } from "./style.mjs";
6
- import { ButtonImpl } from "./Button.mjs";
7
- import DropdownMenu from "../DropdownMenu/DropdownMenu.mjs";
8
8
  import clsx$1 from "clsx";
9
9
  import { createContext, use, useMemo } from "react";
10
10
  import { jsx } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
- import { ButtonIconPosition, ButtonOutdent, ButtonProps, ButtonShape, ButtonSize, ButtonType } from "./type.mjs";
2
1
  import Button from "./Button.mjs";
3
2
  import _default, { SplitButtonMenuProps, SplitButtonProps } from "./SplitButton.mjs";
4
3
  import { buttonPaddingInline, buttonStyles } from "./style.mjs";
4
+ import { ButtonIconPosition, ButtonOutdent, ButtonProps, ButtonShape, ButtonSize, ButtonType } from "./type.mjs";
5
5
  export { Button, type ButtonIconPosition, type ButtonOutdent, type ButtonProps, type ButtonShape, type ButtonSize, type ButtonType, _default as SplitButton, type SplitButtonMenuProps, type SplitButtonProps, buttonPaddingInline, buttonStyles, Button as default };
@@ -1,4 +1,4 @@
1
- import { buttonPaddingInline, buttonStyles } from "./style.mjs";
2
1
  import Button from "./Button.mjs";
3
2
  import SplitButton from "./SplitButton.mjs";
3
+ import { buttonPaddingInline, buttonStyles } from "./style.mjs";
4
4
  export { Button, SplitButton, buttonPaddingInline, buttonStyles, Button as default };
@@ -1,210 +1,43 @@
1
- import * as stylex from "@stylexjs/stylex";
1
+ import "@stylexjs/stylex";
2
2
  export declare const buttonPaddingInline: {
3
3
  readonly large: 16;
4
4
  readonly middle: 14;
5
5
  readonly small: 8;
6
6
  };
7
- export declare const styles: Readonly<{
8
- readonly base: Readonly<{
9
- readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
10
- readonly borderStyle: stylex.StyleXClassNameFor<"borderStyle", "solid">;
11
- readonly borderWidth: stylex.StyleXClassNameFor<"borderWidth", 1>;
12
- readonly gap: stylex.StyleXClassNameFor<"gap", 6>;
13
- readonly textDecoration: stylex.StyleXClassNameFor<"textDecoration", "none">;
14
- readonly transition: stylex.StyleXClassNameFor<"transition", "color 160ms cubic-bezier(0.32, 0.72, 0, 1), background-color 160ms cubic-bezier(0.32, 0.72, 0, 1), background-image 160ms cubic-bezier(0.32, 0.72, 0, 1), border-color 160ms cubic-bezier(0.32, 0.72, 0, 1), box-shadow 160ms cubic-bezier(0.32, 0.72, 0, 1)">;
15
- readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
16
- readonly boxSizing: stylex.StyleXClassNameFor<"boxSizing", "border-box">;
17
- readonly cursor: stylex.StyleXClassNameFor<"cursor", "pointer" | "not-allowed">;
18
- readonly display: stylex.StyleXClassNameFor<"display", "inline-flex">;
19
- readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", 500>;
20
- readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "center">;
21
- readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", 1>;
22
- readonly opacity: stylex.StyleXClassNameFor<"opacity", 0.5 | null>;
23
- readonly pointerEvents: stylex.StyleXClassNameFor<"pointerEvents", "none" | null>;
24
- readonly position: stylex.StyleXClassNameFor<"position", "relative">;
25
- readonly whiteSpace: stylex.StyleXClassNameFor<"whiteSpace", "nowrap">;
26
- }>;
27
- readonly sizeSmall: Readonly<{
28
- readonly '--button-padding-inline': stylex.StyleXClassNameFor<"--button-padding-inline", "8px">;
29
- readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
30
- readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", "var(--button-padding-inline)">;
31
- readonly fontSize: stylex.StyleXClassNameFor<"fontSize", 12>;
32
- readonly height: stylex.StyleXClassNameFor<"height", 24>;
33
- }>;
34
- readonly sizeMiddle: Readonly<{
35
- readonly '--button-padding-inline': stylex.StyleXClassNameFor<"--button-padding-inline", "14px">;
36
- readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
37
- readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", "var(--button-padding-inline)">;
38
- readonly fontSize: stylex.StyleXClassNameFor<"fontSize", 13>;
39
- readonly height: stylex.StyleXClassNameFor<"height", 32>;
40
- }>;
41
- readonly sizeLarge: Readonly<{
42
- readonly '--button-padding-inline': stylex.StyleXClassNameFor<"--button-padding-inline", "16px">;
43
- readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
44
- readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", "var(--button-padding-inline)">;
45
- readonly fontSize: stylex.StyleXClassNameFor<"fontSize", 14>;
46
- readonly height: stylex.StyleXClassNameFor<"height", 40>;
47
- }>;
48
- readonly outdentStart: Readonly<{
49
- readonly marginInlineStart: stylex.StyleXClassNameFor<"marginInlineStart", "calc(var(--button-padding-inline) * -1)">;
50
- }>;
51
- readonly outdentEnd: Readonly<{
52
- readonly marginInlineEnd: stylex.StyleXClassNameFor<"marginInlineEnd", "calc(var(--button-padding-inline) * -1)">;
53
- }>;
54
- readonly shapeCircle: Readonly<{
55
- readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", "50%">;
56
- readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", 0>;
57
- }>;
58
- readonly shapeRound: Readonly<{
59
- readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", 999>;
60
- }>;
61
- readonly block: Readonly<{
62
- readonly width: stylex.StyleXClassNameFor<"width", "100%">;
63
- }>;
64
- readonly iconEnd: Readonly<{
65
- readonly flexDirection: stylex.StyleXClassNameFor<"flexDirection", "row-reverse">;
66
- }>;
67
- readonly iconOnlySmall: Readonly<{
68
- readonly '--button-padding-inline': stylex.StyleXClassNameFor<"--button-padding-inline", "0px">;
69
- readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", 0>;
70
- readonly width: stylex.StyleXClassNameFor<"width", 24>;
71
- }>;
72
- readonly iconOnlyMiddle: Readonly<{
73
- readonly '--button-padding-inline': stylex.StyleXClassNameFor<"--button-padding-inline", "0px">;
74
- readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", 0>;
75
- readonly width: stylex.StyleXClassNameFor<"width", 32>;
76
- }>;
77
- readonly iconOnlyLarge: Readonly<{
78
- readonly '--button-padding-inline': stylex.StyleXClassNameFor<"--button-padding-inline", "0px">;
79
- readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", 0>;
80
- readonly width: stylex.StyleXClassNameFor<"width", 40>;
81
- }>;
82
- readonly iconBox: Readonly<{
83
- readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
84
- readonly display: stylex.StyleXClassNameFor<"display", "inline-flex">;
85
- readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "center">;
86
- }>;
87
- readonly spinnerSlot: Readonly<{
88
- readonly overflow: stylex.StyleXClassNameFor<"overflow", "visible">;
89
- readonly transition: stylex.StyleXClassNameFor<"transition", "width 300ms cubic-bezier(0.22, 1, 0.36, 1), margin 300ms cubic-bezier(0.22, 1, 0.36, 1)">;
90
- readonly flexShrink: stylex.StyleXClassNameFor<"flexShrink", 0>;
91
- readonly marginInlineEnd: stylex.StyleXClassNameFor<"marginInlineEnd", -6>;
92
- readonly position: stylex.StyleXClassNameFor<"position", "relative">;
93
- readonly height: stylex.StyleXClassNameFor<"height", 12>;
94
- readonly width: stylex.StyleXClassNameFor<"width", 0>;
95
- }>;
96
- readonly spinnerSlotEnd: Readonly<{
97
- readonly marginInlineEnd: stylex.StyleXClassNameFor<"marginInlineEnd", 0>;
98
- readonly marginInlineStart: stylex.StyleXClassNameFor<"marginInlineStart", -6>;
99
- }>;
100
- readonly spinnerSlotShow: Readonly<{
101
- readonly marginInlineEnd: stylex.StyleXClassNameFor<"marginInlineEnd", 0>;
102
- readonly marginInlineStart: stylex.StyleXClassNameFor<"marginInlineStart", 0>;
103
- readonly width: stylex.StyleXClassNameFor<"width", 12>;
104
- }>;
105
- readonly spinnerVisual: Readonly<{
106
- readonly transition: stylex.StyleXClassNameFor<"transition", "transform 180ms cubic-bezier(0.22, 1, 0.36, 1), opacity 180ms ease-out">;
107
- readonly insetBlockStart: stylex.StyleXClassNameFor<"insetBlockStart", 0>;
108
- readonly insetInlineStart: stylex.StyleXClassNameFor<"insetInlineStart", 0>;
109
- readonly opacity: stylex.StyleXClassNameFor<"opacity", 0>;
110
- readonly position: stylex.StyleXClassNameFor<"position", "absolute">;
111
- readonly transform: stylex.StyleXClassNameFor<"transform", "scale(0.5)">;
112
- readonly transformOrigin: stylex.StyleXClassNameFor<"transformOrigin", "center">;
113
- readonly height: stylex.StyleXClassNameFor<"height", 12>;
114
- readonly width: stylex.StyleXClassNameFor<"width", 12>;
115
- }>;
116
- readonly spinnerVisualShow: Readonly<{
117
- readonly opacity: stylex.StyleXClassNameFor<"opacity", 1>;
118
- readonly transform: stylex.StyleXClassNameFor<"transform", "scale(1)">;
119
- }>;
120
- readonly variantDefault: Readonly<{
121
- readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
122
- readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
123
- readonly backgroundImage: stylex.StyleXClassNameFor<"backgroundImage", string | null>;
124
- readonly color: stylex.StyleXClassNameFor<"color", string>;
125
- }>;
126
- readonly variantPrimary: Readonly<{
127
- readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
128
- readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
129
- readonly color: stylex.StyleXClassNameFor<"color", string>;
130
- }>;
131
- readonly variantDashed: Readonly<{
132
- readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
133
- readonly borderStyle: stylex.StyleXClassNameFor<"borderStyle", "dashed">;
134
- readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
135
- readonly backgroundImage: stylex.StyleXClassNameFor<"backgroundImage", string | null>;
136
- readonly color: stylex.StyleXClassNameFor<"color", string>;
137
- }>;
138
- readonly variantFill: Readonly<{
139
- readonly borderColor: stylex.StyleXClassNameFor<"borderColor", "transparent">;
140
- readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
141
- readonly color: stylex.StyleXClassNameFor<"color", string>;
142
- }>;
143
- readonly variantText: Readonly<{
144
- readonly borderColor: stylex.StyleXClassNameFor<"borderColor", "transparent">;
145
- readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
146
- readonly color: stylex.StyleXClassNameFor<"color", string>;
147
- }>;
148
- readonly variantLink: Readonly<{
149
- readonly borderColor: stylex.StyleXClassNameFor<"borderColor", "transparent">;
150
- readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", 0>;
151
- readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", "transparent">;
152
- readonly color: stylex.StyleXClassNameFor<"color", string>;
153
- }>;
154
- readonly dangerOutlined: Readonly<{
155
- readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
156
- readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
157
- readonly backgroundImage: stylex.StyleXClassNameFor<"backgroundImage", null>;
158
- readonly color: stylex.StyleXClassNameFor<"color", string>;
159
- }>;
160
- readonly dangerSolid: Readonly<{
161
- readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
162
- readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
163
- readonly color: stylex.StyleXClassNameFor<"color", string>;
164
- }>;
165
- readonly dangerFill: Readonly<{
166
- readonly borderColor: stylex.StyleXClassNameFor<"borderColor", "transparent">;
167
- readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
168
- readonly color: stylex.StyleXClassNameFor<"color", string>;
169
- }>;
170
- readonly dangerText: Readonly<{
171
- readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
172
- readonly color: stylex.StyleXClassNameFor<"color", string>;
173
- }>;
174
- readonly dangerInline: Readonly<{
175
- readonly color: stylex.StyleXClassNameFor<"color", string>;
176
- }>;
177
- readonly ghostDefault: Readonly<{
178
- readonly borderColor: stylex.StyleXClassNameFor<"borderColor", "transparent">;
179
- readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
180
- readonly color: stylex.StyleXClassNameFor<"color", string>;
181
- }>;
182
- readonly ghostPrimary: Readonly<{
183
- readonly borderColor: stylex.StyleXClassNameFor<"borderColor", "transparent">;
184
- readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
185
- readonly color: stylex.StyleXClassNameFor<"color", string>;
186
- }>;
187
- readonly ghostDanger: Readonly<{
188
- readonly borderColor: stylex.StyleXClassNameFor<"borderColor", "transparent">;
189
- readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
190
- readonly color: stylex.StyleXClassNameFor<"color", string>;
191
- }>;
192
- readonly spinner: Readonly<{
193
- readonly borderColor: stylex.StyleXClassNameFor<"borderColor", "currentcolor">;
194
- readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", "50%">;
195
- readonly borderStyle: stylex.StyleXClassNameFor<"borderStyle", "solid">;
196
- readonly borderWidth: stylex.StyleXClassNameFor<"borderWidth", 1.5>;
197
- readonly animationDuration: stylex.StyleXClassNameFor<"animationDuration", "0.6s">;
198
- readonly animationIterationCount: stylex.StyleXClassNameFor<"animationIterationCount", "infinite">;
199
- readonly animationName: stylex.StyleXClassNameFor<"animationName", string>;
200
- readonly animationTimingFunction: stylex.StyleXClassNameFor<"animationTimingFunction", "linear">;
201
- readonly borderBlockStartColor: stylex.StyleXClassNameFor<"borderBlockStartColor", "transparent">;
202
- readonly boxSizing: stylex.StyleXClassNameFor<"boxSizing", "border-box">;
203
- readonly display: stylex.StyleXClassNameFor<"display", "inline-block">;
204
- readonly flexShrink: stylex.StyleXClassNameFor<"flexShrink", 0>;
205
- readonly height: stylex.StyleXClassNameFor<"height", 12>;
206
- readonly width: stylex.StyleXClassNameFor<"width", 12>;
207
- }>;
208
- }>;
209
- export declare const buttonStyles: Record<keyof typeof styles, string>;
7
+ export declare const buttonStyles: {
8
+ base: string;
9
+ sizeSmall: string;
10
+ sizeMiddle: string;
11
+ sizeLarge: string;
12
+ outdentStart: string;
13
+ outdentEnd: string;
14
+ shapeCircle: string;
15
+ shapeRound: string;
16
+ block: string;
17
+ iconEnd: string;
18
+ iconOnlySmall: string;
19
+ iconOnlyMiddle: string;
20
+ iconOnlyLarge: string;
21
+ iconBox: string;
22
+ spinnerSlot: string;
23
+ spinnerSlotEnd: string;
24
+ spinnerSlotShow: string;
25
+ spinnerVisual: string;
26
+ spinnerVisualShow: string;
27
+ variantDefault: string;
28
+ variantPrimary: string;
29
+ variantDashed: string;
30
+ variantFill: string;
31
+ variantText: string;
32
+ variantLink: string;
33
+ dangerOutlined: string;
34
+ dangerSolid: string;
35
+ dangerFill: string;
36
+ dangerText: string;
37
+ dangerInline: string;
38
+ ghostDefault: string;
39
+ ghostPrimary: string;
40
+ ghostDanger: string;
41
+ spinner: string;
42
+ };
210
43
  //# sourceMappingURL=style.d.mts.map
@@ -1,5 +1,4 @@
1
1
  import { cssVar } from "../styles/stylex/cssVar.stylex.mjs";
2
- import * as stylex from "@stylexjs/stylex";
3
2
  // src/Button/style.ts
4
3
  const buttonPaddingInline = {
5
4
  large: 16,
@@ -314,7 +313,42 @@ const splitStyles = {
314
313
  $$css: true
315
314
  }
316
315
  };
317
- const buttonStyles = Object.fromEntries(Object.entries(styles).map(([key, value]) => [key, stylex.props(value).className ?? ""]));
316
+ const buttonStyles = {
317
+ base: { className: "lbqnr5ac lb1y0btm7 lbmkeg23 lb17d4w8g lb1hl2dhg lb15xd0no lb6s0dn4 lb9f619 lb1ypdohk lb126qsmr lb3nfvp2 lbk50ysn lbl56j7k lbo5v014 lby3kg0r lb1cp6yjb lb1n2onr6 lbuxw1ft" }.className ?? "",
318
+ sizeSmall: { className: "lb1xvjv2a lb1vihcfj lb1v42klx lbfifm61 lbxk0z11" }.className ?? "",
319
+ sizeMiddle: { className: "lb1l3x1nm lb1vihcfj lb1v42klx lb4z9k3i lb10w6t97" }.className ?? "",
320
+ sizeLarge: { className: "lb1r8q1i9 lb1sbi92r lb1v42klx lbif65rj lb1vqgdyp" }.className ?? "",
321
+ outdentStart: { className: "lbugkenv" }.className ?? "",
322
+ outdentEnd: { className: "lb8o6c4q" }.className ?? "",
323
+ shapeCircle: { className: "lb16rqkct lbnjsko4" }.className ?? "",
324
+ shapeRound: { className: "lb1e6avla" }.className ?? "",
325
+ block: { className: "lbh8yej3" }.className ?? "",
326
+ iconEnd: { className: "lb15zctf7" }.className ?? "",
327
+ iconOnlySmall: { className: "lb1wdnxgk lbnjsko4 lbvy4d1p" }.className ?? "",
328
+ iconOnlyMiddle: { className: "lb1wdnxgk lbnjsko4 lb1td3qas" }.className ?? "",
329
+ iconOnlyLarge: { className: "lb1wdnxgk lbnjsko4 lb100vrsf" }.className ?? "",
330
+ iconBox: { className: "lb6s0dn4 lb3nfvp2 lbl56j7k" }.className ?? "",
331
+ spinnerSlot: { className: "lb1rea2x4 lbp7890b lb2lah0s lb1ws5yxj lb1n2onr6 lb1kpxq89 lbnalus7" }.className ?? "",
332
+ spinnerSlotEnd: { className: "lb14z9mp lbw01apr" }.className ?? "",
333
+ spinnerSlotShow: { className: "lb14z9mp lb1lziwak lbsmyaan" }.className ?? "",
334
+ spinnerVisual: { className: "lb1ja9v0h lb13vifvy lb1o0tod lbg01cxk lb10l6tqk lb1a33avv lb1g0ag68 lb1kpxq89 lbsmyaan" }.className ?? "",
335
+ spinnerVisualShow: { className: "lb1hc1fzr lb3oybdh" }.className ?? "",
336
+ variantDefault: { className: "lbqnr5ac lbv4eugq lb6yijhg lb1hdlj1n lbx7ggy6 lb66ogz0" }.className ?? "",
337
+ variantPrimary: { className: "lb13w8tc6 lb1jy2tmp lbiuvf2s lbba5owj lb65u3hq lb1hsafae lb1n16ko lbep1hoi lb15g0kca" }.className ?? "",
338
+ variantDashed: { className: "lbqnr5ac lbv4eugq lbbsl7fq lb6yijhg lb1hdlj1n lbx7ggy6 lb66ogz0" }.className ?? "",
339
+ variantFill: { className: "lb9r1u3d lb1qlulce lbaljia1 lb5d67gy lb66ogz0" }.className ?? "",
340
+ variantText: { className: "lb9r1u3d lbjbqb8w lb1f5ares lb66ogz0" }.className ?? "",
341
+ variantLink: { className: "lb9r1u3d lbnjsko4 lbjbqb8w lb16owwnm lbvdzly1" }.className ?? "",
342
+ dangerOutlined: { className: "lb1mpi7gh lbs8cwth lb1saschm lb6yijhg lbzxaxr6 lb12ap7uz" }.className ?? "",
343
+ dangerSolid: { className: "lb1dvy257 lb11fhi00 lb2949mz lb1e5ynfq lb15l4kc2 lbixdnzb lb1mog8ep lb1gj3nph lb15g0kca" }.className ?? "",
344
+ dangerFill: { className: "lb9r1u3d lbrq8w1b lb1f2tfg0 lb1lf6bdk lb12ap7uz" }.className ?? "",
345
+ dangerText: { className: "lb14kxky9 lbjbqb8w lb3lzv3l lb12ap7uz" }.className ?? "",
346
+ dangerInline: { className: "lb12ap7uz lbcu7z5f" }.className ?? "",
347
+ ghostDefault: { className: "lb9r1u3d lb1qlulce lbjbqb8w lb5d67gy lb66ogz0" }.className ?? "",
348
+ ghostPrimary: { className: "lb9r1u3d lb1qlulce lbjbqb8w lb5d67gy lbjwxqu3 lb16owwnm lbpro1qx" }.className ?? "",
349
+ ghostDanger: { className: "lb9r1u3d lb14kxky9 lbjbqb8w lb3lzv3l lb12ap7uz" }.className ?? "",
350
+ spinner: { className: "lb181nr7w lb16rqkct lb1y0btm7 lbvndefy lbdz8niu lba4qsjk lb1v0ides lb1esw782 lb1v8p93f lb9f619 lb1rg5ohu lb2lah0s lb1kpxq89 lbsmyaan" }.className ?? ""
351
+ };
318
352
  export { buttonPaddingInline, buttonStyles, splitStyles, styles };
319
353
 
320
354
  //# sourceMappingURL=style.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"style.mjs","names":[],"sources":["../../src/Button/style.ts"],"sourcesContent":["import * as stylex from '@stylexjs/stylex';\n\nimport { cssVar } from '@/styles/stylex/cssVar.stylex';\n\nexport const buttonPaddingInline = {\n large: 16,\n middle: 14,\n small: 8,\n} as const;\n\nconst disabled = ':is(:disabled, [aria-disabled=\"true\"])';\nconst hover = ':hover:not(:disabled, [aria-disabled=\"true\"])';\nconst active = ':active:not(:disabled, [aria-disabled=\"true\"])';\nconst hoverIdle = ':hover:not(:active, :disabled, [aria-disabled=\"true\"])';\nconst hoverIdleClosed = ':hover:not(:active, :disabled, [aria-disabled=\"true\"], [data-popup-open])';\nconst popupOpen = ':is([data-popup-open])';\n\nconst spin = stylex.keyframes({\n to: { transform: 'rotate(360deg)' },\n});\n\nconst ease = 'cubic-bezier(0.32, 0.72, 0, 1)';\n\nconst errorHover = `color-mix(in srgb, ${cssVar.colorError} 88%, white)`;\nconst errorActive = `color-mix(in srgb, ${cssVar.colorError} 88%, black)`;\nconst borderHover = `color-mix(in srgb, ${cssVar.colorText} 8%, ${cssVar.colorBorder})`;\nconst neutralWash = `linear-gradient(${cssVar.colorFillTertiary}, ${cssVar.colorFillTertiary})`;\nconst neutralWashActive = `linear-gradient(${cssVar.colorFillSecondary}, ${cssVar.colorFillSecondary})`;\nconst error10 = `color-mix(in srgb, ${cssVar.colorError} 10%, transparent)`;\nconst error12 = `color-mix(in srgb, ${cssVar.colorError} 12%, transparent)`;\nconst error16 = `color-mix(in srgb, ${cssVar.colorError} 16%, transparent)`;\nconst error18 = `color-mix(in srgb, ${cssVar.colorError} 18%, transparent)`;\nconst error22 = `color-mix(in srgb, ${cssVar.colorError} 22%, transparent)`;\nconst error40 = `color-mix(in srgb, ${cssVar.colorError} 40%, transparent)`;\nconst error65 = `color-mix(in srgb, ${cssVar.colorError} 65%, transparent)`;\nconst errorOnContainer8 = `color-mix(in srgb, ${cssVar.colorError} 8%, ${cssVar.colorBgContainer})`;\nconst errorOnContainer14 = `color-mix(in srgb, ${cssVar.colorError} 14%, ${cssVar.colorBgContainer})`;\nconst slotEase = 'cubic-bezier(0.22, 1, 0.36, 1)';\n\nexport const styles = stylex.create({\n base: {\n borderColor: cssVar.colorBorder,\n borderStyle: 'solid',\n borderWidth: 1,\n gap: 6,\n textDecoration: 'none',\n transition: `color 160ms ${ease}, background-color 160ms ${ease}, background-image 160ms ${ease}, border-color 160ms ${ease}, box-shadow 160ms ${ease}`,\n alignItems: 'center',\n boxSizing: 'border-box',\n cursor: { default: 'pointer', [disabled]: 'not-allowed' },\n display: 'inline-flex',\n fontWeight: 500,\n justifyContent: 'center',\n lineHeight: 1,\n opacity: { default: null, [disabled]: 0.5 },\n pointerEvents: { default: null, [disabled]: 'none' },\n position: 'relative',\n whiteSpace: 'nowrap',\n },\n\n sizeSmall: {\n '--button-padding-inline': `${buttonPaddingInline.small}px`,\n 'borderRadius': cssVar.borderRadiusSM,\n 'paddingInline': 'var(--button-padding-inline)',\n 'fontSize': 12,\n 'height': 24,\n },\n\n sizeMiddle: {\n '--button-padding-inline': `${buttonPaddingInline.middle}px`,\n 'borderRadius': cssVar.borderRadiusSM,\n 'paddingInline': 'var(--button-padding-inline)',\n 'fontSize': 13,\n 'height': 32,\n },\n\n sizeLarge: {\n '--button-padding-inline': `${buttonPaddingInline.large}px`,\n 'borderRadius': cssVar.borderRadius,\n 'paddingInline': 'var(--button-padding-inline)',\n 'fontSize': 14,\n 'height': 40,\n },\n\n outdentStart: {\n marginInlineStart: 'calc(var(--button-padding-inline) * -1)',\n },\n\n outdentEnd: {\n marginInlineEnd: 'calc(var(--button-padding-inline) * -1)',\n },\n\n shapeCircle: {\n borderRadius: '50%',\n paddingInline: 0,\n },\n\n shapeRound: {\n borderRadius: 999,\n },\n\n block: {\n width: '100%',\n },\n\n iconEnd: {\n flexDirection: 'row-reverse',\n },\n\n iconOnlySmall: {\n '--button-padding-inline': '0px',\n 'paddingInline': 0,\n 'width': 24,\n },\n\n iconOnlyMiddle: {\n '--button-padding-inline': '0px',\n 'paddingInline': 0,\n 'width': 32,\n },\n\n iconOnlyLarge: {\n '--button-padding-inline': '0px',\n 'paddingInline': 0,\n 'width': 40,\n },\n\n iconBox: {\n alignItems: 'center',\n display: 'inline-flex',\n justifyContent: 'center',\n },\n\n spinnerSlot: {\n overflow: 'visible',\n transition: `width 300ms ${slotEase}, margin 300ms ${slotEase}`,\n flexShrink: 0,\n marginInlineEnd: -6,\n position: 'relative',\n height: 12,\n width: 0,\n },\n\n spinnerSlotEnd: {\n marginInlineEnd: 0,\n marginInlineStart: -6,\n },\n\n spinnerSlotShow: {\n marginInlineEnd: 0,\n marginInlineStart: 0,\n width: 12,\n },\n\n spinnerVisual: {\n transition: `transform 180ms ${slotEase}, opacity 180ms ease-out`,\n insetBlockStart: 0,\n insetInlineStart: 0,\n opacity: 0,\n position: 'absolute',\n transform: 'scale(0.5)',\n transformOrigin: 'center',\n height: 12,\n width: 12,\n },\n\n spinnerVisualShow: {\n opacity: 1,\n transform: 'scale(1)',\n },\n\n variantDefault: {\n borderColor: { default: cssVar.colorBorder, [hover]: borderHover },\n backgroundColor: cssVar.colorBgContainer,\n backgroundImage: {\n [active]: neutralWashActive,\n default: null,\n [hoverIdle]: neutralWash,\n },\n color: cssVar.colorText,\n },\n\n variantPrimary: {\n borderColor: {\n [active]: cssVar.colorPrimaryActive,\n default: cssVar.colorPrimary,\n [hoverIdleClosed]: cssVar.colorPrimaryHover,\n [popupOpen]: cssVar.colorPrimaryActive,\n },\n backgroundColor: {\n [active]: cssVar.colorPrimaryActive,\n default: cssVar.colorPrimary,\n [hoverIdleClosed]: cssVar.colorPrimaryHover,\n [popupOpen]: cssVar.colorPrimaryActive,\n },\n color: cssVar.colorBgLayout,\n },\n\n variantDashed: {\n borderColor: { default: cssVar.colorBorder, [hover]: borderHover },\n borderStyle: 'dashed',\n backgroundColor: cssVar.colorBgContainer,\n backgroundImage: {\n [active]: neutralWashActive,\n default: null,\n [hoverIdle]: neutralWash,\n },\n color: cssVar.colorText,\n },\n\n variantFill: {\n borderColor: 'transparent',\n backgroundColor: {\n [active]: cssVar.colorFill,\n default: cssVar.colorFillTertiary,\n [hoverIdle]: cssVar.colorFillSecondary,\n },\n color: cssVar.colorText,\n },\n\n variantText: {\n borderColor: 'transparent',\n backgroundColor: { default: 'transparent', [hover]: cssVar.colorFillSecondary },\n color: cssVar.colorText,\n },\n\n variantLink: {\n borderColor: 'transparent',\n paddingInline: 0,\n backgroundColor: 'transparent',\n color: { default: cssVar.colorPrimary, [hover]: cssVar.colorPrimaryHover },\n },\n\n dangerOutlined: {\n borderColor: { default: error40, [hover]: error65 },\n backgroundColor: {\n [active]: errorOnContainer14,\n default: cssVar.colorBgContainer,\n [hoverIdle]: errorOnContainer8,\n },\n backgroundImage: null,\n color: cssVar.colorError,\n },\n\n dangerSolid: {\n borderColor: {\n [active]: errorActive,\n default: cssVar.colorError,\n [hoverIdleClosed]: errorHover,\n [popupOpen]: errorActive,\n },\n backgroundColor: {\n [active]: errorActive,\n default: cssVar.colorError,\n [hoverIdleClosed]: errorHover,\n [popupOpen]: errorActive,\n },\n color: cssVar.colorBgLayout,\n },\n\n dangerFill: {\n borderColor: 'transparent',\n backgroundColor: {\n [active]: error22,\n default: error12,\n [hoverIdle]: error18,\n },\n color: cssVar.colorError,\n },\n\n dangerText: {\n backgroundColor: {\n [active]: error16,\n default: 'transparent',\n [hoverIdle]: error10,\n },\n color: cssVar.colorError,\n },\n\n dangerInline: {\n color: { default: cssVar.colorError, [hover]: errorHover },\n },\n\n ghostDefault: {\n borderColor: 'transparent',\n backgroundColor: {\n [active]: cssVar.colorFill,\n default: 'transparent',\n [hoverIdle]: cssVar.colorFillSecondary,\n },\n color: cssVar.colorText,\n },\n\n ghostPrimary: {\n borderColor: 'transparent',\n backgroundColor: {\n [active]: cssVar.colorFill,\n default: 'transparent',\n [hoverIdle]: cssVar.colorFillSecondary,\n },\n color: {\n [active]: cssVar.colorPrimaryActive,\n default: cssVar.colorPrimary,\n [hoverIdle]: cssVar.colorPrimaryHover,\n },\n },\n\n ghostDanger: {\n borderColor: 'transparent',\n backgroundColor: {\n [active]: error16,\n default: 'transparent',\n [hoverIdle]: error10,\n },\n color: cssVar.colorError,\n },\n\n spinner: {\n borderColor: 'currentcolor',\n borderRadius: '50%',\n borderStyle: 'solid',\n borderWidth: 1.5,\n animationDuration: '0.6s',\n animationIterationCount: 'infinite',\n animationName: spin,\n animationTimingFunction: 'linear',\n borderBlockStartColor: 'transparent',\n boxSizing: 'border-box',\n display: 'inline-block',\n flexShrink: 0,\n height: 12,\n width: 12,\n },\n});\n\nconst hasHover = ':has(> :where(button, a):hover:not(:disabled, [aria-disabled=\"true\"]))';\nconst hasActive = ':has(> :where(button, a):active:not(:disabled, [aria-disabled=\"true\"]))';\nconst hasHoverOnly = `${hasHover}:not(${hasActive})`;\nconst first = ':first-of-type';\nconst last = ':last-of-type';\n\nexport const splitStyles = stylex.create({\n root: {\n display: 'inline-flex',\n flexDirection: 'row',\n },\n interactionDisabled: {\n opacity: 0.5,\n },\n solidPrimary: {\n '--lobe-split-button-fill': {\n default: null,\n [hasActive]: cssVar.colorPrimaryActive,\n [hasHoverOnly]: cssVar.colorPrimaryHover,\n },\n },\n solidDanger: {\n '--lobe-split-button-fill': {\n default: null,\n [hasActive]: errorActive,\n [hasHoverOnly]: errorHover,\n },\n },\n item: {\n borderEndEndRadius: { default: null, [first]: 0 },\n borderEndStartRadius: { default: null, [last]: 0 },\n borderStartEndRadius: { default: null, [first]: 0 },\n borderStartStartRadius: { default: null, [last]: 0 },\n marginInlineStart: { default: null, [last]: -1 },\n },\n itemInteractionDisabled: {\n opacity: { default: null, [disabled]: 1 },\n },\n itemSolid: {\n // solid halves share one color, so the outline-merging overlap only adds a dark seam once each half is translucent (disabled)\n 'marginInlineStart': { default: null, [last]: 0 },\n '::before': {\n insetBlock: { default: null, [last]: 0 },\n backgroundColor: { default: null, [last]: 'currentcolor' },\n content: { default: null, [last]: \"''\" },\n insetInlineStart: { default: null, [last]: 0 },\n opacity: { default: null, [last]: 0.2 },\n pointerEvents: { default: null, [last]: 'none' },\n position: { default: null, [last]: 'absolute' },\n width: { default: null, [last]: 1 },\n },\n },\n itemFillDanger: {\n borderColor: {\n default: `var(--lobe-split-button-fill, ${cssVar.colorError})`,\n [popupOpen]: errorActive,\n },\n backgroundColor: {\n default: `var(--lobe-split-button-fill, ${cssVar.colorError})`,\n [popupOpen]: errorActive,\n },\n },\n itemFillGhost: {\n borderColor: 'var(--lobe-split-button-fill, transparent)',\n backgroundColor: 'var(--lobe-split-button-fill, transparent)',\n },\n itemFillPrimary: {\n borderColor: {\n default: `var(--lobe-split-button-fill, ${cssVar.colorPrimary})`,\n [popupOpen]: cssVar.colorPrimaryActive,\n },\n backgroundColor: {\n default: `var(--lobe-split-button-fill, ${cssVar.colorPrimary})`,\n [popupOpen]: cssVar.colorPrimaryActive,\n },\n },\n});\n\nexport const buttonStyles = Object.fromEntries(\n Object.entries(styles).map(([key, value]) => [key, stylex.props(value).className ?? '']),\n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AAK,WAAW,CAAC,KAAK,OAAO,MAAM,KAAK,CAAC,CAAC,aAAa,EAAE,CAAC,CAAC"}
1
+ {"version":3,"file":"style.mjs","names":[],"sources":["../../src/Button/style.ts"],"sourcesContent":["import * as stylex from '@stylexjs/stylex';\n\nimport { cssVar } from '@/styles/stylex/cssVar.stylex';\n\nexport const buttonPaddingInline = {\n large: 16,\n middle: 14,\n small: 8,\n} as const;\n\nconst disabled = ':is(:disabled, [aria-disabled=\"true\"])';\nconst hover = ':hover:not(:disabled, [aria-disabled=\"true\"])';\nconst active = ':active:not(:disabled, [aria-disabled=\"true\"])';\nconst hoverIdle = ':hover:not(:active, :disabled, [aria-disabled=\"true\"])';\nconst hoverIdleClosed = ':hover:not(:active, :disabled, [aria-disabled=\"true\"], [data-popup-open])';\nconst popupOpen = ':is([data-popup-open])';\n\nconst spin = stylex.keyframes({\n to: { transform: 'rotate(360deg)' },\n});\n\nconst ease = 'cubic-bezier(0.32, 0.72, 0, 1)';\n\nconst errorHover = `color-mix(in srgb, ${cssVar.colorError} 88%, white)`;\nconst errorActive = `color-mix(in srgb, ${cssVar.colorError} 88%, black)`;\nconst borderHover = `color-mix(in srgb, ${cssVar.colorText} 8%, ${cssVar.colorBorder})`;\nconst neutralWash = `linear-gradient(${cssVar.colorFillTertiary}, ${cssVar.colorFillTertiary})`;\nconst neutralWashActive = `linear-gradient(${cssVar.colorFillSecondary}, ${cssVar.colorFillSecondary})`;\nconst error10 = `color-mix(in srgb, ${cssVar.colorError} 10%, transparent)`;\nconst error12 = `color-mix(in srgb, ${cssVar.colorError} 12%, transparent)`;\nconst error16 = `color-mix(in srgb, ${cssVar.colorError} 16%, transparent)`;\nconst error18 = `color-mix(in srgb, ${cssVar.colorError} 18%, transparent)`;\nconst error22 = `color-mix(in srgb, ${cssVar.colorError} 22%, transparent)`;\nconst error40 = `color-mix(in srgb, ${cssVar.colorError} 40%, transparent)`;\nconst error65 = `color-mix(in srgb, ${cssVar.colorError} 65%, transparent)`;\nconst errorOnContainer8 = `color-mix(in srgb, ${cssVar.colorError} 8%, ${cssVar.colorBgContainer})`;\nconst errorOnContainer14 = `color-mix(in srgb, ${cssVar.colorError} 14%, ${cssVar.colorBgContainer})`;\nconst slotEase = 'cubic-bezier(0.22, 1, 0.36, 1)';\n\nexport const styles = stylex.create({\n base: {\n borderColor: cssVar.colorBorder,\n borderStyle: 'solid',\n borderWidth: 1,\n gap: 6,\n textDecoration: 'none',\n transition: `color 160ms ${ease}, background-color 160ms ${ease}, background-image 160ms ${ease}, border-color 160ms ${ease}, box-shadow 160ms ${ease}`,\n alignItems: 'center',\n boxSizing: 'border-box',\n cursor: { default: 'pointer', [disabled]: 'not-allowed' },\n display: 'inline-flex',\n fontWeight: 500,\n justifyContent: 'center',\n lineHeight: 1,\n opacity: { default: null, [disabled]: 0.5 },\n pointerEvents: { default: null, [disabled]: 'none' },\n position: 'relative',\n whiteSpace: 'nowrap',\n },\n\n sizeSmall: {\n '--button-padding-inline': `${buttonPaddingInline.small}px`,\n 'borderRadius': cssVar.borderRadiusSM,\n 'paddingInline': 'var(--button-padding-inline)',\n 'fontSize': 12,\n 'height': 24,\n },\n\n sizeMiddle: {\n '--button-padding-inline': `${buttonPaddingInline.middle}px`,\n 'borderRadius': cssVar.borderRadiusSM,\n 'paddingInline': 'var(--button-padding-inline)',\n 'fontSize': 13,\n 'height': 32,\n },\n\n sizeLarge: {\n '--button-padding-inline': `${buttonPaddingInline.large}px`,\n 'borderRadius': cssVar.borderRadius,\n 'paddingInline': 'var(--button-padding-inline)',\n 'fontSize': 14,\n 'height': 40,\n },\n\n outdentStart: {\n marginInlineStart: 'calc(var(--button-padding-inline) * -1)',\n },\n\n outdentEnd: {\n marginInlineEnd: 'calc(var(--button-padding-inline) * -1)',\n },\n\n shapeCircle: {\n borderRadius: '50%',\n paddingInline: 0,\n },\n\n shapeRound: {\n borderRadius: 999,\n },\n\n block: {\n width: '100%',\n },\n\n iconEnd: {\n flexDirection: 'row-reverse',\n },\n\n iconOnlySmall: {\n '--button-padding-inline': '0px',\n 'paddingInline': 0,\n 'width': 24,\n },\n\n iconOnlyMiddle: {\n '--button-padding-inline': '0px',\n 'paddingInline': 0,\n 'width': 32,\n },\n\n iconOnlyLarge: {\n '--button-padding-inline': '0px',\n 'paddingInline': 0,\n 'width': 40,\n },\n\n iconBox: {\n alignItems: 'center',\n display: 'inline-flex',\n justifyContent: 'center',\n },\n\n spinnerSlot: {\n overflow: 'visible',\n transition: `width 300ms ${slotEase}, margin 300ms ${slotEase}`,\n flexShrink: 0,\n marginInlineEnd: -6,\n position: 'relative',\n height: 12,\n width: 0,\n },\n\n spinnerSlotEnd: {\n marginInlineEnd: 0,\n marginInlineStart: -6,\n },\n\n spinnerSlotShow: {\n marginInlineEnd: 0,\n marginInlineStart: 0,\n width: 12,\n },\n\n spinnerVisual: {\n transition: `transform 180ms ${slotEase}, opacity 180ms ease-out`,\n insetBlockStart: 0,\n insetInlineStart: 0,\n opacity: 0,\n position: 'absolute',\n transform: 'scale(0.5)',\n transformOrigin: 'center',\n height: 12,\n width: 12,\n },\n\n spinnerVisualShow: {\n opacity: 1,\n transform: 'scale(1)',\n },\n\n variantDefault: {\n borderColor: { default: cssVar.colorBorder, [hover]: borderHover },\n backgroundColor: cssVar.colorBgContainer,\n backgroundImage: {\n [active]: neutralWashActive,\n default: null,\n [hoverIdle]: neutralWash,\n },\n color: cssVar.colorText,\n },\n\n variantPrimary: {\n borderColor: {\n [active]: cssVar.colorPrimaryActive,\n default: cssVar.colorPrimary,\n [hoverIdleClosed]: cssVar.colorPrimaryHover,\n [popupOpen]: cssVar.colorPrimaryActive,\n },\n backgroundColor: {\n [active]: cssVar.colorPrimaryActive,\n default: cssVar.colorPrimary,\n [hoverIdleClosed]: cssVar.colorPrimaryHover,\n [popupOpen]: cssVar.colorPrimaryActive,\n },\n color: cssVar.colorBgLayout,\n },\n\n variantDashed: {\n borderColor: { default: cssVar.colorBorder, [hover]: borderHover },\n borderStyle: 'dashed',\n backgroundColor: cssVar.colorBgContainer,\n backgroundImage: {\n [active]: neutralWashActive,\n default: null,\n [hoverIdle]: neutralWash,\n },\n color: cssVar.colorText,\n },\n\n variantFill: {\n borderColor: 'transparent',\n backgroundColor: {\n [active]: cssVar.colorFill,\n default: cssVar.colorFillTertiary,\n [hoverIdle]: cssVar.colorFillSecondary,\n },\n color: cssVar.colorText,\n },\n\n variantText: {\n borderColor: 'transparent',\n backgroundColor: { default: 'transparent', [hover]: cssVar.colorFillSecondary },\n color: cssVar.colorText,\n },\n\n variantLink: {\n borderColor: 'transparent',\n paddingInline: 0,\n backgroundColor: 'transparent',\n color: { default: cssVar.colorPrimary, [hover]: cssVar.colorPrimaryHover },\n },\n\n dangerOutlined: {\n borderColor: { default: error40, [hover]: error65 },\n backgroundColor: {\n [active]: errorOnContainer14,\n default: cssVar.colorBgContainer,\n [hoverIdle]: errorOnContainer8,\n },\n backgroundImage: null,\n color: cssVar.colorError,\n },\n\n dangerSolid: {\n borderColor: {\n [active]: errorActive,\n default: cssVar.colorError,\n [hoverIdleClosed]: errorHover,\n [popupOpen]: errorActive,\n },\n backgroundColor: {\n [active]: errorActive,\n default: cssVar.colorError,\n [hoverIdleClosed]: errorHover,\n [popupOpen]: errorActive,\n },\n color: cssVar.colorBgLayout,\n },\n\n dangerFill: {\n borderColor: 'transparent',\n backgroundColor: {\n [active]: error22,\n default: error12,\n [hoverIdle]: error18,\n },\n color: cssVar.colorError,\n },\n\n dangerText: {\n backgroundColor: {\n [active]: error16,\n default: 'transparent',\n [hoverIdle]: error10,\n },\n color: cssVar.colorError,\n },\n\n dangerInline: {\n color: { default: cssVar.colorError, [hover]: errorHover },\n },\n\n ghostDefault: {\n borderColor: 'transparent',\n backgroundColor: {\n [active]: cssVar.colorFill,\n default: 'transparent',\n [hoverIdle]: cssVar.colorFillSecondary,\n },\n color: cssVar.colorText,\n },\n\n ghostPrimary: {\n borderColor: 'transparent',\n backgroundColor: {\n [active]: cssVar.colorFill,\n default: 'transparent',\n [hoverIdle]: cssVar.colorFillSecondary,\n },\n color: {\n [active]: cssVar.colorPrimaryActive,\n default: cssVar.colorPrimary,\n [hoverIdle]: cssVar.colorPrimaryHover,\n },\n },\n\n ghostDanger: {\n borderColor: 'transparent',\n backgroundColor: {\n [active]: error16,\n default: 'transparent',\n [hoverIdle]: error10,\n },\n color: cssVar.colorError,\n },\n\n spinner: {\n borderColor: 'currentcolor',\n borderRadius: '50%',\n borderStyle: 'solid',\n borderWidth: 1.5,\n animationDuration: '0.6s',\n animationIterationCount: 'infinite',\n animationName: spin,\n animationTimingFunction: 'linear',\n borderBlockStartColor: 'transparent',\n boxSizing: 'border-box',\n display: 'inline-block',\n flexShrink: 0,\n height: 12,\n width: 12,\n },\n});\n\nconst hasHover = ':has(> :where(button, a):hover:not(:disabled, [aria-disabled=\"true\"]))';\nconst hasActive = ':has(> :where(button, a):active:not(:disabled, [aria-disabled=\"true\"]))';\nconst hasHoverOnly = `${hasHover}:not(${hasActive})`;\nconst first = ':first-of-type';\nconst last = ':last-of-type';\n\nexport const splitStyles = stylex.create({\n root: {\n display: 'inline-flex',\n flexDirection: 'row',\n },\n interactionDisabled: {\n opacity: 0.5,\n },\n solidPrimary: {\n '--lobe-split-button-fill': {\n default: null,\n [hasActive]: cssVar.colorPrimaryActive,\n [hasHoverOnly]: cssVar.colorPrimaryHover,\n },\n },\n solidDanger: {\n '--lobe-split-button-fill': {\n default: null,\n [hasActive]: errorActive,\n [hasHoverOnly]: errorHover,\n },\n },\n item: {\n borderEndEndRadius: { default: null, [first]: 0 },\n borderEndStartRadius: { default: null, [last]: 0 },\n borderStartEndRadius: { default: null, [first]: 0 },\n borderStartStartRadius: { default: null, [last]: 0 },\n marginInlineStart: { default: null, [last]: -1 },\n },\n itemInteractionDisabled: {\n opacity: { default: null, [disabled]: 1 },\n },\n itemSolid: {\n // solid halves share one color, so the outline-merging overlap only adds a dark seam once each half is translucent (disabled)\n 'marginInlineStart': { default: null, [last]: 0 },\n '::before': {\n insetBlock: { default: null, [last]: 0 },\n backgroundColor: { default: null, [last]: 'currentcolor' },\n content: { default: null, [last]: \"''\" },\n insetInlineStart: { default: null, [last]: 0 },\n opacity: { default: null, [last]: 0.2 },\n pointerEvents: { default: null, [last]: 'none' },\n position: { default: null, [last]: 'absolute' },\n width: { default: null, [last]: 1 },\n },\n },\n itemFillDanger: {\n borderColor: {\n default: `var(--lobe-split-button-fill, ${cssVar.colorError})`,\n [popupOpen]: errorActive,\n },\n backgroundColor: {\n default: `var(--lobe-split-button-fill, ${cssVar.colorError})`,\n [popupOpen]: errorActive,\n },\n },\n itemFillGhost: {\n borderColor: 'var(--lobe-split-button-fill, transparent)',\n backgroundColor: 'var(--lobe-split-button-fill, transparent)',\n },\n itemFillPrimary: {\n borderColor: {\n default: `var(--lobe-split-button-fill, ${cssVar.colorPrimary})`,\n [popupOpen]: cssVar.colorPrimaryActive,\n },\n backgroundColor: {\n default: `var(--lobe-split-button-fill, ${cssVar.colorPrimary})`,\n [popupOpen]: cssVar.colorPrimaryActive,\n },\n },\n});\n\nexport const buttonStyles = {\n base: stylex.props(styles.base).className ?? '',\n sizeSmall: stylex.props(styles.sizeSmall).className ?? '',\n sizeMiddle: stylex.props(styles.sizeMiddle).className ?? '',\n sizeLarge: stylex.props(styles.sizeLarge).className ?? '',\n outdentStart: stylex.props(styles.outdentStart).className ?? '',\n outdentEnd: stylex.props(styles.outdentEnd).className ?? '',\n shapeCircle: stylex.props(styles.shapeCircle).className ?? '',\n shapeRound: stylex.props(styles.shapeRound).className ?? '',\n block: stylex.props(styles.block).className ?? '',\n iconEnd: stylex.props(styles.iconEnd).className ?? '',\n iconOnlySmall: stylex.props(styles.iconOnlySmall).className ?? '',\n iconOnlyMiddle: stylex.props(styles.iconOnlyMiddle).className ?? '',\n iconOnlyLarge: stylex.props(styles.iconOnlyLarge).className ?? '',\n iconBox: stylex.props(styles.iconBox).className ?? '',\n spinnerSlot: stylex.props(styles.spinnerSlot).className ?? '',\n spinnerSlotEnd: stylex.props(styles.spinnerSlotEnd).className ?? '',\n spinnerSlotShow: stylex.props(styles.spinnerSlotShow).className ?? '',\n spinnerVisual: stylex.props(styles.spinnerVisual).className ?? '',\n spinnerVisualShow: stylex.props(styles.spinnerVisualShow).className ?? '',\n variantDefault: stylex.props(styles.variantDefault).className ?? '',\n variantPrimary: stylex.props(styles.variantPrimary).className ?? '',\n variantDashed: stylex.props(styles.variantDashed).className ?? '',\n variantFill: stylex.props(styles.variantFill).className ?? '',\n variantText: stylex.props(styles.variantText).className ?? '',\n variantLink: stylex.props(styles.variantLink).className ?? '',\n dangerOutlined: stylex.props(styles.dangerOutlined).className ?? '',\n dangerSolid: stylex.props(styles.dangerSolid).className ?? '',\n dangerFill: stylex.props(styles.dangerFill).className ?? '',\n dangerText: stylex.props(styles.dangerText).className ?? '',\n dangerInline: stylex.props(styles.dangerInline).className ?? '',\n ghostDefault: stylex.props(styles.ghostDefault).className ?? '',\n ghostPrimary: stylex.props(styles.ghostPrimary).className ?? '',\n ghostDanger: stylex.props(styles.ghostDanger).className ?? '',\n spinner: stylex.props(styles.spinner).className ?? '',\n} satisfies Record<keyof typeof styles, string>;\n"],"mappings":";;AAGA,MAAa,sBAAsB;CACjC,OAAO;CACP,QAAQ;CACR,OAAO;AACT;AASmB,GAAsB,OAAO;AAC5B,GAAsB,OAAO;AAC7B,GAAsB,OAAO,YAAiB,OAAO;AACrD,GAAmB,OAAO,oBAAsB,OAAO;AACjD,GAAmB,OAAO,qBAAuB,OAAO;AAClE,GAAsB,OAAO;AAC7B,GAAsB,OAAO;AAC7B,GAAsB,OAAO;AAC7B,GAAsB,OAAO;AAC7B,GAAsB,OAAO;AAC7B,GAAsB,OAAO;AAC7B,GAAsB,OAAO;AACnB,GAAsB,OAAO,aAAkB,OAAO;AACrD,GAAsB,OAAO,aAAmB,OAAO;AAElF,MAAa,SAAS;CACpB,MAAM;EACJ,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;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BAAgB,EACd,WAAW,oBACb,EAAE,aAAa;CACf,iBAAiB,EACf,WAAW,8BACb,EAAE,aAAa;CACf,eAAe,EACb,WAAW,yFACb,EAAE,aAAa;CACf,mBAAmB,EACjB,WAAW,qBACb,EAAE,aAAa;CACf,gBAAgB,EACd,WAAW,yDACb,EAAE,aAAa;CACf,gBAAgB,EACd,WAAW,uFACb,EAAE,aAAa;CACf,eAAe,EACb,WAAW,kEACb,EAAE,aAAa;CACf,aAAa,EACX,WAAW,gDACb,EAAE,aAAa;CACf,aAAa,EACX,WAAW,uCACb,EAAE,aAAa;CACf,aAAa,EACX,WAAW,gDACb,EAAE,aAAa;CACf,gBAAgB,EACd,WAAW,2DACb,EAAE,aAAa;CACf,aAAa,EACX,WAAW,0FACb,EAAE,aAAa;CACf,YAAY,EACV,WAAW,kDACb,EAAE,aAAa;CACf,YAAY,EACV,WAAW,wCACb,EAAE,aAAa;CACf,cAAc,EACZ,WAAW,qBACb,EAAE,aAAa;CACf,cAAc,EACZ,WAAW,gDACb,EAAE,aAAa;CACf,cAAc,EACZ,WAAW,mEACb,EAAE,aAAa;CACf,aAAa,EACX,WAAW,iDACb,EAAE,aAAa;CACf,SAAS,EACP,WAAW,uIACb,EAAE,aAAa;AACjB"}
@@ -1,8 +1,8 @@
1
1
  "use client";
2
- import { styleProps } from "../styles/stylex/props.mjs";
3
2
  import { ActionIconImpl } from "../ActionIcon/ActionIcon.mjs";
4
- import { useEventCallback } from "../hooks/useEventCallback.mjs";
5
3
  import { useControlledState } from "../hooks/useControlledState.mjs";
4
+ import { useEventCallback } from "../hooks/useEventCallback.mjs";
5
+ import { styleProps } from "../styles/stylex/props.mjs";
6
6
  import { carouselClasses } from "./stable.mjs";
7
7
  import { styles } from "./style.mjs";
8
8
  import clsx$1 from "clsx";
@@ -1,3 +1,3 @@
1
- import { CarouselProps, CarouselRef } from "./type.mjs";
2
1
  import Carousel from "./Carousel.mjs";
2
+ import { CarouselProps, CarouselRef } from "./type.mjs";
3
3
  export { type CarouselProps, type CarouselRef, Carousel as default };
@@ -1,8 +1,8 @@
1
1
  "use client";
2
- import { toDataAttributes } from "../utils/bem.mjs";
3
- import { styleProps } from "../styles/stylex/props.mjs";
4
2
  import { focusRing } from "../styles/stylex/focusRing.mjs";
3
+ import { styleProps } from "../styles/stylex/props.mjs";
5
4
  import Text from "../Text/Text.mjs";
5
+ import { toDataAttributes } from "../utils/bem.mjs";
6
6
  import { checkboxClasses } from "./stable.mjs";
7
7
  import { styles } from "./style.mjs";
8
8
  import clsx$1 from "clsx";
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- import { toDataAttributes } from "../utils/bem.mjs";
3
2
  import { styleProps } from "../styles/stylex/props.mjs";
3
+ import { toDataAttributes } from "../utils/bem.mjs";
4
+ import Checkbox_default from "./Checkbox.mjs";
4
5
  import { checkboxGroupClasses } from "./stable.mjs";
5
6
  import { styles } from "./style.mjs";
6
- import Checkbox_default from "./Checkbox.mjs";
7
7
  import clsx$1 from "clsx";
8
8
  import { memo, useMemo } from "react";
9
9
  import { jsx } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
- import { CheckboxGroupOption, CheckboxGroupProps, CheckboxProps, CheckboxShape } from "./type.mjs";
2
1
  import _default from "./Checkbox.mjs";
3
2
  import CheckboxGroup from "./CheckboxGroup.mjs";
4
3
  import { checkboxStyles } from "./style.mjs";
4
+ import { CheckboxGroupOption, CheckboxGroupProps, CheckboxProps, CheckboxShape } from "./type.mjs";
5
5
  export { _default as Checkbox, CheckboxGroup, type CheckboxGroupOption, type CheckboxGroupProps, type CheckboxProps, type CheckboxShape, checkboxStyles };
@@ -1,4 +1,4 @@
1
- import { checkboxStyles } from "./style.mjs";
2
1
  import Checkbox_default from "./Checkbox.mjs";
3
2
  import CheckboxGroup from "./CheckboxGroup.mjs";
3
+ import { checkboxStyles } from "./style.mjs";
4
4
  export { Checkbox_default as Checkbox, CheckboxGroup, checkboxStyles };
@@ -1,59 +1,14 @@
1
- import * as stylex from "@stylexjs/stylex";
2
- export declare const styles: Readonly<{
3
- readonly circle: Readonly<{
4
- readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", "50%">;
5
- }>;
6
- readonly defaultSize: Readonly<{
7
- readonly height: stylex.StyleXClassNameFor<"height", 16>;
8
- readonly width: stylex.StyleXClassNameFor<"width", 16>;
9
- }>;
10
- readonly defaultSquare: Readonly<{
11
- readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", 4>;
12
- }>;
13
- readonly group: Readonly<{
14
- readonly gap: stylex.StyleXClassNameFor<"gap", 12>;
15
- readonly display: stylex.StyleXClassNameFor<"display", "flex">;
16
- readonly flexDirection: stylex.StyleXClassNameFor<"flexDirection", "row">;
17
- readonly flexWrap: stylex.StyleXClassNameFor<"flexWrap", "wrap">;
18
- }>;
19
- readonly groupVertical: Readonly<{
20
- readonly flexDirection: stylex.StyleXClassNameFor<"flexDirection", "column">;
21
- }>;
22
- readonly iconCircle: Readonly<{
23
- readonly transform: stylex.StyleXClassNameFor<"transform", "scale(0.66)">;
24
- }>;
25
- readonly iconSquare: Readonly<{
26
- readonly transform: stylex.StyleXClassNameFor<"transform", "scale(0.75)">;
27
- }>;
28
- readonly indicator: Readonly<{
29
- readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
30
- readonly display: stylex.StyleXClassNameFor<"display", "flex">;
31
- readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "center">;
32
- }>;
33
- readonly label: Readonly<{
34
- readonly gap: stylex.StyleXClassNameFor<"gap", 8>;
35
- readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
36
- readonly cursor: stylex.StyleXClassNameFor<"cursor", "pointer" | "not-allowed">;
37
- readonly display: stylex.StyleXClassNameFor<"display", "inline-flex">;
38
- readonly userSelect: stylex.StyleXClassNameFor<"userSelect", "none">;
39
- }>;
40
- readonly root: Readonly<{
41
- readonly margin: stylex.StyleXClassNameFor<"margin", 0>;
42
- readonly padding: stylex.StyleXClassNameFor<"padding", 0>;
43
- readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
44
- readonly borderStyle: stylex.StyleXClassNameFor<"borderStyle", "solid">;
45
- readonly borderWidth: stylex.StyleXClassNameFor<"borderWidth", 1>;
46
- readonly flex: stylex.StyleXClassNameFor<"flex", "none">;
47
- readonly outline: stylex.StyleXClassNameFor<"outline", "none">;
48
- readonly transition: stylex.StyleXClassNameFor<"transition", `background 150ms ${string}, border-color 150ms ${string}`>;
49
- readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
50
- readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
51
- readonly color: stylex.StyleXClassNameFor<"color", string>;
52
- readonly cursor: stylex.StyleXClassNameFor<"cursor", "pointer" | "not-allowed">;
53
- readonly display: stylex.StyleXClassNameFor<"display", "inline-flex">;
54
- readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "center">;
55
- readonly opacity: stylex.StyleXClassNameFor<"opacity", 0.25 | null>;
56
- }>;
57
- }>;
58
- export declare const checkboxStyles: Record<keyof typeof styles, string>;
1
+ import "@stylexjs/stylex";
2
+ export declare const checkboxStyles: {
3
+ circle: string;
4
+ defaultSize: string;
5
+ defaultSquare: string;
6
+ group: string;
7
+ groupVertical: string;
8
+ iconCircle: string;
9
+ iconSquare: string;
10
+ indicator: string;
11
+ label: string;
12
+ root: string;
13
+ };
59
14
  //# sourceMappingURL=style.d.mts.map
@@ -1,4 +1,3 @@
1
- import * as stylex from "@stylexjs/stylex";
2
1
  // src/Checkbox/style.ts
3
2
  const styles = {
4
3
  circle: {
@@ -66,7 +65,18 @@ const styles = {
66
65
  $$css: true
67
66
  }
68
67
  };
69
- const checkboxStyles = Object.fromEntries(Object.entries(styles).map(([key, value]) => [key, stylex.props(value).className ?? ""]));
68
+ const checkboxStyles = {
69
+ circle: { className: "lb16rqkct" }.className ?? "",
70
+ defaultSize: { className: "lblup9mm lb1kky2od" }.className ?? "",
71
+ defaultSquare: { className: "lb12oqio5" }.className ?? "",
72
+ group: { className: "lb1v2ro7d lb78zum5 lb1q0g3np lb1a02dak" }.className ?? "",
73
+ groupVertical: { className: "lbdt5ytf" }.className ?? "",
74
+ iconCircle: { className: "lb10078c2" }.className ?? "",
75
+ iconSquare: { className: "lb1nrvvgt" }.className ?? "",
76
+ indicator: { className: "lb6s0dn4 lb78zum5 lbl56j7k" }.className ?? "",
77
+ label: { className: "lb167g77z lb6s0dn4 lb1ypdohk lb1r4mgf1 lb3nfvp2 lb87ps6o" }.className ?? "",
78
+ root: { className: "lb1ghz6dp lb1717udv lb1ri2ox9 lb10cypdb lb18hgaxl lb14dg99k lb1y0btm7 lbmkeg23 lb1okw0bk lb1a2a7pz lb1mlet35 lb6s0dn4 lbpbwnwz lb6yijhg lb1ppu4m2 lb15g0kca lbcdmxi5 lb1ypdohk lb5ezrf1 lb3nfvp2 lbl56j7k lb12zwbr1" }.className ?? ""
79
+ };
70
80
  export { checkboxStyles, styles };
71
81
 
72
82
  //# sourceMappingURL=style.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"style.mjs","names":[],"sources":["../../src/Checkbox/style.ts"],"sourcesContent":["import * as stylex from '@stylexjs/stylex';\n\nimport { cssVar } from '@/styles/stylex/cssVar.stylex';\n\nconst checked = ':is([data-checked], [data-indeterminate]):not([data-disabled])';\nconst hover = ':hover:not([data-disabled], [data-checked], [data-indeterminate])';\nconst disabled = ':is([data-disabled])';\n\nexport const styles = stylex.create({\n circle: {\n borderRadius: '50%',\n },\n defaultSize: {\n height: 16,\n width: 16,\n },\n defaultSquare: {\n borderRadius: 4,\n },\n group: {\n gap: 12,\n display: 'flex',\n flexDirection: 'row',\n flexWrap: 'wrap',\n },\n groupVertical: {\n flexDirection: 'column',\n },\n iconCircle: {\n transform: 'scale(0.66)',\n },\n iconSquare: {\n transform: 'scale(0.75)',\n },\n indicator: {\n alignItems: 'center',\n display: 'flex',\n justifyContent: 'center',\n },\n label: {\n gap: 8,\n alignItems: 'center',\n cursor: { 'default': 'pointer', ':has([data-disabled])': 'not-allowed' },\n display: 'inline-flex',\n userSelect: 'none',\n },\n root: {\n margin: 0,\n padding: 0,\n borderColor: {\n [checked]: `var(--lobe-checkbox-bg, ${cssVar.colorPrimary})`,\n default: cssVar.colorBorderSecondary,\n [disabled]: cssVar.colorFill,\n [hover]: cssVar.colorBorder,\n },\n borderStyle: 'solid',\n borderWidth: 1,\n flex: 'none',\n outline: 'none',\n transition: `background 150ms ${cssVar.motionEaseOut}, border-color 150ms ${cssVar.motionEaseOut}`,\n alignItems: 'center',\n backgroundColor: {\n [checked]: `var(--lobe-checkbox-bg, ${cssVar.colorPrimary})`,\n default: cssVar.colorBgContainer,\n [disabled]: cssVar.colorFill,\n },\n color: { default: cssVar.colorBgLayout, [disabled]: cssVar.colorText },\n cursor: { default: 'pointer', [disabled]: 'not-allowed' },\n display: 'inline-flex',\n justifyContent: 'center',\n opacity: { default: null, [disabled]: 0.25 },\n },\n});\n\nexport const checkboxStyles = Object.fromEntries(\n Object.entries(styles).map(([key, value]) => [key, stylex.props(value).className ?? '']),\n) as Record<keyof typeof styles, string>;\n"],"mappings":";;AAMA,MAAa,SAAS;CACpB,QAAQ;EACN,QAAQ;EACR,OAAO;CACT;CACA,aAAa;EACX,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,eAAe;EACb,QAAQ;EACR,OAAO;CACT;CACA,OAAO;EACL,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,eAAe;EACb,QAAQ;EACR,OAAO;CACT;CACA,YAAY;EACV,QAAQ;EACR,OAAO;CACT;CACA,YAAY;EACV,QAAQ;EACR,OAAO;CACT;CACA,WAAW;EACT,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,OAAO;EACL,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,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;AACF;AACA,MAAa,iBAAiB,OAAO,YAAY,OAAO,QAAQ,MAAM,CAAC,CAAC,KAAK,CAAC,KAAK,WAAW,CAAC,KAAK,OAAO,MAAM,KAAK,CAAC,CAAC,aAAa,EAAE,CAAC,CAAC"}
1
+ {"version":3,"file":"style.mjs","names":[],"sources":["../../src/Checkbox/style.ts"],"sourcesContent":["import * as stylex from '@stylexjs/stylex';\n\nimport { cssVar } from '@/styles/stylex/cssVar.stylex';\n\nconst checked = ':is([data-checked], [data-indeterminate]):not([data-disabled])';\nconst hover = ':hover:not([data-disabled], [data-checked], [data-indeterminate])';\nconst disabled = ':is([data-disabled])';\n\nexport const styles = stylex.create({\n circle: {\n borderRadius: '50%',\n },\n defaultSize: {\n height: 16,\n width: 16,\n },\n defaultSquare: {\n borderRadius: 4,\n },\n group: {\n gap: 12,\n display: 'flex',\n flexDirection: 'row',\n flexWrap: 'wrap',\n },\n groupVertical: {\n flexDirection: 'column',\n },\n iconCircle: {\n transform: 'scale(0.66)',\n },\n iconSquare: {\n transform: 'scale(0.75)',\n },\n indicator: {\n alignItems: 'center',\n display: 'flex',\n justifyContent: 'center',\n },\n label: {\n gap: 8,\n alignItems: 'center',\n cursor: { 'default': 'pointer', ':has([data-disabled])': 'not-allowed' },\n display: 'inline-flex',\n userSelect: 'none',\n },\n root: {\n margin: 0,\n padding: 0,\n borderColor: {\n [checked]: `var(--lobe-checkbox-bg, ${cssVar.colorPrimary})`,\n default: cssVar.colorBorderSecondary,\n [disabled]: cssVar.colorFill,\n [hover]: cssVar.colorBorder,\n },\n borderStyle: 'solid',\n borderWidth: 1,\n flex: 'none',\n outline: 'none',\n transition: `background 150ms ${cssVar.motionEaseOut}, border-color 150ms ${cssVar.motionEaseOut}`,\n alignItems: 'center',\n backgroundColor: {\n [checked]: `var(--lobe-checkbox-bg, ${cssVar.colorPrimary})`,\n default: cssVar.colorBgContainer,\n [disabled]: cssVar.colorFill,\n },\n color: { default: cssVar.colorBgLayout, [disabled]: cssVar.colorText },\n cursor: { default: 'pointer', [disabled]: 'not-allowed' },\n display: 'inline-flex',\n justifyContent: 'center',\n opacity: { default: null, [disabled]: 0.25 },\n },\n});\n\nexport const checkboxStyles = {\n circle: stylex.props(styles.circle).className ?? '',\n defaultSize: stylex.props(styles.defaultSize).className ?? '',\n defaultSquare: stylex.props(styles.defaultSquare).className ?? '',\n group: stylex.props(styles.group).className ?? '',\n groupVertical: stylex.props(styles.groupVertical).className ?? '',\n iconCircle: stylex.props(styles.iconCircle).className ?? '',\n iconSquare: stylex.props(styles.iconSquare).className ?? '',\n indicator: stylex.props(styles.indicator).className ?? '',\n label: stylex.props(styles.label).className ?? '',\n root: stylex.props(styles.root).className ?? '',\n} satisfies Record<keyof typeof styles, string>;\n"],"mappings":";AAMA,MAAa,SAAS;CACpB,QAAQ;EACN,QAAQ;EACR,OAAO;CACT;CACA,aAAa;EACX,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,eAAe;EACb,QAAQ;EACR,OAAO;CACT;CACA,OAAO;EACL,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,eAAe;EACb,QAAQ;EACR,OAAO;CACT;CACA,YAAY;EACV,QAAQ;EACR,OAAO;CACT;CACA,YAAY;EACV,QAAQ;EACR,OAAO;CACT;CACA,WAAW;EACT,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,OAAO;EACL,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,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;AACF;AACA,MAAa,iBAAiB;CAC5B,QAAQ,EACN,WAAW,YACb,EAAE,aAAa;CACf,aAAa,EACX,WAAW,qBACb,EAAE,aAAa;CACf,eAAe,EACb,WAAW,YACb,EAAE,aAAa;CACf,OAAO,EACL,WAAW,yCACb,EAAE,aAAa;CACf,eAAe,EACb,WAAW,WACb,EAAE,aAAa;CACf,YAAY,EACV,WAAW,YACb,EAAE,aAAa;CACf,YAAY,EACV,WAAW,YACb,EAAE,aAAa;CACf,WAAW,EACT,WAAW,6BACb,EAAE,aAAa;CACf,OAAO,EACL,WAAW,2DACb,EAAE,aAAa;CACf,MAAM,EACJ,WAAW,sNACb,EAAE,aAAa;AACjB"}
@@ -1,8 +1,8 @@
1
1
  import { FlexboxProps } from "../Flex/type.mjs";
2
2
  import "../Flex/index.mjs";
3
- import { DistributiveOmit } from "../types/index.mjs";
4
- import { TextProps } from "../Text/type.mjs";
5
3
  import "../Text/index.mjs";
4
+ import { TextProps } from "../Text/type.mjs";
5
+ import { DistributiveOmit } from "../types/index.mjs";
6
6
  import { CSSProperties, ComponentProps, ReactNode } from "react";
7
7
  import { Checkbox } from "@base-ui/react/checkbox";
8
8
  import { CheckboxGroup } from "@base-ui/react/checkbox-group";