@ironsource/shared-ui 2.2.0-rc.21 → 2.2.0-rc.23

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 (25) hide show
  1. package/TagsFieldChip.vue_vue_type_style_index_0_scoped_cbb21c6a_lang.css +1 -0
  2. package/components/dropdown/v3/SearchInput.vue2.js +1 -82
  3. package/components/dropdown/v4/AppDropdownTrigger.vue2.js +1 -185
  4. package/components/dropdown/v4/ButtonDropdownTrigger.vue2.js +1 -70
  5. package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue2.js +1 -54
  6. package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +1 -126
  7. package/components/dropdown/v4/ConditionalDropdown.vue2.js +1 -275
  8. package/components/dropdown/v4/DefaultDropdownTrigger.vue2.js +1 -156
  9. package/components/dropdown/v4/DropdownV4.vue2.js +1 -583
  10. package/components/dropdown/v4/GroupOption.vue2.js +1 -29
  11. package/components/dropdown/v4/IconButtonDropdownTrigger.vue2.js +1 -23
  12. package/components/dropdown/v4/OptionV4.vue2.js +1 -300
  13. package/components/dropdown/v4/TreeDropdown.vue2.js +1 -272
  14. package/components/emptyState/v3/EmptyState.vue2.js +1 -91
  15. package/components/emptyState/v4/EmptyStateV4.vue2.js +1 -86
  16. package/components/table-cells/v3/Editable.vue.js +0 -7
  17. package/components/table-cells/v3/Editable.vue2.js +10 -1
  18. package/components/tagsField/TagsFieldChip.vue.d.ts +43 -0
  19. package/components/tagsField/TagsFieldChip.vue.js +5 -5
  20. package/components/tagsField/TagsFieldChip.vue2.js +101 -55
  21. package/components/tagsField/index.d.ts +116 -3
  22. package/components/tagsField/index.js +6 -4
  23. package/index.js +3 -1
  24. package/package.json +1 -1
  25. package/TagsFieldChip.vue_vue_type_style_index_0_scoped_d186b7ef_lang.css +0 -1
@@ -1,86 +1 @@
1
- import "../../../EmptyStateV4.vue_vue_type_style_index_0_scoped_76757f22_lang.css"; import I from "../../../_virtual/dynamic-import-helper.js";
2
- import { defineComponent as T, computed as N, defineAsyncComponent as b, openBlock as o, createElementBlock as k, mergeProps as s, unref as e, createBlock as n, createCommentVNode as a, createElementVNode as C, renderSlot as p, withCtx as m, createTextVNode as l, toDisplayString as u } from "vue";
3
- import E from "../../button/v4/ButtonV4.vue.js";
4
- import "../../button/v4/IconButtonV4.vue.js";
5
- import "../../button/v4/ButtonGroup.vue.js";
6
- import "../../button/v4/ToggleButtonGroupAB.vue.js";
7
- import y from "../../typography/v4/Typography.vue.js";
8
- import { capitalizeFirstLetter as S, snakeCaseToCamelCase as g } from "../../../utils/string.js";
9
- import x from "../../icon/v4/IconV4.vue.js";
10
- import "../../icon/v4/IconFlag.vue.js";
11
- import { useTestIdAttrs as z } from "../../../utils/testIds.js";
12
- import { EmptyStateTestIdModifiers as r } from "../../../testids/index.js";
13
- const A = { class: "title-wrapper" }, P = /* @__PURE__ */ T({
14
- __name: "EmptyStateV4",
15
- props: {
16
- title: { default: "No data to display" },
17
- subtitle: { default: void 0 },
18
- variant: { default: "no-data" },
19
- buttonText: { default: void 0 },
20
- iconName: { default: null },
21
- iconType: { default: "regular" },
22
- iconSize: { default: "48px" },
23
- testId: { default: "" }
24
- },
25
- emits: ["click"],
26
- setup(t) {
27
- const d = t, v = N(() => {
28
- const i = S(g(d.variant));
29
- return b(() => I(/* @__PURE__ */ Object.assign({ "./icons/IconError.vue": () => import("./icons/IconError.vue.js"), "./icons/IconFiles.vue": () => import("./icons/IconFiles.vue.js"), "./icons/IconNoAccess.vue": () => import("./icons/IconNoAccess.vue.js"), "./icons/IconNoData.vue": () => import("./icons/IconNoData.vue.js"), "./icons/IconNoResults.vue": () => import("./icons/IconNoResults.vue.js"), "./icons/IconSettings.vue": () => import("./icons/IconSettings.vue.js") }), `./icons/Icon${i}.vue`));
30
- }), c = z(d.testId, r);
31
- return (i, f) => (o(), k("div", s({ class: "empty-state" }, e(c)[e(r).CONTAINER]), [
32
- t.variant && !t.iconName ? (o(), n(e(v), {
33
- key: 0,
34
- class: "empty-variant-icon"
35
- })) : a("", !0),
36
- t.iconName ? (o(), n(e(x), {
37
- key: 1,
38
- class: "custom-empty-icon",
39
- name: t.iconName,
40
- size: t.iconSize,
41
- type: t.iconType
42
- }, null, 8, ["name", "size", "type"])) : a("", !0),
43
- C("div", A, [
44
- p(i.$slots, "content", {}, () => [
45
- t.title ? (o(), n(e(y), s({
46
- key: 0,
47
- variant: "h4",
48
- class: "title"
49
- }, e(c)[e(r).TITLE]), {
50
- default: m(() => [
51
- l(u(t.title), 1)
52
- ]),
53
- _: 1
54
- }, 16)) : a("", !0),
55
- t.subtitle ? (o(), n(e(y), s({
56
- key: 1,
57
- variant: "body1",
58
- class: "subtitle"
59
- }, e(c)[e(r).SUBTITLE]), {
60
- default: m(() => [
61
- l(u(t.subtitle), 1)
62
- ]),
63
- _: 1
64
- }, 16)) : a("", !0)
65
- ], !0)
66
- ]),
67
- p(i.$slots, "button", {}, () => [
68
- t.buttonText ? (o(), n(e(E), {
69
- key: 0,
70
- variant: "outlined",
71
- color: "default",
72
- class: "button",
73
- onClick: f[0] || (f[0] = (B) => i.$emit("click"))
74
- }, {
75
- default: m(() => [
76
- l(u(t.buttonText), 1)
77
- ]),
78
- _: 1
79
- })) : a("", !0)
80
- ], !0)
81
- ], 16));
82
- }
83
- });
84
- export {
85
- P as default
86
- };
1
+ import "../../../EmptyStateV4.vue_vue_type_style_index_0_scoped_76757f22_lang.css";
@@ -1,7 +0,0 @@
1
- import e from "./Editable.vue2.js";
2
- /* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../Editable.vue_vue_type_style_index_0_scoped_2561e913_lang.css"; //*');
4
- const p = /* @__PURE__ */ o(e, [["__scopeId", "data-v-2561e913"]]);
5
- export {
6
- p as default
7
- };
@@ -1,4 +1,4 @@
1
- import "../../../Editable.vue_vue_type_style_index_0_scoped_2561e913_lang.css"; import { defineComponent as u, openBlock as i, createElementBlock as a, unref as e, createElementVNode as m, renderSlot as s, createVNode as p, withCtx as y, createTextVNode as g, toDisplayString as k } from "vue";
1
+ import { defineComponent as u, openBlock as i, createElementBlock as a, unref as e, createElementVNode as m, renderSlot as s, createVNode as p, withCtx as y, createTextVNode as g, toDisplayString as k } from "vue";
2
2
  import E from "../../typography/Text.vue.js";
3
3
  import { editableCommon as _ } from "../common/Editable.common.js";
4
4
  const v = { class: "editable-container" }, x = {
@@ -38,6 +38,15 @@ const v = { class: "editable-container" }, x = {
38
38
  ], 512));
39
39
  }
40
40
  });
41
+ export {
42
+ N as default
43
+ };
44
+ ], !0)
45
+ ]))
46
+ ])
47
+ ], 512));
48
+ }
49
+ });
41
50
  export {
42
51
  N as default
43
52
  };
@@ -1,29 +1,72 @@
1
+ import { ChipSize, ChipColor, ChipVariant } from '../chip/v4/Chip.types';
1
2
  declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
3
  label: string;
3
4
  isInvalid?: boolean;
4
5
  testId?: string;
6
+ size?: ChipSize;
7
+ rounded?: boolean;
8
+ disabled?: boolean;
9
+ removable?: boolean;
10
+ color?: ChipColor;
11
+ iconColor?: string;
12
+ variant?: ChipVariant;
13
+ placeholder?: string;
5
14
  }>, {
6
15
  isInvalid: boolean;
7
16
  label: string;
8
17
  testId: string;
18
+ size: string;
19
+ rounded: boolean;
20
+ disabled: boolean;
21
+ removable: boolean;
22
+ color: string;
23
+ iconColor: string;
24
+ variant: string;
25
+ placeholder: string;
9
26
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
27
  "update:label": (value: string) => void;
11
28
  remove: () => void;
29
+ stopEditing: () => void;
12
30
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
13
31
  label: string;
14
32
  isInvalid?: boolean;
15
33
  testId?: string;
34
+ size?: ChipSize;
35
+ rounded?: boolean;
36
+ disabled?: boolean;
37
+ removable?: boolean;
38
+ color?: ChipColor;
39
+ iconColor?: string;
40
+ variant?: ChipVariant;
41
+ placeholder?: string;
16
42
  }>, {
17
43
  isInvalid: boolean;
18
44
  label: string;
19
45
  testId: string;
46
+ size: string;
47
+ rounded: boolean;
48
+ disabled: boolean;
49
+ removable: boolean;
50
+ color: string;
51
+ iconColor: string;
52
+ variant: string;
53
+ placeholder: string;
20
54
  }>>> & {
21
55
  onRemove?: () => any;
22
56
  "onUpdate:label"?: (value: string) => any;
57
+ onStopEditing?: () => any;
23
58
  }, {
24
59
  label: string;
25
60
  testId: string;
61
+ variant: ChipVariant;
62
+ disabled: boolean;
63
+ color: ChipColor;
64
+ size: ChipSize;
65
+ rounded: boolean;
66
+ placeholder: string;
26
67
  isInvalid: boolean;
68
+ removable: boolean;
69
+ iconColor: string;
27
70
  }>;
28
71
  export default _default;
29
72
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -1,7 +1,7 @@
1
- import e from "./TagsFieldChip.vue2.js";
2
- /* empty css */import o from "../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../TagsFieldChip.vue_vue_type_style_index_0_scoped_d186b7ef_lang.css"; //*');
4
- const t = /* @__PURE__ */ o(e, [["__scopeId", "data-v-d186b7ef"]]);
1
+ import o from "./TagsFieldChip.vue2.js";
2
+ /* empty css */import e from "../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../TagsFieldChip.vue_vue_type_style_index_0_scoped_cbb21c6a_lang.css"; //*');
4
+ const p = /* @__PURE__ */ e(o, [["__scopeId", "data-v-cbb21c6a"]]);
5
5
  export {
6
- t as default
6
+ p as default
7
7
  };
@@ -1,81 +1,127 @@
1
- import "../../TagsFieldChip.vue_vue_type_style_index_0_scoped_d186b7ef_lang.css"; import { defineComponent as k, ref as p, computed as x, openBlock as C, createBlock as I, unref as t, normalizeClass as c, withModifiers as s, withCtx as f, createElementVNode as v, createVNode as m, createTextVNode as w, toDisplayString as T, withDirectives as B, isRef as E, withKeys as h, vShow as V, vModelText as K, nextTick as N } from "vue";
2
- import R from "../typography/v4/Typography.vue.js";
3
- import z from "../icon/v4/IconV4.vue.js";
1
+ import "../../TagsFieldChip.vue_vue_type_style_index_0_scoped_cbb21c6a_lang.css"; import { defineComponent as V, ref as d, computed as b, watch as N, nextTick as k, openBlock as u, createBlock as g, unref as t, normalizeClass as s, normalizeStyle as w, withModifiers as n, withCtx as C, createElementVNode as S, createTextVNode as K, toDisplayString as z, withDirectives as x, createElementBlock as I, isRef as D, withKeys as B, vModelText as F, createCommentVNode as O, createVNode as W, vShow as L } from "vue";
2
+ import U from "../typography/v4/Typography.vue.js";
3
+ import $ from "../icon/v4/IconV4.vue.js";
4
4
  import "../icon/v4/IconFlag.vue.js";
5
- import D from "../chip/v4/ChipV4.vue.js";
6
- const M = { class: "chip-content" }, S = ["onKeyup"], j = /* @__PURE__ */ k({
5
+ import j from "../chip/v4/ChipV4.vue.js";
6
+ const q = { class: "chip-content" }, A = ["placeholder", "onKeyup"], X = /* @__PURE__ */ V({
7
7
  __name: "TagsFieldChip",
8
8
  props: {
9
9
  label: { default: "" },
10
10
  isInvalid: { type: Boolean, default: !1 },
11
- testId: { default: "" }
11
+ testId: { default: "" },
12
+ size: { default: "small" },
13
+ rounded: { type: Boolean, default: !0 },
14
+ disabled: { type: Boolean, default: !1 },
15
+ removable: { type: Boolean, default: !0 },
16
+ color: { default: "default" },
17
+ iconColor: { default: "var(--action-active)" },
18
+ variant: { default: "filled" },
19
+ placeholder: { default: "" }
12
20
  },
13
- emits: ["update:label", "remove"],
14
- setup(l, { emit: n }) {
15
- const b = l, i = p(!1), e = x({
16
- get: () => b.label,
17
- set: (d) => {
18
- n("update:label", d);
21
+ emits: ["update:label", "remove", "stopEditing"],
22
+ setup(e, { emit: r }) {
23
+ const i = e, a = d(!1), l = b({
24
+ get: () => i.label,
25
+ set: (h) => {
26
+ r("update:label", h);
19
27
  }
20
- }), r = p(null), g = () => r.value?.focus(), y = async () => {
21
- i.value = !0, await N(), g();
22
- }, o = () => {
23
- i.value = !1, e.value || n("remove");
24
- };
25
- return (d, a) => (C(), I(t(D), {
26
- class: c(["tags-field-chip", {
27
- "tags-field-chip--editing": i.value,
28
- "tags-field-chip--invalid": l.isInvalid
29
- }]),
30
- label: t(e),
31
- "test-id": l.testId,
32
- color: l.isInvalid ? "error" : "default",
33
- onClick: s(y, ["stop"])
28
+ }), p = d(null), E = () => p.value?.focus(), M = async () => {
29
+ i.disabled || (a.value = !0, await k(), E());
30
+ }, R = () => {
31
+ r("stopEditing"), c();
32
+ }, c = () => {
33
+ a.value = !1, !l.value && !i.placeholder && r("remove");
34
+ }, v = d(null), f = d(void 0);
35
+ N(
36
+ () => [l.value, i.placeholder, a.value],
37
+ async () => {
38
+ await k(), a.value && v.value ? f.value = v.value.offsetWidth + "px" : f.value = void 0;
39
+ },
40
+ { immediate: !0 }
41
+ );
42
+ const m = {
43
+ default: "var(--default-outlined-border)",
44
+ primary: "var(--primary-main)",
45
+ info: "var(--info-dark)",
46
+ error: "var(--error-main)",
47
+ warning: "var(--warning-main)",
48
+ success: "var(--success-main)",
49
+ dark: "var(--common-divider)"
50
+ }, T = b(() => a.value && i.variant !== "outlined" ? {
51
+ "--outline-color": i.isInvalid ? m.error : m[i.color] || "var(--default-outlined-border)"
52
+ } : {});
53
+ return (h, o) => (u(), g(t(j), {
54
+ class: s({
55
+ "rounded-chip": e.rounded,
56
+ "tags-field-chip--editing": a.value && e.variant !== "outlined"
57
+ // outlined chips have an outline
58
+ }),
59
+ label: t(l),
60
+ "test-id": e.testId,
61
+ color: e.isInvalid ? "error" : e.color,
62
+ size: e.size,
63
+ variant: e.variant,
64
+ disabled: e.disabled,
65
+ style: w(t(T)),
66
+ onClick: n(M, ["stop"])
34
67
  }, {
35
- default: f(() => [
36
- v("div", M, [
37
- m(t(R), {
38
- variant: "chipLabel",
39
- class: c(["chip-label", { "chip-label--hidden": i.value }])
40
- }, {
41
- default: f(() => [
42
- w(T(t(e)), 1)
43
- ]),
44
- _: 1
45
- }, 8, ["class"]),
46
- B(v("input", {
68
+ default: C(() => [
69
+ S("div", q, [
70
+ a.value ? x((u(), I("input", {
71
+ key: 1,
47
72
  ref_key: "inputRef",
48
- ref: r,
49
- "onUpdate:modelValue": a[0] || (a[0] = (u) => E(e) ? e.value = u : null),
50
- class: "chip-input",
73
+ ref: p,
74
+ "onUpdate:modelValue": o[0] || (o[0] = (y) => D(l) ? l.value = y : null),
75
+ placeholder: e.placeholder,
76
+ class: s(["chip-input", { "chip-input-outline": e.variant === "outlined" }]),
51
77
  spellcheck: "false",
52
- onBlur: o,
78
+ style: w({ width: f.value }),
79
+ onBlur: R,
53
80
  onKeyup: [
54
- h(s(o, ["prevent"]), ["enter"]),
55
- h(s(o, ["prevent"]), ["esc"])
81
+ B(n(c, ["prevent"]), ["enter"]),
82
+ B(n(c, ["prevent"]), ["esc"])
56
83
  ]
57
- }, null, 40, S), [
58
- [V, i.value],
84
+ }, null, 46, A)), [
59
85
  [
60
- K,
61
- t(e),
86
+ F,
87
+ t(l),
62
88
  void 0,
63
89
  { trim: !0 }
64
90
  ]
65
- ])
91
+ ]) : (u(), g(t(U), {
92
+ key: 0,
93
+ variant: "chipLabel",
94
+ class: s(["chip-label", { "chip-label--placeholder": !t(l) && e.placeholder }])
95
+ }, {
96
+ default: C(() => [
97
+ K(z(t(l) || e.placeholder), 1)
98
+ ]),
99
+ _: 1
100
+ }, 8, ["class"])),
101
+ a.value ? (u(), I("span", {
102
+ key: 2,
103
+ ref_key: "sizerRef",
104
+ ref: v,
105
+ class: "chip-input-sizer"
106
+ }, z(t(l) || e.placeholder || ""), 513)) : O("", !0)
66
107
  ]),
67
- m(t(z), {
68
- class: c(["clear-button", { "clear-button--invalid": l.isInvalid }]),
108
+ x(W(t($), {
109
+ class: s(["clear-button", { "clear-button--invalid": e.isInvalid }]),
69
110
  name: "x-circle",
70
111
  size: "16px",
71
112
  type: "fill",
72
- onClick: a[1] || (a[1] = s((u) => n("remove"), ["stop"]))
73
- }, null, 8, ["class"])
113
+ color: e.isInvalid ? "var(--error-dark)" : e.iconColor,
114
+ onMousedown: o[1] || (o[1] = n(() => {
115
+ }, ["prevent"])),
116
+ onClick: o[2] || (o[2] = n((y) => r("remove"), ["stop"]))
117
+ }, null, 8, ["class", "color"]), [
118
+ [L, e.removable]
119
+ ])
74
120
  ]),
75
121
  _: 1
76
- }, 8, ["class", "label", "test-id", "color", "onClick"]));
122
+ }, 8, ["class", "label", "test-id", "color", "size", "variant", "disabled", "style", "onClick"]));
77
123
  }
78
124
  });
79
125
  export {
80
- j as default
126
+ X as default
81
127
  };
@@ -1,5 +1,118 @@
1
1
  import TagsField from './TagsField.vue';
2
- declare const TagsFieldTypes: () => import("vue").DefineComponent<{
2
+ import TagsFieldChip from './TagsFieldChip.vue';
3
+ declare const TagsFieldTypes: () => (import("vue").DefineComponent<{
4
+ label: {
5
+ type: import("vue").PropType<string>;
6
+ required: true;
7
+ default: string;
8
+ };
9
+ testId: {
10
+ type: import("vue").PropType<string>;
11
+ default: string;
12
+ };
13
+ variant: {
14
+ type: import("vue").PropType<"filled" | "outlined">;
15
+ default: string;
16
+ };
17
+ disabled: {
18
+ type: import("vue").PropType<boolean>;
19
+ default: boolean;
20
+ };
21
+ color: {
22
+ type: import("vue").PropType<"dark" | "default" | "primary" | "info" | "success" | "warning" | "error">;
23
+ default: string;
24
+ };
25
+ size: {
26
+ type: import("vue").PropType<"small" | "medium">;
27
+ default: string;
28
+ };
29
+ rounded: {
30
+ type: import("vue").PropType<boolean>;
31
+ default: boolean;
32
+ };
33
+ placeholder: {
34
+ type: import("vue").PropType<string>;
35
+ default: string;
36
+ };
37
+ isInvalid: {
38
+ type: import("vue").PropType<boolean>;
39
+ default: boolean;
40
+ };
41
+ removable: {
42
+ type: import("vue").PropType<boolean>;
43
+ default: boolean;
44
+ };
45
+ iconColor: {
46
+ type: import("vue").PropType<string>;
47
+ default: string;
48
+ };
49
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
50
+ "update:label": (value: string) => void;
51
+ remove: () => void;
52
+ stopEditing: () => void;
53
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
54
+ label: {
55
+ type: import("vue").PropType<string>;
56
+ required: true;
57
+ default: string;
58
+ };
59
+ testId: {
60
+ type: import("vue").PropType<string>;
61
+ default: string;
62
+ };
63
+ variant: {
64
+ type: import("vue").PropType<"filled" | "outlined">;
65
+ default: string;
66
+ };
67
+ disabled: {
68
+ type: import("vue").PropType<boolean>;
69
+ default: boolean;
70
+ };
71
+ color: {
72
+ type: import("vue").PropType<"dark" | "default" | "primary" | "info" | "success" | "warning" | "error">;
73
+ default: string;
74
+ };
75
+ size: {
76
+ type: import("vue").PropType<"small" | "medium">;
77
+ default: string;
78
+ };
79
+ rounded: {
80
+ type: import("vue").PropType<boolean>;
81
+ default: boolean;
82
+ };
83
+ placeholder: {
84
+ type: import("vue").PropType<string>;
85
+ default: string;
86
+ };
87
+ isInvalid: {
88
+ type: import("vue").PropType<boolean>;
89
+ default: boolean;
90
+ };
91
+ removable: {
92
+ type: import("vue").PropType<boolean>;
93
+ default: boolean;
94
+ };
95
+ iconColor: {
96
+ type: import("vue").PropType<string>;
97
+ default: string;
98
+ };
99
+ }>> & {
100
+ onRemove?: () => any;
101
+ "onUpdate:label"?: (value: string) => any;
102
+ onStopEditing?: () => any;
103
+ }, {
104
+ label: string;
105
+ testId: string;
106
+ variant: "filled" | "outlined";
107
+ disabled: boolean;
108
+ color: "dark" | "default" | "primary" | "info" | "success" | "warning" | "error";
109
+ size: "small" | "medium";
110
+ rounded: boolean;
111
+ placeholder: string;
112
+ isInvalid: boolean;
113
+ removable: boolean;
114
+ iconColor: string;
115
+ }> | import("vue").DefineComponent<{
3
116
  testId: {
4
117
  type: import("vue").PropType<string>;
5
118
  default: string;
@@ -71,5 +184,5 @@ declare const TagsFieldTypes: () => import("vue").DefineComponent<{
71
184
  feedbackText: string;
72
185
  feedbackVariant: "success" | "warning" | "error";
73
186
  showFeedbackTextIcon: boolean;
74
- }>[];
75
- export { TagsField, TagsFieldTypes };
187
+ }>)[];
188
+ export { TagsField, TagsFieldChip, TagsFieldTypes };
@@ -1,6 +1,8 @@
1
- import e from "./TagsField.vue.js";
2
- const s = () => [e];
1
+ import i from "./TagsField.vue.js";
2
+ import o from "./TagsFieldChip.vue.js";
3
+ const r = () => [i, o];
3
4
  export {
4
- e as TagsField,
5
- s as TagsFieldTypes
5
+ i as TagsField,
6
+ o as TagsFieldChip,
7
+ r as TagsFieldTypes
6
8
  };
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import './AppTrigger.vue_vue_type_style_index_0_scoped_121aac8b_lang.css';
1
+ import './MenuItem.vue_vue_type_style_index_0_scoped_67e53b85_lang.css';
2
2
  import { AppTriggerTypes as eo } from "./components/appTrigger/index.js";
3
3
  import { AutocompleteDropdownTypes as mo } from "./components/autocompleteDropdown/index.js";
4
4
  import { MenuItemTypes as ao } from "./components/menuItem/index.js";
@@ -113,6 +113,7 @@ import { ChartType as ue, TooltipOrder as $e, TrendDirection as Te } from "./com
113
113
  import { default as ye } from "./components/columnPicker/ColumnPicker.vue.js";
114
114
  import { default as Fe } from "./components/columnConfigurator/ColumnConfigurator.vue.js";
115
115
  import { default as Ce } from "./components/tagsField/TagsField.vue.js";
116
+ import { default as Ee } from "./components/tagsField/TagsFieldChip.vue.js";
116
117
  const Z = {
117
118
  ...e,
118
119
  ...t,
@@ -222,6 +223,7 @@ export {
222
223
  jr as MultiBar,
223
224
  ho as MultiBarTypes,
224
225
  Ce as TagsField,
226
+ Ee as TagsFieldChip,
225
227
  ar as TagsFieldTypes,
226
228
  Jr as Text,
227
229
  $e as TooltipOrder,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ironsource/shared-ui",
3
- "version": "2.2.0-rc.21",
3
+ "version": "2.2.0-rc.23",
4
4
  "engines": {
5
5
  "npm": ">=7.0.0",
6
6
  "node": ">=16.0.0"
@@ -1 +0,0 @@
1
- @import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";.font-tab-label2[data-v-d186b7ef],.font-chart-2[data-v-d186b7ef],.font-chart-1[data-v-d186b7ef]{font-family:Inter,sans-serif;font-weight:700}.chip-input[data-v-d186b7ef],.font-chip-label[data-v-d186b7ef],.font-table-label[data-v-d186b7ef],.font-button[data-v-d186b7ef],.font-heading-6[data-v-d186b7ef],.font-heading-5[data-v-d186b7ef],.font-heading-4[data-v-d186b7ef],.font-heading-3[data-v-d186b7ef],.font-heading-2[data-v-d186b7ef],.font-heading-1[data-v-d186b7ef],.font-title[data-v-d186b7ef]{font-family:Inter,sans-serif;font-weight:600}.font-tab-label1[data-v-d186b7ef],.font-input-label[data-v-d186b7ef],.font-overline[data-v-d186b7ef],.font-subtitle-2[data-v-d186b7ef],.font-subtitle-1[data-v-d186b7ef]{font-family:Inter,sans-serif;font-weight:500}.font-caption[data-v-d186b7ef],.font-body-2[data-v-d186b7ef],.font-body-1[data-v-d186b7ef]{font-family:Inter,sans-serif;font-weight:400}.font-title[data-v-d186b7ef]{font-size:2.5rem;line-height:3rem;letter-spacing:-.055rem}.font-heading-1[data-v-d186b7ef]{font-size:1.5rem;line-height:1.75rem;letter-spacing:-.0285rem}.font-heading-2[data-v-d186b7ef]{font-size:1.125rem;line-height:1.75rem;letter-spacing:-.01575rem}.font-heading-3[data-v-d186b7ef]{font-size:1rem;line-height:1.5rem;letter-spacing:-.011rem}.font-heading-4[data-v-d186b7ef]{font-size:.875rem;line-height:1rem;letter-spacing:unset}.font-heading-5[data-v-d186b7ef]{font-size:.8125rem;line-height:16px;letter-spacing:unset}.font-heading-6[data-v-d186b7ef]{font-size:.75rem;line-height:.75rem;letter-spacing:0}.font-body-1[data-v-d186b7ef]{font-size:.875rem;line-height:1.25rem;letter-spacing:-.00525rem}.font-body-2[data-v-d186b7ef]{font-size:.8125rem;line-height:1.25rem;letter-spacing:-.00244rem}.font-subtitle-1[data-v-d186b7ef]{font-size:.875rem;line-height:1.25rem;letter-spacing:-.00525rem}.font-subtitle-2[data-v-d186b7ef]{font-size:.8125rem;line-height:1.25rem;letter-spacing:-.00244rem}.font-chart-1[data-v-d186b7ef]{font-size:1.5rem;line-height:1.5rem;letter-spacing:-.015rem}.font-chart-2[data-v-d186b7ef]{font-size:1.25rem;line-height:1.25rem;letter-spacing:-.0125rem}.font-button[data-v-d186b7ef]{font-size:.875rem;line-height:1.25rem;letter-spacing:.00875rem}.font-overline[data-v-d186b7ef]{font-size:.75rem;line-height:1rem;letter-spacing:.045rem;text-transform:uppercase}.font-caption[data-v-d186b7ef]{font-size:.75rem;line-height:1rem}.font-table-label[data-v-d186b7ef]{font-size:.8125rem;line-height:1.25rem;letter-spacing:.00813rem}.font-input-label[data-v-d186b7ef]{font-size:.8125rem;line-height:1rem;letter-spacing:.00813rem}.font-tab-label1[data-v-d186b7ef],.font-tab-label2[data-v-d186b7ef]{font-size:.875rem;line-height:1rem}.chip-input[data-v-d186b7ef],.font-chip-label[data-v-d186b7ef]{font-size:.75rem;line-height:1rem}h1[data-v-d186b7ef],h2[data-v-d186b7ef],h3[data-v-d186b7ef],h4[data-v-d186b7ef],h5[data-v-d186b7ef],h6[data-v-d186b7ef]{margin:0}.tags-field-chip[data-v-d186b7ef]{--outline-color: var(--default-outlined-border);border-radius:100px}.tags-field-chip--invalid[data-v-d186b7ef]{--outline-color: var(--error-outlined-border)}.tags-field-chip--editing[data-v-d186b7ef]{outline:1px solid var(--outline-color)}.chip-content[data-v-d186b7ef]{display:flex;position:relative}.chip-label[data-v-d186b7ef]{min-width:.5rem}.chip-label--hidden[data-v-d186b7ef]{visibility:hidden}.chip-input[data-v-d186b7ef]{position:absolute;left:0;top:-.5px;width:100%;height:100%;background:transparent;color:var(--text-primary);line-height:normal;min-width:.5rem;padding:0;border:none}.chip-input[data-v-d186b7ef]:focus{outline:none}.clear-button[data-v-d186b7ef]{margin-left:.25rem;color:var(--action-active);cursor:pointer}.clear-button[data-v-d186b7ef]:hover{color:var(--text-primary)}.clear-button--invalid[data-v-d186b7ef]{color:var(--error-dark)}.clear-button--invalid[data-v-d186b7ef]:hover{color:var(--error-darker)}