@well-insight/ui 0.1.9 → 0.1.11

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 (462) hide show
  1. package/CHANGELOG.md +59 -0
  2. package/README.md +3 -3
  3. package/README.zh-CN.md +3 -3
  4. package/dist/{Button-BZzV1X-d.js → Button-tnrMSwNg.js} +4 -8
  5. package/dist/{Checkbox-BtgWgkHI.js → Checkbox-CoovLjt_.js} +6 -6
  6. package/dist/{Icon-B6gOD07E.js → Icon-DHGs8l-M.js} +27 -1
  7. package/dist/Pagination-UvgyUKB1.js +155 -0
  8. package/dist/{ProgressSpinner-YThgaSzb.js → ProgressSpinner-BTijCc7l.js} +1 -1
  9. package/dist/accordion/style.css +42 -28
  10. package/dist/auto-complete/index.js +106 -99
  11. package/dist/auto-complete/style.css +184 -162
  12. package/dist/avatar/index.js +1 -1
  13. package/dist/avatar/style.css +106 -79
  14. package/dist/badge/style.css +150 -115
  15. package/dist/block-ui/style.css +42 -28
  16. package/dist/breadcrumb/index.js +1 -1
  17. package/dist/breadcrumb/style.css +42 -28
  18. package/dist/button/index.js +1 -1
  19. package/dist/button/style.css +609 -452
  20. package/dist/card/style.css +42 -28
  21. package/dist/carousel/index.js +61 -54
  22. package/dist/carousel/style.css +116 -62
  23. package/dist/carousel/style.js +1 -0
  24. package/dist/cascade-select/index.js +143 -76
  25. package/dist/cascade-select/style.css +193 -110
  26. package/dist/cascade-select/style.js +1 -0
  27. package/dist/checkbox/index.js +1 -1
  28. package/dist/checkbox/style.css +42 -28
  29. package/dist/chip/index.js +32 -29
  30. package/dist/chip/style.css +121 -100
  31. package/dist/command-menu/index.js +2 -2
  32. package/dist/command-menu/style.css +101 -85
  33. package/dist/components/Accordion/Accordion.vue.d.ts.map +1 -1
  34. package/dist/components/AutoComplete/AutoComplete.vue.d.ts +2 -0
  35. package/dist/components/AutoComplete/AutoComplete.vue.d.ts.map +1 -1
  36. package/dist/components/AutoComplete/styles.css +142 -134
  37. package/dist/components/AutoComplete/types.d.ts +1 -0
  38. package/dist/components/AutoComplete/types.d.ts.map +1 -1
  39. package/dist/components/Avatar/Avatar.vue.d.ts.map +1 -1
  40. package/dist/components/Avatar/AvatarGroup.vue.d.ts.map +1 -1
  41. package/dist/components/Avatar/styles.css +64 -51
  42. package/dist/components/Badge/Badge.vue.d.ts.map +1 -1
  43. package/dist/components/Badge/styles.css +108 -87
  44. package/dist/components/BlockUI/BlockUI.vue.d.ts.map +1 -1
  45. package/dist/components/Breadcrumb/Breadcrumb.vue.d.ts.map +1 -1
  46. package/dist/components/Button/Button.vue.d.ts +1 -2
  47. package/dist/components/Button/Button.vue.d.ts.map +1 -1
  48. package/dist/components/Button/ButtonGroup.vue.d.ts.map +1 -1
  49. package/dist/components/Button/styles.css +567 -424
  50. package/dist/components/Button/types.d.ts +0 -2
  51. package/dist/components/Button/types.d.ts.map +1 -1
  52. package/dist/components/Card/Card.vue.d.ts.map +1 -1
  53. package/dist/components/Carousel/Carousel.vue.d.ts +2 -2
  54. package/dist/components/Carousel/Carousel.vue.d.ts.map +1 -1
  55. package/dist/components/Carousel/styles.css +36 -35
  56. package/dist/components/CascadeSelect/CascadeSelect.vue.d.ts +6 -0
  57. package/dist/components/CascadeSelect/CascadeSelect.vue.d.ts.map +1 -1
  58. package/dist/components/CascadeSelect/styles.css +137 -107
  59. package/dist/components/CascadeSelect/types.d.ts +11 -0
  60. package/dist/components/CascadeSelect/types.d.ts.map +1 -1
  61. package/dist/components/Checkbox/Checkbox.vue.d.ts.map +1 -1
  62. package/dist/components/Checkbox/CheckboxGroup.vue.d.ts.map +1 -1
  63. package/dist/components/Chip/Chip.vue.d.ts.map +1 -1
  64. package/dist/components/Chip/styles.css +79 -72
  65. package/dist/components/CommandMenu/CommandMenu.vue.d.ts.map +1 -1
  66. package/dist/components/CommandMenu/styles.css +59 -57
  67. package/dist/components/ConfigProvider/ConfigProvider.vue.d.ts.map +1 -1
  68. package/dist/components/ConfirmDialog/ConfirmDialog.vue.d.ts.map +1 -1
  69. package/dist/components/ConfirmDialog/styles.css +17 -16
  70. package/dist/components/ConfirmPopup/ConfirmPopup.vue.d.ts.map +1 -1
  71. package/dist/components/ConfirmPopup/styles.css +27 -26
  72. package/dist/components/ContextMenu/ContextMenu.vue.d.ts.map +1 -1
  73. package/dist/components/ContextMenu/ContextMenuNodes.vue.d.ts.map +1 -1
  74. package/dist/components/ContextMenu/index.d.ts +1 -1
  75. package/dist/components/ContextMenu/index.d.ts.map +1 -1
  76. package/dist/components/ContextMenu/styles.css +43 -37
  77. package/dist/components/ContextMenu/useContextMenu.d.ts.map +1 -1
  78. package/dist/components/DataView/DataView.vue.d.ts.map +1 -1
  79. package/dist/components/DatePicker/DatePicker.vue.d.ts +2 -0
  80. package/dist/components/DatePicker/DatePicker.vue.d.ts.map +1 -1
  81. package/dist/components/DatePicker/styles.css +200 -151
  82. package/dist/components/DatePicker/types.d.ts +1 -0
  83. package/dist/components/DatePicker/types.d.ts.map +1 -1
  84. package/dist/components/Dialog/Dialog.vue.d.ts +3 -3
  85. package/dist/components/Dialog/Dialog.vue.d.ts.map +1 -1
  86. package/dist/components/Dialog/styles.css +155 -150
  87. package/dist/components/Divider/Divider.vue.d.ts.map +1 -1
  88. package/dist/components/Divider/types.d.ts +0 -5
  89. package/dist/components/Divider/types.d.ts.map +1 -1
  90. package/dist/components/Dock/Dock.vue.d.ts.map +1 -1
  91. package/dist/components/Dock/styles.css +37 -32
  92. package/dist/components/Drawer/Drawer.vue.d.ts +2 -2
  93. package/dist/components/Drawer/Drawer.vue.d.ts.map +1 -1
  94. package/dist/components/Drawer/styles.css +82 -80
  95. package/dist/components/Dropdown/Dropdown.vue.d.ts.map +1 -1
  96. package/dist/components/Dropdown/DropdownNodes.vue.d.ts +2 -2
  97. package/dist/components/Dropdown/DropdownNodes.vue.d.ts.map +1 -1
  98. package/dist/components/Dropdown/styles.css +58 -57
  99. package/dist/components/Fieldset/Fieldset.vue.d.ts +4 -4
  100. package/dist/components/Fieldset/Fieldset.vue.d.ts.map +1 -1
  101. package/dist/components/FileUpload/FileUpload.vue.d.ts +2 -2
  102. package/dist/components/FileUpload/FileUpload.vue.d.ts.map +1 -1
  103. package/dist/components/FileUpload/styles.css +238 -221
  104. package/dist/components/Flex/Flex.vue.d.ts.map +1 -1
  105. package/dist/components/FloatLabel/FloatLabel.vue.d.ts.map +1 -1
  106. package/dist/components/Form/Form.vue.d.ts.map +1 -1
  107. package/dist/components/Form/FormItem.vue.d.ts.map +1 -1
  108. package/dist/components/Form/index.d.ts +2 -2
  109. package/dist/components/Form/index.d.ts.map +1 -1
  110. package/dist/components/Form/styles.css +46 -44
  111. package/dist/components/Gallery/Gallery.vue.d.ts.map +1 -1
  112. package/dist/components/Gallery/styles.css +42 -39
  113. package/dist/components/Grid/Grid.vue.d.ts.map +1 -1
  114. package/dist/components/Grid/GridItem.vue.d.ts.map +1 -1
  115. package/dist/components/Icon/Icon.vue.d.ts.map +1 -1
  116. package/dist/components/Icon/icons.d.ts +32 -0
  117. package/dist/components/Icon/icons.d.ts.map +1 -1
  118. package/dist/components/IconField/IconField.vue.d.ts.map +1 -1
  119. package/dist/components/Inplace/Inplace.vue.d.ts.map +1 -1
  120. package/dist/components/Input/Input.vue.d.ts +0 -1
  121. package/dist/components/Input/Input.vue.d.ts.map +1 -1
  122. package/dist/components/Input/styles.css +196 -191
  123. package/dist/components/Input/types.d.ts +1 -3
  124. package/dist/components/Input/types.d.ts.map +1 -1
  125. package/dist/components/InputColor/InputColor.vue.d.ts.map +1 -1
  126. package/dist/components/InputColor/styles.css +50 -48
  127. package/dist/components/InputNumber/InputNumber.vue.d.ts.map +1 -1
  128. package/dist/components/InputNumber/styles.css +90 -80
  129. package/dist/components/InputOtp/InputOtp.vue.d.ts.map +1 -1
  130. package/dist/components/InputPassword/InputPassword.vue.d.ts +4 -4
  131. package/dist/components/InputPassword/InputPassword.vue.d.ts.map +1 -1
  132. package/dist/components/InputPassword/styles.css +130 -117
  133. package/dist/components/InputTags/InputTags.vue.d.ts.map +1 -1
  134. package/dist/components/InputTags/styles.css +51 -43
  135. package/dist/components/Knob/Knob.vue.d.ts.map +1 -1
  136. package/dist/components/Label/Label.vue.d.ts.map +1 -1
  137. package/dist/components/Layout/Layout.vue.d.ts +1 -4
  138. package/dist/components/Layout/Layout.vue.d.ts.map +1 -1
  139. package/dist/components/Layout/LayoutContent.vue.d.ts +1 -4
  140. package/dist/components/Layout/LayoutContent.vue.d.ts.map +1 -1
  141. package/dist/components/Layout/LayoutFooter.vue.d.ts.map +1 -1
  142. package/dist/components/Layout/LayoutHeader.vue.d.ts.map +1 -1
  143. package/dist/components/Layout/LayoutSider.vue.d.ts +2 -5
  144. package/dist/components/Layout/LayoutSider.vue.d.ts.map +1 -1
  145. package/dist/components/Layout/composables/useLayoutRegionStyle.d.ts +9 -0
  146. package/dist/components/Layout/composables/useLayoutRegionStyle.d.ts.map +1 -0
  147. package/dist/components/Layout/composables/useLayoutScroll.d.ts +6 -0
  148. package/dist/components/Layout/composables/useLayoutScroll.d.ts.map +1 -0
  149. package/dist/components/Layout/composables/useLayoutSiderCollapse.d.ts +16 -0
  150. package/dist/components/Layout/composables/useLayoutSiderCollapse.d.ts.map +1 -0
  151. package/dist/components/Layout/index.d.ts +2 -2
  152. package/dist/components/Layout/index.d.ts.map +1 -1
  153. package/dist/components/Layout/styles.css +293 -271
  154. package/dist/components/Layout/types.d.ts +30 -34
  155. package/dist/components/Layout/types.d.ts.map +1 -1
  156. package/dist/components/Layout/utils.d.ts +3 -0
  157. package/dist/components/Layout/utils.d.ts.map +1 -0
  158. package/dist/components/Listbox/Listbox.vue.d.ts.map +1 -1
  159. package/dist/components/Listbox/styles.css +61 -51
  160. package/dist/components/MegaMenu/MegaMenu.vue.d.ts.map +1 -1
  161. package/dist/components/MegaMenu/styles.css +60 -58
  162. package/dist/components/Menu/Menu.vue.d.ts.map +1 -1
  163. package/dist/components/Menu/MenuNodes.vue.d.ts.map +1 -1
  164. package/dist/components/Menu/styles.css +53 -47
  165. package/dist/components/Menubar/Menubar.vue.d.ts.map +1 -1
  166. package/dist/components/Menubar/styles.css +80 -70
  167. package/dist/components/Message/Message.vue.d.ts.map +1 -1
  168. package/dist/components/Message/index.d.ts +1 -1
  169. package/dist/components/Message/index.d.ts.map +1 -1
  170. package/dist/components/Message/message.d.ts +2 -2
  171. package/dist/components/Message/message.d.ts.map +1 -1
  172. package/dist/components/Message/messageState.d.ts.map +1 -1
  173. package/dist/components/Message/styles.css +193 -143
  174. package/dist/components/Message/types.d.ts +1 -1
  175. package/dist/components/Message/types.d.ts.map +1 -1
  176. package/dist/components/MeterGroup/MeterGroup.vue.d.ts.map +1 -1
  177. package/dist/components/MeterGroup/styles.css +36 -34
  178. package/dist/components/OrderList/OrderList.vue.d.ts.map +1 -1
  179. package/dist/components/Pagination/Pagination.vue.d.ts.map +1 -1
  180. package/dist/components/Pagination/styles.css +59 -57
  181. package/dist/components/Panel/Panel.vue.d.ts +3 -3
  182. package/dist/components/Panel/Panel.vue.d.ts.map +1 -1
  183. package/dist/components/PickList/PickList.vue.d.ts.map +1 -1
  184. package/dist/components/Popover/Popover.vue.d.ts.map +1 -1
  185. package/dist/components/Popover/styles.css +87 -45
  186. package/dist/components/ProgressBar/ProgressBar.vue.d.ts.map +1 -1
  187. package/dist/components/ProgressSpinner/ProgressSpinner.vue.d.ts.map +1 -1
  188. package/dist/components/Radio/Radio.vue.d.ts.map +1 -1
  189. package/dist/components/Radio/RadioGroup.vue.d.ts.map +1 -1
  190. package/dist/components/Rating/Rating.vue.d.ts.map +1 -1
  191. package/dist/components/Rating/styles.css +28 -23
  192. package/dist/components/ScrollTop/ScrollTop.vue.d.ts.map +1 -1
  193. package/dist/components/Scrollbar/Scrollbar.vue.d.ts.map +1 -1
  194. package/dist/components/Scrollbar/Thumb.vue.d.ts.map +1 -1
  195. package/dist/components/Scrollbar/constants.d.ts +2 -2
  196. package/dist/components/Scrollbar/constants.d.ts.map +1 -1
  197. package/dist/components/Scrollbar/styles.css +68 -59
  198. package/dist/components/Select/Select.vue.d.ts +1 -1
  199. package/dist/components/Select/Select.vue.d.ts.map +1 -1
  200. package/dist/components/Select/styles.css +184 -271
  201. package/dist/components/Select/types.d.ts +3 -3
  202. package/dist/components/Select/types.d.ts.map +1 -1
  203. package/dist/components/SelectButton/SelectButton.vue.d.ts.map +1 -1
  204. package/dist/components/SelectButton/styles.css +64 -51
  205. package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
  206. package/dist/components/Sidebar/styles.css +40 -38
  207. package/dist/components/Skeleton/Skeleton.vue.d.ts.map +1 -1
  208. package/dist/components/Slider/Slider.vue.d.ts.map +1 -1
  209. package/dist/components/Slider/styles.css +111 -95
  210. package/dist/components/Slider/types.d.ts +2 -0
  211. package/dist/components/Slider/types.d.ts.map +1 -1
  212. package/dist/components/Space/Space.vue.d.ts.map +1 -1
  213. package/dist/components/SpeedDial/SpeedDial.vue.d.ts.map +1 -1
  214. package/dist/components/SplitButton/SplitButton.vue.d.ts.map +1 -1
  215. package/dist/components/SplitButton/styles.css +105 -89
  216. package/dist/components/Splitter/Splitter.vue.d.ts.map +1 -1
  217. package/dist/components/Stepper/Stepper.vue.d.ts.map +1 -1
  218. package/dist/components/Stepper/styles.css +63 -58
  219. package/dist/components/Switch/Switch.vue.d.ts.map +1 -1
  220. package/dist/components/Switch/styles.css +82 -53
  221. package/dist/components/Table/Table.vue.d.ts +9 -9
  222. package/dist/components/Table/Table.vue.d.ts.map +1 -1
  223. package/dist/components/Tabs/Tabs.vue.d.ts +3 -3
  224. package/dist/components/Tabs/Tabs.vue.d.ts.map +1 -1
  225. package/dist/components/Tag/Tag.vue.d.ts.map +1 -1
  226. package/dist/components/Terminal/Terminal.vue.d.ts.map +1 -1
  227. package/dist/components/Terminal/styles.css +46 -34
  228. package/dist/components/Textarea/Textarea.vue.d.ts +0 -2
  229. package/dist/components/Textarea/Textarea.vue.d.ts.map +1 -1
  230. package/dist/components/Textarea/styles.css +68 -62
  231. package/dist/components/Textarea/types.d.ts +2 -6
  232. package/dist/components/Textarea/types.d.ts.map +1 -1
  233. package/dist/components/TieredMenu/TieredMenu.vue.d.ts.map +1 -1
  234. package/dist/components/TieredMenu/styles.css +69 -62
  235. package/dist/components/Timeline/Timeline.vue.d.ts.map +1 -1
  236. package/dist/components/Timeline/types.d.ts +1 -1
  237. package/dist/components/Timeline/types.d.ts.map +1 -1
  238. package/dist/components/Toast/Toast.vue.d.ts.map +1 -1
  239. package/dist/components/Toast/index.d.ts +1 -1
  240. package/dist/components/Toast/index.d.ts.map +1 -1
  241. package/dist/components/Toast/toast.d.ts +2 -2
  242. package/dist/components/Toast/toast.d.ts.map +1 -1
  243. package/dist/components/Toast/toastState.d.ts.map +1 -1
  244. package/dist/components/Toast/types.d.ts +1 -1
  245. package/dist/components/Toast/types.d.ts.map +1 -1
  246. package/dist/components/ToggleButton/ToggleButton.vue.d.ts.map +1 -1
  247. package/dist/components/Tooltip/Tooltip.vue.d.ts.map +1 -1
  248. package/dist/components/Tree/Tree.vue.d.ts.map +1 -1
  249. package/dist/components/Tree/TreeNodeItem.vue.d.ts.map +1 -1
  250. package/dist/components/Tree/context.d.ts +2 -2
  251. package/dist/components/Tree/context.d.ts.map +1 -1
  252. package/dist/components/Tree/index.d.ts +1 -1
  253. package/dist/components/Tree/index.d.ts.map +1 -1
  254. package/dist/components/TreeSelect/TreeSelect.vue.d.ts.map +1 -1
  255. package/dist/components/TreeSelect/TreeSelectNodeItem.vue.d.ts.map +1 -1
  256. package/dist/components/TreeSelect/styles.css +149 -138
  257. package/dist/components/TreeTable/TreeTable.vue.d.ts.map +1 -1
  258. package/dist/components/TreeTable/TreeTableRow.vue.d.ts.map +1 -1
  259. package/dist/components/VirtualScroller/VirtualScroller.vue.d.ts.map +1 -1
  260. package/dist/components/VirtualScroller/index.d.ts +1 -1
  261. package/dist/components/VirtualScroller/index.d.ts.map +1 -1
  262. package/dist/{config-DWwce9jA.js → config-CTLkobga.js} +1 -0
  263. package/dist/config-provider/index.js +1 -1
  264. package/dist/config-provider/style.css +767 -605
  265. package/dist/confirm-dialog/index.js +4 -4
  266. package/dist/confirm-dialog/style.css +781 -618
  267. package/dist/confirm-popup/index.js +62 -77
  268. package/dist/confirm-popup/style.css +636 -478
  269. package/dist/context-menu/index.js +69 -61
  270. package/dist/context-menu/style.css +85 -65
  271. package/dist/data-view/index.js +1 -1
  272. package/dist/data-view/style.css +101 -85
  273. package/dist/date-picker/index.js +144 -137
  274. package/dist/date-picker/style.css +266 -164
  275. package/dist/date-picker/style.js +1 -0
  276. package/dist/dialog/index.js +76 -70
  277. package/dist/dialog/style.css +764 -602
  278. package/dist/divider/index.js +1 -2
  279. package/dist/divider/style.css +42 -28
  280. package/dist/dock/style.css +79 -60
  281. package/dist/drawer/index.js +49 -45
  282. package/dist/drawer/style.css +163 -108
  283. package/dist/drawer/style.js +1 -0
  284. package/dist/dropdown/index.js +98 -97
  285. package/dist/dropdown/style.css +100 -85
  286. package/dist/fieldset/index.js +16 -12
  287. package/dist/fieldset/style.css +81 -28
  288. package/dist/fieldset/style.js +1 -0
  289. package/dist/file-upload/index.js +2 -2
  290. package/dist/file-upload/style.css +274 -243
  291. package/dist/flex/index.js +1 -1
  292. package/dist/flex/style.css +42 -28
  293. package/dist/float-label/index.js +15 -4
  294. package/dist/float-label/style.css +42 -28
  295. package/dist/fluid/style.css +42 -28
  296. package/dist/form/index.js +1 -1
  297. package/dist/form/style.css +88 -72
  298. package/dist/gallery/index.js +41 -34
  299. package/dist/gallery/style.css +122 -66
  300. package/dist/gallery/style.js +1 -0
  301. package/dist/grid/index.js +39 -39
  302. package/dist/grid/style.css +42 -28
  303. package/dist/icon/index.js +1 -1
  304. package/dist/icon/style.css +42 -28
  305. package/dist/icon-Cg5TeFqe.js +7 -0
  306. package/dist/icon-field/style.css +42 -28
  307. package/dist/index.d.ts +174 -174
  308. package/dist/index.d.ts.map +1 -1
  309. package/dist/index.js +3433 -3241
  310. package/dist/inplace/style.css +42 -28
  311. package/dist/input/index.js +64 -66
  312. package/dist/input/style.css +275 -217
  313. package/dist/input/style.js +1 -0
  314. package/dist/input-color/index.js +3 -3
  315. package/dist/input-color/style.css +92 -76
  316. package/dist/input-group/style.css +42 -28
  317. package/dist/input-number/index.js +82 -66
  318. package/dist/input-number/style.css +170 -107
  319. package/dist/input-number/style.js +1 -0
  320. package/dist/input-otp/index.js +3 -3
  321. package/dist/input-otp/style.css +42 -28
  322. package/dist/input-password/index.js +59 -57
  323. package/dist/input-password/style.css +172 -145
  324. package/dist/input-tags/index.js +50 -46
  325. package/dist/input-tags/style.css +131 -70
  326. package/dist/input-tags/style.js +1 -0
  327. package/dist/key-CaQYVkjh.js +6 -0
  328. package/dist/knob/style.css +42 -28
  329. package/dist/label/style.css +42 -28
  330. package/dist/layout/index.js +196 -229
  331. package/dist/layout/style.css +348 -364
  332. package/dist/layout/style.js +1 -1
  333. package/dist/listbox/index.js +1 -1
  334. package/dist/listbox/style.css +103 -79
  335. package/dist/locale/en-US.d.ts.map +1 -1
  336. package/dist/locale/index.d.ts +1 -1
  337. package/dist/locale/index.d.ts.map +1 -1
  338. package/dist/locale/types.d.ts +1 -0
  339. package/dist/locale/types.d.ts.map +1 -1
  340. package/dist/locale/zh-CN.d.ts.map +1 -1
  341. package/dist/{locale-CYkJyRd1.js → locale-DxAvgqgB.js} +1 -1
  342. package/dist/mega-menu/index.js +47 -49
  343. package/dist/mega-menu/style.css +102 -86
  344. package/dist/menu/index.js +81 -76
  345. package/dist/menu/style.css +95 -75
  346. package/dist/menubar/index.js +75 -73
  347. package/dist/menubar/style.css +122 -98
  348. package/dist/message/index.js +3 -3
  349. package/dist/message/style.css +235 -171
  350. package/dist/meter-group/style.css +78 -62
  351. package/dist/order-list/index.js +2 -2
  352. package/dist/order-list/style.css +42 -28
  353. package/dist/overlayPlacement-CN1tuC95.js +51 -0
  354. package/dist/pagination/index.js +1 -1
  355. package/dist/pagination/style.css +140 -85
  356. package/dist/pagination/style.js +1 -0
  357. package/dist/panel/index.js +27 -23
  358. package/dist/panel/style.css +81 -28
  359. package/dist/panel/style.js +1 -0
  360. package/dist/pick-list/index.js +2 -2
  361. package/dist/pick-list/style.css +42 -28
  362. package/dist/popover/index.js +79 -100
  363. package/dist/popover/style.css +129 -73
  364. package/dist/progress-bar/style.css +42 -28
  365. package/dist/progress-spinner/index.js +1 -1
  366. package/dist/progress-spinner/style.css +42 -28
  367. package/dist/radio/index.js +5 -5
  368. package/dist/radio/style.css +42 -28
  369. package/dist/rating/index.js +54 -44
  370. package/dist/rating/style.css +109 -51
  371. package/dist/rating/style.js +1 -0
  372. package/dist/scroll-top/index.js +45 -41
  373. package/dist/scroll-top/style.css +81 -28
  374. package/dist/scroll-top/style.js +1 -0
  375. package/dist/scrollbar/index.js +382 -2
  376. package/dist/scrollbar/style.css +110 -87
  377. package/dist/select/index.js +149 -141
  378. package/dist/select/style.css +238 -272
  379. package/dist/select/style.js +1 -0
  380. package/dist/select-button/index.js +1 -1
  381. package/dist/select-button/style.css +106 -79
  382. package/dist/shared/Renderable.d.ts.map +1 -1
  383. package/dist/shared/componentDefaults.d.ts +5 -1
  384. package/dist/shared/componentDefaults.d.ts.map +1 -1
  385. package/dist/shared/config.d.ts.map +1 -1
  386. package/dist/shared/content.d.ts.map +1 -1
  387. package/dist/shared/menu/icon.d.ts +4 -0
  388. package/dist/shared/menu/icon.d.ts.map +1 -0
  389. package/dist/shared/menu/index.d.ts +4 -0
  390. package/dist/shared/menu/index.d.ts.map +1 -0
  391. package/dist/shared/menu/key.d.ts +4 -0
  392. package/dist/shared/menu/key.d.ts.map +1 -0
  393. package/dist/shared/menu/types.d.ts +11 -0
  394. package/dist/shared/menu/types.d.ts.map +1 -0
  395. package/dist/shared/overlayHost.d.ts.map +1 -1
  396. package/dist/shared/overlayPlacement.d.ts +12 -0
  397. package/dist/shared/overlayPlacement.d.ts.map +1 -0
  398. package/dist/shared/useModalOverlay.d.ts.map +1 -1
  399. package/dist/shared/vnode.d.ts.map +1 -1
  400. package/dist/sidebar/index.js +1 -1
  401. package/dist/sidebar/style.css +82 -66
  402. package/dist/skeleton/style.css +42 -28
  403. package/dist/slider/index.js +6 -3
  404. package/dist/slider/style.css +153 -123
  405. package/dist/space/index.js +1 -1
  406. package/dist/space/style.css +42 -28
  407. package/dist/speed-dial/index.js +55 -66
  408. package/dist/speed-dial/style.css +81 -28
  409. package/dist/speed-dial/style.js +1 -0
  410. package/dist/split-button/index.js +66 -63
  411. package/dist/split-button/style.css +763 -551
  412. package/dist/split-button/style.js +1 -0
  413. package/dist/splitter/index.js +1 -1
  414. package/dist/splitter/style.css +42 -28
  415. package/dist/stepper/style.css +105 -86
  416. package/dist/styles/base.css +4 -5
  417. package/dist/styles.css +1 -1
  418. package/dist/switch/index.js +6 -6
  419. package/dist/switch/style.css +124 -81
  420. package/dist/table/index.js +42 -36
  421. package/dist/table/style.css +101 -85
  422. package/dist/tabs/index.js +78 -65
  423. package/dist/tabs/style.css +81 -28
  424. package/dist/tabs/style.js +1 -0
  425. package/dist/tag/index.js +31 -28
  426. package/dist/tag/style.css +42 -28
  427. package/dist/terminal/index.js +1 -1
  428. package/dist/terminal/style.css +88 -62
  429. package/dist/textarea/index.js +69 -76
  430. package/dist/textarea/style.css +149 -90
  431. package/dist/textarea/style.js +1 -0
  432. package/dist/theme/index.d.ts +5 -5
  433. package/dist/theme/index.d.ts.map +1 -1
  434. package/dist/theme/styles.css +38 -23
  435. package/dist/theme/tokens.d.ts +11 -0
  436. package/dist/theme/tokens.d.ts.map +1 -1
  437. package/dist/theme/useTheme.d.ts.map +1 -1
  438. package/dist/tiered-menu/index.js +66 -59
  439. package/dist/tiered-menu/style.css +150 -90
  440. package/dist/tiered-menu/style.js +1 -0
  441. package/dist/timeline/index.js +1 -1
  442. package/dist/timeline/style.css +42 -28
  443. package/dist/toast/index.js +93 -89
  444. package/dist/toast/style.css +81 -28
  445. package/dist/toast/style.js +1 -0
  446. package/dist/toggle-button/index.js +1 -1
  447. package/dist/toggle-button/style.css +42 -28
  448. package/dist/toolbar/style.css +42 -28
  449. package/dist/tooltip/index.js +47 -71
  450. package/dist/tooltip/style.css +42 -28
  451. package/dist/tree/index.js +13 -13
  452. package/dist/tree/style.css +42 -28
  453. package/dist/tree-select/index.js +164 -155
  454. package/dist/tree-select/style.css +202 -138
  455. package/dist/tree-select/style.js +1 -0
  456. package/dist/tree-table/index.js +34 -30
  457. package/dist/tree-table/style.css +81 -28
  458. package/dist/tree-table/style.js +1 -0
  459. package/dist/virtual-scroller/style.css +42 -28
  460. package/package.json +18 -11
  461. package/dist/Pagination-C-F_ZDXr.js +0 -148
  462. package/dist/Scrollbar-D-bR2noX.js +0 -382
@@ -16,12 +16,13 @@
16
16
  --wi-control-padding-x-small: 10px;
17
17
  --wi-control-padding-x-medium: 12px;
18
18
  --wi-control-padding-x-large: 14px;
19
- --wi-button-padding-x-small: 10px;
20
- --wi-button-padding-x-medium: 14px;
21
- --wi-button-padding-x-large: 18px;
19
+
22
20
  --wi-radius-control: 3px;
23
- --wi-focus-shadow: 0 0 0 2px color-mix(in srgb, var(--wi-color-primary) 20%, transparent);
24
- --wi-focus-shadow-danger: 0 0 0 2px color-mix(in srgb, var(--wi-color-danger) 20%, transparent);
21
+ --wi-border-width: 1px;
22
+ --wi-focus-shadow: 0 0 0 2px
23
+ color-mix(in srgb, var(--wi-color-primary) 20%, transparent);
24
+ --wi-focus-shadow-danger: 0 0 0 2px
25
+ color-mix(in srgb, var(--wi-color-danger) 20%, transparent);
25
26
  --wi-color-success: #159570;
26
27
  --wi-color-info: #2563eb;
27
28
  --wi-color-warning: #d97706;
@@ -39,10 +40,7 @@
39
40
  --wi-shadow-lg: 0 1rem 3rem rgb(15 23 42 / 0.25);
40
41
  --wi-shadow-sticky: 4px 0 8px color-mix(in srgb, #000 6%, transparent);
41
42
  --wi-shadow-sticky-end: -4px 0 8px color-mix(in srgb, #000 6%, transparent);
42
- --wi-terminal-bg: #111827;
43
- --wi-terminal-fg: #e5e7eb;
44
- --wi-terminal-prompt: #34d399;
45
- --wi-terminal-border: color-mix(in srgb, #fff 12%, transparent);
43
+
46
44
  /* Typography scale (component text, not control-height fonts) */
47
45
  --wi-font-size-xs: 0.75rem;
48
46
  --wi-font-size-sm: 0.8125rem;
@@ -56,8 +54,7 @@
56
54
  --wi-z-dropdown: calc(var(--wi-z-base) + 50);
57
55
  --wi-z-toast: calc(var(--wi-z-base) + 100);
58
56
  --wi-z-popper: 40;
59
- --wi-menu-min-width: 10rem;
60
- --wi-menu-min-width-lg: 12rem;
57
+
61
58
  --wi-control-affix-size: 2rem;
62
59
  --wi-control-affix-gap: 2.35rem;
63
60
  --wi-control-affix-padding: 2.5rem;
@@ -118,9 +115,6 @@
118
115
  --wi-control-padding-x-small: 8px;
119
116
  --wi-control-padding-x-medium: 10px;
120
117
  --wi-control-padding-x-large: 12px;
121
- --wi-button-padding-x-small: 8px;
122
- --wi-button-padding-x-medium: 12px;
123
- --wi-button-padding-x-large: 16px;
124
118
  }
125
119
 
126
120
  [data-wi-density="spacious"] {
@@ -139,9 +133,32 @@
139
133
  --wi-control-padding-x-small: 12px;
140
134
  --wi-control-padding-x-medium: 14px;
141
135
  --wi-control-padding-x-large: 16px;
142
- --wi-button-padding-x-small: 12px;
143
- --wi-button-padding-x-medium: 16px;
144
- --wi-button-padding-x-large: 20px;
136
+ }
137
+
138
+ [data-wi-density="compact"] .wi-layout-header {
139
+ --wi-layout-header-height: 48px;
140
+ }
141
+
142
+ [data-wi-density="compact"] .wi-layout-footer {
143
+ --wi-layout-footer-height: 40px;
144
+ }
145
+
146
+ [data-wi-density="compact"] .wi-layout-sider {
147
+ --wi-layout-sider-width: 240px;
148
+ --wi-layout-sider-collapsed-width: 44px;
149
+ }
150
+
151
+ [data-wi-density="spacious"] .wi-layout-header {
152
+ --wi-layout-header-height: 64px;
153
+ }
154
+
155
+ [data-wi-density="spacious"] .wi-layout-footer {
156
+ --wi-layout-footer-height: 56px;
157
+ }
158
+
159
+ [data-wi-density="spacious"] .wi-layout-sider {
160
+ --wi-layout-sider-width: 288px;
161
+ --wi-layout-sider-collapsed-width: 52px;
145
162
  }
146
163
 
147
164
  [data-theme="dark"] {
@@ -152,8 +169,10 @@
152
169
  --wi-color-text-muted: #94a3b8;
153
170
  --wi-color-border: #334155;
154
171
  --wi-color-focus-ring: #93c5fd;
155
- --wi-focus-shadow: 0 0 0 2px color-mix(in srgb, var(--wi-color-primary) 28%, transparent);
156
- --wi-focus-shadow-danger: 0 0 0 2px color-mix(in srgb, var(--wi-color-danger) 28%, transparent);
172
+ --wi-focus-shadow: 0 0 0 2px
173
+ color-mix(in srgb, var(--wi-color-primary) 28%, transparent);
174
+ --wi-focus-shadow-danger: 0 0 0 2px
175
+ color-mix(in srgb, var(--wi-color-danger) 28%, transparent);
157
176
  --wi-color-success: #5eead4;
158
177
  --wi-color-info: #93c5fd;
159
178
  --wi-color-warning: #fbbf24;
@@ -170,10 +189,6 @@
170
189
  --wi-shadow-lg: 0 1rem 3rem rgb(0 0 0 / 0.55);
171
190
  --wi-shadow-sticky: 4px 0 8px color-mix(in srgb, #000 35%, transparent);
172
191
  --wi-shadow-sticky-end: -4px 0 8px color-mix(in srgb, #000 35%, transparent);
173
- --wi-terminal-bg: #020617;
174
- --wi-terminal-fg: #e2e8f0;
175
- --wi-terminal-prompt: #5eead4;
176
- --wi-terminal-border: color-mix(in srgb, #fff 14%, transparent);
177
192
  }
178
193
 
179
194
  @media (prefers-reduced-motion: reduce) {
@@ -465,8 +480,8 @@
465
480
  font-size: var(--wi-font-size-xs);
466
481
  }
467
482
 
468
- .wi-textarea-field__help--error,
469
- .wi-select-field__help--error {
483
+ .wi-textarea-field__help--invalid,
484
+ .wi-select-field__help--invalid {
470
485
  color: var(--wi-color-danger);
471
486
  }
472
487
 
@@ -485,9 +500,8 @@
485
500
  }
486
501
 
487
502
  .wi-textarea--invalid:focus-visible,
488
- .wi-textarea--error:focus-visible,
489
- .wi-select--error.wi-select--open,
490
- .wi-select--error:focus-visible {
503
+ .wi-select--invalid.wi-select--open,
504
+ .wi-select--invalid:focus-visible {
491
505
  border-color: var(--wi-color-danger);
492
506
  box-shadow: var(--wi-focus-shadow-danger);
493
507
  }
@@ -735,443 +749,413 @@
735
749
  line-height: 1;
736
750
  }
737
751
 
738
- .wi-scrollbar {
739
- --wi-scrollbar-bg: color-mix(in srgb, var(--wi-color-text) 28%, transparent);
740
- --wi-scrollbar-hover-bg: color-mix(in srgb, var(--wi-color-text) 45%, transparent);
741
- --wi-scrollbar-opacity: 0.5;
742
- --wi-scrollbar-hover-opacity: 0.8;
743
- height: 100%;
744
- overflow: hidden;
745
- position: relative;
746
- }
747
-
748
- .wi-scrollbar__wrap {
749
- height: 100%;
750
- overflow: auto;
751
- }
752
-
753
- .wi-scrollbar__wrap--hidden-default {
754
- scrollbar-width: none;
755
- }
756
-
757
- .wi-scrollbar__wrap--hidden-default::-webkit-scrollbar {
758
- display: none;
759
- }
760
-
761
- .wi-scrollbar__view {
762
- box-sizing: border-box;
763
- }
764
-
765
- .wi-scrollbar__bar {
766
- border-radius: var(--wi-radius-sm);
767
- bottom: 2px;
768
- position: absolute;
769
- right: 2px;
770
- z-index: 1;
771
- }
772
-
773
- .wi-scrollbar__bar--vertical {
774
- top: 2px;
775
- width: 6px;
776
- }
777
-
778
- .wi-scrollbar__bar--vertical > .wi-scrollbar__thumb {
779
- width: 100%;
780
- }
781
-
782
- .wi-scrollbar__bar--horizontal {
783
- height: 6px;
784
- left: 2px;
752
+ .wi-icon {
753
+ display: inline-flex;
754
+ height: 1rem;
755
+ width: 1rem;
785
756
  }
786
757
 
787
- .wi-scrollbar__bar--horizontal > .wi-scrollbar__thumb {
758
+ .wi-icon svg {
788
759
  height: 100%;
789
- }
790
-
791
- .wi-scrollbar__bar:focus-visible {
792
- box-shadow: var(--wi-focus-shadow);
793
- outline: none;
794
- outline-offset: 1px;
795
- }
796
-
797
- .wi-scrollbar__thumb {
798
- background-color: var(--wi-scrollbar-bg);
799
- border-radius: inherit;
800
- cursor: pointer;
801
- display: block;
802
- height: 0;
803
- opacity: var(--wi-scrollbar-opacity);
804
- position: relative;
805
- transition:
806
- background-color var(--wi-motion-fast) var(--wi-motion-ease),
807
- opacity var(--wi-motion-fast) var(--wi-motion-ease);
808
- width: 0;
809
- }
810
-
811
- .wi-scrollbar__thumb:hover {
812
- background-color: var(--wi-scrollbar-hover-bg);
813
- opacity: var(--wi-scrollbar-hover-opacity);
814
- }
815
-
816
- .wi-scrollbar-fade-enter-active {
817
- transition: opacity 340ms var(--wi-motion-ease);
818
- }
819
-
820
- .wi-scrollbar-fade-leave-active {
821
- transition: opacity 120ms var(--wi-motion-ease);
822
- }
823
-
824
- .wi-scrollbar-fade-enter-from,
825
- .wi-scrollbar-fade-leave-to {
826
- opacity: 0;
827
- }
828
-
829
- /* —— Panel: Layout —— */
830
- .wi-layout {
831
- background: var(--wi-color-surface);
832
- box-sizing: border-box;
833
- color: var(--wi-color-text);
834
- flex: auto;
835
- min-height: 0;
836
- min-width: 0;
837
- overflow: hidden;
838
- position: relative;
839
- transition: background-color var(--wi-motion-normal) var(--wi-motion-ease),
840
- color var(--wi-motion-normal) var(--wi-motion-ease);
841
760
  width: 100%;
842
- z-index: auto;
843
761
  }
844
762
 
845
- .wi-layout--embedded {
846
- background: color-mix(in srgb, var(--wi-color-text-muted) 6%, var(--wi-color-surface));
763
+ .wi-icon--sm,
764
+ .wi-icon--small {
765
+ height: 0.875rem;
766
+ width: 0.875rem;
847
767
  }
848
768
 
849
- .wi-layout--absolute-positioned {
850
- inset: 0;
851
- position: absolute;
769
+ .wi-icon--md,
770
+ .wi-icon--normal {
771
+ height: 1rem;
772
+ width: 1rem;
852
773
  }
853
774
 
854
- .wi-layout__scroll {
855
- box-sizing: border-box;
856
- display: flex;
857
- flex-direction: column;
858
- height: 100%;
859
- min-height: 0;
860
- min-width: 0;
861
- overflow: auto;
862
- overflow-x: hidden;
863
- position: relative;
864
- width: 100%;
775
+ .wi-icon--lg,
776
+ .wi-icon--large {
777
+ height: 1.25rem;
778
+ width: 1.25rem;
865
779
  }
866
780
 
867
- .wi-layout__scroll--has-sider {
868
- /* direction set inline (matches naive hasSiderStyle) */
869
- flex-wrap: nowrap;
781
+ .wi-icon--spin svg {
782
+ animation: wi-icon-spin 0.8s linear infinite;
870
783
  }
871
784
 
872
- .wi-layout__scrollbar {
873
- box-sizing: border-box;
874
- flex: 1 1 auto;
875
- height: 100%;
876
- min-height: 0;
877
- min-width: 0;
878
- width: 100%;
785
+ @keyframes wi-icon-spin {
786
+ to {
787
+ transform: rotate(360deg);
788
+ }
879
789
  }
880
790
 
881
- .wi-layout__scrollbar .wi-layout__scroll {
882
- /* view hosts flex children; scrolling is on the wrap */
883
- height: auto;
884
- min-height: 100%;
885
- overflow: visible;
791
+ /* —— Panel: Layout —— */
792
+ .wi-layout {
793
+ --wi-layout-height: 100%;
794
+ background: var(--wi-color-surface);
795
+ box-sizing: border-box;
796
+ color: var(--wi-color-text);
797
+ flex: auto;
798
+ min-height: 0;
799
+ min-width: 0;
800
+ overflow: hidden;
801
+ position: relative;
802
+ transition:
803
+ background-color var(--wi-motion-normal) var(--wi-motion-ease),
804
+ color var(--wi-motion-normal) var(--wi-motion-ease);
805
+ width: 100%;
806
+ z-index: auto;
886
807
  }
887
808
 
888
- /* Nested layout / content grow to fill remaining space */
889
- .wi-layout__scroll > .wi-layout,
890
- .wi-layout__scroll > .wi-layout-content {
891
- flex: 1 1 auto;
892
- min-height: 0;
893
- min-width: 0;
809
+ .wi-layout--embedded {
810
+ background: color-mix(
811
+ in srgb,
812
+ var(--wi-color-text-muted) 6%,
813
+ var(--wi-color-surface)
814
+ );
894
815
  }
895
816
 
896
- .wi-layout-content {
897
- flex: 1 1 auto;
898
- min-height: 0;
899
- min-width: 0;
817
+ .wi-layout--absolute-positioned {
818
+ inset: 0;
819
+ position: absolute;
900
820
  }
901
821
 
902
- .wi-layout-content > .wi-layout__scroll,
903
- .wi-layout-content > .wi-layout__scrollbar {
904
- flex: 1 1 auto;
822
+ .wi-layout__scroll {
823
+ box-sizing: border-box;
824
+ display: flex;
825
+ flex: 1 1 auto;
826
+ flex-direction: column;
827
+ height: 100%;
828
+ min-height: 0;
829
+ min-width: 0;
830
+ overflow: auto;
831
+ overflow-x: hidden;
832
+ position: relative;
833
+ width: 100%;
905
834
  }
906
835
 
907
- .wi-layout-header,
908
- .wi-layout-footer {
909
- background: var(--wi-color-surface);
910
- box-sizing: border-box;
911
- color: var(--wi-color-text);
912
- flex: 0 0 auto;
913
- transition: background-color var(--wi-motion-fast) var(--wi-motion-ease),
914
- color var(--wi-motion-fast) var(--wi-motion-ease),
915
- border-color var(--wi-motion-fast) var(--wi-motion-ease);
916
- width: 100%;
836
+ .wi-layout__scroll--has-sider {
837
+ /* direction set inline (matches naive hasSiderStyle) */
838
+ flex-wrap: nowrap;
917
839
  }
918
840
 
919
- .wi-layout-header--bordered {
920
- border-bottom: 1px solid var(--wi-color-border);
841
+ /* Nested layout / content grow to fill remaining space */
842
+ .wi-layout__scroll > .wi-layout,
843
+ .wi-layout__scroll > .wi-layout-content {
844
+ flex: 1 1 auto;
845
+ min-height: 0;
846
+ min-width: 0;
921
847
  }
922
848
 
923
- .wi-layout-footer--bordered {
924
- border-top: 1px solid var(--wi-color-border);
849
+ .wi-layout-content {
850
+ --wi-layout-padding: var(--wi-space-4);
851
+ --wi-layout-radius: 0;
852
+ display: flex;
853
+ flex: 1 1 auto;
854
+ flex-direction: column;
855
+ min-height: 0;
856
+ min-width: 0;
925
857
  }
926
858
 
927
- .wi-layout-header--inverted,
928
- .wi-layout-footer--inverted,
929
- .wi-layout-sider--inverted {
930
- background: var(--wi-color-contrast);
931
- color: var(--wi-color-contrast-fg);
859
+ .wi-layout-content > .wi-layout__scroll {
860
+ flex: 1 1 auto;
861
+ min-height: 0;
932
862
  }
933
863
 
934
- .wi-layout-header--inverted.wi-layout-header--bordered {
935
- border-bottom-color: color-mix(in srgb, var(--wi-color-contrast-fg) 18%, transparent);
936
- }
864
+ .wi-layout-header,
865
+ .wi-layout-footer {
866
+ background: var(--wi-color-surface);
867
+ box-sizing: border-box;
868
+ color: var(--wi-color-text);
869
+ flex: 0 0 auto;
870
+ transition:
871
+ background-color var(--wi-motion-fast) var(--wi-motion-ease),
872
+ color var(--wi-motion-fast) var(--wi-motion-ease),
873
+ border-color var(--wi-motion-fast) var(--wi-motion-ease);
874
+ width: 100%;
875
+ }
876
+
877
+ .wi-layout-header {
878
+ --wi-layout-header-height: 56px;
879
+ --wi-layout-padding: 0 var(--wi-space-4);
880
+ --wi-layout-radius: 0;
881
+ }
882
+
883
+ .wi-layout-footer {
884
+ --wi-layout-footer-height: 48px;
885
+ --wi-layout-padding: 0 var(--wi-space-4);
886
+ --wi-layout-radius: 0;
887
+ }
888
+
889
+ .wi-layout-header--bordered {
890
+ border-bottom: var(--wi-border-width) solid var(--wi-color-border);
891
+ }
892
+
893
+ .wi-layout-footer--bordered {
894
+ border-top: var(--wi-border-width) solid var(--wi-color-border);
895
+ }
937
896
 
938
- .wi-layout-footer--inverted.wi-layout-footer--bordered {
939
- border-top-color: color-mix(in srgb, var(--wi-color-contrast-fg) 18%, transparent);
897
+ .wi-layout-header--inverted,
898
+ .wi-layout-footer--inverted,
899
+ .wi-layout-sider--inverted {
900
+ background: var(--wi-color-contrast);
901
+ color: var(--wi-color-contrast-fg);
940
902
  }
941
903
 
942
- .wi-layout-header--absolute-positioned,
943
- .wi-layout-footer--absolute-positioned,
944
- .wi-layout-sider--absolute-positioned {
945
- position: absolute;
946
- z-index: 1;
904
+ .wi-layout-header--inverted.wi-layout-header--bordered {
905
+ border-bottom-color: color-mix(
906
+ in srgb,
907
+ var(--wi-color-contrast-fg) 18%,
908
+ transparent
909
+ );
947
910
  }
948
911
 
949
- .wi-layout-header--absolute-positioned {
950
- inset-inline: 0;
951
- top: 0;
912
+ .wi-layout-footer--inverted.wi-layout-footer--bordered {
913
+ border-top-color: color-mix(
914
+ in srgb,
915
+ var(--wi-color-contrast-fg) 18%,
916
+ transparent
917
+ );
952
918
  }
953
919
 
954
- .wi-layout-footer--absolute-positioned {
955
- bottom: 0;
956
- inset-inline: 0;
920
+ .wi-layout-header--absolute-positioned,
921
+ .wi-layout-footer--absolute-positioned,
922
+ .wi-layout-sider--absolute-positioned {
923
+ position: absolute;
924
+ z-index: 1;
957
925
  }
958
926
 
959
- .wi-layout-sider {
960
- background: var(--wi-color-surface);
961
- box-sizing: border-box;
962
- color: var(--wi-color-text);
963
- display: flex;
964
- flex-shrink: 0;
965
- justify-content: flex-end;
966
- /* Do not clip the collapse trigger (it sits half outside the sider edge).
967
- Collapsed transform overflow is clipped by `.wi-layout { overflow: hidden }`. */
968
- overflow: visible;
969
- position: relative;
970
- transition: color var(--wi-motion-normal) var(--wi-motion-ease),
971
- border-color var(--wi-motion-normal) var(--wi-motion-ease),
972
- max-width var(--wi-motion-normal) var(--wi-motion-ease),
973
- background-color var(--wi-motion-normal) var(--wi-motion-ease);
974
- z-index: 1;
927
+ .wi-layout-header--absolute-positioned {
928
+ inset-inline: 0;
929
+ top: 0;
975
930
  }
976
931
 
977
- .wi-layout-sider--right-placement {
978
- justify-content: flex-start;
932
+ .wi-layout-footer--absolute-positioned {
933
+ bottom: 0;
934
+ inset-inline: 0;
979
935
  }
980
936
 
981
- .wi-layout-sider__scroll {
982
- box-sizing: border-box;
983
- flex-grow: 1;
984
- flex-shrink: 0;
985
- height: 100%;
986
- max-width: 100%;
987
- opacity: 0;
988
- overflow: hidden;
989
- transition: opacity var(--wi-motion-normal) var(--wi-motion-ease);
990
- width: 100%;
937
+ .wi-layout-sider {
938
+ --wi-layout-sider-width: 272px;
939
+ --wi-layout-sider-collapsed-width: 48px;
940
+ --wi-layout-padding: var(--wi-space-4);
941
+ --wi-layout-radius: 0;
942
+ --wi-layout-trigger-size: 1.5rem;
943
+ background: var(--wi-color-surface);
944
+ box-sizing: border-box;
945
+ color: var(--wi-color-text);
946
+ display: flex;
947
+ flex-basis: var(--wi-layout-sider-width);
948
+ flex-shrink: 0;
949
+ justify-content: flex-end;
950
+ min-width: 0;
951
+ /* Do not clip the collapse trigger (it sits half outside the sider edge).
952
+ Collapsed transform overflow is clipped by `.wi-layout { overflow: hidden }`. */
953
+ overflow: visible;
954
+ position: relative;
955
+ transition:
956
+ color var(--wi-motion-normal) var(--wi-motion-ease),
957
+ border-color var(--wi-motion-normal) var(--wi-motion-ease),
958
+ width var(--wi-motion-normal) var(--wi-motion-ease),
959
+ max-width var(--wi-motion-normal) var(--wi-motion-ease),
960
+ background-color var(--wi-motion-normal) var(--wi-motion-ease);
961
+ z-index: 1;
991
962
  }
992
963
 
993
- .wi-layout-sider__scrollbar {
994
- box-sizing: border-box;
995
- flex-grow: 1;
996
- flex-shrink: 0;
997
- height: 100%;
998
- max-width: 100%;
999
- min-width: 0;
1000
- opacity: 0;
1001
- transition: opacity var(--wi-motion-normal) var(--wi-motion-ease);
1002
- width: 100%;
964
+ .wi-layout-sider--right-placement {
965
+ justify-content: flex-start;
1003
966
  }
1004
967
 
1005
- .wi-layout-sider__scrollbar .wi-layout-sider__scroll {
1006
- height: auto;
1007
- max-width: none;
1008
- min-height: 100%;
1009
- opacity: 1;
1010
- overflow: visible;
968
+ .wi-layout-sider__scroll {
969
+ box-sizing: border-box;
970
+ flex: 1 1 auto;
971
+ height: 100%;
972
+ max-width: 100%;
973
+ min-height: 0;
974
+ min-width: 0;
975
+ opacity: 0;
976
+ overflow: hidden;
977
+ overflow-x: hidden;
978
+ transition: opacity var(--wi-motion-normal) var(--wi-motion-ease);
979
+ width: 100%;
1011
980
  }
1012
981
 
1013
- .wi-layout-sider--show-content > .wi-layout-sider__scroll {
1014
- opacity: 1;
1015
- overflow: auto;
982
+ .wi-layout-sider--collapse-transform > .wi-layout-sider__scroll {
983
+ flex-shrink: 0;
984
+ min-width: var(--wi-layout-sider-width);
1016
985
  }
1017
986
 
1018
- .wi-layout-sider--show-content > .wi-layout-sider__scrollbar {
1019
- opacity: 1;
987
+ .wi-layout-sider--show-content > .wi-layout-sider__scroll {
988
+ opacity: 1;
989
+ overflow: auto;
1020
990
  }
1021
991
 
1022
- .wi-layout-sider--collapse-width > .wi-layout-sider__scroll,
1023
- .wi-layout-sider--collapse-width > .wi-layout-sider__scrollbar {
1024
- flex-shrink: 1;
1025
- min-width: 0;
992
+ .wi-layout-sider--collapse-width > .wi-layout-sider__scroll {
993
+ flex-shrink: 1;
994
+ min-width: 0;
1026
995
  }
1027
996
 
1028
- .wi-layout-sider__border {
1029
- background: var(--wi-color-border);
1030
- bottom: 0;
1031
- position: absolute;
1032
- top: 0;
1033
- transition: background-color var(--wi-motion-fast) var(--wi-motion-ease);
1034
- width: 1px;
997
+ .wi-layout-sider__border {
998
+ background: var(--wi-color-border);
999
+ bottom: 0;
1000
+ position: absolute;
1001
+ top: 0;
1002
+ transition: background-color var(--wi-motion-fast) var(--wi-motion-ease);
1003
+ width: var(--wi-border-width);
1035
1004
  }
1036
1005
 
1037
- .wi-layout-sider--left-placement > .wi-layout-sider__border,
1038
- .wi-layout-sider--left > .wi-layout-sider__border {
1039
- right: 0;
1006
+ .wi-layout-sider--left-placement > .wi-layout-sider__border {
1007
+ right: 0;
1040
1008
  }
1041
1009
 
1042
- .wi-layout-sider--right-placement > .wi-layout-sider__border,
1043
- .wi-layout-sider--right > .wi-layout-sider__border {
1044
- left: 0;
1010
+ .wi-layout-sider--right-placement > .wi-layout-sider__border {
1011
+ left: 0;
1045
1012
  }
1046
1013
 
1047
- .wi-layout-sider--inverted > .wi-layout-sider__border {
1048
- background: color-mix(in srgb, var(--wi-color-contrast-fg) 18%, transparent);
1014
+ .wi-layout-sider--inverted > .wi-layout-sider__border {
1015
+ background: color-mix(
1016
+ in srgb,
1017
+ var(--wi-color-contrast-fg) 18%,
1018
+ transparent
1019
+ );
1049
1020
  }
1050
1021
 
1051
- .wi-layout-sider__trigger {
1052
- background: transparent;
1053
- border: 0;
1054
- color: var(--wi-color-text-muted);
1055
- cursor: pointer;
1056
- font: inherit;
1057
- padding: 0;
1058
- position: absolute;
1059
- z-index: 2;
1022
+ .wi-layout-sider__trigger {
1023
+ background: transparent;
1024
+ border: 0;
1025
+ color: var(--wi-color-text-muted);
1026
+ cursor: pointer;
1027
+ font: inherit;
1028
+ padding: 0;
1029
+ position: absolute;
1030
+ z-index: 2;
1060
1031
  }
1061
1032
 
1062
- .wi-layout-sider__trigger:focus-visible {
1063
- box-shadow: var(--wi-focus-shadow);
1064
- outline: none;
1033
+ .wi-layout-sider__trigger:focus-visible {
1034
+ box-shadow: var(--wi-focus-shadow);
1035
+ outline: none;
1065
1036
  }
1066
1037
 
1067
- .wi-layout-sider__trigger--arrow-circle {
1068
- align-items: center;
1069
- background: var(--wi-color-surface);
1070
- border: 1px solid var(--wi-color-border);
1071
- border-radius: 50%;
1072
- box-shadow: var(--wi-shadow-sm);
1073
- display: inline-flex;
1074
- font-size: 1rem;
1075
- height: 1.5rem;
1076
- justify-content: center;
1077
- right: 0;
1078
- top: 50%;
1079
- transform: translate(50%, -50%);
1080
- width: 1.5rem;
1038
+ .wi-layout-sider__trigger--arrow-circle {
1039
+ align-items: center;
1040
+ background: var(--wi-color-surface);
1041
+ border: var(--wi-border-width) solid var(--wi-color-border);
1042
+ border-radius: 50%;
1043
+ box-shadow: var(--wi-shadow-sm);
1044
+ display: inline-flex;
1045
+ font-size: 1rem;
1046
+ height: var(--wi-layout-trigger-size);
1047
+ justify-content: center;
1048
+ right: 0;
1049
+ top: 50%;
1050
+ transform: translate(50%, -50%);
1051
+ width: var(--wi-layout-trigger-size);
1081
1052
  }
1082
1053
 
1083
- .wi-layout-sider--right-placement > .wi-layout-sider__trigger--arrow-circle {
1084
- left: 0;
1085
- right: auto;
1086
- transform: translate(-50%, -50%);
1054
+ .wi-layout-sider--right-placement > .wi-layout-sider__trigger--arrow-circle {
1055
+ left: 0;
1056
+ right: auto;
1057
+ transform: translate(-50%, -50%);
1087
1058
  }
1088
1059
 
1089
- .wi-layout-sider__arrow {
1090
- display: inline-block;
1091
- line-height: 1;
1092
- transform: rotate(180deg);
1093
- transition: transform var(--wi-motion-normal) var(--wi-motion-ease);
1060
+ .wi-layout-sider__arrow {
1061
+ display: inline-block;
1062
+ line-height: 1;
1063
+ transform: rotate(180deg);
1064
+ transition: transform var(--wi-motion-normal) var(--wi-motion-ease);
1094
1065
  }
1095
1066
 
1096
- .wi-layout-sider--collapsed > .wi-layout-sider__trigger--arrow-circle .wi-layout-sider__arrow {
1097
- transform: rotate(0deg);
1067
+ .wi-layout-sider--collapsed
1068
+ > .wi-layout-sider__trigger--arrow-circle
1069
+ .wi-layout-sider__arrow {
1070
+ transform: rotate(0deg);
1098
1071
  }
1099
1072
 
1100
- .wi-layout-sider--right-placement > .wi-layout-sider__trigger--arrow-circle .wi-layout-sider__arrow {
1101
- transform: rotate(0deg);
1073
+ .wi-layout-sider--right-placement
1074
+ > .wi-layout-sider__trigger--arrow-circle
1075
+ .wi-layout-sider__arrow {
1076
+ transform: rotate(0deg);
1102
1077
  }
1103
1078
 
1104
- .wi-layout-sider--right-placement.wi-layout-sider--collapsed
1105
- > .wi-layout-sider__trigger--arrow-circle
1106
- .wi-layout-sider__arrow {
1107
- transform: rotate(180deg);
1079
+ .wi-layout-sider--right-placement.wi-layout-sider--collapsed
1080
+ > .wi-layout-sider__trigger--arrow-circle
1081
+ .wi-layout-sider__arrow {
1082
+ transform: rotate(180deg);
1108
1083
  }
1109
1084
 
1110
- .wi-layout-sider--inverted > .wi-layout-sider__trigger--arrow-circle {
1111
- background: var(--wi-color-contrast);
1112
- border-color: color-mix(in srgb, var(--wi-color-contrast-fg) 18%, transparent);
1113
- color: var(--wi-color-contrast-fg);
1085
+ .wi-layout-sider--inverted > .wi-layout-sider__trigger--arrow-circle {
1086
+ background: var(--wi-color-contrast);
1087
+ border-color: color-mix(
1088
+ in srgb,
1089
+ var(--wi-color-contrast-fg) 18%,
1090
+ transparent
1091
+ );
1092
+ color: var(--wi-color-contrast-fg);
1114
1093
  }
1115
1094
 
1116
- .wi-layout-sider__trigger--bar {
1117
- height: 4.5rem;
1118
- right: -1.75rem;
1119
- top: calc(50% - 2.25rem);
1120
- width: 2rem;
1095
+ .wi-layout-sider__trigger--bar {
1096
+ height: 4.5rem;
1097
+ right: -1.75rem;
1098
+ top: calc(50% - 2.25rem);
1099
+ width: 2rem;
1121
1100
  }
1122
1101
 
1123
- .wi-layout-sider--right-placement > .wi-layout-sider__trigger--bar {
1124
- left: -1.75rem;
1125
- right: auto;
1126
- transform: rotate(180deg);
1102
+ .wi-layout-sider--right-placement > .wi-layout-sider__trigger--bar {
1103
+ left: -1.75rem;
1104
+ right: auto;
1105
+ transform: rotate(180deg);
1127
1106
  }
1128
1107
 
1129
- .wi-layout-sider__bar {
1130
- display: block;
1131
- height: 100%;
1132
- position: relative;
1133
- width: 100%;
1108
+ .wi-layout-sider__bar {
1109
+ display: block;
1110
+ height: 100%;
1111
+ position: relative;
1112
+ width: 100%;
1134
1113
  }
1135
1114
 
1136
- .wi-layout-sider__bar-top,
1137
- .wi-layout-sider__bar-bottom {
1138
- background: var(--wi-color-text-muted);
1139
- border-radius: 2px;
1140
- height: 2.375rem;
1141
- left: 0.875rem;
1142
- position: absolute;
1143
- transition: background-color var(--wi-motion-fast) var(--wi-motion-ease),
1144
- transform var(--wi-motion-fast) var(--wi-motion-ease);
1145
- width: 4px;
1115
+ .wi-layout-sider__bar-top,
1116
+ .wi-layout-sider__bar-bottom {
1117
+ background: var(--wi-color-text-muted);
1118
+ border-radius: 2px;
1119
+ height: 2.375rem;
1120
+ left: 0.875rem;
1121
+ position: absolute;
1122
+ transition:
1123
+ background-color var(--wi-motion-fast) var(--wi-motion-ease),
1124
+ transform var(--wi-motion-fast) var(--wi-motion-ease);
1125
+ width: 4px;
1146
1126
  }
1147
1127
 
1148
- .wi-layout-sider__bar-top {
1149
- top: 0;
1128
+ .wi-layout-sider__bar-top {
1129
+ top: 0;
1150
1130
  }
1151
1131
 
1152
- .wi-layout-sider__bar-bottom {
1153
- top: 2.125rem;
1132
+ .wi-layout-sider__bar-bottom {
1133
+ top: 2.125rem;
1154
1134
  }
1155
1135
 
1156
- .wi-layout-sider__trigger--bar:hover .wi-layout-sider__bar-top {
1157
- transform: rotate(12deg) scale(1.15) translateY(-2px);
1136
+ .wi-layout-sider__trigger--bar:hover .wi-layout-sider__bar-top {
1137
+ transform: rotate(12deg) scale(1.15) translateY(-2px);
1158
1138
  }
1159
1139
 
1160
- .wi-layout-sider__trigger--bar:hover .wi-layout-sider__bar-bottom {
1161
- transform: rotate(-12deg) scale(1.15) translateY(2px);
1140
+ .wi-layout-sider__trigger--bar:hover .wi-layout-sider__bar-bottom {
1141
+ transform: rotate(-12deg) scale(1.15) translateY(2px);
1162
1142
  }
1163
1143
 
1164
- .wi-layout-sider--collapsed > .wi-layout-sider__trigger--bar:hover .wi-layout-sider__bar-top {
1165
- transform: rotate(-12deg) scale(1.15) translateY(-2px);
1144
+ .wi-layout-sider--collapsed
1145
+ > .wi-layout-sider__trigger--bar:hover
1146
+ .wi-layout-sider__bar-top {
1147
+ transform: rotate(-12deg) scale(1.15) translateY(-2px);
1166
1148
  }
1167
1149
 
1168
- .wi-layout-sider--collapsed > .wi-layout-sider__trigger--bar:hover .wi-layout-sider__bar-bottom {
1169
- transform: rotate(12deg) scale(1.15) translateY(2px);
1150
+ .wi-layout-sider--collapsed
1151
+ > .wi-layout-sider__trigger--bar:hover
1152
+ .wi-layout-sider__bar-bottom {
1153
+ transform: rotate(12deg) scale(1.15) translateY(2px);
1170
1154
  }
1171
1155
 
1172
- .wi-layout-sider--absolute-positioned {
1173
- bottom: 0;
1174
- left: 0;
1175
- position: absolute;
1176
- top: 0;
1156
+ .wi-layout-sider--absolute-positioned {
1157
+ bottom: 0;
1158
+ left: 0;
1159
+ position: absolute;
1160
+ top: 0;
1177
1161
  }