@well-insight/ui 0.1.10 → 0.1.12

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 (323) hide show
  1. package/CHANGELOG.md +56 -0
  2. package/dist/{Button-B6-YxpOQ.js → Button-tnrMSwNg.js} +3 -7
  3. package/dist/{Checkbox-BvlOYFGs.js → Checkbox-CoovLjt_.js} +1 -1
  4. package/dist/{Icon-B6gOD07E.js → Icon-DHGs8l-M.js} +27 -1
  5. package/dist/Pagination-UvgyUKB1.js +155 -0
  6. package/dist/{ProgressSpinner-YThgaSzb.js → ProgressSpinner-BTijCc7l.js} +1 -1
  7. package/dist/_plugin-vue_export-helper-B3ysoDQm.js +8 -0
  8. package/dist/accordion/style.css +4 -5
  9. package/dist/auto-complete/index.js +106 -99
  10. package/dist/auto-complete/style.css +4 -5
  11. package/dist/avatar/index.js +1 -1
  12. package/dist/avatar/style.css +4 -5
  13. package/dist/badge/style.css +4 -5
  14. package/dist/block-ui/style.css +4 -5
  15. package/dist/breadcrumb/index.js +1 -1
  16. package/dist/breadcrumb/style.css +4 -5
  17. package/dist/button/index.js +1 -1
  18. package/dist/button/style.css +4 -5
  19. package/dist/card/style.css +4 -5
  20. package/dist/carousel/index.js +61 -54
  21. package/dist/carousel/style.css +43 -5
  22. package/dist/carousel/style.js +1 -0
  23. package/dist/cascade-select/index.js +143 -76
  24. package/dist/cascade-select/style.css +76 -10
  25. package/dist/cascade-select/style.js +1 -0
  26. package/dist/checkbox/index.js +1 -1
  27. package/dist/checkbox/style.css +4 -5
  28. package/dist/chip/index.js +32 -29
  29. package/dist/chip/style.css +4 -5
  30. package/dist/command-menu/index.js +2 -2
  31. package/dist/command-menu/style.css +4 -5
  32. package/dist/components/AutoComplete/AutoComplete.vue.d.ts +2 -0
  33. package/dist/components/AutoComplete/AutoComplete.vue.d.ts.map +1 -1
  34. package/dist/components/AutoComplete/types.d.ts +1 -0
  35. package/dist/components/AutoComplete/types.d.ts.map +1 -1
  36. package/dist/components/Button/Button.vue.d.ts +0 -1
  37. package/dist/components/Button/Button.vue.d.ts.map +1 -1
  38. package/dist/components/Button/types.d.ts +0 -2
  39. package/dist/components/Button/types.d.ts.map +1 -1
  40. package/dist/components/Carousel/Carousel.vue.d.ts +2 -2
  41. package/dist/components/Carousel/Carousel.vue.d.ts.map +1 -1
  42. package/dist/components/CascadeSelect/CascadeSelect.vue.d.ts +6 -0
  43. package/dist/components/CascadeSelect/CascadeSelect.vue.d.ts.map +1 -1
  44. package/dist/components/CascadeSelect/styles.css +33 -5
  45. package/dist/components/CascadeSelect/types.d.ts +11 -0
  46. package/dist/components/CascadeSelect/types.d.ts.map +1 -1
  47. package/dist/components/Chip/Chip.vue.d.ts.map +1 -1
  48. package/dist/components/ConfigProvider/ConfigProvider.vue.d.ts.map +1 -1
  49. package/dist/components/ConfirmPopup/ConfirmPopup.vue.d.ts.map +1 -1
  50. package/dist/components/ContextMenu/ContextMenuNodes.vue.d.ts.map +1 -1
  51. package/dist/components/DatePicker/DatePicker.vue.d.ts +2 -0
  52. package/dist/components/DatePicker/DatePicker.vue.d.ts.map +1 -1
  53. package/dist/components/DatePicker/styles.css +33 -8
  54. package/dist/components/DatePicker/types.d.ts +1 -0
  55. package/dist/components/DatePicker/types.d.ts.map +1 -1
  56. package/dist/components/Dialog/Dialog.vue.d.ts +3 -3
  57. package/dist/components/Dialog/Dialog.vue.d.ts.map +1 -1
  58. package/dist/components/Divider/types.d.ts +0 -5
  59. package/dist/components/Divider/types.d.ts.map +1 -1
  60. package/dist/components/Drawer/Drawer.vue.d.ts +2 -2
  61. package/dist/components/Drawer/Drawer.vue.d.ts.map +1 -1
  62. package/dist/components/Dropdown/DropdownNodes.vue.d.ts +2 -2
  63. package/dist/components/Dropdown/DropdownNodes.vue.d.ts.map +1 -1
  64. package/dist/components/Fieldset/Fieldset.vue.d.ts +4 -4
  65. package/dist/components/Fieldset/Fieldset.vue.d.ts.map +1 -1
  66. package/dist/components/FileUpload/styles.css +2 -2
  67. package/dist/components/FloatLabel/FloatLabel.vue.d.ts.map +1 -1
  68. package/dist/components/Gallery/Gallery.vue.d.ts.map +1 -1
  69. package/dist/components/Icon/icons.d.ts +32 -0
  70. package/dist/components/Icon/icons.d.ts.map +1 -1
  71. package/dist/components/Input/Input.vue.d.ts +0 -1
  72. package/dist/components/Input/Input.vue.d.ts.map +1 -1
  73. package/dist/components/Input/styles.css +3 -5
  74. package/dist/components/Input/types.d.ts +1 -3
  75. package/dist/components/Input/types.d.ts.map +1 -1
  76. package/dist/components/InputNumber/InputNumber.vue.d.ts.map +1 -1
  77. package/dist/components/InputOtp/InputOtp.vue.d.ts.map +1 -1
  78. package/dist/components/InputPassword/InputPassword.vue.d.ts +4 -4
  79. package/dist/components/InputPassword/InputPassword.vue.d.ts.map +1 -1
  80. package/dist/components/InputTags/InputTags.vue.d.ts.map +1 -1
  81. package/dist/components/Layout/Layout.vue.d.ts +1 -4
  82. package/dist/components/Layout/Layout.vue.d.ts.map +1 -1
  83. package/dist/components/Layout/LayoutContent.vue.d.ts +1 -4
  84. package/dist/components/Layout/LayoutContent.vue.d.ts.map +1 -1
  85. package/dist/components/Layout/LayoutFooter.vue.d.ts.map +1 -1
  86. package/dist/components/Layout/LayoutHeader.vue.d.ts.map +1 -1
  87. package/dist/components/Layout/LayoutSider.vue.d.ts +1 -4
  88. package/dist/components/Layout/LayoutSider.vue.d.ts.map +1 -1
  89. package/dist/components/Layout/composables/useLayoutRegionStyle.d.ts +9 -0
  90. package/dist/components/Layout/composables/useLayoutRegionStyle.d.ts.map +1 -0
  91. package/dist/components/Layout/composables/useLayoutScroll.d.ts +6 -0
  92. package/dist/components/Layout/composables/useLayoutScroll.d.ts.map +1 -0
  93. package/dist/components/Layout/composables/useLayoutSiderCollapse.d.ts +16 -0
  94. package/dist/components/Layout/composables/useLayoutSiderCollapse.d.ts.map +1 -0
  95. package/dist/components/Layout/styles.css +21 -49
  96. package/dist/components/Layout/types.d.ts +0 -22
  97. package/dist/components/Layout/types.d.ts.map +1 -1
  98. package/dist/components/Layout/utils.d.ts +3 -0
  99. package/dist/components/Layout/utils.d.ts.map +1 -0
  100. package/dist/components/MegaMenu/MegaMenu.vue.d.ts.map +1 -1
  101. package/dist/components/Menu/MenuNodes.vue.d.ts.map +1 -1
  102. package/dist/components/Menubar/Menubar.vue.d.ts.map +1 -1
  103. package/dist/components/Pagination/Pagination.vue.d.ts.map +1 -1
  104. package/dist/components/Panel/Panel.vue.d.ts +3 -3
  105. package/dist/components/Panel/Panel.vue.d.ts.map +1 -1
  106. package/dist/components/Popover/Popover.vue.d.ts.map +1 -1
  107. package/dist/components/Popover/styles.css +41 -0
  108. package/dist/components/Rating/Rating.vue.d.ts.map +1 -1
  109. package/dist/components/Rating/styles.css +28 -23
  110. package/dist/components/ScrollTop/ScrollTop.vue.d.ts.map +1 -1
  111. package/dist/components/Select/Select.vue.d.ts +1 -1
  112. package/dist/components/Select/Select.vue.d.ts.map +1 -1
  113. package/dist/components/Select/styles.css +8 -108
  114. package/dist/components/Select/types.d.ts +3 -3
  115. package/dist/components/Select/types.d.ts.map +1 -1
  116. package/dist/components/Slider/Slider.vue.d.ts.map +1 -1
  117. package/dist/components/Slider/types.d.ts +2 -0
  118. package/dist/components/Slider/types.d.ts.map +1 -1
  119. package/dist/components/SpeedDial/SpeedDial.vue.d.ts.map +1 -1
  120. package/dist/components/SplitButton/SplitButton.vue.d.ts.map +1 -1
  121. package/dist/components/Table/Table.vue.d.ts +9 -9
  122. package/dist/components/Table/Table.vue.d.ts.map +1 -1
  123. package/dist/components/Tabs/Tabs.vue.d.ts +3 -3
  124. package/dist/components/Tabs/Tabs.vue.d.ts.map +1 -1
  125. package/dist/components/Tag/Tag.vue.d.ts.map +1 -1
  126. package/dist/components/Terminal/styles.css +8 -8
  127. package/dist/components/Textarea/Textarea.vue.d.ts +0 -2
  128. package/dist/components/Textarea/Textarea.vue.d.ts.map +1 -1
  129. package/dist/components/Textarea/styles.css +1 -2
  130. package/dist/components/Textarea/types.d.ts +1 -5
  131. package/dist/components/Textarea/types.d.ts.map +1 -1
  132. package/dist/components/TieredMenu/TieredMenu.vue.d.ts.map +1 -1
  133. package/dist/components/Toast/Toast.vue.d.ts.map +1 -1
  134. package/dist/components/Tooltip/Tooltip.vue.d.ts.map +1 -1
  135. package/dist/components/TreeSelect/TreeSelect.vue.d.ts.map +1 -1
  136. package/dist/components/TreeSelect/TreeSelectNodeItem.vue.d.ts.map +1 -1
  137. package/dist/components/TreeSelect/styles.css +21 -12
  138. package/dist/components/TreeTable/TreeTableRow.vue.d.ts.map +1 -1
  139. package/dist/{config-DWwce9jA.js → config-CTLkobga.js} +1 -0
  140. package/dist/config-provider/index.js +27 -26
  141. package/dist/config-provider/style.css +7 -10
  142. package/dist/confirm-dialog/index.js +4 -4
  143. package/dist/confirm-dialog/style.css +4 -5
  144. package/dist/confirm-popup/index.js +62 -77
  145. package/dist/confirm-popup/style.css +4 -5
  146. package/dist/context-menu/index.js +69 -61
  147. package/dist/context-menu/style.css +4 -5
  148. package/dist/data-view/index.js +1 -1
  149. package/dist/data-view/style.css +4 -5
  150. package/dist/date-picker/index.js +144 -137
  151. package/dist/date-picker/style.css +76 -13
  152. package/dist/date-picker/style.js +1 -0
  153. package/dist/dialog/index.js +76 -70
  154. package/dist/dialog/style.css +4 -5
  155. package/dist/divider/index.js +1 -2
  156. package/dist/divider/style.css +4 -5
  157. package/dist/dock/style.css +4 -5
  158. package/dist/drawer/index.js +49 -45
  159. package/dist/drawer/style.css +43 -5
  160. package/dist/drawer/style.js +1 -0
  161. package/dist/dropdown/index.js +98 -97
  162. package/dist/dropdown/style.css +4 -5
  163. package/dist/fieldset/index.js +16 -12
  164. package/dist/fieldset/style.css +43 -5
  165. package/dist/fieldset/style.js +1 -0
  166. package/dist/file-upload/index.js +2 -2
  167. package/dist/file-upload/style.css +6 -7
  168. package/dist/flex/index.js +1 -1
  169. package/dist/flex/style.css +4 -5
  170. package/dist/float-label/index.js +15 -4
  171. package/dist/float-label/style.css +4 -5
  172. package/dist/fluid/style.css +4 -5
  173. package/dist/form/index.js +1 -1
  174. package/dist/form/style.css +4 -5
  175. package/dist/gallery/index.js +41 -34
  176. package/dist/gallery/style.css +43 -5
  177. package/dist/gallery/style.js +1 -0
  178. package/dist/grid/style.css +4 -5
  179. package/dist/icon/index.js +1 -1
  180. package/dist/icon/style.css +4 -5
  181. package/dist/icon-Cg5TeFqe.js +7 -0
  182. package/dist/icon-field/style.css +4 -5
  183. package/dist/index.js +2790 -2650
  184. package/dist/inplace/style.css +4 -5
  185. package/dist/input/index.js +65 -66
  186. package/dist/input/style.css +46 -10
  187. package/dist/input/style.js +1 -0
  188. package/dist/input-color/index.js +1 -1
  189. package/dist/input-color/style.css +4 -5
  190. package/dist/input-group/style.css +4 -5
  191. package/dist/input-number/index.js +82 -66
  192. package/dist/input-number/style.css +43 -5
  193. package/dist/input-number/style.js +1 -0
  194. package/dist/input-otp/index.js +3 -3
  195. package/dist/input-otp/style.css +4 -5
  196. package/dist/input-password/index.js +46 -43
  197. package/dist/input-password/style.css +4 -5
  198. package/dist/input-tags/index.js +50 -46
  199. package/dist/input-tags/style.css +43 -5
  200. package/dist/input-tags/style.js +1 -0
  201. package/dist/key-CaQYVkjh.js +6 -0
  202. package/dist/knob/style.css +4 -5
  203. package/dist/label/style.css +4 -5
  204. package/dist/layout/index.js +196 -271
  205. package/dist/layout/style.css +50 -140
  206. package/dist/layout/style.js +1 -1
  207. package/dist/listbox/index.js +1 -1
  208. package/dist/listbox/style.css +4 -5
  209. package/dist/locale/en-US.d.ts.map +1 -1
  210. package/dist/locale/types.d.ts +1 -0
  211. package/dist/locale/types.d.ts.map +1 -1
  212. package/dist/locale/zh-CN.d.ts.map +1 -1
  213. package/dist/{locale-CYkJyRd1.js → locale-DxAvgqgB.js} +1 -1
  214. package/dist/mega-menu/index.js +47 -49
  215. package/dist/mega-menu/style.css +4 -5
  216. package/dist/menu/index.js +81 -76
  217. package/dist/menu/style.css +4 -5
  218. package/dist/menubar/index.js +75 -73
  219. package/dist/menubar/style.css +4 -5
  220. package/dist/message/index.js +3 -3
  221. package/dist/message/style.css +4 -5
  222. package/dist/meter-group/style.css +4 -5
  223. package/dist/order-list/index.js +2 -2
  224. package/dist/order-list/style.css +4 -5
  225. package/dist/overlayPlacement-CN1tuC95.js +51 -0
  226. package/dist/pagination/index.js +1 -1
  227. package/dist/pagination/style.css +43 -5
  228. package/dist/pagination/style.js +1 -0
  229. package/dist/panel/index.js +27 -23
  230. package/dist/panel/style.css +43 -5
  231. package/dist/panel/style.js +1 -0
  232. package/dist/pick-list/index.js +2 -2
  233. package/dist/pick-list/style.css +4 -5
  234. package/dist/popover/index.js +79 -100
  235. package/dist/popover/style.css +45 -5
  236. package/dist/progress-bar/style.css +4 -5
  237. package/dist/progress-spinner/index.js +1 -1
  238. package/dist/progress-spinner/style.css +4 -5
  239. package/dist/radio/index.js +1 -1
  240. package/dist/radio/style.css +4 -5
  241. package/dist/rating/index.js +54 -44
  242. package/dist/rating/style.css +71 -28
  243. package/dist/rating/style.js +1 -0
  244. package/dist/scroll-top/index.js +45 -41
  245. package/dist/scroll-top/style.css +43 -5
  246. package/dist/scroll-top/style.js +1 -0
  247. package/dist/scrollbar/index.js +382 -2
  248. package/dist/scrollbar/style.css +4 -5
  249. package/dist/select/index.js +149 -141
  250. package/dist/select/style.css +51 -113
  251. package/dist/select/style.js +1 -0
  252. package/dist/select-button/index.js +1 -1
  253. package/dist/select-button/style.css +4 -5
  254. package/dist/shared/componentDefaults.d.ts +5 -1
  255. package/dist/shared/componentDefaults.d.ts.map +1 -1
  256. package/dist/shared/menu/icon.d.ts +4 -0
  257. package/dist/shared/menu/icon.d.ts.map +1 -0
  258. package/dist/shared/menu/index.d.ts +4 -0
  259. package/dist/shared/menu/index.d.ts.map +1 -0
  260. package/dist/shared/menu/key.d.ts +4 -0
  261. package/dist/shared/menu/key.d.ts.map +1 -0
  262. package/dist/shared/menu/types.d.ts +11 -0
  263. package/dist/shared/menu/types.d.ts.map +1 -0
  264. package/dist/shared/overlayPlacement.d.ts +12 -0
  265. package/dist/shared/overlayPlacement.d.ts.map +1 -0
  266. package/dist/sidebar/index.js +1 -1
  267. package/dist/sidebar/style.css +4 -5
  268. package/dist/skeleton/style.css +4 -5
  269. package/dist/slider/index.js +6 -3
  270. package/dist/slider/style.css +4 -5
  271. package/dist/space/index.js +1 -1
  272. package/dist/space/style.css +4 -5
  273. package/dist/speed-dial/index.js +55 -66
  274. package/dist/speed-dial/style.css +43 -5
  275. package/dist/speed-dial/style.js +1 -0
  276. package/dist/split-button/index.js +66 -63
  277. package/dist/split-button/style.css +43 -5
  278. package/dist/split-button/style.js +1 -0
  279. package/dist/splitter/index.js +1 -1
  280. package/dist/splitter/style.css +4 -5
  281. package/dist/stepper/style.css +4 -5
  282. package/dist/styles/base.css +4 -5
  283. package/dist/styles.css +1 -1
  284. package/dist/switch/index.js +1 -1
  285. package/dist/switch/style.css +4 -5
  286. package/dist/table/index.js +41 -35
  287. package/dist/table/style.css +4 -5
  288. package/dist/tabs/index.js +78 -65
  289. package/dist/tabs/style.css +43 -5
  290. package/dist/tabs/style.js +1 -0
  291. package/dist/tag/index.js +31 -28
  292. package/dist/tag/style.css +4 -5
  293. package/dist/terminal/index.js +1 -1
  294. package/dist/terminal/style.css +12 -13
  295. package/dist/textarea/index.js +69 -75
  296. package/dist/textarea/style.css +44 -7
  297. package/dist/textarea/style.js +1 -0
  298. package/dist/tiered-menu/index.js +66 -59
  299. package/dist/tiered-menu/style.css +43 -5
  300. package/dist/tiered-menu/style.js +1 -0
  301. package/dist/timeline/index.js +1 -1
  302. package/dist/timeline/style.css +4 -5
  303. package/dist/toast/index.js +93 -89
  304. package/dist/toast/style.css +43 -5
  305. package/dist/toast/style.js +1 -0
  306. package/dist/toggle-button/index.js +1 -1
  307. package/dist/toggle-button/style.css +4 -5
  308. package/dist/toolbar/index.js +10 -13
  309. package/dist/toolbar/style.css +4 -5
  310. package/dist/tooltip/index.js +47 -71
  311. package/dist/tooltip/style.css +4 -5
  312. package/dist/tree/index.js +3 -3
  313. package/dist/tree/style.css +4 -5
  314. package/dist/tree-select/index.js +164 -155
  315. package/dist/tree-select/style.css +64 -17
  316. package/dist/tree-select/style.js +1 -0
  317. package/dist/tree-table/index.js +34 -30
  318. package/dist/tree-table/style.css +43 -5
  319. package/dist/tree-table/style.js +1 -0
  320. package/dist/virtual-scroller/style.css +4 -5
  321. package/package.json +4 -1
  322. package/dist/Pagination-BU-1IY0E.js +0 -148
  323. package/dist/Scrollbar-D-bR2noX.js +0 -382
@@ -1,63 +1,64 @@
1
1
  import { t as e } from "../types-tV3SEv3Q.js";
2
- import { n as t } from "../overlay-oR-5MDuE.js";
3
- import { i as n, r, t as i } from "../Renderable-IhqISc5E.js";
4
- import { c as a } from "../config-DWwce9jA.js";
5
- import { t as o } from "../overlayHost-Bdc0ZDhU.js";
6
- import { n as s, t as c } from "../locale-CYkJyRd1.js";
2
+ import { t } from "../Icon-DHGs8l-M.js";
3
+ import { n } from "../overlay-oR-5MDuE.js";
4
+ import { i as r, r as i, t as a } from "../Renderable-IhqISc5E.js";
5
+ import { c as o } from "../config-CTLkobga.js";
6
+ import { t as s } from "../overlayHost-Bdc0ZDhU.js";
7
+ import { n as c, t as l } from "../locale-DxAvgqgB.js";
7
8
  import "./style.js";
8
- import { Fragment as l, Teleport as u, TransitionGroup as d, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createVNode as _, defineComponent as v, h as y, normalizeClass as b, onBeforeUnmount as x, onMounted as S, openBlock as C, reactive as w, renderList as T, unref as E, watch as D, withCtx as O } from "vue";
9
+ import { Fragment as u, Teleport as d, TransitionGroup as f, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createVNode as v, defineComponent as y, h as b, normalizeClass as x, onBeforeUnmount as S, onMounted as C, openBlock as w, reactive as T, renderList as E, unref as D, watch as O, withCtx as k } from "vue";
9
10
  //#region src/components/Toast/toastState.ts
10
- var k = w({
11
+ var A = T({
11
12
  messages: [],
12
13
  position: "top-right",
13
14
  max: void 0
14
- }), A = null, j = 0, M = /* @__PURE__ */ new Map();
15
- function N(e) {
16
- A = e;
17
- }
18
- function P() {
19
- j += 1, A &&= (A.unmount(), null);
15
+ }), j = null, M = 0, N = /* @__PURE__ */ new Map();
16
+ function P(e) {
17
+ j = e;
20
18
  }
21
19
  function F() {
22
- j = Math.max(0, j - 1);
20
+ M += 1, j &&= (j.unmount(), null);
21
+ }
22
+ function I() {
23
+ M = Math.max(0, M - 1);
23
24
  }
24
- function I(e) {
25
- let t = M.get(e);
26
- t != null && clearTimeout(t), M.delete(e);
25
+ function L(e) {
26
+ let t = N.get(e);
27
+ t != null && clearTimeout(t), N.delete(e);
27
28
  }
28
- function L(e, t) {
29
- I(e.id), !(e.life == null || e.life <= 0) && M.set(e.id, setTimeout(() => {
29
+ function R(e, t) {
30
+ L(e.id), !(e.life == null || e.life <= 0) && N.set(e.id, setTimeout(() => {
30
31
  t(e.id);
31
32
  }, e.life));
32
33
  }
33
- function R(e) {
34
+ function z(e) {
34
35
  if (e == null) {
35
- z();
36
+ B();
36
37
  return;
37
38
  }
38
- I(e), k.messages = k.messages.filter((t) => t.id !== e);
39
+ L(e), A.messages = A.messages.filter((t) => t.id !== e);
39
40
  }
40
- function z() {
41
- for (let e of [...M.keys()]) I(e);
42
- k.messages = [];
41
+ function B() {
42
+ for (let e of [...N.keys()]) L(e);
43
+ A.messages = [];
43
44
  }
44
- function B(e) {
45
- if (!(e == null || e <= 0)) for (; k.messages.length >= e;) {
46
- let e = k.messages[0];
45
+ function V(e) {
46
+ if (!(e == null || e <= 0)) for (; A.messages.length >= e;) {
47
+ let e = A.messages[0];
47
48
  if (!e) break;
48
- R(e.id);
49
+ z(e.id);
49
50
  }
50
51
  }
51
- function V(e) {
52
- if (!(e == null || e <= 0)) for (; k.messages.length > e;) {
53
- let e = k.messages[0];
52
+ function H(e) {
53
+ if (!(e == null || e <= 0)) for (; A.messages.length > e;) {
54
+ let e = A.messages[0];
54
55
  if (!e) break;
55
- R(e.id);
56
+ z(e.id);
56
57
  }
57
58
  }
58
59
  //#endregion
59
60
  //#region src/components/Toast/Toast.vue?vue&type=script&setup=true&lang.ts
60
- var H = { class: "wi-toast__content" }, U = { key: 0 }, W = ["aria-label", "onClick"], G = /* @__PURE__ */ v({
61
+ var U = { class: "wi-toast__content" }, W = { key: 0 }, G = ["aria-label", "onClick"], K = /* @__PURE__ */ y({
61
62
  __name: "Toast",
62
63
  props: {
63
64
  messages: {},
@@ -74,92 +75,95 @@ var H = { class: "wi-toast__content" }, U = { key: 0 }, W = ["aria-label", "onCl
74
75
  }
75
76
  },
76
77
  emits: ["close"],
77
- setup(r, { emit: o }) {
78
- let v = r, y = o, w = a(), A = s(), j = f(() => t(v, w.value.appendTo)), M = f(() => v.messages === void 0), N = f(() => v.messages ?? k.messages), I = f(() => v.position ?? (M.value ? k.position : "top-right"));
79
- S(() => {
80
- M.value && !v.auto && P();
81
- }), x(() => {
82
- M.value && !v.auto && F();
83
- }), D(() => v.max, (e) => {
84
- !M.value || e === void 0 || (k.max = e, V(e));
78
+ setup(i, { emit: s }) {
79
+ let y = i, b = s, T = o(), j = c(), M = p(() => n(y, T.value.appendTo)), N = p(() => y.messages === void 0), P = p(() => y.messages ?? A.messages), L = p(() => y.position ?? (N.value ? A.position : "top-right"));
80
+ C(() => {
81
+ N.value && !y.auto && F();
82
+ }), S(() => {
83
+ N.value && !y.auto && I();
84
+ }), O(() => y.max, (e) => {
85
+ !N.value || e === void 0 || (A.max = e, H(e));
85
86
  }, { immediate: !0 });
86
- function L(t) {
87
+ function R(t) {
87
88
  return `wi-toast__message--${e(t) ?? "info"}`;
88
89
  }
89
- function z(e) {
90
- return c(A.value.closeNamed, { summary: n(e.summary) || "toast" });
91
- }
92
90
  function B(e) {
93
- M.value && R(e.id), y("close", e);
91
+ return l(j.value.closeNamed, { summary: r(e.summary) || "toast" });
92
+ }
93
+ function V(e) {
94
+ N.value && z(e.id), b("close", e);
94
95
  }
95
- return (e, t) => (C(), p(u, {
96
- to: j.value.to,
97
- disabled: j.value.disabled
98
- }, [g("div", {
99
- class: b(["wi-toast", `wi-toast--${I.value}`]),
96
+ return (e, n) => (w(), m(d, {
97
+ to: M.value.to,
98
+ disabled: M.value.disabled
99
+ }, [_("div", {
100
+ class: x(["wi-toast", `wi-toast--${L.value}`]),
100
101
  "aria-live": "polite",
101
102
  "aria-atomic": "true"
102
- }, [_(d, { name: "wi-slide-fade" }, {
103
- default: O(() => [(C(!0), h(l, null, T(N.value, (e) => (C(), h("article", {
103
+ }, [v(f, { name: "wi-slide-fade" }, {
104
+ default: k(() => [(w(!0), g(u, null, E(P.value, (e) => (w(), g("article", {
104
105
  key: e.id,
105
- class: b(["wi-toast__message", L(e.severity)]),
106
+ class: x(["wi-toast__message", R(e.severity)]),
106
107
  role: "status"
107
- }, [g("div", H, [g("strong", null, [_(E(i), { value: e.summary }, null, 8, ["value"])]), e.detail != null && e.detail !== "" ? (C(), h("p", U, [_(E(i), { value: e.detail }, null, 8, ["value"])])) : m("", !0)]), e.closable === !1 ? m("", !0) : (C(), h("button", {
108
+ }, [_("div", U, [_("strong", null, [v(D(a), { value: e.summary }, null, 8, ["value"])]), e.detail != null && e.detail !== "" ? (w(), g("p", W, [v(D(a), { value: e.detail }, null, 8, ["value"])])) : h("", !0)]), e.closable === !1 ? h("", !0) : (w(), g("button", {
108
109
  key: 0,
109
110
  type: "button",
110
111
  class: "wi-toast__close",
111
- "aria-label": z(e),
112
- onClick: (t) => B(e)
113
- }, " × ", 8, W))], 2))), 128))]),
112
+ "aria-label": B(e),
113
+ onClick: (t) => V(e)
114
+ }, [v(t, {
115
+ name: "close",
116
+ size: "sm"
117
+ })], 8, G))], 2))), 128))]),
114
118
  _: 1
115
119
  })], 2)], 8, ["to", "disabled"]));
116
120
  }
117
- }), K = 3e3, q = 0, J = v({
121
+ }), q = 3e3, J = 0, Y = y({
118
122
  name: "WiToastAutoHost",
119
123
  setup() {
120
- return () => y(G, { auto: !0 });
124
+ return () => b(K, { auto: !0 });
121
125
  }
122
126
  });
123
- function Y() {
124
- typeof document > "u" || j > 0 || A || N(o(J, "wi-toast-host-root"));
127
+ function X() {
128
+ typeof document > "u" || M > 0 || j || P(s(Y, "wi-toast-host-root"));
125
129
  }
126
- function X(e, t) {
127
- let n = r(e) ? e : { summary: e };
128
- return n.position && (k.position = n.position), {
129
- id: n.id ?? `wi-toast-${Date.now()}-${++q}`,
130
+ function Z(e, t) {
131
+ let n = i(e) ? e : { summary: e };
132
+ return n.position && (A.position = n.position), {
133
+ id: n.id ?? `wi-toast-${Date.now()}-${++J}`,
130
134
  summary: n.summary,
131
135
  detail: n.detail,
132
136
  severity: t ?? n.severity ?? "info",
133
137
  closable: n.closable ?? !0,
134
- life: n.life === void 0 ? K : n.life
138
+ life: n.life === void 0 ? q : n.life
135
139
  };
136
140
  }
137
- function Z(e, t) {
138
- Y(), B(k.max);
139
- let n = X(e, t);
140
- return k.messages = [...k.messages, n], L(n, R), {
141
+ function Q(e, t) {
142
+ X(), V(A.max);
143
+ let n = Z(e, t);
144
+ return A.messages = [...A.messages, n], R(n, z), {
141
145
  id: n.id,
142
- close: () => R(n.id)
146
+ close: () => z(n.id)
143
147
  };
144
148
  }
145
- var Q = {
146
- add: (e) => Z(e),
147
- success: (e) => Z(e, "success"),
148
- info: (e) => Z(e, "info"),
149
- warn: (e) => Z(e, "warn"),
150
- warning: (e) => Z(e, "warn"),
151
- error: (e) => Z(e, "error"),
152
- remove: R,
153
- clear: z,
154
- close: R,
155
- closeAll: z,
156
- destroyAll: z,
149
+ var $ = {
150
+ add: (e) => Q(e),
151
+ success: (e) => Q(e, "success"),
152
+ info: (e) => Q(e, "info"),
153
+ warn: (e) => Q(e, "warn"),
154
+ warning: (e) => Q(e, "warn"),
155
+ error: (e) => Q(e, "error"),
156
+ remove: z,
157
+ clear: B,
158
+ close: z,
159
+ closeAll: B,
160
+ destroyAll: B,
157
161
  setDefaults(e) {
158
- e.position && (k.position = e.position), e.max !== void 0 && (k.max = e.max);
162
+ e.position && (A.position = e.position), e.max !== void 0 && (A.max = e.max);
159
163
  }
160
164
  };
161
- function $() {
162
- return Q;
165
+ function ee() {
166
+ return $;
163
167
  }
164
168
  //#endregion
165
- export { G as WiToast, Q as toast, $ as useToast };
169
+ export { K as WiToast, $ as toast, ee as useToast };
@@ -480,8 +480,8 @@
480
480
  font-size: var(--wi-font-size-xs);
481
481
  }
482
482
 
483
- .wi-textarea-field__help--error,
484
- .wi-select-field__help--error {
483
+ .wi-textarea-field__help--invalid,
484
+ .wi-select-field__help--invalid {
485
485
  color: var(--wi-color-danger);
486
486
  }
487
487
 
@@ -500,9 +500,8 @@
500
500
  }
501
501
 
502
502
  .wi-textarea--invalid:focus-visible,
503
- .wi-textarea--error:focus-visible,
504
- .wi-select--error.wi-select--open,
505
- .wi-select--error:focus-visible {
503
+ .wi-select--invalid.wi-select--open,
504
+ .wi-select--invalid:focus-visible {
506
505
  border-color: var(--wi-color-danger);
507
506
  box-shadow: var(--wi-focus-shadow-danger);
508
507
  }
@@ -750,6 +749,45 @@
750
749
  line-height: 1;
751
750
  }
752
751
 
752
+ .wi-icon {
753
+ display: inline-flex;
754
+ height: 1rem;
755
+ width: 1rem;
756
+ }
757
+
758
+ .wi-icon svg {
759
+ height: 100%;
760
+ width: 100%;
761
+ }
762
+
763
+ .wi-icon--sm,
764
+ .wi-icon--small {
765
+ height: 0.875rem;
766
+ width: 0.875rem;
767
+ }
768
+
769
+ .wi-icon--md,
770
+ .wi-icon--normal {
771
+ height: 1rem;
772
+ width: 1rem;
773
+ }
774
+
775
+ .wi-icon--lg,
776
+ .wi-icon--large {
777
+ height: 1.25rem;
778
+ width: 1.25rem;
779
+ }
780
+
781
+ .wi-icon--spin svg {
782
+ animation: wi-icon-spin 0.8s linear infinite;
783
+ }
784
+
785
+ @keyframes wi-icon-spin {
786
+ to {
787
+ transform: rotate(360deg);
788
+ }
789
+ }
790
+
753
791
  .wi-toast {
754
792
  display: grid;
755
793
  gap: var(--wi-space-3);
@@ -1,3 +1,4 @@
1
1
  import '../theme/styles.css'
2
2
  import '../styles/base.css'
3
+ import '../components/Icon/styles.css'
3
4
  import '../components/Toast/styles.css'
@@ -1,4 +1,4 @@
1
- import { o as e } from "../config-DWwce9jA.js";
1
+ import { o as e } from "../config-CTLkobga.js";
2
2
  import "./style.js";
3
3
  import { computed as t, createCommentVNode as n, createElementBlock as r, createElementVNode as i, defineComponent as a, normalizeClass as o, openBlock as s, toDisplayString as c } from "vue";
4
4
  //#region src/components/ToggleButton/ToggleButton.vue?vue&type=script&setup=true&lang.ts
@@ -480,8 +480,8 @@
480
480
  font-size: var(--wi-font-size-xs);
481
481
  }
482
482
 
483
- .wi-textarea-field__help--error,
484
- .wi-select-field__help--error {
483
+ .wi-textarea-field__help--invalid,
484
+ .wi-select-field__help--invalid {
485
485
  color: var(--wi-color-danger);
486
486
  }
487
487
 
@@ -500,9 +500,8 @@
500
500
  }
501
501
 
502
502
  .wi-textarea--invalid:focus-visible,
503
- .wi-textarea--error:focus-visible,
504
- .wi-select--error.wi-select--open,
505
- .wi-select--error:focus-visible {
503
+ .wi-select--invalid.wi-select--open,
504
+ .wi-select--invalid:focus-visible {
506
505
  border-color: var(--wi-color-danger);
507
506
  box-shadow: var(--wi-focus-shadow-danger);
508
507
  }
@@ -1,11 +1,8 @@
1
+ import { t as e } from "../_plugin-vue_export-helper-B3ysoDQm.js";
1
2
  import "./style.js";
2
- import { createCommentVNode as e, createElementBlock as t, openBlock as n, renderSlot as r } from "vue";
3
- //#region \0plugin-vue:export-helper
4
- var i = (e, t) => {
5
- let n = e.__vccOpts || e;
6
- for (let [e, r] of t) n[e] = r;
7
- return n;
8
- }, a = {}, o = {
3
+ import { createCommentVNode as t, createElementBlock as n, openBlock as r, renderSlot as i } from "vue";
4
+ //#region src/components/Toolbar/Toolbar.vue
5
+ var a = {}, o = {
9
6
  class: "wi-toolbar",
10
7
  role: "toolbar"
11
8
  }, s = {
@@ -18,13 +15,13 @@ var i = (e, t) => {
18
15
  key: 2,
19
16
  class: "wi-toolbar__end"
20
17
  };
21
- function u(i, a) {
22
- return n(), t("div", o, [
23
- i.$slots.start ? (n(), t("div", s, [r(i.$slots, "start")])) : e("", !0),
24
- i.$slots.center ? (n(), t("div", c, [r(i.$slots, "center")])) : e("", !0),
25
- i.$slots.end ? (n(), t("div", l, [r(i.$slots, "end")])) : e("", !0)
18
+ function u(e, a) {
19
+ return r(), n("div", o, [
20
+ e.$slots.start ? (r(), n("div", s, [i(e.$slots, "start")])) : t("", !0),
21
+ e.$slots.center ? (r(), n("div", c, [i(e.$slots, "center")])) : t("", !0),
22
+ e.$slots.end ? (r(), n("div", l, [i(e.$slots, "end")])) : t("", !0)
26
23
  ]);
27
24
  }
28
- var d = /*#__PURE__*/ i(a, [["render", u]]);
25
+ var d = /*#__PURE__*/ e(a, [["render", u]]);
29
26
  //#endregion
30
27
  export { d as WiToolbar };
@@ -480,8 +480,8 @@
480
480
  font-size: var(--wi-font-size-xs);
481
481
  }
482
482
 
483
- .wi-textarea-field__help--error,
484
- .wi-select-field__help--error {
483
+ .wi-textarea-field__help--invalid,
484
+ .wi-select-field__help--invalid {
485
485
  color: var(--wi-color-danger);
486
486
  }
487
487
 
@@ -500,9 +500,8 @@
500
500
  }
501
501
 
502
502
  .wi-textarea--invalid:focus-visible,
503
- .wi-textarea--error:focus-visible,
504
- .wi-select--error.wi-select--open,
505
- .wi-select--error:focus-visible {
503
+ .wi-select--invalid.wi-select--open,
504
+ .wi-select--invalid:focus-visible {
506
505
  border-color: var(--wi-color-danger);
507
506
  box-shadow: var(--wi-focus-shadow-danger);
508
507
  }
@@ -1,10 +1,11 @@
1
1
  import { n as e, t } from "../overlay-oR-5MDuE.js";
2
- import { c as n } from "../config-DWwce9jA.js";
2
+ import { n, t as r } from "../overlayPlacement-CN1tuC95.js";
3
+ import { c as i } from "../config-CTLkobga.js";
3
4
  import "./style.js";
4
- import { Teleport as r, Transition as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createVNode as l, defineComponent as u, nextTick as d, normalizeClass as f, normalizeStyle as p, onBeforeUnmount as m, openBlock as h, ref as g, renderSlot as _, toDisplayString as v, watch as y, withCtx as b } from "vue";
5
+ import { Teleport as a, Transition as o, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createVNode as d, defineComponent as f, nextTick as p, normalizeClass as m, normalizeStyle as h, onBeforeUnmount as g, openBlock as _, ref as v, renderSlot as y, toDisplayString as b, watch as x, withCtx as S } from "vue";
5
6
  //#endregion
6
7
  //#region src/components/Tooltip/Tooltip.vue
7
- var x = /* @__PURE__ */ u({
8
+ var C = /* @__PURE__ */ f({
8
9
  __name: "Tooltip",
9
10
  props: {
10
11
  content: {},
@@ -22,95 +23,70 @@ var x = /* @__PURE__ */ u({
22
23
  },
23
24
  appendTo: {}
24
25
  },
25
- setup(u) {
26
- let x = u, S = n(), C = g(null), w = g(!1), T = g({}), E = a(() => e(x, S.value.appendTo)), D = a(() => t(x, S.value.appendTo)), O = null, k = null;
27
- function A() {
28
- O !== null && (clearTimeout(O), O = null), k !== null && (clearTimeout(k), k = null);
29
- }
30
- function j(e) {
31
- if (e != null) return typeof e == "number" ? `${e}px` : e;
32
- }
26
+ setup(f) {
27
+ let C = f, w = i(), T = v(null), E = v(!1), D = v({}), O = s(() => e(C, w.value.appendTo)), k = s(() => t(C, w.value.appendTo)), A = null, j = null;
33
28
  function M() {
34
- if (!D.value || !C.value) return;
35
- let e = C.value.getBoundingClientRect(), t = e.left + e.width / 2, n = e.top + e.height / 2, r = j(x.maxWidth);
36
- x.placement === "top" ? T.value = {
37
- left: `${t}px`,
38
- top: `${e.top - 8}px`,
39
- transform: "translate(-50%, -100%)",
40
- ...r ? { maxWidth: r } : {}
41
- } : x.placement === "bottom" ? T.value = {
42
- left: `${t}px`,
43
- top: `${e.bottom + 8}px`,
44
- transform: "translateX(-50%)",
45
- ...r ? { maxWidth: r } : {}
46
- } : x.placement === "left" ? T.value = {
47
- left: `${e.left - 8}px`,
48
- top: `${n}px`,
49
- transform: "translate(-100%, -50%)",
50
- ...r ? { maxWidth: r } : {}
51
- } : T.value = {
52
- left: `${e.right + 8}px`,
53
- top: `${n}px`,
54
- transform: "translateY(-50%)",
55
- ...r ? { maxWidth: r } : {}
56
- };
29
+ A !== null && (clearTimeout(A), A = null), j !== null && (clearTimeout(j), j = null);
57
30
  }
58
31
  function N() {
59
- w.value = !0, d(M);
32
+ !k.value || !T.value || (D.value = r(T.value.getBoundingClientRect(), C.placement, { maxWidth: n(C.maxWidth) }));
60
33
  }
61
34
  function P() {
62
- if (!x.disabled) {
63
- if (A(), x.showDelay > 0) {
64
- O = setTimeout(() => {
65
- N(), O = null;
66
- }, x.showDelay);
35
+ E.value = !0, p(N);
36
+ }
37
+ function F() {
38
+ if (!C.disabled) {
39
+ if (M(), C.showDelay > 0) {
40
+ A = setTimeout(() => {
41
+ P(), A = null;
42
+ }, C.showDelay);
67
43
  return;
68
44
  }
69
- N();
45
+ P();
70
46
  }
71
47
  }
72
- function F() {
73
- if (A(), x.hideDelay > 0) {
74
- k = setTimeout(() => {
75
- w.value = !1, k = null;
76
- }, x.hideDelay);
48
+ function I() {
49
+ if (M(), C.hideDelay > 0) {
50
+ j = setTimeout(() => {
51
+ E.value = !1, j = null;
52
+ }, C.hideDelay);
77
53
  return;
78
54
  }
79
- w.value = !1;
55
+ E.value = !1;
80
56
  }
81
- function I() {
82
- w.value && M();
57
+ function L() {
58
+ E.value && N();
83
59
  }
84
- y(w, (e) => {
85
- e && D.value ? (window.addEventListener("resize", I), window.addEventListener("scroll", I, !0)) : (window.removeEventListener("resize", I), window.removeEventListener("scroll", I, !0));
86
- }), m(() => {
87
- A(), window.removeEventListener("resize", I), window.removeEventListener("scroll", I, !0);
60
+ x(E, (e) => {
61
+ e && k.value ? (window.addEventListener("resize", L), window.addEventListener("scroll", L, !0)) : (window.removeEventListener("resize", L), window.removeEventListener("scroll", L, !0));
62
+ }), g(() => {
63
+ M(), window.removeEventListener("resize", L), window.removeEventListener("scroll", L, !0);
88
64
  });
89
- let L = a(() => {
90
- let e = j(x.maxWidth);
91
- return D.value ? T.value : e ? { maxWidth: e } : void 0;
65
+ let R = s(() => {
66
+ let e = n(C.maxWidth);
67
+ return k.value ? D.value : e ? { maxWidth: e } : void 0;
92
68
  });
93
- return (e, t) => (h(), c("span", {
69
+ return (e, t) => (_(), u("span", {
94
70
  ref_key: "root",
95
- ref: C,
71
+ ref: T,
96
72
  class: "wi-tooltip",
97
- onMouseenter: P,
98
- onMouseleave: F,
99
- onFocusin: P,
100
- onFocusout: F
101
- }, [_(e.$slots, "default"), (h(), o(r, {
102
- to: E.value.to,
103
- disabled: E.value.disabled
104
- }, [l(i, { name: "wi-fade" }, {
105
- default: b(() => [w.value ? (h(), c("span", {
73
+ onMouseenter: F,
74
+ onMouseleave: I,
75
+ onFocusin: F,
76
+ onFocusout: I
77
+ }, [y(e.$slots, "default"), (_(), c(a, {
78
+ to: O.value.to,
79
+ disabled: O.value.disabled
80
+ }, [d(o, { name: "wi-fade" }, {
81
+ default: S(() => [E.value ? (_(), u("span", {
106
82
  key: 0,
107
- class: f(["wi-tooltip__content", [`wi-tooltip__content--${u.placement}`, { "wi-tooltip__content--teleported": D.value }]]),
108
- style: p(L.value),
83
+ class: m(["wi-tooltip__content", [`wi-tooltip__content--${f.placement}`, { "wi-tooltip__content--teleported": k.value }]]),
84
+ style: h(R.value),
109
85
  role: "tooltip"
110
- }, v(u.content), 7)) : s("", !0)]),
86
+ }, b(f.content), 7)) : l("", !0)]),
111
87
  _: 1
112
88
  })], 8, ["to", "disabled"]))], 544));
113
89
  }
114
90
  });
115
91
  //#endregion
116
- export { x as WiTooltip };
92
+ export { C as WiTooltip };
@@ -480,8 +480,8 @@
480
480
  font-size: var(--wi-font-size-xs);
481
481
  }
482
482
 
483
- .wi-textarea-field__help--error,
484
- .wi-select-field__help--error {
483
+ .wi-textarea-field__help--invalid,
484
+ .wi-select-field__help--invalid {
485
485
  color: var(--wi-color-danger);
486
486
  }
487
487
 
@@ -500,9 +500,8 @@
500
500
  }
501
501
 
502
502
  .wi-textarea--invalid:focus-visible,
503
- .wi-textarea--error:focus-visible,
504
- .wi-select--error.wi-select--open,
505
- .wi-select--error:focus-visible {
503
+ .wi-select--invalid.wi-select--open,
504
+ .wi-select--invalid:focus-visible {
506
505
  border-color: var(--wi-color-danger);
507
506
  box-shadow: var(--wi-focus-shadow-danger);
508
507
  }
@@ -1,7 +1,7 @@
1
- import { a as e, t } from "../Icon-B6gOD07E.js";
2
- import { t as n } from "../Checkbox-BvlOYFGs.js";
1
+ import { a as e, t } from "../Icon-DHGs8l-M.js";
2
+ import { t as n } from "../Checkbox-CoovLjt_.js";
3
3
  import { a as r, c as i, n as a, o, s, t as c } from "../checkStrategy-CZzuUKDI.js";
4
- import { n as l } from "../locale-CYkJyRd1.js";
4
+ import { n as l } from "../locale-DxAvgqgB.js";
5
5
  import "./style.js";
6
6
  import { Fragment as u, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createTextVNode as g, defineComponent as _, inject as v, normalizeClass as y, openBlock as b, provide as x, reactive as S, ref as C, renderList as w, resolveDynamicComponent as T, toDisplayString as E, unref as D, useSlots as O, watch as k, withModifiers as A } from "vue";
7
7
  //#region src/components/Tree/context.ts
@@ -480,8 +480,8 @@
480
480
  font-size: var(--wi-font-size-xs);
481
481
  }
482
482
 
483
- .wi-textarea-field__help--error,
484
- .wi-select-field__help--error {
483
+ .wi-textarea-field__help--invalid,
484
+ .wi-select-field__help--invalid {
485
485
  color: var(--wi-color-danger);
486
486
  }
487
487
 
@@ -500,9 +500,8 @@
500
500
  }
501
501
 
502
502
  .wi-textarea--invalid:focus-visible,
503
- .wi-textarea--error:focus-visible,
504
- .wi-select--error.wi-select--open,
505
- .wi-select--error:focus-visible {
503
+ .wi-select--invalid.wi-select--open,
504
+ .wi-select--invalid:focus-visible {
506
505
  border-color: var(--wi-color-danger);
507
506
  box-shadow: var(--wi-focus-shadow-danger);
508
507
  }