@ironsource/shared-ui 2.1.2 → 2.1.3-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_f0c4710f_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_78c1497e_lang.css +1 -0
- package/README.md +1 -1
- package/components/dropdown/v4/DefaultDropdownTrigger.vue.d.ts +5 -0
- package/components/dropdown/v4/DefaultDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/DefaultDropdownTrigger.vue2.js +15 -13
- package/components/dropdown/v4/DropdownV4.vue.d.ts +5 -0
- package/components/dropdown/v4/DropdownV4.vue.js +2 -2
- package/components/dropdown/v4/DropdownV4.vue2.js +60 -58
- package/components/dropdown/v4/dropdownStoryArgs.d.ts +8 -0
- package/components/dropdown/v4/index.d.ts +40 -2
- package/index.d.ts +80 -4
- package/package.json +6 -2
- package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_5fa01c78_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_258b9f7e_lang.css +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.default-dropdown-wrapper[data-v-f0c4710f]{position:relative}.dropdown-trigger[data-v-f0c4710f]{width:100%;padding:.3125rem .4375rem;display:flex;column-gap:.5rem;max-width:100%;box-sizing:border-box;border-radius:var(--border-radius-md);border:1px solid var(--action-outlined-border);background:var(--default-main);cursor:pointer;user-select:none;position:relative}.dropdown-trigger[data-v-f0c4710f]:hover{border:1px solid var(--action-active);background:var(--action-hover)}.dropdown-trigger.small[data-v-f0c4710f]{padding:.1875rem .4375rem}.dropdown-trigger.large[data-v-f0c4710f]{padding:.5625rem .4375rem}.dropdown-trigger.disabled[data-v-f0c4710f]{border:1px solid var(--action-outlined-border, #bbb);background:var(--action-disabled-background, #f1f1f1);cursor:not-allowed}.dropdown-trigger.open[data-v-f0c4710f]{padding:.25rem .375rem;border:2px solid var(--primary-main)}.dropdown-trigger.open.small[data-v-f0c4710f]{padding:.125rem .375rem}.dropdown-trigger.open.large[data-v-f0c4710f]{padding:.5rem .375rem}.dropdown-trigger.state-error[data-v-f0c4710f]{padding:4px 6px;border:2px solid var(--error-main)}.dropdown-trigger.state-success[data-v-f0c4710f]{padding:4px 6px;border:2px solid var(--success-main)}.dropdown-trigger.state-warning[data-v-f0c4710f]{padding:4px 6px;border:2px solid var(--warning-dark)}.dropdown-trigger .caret-down[data-v-f0c4710f]{color:var(--action-active)}.content[data-v-f0c4710f]{width:calc(100% - 28px);display:flex;gap:.25rem;align-items:center;color:var(--text-primary)}.content .displayed-value[data-v-f0c4710f]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.content .image[data-v-f0c4710f]{width:20px;height:20px;flex:none}.content .image img[data-v-f0c4710f]{border-radius:4px;width:100%;height:100%}.content .start-icon[data-v-f0c4710f]{display:flex;color:var(--action-active)}.content .status-dot[data-v-f0c4710f]{padding-right:.25rem}.content .status-dot>div[data-v-f0c4710f]{position:relative;top:-1px}.dropdown-field-label[data-v-f0c4710f]{color:var(--text-primary)}.dropdown-field-help-text[data-v-f0c4710f]{margin-top:4px;position:absolute}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.v-enter-active[data-v-78c1497e],.v-leave-active[data-v-78c1497e]{transition:opacity .25s ease}ol[data-v-78c1497e],ul[data-v-78c1497e],menu[data-v-78c1497e]{list-style:none;margin:0;padding:0}.dropdown.full-width[data-v-78c1497e],.dropdown.full-width .button__container[data-v-78c1497e]{width:100%}.dropdown-list-wrapper[data-v-78c1497e]{display:flex;flex-direction:column;padding:.5rem}.list-container--multi[data-v-78c1497e]{margin-bottom:0}.inline-search .inline-search-wrapper[data-v-78c1497e]{padding-bottom:.25rem}.inline-search .list-container[data-v-78c1497e]{padding-top:0}.no-result-container[data-v-78c1497e]{height:100%;display:flex;align-items:center;padding:.375rem .5rem;color:var(--text-disabled)}.no-result[data-v-78c1497e]{color:var(--text-disabled);padding-left:.5rem}.list[data-v-78c1497e]{outline:none;display:flex;flex-direction:column;width:100%;min-height:2rem}.list--multi[data-v-78c1497e]{margin-bottom:.5rem;border-bottom-left-radius:0;border-bottom-right-radius:0}.list li[data-v-78c1497e]:last-child .item-container{margin-bottom:0}.image-slot[data-v-78c1497e]{margin-right:.5rem}.actions-wrapper[data-v-78c1497e]{display:flex;width:100%;padding:.5rem .5rem .5rem .125rem;padding-bottom:0;border-top:1px solid var(--common-divider);justify-content:space-between}.apply-button[data-v-78c1497e]{margin-left:.5rem}
|
package/README.md
CHANGED
|
@@ -129,4 +129,4 @@ cd e2e/playwright
|
|
|
129
129
|
npm run pw:ui:local
|
|
130
130
|
```
|
|
131
131
|
|
|
132
|
-
Read more about this project <a href="https://github.com/ironsource-mobile/shared-ui-ssp/blob/main/e2e/playwright/README.md">here</a
|
|
132
|
+
Read more about this project <a href="https://github.com/ironsource-mobile/shared-ui-ssp/blob/main/e2e/playwright/README.md">here</a>.
|
|
@@ -13,6 +13,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
13
13
|
hoverHelpTextPlacement?: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
|
|
14
14
|
feedbackVariant?: "success" | "warning" | "error";
|
|
15
15
|
feedbackText?: string;
|
|
16
|
+
showFeedbackIcon?: boolean;
|
|
16
17
|
loading?: boolean;
|
|
17
18
|
singleAppSelection?: boolean;
|
|
18
19
|
brandIconType?: "android" | "ios";
|
|
@@ -37,6 +38,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
37
38
|
hoverHelpTextPlacement: string;
|
|
38
39
|
feedbackText: string;
|
|
39
40
|
feedbackVariant: any;
|
|
41
|
+
showFeedbackIcon: boolean;
|
|
40
42
|
loading: boolean;
|
|
41
43
|
singleAppSelection: boolean;
|
|
42
44
|
brandIconType: any;
|
|
@@ -62,6 +64,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
62
64
|
hoverHelpTextPlacement?: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
|
|
63
65
|
feedbackVariant?: "success" | "warning" | "error";
|
|
64
66
|
feedbackText?: string;
|
|
67
|
+
showFeedbackIcon?: boolean;
|
|
65
68
|
loading?: boolean;
|
|
66
69
|
singleAppSelection?: boolean;
|
|
67
70
|
brandIconType?: "android" | "ios";
|
|
@@ -86,6 +89,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
86
89
|
hoverHelpTextPlacement: string;
|
|
87
90
|
feedbackText: string;
|
|
88
91
|
feedbackVariant: any;
|
|
92
|
+
showFeedbackIcon: boolean;
|
|
89
93
|
loading: boolean;
|
|
90
94
|
singleAppSelection: boolean;
|
|
91
95
|
brandIconType: any;
|
|
@@ -118,6 +122,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
118
122
|
hoverHelpTextPlacement: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
|
|
119
123
|
feedbackText: string;
|
|
120
124
|
feedbackVariant: "success" | "warning" | "error";
|
|
125
|
+
showFeedbackIcon: boolean;
|
|
121
126
|
statusDotType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
|
|
122
127
|
}>, {
|
|
123
128
|
image?(_: {}): any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./DefaultDropdownTrigger.vue2.js";
|
|
2
2
|
/* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../DefaultDropdownTrigger.
|
|
4
|
-
const p = /* @__PURE__ */ e(o, [["__scopeId", "data-v-
|
|
3
|
+
// import "../../../DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_f0c4710f_lang.css"; //*');
|
|
4
|
+
const p = /* @__PURE__ */ e(o, [["__scopeId", "data-v-f0c4710f"]]);
|
|
5
5
|
export {
|
|
6
6
|
p as default
|
|
7
7
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "../../../DefaultDropdownTrigger.
|
|
2
|
-
import
|
|
1
|
+
import "../../../DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_f0c4710f_lang.css"; import { defineComponent as I, computed as r, openBlock as a, createElementBlock as n, createBlock as m, createCommentVNode as o, createElementVNode as c, mergeProps as y, unref as l, renderSlot as h, createVNode as s, withCtx as O, createTextVNode as x, toDisplayString as w } from "vue";
|
|
2
|
+
import V from "../../typography/v4/Typography.vue.js";
|
|
3
3
|
import { DropdownTestIdModifiers as u } from "../../../testids/index.js";
|
|
4
4
|
import T from "../../icon/v4/IconV4.vue.js";
|
|
5
|
-
import
|
|
5
|
+
import B from "../../shared/FieldLabel.vue.js";
|
|
6
6
|
import D from "../../shared/FieldHelpText.vue.js";
|
|
7
7
|
import { useTestIdAttrs as A } from "../../../utils/testIds.js";
|
|
8
8
|
import N from "../../statusDot/StatusDot.vue.js";
|
|
@@ -15,7 +15,7 @@ const K = { class: "default-dropdown-wrapper" }, $ = { class: "content" }, C = {
|
|
|
15
15
|
}, S = {
|
|
16
16
|
key: 2,
|
|
17
17
|
class: "status-dot"
|
|
18
|
-
}, z = { class: "caret-down" }, G = /* @__PURE__ */
|
|
18
|
+
}, z = { class: "caret-down" }, G = /* @__PURE__ */ I({
|
|
19
19
|
__name: "DefaultDropdownTrigger",
|
|
20
20
|
props: {
|
|
21
21
|
placeholder: { default: "Select" },
|
|
@@ -32,6 +32,7 @@ const K = { class: "default-dropdown-wrapper" }, $ = { class: "content" }, C = {
|
|
|
32
32
|
hoverHelpTextPlacement: { default: "top" },
|
|
33
33
|
feedbackVariant: { default: null },
|
|
34
34
|
feedbackText: { default: "" },
|
|
35
|
+
showFeedbackIcon: { type: Boolean, default: !1 },
|
|
35
36
|
loading: { type: Boolean, default: !1 },
|
|
36
37
|
singleAppSelection: { type: Boolean, default: !1 },
|
|
37
38
|
brandIconType: { default: null },
|
|
@@ -43,11 +44,11 @@ const K = { class: "default-dropdown-wrapper" }, $ = { class: "content" }, C = {
|
|
|
43
44
|
statusDotType: { default: null }
|
|
44
45
|
},
|
|
45
46
|
emits: ["click"],
|
|
46
|
-
setup(t, { emit:
|
|
47
|
-
const e = t,
|
|
47
|
+
setup(t, { emit: b }) {
|
|
48
|
+
const e = t, g = r(
|
|
48
49
|
() => e.feedbackVariant ? `state-${e.feedbackVariant}` : ""
|
|
49
50
|
), k = () => {
|
|
50
|
-
|
|
51
|
+
b("click");
|
|
51
52
|
}, f = A(e.testId, u), v = r(() => e.multi ? !Array.isArray(e.selectedOption) || !e.selectedOption?.length ? e.placeholder : e.options?.length === e.selectedOption.length ? `All selected (${e.selectedOption.length})` : e.selectedOption?.length === 1 && e.displayValue ? e.displayValue(e.selectedOption[0]) : `${e.selectedOption.length} selected` : e.selectedOption ? e.displayValue(e.selectedOption) : e.placeholder), d = r(() => {
|
|
52
53
|
if (!e.selectedOption)
|
|
53
54
|
return null;
|
|
@@ -57,7 +58,7 @@ const K = { class: "default-dropdown-wrapper" }, $ = { class: "content" }, C = {
|
|
|
57
58
|
return e.selectedOption.length === 1 ? e.selectedOption[0] : null;
|
|
58
59
|
});
|
|
59
60
|
return (i, p) => (a(), n("div", K, [
|
|
60
|
-
t.label ? (a(), m(
|
|
61
|
+
t.label ? (a(), m(B, {
|
|
61
62
|
key: 0,
|
|
62
63
|
label: t.label,
|
|
63
64
|
mandatory: t.mandatory,
|
|
@@ -68,7 +69,7 @@ const K = { class: "default-dropdown-wrapper" }, $ = { class: "content" }, C = {
|
|
|
68
69
|
class: "dropdown-field-label"
|
|
69
70
|
}, null, 8, ["label", "mandatory", "hover-help-text", "hover-help-text-placement", "disabled", "test-id"])) : o("", !0),
|
|
70
71
|
c("div", y({
|
|
71
|
-
class: ["dropdown-trigger", [t.size, l(
|
|
72
|
+
class: ["dropdown-trigger", [t.size, l(g), { open: t.open, disabled: t.disabled }]]
|
|
72
73
|
}, l(f)[l(u).BUTTON_WRAPPER], {
|
|
73
74
|
onClick: p[0] || (p[0] = (E) => k())
|
|
74
75
|
}), [
|
|
@@ -93,9 +94,9 @@ const K = { class: "default-dropdown-wrapper" }, $ = { class: "content" }, C = {
|
|
|
93
94
|
t.statusDotType ? (a(), n("div", S, [
|
|
94
95
|
s(l(N), { type: t.statusDotType }, null, 8, ["type"])
|
|
95
96
|
])) : o("", !0),
|
|
96
|
-
s(l(
|
|
97
|
-
default:
|
|
98
|
-
x(
|
|
97
|
+
s(l(V), y({ variant: "body1" }, l(f)[l(u).BUTTON_CONTENT], { class: "displayed-value" }), {
|
|
98
|
+
default: O(() => [
|
|
99
|
+
x(w(l(v)), 1)
|
|
99
100
|
]),
|
|
100
101
|
_: 1
|
|
101
102
|
}, 16)
|
|
@@ -111,9 +112,10 @@ const K = { class: "default-dropdown-wrapper" }, $ = { class: "content" }, C = {
|
|
|
111
112
|
key: 1,
|
|
112
113
|
text: t.feedbackText,
|
|
113
114
|
variant: t.feedbackVariant,
|
|
115
|
+
"show-icon": t.showFeedbackIcon,
|
|
114
116
|
"test-id": t.testId,
|
|
115
117
|
class: "dropdown-field-help-text"
|
|
116
|
-
}, null, 8, ["text", "variant", "test-id"])) : o("", !0)
|
|
118
|
+
}, null, 8, ["text", "variant", "show-icon", "test-id"])) : o("", !0)
|
|
117
119
|
]));
|
|
118
120
|
}
|
|
119
121
|
});
|
|
@@ -28,6 +28,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
28
28
|
triggerHelperText?: string;
|
|
29
29
|
triggerFeedbackText?: string;
|
|
30
30
|
triggerFeedbackVariant?: "success" | "warning" | "error";
|
|
31
|
+
triggerFeedbackShowIcon?: boolean;
|
|
31
32
|
size?: "small" | "medium" | "large";
|
|
32
33
|
mandatory?: boolean;
|
|
33
34
|
predefinedTrigger?: "default" | "icon-button" | "chip" | "app";
|
|
@@ -79,6 +80,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
79
80
|
triggerHelperText: string;
|
|
80
81
|
triggerFeedbackText: string;
|
|
81
82
|
triggerFeedbackVariant: any;
|
|
83
|
+
triggerFeedbackShowIcon: boolean;
|
|
82
84
|
searchAutoFocus: boolean;
|
|
83
85
|
predefinedTrigger: "default" | "icon-button" | "chip" | "app";
|
|
84
86
|
optionNameKey: string;
|
|
@@ -127,6 +129,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
127
129
|
triggerHelperText?: string;
|
|
128
130
|
triggerFeedbackText?: string;
|
|
129
131
|
triggerFeedbackVariant?: "success" | "warning" | "error";
|
|
132
|
+
triggerFeedbackShowIcon?: boolean;
|
|
130
133
|
size?: "small" | "medium" | "large";
|
|
131
134
|
mandatory?: boolean;
|
|
132
135
|
predefinedTrigger?: "default" | "icon-button" | "chip" | "app";
|
|
@@ -178,6 +181,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
178
181
|
triggerHelperText: string;
|
|
179
182
|
triggerFeedbackText: string;
|
|
180
183
|
triggerFeedbackVariant: any;
|
|
184
|
+
triggerFeedbackShowIcon: boolean;
|
|
181
185
|
searchAutoFocus: boolean;
|
|
182
186
|
predefinedTrigger: "default" | "icon-button" | "chip" | "app";
|
|
183
187
|
optionNameKey: string;
|
|
@@ -230,6 +234,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
230
234
|
triggerHelperText: string;
|
|
231
235
|
triggerFeedbackText: string;
|
|
232
236
|
triggerFeedbackVariant: "success" | "warning" | "error";
|
|
237
|
+
triggerFeedbackShowIcon: boolean;
|
|
233
238
|
searchAutoFocus: boolean;
|
|
234
239
|
predefinedTrigger: "default" | "icon-button" | "chip" | "app";
|
|
235
240
|
fullWidth: boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import o from "./DropdownV4.vue2.js";
|
|
2
2
|
/* empty css *//* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../DropdownV4.
|
|
3
|
+
// import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_78c1497e_lang.css"; //*');
|
|
4
4
|
// import "../../../DropdownV4.vue_vue_type_style_index_1_lang.css"; //');
|
|
5
|
-
const r = /* @__PURE__ */ e(o, [["__scopeId", "data-v-
|
|
5
|
+
const r = /* @__PURE__ */ e(o, [["__scopeId", "data-v-78c1497e"]]);
|
|
6
6
|
export {
|
|
7
7
|
r as default
|
|
8
8
|
};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import "../../../DropdownV4.
|
|
1
|
+
import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_78c1497e_lang.css"; import "../../../DropdownV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as ae, computed as F, openBlock as i, createElementBlock as n, mergeProps as s, unref as e, renderSlot as I, createElementVNode as y, createVNode as a, withCtx as u, Transition as de, normalizeClass as V, normalizeStyle as re, isRef as se, createCommentVNode as d, createTextVNode as g, toDisplayString as ue, withModifiers as x, Fragment as ce, renderList as fe, toRaw as T, createBlock as me, resolveDynamicComponent as ye } from "vue";
|
|
2
2
|
import A from "../../button/v4/ButtonV4.vue.js";
|
|
3
3
|
import "../../button/v4/IconButtonV4.vue.js";
|
|
4
4
|
import "./DropdownV4.vue.js";
|
|
5
|
-
import
|
|
5
|
+
import pe from "./DefaultDropdownTrigger.vue.js";
|
|
6
6
|
import ge from "./IconButtonDropdownTrigger.vue.js";
|
|
7
7
|
import he from "./ChipDropdownTrigger.vue.js";
|
|
8
|
-
import
|
|
8
|
+
import ke from "./AppDropdownTrigger.vue.js";
|
|
9
9
|
import $ from "./OptionV4.vue.js";
|
|
10
|
-
import
|
|
10
|
+
import Te from "../../search/v4/SearchV4.vue.js";
|
|
11
11
|
import H from "../../typography/v4/Typography.vue.js";
|
|
12
|
-
import { Dropdown as
|
|
12
|
+
import { Dropdown as be } from "floating-vue";
|
|
13
13
|
import { DropdownTestIdModifiers as c } from "../../../testids/index.js";
|
|
14
|
-
import { dropdownCommon as
|
|
14
|
+
import { dropdownCommon as ve } from "../common/Dropdown.common.js";
|
|
15
15
|
import Ie from "../../loader/v4/Loader.vue.js";
|
|
16
|
-
import { useTestIdAttrs as
|
|
17
|
-
import { TRIGGERS as
|
|
18
|
-
import { useElementSize as
|
|
19
|
-
const Se = ["tabindex"], Ae = { style: { width: "100%" } }, Le = { key: 0 },
|
|
16
|
+
import { useTestIdAttrs as we } from "../../../utils/testIds.js";
|
|
17
|
+
import { TRIGGERS as p } from "./Dropdown.types.js";
|
|
18
|
+
import { useElementSize as Ce } from "@vueuse/core";
|
|
19
|
+
const Se = ["tabindex"], Ae = { style: { width: "100%" } }, Le = { key: 0 }, Be = { key: 1 }, Ne = { key: 2 }, Oe = {
|
|
20
20
|
key: 0,
|
|
21
21
|
class: "inline-search-wrapper"
|
|
22
22
|
}, De = {
|
|
@@ -28,7 +28,7 @@ const Se = ["tabindex"], Ae = { style: { width: "100%" } }, Le = { key: 0 }, Ne
|
|
|
28
28
|
}, Re = { key: 2 }, Pe = ["aria-selected", "aria-disabled", "onClick"], ze = {
|
|
29
29
|
key: 1,
|
|
30
30
|
class: "actions-wrapper"
|
|
31
|
-
}, Ke = { class: "actions-clear-all" },
|
|
31
|
+
}, Ke = { class: "actions-clear-all" }, Fe = { class: "actions-apply-cancel" }, ot = /* @__PURE__ */ ae({
|
|
32
32
|
__name: "DropdownV4",
|
|
33
33
|
props: {
|
|
34
34
|
modelValue: { default: null },
|
|
@@ -56,9 +56,10 @@ const Se = ["tabindex"], Ae = { style: { width: "100%" } }, Le = { key: 0 }, Ne
|
|
|
56
56
|
triggerHelperText: { default: "" },
|
|
57
57
|
triggerFeedbackText: { default: "" },
|
|
58
58
|
triggerFeedbackVariant: { default: null },
|
|
59
|
+
triggerFeedbackShowIcon: { type: Boolean, default: !1 },
|
|
59
60
|
size: { default: "medium" },
|
|
60
61
|
mandatory: { type: Boolean, default: !1 },
|
|
61
|
-
predefinedTrigger: { default:
|
|
62
|
+
predefinedTrigger: { default: p.DEFAULT },
|
|
62
63
|
inlineSearch: { type: Boolean, default: !1 },
|
|
63
64
|
inlineSearchPlaceholder: { default: "Search" },
|
|
64
65
|
onSearch: { type: Function, default: null },
|
|
@@ -87,19 +88,19 @@ const Se = ["tabindex"], Ae = { style: { width: "100%" } }, Le = { key: 0 }, Ne
|
|
|
87
88
|
}, {
|
|
88
89
|
onKeydown: h,
|
|
89
90
|
open: f,
|
|
90
|
-
toggleMenu:
|
|
91
|
+
toggleMenu: w,
|
|
91
92
|
onButtonKeydown: M,
|
|
92
|
-
query:
|
|
93
|
+
query: C,
|
|
93
94
|
containerProps: G,
|
|
94
95
|
calculateTableHeight: X,
|
|
95
|
-
wrapperProps:
|
|
96
|
+
wrapperProps: B,
|
|
96
97
|
filteredOptions: q,
|
|
97
|
-
allSelected:
|
|
98
|
+
allSelected: N,
|
|
98
99
|
isIndeterminate: Y,
|
|
99
100
|
onSelectAll: j,
|
|
100
101
|
virtualOptions: O,
|
|
101
102
|
isSelected: S,
|
|
102
|
-
selectedOption:
|
|
103
|
+
selectedOption: k,
|
|
103
104
|
onSelect: D,
|
|
104
105
|
activeIndex: E,
|
|
105
106
|
onCancel: J,
|
|
@@ -112,15 +113,15 @@ const Se = ["tabindex"], Ae = { style: { width: "100%" } }, Le = { key: 0 }, Ne
|
|
|
112
113
|
el: le,
|
|
113
114
|
onClearAllSelections: P,
|
|
114
115
|
clearAll: oe
|
|
115
|
-
} =
|
|
116
|
+
} = ve(r, W, L);
|
|
116
117
|
U({
|
|
117
118
|
selectItem: D,
|
|
118
119
|
scrollTo: Z
|
|
119
120
|
});
|
|
120
|
-
const m =
|
|
121
|
-
|
|
121
|
+
const m = we(r.testId, c), z = F(() => !r.predefinedTrigger || r.predefinedTrigger === p.DEFAULT ? pe : r.predefinedTrigger === p.APP ? ke : null), { width: K } = Ce(R), ie = F(() => r.optionsListWidth ? r.optionsListWidth : !r.predefinedTrigger || r.predefinedTrigger === p.DEFAULT || r.predefinedTrigger === p.APP ? K.value - 2 > 240 ? `${K.value - 2}px` : `${L.DROPLIST_MIN_WIDTH}px` : "auto"), ne = () => {
|
|
122
|
+
w();
|
|
122
123
|
};
|
|
123
|
-
return (
|
|
124
|
+
return (b, o) => (i(), n("div", s({
|
|
124
125
|
ref_key: "el",
|
|
125
126
|
ref: le,
|
|
126
127
|
class: ["dropdown dropdown--main-wrapper", [{ "dropdown--disabled": t.disabled, "full-width": t.fullWidth }]],
|
|
@@ -129,9 +130,9 @@ const Se = ["tabindex"], Ae = { style: { width: "100%" } }, Le = { key: 0 }, Ne
|
|
|
129
130
|
onKeydown: o[6] || (o[6] = //@ts-ignore
|
|
130
131
|
(...l) => e(h) && e(h)(...l))
|
|
131
132
|
}), [
|
|
132
|
-
I(
|
|
133
|
-
|
|
134
|
-
a(e(
|
|
133
|
+
I(b.$slots, "label", {}, void 0, !0),
|
|
134
|
+
y("div", Ae, [
|
|
135
|
+
a(e(be), s({
|
|
135
136
|
theme: t.theme,
|
|
136
137
|
"popper-class": [
|
|
137
138
|
t.popperClass,
|
|
@@ -156,7 +157,7 @@ const Se = ["tabindex"], Ae = { style: { width: "100%" } }, Le = { key: 0 }, Ne
|
|
|
156
157
|
key: 0,
|
|
157
158
|
ref_key: "listRef",
|
|
158
159
|
ref: _,
|
|
159
|
-
class:
|
|
160
|
+
class: V(["light-theme-v4", {
|
|
160
161
|
"dropdown--disabled": t.disabled,
|
|
161
162
|
"inline-search": t.inlineSearch
|
|
162
163
|
}]),
|
|
@@ -169,10 +170,10 @@ const Se = ["tabindex"], Ae = { style: { width: "100%" } }, Le = { key: 0 }, Ne
|
|
|
169
170
|
(...l) => e(h) && e(h)(...l))
|
|
170
171
|
}, [
|
|
171
172
|
e(f) && t.inlineSearch ? (i(), n("div", Oe, [
|
|
172
|
-
a(e(
|
|
173
|
-
modelValue: e(
|
|
173
|
+
a(e(Te), {
|
|
174
|
+
modelValue: e(C),
|
|
174
175
|
"onUpdate:modelValue": [
|
|
175
|
-
o[3] || (o[3] = (l) => se(
|
|
176
|
+
o[3] || (o[3] = (l) => se(C) ? C.value = l : null),
|
|
176
177
|
t.onClear
|
|
177
178
|
],
|
|
178
179
|
placeholder: t.inlineSearchPlaceholder,
|
|
@@ -183,17 +184,17 @@ const Se = ["tabindex"], Ae = { style: { width: "100%" } }, Le = { key: 0 }, Ne
|
|
|
183
184
|
onKeydown: e(h)
|
|
184
185
|
}, null, 8, ["modelValue", "placeholder", "auto-focus", "test-id", "onUpdate:modelValue", "onKeydown"])
|
|
185
186
|
])) : d("", !0),
|
|
186
|
-
I(
|
|
187
|
-
|
|
187
|
+
I(b.$slots, "input-list", { open: e(f) }, void 0, !0),
|
|
188
|
+
y("div", s({
|
|
188
189
|
class: ["list-container", { "list-container--multi": t.multi }],
|
|
189
190
|
style: { height: `${e(X)}rem` }
|
|
190
191
|
}, {
|
|
191
192
|
...e(G),
|
|
192
193
|
...e(m)[e(c).LIST_CONTAINER]
|
|
193
194
|
}), [
|
|
194
|
-
|
|
195
|
+
y("ul", s(e(B), {
|
|
195
196
|
style: {
|
|
196
|
-
height: Number(e(
|
|
197
|
+
height: Number(e(B).style.height) - 4
|
|
197
198
|
},
|
|
198
199
|
role: "listbox",
|
|
199
200
|
class: ["list", { "list--multi": t.multi }]
|
|
@@ -218,15 +219,15 @@ const Se = ["tabindex"], Ae = { style: { width: "100%" } }, Le = { key: 0 }, Ne
|
|
|
218
219
|
t.showSelectAll !== !1 && t.multi ? (i(), n("li", Re, [
|
|
219
220
|
a(e($), s(
|
|
220
221
|
{
|
|
221
|
-
"aria-selected": e(
|
|
222
|
+
"aria-selected": e(N),
|
|
222
223
|
"aria-disabled": !!t.disabled,
|
|
223
|
-
"selected-prop": e(
|
|
224
|
+
"selected-prop": e(N),
|
|
224
225
|
"is-indeterminate": e(Y),
|
|
225
226
|
"select-all-option": ""
|
|
226
227
|
},
|
|
227
228
|
e(m)[e(c).SELECT_ALL],
|
|
228
229
|
{
|
|
229
|
-
onClick: o[4] || (o[4] =
|
|
230
|
+
onClick: o[4] || (o[4] = x((l) => e(j)(), ["stop"]))
|
|
230
231
|
}
|
|
231
232
|
), {
|
|
232
233
|
default: u(() => [
|
|
@@ -235,21 +236,21 @@ const Se = ["tabindex"], Ae = { style: { width: "100%" } }, Le = { key: 0 }, Ne
|
|
|
235
236
|
_: 1
|
|
236
237
|
}, 16, ["aria-selected", "aria-disabled", "selected-prop", "is-indeterminate"])
|
|
237
238
|
])) : d("", !0),
|
|
238
|
-
e(O).length && !t.loading ? (i(!0), n(ce, { key: 3 }, fe(e(O), ({ data: l, index:
|
|
239
|
-
key:
|
|
240
|
-
"aria-selected": e(S)(
|
|
239
|
+
e(O).length && !t.loading ? (i(!0), n(ce, { key: 3 }, fe(e(O), ({ data: l, index: v }) => (i(), n("li", {
|
|
240
|
+
key: v,
|
|
241
|
+
"aria-selected": e(S)(T(e(k)), l),
|
|
241
242
|
"aria-disabled": !!t.disabled,
|
|
242
|
-
onClick:
|
|
243
|
+
onClick: x(() => e(D)(l, v), ["stop"])
|
|
243
244
|
}, [
|
|
244
|
-
I(
|
|
245
|
+
I(b.$slots, "default", {
|
|
245
246
|
option: l,
|
|
246
|
-
selected: e(S)(
|
|
247
|
-
active:
|
|
247
|
+
selected: e(S)(T(e(k)), l),
|
|
248
|
+
active: T(e(E)) === v
|
|
248
249
|
}, () => [
|
|
249
250
|
a(e($), {
|
|
250
251
|
option: l,
|
|
251
|
-
selected: e(S)(
|
|
252
|
-
active:
|
|
252
|
+
selected: e(S)(T(e(k)), l),
|
|
253
|
+
active: T(e(E)) === v,
|
|
253
254
|
"name-key": t.optionNameKey,
|
|
254
255
|
"image-key": t.optionImageKey,
|
|
255
256
|
"icon-key": t.optionIconKey,
|
|
@@ -260,7 +261,7 @@ const Se = ["tabindex"], Ae = { style: { width: "100%" } }, Le = { key: 0 }, Ne
|
|
|
260
261
|
], 16)
|
|
261
262
|
], 16),
|
|
262
263
|
t.multi ? (i(), n("div", ze, [
|
|
263
|
-
|
|
264
|
+
y("div", Ke, [
|
|
264
265
|
a(e(A), s(
|
|
265
266
|
{
|
|
266
267
|
ref_key: "clearAll",
|
|
@@ -278,7 +279,7 @@ const Se = ["tabindex"], Ae = { style: { width: "100%" } }, Le = { key: 0 }, Ne
|
|
|
278
279
|
_: 1
|
|
279
280
|
}, 16, ["onClick"])
|
|
280
281
|
]),
|
|
281
|
-
|
|
282
|
+
y("div", Fe, [
|
|
282
283
|
a(e(A), s(
|
|
283
284
|
{
|
|
284
285
|
ref_key: "cancel",
|
|
@@ -316,31 +317,32 @@ const Se = ["tabindex"], Ae = { style: { width: "100%" } }, Le = { key: 0 }, Ne
|
|
|
316
317
|
})
|
|
317
318
|
]),
|
|
318
319
|
default: u(() => [
|
|
319
|
-
|
|
320
|
-
class:
|
|
320
|
+
y("div", {
|
|
321
|
+
class: V(["button__container", {
|
|
321
322
|
"button__container--open": !!e(f),
|
|
322
323
|
[`button__container--${t.size}`]: !0,
|
|
323
324
|
"button__container--disabled": t.disabled
|
|
324
325
|
}])
|
|
325
326
|
}, [
|
|
326
|
-
I(
|
|
327
|
-
|
|
327
|
+
I(b.$slots, "dropdown-trigger", {}, () => [
|
|
328
|
+
y("div", {
|
|
328
329
|
ref_key: "buttonRef",
|
|
329
330
|
ref: R
|
|
330
331
|
}, [
|
|
331
332
|
e(z) ? (i(), n("div", Le, [
|
|
332
|
-
(i(), me(
|
|
333
|
+
(i(), me(ye(e(z)), {
|
|
333
334
|
placeholder: t.placeholder,
|
|
334
335
|
open: e(f),
|
|
335
336
|
label: t.triggerLabel,
|
|
336
337
|
"hover-help-text": t.triggerHelperText,
|
|
337
338
|
"feedback-text": t.triggerFeedbackText,
|
|
338
339
|
"feedback-variant": t.triggerFeedbackVariant,
|
|
340
|
+
"show-feedback-icon": t.triggerFeedbackShowIcon,
|
|
339
341
|
mandatory: t.mandatory,
|
|
340
342
|
"test-id": t.testId,
|
|
341
343
|
multi: t.multi,
|
|
342
344
|
disabled: t.disabled,
|
|
343
|
-
"selected-option": e(
|
|
345
|
+
"selected-option": e(k),
|
|
344
346
|
"display-value": t.displayValue,
|
|
345
347
|
options: t.options,
|
|
346
348
|
"option-name-key": t.optionNameKey,
|
|
@@ -352,23 +354,23 @@ const Se = ["tabindex"], Ae = { style: { width: "100%" } }, Le = { key: 0 }, Ne
|
|
|
352
354
|
size: t.size,
|
|
353
355
|
onKeydown: e(M),
|
|
354
356
|
onClick: ne
|
|
355
|
-
}, null, 40, ["placeholder", "open", "label", "hover-help-text", "feedback-text", "feedback-variant", "mandatory", "test-id", "multi", "disabled", "selected-option", "display-value", "options", "option-name-key", "option-image-key", "option-icon-key", "option-icon-type", "value-to-copy", "status-dot-type", "size", "onKeydown"]))
|
|
357
|
+
}, null, 40, ["placeholder", "open", "label", "hover-help-text", "feedback-text", "feedback-variant", "show-feedback-icon", "mandatory", "test-id", "multi", "disabled", "selected-option", "display-value", "options", "option-name-key", "option-image-key", "option-icon-key", "option-icon-type", "value-to-copy", "status-dot-type", "size", "onKeydown"]))
|
|
356
358
|
])) : d("", !0),
|
|
357
|
-
t.predefinedTrigger === e(
|
|
359
|
+
t.predefinedTrigger === e(p).ICON_BUTTON ? (i(), n("div", Be, [
|
|
358
360
|
a(e(ge), {
|
|
359
|
-
onClick: o[0] || (o[0] = (l) => e(
|
|
361
|
+
onClick: o[0] || (o[0] = (l) => e(w)())
|
|
360
362
|
})
|
|
361
363
|
])) : d("", !0),
|
|
362
|
-
t.predefinedTrigger === e(
|
|
364
|
+
t.predefinedTrigger === e(p).CHIP ? (i(), n("div", Ne, [
|
|
363
365
|
a(e(he), {
|
|
364
366
|
open: e(f),
|
|
365
367
|
label: t.placeholder,
|
|
366
368
|
"test-id": t.testId,
|
|
367
369
|
options: t.options,
|
|
368
|
-
"selected-option": e(
|
|
370
|
+
"selected-option": e(k),
|
|
369
371
|
"display-value": t.displayValue,
|
|
370
372
|
multi: t.multi,
|
|
371
|
-
onClick: o[1] || (o[1] = (l) => e(
|
|
373
|
+
onClick: o[1] || (o[1] = (l) => e(w)()),
|
|
372
374
|
onClear: o[2] || (o[2] = (l) => e(P)())
|
|
373
375
|
}, null, 8, ["open", "label", "test-id", "options", "selected-option", "display-value", "multi"])
|
|
374
376
|
])) : d("", !0)
|
|
@@ -29,6 +29,14 @@ export declare const dropDownStoryArgs: {
|
|
|
29
29
|
category: string;
|
|
30
30
|
};
|
|
31
31
|
};
|
|
32
|
+
triggerFeedbackShowIcon: {
|
|
33
|
+
control: {
|
|
34
|
+
type: string;
|
|
35
|
+
};
|
|
36
|
+
table: {
|
|
37
|
+
category: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
32
40
|
predefinedTrigger: {
|
|
33
41
|
description: string;
|
|
34
42
|
options: ("default" | "icon-button" | "chip" | "app")[];
|
|
@@ -561,6 +561,7 @@ declare const DropdownTypes: () => (({
|
|
|
561
561
|
hoverHelpTextPlacement: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
|
|
562
562
|
feedbackText: string;
|
|
563
563
|
feedbackVariant: "success" | "warning" | "error";
|
|
564
|
+
showFeedbackIcon: boolean;
|
|
564
565
|
statusDotType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
|
|
565
566
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
566
567
|
label: {
|
|
@@ -653,13 +654,17 @@ declare const DropdownTypes: () => (({
|
|
|
653
654
|
type: import("vue").PropType<"success" | "warning" | "error">;
|
|
654
655
|
default: any;
|
|
655
656
|
};
|
|
657
|
+
showFeedbackIcon: {
|
|
658
|
+
type: import("vue").PropType<boolean>;
|
|
659
|
+
default: boolean;
|
|
660
|
+
};
|
|
656
661
|
statusDotType: {
|
|
657
662
|
type: import("vue").PropType<"default" | "disabled" | "success" | "warning" | "error" | "archive">;
|
|
658
663
|
default: any;
|
|
659
664
|
};
|
|
660
665
|
}>> & {
|
|
661
666
|
onClick?: () => any;
|
|
662
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "label" | "disabled" | "size" | "open" | "mandatory" | "loading" | "testId" | "options" | "singleAppSelection" | "placeholder" | "multi" | "selectedOption" | "brandIconType" | "optionNameKey" | "optionImageKey" | "optionIconKey" | "optionIconType" | "hoverHelpText" | "hoverHelpTextPlacement" | "feedbackText" | "feedbackVariant" | "statusDotType">;
|
|
667
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "label" | "disabled" | "size" | "open" | "mandatory" | "loading" | "testId" | "options" | "singleAppSelection" | "placeholder" | "multi" | "selectedOption" | "brandIconType" | "optionNameKey" | "optionImageKey" | "optionIconKey" | "optionIconType" | "hoverHelpText" | "hoverHelpTextPlacement" | "feedbackText" | "feedbackVariant" | "showFeedbackIcon" | "statusDotType">;
|
|
663
668
|
$attrs: {
|
|
664
669
|
[x: string]: unknown;
|
|
665
670
|
};
|
|
@@ -764,6 +769,10 @@ declare const DropdownTypes: () => (({
|
|
|
764
769
|
type: import("vue").PropType<"success" | "warning" | "error">;
|
|
765
770
|
default: any;
|
|
766
771
|
};
|
|
772
|
+
showFeedbackIcon: {
|
|
773
|
+
type: import("vue").PropType<boolean>;
|
|
774
|
+
default: boolean;
|
|
775
|
+
};
|
|
767
776
|
statusDotType: {
|
|
768
777
|
type: import("vue").PropType<"default" | "disabled" | "success" | "warning" | "error" | "archive">;
|
|
769
778
|
default: any;
|
|
@@ -794,6 +803,7 @@ declare const DropdownTypes: () => (({
|
|
|
794
803
|
hoverHelpTextPlacement: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
|
|
795
804
|
feedbackText: string;
|
|
796
805
|
feedbackVariant: "success" | "warning" | "error";
|
|
806
|
+
showFeedbackIcon: boolean;
|
|
797
807
|
statusDotType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
|
|
798
808
|
}, {}, string> & {
|
|
799
809
|
beforeCreate?: (() => void) | (() => void)[];
|
|
@@ -906,6 +916,10 @@ declare const DropdownTypes: () => (({
|
|
|
906
916
|
type: import("vue").PropType<"success" | "warning" | "error">;
|
|
907
917
|
default: any;
|
|
908
918
|
};
|
|
919
|
+
showFeedbackIcon: {
|
|
920
|
+
type: import("vue").PropType<boolean>;
|
|
921
|
+
default: boolean;
|
|
922
|
+
};
|
|
909
923
|
statusDotType: {
|
|
910
924
|
type: import("vue").PropType<"default" | "disabled" | "success" | "warning" | "error" | "archive">;
|
|
911
925
|
default: any;
|
|
@@ -1007,6 +1021,10 @@ declare const DropdownTypes: () => (({
|
|
|
1007
1021
|
type: import("vue").PropType<"success" | "warning" | "error">;
|
|
1008
1022
|
default: any;
|
|
1009
1023
|
};
|
|
1024
|
+
showFeedbackIcon: {
|
|
1025
|
+
type: import("vue").PropType<boolean>;
|
|
1026
|
+
default: boolean;
|
|
1027
|
+
};
|
|
1010
1028
|
statusDotType: {
|
|
1011
1029
|
type: import("vue").PropType<"default" | "disabled" | "success" | "warning" | "error" | "archive">;
|
|
1012
1030
|
default: any;
|
|
@@ -1037,6 +1055,7 @@ declare const DropdownTypes: () => (({
|
|
|
1037
1055
|
hoverHelpTextPlacement: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
|
|
1038
1056
|
feedbackText: string;
|
|
1039
1057
|
feedbackVariant: "success" | "warning" | "error";
|
|
1058
|
+
showFeedbackIcon: boolean;
|
|
1040
1059
|
statusDotType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
|
|
1041
1060
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
1042
1061
|
$slots: {
|
|
@@ -1352,6 +1371,7 @@ declare const DropdownTypes: () => (({
|
|
|
1352
1371
|
triggerHelperText: string;
|
|
1353
1372
|
triggerFeedbackText: string;
|
|
1354
1373
|
triggerFeedbackVariant: "success" | "warning" | "error";
|
|
1374
|
+
triggerFeedbackShowIcon: boolean;
|
|
1355
1375
|
searchAutoFocus: boolean;
|
|
1356
1376
|
predefinedTrigger: "default" | "icon-button" | "chip" | "app";
|
|
1357
1377
|
fullWidth: boolean;
|
|
@@ -1515,6 +1535,10 @@ declare const DropdownTypes: () => (({
|
|
|
1515
1535
|
type: import("vue").PropType<"success" | "warning" | "error">;
|
|
1516
1536
|
default: any;
|
|
1517
1537
|
};
|
|
1538
|
+
triggerFeedbackShowIcon: {
|
|
1539
|
+
type: import("vue").PropType<boolean>;
|
|
1540
|
+
default: boolean;
|
|
1541
|
+
};
|
|
1518
1542
|
searchAutoFocus: {
|
|
1519
1543
|
type: import("vue").PropType<boolean>;
|
|
1520
1544
|
default: boolean;
|
|
@@ -1541,7 +1565,7 @@ declare const DropdownTypes: () => (({
|
|
|
1541
1565
|
"onUpdate:isOpen"?: (value: unknown) => any;
|
|
1542
1566
|
onOpened?: () => any;
|
|
1543
1567
|
onClosed?: () => any;
|
|
1544
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "disabled" | "size" | "flip" | "mandatory" | "testId" | "container" | "placement" | "distance" | "popperClass" | "selected" | "modelValue" | "placeholder" | "isOnTop" | "multi" | "inlineSearch" | "noResultsText" | "showSelectAll" | "defaultOpen" | "skidding" | "onSearch" | "keepOpen" | "autoSize" | "disableKeyboardEvents" | "valueToCopy" | "optionNameKey" | "optionImageKey" | "optionIconKey" | "optionIconType" | "onClear" | "inlineSearchPlaceholder" | "triggerLabel" | "triggerHelperText" | "triggerFeedbackText" | "triggerFeedbackVariant" | "searchAutoFocus" | "predefinedTrigger" | "fullWidth" | "optionsListWidth" | "statusType">;
|
|
1568
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "disabled" | "size" | "flip" | "mandatory" | "testId" | "container" | "placement" | "distance" | "popperClass" | "selected" | "modelValue" | "placeholder" | "isOnTop" | "multi" | "inlineSearch" | "noResultsText" | "showSelectAll" | "defaultOpen" | "skidding" | "onSearch" | "keepOpen" | "autoSize" | "disableKeyboardEvents" | "valueToCopy" | "optionNameKey" | "optionImageKey" | "optionIconKey" | "optionIconType" | "onClear" | "inlineSearchPlaceholder" | "triggerLabel" | "triggerHelperText" | "triggerFeedbackText" | "triggerFeedbackVariant" | "triggerFeedbackShowIcon" | "searchAutoFocus" | "predefinedTrigger" | "fullWidth" | "optionsListWidth" | "statusType">;
|
|
1545
1569
|
$attrs: {
|
|
1546
1570
|
[x: string]: unknown;
|
|
1547
1571
|
};
|
|
@@ -1713,6 +1737,10 @@ declare const DropdownTypes: () => (({
|
|
|
1713
1737
|
type: import("vue").PropType<"success" | "warning" | "error">;
|
|
1714
1738
|
default: any;
|
|
1715
1739
|
};
|
|
1740
|
+
triggerFeedbackShowIcon: {
|
|
1741
|
+
type: import("vue").PropType<boolean>;
|
|
1742
|
+
default: boolean;
|
|
1743
|
+
};
|
|
1716
1744
|
searchAutoFocus: {
|
|
1717
1745
|
type: import("vue").PropType<boolean>;
|
|
1718
1746
|
default: boolean;
|
|
@@ -1784,6 +1812,7 @@ declare const DropdownTypes: () => (({
|
|
|
1784
1812
|
triggerHelperText: string;
|
|
1785
1813
|
triggerFeedbackText: string;
|
|
1786
1814
|
triggerFeedbackVariant: "success" | "warning" | "error";
|
|
1815
|
+
triggerFeedbackShowIcon: boolean;
|
|
1787
1816
|
searchAutoFocus: boolean;
|
|
1788
1817
|
predefinedTrigger: "default" | "icon-button" | "chip" | "app";
|
|
1789
1818
|
fullWidth: boolean;
|
|
@@ -1967,6 +1996,10 @@ declare const DropdownTypes: () => (({
|
|
|
1967
1996
|
type: import("vue").PropType<"success" | "warning" | "error">;
|
|
1968
1997
|
default: any;
|
|
1969
1998
|
};
|
|
1999
|
+
triggerFeedbackShowIcon: {
|
|
2000
|
+
type: import("vue").PropType<boolean>;
|
|
2001
|
+
default: boolean;
|
|
2002
|
+
};
|
|
1970
2003
|
searchAutoFocus: {
|
|
1971
2004
|
type: import("vue").PropType<boolean>;
|
|
1972
2005
|
default: boolean;
|
|
@@ -2158,6 +2191,10 @@ declare const DropdownTypes: () => (({
|
|
|
2158
2191
|
type: import("vue").PropType<"success" | "warning" | "error">;
|
|
2159
2192
|
default: any;
|
|
2160
2193
|
};
|
|
2194
|
+
triggerFeedbackShowIcon: {
|
|
2195
|
+
type: import("vue").PropType<boolean>;
|
|
2196
|
+
default: boolean;
|
|
2197
|
+
};
|
|
2161
2198
|
searchAutoFocus: {
|
|
2162
2199
|
type: import("vue").PropType<boolean>;
|
|
2163
2200
|
default: boolean;
|
|
@@ -2229,6 +2266,7 @@ declare const DropdownTypes: () => (({
|
|
|
2229
2266
|
triggerHelperText: string;
|
|
2230
2267
|
triggerFeedbackText: string;
|
|
2231
2268
|
triggerFeedbackVariant: "success" | "warning" | "error";
|
|
2269
|
+
triggerFeedbackShowIcon: boolean;
|
|
2232
2270
|
searchAutoFocus: boolean;
|
|
2233
2271
|
predefinedTrigger: "default" | "icon-button" | "chip" | "app";
|
|
2234
2272
|
fullWidth: boolean;
|
package/index.d.ts
CHANGED
|
@@ -10908,6 +10908,7 @@ declare const _default: {
|
|
|
10908
10908
|
triggerHelperText: string;
|
|
10909
10909
|
triggerFeedbackText: string;
|
|
10910
10910
|
triggerFeedbackVariant: "success" | "warning" | "error";
|
|
10911
|
+
triggerFeedbackShowIcon: boolean;
|
|
10911
10912
|
searchAutoFocus: boolean;
|
|
10912
10913
|
predefinedTrigger: "default" | "icon-button" | "chip" | "app";
|
|
10913
10914
|
fullWidth: boolean;
|
|
@@ -11071,6 +11072,10 @@ declare const _default: {
|
|
|
11071
11072
|
type: import("vue").PropType<"success" | "warning" | "error">;
|
|
11072
11073
|
default: any;
|
|
11073
11074
|
};
|
|
11075
|
+
triggerFeedbackShowIcon: {
|
|
11076
|
+
type: import("vue").PropType<boolean>;
|
|
11077
|
+
default: boolean;
|
|
11078
|
+
};
|
|
11074
11079
|
searchAutoFocus: {
|
|
11075
11080
|
type: import("vue").PropType<boolean>;
|
|
11076
11081
|
default: boolean;
|
|
@@ -11097,7 +11102,7 @@ declare const _default: {
|
|
|
11097
11102
|
"onUpdate:isOpen"?: (value: unknown) => any;
|
|
11098
11103
|
onOpened?: () => any;
|
|
11099
11104
|
onClosed?: () => any;
|
|
11100
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "disabled" | "size" | "flip" | "mandatory" | "testId" | "container" | "placement" | "distance" | "popperClass" | "selected" | "modelValue" | "placeholder" | "isOnTop" | "multi" | "inlineSearch" | "noResultsText" | "showSelectAll" | "defaultOpen" | "skidding" | "onSearch" | "keepOpen" | "autoSize" | "disableKeyboardEvents" | "valueToCopy" | "optionNameKey" | "optionImageKey" | "optionIconKey" | "optionIconType" | "onClear" | "inlineSearchPlaceholder" | "triggerLabel" | "triggerHelperText" | "triggerFeedbackText" | "triggerFeedbackVariant" | "searchAutoFocus" | "predefinedTrigger" | "fullWidth" | "optionsListWidth" | "statusType">;
|
|
11105
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "disabled" | "size" | "flip" | "mandatory" | "testId" | "container" | "placement" | "distance" | "popperClass" | "selected" | "modelValue" | "placeholder" | "isOnTop" | "multi" | "inlineSearch" | "noResultsText" | "showSelectAll" | "defaultOpen" | "skidding" | "onSearch" | "keepOpen" | "autoSize" | "disableKeyboardEvents" | "valueToCopy" | "optionNameKey" | "optionImageKey" | "optionIconKey" | "optionIconType" | "onClear" | "inlineSearchPlaceholder" | "triggerLabel" | "triggerHelperText" | "triggerFeedbackText" | "triggerFeedbackVariant" | "triggerFeedbackShowIcon" | "searchAutoFocus" | "predefinedTrigger" | "fullWidth" | "optionsListWidth" | "statusType">;
|
|
11101
11106
|
$attrs: {
|
|
11102
11107
|
[x: string]: unknown;
|
|
11103
11108
|
};
|
|
@@ -11269,6 +11274,10 @@ declare const _default: {
|
|
|
11269
11274
|
type: import("vue").PropType<"success" | "warning" | "error">;
|
|
11270
11275
|
default: any;
|
|
11271
11276
|
};
|
|
11277
|
+
triggerFeedbackShowIcon: {
|
|
11278
|
+
type: import("vue").PropType<boolean>;
|
|
11279
|
+
default: boolean;
|
|
11280
|
+
};
|
|
11272
11281
|
searchAutoFocus: {
|
|
11273
11282
|
type: import("vue").PropType<boolean>;
|
|
11274
11283
|
default: boolean;
|
|
@@ -11340,6 +11349,7 @@ declare const _default: {
|
|
|
11340
11349
|
triggerHelperText: string;
|
|
11341
11350
|
triggerFeedbackText: string;
|
|
11342
11351
|
triggerFeedbackVariant: "success" | "warning" | "error";
|
|
11352
|
+
triggerFeedbackShowIcon: boolean;
|
|
11343
11353
|
searchAutoFocus: boolean;
|
|
11344
11354
|
predefinedTrigger: "default" | "icon-button" | "chip" | "app";
|
|
11345
11355
|
fullWidth: boolean;
|
|
@@ -11523,6 +11533,10 @@ declare const _default: {
|
|
|
11523
11533
|
type: import("vue").PropType<"success" | "warning" | "error">;
|
|
11524
11534
|
default: any;
|
|
11525
11535
|
};
|
|
11536
|
+
triggerFeedbackShowIcon: {
|
|
11537
|
+
type: import("vue").PropType<boolean>;
|
|
11538
|
+
default: boolean;
|
|
11539
|
+
};
|
|
11526
11540
|
searchAutoFocus: {
|
|
11527
11541
|
type: import("vue").PropType<boolean>;
|
|
11528
11542
|
default: boolean;
|
|
@@ -11714,6 +11728,10 @@ declare const _default: {
|
|
|
11714
11728
|
type: import("vue").PropType<"success" | "warning" | "error">;
|
|
11715
11729
|
default: any;
|
|
11716
11730
|
};
|
|
11731
|
+
triggerFeedbackShowIcon: {
|
|
11732
|
+
type: import("vue").PropType<boolean>;
|
|
11733
|
+
default: boolean;
|
|
11734
|
+
};
|
|
11717
11735
|
searchAutoFocus: {
|
|
11718
11736
|
type: import("vue").PropType<boolean>;
|
|
11719
11737
|
default: boolean;
|
|
@@ -11785,6 +11803,7 @@ declare const _default: {
|
|
|
11785
11803
|
triggerHelperText: string;
|
|
11786
11804
|
triggerFeedbackText: string;
|
|
11787
11805
|
triggerFeedbackVariant: "success" | "warning" | "error";
|
|
11806
|
+
triggerFeedbackShowIcon: boolean;
|
|
11788
11807
|
searchAutoFocus: boolean;
|
|
11789
11808
|
predefinedTrigger: "default" | "icon-button" | "chip" | "app";
|
|
11790
11809
|
fullWidth: boolean;
|
|
@@ -11830,6 +11849,7 @@ declare const _default: {
|
|
|
11830
11849
|
hoverHelpTextPlacement: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
|
|
11831
11850
|
feedbackText: string;
|
|
11832
11851
|
feedbackVariant: "success" | "warning" | "error";
|
|
11852
|
+
showFeedbackIcon: boolean;
|
|
11833
11853
|
statusDotType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
|
|
11834
11854
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
11835
11855
|
label: {
|
|
@@ -11922,13 +11942,17 @@ declare const _default: {
|
|
|
11922
11942
|
type: import("vue").PropType<"success" | "warning" | "error">;
|
|
11923
11943
|
default: any;
|
|
11924
11944
|
};
|
|
11945
|
+
showFeedbackIcon: {
|
|
11946
|
+
type: import("vue").PropType<boolean>;
|
|
11947
|
+
default: boolean;
|
|
11948
|
+
};
|
|
11925
11949
|
statusDotType: {
|
|
11926
11950
|
type: import("vue").PropType<"default" | "disabled" | "success" | "warning" | "error" | "archive">;
|
|
11927
11951
|
default: any;
|
|
11928
11952
|
};
|
|
11929
11953
|
}>> & {
|
|
11930
11954
|
onClick?: () => any;
|
|
11931
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "label" | "disabled" | "size" | "open" | "mandatory" | "loading" | "testId" | "options" | "singleAppSelection" | "placeholder" | "multi" | "selectedOption" | "brandIconType" | "optionNameKey" | "optionImageKey" | "optionIconKey" | "optionIconType" | "hoverHelpText" | "hoverHelpTextPlacement" | "feedbackText" | "feedbackVariant" | "statusDotType">;
|
|
11955
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "label" | "disabled" | "size" | "open" | "mandatory" | "loading" | "testId" | "options" | "singleAppSelection" | "placeholder" | "multi" | "selectedOption" | "brandIconType" | "optionNameKey" | "optionImageKey" | "optionIconKey" | "optionIconType" | "hoverHelpText" | "hoverHelpTextPlacement" | "feedbackText" | "feedbackVariant" | "showFeedbackIcon" | "statusDotType">;
|
|
11932
11956
|
$attrs: {
|
|
11933
11957
|
[x: string]: unknown;
|
|
11934
11958
|
};
|
|
@@ -12033,6 +12057,10 @@ declare const _default: {
|
|
|
12033
12057
|
type: import("vue").PropType<"success" | "warning" | "error">;
|
|
12034
12058
|
default: any;
|
|
12035
12059
|
};
|
|
12060
|
+
showFeedbackIcon: {
|
|
12061
|
+
type: import("vue").PropType<boolean>;
|
|
12062
|
+
default: boolean;
|
|
12063
|
+
};
|
|
12036
12064
|
statusDotType: {
|
|
12037
12065
|
type: import("vue").PropType<"default" | "disabled" | "success" | "warning" | "error" | "archive">;
|
|
12038
12066
|
default: any;
|
|
@@ -12063,6 +12091,7 @@ declare const _default: {
|
|
|
12063
12091
|
hoverHelpTextPlacement: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
|
|
12064
12092
|
feedbackText: string;
|
|
12065
12093
|
feedbackVariant: "success" | "warning" | "error";
|
|
12094
|
+
showFeedbackIcon: boolean;
|
|
12066
12095
|
statusDotType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
|
|
12067
12096
|
}, {}, string> & {
|
|
12068
12097
|
beforeCreate?: (() => void) | (() => void)[];
|
|
@@ -12175,6 +12204,10 @@ declare const _default: {
|
|
|
12175
12204
|
type: import("vue").PropType<"success" | "warning" | "error">;
|
|
12176
12205
|
default: any;
|
|
12177
12206
|
};
|
|
12207
|
+
showFeedbackIcon: {
|
|
12208
|
+
type: import("vue").PropType<boolean>;
|
|
12209
|
+
default: boolean;
|
|
12210
|
+
};
|
|
12178
12211
|
statusDotType: {
|
|
12179
12212
|
type: import("vue").PropType<"default" | "disabled" | "success" | "warning" | "error" | "archive">;
|
|
12180
12213
|
default: any;
|
|
@@ -12276,6 +12309,10 @@ declare const _default: {
|
|
|
12276
12309
|
type: import("vue").PropType<"success" | "warning" | "error">;
|
|
12277
12310
|
default: any;
|
|
12278
12311
|
};
|
|
12312
|
+
showFeedbackIcon: {
|
|
12313
|
+
type: import("vue").PropType<boolean>;
|
|
12314
|
+
default: boolean;
|
|
12315
|
+
};
|
|
12279
12316
|
statusDotType: {
|
|
12280
12317
|
type: import("vue").PropType<"default" | "disabled" | "success" | "warning" | "error" | "archive">;
|
|
12281
12318
|
default: any;
|
|
@@ -12306,6 +12343,7 @@ declare const _default: {
|
|
|
12306
12343
|
hoverHelpTextPlacement: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
|
|
12307
12344
|
feedbackText: string;
|
|
12308
12345
|
feedbackVariant: "success" | "warning" | "error";
|
|
12346
|
+
showFeedbackIcon: boolean;
|
|
12309
12347
|
statusDotType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
|
|
12310
12348
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
12311
12349
|
$slots: {
|
|
@@ -13416,6 +13454,7 @@ declare const _default: {
|
|
|
13416
13454
|
hoverHelpTextPlacement: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
|
|
13417
13455
|
feedbackText: string;
|
|
13418
13456
|
feedbackVariant: "success" | "warning" | "error";
|
|
13457
|
+
showFeedbackIcon: boolean;
|
|
13419
13458
|
statusDotType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
|
|
13420
13459
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
13421
13460
|
label: {
|
|
@@ -13508,13 +13547,17 @@ declare const _default: {
|
|
|
13508
13547
|
type: import("vue").PropType<"success" | "warning" | "error">;
|
|
13509
13548
|
default: any;
|
|
13510
13549
|
};
|
|
13550
|
+
showFeedbackIcon: {
|
|
13551
|
+
type: import("vue").PropType<boolean>;
|
|
13552
|
+
default: boolean;
|
|
13553
|
+
};
|
|
13511
13554
|
statusDotType: {
|
|
13512
13555
|
type: import("vue").PropType<"default" | "disabled" | "success" | "warning" | "error" | "archive">;
|
|
13513
13556
|
default: any;
|
|
13514
13557
|
};
|
|
13515
13558
|
}>> & {
|
|
13516
13559
|
onClick?: () => any;
|
|
13517
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "label" | "disabled" | "size" | "open" | "mandatory" | "loading" | "testId" | "options" | "singleAppSelection" | "placeholder" | "multi" | "selectedOption" | "brandIconType" | "optionNameKey" | "optionImageKey" | "optionIconKey" | "optionIconType" | "hoverHelpText" | "hoverHelpTextPlacement" | "feedbackText" | "feedbackVariant" | "statusDotType">;
|
|
13560
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "label" | "disabled" | "size" | "open" | "mandatory" | "loading" | "testId" | "options" | "singleAppSelection" | "placeholder" | "multi" | "selectedOption" | "brandIconType" | "optionNameKey" | "optionImageKey" | "optionIconKey" | "optionIconType" | "hoverHelpText" | "hoverHelpTextPlacement" | "feedbackText" | "feedbackVariant" | "showFeedbackIcon" | "statusDotType">;
|
|
13518
13561
|
$attrs: {
|
|
13519
13562
|
[x: string]: unknown;
|
|
13520
13563
|
};
|
|
@@ -13619,6 +13662,10 @@ declare const _default: {
|
|
|
13619
13662
|
type: import("vue").PropType<"success" | "warning" | "error">;
|
|
13620
13663
|
default: any;
|
|
13621
13664
|
};
|
|
13665
|
+
showFeedbackIcon: {
|
|
13666
|
+
type: import("vue").PropType<boolean>;
|
|
13667
|
+
default: boolean;
|
|
13668
|
+
};
|
|
13622
13669
|
statusDotType: {
|
|
13623
13670
|
type: import("vue").PropType<"default" | "disabled" | "success" | "warning" | "error" | "archive">;
|
|
13624
13671
|
default: any;
|
|
@@ -13649,6 +13696,7 @@ declare const _default: {
|
|
|
13649
13696
|
hoverHelpTextPlacement: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
|
|
13650
13697
|
feedbackText: string;
|
|
13651
13698
|
feedbackVariant: "success" | "warning" | "error";
|
|
13699
|
+
showFeedbackIcon: boolean;
|
|
13652
13700
|
statusDotType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
|
|
13653
13701
|
}, {}, string> & {
|
|
13654
13702
|
beforeCreate?: (() => void) | (() => void)[];
|
|
@@ -13761,6 +13809,10 @@ declare const _default: {
|
|
|
13761
13809
|
type: import("vue").PropType<"success" | "warning" | "error">;
|
|
13762
13810
|
default: any;
|
|
13763
13811
|
};
|
|
13812
|
+
showFeedbackIcon: {
|
|
13813
|
+
type: import("vue").PropType<boolean>;
|
|
13814
|
+
default: boolean;
|
|
13815
|
+
};
|
|
13764
13816
|
statusDotType: {
|
|
13765
13817
|
type: import("vue").PropType<"default" | "disabled" | "success" | "warning" | "error" | "archive">;
|
|
13766
13818
|
default: any;
|
|
@@ -13862,6 +13914,10 @@ declare const _default: {
|
|
|
13862
13914
|
type: import("vue").PropType<"success" | "warning" | "error">;
|
|
13863
13915
|
default: any;
|
|
13864
13916
|
};
|
|
13917
|
+
showFeedbackIcon: {
|
|
13918
|
+
type: import("vue").PropType<boolean>;
|
|
13919
|
+
default: boolean;
|
|
13920
|
+
};
|
|
13865
13921
|
statusDotType: {
|
|
13866
13922
|
type: import("vue").PropType<"default" | "disabled" | "success" | "warning" | "error" | "archive">;
|
|
13867
13923
|
default: any;
|
|
@@ -13892,6 +13948,7 @@ declare const _default: {
|
|
|
13892
13948
|
hoverHelpTextPlacement: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
|
|
13893
13949
|
feedbackText: string;
|
|
13894
13950
|
feedbackVariant: "success" | "warning" | "error";
|
|
13951
|
+
showFeedbackIcon: boolean;
|
|
13895
13952
|
statusDotType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
|
|
13896
13953
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
13897
13954
|
$slots: {
|
|
@@ -14207,6 +14264,7 @@ declare const _default: {
|
|
|
14207
14264
|
triggerHelperText: string;
|
|
14208
14265
|
triggerFeedbackText: string;
|
|
14209
14266
|
triggerFeedbackVariant: "success" | "warning" | "error";
|
|
14267
|
+
triggerFeedbackShowIcon: boolean;
|
|
14210
14268
|
searchAutoFocus: boolean;
|
|
14211
14269
|
predefinedTrigger: "default" | "icon-button" | "chip" | "app";
|
|
14212
14270
|
fullWidth: boolean;
|
|
@@ -14370,6 +14428,10 @@ declare const _default: {
|
|
|
14370
14428
|
type: import("vue").PropType<"success" | "warning" | "error">;
|
|
14371
14429
|
default: any;
|
|
14372
14430
|
};
|
|
14431
|
+
triggerFeedbackShowIcon: {
|
|
14432
|
+
type: import("vue").PropType<boolean>;
|
|
14433
|
+
default: boolean;
|
|
14434
|
+
};
|
|
14373
14435
|
searchAutoFocus: {
|
|
14374
14436
|
type: import("vue").PropType<boolean>;
|
|
14375
14437
|
default: boolean;
|
|
@@ -14396,7 +14458,7 @@ declare const _default: {
|
|
|
14396
14458
|
"onUpdate:isOpen"?: (value: unknown) => any;
|
|
14397
14459
|
onOpened?: () => any;
|
|
14398
14460
|
onClosed?: () => any;
|
|
14399
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "disabled" | "size" | "flip" | "mandatory" | "testId" | "container" | "placement" | "distance" | "popperClass" | "selected" | "modelValue" | "placeholder" | "isOnTop" | "multi" | "inlineSearch" | "noResultsText" | "showSelectAll" | "defaultOpen" | "skidding" | "onSearch" | "keepOpen" | "autoSize" | "disableKeyboardEvents" | "valueToCopy" | "optionNameKey" | "optionImageKey" | "optionIconKey" | "optionIconType" | "onClear" | "inlineSearchPlaceholder" | "triggerLabel" | "triggerHelperText" | "triggerFeedbackText" | "triggerFeedbackVariant" | "searchAutoFocus" | "predefinedTrigger" | "fullWidth" | "optionsListWidth" | "statusType">;
|
|
14461
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "disabled" | "size" | "flip" | "mandatory" | "testId" | "container" | "placement" | "distance" | "popperClass" | "selected" | "modelValue" | "placeholder" | "isOnTop" | "multi" | "inlineSearch" | "noResultsText" | "showSelectAll" | "defaultOpen" | "skidding" | "onSearch" | "keepOpen" | "autoSize" | "disableKeyboardEvents" | "valueToCopy" | "optionNameKey" | "optionImageKey" | "optionIconKey" | "optionIconType" | "onClear" | "inlineSearchPlaceholder" | "triggerLabel" | "triggerHelperText" | "triggerFeedbackText" | "triggerFeedbackVariant" | "triggerFeedbackShowIcon" | "searchAutoFocus" | "predefinedTrigger" | "fullWidth" | "optionsListWidth" | "statusType">;
|
|
14400
14462
|
$attrs: {
|
|
14401
14463
|
[x: string]: unknown;
|
|
14402
14464
|
};
|
|
@@ -14568,6 +14630,10 @@ declare const _default: {
|
|
|
14568
14630
|
type: import("vue").PropType<"success" | "warning" | "error">;
|
|
14569
14631
|
default: any;
|
|
14570
14632
|
};
|
|
14633
|
+
triggerFeedbackShowIcon: {
|
|
14634
|
+
type: import("vue").PropType<boolean>;
|
|
14635
|
+
default: boolean;
|
|
14636
|
+
};
|
|
14571
14637
|
searchAutoFocus: {
|
|
14572
14638
|
type: import("vue").PropType<boolean>;
|
|
14573
14639
|
default: boolean;
|
|
@@ -14639,6 +14705,7 @@ declare const _default: {
|
|
|
14639
14705
|
triggerHelperText: string;
|
|
14640
14706
|
triggerFeedbackText: string;
|
|
14641
14707
|
triggerFeedbackVariant: "success" | "warning" | "error";
|
|
14708
|
+
triggerFeedbackShowIcon: boolean;
|
|
14642
14709
|
searchAutoFocus: boolean;
|
|
14643
14710
|
predefinedTrigger: "default" | "icon-button" | "chip" | "app";
|
|
14644
14711
|
fullWidth: boolean;
|
|
@@ -14822,6 +14889,10 @@ declare const _default: {
|
|
|
14822
14889
|
type: import("vue").PropType<"success" | "warning" | "error">;
|
|
14823
14890
|
default: any;
|
|
14824
14891
|
};
|
|
14892
|
+
triggerFeedbackShowIcon: {
|
|
14893
|
+
type: import("vue").PropType<boolean>;
|
|
14894
|
+
default: boolean;
|
|
14895
|
+
};
|
|
14825
14896
|
searchAutoFocus: {
|
|
14826
14897
|
type: import("vue").PropType<boolean>;
|
|
14827
14898
|
default: boolean;
|
|
@@ -15013,6 +15084,10 @@ declare const _default: {
|
|
|
15013
15084
|
type: import("vue").PropType<"success" | "warning" | "error">;
|
|
15014
15085
|
default: any;
|
|
15015
15086
|
};
|
|
15087
|
+
triggerFeedbackShowIcon: {
|
|
15088
|
+
type: import("vue").PropType<boolean>;
|
|
15089
|
+
default: boolean;
|
|
15090
|
+
};
|
|
15016
15091
|
searchAutoFocus: {
|
|
15017
15092
|
type: import("vue").PropType<boolean>;
|
|
15018
15093
|
default: boolean;
|
|
@@ -15084,6 +15159,7 @@ declare const _default: {
|
|
|
15084
15159
|
triggerHelperText: string;
|
|
15085
15160
|
triggerFeedbackText: string;
|
|
15086
15161
|
triggerFeedbackVariant: "success" | "warning" | "error";
|
|
15162
|
+
triggerFeedbackShowIcon: boolean;
|
|
15087
15163
|
searchAutoFocus: boolean;
|
|
15088
15164
|
predefinedTrigger: "default" | "icon-button" | "chip" | "app";
|
|
15089
15165
|
fullWidth: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ironsource/shared-ui",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.3-rc.0",
|
|
4
4
|
"engines": {
|
|
5
5
|
"npm": ">=7.0.0",
|
|
6
6
|
"node": ">=16.0.0"
|
|
@@ -220,7 +220,8 @@
|
|
|
220
220
|
"./inlineCopy": "./components/inlineCopy/index.js",
|
|
221
221
|
"./appHeader": "./components/appHeader/index.js",
|
|
222
222
|
"./forms": "./components/forms/index.js",
|
|
223
|
-
"./statusDot": "./components/statusDot/index.js"
|
|
223
|
+
"./statusDot": "./components/statusDot/index.js",
|
|
224
|
+
"./composables/useFormValidation": "./composables/useFormValidation.js"
|
|
224
225
|
},
|
|
225
226
|
"typesVersions": {
|
|
226
227
|
"*": {
|
|
@@ -433,6 +434,9 @@
|
|
|
433
434
|
],
|
|
434
435
|
"statusDot": [
|
|
435
436
|
"./components/statusDot/index.d.ts"
|
|
437
|
+
],
|
|
438
|
+
"composables/useFormValidation": [
|
|
439
|
+
"./composables/useFormValidation.d.ts"
|
|
436
440
|
]
|
|
437
441
|
}
|
|
438
442
|
},
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.default-dropdown-wrapper[data-v-5fa01c78]{position:relative}.dropdown-trigger[data-v-5fa01c78]{width:100%;padding:.3125rem .4375rem;display:flex;column-gap:.5rem;max-width:100%;box-sizing:border-box;border-radius:var(--border-radius-md);border:1px solid var(--action-outlined-border);background:var(--default-main);cursor:pointer;user-select:none;position:relative}.dropdown-trigger[data-v-5fa01c78]:hover{border:1px solid var(--action-active);background:var(--action-hover)}.dropdown-trigger.small[data-v-5fa01c78]{padding:.1875rem .4375rem}.dropdown-trigger.large[data-v-5fa01c78]{padding:.5625rem .4375rem}.dropdown-trigger.disabled[data-v-5fa01c78]{border:1px solid var(--action-outlined-border, #bbb);background:var(--action-disabled-background, #f1f1f1);cursor:not-allowed}.dropdown-trigger.open[data-v-5fa01c78]{padding:.25rem .375rem;border:2px solid var(--primary-main)}.dropdown-trigger.open.small[data-v-5fa01c78]{padding:.125rem .375rem}.dropdown-trigger.open.large[data-v-5fa01c78]{padding:.5rem .375rem}.dropdown-trigger.state-error[data-v-5fa01c78]{padding:4px 6px;border:2px solid var(--error-main)}.dropdown-trigger.state-success[data-v-5fa01c78]{padding:4px 6px;border:2px solid var(--success-main)}.dropdown-trigger.state-warning[data-v-5fa01c78]{padding:4px 6px;border:2px solid var(--warning-dark)}.dropdown-trigger .caret-down[data-v-5fa01c78]{color:var(--action-active)}.content[data-v-5fa01c78]{width:calc(100% - 28px);display:flex;gap:.25rem;align-items:center;color:var(--text-primary)}.content .displayed-value[data-v-5fa01c78]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.content .image[data-v-5fa01c78]{width:20px;height:20px;flex:none}.content .image img[data-v-5fa01c78]{border-radius:4px;width:100%;height:100%}.content .start-icon[data-v-5fa01c78]{display:flex;color:var(--action-active)}.content .status-dot[data-v-5fa01c78]{padding-right:.25rem}.content .status-dot>div[data-v-5fa01c78]{position:relative;top:-1px}.dropdown-field-label[data-v-5fa01c78]{color:var(--text-primary)}.dropdown-field-help-text[data-v-5fa01c78]{margin-top:4px;position:absolute}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.v-enter-active[data-v-258b9f7e],.v-leave-active[data-v-258b9f7e]{transition:opacity .25s ease}ol[data-v-258b9f7e],ul[data-v-258b9f7e],menu[data-v-258b9f7e]{list-style:none;margin:0;padding:0}.dropdown.full-width[data-v-258b9f7e],.dropdown.full-width .button__container[data-v-258b9f7e]{width:100%}.dropdown-list-wrapper[data-v-258b9f7e]{display:flex;flex-direction:column;padding:.5rem}.list-container--multi[data-v-258b9f7e]{margin-bottom:0}.inline-search .inline-search-wrapper[data-v-258b9f7e]{padding-bottom:.25rem}.inline-search .list-container[data-v-258b9f7e]{padding-top:0}.no-result-container[data-v-258b9f7e]{height:100%;display:flex;align-items:center;padding:.375rem .5rem;color:var(--text-disabled)}.no-result[data-v-258b9f7e]{color:var(--text-disabled);padding-left:.5rem}.list[data-v-258b9f7e]{outline:none;display:flex;flex-direction:column;width:100%;min-height:2rem}.list--multi[data-v-258b9f7e]{margin-bottom:.5rem;border-bottom-left-radius:0;border-bottom-right-radius:0}.list li[data-v-258b9f7e]:last-child .item-container{margin-bottom:0}.image-slot[data-v-258b9f7e]{margin-right:.5rem}.actions-wrapper[data-v-258b9f7e]{display:flex;width:100%;padding:.5rem .5rem .5rem .125rem;padding-bottom:0;border-top:1px solid var(--common-divider);justify-content:space-between}.apply-button[data-v-258b9f7e]{margin-left:.5rem}
|