@well-insight/ui 0.1.10 → 0.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (320) hide show
  1. package/CHANGELOG.md +50 -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/accordion/style.css +4 -5
  8. package/dist/auto-complete/index.js +106 -99
  9. package/dist/auto-complete/style.css +4 -5
  10. package/dist/avatar/index.js +1 -1
  11. package/dist/avatar/style.css +4 -5
  12. package/dist/badge/style.css +4 -5
  13. package/dist/block-ui/style.css +4 -5
  14. package/dist/breadcrumb/index.js +1 -1
  15. package/dist/breadcrumb/style.css +4 -5
  16. package/dist/button/index.js +1 -1
  17. package/dist/button/style.css +4 -5
  18. package/dist/card/style.css +4 -5
  19. package/dist/carousel/index.js +61 -54
  20. package/dist/carousel/style.css +43 -5
  21. package/dist/carousel/style.js +1 -0
  22. package/dist/cascade-select/index.js +143 -76
  23. package/dist/cascade-select/style.css +76 -10
  24. package/dist/cascade-select/style.js +1 -0
  25. package/dist/checkbox/index.js +1 -1
  26. package/dist/checkbox/style.css +4 -5
  27. package/dist/chip/index.js +32 -29
  28. package/dist/chip/style.css +4 -5
  29. package/dist/command-menu/index.js +2 -2
  30. package/dist/command-menu/style.css +4 -5
  31. package/dist/components/AutoComplete/AutoComplete.vue.d.ts +2 -0
  32. package/dist/components/AutoComplete/AutoComplete.vue.d.ts.map +1 -1
  33. package/dist/components/AutoComplete/types.d.ts +1 -0
  34. package/dist/components/AutoComplete/types.d.ts.map +1 -1
  35. package/dist/components/Button/Button.vue.d.ts +0 -1
  36. package/dist/components/Button/Button.vue.d.ts.map +1 -1
  37. package/dist/components/Button/types.d.ts +0 -2
  38. package/dist/components/Button/types.d.ts.map +1 -1
  39. package/dist/components/Carousel/Carousel.vue.d.ts +2 -2
  40. package/dist/components/Carousel/Carousel.vue.d.ts.map +1 -1
  41. package/dist/components/CascadeSelect/CascadeSelect.vue.d.ts +6 -0
  42. package/dist/components/CascadeSelect/CascadeSelect.vue.d.ts.map +1 -1
  43. package/dist/components/CascadeSelect/styles.css +33 -5
  44. package/dist/components/CascadeSelect/types.d.ts +11 -0
  45. package/dist/components/CascadeSelect/types.d.ts.map +1 -1
  46. package/dist/components/Chip/Chip.vue.d.ts.map +1 -1
  47. package/dist/components/ConfirmPopup/ConfirmPopup.vue.d.ts.map +1 -1
  48. package/dist/components/ContextMenu/ContextMenuNodes.vue.d.ts.map +1 -1
  49. package/dist/components/DatePicker/DatePicker.vue.d.ts +2 -0
  50. package/dist/components/DatePicker/DatePicker.vue.d.ts.map +1 -1
  51. package/dist/components/DatePicker/styles.css +33 -8
  52. package/dist/components/DatePicker/types.d.ts +1 -0
  53. package/dist/components/DatePicker/types.d.ts.map +1 -1
  54. package/dist/components/Dialog/Dialog.vue.d.ts +3 -3
  55. package/dist/components/Dialog/Dialog.vue.d.ts.map +1 -1
  56. package/dist/components/Divider/types.d.ts +0 -5
  57. package/dist/components/Divider/types.d.ts.map +1 -1
  58. package/dist/components/Drawer/Drawer.vue.d.ts +2 -2
  59. package/dist/components/Drawer/Drawer.vue.d.ts.map +1 -1
  60. package/dist/components/Dropdown/DropdownNodes.vue.d.ts +2 -2
  61. package/dist/components/Dropdown/DropdownNodes.vue.d.ts.map +1 -1
  62. package/dist/components/Fieldset/Fieldset.vue.d.ts +4 -4
  63. package/dist/components/Fieldset/Fieldset.vue.d.ts.map +1 -1
  64. package/dist/components/FileUpload/styles.css +2 -2
  65. package/dist/components/FloatLabel/FloatLabel.vue.d.ts.map +1 -1
  66. package/dist/components/Gallery/Gallery.vue.d.ts.map +1 -1
  67. package/dist/components/Icon/icons.d.ts +32 -0
  68. package/dist/components/Icon/icons.d.ts.map +1 -1
  69. package/dist/components/Input/Input.vue.d.ts +0 -1
  70. package/dist/components/Input/Input.vue.d.ts.map +1 -1
  71. package/dist/components/Input/styles.css +3 -5
  72. package/dist/components/Input/types.d.ts +1 -3
  73. package/dist/components/Input/types.d.ts.map +1 -1
  74. package/dist/components/InputNumber/InputNumber.vue.d.ts.map +1 -1
  75. package/dist/components/InputOtp/InputOtp.vue.d.ts.map +1 -1
  76. package/dist/components/InputPassword/InputPassword.vue.d.ts +4 -4
  77. package/dist/components/InputPassword/InputPassword.vue.d.ts.map +1 -1
  78. package/dist/components/InputTags/InputTags.vue.d.ts.map +1 -1
  79. package/dist/components/Layout/Layout.vue.d.ts +1 -4
  80. package/dist/components/Layout/Layout.vue.d.ts.map +1 -1
  81. package/dist/components/Layout/LayoutContent.vue.d.ts +1 -4
  82. package/dist/components/Layout/LayoutContent.vue.d.ts.map +1 -1
  83. package/dist/components/Layout/LayoutFooter.vue.d.ts.map +1 -1
  84. package/dist/components/Layout/LayoutHeader.vue.d.ts.map +1 -1
  85. package/dist/components/Layout/LayoutSider.vue.d.ts +1 -4
  86. package/dist/components/Layout/LayoutSider.vue.d.ts.map +1 -1
  87. package/dist/components/Layout/composables/useLayoutRegionStyle.d.ts +9 -0
  88. package/dist/components/Layout/composables/useLayoutRegionStyle.d.ts.map +1 -0
  89. package/dist/components/Layout/composables/useLayoutScroll.d.ts +6 -0
  90. package/dist/components/Layout/composables/useLayoutScroll.d.ts.map +1 -0
  91. package/dist/components/Layout/composables/useLayoutSiderCollapse.d.ts +16 -0
  92. package/dist/components/Layout/composables/useLayoutSiderCollapse.d.ts.map +1 -0
  93. package/dist/components/Layout/styles.css +19 -49
  94. package/dist/components/Layout/types.d.ts +0 -22
  95. package/dist/components/Layout/types.d.ts.map +1 -1
  96. package/dist/components/Layout/utils.d.ts +3 -0
  97. package/dist/components/Layout/utils.d.ts.map +1 -0
  98. package/dist/components/MegaMenu/MegaMenu.vue.d.ts.map +1 -1
  99. package/dist/components/Menu/MenuNodes.vue.d.ts.map +1 -1
  100. package/dist/components/Menubar/Menubar.vue.d.ts.map +1 -1
  101. package/dist/components/Pagination/Pagination.vue.d.ts.map +1 -1
  102. package/dist/components/Panel/Panel.vue.d.ts +3 -3
  103. package/dist/components/Panel/Panel.vue.d.ts.map +1 -1
  104. package/dist/components/Popover/Popover.vue.d.ts.map +1 -1
  105. package/dist/components/Popover/styles.css +41 -0
  106. package/dist/components/Rating/Rating.vue.d.ts.map +1 -1
  107. package/dist/components/Rating/styles.css +28 -23
  108. package/dist/components/ScrollTop/ScrollTop.vue.d.ts.map +1 -1
  109. package/dist/components/Select/Select.vue.d.ts +1 -1
  110. package/dist/components/Select/Select.vue.d.ts.map +1 -1
  111. package/dist/components/Select/styles.css +8 -108
  112. package/dist/components/Select/types.d.ts +3 -3
  113. package/dist/components/Select/types.d.ts.map +1 -1
  114. package/dist/components/Slider/Slider.vue.d.ts.map +1 -1
  115. package/dist/components/Slider/types.d.ts +2 -0
  116. package/dist/components/Slider/types.d.ts.map +1 -1
  117. package/dist/components/SpeedDial/SpeedDial.vue.d.ts.map +1 -1
  118. package/dist/components/SplitButton/SplitButton.vue.d.ts.map +1 -1
  119. package/dist/components/Table/Table.vue.d.ts +9 -9
  120. package/dist/components/Table/Table.vue.d.ts.map +1 -1
  121. package/dist/components/Tabs/Tabs.vue.d.ts +3 -3
  122. package/dist/components/Tabs/Tabs.vue.d.ts.map +1 -1
  123. package/dist/components/Tag/Tag.vue.d.ts.map +1 -1
  124. package/dist/components/Terminal/styles.css +8 -8
  125. package/dist/components/Textarea/Textarea.vue.d.ts +0 -2
  126. package/dist/components/Textarea/Textarea.vue.d.ts.map +1 -1
  127. package/dist/components/Textarea/styles.css +1 -2
  128. package/dist/components/Textarea/types.d.ts +1 -5
  129. package/dist/components/Textarea/types.d.ts.map +1 -1
  130. package/dist/components/TieredMenu/TieredMenu.vue.d.ts.map +1 -1
  131. package/dist/components/Toast/Toast.vue.d.ts.map +1 -1
  132. package/dist/components/Tooltip/Tooltip.vue.d.ts.map +1 -1
  133. package/dist/components/TreeSelect/TreeSelect.vue.d.ts.map +1 -1
  134. package/dist/components/TreeSelect/TreeSelectNodeItem.vue.d.ts.map +1 -1
  135. package/dist/components/TreeSelect/styles.css +21 -12
  136. package/dist/components/TreeTable/TreeTableRow.vue.d.ts.map +1 -1
  137. package/dist/{config-DWwce9jA.js → config-CTLkobga.js} +1 -0
  138. package/dist/config-provider/index.js +1 -1
  139. package/dist/config-provider/style.css +7 -10
  140. package/dist/confirm-dialog/index.js +4 -4
  141. package/dist/confirm-dialog/style.css +4 -5
  142. package/dist/confirm-popup/index.js +62 -77
  143. package/dist/confirm-popup/style.css +4 -5
  144. package/dist/context-menu/index.js +69 -61
  145. package/dist/context-menu/style.css +4 -5
  146. package/dist/data-view/index.js +1 -1
  147. package/dist/data-view/style.css +4 -5
  148. package/dist/date-picker/index.js +144 -137
  149. package/dist/date-picker/style.css +76 -13
  150. package/dist/date-picker/style.js +1 -0
  151. package/dist/dialog/index.js +76 -70
  152. package/dist/dialog/style.css +4 -5
  153. package/dist/divider/index.js +1 -2
  154. package/dist/divider/style.css +4 -5
  155. package/dist/dock/style.css +4 -5
  156. package/dist/drawer/index.js +49 -45
  157. package/dist/drawer/style.css +43 -5
  158. package/dist/drawer/style.js +1 -0
  159. package/dist/dropdown/index.js +98 -97
  160. package/dist/dropdown/style.css +4 -5
  161. package/dist/fieldset/index.js +16 -12
  162. package/dist/fieldset/style.css +43 -5
  163. package/dist/fieldset/style.js +1 -0
  164. package/dist/file-upload/index.js +2 -2
  165. package/dist/file-upload/style.css +6 -7
  166. package/dist/flex/index.js +1 -1
  167. package/dist/flex/style.css +4 -5
  168. package/dist/float-label/index.js +15 -4
  169. package/dist/float-label/style.css +4 -5
  170. package/dist/fluid/style.css +4 -5
  171. package/dist/form/index.js +1 -1
  172. package/dist/form/style.css +4 -5
  173. package/dist/gallery/index.js +41 -34
  174. package/dist/gallery/style.css +43 -5
  175. package/dist/gallery/style.js +1 -0
  176. package/dist/grid/style.css +4 -5
  177. package/dist/icon/index.js +1 -1
  178. package/dist/icon/style.css +4 -5
  179. package/dist/icon-Cg5TeFqe.js +7 -0
  180. package/dist/icon-field/style.css +4 -5
  181. package/dist/index.js +2783 -2643
  182. package/dist/inplace/style.css +4 -5
  183. package/dist/input/index.js +65 -66
  184. package/dist/input/style.css +46 -10
  185. package/dist/input/style.js +1 -0
  186. package/dist/input-color/index.js +1 -1
  187. package/dist/input-color/style.css +4 -5
  188. package/dist/input-group/style.css +4 -5
  189. package/dist/input-number/index.js +82 -66
  190. package/dist/input-number/style.css +43 -5
  191. package/dist/input-number/style.js +1 -0
  192. package/dist/input-otp/index.js +3 -3
  193. package/dist/input-otp/style.css +4 -5
  194. package/dist/input-password/index.js +46 -43
  195. package/dist/input-password/style.css +4 -5
  196. package/dist/input-tags/index.js +50 -46
  197. package/dist/input-tags/style.css +43 -5
  198. package/dist/input-tags/style.js +1 -0
  199. package/dist/key-CaQYVkjh.js +6 -0
  200. package/dist/knob/style.css +4 -5
  201. package/dist/label/style.css +4 -5
  202. package/dist/layout/index.js +196 -271
  203. package/dist/layout/style.css +48 -140
  204. package/dist/layout/style.js +1 -1
  205. package/dist/listbox/index.js +1 -1
  206. package/dist/listbox/style.css +4 -5
  207. package/dist/locale/en-US.d.ts.map +1 -1
  208. package/dist/locale/types.d.ts +1 -0
  209. package/dist/locale/types.d.ts.map +1 -1
  210. package/dist/locale/zh-CN.d.ts.map +1 -1
  211. package/dist/{locale-CYkJyRd1.js → locale-DxAvgqgB.js} +1 -1
  212. package/dist/mega-menu/index.js +47 -49
  213. package/dist/mega-menu/style.css +4 -5
  214. package/dist/menu/index.js +81 -76
  215. package/dist/menu/style.css +4 -5
  216. package/dist/menubar/index.js +75 -73
  217. package/dist/menubar/style.css +4 -5
  218. package/dist/message/index.js +3 -3
  219. package/dist/message/style.css +4 -5
  220. package/dist/meter-group/style.css +4 -5
  221. package/dist/order-list/index.js +2 -2
  222. package/dist/order-list/style.css +4 -5
  223. package/dist/overlayPlacement-CN1tuC95.js +51 -0
  224. package/dist/pagination/index.js +1 -1
  225. package/dist/pagination/style.css +43 -5
  226. package/dist/pagination/style.js +1 -0
  227. package/dist/panel/index.js +27 -23
  228. package/dist/panel/style.css +43 -5
  229. package/dist/panel/style.js +1 -0
  230. package/dist/pick-list/index.js +2 -2
  231. package/dist/pick-list/style.css +4 -5
  232. package/dist/popover/index.js +79 -100
  233. package/dist/popover/style.css +45 -5
  234. package/dist/progress-bar/style.css +4 -5
  235. package/dist/progress-spinner/index.js +1 -1
  236. package/dist/progress-spinner/style.css +4 -5
  237. package/dist/radio/index.js +1 -1
  238. package/dist/radio/style.css +4 -5
  239. package/dist/rating/index.js +54 -44
  240. package/dist/rating/style.css +71 -28
  241. package/dist/rating/style.js +1 -0
  242. package/dist/scroll-top/index.js +45 -41
  243. package/dist/scroll-top/style.css +43 -5
  244. package/dist/scroll-top/style.js +1 -0
  245. package/dist/scrollbar/index.js +382 -2
  246. package/dist/scrollbar/style.css +4 -5
  247. package/dist/select/index.js +149 -141
  248. package/dist/select/style.css +51 -113
  249. package/dist/select/style.js +1 -0
  250. package/dist/select-button/index.js +1 -1
  251. package/dist/select-button/style.css +4 -5
  252. package/dist/shared/componentDefaults.d.ts +5 -1
  253. package/dist/shared/componentDefaults.d.ts.map +1 -1
  254. package/dist/shared/menu/icon.d.ts +4 -0
  255. package/dist/shared/menu/icon.d.ts.map +1 -0
  256. package/dist/shared/menu/index.d.ts +4 -0
  257. package/dist/shared/menu/index.d.ts.map +1 -0
  258. package/dist/shared/menu/key.d.ts +4 -0
  259. package/dist/shared/menu/key.d.ts.map +1 -0
  260. package/dist/shared/menu/types.d.ts +11 -0
  261. package/dist/shared/menu/types.d.ts.map +1 -0
  262. package/dist/shared/overlayPlacement.d.ts +12 -0
  263. package/dist/shared/overlayPlacement.d.ts.map +1 -0
  264. package/dist/sidebar/index.js +1 -1
  265. package/dist/sidebar/style.css +4 -5
  266. package/dist/skeleton/style.css +4 -5
  267. package/dist/slider/index.js +6 -3
  268. package/dist/slider/style.css +4 -5
  269. package/dist/space/index.js +1 -1
  270. package/dist/space/style.css +4 -5
  271. package/dist/speed-dial/index.js +55 -66
  272. package/dist/speed-dial/style.css +43 -5
  273. package/dist/speed-dial/style.js +1 -0
  274. package/dist/split-button/index.js +66 -63
  275. package/dist/split-button/style.css +43 -5
  276. package/dist/split-button/style.js +1 -0
  277. package/dist/splitter/index.js +1 -1
  278. package/dist/splitter/style.css +4 -5
  279. package/dist/stepper/style.css +4 -5
  280. package/dist/styles/base.css +4 -5
  281. package/dist/styles.css +1 -1
  282. package/dist/switch/index.js +1 -1
  283. package/dist/switch/style.css +4 -5
  284. package/dist/table/index.js +41 -35
  285. package/dist/table/style.css +4 -5
  286. package/dist/tabs/index.js +78 -65
  287. package/dist/tabs/style.css +43 -5
  288. package/dist/tabs/style.js +1 -0
  289. package/dist/tag/index.js +31 -28
  290. package/dist/tag/style.css +4 -5
  291. package/dist/terminal/index.js +1 -1
  292. package/dist/terminal/style.css +12 -13
  293. package/dist/textarea/index.js +69 -75
  294. package/dist/textarea/style.css +44 -7
  295. package/dist/textarea/style.js +1 -0
  296. package/dist/tiered-menu/index.js +66 -59
  297. package/dist/tiered-menu/style.css +43 -5
  298. package/dist/tiered-menu/style.js +1 -0
  299. package/dist/timeline/index.js +1 -1
  300. package/dist/timeline/style.css +4 -5
  301. package/dist/toast/index.js +93 -89
  302. package/dist/toast/style.css +43 -5
  303. package/dist/toast/style.js +1 -0
  304. package/dist/toggle-button/index.js +1 -1
  305. package/dist/toggle-button/style.css +4 -5
  306. package/dist/toolbar/style.css +4 -5
  307. package/dist/tooltip/index.js +47 -71
  308. package/dist/tooltip/style.css +4 -5
  309. package/dist/tree/index.js +3 -3
  310. package/dist/tree/style.css +4 -5
  311. package/dist/tree-select/index.js +164 -155
  312. package/dist/tree-select/style.css +64 -17
  313. package/dist/tree-select/style.js +1 -0
  314. package/dist/tree-table/index.js +34 -30
  315. package/dist/tree-table/style.css +43 -5
  316. package/dist/tree-table/style.js +1 -0
  317. package/dist/virtual-scroller/style.css +4 -5
  318. package/package.json +4 -1
  319. package/dist/Pagination-BU-1IY0E.js +0 -148
  320. package/dist/Scrollbar-D-bR2noX.js +0 -382
@@ -1,9 +1,10 @@
1
- import { i as e, o as t, s as n } from "../config-DWwce9jA.js";
2
- import { n as r } from "../locale-CYkJyRd1.js";
1
+ import { t as e } from "../Icon-DHGs8l-M.js";
2
+ import { i as t, o as n, s as r } from "../config-CTLkobga.js";
3
+ import { n as i } from "../locale-DxAvgqgB.js";
3
4
  import "./style.js";
4
- import { computed as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, defineComponent as c, mergeProps as l, nextTick as u, normalizeClass as d, onMounted as f, openBlock as p, ref as m, toDisplayString as h, unref as g, useAttrs as _, watch as v } from "vue";
5
+ import { computed as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, mergeProps as d, nextTick as f, normalizeClass as p, onMounted as m, openBlock as h, ref as g, toDisplayString as _, unref as v, useAttrs as y, watch as b } from "vue";
5
6
  //#region src/components/Textarea/Textarea.vue?vue&type=script&setup=true&lang.ts
6
- var y = ["for"], b = [
7
+ var x = ["for"], S = [
7
8
  "id",
8
9
  "value",
9
10
  "rows",
@@ -12,10 +13,10 @@ var y = ["for"], b = [
12
13
  "maxlength",
13
14
  "aria-invalid",
14
15
  "aria-describedby"
15
- ], x = ["aria-label", "disabled"], S = {
16
+ ], C = ["aria-label", "disabled"], w = {
16
17
  key: 1,
17
18
  class: "wi-textarea-field__meta"
18
- }, C = ["id", "role"], w = ["id"], T = /* @__PURE__ */ c({
19
+ }, T = ["id", "role"], E = ["id"], D = /* @__PURE__ */ u({
19
20
  inheritAttrs: !1,
20
21
  __name: "Textarea",
21
22
  props: {
@@ -26,10 +27,6 @@ var y = ["for"], b = [
26
27
  type: Boolean,
27
28
  default: !1
28
29
  },
29
- error: {
30
- type: Boolean,
31
- default: !1
32
- },
33
30
  errorMessage: {},
34
31
  id: {},
35
32
  rows: {},
@@ -38,10 +35,6 @@ var y = ["for"], b = [
38
35
  type: [Boolean, Object],
39
36
  default: void 0
40
37
  },
41
- autoResize: {
42
- type: Boolean,
43
- default: void 0
44
- },
45
38
  size: {},
46
39
  variant: {},
47
40
  fluid: {
@@ -67,32 +60,30 @@ var y = ["for"], b = [
67
60
  }
68
61
  },
69
62
  emits: ["update:modelValue", "clear"],
70
- setup(c, { expose: T, emit: E }) {
71
- let D = c, O = E, k = _(), A = e("Textarea"), j = r(), M = m(null), N = i(() => D.id ?? `wi-textarea-${Math.random().toString(36).slice(2, 8)}`), P = i(() => D.invalid || D.error || !!D.errorMessage), F = t("Textarea", () => D.size), I = n("Textarea", () => D.variant), L = i(() => D.fluid ?? A.value.fluid ?? !1), R = i(() => D.clearable ?? A.value.clearable ?? !1), z = i(() => D.showCount ?? A.value.showCount ?? !1), B = i(() => {
72
- if (D.autosize !== void 0 && D.autosize !== !1) return D.autosize;
73
- if (D.autoResize) return !0;
74
- let e = A.value.autosize;
75
- return e !== void 0 && e !== !1 ? e : !!A.value.autoResize;
76
- }), V = i(() => {
77
- let e = B.value;
78
- return typeof e == "object" && e.minRows != null ? e.minRows : D.rows ?? A.value.rows ?? 4;
79
- }), H = i(() => !!B.value), U = i(() => H.value ? "none" : D.resize), W = i(() => D.errorMessage || D.helpText), G = i(() => !!D.errorMessage || P.value && !!D.helpText), K = i(() => (D.modelValue ?? "").length), q = i(() => D.maxlength == null ? String(K.value) : `${K.value} / ${D.maxlength}`), J = i(() => R.value && !!D.modelValue), Y = i(() => {
63
+ setup(u, { expose: D, emit: O }) {
64
+ let k = u, A = O, j = y(), M = t("Textarea"), N = i(), P = g(null), F = a(() => k.id ?? `wi-textarea-${Math.random().toString(36).slice(2, 8)}`), I = a(() => k.invalid || !!k.errorMessage), L = n("Textarea", () => k.size), R = r("Textarea", () => k.variant), z = a(() => k.fluid ?? M.value.fluid ?? !1), B = a(() => k.clearable ?? M.value.clearable ?? !1), V = a(() => k.showCount ?? M.value.showCount ?? !1), H = a(() => {
65
+ if (k.autosize !== void 0 && k.autosize !== !1) return k.autosize;
66
+ let e = M.value.autosize;
67
+ return e !== void 0 && e !== !1 && e;
68
+ }), U = a(() => {
69
+ let e = H.value;
70
+ return typeof e == "object" && e.minRows != null ? e.minRows : k.rows ?? M.value.rows ?? 4;
71
+ }), W = a(() => !!H.value), G = a(() => W.value ? "none" : k.resize), K = a(() => k.errorMessage || k.helpText), q = a(() => !!k.errorMessage || I.value && !!k.helpText), J = a(() => (k.modelValue ?? "").length), Y = a(() => k.maxlength == null ? String(J.value) : `${J.value} / ${k.maxlength}`), X = a(() => B.value && !!k.modelValue), Z = a(() => {
80
72
  let e = [];
81
- return W.value && e.push(`${N.value}-help`), z.value && e.push(`${N.value}-count`), e.length ? e.join(" ") : void 0;
82
- }), X = i(() => [
73
+ return K.value && e.push(`${F.value}-help`), V.value && e.push(`${F.value}-count`), e.length ? e.join(" ") : void 0;
74
+ }), Q = a(() => [
83
75
  "wi-textarea",
84
- `wi-textarea--${F.value}`,
76
+ `wi-textarea--${L.value}`,
85
77
  {
86
- "wi-textarea--filled": I.value === "filled",
87
- "wi-textarea--fluid": L.value,
88
- "wi-textarea--invalid": P.value,
89
- "wi-textarea--error": P.value,
90
- "wi-textarea--auto-resize": H.value,
91
- "wi-textarea--clearable": J.value
78
+ "wi-textarea--filled": R.value === "filled",
79
+ "wi-textarea--fluid": z.value,
80
+ "wi-textarea--invalid": I.value,
81
+ "wi-textarea--auto-resize": W.value,
82
+ "wi-textarea--clearable": X.value
92
83
  }
93
84
  ]);
94
- function Z() {
95
- let e = M.value, t = B.value;
85
+ function $() {
86
+ let e = P.value, t = H.value;
96
87
  if (!e || !t) return;
97
88
  e.style.height = "auto";
98
89
  let n = e.scrollHeight;
@@ -103,60 +94,63 @@ var y = ["for"], b = [
103
94
  }
104
95
  e.style.height = `${n}px`;
105
96
  }
106
- function Q(e) {
107
- O("update:modelValue", e.target.value), H.value && Z();
97
+ function ee(e) {
98
+ A("update:modelValue", e.target.value), W.value && $();
108
99
  }
109
- function $() {
110
- D.disabled || D.readonly || (O("update:modelValue", ""), O("clear"), M.value?.focus(), H.value && u(Z));
100
+ function te() {
101
+ k.disabled || k.readonly || (A("update:modelValue", ""), A("clear"), P.value?.focus(), W.value && f($));
111
102
  }
112
- function ee() {
113
- M.value?.focus();
103
+ function ne() {
104
+ P.value?.focus();
114
105
  }
115
- return T({ focus: ee }), v(() => [D.modelValue, B.value], async () => {
116
- H.value && (await u(), Z());
117
- }), f(() => {
118
- H.value && Z();
119
- }), (e, t) => (p(), o("div", { class: d(["wi-textarea-field", { "wi-textarea-field--fluid": L.value }]) }, [
120
- c.label ? (p(), o("label", {
106
+ return D({ focus: ne }), b(() => [k.modelValue, H.value], async () => {
107
+ W.value && (await f(), $());
108
+ }), m(() => {
109
+ W.value && $();
110
+ }), (t, n) => (h(), s("div", { class: p(["wi-textarea-field", { "wi-textarea-field--fluid": z.value }]) }, [
111
+ u.label ? (h(), s("label", {
121
112
  key: 0,
122
113
  class: "wi-textarea-field__label",
123
- for: N.value
124
- }, h(c.label), 9, y)) : a("", !0),
125
- s("div", { class: d(["wi-textarea-field__control", { "wi-textarea-field__control--clearable": J.value }]) }, [s("textarea", l(g(k), {
126
- id: N.value,
114
+ for: F.value
115
+ }, _(u.label), 9, x)) : o("", !0),
116
+ c("div", { class: p(["wi-textarea-field__control", { "wi-textarea-field__control--clearable": X.value }]) }, [c("textarea", d(v(j), {
117
+ id: F.value,
127
118
  ref_key: "textareaElement",
128
- ref: M,
129
- class: X.value,
130
- value: c.modelValue,
131
- rows: V.value,
132
- disabled: c.disabled,
133
- readonly: c.readonly,
134
- maxlength: c.maxlength,
135
- "aria-invalid": P.value || void 0,
136
- "aria-describedby": Y.value,
137
- style: { resize: U.value },
138
- onInput: Q
139
- }), null, 16, b), J.value ? (p(), o("button", {
119
+ ref: P,
120
+ class: Q.value,
121
+ value: u.modelValue,
122
+ rows: U.value,
123
+ disabled: u.disabled,
124
+ readonly: u.readonly,
125
+ maxlength: u.maxlength,
126
+ "aria-invalid": I.value || void 0,
127
+ "aria-describedby": Z.value,
128
+ style: { resize: G.value },
129
+ onInput: ee
130
+ }), null, 16, S), X.value ? (h(), s("button", {
140
131
  key: 0,
141
132
  class: "wi-textarea__clear",
142
133
  type: "button",
143
- "aria-label": g(j).clearInput,
144
- disabled: c.disabled || c.readonly,
145
- onClick: $
146
- }, " × ", 8, x)) : a("", !0)], 2),
147
- W.value || z.value ? (p(), o("div", S, [W.value ? (p(), o("span", {
134
+ "aria-label": v(N).clearInput,
135
+ disabled: u.disabled || u.readonly,
136
+ onClick: te
137
+ }, [l(e, {
138
+ name: "close",
139
+ size: "sm"
140
+ })], 8, C)) : o("", !0)], 2),
141
+ K.value || V.value ? (h(), s("div", w, [K.value ? (h(), s("span", {
148
142
  key: 0,
149
- id: `${N.value}-help`,
150
- class: d(["wi-textarea-field__help", { "wi-textarea-field__help--error": G.value }]),
151
- role: G.value ? "alert" : void 0
152
- }, h(W.value), 11, C)) : a("", !0), z.value ? (p(), o("span", {
143
+ id: `${F.value}-help`,
144
+ class: p(["wi-textarea-field__help", { "wi-textarea-field__help--invalid": q.value }]),
145
+ role: q.value ? "alert" : void 0
146
+ }, _(K.value), 11, T)) : o("", !0), V.value ? (h(), s("span", {
153
147
  key: 1,
154
- id: `${N.value}-count`,
148
+ id: `${F.value}-count`,
155
149
  class: "wi-textarea-field__count",
156
150
  "aria-live": "polite"
157
- }, h(q.value), 9, w)) : a("", !0)])) : a("", !0)
151
+ }, _(Y.value), 9, E)) : o("", !0)])) : o("", !0)
158
152
  ], 2));
159
153
  }
160
154
  });
161
155
  //#endregion
162
- export { T as WiTextarea };
156
+ export { D as WiTextarea };
@@ -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-textarea {
754
792
  --wi-textarea-min-height: 6rem;
755
793
  --wi-textarea-min-height-small: 4.5rem;
@@ -832,8 +870,7 @@
832
870
  opacity: var(--wi-opacity-disabled);
833
871
  }
834
872
 
835
- .wi-textarea--invalid,
836
- .wi-textarea--error {
873
+ .wi-textarea--invalid {
837
874
  border-color: var(--wi-color-danger);
838
875
  }
839
876
 
@@ -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/Textarea/styles.css'
@@ -1,51 +1,52 @@
1
- import { n as e, t } from "../overlay-oR-5MDuE.js";
2
- import { c as n } from "../config-DWwce9jA.js";
1
+ import { t as e } from "../Icon-DHGs8l-M.js";
2
+ import { n as t, t as n } from "../overlay-oR-5MDuE.js";
3
+ import { c as r } from "../config-CTLkobga.js";
3
4
  import "./style.js";
4
- import { Fragment as r, Teleport as i, Transition as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createVNode as d, defineComponent as f, normalizeClass as p, onBeforeUnmount as m, openBlock as h, ref as g, renderList as _, toDisplayString as v, watch as y, withCtx as b } from "vue";
5
+ import { Fragment as i, Teleport as a, Transition as o, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createVNode as f, defineComponent as p, normalizeClass as m, onBeforeUnmount as h, openBlock as g, ref as _, renderList as v, toDisplayString as y, watch as b, withCtx as x } from "vue";
5
6
  //#region src/components/TieredMenu/TieredMenu.vue?vue&type=script&setup=true&lang.ts
6
- var x = ["onMouseenter"], S = {
7
+ var S = ["onMouseenter"], C = {
7
8
  key: 0,
8
9
  class: "wi-tieredmenu__separator",
9
10
  role: "separator"
10
- }, C = [
11
+ }, w = [
11
12
  "disabled",
12
13
  "aria-haspopup",
13
14
  "aria-expanded",
14
15
  "onClick"
15
- ], w = {
16
+ ], T = {
16
17
  key: 0,
17
18
  class: "wi-tieredmenu__caret",
18
19
  "aria-hidden": "true"
19
- }, T = {
20
+ }, E = {
20
21
  key: 2,
21
22
  class: "wi-tieredmenu__submenu",
22
23
  role: "menu"
23
- }, E = {
24
+ }, D = {
24
25
  key: 0,
25
26
  class: "wi-tieredmenu__separator",
26
27
  role: "separator"
27
- }, D = ["disabled", "onClick"], O = ["onMouseenter"], k = {
28
+ }, O = ["disabled", "onClick"], k = ["onMouseenter"], A = {
28
29
  key: 0,
29
30
  class: "wi-tieredmenu__separator",
30
31
  role: "separator"
31
- }, A = [
32
+ }, j = [
32
33
  "disabled",
33
34
  "aria-haspopup",
34
35
  "aria-expanded",
35
36
  "onClick"
36
- ], j = {
37
+ ], M = {
37
38
  key: 0,
38
39
  class: "wi-tieredmenu__caret",
39
40
  "aria-hidden": "true"
40
- }, M = {
41
+ }, N = {
41
42
  key: 2,
42
43
  class: "wi-tieredmenu__submenu",
43
44
  role: "menu"
44
- }, N = {
45
+ }, P = {
45
46
  key: 0,
46
47
  class: "wi-tieredmenu__separator",
47
48
  role: "separator"
48
- }, P = ["disabled", "onClick"], F = /* @__PURE__ */ f({
49
+ }, F = ["disabled", "onClick"], I = /* @__PURE__ */ p({
49
50
  __name: "TieredMenu",
50
51
  props: {
51
52
  model: {},
@@ -64,87 +65,93 @@ var x = ["onMouseenter"], S = {
64
65
  appendTo: {}
65
66
  },
66
67
  emits: ["update:modelValue"],
67
- setup(f, { emit: F }) {
68
- let I = f, L = F, R = n(), z = g(null), B = g(null), V = o(() => e(I.popup ? I : { teleport: !1 }, R.value.appendTo)), H = o(() => I.popup && t(I, R.value.appendTo));
69
- function U(e) {
70
- e.disabled || e.separator || e.items?.length || (e.command?.(), B.value = null, I.popup && L("update:modelValue", !1));
71
- }
68
+ setup(p, { emit: I }) {
69
+ let L = p, R = I, z = r(), B = _(null), V = _(null), H = s(() => t(L.popup ? L : { teleport: !1 }, z.value.appendTo)), U = s(() => L.popup && n(L, z.value.appendTo));
72
70
  function W(e) {
73
- e.disabled || e.separator || (e.command?.(), B.value = null, I.popup && L("update:modelValue", !1));
71
+ e.disabled || e.separator || e.items?.length || (e.command?.(), V.value = null, L.popup && R("update:modelValue", !1));
72
+ }
73
+ function G(e) {
74
+ e.disabled || e.separator || (e.command?.(), V.value = null, L.popup && R("update:modelValue", !1));
74
75
  }
75
- function G(e, t) {
76
+ function K(e, t) {
76
77
  if (t.disabled || !t.items?.length) {
77
- B.value = null;
78
+ V.value = null;
78
79
  return;
79
80
  }
80
- B.value = e;
81
+ V.value = e;
81
82
  }
82
- function K(e) {
83
- z.value && !z.value.contains(e.target) && (B.value = null, I.popup && I.modelValue && L("update:modelValue", !1));
83
+ function q(e) {
84
+ B.value && !B.value.contains(e.target) && (V.value = null, L.popup && L.modelValue && R("update:modelValue", !1));
84
85
  }
85
- return y(() => !!(!I.popup || I.modelValue), (e) => {
86
- e ? document.addEventListener("click", K) : document.removeEventListener("click", K);
87
- }, { immediate: !0 }), m(() => document.removeEventListener("click", K)), (e, t) => f.popup ? (h(), s(i, {
86
+ return b(() => !!(!L.popup || L.modelValue), (e) => {
87
+ e ? document.addEventListener("click", q) : document.removeEventListener("click", q);
88
+ }, { immediate: !0 }), h(() => document.removeEventListener("click", q)), (t, n) => p.popup ? (g(), c(a, {
88
89
  key: 1,
89
- to: V.value.to,
90
- disabled: V.value.disabled
91
- }, [d(a, { name: "wi-scale-fade" }, {
92
- default: b(() => [f.modelValue ? (h(), l("div", {
90
+ to: H.value.to,
91
+ disabled: H.value.disabled
92
+ }, [f(o, { name: "wi-scale-fade" }, {
93
+ default: x(() => [p.modelValue ? (g(), u("div", {
93
94
  key: 0,
94
95
  ref_key: "root",
95
- ref: z,
96
- class: p(["wi-tieredmenu wi-tieredmenu--popup", { "wi-tieredmenu--teleported": H.value }]),
96
+ ref: B,
97
+ class: m(["wi-tieredmenu wi-tieredmenu--popup", { "wi-tieredmenu--teleported": U.value }]),
97
98
  role: "menu"
98
- }, [(h(!0), l(r, null, _(f.model, (e, t) => (h(), l("div", {
99
- key: `${e.label ?? "sep"}-${t}`,
99
+ }, [(g(!0), u(i, null, v(p.model, (t, n) => (g(), u("div", {
100
+ key: `${t.label ?? "sep"}-${n}`,
100
101
  class: "wi-tieredmenu__row",
101
- onMouseenter: (n) => G(t, e)
102
- }, [e.separator ? (h(), l("div", k)) : (h(), l("button", {
102
+ onMouseenter: (e) => K(n, t)
103
+ }, [t.separator ? (g(), u("div", A)) : (g(), u("button", {
103
104
  key: 1,
104
105
  type: "button",
105
106
  class: "wi-tieredmenu__item",
106
107
  role: "menuitem",
107
- disabled: e.disabled,
108
- "aria-haspopup": e.items?.length ? "menu" : void 0,
109
- "aria-expanded": e.items?.length ? B.value === t : void 0,
110
- onClick: (n) => e.items?.length ? G(t, e) : U(e)
111
- }, [u("span", null, v(e.label), 1), e.items?.length ? (h(), l("span", j, "▸")) : c("", !0)], 8, A)), e.items?.length && B.value === t ? (h(), l("div", M, [(h(!0), l(r, null, _(e.items, (e, t) => (h(), l(r, { key: `${e.label ?? "sep"}-${t}` }, [e.separator ? (h(), l("div", N)) : (h(), l("button", {
108
+ disabled: t.disabled,
109
+ "aria-haspopup": t.items?.length ? "menu" : void 0,
110
+ "aria-expanded": t.items?.length ? V.value === n : void 0,
111
+ onClick: (e) => t.items?.length ? K(n, t) : W(t)
112
+ }, [d("span", null, y(t.label), 1), t.items?.length ? (g(), u("span", M, [f(e, {
113
+ name: "chevron-right",
114
+ size: "sm"
115
+ })])) : l("", !0)], 8, j)), t.items?.length && V.value === n ? (g(), u("div", N, [(g(!0), u(i, null, v(t.items, (e, t) => (g(), u(i, { key: `${e.label ?? "sep"}-${t}` }, [e.separator ? (g(), u("div", P)) : (g(), u("button", {
112
116
  key: 1,
113
117
  type: "button",
114
118
  class: "wi-tieredmenu__item",
115
119
  role: "menuitem",
116
120
  disabled: e.disabled,
117
- onClick: (t) => W(e)
118
- }, v(e.label), 9, P))], 64))), 128))])) : c("", !0)], 40, O))), 128))], 2)) : c("", !0)]),
121
+ onClick: (t) => G(e)
122
+ }, y(e.label), 9, F))], 64))), 128))])) : l("", !0)], 40, k))), 128))], 2)) : l("", !0)]),
119
123
  _: 1
120
- })], 8, ["to", "disabled"])) : (h(), l("div", {
124
+ })], 8, ["to", "disabled"])) : (g(), u("div", {
121
125
  key: 0,
122
126
  ref_key: "root",
123
- ref: z,
127
+ ref: B,
124
128
  class: "wi-tieredmenu",
125
129
  role: "menu"
126
- }, [(h(!0), l(r, null, _(f.model, (e, t) => (h(), l("div", {
127
- key: `${e.label ?? "sep"}-${t}`,
130
+ }, [(g(!0), u(i, null, v(p.model, (t, n) => (g(), u("div", {
131
+ key: `${t.label ?? "sep"}-${n}`,
128
132
  class: "wi-tieredmenu__row",
129
- onMouseenter: (n) => G(t, e)
130
- }, [e.separator ? (h(), l("div", S)) : (h(), l("button", {
133
+ onMouseenter: (e) => K(n, t)
134
+ }, [t.separator ? (g(), u("div", C)) : (g(), u("button", {
131
135
  key: 1,
132
136
  type: "button",
133
137
  class: "wi-tieredmenu__item",
134
138
  role: "menuitem",
135
- disabled: e.disabled,
136
- "aria-haspopup": e.items?.length ? "menu" : void 0,
137
- "aria-expanded": e.items?.length ? B.value === t : void 0,
138
- onClick: (n) => e.items?.length ? G(t, e) : U(e)
139
- }, [u("span", null, v(e.label), 1), e.items?.length ? (h(), l("span", w, "▸")) : c("", !0)], 8, C)), e.items?.length && B.value === t ? (h(), l("div", T, [(h(!0), l(r, null, _(e.items, (e, t) => (h(), l(r, { key: `${e.label ?? "sep"}-${t}` }, [e.separator ? (h(), l("div", E)) : (h(), l("button", {
139
+ disabled: t.disabled,
140
+ "aria-haspopup": t.items?.length ? "menu" : void 0,
141
+ "aria-expanded": t.items?.length ? V.value === n : void 0,
142
+ onClick: (e) => t.items?.length ? K(n, t) : W(t)
143
+ }, [d("span", null, y(t.label), 1), t.items?.length ? (g(), u("span", T, [f(e, {
144
+ name: "chevron-right",
145
+ size: "sm"
146
+ })])) : l("", !0)], 8, w)), t.items?.length && V.value === n ? (g(), u("div", E, [(g(!0), u(i, null, v(t.items, (e, t) => (g(), u(i, { key: `${e.label ?? "sep"}-${t}` }, [e.separator ? (g(), u("div", D)) : (g(), u("button", {
140
147
  key: 1,
141
148
  type: "button",
142
149
  class: "wi-tieredmenu__item",
143
150
  role: "menuitem",
144
151
  disabled: e.disabled,
145
- onClick: (t) => W(e)
146
- }, v(e.label), 9, D))], 64))), 128))])) : c("", !0)], 40, x))), 128))], 512));
152
+ onClick: (t) => G(e)
153
+ }, y(e.label), 9, O))], 64))), 128))])) : l("", !0)], 40, S))), 128))], 512));
147
154
  }
148
155
  });
149
156
  //#endregion
150
- export { F as WiTieredMenu };
157
+ export { I as WiTieredMenu };
@@ -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
  /* —— Menu: TieredMenu —— */
754
792
  .wi-tieredmenu {
755
793
  --wi-tieredmenu-submenu-min-width: 10rem;
@@ -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/TieredMenu/styles.css'
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "../types-tV3SEv3Q.js";
2
- import { a as t, t as n } from "../Icon-B6gOD07E.js";
2
+ import { a as t, t as n } from "../Icon-DHGs8l-M.js";
3
3
  import "./style.js";
4
4
  import { Fragment as r, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createTextVNode as l, defineComponent as u, normalizeClass as d, normalizeStyle as f, openBlock as p, renderList as m, renderSlot as h, toDisplayString as g } from "vue";
5
5
  //#region src/components/Timeline/Timeline.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
  }