@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.
- package/CHANGELOG.md +56 -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/_plugin-vue_export-helper-B3ysoDQm.js +8 -0
- 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/ConfigProvider/ConfigProvider.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 +21 -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 +27 -26
- 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 +2790 -2650
- 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 +50 -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/index.js +10 -13
- 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
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
//#region src/shared/overlayPlacement.ts
|
|
2
|
+
function e(e) {
|
|
3
|
+
if (e != null) return typeof e == "number" ? `${e}px` : e;
|
|
4
|
+
}
|
|
5
|
+
function t(e, t, n = {}) {
|
|
6
|
+
let r = n.gap ?? 8, i = e.left + e.width / 2, a = e.top + e.height / 2, o = {};
|
|
7
|
+
switch (n.minWidth && (o.minWidth = n.minWidth), n.maxWidth && (o.maxWidth = n.maxWidth), n.width && (o.width = n.width), n.zIndex != null && (o.zIndex = String(n.zIndex)), t) {
|
|
8
|
+
case "top": return {
|
|
9
|
+
left: `${i}px`,
|
|
10
|
+
top: `${e.top - r}px`,
|
|
11
|
+
transform: "translate(-50%, -100%)",
|
|
12
|
+
...o
|
|
13
|
+
};
|
|
14
|
+
case "bottom": return {
|
|
15
|
+
left: `${i}px`,
|
|
16
|
+
top: `${e.bottom + r}px`,
|
|
17
|
+
transform: "translateX(-50%)",
|
|
18
|
+
...o
|
|
19
|
+
};
|
|
20
|
+
case "left": return {
|
|
21
|
+
left: `${e.left - r}px`,
|
|
22
|
+
top: `${a}px`,
|
|
23
|
+
transform: "translate(-100%, -50%)",
|
|
24
|
+
...o
|
|
25
|
+
};
|
|
26
|
+
case "right": return {
|
|
27
|
+
left: `${e.right + r}px`,
|
|
28
|
+
top: `${a}px`,
|
|
29
|
+
transform: "translateY(-50%)",
|
|
30
|
+
...o
|
|
31
|
+
};
|
|
32
|
+
case "bottom-end": return {
|
|
33
|
+
left: `${e.right}px`,
|
|
34
|
+
top: `${e.bottom + r}px`,
|
|
35
|
+
transform: "translateX(-100%)",
|
|
36
|
+
...o
|
|
37
|
+
};
|
|
38
|
+
case "bottom-start": return {
|
|
39
|
+
left: `${e.left}px`,
|
|
40
|
+
top: `${e.bottom + r}px`,
|
|
41
|
+
...o
|
|
42
|
+
};
|
|
43
|
+
default: return {
|
|
44
|
+
left: `${e.left}px`,
|
|
45
|
+
top: `${e.bottom + r}px`,
|
|
46
|
+
...o
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
//#endregion
|
|
51
|
+
export { e as n, t };
|
package/dist/pagination/index.js
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-pagination {
|
|
754
792
|
--wi-pagination-simple-width: 3.5rem;
|
|
755
793
|
--wi-pagination-jumper-width: 3.5rem;
|
package/dist/pagination/style.js
CHANGED
package/dist/panel/index.js
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { n as e } from "../types-tV3SEv3Q.js";
|
|
2
|
-
import {
|
|
2
|
+
import { t } from "../Icon-DHGs8l-M.js";
|
|
3
|
+
import { n } from "../locale-DxAvgqgB.js";
|
|
3
4
|
import "./style.js";
|
|
4
|
-
import { computed as
|
|
5
|
+
import { computed as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, createVNode as c, defineComponent as l, normalizeClass as u, openBlock as d, renderSlot as f, toDisplayString as p, unref as m, vShow as h, withDirectives as g } from "vue";
|
|
5
6
|
//#region src/components/Panel/Panel.vue?vue&type=script&setup=true&lang.ts
|
|
6
|
-
var
|
|
7
|
+
var _ = {
|
|
7
8
|
key: 0,
|
|
8
9
|
class: "wi-panel__header"
|
|
9
|
-
},
|
|
10
|
+
}, v = { class: "wi-panel__title" }, y = ["aria-expanded", "aria-label"], b = { class: "wi-panel__content" }, x = {
|
|
10
11
|
key: 1,
|
|
11
12
|
class: "wi-panel__footer"
|
|
12
|
-
},
|
|
13
|
+
}, S = /* @__PURE__ */ l({
|
|
13
14
|
__name: "Panel",
|
|
14
15
|
props: {
|
|
15
16
|
header: {},
|
|
@@ -22,30 +23,33 @@ var h = {
|
|
|
22
23
|
size: {}
|
|
23
24
|
},
|
|
24
25
|
emits: ["update:collapsed", "update:modelValue"],
|
|
25
|
-
setup(
|
|
26
|
-
let
|
|
27
|
-
"wi-panel--collapsed":
|
|
28
|
-
"wi-panel--small":
|
|
29
|
-
"wi-panel--large":
|
|
26
|
+
setup(l, { emit: S }) {
|
|
27
|
+
let C = l, w = S, T = n(), E = r(() => e(C.size)), D = r(() => C.modelValue ?? C.collapsed ?? !1), O = r(() => ["wi-panel", {
|
|
28
|
+
"wi-panel--collapsed": D.value,
|
|
29
|
+
"wi-panel--small": E.value === "small",
|
|
30
|
+
"wi-panel--large": E.value === "large"
|
|
30
31
|
}]);
|
|
31
|
-
function
|
|
32
|
-
if (!
|
|
33
|
-
let e = !
|
|
34
|
-
|
|
32
|
+
function k() {
|
|
33
|
+
if (!C.toggleable) return;
|
|
34
|
+
let e = !D.value;
|
|
35
|
+
w("update:collapsed", e), w("update:modelValue", e);
|
|
35
36
|
}
|
|
36
|
-
return (e,
|
|
37
|
-
e.$slots.header ||
|
|
37
|
+
return (e, n) => (d(), a("section", { class: u(O.value) }, [
|
|
38
|
+
e.$slots.header || l.header || l.toggleable ? (d(), a("header", _, [o("div", v, [f(e.$slots, "header", {}, () => [s(p(l.header), 1)])]), l.toggleable ? (d(), a("button", {
|
|
38
39
|
key: 0,
|
|
39
40
|
type: "button",
|
|
40
41
|
class: "wi-panel__toggler",
|
|
41
|
-
"aria-expanded": !
|
|
42
|
-
"aria-label":
|
|
43
|
-
onClick:
|
|
44
|
-
}, [
|
|
45
|
-
|
|
46
|
-
|
|
42
|
+
"aria-expanded": !D.value,
|
|
43
|
+
"aria-label": D.value ? m(T).expand : m(T).collapse,
|
|
44
|
+
onClick: k
|
|
45
|
+
}, [c(t, {
|
|
46
|
+
name: D.value ? "chevron-right" : "chevron-down",
|
|
47
|
+
size: "sm"
|
|
48
|
+
}, null, 8, ["name"])], 8, y)) : i("", !0)])) : i("", !0),
|
|
49
|
+
g(o("div", b, [f(e.$slots, "default")], 512), [[h, !D.value]]),
|
|
50
|
+
e.$slots.footer && !D.value ? (d(), a("footer", x, [f(e.$slots, "footer")])) : i("", !0)
|
|
47
51
|
], 2));
|
|
48
52
|
}
|
|
49
53
|
});
|
|
50
54
|
//#endregion
|
|
51
|
-
export {
|
|
55
|
+
export { S as WiPanel };
|
package/dist/panel/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
|
/* —— Panel: Panel —— */
|
|
754
792
|
.wi-panel {
|
|
755
793
|
background: var(--wi-color-surface);
|
package/dist/panel/style.js
CHANGED
package/dist/pick-list/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "../Icon-
|
|
2
|
-
import { n as t } from "../locale-
|
|
1
|
+
import { t as e } from "../Icon-DHGs8l-M.js";
|
|
2
|
+
import { n as t } from "../locale-DxAvgqgB.js";
|
|
3
3
|
import "./style.js";
|
|
4
4
|
import { Fragment as n, computed as r, createElementBlock as i, createElementVNode as a, createTextVNode as o, createVNode as s, defineComponent as c, normalizeClass as l, openBlock as u, ref as d, renderList as f, renderSlot as p, toDisplayString as m, unref as h, withKeys as g, withModifiers as _ } from "vue";
|
|
5
5
|
//#region src/components/PickList/PickList.vue?vue&type=script&setup=true&lang.ts
|
package/dist/pick-list/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
|
}
|
package/dist/popover/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { n as e, t } from "../overlay-oR-5MDuE.js";
|
|
2
|
-
import {
|
|
2
|
+
import { t as n } from "../overlayPlacement-CN1tuC95.js";
|
|
3
|
+
import { c as r } from "../config-CTLkobga.js";
|
|
3
4
|
import "./style.js";
|
|
4
|
-
import { Teleport as
|
|
5
|
-
//#
|
|
6
|
-
|
|
7
|
-
var x = /* @__PURE__ */ d({
|
|
5
|
+
import { 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, nextTick as p, normalizeClass as m, normalizeStyle as h, onBeforeUnmount as g, openBlock as _, ref as v, renderSlot as y, unref as b, useId as x, watch as S, withCtx as C } from "vue";
|
|
6
|
+
//#region src/components/Popover/Popover.vue?vue&type=script&setup=true&lang.ts
|
|
7
|
+
var w = ["aria-expanded", "aria-controls"], T = ["id"], E = /* @__PURE__ */ f({
|
|
8
8
|
__name: "Popover",
|
|
9
9
|
props: {
|
|
10
10
|
modelValue: {
|
|
@@ -26,140 +26,119 @@ var x = /* @__PURE__ */ d({
|
|
|
26
26
|
"show",
|
|
27
27
|
"hide"
|
|
28
28
|
],
|
|
29
|
-
setup(
|
|
30
|
-
let
|
|
31
|
-
function
|
|
32
|
-
|
|
29
|
+
setup(f, { emit: E }) {
|
|
30
|
+
let D = f, O = E, k = r(), A = x(), j = v(null), M = v(null), N = v(null), P = v({}), F = o(() => e(D, k.value.appendTo)), I = o(() => t(D, k.value.appendTo)), L, R;
|
|
31
|
+
function z(e) {
|
|
32
|
+
O("update:modelValue", e);
|
|
33
33
|
}
|
|
34
|
-
function
|
|
35
|
-
|
|
34
|
+
function B() {
|
|
35
|
+
z(!1);
|
|
36
36
|
}
|
|
37
|
-
function
|
|
38
|
-
|
|
37
|
+
function V() {
|
|
38
|
+
L && clearTimeout(L), R && clearTimeout(R), L = void 0, R = void 0;
|
|
39
39
|
}
|
|
40
|
-
function
|
|
41
|
-
|
|
40
|
+
function H() {
|
|
41
|
+
D.trigger === "click" && z(!D.modelValue);
|
|
42
42
|
}
|
|
43
|
-
function
|
|
44
|
-
if (
|
|
45
|
-
if (
|
|
46
|
-
|
|
43
|
+
function U() {
|
|
44
|
+
if (D.trigger === "hover") {
|
|
45
|
+
if (V(), D.showDelay > 0) {
|
|
46
|
+
L = setTimeout(z, D.showDelay, !0);
|
|
47
47
|
return;
|
|
48
48
|
}
|
|
49
|
-
|
|
49
|
+
z(!0);
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
|
-
function
|
|
53
|
-
if (
|
|
54
|
-
if (
|
|
55
|
-
|
|
52
|
+
function W() {
|
|
53
|
+
if (D.trigger === "hover") {
|
|
54
|
+
if (V(), D.hideDelay > 0) {
|
|
55
|
+
R = setTimeout(z, D.hideDelay, !1);
|
|
56
56
|
return;
|
|
57
57
|
}
|
|
58
|
-
|
|
58
|
+
z(!1);
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
|
-
function
|
|
62
|
-
|
|
61
|
+
function G() {
|
|
62
|
+
D.trigger === "hover" && V();
|
|
63
63
|
}
|
|
64
|
-
function
|
|
65
|
-
if (
|
|
66
|
-
if (
|
|
67
|
-
|
|
64
|
+
function K() {
|
|
65
|
+
if (D.trigger === "hover") {
|
|
66
|
+
if (V(), D.hideDelay > 0) {
|
|
67
|
+
R = setTimeout(z, D.hideDelay, !1);
|
|
68
68
|
return;
|
|
69
69
|
}
|
|
70
|
-
|
|
70
|
+
z(!1);
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
-
function
|
|
74
|
-
if (
|
|
75
|
-
if (
|
|
76
|
-
|
|
73
|
+
function q() {
|
|
74
|
+
if (D.trigger === "focus") {
|
|
75
|
+
if (V(), D.showDelay > 0) {
|
|
76
|
+
L = setTimeout(z, D.showDelay, !0);
|
|
77
77
|
return;
|
|
78
78
|
}
|
|
79
|
-
|
|
79
|
+
z(!0);
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
|
-
function
|
|
83
|
-
if (
|
|
84
|
-
if (
|
|
85
|
-
|
|
82
|
+
function J() {
|
|
83
|
+
if (D.trigger === "focus") {
|
|
84
|
+
if (V(), D.hideDelay > 0) {
|
|
85
|
+
R = setTimeout(z, D.hideDelay, !1);
|
|
86
86
|
return;
|
|
87
87
|
}
|
|
88
|
-
|
|
88
|
+
z(!1);
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
|
-
function
|
|
92
|
-
|
|
93
|
-
let e = E.value.getBoundingClientRect(), t = e.left + e.width / 2, n = e.top + e.height / 2;
|
|
94
|
-
S.placement === "top" ? O.value = {
|
|
95
|
-
left: `${t}px`,
|
|
96
|
-
top: `${e.top - 8}px`,
|
|
97
|
-
transform: "translate(-50%, -100%)"
|
|
98
|
-
} : S.placement === "bottom" ? O.value = {
|
|
99
|
-
left: `${t}px`,
|
|
100
|
-
top: `${e.bottom + 8}px`,
|
|
101
|
-
transform: "translateX(-50%)"
|
|
102
|
-
} : S.placement === "left" ? O.value = {
|
|
103
|
-
left: `${e.left - 8}px`,
|
|
104
|
-
top: `${n}px`,
|
|
105
|
-
transform: "translate(-100%, -50%)"
|
|
106
|
-
} : S.placement === "right" ? O.value = {
|
|
107
|
-
left: `${e.right + 8}px`,
|
|
108
|
-
top: `${n}px`,
|
|
109
|
-
transform: "translateY(-50%)"
|
|
110
|
-
} : S.placement === "bottom-end" ? O.value = {
|
|
111
|
-
left: `${e.right}px`,
|
|
112
|
-
top: `${e.bottom + 8}px`,
|
|
113
|
-
transform: "translateX(-100%)"
|
|
114
|
-
} : O.value = {
|
|
115
|
-
left: `${e.left}px`,
|
|
116
|
-
top: `${e.bottom + 8}px`
|
|
117
|
-
};
|
|
91
|
+
function Y() {
|
|
92
|
+
!I.value || !M.value || (P.value = n(M.value.getBoundingClientRect(), D.placement));
|
|
118
93
|
}
|
|
119
|
-
function
|
|
94
|
+
function X(e) {
|
|
120
95
|
let t = e.target;
|
|
121
|
-
|
|
96
|
+
j.value?.contains(t) || N.value?.contains(t) || B();
|
|
122
97
|
}
|
|
123
|
-
function
|
|
124
|
-
e.key === "Escape" &&
|
|
98
|
+
function Z(e) {
|
|
99
|
+
e.key === "Escape" && B();
|
|
125
100
|
}
|
|
126
|
-
function
|
|
127
|
-
|
|
101
|
+
function Q() {
|
|
102
|
+
D.modelValue && Y();
|
|
128
103
|
}
|
|
129
|
-
return
|
|
130
|
-
e ? (document.addEventListener("click",
|
|
131
|
-
}, { immediate: !0 }),
|
|
132
|
-
|
|
133
|
-
}), (e, t) => (
|
|
104
|
+
return S(() => D.modelValue, async (e, t) => {
|
|
105
|
+
e ? (document.addEventListener("click", X), document.addEventListener("keydown", Z), I.value && (window.addEventListener("resize", Q), window.addEventListener("scroll", Q, !0)), O("show"), await p(), Y()) : (document.removeEventListener("click", X), document.removeEventListener("keydown", Z), window.removeEventListener("resize", Q), window.removeEventListener("scroll", Q, !0), t && O("hide"));
|
|
106
|
+
}, { immediate: !0 }), g(() => {
|
|
107
|
+
V(), document.removeEventListener("click", X), document.removeEventListener("keydown", Z), window.removeEventListener("resize", Q), window.removeEventListener("scroll", Q, !0);
|
|
108
|
+
}), (e, t) => (_(), l("span", {
|
|
134
109
|
ref_key: "root",
|
|
135
|
-
ref:
|
|
110
|
+
ref: j,
|
|
136
111
|
class: "wi-popover",
|
|
137
|
-
onMouseenter:
|
|
138
|
-
onMouseleave:
|
|
139
|
-
}, [
|
|
112
|
+
onMouseenter: U,
|
|
113
|
+
onMouseleave: W
|
|
114
|
+
}, [u("span", {
|
|
140
115
|
ref_key: "trigger",
|
|
141
|
-
ref:
|
|
116
|
+
ref: M,
|
|
142
117
|
class: "wi-popover__trigger",
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
}, [
|
|
150
|
-
|
|
118
|
+
"aria-haspopup": "dialog",
|
|
119
|
+
"aria-expanded": f.modelValue,
|
|
120
|
+
"aria-controls": b(A),
|
|
121
|
+
onClick: H,
|
|
122
|
+
onFocusin: q,
|
|
123
|
+
onFocusout: J
|
|
124
|
+
}, [y(e.$slots, "default")], 40, w), (_(), s(i, {
|
|
125
|
+
to: F.value.to,
|
|
126
|
+
disabled: F.value.disabled
|
|
127
|
+
}, [d(a, { name: "wi-popover" }, {
|
|
128
|
+
default: C(() => [f.modelValue ? (_(), l("div", {
|
|
151
129
|
key: 0,
|
|
152
130
|
ref_key: "panel",
|
|
153
|
-
ref:
|
|
154
|
-
|
|
155
|
-
|
|
131
|
+
ref: N,
|
|
132
|
+
id: b(A),
|
|
133
|
+
class: m(["wi-popover__content", [`wi-popover__content--${f.placement}`, { "wi-popover__content--teleported": I.value }]]),
|
|
134
|
+
style: h(I.value ? P.value : void 0),
|
|
156
135
|
role: "dialog",
|
|
157
|
-
onMouseenter:
|
|
158
|
-
onMouseleave:
|
|
159
|
-
}, [
|
|
136
|
+
onMouseenter: G,
|
|
137
|
+
onMouseleave: K
|
|
138
|
+
}, [y(e.$slots, "content")], 46, T)) : c("", !0)]),
|
|
160
139
|
_: 3
|
|
161
140
|
})], 8, ["to", "disabled"]))], 544));
|
|
162
141
|
}
|
|
163
142
|
});
|
|
164
143
|
//#endregion
|
|
165
|
-
export {
|
|
144
|
+
export { E as WiPopover };
|
package/dist/popover/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
|
}
|
|
@@ -815,3 +814,44 @@
|
|
|
815
814
|
transform: none;
|
|
816
815
|
z-index: var(--wi-z-toast);
|
|
817
816
|
}
|
|
817
|
+
|
|
818
|
+
.wi-popover-enter-active,
|
|
819
|
+
.wi-popover-leave-active {
|
|
820
|
+
transition:
|
|
821
|
+
opacity var(--wi-motion-normal) var(--wi-motion-ease),
|
|
822
|
+
transform var(--wi-motion-normal) var(--wi-motion-ease);
|
|
823
|
+
}
|
|
824
|
+
|
|
825
|
+
.wi-popover-enter-from,
|
|
826
|
+
.wi-popover-leave-to {
|
|
827
|
+
opacity: 0;
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
.wi-popover-enter-from:not(.wi-popover__content--teleported),
|
|
831
|
+
.wi-popover-leave-to:not(.wi-popover__content--teleported) {
|
|
832
|
+
transform: translateY(calc(var(--wi-motion-distance) * -1));
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
.wi-popover__content--top.wi-popover-enter-from,
|
|
836
|
+
.wi-popover__content--top.wi-popover-leave-to {
|
|
837
|
+
transform: translate(-50%, calc(-100% - var(--wi-motion-distance)));
|
|
838
|
+
}
|
|
839
|
+
|
|
840
|
+
.wi-popover__content--bottom.wi-popover-enter-from,
|
|
841
|
+
.wi-popover__content--bottom.wi-popover-leave-to,
|
|
842
|
+
.wi-popover__content--bottom-start.wi-popover-enter-from,
|
|
843
|
+
.wi-popover__content--bottom-start.wi-popover-leave-to,
|
|
844
|
+
.wi-popover__content--bottom-end.wi-popover-enter-from,
|
|
845
|
+
.wi-popover__content--bottom-end.wi-popover-leave-to {
|
|
846
|
+
transform: translateY(var(--wi-motion-distance));
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
.wi-popover__content--left.wi-popover-enter-from,
|
|
850
|
+
.wi-popover__content--left.wi-popover-leave-to {
|
|
851
|
+
transform: translate(calc(-100% - var(--wi-motion-distance)), -50%);
|
|
852
|
+
}
|
|
853
|
+
|
|
854
|
+
.wi-popover__content--right.wi-popover-enter-from,
|
|
855
|
+
.wi-popover__content--right.wi-popover-leave-to {
|
|
856
|
+
transform: translate(var(--wi-motion-distance), -50%);
|
|
857
|
+
}
|
|
@@ -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
|
}
|