@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.
- package/CHANGELOG.md +50 -0
- package/dist/{Button-B6-YxpOQ.js → Button-tnrMSwNg.js} +3 -7
- package/dist/{Checkbox-BvlOYFGs.js → Checkbox-CoovLjt_.js} +1 -1
- package/dist/{Icon-B6gOD07E.js → Icon-DHGs8l-M.js} +27 -1
- package/dist/Pagination-UvgyUKB1.js +155 -0
- package/dist/{ProgressSpinner-YThgaSzb.js → ProgressSpinner-BTijCc7l.js} +1 -1
- package/dist/accordion/style.css +4 -5
- package/dist/auto-complete/index.js +106 -99
- package/dist/auto-complete/style.css +4 -5
- package/dist/avatar/index.js +1 -1
- package/dist/avatar/style.css +4 -5
- package/dist/badge/style.css +4 -5
- package/dist/block-ui/style.css +4 -5
- package/dist/breadcrumb/index.js +1 -1
- package/dist/breadcrumb/style.css +4 -5
- package/dist/button/index.js +1 -1
- package/dist/button/style.css +4 -5
- package/dist/card/style.css +4 -5
- package/dist/carousel/index.js +61 -54
- package/dist/carousel/style.css +43 -5
- package/dist/carousel/style.js +1 -0
- package/dist/cascade-select/index.js +143 -76
- package/dist/cascade-select/style.css +76 -10
- package/dist/cascade-select/style.js +1 -0
- package/dist/checkbox/index.js +1 -1
- package/dist/checkbox/style.css +4 -5
- package/dist/chip/index.js +32 -29
- package/dist/chip/style.css +4 -5
- package/dist/command-menu/index.js +2 -2
- package/dist/command-menu/style.css +4 -5
- package/dist/components/AutoComplete/AutoComplete.vue.d.ts +2 -0
- package/dist/components/AutoComplete/AutoComplete.vue.d.ts.map +1 -1
- package/dist/components/AutoComplete/types.d.ts +1 -0
- package/dist/components/AutoComplete/types.d.ts.map +1 -1
- package/dist/components/Button/Button.vue.d.ts +0 -1
- package/dist/components/Button/Button.vue.d.ts.map +1 -1
- package/dist/components/Button/types.d.ts +0 -2
- package/dist/components/Button/types.d.ts.map +1 -1
- package/dist/components/Carousel/Carousel.vue.d.ts +2 -2
- package/dist/components/Carousel/Carousel.vue.d.ts.map +1 -1
- package/dist/components/CascadeSelect/CascadeSelect.vue.d.ts +6 -0
- package/dist/components/CascadeSelect/CascadeSelect.vue.d.ts.map +1 -1
- package/dist/components/CascadeSelect/styles.css +33 -5
- package/dist/components/CascadeSelect/types.d.ts +11 -0
- package/dist/components/CascadeSelect/types.d.ts.map +1 -1
- package/dist/components/Chip/Chip.vue.d.ts.map +1 -1
- package/dist/components/ConfirmPopup/ConfirmPopup.vue.d.ts.map +1 -1
- package/dist/components/ContextMenu/ContextMenuNodes.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/DatePicker.vue.d.ts +2 -0
- package/dist/components/DatePicker/DatePicker.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/styles.css +33 -8
- package/dist/components/DatePicker/types.d.ts +1 -0
- package/dist/components/DatePicker/types.d.ts.map +1 -1
- package/dist/components/Dialog/Dialog.vue.d.ts +3 -3
- package/dist/components/Dialog/Dialog.vue.d.ts.map +1 -1
- package/dist/components/Divider/types.d.ts +0 -5
- package/dist/components/Divider/types.d.ts.map +1 -1
- package/dist/components/Drawer/Drawer.vue.d.ts +2 -2
- package/dist/components/Drawer/Drawer.vue.d.ts.map +1 -1
- package/dist/components/Dropdown/DropdownNodes.vue.d.ts +2 -2
- package/dist/components/Dropdown/DropdownNodes.vue.d.ts.map +1 -1
- package/dist/components/Fieldset/Fieldset.vue.d.ts +4 -4
- package/dist/components/Fieldset/Fieldset.vue.d.ts.map +1 -1
- package/dist/components/FileUpload/styles.css +2 -2
- package/dist/components/FloatLabel/FloatLabel.vue.d.ts.map +1 -1
- package/dist/components/Gallery/Gallery.vue.d.ts.map +1 -1
- package/dist/components/Icon/icons.d.ts +32 -0
- package/dist/components/Icon/icons.d.ts.map +1 -1
- package/dist/components/Input/Input.vue.d.ts +0 -1
- package/dist/components/Input/Input.vue.d.ts.map +1 -1
- package/dist/components/Input/styles.css +3 -5
- package/dist/components/Input/types.d.ts +1 -3
- package/dist/components/Input/types.d.ts.map +1 -1
- package/dist/components/InputNumber/InputNumber.vue.d.ts.map +1 -1
- package/dist/components/InputOtp/InputOtp.vue.d.ts.map +1 -1
- package/dist/components/InputPassword/InputPassword.vue.d.ts +4 -4
- package/dist/components/InputPassword/InputPassword.vue.d.ts.map +1 -1
- package/dist/components/InputTags/InputTags.vue.d.ts.map +1 -1
- package/dist/components/Layout/Layout.vue.d.ts +1 -4
- package/dist/components/Layout/Layout.vue.d.ts.map +1 -1
- package/dist/components/Layout/LayoutContent.vue.d.ts +1 -4
- package/dist/components/Layout/LayoutContent.vue.d.ts.map +1 -1
- package/dist/components/Layout/LayoutFooter.vue.d.ts.map +1 -1
- package/dist/components/Layout/LayoutHeader.vue.d.ts.map +1 -1
- package/dist/components/Layout/LayoutSider.vue.d.ts +1 -4
- package/dist/components/Layout/LayoutSider.vue.d.ts.map +1 -1
- package/dist/components/Layout/composables/useLayoutRegionStyle.d.ts +9 -0
- package/dist/components/Layout/composables/useLayoutRegionStyle.d.ts.map +1 -0
- package/dist/components/Layout/composables/useLayoutScroll.d.ts +6 -0
- package/dist/components/Layout/composables/useLayoutScroll.d.ts.map +1 -0
- package/dist/components/Layout/composables/useLayoutSiderCollapse.d.ts +16 -0
- package/dist/components/Layout/composables/useLayoutSiderCollapse.d.ts.map +1 -0
- package/dist/components/Layout/styles.css +19 -49
- package/dist/components/Layout/types.d.ts +0 -22
- package/dist/components/Layout/types.d.ts.map +1 -1
- package/dist/components/Layout/utils.d.ts +3 -0
- package/dist/components/Layout/utils.d.ts.map +1 -0
- package/dist/components/MegaMenu/MegaMenu.vue.d.ts.map +1 -1
- package/dist/components/Menu/MenuNodes.vue.d.ts.map +1 -1
- package/dist/components/Menubar/Menubar.vue.d.ts.map +1 -1
- package/dist/components/Pagination/Pagination.vue.d.ts.map +1 -1
- package/dist/components/Panel/Panel.vue.d.ts +3 -3
- package/dist/components/Panel/Panel.vue.d.ts.map +1 -1
- package/dist/components/Popover/Popover.vue.d.ts.map +1 -1
- package/dist/components/Popover/styles.css +41 -0
- package/dist/components/Rating/Rating.vue.d.ts.map +1 -1
- package/dist/components/Rating/styles.css +28 -23
- package/dist/components/ScrollTop/ScrollTop.vue.d.ts.map +1 -1
- package/dist/components/Select/Select.vue.d.ts +1 -1
- package/dist/components/Select/Select.vue.d.ts.map +1 -1
- package/dist/components/Select/styles.css +8 -108
- package/dist/components/Select/types.d.ts +3 -3
- package/dist/components/Select/types.d.ts.map +1 -1
- package/dist/components/Slider/Slider.vue.d.ts.map +1 -1
- package/dist/components/Slider/types.d.ts +2 -0
- package/dist/components/Slider/types.d.ts.map +1 -1
- package/dist/components/SpeedDial/SpeedDial.vue.d.ts.map +1 -1
- package/dist/components/SplitButton/SplitButton.vue.d.ts.map +1 -1
- package/dist/components/Table/Table.vue.d.ts +9 -9
- package/dist/components/Table/Table.vue.d.ts.map +1 -1
- package/dist/components/Tabs/Tabs.vue.d.ts +3 -3
- package/dist/components/Tabs/Tabs.vue.d.ts.map +1 -1
- package/dist/components/Tag/Tag.vue.d.ts.map +1 -1
- package/dist/components/Terminal/styles.css +8 -8
- package/dist/components/Textarea/Textarea.vue.d.ts +0 -2
- package/dist/components/Textarea/Textarea.vue.d.ts.map +1 -1
- package/dist/components/Textarea/styles.css +1 -2
- package/dist/components/Textarea/types.d.ts +1 -5
- package/dist/components/Textarea/types.d.ts.map +1 -1
- package/dist/components/TieredMenu/TieredMenu.vue.d.ts.map +1 -1
- package/dist/components/Toast/Toast.vue.d.ts.map +1 -1
- package/dist/components/Tooltip/Tooltip.vue.d.ts.map +1 -1
- package/dist/components/TreeSelect/TreeSelect.vue.d.ts.map +1 -1
- package/dist/components/TreeSelect/TreeSelectNodeItem.vue.d.ts.map +1 -1
- package/dist/components/TreeSelect/styles.css +21 -12
- package/dist/components/TreeTable/TreeTableRow.vue.d.ts.map +1 -1
- package/dist/{config-DWwce9jA.js → config-CTLkobga.js} +1 -0
- package/dist/config-provider/index.js +1 -1
- package/dist/config-provider/style.css +7 -10
- package/dist/confirm-dialog/index.js +4 -4
- package/dist/confirm-dialog/style.css +4 -5
- package/dist/confirm-popup/index.js +62 -77
- package/dist/confirm-popup/style.css +4 -5
- package/dist/context-menu/index.js +69 -61
- package/dist/context-menu/style.css +4 -5
- package/dist/data-view/index.js +1 -1
- package/dist/data-view/style.css +4 -5
- package/dist/date-picker/index.js +144 -137
- package/dist/date-picker/style.css +76 -13
- package/dist/date-picker/style.js +1 -0
- package/dist/dialog/index.js +76 -70
- package/dist/dialog/style.css +4 -5
- package/dist/divider/index.js +1 -2
- package/dist/divider/style.css +4 -5
- package/dist/dock/style.css +4 -5
- package/dist/drawer/index.js +49 -45
- package/dist/drawer/style.css +43 -5
- package/dist/drawer/style.js +1 -0
- package/dist/dropdown/index.js +98 -97
- package/dist/dropdown/style.css +4 -5
- package/dist/fieldset/index.js +16 -12
- package/dist/fieldset/style.css +43 -5
- package/dist/fieldset/style.js +1 -0
- package/dist/file-upload/index.js +2 -2
- package/dist/file-upload/style.css +6 -7
- package/dist/flex/index.js +1 -1
- package/dist/flex/style.css +4 -5
- package/dist/float-label/index.js +15 -4
- package/dist/float-label/style.css +4 -5
- package/dist/fluid/style.css +4 -5
- package/dist/form/index.js +1 -1
- package/dist/form/style.css +4 -5
- package/dist/gallery/index.js +41 -34
- package/dist/gallery/style.css +43 -5
- package/dist/gallery/style.js +1 -0
- package/dist/grid/style.css +4 -5
- package/dist/icon/index.js +1 -1
- package/dist/icon/style.css +4 -5
- package/dist/icon-Cg5TeFqe.js +7 -0
- package/dist/icon-field/style.css +4 -5
- package/dist/index.js +2783 -2643
- package/dist/inplace/style.css +4 -5
- package/dist/input/index.js +65 -66
- package/dist/input/style.css +46 -10
- package/dist/input/style.js +1 -0
- package/dist/input-color/index.js +1 -1
- package/dist/input-color/style.css +4 -5
- package/dist/input-group/style.css +4 -5
- package/dist/input-number/index.js +82 -66
- package/dist/input-number/style.css +43 -5
- package/dist/input-number/style.js +1 -0
- package/dist/input-otp/index.js +3 -3
- package/dist/input-otp/style.css +4 -5
- package/dist/input-password/index.js +46 -43
- package/dist/input-password/style.css +4 -5
- package/dist/input-tags/index.js +50 -46
- package/dist/input-tags/style.css +43 -5
- package/dist/input-tags/style.js +1 -0
- package/dist/key-CaQYVkjh.js +6 -0
- package/dist/knob/style.css +4 -5
- package/dist/label/style.css +4 -5
- package/dist/layout/index.js +196 -271
- package/dist/layout/style.css +48 -140
- package/dist/layout/style.js +1 -1
- package/dist/listbox/index.js +1 -1
- package/dist/listbox/style.css +4 -5
- package/dist/locale/en-US.d.ts.map +1 -1
- package/dist/locale/types.d.ts +1 -0
- package/dist/locale/types.d.ts.map +1 -1
- package/dist/locale/zh-CN.d.ts.map +1 -1
- package/dist/{locale-CYkJyRd1.js → locale-DxAvgqgB.js} +1 -1
- package/dist/mega-menu/index.js +47 -49
- package/dist/mega-menu/style.css +4 -5
- package/dist/menu/index.js +81 -76
- package/dist/menu/style.css +4 -5
- package/dist/menubar/index.js +75 -73
- package/dist/menubar/style.css +4 -5
- package/dist/message/index.js +3 -3
- package/dist/message/style.css +4 -5
- package/dist/meter-group/style.css +4 -5
- package/dist/order-list/index.js +2 -2
- package/dist/order-list/style.css +4 -5
- package/dist/overlayPlacement-CN1tuC95.js +51 -0
- package/dist/pagination/index.js +1 -1
- package/dist/pagination/style.css +43 -5
- package/dist/pagination/style.js +1 -0
- package/dist/panel/index.js +27 -23
- package/dist/panel/style.css +43 -5
- package/dist/panel/style.js +1 -0
- package/dist/pick-list/index.js +2 -2
- package/dist/pick-list/style.css +4 -5
- package/dist/popover/index.js +79 -100
- package/dist/popover/style.css +45 -5
- package/dist/progress-bar/style.css +4 -5
- package/dist/progress-spinner/index.js +1 -1
- package/dist/progress-spinner/style.css +4 -5
- package/dist/radio/index.js +1 -1
- package/dist/radio/style.css +4 -5
- package/dist/rating/index.js +54 -44
- package/dist/rating/style.css +71 -28
- package/dist/rating/style.js +1 -0
- package/dist/scroll-top/index.js +45 -41
- package/dist/scroll-top/style.css +43 -5
- package/dist/scroll-top/style.js +1 -0
- package/dist/scrollbar/index.js +382 -2
- package/dist/scrollbar/style.css +4 -5
- package/dist/select/index.js +149 -141
- package/dist/select/style.css +51 -113
- package/dist/select/style.js +1 -0
- package/dist/select-button/index.js +1 -1
- package/dist/select-button/style.css +4 -5
- package/dist/shared/componentDefaults.d.ts +5 -1
- package/dist/shared/componentDefaults.d.ts.map +1 -1
- package/dist/shared/menu/icon.d.ts +4 -0
- package/dist/shared/menu/icon.d.ts.map +1 -0
- package/dist/shared/menu/index.d.ts +4 -0
- package/dist/shared/menu/index.d.ts.map +1 -0
- package/dist/shared/menu/key.d.ts +4 -0
- package/dist/shared/menu/key.d.ts.map +1 -0
- package/dist/shared/menu/types.d.ts +11 -0
- package/dist/shared/menu/types.d.ts.map +1 -0
- package/dist/shared/overlayPlacement.d.ts +12 -0
- package/dist/shared/overlayPlacement.d.ts.map +1 -0
- package/dist/sidebar/index.js +1 -1
- package/dist/sidebar/style.css +4 -5
- package/dist/skeleton/style.css +4 -5
- package/dist/slider/index.js +6 -3
- package/dist/slider/style.css +4 -5
- package/dist/space/index.js +1 -1
- package/dist/space/style.css +4 -5
- package/dist/speed-dial/index.js +55 -66
- package/dist/speed-dial/style.css +43 -5
- package/dist/speed-dial/style.js +1 -0
- package/dist/split-button/index.js +66 -63
- package/dist/split-button/style.css +43 -5
- package/dist/split-button/style.js +1 -0
- package/dist/splitter/index.js +1 -1
- package/dist/splitter/style.css +4 -5
- package/dist/stepper/style.css +4 -5
- package/dist/styles/base.css +4 -5
- package/dist/styles.css +1 -1
- package/dist/switch/index.js +1 -1
- package/dist/switch/style.css +4 -5
- package/dist/table/index.js +41 -35
- package/dist/table/style.css +4 -5
- package/dist/tabs/index.js +78 -65
- package/dist/tabs/style.css +43 -5
- package/dist/tabs/style.js +1 -0
- package/dist/tag/index.js +31 -28
- package/dist/tag/style.css +4 -5
- package/dist/terminal/index.js +1 -1
- package/dist/terminal/style.css +12 -13
- package/dist/textarea/index.js +69 -75
- package/dist/textarea/style.css +44 -7
- package/dist/textarea/style.js +1 -0
- package/dist/tiered-menu/index.js +66 -59
- package/dist/tiered-menu/style.css +43 -5
- package/dist/tiered-menu/style.js +1 -0
- package/dist/timeline/index.js +1 -1
- package/dist/timeline/style.css +4 -5
- package/dist/toast/index.js +93 -89
- package/dist/toast/style.css +43 -5
- package/dist/toast/style.js +1 -0
- package/dist/toggle-button/index.js +1 -1
- package/dist/toggle-button/style.css +4 -5
- package/dist/toolbar/style.css +4 -5
- package/dist/tooltip/index.js +47 -71
- package/dist/tooltip/style.css +4 -5
- package/dist/tree/index.js +3 -3
- package/dist/tree/style.css +4 -5
- package/dist/tree-select/index.js +164 -155
- package/dist/tree-select/style.css +64 -17
- package/dist/tree-select/style.js +1 -0
- package/dist/tree-table/index.js +34 -30
- package/dist/tree-table/style.css +43 -5
- package/dist/tree-table/style.js +1 -0
- package/dist/virtual-scroller/style.css +4 -5
- package/package.json +4 -1
- package/dist/Pagination-BU-1IY0E.js +0 -148
- package/dist/Scrollbar-D-bR2noX.js +0 -382
package/dist/textarea/index.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as r } from "../
|
|
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
|
|
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
|
|
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
|
-
],
|
|
16
|
+
], C = ["aria-label", "disabled"], w = {
|
|
16
17
|
key: 1,
|
|
17
18
|
class: "wi-textarea-field__meta"
|
|
18
|
-
},
|
|
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(
|
|
71
|
-
let
|
|
72
|
-
if (
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
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
|
|
82
|
-
}),
|
|
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--${
|
|
76
|
+
`wi-textarea--${L.value}`,
|
|
85
77
|
{
|
|
86
|
-
"wi-textarea--filled":
|
|
87
|
-
"wi-textarea--fluid":
|
|
88
|
-
"wi-textarea--invalid":
|
|
89
|
-
"wi-textarea--
|
|
90
|
-
"wi-textarea--
|
|
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
|
|
95
|
-
let e =
|
|
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
|
|
107
|
-
|
|
97
|
+
function ee(e) {
|
|
98
|
+
A("update:modelValue", e.target.value), W.value && $();
|
|
108
99
|
}
|
|
109
|
-
function
|
|
110
|
-
|
|
100
|
+
function te() {
|
|
101
|
+
k.disabled || k.readonly || (A("update:modelValue", ""), A("clear"), P.value?.focus(), W.value && f($));
|
|
111
102
|
}
|
|
112
|
-
function
|
|
113
|
-
|
|
103
|
+
function ne() {
|
|
104
|
+
P.value?.focus();
|
|
114
105
|
}
|
|
115
|
-
return
|
|
116
|
-
|
|
117
|
-
}),
|
|
118
|
-
|
|
119
|
-
}), (
|
|
120
|
-
|
|
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:
|
|
124
|
-
},
|
|
125
|
-
|
|
126
|
-
id:
|
|
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:
|
|
129
|
-
class:
|
|
130
|
-
value:
|
|
131
|
-
rows:
|
|
132
|
-
disabled:
|
|
133
|
-
readonly:
|
|
134
|
-
maxlength:
|
|
135
|
-
"aria-invalid":
|
|
136
|
-
"aria-describedby":
|
|
137
|
-
style: { resize:
|
|
138
|
-
onInput:
|
|
139
|
-
}), null, 16,
|
|
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":
|
|
144
|
-
disabled:
|
|
145
|
-
onClick:
|
|
146
|
-
},
|
|
147
|
-
|
|
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: `${
|
|
150
|
-
class:
|
|
151
|
-
role:
|
|
152
|
-
},
|
|
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: `${
|
|
148
|
+
id: `${F.value}-count`,
|
|
155
149
|
class: "wi-textarea-field__count",
|
|
156
150
|
"aria-live": "polite"
|
|
157
|
-
},
|
|
151
|
+
}, _(Y.value), 9, E)) : o("", !0)])) : o("", !0)
|
|
158
152
|
], 2));
|
|
159
153
|
}
|
|
160
154
|
});
|
|
161
155
|
//#endregion
|
|
162
|
-
export {
|
|
156
|
+
export { D as WiTextarea };
|
package/dist/textarea/style.css
CHANGED
|
@@ -480,8 +480,8 @@
|
|
|
480
480
|
font-size: var(--wi-font-size-xs);
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
.wi-textarea-field__help--
|
|
484
|
-
.wi-select-field__help--
|
|
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-
|
|
504
|
-
.wi-select--
|
|
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
|
|
package/dist/textarea/style.js
CHANGED
|
@@ -1,51 +1,52 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
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
|
|
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
|
|
7
|
+
var S = ["onMouseenter"], C = {
|
|
7
8
|
key: 0,
|
|
8
9
|
class: "wi-tieredmenu__separator",
|
|
9
10
|
role: "separator"
|
|
10
|
-
},
|
|
11
|
+
}, w = [
|
|
11
12
|
"disabled",
|
|
12
13
|
"aria-haspopup",
|
|
13
14
|
"aria-expanded",
|
|
14
15
|
"onClick"
|
|
15
|
-
],
|
|
16
|
+
], T = {
|
|
16
17
|
key: 0,
|
|
17
18
|
class: "wi-tieredmenu__caret",
|
|
18
19
|
"aria-hidden": "true"
|
|
19
|
-
},
|
|
20
|
+
}, E = {
|
|
20
21
|
key: 2,
|
|
21
22
|
class: "wi-tieredmenu__submenu",
|
|
22
23
|
role: "menu"
|
|
23
|
-
},
|
|
24
|
+
}, D = {
|
|
24
25
|
key: 0,
|
|
25
26
|
class: "wi-tieredmenu__separator",
|
|
26
27
|
role: "separator"
|
|
27
|
-
},
|
|
28
|
+
}, O = ["disabled", "onClick"], k = ["onMouseenter"], A = {
|
|
28
29
|
key: 0,
|
|
29
30
|
class: "wi-tieredmenu__separator",
|
|
30
31
|
role: "separator"
|
|
31
|
-
},
|
|
32
|
+
}, j = [
|
|
32
33
|
"disabled",
|
|
33
34
|
"aria-haspopup",
|
|
34
35
|
"aria-expanded",
|
|
35
36
|
"onClick"
|
|
36
|
-
],
|
|
37
|
+
], M = {
|
|
37
38
|
key: 0,
|
|
38
39
|
class: "wi-tieredmenu__caret",
|
|
39
40
|
"aria-hidden": "true"
|
|
40
|
-
},
|
|
41
|
+
}, N = {
|
|
41
42
|
key: 2,
|
|
42
43
|
class: "wi-tieredmenu__submenu",
|
|
43
44
|
role: "menu"
|
|
44
|
-
},
|
|
45
|
+
}, P = {
|
|
45
46
|
key: 0,
|
|
46
47
|
class: "wi-tieredmenu__separator",
|
|
47
48
|
role: "separator"
|
|
48
|
-
},
|
|
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(
|
|
68
|
-
let
|
|
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?.(),
|
|
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
|
|
76
|
+
function K(e, t) {
|
|
76
77
|
if (t.disabled || !t.items?.length) {
|
|
77
|
-
|
|
78
|
+
V.value = null;
|
|
78
79
|
return;
|
|
79
80
|
}
|
|
80
|
-
|
|
81
|
+
V.value = e;
|
|
81
82
|
}
|
|
82
|
-
function
|
|
83
|
-
|
|
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
|
|
86
|
-
e ? document.addEventListener("click",
|
|
87
|
-
}, { immediate: !0 }),
|
|
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:
|
|
90
|
-
disabled:
|
|
91
|
-
}, [
|
|
92
|
-
default:
|
|
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:
|
|
96
|
-
class:
|
|
96
|
+
ref: B,
|
|
97
|
+
class: m(["wi-tieredmenu wi-tieredmenu--popup", { "wi-tieredmenu--teleported": U.value }]),
|
|
97
98
|
role: "menu"
|
|
98
|
-
}, [(
|
|
99
|
-
key: `${
|
|
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: (
|
|
102
|
-
}, [
|
|
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:
|
|
108
|
-
"aria-haspopup":
|
|
109
|
-
"aria-expanded":
|
|
110
|
-
onClick: (
|
|
111
|
-
}, [
|
|
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) =>
|
|
118
|
-
},
|
|
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"])) : (
|
|
124
|
+
})], 8, ["to", "disabled"])) : (g(), u("div", {
|
|
121
125
|
key: 0,
|
|
122
126
|
ref_key: "root",
|
|
123
|
-
ref:
|
|
127
|
+
ref: B,
|
|
124
128
|
class: "wi-tieredmenu",
|
|
125
129
|
role: "menu"
|
|
126
|
-
}, [(
|
|
127
|
-
key: `${
|
|
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: (
|
|
130
|
-
}, [
|
|
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:
|
|
136
|
-
"aria-haspopup":
|
|
137
|
-
"aria-expanded":
|
|
138
|
-
onClick: (
|
|
139
|
-
}, [
|
|
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) =>
|
|
146
|
-
},
|
|
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 {
|
|
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--
|
|
484
|
-
.wi-select-field__help--
|
|
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-
|
|
504
|
-
.wi-select--
|
|
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;
|
package/dist/timeline/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "../types-tV3SEv3Q.js";
|
|
2
|
-
import { a as t, t as n } from "../Icon-
|
|
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
|
package/dist/timeline/style.css
CHANGED
|
@@ -480,8 +480,8 @@
|
|
|
480
480
|
font-size: var(--wi-font-size-xs);
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
.wi-textarea-field__help--
|
|
484
|
-
.wi-select-field__help--
|
|
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-
|
|
504
|
-
.wi-select--
|
|
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
|
}
|