@ifhover/leaf-ui 0.6.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (659) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/autocomplete/autocomplete.cjs +7 -3
  3. package/dist/cjs/autocomplete/autocomplete.cjs.map +1 -1
  4. package/dist/cjs/autocomplete/autocomplete.d.cts +2 -0
  5. package/dist/cjs/autocomplete/autocomplete.d.cts.map +1 -1
  6. package/dist/cjs/browser/modules/autocomplete/autocomplete.cjs +7 -3
  7. package/dist/cjs/browser/modules/autocomplete/autocomplete.cjs.map +1 -1
  8. package/dist/cjs/browser/modules/button/button.cjs.map +1 -1
  9. package/dist/cjs/browser/modules/cascader/cascader.cjs +9 -2
  10. package/dist/cjs/browser/modules/cascader/cascader.cjs.map +1 -1
  11. package/dist/cjs/browser/modules/colors.cjs +73 -7
  12. package/dist/cjs/browser/modules/colors.cjs.map +1 -1
  13. package/dist/cjs/browser/modules/commandpalette/commandpalette.cjs +10 -3
  14. package/dist/cjs/browser/modules/commandpalette/commandpalette.cjs.map +1 -1
  15. package/dist/cjs/browser/modules/config-provider/component-defaults.cjs.map +1 -1
  16. package/dist/cjs/browser/modules/config-provider/use-color-variables.cjs +18 -2
  17. package/dist/cjs/browser/modules/config-provider/use-color-variables.cjs.map +1 -1
  18. package/dist/cjs/browser/modules/drawer/drawer.cjs +7 -1
  19. package/dist/cjs/browser/modules/drawer/drawer.cjs.map +1 -1
  20. package/dist/cjs/browser/modules/dropdown/dropdown.cjs +25 -4
  21. package/dist/cjs/browser/modules/dropdown/dropdown.cjs.map +1 -1
  22. package/dist/cjs/browser/modules/form/form.cjs +38 -21
  23. package/dist/cjs/browser/modules/form/form.cjs.map +1 -1
  24. package/dist/cjs/browser/modules/image/viewer.cjs +8 -2
  25. package/dist/cjs/browser/modules/image/viewer.cjs.map +1 -1
  26. package/dist/cjs/browser/modules/index.cjs +3 -4
  27. package/dist/cjs/browser/modules/layout/layout.cjs +4 -1
  28. package/dist/cjs/browser/modules/layout/layout.cjs.map +1 -1
  29. package/dist/cjs/browser/modules/mentions/mentions.cjs +4 -2
  30. package/dist/cjs/browser/modules/mentions/mentions.cjs.map +1 -1
  31. package/dist/cjs/browser/modules/menu/index.cjs +5 -2
  32. package/dist/cjs/browser/modules/menu/menu.cjs +60 -18
  33. package/dist/cjs/browser/modules/menu/menu.cjs.map +1 -1
  34. package/dist/cjs/browser/modules/scrollbar/scrollbar.cjs +69 -19
  35. package/dist/cjs/browser/modules/scrollbar/scrollbar.cjs.map +1 -1
  36. package/dist/cjs/browser/modules/select/select.cjs +3 -3
  37. package/dist/cjs/browser/modules/select/select.cjs.map +1 -1
  38. package/dist/cjs/browser/modules/shared/floating.cjs +49 -20
  39. package/dist/cjs/browser/modules/shared/floating.cjs.map +1 -1
  40. package/dist/cjs/browser/modules/shared/scoped-portal.cjs +2 -23
  41. package/dist/cjs/browser/modules/shared/scoped-portal.cjs.map +1 -1
  42. package/dist/cjs/browser/modules/{segmented/index.cjs → shared/theme-variables.cjs} +27 -5
  43. package/dist/cjs/browser/modules/shared/theme-variables.cjs.map +1 -0
  44. package/dist/cjs/browser/modules/splitter/splitter.cjs +4 -1
  45. package/dist/cjs/browser/modules/splitter/splitter.cjs.map +1 -1
  46. package/dist/cjs/browser/modules/tabs/tabs.cjs +14 -8
  47. package/dist/cjs/browser/modules/tabs/tabs.cjs.map +1 -1
  48. package/dist/cjs/browser/modules/tailwind-tokens.cjs +1 -1
  49. package/dist/cjs/browser/modules/tailwind-tokens.cjs.map +1 -1
  50. package/dist/cjs/browser/modules/textarea/textarea.cjs +49 -21
  51. package/dist/cjs/browser/modules/textarea/textarea.cjs.map +1 -1
  52. package/dist/cjs/browser/modules/theme.cjs +53 -29
  53. package/dist/cjs/browser/modules/theme.cjs.map +1 -1
  54. package/dist/cjs/browser/modules/timeline/timeline.cjs +1 -1
  55. package/dist/cjs/browser/modules/timeline/timeline.cjs.map +1 -1
  56. package/dist/cjs/browser/modules/timepicker/time-panel.cjs +8 -2
  57. package/dist/cjs/browser/modules/timepicker/time-panel.cjs.map +1 -1
  58. package/dist/cjs/browser/modules/transfer/transfer.cjs +5 -5
  59. package/dist/cjs/browser/modules/transfer/transfer.cjs.map +1 -1
  60. package/dist/cjs/browser/modules/tree/tree.cjs +13 -6
  61. package/dist/cjs/browser/modules/tree/tree.cjs.map +1 -1
  62. package/dist/cjs/browser/modules/treeselect/treeselect.cjs +5 -4
  63. package/dist/cjs/browser/modules/treeselect/treeselect.cjs.map +1 -1
  64. package/dist/cjs/browser/modules/virtuallist/virtuallist.cjs +9 -3
  65. package/dist/cjs/browser/modules/virtuallist/virtuallist.cjs.map +1 -1
  66. package/dist/cjs/button/button.cjs.map +1 -1
  67. package/dist/cjs/button/button.d.cts +7 -2
  68. package/dist/cjs/button/button.d.cts.map +1 -1
  69. package/dist/cjs/cascader/cascader.cjs +9 -2
  70. package/dist/cjs/cascader/cascader.cjs.map +1 -1
  71. package/dist/cjs/cascader/cascader.d.cts +2 -0
  72. package/dist/cjs/cascader/cascader.d.cts.map +1 -1
  73. package/dist/cjs/colors.cjs +73 -7
  74. package/dist/cjs/colors.cjs.map +1 -1
  75. package/dist/cjs/colors.d.cts +3 -1
  76. package/dist/cjs/colors.d.cts.map +1 -1
  77. package/dist/cjs/commandpalette/commandpalette.cjs +10 -3
  78. package/dist/cjs/commandpalette/commandpalette.cjs.map +1 -1
  79. package/dist/cjs/commandpalette/commandpalette.d.cts.map +1 -1
  80. package/dist/cjs/config-provider/component-defaults.cjs.map +1 -1
  81. package/dist/cjs/config-provider/component-defaults.d.cts +3 -4
  82. package/dist/cjs/config-provider/component-defaults.d.cts.map +1 -1
  83. package/dist/cjs/config-provider/index.d.cts +1 -1
  84. package/dist/cjs/config-provider/index.d.cts.map +1 -1
  85. package/dist/cjs/config-provider/use-color-variables.cjs +18 -2
  86. package/dist/cjs/config-provider/use-color-variables.cjs.map +1 -1
  87. package/dist/cjs/config-provider/use-color-variables.d.cts.map +1 -1
  88. package/dist/cjs/drawer/drawer.cjs +7 -1
  89. package/dist/cjs/drawer/drawer.cjs.map +1 -1
  90. package/dist/cjs/drawer/drawer.d.cts.map +1 -1
  91. package/dist/cjs/dropdown/dropdown.cjs +25 -4
  92. package/dist/cjs/dropdown/dropdown.cjs.map +1 -1
  93. package/dist/cjs/dropdown/dropdown.d.cts +9 -1
  94. package/dist/cjs/dropdown/dropdown.d.cts.map +1 -1
  95. package/dist/cjs/form/form.cjs +38 -21
  96. package/dist/cjs/form/form.cjs.map +1 -1
  97. package/dist/cjs/form/form.d.cts +3 -1
  98. package/dist/cjs/form/form.d.cts.map +1 -1
  99. package/dist/cjs/image/viewer.cjs +8 -2
  100. package/dist/cjs/image/viewer.cjs.map +1 -1
  101. package/dist/cjs/image/viewer.d.cts.map +1 -1
  102. package/dist/cjs/index.cjs +3 -4
  103. package/dist/cjs/index.d.cts +3 -5
  104. package/dist/cjs/index.d.cts.map +1 -1
  105. package/dist/cjs/layout/layout.cjs +4 -1
  106. package/dist/cjs/layout/layout.cjs.map +1 -1
  107. package/dist/cjs/layout/layout.d.cts.map +1 -1
  108. package/dist/cjs/mentions/mentions.cjs +4 -2
  109. package/dist/cjs/mentions/mentions.cjs.map +1 -1
  110. package/dist/cjs/mentions/mentions.d.cts +2 -0
  111. package/dist/cjs/mentions/mentions.d.cts.map +1 -1
  112. package/dist/cjs/menu/index.cjs +5 -2
  113. package/dist/cjs/menu/index.d.cts +2 -2
  114. package/dist/cjs/menu/index.d.cts.map +1 -1
  115. package/dist/cjs/menu/menu.cjs +60 -18
  116. package/dist/cjs/menu/menu.cjs.map +1 -1
  117. package/dist/cjs/menu/menu.d.cts +4 -0
  118. package/dist/cjs/menu/menu.d.cts.map +1 -1
  119. package/dist/cjs/scrollbar/scrollbar.cjs +69 -19
  120. package/dist/cjs/scrollbar/scrollbar.cjs.map +1 -1
  121. package/dist/cjs/scrollbar/scrollbar.d.cts +12 -2
  122. package/dist/cjs/scrollbar/scrollbar.d.cts.map +1 -1
  123. package/dist/cjs/select/select.cjs +3 -3
  124. package/dist/cjs/select/select.cjs.map +1 -1
  125. package/dist/cjs/shared/floating.cjs +49 -20
  126. package/dist/cjs/shared/floating.cjs.map +1 -1
  127. package/dist/cjs/shared/floating.d.cts +3 -1
  128. package/dist/cjs/shared/floating.d.cts.map +1 -1
  129. package/dist/cjs/shared/scoped-portal.cjs +2 -23
  130. package/dist/cjs/shared/scoped-portal.cjs.map +1 -1
  131. package/dist/cjs/shared/scoped-portal.d.cts.map +1 -1
  132. package/dist/cjs/{segmented/index.cjs → shared/theme-variables.cjs} +27 -5
  133. package/dist/cjs/shared/theme-variables.cjs.map +1 -0
  134. package/dist/cjs/shared/theme-variables.d.cts +4 -0
  135. package/dist/cjs/shared/theme-variables.d.cts.map +1 -0
  136. package/dist/cjs/splitter/splitter.cjs +4 -1
  137. package/dist/cjs/splitter/splitter.cjs.map +1 -1
  138. package/dist/cjs/splitter/splitter.d.cts.map +1 -1
  139. package/dist/cjs/styles/alert.css +1 -1
  140. package/dist/cjs/styles/anchor.css +1 -1
  141. package/dist/cjs/styles/appbar.css +1 -1
  142. package/dist/cjs/styles/autocomplete.css +1 -1
  143. package/dist/cjs/styles/avatar.css +1 -1
  144. package/dist/cjs/styles/backtop.css +1 -1
  145. package/dist/cjs/styles/badge.css +1 -1
  146. package/dist/cjs/styles/breadcrumb.css +1 -1
  147. package/dist/cjs/styles/button.css +1 -1
  148. package/dist/cjs/styles/calendar.css +1 -1
  149. package/dist/cjs/styles/card.css +1 -1
  150. package/dist/cjs/styles/carousel.css +1 -1
  151. package/dist/cjs/styles/cascader.css +1 -1
  152. package/dist/cjs/styles/checkbox.css +1 -1
  153. package/dist/cjs/styles/collapse.css +1 -1
  154. package/dist/cjs/styles/colorpicker.css +1 -1
  155. package/dist/cjs/styles/commandpalette.css +1 -1
  156. package/dist/cjs/styles/components/alert.css +1 -1
  157. package/dist/cjs/styles/components/anchor.css +1 -1
  158. package/dist/cjs/styles/components/appbar.css +1 -1
  159. package/dist/cjs/styles/components/autocomplete.css +1 -1
  160. package/dist/cjs/styles/components/avatar.css +1 -1
  161. package/dist/cjs/styles/components/breadcrumb.css +1 -1
  162. package/dist/cjs/styles/components/button.css +1 -1
  163. package/dist/cjs/styles/components/calendar.css +1 -1
  164. package/dist/cjs/styles/components/card.css +1 -1
  165. package/dist/cjs/styles/components/carousel.css +1 -1
  166. package/dist/cjs/styles/components/cascader.css +1 -1
  167. package/dist/cjs/styles/components/checkbox.css +1 -1
  168. package/dist/cjs/styles/components/collapse.css +1 -1
  169. package/dist/cjs/styles/components/colorpicker.css +1 -1
  170. package/dist/cjs/styles/components/commandpalette.css +1 -1
  171. package/dist/cjs/styles/components/datepicker.css +1 -1
  172. package/dist/cjs/styles/components/descriptions.css +1 -1
  173. package/dist/cjs/styles/components/drawer.css +1 -1
  174. package/dist/cjs/styles/components/dropdown.css +1 -1
  175. package/dist/cjs/styles/components/errorboundary.css +1 -1
  176. package/dist/cjs/styles/components/filelist.css +1 -1
  177. package/dist/cjs/styles/components/form.css +1 -1
  178. package/dist/cjs/styles/components/image.css +1 -1
  179. package/dist/cjs/styles/components/input.css +1 -1
  180. package/dist/cjs/styles/components/inputnumber.css +1 -1
  181. package/dist/cjs/styles/components/inputotp.css +1 -1
  182. package/dist/cjs/styles/components/layout.css +1 -1
  183. package/dist/cjs/styles/components/loading.css +1 -1
  184. package/dist/cjs/styles/components/loadingbar.css +1 -1
  185. package/dist/cjs/styles/components/mentions.css +1 -1
  186. package/dist/cjs/styles/components/menu.css +1 -1
  187. package/dist/cjs/styles/components/message.css +1 -1
  188. package/dist/cjs/styles/components/modal.css +1 -1
  189. package/dist/cjs/styles/components/notification.css +1 -1
  190. package/dist/cjs/styles/components/pagination.css +1 -1
  191. package/dist/cjs/styles/components/popover.css +1 -1
  192. package/dist/cjs/styles/components/progress.css +1 -1
  193. package/dist/cjs/styles/components/radio.css +1 -1
  194. package/dist/cjs/styles/components/rate.css +1 -1
  195. package/dist/cjs/styles/components/scrollarea.css +1 -1
  196. package/dist/cjs/styles/components/scrollbar.css +1 -1
  197. package/dist/cjs/styles/components/select.css +1 -1
  198. package/dist/cjs/styles/components/shared-calendar.css +1 -1
  199. package/dist/cjs/styles/components/slider.css +1 -1
  200. package/dist/cjs/styles/components/splitter.css +1 -1
  201. package/dist/cjs/styles/components/steps.css +1 -1
  202. package/dist/cjs/styles/components/switch.css +1 -1
  203. package/dist/cjs/styles/components/table.css +1 -1
  204. package/dist/cjs/styles/components/tabletanstack.css +1 -1
  205. package/dist/cjs/styles/components/tabs.css +1 -1
  206. package/dist/cjs/styles/components/tag.css +1 -1
  207. package/dist/cjs/styles/components/textarea.css +1 -1
  208. package/dist/cjs/styles/components/timepicker.css +1 -1
  209. package/dist/cjs/styles/components/tooltip.css +1 -1
  210. package/dist/cjs/styles/components/tour.css +1 -1
  211. package/dist/cjs/styles/components/transfer.css +1 -1
  212. package/dist/cjs/styles/components/tree.css +1 -1
  213. package/dist/cjs/styles/components/treeselect.css +1 -1
  214. package/dist/cjs/styles/components/typography.css +1 -1
  215. package/dist/cjs/styles/components/upload.css +1 -1
  216. package/dist/cjs/styles/components/virtuallist.css +1 -1
  217. package/dist/cjs/styles/config-provider.css +1 -1
  218. package/dist/cjs/styles/confirm.css +1 -1
  219. package/dist/cjs/styles/datepicker.css +1 -1
  220. package/dist/cjs/styles/daterangepicker.css +1 -1
  221. package/dist/cjs/styles/datetimepicker.css +1 -1
  222. package/dist/cjs/styles/descriptions.css +1 -1
  223. package/dist/cjs/styles/divider.css +1 -1
  224. package/dist/cjs/styles/drawer.css +1 -1
  225. package/dist/cjs/styles/dropdown.css +1 -1
  226. package/dist/cjs/styles/empty.css +1 -1
  227. package/dist/cjs/styles/errorboundary.css +1 -1
  228. package/dist/cjs/styles/filelist.css +1 -1
  229. package/dist/cjs/styles/flex.css +1 -1
  230. package/dist/cjs/styles/floatbutton.css +1 -1
  231. package/dist/cjs/styles/form.css +1 -1
  232. package/dist/cjs/styles/foundation.css +1 -1
  233. package/dist/cjs/styles/grid.css +1 -1
  234. package/dist/cjs/styles/image.css +1 -1
  235. package/dist/cjs/styles/index.css +1380 -716
  236. package/dist/cjs/styles/index.css.map +1 -1
  237. package/dist/cjs/styles/infinitescroll.css +1 -1
  238. package/dist/cjs/styles/input.css +1 -1
  239. package/dist/cjs/styles/inputmask.css +1 -1
  240. package/dist/cjs/styles/inputnumber.css +1 -1
  241. package/dist/cjs/styles/inputotp.css +1 -1
  242. package/dist/cjs/styles/layout.css +1 -1
  243. package/dist/cjs/styles/loading.css +1 -1
  244. package/dist/cjs/styles/loadingbar.css +1 -1
  245. package/dist/cjs/styles/masonry.css +1 -1
  246. package/dist/cjs/styles/mentions.css +1 -1
  247. package/dist/cjs/styles/menu.css +1 -1
  248. package/dist/cjs/styles/message.css +1 -1
  249. package/dist/cjs/styles/modal.css +1 -1
  250. package/dist/cjs/styles/notification.css +1 -1
  251. package/dist/cjs/styles/pagination.css +1 -1
  252. package/dist/cjs/styles/popconfirm.css +1 -1
  253. package/dist/cjs/styles/popover.css +1 -1
  254. package/dist/cjs/styles/progress.css +1 -1
  255. package/dist/cjs/styles/qrcode.css +1 -1
  256. package/dist/cjs/styles/radio.css +1 -1
  257. package/dist/cjs/styles/rate.css +1 -1
  258. package/dist/cjs/styles/result.css +1 -1
  259. package/dist/cjs/styles/scrollarea.css +1 -1
  260. package/dist/cjs/styles/scrollbar.css +1 -1
  261. package/dist/cjs/styles/select.css +1 -1
  262. package/dist/cjs/styles/skeleton.css +1 -1
  263. package/dist/cjs/styles/slider.css +1 -1
  264. package/dist/cjs/styles/space.css +1 -1
  265. package/dist/cjs/styles/splitter.css +1 -1
  266. package/dist/cjs/styles/statistic.css +1 -1
  267. package/dist/cjs/styles/steps.css +1 -1
  268. package/dist/cjs/styles/switch.css +1 -1
  269. package/dist/cjs/styles/table.css +1 -1
  270. package/dist/cjs/styles/tabletanstack.css +1 -1
  271. package/dist/cjs/styles/tabs.css +1 -1
  272. package/dist/cjs/styles/tag.css +1 -1
  273. package/dist/cjs/styles/textarea.css +1 -1
  274. package/dist/cjs/styles/timeline.css +1 -1
  275. package/dist/cjs/styles/timepicker.css +1 -1
  276. package/dist/cjs/styles/timerangepicker.css +1 -1
  277. package/dist/cjs/styles/tooltip.css +1 -1
  278. package/dist/cjs/styles/tour.css +1 -1
  279. package/dist/cjs/styles/transfer.css +1 -1
  280. package/dist/cjs/styles/tree.css +1 -1
  281. package/dist/cjs/styles/treeselect.css +1 -1
  282. package/dist/cjs/styles/typography.css +1 -1
  283. package/dist/cjs/styles/upload.css +1 -1
  284. package/dist/cjs/styles/virtuallist.css +1 -1
  285. package/dist/cjs/tabs/tabs.cjs +14 -8
  286. package/dist/cjs/tabs/tabs.cjs.map +1 -1
  287. package/dist/cjs/tabs/tabs.d.cts +4 -2
  288. package/dist/cjs/tabs/tabs.d.cts.map +1 -1
  289. package/dist/cjs/tailwind-tokens.cjs +1 -1
  290. package/dist/cjs/tailwind-tokens.cjs.map +1 -1
  291. package/dist/cjs/tailwind-tokens.d.cts.map +1 -1
  292. package/dist/cjs/textarea/textarea.cjs +49 -21
  293. package/dist/cjs/textarea/textarea.cjs.map +1 -1
  294. package/dist/cjs/textarea/textarea.d.cts.map +1 -1
  295. package/dist/cjs/theme.cjs +53 -29
  296. package/dist/cjs/theme.cjs.map +1 -1
  297. package/dist/cjs/theme.d.cts +15 -0
  298. package/dist/cjs/theme.d.cts.map +1 -1
  299. package/dist/cjs/timeline/timeline.cjs +1 -1
  300. package/dist/cjs/timeline/timeline.cjs.map +1 -1
  301. package/dist/cjs/timeline/timeline.d.cts.map +1 -1
  302. package/dist/cjs/timepicker/time-panel.cjs +8 -2
  303. package/dist/cjs/timepicker/time-panel.cjs.map +1 -1
  304. package/dist/cjs/timepicker/time-panel.d.cts.map +1 -1
  305. package/dist/cjs/transfer/transfer.cjs +5 -5
  306. package/dist/cjs/transfer/transfer.cjs.map +1 -1
  307. package/dist/cjs/transfer/transfer.d.cts.map +1 -1
  308. package/dist/cjs/tree/tree.cjs +13 -6
  309. package/dist/cjs/tree/tree.cjs.map +1 -1
  310. package/dist/cjs/tree/tree.d.cts.map +1 -1
  311. package/dist/cjs/treeselect/treeselect.cjs +5 -4
  312. package/dist/cjs/treeselect/treeselect.cjs.map +1 -1
  313. package/dist/cjs/treeselect/treeselect.d.cts.map +1 -1
  314. package/dist/cjs/virtuallist/virtuallist.cjs +9 -3
  315. package/dist/cjs/virtuallist/virtuallist.cjs.map +1 -1
  316. package/dist/cjs/virtuallist/virtuallist.d.cts.map +1 -1
  317. package/dist/esm/autocomplete/autocomplete.d.ts +2 -0
  318. package/dist/esm/autocomplete/autocomplete.d.ts.map +1 -1
  319. package/dist/esm/autocomplete/autocomplete.js +7 -3
  320. package/dist/esm/autocomplete/autocomplete.js.map +1 -1
  321. package/dist/esm/browser/modules/autocomplete/autocomplete.js +7 -3
  322. package/dist/esm/browser/modules/autocomplete/autocomplete.js.map +1 -1
  323. package/dist/esm/browser/modules/button/button.js.map +1 -1
  324. package/dist/esm/browser/modules/cascader/cascader.js +9 -2
  325. package/dist/esm/browser/modules/cascader/cascader.js.map +1 -1
  326. package/dist/esm/browser/modules/colors.js +69 -6
  327. package/dist/esm/browser/modules/colors.js.map +1 -1
  328. package/dist/esm/browser/modules/commandpalette/commandpalette.js +10 -3
  329. package/dist/esm/browser/modules/commandpalette/commandpalette.js.map +1 -1
  330. package/dist/esm/browser/modules/config-provider/component-defaults.js.map +1 -1
  331. package/dist/esm/browser/modules/config-provider/use-color-variables.js +18 -2
  332. package/dist/esm/browser/modules/config-provider/use-color-variables.js.map +1 -1
  333. package/dist/esm/browser/modules/drawer/drawer.js +7 -1
  334. package/dist/esm/browser/modules/drawer/drawer.js.map +1 -1
  335. package/dist/esm/browser/modules/dropdown/dropdown.js +25 -4
  336. package/dist/esm/browser/modules/dropdown/dropdown.js.map +1 -1
  337. package/dist/esm/browser/modules/form/form.js +38 -21
  338. package/dist/esm/browser/modules/form/form.js.map +1 -1
  339. package/dist/esm/browser/modules/image/viewer.js +8 -2
  340. package/dist/esm/browser/modules/image/viewer.js.map +1 -1
  341. package/dist/esm/browser/modules/index.js +1 -2
  342. package/dist/esm/browser/modules/layout/layout.js +4 -1
  343. package/dist/esm/browser/modules/layout/layout.js.map +1 -1
  344. package/dist/esm/browser/modules/mentions/mentions.js +4 -2
  345. package/dist/esm/browser/modules/mentions/mentions.js.map +1 -1
  346. package/dist/esm/browser/modules/menu/index.js +1 -1
  347. package/dist/esm/browser/modules/menu/menu.js +57 -18
  348. package/dist/esm/browser/modules/menu/menu.js.map +1 -1
  349. package/dist/esm/browser/modules/scrollbar/scrollbar.js +69 -19
  350. package/dist/esm/browser/modules/scrollbar/scrollbar.js.map +1 -1
  351. package/dist/esm/browser/modules/select/select.js +3 -3
  352. package/dist/esm/browser/modules/select/select.js.map +1 -1
  353. package/dist/esm/browser/modules/shared/floating.js +49 -20
  354. package/dist/esm/browser/modules/shared/floating.js.map +1 -1
  355. package/dist/esm/browser/modules/shared/scoped-portal.js +2 -23
  356. package/dist/esm/browser/modules/shared/scoped-portal.js.map +1 -1
  357. package/dist/esm/browser/modules/shared/theme-variables.js +27 -0
  358. package/dist/esm/browser/modules/shared/theme-variables.js.map +1 -0
  359. package/dist/esm/browser/modules/splitter/splitter.js +4 -1
  360. package/dist/esm/browser/modules/splitter/splitter.js.map +1 -1
  361. package/dist/esm/browser/modules/tabs/tabs.js +14 -8
  362. package/dist/esm/browser/modules/tabs/tabs.js.map +1 -1
  363. package/dist/esm/browser/modules/tailwind-tokens.js +1 -1
  364. package/dist/esm/browser/modules/tailwind-tokens.js.map +1 -1
  365. package/dist/esm/browser/modules/textarea/textarea.js +50 -22
  366. package/dist/esm/browser/modules/textarea/textarea.js.map +1 -1
  367. package/dist/esm/browser/modules/theme.js +53 -29
  368. package/dist/esm/browser/modules/theme.js.map +1 -1
  369. package/dist/esm/browser/modules/timeline/timeline.js +1 -1
  370. package/dist/esm/browser/modules/timeline/timeline.js.map +1 -1
  371. package/dist/esm/browser/modules/timepicker/time-panel.js +8 -2
  372. package/dist/esm/browser/modules/timepicker/time-panel.js.map +1 -1
  373. package/dist/esm/browser/modules/transfer/transfer.js +5 -5
  374. package/dist/esm/browser/modules/transfer/transfer.js.map +1 -1
  375. package/dist/esm/browser/modules/tree/tree.js +13 -6
  376. package/dist/esm/browser/modules/tree/tree.js.map +1 -1
  377. package/dist/esm/browser/modules/treeselect/treeselect.js +5 -4
  378. package/dist/esm/browser/modules/treeselect/treeselect.js.map +1 -1
  379. package/dist/esm/browser/modules/virtuallist/virtuallist.js +9 -3
  380. package/dist/esm/browser/modules/virtuallist/virtuallist.js.map +1 -1
  381. package/dist/esm/button/button.d.ts +7 -2
  382. package/dist/esm/button/button.d.ts.map +1 -1
  383. package/dist/esm/button/button.js.map +1 -1
  384. package/dist/esm/cascader/cascader.d.ts +2 -0
  385. package/dist/esm/cascader/cascader.d.ts.map +1 -1
  386. package/dist/esm/cascader/cascader.js +9 -2
  387. package/dist/esm/cascader/cascader.js.map +1 -1
  388. package/dist/esm/colors.d.ts +3 -1
  389. package/dist/esm/colors.d.ts.map +1 -1
  390. package/dist/esm/colors.js +69 -6
  391. package/dist/esm/colors.js.map +1 -1
  392. package/dist/esm/commandpalette/commandpalette.d.ts.map +1 -1
  393. package/dist/esm/commandpalette/commandpalette.js +10 -3
  394. package/dist/esm/commandpalette/commandpalette.js.map +1 -1
  395. package/dist/esm/config-provider/component-defaults.d.ts +3 -4
  396. package/dist/esm/config-provider/component-defaults.d.ts.map +1 -1
  397. package/dist/esm/config-provider/component-defaults.js.map +1 -1
  398. package/dist/esm/config-provider/index.d.ts +1 -1
  399. package/dist/esm/config-provider/index.d.ts.map +1 -1
  400. package/dist/esm/config-provider/use-color-variables.d.ts.map +1 -1
  401. package/dist/esm/config-provider/use-color-variables.js +18 -2
  402. package/dist/esm/config-provider/use-color-variables.js.map +1 -1
  403. package/dist/esm/drawer/drawer.d.ts.map +1 -1
  404. package/dist/esm/drawer/drawer.js +7 -1
  405. package/dist/esm/drawer/drawer.js.map +1 -1
  406. package/dist/esm/dropdown/dropdown.d.ts +9 -1
  407. package/dist/esm/dropdown/dropdown.d.ts.map +1 -1
  408. package/dist/esm/dropdown/dropdown.js +25 -4
  409. package/dist/esm/dropdown/dropdown.js.map +1 -1
  410. package/dist/esm/form/form.d.ts +3 -1
  411. package/dist/esm/form/form.d.ts.map +1 -1
  412. package/dist/esm/form/form.js +38 -21
  413. package/dist/esm/form/form.js.map +1 -1
  414. package/dist/esm/image/viewer.d.ts.map +1 -1
  415. package/dist/esm/image/viewer.js +8 -2
  416. package/dist/esm/image/viewer.js.map +1 -1
  417. package/dist/esm/index.d.ts +3 -5
  418. package/dist/esm/index.d.ts.map +1 -1
  419. package/dist/esm/index.js +1 -2
  420. package/dist/esm/layout/layout.d.ts.map +1 -1
  421. package/dist/esm/layout/layout.js +4 -1
  422. package/dist/esm/layout/layout.js.map +1 -1
  423. package/dist/esm/mentions/mentions.d.ts +2 -0
  424. package/dist/esm/mentions/mentions.d.ts.map +1 -1
  425. package/dist/esm/mentions/mentions.js +4 -2
  426. package/dist/esm/mentions/mentions.js.map +1 -1
  427. package/dist/esm/menu/index.d.ts +2 -2
  428. package/dist/esm/menu/index.d.ts.map +1 -1
  429. package/dist/esm/menu/index.js +1 -1
  430. package/dist/esm/menu/menu.d.ts +4 -0
  431. package/dist/esm/menu/menu.d.ts.map +1 -1
  432. package/dist/esm/menu/menu.js +57 -18
  433. package/dist/esm/menu/menu.js.map +1 -1
  434. package/dist/esm/scrollbar/scrollbar.d.ts +12 -2
  435. package/dist/esm/scrollbar/scrollbar.d.ts.map +1 -1
  436. package/dist/esm/scrollbar/scrollbar.js +69 -19
  437. package/dist/esm/scrollbar/scrollbar.js.map +1 -1
  438. package/dist/esm/select/select.js +3 -3
  439. package/dist/esm/select/select.js.map +1 -1
  440. package/dist/esm/shared/floating.d.ts +3 -1
  441. package/dist/esm/shared/floating.d.ts.map +1 -1
  442. package/dist/esm/shared/floating.js +49 -20
  443. package/dist/esm/shared/floating.js.map +1 -1
  444. package/dist/esm/shared/scoped-portal.d.ts.map +1 -1
  445. package/dist/esm/shared/scoped-portal.js +2 -23
  446. package/dist/esm/shared/scoped-portal.js.map +1 -1
  447. package/dist/esm/shared/theme-variables.d.ts +4 -0
  448. package/dist/esm/shared/theme-variables.d.ts.map +1 -0
  449. package/dist/esm/shared/theme-variables.js +27 -0
  450. package/dist/esm/shared/theme-variables.js.map +1 -0
  451. package/dist/esm/splitter/splitter.d.ts.map +1 -1
  452. package/dist/esm/splitter/splitter.js +4 -1
  453. package/dist/esm/splitter/splitter.js.map +1 -1
  454. package/dist/esm/styles/alert.css +1 -1
  455. package/dist/esm/styles/anchor.css +1 -1
  456. package/dist/esm/styles/appbar.css +1 -1
  457. package/dist/esm/styles/autocomplete.css +1 -1
  458. package/dist/esm/styles/avatar.css +1 -1
  459. package/dist/esm/styles/backtop.css +1 -1
  460. package/dist/esm/styles/badge.css +1 -1
  461. package/dist/esm/styles/breadcrumb.css +1 -1
  462. package/dist/esm/styles/button.css +1 -1
  463. package/dist/esm/styles/calendar.css +1 -1
  464. package/dist/esm/styles/card.css +1 -1
  465. package/dist/esm/styles/carousel.css +1 -1
  466. package/dist/esm/styles/cascader.css +1 -1
  467. package/dist/esm/styles/checkbox.css +1 -1
  468. package/dist/esm/styles/collapse.css +1 -1
  469. package/dist/esm/styles/colorpicker.css +1 -1
  470. package/dist/esm/styles/commandpalette.css +1 -1
  471. package/dist/esm/styles/components/alert.css +1 -1
  472. package/dist/esm/styles/components/anchor.css +1 -1
  473. package/dist/esm/styles/components/appbar.css +1 -1
  474. package/dist/esm/styles/components/autocomplete.css +1 -1
  475. package/dist/esm/styles/components/avatar.css +1 -1
  476. package/dist/esm/styles/components/breadcrumb.css +1 -1
  477. package/dist/esm/styles/components/button.css +1 -1
  478. package/dist/esm/styles/components/calendar.css +1 -1
  479. package/dist/esm/styles/components/card.css +1 -1
  480. package/dist/esm/styles/components/carousel.css +1 -1
  481. package/dist/esm/styles/components/cascader.css +1 -1
  482. package/dist/esm/styles/components/checkbox.css +1 -1
  483. package/dist/esm/styles/components/collapse.css +1 -1
  484. package/dist/esm/styles/components/colorpicker.css +1 -1
  485. package/dist/esm/styles/components/commandpalette.css +1 -1
  486. package/dist/esm/styles/components/datepicker.css +1 -1
  487. package/dist/esm/styles/components/descriptions.css +1 -1
  488. package/dist/esm/styles/components/drawer.css +1 -1
  489. package/dist/esm/styles/components/dropdown.css +1 -1
  490. package/dist/esm/styles/components/errorboundary.css +1 -1
  491. package/dist/esm/styles/components/filelist.css +1 -1
  492. package/dist/esm/styles/components/form.css +1 -1
  493. package/dist/esm/styles/components/image.css +1 -1
  494. package/dist/esm/styles/components/input.css +1 -1
  495. package/dist/esm/styles/components/inputnumber.css +1 -1
  496. package/dist/esm/styles/components/inputotp.css +1 -1
  497. package/dist/esm/styles/components/layout.css +1 -1
  498. package/dist/esm/styles/components/loading.css +1 -1
  499. package/dist/esm/styles/components/loadingbar.css +1 -1
  500. package/dist/esm/styles/components/mentions.css +1 -1
  501. package/dist/esm/styles/components/menu.css +1 -1
  502. package/dist/esm/styles/components/message.css +1 -1
  503. package/dist/esm/styles/components/modal.css +1 -1
  504. package/dist/esm/styles/components/notification.css +1 -1
  505. package/dist/esm/styles/components/pagination.css +1 -1
  506. package/dist/esm/styles/components/popover.css +1 -1
  507. package/dist/esm/styles/components/progress.css +1 -1
  508. package/dist/esm/styles/components/radio.css +1 -1
  509. package/dist/esm/styles/components/rate.css +1 -1
  510. package/dist/esm/styles/components/scrollarea.css +1 -1
  511. package/dist/esm/styles/components/scrollbar.css +1 -1
  512. package/dist/esm/styles/components/select.css +1 -1
  513. package/dist/esm/styles/components/shared-calendar.css +1 -1
  514. package/dist/esm/styles/components/slider.css +1 -1
  515. package/dist/esm/styles/components/splitter.css +1 -1
  516. package/dist/esm/styles/components/steps.css +1 -1
  517. package/dist/esm/styles/components/switch.css +1 -1
  518. package/dist/esm/styles/components/table.css +1 -1
  519. package/dist/esm/styles/components/tabletanstack.css +1 -1
  520. package/dist/esm/styles/components/tabs.css +1 -1
  521. package/dist/esm/styles/components/tag.css +1 -1
  522. package/dist/esm/styles/components/textarea.css +1 -1
  523. package/dist/esm/styles/components/timepicker.css +1 -1
  524. package/dist/esm/styles/components/tooltip.css +1 -1
  525. package/dist/esm/styles/components/tour.css +1 -1
  526. package/dist/esm/styles/components/transfer.css +1 -1
  527. package/dist/esm/styles/components/tree.css +1 -1
  528. package/dist/esm/styles/components/treeselect.css +1 -1
  529. package/dist/esm/styles/components/typography.css +1 -1
  530. package/dist/esm/styles/components/upload.css +1 -1
  531. package/dist/esm/styles/components/virtuallist.css +1 -1
  532. package/dist/esm/styles/config-provider.css +1 -1
  533. package/dist/esm/styles/confirm.css +1 -1
  534. package/dist/esm/styles/datepicker.css +1 -1
  535. package/dist/esm/styles/daterangepicker.css +1 -1
  536. package/dist/esm/styles/datetimepicker.css +1 -1
  537. package/dist/esm/styles/descriptions.css +1 -1
  538. package/dist/esm/styles/divider.css +1 -1
  539. package/dist/esm/styles/drawer.css +1 -1
  540. package/dist/esm/styles/dropdown.css +1 -1
  541. package/dist/esm/styles/empty.css +1 -1
  542. package/dist/esm/styles/errorboundary.css +1 -1
  543. package/dist/esm/styles/filelist.css +1 -1
  544. package/dist/esm/styles/flex.css +1 -1
  545. package/dist/esm/styles/floatbutton.css +1 -1
  546. package/dist/esm/styles/form.css +1 -1
  547. package/dist/esm/styles/foundation.css +1 -1
  548. package/dist/esm/styles/grid.css +1 -1
  549. package/dist/esm/styles/image.css +1 -1
  550. package/dist/esm/styles/index.css +1380 -716
  551. package/dist/esm/styles/index.css.map +1 -1
  552. package/dist/esm/styles/infinitescroll.css +1 -1
  553. package/dist/esm/styles/input.css +1 -1
  554. package/dist/esm/styles/inputmask.css +1 -1
  555. package/dist/esm/styles/inputnumber.css +1 -1
  556. package/dist/esm/styles/inputotp.css +1 -1
  557. package/dist/esm/styles/layout.css +1 -1
  558. package/dist/esm/styles/loading.css +1 -1
  559. package/dist/esm/styles/loadingbar.css +1 -1
  560. package/dist/esm/styles/masonry.css +1 -1
  561. package/dist/esm/styles/mentions.css +1 -1
  562. package/dist/esm/styles/menu.css +1 -1
  563. package/dist/esm/styles/message.css +1 -1
  564. package/dist/esm/styles/modal.css +1 -1
  565. package/dist/esm/styles/notification.css +1 -1
  566. package/dist/esm/styles/pagination.css +1 -1
  567. package/dist/esm/styles/popconfirm.css +1 -1
  568. package/dist/esm/styles/popover.css +1 -1
  569. package/dist/esm/styles/progress.css +1 -1
  570. package/dist/esm/styles/qrcode.css +1 -1
  571. package/dist/esm/styles/radio.css +1 -1
  572. package/dist/esm/styles/rate.css +1 -1
  573. package/dist/esm/styles/result.css +1 -1
  574. package/dist/esm/styles/scrollarea.css +1 -1
  575. package/dist/esm/styles/scrollbar.css +1 -1
  576. package/dist/esm/styles/select.css +1 -1
  577. package/dist/esm/styles/skeleton.css +1 -1
  578. package/dist/esm/styles/slider.css +1 -1
  579. package/dist/esm/styles/space.css +1 -1
  580. package/dist/esm/styles/splitter.css +1 -1
  581. package/dist/esm/styles/statistic.css +1 -1
  582. package/dist/esm/styles/steps.css +1 -1
  583. package/dist/esm/styles/switch.css +1 -1
  584. package/dist/esm/styles/table.css +1 -1
  585. package/dist/esm/styles/tabletanstack.css +1 -1
  586. package/dist/esm/styles/tabs.css +1 -1
  587. package/dist/esm/styles/tag.css +1 -1
  588. package/dist/esm/styles/textarea.css +1 -1
  589. package/dist/esm/styles/timeline.css +1 -1
  590. package/dist/esm/styles/timepicker.css +1 -1
  591. package/dist/esm/styles/timerangepicker.css +1 -1
  592. package/dist/esm/styles/tooltip.css +1 -1
  593. package/dist/esm/styles/tour.css +1 -1
  594. package/dist/esm/styles/transfer.css +1 -1
  595. package/dist/esm/styles/tree.css +1 -1
  596. package/dist/esm/styles/treeselect.css +1 -1
  597. package/dist/esm/styles/typography.css +1 -1
  598. package/dist/esm/styles/upload.css +1 -1
  599. package/dist/esm/styles/virtuallist.css +1 -1
  600. package/dist/esm/tabs/tabs.d.ts +4 -2
  601. package/dist/esm/tabs/tabs.d.ts.map +1 -1
  602. package/dist/esm/tabs/tabs.js +14 -8
  603. package/dist/esm/tabs/tabs.js.map +1 -1
  604. package/dist/esm/tailwind-tokens.d.ts.map +1 -1
  605. package/dist/esm/tailwind-tokens.js +1 -1
  606. package/dist/esm/tailwind-tokens.js.map +1 -1
  607. package/dist/esm/textarea/textarea.d.ts.map +1 -1
  608. package/dist/esm/textarea/textarea.js +50 -22
  609. package/dist/esm/textarea/textarea.js.map +1 -1
  610. package/dist/esm/theme.d.ts +15 -0
  611. package/dist/esm/theme.d.ts.map +1 -1
  612. package/dist/esm/theme.js +53 -29
  613. package/dist/esm/theme.js.map +1 -1
  614. package/dist/esm/timeline/timeline.d.ts.map +1 -1
  615. package/dist/esm/timeline/timeline.js +1 -1
  616. package/dist/esm/timeline/timeline.js.map +1 -1
  617. package/dist/esm/timepicker/time-panel.d.ts.map +1 -1
  618. package/dist/esm/timepicker/time-panel.js +8 -2
  619. package/dist/esm/timepicker/time-panel.js.map +1 -1
  620. package/dist/esm/transfer/transfer.d.ts.map +1 -1
  621. package/dist/esm/transfer/transfer.js +5 -5
  622. package/dist/esm/transfer/transfer.js.map +1 -1
  623. package/dist/esm/tree/tree.d.ts.map +1 -1
  624. package/dist/esm/tree/tree.js +13 -6
  625. package/dist/esm/tree/tree.js.map +1 -1
  626. package/dist/esm/treeselect/treeselect.d.ts.map +1 -1
  627. package/dist/esm/treeselect/treeselect.js +5 -4
  628. package/dist/esm/treeselect/treeselect.js.map +1 -1
  629. package/dist/esm/virtuallist/virtuallist.d.ts.map +1 -1
  630. package/dist/esm/virtuallist/virtuallist.js +9 -3
  631. package/dist/esm/virtuallist/virtuallist.js.map +1 -1
  632. package/dist/tailwind.css +1 -1
  633. package/package.json +1 -22
  634. package/dist/cjs/browser/modules/segmented/index.cjs.map +0 -1
  635. package/dist/cjs/browser/modules/segmented/segmented.cjs +0 -127
  636. package/dist/cjs/browser/modules/segmented/segmented.cjs.map +0 -1
  637. package/dist/cjs/browser/segmented.cjs +0 -2
  638. package/dist/cjs/segmented/index.cjs.map +0 -1
  639. package/dist/cjs/segmented/index.d.cts +0 -3
  640. package/dist/cjs/segmented/index.d.cts.map +0 -1
  641. package/dist/cjs/segmented/segmented.cjs +0 -125
  642. package/dist/cjs/segmented/segmented.cjs.map +0 -1
  643. package/dist/cjs/segmented/segmented.d.cts +0 -21
  644. package/dist/cjs/segmented/segmented.d.cts.map +0 -1
  645. package/dist/cjs/styles/components/segmented.css +0 -1
  646. package/dist/cjs/styles/segmented.css +0 -1
  647. package/dist/esm/browser/modules/segmented/index.js +0 -2
  648. package/dist/esm/browser/modules/segmented/segmented.js +0 -89
  649. package/dist/esm/browser/modules/segmented/segmented.js.map +0 -1
  650. package/dist/esm/browser/segmented.js +0 -2
  651. package/dist/esm/segmented/index.d.ts +0 -3
  652. package/dist/esm/segmented/index.d.ts.map +0 -1
  653. package/dist/esm/segmented/index.js +0 -2
  654. package/dist/esm/segmented/segmented.d.ts +0 -21
  655. package/dist/esm/segmented/segmented.d.ts.map +0 -1
  656. package/dist/esm/segmented/segmented.js +0 -87
  657. package/dist/esm/segmented/segmented.js.map +0 -1
  658. package/dist/esm/styles/components/segmented.css +0 -1
  659. package/dist/esm/styles/segmented.css +0 -1
@@ -1,4 +1,8 @@
1
1
  :root, :host {
2
+ --leaf-color-primary-ink: #20834a;
3
+ --leaf-color-primary-indicator: #20834a;
4
+ --leaf-color-primary-fill-border: transparent;
5
+ --leaf-color-primary-focus: #20834a6b;
2
6
  --leaf-color-option-hover: #ebebeb;
3
7
  --leaf-color-primary-text-80: #206f42;
4
8
  --leaf-color-success-text-80: #206f42;
@@ -123,6 +127,8 @@
123
127
  --leaf-color-on-warning: #202024;
124
128
  --leaf-color-primary-hover: #26864f;
125
129
  --leaf-color-primary-active: #1b6f3f;
130
+ --leaf-color-primary-ink-hover: #26864f;
131
+ --leaf-color-primary-ink-active: #1b6f3f;
126
132
  --leaf-color-danger-hover: #cb4848;
127
133
  --leaf-color-danger-active: #a33;
128
134
  --leaf-color-primary: #20834a;
@@ -167,6 +173,10 @@
167
173
  }
168
174
 
169
175
  [data-leaf-theme="light"] {
176
+ --leaf-color-primary-ink: #20834a;
177
+ --leaf-color-primary-indicator: #20834a;
178
+ --leaf-color-primary-fill-border: transparent;
179
+ --leaf-color-primary-focus: #20834a6b;
170
180
  --leaf-color-option-hover: #ebebeb;
171
181
  --leaf-color-primary-text-80: #206f42;
172
182
  --leaf-color-success-text-80: #206f42;
@@ -291,6 +301,8 @@
291
301
  --leaf-color-on-warning: #202024;
292
302
  --leaf-color-primary-hover: #26864f;
293
303
  --leaf-color-primary-active: #1b6f3f;
304
+ --leaf-color-primary-ink-hover: #26864f;
305
+ --leaf-color-primary-ink-active: #1b6f3f;
294
306
  --leaf-color-danger-hover: #cb4848;
295
307
  --leaf-color-danger-active: #a33;
296
308
  --leaf-color-primary: #20834a;
@@ -311,6 +323,10 @@
311
323
  }
312
324
 
313
325
  [data-leaf-theme="dark"] {
326
+ --leaf-color-primary-ink: #83cf9e;
327
+ --leaf-color-primary-indicator: #83cf9e;
328
+ --leaf-color-primary-fill-border: transparent;
329
+ --leaf-color-primary-focus: #83cf9e6b;
314
330
  --leaf-color-option-hover: #2f2f33;
315
331
  --leaf-color-primary-text-80: #98d5ae;
316
332
  --leaf-color-success-text-80: #98d5ae;
@@ -435,6 +451,8 @@
435
451
  --leaf-color-on-warning: #202024;
436
452
  --leaf-color-primary-hover: #8fd4a8;
437
453
  --leaf-color-primary-active: #6fb086;
454
+ --leaf-color-primary-ink-hover: #8fd4a8;
455
+ --leaf-color-primary-ink-active: #6fb086;
438
456
  --leaf-color-danger-hover: #f19191;
439
457
  --leaf-color-danger-active: #cb7171;
440
458
  --leaf-color-primary: #83cf9e;
@@ -514,12 +532,17 @@
514
532
  }
515
533
 
516
534
  .leaf-button {
535
+ --leaf-button-border-width: var(--leaf-component-button-border-width, var(--leaf-border-width, 1px));
517
536
  --leaf-button-color: var(--leaf-color-primary);
537
+ --leaf-button-ink: var(--leaf-color-primary-ink, var(--leaf-button-color));
538
+ --leaf-button-ink-hover: var(--leaf-color-primary-ink-hover, var(--leaf-button-hover));
539
+ --leaf-button-ink-active: var(--leaf-color-primary-ink-active, var(--leaf-button-active));
540
+ --leaf-button-fill-border: var(--leaf-color-primary-fill-border, transparent);
518
541
  --leaf-button-color-alpha-18: var(--leaf-color-primary-alpha-18);
519
542
  --leaf-button-color-alpha-25: var(--leaf-color-primary-alpha-25);
520
543
  --leaf-button-color-alpha-42: var(--leaf-color-primary-alpha-42);
521
544
  --leaf-button-on-color: var(--leaf-color-on-primary);
522
- --leaf-focus-color: var(--leaf-button-color-alpha-42);
545
+ --leaf-focus-color: var(--leaf-color-primary-focus, var(--leaf-button-color-alpha-42));
523
546
  --leaf-button-hover: var(--leaf-color-primary-hover, var(--leaf-button-color));
524
547
  --leaf-button-active: var(--leaf-color-primary-active, var(--leaf-button-color));
525
548
  --leaf-button-soft-hover: var(--leaf-color-primary-soft-hover, var(--leaf-button-color-alpha-18));
@@ -531,6 +554,7 @@
531
554
  gap: var(--leaf-component-button-gap, 6px);
532
555
  min-height: var(--leaf-button-height, var(--leaf-current-control-height));
533
556
  padding: var(--leaf-component-button-padding, 0 calc(var(--leaf-button-height, var(--leaf-current-control-height)) * .42));
557
+ border: var(--leaf-button-border-width) solid #0000;
534
558
  border-radius: var(--leaf-component-button-radius, var(--leaf-button-radius, var(--leaf-radius)));
535
559
  font-family: var(--leaf-font-family);
536
560
  font-size: var(--leaf-component-button-font-size, var(--leaf-current-font-size));
@@ -544,7 +568,6 @@
544
568
  transition: background-color var(--leaf-motion-duration) var(--leaf-motion-easing),border-color var(--leaf-motion-duration) var(--leaf-motion-easing),color var(--leaf-motion-duration) var(--leaf-motion-easing),box-shadow var(--leaf-motion-duration) var(--leaf-motion-easing),opacity var(--leaf-motion-duration) var(--leaf-motion-easing);
545
569
  --leaf-current-font-size: var(--leaf-font-size);
546
570
  --leaf-current-control-height: var(--leaf-control-height, 36px);
547
- border: 1px solid #0000;
548
571
  line-height: 1.5;
549
572
  text-decoration: none;
550
573
  display: inline-flex;
@@ -552,7 +575,7 @@
552
575
  }
553
576
 
554
577
  .leaf-button:focus-visible {
555
- outline: 3px solid var(--leaf-color-focus, var(--leaf-focus-color, var(--leaf-color-primary-alpha-42)));
578
+ outline: 3px solid var(--leaf-color-focus, var(--leaf-focus-color, var(--leaf-color-primary-focus, var(--leaf-color-primary-alpha-42))));
556
579
  outline-offset: 2px;
557
580
  }
558
581
 
@@ -568,13 +591,13 @@
568
591
 
569
592
  .leaf-button__wave {
570
593
  z-index: 1;
594
+ inset: calc(-1*var(--leaf-button-border-width));
571
595
  box-sizing: border-box;
572
596
  border-radius: inherit;
573
597
  color: var(--leaf-button-color);
574
598
  opacity: 0;
575
599
  pointer-events: none;
576
600
  position: absolute;
577
- inset: -1px;
578
601
  box-shadow: 0 0;
579
602
  }
580
603
 
@@ -615,6 +638,11 @@
615
638
 
616
639
  .leaf-button--danger {
617
640
  --leaf-button-color: var(--leaf-color-danger);
641
+ --leaf-button-ink: var(--leaf-button-color);
642
+ --leaf-button-ink-hover: var(--leaf-button-hover);
643
+ --leaf-button-ink-active: var(--leaf-button-active);
644
+ --leaf-button-fill-border: transparent;
645
+ --leaf-focus-color: var(--leaf-button-color-alpha-42);
618
646
  --leaf-button-color-alpha-18: var(--leaf-color-danger-alpha-18);
619
647
  --leaf-button-color-alpha-25: var(--leaf-color-danger-alpha-25);
620
648
  --leaf-button-color-alpha-42: var(--leaf-color-danger-alpha-42);
@@ -626,22 +654,6 @@
626
654
  --leaf-button-border: var(--leaf-button-color-alpha-42);
627
655
  }
628
656
 
629
- .leaf-button--solid {
630
- color: var(--leaf-button-on-color);
631
- background: var(--leaf-button-color);
632
- box-shadow: none;
633
- border-color: #0000;
634
- }
635
-
636
- .leaf-button--solid:hover:not(:disabled) {
637
- background: var(--leaf-button-hover);
638
- }
639
-
640
- .leaf-button--solid:active:not(:disabled) {
641
- background: var(--leaf-button-active);
642
- box-shadow: none;
643
- }
644
-
645
657
  .leaf-button--ghost {
646
658
  color: var(--leaf-color-text);
647
659
  background: none;
@@ -669,28 +681,6 @@
669
681
  background: var(--leaf-button-soft-active);
670
682
  }
671
683
 
672
- .leaf-button--outline {
673
- color: var(--leaf-color-text);
674
- background: var(--leaf-color-surface);
675
- border-color: var(--leaf-component-button-border-color, var(--leaf-color-border));
676
- box-shadow: var(--leaf-component-button-shadow, 0 1px 2px #0000000a);
677
- }
678
-
679
- .leaf-button--outline:hover:not(:disabled) {
680
- color: var(--leaf-button-hover);
681
- border-color: var(--leaf-button-hover);
682
- }
683
-
684
- .leaf-button--outline:active:not(:disabled) {
685
- color: var(--leaf-button-active);
686
- border-color: var(--leaf-button-active);
687
- }
688
-
689
- .leaf-button--danger.leaf-button--outline {
690
- color: var(--leaf-color-danger);
691
- border-color: var(--leaf-component-button-border-color, var(--leaf-button-border));
692
- }
693
-
694
684
  .leaf-button--icon-only {
695
685
  width: var(--leaf-button-height, var(--leaf-current-control-height));
696
686
  padding: 0;
@@ -701,24 +691,13 @@
701
691
  }
702
692
 
703
693
  .leaf-button--link {
704
- min-height: 0;
705
- color: var(--leaf-button-color);
706
- box-shadow: none;
707
- background: none;
708
694
  border: 0;
709
695
  border-radius: 0;
710
696
  align-self: center;
697
+ min-height: 0;
711
698
  padding: 0;
712
699
  }
713
700
 
714
- .leaf-button--link:hover:not(:disabled) {
715
- color: var(--leaf-button-hover);
716
- }
717
-
718
- .leaf-button--link:active:not(:disabled) {
719
- color: var(--leaf-button-active);
720
- }
721
-
722
701
  .leaf-button--link.leaf-button--icon-only {
723
702
  width: auto;
724
703
  }
@@ -737,6 +716,111 @@
737
716
  height: 100%;
738
717
  }
739
718
 
719
+ .leaf-button.leaf-button--solid {
720
+ --leaf-button-rest-color: var(--leaf-button-on-color);
721
+ --leaf-button-rest-background: var(--leaf-button-color);
722
+ --leaf-button-rest-border: var(--leaf-button-fill-border);
723
+ --leaf-button-rest-shadow: none;
724
+ --leaf-button-hover-color: var(--leaf-button-rest-color);
725
+ --leaf-button-hover-background: var(--leaf-button-hover);
726
+ --leaf-button-hover-border: var(--leaf-button-rest-border);
727
+ --leaf-button-active-color: var(--leaf-button-rest-color);
728
+ --leaf-button-active-background: var(--leaf-button-active);
729
+ --leaf-button-active-border: var(--leaf-button-rest-border);
730
+ }
731
+
732
+ .leaf-button.leaf-button--outline {
733
+ --leaf-button-rest-color: var(--leaf-color-text);
734
+ --leaf-button-rest-background: var(--leaf-color-surface);
735
+ --leaf-button-rest-border: var(--leaf-color-border);
736
+ --leaf-button-rest-shadow: 0 1px 2px #0000000a;
737
+ --leaf-button-hover-color: var(--leaf-button-ink-hover);
738
+ --leaf-button-hover-background: var(--leaf-button-rest-background);
739
+ --leaf-button-hover-border: var(--leaf-button-ink-hover);
740
+ --leaf-button-active-color: var(--leaf-button-ink-active);
741
+ --leaf-button-active-background: var(--leaf-button-rest-background);
742
+ --leaf-button-active-border: var(--leaf-button-ink-active);
743
+ }
744
+
745
+ .leaf-button.leaf-button--outline.leaf-button--danger {
746
+ --leaf-button-rest-color: var(--leaf-button-color);
747
+ --leaf-button-rest-border: var(--leaf-button-border);
748
+ }
749
+
750
+ .leaf-button.leaf-button--soft {
751
+ --leaf-button-rest-color: var(--leaf-color-text);
752
+ --leaf-button-rest-background: var(--leaf-color-surface-muted);
753
+ --leaf-button-rest-border: transparent;
754
+ --leaf-button-rest-shadow: none;
755
+ --leaf-button-hover-color: var(--leaf-button-rest-color);
756
+ --leaf-button-hover-background: var(--leaf-color-option-hover);
757
+ --leaf-button-hover-border: transparent;
758
+ --leaf-button-active-color: var(--leaf-button-rest-color);
759
+ --leaf-button-active-background: color-mix(in srgb, var(--leaf-color-text) 14%, var(--leaf-color-surface));
760
+ --leaf-button-active-border: transparent;
761
+ }
762
+
763
+ .leaf-button.leaf-button--soft.leaf-button--danger {
764
+ --leaf-button-rest-color: var(--leaf-button-color);
765
+ --leaf-button-rest-background: var(--leaf-color-danger-surface-6);
766
+ --leaf-button-hover-color: var(--leaf-button-hover);
767
+ --leaf-button-hover-background: var(--leaf-button-soft-hover);
768
+ --leaf-button-active-color: var(--leaf-button-active);
769
+ --leaf-button-active-background: var(--leaf-button-soft-active);
770
+ }
771
+
772
+ .leaf-button.leaf-button--link {
773
+ --leaf-button-rest-color: var(--leaf-button-ink);
774
+ --leaf-button-rest-background: transparent;
775
+ --leaf-button-rest-border: transparent;
776
+ --leaf-button-rest-shadow: none;
777
+ --leaf-button-hover-color: var(--leaf-button-ink-hover);
778
+ --leaf-button-hover-background: transparent;
779
+ --leaf-button-hover-border: transparent;
780
+ --leaf-button-active-color: var(--leaf-button-ink-active);
781
+ --leaf-button-active-background: transparent;
782
+ --leaf-button-active-border: transparent;
783
+ }
784
+
785
+ .leaf-button:is(.leaf-button--solid, .leaf-button--outline, .leaf-button--soft, .leaf-button--link) {
786
+ --leaf-button-base-color: var(--leaf-component-button-color, var(--leaf-button-rest-color));
787
+ --leaf-button-base-background: var(--leaf-component-button-background, var(--leaf-button-rest-background));
788
+ --leaf-button-base-border: var(--leaf-component-button-border-color, var(--leaf-frame-border-color, var(--leaf-button-rest-border)));
789
+ --leaf-button-base-shadow: var(--leaf-component-button-shadow, var(--leaf-control-shadow, var(--leaf-button-rest-shadow)));
790
+ color: var(--leaf-button-base-color);
791
+ background: var(--leaf-button-base-background);
792
+ border-color: var(--leaf-button-base-border);
793
+ box-shadow: var(--leaf-button-base-shadow);
794
+ }
795
+
796
+ .leaf-button:is(.leaf-button--solid, .leaf-button--outline, .leaf-button--soft, .leaf-button--link):focus-visible:not(:disabled) {
797
+ color: var(--leaf-component-button-focus-color, var(--leaf-button-base-color));
798
+ background: var(--leaf-component-button-focus-background, var(--leaf-button-base-background));
799
+ border-color: var(--leaf-component-button-focus-border-color, var(--leaf-button-base-border));
800
+ box-shadow: var(--leaf-component-button-focus-shadow, var(--leaf-button-base-shadow));
801
+ }
802
+
803
+ .leaf-button:is(.leaf-button--solid, .leaf-button--outline, .leaf-button--soft, .leaf-button--link):hover:not(:disabled):not([data-loading]):where(:not(:focus-visible)) {
804
+ color: var(--leaf-component-button-hover-color, var(--leaf-button-hover-color));
805
+ background: var(--leaf-component-button-hover-background, var(--leaf-button-hover-background));
806
+ border-color: var(--leaf-component-button-hover-border-color, var(--leaf-component-button-border-color, var(--leaf-frame-border-color, var(--leaf-button-hover-border))));
807
+ box-shadow: var(--leaf-component-button-hover-shadow, var(--leaf-button-base-shadow));
808
+ }
809
+
810
+ .leaf-button:is(.leaf-button--solid, .leaf-button--outline, .leaf-button--soft, .leaf-button--link):active:not(:disabled):not([data-loading]) {
811
+ color: var(--leaf-component-button-active-color, var(--leaf-button-active-color));
812
+ background: var(--leaf-component-button-active-background, var(--leaf-button-active-background));
813
+ border-color: var(--leaf-component-button-active-border-color, var(--leaf-component-button-border-color, var(--leaf-frame-border-color, var(--leaf-button-active-border))));
814
+ box-shadow: var(--leaf-component-button-active-shadow, var(--leaf-button-base-shadow));
815
+ }
816
+
817
+ .leaf-button:is(.leaf-button--solid, .leaf-button--outline, .leaf-button--soft, .leaf-button--link):disabled {
818
+ color: var(--leaf-component-button-disabled-color, var(--leaf-button-base-color));
819
+ background: var(--leaf-component-button-disabled-background, var(--leaf-button-base-background));
820
+ border-color: var(--leaf-component-button-disabled-border-color, var(--leaf-button-base-border));
821
+ box-shadow: var(--leaf-component-button-disabled-shadow, var(--leaf-button-base-shadow));
822
+ }
823
+
740
824
  @keyframes leaf-spin {
741
825
  to {
742
826
  transform: rotate(360deg);
@@ -762,16 +846,16 @@
762
846
  display: none;
763
847
  }
764
848
 
765
- .leaf-button {
849
+ .leaf-button:is(.leaf-button--solid, .leaf-button--outline, .leaf-button--soft, .leaf-button--link, .leaf-button--ghost) {
766
850
  border-color: buttontext;
767
851
  }
768
852
 
769
- .leaf-button:disabled {
853
+ .leaf-button:is(.leaf-button--solid, .leaf-button--outline, .leaf-button--soft, .leaf-button--link, .leaf-button--ghost):disabled {
770
854
  color: graytext;
771
855
  border-color: graytext;
772
856
  }
773
857
 
774
- .leaf-button:focus-visible {
858
+ .leaf-button:is(.leaf-button--solid, .leaf-button--outline, .leaf-button--soft, .leaf-button--link, .leaf-button--ghost):focus-visible {
775
859
  outline-color: highlight;
776
860
  }
777
861
  }
@@ -793,7 +877,7 @@
793
877
  .leaf-button-group--attached > .leaf-button:not(:first-child) {
794
878
  border-start-start-radius: 0;
795
879
  border-end-start-radius: 0;
796
- margin-inline-start: -1px;
880
+ margin-inline-start: calc(-1*var(--leaf-button-border-width));
797
881
  }
798
882
 
799
883
  .leaf-button-group--attached > .leaf-button:not(:last-child) {
@@ -821,11 +905,11 @@
821
905
  }
822
906
 
823
907
  .leaf-split-button > .leaf-button--outline {
824
- --leaf-split-button-divider-color: var(--leaf-component-button-border-color, var(--leaf-color-border));
908
+ --leaf-split-button-divider-color: var(--leaf-component-button-border-color, var(--leaf-frame-border-color, var(--leaf-color-border)));
825
909
  }
826
910
 
827
911
  .leaf-split-button > .leaf-button--outline.leaf-button--danger {
828
- --leaf-split-button-divider-color: var(--leaf-component-button-border-color, var(--leaf-button-border));
912
+ --leaf-split-button-divider-color: var(--leaf-component-button-border-color, var(--leaf-frame-border-color, var(--leaf-button-border)));
829
913
  }
830
914
 
831
915
  .leaf-split-button > .leaf-button--outline:first-child {
@@ -843,7 +927,7 @@
843
927
  .leaf-split-button > .leaf-button + .leaf-button:before {
844
928
  content: "";
845
929
  z-index: 2;
846
- background: var(--leaf-component-button-border-color, var(--leaf-color-border));
930
+ background: var(--leaf-component-button-border-color, var(--leaf-frame-border-color, var(--leaf-color-border)));
847
931
  pointer-events: none;
848
932
  width: 1px;
849
933
  position: absolute;
@@ -894,18 +978,23 @@
894
978
  }
895
979
 
896
980
  .leaf-input {
897
- --leaf-field-color: var(--leaf-color-primary);
981
+ --leaf-field-color: var(--leaf-color-primary-indicator, var(--leaf-color-primary));
898
982
  --leaf-field-color-alpha-12: var(--leaf-color-primary-alpha-12);
899
983
  --leaf-field-color-border-30: var(--leaf-color-primary-border-30);
900
984
  --leaf-field-hover-color: var(--leaf-color-border-hover, var(--leaf-field-color));
985
+ --leaf-field-border-width: var(--leaf-component-input-border-width, var(--leaf-border-width, 1px));
986
+ --leaf-field-text: var(--leaf-component-input-color, var(--leaf-color-text));
987
+ --leaf-field-rest-border: var(--leaf-component-input-border-color, var(--leaf-frame-border-color, var(--leaf-color-border)));
988
+ --leaf-field-background: var(--leaf-component-input-background, var(--leaf-color-surface));
989
+ --leaf-field-shadow: var(--leaf-component-input-shadow, var(--leaf-control-shadow, 0 0 0 0 transparent));
901
990
  box-sizing: border-box;
902
- border: 1px solid var(--leaf-color-border);
991
+ border: var(--leaf-field-border-width) solid var(--leaf-component-input-border-color, var(--leaf-frame-border-color, var(--leaf-color-border)));
903
992
  border-radius: var(--leaf-component-input-radius, var(--leaf-radius));
904
993
  width: 100%;
905
994
  min-width: 0;
906
995
  color: var(--leaf-component-input-color, var(--leaf-color-text));
907
996
  background: var(--leaf-component-input-background, var(--leaf-color-surface));
908
- box-shadow: var(--leaf-component-input-shadow, none);
997
+ box-shadow: var(--leaf-field-shadow);
909
998
  font-family: var(--leaf-font-family);
910
999
  font-size: var(--leaf-component-input-font-size, var(--leaf-current-font-size));
911
1000
  line-height: var(--leaf-line-height, 1.5);
@@ -913,6 +1002,7 @@
913
1002
  }
914
1003
 
915
1004
  .leaf-input[data-status="error"] {
1005
+ --leaf-field-rest-border: var(--leaf-field-color);
916
1006
  --leaf-field-color: var(--leaf-color-danger);
917
1007
  --leaf-field-color-alpha-12: var(--leaf-color-danger-alpha-12);
918
1008
  --leaf-field-color-border-30: var(--leaf-color-danger-border-30);
@@ -921,6 +1011,7 @@
921
1011
  }
922
1012
 
923
1013
  .leaf-input[data-status="warning"] {
1014
+ --leaf-field-rest-border: var(--leaf-field-color);
924
1015
  --leaf-field-color: var(--leaf-color-warning);
925
1016
  --leaf-field-color-alpha-12: var(--leaf-color-warning-alpha-12);
926
1017
  --leaf-field-color-border-30: var(--leaf-color-warning-border-30);
@@ -928,33 +1019,53 @@
928
1019
  border-color: var(--leaf-field-color);
929
1020
  }
930
1021
 
931
- .leaf-input:hover:not([data-disabled]):not(:disabled):not(:focus-within):not([data-open]) {
932
- border-color: var(--leaf-field-hover-color);
1022
+ .leaf-input[data-disabled], .leaf-input:disabled {
1023
+ opacity: .55;
1024
+ cursor: not-allowed;
933
1025
  }
934
1026
 
935
- .leaf-input:focus-within, .leaf-input[data-open] {
936
- border-color: var(--leaf-field-color);
937
- box-shadow: 0 0 0 3px var(--leaf-field-color-alpha-12);
1027
+ .leaf-input:hover:not([data-disabled]):not(:disabled):where(:not(:focus-within):not([data-open])) {
1028
+ color: var(--leaf-component-input-hover-color, var(--leaf-field-text));
1029
+ background: var(--leaf-component-input-hover-background, var(--leaf-field-background));
1030
+ border-color: var(--leaf-component-input-hover-border-color, var(--leaf-field-hover-color));
1031
+ box-shadow: var(--leaf-component-input-hover-shadow, var(--leaf-field-shadow));
938
1032
  }
939
1033
 
940
- .leaf-input[data-disabled], .leaf-input:disabled {
941
- background: var(--leaf-color-surface-muted);
942
- opacity: .55;
943
- cursor: not-allowed;
1034
+ .leaf-input:is(:focus-within, [data-open]):not([data-disabled]):not(:disabled) {
1035
+ color: var(--leaf-component-input-focus-color, var(--leaf-field-text));
1036
+ background: var(--leaf-component-input-focus-background, var(--leaf-field-background));
1037
+ border-color: var(--leaf-component-input-focus-border-color, var(--leaf-field-color));
1038
+ box-shadow: var(--leaf-component-input-focus-shadow, var(--leaf-field-shadow));
1039
+ outline: 3px solid var(--leaf-color-focus, var(--leaf-field-color-alpha-12));
1040
+ outline-offset: 0;
944
1041
  }
945
1042
 
946
- @media (prefers-reduced-motion: reduce) {
947
- .leaf-input {
948
- transition: none;
949
- }
1043
+ .leaf-input:active:not([data-disabled]):not(:disabled) {
1044
+ color: var(--leaf-component-input-active-color, var(--leaf-field-text));
1045
+ background: var(--leaf-component-input-active-background, var(--leaf-field-background));
1046
+ border-color: var(--leaf-component-input-active-border-color, var(--leaf-field-hover-color));
1047
+ box-shadow: var(--leaf-component-input-active-shadow, var(--leaf-field-shadow));
1048
+ }
1049
+
1050
+ .leaf-input[data-disabled], .leaf-input:disabled {
1051
+ color: var(--leaf-component-input-disabled-color, var(--leaf-field-text));
1052
+ background: var(--leaf-component-input-disabled-background, var(--leaf-color-surface-muted));
1053
+ border-color: var(--leaf-component-input-disabled-border-color, var(--leaf-field-rest-border));
1054
+ box-shadow: var(--leaf-component-input-disabled-shadow, var(--leaf-field-shadow));
950
1055
  }
951
1056
 
952
1057
  @media (forced-colors: active) {
953
- .leaf-input:focus-within {
1058
+ .leaf-input:is(:focus-within, [data-open]):not([data-disabled]):not(:disabled) {
954
1059
  outline: 2px solid highlight;
955
1060
  }
956
1061
  }
957
1062
 
1063
+ @media (prefers-reduced-motion: reduce) {
1064
+ .leaf-input {
1065
+ transition: none;
1066
+ }
1067
+ }
1068
+
958
1069
  .leaf-input {
959
1070
  align-items: center;
960
1071
  gap: var(--leaf-component-input-gap, 8px);
@@ -1050,7 +1161,7 @@
1050
1161
  }
1051
1162
 
1052
1163
  .leaf-input__visibility:focus-visible, .leaf-input__clear:focus-visible {
1053
- outline: 3px solid var(--leaf-color-focus, var(--leaf-focus-color, var(--leaf-color-primary-alpha-42)));
1164
+ outline: 3px solid var(--leaf-color-focus, var(--leaf-focus-color, var(--leaf-color-primary-focus, var(--leaf-color-primary-alpha-42))));
1054
1165
  outline-offset: 2px;
1055
1166
  }
1056
1167
 
@@ -1095,7 +1206,7 @@
1095
1206
  .leaf-input-group--compact > :not(:first-child) {
1096
1207
  border-start-start-radius: 0;
1097
1208
  border-end-start-radius: 0;
1098
- margin-inline-start: -1px;
1209
+ margin-inline-start: calc(-1*var(--leaf-field-border-width, var(--leaf-button-border-width, var(--leaf-border-width, 1px))));
1099
1210
  }
1100
1211
 
1101
1212
  .leaf-input-group--compact > :not(:last-child) {
@@ -1134,18 +1245,23 @@
1134
1245
  }
1135
1246
 
1136
1247
  .leaf-textarea {
1137
- --leaf-field-color: var(--leaf-color-primary);
1248
+ --leaf-field-color: var(--leaf-color-primary-indicator, var(--leaf-color-primary));
1138
1249
  --leaf-field-color-alpha-12: var(--leaf-color-primary-alpha-12);
1139
1250
  --leaf-field-color-border-30: var(--leaf-color-primary-border-30);
1140
1251
  --leaf-field-hover-color: var(--leaf-color-border-hover, var(--leaf-field-color));
1252
+ --leaf-field-border-width: var(--leaf-component-textarea-border-width, var(--leaf-border-width, 1px));
1253
+ --leaf-field-text: var(--leaf-component-textarea-color, var(--leaf-color-text));
1254
+ --leaf-field-rest-border: var(--leaf-component-textarea-border-color, var(--leaf-frame-border-color, var(--leaf-color-border)));
1255
+ --leaf-field-background: var(--leaf-component-textarea-background, var(--leaf-color-surface));
1256
+ --leaf-field-shadow: var(--leaf-component-textarea-shadow, var(--leaf-control-shadow, 0 0 0 0 transparent));
1141
1257
  box-sizing: border-box;
1142
- border: 1px solid var(--leaf-color-border);
1258
+ border: var(--leaf-field-border-width) solid var(--leaf-component-textarea-border-color, var(--leaf-frame-border-color, var(--leaf-color-border)));
1143
1259
  border-radius: var(--leaf-component-textarea-radius, var(--leaf-radius));
1144
1260
  width: 100%;
1145
1261
  min-width: 0;
1146
1262
  color: var(--leaf-component-textarea-color, var(--leaf-color-text));
1147
1263
  background: var(--leaf-component-textarea-background, var(--leaf-color-surface));
1148
- box-shadow: var(--leaf-component-textarea-shadow, none);
1264
+ box-shadow: var(--leaf-field-shadow);
1149
1265
  font-family: var(--leaf-font-family);
1150
1266
  font-size: var(--leaf-component-textarea-font-size, var(--leaf-current-font-size));
1151
1267
  line-height: var(--leaf-line-height, 1.5);
@@ -1153,6 +1269,7 @@
1153
1269
  }
1154
1270
 
1155
1271
  .leaf-textarea[data-status="error"] {
1272
+ --leaf-field-rest-border: var(--leaf-field-color);
1156
1273
  --leaf-field-color: var(--leaf-color-danger);
1157
1274
  --leaf-field-color-alpha-12: var(--leaf-color-danger-alpha-12);
1158
1275
  --leaf-field-color-border-30: var(--leaf-color-danger-border-30);
@@ -1161,6 +1278,7 @@
1161
1278
  }
1162
1279
 
1163
1280
  .leaf-textarea[data-status="warning"] {
1281
+ --leaf-field-rest-border: var(--leaf-field-color);
1164
1282
  --leaf-field-color: var(--leaf-color-warning);
1165
1283
  --leaf-field-color-alpha-12: var(--leaf-color-warning-alpha-12);
1166
1284
  --leaf-field-color-border-30: var(--leaf-color-warning-border-30);
@@ -1168,33 +1286,53 @@
1168
1286
  border-color: var(--leaf-field-color);
1169
1287
  }
1170
1288
 
1171
- .leaf-textarea:hover:not([data-disabled]):not(:disabled):not(:focus-within):not([data-open]) {
1172
- border-color: var(--leaf-field-hover-color);
1289
+ .leaf-textarea[data-disabled], .leaf-textarea:disabled {
1290
+ opacity: .55;
1291
+ cursor: not-allowed;
1173
1292
  }
1174
1293
 
1175
- .leaf-textarea:focus-within, .leaf-textarea[data-open] {
1176
- border-color: var(--leaf-field-color);
1177
- box-shadow: 0 0 0 3px var(--leaf-field-color-alpha-12);
1294
+ .leaf-textarea:hover:not([data-disabled]):not(:disabled):where(:not(:focus-within):not([data-open])) {
1295
+ color: var(--leaf-component-textarea-hover-color, var(--leaf-field-text));
1296
+ background: var(--leaf-component-textarea-hover-background, var(--leaf-field-background));
1297
+ border-color: var(--leaf-component-textarea-hover-border-color, var(--leaf-field-hover-color));
1298
+ box-shadow: var(--leaf-component-textarea-hover-shadow, var(--leaf-field-shadow));
1178
1299
  }
1179
1300
 
1180
- .leaf-textarea[data-disabled], .leaf-textarea:disabled {
1181
- background: var(--leaf-color-surface-muted);
1182
- opacity: .55;
1183
- cursor: not-allowed;
1301
+ .leaf-textarea:is(:focus-within, [data-open]):not([data-disabled]):not(:disabled) {
1302
+ color: var(--leaf-component-textarea-focus-color, var(--leaf-field-text));
1303
+ background: var(--leaf-component-textarea-focus-background, var(--leaf-field-background));
1304
+ border-color: var(--leaf-component-textarea-focus-border-color, var(--leaf-field-color));
1305
+ box-shadow: var(--leaf-component-textarea-focus-shadow, var(--leaf-field-shadow));
1306
+ outline: 3px solid var(--leaf-color-focus, var(--leaf-field-color-alpha-12));
1307
+ outline-offset: 0;
1184
1308
  }
1185
1309
 
1186
- @media (prefers-reduced-motion: reduce) {
1187
- .leaf-textarea {
1188
- transition: none;
1189
- }
1310
+ .leaf-textarea:active:not([data-disabled]):not(:disabled) {
1311
+ color: var(--leaf-component-textarea-active-color, var(--leaf-field-text));
1312
+ background: var(--leaf-component-textarea-active-background, var(--leaf-field-background));
1313
+ border-color: var(--leaf-component-textarea-active-border-color, var(--leaf-field-hover-color));
1314
+ box-shadow: var(--leaf-component-textarea-active-shadow, var(--leaf-field-shadow));
1315
+ }
1316
+
1317
+ .leaf-textarea[data-disabled], .leaf-textarea:disabled {
1318
+ color: var(--leaf-component-textarea-disabled-color, var(--leaf-field-text));
1319
+ background: var(--leaf-component-textarea-disabled-background, var(--leaf-color-surface-muted));
1320
+ border-color: var(--leaf-component-textarea-disabled-border-color, var(--leaf-field-rest-border));
1321
+ box-shadow: var(--leaf-component-textarea-disabled-shadow, var(--leaf-field-shadow));
1190
1322
  }
1191
1323
 
1192
1324
  @media (forced-colors: active) {
1193
- .leaf-textarea:focus-within {
1325
+ .leaf-textarea:is(:focus-within, [data-open]):not([data-disabled]):not(:disabled) {
1194
1326
  outline: 2px solid highlight;
1195
1327
  }
1196
1328
  }
1197
1329
 
1330
+ @media (prefers-reduced-motion: reduce) {
1331
+ .leaf-textarea {
1332
+ transition: none;
1333
+ }
1334
+ }
1335
+
1198
1336
  .leaf-textarea {
1199
1337
  min-height: calc(var(--leaf-current-control-height)*2);
1200
1338
  padding: var(--leaf-component-textarea-padding, var(--leaf-spacing-sm) var(--leaf-density-field-padding));
@@ -1266,7 +1404,7 @@
1266
1404
  box-sizing: border-box;
1267
1405
  min-height: var(--leaf-current-control-height);
1268
1406
  max-width: 100%;
1269
- color: var(--leaf-color-text);
1407
+ color: var(--leaf-component-checkbox-color, var(--leaf-color-text));
1270
1408
  font-family: var(--leaf-font-family);
1271
1409
  font-size: var(--leaf-current-font-size);
1272
1410
  cursor: pointer;
@@ -1292,8 +1430,8 @@
1292
1430
 
1293
1431
  .leaf-checkbox__input {
1294
1432
  box-sizing: border-box;
1295
- border: 1px solid var(--leaf-color-border);
1296
- background: var(--leaf-color-surface);
1433
+ border: var(--leaf-component-checkbox-border-width, var(--leaf-border-width, 1px)) solid var(--leaf-component-checkbox-border-color, var(--leaf-frame-border-color, var(--leaf-color-border)));
1434
+ background: var(--leaf-component-checkbox-background, var(--leaf-color-surface));
1297
1435
  appearance: none;
1298
1436
  width: 18px;
1299
1437
  height: 18px;
@@ -1303,23 +1441,15 @@
1303
1441
  }
1304
1442
 
1305
1443
  .leaf-checkbox__input:checked, .leaf-checkbox__input:indeterminate {
1306
- border-color: var(--leaf-color-primary);
1307
- background: var(--leaf-color-primary);
1308
- }
1309
-
1310
- .leaf-checkbox__input:hover:not(:disabled) {
1311
- border-color: var(--leaf-color-primary);
1444
+ border-color: var(--leaf-frame-border-color, var(--leaf-color-primary-indicator, var(--leaf-color-primary)));
1445
+ background: var(--leaf-color-primary-indicator, var(--leaf-color-primary));
1312
1446
  }
1313
1447
 
1314
1448
  .leaf-checkbox__input:focus-visible {
1315
- outline: 3px solid var(--leaf-color-focus, var(--leaf-focus-color, var(--leaf-color-primary-alpha-42)));
1449
+ outline: 3px solid var(--leaf-color-focus, var(--leaf-focus-color, var(--leaf-color-primary-focus, var(--leaf-color-primary-alpha-42))));
1316
1450
  outline-offset: 2px;
1317
1451
  }
1318
1452
 
1319
- .leaf-checkbox:hover:not([data-disabled]) .leaf-checkbox__input {
1320
- border-color: var(--leaf-color-primary);
1321
- }
1322
-
1323
1453
  @media (prefers-reduced-motion: reduce) {
1324
1454
  .leaf-checkbox__input, .leaf-checkbox__mark {
1325
1455
  transition: none;
@@ -1392,11 +1522,11 @@
1392
1522
  width: 100%;
1393
1523
  min-height: calc(var(--leaf-current-control-height) + 24px);
1394
1524
  padding: var(--leaf-component-checkbox-padding, calc(var(--leaf-spacing) * 1.75));
1395
- border: 1px solid var(--leaf-component-checkbox-border-color, var(--leaf-color-border));
1525
+ border: var(--leaf-component-checkbox-border-width, var(--leaf-border-width, 1px)) solid var(--leaf-component-checkbox-border-color, var(--leaf-frame-border-color, var(--leaf-color-border)));
1396
1526
  border-radius: var(--leaf-component-checkbox-radius, var(--leaf-radius-md));
1397
1527
  color: var(--leaf-component-checkbox-color, var(--leaf-color-text));
1398
1528
  background: var(--leaf-component-checkbox-background, var(--leaf-color-surface));
1399
- box-shadow: var(--leaf-component-checkbox-shadow, none);
1529
+ box-shadow: var(--leaf-component-checkbox-shadow, var(--leaf-surface-shadow, none));
1400
1530
  transition: border-color var(--leaf-motion-duration) var(--leaf-motion-easing),background-color var(--leaf-motion-duration) var(--leaf-motion-easing),box-shadow var(--leaf-motion-duration) var(--leaf-motion-easing);
1401
1531
  }
1402
1532
 
@@ -1423,11 +1553,11 @@
1423
1553
  }
1424
1554
 
1425
1555
  :is(.leaf-checkbox--card:has(.leaf-checkbox__input:checked), .leaf-checkbox--card:has(.leaf-checkbox__input:indeterminate)) {
1426
- border-color: var(--leaf-color-primary);
1556
+ border-color: var(--leaf-color-primary-indicator, var(--leaf-color-primary));
1427
1557
  }
1428
1558
 
1429
1559
  .leaf-checkbox--card:has(.leaf-checkbox__input:focus-visible) {
1430
- outline: 3px solid var(--leaf-color-focus, var(--leaf-focus-color, var(--leaf-color-primary-alpha-42)));
1560
+ outline: 3px solid var(--leaf-color-focus, var(--leaf-focus-color, var(--leaf-color-primary-focus, var(--leaf-color-primary-alpha-42))));
1431
1561
  outline-offset: 2px;
1432
1562
  }
1433
1563
 
@@ -1552,7 +1682,7 @@
1552
1682
  }
1553
1683
 
1554
1684
  .leaf-checkbox-group--list .leaf-checkbox-group__options {
1555
- border: 1px solid var(--leaf-component-checkbox-border-color, var(--leaf-color-border));
1685
+ border: var(--leaf-component-checkbox-border-width, var(--leaf-border-width, 1px)) solid var(--leaf-component-checkbox-border-color, var(--leaf-frame-border-color, var(--leaf-color-border)));
1556
1686
  border-radius: var(--leaf-component-checkbox-radius, var(--leaf-radius-md));
1557
1687
  background: var(--leaf-component-checkbox-background, var(--leaf-color-surface));
1558
1688
  flex-direction: column;
@@ -1587,6 +1717,62 @@
1587
1717
  background: var(--leaf-color-surface-muted);
1588
1718
  }
1589
1719
 
1720
+ .leaf-checkbox:hover:not([data-disabled]):where(:not(:has(input:focus-visible))) {
1721
+ color: var(--leaf-component-checkbox-hover-color, var(--leaf-component-checkbox-color, var(--leaf-color-text)));
1722
+ }
1723
+
1724
+ .leaf-checkbox:active:not([data-disabled]) {
1725
+ color: var(--leaf-component-checkbox-active-color, var(--leaf-component-checkbox-color, var(--leaf-color-text)));
1726
+ }
1727
+
1728
+ .leaf-checkbox:where(:has(input:focus-visible)):not([data-disabled]) {
1729
+ color: var(--leaf-component-checkbox-focus-color, var(--leaf-component-checkbox-color, var(--leaf-color-text)));
1730
+ }
1731
+
1732
+ .leaf-checkbox[data-disabled] {
1733
+ color: var(--leaf-component-checkbox-disabled-color, var(--leaf-component-checkbox-color, var(--leaf-color-text)));
1734
+ }
1735
+
1736
+ .leaf-checkbox__input {
1737
+ --leaf-choice-background: var(--leaf-component-checkbox-background, var(--leaf-color-surface));
1738
+ --leaf-choice-border: var(--leaf-component-checkbox-border-color, var(--leaf-frame-border-color, var(--leaf-color-border)));
1739
+ --leaf-choice-shadow: var(--leaf-component-checkbox-shadow, var(--leaf-control-shadow, var(--leaf-shadow-xs)));
1740
+ box-shadow: var(--leaf-choice-shadow);
1741
+ }
1742
+
1743
+ .leaf-checkbox__input:checked, .leaf-checkbox__input:indeterminate {
1744
+ --leaf-choice-background: var(--leaf-color-primary-indicator, var(--leaf-color-primary));
1745
+ --leaf-choice-border: var(--leaf-frame-border-color, var(--leaf-color-primary-indicator, var(--leaf-color-primary)));
1746
+ }
1747
+
1748
+ .leaf-checkbox__input:focus-visible:not(:disabled) {
1749
+ color: var(--leaf-component-checkbox-focus-color, inherit);
1750
+ background: var(--leaf-component-checkbox-focus-background, var(--leaf-choice-background));
1751
+ border-color: var(--leaf-component-checkbox-focus-border-color, var(--leaf-choice-border));
1752
+ box-shadow: var(--leaf-component-checkbox-focus-shadow, var(--leaf-choice-shadow));
1753
+ }
1754
+
1755
+ .leaf-checkbox__input:disabled {
1756
+ color: var(--leaf-component-checkbox-disabled-color, inherit);
1757
+ background: var(--leaf-component-checkbox-disabled-background, var(--leaf-choice-background));
1758
+ border-color: var(--leaf-component-checkbox-disabled-border-color, var(--leaf-choice-border));
1759
+ box-shadow: var(--leaf-component-checkbox-disabled-shadow, var(--leaf-choice-shadow));
1760
+ }
1761
+
1762
+ .leaf-checkbox:hover:not([data-disabled]) .leaf-checkbox__input:not(:disabled):where(:not(:focus-visible)) {
1763
+ color: var(--leaf-component-checkbox-hover-color, inherit);
1764
+ background: var(--leaf-component-checkbox-hover-background, var(--leaf-choice-background));
1765
+ border-color: var(--leaf-component-checkbox-hover-border-color, var(--leaf-color-primary-indicator, var(--leaf-color-primary)));
1766
+ box-shadow: var(--leaf-component-checkbox-hover-shadow, var(--leaf-choice-shadow));
1767
+ }
1768
+
1769
+ .leaf-checkbox:active:not([data-disabled]) .leaf-checkbox__input:not(:disabled) {
1770
+ color: var(--leaf-component-checkbox-active-color, inherit);
1771
+ background: var(--leaf-component-checkbox-active-background, var(--leaf-choice-background));
1772
+ border-color: var(--leaf-component-checkbox-active-border-color, var(--leaf-color-primary-indicator, var(--leaf-color-primary)));
1773
+ box-shadow: var(--leaf-component-checkbox-active-shadow, var(--leaf-choice-shadow));
1774
+ }
1775
+
1590
1776
  .leaf-radio {
1591
1777
  --leaf-current-font-size: var(--leaf-font-size);
1592
1778
  --leaf-current-control-height: var(--leaf-control-height, 36px);
@@ -1606,7 +1792,7 @@
1606
1792
  box-sizing: border-box;
1607
1793
  min-height: var(--leaf-current-control-height);
1608
1794
  max-width: 100%;
1609
- color: var(--leaf-color-text);
1795
+ color: var(--leaf-component-radio-color, var(--leaf-color-text));
1610
1796
  font-family: var(--leaf-font-family);
1611
1797
  font-size: var(--leaf-current-font-size);
1612
1798
  cursor: pointer;
@@ -1632,8 +1818,8 @@
1632
1818
 
1633
1819
  .leaf-radio__input {
1634
1820
  box-sizing: border-box;
1635
- border: 1px solid var(--leaf-color-border);
1636
- background: var(--leaf-color-surface);
1821
+ border: var(--leaf-component-radio-border-width, var(--leaf-border-width, 1px)) solid var(--leaf-component-radio-border-color, var(--leaf-frame-border-color, var(--leaf-color-border)));
1822
+ background: var(--leaf-component-radio-background, var(--leaf-color-surface));
1637
1823
  appearance: none;
1638
1824
  width: 18px;
1639
1825
  height: 18px;
@@ -1643,23 +1829,15 @@
1643
1829
  }
1644
1830
 
1645
1831
  .leaf-radio__input:checked, .leaf-radio__input:indeterminate {
1646
- border-color: var(--leaf-color-primary);
1647
- background: var(--leaf-color-primary);
1648
- }
1649
-
1650
- .leaf-radio__input:hover:not(:disabled) {
1651
- border-color: var(--leaf-color-primary);
1832
+ border-color: var(--leaf-frame-border-color, var(--leaf-color-primary-indicator, var(--leaf-color-primary)));
1833
+ background: var(--leaf-color-primary-indicator, var(--leaf-color-primary));
1652
1834
  }
1653
1835
 
1654
1836
  .leaf-radio__input:focus-visible {
1655
- outline: 3px solid var(--leaf-color-focus, var(--leaf-focus-color, var(--leaf-color-primary-alpha-42)));
1837
+ outline: 3px solid var(--leaf-color-focus, var(--leaf-focus-color, var(--leaf-color-primary-focus, var(--leaf-color-primary-alpha-42))));
1656
1838
  outline-offset: 2px;
1657
1839
  }
1658
1840
 
1659
- .leaf-radio:hover:not([data-disabled]) .leaf-radio__input {
1660
- border-color: var(--leaf-color-primary);
1661
- }
1662
-
1663
1841
  @media (prefers-reduced-motion: reduce) {
1664
1842
  .leaf-radio__input, .leaf-radio__mark {
1665
1843
  transition: none;
@@ -1732,11 +1910,11 @@
1732
1910
  width: 100%;
1733
1911
  min-height: calc(var(--leaf-current-control-height) + 24px);
1734
1912
  padding: var(--leaf-component-radio-padding, calc(var(--leaf-spacing) * 1.75));
1735
- border: 1px solid var(--leaf-component-radio-border-color, var(--leaf-color-border));
1913
+ border: var(--leaf-component-radio-border-width, var(--leaf-border-width, 1px)) solid var(--leaf-component-radio-border-color, var(--leaf-frame-border-color, var(--leaf-color-border)));
1736
1914
  border-radius: var(--leaf-component-radio-radius, var(--leaf-radius-md));
1737
1915
  color: var(--leaf-component-radio-color, var(--leaf-color-text));
1738
1916
  background: var(--leaf-component-radio-background, var(--leaf-color-surface));
1739
- box-shadow: var(--leaf-component-radio-shadow, none);
1917
+ box-shadow: var(--leaf-component-radio-shadow, var(--leaf-surface-shadow, none));
1740
1918
  transition: border-color var(--leaf-motion-duration) var(--leaf-motion-easing),background-color var(--leaf-motion-duration) var(--leaf-motion-easing),box-shadow var(--leaf-motion-duration) var(--leaf-motion-easing);
1741
1919
  }
1742
1920
 
@@ -1763,11 +1941,11 @@
1763
1941
  }
1764
1942
 
1765
1943
  :is(.leaf-radio--card:has(.leaf-radio__input:checked), .leaf-radio--card:has(.leaf-radio__input:indeterminate)) {
1766
- border-color: var(--leaf-color-primary);
1944
+ border-color: var(--leaf-color-primary-indicator, var(--leaf-color-primary));
1767
1945
  }
1768
1946
 
1769
1947
  .leaf-radio--card:has(.leaf-radio__input:focus-visible) {
1770
- outline: 3px solid var(--leaf-color-focus, var(--leaf-focus-color, var(--leaf-color-primary-alpha-42)));
1948
+ outline: 3px solid var(--leaf-color-focus, var(--leaf-focus-color, var(--leaf-color-primary-focus, var(--leaf-color-primary-alpha-42))));
1771
1949
  outline-offset: 2px;
1772
1950
  }
1773
1951
 
@@ -1873,7 +2051,7 @@
1873
2051
  }
1874
2052
 
1875
2053
  .leaf-radio-group--list .leaf-radio-group__options {
1876
- border: 1px solid var(--leaf-component-radio-border-color, var(--leaf-color-border));
2054
+ border: var(--leaf-component-radio-border-width, var(--leaf-border-width, 1px)) solid var(--leaf-component-radio-border-color, var(--leaf-frame-border-color, var(--leaf-color-border)));
1877
2055
  border-radius: var(--leaf-component-radio-radius, var(--leaf-radius-md));
1878
2056
  background: var(--leaf-component-radio-background, var(--leaf-color-surface));
1879
2057
  flex-direction: column;
@@ -1908,6 +2086,62 @@
1908
2086
  background: var(--leaf-color-surface-muted);
1909
2087
  }
1910
2088
 
2089
+ .leaf-radio:hover:not([data-disabled]):where(:not(:has(input:focus-visible))) {
2090
+ color: var(--leaf-component-radio-hover-color, var(--leaf-component-radio-color, var(--leaf-color-text)));
2091
+ }
2092
+
2093
+ .leaf-radio:active:not([data-disabled]) {
2094
+ color: var(--leaf-component-radio-active-color, var(--leaf-component-radio-color, var(--leaf-color-text)));
2095
+ }
2096
+
2097
+ .leaf-radio:where(:has(input:focus-visible)):not([data-disabled]) {
2098
+ color: var(--leaf-component-radio-focus-color, var(--leaf-component-radio-color, var(--leaf-color-text)));
2099
+ }
2100
+
2101
+ .leaf-radio[data-disabled] {
2102
+ color: var(--leaf-component-radio-disabled-color, var(--leaf-component-radio-color, var(--leaf-color-text)));
2103
+ }
2104
+
2105
+ .leaf-radio__input {
2106
+ --leaf-choice-background: var(--leaf-component-radio-background, var(--leaf-color-surface));
2107
+ --leaf-choice-border: var(--leaf-component-radio-border-color, var(--leaf-frame-border-color, var(--leaf-color-border)));
2108
+ --leaf-choice-shadow: var(--leaf-component-radio-shadow, var(--leaf-control-shadow, var(--leaf-shadow-xs)));
2109
+ box-shadow: var(--leaf-choice-shadow);
2110
+ }
2111
+
2112
+ .leaf-radio__input:checked, .leaf-radio__input:indeterminate {
2113
+ --leaf-choice-background: var(--leaf-color-primary-indicator, var(--leaf-color-primary));
2114
+ --leaf-choice-border: var(--leaf-frame-border-color, var(--leaf-color-primary-indicator, var(--leaf-color-primary)));
2115
+ }
2116
+
2117
+ .leaf-radio__input:focus-visible:not(:disabled) {
2118
+ color: var(--leaf-component-radio-focus-color, inherit);
2119
+ background: var(--leaf-component-radio-focus-background, var(--leaf-choice-background));
2120
+ border-color: var(--leaf-component-radio-focus-border-color, var(--leaf-choice-border));
2121
+ box-shadow: var(--leaf-component-radio-focus-shadow, var(--leaf-choice-shadow));
2122
+ }
2123
+
2124
+ .leaf-radio__input:disabled {
2125
+ color: var(--leaf-component-radio-disabled-color, inherit);
2126
+ background: var(--leaf-component-radio-disabled-background, var(--leaf-choice-background));
2127
+ border-color: var(--leaf-component-radio-disabled-border-color, var(--leaf-choice-border));
2128
+ box-shadow: var(--leaf-component-radio-disabled-shadow, var(--leaf-choice-shadow));
2129
+ }
2130
+
2131
+ .leaf-radio:hover:not([data-disabled]) .leaf-radio__input:not(:disabled):where(:not(:focus-visible)) {
2132
+ color: var(--leaf-component-radio-hover-color, inherit);
2133
+ background: var(--leaf-component-radio-hover-background, var(--leaf-choice-background));
2134
+ border-color: var(--leaf-component-radio-hover-border-color, var(--leaf-color-primary-indicator, var(--leaf-color-primary)));
2135
+ box-shadow: var(--leaf-component-radio-hover-shadow, var(--leaf-choice-shadow));
2136
+ }
2137
+
2138
+ .leaf-radio:active:not([data-disabled]) .leaf-radio__input:not(:disabled) {
2139
+ color: var(--leaf-component-radio-active-color, inherit);
2140
+ background: var(--leaf-component-radio-active-background, var(--leaf-choice-background));
2141
+ border-color: var(--leaf-component-radio-active-border-color, var(--leaf-color-primary-indicator, var(--leaf-color-primary)));
2142
+ box-shadow: var(--leaf-component-radio-active-shadow, var(--leaf-choice-shadow));
2143
+ }
2144
+
1911
2145
  .leaf-switch {
1912
2146
  --leaf-current-font-size: var(--leaf-font-size);
1913
2147
  --leaf-current-control-height: var(--leaf-control-height, 36px);
@@ -1927,7 +2161,7 @@
1927
2161
  box-sizing: border-box;
1928
2162
  min-height: var(--leaf-current-control-height);
1929
2163
  max-width: 100%;
1930
- color: var(--leaf-color-text);
2164
+ color: var(--leaf-component-switch-color, var(--leaf-color-text));
1931
2165
  font-family: var(--leaf-font-family);
1932
2166
  font-size: var(--leaf-current-font-size);
1933
2167
  cursor: pointer;
@@ -1953,8 +2187,8 @@
1953
2187
 
1954
2188
  .leaf-switch__input {
1955
2189
  box-sizing: border-box;
1956
- border: 1px solid var(--leaf-color-border);
1957
- background: var(--leaf-color-surface);
2190
+ border: var(--leaf-component-switch-border-width, var(--leaf-border-width, 1px)) solid var(--leaf-component-switch-border-color, var(--leaf-frame-border-color, var(--leaf-color-border)));
2191
+ background: var(--leaf-component-switch-background, var(--leaf-color-surface));
1958
2192
  appearance: none;
1959
2193
  width: 18px;
1960
2194
  height: 18px;
@@ -1964,23 +2198,15 @@
1964
2198
  }
1965
2199
 
1966
2200
  .leaf-switch__input:checked, .leaf-switch__input:indeterminate {
1967
- border-color: var(--leaf-color-primary);
1968
- background: var(--leaf-color-primary);
1969
- }
1970
-
1971
- .leaf-switch__input:hover:not(:disabled) {
1972
- border-color: var(--leaf-color-primary);
2201
+ border-color: var(--leaf-frame-border-color, var(--leaf-color-primary-indicator, var(--leaf-color-primary)));
2202
+ background: var(--leaf-color-primary-indicator, var(--leaf-color-primary));
1973
2203
  }
1974
2204
 
1975
2205
  .leaf-switch__input:focus-visible {
1976
- outline: 3px solid var(--leaf-color-focus, var(--leaf-focus-color, var(--leaf-color-primary-alpha-42)));
2206
+ outline: 3px solid var(--leaf-color-focus, var(--leaf-focus-color, var(--leaf-color-primary-focus, var(--leaf-color-primary-alpha-42))));
1977
2207
  outline-offset: 2px;
1978
2208
  }
1979
2209
 
1980
- .leaf-switch:hover:not([data-disabled]) .leaf-switch__input {
1981
- border-color: var(--leaf-color-primary);
1982
- }
1983
-
1984
2210
  @media (prefers-reduced-motion: reduce) {
1985
2211
  .leaf-switch__input, .leaf-switch__mark {
1986
2212
  transition: none;
@@ -1998,7 +2224,24 @@
1998
2224
  }
1999
2225
  }
2000
2226
 
2227
+ .leaf-switch:hover:not([data-disabled]):where(:not(:has(input:focus-visible))) {
2228
+ color: var(--leaf-component-switch-hover-color, var(--leaf-component-switch-color, var(--leaf-color-text)));
2229
+ }
2230
+
2231
+ .leaf-switch:active:not([data-disabled]) {
2232
+ color: var(--leaf-component-switch-active-color, var(--leaf-component-switch-color, var(--leaf-color-text)));
2233
+ }
2234
+
2235
+ .leaf-switch:where(:has(input:focus-visible)):not([data-disabled]) {
2236
+ color: var(--leaf-component-switch-focus-color, var(--leaf-component-switch-color, var(--leaf-color-text)));
2237
+ }
2238
+
2239
+ .leaf-switch[data-disabled] {
2240
+ color: var(--leaf-component-switch-disabled-color, var(--leaf-component-switch-color, var(--leaf-color-text)));
2241
+ }
2242
+
2001
2243
  .leaf-switch {
2244
+ --leaf-switch-border-width: var(--leaf-component-switch-border-width, var(--leaf-border-width, 1px));
2002
2245
  --leaf-switch-width: 36px;
2003
2246
  --leaf-switch-height: 20px;
2004
2247
  --leaf-switch-thumb: 14px;
@@ -2043,15 +2286,18 @@
2043
2286
 
2044
2287
  .leaf-switch__track {
2045
2288
  box-sizing: border-box;
2046
- background: var(--leaf-color-text-subtle-surface-muted-38);
2047
- pointer-events: none;
2048
2289
  width: 100%;
2049
2290
  height: 100%;
2291
+ padding: max(0px,3px - var(--leaf-switch-border-width));
2292
+ border: var(--leaf-switch-border-width) solid var(--leaf-component-switch-border-color, var(--leaf-frame-border-color, transparent));
2293
+ --leaf-switch-track-background: var(--leaf-component-switch-background, var(--leaf-color-text-subtle-surface-muted-38));
2294
+ --leaf-switch-track-shadow: var(--leaf-component-switch-shadow, var(--leaf-control-shadow, inset 0 1px 2px #00000014));
2295
+ background: var(--leaf-switch-track-background);
2296
+ box-shadow: var(--leaf-switch-track-shadow);
2297
+ pointer-events: none;
2050
2298
  transition: background-color var(--leaf-motion-duration) var(--leaf-motion-easing),box-shadow var(--leaf-motion-duration) var(--leaf-motion-easing);
2051
2299
  border-radius: 999px;
2052
- padding: 3px;
2053
2300
  display: block;
2054
- box-shadow: inset 0 1px 2px #00000014;
2055
2301
  }
2056
2302
 
2057
2303
  .leaf-switch__thumb {
@@ -2068,7 +2314,8 @@
2068
2314
  }
2069
2315
 
2070
2316
  .leaf-switch__input:checked + .leaf-switch__track {
2071
- background: var(--leaf-color-primary);
2317
+ --leaf-switch-track-background: var(--leaf-color-primary-indicator, var(--leaf-color-primary));
2318
+ background: var(--leaf-switch-track-background);
2072
2319
  }
2073
2320
 
2074
2321
  .leaf-switch__input:checked + .leaf-switch__track .leaf-switch__thumb {
@@ -2084,15 +2331,39 @@
2084
2331
  transform: translateX(calc((var(--leaf-switch-width) - var(--leaf-switch-height) - 4px) * var(--leaf-switch-direction)));
2085
2332
  }
2086
2333
 
2087
- .leaf-switch:hover:not([data-disabled]) .leaf-switch__track {
2088
- box-shadow: inset 0 1px 2px #00000014,0 0 0 3px var(--leaf-color-primary-alpha-8);
2089
- }
2090
-
2091
2334
  .leaf-switch__input:focus-visible + .leaf-switch__track {
2092
- outline: 3px solid var(--leaf-color-focus, var(--leaf-focus-color, var(--leaf-color-primary-alpha-42)));
2335
+ outline: 3px solid var(--leaf-color-focus, var(--leaf-focus-color, var(--leaf-color-primary-focus, var(--leaf-color-primary-alpha-42))));
2093
2336
  outline-offset: 2px;
2094
2337
  }
2095
2338
 
2339
+ .leaf-switch__input:focus-visible:not(:disabled) + .leaf-switch__track {
2340
+ color: var(--leaf-component-switch-focus-color, inherit);
2341
+ background: var(--leaf-component-switch-focus-background, var(--leaf-switch-track-background));
2342
+ border-color: var(--leaf-component-switch-focus-border-color, var(--leaf-component-switch-border-color, var(--leaf-frame-border-color, transparent)));
2343
+ box-shadow: var(--leaf-component-switch-focus-shadow, var(--leaf-switch-track-shadow));
2344
+ }
2345
+
2346
+ .leaf-switch:hover:not([data-disabled]):where(:not(:has(input:focus-visible))) .leaf-switch__track {
2347
+ color: var(--leaf-component-switch-hover-color, inherit);
2348
+ background: var(--leaf-component-switch-hover-background, var(--leaf-switch-track-background));
2349
+ border-color: var(--leaf-component-switch-hover-border-color, var(--leaf-component-switch-border-color, var(--leaf-frame-border-color, transparent)));
2350
+ box-shadow: var(--leaf-component-switch-hover-shadow, var(--leaf-component-switch-shadow, var(--leaf-control-shadow, inset 0 1px 2px #00000014, 0 0 0 3px var(--leaf-color-primary-alpha-8))));
2351
+ }
2352
+
2353
+ .leaf-switch:active:not([data-disabled]) .leaf-switch__track {
2354
+ color: var(--leaf-component-switch-active-color, inherit);
2355
+ background: var(--leaf-component-switch-active-background, var(--leaf-switch-track-background));
2356
+ border-color: var(--leaf-component-switch-active-border-color, var(--leaf-component-switch-border-color, var(--leaf-frame-border-color, transparent)));
2357
+ box-shadow: var(--leaf-component-switch-active-shadow, var(--leaf-switch-track-shadow));
2358
+ }
2359
+
2360
+ .leaf-switch[data-disabled] .leaf-switch__track {
2361
+ color: var(--leaf-component-switch-disabled-color, inherit);
2362
+ background: var(--leaf-component-switch-disabled-background, var(--leaf-switch-track-background));
2363
+ border-color: var(--leaf-component-switch-disabled-border-color, var(--leaf-component-switch-border-color, var(--leaf-frame-border-color, transparent)));
2364
+ box-shadow: var(--leaf-component-switch-disabled-shadow, var(--leaf-switch-track-shadow));
2365
+ }
2366
+
2096
2367
  .leaf-switch__spinner {
2097
2368
  width: 10px;
2098
2369
  height: 10px;
@@ -2111,16 +2382,16 @@
2111
2382
  }
2112
2383
 
2113
2384
  @media (forced-colors: active) {
2114
- .leaf-switch__track {
2385
+ .leaf-switch .leaf-switch__control > .leaf-switch__input + .leaf-switch__track {
2115
2386
  background: canvas;
2116
- border: 1px solid buttontext;
2387
+ border-color: buttontext;
2117
2388
  }
2118
2389
 
2119
2390
  .leaf-switch__thumb {
2120
2391
  background: buttontext;
2121
2392
  }
2122
2393
 
2123
- .leaf-switch__input:checked + .leaf-switch__track {
2394
+ .leaf-switch .leaf-switch__control > .leaf-switch__input:checked + .leaf-switch__track {
2124
2395
  background: highlight;
2125
2396
  }
2126
2397
 
@@ -2140,6 +2411,7 @@
2140
2411
  }
2141
2412
 
2142
2413
  .leaf-picker-clear {
2414
+ inset-inline-end: 8px;
2143
2415
  width: 18px;
2144
2416
  height: 18px;
2145
2417
  color: var(--leaf-color-text-muted);
@@ -2154,7 +2426,6 @@
2154
2426
  display: inline-flex;
2155
2427
  position: absolute;
2156
2428
  top: 50%;
2157
- right: 8px;
2158
2429
  transform: translateY(-50%);
2159
2430
  }
2160
2431
 
@@ -2164,20 +2435,20 @@
2164
2435
  }
2165
2436
 
2166
2437
  .leaf-picker-clear:focus-visible {
2167
- outline: 2px solid var(--leaf-color-primary);
2438
+ outline: 2px solid var(--leaf-color-primary-indicator, var(--leaf-color-primary));
2168
2439
  outline-offset: 2px;
2169
2440
  }
2170
2441
 
2171
2442
  .leaf-picker-clear--before-arrow {
2172
- right: 30px;
2443
+ inset-inline-end: 30px;
2173
2444
  }
2174
2445
 
2175
2446
  .leaf-date-picker[data-clearable] > .leaf-date-picker__trigger {
2176
- padding-right: 34px;
2447
+ padding-inline-end: 34px;
2177
2448
  }
2178
2449
 
2179
2450
  .leaf-select[data-clearable] > .leaf-select__trigger > span, .leaf-time-picker[data-clearable] > .leaf-time-picker__trigger > span, .leaf-cascader[data-clearable] > .leaf-cascader__trigger > span {
2180
- margin-right: 24px;
2451
+ margin-inline-end: 24px;
2181
2452
  }
2182
2453
 
2183
2454
  @media (prefers-reduced-motion: reduce) {
@@ -2205,7 +2476,7 @@
2205
2476
  box-sizing: border-box;
2206
2477
  min-width: 0;
2207
2478
  max-width: 100%;
2208
- height: calc(var(--leaf-current-control-height) - 8px);
2479
+ height: max(1px,var(--leaf-current-control-height) - 6px - 2*var(--leaf-field-border-width, var(--leaf-border-width, 1px)));
2209
2480
  border-radius: var(--leaf-radius-sm);
2210
2481
  background: var(--leaf-color-surface-muted);
2211
2482
  box-shadow: inset 0 0 0 1px var(--leaf-color-divider);
@@ -2324,18 +2595,23 @@
2324
2595
  }
2325
2596
 
2326
2597
  .leaf-select {
2327
- --leaf-field-color: var(--leaf-color-primary);
2598
+ --leaf-field-color: var(--leaf-color-primary-indicator, var(--leaf-color-primary));
2328
2599
  --leaf-field-color-alpha-12: var(--leaf-color-primary-alpha-12);
2329
2600
  --leaf-field-color-border-30: var(--leaf-color-primary-border-30);
2330
2601
  --leaf-field-hover-color: var(--leaf-color-border-hover, var(--leaf-field-color));
2602
+ --leaf-field-border-width: var(--leaf-component-select-border-width, var(--leaf-border-width, 1px));
2603
+ --leaf-field-text: var(--leaf-component-select-color, var(--leaf-color-text));
2604
+ --leaf-field-rest-border: var(--leaf-component-select-border-color, var(--leaf-frame-border-color, var(--leaf-color-border)));
2605
+ --leaf-field-background: var(--leaf-component-select-background, var(--leaf-color-surface));
2606
+ --leaf-field-shadow: var(--leaf-component-select-shadow, var(--leaf-control-shadow, 0 0 0 0 transparent));
2331
2607
  box-sizing: border-box;
2332
- border: 1px solid var(--leaf-color-border);
2608
+ border: var(--leaf-field-border-width) solid var(--leaf-component-select-border-color, var(--leaf-frame-border-color, var(--leaf-color-border)));
2333
2609
  border-radius: var(--leaf-component-select-radius, var(--leaf-radius));
2334
2610
  width: 100%;
2335
2611
  min-width: 0;
2336
2612
  color: var(--leaf-component-select-color, var(--leaf-color-text));
2337
2613
  background: var(--leaf-component-select-background, var(--leaf-color-surface));
2338
- box-shadow: var(--leaf-component-select-shadow, none);
2614
+ box-shadow: var(--leaf-field-shadow);
2339
2615
  font-family: var(--leaf-font-family);
2340
2616
  font-size: var(--leaf-component-select-font-size, var(--leaf-current-font-size));
2341
2617
  line-height: var(--leaf-line-height, 1.5);
@@ -2343,6 +2619,7 @@
2343
2619
  }
2344
2620
 
2345
2621
  .leaf-select[data-status="error"] {
2622
+ --leaf-field-rest-border: var(--leaf-field-color);
2346
2623
  --leaf-field-color: var(--leaf-color-danger);
2347
2624
  --leaf-field-color-alpha-12: var(--leaf-color-danger-alpha-12);
2348
2625
  --leaf-field-color-border-30: var(--leaf-color-danger-border-30);
@@ -2351,6 +2628,7 @@
2351
2628
  }
2352
2629
 
2353
2630
  .leaf-select[data-status="warning"] {
2631
+ --leaf-field-rest-border: var(--leaf-field-color);
2354
2632
  --leaf-field-color: var(--leaf-color-warning);
2355
2633
  --leaf-field-color-alpha-12: var(--leaf-color-warning-alpha-12);
2356
2634
  --leaf-field-color-border-30: var(--leaf-color-warning-border-30);
@@ -2358,33 +2636,53 @@
2358
2636
  border-color: var(--leaf-field-color);
2359
2637
  }
2360
2638
 
2361
- .leaf-select:hover:not([data-disabled]):not(:disabled):not(:focus-within):not([data-open]) {
2362
- border-color: var(--leaf-field-hover-color);
2639
+ .leaf-select[data-disabled], .leaf-select:disabled {
2640
+ opacity: .55;
2641
+ cursor: not-allowed;
2363
2642
  }
2364
2643
 
2365
- .leaf-select:focus-within, .leaf-select[data-open] {
2366
- border-color: var(--leaf-field-color);
2367
- box-shadow: 0 0 0 3px var(--leaf-field-color-alpha-12);
2644
+ .leaf-select:hover:not([data-disabled]):not(:disabled):where(:not(:focus-within):not([data-open])) {
2645
+ color: var(--leaf-component-select-hover-color, var(--leaf-field-text));
2646
+ background: var(--leaf-component-select-hover-background, var(--leaf-field-background));
2647
+ border-color: var(--leaf-component-select-hover-border-color, var(--leaf-field-hover-color));
2648
+ box-shadow: var(--leaf-component-select-hover-shadow, var(--leaf-field-shadow));
2368
2649
  }
2369
2650
 
2370
- .leaf-select[data-disabled], .leaf-select:disabled {
2371
- background: var(--leaf-color-surface-muted);
2372
- opacity: .55;
2373
- cursor: not-allowed;
2651
+ .leaf-select:is(:focus-within, [data-open]):not([data-disabled]):not(:disabled) {
2652
+ color: var(--leaf-component-select-focus-color, var(--leaf-field-text));
2653
+ background: var(--leaf-component-select-focus-background, var(--leaf-field-background));
2654
+ border-color: var(--leaf-component-select-focus-border-color, var(--leaf-field-color));
2655
+ box-shadow: var(--leaf-component-select-focus-shadow, var(--leaf-field-shadow));
2656
+ outline: 3px solid var(--leaf-color-focus, var(--leaf-field-color-alpha-12));
2657
+ outline-offset: 0;
2374
2658
  }
2375
2659
 
2376
- @media (prefers-reduced-motion: reduce) {
2377
- .leaf-select {
2378
- transition: none;
2379
- }
2660
+ .leaf-select:active:not([data-disabled]):not(:disabled) {
2661
+ color: var(--leaf-component-select-active-color, var(--leaf-field-text));
2662
+ background: var(--leaf-component-select-active-background, var(--leaf-field-background));
2663
+ border-color: var(--leaf-component-select-active-border-color, var(--leaf-field-hover-color));
2664
+ box-shadow: var(--leaf-component-select-active-shadow, var(--leaf-field-shadow));
2665
+ }
2666
+
2667
+ .leaf-select[data-disabled], .leaf-select:disabled {
2668
+ color: var(--leaf-component-select-disabled-color, var(--leaf-field-text));
2669
+ background: var(--leaf-component-select-disabled-background, var(--leaf-color-surface-muted));
2670
+ border-color: var(--leaf-component-select-disabled-border-color, var(--leaf-field-rest-border));
2671
+ box-shadow: var(--leaf-component-select-disabled-shadow, var(--leaf-field-shadow));
2380
2672
  }
2381
2673
 
2382
2674
  @media (forced-colors: active) {
2383
- .leaf-select:focus-within {
2675
+ .leaf-select:is(:focus-within, [data-open]):not([data-disabled]):not(:disabled) {
2384
2676
  outline: 2px solid highlight;
2385
2677
  }
2386
2678
  }
2387
2679
 
2680
+ @media (prefers-reduced-motion: reduce) {
2681
+ .leaf-select {
2682
+ transition: none;
2683
+ }
2684
+ }
2685
+
2388
2686
  .leaf-select {
2389
2687
  min-height: var(--leaf-current-control-height);
2390
2688
  padding: var(--leaf-component-select-padding, 0 30px 0 var(--leaf-density-field-padding));
@@ -2398,11 +2696,6 @@
2398
2696
  cursor: text;
2399
2697
  }
2400
2698
 
2401
- .leaf-select[data-open] {
2402
- border-color: var(--leaf-field-color);
2403
- box-shadow: 0 0 0 3px var(--leaf-field-color-alpha-12);
2404
- }
2405
-
2406
2699
  .leaf-select[data-disabled] {
2407
2700
  cursor: not-allowed;
2408
2701
  }
@@ -2421,7 +2714,7 @@
2421
2714
  box-sizing: border-box;
2422
2715
  width: 100%;
2423
2716
  min-width: 0;
2424
- height: calc(var(--leaf-current-control-height) - 2px);
2717
+ height: calc(var(--leaf-current-control-height) - 2*var(--leaf-field-border-width));
2425
2718
  border-radius: inherit;
2426
2719
  color: inherit;
2427
2720
  font: inherit;
@@ -2517,12 +2810,16 @@
2517
2810
  }
2518
2811
 
2519
2812
  .leaf-select--multiple {
2520
- padding-top: 3px;
2521
- padding-bottom: 3px;
2813
+ padding-block: var(--leaf-component-select-padding-top, 3px) var(--leaf-component-select-padding-bottom, 3px);
2814
+ padding-inline: var(--leaf-component-select-padding-left, 3px) var(--leaf-component-select-padding-right, 30px);
2815
+ }
2816
+
2817
+ .leaf-select--multiple:where([dir="rtl"]) {
2818
+ padding-inline: var(--leaf-component-select-padding-right, 3px) var(--leaf-component-select-padding-left, 30px);
2522
2819
  }
2523
2820
 
2524
2821
  .leaf-select--multiple .leaf-select__input {
2525
- height: calc(var(--leaf-current-control-height) - 8px);
2822
+ height: max(1px,var(--leaf-current-control-height) - 6px - 2*var(--leaf-field-border-width, var(--leaf-border-width, 1px)));
2526
2823
  min-width: 0;
2527
2824
  }
2528
2825
 
@@ -2567,7 +2864,15 @@
2567
2864
  --leaf-current-font-size: var(--leaf-font-size-lg);
2568
2865
  }
2569
2866
 
2570
- .leaf-menu, .leaf-segmented, .leaf-color-picker__formats, .leaf-tabs--card .leaf-tabs__list, .leaf-floating {
2867
+ .leaf-select__panel {
2868
+ --leaf-surface-border: var(--leaf-component-select-border-width, var(--leaf-component-floating-border-width, var(--leaf-border-width, 1px)));
2869
+ border-color: var(--leaf-component-select-border-color, var(--leaf-component-floating-border-color, var(--leaf-frame-border-color, var(--leaf-color-border))));
2870
+ color: var(--leaf-component-select-color, var(--leaf-component-floating-color, var(--leaf-color-text)));
2871
+ background: var(--leaf-component-select-background, var(--leaf-component-floating-background, var(--leaf-color-surface-raised, var(--leaf-color-surface))));
2872
+ box-shadow: var(--leaf-component-select-shadow, var(--leaf-component-floating-shadow, var(--leaf-surface-shadow, var(--leaf-shadow-md))));
2873
+ }
2874
+
2875
+ .leaf-menu, .leaf-color-picker__formats, .leaf-tabs--card .leaf-tabs__list, .leaf-floating {
2571
2876
  --leaf-surface-inner-top: max(0px, var(--leaf-surface-radius) - var(--leaf-surface-padding-top) - var(--leaf-surface-border));
2572
2877
  --leaf-surface-inner-right: max(0px, var(--leaf-surface-radius) - var(--leaf-surface-padding-right) - var(--leaf-surface-border));
2573
2878
  --leaf-surface-inner-bottom: max(0px, var(--leaf-surface-radius) - var(--leaf-surface-padding-bottom) - var(--leaf-surface-border));
@@ -2580,7 +2885,7 @@
2580
2885
  .leaf-floating {
2581
2886
  --leaf-surface-radius: var(--leaf-component-floating-radius, var(--leaf-radius-lg));
2582
2887
  --leaf-surface-padding: var(--leaf-component-floating-padding, 6px);
2583
- --leaf-surface-border: 1px;
2888
+ --leaf-surface-border: var(--leaf-component-floating-border-width, var(--leaf-border-width, 1px));
2584
2889
  --leaf-surface-padding-top: var(--leaf-component-floating-padding-top, var(--leaf-surface-padding));
2585
2890
  --leaf-surface-padding-right: var(--leaf-component-floating-padding-right, var(--leaf-surface-padding));
2586
2891
  --leaf-surface-padding-bottom: var(--leaf-component-floating-padding-bottom, var(--leaf-surface-padding));
@@ -2592,14 +2897,14 @@
2592
2897
  --leaf-popup-origin-y: top;
2593
2898
  box-sizing: border-box;
2594
2899
  z-index: var(--leaf-z-index-popup, 1000);
2595
- border: var(--leaf-surface-border) solid var(--leaf-color-border);
2900
+ border: var(--leaf-surface-border) solid var(--leaf-component-floating-border-color, var(--leaf-frame-border-color, var(--leaf-color-border)));
2596
2901
  max-width: min(420px, 100vw - 24px);
2597
2902
  max-height: min(360px, 100vh - 32px);
2598
- color: var(--leaf-color-text);
2903
+ color: var(--leaf-component-floating-color, var(--leaf-color-text));
2599
2904
  font-family: var(--leaf-font-family);
2600
2905
  font-size: var(--leaf-font-size);
2601
- background: var(--leaf-color-surface-raised, var(--leaf-color-surface));
2602
- box-shadow: var(--leaf-shadow-md);
2906
+ background: var(--leaf-component-floating-background, var(--leaf-color-surface-raised, var(--leaf-color-surface)));
2907
+ box-shadow: var(--leaf-component-floating-shadow, var(--leaf-surface-shadow, var(--leaf-shadow-md)));
2603
2908
  overscroll-behavior: contain;
2604
2909
  opacity: 1;
2605
2910
  transform-origin: var(--leaf-popup-origin-x) var(--leaf-popup-origin-y);
@@ -2663,6 +2968,19 @@
2663
2968
  }
2664
2969
  }
2665
2970
 
2971
+ .leaf-floating.leaf-scrollbar {
2972
+ border-radius: var(--leaf-surface-radius);
2973
+ width: auto;
2974
+ overflow: hidden;
2975
+ }
2976
+
2977
+ .leaf-floating > .leaf-floating__viewport {
2978
+ box-sizing: border-box;
2979
+ border-radius: var(--leaf-surface-inner-radius);
2980
+ overscroll-behavior: contain;
2981
+ position: relative;
2982
+ }
2983
+
2666
2984
  .leaf-form-value {
2667
2985
  clip-path: inset(50%);
2668
2986
  opacity: 0;
@@ -2703,7 +3021,7 @@
2703
3021
  }
2704
3022
 
2705
3023
  .leaf-floating__option[aria-selected="true"] {
2706
- color: var(--leaf-color-primary);
3024
+ color: var(--leaf-color-primary-ink, var(--leaf-color-primary));
2707
3025
  font-weight: var(--leaf-font-weight);
2708
3026
  background: var(--leaf-color-primary-surface-9);
2709
3027
  }
@@ -2715,7 +3033,7 @@
2715
3033
  }
2716
3034
 
2717
3035
  .leaf-floating__option:focus-visible {
2718
- outline: 2px solid var(--leaf-color-primary);
3036
+ outline: 2px solid var(--leaf-color-primary-indicator, var(--leaf-color-primary));
2719
3037
  outline-offset: -2px;
2720
3038
  }
2721
3039
 
@@ -2818,7 +3136,7 @@
2818
3136
  }
2819
3137
 
2820
3138
  .leaf-floating__loading-icon {
2821
- color: var(--leaf-color-primary);
3139
+ color: var(--leaf-color-primary-ink, var(--leaf-color-primary));
2822
3140
  animation: var(--leaf-motion-animation, leaf-floating-spin calc(var(--leaf-motion-duration) * 4) linear infinite);
2823
3141
  animation-play-state: var(--leaf-motion-play-state, running);
2824
3142
  }
@@ -2851,18 +3169,23 @@
2851
3169
  }
2852
3170
 
2853
3171
  .leaf-date-picker {
2854
- --leaf-field-color: var(--leaf-color-primary);
3172
+ --leaf-field-color: var(--leaf-color-primary-indicator, var(--leaf-color-primary));
2855
3173
  --leaf-field-color-alpha-12: var(--leaf-color-primary-alpha-12);
2856
3174
  --leaf-field-color-border-30: var(--leaf-color-primary-border-30);
2857
3175
  --leaf-field-hover-color: var(--leaf-color-border-hover, var(--leaf-field-color));
3176
+ --leaf-field-border-width: var(--leaf-component-date-picker-border-width, var(--leaf-border-width, 1px));
3177
+ --leaf-field-text: var(--leaf-component-date-picker-color, var(--leaf-color-text));
3178
+ --leaf-field-rest-border: var(--leaf-component-date-picker-border-color, var(--leaf-frame-border-color, var(--leaf-color-border)));
3179
+ --leaf-field-background: var(--leaf-component-date-picker-background, var(--leaf-color-surface));
3180
+ --leaf-field-shadow: var(--leaf-component-date-picker-shadow, var(--leaf-control-shadow, 0 0 0 0 transparent));
2858
3181
  box-sizing: border-box;
2859
- border: 1px solid var(--leaf-color-border);
3182
+ border: var(--leaf-field-border-width) solid var(--leaf-component-date-picker-border-color, var(--leaf-frame-border-color, var(--leaf-color-border)));
2860
3183
  border-radius: var(--leaf-component-date-picker-radius, var(--leaf-radius));
2861
3184
  width: 100%;
2862
3185
  min-width: 0;
2863
3186
  color: var(--leaf-component-date-picker-color, var(--leaf-color-text));
2864
3187
  background: var(--leaf-component-date-picker-background, var(--leaf-color-surface));
2865
- box-shadow: var(--leaf-component-date-picker-shadow, none);
3188
+ box-shadow: var(--leaf-field-shadow);
2866
3189
  font-family: var(--leaf-font-family);
2867
3190
  font-size: var(--leaf-component-date-picker-font-size, var(--leaf-current-font-size));
2868
3191
  line-height: var(--leaf-line-height, 1.5);
@@ -2870,6 +3193,7 @@
2870
3193
  }
2871
3194
 
2872
3195
  .leaf-date-picker[data-status="error"] {
3196
+ --leaf-field-rest-border: var(--leaf-field-color);
2873
3197
  --leaf-field-color: var(--leaf-color-danger);
2874
3198
  --leaf-field-color-alpha-12: var(--leaf-color-danger-alpha-12);
2875
3199
  --leaf-field-color-border-30: var(--leaf-color-danger-border-30);
@@ -2878,6 +3202,7 @@
2878
3202
  }
2879
3203
 
2880
3204
  .leaf-date-picker[data-status="warning"] {
3205
+ --leaf-field-rest-border: var(--leaf-field-color);
2881
3206
  --leaf-field-color: var(--leaf-color-warning);
2882
3207
  --leaf-field-color-alpha-12: var(--leaf-color-warning-alpha-12);
2883
3208
  --leaf-field-color-border-30: var(--leaf-color-warning-border-30);
@@ -2885,33 +3210,53 @@
2885
3210
  border-color: var(--leaf-field-color);
2886
3211
  }
2887
3212
 
2888
- .leaf-date-picker:hover:not([data-disabled]):not(:disabled):not(:focus-within):not([data-open]) {
2889
- border-color: var(--leaf-field-hover-color);
3213
+ .leaf-date-picker[data-disabled], .leaf-date-picker:disabled {
3214
+ opacity: .55;
3215
+ cursor: not-allowed;
2890
3216
  }
2891
3217
 
2892
- .leaf-date-picker:focus-within, .leaf-date-picker[data-open] {
2893
- border-color: var(--leaf-field-color);
2894
- box-shadow: 0 0 0 3px var(--leaf-field-color-alpha-12);
3218
+ .leaf-date-picker:hover:not([data-disabled]):not(:disabled):where(:not(:focus-within):not([data-open])) {
3219
+ color: var(--leaf-component-date-picker-hover-color, var(--leaf-field-text));
3220
+ background: var(--leaf-component-date-picker-hover-background, var(--leaf-field-background));
3221
+ border-color: var(--leaf-component-date-picker-hover-border-color, var(--leaf-field-hover-color));
3222
+ box-shadow: var(--leaf-component-date-picker-hover-shadow, var(--leaf-field-shadow));
2895
3223
  }
2896
3224
 
2897
- .leaf-date-picker[data-disabled], .leaf-date-picker:disabled {
2898
- background: var(--leaf-color-surface-muted);
2899
- opacity: .55;
2900
- cursor: not-allowed;
3225
+ .leaf-date-picker:is(:focus-within, [data-open]):not([data-disabled]):not(:disabled) {
3226
+ color: var(--leaf-component-date-picker-focus-color, var(--leaf-field-text));
3227
+ background: var(--leaf-component-date-picker-focus-background, var(--leaf-field-background));
3228
+ border-color: var(--leaf-component-date-picker-focus-border-color, var(--leaf-field-color));
3229
+ box-shadow: var(--leaf-component-date-picker-focus-shadow, var(--leaf-field-shadow));
3230
+ outline: 3px solid var(--leaf-color-focus, var(--leaf-field-color-alpha-12));
3231
+ outline-offset: 0;
2901
3232
  }
2902
3233
 
2903
- @media (prefers-reduced-motion: reduce) {
2904
- .leaf-date-picker {
2905
- transition: none;
2906
- }
3234
+ .leaf-date-picker:active:not([data-disabled]):not(:disabled) {
3235
+ color: var(--leaf-component-date-picker-active-color, var(--leaf-field-text));
3236
+ background: var(--leaf-component-date-picker-active-background, var(--leaf-field-background));
3237
+ border-color: var(--leaf-component-date-picker-active-border-color, var(--leaf-field-hover-color));
3238
+ box-shadow: var(--leaf-component-date-picker-active-shadow, var(--leaf-field-shadow));
3239
+ }
3240
+
3241
+ .leaf-date-picker[data-disabled], .leaf-date-picker:disabled {
3242
+ color: var(--leaf-component-date-picker-disabled-color, var(--leaf-field-text));
3243
+ background: var(--leaf-component-date-picker-disabled-background, var(--leaf-color-surface-muted));
3244
+ border-color: var(--leaf-component-date-picker-disabled-border-color, var(--leaf-field-rest-border));
3245
+ box-shadow: var(--leaf-component-date-picker-disabled-shadow, var(--leaf-field-shadow));
2907
3246
  }
2908
3247
 
2909
3248
  @media (forced-colors: active) {
2910
- .leaf-date-picker:focus-within {
3249
+ .leaf-date-picker:is(:focus-within, [data-open]):not([data-disabled]):not(:disabled) {
2911
3250
  outline: 2px solid highlight;
2912
3251
  }
2913
3252
  }
2914
3253
 
3254
+ @media (prefers-reduced-motion: reduce) {
3255
+ .leaf-date-picker {
3256
+ transition: none;
3257
+ }
3258
+ }
3259
+
2915
3260
  .leaf-date-picker {
2916
3261
  height: var(--leaf-current-control-height);
2917
3262
  align-items: center;
@@ -2983,7 +3328,7 @@
2983
3328
  }
2984
3329
 
2985
3330
  .leaf-date-picker[data-open] .leaf-date-picker__icon {
2986
- color: var(--leaf-color-primary);
3331
+ color: var(--leaf-color-primary-ink, var(--leaf-color-primary));
2987
3332
  }
2988
3333
 
2989
3334
  .leaf-date-picker__panel {
@@ -3034,7 +3379,7 @@
3034
3379
  }
3035
3380
 
3036
3381
  .leaf-date-picker__nav:focus-visible {
3037
- outline: 3px solid var(--leaf-color-focus, var(--leaf-focus-color, var(--leaf-color-primary-alpha-42)));
3382
+ outline: 3px solid var(--leaf-color-focus, var(--leaf-focus-color, var(--leaf-color-primary-focus, var(--leaf-color-primary-alpha-42))));
3038
3383
  outline-offset: 2px;
3039
3384
  }
3040
3385
 
@@ -3065,7 +3410,7 @@
3065
3410
  }
3066
3411
 
3067
3412
  .leaf-date-picker__day:focus-visible {
3068
- outline: 3px solid var(--leaf-color-focus, var(--leaf-focus-color, var(--leaf-color-primary-alpha-42)));
3413
+ outline: 3px solid var(--leaf-color-focus, var(--leaf-focus-color, var(--leaf-color-primary-focus, var(--leaf-color-primary-alpha-42))));
3069
3414
  outline-offset: 2px;
3070
3415
  outline-offset: -1px;
3071
3416
  }
@@ -3083,7 +3428,7 @@
3083
3428
 
3084
3429
  .leaf-date-picker__day--selected, .leaf-date-picker__day--selected:hover:not(:disabled) {
3085
3430
  color: var(--leaf-color-on-primary);
3086
- background: var(--leaf-color-primary);
3431
+ background: var(--leaf-color-primary-indicator, var(--leaf-color-primary));
3087
3432
  box-shadow: var(--leaf-shadow-xs);
3088
3433
  }
3089
3434
 
@@ -3120,6 +3465,14 @@
3120
3465
  display: flex;
3121
3466
  }
3122
3467
 
3468
+ .leaf-date-picker__panel {
3469
+ --leaf-surface-border: var(--leaf-component-date-picker-border-width, var(--leaf-component-floating-border-width, var(--leaf-border-width, 1px)));
3470
+ border-color: var(--leaf-component-date-picker-border-color, var(--leaf-component-floating-border-color, var(--leaf-frame-border-color, var(--leaf-color-border))));
3471
+ color: var(--leaf-component-date-picker-color, var(--leaf-component-floating-color, var(--leaf-color-text)));
3472
+ background: var(--leaf-component-date-picker-background, var(--leaf-component-floating-background, var(--leaf-color-surface-raised, var(--leaf-color-surface))));
3473
+ box-shadow: var(--leaf-component-date-picker-shadow, var(--leaf-component-floating-shadow, var(--leaf-surface-shadow, var(--leaf-shadow-md))));
3474
+ }
3475
+
3123
3476
  .leaf-time-picker__panel {
3124
3477
  --leaf-surface-padding: 0px;
3125
3478
  --leaf-surface-padding-top: 0px;
@@ -3157,14 +3510,14 @@
3157
3510
  }
3158
3511
 
3159
3512
  .leaf-time-picker__column {
3160
- scrollbar-width: thin;
3161
3513
  overscroll-behavior: contain;
3514
+ position: relative;
3515
+ }
3516
+
3517
+ .leaf-time-picker__options {
3162
3518
  flex-direction: column;
3163
3519
  gap: 2px;
3164
- max-height: 210px;
3165
3520
  display: flex;
3166
- position: relative;
3167
- overflow-y: auto;
3168
3521
  }
3169
3522
 
3170
3523
  .leaf-time-picker__column .leaf-floating__option {
@@ -3215,6 +3568,14 @@
3215
3568
  }
3216
3569
  }
3217
3570
 
3571
+ .leaf-time-picker__panel {
3572
+ --leaf-surface-border: var(--leaf-component-time-picker-border-width, var(--leaf-component-floating-border-width, var(--leaf-border-width, 1px)));
3573
+ border-color: var(--leaf-component-time-picker-border-color, var(--leaf-component-floating-border-color, var(--leaf-frame-border-color, var(--leaf-color-border))));
3574
+ color: var(--leaf-component-time-picker-color, var(--leaf-component-floating-color, var(--leaf-color-text)));
3575
+ background: var(--leaf-component-time-picker-background, var(--leaf-component-floating-background, var(--leaf-color-surface-raised, var(--leaf-color-surface))));
3576
+ box-shadow: var(--leaf-component-time-picker-shadow, var(--leaf-component-floating-shadow, var(--leaf-surface-shadow, var(--leaf-shadow-md))));
3577
+ }
3578
+
3218
3579
  .leaf-autocomplete {
3219
3580
  --leaf-current-font-size: var(--leaf-font-size);
3220
3581
  --leaf-current-control-height: var(--leaf-control-height, 36px);
@@ -3231,25 +3592,31 @@
3231
3592
  }
3232
3593
 
3233
3594
  .leaf-autocomplete {
3234
- --leaf-field-color: var(--leaf-color-primary);
3595
+ --leaf-field-color: var(--leaf-color-primary-indicator, var(--leaf-color-primary));
3235
3596
  --leaf-field-color-alpha-12: var(--leaf-color-primary-alpha-12);
3236
3597
  --leaf-field-color-border-30: var(--leaf-color-primary-border-30);
3237
3598
  --leaf-field-hover-color: var(--leaf-color-border-hover, var(--leaf-field-color));
3599
+ --leaf-field-border-width: var(--leaf-component-auto-complete-border-width, var(--leaf-border-width, 1px));
3600
+ --leaf-field-text: var(--leaf-component-auto-complete-color, var(--leaf-color-text));
3601
+ --leaf-field-rest-border: var(--leaf-component-auto-complete-border-color, var(--leaf-frame-border-color, var(--leaf-color-border)));
3602
+ --leaf-field-background: var(--leaf-component-auto-complete-background, var(--leaf-color-surface));
3603
+ --leaf-field-shadow: var(--leaf-component-auto-complete-shadow, var(--leaf-control-shadow, 0 0 0 0 transparent));
3238
3604
  box-sizing: border-box;
3239
- border: 1px solid var(--leaf-color-border);
3240
- border-radius: var(--leaf-component-autocomplete-radius, var(--leaf-radius));
3605
+ border: var(--leaf-field-border-width) solid var(--leaf-component-auto-complete-border-color, var(--leaf-frame-border-color, var(--leaf-color-border)));
3606
+ border-radius: var(--leaf-component-auto-complete-radius, var(--leaf-radius));
3241
3607
  width: 100%;
3242
3608
  min-width: 0;
3243
- color: var(--leaf-component-autocomplete-color, var(--leaf-color-text));
3244
- background: var(--leaf-component-autocomplete-background, var(--leaf-color-surface));
3245
- box-shadow: var(--leaf-component-autocomplete-shadow, none);
3609
+ color: var(--leaf-component-auto-complete-color, var(--leaf-color-text));
3610
+ background: var(--leaf-component-auto-complete-background, var(--leaf-color-surface));
3611
+ box-shadow: var(--leaf-field-shadow);
3246
3612
  font-family: var(--leaf-font-family);
3247
- font-size: var(--leaf-component-autocomplete-font-size, var(--leaf-current-font-size));
3613
+ font-size: var(--leaf-component-auto-complete-font-size, var(--leaf-current-font-size));
3248
3614
  line-height: var(--leaf-line-height, 1.5);
3249
3615
  transition: border-color var(--leaf-motion-fast) var(--leaf-motion-easing),background-color var(--leaf-motion-fast) var(--leaf-motion-easing),box-shadow var(--leaf-motion-duration) var(--leaf-motion-easing);
3250
3616
  }
3251
3617
 
3252
3618
  .leaf-autocomplete[data-status="error"] {
3619
+ --leaf-field-rest-border: var(--leaf-field-color);
3253
3620
  --leaf-field-color: var(--leaf-color-danger);
3254
3621
  --leaf-field-color-alpha-12: var(--leaf-color-danger-alpha-12);
3255
3622
  --leaf-field-color-border-30: var(--leaf-color-danger-border-30);
@@ -3258,6 +3625,7 @@
3258
3625
  }
3259
3626
 
3260
3627
  .leaf-autocomplete[data-status="warning"] {
3628
+ --leaf-field-rest-border: var(--leaf-field-color);
3261
3629
  --leaf-field-color: var(--leaf-color-warning);
3262
3630
  --leaf-field-color-alpha-12: var(--leaf-color-warning-alpha-12);
3263
3631
  --leaf-field-color-border-30: var(--leaf-color-warning-border-30);
@@ -3265,33 +3633,53 @@
3265
3633
  border-color: var(--leaf-field-color);
3266
3634
  }
3267
3635
 
3268
- .leaf-autocomplete:hover:not([data-disabled]):not(:disabled):not(:focus-within):not([data-open]) {
3269
- border-color: var(--leaf-field-hover-color);
3636
+ .leaf-autocomplete[data-disabled], .leaf-autocomplete:disabled {
3637
+ opacity: .55;
3638
+ cursor: not-allowed;
3270
3639
  }
3271
3640
 
3272
- .leaf-autocomplete:focus-within, .leaf-autocomplete[data-open] {
3273
- border-color: var(--leaf-field-color);
3274
- box-shadow: 0 0 0 3px var(--leaf-field-color-alpha-12);
3641
+ .leaf-autocomplete:hover:not([data-disabled]):not(:disabled):where(:not(:focus-within):not([data-open])) {
3642
+ color: var(--leaf-component-auto-complete-hover-color, var(--leaf-field-text));
3643
+ background: var(--leaf-component-auto-complete-hover-background, var(--leaf-field-background));
3644
+ border-color: var(--leaf-component-auto-complete-hover-border-color, var(--leaf-field-hover-color));
3645
+ box-shadow: var(--leaf-component-auto-complete-hover-shadow, var(--leaf-field-shadow));
3275
3646
  }
3276
3647
 
3277
- .leaf-autocomplete[data-disabled], .leaf-autocomplete:disabled {
3278
- background: var(--leaf-color-surface-muted);
3279
- opacity: .55;
3280
- cursor: not-allowed;
3648
+ .leaf-autocomplete:is(:focus-within, [data-open]):not([data-disabled]):not(:disabled) {
3649
+ color: var(--leaf-component-auto-complete-focus-color, var(--leaf-field-text));
3650
+ background: var(--leaf-component-auto-complete-focus-background, var(--leaf-field-background));
3651
+ border-color: var(--leaf-component-auto-complete-focus-border-color, var(--leaf-field-color));
3652
+ box-shadow: var(--leaf-component-auto-complete-focus-shadow, var(--leaf-field-shadow));
3653
+ outline: 3px solid var(--leaf-color-focus, var(--leaf-field-color-alpha-12));
3654
+ outline-offset: 0;
3281
3655
  }
3282
3656
 
3283
- @media (prefers-reduced-motion: reduce) {
3284
- .leaf-autocomplete {
3285
- transition: none;
3286
- }
3657
+ .leaf-autocomplete:active:not([data-disabled]):not(:disabled) {
3658
+ color: var(--leaf-component-auto-complete-active-color, var(--leaf-field-text));
3659
+ background: var(--leaf-component-auto-complete-active-background, var(--leaf-field-background));
3660
+ border-color: var(--leaf-component-auto-complete-active-border-color, var(--leaf-field-hover-color));
3661
+ box-shadow: var(--leaf-component-auto-complete-active-shadow, var(--leaf-field-shadow));
3662
+ }
3663
+
3664
+ .leaf-autocomplete[data-disabled], .leaf-autocomplete:disabled {
3665
+ color: var(--leaf-component-auto-complete-disabled-color, var(--leaf-field-text));
3666
+ background: var(--leaf-component-auto-complete-disabled-background, var(--leaf-color-surface-muted));
3667
+ border-color: var(--leaf-component-auto-complete-disabled-border-color, var(--leaf-field-rest-border));
3668
+ box-shadow: var(--leaf-component-auto-complete-disabled-shadow, var(--leaf-field-shadow));
3287
3669
  }
3288
3670
 
3289
3671
  @media (forced-colors: active) {
3290
- .leaf-autocomplete:focus-within {
3672
+ .leaf-autocomplete:is(:focus-within, [data-open]):not([data-disabled]):not(:disabled) {
3291
3673
  outline: 2px solid highlight;
3292
3674
  }
3293
3675
  }
3294
3676
 
3677
+ @media (prefers-reduced-motion: reduce) {
3678
+ .leaf-autocomplete {
3679
+ transition: none;
3680
+ }
3681
+ }
3682
+
3295
3683
  .leaf-autocomplete {
3296
3684
  height: var(--leaf-current-control-height);
3297
3685
  display: inline-flex;
@@ -3322,11 +3710,6 @@
3322
3710
  cursor: not-allowed;
3323
3711
  }
3324
3712
 
3325
- .leaf-autocomplete[data-open] {
3326
- border-color: var(--leaf-field-color);
3327
- box-shadow: 0 0 0 3px var(--leaf-field-color-alpha-12);
3328
- }
3329
-
3330
3713
  .leaf-autocomplete__panel .leaf-floating__option {
3331
3714
  justify-content: space-between;
3332
3715
  }
@@ -3335,24 +3718,37 @@
3335
3718
  border-color: #0000;
3336
3719
  }
3337
3720
 
3721
+ .leaf-autocomplete__panel {
3722
+ --leaf-surface-border: var(--leaf-component-auto-complete-border-width, var(--leaf-component-floating-border-width, var(--leaf-border-width, 1px)));
3723
+ border-color: var(--leaf-component-auto-complete-border-color, var(--leaf-component-floating-border-color, var(--leaf-frame-border-color, var(--leaf-color-border))));
3724
+ color: var(--leaf-component-auto-complete-color, var(--leaf-component-floating-color, var(--leaf-color-text)));
3725
+ background: var(--leaf-component-auto-complete-background, var(--leaf-component-floating-background, var(--leaf-color-surface-raised, var(--leaf-color-surface))));
3726
+ box-shadow: var(--leaf-component-auto-complete-shadow, var(--leaf-component-floating-shadow, var(--leaf-surface-shadow, var(--leaf-shadow-md))));
3727
+ }
3728
+
3338
3729
  .leaf-cascader {
3339
3730
  --leaf-current-font-size: var(--leaf-font-size);
3340
3731
  --leaf-current-control-height: var(--leaf-control-height, 36px);
3341
3732
  }
3342
3733
 
3343
3734
  .leaf-cascader {
3344
- --leaf-field-color: var(--leaf-color-primary);
3735
+ --leaf-field-color: var(--leaf-color-primary-indicator, var(--leaf-color-primary));
3345
3736
  --leaf-field-color-alpha-12: var(--leaf-color-primary-alpha-12);
3346
3737
  --leaf-field-color-border-30: var(--leaf-color-primary-border-30);
3347
3738
  --leaf-field-hover-color: var(--leaf-color-border-hover, var(--leaf-field-color));
3739
+ --leaf-field-border-width: var(--leaf-component-cascader-border-width, var(--leaf-border-width, 1px));
3740
+ --leaf-field-text: var(--leaf-component-cascader-color, var(--leaf-color-text));
3741
+ --leaf-field-rest-border: var(--leaf-component-cascader-border-color, var(--leaf-frame-border-color, var(--leaf-color-border)));
3742
+ --leaf-field-background: var(--leaf-component-cascader-background, var(--leaf-color-surface));
3743
+ --leaf-field-shadow: var(--leaf-component-cascader-shadow, var(--leaf-control-shadow, 0 0 0 0 transparent));
3348
3744
  box-sizing: border-box;
3349
- border: 1px solid var(--leaf-color-border);
3745
+ border: var(--leaf-field-border-width) solid var(--leaf-component-cascader-border-color, var(--leaf-frame-border-color, var(--leaf-color-border)));
3350
3746
  border-radius: var(--leaf-component-cascader-radius, var(--leaf-radius));
3351
3747
  width: 100%;
3352
3748
  min-width: 0;
3353
3749
  color: var(--leaf-component-cascader-color, var(--leaf-color-text));
3354
3750
  background: var(--leaf-component-cascader-background, var(--leaf-color-surface));
3355
- box-shadow: var(--leaf-component-cascader-shadow, none);
3751
+ box-shadow: var(--leaf-field-shadow);
3356
3752
  font-family: var(--leaf-font-family);
3357
3753
  font-size: var(--leaf-component-cascader-font-size, var(--leaf-current-font-size));
3358
3754
  line-height: var(--leaf-line-height, 1.5);
@@ -3360,6 +3756,7 @@
3360
3756
  }
3361
3757
 
3362
3758
  .leaf-cascader[data-status="error"] {
3759
+ --leaf-field-rest-border: var(--leaf-field-color);
3363
3760
  --leaf-field-color: var(--leaf-color-danger);
3364
3761
  --leaf-field-color-alpha-12: var(--leaf-color-danger-alpha-12);
3365
3762
  --leaf-field-color-border-30: var(--leaf-color-danger-border-30);
@@ -3368,6 +3765,7 @@
3368
3765
  }
3369
3766
 
3370
3767
  .leaf-cascader[data-status="warning"] {
3768
+ --leaf-field-rest-border: var(--leaf-field-color);
3371
3769
  --leaf-field-color: var(--leaf-color-warning);
3372
3770
  --leaf-field-color-alpha-12: var(--leaf-color-warning-alpha-12);
3373
3771
  --leaf-field-color-border-30: var(--leaf-color-warning-border-30);
@@ -3375,33 +3773,53 @@
3375
3773
  border-color: var(--leaf-field-color);
3376
3774
  }
3377
3775
 
3378
- .leaf-cascader:hover:not([data-disabled]):not(:disabled):not(:focus-within):not([data-open]) {
3379
- border-color: var(--leaf-field-hover-color);
3776
+ .leaf-cascader[data-disabled], .leaf-cascader:disabled {
3777
+ opacity: .55;
3778
+ cursor: not-allowed;
3779
+ }
3780
+
3781
+ .leaf-cascader:hover:not([data-disabled]):not(:disabled):where(:not(:focus-within):not([data-open])) {
3782
+ color: var(--leaf-component-cascader-hover-color, var(--leaf-field-text));
3783
+ background: var(--leaf-component-cascader-hover-background, var(--leaf-field-background));
3784
+ border-color: var(--leaf-component-cascader-hover-border-color, var(--leaf-field-hover-color));
3785
+ box-shadow: var(--leaf-component-cascader-hover-shadow, var(--leaf-field-shadow));
3380
3786
  }
3381
3787
 
3382
- .leaf-cascader:focus-within, .leaf-cascader[data-open] {
3383
- border-color: var(--leaf-field-color);
3384
- box-shadow: 0 0 0 3px var(--leaf-field-color-alpha-12);
3788
+ .leaf-cascader:is(:focus-within, [data-open]):not([data-disabled]):not(:disabled) {
3789
+ color: var(--leaf-component-cascader-focus-color, var(--leaf-field-text));
3790
+ background: var(--leaf-component-cascader-focus-background, var(--leaf-field-background));
3791
+ border-color: var(--leaf-component-cascader-focus-border-color, var(--leaf-field-color));
3792
+ box-shadow: var(--leaf-component-cascader-focus-shadow, var(--leaf-field-shadow));
3793
+ outline: 3px solid var(--leaf-color-focus, var(--leaf-field-color-alpha-12));
3794
+ outline-offset: 0;
3385
3795
  }
3386
3796
 
3387
- .leaf-cascader[data-disabled], .leaf-cascader:disabled {
3388
- background: var(--leaf-color-surface-muted);
3389
- opacity: .55;
3390
- cursor: not-allowed;
3797
+ .leaf-cascader:active:not([data-disabled]):not(:disabled) {
3798
+ color: var(--leaf-component-cascader-active-color, var(--leaf-field-text));
3799
+ background: var(--leaf-component-cascader-active-background, var(--leaf-field-background));
3800
+ border-color: var(--leaf-component-cascader-active-border-color, var(--leaf-field-hover-color));
3801
+ box-shadow: var(--leaf-component-cascader-active-shadow, var(--leaf-field-shadow));
3391
3802
  }
3392
3803
 
3393
- @media (prefers-reduced-motion: reduce) {
3394
- .leaf-cascader {
3395
- transition: none;
3396
- }
3804
+ .leaf-cascader[data-disabled], .leaf-cascader:disabled {
3805
+ color: var(--leaf-component-cascader-disabled-color, var(--leaf-field-text));
3806
+ background: var(--leaf-component-cascader-disabled-background, var(--leaf-color-surface-muted));
3807
+ border-color: var(--leaf-component-cascader-disabled-border-color, var(--leaf-field-rest-border));
3808
+ box-shadow: var(--leaf-component-cascader-disabled-shadow, var(--leaf-field-shadow));
3397
3809
  }
3398
3810
 
3399
3811
  @media (forced-colors: active) {
3400
- .leaf-cascader:focus-within {
3812
+ .leaf-cascader:is(:focus-within, [data-open]):not([data-disabled]):not(:disabled) {
3401
3813
  outline: 2px solid highlight;
3402
3814
  }
3403
3815
  }
3404
3816
 
3817
+ @media (prefers-reduced-motion: reduce) {
3818
+ .leaf-cascader {
3819
+ transition: none;
3820
+ }
3821
+ }
3822
+
3405
3823
  .leaf-cascader {
3406
3824
  min-height: var(--leaf-current-control-height);
3407
3825
  display: inline-flex;
@@ -3411,7 +3829,7 @@
3411
3829
  .leaf-cascader__trigger {
3412
3830
  box-sizing: border-box;
3413
3831
  width: 100%;
3414
- min-height: calc(var(--leaf-current-control-height) - 2px);
3832
+ min-height: calc(var(--leaf-current-control-height) - 2*var(--leaf-field-border-width));
3415
3833
  border-radius: inherit;
3416
3834
  color: inherit;
3417
3835
  font: inherit;
@@ -3432,7 +3850,7 @@
3432
3850
  }
3433
3851
 
3434
3852
  .leaf-cascader__trigger:focus-visible {
3435
- outline: 3px solid var(--leaf-color-focus, var(--leaf-focus-color, var(--leaf-color-primary-alpha-42)));
3853
+ outline: 3px solid var(--leaf-color-focus, var(--leaf-focus-color, var(--leaf-color-primary-focus, var(--leaf-color-primary-alpha-42))));
3436
3854
  outline-offset: 2px;
3437
3855
  }
3438
3856
 
@@ -3455,7 +3873,12 @@
3455
3873
  }
3456
3874
 
3457
3875
  .leaf-cascader--multiple .leaf-cascader__trigger {
3458
- padding-block: 3px;
3876
+ padding-block: var(--leaf-component-cascader-padding-top, 3px) var(--leaf-component-cascader-padding-bottom, 3px);
3877
+ padding-inline: var(--leaf-component-cascader-padding-left, 3px) var(--leaf-component-cascader-padding-right, 10px);
3878
+ }
3879
+
3880
+ .leaf-cascader--multiple .leaf-cascader__trigger:where([dir="rtl"]) {
3881
+ padding-inline: var(--leaf-component-cascader-padding-right, 3px) var(--leaf-component-cascader-padding-left, 10px);
3459
3882
  }
3460
3883
 
3461
3884
  .leaf-cascader--multiple .leaf-cascader__value {
@@ -3474,7 +3897,6 @@
3474
3897
  .leaf-cascader__panel {
3475
3898
  width: max-content;
3476
3899
  max-width: min(560px, 100vw - 24px);
3477
- overflow: auto hidden;
3478
3900
  }
3479
3901
 
3480
3902
  .leaf-cascader__columns {
@@ -3518,11 +3940,6 @@
3518
3940
  transform: rotate(180deg) translateX(2px);
3519
3941
  }
3520
3942
 
3521
- .leaf-cascader[data-open] {
3522
- border-color: var(--leaf-field-color);
3523
- box-shadow: 0 0 0 3px var(--leaf-field-color-alpha-12);
3524
- }
3525
-
3526
3943
  .leaf-cascader[data-open] .leaf-cascader__trigger > svg {
3527
3944
  transform: rotate(180deg);
3528
3945
  }
@@ -3583,6 +4000,14 @@
3583
4000
  --leaf-current-font-size: var(--leaf-font-size-lg);
3584
4001
  }
3585
4002
 
4003
+ .leaf-cascader__panel {
4004
+ --leaf-surface-border: var(--leaf-component-cascader-border-width, var(--leaf-component-floating-border-width, var(--leaf-border-width, 1px)));
4005
+ border-color: var(--leaf-component-cascader-border-color, var(--leaf-component-floating-border-color, var(--leaf-frame-border-color, var(--leaf-color-border))));
4006
+ color: var(--leaf-component-cascader-color, var(--leaf-component-floating-color, var(--leaf-color-text)));
4007
+ background: var(--leaf-component-cascader-background, var(--leaf-component-floating-background, var(--leaf-color-surface-raised, var(--leaf-color-surface))));
4008
+ box-shadow: var(--leaf-component-cascader-shadow, var(--leaf-component-floating-shadow, var(--leaf-surface-shadow, var(--leaf-shadow-md))));
4009
+ }
4010
+
3586
4011
  .leaf-form {
3587
4012
  gap: var(--leaf-component-form-gap, var(--leaf-density-form-gap));
3588
4013
  color: var(--leaf-component-form-color, var(--leaf-color-text));
@@ -3593,6 +4018,7 @@
3593
4018
 
3594
4019
  .leaf-form-field {
3595
4020
  gap: 12px;
4021
+ min-width: 0;
3596
4022
  display: grid;
3597
4023
  }
3598
4024
 
@@ -3609,6 +4035,22 @@
3609
4035
  grid-template-columns: minmax(0, 1fr);
3610
4036
  }
3611
4037
 
4038
+ .leaf-form-field--settings {
4039
+ align-items: center;
4040
+ gap: var(--leaf-spacing-lg);
4041
+ grid-template-columns: minmax(0, 1fr) fit-content(50%);
4042
+ }
4043
+
4044
+ .leaf-form-field--settings > .leaf-form-field__body {
4045
+ grid-column: 2;
4046
+ justify-self: end;
4047
+ max-width: 100%;
4048
+ }
4049
+
4050
+ .leaf-form-field__header {
4051
+ min-width: 0;
4052
+ }
4053
+
3612
4054
  .leaf-form-field__label {
3613
4055
  min-height: var(--leaf-control-height);
3614
4056
  align-self: start;
@@ -3622,15 +4064,21 @@
3622
4064
  width: max-content;
3623
4065
  }
3624
4066
 
3625
- .leaf-form-field--right .leaf-form-field__label {
4067
+ .leaf-form-field--horizontal.leaf-form-field--right .leaf-form-field__label {
3626
4068
  justify-content: flex-end;
3627
4069
  }
3628
4070
 
3629
- .leaf-form-field--vertical .leaf-form-field__label {
4071
+ .leaf-form-field--vertical .leaf-form-field__label, .leaf-form-field--settings .leaf-form-field__label {
3630
4072
  justify-content: flex-start;
3631
4073
  min-height: 0;
3632
4074
  }
3633
4075
 
4076
+ .leaf-form-field--vertical .leaf-form-field__label > span, .leaf-form-field--settings .leaf-form-field__label > span {
4077
+ white-space: normal;
4078
+ overflow-wrap: anywhere;
4079
+ width: auto;
4080
+ }
4081
+
3634
4082
  .leaf-form-field__required {
3635
4083
  color: var(--leaf-color-danger);
3636
4084
  margin-right: 4px;
@@ -3652,27 +4100,60 @@
3652
4100
  line-height: 1.5;
3653
4101
  }
3654
4102
 
4103
+ .leaf-form-field__summary-description {
4104
+ color: var(--leaf-color-text-muted);
4105
+ font-size: var(--leaf-font-size-sm);
4106
+ overflow-wrap: anywhere;
4107
+ margin-top: 4px;
4108
+ line-height: 1.5;
4109
+ }
4110
+
3655
4111
  .leaf-form-field__error {
3656
4112
  color: var(--leaf-color-danger);
3657
4113
  animation: var(--leaf-motion-animation, leaf-content-in var(--leaf-motion-duration) var(--leaf-motion-easing));
3658
4114
  }
3659
4115
 
3660
4116
  @media (max-width: 560px) {
3661
- .leaf-form-field--horizontal {
4117
+ .leaf-form-field--horizontal, .leaf-form-field--settings {
3662
4118
  grid-template-columns: minmax(0, 1fr);
3663
4119
  gap: 6px;
3664
4120
  }
3665
4121
 
3666
- .leaf-form-field--horizontal > .leaf-form-field__body {
4122
+ .leaf-form-field--horizontal > .leaf-form-field__body, .leaf-form-field--settings > .leaf-form-field__body {
3667
4123
  grid-column: 1;
4124
+ justify-self: stretch;
3668
4125
  }
3669
4126
 
3670
- .leaf-form-field--horizontal .leaf-form-field__label {
4127
+ .leaf-form-field--horizontal.leaf-form-field--right .leaf-form-field__label, .leaf-form-field--horizontal .leaf-form-field__label {
3671
4128
  justify-content: flex-start;
3672
4129
  min-height: 0;
3673
4130
  }
3674
4131
  }
3675
4132
 
4133
+ .leaf-form--settings, .leaf-form-group.leaf-form-group--settings, .leaf-form--settings > .leaf-form-list, .leaf-form-group--settings > .leaf-form-list {
4134
+ gap: 0;
4135
+ }
4136
+
4137
+ .leaf-form--settings > :not(.leaf-form-field) + *, .leaf-form--settings > .leaf-form-field + :not(.leaf-form-field), .leaf-form-group.leaf-form-group--settings > :not(.leaf-form-field) + *, .leaf-form-group.leaf-form-group--settings > .leaf-form-field + :not(.leaf-form-field), .leaf-form--settings > .leaf-form-list > :not(.leaf-form-field) + *, .leaf-form--settings > .leaf-form-list > .leaf-form-field + :not(.leaf-form-field), .leaf-form-group--settings > .leaf-form-list > :not(.leaf-form-field) + *, .leaf-form-group--settings > .leaf-form-list > .leaf-form-field + :not(.leaf-form-field) {
4138
+ margin-block-start: var(--leaf-component-form-gap, var(--leaf-density-form-gap));
4139
+ }
4140
+
4141
+ .leaf-form--settings > .leaf-form-field--settings-row, .leaf-form-group.leaf-form-group--settings > .leaf-form-field--settings-row, .leaf-form--settings > .leaf-form-list > .leaf-form-field--settings-row, .leaf-form-group--settings > .leaf-form-list > .leaf-form-field--settings-row {
4142
+ padding-block: var(--leaf-component-form-gap, var(--leaf-spacing-md));
4143
+ }
4144
+
4145
+ .leaf-form--settings > .leaf-form-field--settings-row + .leaf-form-field--settings-row, .leaf-form-group.leaf-form-group--settings > .leaf-form-field--settings-row + .leaf-form-field--settings-row, .leaf-form--settings > .leaf-form-list > .leaf-form-field--settings-row + .leaf-form-field--settings-row, .leaf-form-group--settings > .leaf-form-list > .leaf-form-field--settings-row + .leaf-form-field--settings-row {
4146
+ border-block-start: 1px solid var(--leaf-color-divider);
4147
+ }
4148
+
4149
+ .leaf-form--settings > .leaf-form-field--settings-row:first-child, .leaf-form-group.leaf-form-group--settings > .leaf-form-field--settings-row:first-child, .leaf-form--settings > .leaf-form-list > .leaf-form-field--settings-row:first-child, .leaf-form-group--settings > .leaf-form-list > .leaf-form-field--settings-row:first-child {
4150
+ padding-block-start: 0;
4151
+ }
4152
+
4153
+ .leaf-form--settings > .leaf-form-field--settings-row:last-child, .leaf-form-group.leaf-form-group--settings > .leaf-form-field--settings-row:last-child, .leaf-form--settings > .leaf-form-list > .leaf-form-field--settings-row:last-child, .leaf-form-group--settings > .leaf-form-list > .leaf-form-field--settings-row:last-child {
4154
+ padding-block-end: 0;
4155
+ }
4156
+
3676
4157
  .leaf-form-group {
3677
4158
  gap: var(--leaf-component-form-gap, var(--leaf-density-form-gap));
3678
4159
  border: 0;
@@ -3953,14 +4434,14 @@
3953
4434
 
3954
4435
  .leaf-modal {
3955
4436
  box-sizing: border-box;
3956
- border: 1px solid var(--leaf-component-modal-border-color, var(--leaf-color-divider));
4437
+ border: var(--leaf-component-modal-border-width, var(--leaf-border-width, 1px)) solid var(--leaf-component-modal-border-color, var(--leaf-frame-border-color, var(--leaf-color-divider)));
3957
4438
  border-radius: var(--leaf-component-modal-radius, var(--leaf-radius-lg));
3958
4439
  background: var(--leaf-component-modal-background, var(--leaf-color-surface));
3959
4440
  max-width: 100%;
3960
4441
  max-height: calc(100vh - 48px);
3961
4442
  color: var(--leaf-component-modal-color, var(--leaf-color-text));
3962
4443
  font: var(--leaf-component-modal-font-size, var(--leaf-font-size))/1.6 var(--leaf-font-family);
3963
- box-shadow: var(--leaf-component-modal-shadow, var(--leaf-shadow-lg));
4444
+ box-shadow: var(--leaf-component-modal-shadow, var(--leaf-surface-shadow, var(--leaf-shadow-lg)));
3964
4445
  opacity: 1;
3965
4446
  transition: transform var(--leaf-motion-slow) var(--leaf-motion-spring),opacity var(--leaf-motion-slow) var(--leaf-motion-easing);
3966
4447
  outline: none;
@@ -4025,7 +4506,7 @@
4025
4506
  }
4026
4507
 
4027
4508
  .leaf-modal__close:focus-visible {
4028
- outline: 2px solid var(--leaf-color-primary);
4509
+ outline: 2px solid var(--leaf-color-primary-indicator, var(--leaf-color-primary));
4029
4510
  }
4030
4511
 
4031
4512
  @media (prefers-reduced-motion: reduce) {
@@ -4061,7 +4542,8 @@
4061
4542
  color: var(--leaf-component-alert-color, var(--leaf-color-text));
4062
4543
  font: var(--leaf-font-size)/1.5 var(--leaf-font-family);
4063
4544
  border-radius: var(--leaf-component-alert-radius, var(--leaf-radius-md));
4064
- border: 1px solid var(--leaf-component-alert-border-color, var(--leaf-color-divider));
4545
+ border: var(--leaf-component-alert-border-width, var(--leaf-border-width, 1px)) solid var(--leaf-component-alert-border-color, var(--leaf-frame-border-color, var(--leaf-color-divider)));
4546
+ box-shadow: var(--leaf-component-alert-shadow, var(--leaf-surface-shadow, none));
4065
4547
  padding: var(--leaf-component-alert-padding, 14px 16px);
4066
4548
  display: flex;
4067
4549
  }
@@ -4184,6 +4666,10 @@
4184
4666
  }
4185
4667
 
4186
4668
  .leaf-confirm {
4669
+ border-width: var(--leaf-component-confirm-border-width, var(--leaf-component-modal-border-width, var(--leaf-border-width, 1px)));
4670
+ border-color: var(--leaf-component-confirm-border-color, var(--leaf-component-modal-border-color, var(--leaf-frame-border-color, var(--leaf-color-divider))));
4671
+ background: var(--leaf-component-confirm-background, var(--leaf-component-modal-background, var(--leaf-color-surface)));
4672
+ box-shadow: var(--leaf-component-confirm-shadow, var(--leaf-component-modal-shadow, var(--leaf-surface-shadow, var(--leaf-shadow-lg))));
4187
4673
  --leaf-feedback-color: var(--leaf-color-text);
4188
4674
  --leaf-feedback-color-border-12: var(--leaf-color-text-border-12);
4189
4675
  --leaf-feedback-color-surface-5: var(--leaf-color-text-surface-5);
@@ -4353,7 +4839,7 @@
4353
4839
  }
4354
4840
 
4355
4841
  .leaf-dropdown .leaf-floating__option[aria-checked="true"] {
4356
- color: var(--leaf-color-primary);
4842
+ color: var(--leaf-color-primary-ink, var(--leaf-color-primary));
4357
4843
  background: var(--leaf-color-primary-surface-9);
4358
4844
  }
4359
4845
 
@@ -4364,15 +4850,15 @@
4364
4850
 
4365
4851
  .leaf-dropdown__highlight {
4366
4852
  box-sizing: border-box;
4367
- top: 0;
4368
- left: var(--leaf-surface-padding-left);
4369
- right: var(--leaf-surface-padding-right);
4370
4853
  height: var(--leaf-menu-highlight-height, var(--leaf-density-option-height));
4371
4854
  translate: 0 var(--leaf-menu-highlight-y, 0px);
4372
4855
  border: 1px solid var(--leaf-color-border-alpha-55);
4373
4856
  border-radius: var(--leaf-floating-option-radius);
4374
4857
  background: var(--leaf-color-option-hover);
4375
4858
  position: absolute;
4859
+ top: 0;
4860
+ left: 0;
4861
+ right: 0;
4376
4862
  }
4377
4863
 
4378
4864
  .leaf-dropdown__highlight[data-selected] {
@@ -4433,6 +4919,14 @@
4433
4919
  }
4434
4920
  }
4435
4921
 
4922
+ .leaf-dropdown {
4923
+ --leaf-surface-border: var(--leaf-component-dropdown-border-width, var(--leaf-component-floating-border-width, var(--leaf-border-width, 1px)));
4924
+ border-color: var(--leaf-component-dropdown-border-color, var(--leaf-component-floating-border-color, var(--leaf-frame-border-color, var(--leaf-color-border))));
4925
+ color: var(--leaf-component-dropdown-color, var(--leaf-component-floating-color, var(--leaf-color-text)));
4926
+ background: var(--leaf-component-dropdown-background, var(--leaf-component-floating-background, var(--leaf-color-surface-raised, var(--leaf-color-surface))));
4927
+ box-shadow: var(--leaf-component-dropdown-shadow, var(--leaf-component-floating-shadow, var(--leaf-surface-shadow, var(--leaf-shadow-md))));
4928
+ }
4929
+
4436
4930
  .leaf-message-region {
4437
4931
  z-index: var(--leaf-z-index-message, 1200);
4438
4932
  pointer-events: none;
@@ -4486,12 +4980,12 @@
4486
4980
  box-sizing: border-box;
4487
4981
  max-width: 100%;
4488
4982
  padding: var(--leaf-component-message-padding, 10px 14px);
4489
- border: 1px solid var(--leaf-color-divider);
4983
+ border: var(--leaf-component-message-border-width, var(--leaf-border-width, 1px)) solid var(--leaf-component-message-border-color, var(--leaf-frame-border-color, var(--leaf-color-divider)));
4490
4984
  border-radius: var(--leaf-component-message-radius, var(--leaf-radius));
4491
4985
  background: var(--leaf-component-message-background, var(--leaf-color-surface-raised, var(--leaf-color-surface)));
4492
4986
  color: var(--leaf-component-message-color, var(--leaf-color-text));
4493
4987
  font: var(--leaf-component-message-font-size, var(--leaf-font-size))/1.5 var(--leaf-font-family);
4494
- box-shadow: var(--leaf-component-message-shadow, var(--leaf-shadow-md));
4988
+ box-shadow: var(--leaf-component-message-shadow, var(--leaf-surface-shadow, var(--leaf-shadow-md)));
4495
4989
  pointer-events: auto;
4496
4990
  transition: transform var(--leaf-motion-slow) var(--leaf-motion-easing);
4497
4991
  display: flex;
@@ -4509,7 +5003,7 @@
4509
5003
  }
4510
5004
 
4511
5005
  .leaf-message__icon {
4512
- color: var(--leaf-feedback-color, var(--leaf-color-primary));
5006
+ color: var(--leaf-feedback-color, var(--leaf-color-primary-ink, var(--leaf-color-primary)));
4513
5007
  flex-shrink: 0;
4514
5008
  justify-content: center;
4515
5009
  align-items: center;
@@ -4550,7 +5044,7 @@
4550
5044
  }
4551
5045
 
4552
5046
  .leaf-message > button:focus-visible {
4553
- outline: 2px solid var(--leaf-color-primary);
5047
+ outline: 2px solid var(--leaf-color-primary-indicator, var(--leaf-color-primary));
4554
5048
  }
4555
5049
 
4556
5050
  .leaf-message[data-state="closing"] {
@@ -4601,7 +5095,7 @@
4601
5095
  }
4602
5096
 
4603
5097
  .leaf-calendar__heading:focus-visible {
4604
- outline: 2px solid var(--leaf-color-primary);
5098
+ outline: 2px solid var(--leaf-color-primary-indicator, var(--leaf-color-primary));
4605
5099
  }
4606
5100
 
4607
5101
  .leaf-calendar__weekdays, .leaf-calendar__cells {
@@ -4699,12 +5193,12 @@
4699
5193
  }
4700
5194
 
4701
5195
  .leaf-picker-footer .leaf-button--ghost {
4702
- color: var(--leaf-color-primary);
5196
+ color: var(--leaf-color-primary-ink, var(--leaf-color-primary));
4703
5197
  }
4704
5198
 
4705
5199
  .leaf-picker-time-toggle {
4706
5200
  border-radius: var(--leaf-radius-sm);
4707
- color: var(--leaf-color-primary);
5201
+ color: var(--leaf-color-primary-ink, var(--leaf-color-primary));
4708
5202
  font: inherit;
4709
5203
  cursor: pointer;
4710
5204
  transition: color var(--leaf-motion-fast) var(--leaf-motion-easing),background-color var(--leaf-motion-fast) var(--leaf-motion-easing);
@@ -4720,7 +5214,7 @@
4720
5214
  }
4721
5215
 
4722
5216
  .leaf-picker-time-toggle:focus-visible {
4723
- outline: 2px solid var(--leaf-color-primary);
5217
+ outline: 2px solid var(--leaf-color-primary-indicator, var(--leaf-color-primary));
4724
5218
  }
4725
5219
 
4726
5220
  .leaf-picker-time-view {
@@ -4795,30 +5289,32 @@
4795
5289
  }
4796
5290
 
4797
5291
  .leaf-steps__item {
5292
+ column-gap: var(--leaf-steps-gap);
4798
5293
  flex: 1;
5294
+ grid-template-columns: auto minmax(12px, 1fr);
4799
5295
  min-width: 0;
4800
5296
  padding-inline-end: 24px;
4801
5297
  list-style: none;
5298
+ display: grid;
4802
5299
  position: relative;
4803
5300
  }
4804
5301
 
4805
5302
  .leaf-steps__item:last-child {
4806
5303
  flex: 0 auto;
4807
5304
  padding-inline-end: 0;
5305
+ display: block;
4808
5306
  }
4809
5307
 
4810
5308
  .leaf-steps__item:not(:last-child):before, .leaf-steps__item:not(:last-child):after {
4811
5309
  content: "";
4812
- top: calc(var(--leaf-steps-icon-size)/2);
4813
5310
  background: var(--leaf-color-border);
5311
+ grid-area: 1 / 2;
4814
5312
  height: 1px;
4815
- position: absolute;
4816
- inset-inline-start: calc(var(--leaf-steps-icon-size) + var(--leaf-steps-gap));
4817
- inset-inline-end: 12px;
5313
+ margin-block-start: calc(var(--leaf-steps-icon-size)/2);
4818
5314
  }
4819
5315
 
4820
5316
  .leaf-steps__item:not(:last-child):after {
4821
- background: var(--leaf-color-primary);
5317
+ background: var(--leaf-color-primary-indicator, var(--leaf-color-primary));
4822
5318
  transform-origin: 0;
4823
5319
  transition: transform var(--leaf-motion-slow) var(--leaf-motion-easing);
4824
5320
  transform: scaleX(0);
@@ -4837,6 +5333,7 @@
4837
5333
  text-align: start;
4838
5334
  background: none;
4839
5335
  border: 0;
5336
+ grid-area: 1 / 1;
4840
5337
  padding: 0;
4841
5338
  display: flex;
4842
5339
  position: relative;
@@ -4853,7 +5350,7 @@
4853
5350
  }
4854
5351
 
4855
5352
  .leaf-steps button.leaf-steps__content:focus-visible {
4856
- outline: 3px solid var(--leaf-color-focus, var(--leaf-focus-color, var(--leaf-color-primary-alpha-42)));
5353
+ outline: 3px solid var(--leaf-color-focus, var(--leaf-focus-color, var(--leaf-color-primary-focus, var(--leaf-color-primary-alpha-42))));
4857
5354
  outline-offset: 2px;
4858
5355
  }
4859
5356
 
@@ -4883,7 +5380,6 @@
4883
5380
 
4884
5381
  .leaf-steps__title {
4885
5382
  padding-block: calc((var(--leaf-steps-icon-size) - 1.5em)/2);
4886
- background: var(--leaf-color-surface);
4887
5383
  padding-inline-end: 10px;
4888
5384
  display: inline-block;
4889
5385
  }
@@ -4896,8 +5392,8 @@
4896
5392
 
4897
5393
  [data-status="process"] .leaf-steps__icon {
4898
5394
  background: var(--leaf-color-surface);
4899
- border-color: var(--leaf-color-primary);
4900
- color: var(--leaf-color-primary);
5395
+ border-color: var(--leaf-color-primary-indicator, var(--leaf-color-primary));
5396
+ color: var(--leaf-color-primary-ink, var(--leaf-color-primary));
4901
5397
  border-width: 1.5px;
4902
5398
  }
4903
5399
 
@@ -4906,8 +5402,8 @@
4906
5402
  }
4907
5403
 
4908
5404
  [data-status="finish"] .leaf-steps__icon {
4909
- background: var(--leaf-color-primary);
4910
- border-color: var(--leaf-color-primary);
5405
+ background: var(--leaf-color-primary-indicator, var(--leaf-color-primary));
5406
+ border-color: var(--leaf-color-primary-indicator, var(--leaf-color-primary));
4911
5407
  color: var(--leaf-color-on-primary);
4912
5408
  }
4913
5409
 
@@ -4933,6 +5429,7 @@
4933
5429
 
4934
5430
  .leaf-steps--vertical .leaf-steps__item {
4935
5431
  padding-inline-end: 0;
5432
+ display: block;
4936
5433
  }
4937
5434
 
4938
5435
  .leaf-steps--vertical .leaf-steps__item:before, .leaf-steps--vertical .leaf-steps__item:after {
@@ -4940,6 +5437,8 @@
4940
5437
  bottom: -14px;
4941
5438
  width: 1px;
4942
5439
  height: auto;
5440
+ margin-block-start: 0;
5441
+ position: absolute;
4943
5442
  inset-inline-start: calc(var(--leaf-steps-icon-size)/2);
4944
5443
  }
4945
5444
 
@@ -4961,6 +5460,12 @@
4961
5460
  padding-inline-end: 4px;
4962
5461
  }
4963
5462
 
5463
+ .leaf-steps--horizontal .leaf-steps__item:before, .leaf-steps--horizontal .leaf-steps__item:after {
5464
+ position: absolute;
5465
+ inset-inline-start: calc(var(--leaf-steps-icon-size) + 8px);
5466
+ inset-inline-end: 0;
5467
+ }
5468
+
4964
5469
  .leaf-steps--horizontal .leaf-steps__content {
4965
5470
  flex-direction: column;
4966
5471
  gap: 4px;
@@ -4998,7 +5503,7 @@
4998
5503
  }
4999
5504
 
5000
5505
  .leaf-steps--dot [data-status="process"] .leaf-steps__icon, .leaf-steps--dot [data-status="finish"] .leaf-steps__icon {
5001
- color: var(--leaf-color-primary);
5506
+ color: var(--leaf-color-primary-ink, var(--leaf-color-primary));
5002
5507
  background: none;
5003
5508
  }
5004
5509
 
@@ -5006,7 +5511,7 @@
5006
5511
  fill: none;
5007
5512
  width: calc(100% + 8px);
5008
5513
  height: calc(100% + 8px);
5009
- stroke: var(--leaf-color-primary);
5514
+ stroke: var(--leaf-color-primary-indicator, var(--leaf-color-primary));
5010
5515
  stroke-width: 2px;
5011
5516
  pointer-events: none;
5012
5517
  position: absolute;
@@ -5079,13 +5584,13 @@
5079
5584
  }
5080
5585
 
5081
5586
  .leaf-breadcrumb a:hover:not([aria-current="page"]) {
5082
- color: var(--leaf-color-primary);
5587
+ color: var(--leaf-color-primary-ink, var(--leaf-color-primary));
5083
5588
  -webkit-text-decoration-color: var(--leaf-color-primary-alpha-45);
5084
5589
  text-decoration-color: var(--leaf-color-primary-alpha-45);
5085
5590
  }
5086
5591
 
5087
5592
  .leaf-breadcrumb a:focus-visible {
5088
- outline: 2px solid var(--leaf-color-primary);
5593
+ outline: 2px solid var(--leaf-color-primary-indicator, var(--leaf-color-primary));
5089
5594
  outline-offset: 3px;
5090
5595
  }
5091
5596
 
@@ -5133,7 +5638,7 @@
5133
5638
  height: var(--leaf-indicator-height, 0px);
5134
5639
  transform: translate(var(--leaf-indicator-x, 0px), var(--leaf-indicator-y, 0px));
5135
5640
  box-sizing: border-box;
5136
- border: 1px solid var(--leaf-color-primary-border-24);
5641
+ border: var(--leaf-border-width, 1px) solid var(--leaf-frame-border-color, var(--leaf-color-primary-border-24));
5137
5642
  border-radius: var(--leaf-radius);
5138
5643
  background: var(--leaf-color-primary-surface-8);
5139
5644
  opacity: 0;
@@ -5154,6 +5659,7 @@
5154
5659
  box-sizing: border-box;
5155
5660
  min-width: var(--leaf-current-control-height);
5156
5661
  height: var(--leaf-current-control-height);
5662
+ border: var(--leaf-border-width, 1px) solid #0000;
5157
5663
  border-radius: var(--leaf-radius);
5158
5664
  color: inherit;
5159
5665
  font: inherit;
@@ -5162,7 +5668,6 @@
5162
5668
  cursor: pointer;
5163
5669
  transition: background-color var(--leaf-motion-duration),border-color var(--leaf-motion-duration),color var(--leaf-motion-duration),box-shadow var(--leaf-motion-duration) var(--leaf-motion-easing);
5164
5670
  background: none;
5165
- border: 1px solid #0000;
5166
5671
  justify-content: center;
5167
5672
  align-items: center;
5168
5673
  padding: 0 8px;
@@ -5176,7 +5681,7 @@
5176
5681
  }
5177
5682
 
5178
5683
  .leaf-pagination > button[aria-current="page"], .leaf-pagination__entry > button[aria-current="page"] {
5179
- color: var(--leaf-color-primary);
5684
+ color: var(--leaf-color-primary-ink, var(--leaf-color-primary));
5180
5685
  font-weight: var(--leaf-font-weight);
5181
5686
  background: none;
5182
5687
  border-color: #0000;
@@ -5196,33 +5701,34 @@
5196
5701
  }
5197
5702
 
5198
5703
  .leaf-pagination > button:focus-visible, .leaf-pagination__entry > button:focus-visible {
5199
- outline: 3px solid var(--leaf-color-focus, var(--leaf-focus-color, var(--leaf-color-primary-alpha-42)));
5704
+ outline: 3px solid var(--leaf-color-focus, var(--leaf-focus-color, var(--leaf-color-primary-focus, var(--leaf-color-primary-alpha-42))));
5200
5705
  outline-offset: 2px;
5201
5706
  }
5202
5707
 
5203
5708
  .leaf-pagination--outline > button, .leaf-pagination--outline .leaf-pagination__entry > button {
5204
- border-color: var(--leaf-color-border);
5709
+ border-color: var(--leaf-frame-border-color, var(--leaf-color-border));
5710
+ box-shadow: var(--leaf-control-shadow, none);
5205
5711
  }
5206
5712
 
5207
5713
  .leaf-pagination--outline > button:before, .leaf-pagination--outline .leaf-pagination__entry > button:before {
5208
5714
  content: "";
5209
5715
  z-index: -2;
5716
+ inset: calc(-1*var(--leaf-border-width, 1px));
5210
5717
  border-radius: inherit;
5211
5718
  background: var(--leaf-color-surface);
5212
5719
  pointer-events: none;
5213
5720
  position: absolute;
5214
- inset: -1px;
5215
5721
  }
5216
5722
 
5217
5723
  .leaf-pagination--outline > button:hover:not(:disabled):not([aria-current="page"]), .leaf-pagination--outline .leaf-pagination__entry > button:hover:not(:disabled):not([aria-current="page"]) {
5218
- color: var(--leaf-color-primary-hover, var(--leaf-color-primary));
5219
- border-color: var(--leaf-color-primary-hover, var(--leaf-color-primary));
5724
+ color: var(--leaf-color-primary-ink-hover, var(--leaf-color-primary-hover, var(--leaf-color-primary)));
5725
+ border-color: var(--leaf-color-primary-ink-hover, var(--leaf-color-primary-hover, var(--leaf-color-primary)));
5220
5726
  background: none;
5221
5727
  }
5222
5728
 
5223
5729
  .leaf-pagination--outline > button:active:not(:disabled):not([aria-current="page"]), .leaf-pagination--outline .leaf-pagination__entry > button:active:not(:disabled):not([aria-current="page"]) {
5224
- color: var(--leaf-color-primary-active, var(--leaf-color-primary));
5225
- border-color: var(--leaf-color-primary-active, var(--leaf-color-primary));
5730
+ color: var(--leaf-color-primary-ink-active, var(--leaf-color-primary-active, var(--leaf-color-primary)));
5731
+ border-color: var(--leaf-color-primary-ink-active, var(--leaf-color-primary-active, var(--leaf-color-primary)));
5226
5732
  }
5227
5733
 
5228
5734
  .leaf-pagination--outline > button[aria-current="page"], .leaf-pagination--outline .leaf-pagination__entry > button[aria-current="page"] {
@@ -5234,7 +5740,7 @@
5234
5740
  }
5235
5741
 
5236
5742
  .leaf-pagination--outline .leaf-pagination__indicator {
5237
- border-color: var(--leaf-color-primary);
5743
+ border-color: var(--leaf-frame-border-color, var(--leaf-color-primary-indicator, var(--leaf-color-primary)));
5238
5744
  }
5239
5745
 
5240
5746
  .leaf-pagination[data-disabled] .leaf-pagination__indicator[data-visible="true"] {
@@ -5484,7 +5990,7 @@
5484
5990
  }
5485
5991
 
5486
5992
  .leaf-checkable-tag:focus-visible {
5487
- outline: 2px solid var(--leaf-color-primary);
5993
+ outline: 2px solid var(--leaf-color-primary-indicator, var(--leaf-color-primary));
5488
5994
  outline-offset: 2px;
5489
5995
  }
5490
5996
 
@@ -5811,10 +6317,10 @@
5811
6317
  max-width: 100%;
5812
6318
  max-height: 100%;
5813
6319
  color: var(--leaf-component-drawer-color, var(--leaf-color-text));
5814
- border: 1px solid var(--leaf-component-drawer-border-color, var(--leaf-color-divider));
6320
+ border: var(--leaf-component-drawer-border-width, var(--leaf-border-width, 1px)) solid var(--leaf-component-drawer-border-color, var(--leaf-frame-border-color, var(--leaf-color-divider)));
5815
6321
  background: var(--leaf-component-drawer-background, var(--leaf-color-surface));
5816
6322
  font: var(--leaf-component-drawer-font-size, var(--leaf-font-size))/1.6 var(--leaf-font-family);
5817
- box-shadow: var(--leaf-component-drawer-shadow, var(--leaf-shadow-lg));
6323
+ box-shadow: var(--leaf-component-drawer-shadow, var(--leaf-surface-shadow, var(--leaf-shadow-lg)));
5818
6324
  opacity: 1;
5819
6325
  transition: transform var(--leaf-motion-slow) var(--leaf-motion-easing),opacity var(--leaf-motion-slow) var(--leaf-motion-easing);
5820
6326
  outline: none;
@@ -5836,7 +6342,19 @@
5836
6342
  }
5837
6343
 
5838
6344
  .leaf-drawer__body {
6345
+ border-radius: 0;
5839
6346
  flex: 1;
6347
+ padding: 0;
6348
+ overflow: hidden;
6349
+ }
6350
+
6351
+ .leaf-drawer__viewport {
6352
+ overscroll-behavior: contain;
6353
+ }
6354
+
6355
+ .leaf-drawer__content {
6356
+ box-sizing: border-box;
6357
+ padding: var(--leaf-component-drawer-padding, var(--leaf-density-dialog-block) var(--leaf-density-dialog-inline));
5840
6358
  }
5841
6359
 
5842
6360
  .leaf-drawer-mask[data-state="closing"] .leaf-drawer {
@@ -5864,7 +6382,7 @@
5864
6382
 
5865
6383
  .leaf-drawer__resize:after {
5866
6384
  content: "";
5867
- background: var(--leaf-color-primary);
6385
+ background: var(--leaf-color-primary-indicator, var(--leaf-color-primary));
5868
6386
  opacity: 0;
5869
6387
  transition: opacity var(--leaf-motion-fast) var(--leaf-motion-easing);
5870
6388
  position: absolute;
@@ -5876,7 +6394,7 @@
5876
6394
  }
5877
6395
 
5878
6396
  .leaf-drawer__resize:focus-visible {
5879
- outline: 2px solid var(--leaf-color-primary);
6397
+ outline: 2px solid var(--leaf-color-primary-indicator, var(--leaf-color-primary));
5880
6398
  outline-offset: -2px;
5881
6399
  }
5882
6400
 
@@ -5933,7 +6451,7 @@
5933
6451
  .leaf-loading__spinner {
5934
6452
  width: var(--leaf-spinner-size);
5935
6453
  height: var(--leaf-spinner-size);
5936
- color: var(--leaf-color-primary);
6454
+ color: var(--leaf-color-primary-ink, var(--leaf-color-primary));
5937
6455
  animation: var(--leaf-motion-animation, leaf-spin calc(var(--leaf-motion-duration) * 4.5) linear infinite);
5938
6456
  animation-play-state: var(--leaf-motion-play-state);
5939
6457
  }
@@ -5990,7 +6508,7 @@
5990
6508
  }
5991
6509
 
5992
6510
  .leaf-progress {
5993
- --leaf-progress-color: var(--leaf-color-primary);
6511
+ --leaf-progress-color: var(--leaf-color-primary-indicator, var(--leaf-color-primary));
5994
6512
  }
5995
6513
 
5996
6514
  .leaf-progress[data-status="success"] {
@@ -6179,7 +6697,7 @@
6179
6697
  background: var(--leaf-component-tooltip-background, var(--leaf-color-text));
6180
6698
  font-size: var(--leaf-font-size-sm);
6181
6699
  overflow-wrap: anywhere;
6182
- box-shadow: var(--leaf-component-tooltip-shadow, var(--leaf-shadow-md));
6700
+ box-shadow: var(--leaf-component-tooltip-shadow, var(--leaf-surface-shadow, var(--leaf-shadow-md)));
6183
6701
  transition-duration: var(--leaf-motion-fast),var(--leaf-motion-duration),var(--leaf-motion-duration);
6184
6702
  border: 0;
6185
6703
  line-height: 1.6;
@@ -6191,12 +6709,13 @@
6191
6709
 
6192
6710
  .leaf-calendar-view {
6193
6711
  box-sizing: border-box;
6194
- border: 1px solid var(--leaf-color-border);
6195
- border-radius: var(--leaf-radius-md);
6196
- background: var(--leaf-color-surface-raised, var(--leaf-color-surface));
6712
+ border: var(--leaf-component-calendar-border-width, var(--leaf-border-width, 1px)) solid var(--leaf-component-calendar-border-color, var(--leaf-frame-border-color, var(--leaf-color-border)));
6197
6713
  width: 300px;
6198
6714
  min-width: 0;
6199
6715
  max-width: 100%;
6716
+ box-shadow: var(--leaf-component-calendar-shadow, var(--leaf-surface-shadow, none));
6717
+ border-radius: var(--leaf-radius-md);
6718
+ background: var(--leaf-color-surface-raised, var(--leaf-color-surface));
6200
6719
  color: var(--leaf-color-text);
6201
6720
  font: var(--leaf-font-size)/1.5 var(--leaf-font-family);
6202
6721
  }
@@ -6269,11 +6788,11 @@
6269
6788
 
6270
6789
  .leaf-calendar-view--full .leaf-calendar__today:hover {
6271
6790
  background: var(--leaf-color-primary-surface-10);
6272
- color: var(--leaf-color-primary);
6791
+ color: var(--leaf-color-primary-ink, var(--leaf-color-primary));
6273
6792
  }
6274
6793
 
6275
6794
  .leaf-calendar-view--full .leaf-calendar__today:focus-visible {
6276
- outline: 2px solid var(--leaf-color-primary);
6795
+ outline: 2px solid var(--leaf-color-primary-indicator, var(--leaf-color-primary));
6277
6796
  outline-offset: 2px;
6278
6797
  }
6279
6798
 
@@ -6310,7 +6829,7 @@
6310
6829
  }
6311
6830
 
6312
6831
  .leaf-calendar-view--full .leaf-date-picker__day[aria-current="date"]:not(:disabled) {
6313
- border-color: var(--leaf-color-primary);
6832
+ border-color: var(--leaf-color-primary-indicator, var(--leaf-color-primary));
6314
6833
  }
6315
6834
 
6316
6835
  .leaf-calendar-view--full .leaf-date-picker__day--outside {
@@ -6349,7 +6868,7 @@
6349
6868
  }
6350
6869
 
6351
6870
  .leaf-calendar-view--full .leaf-date-picker__day--selected:not(:disabled) .leaf-calendar__cell-label {
6352
- background: var(--leaf-color-primary);
6871
+ background: var(--leaf-color-primary-indicator, var(--leaf-color-primary));
6353
6872
  color: var(--leaf-color-on-primary);
6354
6873
  }
6355
6874
 
@@ -6421,16 +6940,6 @@
6421
6940
  --leaf-current-control-height: var(--leaf-control-height, 36px);
6422
6941
  }
6423
6942
 
6424
- .leaf-tabs--sm {
6425
- --leaf-current-control-height: var(--leaf-control-height-sm, 30px);
6426
- --leaf-current-font-size: var(--leaf-font-size-sm, 12px);
6427
- }
6428
-
6429
- .leaf-tabs--lg {
6430
- --leaf-current-control-height: var(--leaf-control-height-lg, 42px);
6431
- --leaf-current-font-size: var(--leaf-font-size-lg, 16px);
6432
- }
6433
-
6434
6943
  .leaf-tabs {
6435
6944
  min-width: 0;
6436
6945
  color: var(--leaf-component-tabs-color, var(--leaf-color-text));
@@ -6443,12 +6952,14 @@
6443
6952
  display: flex;
6444
6953
  }
6445
6954
 
6446
- .leaf-tabs__list {
6447
- scrollbar-width: thin;
6955
+ .leaf-tabs__scroll {
6956
+ flex: 1;
6448
6957
  min-width: 0;
6958
+ }
6959
+
6960
+ .leaf-tabs__list {
6961
+ box-sizing: border-box;
6449
6962
  box-shadow: inset 0 -1px 0 var(--leaf-color-divider);
6450
- flex: 1;
6451
- overflow: auto;
6452
6963
  }
6453
6964
 
6454
6965
  .leaf-tabs__track {
@@ -6484,7 +6995,7 @@
6484
6995
  .leaf-tabs__indicator:after {
6485
6996
  content: "";
6486
6997
  inset-inline: 0;
6487
- background: var(--leaf-color-primary);
6998
+ background: var(--leaf-color-primary-indicator, var(--leaf-color-primary));
6488
6999
  border-radius: 2px;
6489
7000
  height: 2px;
6490
7001
  position: absolute;
@@ -6510,25 +7021,17 @@
6510
7021
  }
6511
7022
 
6512
7023
  .leaf-tabs__tab[aria-selected="true"] {
6513
- color: var(--leaf-color-primary);
7024
+ color: var(--leaf-color-primary-ink, var(--leaf-color-primary));
6514
7025
  font-weight: var(--leaf-font-weight);
6515
7026
  }
6516
7027
 
6517
- .leaf-tabs__tab:hover:not(:disabled):not([aria-selected="true"]) {
6518
- color: var(--leaf-color-primary-hover, var(--leaf-color-primary));
6519
- }
6520
-
6521
- .leaf-tabs__tab:active:not(:disabled):not([aria-selected="true"]) {
6522
- color: var(--leaf-color-primary-active, var(--leaf-color-primary));
6523
- }
6524
-
6525
7028
  .leaf-tabs__tab:disabled {
6526
7029
  opacity: .45;
6527
7030
  cursor: not-allowed;
6528
7031
  }
6529
7032
 
6530
7033
  .leaf-tabs__tab:focus-visible {
6531
- outline: 2px solid var(--leaf-color-primary);
7034
+ outline: 2px solid var(--leaf-color-primary-indicator, var(--leaf-color-primary));
6532
7035
  outline-offset: -3px;
6533
7036
  }
6534
7037
 
@@ -6574,7 +7077,7 @@
6574
7077
  }
6575
7078
 
6576
7079
  .leaf-tabs__close:focus-visible {
6577
- outline: 3px solid var(--leaf-color-focus, var(--leaf-focus-color, var(--leaf-color-primary-alpha-42)));
7080
+ outline: 3px solid var(--leaf-color-focus, var(--leaf-focus-color, var(--leaf-color-primary-focus, var(--leaf-color-primary-alpha-42))));
6578
7081
  outline-offset: 2px;
6579
7082
  }
6580
7083
 
@@ -6595,7 +7098,7 @@
6595
7098
  }
6596
7099
 
6597
7100
  .leaf-tabs__drag:focus-visible {
6598
- outline: 3px solid var(--leaf-color-focus, var(--leaf-focus-color, var(--leaf-color-primary-alpha-42)));
7101
+ outline: 3px solid var(--leaf-color-focus, var(--leaf-focus-color, var(--leaf-color-primary-focus, var(--leaf-color-primary-alpha-42))));
6599
7102
  outline-offset: 2px;
6600
7103
  }
6601
7104
 
@@ -6621,7 +7124,7 @@
6621
7124
  }
6622
7125
 
6623
7126
  .leaf-tabs__panel:focus-visible {
6624
- outline: 3px solid var(--leaf-color-focus, var(--leaf-focus-color, var(--leaf-color-primary-alpha-42)));
7127
+ outline: 3px solid var(--leaf-color-focus, var(--leaf-focus-color, var(--leaf-color-primary-focus, var(--leaf-color-primary-alpha-42))));
6625
7128
  outline-offset: 2px;
6626
7129
  outline-offset: -2px;
6627
7130
  }
@@ -6632,27 +7135,32 @@
6632
7135
 
6633
7136
  .leaf-tabs--card .leaf-tabs__list {
6634
7137
  --leaf-surface-radius: var(--leaf-component-tabs-radius, var(--leaf-radius));
6635
- --leaf-surface-padding: var(--leaf-component-tabs-padding, var(--leaf-tabs-card-padding, 4px));
6636
- --leaf-surface-border: 1px;
7138
+ --leaf-surface-padding: var(--leaf-component-tabs-padding, 3px);
7139
+ --leaf-surface-border: var(--leaf-component-tabs-border-width, var(--leaf-border-width, 1px));
6637
7140
  --leaf-surface-padding-top: var(--leaf-component-tabs-padding-top, var(--leaf-surface-padding));
6638
7141
  --leaf-surface-padding-right: var(--leaf-component-tabs-padding-right, var(--leaf-surface-padding));
6639
7142
  --leaf-surface-padding-bottom: var(--leaf-component-tabs-padding-bottom, var(--leaf-surface-padding));
6640
7143
  --leaf-surface-padding-left: var(--leaf-component-tabs-padding-left, var(--leaf-surface-padding));
6641
7144
  box-sizing: border-box;
6642
- --leaf-tabs-card-tab-height: max(1px, calc(var(--leaf-current-control-height) - var(--leaf-surface-padding-top) - var(--leaf-surface-padding-bottom) - 2px));
7145
+ --leaf-tabs-card-tab-height: max(1px, calc(var(--leaf-current-control-height) - var(--leaf-surface-padding-top) - var(--leaf-surface-padding-bottom) - 2 * var(--leaf-surface-border)));
6643
7146
  min-height: var(--leaf-current-control-height);
6644
- border: 1px solid var(--leaf-color-border);
6645
- background: var(--leaf-color-surface-muted);
6646
- box-shadow: none;
7147
+ border: var(--leaf-surface-border) solid var(--leaf-component-tabs-border-color, var(--leaf-frame-border-color, var(--leaf-color-border-alpha-65)));
7148
+ background: var(--leaf-component-tabs-background, var(--leaf-color-surface-muted));
7149
+ box-shadow: var(--leaf-component-tabs-shadow, var(--leaf-control-shadow, none));
7150
+ flex: 0 auto;
7151
+ }
7152
+
7153
+ .leaf-tabs--card .leaf-tabs__scroll {
6647
7154
  flex: 0 auto;
7155
+ width: auto;
6648
7156
  }
6649
7157
 
6650
7158
  .leaf-tabs--card .leaf-tabs__track {
7159
+ gap: var(--leaf-component-tabs-gap, 3px);
6651
7160
  box-sizing: border-box;
6652
7161
  min-width: calc(100% + var(--leaf-surface-padding-left) + var(--leaf-surface-padding-right));
6653
7162
  padding: var(--leaf-surface-padding-top) var(--leaf-surface-padding-right) var(--leaf-surface-padding-bottom) var(--leaf-surface-padding-left);
6654
7163
  margin: calc(-1*var(--leaf-surface-padding-top)) calc(-1*var(--leaf-surface-padding-right)) calc(-1*var(--leaf-surface-padding-bottom)) calc(-1*var(--leaf-surface-padding-left));
6655
- gap: 2px;
6656
7164
  }
6657
7165
 
6658
7166
  .leaf-tabs--card .leaf-tabs__indicator {
@@ -6742,10 +7250,28 @@
6742
7250
  min-height: var(--leaf-tabs-card-tab-height);
6743
7251
  border-radius: var(--leaf-surface-inner-radius);
6744
7252
  font-weight: var(--leaf-font-weight);
7253
+ color: var(--leaf-component-tabs-color, var(--leaf-color-text));
7254
+ gap: 6px;
6745
7255
  padding: 0 12px;
6746
7256
  line-height: 1.5;
6747
7257
  }
6748
7258
 
7259
+ .leaf-tabs--card:is(.leaf-tabs--left, .leaf-tabs--right) .leaf-tabs__track {
7260
+ gap: var(--leaf-component-tabs-gap, 3px);
7261
+ }
7262
+
7263
+ .leaf-tabs--block .leaf-tabs__list, .leaf-tabs--block .leaf-tabs__scroll {
7264
+ flex: 1;
7265
+ }
7266
+
7267
+ .leaf-tabs--block .leaf-tabs__track {
7268
+ width: auto;
7269
+ }
7270
+
7271
+ .leaf-tabs--block .leaf-tabs__entry, .leaf-tabs--block .leaf-tabs__tab {
7272
+ flex: 1;
7273
+ }
7274
+
6749
7275
  @media (prefers-reduced-motion: reduce) {
6750
7276
  .leaf-tabs__tab, .leaf-tabs__close, .leaf-tabs__indicator[data-animate="true"] {
6751
7277
  transition: none;
@@ -6758,17 +7284,61 @@
6758
7284
  }
6759
7285
 
6760
7286
  .leaf-tabs--sm {
6761
- --leaf-tabs-card-padding: 2px;
6762
7287
  --leaf-current-control-height: var(--leaf-component-tabs-height-sm, var(--leaf-control-height-sm));
6763
7288
  --leaf-current-font-size: var(--leaf-font-size-sm);
6764
7289
  }
6765
7290
 
6766
7291
  .leaf-tabs--lg {
6767
- --leaf-tabs-card-padding: 5px;
6768
7292
  --leaf-current-control-height: var(--leaf-component-tabs-height-lg, var(--leaf-control-height-lg));
6769
7293
  --leaf-current-font-size: var(--leaf-font-size-lg);
6770
7294
  }
6771
7295
 
7296
+ .leaf-tabs__tab {
7297
+ --leaf-tabs-tab-color: var(--leaf-color-text-muted);
7298
+ --leaf-tabs-tab-hover-color: var(--leaf-color-primary-ink-hover, var(--leaf-color-primary-hover, var(--leaf-color-primary)));
7299
+ --leaf-tabs-tab-active-color: var(--leaf-color-primary-ink-active, var(--leaf-color-primary-active, var(--leaf-color-primary)));
7300
+ }
7301
+
7302
+ .leaf-tabs__tab[aria-selected="true"] {
7303
+ --leaf-tabs-tab-color: var(--leaf-color-primary-ink, var(--leaf-color-primary));
7304
+ --leaf-tabs-tab-hover-color: var(--leaf-color-primary-ink, var(--leaf-color-primary));
7305
+ --leaf-tabs-tab-active-color: var(--leaf-color-primary-ink, var(--leaf-color-primary));
7306
+ }
7307
+
7308
+ .leaf-tabs__tab:focus-visible:not(:disabled) {
7309
+ color: var(--leaf-component-tabs-focus-color, var(--leaf-tabs-tab-color));
7310
+ background: var(--leaf-component-tabs-focus-background, transparent);
7311
+ border-color: var(--leaf-component-tabs-focus-border-color, transparent);
7312
+ box-shadow: var(--leaf-component-tabs-focus-shadow, none);
7313
+ }
7314
+
7315
+ .leaf-tabs__tab:hover:not(:disabled):where(:not(:focus-visible)) {
7316
+ color: var(--leaf-component-tabs-hover-color, var(--leaf-tabs-tab-hover-color));
7317
+ background: var(--leaf-component-tabs-hover-background, transparent);
7318
+ border-color: var(--leaf-component-tabs-hover-border-color, transparent);
7319
+ box-shadow: var(--leaf-component-tabs-hover-shadow, none);
7320
+ }
7321
+
7322
+ .leaf-tabs__tab:active:not(:disabled) {
7323
+ color: var(--leaf-component-tabs-active-color, var(--leaf-tabs-tab-active-color));
7324
+ background: var(--leaf-component-tabs-active-background, transparent);
7325
+ border-color: var(--leaf-component-tabs-active-border-color, transparent);
7326
+ box-shadow: var(--leaf-component-tabs-active-shadow, none);
7327
+ }
7328
+
7329
+ .leaf-tabs__tab:disabled {
7330
+ color: var(--leaf-component-tabs-disabled-color, var(--leaf-tabs-tab-color));
7331
+ background: var(--leaf-component-tabs-disabled-background, transparent);
7332
+ border-color: var(--leaf-component-tabs-disabled-border-color, transparent);
7333
+ box-shadow: var(--leaf-component-tabs-disabled-shadow, none);
7334
+ }
7335
+
7336
+ .leaf-tabs--card .leaf-tabs__tab {
7337
+ --leaf-tabs-tab-color: var(--leaf-component-tabs-color, var(--leaf-color-text));
7338
+ --leaf-tabs-tab-hover-color: var(--leaf-tabs-tab-color);
7339
+ --leaf-tabs-tab-active-color: var(--leaf-tabs-tab-color);
7340
+ }
7341
+
6772
7342
  @media (forced-colors: active) {
6773
7343
  .leaf-tabs__indicator:after, .leaf-tabs--card .leaf-tabs__indicator {
6774
7344
  forced-color-adjust: none;
@@ -6790,18 +7360,23 @@
6790
7360
  }
6791
7361
 
6792
7362
  .leaf-input-number {
6793
- --leaf-field-color: var(--leaf-color-primary);
7363
+ --leaf-field-color: var(--leaf-color-primary-indicator, var(--leaf-color-primary));
6794
7364
  --leaf-field-color-alpha-12: var(--leaf-color-primary-alpha-12);
6795
7365
  --leaf-field-color-border-30: var(--leaf-color-primary-border-30);
6796
7366
  --leaf-field-hover-color: var(--leaf-color-border-hover, var(--leaf-field-color));
7367
+ --leaf-field-border-width: var(--leaf-component-input-number-border-width, var(--leaf-border-width, 1px));
7368
+ --leaf-field-text: var(--leaf-component-input-number-color, var(--leaf-color-text));
7369
+ --leaf-field-rest-border: var(--leaf-component-input-number-border-color, var(--leaf-frame-border-color, var(--leaf-color-border)));
7370
+ --leaf-field-background: var(--leaf-component-input-number-background, var(--leaf-color-surface));
7371
+ --leaf-field-shadow: var(--leaf-component-input-number-shadow, var(--leaf-control-shadow, 0 0 0 0 transparent));
6797
7372
  box-sizing: border-box;
6798
- border: 1px solid var(--leaf-color-border);
7373
+ border: var(--leaf-field-border-width) solid var(--leaf-component-input-number-border-color, var(--leaf-frame-border-color, var(--leaf-color-border)));
6799
7374
  border-radius: var(--leaf-component-input-number-radius, var(--leaf-radius));
6800
7375
  width: 100%;
6801
7376
  min-width: 0;
6802
7377
  color: var(--leaf-component-input-number-color, var(--leaf-color-text));
6803
7378
  background: var(--leaf-component-input-number-background, var(--leaf-color-surface));
6804
- box-shadow: var(--leaf-component-input-number-shadow, none);
7379
+ box-shadow: var(--leaf-field-shadow);
6805
7380
  font-family: var(--leaf-font-family);
6806
7381
  font-size: var(--leaf-component-input-number-font-size, var(--leaf-current-font-size));
6807
7382
  line-height: var(--leaf-line-height, 1.5);
@@ -6809,6 +7384,7 @@
6809
7384
  }
6810
7385
 
6811
7386
  .leaf-input-number[data-status="error"] {
7387
+ --leaf-field-rest-border: var(--leaf-field-color);
6812
7388
  --leaf-field-color: var(--leaf-color-danger);
6813
7389
  --leaf-field-color-alpha-12: var(--leaf-color-danger-alpha-12);
6814
7390
  --leaf-field-color-border-30: var(--leaf-color-danger-border-30);
@@ -6817,6 +7393,7 @@
6817
7393
  }
6818
7394
 
6819
7395
  .leaf-input-number[data-status="warning"] {
7396
+ --leaf-field-rest-border: var(--leaf-field-color);
6820
7397
  --leaf-field-color: var(--leaf-color-warning);
6821
7398
  --leaf-field-color-alpha-12: var(--leaf-color-warning-alpha-12);
6822
7399
  --leaf-field-color-border-30: var(--leaf-color-warning-border-30);
@@ -6824,33 +7401,53 @@
6824
7401
  border-color: var(--leaf-field-color);
6825
7402
  }
6826
7403
 
6827
- .leaf-input-number:hover:not([data-disabled]):not(:disabled):not(:focus-within):not([data-open]) {
6828
- border-color: var(--leaf-field-hover-color);
7404
+ .leaf-input-number[data-disabled], .leaf-input-number:disabled {
7405
+ opacity: .55;
7406
+ cursor: not-allowed;
6829
7407
  }
6830
7408
 
6831
- .leaf-input-number:focus-within, .leaf-input-number[data-open] {
6832
- border-color: var(--leaf-field-color);
6833
- box-shadow: 0 0 0 3px var(--leaf-field-color-alpha-12);
7409
+ .leaf-input-number:hover:not([data-disabled]):not(:disabled):where(:not(:focus-within):not([data-open])) {
7410
+ color: var(--leaf-component-input-number-hover-color, var(--leaf-field-text));
7411
+ background: var(--leaf-component-input-number-hover-background, var(--leaf-field-background));
7412
+ border-color: var(--leaf-component-input-number-hover-border-color, var(--leaf-field-hover-color));
7413
+ box-shadow: var(--leaf-component-input-number-hover-shadow, var(--leaf-field-shadow));
6834
7414
  }
6835
7415
 
6836
- .leaf-input-number[data-disabled], .leaf-input-number:disabled {
6837
- background: var(--leaf-color-surface-muted);
6838
- opacity: .55;
6839
- cursor: not-allowed;
7416
+ .leaf-input-number:is(:focus-within, [data-open]):not([data-disabled]):not(:disabled) {
7417
+ color: var(--leaf-component-input-number-focus-color, var(--leaf-field-text));
7418
+ background: var(--leaf-component-input-number-focus-background, var(--leaf-field-background));
7419
+ border-color: var(--leaf-component-input-number-focus-border-color, var(--leaf-field-color));
7420
+ box-shadow: var(--leaf-component-input-number-focus-shadow, var(--leaf-field-shadow));
7421
+ outline: 3px solid var(--leaf-color-focus, var(--leaf-field-color-alpha-12));
7422
+ outline-offset: 0;
6840
7423
  }
6841
7424
 
6842
- @media (prefers-reduced-motion: reduce) {
6843
- .leaf-input-number {
6844
- transition: none;
6845
- }
7425
+ .leaf-input-number:active:not([data-disabled]):not(:disabled) {
7426
+ color: var(--leaf-component-input-number-active-color, var(--leaf-field-text));
7427
+ background: var(--leaf-component-input-number-active-background, var(--leaf-field-background));
7428
+ border-color: var(--leaf-component-input-number-active-border-color, var(--leaf-field-hover-color));
7429
+ box-shadow: var(--leaf-component-input-number-active-shadow, var(--leaf-field-shadow));
7430
+ }
7431
+
7432
+ .leaf-input-number[data-disabled], .leaf-input-number:disabled {
7433
+ color: var(--leaf-component-input-number-disabled-color, var(--leaf-field-text));
7434
+ background: var(--leaf-component-input-number-disabled-background, var(--leaf-color-surface-muted));
7435
+ border-color: var(--leaf-component-input-number-disabled-border-color, var(--leaf-field-rest-border));
7436
+ box-shadow: var(--leaf-component-input-number-disabled-shadow, var(--leaf-field-shadow));
6846
7437
  }
6847
7438
 
6848
7439
  @media (forced-colors: active) {
6849
- .leaf-input-number:focus-within {
7440
+ .leaf-input-number:is(:focus-within, [data-open]):not([data-disabled]):not(:disabled) {
6850
7441
  outline: 2px solid highlight;
6851
7442
  }
6852
7443
  }
6853
7444
 
7445
+ @media (prefers-reduced-motion: reduce) {
7446
+ .leaf-input-number {
7447
+ transition: none;
7448
+ }
7449
+ }
7450
+
6854
7451
  .leaf-input-number {
6855
7452
  align-items: center;
6856
7453
  gap: var(--leaf-component-input-number-gap, 8px);
@@ -6914,7 +7511,7 @@
6914
7511
  }
6915
7512
 
6916
7513
  .leaf-input-number__controls button:hover:not(:disabled) {
6917
- color: var(--leaf-color-primary);
7514
+ color: var(--leaf-color-primary-ink, var(--leaf-color-primary));
6918
7515
  background: var(--leaf-color-surface-muted);
6919
7516
  }
6920
7517
 
@@ -6932,7 +7529,7 @@
6932
7529
  }
6933
7530
 
6934
7531
  .leaf-input-number__controls button:focus-visible {
6935
- outline: 2px solid var(--leaf-color-primary);
7532
+ outline: 2px solid var(--leaf-color-primary-indicator, var(--leaf-color-primary));
6936
7533
  outline-offset: -2px;
6937
7534
  }
6938
7535
 
@@ -6969,12 +7566,12 @@
6969
7566
  .leaf-avatar {
6970
7567
  box-sizing: border-box;
6971
7568
  vertical-align: middle;
6972
- border: 1px solid var(--leaf-color-border);
6973
7569
  width: 40px;
6974
7570
  height: 40px;
6975
7571
  color: var(--leaf-component-avatar-color, var(--leaf-color-text-muted));
6976
7572
  background: var(--leaf-component-avatar-background, var(--leaf-color-surface-muted));
6977
7573
  font: var(--leaf-font-weight) 15px/1 var(--leaf-font-family);
7574
+ border: 2px solid #fff;
6978
7575
  flex: none;
6979
7576
  justify-content: center;
6980
7577
  align-items: center;
@@ -7037,14 +7634,16 @@
7037
7634
 
7038
7635
  .leaf-avatar-group {
7039
7636
  align-items: center;
7040
- padding-inline-start: 3px;
7041
7637
  display: flex;
7042
7638
  }
7043
7639
 
7044
7640
  .leaf-avatar-group > .leaf-avatar, .leaf-avatar-group > button {
7045
- box-shadow: 0 0 0 3px var(--leaf-color-surface);
7046
7641
  border-radius: 50%;
7047
- margin-inline-start: -3px;
7642
+ margin-inline-start: -8px;
7643
+ }
7644
+
7645
+ .leaf-avatar-group > :first-child {
7646
+ margin-inline-start: 0;
7048
7647
  }
7049
7648
 
7050
7649
  .leaf-avatar-group__more {
@@ -7067,7 +7666,7 @@
7067
7666
  }
7068
7667
 
7069
7668
  .leaf-avatar-group__more:focus-visible {
7070
- outline: 2px solid var(--leaf-color-primary);
7669
+ outline: 2px solid var(--leaf-color-primary-indicator, var(--leaf-color-primary));
7071
7670
  outline-offset: 3px;
7072
7671
  }
7073
7672
 
@@ -7088,18 +7687,19 @@
7088
7687
  --leaf-card-heading-gap: var(--leaf-component-card-gap, calc(var(--leaf-spacing) * 2));
7089
7688
  --leaf-card-title-font-size: calc(var(--leaf-font-size) + 1px);
7090
7689
  box-sizing: border-box;
7690
+ border: var(--leaf-component-card-border-width, var(--leaf-border-width, 1px)) solid #0000;
7091
7691
  border-radius: var(--leaf-component-card-radius, var(--leaf-radius-md));
7092
7692
  background: var(--leaf-component-card-background, var(--leaf-color-surface));
7093
7693
  min-width: 0;
7094
7694
  color: var(--leaf-component-card-color, var(--leaf-color-text));
7095
7695
  font: var(--leaf-component-card-font-size, var(--leaf-font-size))/1.6 var(--leaf-font-family);
7096
7696
  transition: border-color var(--leaf-motion-duration) var(--leaf-motion-easing),box-shadow var(--leaf-motion-duration) var(--leaf-motion-easing);
7097
- border: 1px solid #0000;
7697
+ box-shadow: var(--leaf-component-card-shadow, var(--leaf-surface-shadow, none));
7098
7698
  }
7099
7699
 
7100
7700
  .leaf-card--bordered {
7101
- border-color: var(--leaf-component-card-border-color, var(--leaf-color-divider));
7102
- box-shadow: var(--leaf-component-card-shadow, none);
7701
+ border-color: var(--leaf-component-card-border-color, var(--leaf-frame-border-color, var(--leaf-color-divider)));
7702
+ box-shadow: var(--leaf-component-card-shadow, var(--leaf-surface-shadow, none));
7103
7703
  }
7104
7704
 
7105
7705
  .leaf-card--sm {
@@ -7186,7 +7786,7 @@
7186
7786
  }
7187
7787
 
7188
7788
  .leaf-card--divided > .leaf-card__header {
7189
- border-block-end: 1px solid var(--leaf-component-card-border-color, var(--leaf-color-divider));
7789
+ border-block-end: 1px solid var(--leaf-component-card-border-color, var(--leaf-frame-border-color, var(--leaf-color-divider)));
7190
7790
  }
7191
7791
 
7192
7792
  .leaf-card--divided > .leaf-card__header + .leaf-card__body {
@@ -7195,7 +7795,7 @@
7195
7795
 
7196
7796
  .leaf-card--divided > .leaf-card__footer {
7197
7797
  padding-block: var(--leaf-component-card-padding-top, calc(var(--leaf-spacing) * 1.5)) var(--leaf-component-card-padding-bottom, calc(var(--leaf-spacing) * 1.5));
7198
- border-block-start: 1px solid var(--leaf-component-card-border-color, var(--leaf-color-divider));
7798
+ border-block-start: 1px solid var(--leaf-component-card-border-color, var(--leaf-frame-border-color, var(--leaf-color-divider)));
7199
7799
  background: var(--leaf-component-card-footer-background, var(--leaf-color-surface-muted));
7200
7800
  }
7201
7801
 
@@ -7225,18 +7825,18 @@
7225
7825
 
7226
7826
  .leaf-card__tabs > .leaf-tabs__header {
7227
7827
  padding: var(--leaf-card-padding);
7228
- border-block-end: 1px solid var(--leaf-component-card-border-color, var(--leaf-color-divider));
7828
+ border-block-end: 1px solid var(--leaf-component-card-border-color, var(--leaf-frame-border-color, var(--leaf-color-divider)));
7229
7829
  background: var(--leaf-component-card-header-background, transparent);
7230
7830
  border-start-start-radius: inherit;
7231
7831
  border-start-end-radius: inherit;
7232
7832
  padding-block: 0;
7233
7833
  }
7234
7834
 
7235
- .leaf-card__tabs > .leaf-tabs__header > .leaf-tabs__list {
7835
+ .leaf-card__tabs > .leaf-tabs__header > .leaf-tabs__scroll > .leaf-tabs__list {
7236
7836
  box-shadow: none;
7237
7837
  }
7238
7838
 
7239
- .leaf-card__tabs > .leaf-tabs__header > .leaf-tabs__list > .leaf-tabs__track {
7839
+ .leaf-card__tabs > .leaf-tabs__header > .leaf-tabs__scroll > .leaf-tabs__list > .leaf-scrollbar__content > .leaf-tabs__track {
7240
7840
  gap: var(--leaf-spacing-md);
7241
7841
  }
7242
7842
 
@@ -7261,23 +7861,23 @@
7261
7861
  align-items: stretch;
7262
7862
  }
7263
7863
 
7264
- .leaf-card > .leaf-card__tabs:first-child > .leaf-tabs__header > .leaf-tabs__list, .leaf-card > .leaf-card__cover + .leaf-card__tabs > .leaf-tabs__header > .leaf-tabs__list {
7864
+ .leaf-card > .leaf-card__tabs:first-child > .leaf-tabs__header > .leaf-tabs__scroll > .leaf-tabs__list, .leaf-card > .leaf-card__cover + .leaf-card__tabs > .leaf-tabs__header > .leaf-tabs__scroll > .leaf-tabs__list {
7265
7865
  display: flex;
7266
7866
  }
7267
7867
 
7268
- .leaf-card > .leaf-card__tabs:first-child > .leaf-tabs__header > .leaf-tabs__list > .leaf-tabs__track, .leaf-card > .leaf-card__cover + .leaf-card__tabs > .leaf-tabs__header > .leaf-tabs__list > .leaf-tabs__track {
7868
+ .leaf-card > .leaf-card__tabs:first-child > .leaf-tabs__header > .leaf-tabs__scroll > .leaf-tabs__list > .leaf-scrollbar__content > .leaf-tabs__track, .leaf-card > .leaf-card__cover + .leaf-card__tabs > .leaf-tabs__header > .leaf-tabs__scroll > .leaf-tabs__list > .leaf-scrollbar__content > .leaf-tabs__track {
7269
7869
  flex-shrink: 0;
7270
7870
  }
7271
7871
 
7272
- .leaf-card > .leaf-card__tabs:first-child > .leaf-tabs__header > .leaf-tabs__list > .leaf-tabs__track > .leaf-tabs__entry, .leaf-card > .leaf-card__cover + .leaf-card__tabs > .leaf-tabs__header > .leaf-tabs__list > .leaf-tabs__track > .leaf-tabs__entry {
7872
+ .leaf-card > .leaf-card__tabs:first-child > .leaf-tabs__header > .leaf-tabs__scroll > .leaf-tabs__list > .leaf-scrollbar__content > .leaf-tabs__track > .leaf-tabs__entry, .leaf-card > .leaf-card__cover + .leaf-card__tabs > .leaf-tabs__header > .leaf-tabs__scroll > .leaf-tabs__list > .leaf-scrollbar__content > .leaf-tabs__track > .leaf-tabs__entry {
7273
7873
  align-items: stretch;
7274
7874
  }
7275
7875
 
7276
- .leaf-card > .leaf-card__tabs:first-child > .leaf-tabs__header > .leaf-tabs__list > .leaf-tabs__track > .leaf-tabs__entry > .leaf-tabs__tab, .leaf-card > .leaf-card__cover + .leaf-card__tabs > .leaf-tabs__header > .leaf-tabs__list > .leaf-tabs__track > .leaf-tabs__entry > .leaf-tabs__tab {
7876
+ .leaf-card > .leaf-card__tabs:first-child > .leaf-tabs__header > .leaf-tabs__scroll > .leaf-tabs__list > .leaf-scrollbar__content > .leaf-tabs__track > .leaf-tabs__entry > .leaf-tabs__tab, .leaf-card > .leaf-card__cover + .leaf-card__tabs > .leaf-tabs__header > .leaf-tabs__scroll > .leaf-tabs__list > .leaf-scrollbar__content > .leaf-tabs__track > .leaf-tabs__entry > .leaf-tabs__tab {
7277
7877
  min-height: var(--leaf-card-tab-heading-height);
7278
7878
  }
7279
7879
 
7280
- .leaf-card > .leaf-card__tabs:first-child > .leaf-tabs__header > .leaf-tabs__list > .leaf-tabs__track > .leaf-tabs__entry > .leaf-tabs__close, .leaf-card > .leaf-card__tabs:first-child > .leaf-tabs__header > .leaf-tabs__list > .leaf-tabs__track > .leaf-tabs__entry > .leaf-tabs__drag, .leaf-card > .leaf-card__cover + .leaf-card__tabs > .leaf-tabs__header > .leaf-tabs__list > .leaf-tabs__track > .leaf-tabs__entry > .leaf-tabs__close, .leaf-card > .leaf-card__cover + .leaf-card__tabs > .leaf-tabs__header > .leaf-tabs__list > .leaf-tabs__track > .leaf-tabs__entry > .leaf-tabs__drag, .leaf-card > .leaf-card__tabs:first-child > .leaf-tabs__header > .leaf-tabs__extra, .leaf-card > .leaf-card__cover + .leaf-card__tabs > .leaf-tabs__header > .leaf-tabs__extra {
7880
+ .leaf-card > .leaf-card__tabs:first-child > .leaf-tabs__header > .leaf-tabs__scroll > .leaf-tabs__list > .leaf-scrollbar__content > .leaf-tabs__track > .leaf-tabs__entry > .leaf-tabs__close, .leaf-card > .leaf-card__tabs:first-child > .leaf-tabs__header > .leaf-tabs__scroll > .leaf-tabs__list > .leaf-scrollbar__content > .leaf-tabs__track > .leaf-tabs__entry > .leaf-tabs__drag, .leaf-card > .leaf-card__cover + .leaf-card__tabs > .leaf-tabs__header > .leaf-tabs__scroll > .leaf-tabs__list > .leaf-scrollbar__content > .leaf-tabs__track > .leaf-tabs__entry > .leaf-tabs__close, .leaf-card > .leaf-card__cover + .leaf-card__tabs > .leaf-tabs__header > .leaf-tabs__scroll > .leaf-tabs__list > .leaf-scrollbar__content > .leaf-tabs__track > .leaf-tabs__entry > .leaf-tabs__drag, .leaf-card > .leaf-card__tabs:first-child > .leaf-tabs__header > .leaf-tabs__extra, .leaf-card > .leaf-card__cover + .leaf-card__tabs > .leaf-tabs__header > .leaf-tabs__extra {
7281
7881
  align-self: center;
7282
7882
  }
7283
7883
 
@@ -7316,7 +7916,8 @@
7316
7916
  }
7317
7917
 
7318
7918
  .leaf-collapse--bordered {
7319
- border: 1px solid var(--leaf-color-border);
7919
+ border: var(--leaf-component-collapse-border-width, var(--leaf-border-width, 1px)) solid var(--leaf-component-collapse-border-color, var(--leaf-frame-border-color, var(--leaf-color-border)));
7920
+ box-shadow: var(--leaf-component-collapse-shadow, var(--leaf-surface-shadow, none));
7320
7921
  }
7321
7922
 
7322
7923
  .leaf-collapse__item + .leaf-collapse__item {
@@ -7364,7 +7965,7 @@
7364
7965
  }
7365
7966
 
7366
7967
  .leaf-collapse__trigger:focus-visible {
7367
- outline: 2px solid var(--leaf-color-primary);
7968
+ outline: 2px solid var(--leaf-color-primary-indicator, var(--leaf-color-primary));
7368
7969
  outline-offset: -3px;
7369
7970
  }
7370
7971
 
@@ -7627,6 +8228,14 @@
7627
8228
  margin-block-end: 0;
7628
8229
  }
7629
8230
 
8231
+ .leaf-popover {
8232
+ --leaf-surface-border: var(--leaf-component-popover-border-width, var(--leaf-component-floating-border-width, var(--leaf-border-width, 1px)));
8233
+ border-color: var(--leaf-component-popover-border-color, var(--leaf-component-floating-border-color, var(--leaf-frame-border-color, var(--leaf-color-border-alpha-85))));
8234
+ color: var(--leaf-component-popover-color, var(--leaf-component-floating-color, var(--leaf-color-text)));
8235
+ background: var(--leaf-component-popover-background, var(--leaf-component-floating-background, var(--leaf-color-surface-raised, var(--leaf-color-surface))));
8236
+ box-shadow: var(--leaf-component-popover-shadow, var(--leaf-component-floating-shadow, var(--leaf-surface-shadow, var(--leaf-shadow-md))));
8237
+ }
8238
+
7630
8239
  .leaf-rate {
7631
8240
  --leaf-rate-size: 24px;
7632
8241
  --leaf-rate-color: #ffc53d;
@@ -7700,7 +8309,7 @@
7700
8309
  }
7701
8310
 
7702
8311
  .leaf-rate__option:focus-visible {
7703
- outline: 2px solid var(--leaf-color-primary);
8312
+ outline: 2px solid var(--leaf-color-primary-indicator, var(--leaf-color-primary));
7704
8313
  outline-offset: 3px;
7705
8314
  }
7706
8315
 
@@ -7811,7 +8420,7 @@
7811
8420
 
7812
8421
  .leaf-slider__fill {
7813
8422
  border-radius: inherit;
7814
- background: var(--leaf-color-primary);
8423
+ background: var(--leaf-color-primary-indicator, var(--leaf-color-primary));
7815
8424
  height: 100%;
7816
8425
  position: absolute;
7817
8426
  inset-inline-start: var(--leaf-slider-start);
@@ -7840,7 +8449,7 @@
7840
8449
 
7841
8450
  .leaf-slider__input::-webkit-slider-thumb {
7842
8451
  appearance: none;
7843
- border: 2px solid var(--leaf-color-primary);
8452
+ border: 2px solid var(--leaf-color-primary-indicator, var(--leaf-color-primary));
7844
8453
  background: var(--leaf-color-surface);
7845
8454
  cursor: grab;
7846
8455
  width: 16px;
@@ -7858,7 +8467,7 @@
7858
8467
 
7859
8468
  .leaf-slider__input::-moz-range-thumb {
7860
8469
  box-sizing: border-box;
7861
- border: 2px solid var(--leaf-color-primary);
8470
+ border: 2px solid var(--leaf-color-primary-indicator, var(--leaf-color-primary));
7862
8471
  background: var(--leaf-color-surface);
7863
8472
  cursor: grab;
7864
8473
  width: 16px;
@@ -7926,7 +8535,7 @@
7926
8535
  pointer-events: none;
7927
8536
  font-variant-numeric: tabular-nums;
7928
8537
  transition: opacity var(--leaf-motion-fast) var(--leaf-motion-easing),transform var(--leaf-motion-duration) var(--leaf-motion-spring);
7929
- color: var(--leaf-color-primary);
8538
+ color: var(--leaf-color-primary-ink, var(--leaf-color-primary));
7930
8539
  position: absolute;
7931
8540
  top: -16px;
7932
8541
  transform: translateY(3px);
@@ -7959,7 +8568,7 @@
7959
8568
  }
7960
8569
 
7961
8570
  .leaf-slider__mark[data-active] .leaf-slider__dot, .leaf-slider__mark:hover:not(:disabled) .leaf-slider__dot {
7962
- background: var(--leaf-color-primary);
8571
+ background: var(--leaf-color-primary-indicator, var(--leaf-color-primary));
7963
8572
  transform: scale(1.25);
7964
8573
  }
7965
8574
 
@@ -8123,7 +8732,7 @@
8123
8732
  }
8124
8733
 
8125
8734
  .leaf-tree__item:focus-visible > .leaf-tree__row, .leaf-tree__item:focus-visible > .leaf-tree__drag-row > .leaf-tree__row {
8126
- outline: 2px solid var(--leaf-color-primary);
8735
+ outline: 2px solid var(--leaf-color-primary-indicator, var(--leaf-color-primary));
8127
8736
  outline-offset: -2px;
8128
8737
  }
8129
8738
 
@@ -8149,7 +8758,7 @@
8149
8758
  }
8150
8759
 
8151
8760
  .leaf-tree__row[data-selected], .leaf-tree__row[data-selected]:hover {
8152
- color: var(--leaf-color-primary);
8761
+ color: var(--leaf-color-primary-ink, var(--leaf-color-primary));
8153
8762
  background: var(--leaf-color-primary-surface-9);
8154
8763
  }
8155
8764
 
@@ -8214,7 +8823,7 @@
8214
8823
  }
8215
8824
 
8216
8825
  .leaf-tree__title[data-match] {
8217
- color: var(--leaf-color-primary);
8826
+ color: var(--leaf-color-primary-ink, var(--leaf-color-primary));
8218
8827
  font-weight: 600;
8219
8828
  }
8220
8829
 
@@ -8263,7 +8872,7 @@
8263
8872
 
8264
8873
  .leaf-tree__drag-row[data-drop="before"]:before, .leaf-tree__drag-row[data-drop="after"]:after {
8265
8874
  content: "";
8266
- background: var(--leaf-color-primary);
8875
+ background: var(--leaf-color-primary-indicator, var(--leaf-color-primary));
8267
8876
  height: 2px;
8268
8877
  position: absolute;
8269
8878
  left: 0;
@@ -8313,18 +8922,23 @@
8313
8922
  }
8314
8923
 
8315
8924
  .leaf-tree-select {
8316
- --leaf-field-color: var(--leaf-color-primary);
8925
+ --leaf-field-color: var(--leaf-color-primary-indicator, var(--leaf-color-primary));
8317
8926
  --leaf-field-color-alpha-12: var(--leaf-color-primary-alpha-12);
8318
8927
  --leaf-field-color-border-30: var(--leaf-color-primary-border-30);
8319
8928
  --leaf-field-hover-color: var(--leaf-color-border-hover, var(--leaf-field-color));
8929
+ --leaf-field-border-width: var(--leaf-component-tree-select-border-width, var(--leaf-border-width, 1px));
8930
+ --leaf-field-text: var(--leaf-component-tree-select-color, var(--leaf-color-text));
8931
+ --leaf-field-rest-border: var(--leaf-component-tree-select-border-color, var(--leaf-frame-border-color, var(--leaf-color-border)));
8932
+ --leaf-field-background: var(--leaf-component-tree-select-background, var(--leaf-color-surface));
8933
+ --leaf-field-shadow: var(--leaf-component-tree-select-shadow, var(--leaf-control-shadow, 0 0 0 0 transparent));
8320
8934
  box-sizing: border-box;
8321
- border: 1px solid var(--leaf-color-border);
8935
+ border: var(--leaf-field-border-width) solid var(--leaf-component-tree-select-border-color, var(--leaf-frame-border-color, var(--leaf-color-border)));
8322
8936
  border-radius: var(--leaf-component-tree-select-radius, var(--leaf-radius));
8323
8937
  width: 100%;
8324
8938
  min-width: 0;
8325
8939
  color: var(--leaf-component-tree-select-color, var(--leaf-color-text));
8326
8940
  background: var(--leaf-component-tree-select-background, var(--leaf-color-surface));
8327
- box-shadow: var(--leaf-component-tree-select-shadow, none);
8941
+ box-shadow: var(--leaf-field-shadow);
8328
8942
  font-family: var(--leaf-font-family);
8329
8943
  font-size: var(--leaf-component-tree-select-font-size, var(--leaf-current-font-size));
8330
8944
  line-height: var(--leaf-line-height, 1.5);
@@ -8332,6 +8946,7 @@
8332
8946
  }
8333
8947
 
8334
8948
  .leaf-tree-select[data-status="error"] {
8949
+ --leaf-field-rest-border: var(--leaf-field-color);
8335
8950
  --leaf-field-color: var(--leaf-color-danger);
8336
8951
  --leaf-field-color-alpha-12: var(--leaf-color-danger-alpha-12);
8337
8952
  --leaf-field-color-border-30: var(--leaf-color-danger-border-30);
@@ -8340,6 +8955,7 @@
8340
8955
  }
8341
8956
 
8342
8957
  .leaf-tree-select[data-status="warning"] {
8958
+ --leaf-field-rest-border: var(--leaf-field-color);
8343
8959
  --leaf-field-color: var(--leaf-color-warning);
8344
8960
  --leaf-field-color-alpha-12: var(--leaf-color-warning-alpha-12);
8345
8961
  --leaf-field-color-border-30: var(--leaf-color-warning-border-30);
@@ -8347,33 +8963,53 @@
8347
8963
  border-color: var(--leaf-field-color);
8348
8964
  }
8349
8965
 
8350
- .leaf-tree-select:hover:not([data-disabled]):not(:disabled):not(:focus-within):not([data-open]) {
8351
- border-color: var(--leaf-field-hover-color);
8966
+ .leaf-tree-select[data-disabled], .leaf-tree-select:disabled {
8967
+ opacity: .55;
8968
+ cursor: not-allowed;
8969
+ }
8970
+
8971
+ .leaf-tree-select:hover:not([data-disabled]):not(:disabled):where(:not(:focus-within):not([data-open])) {
8972
+ color: var(--leaf-component-tree-select-hover-color, var(--leaf-field-text));
8973
+ background: var(--leaf-component-tree-select-hover-background, var(--leaf-field-background));
8974
+ border-color: var(--leaf-component-tree-select-hover-border-color, var(--leaf-field-hover-color));
8975
+ box-shadow: var(--leaf-component-tree-select-hover-shadow, var(--leaf-field-shadow));
8352
8976
  }
8353
8977
 
8354
- .leaf-tree-select:focus-within, .leaf-tree-select[data-open] {
8355
- border-color: var(--leaf-field-color);
8356
- box-shadow: 0 0 0 3px var(--leaf-field-color-alpha-12);
8978
+ .leaf-tree-select:is(:focus-within, [data-open]):not([data-disabled]):not(:disabled) {
8979
+ color: var(--leaf-component-tree-select-focus-color, var(--leaf-field-text));
8980
+ background: var(--leaf-component-tree-select-focus-background, var(--leaf-field-background));
8981
+ border-color: var(--leaf-component-tree-select-focus-border-color, var(--leaf-field-color));
8982
+ box-shadow: var(--leaf-component-tree-select-focus-shadow, var(--leaf-field-shadow));
8983
+ outline: 3px solid var(--leaf-color-focus, var(--leaf-field-color-alpha-12));
8984
+ outline-offset: 0;
8357
8985
  }
8358
8986
 
8359
- .leaf-tree-select[data-disabled], .leaf-tree-select:disabled {
8360
- background: var(--leaf-color-surface-muted);
8361
- opacity: .55;
8362
- cursor: not-allowed;
8987
+ .leaf-tree-select:active:not([data-disabled]):not(:disabled) {
8988
+ color: var(--leaf-component-tree-select-active-color, var(--leaf-field-text));
8989
+ background: var(--leaf-component-tree-select-active-background, var(--leaf-field-background));
8990
+ border-color: var(--leaf-component-tree-select-active-border-color, var(--leaf-field-hover-color));
8991
+ box-shadow: var(--leaf-component-tree-select-active-shadow, var(--leaf-field-shadow));
8363
8992
  }
8364
8993
 
8365
- @media (prefers-reduced-motion: reduce) {
8366
- .leaf-tree-select {
8367
- transition: none;
8368
- }
8994
+ .leaf-tree-select[data-disabled], .leaf-tree-select:disabled {
8995
+ color: var(--leaf-component-tree-select-disabled-color, var(--leaf-field-text));
8996
+ background: var(--leaf-component-tree-select-disabled-background, var(--leaf-color-surface-muted));
8997
+ border-color: var(--leaf-component-tree-select-disabled-border-color, var(--leaf-field-rest-border));
8998
+ box-shadow: var(--leaf-component-tree-select-disabled-shadow, var(--leaf-field-shadow));
8369
8999
  }
8370
9000
 
8371
9001
  @media (forced-colors: active) {
8372
- .leaf-tree-select:focus-within {
9002
+ .leaf-tree-select:is(:focus-within, [data-open]):not([data-disabled]):not(:disabled) {
8373
9003
  outline: 2px solid highlight;
8374
9004
  }
8375
9005
  }
8376
9006
 
9007
+ @media (prefers-reduced-motion: reduce) {
9008
+ .leaf-tree-select {
9009
+ transition: none;
9010
+ }
9011
+ }
9012
+
8377
9013
  .leaf-tree-select {
8378
9014
  min-height: var(--leaf-current-control-height);
8379
9015
  padding: var(--leaf-component-tree-select-padding, 0 30px 0 10px);
@@ -8391,11 +9027,6 @@
8391
9027
  padding-inline-end: 54px;
8392
9028
  }
8393
9029
 
8394
- .leaf-tree-select[data-open] {
8395
- border-color: var(--leaf-field-color);
8396
- box-shadow: 0 0 0 3px var(--leaf-field-color-alpha-12);
8397
- }
8398
-
8399
9030
  .leaf-tree-select__input-wrap {
8400
9031
  flex: 1;
8401
9032
  min-width: 24px;
@@ -8405,7 +9036,7 @@
8405
9036
  .leaf-tree-select__input {
8406
9037
  box-sizing: border-box;
8407
9038
  width: 100%;
8408
- height: calc(var(--leaf-current-control-height) - 2px);
9039
+ height: calc(var(--leaf-current-control-height) - 2*var(--leaf-field-border-width));
8409
9040
  min-width: 0;
8410
9041
  color: inherit;
8411
9042
  font: inherit;
@@ -8488,11 +9119,16 @@
8488
9119
  }
8489
9120
 
8490
9121
  .leaf-tree-select--multiple {
8491
- padding-block: 3px;
9122
+ padding-block: var(--leaf-component-tree-select-padding-top, 3px) var(--leaf-component-tree-select-padding-bottom, 3px);
9123
+ padding-inline: var(--leaf-component-tree-select-padding-left, 3px) var(--leaf-component-tree-select-padding-right, 30px);
9124
+ }
9125
+
9126
+ .leaf-tree-select--multiple:where([dir="rtl"]) {
9127
+ padding-inline: var(--leaf-component-tree-select-padding-right, 3px) var(--leaf-component-tree-select-padding-left, 30px);
8492
9128
  }
8493
9129
 
8494
9130
  .leaf-tree-select--multiple .leaf-tree-select__input {
8495
- height: calc(var(--leaf-current-control-height) - 8px);
9131
+ height: max(1px,var(--leaf-current-control-height) - 6px - 2*var(--leaf-field-border-width, var(--leaf-border-width, 1px)));
8496
9132
  }
8497
9133
 
8498
9134
  .leaf-tree-select__panel {
@@ -8539,24 +9175,37 @@
8539
9175
  --leaf-current-font-size: var(--leaf-font-size-lg);
8540
9176
  }
8541
9177
 
9178
+ .leaf-tree-select__panel {
9179
+ --leaf-surface-border: var(--leaf-component-tree-select-border-width, var(--leaf-component-floating-border-width, var(--leaf-border-width, 1px)));
9180
+ border-color: var(--leaf-component-tree-select-border-color, var(--leaf-component-floating-border-color, var(--leaf-frame-border-color, var(--leaf-color-border))));
9181
+ color: var(--leaf-component-tree-select-color, var(--leaf-component-floating-color, var(--leaf-color-text)));
9182
+ background: var(--leaf-component-tree-select-background, var(--leaf-component-floating-background, var(--leaf-color-surface-raised, var(--leaf-color-surface))));
9183
+ box-shadow: var(--leaf-component-tree-select-shadow, var(--leaf-component-floating-shadow, var(--leaf-surface-shadow, var(--leaf-shadow-md))));
9184
+ }
9185
+
8542
9186
  .leaf-color-picker {
8543
9187
  --leaf-current-font-size: var(--leaf-font-size);
8544
9188
  --leaf-current-control-height: var(--leaf-control-height, 36px);
8545
9189
  }
8546
9190
 
8547
9191
  .leaf-color-picker {
8548
- --leaf-field-color: var(--leaf-color-primary);
9192
+ --leaf-field-color: var(--leaf-color-primary-indicator, var(--leaf-color-primary));
8549
9193
  --leaf-field-color-alpha-12: var(--leaf-color-primary-alpha-12);
8550
9194
  --leaf-field-color-border-30: var(--leaf-color-primary-border-30);
8551
9195
  --leaf-field-hover-color: var(--leaf-color-border-hover, var(--leaf-field-color));
9196
+ --leaf-field-border-width: var(--leaf-component-color-picker-border-width, var(--leaf-border-width, 1px));
9197
+ --leaf-field-text: var(--leaf-component-color-picker-color, var(--leaf-color-text));
9198
+ --leaf-field-rest-border: var(--leaf-component-color-picker-border-color, var(--leaf-frame-border-color, var(--leaf-color-border)));
9199
+ --leaf-field-background: var(--leaf-component-color-picker-background, var(--leaf-color-surface));
9200
+ --leaf-field-shadow: var(--leaf-component-color-picker-shadow, var(--leaf-control-shadow, 0 0 0 0 transparent));
8552
9201
  box-sizing: border-box;
8553
- border: 1px solid var(--leaf-color-border);
9202
+ border: var(--leaf-field-border-width) solid var(--leaf-component-color-picker-border-color, var(--leaf-frame-border-color, var(--leaf-color-border)));
8554
9203
  border-radius: var(--leaf-component-color-picker-radius, var(--leaf-radius));
8555
9204
  width: 100%;
8556
9205
  min-width: 0;
8557
9206
  color: var(--leaf-component-color-picker-color, var(--leaf-color-text));
8558
9207
  background: var(--leaf-component-color-picker-background, var(--leaf-color-surface));
8559
- box-shadow: var(--leaf-component-color-picker-shadow, none);
9208
+ box-shadow: var(--leaf-field-shadow);
8560
9209
  font-family: var(--leaf-font-family);
8561
9210
  font-size: var(--leaf-component-color-picker-font-size, var(--leaf-current-font-size));
8562
9211
  line-height: var(--leaf-line-height, 1.5);
@@ -8564,6 +9213,7 @@
8564
9213
  }
8565
9214
 
8566
9215
  .leaf-color-picker[data-status="error"] {
9216
+ --leaf-field-rest-border: var(--leaf-field-color);
8567
9217
  --leaf-field-color: var(--leaf-color-danger);
8568
9218
  --leaf-field-color-alpha-12: var(--leaf-color-danger-alpha-12);
8569
9219
  --leaf-field-color-border-30: var(--leaf-color-danger-border-30);
@@ -8572,6 +9222,7 @@
8572
9222
  }
8573
9223
 
8574
9224
  .leaf-color-picker[data-status="warning"] {
9225
+ --leaf-field-rest-border: var(--leaf-field-color);
8575
9226
  --leaf-field-color: var(--leaf-color-warning);
8576
9227
  --leaf-field-color-alpha-12: var(--leaf-color-warning-alpha-12);
8577
9228
  --leaf-field-color-border-30: var(--leaf-color-warning-border-30);
@@ -8579,33 +9230,53 @@
8579
9230
  border-color: var(--leaf-field-color);
8580
9231
  }
8581
9232
 
8582
- .leaf-color-picker:hover:not([data-disabled]):not(:disabled):not(:focus-within):not([data-open]) {
8583
- border-color: var(--leaf-field-hover-color);
9233
+ .leaf-color-picker[data-disabled], .leaf-color-picker:disabled {
9234
+ opacity: .55;
9235
+ cursor: not-allowed;
8584
9236
  }
8585
9237
 
8586
- .leaf-color-picker:focus-within, .leaf-color-picker[data-open] {
8587
- border-color: var(--leaf-field-color);
8588
- box-shadow: 0 0 0 3px var(--leaf-field-color-alpha-12);
9238
+ .leaf-color-picker:hover:not([data-disabled]):not(:disabled):where(:not(:focus-within):not([data-open])) {
9239
+ color: var(--leaf-component-color-picker-hover-color, var(--leaf-field-text));
9240
+ background: var(--leaf-component-color-picker-hover-background, var(--leaf-field-background));
9241
+ border-color: var(--leaf-component-color-picker-hover-border-color, var(--leaf-field-hover-color));
9242
+ box-shadow: var(--leaf-component-color-picker-hover-shadow, var(--leaf-field-shadow));
8589
9243
  }
8590
9244
 
8591
- .leaf-color-picker[data-disabled], .leaf-color-picker:disabled {
8592
- background: var(--leaf-color-surface-muted);
8593
- opacity: .55;
8594
- cursor: not-allowed;
9245
+ .leaf-color-picker:is(:focus-within, [data-open]):not([data-disabled]):not(:disabled) {
9246
+ color: var(--leaf-component-color-picker-focus-color, var(--leaf-field-text));
9247
+ background: var(--leaf-component-color-picker-focus-background, var(--leaf-field-background));
9248
+ border-color: var(--leaf-component-color-picker-focus-border-color, var(--leaf-field-color));
9249
+ box-shadow: var(--leaf-component-color-picker-focus-shadow, var(--leaf-field-shadow));
9250
+ outline: 3px solid var(--leaf-color-focus, var(--leaf-field-color-alpha-12));
9251
+ outline-offset: 0;
8595
9252
  }
8596
9253
 
8597
- @media (prefers-reduced-motion: reduce) {
8598
- .leaf-color-picker {
8599
- transition: none;
8600
- }
9254
+ .leaf-color-picker:active:not([data-disabled]):not(:disabled) {
9255
+ color: var(--leaf-component-color-picker-active-color, var(--leaf-field-text));
9256
+ background: var(--leaf-component-color-picker-active-background, var(--leaf-field-background));
9257
+ border-color: var(--leaf-component-color-picker-active-border-color, var(--leaf-field-hover-color));
9258
+ box-shadow: var(--leaf-component-color-picker-active-shadow, var(--leaf-field-shadow));
9259
+ }
9260
+
9261
+ .leaf-color-picker[data-disabled], .leaf-color-picker:disabled {
9262
+ color: var(--leaf-component-color-picker-disabled-color, var(--leaf-field-text));
9263
+ background: var(--leaf-component-color-picker-disabled-background, var(--leaf-color-surface-muted));
9264
+ border-color: var(--leaf-component-color-picker-disabled-border-color, var(--leaf-field-rest-border));
9265
+ box-shadow: var(--leaf-component-color-picker-disabled-shadow, var(--leaf-field-shadow));
8601
9266
  }
8602
9267
 
8603
9268
  @media (forced-colors: active) {
8604
- .leaf-color-picker:focus-within {
9269
+ .leaf-color-picker:is(:focus-within, [data-open]):not([data-disabled]):not(:disabled) {
8605
9270
  outline: 2px solid highlight;
8606
9271
  }
8607
9272
  }
8608
9273
 
9274
+ @media (prefers-reduced-motion: reduce) {
9275
+ .leaf-color-picker {
9276
+ transition: none;
9277
+ }
9278
+ }
9279
+
8609
9280
  .leaf-color-picker {
8610
9281
  width: auto;
8611
9282
  height: var(--leaf-current-control-height);
@@ -8620,15 +9291,10 @@
8620
9291
  cursor: default;
8621
9292
  }
8622
9293
 
8623
- .leaf-color-picker[data-open] {
8624
- border-color: var(--leaf-field-color);
8625
- box-shadow: 0 0 0 3px var(--leaf-field-color-alpha-12);
8626
- }
8627
-
8628
9294
  .leaf-color-picker__trigger {
8629
9295
  box-sizing: border-box;
8630
- min-width: calc(var(--leaf-current-control-height) - 2px);
8631
- height: calc(var(--leaf-current-control-height) - 2px);
9296
+ min-width: calc(var(--leaf-current-control-height) - 2*var(--leaf-field-border-width));
9297
+ height: calc(var(--leaf-current-control-height) - 2*var(--leaf-field-border-width));
8632
9298
  border-radius: inherit;
8633
9299
  color: inherit;
8634
9300
  font: inherit;
@@ -8736,7 +9402,7 @@
8736
9402
  }
8737
9403
 
8738
9404
  .leaf-color-picker__area:focus-visible {
8739
- outline: 2px solid var(--leaf-color-primary);
9405
+ outline: 2px solid var(--leaf-color-primary-indicator, var(--leaf-color-primary));
8740
9406
  outline-offset: 3px;
8741
9407
  }
8742
9408
 
@@ -8819,7 +9485,7 @@
8819
9485
  }
8820
9486
 
8821
9487
  .leaf-color-picker__sliders input:focus-visible {
8822
- outline: 2px solid var(--leaf-color-primary);
9488
+ outline: 2px solid var(--leaf-color-primary-indicator, var(--leaf-color-primary));
8823
9489
  outline-offset: 3px;
8824
9490
  }
8825
9491
 
@@ -8889,7 +9555,7 @@
8889
9555
  }
8890
9556
 
8891
9557
  .leaf-color-picker__input:focus {
8892
- border-color: var(--leaf-color-primary);
9558
+ border-color: var(--leaf-color-primary-indicator, var(--leaf-color-primary));
8893
9559
  box-shadow: 0 0 0 3px var(--leaf-color-primary-alpha-12);
8894
9560
  }
8895
9561
 
@@ -8938,7 +9604,7 @@
8938
9604
  }
8939
9605
 
8940
9606
  .leaf-color-picker__preset[aria-pressed="true"], .leaf-color-picker__preset:focus-visible {
8941
- outline: 2px solid var(--leaf-color-primary);
9607
+ outline: 2px solid var(--leaf-color-primary-indicator, var(--leaf-color-primary));
8942
9608
  outline-offset: 2px;
8943
9609
  }
8944
9610
 
@@ -8979,11 +9645,11 @@
8979
9645
  }
8980
9646
 
8981
9647
  .leaf-color-picker__stops > button:not(.leaf-button)[aria-pressed="true"] {
8982
- box-shadow: 0 0 0 2px var(--leaf-color-primary);
9648
+ box-shadow: 0 0 0 2px var(--leaf-color-primary-indicator, var(--leaf-color-primary));
8983
9649
  }
8984
9650
 
8985
9651
  .leaf-color-picker__stops > button:not(.leaf-button):focus-visible {
8986
- outline: 2px solid var(--leaf-color-primary);
9652
+ outline: 2px solid var(--leaf-color-primary-indicator, var(--leaf-color-primary));
8987
9653
  outline-offset: 3px;
8988
9654
  }
8989
9655
 
@@ -9029,6 +9695,14 @@
9029
9695
  --leaf-current-font-size: var(--leaf-font-size-lg);
9030
9696
  }
9031
9697
 
9698
+ .leaf-color-picker__panel {
9699
+ --leaf-surface-border: var(--leaf-component-color-picker-border-width, var(--leaf-component-floating-border-width, var(--leaf-border-width, 1px)));
9700
+ border-color: var(--leaf-component-color-picker-border-color, var(--leaf-component-floating-border-color, var(--leaf-frame-border-color, var(--leaf-color-border))));
9701
+ color: var(--leaf-component-color-picker-color, var(--leaf-component-floating-color, var(--leaf-color-text)));
9702
+ background: var(--leaf-component-color-picker-background, var(--leaf-component-floating-background, var(--leaf-color-surface-raised, var(--leaf-color-surface))));
9703
+ box-shadow: var(--leaf-component-color-picker-shadow, var(--leaf-component-floating-shadow, var(--leaf-surface-shadow, var(--leaf-shadow-md))));
9704
+ }
9705
+
9032
9706
  .leaf-file-list {
9033
9707
  --leaf-file-visual-size: 40px;
9034
9708
  --leaf-file-action-size: var(--leaf-control-height-sm);
@@ -9040,7 +9714,8 @@
9040
9714
  }
9041
9715
 
9042
9716
  .leaf-file-list__items {
9043
- border: 1px solid var(--leaf-color-border);
9717
+ border: var(--leaf-component-file-list-border-width, var(--leaf-border-width, 1px)) solid var(--leaf-component-file-list-border-color, var(--leaf-frame-border-color, var(--leaf-color-border)));
9718
+ box-shadow: var(--leaf-component-file-list-shadow, var(--leaf-surface-shadow, none));
9044
9719
  border-radius: var(--leaf-radius-md);
9045
9720
  background: var(--leaf-color-surface);
9046
9721
  margin: 0;
@@ -9061,13 +9736,13 @@
9061
9736
  }
9062
9737
 
9063
9738
  .leaf-file-list__item:first-child {
9064
- border-start-start-radius: max(0px,var(--leaf-radius-md) - 1px);
9065
- border-start-end-radius: max(0px,var(--leaf-radius-md) - 1px);
9739
+ border-start-start-radius: max(0px,var(--leaf-radius-md) - var(--leaf-component-file-list-border-width, var(--leaf-border-width, 1px)));
9740
+ border-start-end-radius: max(0px,var(--leaf-radius-md) - var(--leaf-component-file-list-border-width, var(--leaf-border-width, 1px)));
9066
9741
  }
9067
9742
 
9068
9743
  .leaf-file-list__item:last-child {
9069
- border-end-end-radius: max(0px,var(--leaf-radius-md) - 1px);
9070
- border-end-start-radius: max(0px,var(--leaf-radius-md) - 1px);
9744
+ border-end-end-radius: max(0px,var(--leaf-radius-md) - var(--leaf-component-file-list-border-width, var(--leaf-border-width, 1px)));
9745
+ border-end-start-radius: max(0px,var(--leaf-radius-md) - var(--leaf-component-file-list-border-width, var(--leaf-border-width, 1px)));
9071
9746
  }
9072
9747
 
9073
9748
  .leaf-file-list__item + .leaf-file-list__item {
@@ -9100,7 +9775,7 @@
9100
9775
  }
9101
9776
 
9102
9777
  .leaf-file-list__icon[data-kind="image"], .leaf-file-list__icon[data-kind="sheet"] {
9103
- --leaf-file-accent: var(--leaf-color-primary);
9778
+ --leaf-file-accent: var(--leaf-color-primary-ink, var(--leaf-color-primary));
9104
9779
  --leaf-file-surface: var(--leaf-color-primary-surface-5);
9105
9780
  }
9106
9781
 
@@ -9209,17 +9884,17 @@
9209
9884
  }
9210
9885
 
9211
9886
  .leaf-file-list__action:hover:not(:disabled):not([aria-disabled="true"]), .leaf-file-list__actions > .leaf-button--icon-only:hover:not(:disabled):not([aria-disabled="true"]) {
9212
- color: var(--leaf-color-primary);
9887
+ color: var(--leaf-color-primary-ink, var(--leaf-color-primary));
9213
9888
  background: var(--leaf-color-primary-surface-9);
9214
9889
  }
9215
9890
 
9216
9891
  .leaf-file-list__action:active:not(:disabled):not([aria-disabled="true"]), .leaf-file-list__actions > .leaf-button--icon-only:active:not(:disabled):not([aria-disabled="true"]) {
9217
- color: var(--leaf-color-primary-active);
9892
+ color: var(--leaf-color-primary-ink-active, var(--leaf-color-primary-active));
9218
9893
  background: var(--leaf-color-primary-surface-14);
9219
9894
  }
9220
9895
 
9221
9896
  .leaf-file-list__action:focus-visible, .leaf-file-list__actions > .leaf-button--icon-only:focus-visible {
9222
- outline: 3px solid var(--leaf-color-focus, var(--leaf-focus-color, var(--leaf-color-primary-alpha-42)));
9897
+ outline: 3px solid var(--leaf-color-focus, var(--leaf-focus-color, var(--leaf-color-primary-focus, var(--leaf-color-primary-alpha-42))));
9223
9898
  outline-offset: 2px;
9224
9899
  }
9225
9900
 
@@ -9263,7 +9938,7 @@
9263
9938
  }
9264
9939
 
9265
9940
  .leaf-file-list__status[data-status="uploading"] {
9266
- color: var(--leaf-color-primary);
9941
+ color: var(--leaf-color-primary-ink, var(--leaf-color-primary));
9267
9942
  }
9268
9943
 
9269
9944
  .leaf-file-list__progress {
@@ -9277,7 +9952,7 @@
9277
9952
 
9278
9953
  .leaf-file-list__progress > span {
9279
9954
  border-radius: inherit;
9280
- background: var(--leaf-color-primary);
9955
+ background: var(--leaf-color-primary-indicator, var(--leaf-color-primary));
9281
9956
  height: 100%;
9282
9957
  transition: width var(--leaf-motion-duration) var(--leaf-motion-easing);
9283
9958
  display: block;
@@ -9326,6 +10001,7 @@
9326
10001
  }
9327
10002
 
9328
10003
  .leaf-file-list--picture-card .leaf-file-list__items {
10004
+ box-shadow: none;
9329
10005
  background: none;
9330
10006
  border: 0;
9331
10007
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr));
@@ -9334,7 +10010,8 @@
9334
10010
  }
9335
10011
 
9336
10012
  .leaf-file-list--picture-card .leaf-file-list__item {
9337
- border: 1px solid var(--leaf-color-border);
10013
+ border: var(--leaf-component-file-list-border-width, var(--leaf-border-width, 1px)) solid var(--leaf-component-file-list-border-color, var(--leaf-frame-border-color, var(--leaf-color-border)));
10014
+ box-shadow: var(--leaf-component-file-list-shadow, var(--leaf-surface-shadow, none));
9338
10015
  border-radius: var(--leaf-radius-md);
9339
10016
  background: var(--leaf-color-surface);
9340
10017
  flex-direction: column;
@@ -9347,7 +10024,7 @@
9347
10024
  aspect-ratio: 16 / 10;
9348
10025
  border: 0;
9349
10026
  border-bottom: 1px solid var(--leaf-color-border);
9350
- border-radius: max(0px,var(--leaf-radius-md) - 1px) max(0px,var(--leaf-radius-md) - 1px) 0 0;
10027
+ border-radius: max(0px,var(--leaf-radius-md) - var(--leaf-component-file-list-border-width, var(--leaf-border-width, 1px))) max(0px,var(--leaf-radius-md) - var(--leaf-component-file-list-border-width, var(--leaf-border-width, 1px))) 0 0;
9351
10028
  background: var(--leaf-color-surface-muted);
9352
10029
  block-size: auto;
9353
10030
  inline-size: 100%;
@@ -9448,11 +10125,12 @@
9448
10125
 
9449
10126
  .leaf-upload__dropzone {
9450
10127
  box-sizing: border-box;
9451
- border: 1px dashed var(--leaf-color-border);
9452
- border-radius: var(--leaf-radius-md);
9453
- background: var(--leaf-color-surface);
10128
+ border: var(--leaf-component-upload-border-width, var(--leaf-border-width, 1px)) dashed var(--leaf-component-upload-border-color, var(--leaf-frame-border-color, var(--leaf-color-border)));
9454
10129
  width: 100%;
9455
10130
  min-height: 160px;
10131
+ box-shadow: var(--leaf-component-upload-shadow, var(--leaf-surface-shadow, none));
10132
+ border-radius: var(--leaf-radius-md);
10133
+ background: var(--leaf-color-surface);
9456
10134
  color: inherit;
9457
10135
  font: inherit;
9458
10136
  cursor: pointer;
@@ -9466,7 +10144,7 @@
9466
10144
  }
9467
10145
 
9468
10146
  .leaf-upload__dropzone:hover:not(:disabled) {
9469
- border-color: var(--leaf-color-primary);
10147
+ border-color: var(--leaf-color-primary-indicator, var(--leaf-color-primary));
9470
10148
  background: var(--leaf-color-surface-raised);
9471
10149
  }
9472
10150
 
@@ -9475,7 +10153,7 @@
9475
10153
  }
9476
10154
 
9477
10155
  .leaf-upload__dropzone:focus-visible {
9478
- outline: 3px solid var(--leaf-color-focus, var(--leaf-focus-color, var(--leaf-color-primary-alpha-42)));
10156
+ outline: 3px solid var(--leaf-color-focus, var(--leaf-focus-color, var(--leaf-color-primary-focus, var(--leaf-color-primary-alpha-42))));
9479
10157
  outline-offset: 2px;
9480
10158
  }
9481
10159
 
@@ -9485,7 +10163,7 @@
9485
10163
  }
9486
10164
 
9487
10165
  .leaf-upload[data-dragging] .leaf-upload__dropzone {
9488
- border-color: var(--leaf-color-primary);
10166
+ border-color: var(--leaf-color-primary-indicator, var(--leaf-color-primary));
9489
10167
  background: var(--leaf-color-primary-surface-7);
9490
10168
  box-shadow: 0 0 0 4px var(--leaf-color-primary-alpha-10);
9491
10169
  }
@@ -9503,7 +10181,7 @@
9503
10181
  }
9504
10182
 
9505
10183
  .leaf-upload__dropzone:hover:not(:disabled) .leaf-upload__symbol, .leaf-upload[data-dragging] .leaf-upload__symbol {
9506
- color: var(--leaf-color-primary);
10184
+ color: var(--leaf-color-primary-ink, var(--leaf-color-primary));
9507
10185
  background: var(--leaf-color-primary-surface-8);
9508
10186
  transform: translateY(-2px);
9509
10187
  }
@@ -9586,7 +10264,6 @@
9586
10264
  .leaf-layout__sider-content {
9587
10265
  flex: 1;
9588
10266
  min-height: 0;
9589
- overflow: auto;
9590
10267
  }
9591
10268
 
9592
10269
  .leaf-layout__sider[data-collapsed] > .leaf-button {
@@ -9718,6 +10395,20 @@
9718
10395
  overflow: hidden;
9719
10396
  }
9720
10397
 
10398
+ .leaf-scrollbar--external {
10399
+ max-width: none;
10400
+ display: block;
10401
+ overflow: visible;
10402
+ }
10403
+
10404
+ .leaf-scrollbar--external > textarea {
10405
+ scrollbar-width: none;
10406
+ }
10407
+
10408
+ .leaf-scrollbar--external > textarea::-webkit-scrollbar {
10409
+ display: none;
10410
+ }
10411
+
9721
10412
  .leaf-scrollbar__viewport {
9722
10413
  border-radius: inherit;
9723
10414
  overscroll-behavior: auto;
@@ -9733,7 +10424,7 @@
9733
10424
  }
9734
10425
 
9735
10426
  .leaf-scrollbar__viewport:focus-visible {
9736
- outline: 3px solid var(--leaf-color-focus, var(--leaf-focus-color, var(--leaf-color-primary-alpha-42)));
10427
+ outline: 3px solid var(--leaf-color-focus, var(--leaf-focus-color, var(--leaf-color-primary-focus, var(--leaf-color-primary-alpha-42))));
9737
10428
  outline-offset: 2px;
9738
10429
  outline-offset: -3px;
9739
10430
  }
@@ -9799,7 +10490,7 @@
9799
10490
  }
9800
10491
 
9801
10492
  .leaf-scrollbar__bar:has(:focus-visible) {
9802
- outline: 2px solid var(--leaf-color-primary);
10493
+ outline: 2px solid var(--leaf-color-primary-indicator, var(--leaf-color-primary));
9803
10494
  outline-offset: 2px;
9804
10495
  border-radius: 999px;
9805
10496
  }
@@ -9866,142 +10557,6 @@
9866
10557
  }
9867
10558
  }
9868
10559
 
9869
- .leaf-segmented {
9870
- --leaf-current-font-size: var(--leaf-font-size);
9871
- --leaf-current-control-height: var(--leaf-control-height, 36px);
9872
- }
9873
-
9874
- .leaf-segmented {
9875
- --leaf-surface-radius: var(--leaf-component-segmented-radius, var(--leaf-radius));
9876
- --leaf-surface-padding: var(--leaf-component-segmented-padding, 3px);
9877
- --leaf-surface-border: 1px;
9878
- --leaf-surface-padding-top: var(--leaf-component-segmented-padding-top, var(--leaf-surface-padding));
9879
- --leaf-surface-padding-right: var(--leaf-component-segmented-padding-right, var(--leaf-surface-padding));
9880
- --leaf-surface-padding-bottom: var(--leaf-component-segmented-padding-bottom, var(--leaf-surface-padding));
9881
- --leaf-surface-padding-left: var(--leaf-component-segmented-padding-left, var(--leaf-surface-padding));
9882
- isolation: isolate;
9883
- align-self: flex-start;
9884
- gap: var(--leaf-component-segmented-gap, 3px);
9885
- background: var(--leaf-component-segmented-background, var(--leaf-color-surface-muted));
9886
- box-sizing: border-box;
9887
- border: 1px solid var(--leaf-color-border-alpha-65);
9888
- width: max-content;
9889
- max-width: 100%;
9890
- display: inline-flex;
9891
- position: relative;
9892
- }
9893
-
9894
- .leaf-segmented__indicator {
9895
- z-index: -1;
9896
- pointer-events: none;
9897
- width: var(--leaf-indicator-width, 0px);
9898
- height: var(--leaf-indicator-height, 0px);
9899
- transform: translate(var(--leaf-indicator-x, 0px), var(--leaf-indicator-y, 0px));
9900
- border-radius: var(--leaf-surface-inner-radius);
9901
- background: var(--leaf-color-surface-raised);
9902
- box-shadow: var(--leaf-shadow-xs);
9903
- opacity: 0;
9904
- position: absolute;
9905
- top: 0;
9906
- left: 0;
9907
- }
9908
-
9909
- .leaf-segmented__indicator[data-visible="true"] {
9910
- opacity: 1;
9911
- }
9912
-
9913
- .leaf-segmented__indicator[data-animate="true"] {
9914
- transition: transform var(--leaf-motion-slow) var(--leaf-motion-spring),width var(--leaf-motion-slow) var(--leaf-motion-spring),height var(--leaf-motion-slow) var(--leaf-motion-spring);
9915
- }
9916
-
9917
- .leaf-segmented--block {
9918
- align-self: stretch;
9919
- width: 100%;
9920
- display: flex;
9921
- }
9922
-
9923
- .leaf-segmented--block > button {
9924
- flex: 1;
9925
- }
9926
-
9927
- .leaf-segmented > button {
9928
- height: calc(var(--leaf-current-control-height) - var(--leaf-surface-padding-top) - var(--leaf-surface-padding-bottom) - 2px);
9929
- border-radius: var(--leaf-surface-inner-radius);
9930
- color: var(--leaf-color-text-muted);
9931
- font: var(--leaf-current-font-size)/1.5 var(--leaf-font-family);
9932
- white-space: nowrap;
9933
- cursor: pointer;
9934
- transition: color var(--leaf-motion-fast) var(--leaf-motion-easing),transform var(--leaf-motion-fast) var(--leaf-motion-easing);
9935
- background: none;
9936
- border: 0;
9937
- justify-content: center;
9938
- align-items: center;
9939
- gap: 6px;
9940
- padding: 0 12px;
9941
- display: inline-flex;
9942
- }
9943
-
9944
- .leaf-segmented > button[aria-checked="true"] {
9945
- color: var(--leaf-color-text);
9946
- font-weight: var(--leaf-font-weight);
9947
- }
9948
-
9949
- .leaf-segmented > button:hover:not(:disabled) {
9950
- color: var(--leaf-color-text);
9951
- }
9952
-
9953
- .leaf-segmented > button:active:not(:disabled) {
9954
- transform: scale(.97);
9955
- }
9956
-
9957
- .leaf-segmented > button:focus-visible {
9958
- outline: 3px solid var(--leaf-color-focus, var(--leaf-focus-color, var(--leaf-color-primary-alpha-42)));
9959
- outline-offset: 2px;
9960
- }
9961
-
9962
- .leaf-segmented > button:disabled {
9963
- opacity: .45;
9964
- cursor: not-allowed;
9965
- }
9966
-
9967
- .leaf-segmented > button svg {
9968
- width: 16px;
9969
- height: 16px;
9970
- display: block;
9971
- }
9972
-
9973
- @media (prefers-reduced-motion: reduce) {
9974
- .leaf-segmented > button, .leaf-segmented__indicator[data-animate="true"] {
9975
- transition: none;
9976
- }
9977
- }
9978
-
9979
- .leaf-segmented {
9980
- --leaf-current-control-height: var(--leaf-component-segmented-height, var(--leaf-control-height));
9981
- --leaf-current-font-size: var(--leaf-component-segmented-font-size, var(--leaf-font-size));
9982
- }
9983
-
9984
- .leaf-segmented--sm {
9985
- --leaf-current-control-height: var(--leaf-component-segmented-height-sm, var(--leaf-control-height-sm));
9986
- --leaf-current-font-size: var(--leaf-font-size-sm);
9987
- }
9988
-
9989
- .leaf-segmented--lg {
9990
- --leaf-current-control-height: var(--leaf-component-segmented-height-lg, var(--leaf-control-height-lg));
9991
- --leaf-current-font-size: var(--leaf-font-size-lg);
9992
- }
9993
-
9994
- @media (forced-colors: active) {
9995
- .leaf-segmented__indicator {
9996
- forced-color-adjust: none;
9997
- background: highlight;
9998
- }
9999
-
10000
- .leaf-segmented > button[aria-checked="true"] {
10001
- color: highlighttext;
10002
- }
10003
- }
10004
-
10005
10560
  .leaf-back-top {
10006
10561
  z-index: var(--leaf-z-index-popup);
10007
10562
  inset-inline-end: 24px;
@@ -10088,7 +10643,8 @@
10088
10643
  }
10089
10644
 
10090
10645
  .leaf-descriptions--bordered {
10091
- border: 1px solid var(--leaf-color-border);
10646
+ border: var(--leaf-component-descriptions-border-width, var(--leaf-border-width, 1px)) solid var(--leaf-component-descriptions-border-color, var(--leaf-frame-border-color, var(--leaf-color-border)));
10647
+ box-shadow: var(--leaf-component-descriptions-shadow, var(--leaf-surface-shadow, none));
10092
10648
  border-radius: var(--leaf-radius-md);
10093
10649
  background: var(--leaf-color-surface);
10094
10650
  padding: 16px 20px;
@@ -10310,12 +10866,12 @@
10310
10866
  }
10311
10867
 
10312
10868
  .leaf-menu__item[data-active-parent] {
10313
- color: var(--leaf-color-primary);
10869
+ color: var(--leaf-color-primary-ink, var(--leaf-color-primary));
10314
10870
  font-weight: var(--leaf-font-weight);
10315
10871
  }
10316
10872
 
10317
10873
  .leaf-menu__item[data-selected], .leaf-menu__item[data-selected]:hover:not(:disabled) {
10318
- color: var(--leaf-color-primary);
10874
+ color: var(--leaf-color-primary-ink-active, var(--leaf-color-primary-ink, var(--leaf-color-primary)));
10319
10875
  font-weight: var(--leaf-font-weight);
10320
10876
  background: none;
10321
10877
  }
@@ -10334,7 +10890,7 @@
10334
10890
  }
10335
10891
 
10336
10892
  .leaf-menu__item:focus-visible {
10337
- outline: 3px solid var(--leaf-color-focus, var(--leaf-focus-color, var(--leaf-color-primary-alpha-42)));
10893
+ outline: 3px solid var(--leaf-color-focus, var(--leaf-focus-color, var(--leaf-color-primary-focus, var(--leaf-color-primary-alpha-42))));
10338
10894
  outline-offset: 2px;
10339
10895
  }
10340
10896
 
@@ -10381,6 +10937,10 @@
10381
10937
  line-height: 1.5;
10382
10938
  }
10383
10939
 
10940
+ .leaf-menu--collapsed .leaf-menu__group-label {
10941
+ display: none;
10942
+ }
10943
+
10384
10944
  .leaf-menu__divider {
10385
10945
  background: var(--leaf-color-divider);
10386
10946
  height: 1px;
@@ -10406,18 +10966,6 @@
10406
10966
  position: relative;
10407
10967
  }
10408
10968
 
10409
- .leaf-menu--horizontal .leaf-menu__submenu {
10410
- z-index: var(--leaf-z-index-popup);
10411
- inset-inline-start: 0;
10412
- background: var(--leaf-color-surface);
10413
- border-radius: var(--leaf-component-menu-radius, var(--leaf-radius));
10414
- min-width: 180px;
10415
- padding: 6px;
10416
- position: absolute;
10417
- top: 100%;
10418
- box-shadow: 0 6px 24px #00000018;
10419
- }
10420
-
10421
10969
  .leaf-menu--collapsed .leaf-menu__label {
10422
10970
  opacity: 0;
10423
10971
  max-width: 0;
@@ -10477,10 +11025,114 @@
10477
11025
  padding: 0;
10478
11026
  }
10479
11027
 
11028
+ .leaf-menu-group > .leaf-menu__group-label {
11029
+ padding-inline: 0;
11030
+ }
11031
+
10480
11032
  .leaf-menu__divider {
10481
11033
  border: 0;
10482
11034
  }
10483
11035
 
11036
+ .leaf-menu__popup.leaf-dropdown {
11037
+ --leaf-surface-border: var(--leaf-component-menu-border-width, var(--leaf-component-floating-border-width, var(--leaf-border-width, 1px)));
11038
+ border-color: var(--leaf-component-menu-border-color, var(--leaf-component-floating-border-color, var(--leaf-frame-border-color, var(--leaf-color-border))));
11039
+ color: var(--leaf-component-menu-color, var(--leaf-component-floating-color, var(--leaf-color-text)));
11040
+ background: var(--leaf-component-menu-background, var(--leaf-component-floating-background, var(--leaf-color-surface-raised, var(--leaf-color-surface))));
11041
+ box-shadow: var(--leaf-component-menu-shadow, var(--leaf-component-floating-shadow, var(--leaf-surface-shadow, var(--leaf-shadow-md))));
11042
+ --leaf-surface-radius: var(--leaf-component-menu-radius, var(--leaf-radius-lg));
11043
+ --leaf-surface-padding: var(--leaf-component-menu-padding, 6px);
11044
+ --leaf-surface-padding-top: var(--leaf-component-menu-padding-top, var(--leaf-surface-padding));
11045
+ --leaf-surface-padding-right: var(--leaf-component-menu-padding-right, var(--leaf-surface-padding));
11046
+ --leaf-surface-padding-bottom: var(--leaf-component-menu-padding-bottom, var(--leaf-surface-padding));
11047
+ --leaf-surface-padding-left: var(--leaf-component-menu-padding-left, var(--leaf-surface-padding));
11048
+ --leaf-floating-option-radius: var(--leaf-component-menu-radius, var(--leaf-radius));
11049
+ border-radius: var(--leaf-surface-radius);
11050
+ min-width: min(208px, 100vw - 24px);
11051
+ font-size: var(--leaf-component-menu-font-size, var(--leaf-font-size));
11052
+ gap: 2px;
11053
+ }
11054
+
11055
+ .leaf-menu__popup.leaf-dropdown > .leaf-floating__viewport {
11056
+ border-radius: var(--leaf-surface-inner-radius);
11057
+ }
11058
+
11059
+ .leaf-menu__popup.leaf-dropdown > .leaf-floating__viewport > .leaf-scrollbar__content {
11060
+ flex-direction: column;
11061
+ gap: 2px;
11062
+ display: flex;
11063
+ }
11064
+
11065
+ .leaf-menu__popup.leaf-dropdown .leaf-floating__option {
11066
+ min-height: var(--leaf-control-height);
11067
+ line-height: 1.5;
11068
+ font-size: inherit;
11069
+ gap: 10px;
11070
+ margin: 0;
11071
+ padding-inline: 10px;
11072
+ text-decoration: none;
11073
+ }
11074
+
11075
+ .leaf-menu__popup.leaf-dropdown .leaf-floating__option[aria-current="page"], .leaf-menu__popup.leaf-dropdown .leaf-floating__option[aria-current="page"]:is(:hover, :focus-visible, :active):not(:disabled):not([aria-disabled="true"]) {
11076
+ background: var(--leaf-color-primary-surface-9);
11077
+ color: var(--leaf-color-primary-ink-active, var(--leaf-color-primary-ink, var(--leaf-color-primary)));
11078
+ font-weight: var(--leaf-font-weight);
11079
+ }
11080
+
11081
+ .leaf-menu__popup.leaf-dropdown .leaf-floating__option[data-active-parent="true"] {
11082
+ color: var(--leaf-color-primary-ink, var(--leaf-color-primary));
11083
+ font-weight: var(--leaf-font-weight);
11084
+ }
11085
+
11086
+ .leaf-menu__popup.leaf-dropdown .leaf-dropdown__highlight {
11087
+ border: 0;
11088
+ left: 0;
11089
+ right: 0;
11090
+ }
11091
+
11092
+ .leaf-menu__popup.leaf-dropdown .leaf-dropdown__arrow {
11093
+ color: var(--leaf-color-text-muted);
11094
+ flex: none;
11095
+ }
11096
+
11097
+ .leaf-menu__popup.leaf-dropdown .leaf-dropdown__group {
11098
+ padding: 10px 10px 5px;
11099
+ }
11100
+
11101
+ .leaf-menu__popup.leaf-dropdown .leaf-dropdown__divider {
11102
+ border-color: var(--leaf-color-divider);
11103
+ margin-block: 5px;
11104
+ }
11105
+
11106
+ .leaf-menu__popup-title {
11107
+ color: var(--leaf-color-text-muted);
11108
+ font-size: max(1px,var(--leaf-font-size) - 2px);
11109
+ font-weight: var(--leaf-font-weight);
11110
+ letter-spacing: .04em;
11111
+ text-transform: uppercase;
11112
+ border-bottom: 1px solid var(--leaf-color-divider);
11113
+ margin: 0 4px 4px;
11114
+ padding: 6px 6px 10px;
11115
+ line-height: 1.5;
11116
+ }
11117
+
11118
+ .leaf-menu__popup-icon {
11119
+ flex: 0 0 20px;
11120
+ justify-content: center;
11121
+ align-items: center;
11122
+ display: inline-flex;
11123
+ }
11124
+
11125
+ .leaf-menu__popup-icon svg {
11126
+ width: 18px;
11127
+ height: 18px;
11128
+ }
11129
+
11130
+ .leaf-menu__popup-label {
11131
+ overflow-wrap: anywhere;
11132
+ flex: 1;
11133
+ min-width: 0;
11134
+ }
11135
+
10484
11136
  @media (forced-colors: active) {
10485
11137
  .leaf-menu__indicator {
10486
11138
  forced-color-adjust: none;
@@ -10490,21 +11142,23 @@
10490
11142
  .leaf-menu__item[data-selected] {
10491
11143
  color: highlighttext;
10492
11144
  }
11145
+
11146
+ .leaf-menu__popup .leaf-floating__option[aria-current="page"] {
11147
+ outline-offset: -1px;
11148
+ outline: 1px solid highlight;
11149
+ }
10493
11150
  }
10494
11151
 
10495
11152
  .leaf-virtual-list {
10496
11153
  overscroll-behavior: contain;
10497
- scrollbar-width: thin;
10498
- scrollbar-color: var(--leaf-color-border) #0000;
10499
11154
  min-width: 0;
10500
11155
  color: var(--leaf-color-text);
10501
11156
  font: var(--leaf-font-size)/1.5 var(--leaf-font-family);
10502
11157
  position: relative;
10503
- overflow: auto;
10504
11158
  }
10505
11159
 
10506
11160
  .leaf-virtual-list:focus-visible {
10507
- outline: 3px solid var(--leaf-color-focus, var(--leaf-focus-color, var(--leaf-color-primary-alpha-42)));
11161
+ outline: 3px solid var(--leaf-color-focus, var(--leaf-focus-color, var(--leaf-color-primary-focus, var(--leaf-color-primary-alpha-42))));
10508
11162
  outline-offset: 2px;
10509
11163
  }
10510
11164
 
@@ -10880,7 +11534,7 @@
10880
11534
  }
10881
11535
 
10882
11536
  .leaf-image__trigger:focus-visible {
10883
- outline: 2px solid var(--leaf-color-primary);
11537
+ outline: 2px solid var(--leaf-color-primary-indicator, var(--leaf-color-primary));
10884
11538
  outline-offset: -3px;
10885
11539
  }
10886
11540
 
@@ -11101,7 +11755,6 @@
11101
11755
  }
11102
11756
 
11103
11757
  .leaf-image-viewer__thumbnails {
11104
- scrollbar-width: none;
11105
11758
  overscroll-behavior: contain;
11106
11759
  border: 0;
11107
11760
  align-items: center;
@@ -11111,11 +11764,6 @@
11111
11764
  padding: 4px;
11112
11765
  display: flex;
11113
11766
  position: relative;
11114
- overflow-x: auto;
11115
- }
11116
-
11117
- .leaf-image-viewer__thumbnails::-webkit-scrollbar {
11118
- display: none;
11119
11767
  }
11120
11768
 
11121
11769
  .leaf-image-viewer__thumbnail {
@@ -11303,10 +11951,10 @@
11303
11951
  box-sizing: border-box;
11304
11952
  width: var(--leaf-otp-size);
11305
11953
  height: var(--leaf-otp-size);
11306
- border: 1px solid var(--leaf-color-border);
11954
+ border: var(--leaf-component-input-otp-border-width, var(--leaf-border-width, 1px)) solid var(--leaf-component-input-otp-border-color, var(--leaf-frame-border-color, var(--leaf-color-border)));
11307
11955
  border-radius: var(--leaf-radius);
11308
11956
  background: var(--leaf-color-surface);
11309
- box-shadow: var(--leaf-shadow-xs);
11957
+ box-shadow: var(--leaf-component-input-otp-shadow, var(--leaf-control-shadow, var(--leaf-shadow-xs)));
11310
11958
  font-variant-numeric: tabular-nums;
11311
11959
  transition: border-color var(--leaf-motion-duration) var(--leaf-motion-easing),background-color var(--leaf-motion-duration) var(--leaf-motion-easing),box-shadow var(--leaf-motion-duration) var(--leaf-motion-easing),transform var(--leaf-motion-duration) var(--leaf-motion-spring);
11312
11960
  place-items: center;
@@ -11320,8 +11968,10 @@
11320
11968
  }
11321
11969
 
11322
11970
  .leaf-input-otp__slot[data-active] {
11323
- border-color: var(--leaf-color-primary);
11324
- box-shadow: 0 0 0 3px var(--leaf-color-primary-alpha-12);
11971
+ border-color: var(--leaf-color-primary-indicator, var(--leaf-color-primary));
11972
+ box-shadow: var(--leaf-component-input-otp-focus-shadow, var(--leaf-component-input-otp-shadow, var(--leaf-control-shadow, var(--leaf-shadow-xs))));
11973
+ outline: 3px solid var(--leaf-color-focus, var(--leaf-color-primary-alpha-12));
11974
+ outline-offset: 0;
11325
11975
  transform: translateY(-1px);
11326
11976
  }
11327
11977
 
@@ -11384,10 +12034,11 @@
11384
12034
  }
11385
12035
 
11386
12036
  .leaf-transfer__panel {
11387
- border: 1px solid var(--leaf-color-border);
12037
+ border: var(--leaf-component-transfer-border-width, var(--leaf-border-width, 1px)) solid var(--leaf-component-transfer-border-color, var(--leaf-frame-border-color, var(--leaf-color-border)));
12038
+ min-width: 0;
12039
+ box-shadow: var(--leaf-component-transfer-shadow, var(--leaf-surface-shadow, none));
11388
12040
  border-radius: var(--leaf-radius-md);
11389
12041
  background: var(--leaf-color-surface);
11390
- min-width: 0;
11391
12042
  transition: border-color var(--leaf-motion-duration) var(--leaf-motion-easing);
11392
12043
  flex: 1;
11393
12044
  overflow: hidden;
@@ -11421,9 +12072,8 @@
11421
12072
  }
11422
12073
 
11423
12074
  .leaf-transfer__list {
11424
- scrollbar-width: thin;
12075
+ box-sizing: border-box;
11425
12076
  padding: 0 4px 4px;
11426
- overflow: auto;
11427
12077
  }
11428
12078
 
11429
12079
  .leaf-transfer__item {
@@ -11585,10 +12235,10 @@
11585
12235
  .leaf-notification {
11586
12236
  gap: var(--leaf-component-notification-gap, 12px);
11587
12237
  padding: var(--leaf-component-notification-padding, 16px);
11588
- border: 1px solid var(--leaf-color-divider);
12238
+ border: var(--leaf-component-notification-border-width, var(--leaf-border-width, 1px)) solid var(--leaf-component-notification-border-color, var(--leaf-frame-border-color, var(--leaf-color-divider)));
11589
12239
  border-radius: var(--leaf-component-notification-radius, var(--leaf-radius-lg));
11590
12240
  background: var(--leaf-component-notification-background, var(--leaf-color-surface-raised, var(--leaf-color-surface)));
11591
- box-shadow: var(--leaf-component-notification-shadow, var(--leaf-shadow-md));
12241
+ box-shadow: var(--leaf-component-notification-shadow, var(--leaf-surface-shadow, var(--leaf-shadow-md)));
11592
12242
  color: var(--leaf-component-notification-color, var(--leaf-color-text));
11593
12243
  font: var(--leaf-component-notification-font-size, var(--leaf-font-size))/1.6 var(--leaf-font-family);
11594
12244
  pointer-events: auto;
@@ -11671,7 +12321,7 @@
11671
12321
  }
11672
12322
 
11673
12323
  .leaf-notification__close:focus-visible {
11674
- outline: 2px solid var(--leaf-color-primary);
12324
+ outline: 2px solid var(--leaf-color-primary-indicator, var(--leaf-color-primary));
11675
12325
  }
11676
12326
 
11677
12327
  .leaf-notification--info {
@@ -11799,7 +12449,8 @@
11799
12449
  width: 100%;
11800
12450
  min-width: 0;
11801
12451
  color: var(--leaf-color-text);
11802
- border: 1px solid var(--leaf-color-border);
12452
+ border: var(--leaf-component-error-boundary-border-width, var(--leaf-border-width, 1px)) solid var(--leaf-component-error-boundary-border-color, var(--leaf-frame-border-color, var(--leaf-color-border)));
12453
+ box-shadow: var(--leaf-component-error-boundary-shadow, var(--leaf-surface-shadow, none));
11803
12454
  border-radius: var(--leaf-radius-md);
11804
12455
  background: var(--leaf-color-surface);
11805
12456
  animation: var(--leaf-motion-animation, leaf-error-reveal var(--leaf-motion-duration) var(--leaf-motion-easing));
@@ -11851,7 +12502,7 @@
11851
12502
  }
11852
12503
 
11853
12504
  .leaf-loading-bar > span {
11854
- background: var(--leaf-color-primary);
12505
+ background: var(--leaf-color-primary-indicator, var(--leaf-color-primary));
11855
12506
  height: 100%;
11856
12507
  box-shadow: 0 0 8px var(--leaf-color-primary-alpha-55);
11857
12508
  transition: width var(--leaf-motion-slow) var(--leaf-motion-easing),background-color var(--leaf-motion-duration) var(--leaf-motion-easing);
@@ -11948,7 +12599,7 @@
11948
12599
  }
11949
12600
 
11950
12601
  .leaf-text__action {
11951
- color: var(--leaf-color-primary);
12602
+ color: var(--leaf-color-primary-ink, var(--leaf-color-primary));
11952
12603
  font: inherit;
11953
12604
  cursor: pointer;
11954
12605
  border-radius: var(--leaf-radius-sm);
@@ -11962,7 +12613,7 @@
11962
12613
  }
11963
12614
 
11964
12615
  .leaf-text__action:focus-visible {
11965
- outline: 2px solid var(--leaf-color-primary);
12616
+ outline: 2px solid var(--leaf-color-primary-indicator, var(--leaf-color-primary));
11966
12617
  outline-offset: 2px;
11967
12618
  }
11968
12619
 
@@ -12004,7 +12655,7 @@
12004
12655
  }
12005
12656
 
12006
12657
  .leaf-link {
12007
- color: var(--leaf-color-primary);
12658
+ color: var(--leaf-color-primary-ink, var(--leaf-color-primary));
12008
12659
  font: inherit;
12009
12660
  text-underline-offset: 4px;
12010
12661
  transition: color var(--leaf-motion-fast) var(--leaf-motion-easing);
@@ -12020,7 +12671,7 @@
12020
12671
  }
12021
12672
 
12022
12673
  .leaf-link:focus-visible {
12023
- outline: 2px solid var(--leaf-color-primary);
12674
+ outline: 2px solid var(--leaf-color-primary-indicator, var(--leaf-color-primary));
12024
12675
  outline-offset: 3px;
12025
12676
  border-radius: 2px;
12026
12677
  }
@@ -12047,7 +12698,7 @@
12047
12698
  }
12048
12699
 
12049
12700
  .leaf-text__editor:focus {
12050
- outline: 2px solid var(--leaf-color-primary);
12701
+ outline: 2px solid var(--leaf-color-primary-indicator, var(--leaf-color-primary));
12051
12702
  outline-offset: 2px;
12052
12703
  }
12053
12704
 
@@ -12134,7 +12785,7 @@
12134
12785
 
12135
12786
  .leaf-anchor__indicator:before {
12136
12787
  content: "";
12137
- background: var(--leaf-color-primary);
12788
+ background: var(--leaf-color-primary-indicator, var(--leaf-color-primary));
12138
12789
  border-radius: 2px;
12139
12790
  width: 2px;
12140
12791
  position: absolute;
@@ -12162,12 +12813,12 @@
12162
12813
  }
12163
12814
 
12164
12815
  .leaf-anchor a:hover, .leaf-anchor a[aria-current] {
12165
- color: var(--leaf-color-primary);
12816
+ color: var(--leaf-color-primary-ink, var(--leaf-color-primary));
12166
12817
  background: var(--leaf-color-primary-alpha-4);
12167
12818
  }
12168
12819
 
12169
12820
  .leaf-anchor a:focus-visible {
12170
- outline: 2px solid var(--leaf-color-primary);
12821
+ outline: 2px solid var(--leaf-color-primary-indicator, var(--leaf-color-primary));
12171
12822
  outline-offset: -2px;
12172
12823
  border-radius: var(--leaf-radius-sm);
12173
12824
  }
@@ -12199,7 +12850,7 @@
12199
12850
  .leaf-splitter__panel {
12200
12851
  min-width: 0;
12201
12852
  min-height: 0;
12202
- overflow: auto;
12853
+ overflow: hidden;
12203
12854
  }
12204
12855
 
12205
12856
  .leaf-splitter__panel[data-collapsed] {
@@ -12223,7 +12874,7 @@
12223
12874
  inset-inline-start: 50%;
12224
12875
  border-radius: var(--leaf-radius-sm);
12225
12876
  background: var(--leaf-color-surface);
12226
- color: var(--leaf-color-primary);
12877
+ color: var(--leaf-color-primary-ink, var(--leaf-color-primary));
12227
12878
  cursor: pointer;
12228
12879
  z-index: 1;
12229
12880
  border: 0;
@@ -12269,14 +12920,14 @@
12269
12920
  .leaf-tour {
12270
12921
  box-sizing: border-box;
12271
12922
  border-radius: var(--leaf-radius-lg);
12272
- border: 1px solid var(--leaf-color-border);
12923
+ border: var(--leaf-component-tour-border-width, var(--leaf-border-width, 1px)) solid var(--leaf-component-tour-border-color, var(--leaf-frame-border-color, var(--leaf-color-border)));
12273
12924
  background: var(--leaf-color-surface-raised, var(--leaf-color-surface));
12274
12925
  width: 330px;
12275
12926
  max-width: calc(100vw - 32px);
12276
12927
  color: var(--leaf-color-text);
12277
12928
  font: var(--leaf-component-tour-font-size, var(--leaf-font-size)) var(--leaf-font-family);
12278
12929
  z-index: calc(var(--leaf-z-index-modal) + 5);
12279
- box-shadow: var(--leaf-shadow-lg, 0 12px 50px #0003);
12930
+ box-shadow: var(--leaf-component-tour-shadow, var(--leaf-surface-shadow, var(--leaf-shadow-lg)));
12280
12931
  pointer-events: auto;
12281
12932
  padding: 18px;
12282
12933
  }
@@ -12419,7 +13070,7 @@
12419
13070
  }
12420
13071
 
12421
13072
  .leaf-carousel__arrow:focus-visible {
12422
- outline: 2px solid var(--leaf-color-primary);
13073
+ outline: 2px solid var(--leaf-color-primary-indicator, var(--leaf-color-primary));
12423
13074
  outline-offset: 3px;
12424
13075
  }
12425
13076
 
@@ -12455,12 +13106,12 @@
12455
13106
  }
12456
13107
 
12457
13108
  .leaf-carousel__dots button:focus-visible {
12458
- outline: 2px solid var(--leaf-color-primary);
13109
+ outline: 2px solid var(--leaf-color-primary-indicator, var(--leaf-color-primary));
12459
13110
  outline-offset: 3px;
12460
13111
  }
12461
13112
 
12462
13113
  .leaf-carousel__dots button[aria-current] {
12463
- background: var(--leaf-color-primary);
13114
+ background: var(--leaf-color-primary-indicator, var(--leaf-color-primary));
12464
13115
  width: 20px;
12465
13116
  }
12466
13117
 
@@ -12616,6 +13267,14 @@
12616
13267
  }
12617
13268
  }
12618
13269
 
13270
+ .leaf-mentions__panel {
13271
+ --leaf-surface-border: var(--leaf-component-mentions-border-width, var(--leaf-component-floating-border-width, var(--leaf-border-width, 1px)));
13272
+ border-color: var(--leaf-component-mentions-border-color, var(--leaf-component-floating-border-color, var(--leaf-frame-border-color, var(--leaf-color-border))));
13273
+ color: var(--leaf-component-mentions-color, var(--leaf-component-floating-color, var(--leaf-color-text)));
13274
+ background: var(--leaf-component-mentions-background, var(--leaf-component-floating-background, var(--leaf-color-surface-raised, var(--leaf-color-surface))));
13275
+ box-shadow: var(--leaf-component-mentions-shadow, var(--leaf-component-floating-shadow, var(--leaf-surface-shadow, var(--leaf-shadow-md))));
13276
+ }
13277
+
12619
13278
  .leaf-command-palette .leaf-modal__header {
12620
13279
  padding: 18px 20px 10px;
12621
13280
  }
@@ -12630,15 +13289,16 @@
12630
13289
  padding: 4px 16px 0;
12631
13290
  }
12632
13291
 
13292
+ .leaf-command-palette__results {
13293
+ margin-top: 10px;
13294
+ }
13295
+
12633
13296
  .leaf-command-palette__list {
12634
13297
  --leaf-floating-option-radius: var(--leaf-radius-sm);
12635
13298
  overscroll-behavior: contain;
12636
13299
  min-height: 72px;
12637
- max-height: 340px;
12638
- margin-top: 10px;
12639
13300
  padding: 4px;
12640
13301
  position: relative;
12641
- overflow: auto;
12642
13302
  }
12643
13303
 
12644
13304
  .leaf-command-palette__list .leaf-floating__option {
@@ -12830,7 +13490,7 @@
12830
13490
  }
12831
13491
 
12832
13492
  .leaf-bottom-navigation button[aria-current], .leaf-bottom-navigation a[aria-current] {
12833
- color: var(--leaf-color-primary);
13493
+ color: var(--leaf-color-primary-ink, var(--leaf-color-primary));
12834
13494
  }
12835
13495
 
12836
13496
  .leaf-bottom-navigation button[aria-current] .leaf-bottom-navigation__icon, .leaf-bottom-navigation a[aria-current] .leaf-bottom-navigation__icon {
@@ -12861,7 +13521,7 @@
12861
13521
  }
12862
13522
 
12863
13523
  .leaf-bottom-navigation [data-leaf-navigation]:focus-visible {
12864
- outline: 2px solid var(--leaf-color-primary);
13524
+ outline: 2px solid var(--leaf-color-primary-indicator, var(--leaf-color-primary));
12865
13525
  outline-offset: -2px;
12866
13526
  }
12867
13527
 
@@ -12887,7 +13547,7 @@
12887
13547
  --leaf-table-surface: var(--leaf-component-table-background, var(--leaf-color-surface));
12888
13548
  box-sizing: border-box;
12889
13549
  contain: inline-size;
12890
- border: 1px solid var(--leaf-color-border);
13550
+ border: var(--leaf-component-table-border-width, var(--leaf-border-width, 1px)) solid var(--leaf-component-table-border-color, var(--leaf-frame-border-color, var(--leaf-color-border)));
12891
13551
  border-radius: var(--leaf-component-table-radius, var(--leaf-radius));
12892
13552
  background: var(--leaf-table-surface);
12893
13553
  width: 100%;
@@ -12897,7 +13557,7 @@
12897
13557
  font-family: var(--leaf-font-family);
12898
13558
  font-size: var(--leaf-component-table-font-size, var(--leaf-font-size));
12899
13559
  line-height: var(--leaf-line-height, 1.6);
12900
- box-shadow: var(--leaf-component-table-shadow, none);
13560
+ box-shadow: var(--leaf-component-table-shadow, var(--leaf-surface-shadow, none));
12901
13561
  position: relative;
12902
13562
  }
12903
13563
 
@@ -12928,7 +13588,7 @@
12928
13588
  }
12929
13589
 
12930
13590
  .leaf-table__viewport:focus-visible {
12931
- outline: 3px solid var(--leaf-color-focus, var(--leaf-focus-color, var(--leaf-color-primary-alpha-42)));
13591
+ outline: 3px solid var(--leaf-color-focus, var(--leaf-focus-color, var(--leaf-color-primary-focus, var(--leaf-color-primary-alpha-42))));
12932
13592
  outline-offset: 2px;
12933
13593
  outline-offset: -3px;
12934
13594
  }
@@ -13001,8 +13661,8 @@
13001
13661
  font-size: var(--leaf-font-size-sm);
13002
13662
  font-weight: var(--leaf-font-weight);
13003
13663
  background: var(--leaf-color-surface-muted);
13664
+ border-block-end: 1px solid var(--leaf-color-divider);
13004
13665
  white-space: nowrap;
13005
- border-block-end: 0;
13006
13666
  position: relative;
13007
13667
  }
13008
13668
 
@@ -13010,10 +13670,14 @@
13010
13670
  border-block-end: 0;
13011
13671
  }
13012
13672
 
13013
- .leaf-table--striped .leaf-table__body > .leaf-table__row:nth-child(2n):not(.leaf-table__state-row), .leaf-table__body > .leaf-table__row:not(.leaf-table__state-row):hover {
13673
+ .leaf-table--striped .leaf-table__body > .leaf-table__row:nth-child(2n):not(.leaf-table__state-row) {
13014
13674
  --leaf-table-row-background: var(--leaf-color-surface-muted);
13015
13675
  }
13016
13676
 
13677
+ .leaf-table__body > .leaf-table__row:not(.leaf-table__state-row):hover {
13678
+ --leaf-table-row-background: var(--leaf-color-primary-surface-6);
13679
+ }
13680
+
13017
13681
  .leaf-table__body > .leaf-table__row[data-selected], .leaf-table__body > .leaf-table__row[data-selected]:hover {
13018
13682
  --leaf-table-row-background: var(--leaf-color-primary-soft);
13019
13683
  }
@@ -13100,11 +13764,11 @@
13100
13764
 
13101
13765
  .leaf-data-table__drag-handle:hover {
13102
13766
  background: var(--leaf-color-primary-soft);
13103
- color: var(--leaf-color-primary);
13767
+ color: var(--leaf-color-primary-ink, var(--leaf-color-primary));
13104
13768
  }
13105
13769
 
13106
13770
  .leaf-data-table__drag-handle:focus-visible {
13107
- outline: 3px solid var(--leaf-color-focus, var(--leaf-focus-color, var(--leaf-color-primary-alpha-42)));
13771
+ outline: 3px solid var(--leaf-color-focus, var(--leaf-focus-color, var(--leaf-color-primary-focus, var(--leaf-color-primary-alpha-42))));
13108
13772
  outline-offset: 2px;
13109
13773
  }
13110
13774
 
@@ -13172,17 +13836,17 @@
13172
13836
  }
13173
13837
 
13174
13838
  .leaf-data-table__sort:hover {
13175
- color: var(--leaf-color-primary);
13839
+ color: var(--leaf-color-primary-ink, var(--leaf-color-primary));
13176
13840
  }
13177
13841
 
13178
13842
  .leaf-data-table__sort:focus-visible {
13179
- outline: 3px solid var(--leaf-color-focus, var(--leaf-focus-color, var(--leaf-color-primary-alpha-42)));
13843
+ outline: 3px solid var(--leaf-color-focus, var(--leaf-focus-color, var(--leaf-color-primary-focus, var(--leaf-color-primary-alpha-42))));
13180
13844
  outline-offset: 2px;
13181
13845
  border-radius: var(--leaf-radius-sm);
13182
13846
  }
13183
13847
 
13184
13848
  .leaf-data-table__sort[data-sorted] {
13185
- color: var(--leaf-color-primary);
13849
+ color: var(--leaf-color-primary-ink, var(--leaf-color-primary));
13186
13850
  }
13187
13851
 
13188
13852
  .leaf-data-table__sort svg {
@@ -13223,11 +13887,11 @@
13223
13887
 
13224
13888
  .leaf-data-table__expand:hover {
13225
13889
  background: var(--leaf-color-primary-soft);
13226
- color: var(--leaf-color-primary);
13890
+ color: var(--leaf-color-primary-ink, var(--leaf-color-primary));
13227
13891
  }
13228
13892
 
13229
13893
  .leaf-data-table__expand:focus-visible {
13230
- outline: 3px solid var(--leaf-color-focus, var(--leaf-focus-color, var(--leaf-color-primary-alpha-42)));
13894
+ outline: 3px solid var(--leaf-color-focus, var(--leaf-focus-color, var(--leaf-color-primary-focus, var(--leaf-color-primary-alpha-42))));
13231
13895
  outline-offset: 2px;
13232
13896
  }
13233
13897
 
@@ -13272,11 +13936,11 @@
13272
13936
  }
13273
13937
 
13274
13938
  .leaf-data-table__resize:hover:after, .leaf-data-table__resize:focus-visible:after, .leaf-data-table__resize[data-resizing]:after {
13275
- background: var(--leaf-color-primary);
13939
+ background: var(--leaf-color-primary-indicator, var(--leaf-color-primary));
13276
13940
  }
13277
13941
 
13278
13942
  .leaf-data-table__resize:focus-visible {
13279
- outline: 3px solid var(--leaf-color-focus, var(--leaf-focus-color, var(--leaf-color-primary-alpha-42)));
13943
+ outline: 3px solid var(--leaf-color-focus, var(--leaf-focus-color, var(--leaf-color-primary-focus, var(--leaf-color-primary-alpha-42))));
13280
13944
  outline-offset: 2px;
13281
13945
  }
13282
13946