@ironsource/shared-ui 2.1.6-rc.1 → 2.1.6-rc.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/Autocomplete.vue_vue_type_style_index_0_scoped_a7bfd237_lang.css +1 -0
  2. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_a8fdae89_lang.css +1 -0
  3. package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_ad524750_lang.css +1 -0
  4. package/DropdownV4.vue_vue_type_style_index_0_scoped_0968078f_lang.css +1 -0
  5. package/DropdownV4.vue_vue_type_style_index_1_lang.css +1 -1
  6. package/MultiBar.vue_vue_type_style_index_0_scoped_71617643_lang.css +1 -0
  7. package/TextAreaV4.vue_vue_type_style_index_0_scoped_8199b662_lang.css +1 -0
  8. package/TextField.vue_vue_type_style_index_0_scoped_22c12586_lang.css +1 -0
  9. package/components/autocomplete/Autocomplete.vue.d.ts +5 -0
  10. package/components/autocomplete/Autocomplete.vue.js +3 -3
  11. package/components/autocomplete/Autocomplete.vue2.js +82 -61
  12. package/components/autocomplete/index.d.ts +20 -1
  13. package/components/dropdown/v4/ChipDropdownTrigger.vue.js +2 -2
  14. package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +1 -1
  15. package/components/dropdown/v4/DefaultDropdownTrigger.vue.js +2 -2
  16. package/components/dropdown/v4/DefaultDropdownTrigger.vue2.js +40 -49
  17. package/components/dropdown/v4/DropdownV4.vue.js +3 -3
  18. package/components/dropdown/v4/DropdownV4.vue2.js +117 -110
  19. package/components/input/v4/TextField.vue.js +3 -3
  20. package/components/input/v4/TextField.vue2.js +5 -4
  21. package/components/multibar/MultiBar.vue.js +3 -3
  22. package/components/multibar/MultiBar.vue2.js +21 -21
  23. package/components/textArea/v4/TextAreaV4.vue.js +3 -3
  24. package/components/textArea/v4/TextAreaV4.vue2.js +1 -1
  25. package/package.json +1 -1
  26. package/Autocomplete.vue_vue_type_style_index_0_scoped_d2d1dc1d_lang.css +0 -1
  27. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_889042cf_lang.css +0 -1
  28. package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_c3033d90_lang.css +0 -1
  29. package/DropdownV4.vue_vue_type_style_index_0_scoped_bf8e7ff5_lang.css +0 -1
  30. package/MultiBar.vue_vue_type_style_index_0_scoped_b473b35e_lang.css +0 -1
  31. package/TextAreaV4.vue_vue_type_style_index_0_scoped_0336a92f_lang.css +0 -1
  32. package/TextField.vue_vue_type_style_index_0_scoped_b5b2e8fd_lang.css +0 -1
@@ -1,36 +1,37 @@
1
- import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_bf8e7ff5_lang.css"; import "../../../DropdownV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as re, computed as V, openBlock as i, createElementBlock as n, mergeProps as u, unref as e, renderSlot as w, createElementVNode as y, createVNode as a, withCtx as c, Transition as se, normalizeClass as F, normalizeStyle as ue, isRef as ce, createCommentVNode as r, createTextVNode as g, toDisplayString as fe, withModifiers as x, Fragment as me, renderList as ye, toRaw as h, createBlock as pe, resolveDynamicComponent as ge } from "vue";
1
+ import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_0968078f_lang.css"; import "../../../DropdownV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as se, computed as z, openBlock as o, createElementBlock as n, mergeProps as u, unref as e, renderSlot as I, createElementVNode as y, createVNode as a, withCtx as c, Transition as ue, normalizeClass as V, normalizeStyle as ce, isRef as fe, createCommentVNode as r, createTextVNode as g, toDisplayString as me, withModifiers as x, Fragment as ye, renderList as pe, toRaw as T, createBlock as $, resolveDynamicComponent as ge } 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 be from "./DefaultDropdownTrigger.vue.js";
6
- import ke from "./IconButtonDropdownTrigger.vue.js";
7
- import he from "./ChipDropdownTrigger.vue.js";
8
- import Te from "./AppDropdownTrigger.vue.js";
5
+ import ke from "./DefaultDropdownTrigger.vue.js";
6
+ import be from "./IconButtonDropdownTrigger.vue.js";
7
+ import Te from "./ChipDropdownTrigger.vue.js";
8
+ import he from "./AppDropdownTrigger.vue.js";
9
9
  import "./ButtonDropdownTrigger.vue.js";
10
10
  import "./ButtonFilterDropdownTrigger.vue.js";
11
- import $ from "./OptionV4.vue.js";
11
+ import H from "./OptionV4.vue.js";
12
12
  import ve from "../../search/v4/SearchV4.vue.js";
13
- import H from "../../typography/v4/Typography.vue.js";
14
- import { Dropdown as Ie } from "floating-vue";
13
+ import U from "../../typography/v4/Typography.vue.js";
14
+ import { Dropdown as we } from "floating-vue";
15
15
  import { DropdownTestIdModifiers as f } from "../../../testids/index.js";
16
- import { dropdownCommon as we } from "../common/Dropdown.common.js";
16
+ import { dropdownCommon as Ie } from "../common/Dropdown.common.js";
17
17
  import Ce from "../../loader/v4/Loader.vue.js";
18
18
  import { useTestIdAttrs as Se } from "../../../utils/testIds.js";
19
19
  import { TRIGGERS as p } from "./Dropdown.types.js";
20
20
  import { useElementSize as Ae } from "@vueuse/core";
21
- const Le = ["tabindex"], Oe = { style: { width: "100%" } }, Be = { key: 0 }, Ne = { key: 1 }, De = { key: 2 }, Ee = {
21
+ import Le from "../../shared/FieldHelpText.vue.js";
22
+ const Oe = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, De = { key: 1 }, Ee = { key: 2 }, Ke = {
22
23
  key: 0,
23
24
  class: "inline-search-wrapper"
24
- }, Ke = {
25
+ }, Pe = {
25
26
  key: 0,
26
27
  class: "no-result-container"
27
- }, Pe = {
28
+ }, Re = {
28
29
  key: 1,
29
30
  class: "loader"
30
- }, Re = { key: 2 }, ze = ["aria-selected", "aria-disabled", "onClick"], Ve = {
31
+ }, Fe = { key: 2 }, ze = ["aria-selected", "aria-disabled", "onClick"], Ve = {
31
32
  key: 1,
32
33
  class: "actions-wrapper"
33
- }, Fe = { class: "actions-clear-all" }, xe = { class: "actions-apply-cancel" }, dt = /* @__PURE__ */ re({
34
+ }, xe = { class: "actions-clear-all" }, $e = { class: "actions-apply-cancel" }, st = /* @__PURE__ */ se({
34
35
  __name: "DropdownV4",
35
36
  props: {
36
37
  modelValue: { default: null },
@@ -81,7 +82,7 @@ const Le = ["tabindex"], Oe = { style: { width: "100%" } }, Be = { key: 0 }, Ne
81
82
  statusType: { default: null }
82
83
  },
83
84
  emits: ["update:selected", "update:isOpen", "closed", "opened", "apply"],
84
- setup(t, { expose: U, emit: W }) {
85
+ setup(t, { expose: W, emit: M }) {
85
86
  const d = t, L = {
86
87
  MULTILINE_LIST_HEIGHT: 48,
87
88
  LIST_HEIGHT: 32 + 4,
@@ -90,53 +91,53 @@ const Le = ["tabindex"], Oe = { style: { width: "100%" } }, Be = { key: 0 }, Ne
90
91
  DROPLIST_MIN_WIDTH: 240,
91
92
  VERSION: 4
92
93
  }, {
93
- onKeydown: b,
94
+ onKeydown: k,
94
95
  open: s,
95
- toggleMenu: T,
96
- onButtonKeydown: M,
96
+ toggleMenu: h,
97
+ onButtonKeydown: G,
97
98
  query: C,
98
- containerProps: G,
99
- calculateTableHeight: X,
100
- wrapperProps: q,
101
- filteredOptions: Y,
99
+ containerProps: X,
100
+ calculateTableHeight: q,
101
+ wrapperProps: Y,
102
+ filteredOptions: j,
102
103
  allSelected: O,
103
- isIndeterminate: j,
104
- onSelectAll: J,
104
+ isIndeterminate: J,
105
+ onSelectAll: Q,
105
106
  virtualOptions: B,
106
107
  isSelected: S,
107
- selectedOption: k,
108
+ selectedOption: b,
108
109
  selectedOptionPrevious: N,
109
- selectedValue: Q,
110
+ selectedValue: Z,
110
111
  onSelect: D,
111
112
  activeIndex: E,
112
- onCancel: Z,
113
- onApply: _,
114
- scrollTo: ee,
115
- listRef: te,
113
+ onCancel: _,
114
+ onApply: ee,
115
+ scrollTo: te,
116
+ listRef: le,
116
117
  buttonRef: K,
117
- apply: le,
118
+ apply: ie,
118
119
  cancel: oe,
119
- el: ie,
120
+ el: ne,
120
121
  onClearAllSelections: P,
121
- clearAll: ne
122
- } = we(d, W, L), m = Se(d.testId, f), R = V(() => !d.predefinedTrigger || d.predefinedTrigger === p.DEFAULT ? be : d.predefinedTrigger === p.APP ? Te : null), { width: z } = Ae(K), ae = V(() => d.optionsListWidth ? d.optionsListWidth : !d.predefinedTrigger || d.predefinedTrigger === p.DEFAULT || d.predefinedTrigger === p.APP ? z.value - 2 > 240 ? `${z.value - 2}px` : `${L.DROPLIST_MIN_WIDTH}px` : "auto"), de = () => {
123
- T();
122
+ clearAll: ae
123
+ } = Ie(d, M, L), m = Se(d.testId, f), R = z(() => !d.predefinedTrigger || d.predefinedTrigger === p.DEFAULT ? ke : d.predefinedTrigger === p.APP ? he : null), { width: F } = Ae(K), de = z(() => d.optionsListWidth ? d.optionsListWidth : !d.predefinedTrigger || d.predefinedTrigger === p.DEFAULT || d.predefinedTrigger === p.APP ? F.value - 2 > 240 ? `${F.value - 2}px` : `${L.DROPLIST_MIN_WIDTH}px` : "auto"), re = () => {
124
+ h();
124
125
  };
125
- return U({
126
+ return W({
126
127
  selectItem: D,
127
- scrollTo: ee
128
- }), (v, o) => (i(), n("div", u({
128
+ scrollTo: te
129
+ }), (v, i) => (o(), n("div", u({
129
130
  ref_key: "el",
130
- ref: ie,
131
+ ref: ne,
131
132
  class: ["dropdown dropdown--main-wrapper", [{ "dropdown--disabled": t.disabled, "full-width": t.fullWidth }]],
132
133
  tabindex: t.disabled ? -1 : 0
133
134
  }, e(m)[e(f).WRAPPER], {
134
- onKeydown: o[7] || (o[7] = //@ts-ignore
135
- (...l) => e(b) && e(b)(...l))
135
+ onKeydown: i[7] || (i[7] = //@ts-ignore
136
+ (...l) => e(k) && e(k)(...l))
136
137
  }), [
137
- w(v.$slots, "label", {}, void 0, !0),
138
- y("div", Oe, [
139
- a(e(Ie), u({
138
+ I(v.$slots, "label", {}, void 0, !0),
139
+ y("div", Be, [
140
+ a(e(we), u({
140
141
  theme: t.theme,
141
142
  "popper-class": [
142
143
  t.popperClass,
@@ -155,29 +156,29 @@ const Le = ["tabindex"], Oe = { style: { width: "100%" } }, Be = { key: 0 }, Ne
155
156
  "auto-size": t.autoSize
156
157
  }, e(m)[e(f).TRIGGER]), {
157
158
  popper: c(() => [
158
- a(se, null, {
159
+ a(ue, null, {
159
160
  default: c(() => [
160
- e(s) ? (i(), n("div", {
161
+ e(s) ? (o(), n("div", {
161
162
  key: 0,
162
163
  ref_key: "listRef",
163
- ref: te,
164
- class: F(["light-theme-v4", {
164
+ ref: le,
165
+ class: V(["light-theme-v4", {
165
166
  "dropdown--disabled": t.disabled,
166
167
  "inline-search": t.inlineSearch
167
168
  }]),
168
- style: ue({ width: e(ae) })
169
+ style: ce({ width: e(de) })
169
170
  }, [
170
- e(s) ? (i(), n("div", {
171
+ e(s) ? (o(), n("div", {
171
172
  key: 0,
172
173
  class: "dropdown-list-wrapper",
173
- onKeydown: o[6] || (o[6] = //@ts-ignore
174
- (...l) => e(b) && e(b)(...l))
174
+ onKeydown: i[6] || (i[6] = //@ts-ignore
175
+ (...l) => e(k) && e(k)(...l))
175
176
  }, [
176
- e(s) && t.inlineSearch ? (i(), n("div", Ee, [
177
+ e(s) && t.inlineSearch ? (o(), n("div", Ke, [
177
178
  a(e(ve), {
178
179
  modelValue: e(C),
179
180
  "onUpdate:modelValue": [
180
- o[3] || (o[3] = (l) => ce(C) ? C.value = l : null),
181
+ i[3] || (i[3] = (l) => fe(C) ? C.value = l : null),
181
182
  t.onClear
182
183
  ],
183
184
  placeholder: t.inlineSearchPlaceholder,
@@ -185,50 +186,50 @@ const Le = ["tabindex"], Oe = { style: { width: "100%" } }, Be = { key: 0 }, Ne
185
186
  size: "md",
186
187
  "auto-focus": t.searchAutoFocus,
187
188
  "test-id": t.testId,
188
- onKeydown: e(b)
189
+ onKeydown: e(k)
189
190
  }, null, 8, ["modelValue", "placeholder", "auto-focus", "test-id", "onUpdate:modelValue", "onKeydown"])
190
191
  ])) : r("", !0),
191
- w(v.$slots, "input-list", { open: e(s) }, void 0, !0),
192
+ I(v.$slots, "input-list", { open: e(s) }, void 0, !0),
192
193
  y("div", u({
193
194
  class: ["list-container", { "list-container--multi": t.multi }],
194
- style: { height: `${e(X)}rem` }
195
+ style: { height: `${e(q)}rem` }
195
196
  }, {
196
- ...e(G),
197
+ ...e(X),
197
198
  ...e(m)[e(f).LIST_CONTAINER]
198
199
  }), [
199
- y("ul", u(e(q), {
200
+ y("ul", u(e(Y), {
200
201
  role: "listbox",
201
202
  class: ["list", { "list--multi": t.multi }]
202
203
  }), [
203
- !e(Y).length && !t.loading ? (i(), n("li", Ke, [
204
- a(e(H), u({ variant: "body2" }, e(m)[e(f).NO_RESULT]), {
204
+ !e(j).length && !t.loading ? (o(), n("li", Pe, [
205
+ a(e(U), u({ variant: "body2" }, e(m)[e(f).NO_RESULT]), {
205
206
  default: c(() => [
206
- g(fe(t.noResultsText), 1)
207
+ g(me(t.noResultsText), 1)
207
208
  ]),
208
209
  _: 1
209
210
  }, 16)
210
211
  ])) : r("", !0),
211
- t.loading ? (i(), n("li", Pe, [
212
+ t.loading ? (o(), n("li", Re, [
212
213
  a(e(Ce)),
213
- a(e(H), null, {
214
+ a(e(U), null, {
214
215
  default: c(() => [
215
216
  g("Loading...")
216
217
  ]),
217
218
  _: 1
218
219
  })
219
220
  ])) : r("", !0),
220
- t.showSelectAll !== !1 && t.multi ? (i(), n("li", Re, [
221
- a(e($), u(
221
+ t.showSelectAll !== !1 && t.multi ? (o(), n("li", Fe, [
222
+ a(e(H), u(
222
223
  {
223
224
  "aria-selected": e(O),
224
225
  "aria-disabled": !!t.disabled,
225
226
  "selected-prop": e(O),
226
- "is-indeterminate": e(j),
227
+ "is-indeterminate": e(J),
227
228
  "select-all-option": ""
228
229
  },
229
230
  e(m)[e(f).SELECT_ALL],
230
231
  {
231
- onClick: o[4] || (o[4] = x((l) => e(J)(), ["stop"]))
232
+ onClick: i[4] || (i[4] = x((l) => e(Q)(), ["stop"]))
232
233
  }
233
234
  ), {
234
235
  default: c(() => [
@@ -237,22 +238,22 @@ const Le = ["tabindex"], Oe = { style: { width: "100%" } }, Be = { key: 0 }, Ne
237
238
  _: 1
238
239
  }, 16, ["aria-selected", "aria-disabled", "selected-prop", "is-indeterminate"])
239
240
  ])) : r("", !0),
240
- e(B).length && !t.loading ? (i(!0), n(me, { key: 3 }, ye(e(B), ({ data: l, index: I }) => (i(), n("li", {
241
- key: I,
242
- "aria-selected": e(S)(h(e(k)), l),
241
+ e(B).length && !t.loading ? (o(!0), n(ye, { key: 3 }, pe(e(B), ({ data: l, index: w }) => (o(), n("li", {
242
+ key: w,
243
+ "aria-selected": e(S)(T(e(b)), l),
243
244
  "aria-disabled": !!t.disabled,
244
- onClick: x(() => e(D)(l, I), ["stop"])
245
+ onClick: x(() => e(D)(l, w), ["stop"])
245
246
  }, [
246
- w(v.$slots, "default", {
247
+ I(v.$slots, "default", {
247
248
  option: l,
248
- selected: e(S)(h(e(k)), l),
249
- active: h(e(E)) === I,
249
+ selected: e(S)(T(e(b)), l),
250
+ active: T(e(E)) === w,
250
251
  disabled: l[d.disabledOptionKey]
251
252
  }, () => [
252
- a(e($), {
253
+ a(e(H), {
253
254
  option: l,
254
- selected: e(S)(h(e(k)), l),
255
- active: h(e(E)) === I,
255
+ selected: e(S)(T(e(b)), l),
256
+ active: T(e(E)) === w,
256
257
  disabled: l[d.disabledOptionKey],
257
258
  "name-key": t.optionNameKey,
258
259
  "image-key": t.optionImageKey,
@@ -263,19 +264,19 @@ const Le = ["tabindex"], Oe = { style: { width: "100%" } }, Be = { key: 0 }, Ne
263
264
  ], 8, ze))), 128)) : r("", !0)
264
265
  ], 16)
265
266
  ], 16),
266
- t.multi ? (i(), n("div", Ve, [
267
- y("div", Fe, [
267
+ t.multi ? (o(), n("div", Ve, [
268
+ y("div", xe, [
268
269
  a(e(A), u(
269
270
  {
270
271
  ref_key: "clearAll",
271
- ref: ne,
272
+ ref: ae,
272
273
  size: "small",
273
274
  variant: "text",
274
275
  color: "primary"
275
276
  },
276
277
  e(m)[e(f).ACTION_CLEAR_ALL],
277
278
  {
278
- onClick: o[5] || (o[5] = () => e(P)(!1))
279
+ onClick: i[5] || (i[5] = () => e(P)(!1))
279
280
  }
280
281
  ), {
281
282
  default: c(() => [
@@ -284,7 +285,7 @@ const Le = ["tabindex"], Oe = { style: { width: "100%" } }, Be = { key: 0 }, Ne
284
285
  _: 1
285
286
  }, 16)
286
287
  ]),
287
- y("div", xe, [
288
+ y("div", $e, [
288
289
  a(e(A), u(
289
290
  {
290
291
  ref_key: "cancel",
@@ -294,7 +295,7 @@ const Le = ["tabindex"], Oe = { style: { width: "100%" } }, Be = { key: 0 }, Ne
294
295
  color: "primary"
295
296
  },
296
297
  e(m)[e(f).ACTION_CANCEL],
297
- { onClick: e(Z) }
298
+ { onClick: e(_) }
298
299
  ), {
299
300
  default: c(() => [
300
301
  g(" Cancel ")
@@ -303,11 +304,11 @@ const Le = ["tabindex"], Oe = { style: { width: "100%" } }, Be = { key: 0 }, Ne
303
304
  }, 16, ["onClick"]),
304
305
  a(e(A), u({
305
306
  ref_key: "apply",
306
- ref: le,
307
+ ref: ie,
307
308
  "data-testid": "mutli-apply",
308
309
  size: "small",
309
310
  class: "apply-button"
310
- }, e(m)[e(f).ACTION_APPLY], { onClick: e(_) }), {
311
+ }, e(m)[e(f).ACTION_APPLY], { onClick: e(ee) }), {
311
312
  default: c(() => [
312
313
  g("Apply ")
313
314
  ]),
@@ -323,67 +324,65 @@ const Le = ["tabindex"], Oe = { style: { width: "100%" } }, Be = { key: 0 }, Ne
323
324
  ]),
324
325
  default: c(() => [
325
326
  y("div", {
326
- class: F(["button__container", {
327
+ class: V(["button__container", {
327
328
  "button__container--open": !!e(s),
328
329
  [`button__container--${t.size}`]: !0,
329
330
  "button__container--disabled": t.disabled
330
331
  }])
331
332
  }, [
332
- w(v.$slots, "dropdown-trigger", {
333
+ I(v.$slots, "dropdown-trigger", {
333
334
  buttonTriggerProps: {
334
335
  open: e(s),
335
336
  disabled: t.disabled,
336
- label: e(Q) || t.placeholder,
337
- onClick: () => e(T)()
337
+ label: e(Z) || t.placeholder,
338
+ onClick: () => e(h)()
338
339
  }
339
340
  }, () => [
340
341
  y("div", {
341
342
  ref_key: "buttonRef",
342
343
  ref: K
343
344
  }, [
344
- e(R) ? (i(), n("div", Be, [
345
- (i(), pe(ge(e(R)), {
345
+ e(R) ? (o(), n("div", Ne, [
346
+ (o(), $(ge(e(R)), {
346
347
  placeholder: t.placeholder,
347
348
  open: e(s),
348
349
  label: t.triggerLabel,
349
- "hover-help-text": t.triggerHelperText,
350
- "feedback-text": t.triggerFeedbackText,
351
- "feedback-variant": t.triggerFeedbackVariant,
352
350
  "show-feedback-icon": t.triggerFeedbackShowIcon,
353
351
  mandatory: t.mandatory,
354
352
  "test-id": t.testId,
355
353
  multi: t.multi,
356
354
  disabled: t.disabled,
357
- "selected-option": t.multi ? e(N) : e(k),
355
+ "selected-option": t.multi ? e(N) : e(b),
358
356
  "display-value": t.displayValue,
359
357
  options: t.options,
360
358
  "option-name-key": t.optionNameKey,
361
359
  "option-image-key": t.optionImageKey,
362
360
  "option-icon-key": t.optionIconKey,
363
361
  "option-icon-type": t.optionIconType,
362
+ "feedback-variant": t.triggerFeedbackVariant,
364
363
  "value-to-copy": t.valueToCopy,
365
364
  "status-dot-type": t.statusType,
366
365
  size: t.size,
367
- onKeydown: e(M),
368
- onClick: de
369
- }, 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"]))
366
+ onKeydown: e(G),
367
+ onClick: re
368
+ }, null, 40, ["placeholder", "open", "label", "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", "feedback-variant", "value-to-copy", "status-dot-type", "size", "onKeydown"]))
370
369
  ])) : r("", !0),
371
- t.predefinedTrigger === e(p).ICON_BUTTON ? (i(), n("div", Ne, [
372
- a(e(ke), {
373
- onClick: o[0] || (o[0] = (l) => e(T)())
370
+ t.predefinedTrigger === e(p).ICON_BUTTON ? (o(), n("div", De, [
371
+ a(e(be), {
372
+ onClick: i[0] || (i[0] = (l) => e(h)())
374
373
  })
375
374
  ])) : r("", !0),
376
- t.predefinedTrigger === e(p).CHIP ? (i(), n("div", De, [
377
- a(e(he), {
375
+ t.predefinedTrigger === e(p).CHIP ? (o(), n("div", Ee, [
376
+ a(e(Te), {
378
377
  open: e(s),
379
378
  label: t.placeholder,
380
379
  "test-id": t.testId,
381
380
  options: t.options,
382
- "selected-option": t.multi ? e(N) : e(k),
381
+ "selected-option": t.multi ? e(N) : e(b),
383
382
  "display-value": t.displayValue,
384
383
  multi: t.multi,
385
- onClick: o[1] || (o[1] = (l) => e(T)()),
386
- onClear: o[2] || (o[2] = (l) => e(P)())
384
+ onClick: i[1] || (i[1] = (l) => e(h)()),
385
+ onClear: i[2] || (i[2] = (l) => e(P)())
387
386
  }, null, 8, ["open", "label", "test-id", "options", "selected-option", "display-value", "multi"])
388
387
  ])) : r("", !0)
389
388
  ], 512)
@@ -391,11 +390,19 @@ const Le = ["tabindex"], Oe = { style: { width: "100%" } }, Be = { key: 0 }, Ne
391
390
  ], 2)
392
391
  ]),
393
392
  _: 3
394
- }, 16, ["theme", "popper-class", "placement", "skidding", "distance", "flip", "shown", "container", "auto-size"])
393
+ }, 16, ["theme", "popper-class", "placement", "skidding", "distance", "flip", "shown", "container", "auto-size"]),
394
+ t.triggerFeedbackText ? (o(), $(Le, {
395
+ key: 0,
396
+ text: t.triggerFeedbackText,
397
+ variant: t.triggerFeedbackVariant,
398
+ "show-icon": t.triggerFeedbackShowIcon,
399
+ "test-id": t.testId,
400
+ class: "dropdown-field-help-text"
401
+ }, null, 8, ["text", "variant", "show-icon", "test-id"])) : r("", !0)
395
402
  ])
396
- ], 16, Le));
403
+ ], 16, Oe));
397
404
  }
398
405
  });
399
406
  export {
400
- dt as default
407
+ st as default
401
408
  };
@@ -1,7 +1,7 @@
1
1
  import e from "./TextField.vue2.js";
2
2
  /* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../TextField.vue_vue_type_style_index_0_scoped_b5b2e8fd_lang.css"; //*');
4
- const d = /* @__PURE__ */ o(e, [["__scopeId", "data-v-b5b2e8fd"]]);
3
+ // import "../../../TextField.vue_vue_type_style_index_0_scoped_22c12586_lang.css"; //*');
4
+ const c = /* @__PURE__ */ o(e, [["__scopeId", "data-v-22c12586"]]);
5
5
  export {
6
- d as default
6
+ c as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import "../../../TextField.vue_vue_type_style_index_0_scoped_b5b2e8fd_lang.css"; import { defineComponent as M, computed as b, ref as G, openBlock as l, createElementBlock as r, mergeProps as y, unref as t, createBlock as d, createCommentVNode as n, createElementVNode as L, normalizeClass as V, renderSlot as C, withCtx as h, createTextVNode as E, toDisplayString as F, withKeys as W, withModifiers as P, createVNode as p } from "vue";
1
+ import "../../../TextField.vue_vue_type_style_index_0_scoped_22c12586_lang.css"; import { defineComponent as M, computed as b, ref as G, openBlock as l, createElementBlock as r, mergeProps as y, unref as t, createBlock as d, createCommentVNode as n, createElementVNode as L, normalizeClass as V, renderSlot as C, withCtx as h, createTextVNode as E, toDisplayString as F, withKeys as W, withModifiers as P, createVNode as p } from "vue";
2
2
  import v from "../../icon/v4/IconV4.vue.js";
3
3
  import j from "../../tooltip/v4/TooltipV4.vue.js";
4
4
  import $ from "../../typography/v4/Typography.vue.js";
@@ -11,7 +11,7 @@ import { useTestIdAttrs as X } from "../../../utils/testIds.js";
11
11
  const Y = {
12
12
  key: 0,
13
13
  class: "icon-container icon-before"
14
- }, Z = ["value", "placeholder", "disabled", "type", "step", "maxlength"], _ = ["onClick"], ee = {
14
+ }, Z = ["maxlength", "value", "placeholder", "disabled", "type", "step"], _ = ["onClick"], ee = {
15
15
  key: 3,
16
16
  class: "inline-error"
17
17
  }, te = {
@@ -104,9 +104,11 @@ const Y = {
104
104
  ]),
105
105
  _: 1
106
106
  })) : n("", !0),
107
- L("input", y({ ...u.$attrs, ...t(c)[t(f).FIELD] }, {
107
+ L("input", y({
108
108
  ref_key: "inputRef",
109
109
  ref: T,
110
+ maxlength: e.maxLength
111
+ }, { ...u.$attrs, ...t(c)[t(f).FIELD] }, {
110
112
  value: t(A),
111
113
  placeholder: t(S),
112
114
  disabled: e.disabled || e.viewOnly,
@@ -119,7 +121,6 @@ const Y = {
119
121
  "input-type": e.type
120
122
  }],
121
123
  step: e.step,
122
- maxlength: e.maxLength,
123
124
  onInput: a[0] || (a[0] = //@ts-ignore
124
125
  (...i) => t(I) && t(I)(...i)),
125
126
  onFocus: a[1] || (a[1] = (i) => x.value = !0),
@@ -1,7 +1,7 @@
1
1
  import o from "./MultiBar.vue2.js";
2
- /* empty css */import e from "../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../MultiBar.vue_vue_type_style_index_0_scoped_b473b35e_lang.css"; //*');
4
- const p = /* @__PURE__ */ e(o, [["__scopeId", "data-v-b473b35e"]]);
2
+ /* empty css */import _ from "../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../MultiBar.vue_vue_type_style_index_0_scoped_71617643_lang.css"; //*');
4
+ const p = /* @__PURE__ */ _(o, [["__scopeId", "data-v-71617643"]]);
5
5
  export {
6
6
  p as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import "../../MultiBar.vue_vue_type_style_index_0_scoped_b473b35e_lang.css"; import { defineComponent as k, computed as v, openBlock as l, createBlock as d, Teleport as x, createVNode as c, Transition as g, withCtx as u, unref as t, createElementBlock as r, mergeProps as B, createElementVNode as V, createTextVNode as h, toDisplayString as A, createCommentVNode as m, Fragment as z, renderList as M, normalizeClass as N } from "vue";
1
+ import "../../MultiBar.vue_vue_type_style_index_0_scoped_71617643_lang.css"; import { defineComponent as k, computed as v, openBlock as l, createBlock as d, Teleport as x, createVNode as u, Transition as g, withCtx as c, unref as e, createElementBlock as r, mergeProps as B, createElementVNode as V, createTextVNode as h, toDisplayString as A, createCommentVNode as m, Fragment as z, renderList as M, normalizeClass as N } from "vue";
2
2
  import { useVModel as $ } from "@vueuse/core";
3
3
  import E from "../typography/v4/Typography.vue.js";
4
4
  import S from "../button/v4/ButtonV4.vue.js";
@@ -27,67 +27,67 @@ const O = { class: "multi-bar-panel" }, R = {
27
27
  },
28
28
  emits: ["update:modelValue", "close", "action"],
29
29
  setup(o, { emit: s }) {
30
- const e = o, f = $(e, "modelValue", s), I = () => {
30
+ const t = o, f = $(t, "modelValue", s), I = () => {
31
31
  f.value = !1, s("close");
32
32
  }, b = (a) => {
33
33
  s("action", a);
34
34
  }, p = v(
35
- () => e.actions.length > e.visibleActionsCount ? e.actions.slice(0, e.visibleActionsCount) : e.actions
35
+ () => t.actions.length > t.visibleActionsCount ? t.actions.slice(0, t.visibleActionsCount) : t.actions
36
36
  ), C = v(
37
- () => e.actions.length > e.visibleActionsCount ? e.actions.slice(e.visibleActionsCount) : []
38
- ), y = L(e.testId, n);
37
+ () => t.actions.length > t.visibleActionsCount ? t.actions.slice(t.visibleActionsCount) : []
38
+ ), y = L(t.testId, n);
39
39
  return (a, F) => (l(), d(x, {
40
40
  to: "body",
41
41
  disabled: !o.appendToBody
42
42
  }, [
43
- c(g, { name: "multi-bar" }, {
44
- default: u(() => [
45
- t(f) ? (l(), r("div", B({
43
+ u(g, { name: "multi-bar" }, {
44
+ default: c(() => [
45
+ e(f) ? (l(), r("div", B({
46
46
  key: 0,
47
47
  class: ["multi-bar", {
48
48
  "light-theme-v4": !0,
49
49
  "multi-bar--fixed": o.appendToBody,
50
- "multi-bar--sticky": !o.appendToBody,
50
+ "multi-bar--absolute": !o.appendToBody,
51
51
  "multi-bar--small": o.size === "small",
52
52
  "multi-bar--medium": o.size === "medium",
53
53
  "multi-bar--left": o.position === "left"
54
54
  }],
55
55
  style: { zIndex: o.zIndex }
56
- }, { ...a.$attrs, ...t(y)[t(n).WRAPPER] }), [
56
+ }, { ...a.$attrs, ...e(y)[e(n).WRAPPER] }), [
57
57
  V("div", O, [
58
- c(t(P), B({
58
+ u(e(P), B({
59
59
  "icon-name": "x",
60
60
  class: "close-icon"
61
- }, t(y)[t(n).CLOSE_BTN], { onClick: I }), null, 16),
61
+ }, e(y)[e(n).CLOSE_BTN], { onClick: I }), null, 16),
62
62
  o.selectedCount ? (l(), r("div", R, [
63
- c(t(E), { variant: "body1" }, {
64
- default: u(() => [
63
+ u(e(E), { variant: "body1" }, {
64
+ default: c(() => [
65
65
  h(A(o.selectedCount) + " selected ", 1)
66
66
  ]),
67
67
  _: 1
68
68
  })
69
69
  ])) : m("", !0),
70
- (l(!0), r(z, null, M(t(p), (i, T) => (l(), d(t(S), {
70
+ (l(!0), r(z, null, M(e(p), (i, T) => (l(), d(e(S), {
71
71
  key: i.id,
72
72
  class: N(["action-button", {
73
- "action-button--last": T === t(p).length - 1
73
+ "action-button--last": T === e(p).length - 1
74
74
  }]),
75
75
  variant: "text",
76
76
  color: "default",
77
77
  "start-icon-name": i.icon,
78
- "data-testid": `${e.testId}-${t(n).ACTION}-${i.id}`,
78
+ "data-testid": `${t.testId}-${e(n).ACTION}-${i.id}`,
79
79
  disabled: i.disabled,
80
80
  onClick: (U) => b(i)
81
81
  }, {
82
- default: u(() => [
82
+ default: c(() => [
83
83
  h(A(i.title), 1)
84
84
  ]),
85
85
  _: 2
86
86
  }, 1032, ["class", "start-icon-name", "data-testid", "disabled", "onClick"]))), 128)),
87
- t(C).length ? (l(), d(w, {
87
+ e(C).length ? (l(), d(w, {
88
88
  key: 1,
89
- "menu-items": t(C),
90
- "test-id": `${e.testId}-${t(n).MENU}`,
89
+ "menu-items": e(C),
90
+ "test-id": `${t.testId}-${e(n).MENU}`,
91
91
  onSelected: b
92
92
  }, null, 8, ["menu-items", "test-id"])) : m("", !0)
93
93
  ])
@@ -1,7 +1,7 @@
1
1
  import e from "./TextAreaV4.vue2.js";
2
2
  /* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../TextAreaV4.vue_vue_type_style_index_0_scoped_0336a92f_lang.css"; //*');
4
- const a = /* @__PURE__ */ o(e, [["__scopeId", "data-v-0336a92f"]]);
3
+ // import "../../../TextAreaV4.vue_vue_type_style_index_0_scoped_8199b662_lang.css"; //*');
4
+ const p = /* @__PURE__ */ o(e, [["__scopeId", "data-v-8199b662"]]);
5
5
  export {
6
- a as default
6
+ p as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import "../../../TextAreaV4.vue_vue_type_style_index_0_scoped_0336a92f_lang.css"; import { defineComponent as s, computed as b, openBlock as t, createElementBlock as i, mergeProps as c, unref as a, createBlock as n, createCommentVNode as l, createElementVNode as g } from "vue";
1
+ import "../../../TextAreaV4.vue_vue_type_style_index_0_scoped_8199b662_lang.css"; import { defineComponent as s, computed as b, openBlock as t, createElementBlock as i, mergeProps as c, unref as a, createBlock as n, createCommentVNode as l, createElementVNode as g } from "vue";
2
2
  import v from "../../shared/FieldLabel.vue.js";
3
3
  import k from "../../shared/FieldMaxLength.vue.js";
4
4
  import T from "../../shared/FieldHelpText.vue.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ironsource/shared-ui",
3
- "version": "2.1.6-rc.1",
3
+ "version": "2.1.6-rc.10",
4
4
  "engines": {
5
5
  "npm": ">=7.0.0",
6
6
  "node": ">=16.0.0"
@@ -1 +0,0 @@
1
- div[data-v-d2d1dc1d]{display:block}.autocomplete-dropdown[data-v-d2d1dc1d]{position:relative}