@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
@@ -1,349 +1,401 @@
1
- /* —— Panel: Layout —— */
2
- .wi-layout {
3
- background: var(--wi-color-surface);
4
- box-sizing: border-box;
5
- color: var(--wi-color-text);
6
- flex: auto;
7
- min-height: 0;
8
- min-width: 0;
9
- overflow: hidden;
10
- position: relative;
11
- transition: background-color var(--wi-motion-normal) var(--wi-motion-ease),
12
- color var(--wi-motion-normal) var(--wi-motion-ease);
13
- width: 100%;
14
- z-index: auto;
15
- }
16
-
17
- .wi-layout--embedded {
18
- background: color-mix(in srgb, var(--wi-color-text-muted) 6%, var(--wi-color-surface));
19
- }
20
-
21
- .wi-layout--absolute-positioned {
22
- inset: 0;
23
- position: absolute;
24
- }
1
+ /* —— Panel: Layout —— */
2
+ .wi-layout {
3
+ --wi-layout-height: 100%;
4
+ background: var(--wi-color-surface);
5
+ box-sizing: border-box;
6
+ color: var(--wi-color-text);
7
+ flex: auto;
8
+ min-height: 0;
9
+ min-width: 0;
10
+ overflow: hidden;
11
+ position: relative;
12
+ transition:
13
+ background-color var(--wi-motion-normal) var(--wi-motion-ease),
14
+ color var(--wi-motion-normal) var(--wi-motion-ease);
15
+ width: 100%;
16
+ z-index: auto;
17
+ }
25
18
 
26
- .wi-layout__scroll {
27
- box-sizing: border-box;
28
- display: flex;
29
- flex-direction: column;
30
- height: 100%;
31
- min-height: 0;
32
- min-width: 0;
33
- overflow: auto;
34
- overflow-x: hidden;
35
- position: relative;
36
- width: 100%;
19
+ .wi-layout--embedded {
20
+ background: color-mix(
21
+ in srgb,
22
+ var(--wi-color-text-muted) 6%,
23
+ var(--wi-color-surface)
24
+ );
37
25
  }
38
26
 
39
- .wi-layout__scroll--has-sider {
40
- /* direction set inline (matches naive hasSiderStyle) */
41
- flex-wrap: nowrap;
27
+ .wi-layout--absolute-positioned {
28
+ inset: 0;
29
+ position: absolute;
42
30
  }
43
31
 
44
- .wi-layout__scrollbar {
45
- box-sizing: border-box;
46
- flex: 1 1 auto;
47
- height: 100%;
48
- min-height: 0;
49
- min-width: 0;
50
- width: 100%;
32
+ .wi-layout__scroll {
33
+ box-sizing: border-box;
34
+ display: flex;
35
+ flex-direction: column;
36
+ height: 100%;
37
+ min-height: 0;
38
+ min-width: 0;
39
+ overflow: auto;
40
+ overflow-x: hidden;
41
+ position: relative;
42
+ width: 100%;
51
43
  }
52
44
 
53
- .wi-layout__scrollbar .wi-layout__scroll {
54
- /* view hosts flex children; scrolling is on the wrap */
55
- height: auto;
56
- min-height: 100%;
57
- overflow: visible;
45
+ .wi-layout__scroll--has-sider {
46
+ /* direction set inline (matches naive hasSiderStyle) */
47
+ flex-wrap: nowrap;
58
48
  }
59
49
 
60
- /* Nested layout / content grow to fill remaining space */
61
- .wi-layout__scroll > .wi-layout,
62
- .wi-layout__scroll > .wi-layout-content {
63
- flex: 1 1 auto;
64
- min-height: 0;
65
- min-width: 0;
50
+ .wi-layout__scrollbar {
51
+ box-sizing: border-box;
52
+ flex: 1 1 auto;
53
+ height: 100%;
54
+ min-height: 0;
55
+ min-width: 0;
56
+ width: 100%;
66
57
  }
67
58
 
68
- .wi-layout-content {
69
- flex: 1 1 auto;
70
- min-height: 0;
71
- min-width: 0;
59
+ .wi-layout__scrollbar .wi-layout__scroll {
60
+ /* view hosts flex children; scrolling is on the wrap */
61
+ height: auto;
62
+ min-height: 100%;
63
+ overflow: visible;
72
64
  }
73
65
 
74
- .wi-layout-content > .wi-layout__scroll,
75
- .wi-layout-content > .wi-layout__scrollbar {
76
- flex: 1 1 auto;
77
- }
78
-
79
- .wi-layout-header,
80
- .wi-layout-footer {
81
- background: var(--wi-color-surface);
82
- box-sizing: border-box;
83
- color: var(--wi-color-text);
84
- flex: 0 0 auto;
85
- transition: background-color var(--wi-motion-fast) var(--wi-motion-ease),
86
- color var(--wi-motion-fast) var(--wi-motion-ease),
87
- border-color var(--wi-motion-fast) var(--wi-motion-ease);
88
- width: 100%;
89
- }
90
-
91
- .wi-layout-header--bordered {
92
- border-bottom: 1px solid var(--wi-color-border);
93
- }
66
+ /* Nested layout / content grow to fill remaining space */
67
+ .wi-layout__scroll > .wi-layout,
68
+ .wi-layout__scroll > .wi-layout-content {
69
+ flex: 1 1 auto;
70
+ min-height: 0;
71
+ min-width: 0;
72
+ }
73
+
74
+ .wi-layout-content {
75
+ --wi-layout-padding: var(--wi-space-4);
76
+ --wi-layout-radius: 0;
77
+ flex: 1 1 auto;
78
+ min-height: 0;
79
+ min-width: 0;
80
+ }
81
+
82
+ .wi-layout-content > .wi-layout__scroll,
83
+ .wi-layout-content > .wi-layout__scrollbar {
84
+ flex: 1 1 auto;
85
+ }
86
+
87
+ .wi-layout-header,
88
+ .wi-layout-footer {
89
+ background: var(--wi-color-surface);
90
+ box-sizing: border-box;
91
+ color: var(--wi-color-text);
92
+ flex: 0 0 auto;
93
+ transition:
94
+ background-color var(--wi-motion-fast) var(--wi-motion-ease),
95
+ color var(--wi-motion-fast) var(--wi-motion-ease),
96
+ border-color var(--wi-motion-fast) var(--wi-motion-ease);
97
+ width: 100%;
98
+ }
99
+
100
+ .wi-layout-header {
101
+ --wi-layout-header-height: 56px;
102
+ --wi-layout-padding: var(--wi-space-4);
103
+ --wi-layout-radius: 0;
104
+ }
105
+
106
+ .wi-layout-footer {
107
+ --wi-layout-footer-height: 48px;
108
+ --wi-layout-padding: var(--wi-space-4);
109
+ --wi-layout-radius: 0;
110
+ }
94
111
 
95
- .wi-layout-footer--bordered {
96
- border-top: 1px solid var(--wi-color-border);
112
+ .wi-layout-header--bordered {
113
+ border-bottom: var(--wi-border-width) solid var(--wi-color-border);
97
114
  }
98
115
 
99
- .wi-layout-header--inverted,
100
- .wi-layout-footer--inverted,
101
- .wi-layout-sider--inverted {
102
- background: var(--wi-color-contrast);
103
- color: var(--wi-color-contrast-fg);
116
+ .wi-layout-footer--bordered {
117
+ border-top: var(--wi-border-width) solid var(--wi-color-border);
104
118
  }
105
119
 
106
- .wi-layout-header--inverted.wi-layout-header--bordered {
107
- border-bottom-color: color-mix(in srgb, var(--wi-color-contrast-fg) 18%, transparent);
120
+ .wi-layout-header--inverted,
121
+ .wi-layout-footer--inverted,
122
+ .wi-layout-sider--inverted {
123
+ background: var(--wi-color-contrast);
124
+ color: var(--wi-color-contrast-fg);
108
125
  }
109
126
 
110
- .wi-layout-footer--inverted.wi-layout-footer--bordered {
111
- border-top-color: color-mix(in srgb, var(--wi-color-contrast-fg) 18%, transparent);
127
+ .wi-layout-header--inverted.wi-layout-header--bordered {
128
+ border-bottom-color: color-mix(
129
+ in srgb,
130
+ var(--wi-color-contrast-fg) 18%,
131
+ transparent
132
+ );
112
133
  }
113
134
 
114
- .wi-layout-header--absolute-positioned,
115
- .wi-layout-footer--absolute-positioned,
116
- .wi-layout-sider--absolute-positioned {
117
- position: absolute;
118
- z-index: 1;
135
+ .wi-layout-footer--inverted.wi-layout-footer--bordered {
136
+ border-top-color: color-mix(
137
+ in srgb,
138
+ var(--wi-color-contrast-fg) 18%,
139
+ transparent
140
+ );
119
141
  }
120
142
 
121
- .wi-layout-header--absolute-positioned {
122
- inset-inline: 0;
123
- top: 0;
143
+ .wi-layout-header--absolute-positioned,
144
+ .wi-layout-footer--absolute-positioned,
145
+ .wi-layout-sider--absolute-positioned {
146
+ position: absolute;
147
+ z-index: 1;
124
148
  }
125
149
 
126
- .wi-layout-footer--absolute-positioned {
127
- bottom: 0;
128
- inset-inline: 0;
150
+ .wi-layout-header--absolute-positioned {
151
+ inset-inline: 0;
152
+ top: 0;
129
153
  }
130
154
 
131
- .wi-layout-sider {
132
- background: var(--wi-color-surface);
133
- box-sizing: border-box;
134
- color: var(--wi-color-text);
135
- display: flex;
136
- flex-shrink: 0;
137
- justify-content: flex-end;
138
- /* Do not clip the collapse trigger (it sits half outside the sider edge).
139
- Collapsed transform overflow is clipped by `.wi-layout { overflow: hidden }`. */
140
- overflow: visible;
141
- position: relative;
142
- transition: color var(--wi-motion-normal) var(--wi-motion-ease),
143
- border-color var(--wi-motion-normal) var(--wi-motion-ease),
144
- max-width var(--wi-motion-normal) var(--wi-motion-ease),
145
- background-color var(--wi-motion-normal) var(--wi-motion-ease);
146
- z-index: 1;
155
+ .wi-layout-footer--absolute-positioned {
156
+ bottom: 0;
157
+ inset-inline: 0;
147
158
  }
148
159
 
149
- .wi-layout-sider--right-placement {
150
- justify-content: flex-start;
160
+ .wi-layout-sider {
161
+ --wi-layout-sider-width: 272px;
162
+ --wi-layout-sider-collapsed-width: 48px;
163
+ --wi-layout-padding: var(--wi-space-4);
164
+ --wi-layout-radius: 0;
165
+ --wi-layout-trigger-size: 1.5rem;
166
+ background: var(--wi-color-surface);
167
+ box-sizing: border-box;
168
+ color: var(--wi-color-text);
169
+ display: flex;
170
+ flex-shrink: 0;
171
+ justify-content: flex-end;
172
+ /* Do not clip the collapse trigger (it sits half outside the sider edge).
173
+ Collapsed transform overflow is clipped by `.wi-layout { overflow: hidden }`. */
174
+ overflow: visible;
175
+ position: relative;
176
+ transition:
177
+ color var(--wi-motion-normal) var(--wi-motion-ease),
178
+ border-color var(--wi-motion-normal) var(--wi-motion-ease),
179
+ max-width var(--wi-motion-normal) var(--wi-motion-ease),
180
+ background-color var(--wi-motion-normal) var(--wi-motion-ease);
181
+ z-index: 1;
151
182
  }
152
183
 
153
- .wi-layout-sider__scroll {
154
- box-sizing: border-box;
155
- flex-grow: 1;
156
- flex-shrink: 0;
157
- height: 100%;
158
- max-width: 100%;
159
- opacity: 0;
160
- overflow: hidden;
161
- transition: opacity var(--wi-motion-normal) var(--wi-motion-ease);
162
- width: 100%;
184
+ .wi-layout-sider--right-placement {
185
+ justify-content: flex-start;
163
186
  }
164
187
 
165
- .wi-layout-sider__scrollbar {
166
- box-sizing: border-box;
167
- flex-grow: 1;
168
- flex-shrink: 0;
169
- height: 100%;
170
- max-width: 100%;
171
- min-width: 0;
172
- opacity: 0;
173
- transition: opacity var(--wi-motion-normal) var(--wi-motion-ease);
174
- width: 100%;
188
+ .wi-layout-sider__scroll {
189
+ box-sizing: border-box;
190
+ flex-grow: 1;
191
+ flex-shrink: 0;
192
+ height: 100%;
193
+ max-width: 100%;
194
+ opacity: 0;
195
+ overflow: hidden;
196
+ transition: opacity var(--wi-motion-normal) var(--wi-motion-ease);
197
+ width: 100%;
175
198
  }
176
199
 
177
- .wi-layout-sider__scrollbar .wi-layout-sider__scroll {
178
- height: auto;
179
- max-width: none;
180
- min-height: 100%;
181
- opacity: 1;
182
- overflow: visible;
200
+ .wi-layout-sider__scrollbar {
201
+ box-sizing: border-box;
202
+ flex-grow: 1;
203
+ flex-shrink: 0;
204
+ height: 100%;
205
+ max-width: 100%;
206
+ min-width: 0;
207
+ opacity: 0;
208
+ transition: opacity var(--wi-motion-normal) var(--wi-motion-ease);
209
+ width: 100%;
183
210
  }
184
211
 
185
- .wi-layout-sider--show-content > .wi-layout-sider__scroll {
186
- opacity: 1;
187
- overflow: auto;
212
+ .wi-layout-sider__scrollbar .wi-layout-sider__scroll {
213
+ height: auto;
214
+ max-width: none;
215
+ min-height: 100%;
216
+ opacity: 1;
217
+ overflow: visible;
188
218
  }
189
219
 
190
- .wi-layout-sider--show-content > .wi-layout-sider__scrollbar {
191
- opacity: 1;
220
+ .wi-layout-sider--show-content > .wi-layout-sider__scroll {
221
+ opacity: 1;
222
+ overflow: auto;
192
223
  }
193
224
 
194
- .wi-layout-sider--collapse-width > .wi-layout-sider__scroll,
195
- .wi-layout-sider--collapse-width > .wi-layout-sider__scrollbar {
196
- flex-shrink: 1;
197
- min-width: 0;
225
+ .wi-layout-sider--show-content > .wi-layout-sider__scrollbar {
226
+ opacity: 1;
198
227
  }
199
228
 
200
- .wi-layout-sider__border {
201
- background: var(--wi-color-border);
202
- bottom: 0;
203
- position: absolute;
204
- top: 0;
205
- transition: background-color var(--wi-motion-fast) var(--wi-motion-ease);
206
- width: 1px;
229
+ .wi-layout-sider--collapse-width > .wi-layout-sider__scroll,
230
+ .wi-layout-sider--collapse-width > .wi-layout-sider__scrollbar {
231
+ flex-shrink: 1;
232
+ min-width: 0;
207
233
  }
208
234
 
209
- .wi-layout-sider--left-placement > .wi-layout-sider__border,
210
- .wi-layout-sider--left > .wi-layout-sider__border {
211
- right: 0;
235
+ .wi-layout-sider__border {
236
+ background: var(--wi-color-border);
237
+ bottom: 0;
238
+ position: absolute;
239
+ top: 0;
240
+ transition: background-color var(--wi-motion-fast) var(--wi-motion-ease);
241
+ width: var(--wi-border-width);
212
242
  }
213
243
 
214
- .wi-layout-sider--right-placement > .wi-layout-sider__border,
215
- .wi-layout-sider--right > .wi-layout-sider__border {
216
- left: 0;
244
+ .wi-layout-sider--left-placement > .wi-layout-sider__border,
245
+ .wi-layout-sider--left > .wi-layout-sider__border {
246
+ right: 0;
217
247
  }
218
248
 
219
- .wi-layout-sider--inverted > .wi-layout-sider__border {
220
- background: color-mix(in srgb, var(--wi-color-contrast-fg) 18%, transparent);
249
+ .wi-layout-sider--right-placement > .wi-layout-sider__border,
250
+ .wi-layout-sider--right > .wi-layout-sider__border {
251
+ left: 0;
221
252
  }
222
253
 
223
- .wi-layout-sider__trigger {
224
- background: transparent;
225
- border: 0;
226
- color: var(--wi-color-text-muted);
227
- cursor: pointer;
228
- font: inherit;
229
- padding: 0;
230
- position: absolute;
231
- z-index: 2;
254
+ .wi-layout-sider--inverted > .wi-layout-sider__border {
255
+ background: color-mix(
256
+ in srgb,
257
+ var(--wi-color-contrast-fg) 18%,
258
+ transparent
259
+ );
260
+ }
261
+
262
+ .wi-layout-sider__trigger {
263
+ background: transparent;
264
+ border: 0;
265
+ color: var(--wi-color-text-muted);
266
+ cursor: pointer;
267
+ font: inherit;
268
+ padding: 0;
269
+ position: absolute;
270
+ z-index: 2;
232
271
  }
233
272
 
234
- .wi-layout-sider__trigger:focus-visible {
235
- box-shadow: var(--wi-focus-shadow);
236
- outline: none;
273
+ .wi-layout-sider__trigger:focus-visible {
274
+ box-shadow: var(--wi-focus-shadow);
275
+ outline: none;
237
276
  }
238
277
 
239
- .wi-layout-sider__trigger--arrow-circle {
240
- align-items: center;
241
- background: var(--wi-color-surface);
242
- border: 1px solid var(--wi-color-border);
243
- border-radius: 50%;
244
- box-shadow: var(--wi-shadow-sm);
245
- display: inline-flex;
246
- font-size: 1rem;
247
- height: 1.5rem;
248
- justify-content: center;
249
- right: 0;
250
- top: 50%;
251
- transform: translate(50%, -50%);
252
- width: 1.5rem;
278
+ .wi-layout-sider__trigger--arrow-circle {
279
+ align-items: center;
280
+ background: var(--wi-color-surface);
281
+ border: var(--wi-border-width) solid var(--wi-color-border);
282
+ border-radius: 50%;
283
+ box-shadow: var(--wi-shadow-sm);
284
+ display: inline-flex;
285
+ font-size: 1rem;
286
+ height: var(--wi-layout-trigger-size);
287
+ justify-content: center;
288
+ right: 0;
289
+ top: 50%;
290
+ transform: translate(50%, -50%);
291
+ width: var(--wi-layout-trigger-size);
253
292
  }
254
293
 
255
- .wi-layout-sider--right-placement > .wi-layout-sider__trigger--arrow-circle {
256
- left: 0;
257
- right: auto;
258
- transform: translate(-50%, -50%);
294
+ .wi-layout-sider--right-placement > .wi-layout-sider__trigger--arrow-circle {
295
+ left: 0;
296
+ right: auto;
297
+ transform: translate(-50%, -50%);
259
298
  }
260
299
 
261
- .wi-layout-sider__arrow {
262
- display: inline-block;
263
- line-height: 1;
264
- transform: rotate(180deg);
265
- transition: transform var(--wi-motion-normal) var(--wi-motion-ease);
300
+ .wi-layout-sider__arrow {
301
+ display: inline-block;
302
+ line-height: 1;
303
+ transform: rotate(180deg);
304
+ transition: transform var(--wi-motion-normal) var(--wi-motion-ease);
266
305
  }
267
306
 
268
- .wi-layout-sider--collapsed > .wi-layout-sider__trigger--arrow-circle .wi-layout-sider__arrow {
269
- transform: rotate(0deg);
307
+ .wi-layout-sider--collapsed
308
+ > .wi-layout-sider__trigger--arrow-circle
309
+ .wi-layout-sider__arrow {
310
+ transform: rotate(0deg);
270
311
  }
271
312
 
272
- .wi-layout-sider--right-placement > .wi-layout-sider__trigger--arrow-circle .wi-layout-sider__arrow {
273
- transform: rotate(0deg);
313
+ .wi-layout-sider--right-placement
314
+ > .wi-layout-sider__trigger--arrow-circle
315
+ .wi-layout-sider__arrow {
316
+ transform: rotate(0deg);
274
317
  }
275
318
 
276
- .wi-layout-sider--right-placement.wi-layout-sider--collapsed
277
- > .wi-layout-sider__trigger--arrow-circle
278
- .wi-layout-sider__arrow {
279
- transform: rotate(180deg);
319
+ .wi-layout-sider--right-placement.wi-layout-sider--collapsed
320
+ > .wi-layout-sider__trigger--arrow-circle
321
+ .wi-layout-sider__arrow {
322
+ transform: rotate(180deg);
280
323
  }
281
324
 
282
- .wi-layout-sider--inverted > .wi-layout-sider__trigger--arrow-circle {
283
- background: var(--wi-color-contrast);
284
- border-color: color-mix(in srgb, var(--wi-color-contrast-fg) 18%, transparent);
285
- color: var(--wi-color-contrast-fg);
325
+ .wi-layout-sider--inverted > .wi-layout-sider__trigger--arrow-circle {
326
+ background: var(--wi-color-contrast);
327
+ border-color: color-mix(
328
+ in srgb,
329
+ var(--wi-color-contrast-fg) 18%,
330
+ transparent
331
+ );
332
+ color: var(--wi-color-contrast-fg);
286
333
  }
287
334
 
288
- .wi-layout-sider__trigger--bar {
289
- height: 4.5rem;
290
- right: -1.75rem;
291
- top: calc(50% - 2.25rem);
292
- width: 2rem;
335
+ .wi-layout-sider__trigger--bar {
336
+ height: 4.5rem;
337
+ right: -1.75rem;
338
+ top: calc(50% - 2.25rem);
339
+ width: 2rem;
293
340
  }
294
341
 
295
- .wi-layout-sider--right-placement > .wi-layout-sider__trigger--bar {
296
- left: -1.75rem;
297
- right: auto;
298
- transform: rotate(180deg);
342
+ .wi-layout-sider--right-placement > .wi-layout-sider__trigger--bar {
343
+ left: -1.75rem;
344
+ right: auto;
345
+ transform: rotate(180deg);
299
346
  }
300
347
 
301
- .wi-layout-sider__bar {
302
- display: block;
303
- height: 100%;
304
- position: relative;
305
- width: 100%;
348
+ .wi-layout-sider__bar {
349
+ display: block;
350
+ height: 100%;
351
+ position: relative;
352
+ width: 100%;
306
353
  }
307
354
 
308
- .wi-layout-sider__bar-top,
309
- .wi-layout-sider__bar-bottom {
310
- background: var(--wi-color-text-muted);
311
- border-radius: 2px;
312
- height: 2.375rem;
313
- left: 0.875rem;
314
- position: absolute;
315
- transition: background-color var(--wi-motion-fast) var(--wi-motion-ease),
316
- transform var(--wi-motion-fast) var(--wi-motion-ease);
317
- width: 4px;
355
+ .wi-layout-sider__bar-top,
356
+ .wi-layout-sider__bar-bottom {
357
+ background: var(--wi-color-text-muted);
358
+ border-radius: 2px;
359
+ height: 2.375rem;
360
+ left: 0.875rem;
361
+ position: absolute;
362
+ transition:
363
+ background-color var(--wi-motion-fast) var(--wi-motion-ease),
364
+ transform var(--wi-motion-fast) var(--wi-motion-ease);
365
+ width: 4px;
318
366
  }
319
367
 
320
- .wi-layout-sider__bar-top {
321
- top: 0;
368
+ .wi-layout-sider__bar-top {
369
+ top: 0;
322
370
  }
323
371
 
324
- .wi-layout-sider__bar-bottom {
325
- top: 2.125rem;
372
+ .wi-layout-sider__bar-bottom {
373
+ top: 2.125rem;
326
374
  }
327
375
 
328
- .wi-layout-sider__trigger--bar:hover .wi-layout-sider__bar-top {
329
- transform: rotate(12deg) scale(1.15) translateY(-2px);
376
+ .wi-layout-sider__trigger--bar:hover .wi-layout-sider__bar-top {
377
+ transform: rotate(12deg) scale(1.15) translateY(-2px);
330
378
  }
331
379
 
332
- .wi-layout-sider__trigger--bar:hover .wi-layout-sider__bar-bottom {
333
- transform: rotate(-12deg) scale(1.15) translateY(2px);
380
+ .wi-layout-sider__trigger--bar:hover .wi-layout-sider__bar-bottom {
381
+ transform: rotate(-12deg) scale(1.15) translateY(2px);
334
382
  }
335
383
 
336
- .wi-layout-sider--collapsed > .wi-layout-sider__trigger--bar:hover .wi-layout-sider__bar-top {
337
- transform: rotate(-12deg) scale(1.15) translateY(-2px);
384
+ .wi-layout-sider--collapsed
385
+ > .wi-layout-sider__trigger--bar:hover
386
+ .wi-layout-sider__bar-top {
387
+ transform: rotate(-12deg) scale(1.15) translateY(-2px);
338
388
  }
339
389
 
340
- .wi-layout-sider--collapsed > .wi-layout-sider__trigger--bar:hover .wi-layout-sider__bar-bottom {
341
- transform: rotate(12deg) scale(1.15) translateY(2px);
390
+ .wi-layout-sider--collapsed
391
+ > .wi-layout-sider__trigger--bar:hover
392
+ .wi-layout-sider__bar-bottom {
393
+ transform: rotate(12deg) scale(1.15) translateY(2px);
342
394
  }
343
395
 
344
- .wi-layout-sider--absolute-positioned {
345
- bottom: 0;
346
- left: 0;
347
- position: absolute;
348
- top: 0;
396
+ .wi-layout-sider--absolute-positioned {
397
+ bottom: 0;
398
+ left: 0;
399
+ position: absolute;
400
+ top: 0;
349
401
  }