@well-insight/ui 0.1.9 → 0.1.10

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 (321) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/README.md +3 -3
  3. package/README.zh-CN.md +3 -3
  4. package/dist/{Button-BZzV1X-d.js → Button-B6-YxpOQ.js} +1 -1
  5. package/dist/{Checkbox-BtgWgkHI.js → Checkbox-BvlOYFGs.js} +5 -5
  6. package/dist/{Pagination-C-F_ZDXr.js → Pagination-BU-1IY0E.js} +2 -2
  7. package/dist/accordion/style.css +38 -23
  8. package/dist/auto-complete/style.css +180 -157
  9. package/dist/avatar/style.css +102 -74
  10. package/dist/badge/style.css +146 -110
  11. package/dist/block-ui/style.css +38 -23
  12. package/dist/breadcrumb/style.css +38 -23
  13. package/dist/button/index.js +1 -1
  14. package/dist/button/style.css +605 -447
  15. package/dist/card/style.css +38 -23
  16. package/dist/carousel/style.css +74 -58
  17. package/dist/cascade-select/style.css +123 -106
  18. package/dist/checkbox/index.js +1 -1
  19. package/dist/checkbox/style.css +38 -23
  20. package/dist/chip/style.css +117 -95
  21. package/dist/command-menu/style.css +97 -80
  22. package/dist/components/Accordion/Accordion.vue.d.ts.map +1 -1
  23. package/dist/components/AutoComplete/AutoComplete.vue.d.ts.map +1 -1
  24. package/dist/components/AutoComplete/styles.css +142 -134
  25. package/dist/components/Avatar/Avatar.vue.d.ts.map +1 -1
  26. package/dist/components/Avatar/AvatarGroup.vue.d.ts.map +1 -1
  27. package/dist/components/Avatar/styles.css +64 -51
  28. package/dist/components/Badge/Badge.vue.d.ts.map +1 -1
  29. package/dist/components/Badge/styles.css +108 -87
  30. package/dist/components/BlockUI/BlockUI.vue.d.ts.map +1 -1
  31. package/dist/components/Breadcrumb/Breadcrumb.vue.d.ts.map +1 -1
  32. package/dist/components/Button/Button.vue.d.ts +1 -1
  33. package/dist/components/Button/Button.vue.d.ts.map +1 -1
  34. package/dist/components/Button/ButtonGroup.vue.d.ts.map +1 -1
  35. package/dist/components/Button/styles.css +567 -424
  36. package/dist/components/Card/Card.vue.d.ts.map +1 -1
  37. package/dist/components/Carousel/Carousel.vue.d.ts.map +1 -1
  38. package/dist/components/Carousel/styles.css +36 -35
  39. package/dist/components/CascadeSelect/CascadeSelect.vue.d.ts.map +1 -1
  40. package/dist/components/CascadeSelect/styles.css +85 -83
  41. package/dist/components/Checkbox/Checkbox.vue.d.ts.map +1 -1
  42. package/dist/components/Checkbox/CheckboxGroup.vue.d.ts.map +1 -1
  43. package/dist/components/Chip/Chip.vue.d.ts.map +1 -1
  44. package/dist/components/Chip/styles.css +79 -72
  45. package/dist/components/CommandMenu/CommandMenu.vue.d.ts.map +1 -1
  46. package/dist/components/CommandMenu/styles.css +59 -57
  47. package/dist/components/ConfigProvider/ConfigProvider.vue.d.ts.map +1 -1
  48. package/dist/components/ConfirmDialog/ConfirmDialog.vue.d.ts.map +1 -1
  49. package/dist/components/ConfirmDialog/styles.css +17 -16
  50. package/dist/components/ConfirmPopup/ConfirmPopup.vue.d.ts.map +1 -1
  51. package/dist/components/ConfirmPopup/styles.css +27 -26
  52. package/dist/components/ContextMenu/ContextMenu.vue.d.ts.map +1 -1
  53. package/dist/components/ContextMenu/ContextMenuNodes.vue.d.ts.map +1 -1
  54. package/dist/components/ContextMenu/index.d.ts +1 -1
  55. package/dist/components/ContextMenu/index.d.ts.map +1 -1
  56. package/dist/components/ContextMenu/styles.css +43 -37
  57. package/dist/components/ContextMenu/useContextMenu.d.ts.map +1 -1
  58. package/dist/components/DataView/DataView.vue.d.ts.map +1 -1
  59. package/dist/components/DatePicker/DatePicker.vue.d.ts.map +1 -1
  60. package/dist/components/DatePicker/styles.css +163 -139
  61. package/dist/components/Dialog/Dialog.vue.d.ts.map +1 -1
  62. package/dist/components/Dialog/styles.css +155 -150
  63. package/dist/components/Divider/Divider.vue.d.ts.map +1 -1
  64. package/dist/components/Dock/Dock.vue.d.ts.map +1 -1
  65. package/dist/components/Dock/styles.css +37 -32
  66. package/dist/components/Drawer/Drawer.vue.d.ts.map +1 -1
  67. package/dist/components/Drawer/styles.css +82 -80
  68. package/dist/components/Dropdown/Dropdown.vue.d.ts.map +1 -1
  69. package/dist/components/Dropdown/DropdownNodes.vue.d.ts.map +1 -1
  70. package/dist/components/Dropdown/styles.css +58 -57
  71. package/dist/components/Fieldset/Fieldset.vue.d.ts.map +1 -1
  72. package/dist/components/FileUpload/FileUpload.vue.d.ts +2 -2
  73. package/dist/components/FileUpload/FileUpload.vue.d.ts.map +1 -1
  74. package/dist/components/FileUpload/styles.css +238 -221
  75. package/dist/components/Flex/Flex.vue.d.ts.map +1 -1
  76. package/dist/components/Form/Form.vue.d.ts.map +1 -1
  77. package/dist/components/Form/FormItem.vue.d.ts.map +1 -1
  78. package/dist/components/Form/index.d.ts +2 -2
  79. package/dist/components/Form/index.d.ts.map +1 -1
  80. package/dist/components/Form/styles.css +46 -44
  81. package/dist/components/Gallery/Gallery.vue.d.ts.map +1 -1
  82. package/dist/components/Gallery/styles.css +42 -39
  83. package/dist/components/Grid/Grid.vue.d.ts.map +1 -1
  84. package/dist/components/Grid/GridItem.vue.d.ts.map +1 -1
  85. package/dist/components/Icon/Icon.vue.d.ts.map +1 -1
  86. package/dist/components/IconField/IconField.vue.d.ts.map +1 -1
  87. package/dist/components/Inplace/Inplace.vue.d.ts.map +1 -1
  88. package/dist/components/Input/Input.vue.d.ts.map +1 -1
  89. package/dist/components/Input/styles.css +198 -191
  90. package/dist/components/InputColor/InputColor.vue.d.ts.map +1 -1
  91. package/dist/components/InputColor/styles.css +50 -48
  92. package/dist/components/InputNumber/InputNumber.vue.d.ts.map +1 -1
  93. package/dist/components/InputNumber/styles.css +90 -80
  94. package/dist/components/InputOtp/InputOtp.vue.d.ts.map +1 -1
  95. package/dist/components/InputPassword/InputPassword.vue.d.ts.map +1 -1
  96. package/dist/components/InputPassword/styles.css +130 -117
  97. package/dist/components/InputTags/InputTags.vue.d.ts.map +1 -1
  98. package/dist/components/InputTags/styles.css +51 -43
  99. package/dist/components/Knob/Knob.vue.d.ts.map +1 -1
  100. package/dist/components/Label/Label.vue.d.ts.map +1 -1
  101. package/dist/components/Layout/Layout.vue.d.ts.map +1 -1
  102. package/dist/components/Layout/LayoutContent.vue.d.ts.map +1 -1
  103. package/dist/components/Layout/LayoutFooter.vue.d.ts.map +1 -1
  104. package/dist/components/Layout/LayoutHeader.vue.d.ts.map +1 -1
  105. package/dist/components/Layout/LayoutSider.vue.d.ts +1 -1
  106. package/dist/components/Layout/LayoutSider.vue.d.ts.map +1 -1
  107. package/dist/components/Layout/index.d.ts +2 -2
  108. package/dist/components/Layout/index.d.ts.map +1 -1
  109. package/dist/components/Layout/styles.css +310 -258
  110. package/dist/components/Layout/types.d.ts +30 -12
  111. package/dist/components/Layout/types.d.ts.map +1 -1
  112. package/dist/components/Listbox/Listbox.vue.d.ts.map +1 -1
  113. package/dist/components/Listbox/styles.css +61 -51
  114. package/dist/components/MegaMenu/MegaMenu.vue.d.ts.map +1 -1
  115. package/dist/components/MegaMenu/styles.css +60 -58
  116. package/dist/components/Menu/Menu.vue.d.ts.map +1 -1
  117. package/dist/components/Menu/MenuNodes.vue.d.ts.map +1 -1
  118. package/dist/components/Menu/styles.css +53 -47
  119. package/dist/components/Menubar/Menubar.vue.d.ts.map +1 -1
  120. package/dist/components/Menubar/styles.css +80 -70
  121. package/dist/components/Message/Message.vue.d.ts.map +1 -1
  122. package/dist/components/Message/index.d.ts +1 -1
  123. package/dist/components/Message/index.d.ts.map +1 -1
  124. package/dist/components/Message/message.d.ts +2 -2
  125. package/dist/components/Message/message.d.ts.map +1 -1
  126. package/dist/components/Message/messageState.d.ts.map +1 -1
  127. package/dist/components/Message/styles.css +193 -143
  128. package/dist/components/Message/types.d.ts +1 -1
  129. package/dist/components/Message/types.d.ts.map +1 -1
  130. package/dist/components/MeterGroup/MeterGroup.vue.d.ts.map +1 -1
  131. package/dist/components/MeterGroup/styles.css +36 -34
  132. package/dist/components/OrderList/OrderList.vue.d.ts.map +1 -1
  133. package/dist/components/Pagination/Pagination.vue.d.ts.map +1 -1
  134. package/dist/components/Pagination/styles.css +59 -57
  135. package/dist/components/Panel/Panel.vue.d.ts.map +1 -1
  136. package/dist/components/PickList/PickList.vue.d.ts.map +1 -1
  137. package/dist/components/Popover/Popover.vue.d.ts.map +1 -1
  138. package/dist/components/Popover/styles.css +46 -45
  139. package/dist/components/ProgressBar/ProgressBar.vue.d.ts.map +1 -1
  140. package/dist/components/ProgressSpinner/ProgressSpinner.vue.d.ts.map +1 -1
  141. package/dist/components/Radio/Radio.vue.d.ts.map +1 -1
  142. package/dist/components/Radio/RadioGroup.vue.d.ts.map +1 -1
  143. package/dist/components/Rating/Rating.vue.d.ts.map +1 -1
  144. package/dist/components/ScrollTop/ScrollTop.vue.d.ts.map +1 -1
  145. package/dist/components/Scrollbar/Scrollbar.vue.d.ts.map +1 -1
  146. package/dist/components/Scrollbar/Thumb.vue.d.ts.map +1 -1
  147. package/dist/components/Scrollbar/constants.d.ts +2 -2
  148. package/dist/components/Scrollbar/constants.d.ts.map +1 -1
  149. package/dist/components/Scrollbar/styles.css +68 -59
  150. package/dist/components/Select/Select.vue.d.ts +1 -1
  151. package/dist/components/Select/Select.vue.d.ts.map +1 -1
  152. package/dist/components/Select/styles.css +293 -280
  153. package/dist/components/SelectButton/SelectButton.vue.d.ts.map +1 -1
  154. package/dist/components/SelectButton/styles.css +64 -51
  155. package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
  156. package/dist/components/Sidebar/styles.css +40 -38
  157. package/dist/components/Skeleton/Skeleton.vue.d.ts.map +1 -1
  158. package/dist/components/Slider/Slider.vue.d.ts.map +1 -1
  159. package/dist/components/Slider/styles.css +111 -95
  160. package/dist/components/Space/Space.vue.d.ts.map +1 -1
  161. package/dist/components/SpeedDial/SpeedDial.vue.d.ts.map +1 -1
  162. package/dist/components/SplitButton/SplitButton.vue.d.ts.map +1 -1
  163. package/dist/components/SplitButton/styles.css +105 -89
  164. package/dist/components/Splitter/Splitter.vue.d.ts.map +1 -1
  165. package/dist/components/Stepper/Stepper.vue.d.ts.map +1 -1
  166. package/dist/components/Stepper/styles.css +63 -58
  167. package/dist/components/Switch/Switch.vue.d.ts.map +1 -1
  168. package/dist/components/Switch/styles.css +82 -53
  169. package/dist/components/Table/Table.vue.d.ts.map +1 -1
  170. package/dist/components/Tabs/Tabs.vue.d.ts.map +1 -1
  171. package/dist/components/Tag/Tag.vue.d.ts.map +1 -1
  172. package/dist/components/Terminal/Terminal.vue.d.ts.map +1 -1
  173. package/dist/components/Terminal/styles.css +46 -34
  174. package/dist/components/Textarea/Textarea.vue.d.ts.map +1 -1
  175. package/dist/components/Textarea/styles.css +69 -62
  176. package/dist/components/Textarea/types.d.ts +1 -1
  177. package/dist/components/Textarea/types.d.ts.map +1 -1
  178. package/dist/components/TieredMenu/TieredMenu.vue.d.ts.map +1 -1
  179. package/dist/components/TieredMenu/styles.css +69 -62
  180. package/dist/components/Timeline/Timeline.vue.d.ts.map +1 -1
  181. package/dist/components/Timeline/types.d.ts +1 -1
  182. package/dist/components/Timeline/types.d.ts.map +1 -1
  183. package/dist/components/Toast/Toast.vue.d.ts.map +1 -1
  184. package/dist/components/Toast/index.d.ts +1 -1
  185. package/dist/components/Toast/index.d.ts.map +1 -1
  186. package/dist/components/Toast/toast.d.ts +2 -2
  187. package/dist/components/Toast/toast.d.ts.map +1 -1
  188. package/dist/components/Toast/toastState.d.ts.map +1 -1
  189. package/dist/components/Toast/types.d.ts +1 -1
  190. package/dist/components/Toast/types.d.ts.map +1 -1
  191. package/dist/components/ToggleButton/ToggleButton.vue.d.ts.map +1 -1
  192. package/dist/components/Tooltip/Tooltip.vue.d.ts.map +1 -1
  193. package/dist/components/Tree/Tree.vue.d.ts.map +1 -1
  194. package/dist/components/Tree/TreeNodeItem.vue.d.ts.map +1 -1
  195. package/dist/components/Tree/context.d.ts +2 -2
  196. package/dist/components/Tree/context.d.ts.map +1 -1
  197. package/dist/components/Tree/index.d.ts +1 -1
  198. package/dist/components/Tree/index.d.ts.map +1 -1
  199. package/dist/components/TreeSelect/TreeSelect.vue.d.ts.map +1 -1
  200. package/dist/components/TreeSelect/styles.css +140 -138
  201. package/dist/components/TreeTable/TreeTable.vue.d.ts.map +1 -1
  202. package/dist/components/TreeTable/TreeTableRow.vue.d.ts.map +1 -1
  203. package/dist/components/VirtualScroller/VirtualScroller.vue.d.ts.map +1 -1
  204. package/dist/components/VirtualScroller/index.d.ts +1 -1
  205. package/dist/components/VirtualScroller/index.d.ts.map +1 -1
  206. package/dist/config-provider/style.css +765 -600
  207. package/dist/confirm-dialog/index.js +1 -1
  208. package/dist/confirm-dialog/style.css +777 -613
  209. package/dist/confirm-popup/index.js +1 -1
  210. package/dist/confirm-popup/style.css +632 -473
  211. package/dist/context-menu/style.css +81 -60
  212. package/dist/data-view/index.js +1 -1
  213. package/dist/data-view/style.css +97 -80
  214. package/dist/date-picker/index.js +2 -2
  215. package/dist/date-picker/style.css +200 -161
  216. package/dist/dialog/index.js +1 -1
  217. package/dist/dialog/style.css +760 -597
  218. package/dist/divider/style.css +38 -23
  219. package/dist/dock/style.css +75 -55
  220. package/dist/drawer/style.css +120 -103
  221. package/dist/dropdown/index.js +3 -3
  222. package/dist/dropdown/style.css +96 -80
  223. package/dist/fieldset/style.css +38 -23
  224. package/dist/file-upload/style.css +270 -238
  225. package/dist/flex/style.css +38 -23
  226. package/dist/float-label/style.css +38 -23
  227. package/dist/fluid/style.css +38 -23
  228. package/dist/form/style.css +84 -67
  229. package/dist/gallery/style.css +80 -62
  230. package/dist/grid/index.js +39 -39
  231. package/dist/grid/style.css +38 -23
  232. package/dist/icon/style.css +38 -23
  233. package/dist/icon-field/style.css +38 -23
  234. package/dist/index.d.ts +174 -174
  235. package/dist/index.d.ts.map +1 -1
  236. package/dist/index.js +1028 -976
  237. package/dist/inplace/style.css +38 -23
  238. package/dist/input/index.js +6 -7
  239. package/dist/input/style.css +236 -214
  240. package/dist/input-color/index.js +2 -2
  241. package/dist/input-color/style.css +88 -71
  242. package/dist/input-group/style.css +38 -23
  243. package/dist/input-number/index.js +15 -15
  244. package/dist/input-number/style.css +128 -103
  245. package/dist/input-otp/index.js +1 -1
  246. package/dist/input-otp/style.css +38 -23
  247. package/dist/input-password/index.js +16 -17
  248. package/dist/input-password/style.css +168 -140
  249. package/dist/input-tags/style.css +89 -66
  250. package/dist/knob/style.css +38 -23
  251. package/dist/label/style.css +38 -23
  252. package/dist/layout/index.js +135 -93
  253. package/dist/layout/style.css +408 -332
  254. package/dist/listbox/style.css +99 -74
  255. package/dist/locale/index.d.ts +1 -1
  256. package/dist/locale/index.d.ts.map +1 -1
  257. package/dist/mega-menu/style.css +98 -81
  258. package/dist/menu/style.css +91 -70
  259. package/dist/menubar/style.css +118 -93
  260. package/dist/message/style.css +231 -166
  261. package/dist/meter-group/style.css +74 -57
  262. package/dist/order-list/style.css +38 -23
  263. package/dist/pagination/index.js +1 -1
  264. package/dist/pagination/style.css +97 -80
  265. package/dist/panel/style.css +38 -23
  266. package/dist/pick-list/style.css +38 -23
  267. package/dist/popover/index.js +5 -5
  268. package/dist/popover/style.css +84 -68
  269. package/dist/progress-bar/style.css +38 -23
  270. package/dist/progress-spinner/style.css +38 -23
  271. package/dist/radio/index.js +4 -4
  272. package/dist/radio/style.css +38 -23
  273. package/dist/rating/style.css +38 -23
  274. package/dist/scroll-top/style.css +38 -23
  275. package/dist/scrollbar/style.css +106 -82
  276. package/dist/select/style.css +285 -257
  277. package/dist/select-button/style.css +102 -74
  278. package/dist/shared/Renderable.d.ts.map +1 -1
  279. package/dist/shared/config.d.ts.map +1 -1
  280. package/dist/shared/content.d.ts.map +1 -1
  281. package/dist/shared/overlayHost.d.ts.map +1 -1
  282. package/dist/shared/useModalOverlay.d.ts.map +1 -1
  283. package/dist/shared/vnode.d.ts.map +1 -1
  284. package/dist/sidebar/style.css +78 -61
  285. package/dist/skeleton/style.css +38 -23
  286. package/dist/slider/style.css +149 -118
  287. package/dist/space/style.css +38 -23
  288. package/dist/speed-dial/index.js +1 -1
  289. package/dist/speed-dial/style.css +38 -23
  290. package/dist/split-button/style.css +738 -564
  291. package/dist/splitter/style.css +38 -23
  292. package/dist/stepper/style.css +101 -81
  293. package/dist/styles.css +1 -1
  294. package/dist/switch/index.js +5 -5
  295. package/dist/switch/style.css +120 -76
  296. package/dist/table/index.js +3 -3
  297. package/dist/table/style.css +97 -80
  298. package/dist/tabs/style.css +38 -23
  299. package/dist/tag/style.css +38 -23
  300. package/dist/terminal/style.css +84 -57
  301. package/dist/textarea/index.js +11 -12
  302. package/dist/textarea/style.css +107 -85
  303. package/dist/theme/index.d.ts +5 -5
  304. package/dist/theme/index.d.ts.map +1 -1
  305. package/dist/theme/styles.css +38 -23
  306. package/dist/theme/tokens.d.ts +11 -0
  307. package/dist/theme/tokens.d.ts.map +1 -1
  308. package/dist/theme/useTheme.d.ts.map +1 -1
  309. package/dist/tiered-menu/style.css +107 -85
  310. package/dist/timeline/style.css +38 -23
  311. package/dist/toast/style.css +38 -23
  312. package/dist/toggle-button/style.css +38 -23
  313. package/dist/toolbar/style.css +38 -23
  314. package/dist/tooltip/style.css +38 -23
  315. package/dist/tree/index.js +11 -11
  316. package/dist/tree/style.css +38 -23
  317. package/dist/tree-select/index.js +1 -1
  318. package/dist/tree-select/style.css +171 -154
  319. package/dist/tree-table/style.css +38 -23
  320. package/dist/virtual-scroller/style.css +38 -23
  321. package/package.json +15 -11
@@ -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) {
@@ -735,200 +750,224 @@
735
750
  line-height: 1;
736
751
  }
737
752
 
738
- /* —— Form: DatePicker —— */
739
- .wi-datepicker {
740
- display: inline-flex;
741
- flex-direction: column;
742
- gap: var(--wi-space-2);
743
- position: relative;
753
+ /* —— Form: DatePicker —— */
754
+ .wi-datepicker {
755
+ --wi-datepicker-input-affix-padding: var(--wi-control-affix-padding);
756
+ --wi-datepicker-day-size: var(--wi-control-affix-size);
757
+ --wi-datepicker-calendar-cell-size: 2rem;
758
+ --wi-datepicker-grid-gap: 0.125rem;
759
+ --wi-datepicker-shortcuts-width: 6rem;
760
+ display: inline-flex;
761
+ flex-direction: column;
762
+ gap: var(--wi-space-2);
763
+ position: relative;
744
764
  }
745
765
 
746
- .wi-datepicker--fluid {
747
- display: flex;
748
- width: 100%;
766
+ .wi-datepicker--fluid {
767
+ display: flex;
768
+ width: 100%;
749
769
  }
750
770
 
751
- .wi-datepicker__label {
752
- color: var(--wi-color-text);
753
- font-size: var(--wi-font-size-md);
754
- font-weight: 600;
771
+ .wi-datepicker__label {
772
+ color: var(--wi-color-text);
773
+ font-size: var(--wi-font-size-md);
774
+ font-weight: 600;
755
775
  }
756
776
 
757
- .wi-datepicker__control {
758
- align-items: center;
759
- display: flex;
760
- position: relative;
777
+ .wi-datepicker__control {
778
+ align-items: center;
779
+ display: flex;
780
+ position: relative;
761
781
  }
762
782
 
763
- .wi-datepicker__input {
764
- background: var(--wi-color-surface);
765
- border: 1px solid var(--wi-color-border);
766
- border-radius: var(--wi-radius-control);
767
- color: var(--wi-color-text);
768
- cursor: pointer;
769
- font: inherit;
770
- font-size: var(--wi-control-font-medium);
771
- min-height: var(--wi-control-height-medium);
772
- padding: 0 2rem 0 var(--wi-control-padding-x-medium);
773
- width: 100%;
783
+ .wi-datepicker__input {
784
+ background: var(--wi-color-surface);
785
+ border: 1px solid var(--wi-color-border);
786
+ border-radius: var(--wi-radius-control);
787
+ color: var(--wi-color-text);
788
+ cursor: pointer;
789
+ font: inherit;
790
+ font-size: var(--wi-control-font-medium);
791
+ min-height: var(--wi-control-height-medium);
792
+ padding: 0 var(--wi-datepicker-input-affix-padding) 0
793
+ var(--wi-control-padding-x-medium);
794
+ width: 100%;
774
795
  }
775
796
 
776
- .wi-datepicker--small .wi-datepicker__input {
777
- font-size: var(--wi-control-font-small);
778
- min-height: var(--wi-control-height-small);
779
- padding: 0 1.75rem 0 var(--wi-control-padding-x-small);
797
+ .wi-datepicker--small .wi-datepicker__input {
798
+ font-size: var(--wi-control-font-small);
799
+ min-height: var(--wi-control-height-small);
800
+ padding: 0 var(--wi-datepicker-input-affix-padding) 0
801
+ var(--wi-control-padding-x-small);
780
802
  }
781
803
 
782
- .wi-datepicker--large .wi-datepicker__input {
783
- font-size: var(--wi-control-font-large);
784
- min-height: var(--wi-control-height-large);
785
- padding: 0 2.25rem 0 var(--wi-control-padding-x-large);
804
+ .wi-datepicker--large .wi-datepicker__input {
805
+ font-size: var(--wi-control-font-large);
806
+ min-height: var(--wi-control-height-large);
807
+ padding: 0 var(--wi-datepicker-input-affix-padding) 0
808
+ var(--wi-control-padding-x-large);
786
809
  }
787
810
 
788
- .wi-datepicker--invalid .wi-datepicker__input {
789
- border-color: var(--wi-color-danger);
811
+ .wi-datepicker--invalid .wi-datepicker__input {
812
+ border-color: var(--wi-color-danger);
790
813
  }
791
814
 
792
- .wi-datepicker--disabled {
793
- opacity: var(--wi-opacity-disabled);
794
- pointer-events: none;
815
+ .wi-datepicker--disabled {
816
+ opacity: var(--wi-opacity-disabled);
817
+ pointer-events: none;
795
818
  }
796
819
 
797
- .wi-datepicker__clear {
798
- background: transparent;
799
- border: 0;
800
- color: var(--wi-color-text-muted);
801
- cursor: pointer;
802
- font: inherit;
803
- position: absolute;
804
- right: 0.5rem;
820
+ .wi-datepicker__clear {
821
+ background: transparent;
822
+ border: 0;
823
+ color: var(--wi-color-text-muted);
824
+ cursor: pointer;
825
+ font: inherit;
826
+ position: absolute;
827
+ right: var(--wi-space-2);
805
828
  }
806
829
 
807
- .wi-datepicker__panel {
808
- background: var(--wi-color-surface);
809
- border: 1px solid var(--wi-color-border);
810
- border-radius: var(--wi-radius-md);
811
- box-shadow: var(--wi-shadow-md);
812
- margin-top: var(--wi-space-1);
813
- padding: var(--wi-space-3);
814
- position: absolute;
815
- top: 100%;
816
- z-index: var(--wi-z-popper);
830
+ .wi-datepicker__panel {
831
+ background: var(--wi-color-surface);
832
+ border: 1px solid var(--wi-color-border);
833
+ border-radius: var(--wi-radius-md);
834
+ box-shadow: var(--wi-shadow-md);
835
+ margin-top: var(--wi-space-1);
836
+ padding: var(--wi-space-3);
837
+ position: absolute;
838
+ top: 100%;
839
+ z-index: var(--wi-z-popper);
817
840
  }
818
841
 
819
- .wi-datepicker__panel--teleported {
820
- margin-top: 0;
821
- position: fixed;
822
- top: auto;
823
- z-index: var(--wi-z-dropdown);
842
+ .wi-datepicker__panel--teleported {
843
+ margin-top: 0;
844
+ position: fixed;
845
+ top: auto;
846
+ z-index: var(--wi-z-dropdown);
824
847
  }
825
848
 
826
- .wi-datepicker__header {
827
- align-items: center;
828
- display: flex;
829
- justify-content: space-between;
830
- margin-bottom: var(--wi-space-2);
849
+ .wi-datepicker__header {
850
+ align-items: center;
851
+ display: flex;
852
+ justify-content: space-between;
853
+ margin-bottom: var(--wi-space-2);
831
854
  }
832
855
 
833
- .wi-datepicker__month {
834
- font-weight: 600;
856
+ .wi-datepicker__month {
857
+ font-weight: 600;
835
858
  }
836
859
 
837
- .wi-datepicker__nav {
838
- background: transparent;
839
- border: 0;
840
- border-radius: var(--wi-radius-sm);
841
- color: var(--wi-color-text);
842
- cursor: pointer;
843
- font: inherit;
844
- line-height: 1;
845
- padding: var(--wi-space-1) var(--wi-space-2);
860
+ .wi-datepicker__nav {
861
+ background: transparent;
862
+ border: 0;
863
+ border-radius: var(--wi-radius-sm);
864
+ color: var(--wi-color-text);
865
+ cursor: pointer;
866
+ font: inherit;
867
+ line-height: 1;
868
+ padding: var(--wi-space-1) var(--wi-space-2);
846
869
  }
847
870
 
848
- .wi-datepicker__nav:hover {
849
- background: color-mix(in srgb, var(--wi-color-primary) 10%, var(--wi-color-surface));
871
+ .wi-datepicker__nav:hover {
872
+ background: color-mix(
873
+ in srgb,
874
+ var(--wi-color-primary) 10%,
875
+ var(--wi-color-surface)
876
+ );
850
877
  }
851
878
 
852
- .wi-datepicker__weekdays,
853
- .wi-datepicker__grid {
854
- display: grid;
855
- gap: 0.125rem;
856
- grid-template-columns: repeat(7, 2rem);
879
+ .wi-datepicker__weekdays,
880
+ .wi-datepicker__grid {
881
+ display: grid;
882
+ gap: var(--wi-datepicker-grid-gap);
883
+ grid-template-columns: repeat(7, var(--wi-datepicker-calendar-cell-size));
857
884
  }
858
885
 
859
- .wi-datepicker__weekdays {
860
- color: var(--wi-color-text-muted);
861
- font-size: var(--wi-font-size-xs);
862
- margin-bottom: var(--wi-space-1);
863
- text-align: center;
886
+ .wi-datepicker__weekdays {
887
+ color: var(--wi-color-text-muted);
888
+ font-size: var(--wi-font-size-xs);
889
+ margin-bottom: var(--wi-space-1);
890
+ text-align: center;
864
891
  }
865
892
 
866
- .wi-datepicker__day {
867
- background: transparent;
868
- border: 0;
869
- border-radius: var(--wi-radius-sm);
870
- color: var(--wi-color-text);
871
- cursor: pointer;
872
- font: inherit;
873
- height: var(--wi-control-affix-size);
874
- width: var(--wi-control-affix-size);
893
+ .wi-datepicker__day {
894
+ background: transparent;
895
+ border: 0;
896
+ border-radius: var(--wi-radius-sm);
897
+ color: var(--wi-color-text);
898
+ cursor: pointer;
899
+ font: inherit;
900
+ height: var(--wi-datepicker-day-size);
901
+ width: var(--wi-datepicker-day-size);
875
902
  }
876
903
 
877
- .wi-datepicker__day--other {
878
- color: var(--wi-color-text-muted);
879
- opacity: var(--wi-opacity-disabled);
904
+ .wi-datepicker__day--other {
905
+ color: var(--wi-color-text-muted);
906
+ opacity: var(--wi-opacity-disabled);
880
907
  }
881
908
 
882
- .wi-datepicker__day--selected {
883
- background: var(--wi-color-primary);
884
- color: var(--wi-color-on-emphasis);
909
+ .wi-datepicker__day--selected {
910
+ background: var(--wi-color-primary);
911
+ color: var(--wi-color-on-emphasis);
885
912
  }
886
913
 
887
- .wi-datepicker__day:hover:not(:disabled):not(.wi-datepicker__day--selected) {
888
- background: color-mix(in srgb, var(--wi-color-primary) 12%, var(--wi-color-surface));
914
+ .wi-datepicker__day:hover:not(:disabled):not(.wi-datepicker__day--selected) {
915
+ background: color-mix(
916
+ in srgb,
917
+ var(--wi-color-primary) 12%,
918
+ var(--wi-color-surface)
919
+ );
889
920
  }
890
921
 
891
- .wi-datepicker__day:disabled {
892
- cursor: not-allowed;
893
- opacity: 0.4;
922
+ .wi-datepicker__day:disabled {
923
+ cursor: not-allowed;
924
+ opacity: 0.4;
894
925
  }
895
926
 
896
- .wi-datepicker__panel--with-shortcuts {
897
- display: flex;
898
- gap: var(--wi-space-3);
927
+ .wi-datepicker__panel--with-shortcuts {
928
+ display: flex;
929
+ gap: var(--wi-space-3);
899
930
  }
900
931
 
901
- .wi-datepicker__shortcuts {
902
- display: grid;
903
- gap: var(--wi-space-1);
904
- min-width: 6rem;
932
+ .wi-datepicker__shortcuts {
933
+ display: grid;
934
+ gap: var(--wi-space-1);
935
+ min-width: var(--wi-datepicker-shortcuts-width);
905
936
  }
906
937
 
907
- .wi-datepicker__shortcut {
908
- background: transparent;
909
- border: 0;
910
- border-radius: var(--wi-radius-sm);
911
- color: var(--wi-color-text);
912
- cursor: pointer;
913
- font: inherit;
914
- padding: var(--wi-space-1) var(--wi-space-2);
915
- text-align: left;
938
+ .wi-datepicker__shortcut {
939
+ background: transparent;
940
+ border: 0;
941
+ border-radius: var(--wi-radius-sm);
942
+ color: var(--wi-color-text);
943
+ cursor: pointer;
944
+ font: inherit;
945
+ padding: var(--wi-space-1) var(--wi-space-2);
946
+ text-align: left;
916
947
  }
917
948
 
918
- .wi-datepicker__shortcut:hover {
919
- background: color-mix(in srgb, var(--wi-color-primary) 10%, var(--wi-color-surface));
920
- color: var(--wi-color-primary);
949
+ .wi-datepicker__shortcut:hover {
950
+ background: color-mix(
951
+ in srgb,
952
+ var(--wi-color-primary) 10%,
953
+ var(--wi-color-surface)
954
+ );
955
+ color: var(--wi-color-primary);
921
956
  }
922
957
 
923
- .wi-datepicker__day--in-range {
924
- background: color-mix(in srgb, var(--wi-color-primary) 16%, var(--wi-color-surface));
925
- border-radius: 0;
958
+ .wi-datepicker__day--in-range {
959
+ background: color-mix(
960
+ in srgb,
961
+ var(--wi-color-primary) 16%,
962
+ var(--wi-color-surface)
963
+ );
964
+ border-radius: 0;
926
965
  }
927
966
 
928
- .wi-datepicker__day--range-start {
929
- border-radius: var(--wi-radius-sm) 0 0 var(--wi-radius-sm);
967
+ .wi-datepicker__day--range-start {
968
+ border-radius: var(--wi-radius-sm) 0 0 var(--wi-radius-sm);
930
969
  }
931
970
 
932
- .wi-datepicker__day--range-end {
933
- border-radius: 0 var(--wi-radius-sm) var(--wi-radius-sm) 0;
971
+ .wi-datepicker__day--range-end {
972
+ border-radius: 0 var(--wi-radius-sm) var(--wi-radius-sm) 0;
934
973
  }
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "../Icon-B6gOD07E.js";
2
- import { t } from "../Button-BZzV1X-d.js";
2
+ import { t } from "../Button-B6-YxpOQ.js";
3
3
  import { n } from "../overlay-oR-5MDuE.js";
4
4
  import { t as r } from "../useModalOverlay-Beo3CEAt.js";
5
5
  import { t as i } from "../asyncGuard-CPGT_TKu.js";