@ironsource/shared-ui 2.2.0-rc.3 → 2.2.0-rc.31

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 (174) hide show
  1. package/Alert.vue_vue_type_style_index_0_scoped_5e66710b_lang.css +1 -0
  2. package/AppDropdownTrigger.vue_vue_type_style_index_0_scoped_f86477a9_lang.css +1 -0
  3. package/AppHeader.vue_vue_type_style_index_0_scoped_18bc6c0d_lang.css +1 -0
  4. package/ButtonV4.vue_vue_type_style_index_0_scoped_a59af1ad_lang.css +1 -0
  5. package/CalendarMonth.vue_vue_type_style_index_0_scoped_a44769fd_lang.css +1 -0
  6. package/CalendarMonthV4.vue_vue_type_style_index_0_scoped_6eae923a_lang.css +1 -0
  7. package/Chart.vue_vue_type_style_index_0_scoped_22477735_lang.css +1 -0
  8. package/ChartHeader.vue_vue_type_style_index_0_scoped_3a061c08_lang.css +1 -0
  9. package/ChartPlane.vue_vue_type_style_index_0_scoped_6de5cddb_lang.css +1 -0
  10. package/CheckboxV4.vue_vue_type_style_index_0_scoped_88525d86_lang.css +1 -0
  11. package/ChipV4.vue_vue_type_style_index_0_scoped_a221c649_lang.css +1 -0
  12. package/ColumnPicker.vue_vue_type_style_index_0_scoped_d59af062_lang.css +1 -0
  13. package/DataGrid.vue_vue_type_style_index_0_scoped_0967498f_lang.css +1 -0
  14. package/DateRange.vue_vue_type_style_index_0_scoped_25d03907_lang.css +1 -0
  15. package/DateRangeV4.vue_vue_type_style_index_0_scoped_f8826716_lang.css +1 -0
  16. package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_a6900fa6_lang.css +1 -0
  17. package/DialogV4.vue_vue_type_style_index_0_scoped_a6710278_lang.css +1 -0
  18. package/DropdownV4.vue_vue_type_style_index_0_scoped_526bf0a1_lang.css +1 -0
  19. package/GroupOption.vue_vue_type_style_index_0_scoped_1e5170b3_lang.css +1 -0
  20. package/HelpText.vue_vue_type_style_index_0_scoped_641c2356_lang.css +1 -0
  21. package/IconV4.vue_vue_type_style_index_0_scoped_6683c5b5_lang.css +1 -0
  22. package/Link.vue_vue_type_style_index_0_scoped_fe0e7f6f_lang.css +1 -0
  23. package/MultiBar.vue_vue_type_style_index_0_scoped_c4395fb6_lang.css +1 -0
  24. package/RadioButtonV4.vue_vue_type_style_index_0_scoped_4f3c7037_lang.css +1 -0
  25. package/SectionDropdown.vue_vue_type_style_index_0_scoped_65877e48_lang.css +1 -0
  26. package/SwitchV4.vue_vue_type_style_index_0_scoped_b71a806e_lang.css +1 -0
  27. package/Tag.vue_vue_type_style_index_0_scoped_78f19cb0_lang.css +1 -0
  28. package/TextAreaV4.vue_vue_type_style_index_0_scoped_0feea75e_lang.css +1 -0
  29. package/TextField.vue_vue_type_style_index_0_scoped_28fab783_lang.css +1 -0
  30. package/ThemeWrapper.vue_vue_type_style_index_1_lang.css +1 -1
  31. package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_0fc9ddf5_lang.css +1 -0
  32. package/components/alert/Alert.vue.d.ts +3 -8
  33. package/components/alert/Alert.vue.js +2 -2
  34. package/components/alert/Alert.vue2.js +48 -46
  35. package/components/alert/index.d.ts +8 -27
  36. package/components/appHeader/AppHeader.vue.js +2 -2
  37. package/components/appHeader/AppHeader.vue2.js +44 -45
  38. package/components/button/v4/ButtonV4.vue.js +4 -4
  39. package/components/button/v4/ButtonV4.vue2.js +1 -1
  40. package/components/button/v4/ToggleButtonGroupAB.vue.js +2 -2
  41. package/components/button/v4/ToggleButtonGroupAB.vue2.js +1 -1
  42. package/components/chart/Chart.vue.d.ts +5 -0
  43. package/components/chart/Chart.vue.js +3 -3
  44. package/components/chart/Chart.vue2.js +10 -8
  45. package/components/chart/ChartHeader.vue.d.ts +5 -0
  46. package/components/chart/ChartHeader.vue.js +3 -3
  47. package/components/chart/ChartHeader.vue2.js +73 -49
  48. package/components/chart/ChartPlane.vue.d.ts +5 -0
  49. package/components/chart/ChartPlane.vue.js +3 -3
  50. package/components/chart/ChartPlane.vue2.js +33 -31
  51. package/components/chart/ChartStoryArgs.d.ts +6 -0
  52. package/components/chart/index.d.ts +20 -1
  53. package/components/checkbox/v4/CheckboxV4.vue.js +3 -3
  54. package/components/checkbox/v4/CheckboxV4.vue2.js +60 -79
  55. package/components/checkbox/v4/icons/CheckedState.vue.js +11 -11
  56. package/components/checkbox/v4/icons/IndeterminateState.vue.js +7 -7
  57. package/components/checkbox/v4/icons/UncheckedState.vue.d.ts +28 -1
  58. package/components/checkbox/v4/icons/UncheckedState.vue.js +23 -21
  59. package/components/checkbox/v4/icons/UncheckedState.vue2.js +4 -0
  60. package/components/chip/v4/ChipV4.vue.js +3 -3
  61. package/components/chip/v4/ChipV4.vue2.js +1 -1
  62. package/components/columnConfigurator/SectionDropdown.vue.js +3 -3
  63. package/components/columnConfigurator/SectionDropdown.vue2.js +6 -7
  64. package/components/columnPicker/ColumnPicker.vue.d.ts +2 -0
  65. package/components/columnPicker/ColumnPicker.vue.js +3 -3
  66. package/components/columnPicker/ColumnPicker.vue2.js +173 -153
  67. package/components/columnPicker/index.d.ts +7 -1
  68. package/components/dateRange/common/CalendarMonth.common.js +46 -41
  69. package/components/dateRange/common/DateRange.common.d.ts +1 -0
  70. package/components/dateRange/common/DateRange.common.js +39 -38
  71. package/components/dateRange/v3/CalendarMonth.vue.d.ts +5 -0
  72. package/components/dateRange/v3/CalendarMonth.vue.js +3 -3
  73. package/components/dateRange/v3/CalendarMonth.vue2.js +6 -5
  74. package/components/dateRange/v3/DateRange.vue.d.ts +5 -0
  75. package/components/dateRange/v3/DateRange.vue.js +2 -2
  76. package/components/dateRange/v3/DateRange.vue2.js +2 -1
  77. package/components/dateRange/v3/index.d.ts +20 -1
  78. package/components/dateRange/v4/CalendarMonthV4.vue.d.ts +5 -0
  79. package/components/dateRange/v4/CalendarMonthV4.vue.js +4 -4
  80. package/components/dateRange/v4/CalendarMonthV4.vue2.js +12 -11
  81. package/components/dateRange/v4/DateRangeV4.vue.d.ts +5 -0
  82. package/components/dateRange/v4/DateRangeV4.vue.js +3 -3
  83. package/components/dateRange/v4/DateRangeV4.vue2.js +104 -101
  84. package/components/dateRange/v4/index.d.ts +20 -1
  85. package/components/dialog/v4/DialogV4.vue.js +4 -4
  86. package/components/dialog/v4/DialogV4.vue2.js +1 -1
  87. package/components/dropdown/v4/AppDropdownTrigger.vue.js +3 -3
  88. package/components/dropdown/v4/AppDropdownTrigger.vue2.js +1 -1
  89. package/components/dropdown/v4/DefaultDropdownTrigger.vue.js +3 -3
  90. package/components/dropdown/v4/DefaultDropdownTrigger.vue2.js +1 -1
  91. package/components/dropdown/v4/DropdownV4.vue.js +3 -3
  92. package/components/dropdown/v4/DropdownV4.vue2.js +2 -2
  93. package/components/dropdown/v4/GroupOption.vue.js +3 -3
  94. package/components/dropdown/v4/GroupOption.vue2.js +1 -1
  95. package/components/helpText/HelpText.vue.d.ts +68 -0
  96. package/components/helpText/HelpText.vue.js +7 -0
  97. package/components/helpText/HelpText.vue2.js +45 -0
  98. package/components/helpText/index.d.ts +190 -0
  99. package/components/helpText/index.js +6 -0
  100. package/components/icon/v4/IconV4.vue.d.ts +5 -0
  101. package/components/icon/v4/IconV4.vue.js +2 -2
  102. package/components/icon/v4/IconV4.vue2.js +27 -26
  103. package/components/icon/v4/index.d.ts +20 -1
  104. package/components/input/v4/TextField.vue.js +2 -2
  105. package/components/input/v4/TextField.vue2.js +1 -1
  106. package/components/link/Link.vue.d.ts +3 -3
  107. package/components/link/Link.vue.js +5 -5
  108. package/components/link/Link.vue2.js +1 -1
  109. package/components/link/index.d.ts +7 -7
  110. package/components/multibar/MultiBar.vue.js +3 -3
  111. package/components/multibar/MultiBar.vue2.js +1 -1
  112. package/components/radioButton/v4/RadioButtonV4.vue.js +3 -3
  113. package/components/radioButton/v4/RadioButtonV4.vue2.js +1 -1
  114. package/components/switch/v4/SwitchV4.vue.d.ts +5 -0
  115. package/components/switch/v4/SwitchV4.vue.js +4 -4
  116. package/components/switch/v4/SwitchV4.vue2.js +14 -13
  117. package/components/switch/v4/index.d.ts +9 -0
  118. package/components/table/v4/DataGrid.vue.d.ts +2 -0
  119. package/components/table/v4/DataGrid.vue.js +4 -4
  120. package/components/table/v4/DataGrid.vue2.js +82 -80
  121. package/components/table/v4/index.d.ts +7 -1
  122. package/components/tag/Tag.vue.d.ts +112 -0
  123. package/components/tag/Tag.vue.js +7 -0
  124. package/components/tag/Tag.vue2.js +221 -0
  125. package/components/tag/index.d.ts +161 -0
  126. package/components/tag/index.js +6 -0
  127. package/components/tagsField/index.d.ts +42 -3
  128. package/components/tagsField/index.js +6 -4
  129. package/components/textArea/v4/TextAreaV4.vue.js +3 -3
  130. package/components/textArea/v4/TextAreaV4.vue2.js +1 -1
  131. package/design-foundation.stories/colors/ColorsData.d.ts +52 -47
  132. package/index.d.ts +114 -6
  133. package/index.js +108 -98
  134. package/package.json +12 -3
  135. package/style/v4/colors.scss +89 -84
  136. package/style/v4/grid.css +1 -1
  137. package/style/v4/grid.css.map +1 -1
  138. package/testids/index.d.ts +4 -0
  139. package/testids/index.js +38 -37
  140. package/Alert.vue_vue_type_style_index_0_scoped_06e0871a_lang.css +0 -1
  141. package/AppDropdownTrigger.vue_vue_type_style_index_0_scoped_858cefbf_lang.css +0 -1
  142. package/AppHeader.vue_vue_type_style_index_0_scoped_538ccdc6_lang.css +0 -1
  143. package/ButtonV4.vue_vue_type_style_index_0_scoped_852be7ec_lang.css +0 -1
  144. package/CalendarMonth.vue_vue_type_style_index_0_scoped_acd3440c_lang.css +0 -1
  145. package/CalendarMonthV4.vue_vue_type_style_index_0_scoped_b0d3ea50_lang.css +0 -1
  146. package/Chart.vue_vue_type_style_index_0_scoped_060d02be_lang.css +0 -1
  147. package/ChartHeader.vue_vue_type_style_index_0_scoped_d90c583e_lang.css +0 -1
  148. package/ChartPlane.vue_vue_type_style_index_0_scoped_3c887f7e_lang.css +0 -1
  149. package/CheckboxV4.vue_vue_type_style_index_0_scoped_af4ae3c3_lang.css +0 -1
  150. package/ChipV4.vue_vue_type_style_index_0_scoped_a4d3a12e_lang.css +0 -1
  151. package/ColumnPicker.vue_vue_type_style_index_0_scoped_ea8c7024_lang.css +0 -1
  152. package/DataGrid.vue_vue_type_style_index_0_scoped_cd41c5ca_lang.css +0 -1
  153. package/DateRange.vue_vue_type_style_index_0_scoped_70e316e9_lang.css +0 -1
  154. package/DateRangeV4.vue_vue_type_style_index_0_scoped_a849128a_lang.css +0 -1
  155. package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_3bc0f416_lang.css +0 -1
  156. package/DialogV4.vue_vue_type_style_index_0_scoped_cc99f1e3_lang.css +0 -1
  157. package/DropdownV4.vue_vue_type_style_index_0_scoped_445ebb01_lang.css +0 -1
  158. package/GroupOption.vue_vue_type_style_index_0_scoped_5f372a81_lang.css +0 -1
  159. package/IconV4.vue_vue_type_style_index_0_scoped_dc433d48_lang.css +0 -1
  160. package/Link.vue_vue_type_style_index_0_scoped_1a766750_lang.css +0 -1
  161. package/MultiBar.vue_vue_type_style_index_0_scoped_71617643_lang.css +0 -1
  162. package/RadioButtonV4.vue_vue_type_style_index_0_scoped_05c7bca2_lang.css +0 -1
  163. package/SectionDropdown.vue_vue_type_style_index_0_scoped_cfad60a8_lang.css +0 -1
  164. package/SwitchV4.vue_vue_type_style_index_0_scoped_cd6621a7_lang.css +0 -1
  165. package/TextAreaV4.vue_vue_type_style_index_0_scoped_4114ef89_lang.css +0 -1
  166. package/TextField.vue_vue_type_style_index_0_scoped_3b7a3661_lang.css +0 -1
  167. package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_2076b5ab_lang.css +0 -1
  168. package/components/checkbox/v4/icons/CheckedDisabledState.vue.d.ts +0 -29
  169. package/components/checkbox/v4/icons/CheckedDisabledState.vue.js +0 -45
  170. package/components/checkbox/v4/icons/CheckedDisabledState.vue2.js +0 -4
  171. package/components/checkbox/v4/icons/IndeterminateDisabledState.vue.d.ts +0 -2
  172. package/components/checkbox/v4/icons/IndeterminateDisabledState.vue.js +0 -40
  173. package/components/checkbox/v4/icons/UncheckedDisabledState.vue.d.ts +0 -2
  174. package/components/checkbox/v4/icons/UncheckedDisabledState.vue.js +0 -30
@@ -0,0 +1,221 @@
1
+ import "../../Tag.vue_vue_type_style_index_0_scoped_78f19cb0_lang.css"; import { defineComponent as J, ref as s, computed as d, watch as S, nextTick as N, openBlock as f, createBlock as C, unref as l, withCtx as m, createElementVNode as E, createVNode as w, createTextVNode as V, toDisplayString as T, normalizeClass as p, normalizeStyle as R, withModifiers as b, createCommentVNode as $, withDirectives as O, createElementBlock as H, isRef as Q, withKeys as K, vModelText as X, vShow as Z } from "vue";
2
+ import D from "../typography/v4/Typography.vue.js";
3
+ import W from "../icon/v4/IconV4.vue.js";
4
+ import "../icon/v4/IconFlag.vue.js";
5
+ import _ from "../chip/v4/ChipV4.vue.js";
6
+ import ee from "../popover/v4/PopoverV4.vue.js";
7
+ const ae = { class: "tag-max-length-tooltip" }, le = { class: "tag-content" }, te = ["placeholder", "maxlength", "onKeyup"], se = /* @__PURE__ */ J({
8
+ __name: "Tag",
9
+ props: {
10
+ label: { default: "" },
11
+ isSelected: { type: Boolean },
12
+ isInvalid: { type: Boolean, default: !1 },
13
+ testId: { default: "" },
14
+ size: { default: "medium" },
15
+ rounded: { type: Boolean, default: !1 },
16
+ disabled: { type: Boolean, default: !1 },
17
+ color: { default: "primary" },
18
+ variant: { default: "filled" },
19
+ placeholder: { default: "" },
20
+ iconName: { default: "" },
21
+ iconType: { default: "regular" },
22
+ editable: { type: Boolean, default: !1 },
23
+ selectable: { type: Boolean, default: !0 },
24
+ maxLength: { default: void 0 },
25
+ maxLengthTooltip: { default: "You have reached the maximum number of characters" }
26
+ },
27
+ emits: ["update:label", "remove", "stopEditing", "update:isSelected"],
28
+ setup(a, { emit: v }) {
29
+ const e = a, r = s(!1), y = s(null), h = s(void 0), k = s(!1), u = s(!1), i = s(e.isSelected || e.editable), z = d(() => !e.label && !r.value && e.placeholder), I = d(() => (console.log(
30
+ "isTooltipOpen",
31
+ e.maxLength && o.value.length >= e.maxLength && r.value
32
+ ), e.maxLength && o.value.length >= e.maxLength && r.value)), g = d(() => e.disabled || !e.selectable || r.value ? "outlined" : u.value ? "filled" : !i.value && !e.editable ? "outlined" : e.variant), F = d(() => e.disabled ? "default" : e.isInvalid ? "error" : i.value || !i.value && e.editable || !e.selectable ? e.color : "default"), o = d({
33
+ get: () => e.label,
34
+ set: (n) => {
35
+ v("update:label", n);
36
+ }
37
+ }), M = s(null), P = () => M.value?.focus(), U = async () => {
38
+ e.disabled || !e.selectable || (e.editable ? (r.value = !0, await N(), P()) : (i.value = !i.value, v("update:isSelected", i.value)));
39
+ }, Y = () => {
40
+ v("stopEditing"), x();
41
+ }, x = () => {
42
+ r.value = !1, !o.value && !e.placeholder && v("remove");
43
+ };
44
+ S(
45
+ () => [o.value, e.placeholder, r.value],
46
+ async () => {
47
+ await N(), r.value && y.value ? h.value = y.value.offsetWidth + "px" : h.value = void 0;
48
+ },
49
+ { immediate: !0 }
50
+ ), S(
51
+ () => e.editable,
52
+ () => {
53
+ e.editable && (i.value = !0);
54
+ }
55
+ );
56
+ const B = {
57
+ default: "var(--default-outlined-border)",
58
+ primary: "var(--primary-main)",
59
+ info: "var(--info-dark)",
60
+ error: "var(--error-main)",
61
+ warning: "var(--warning-main)",
62
+ success: "var(--success-main)",
63
+ dark: "var(--common-divider)"
64
+ }, L = {
65
+ default: "var(--action-active)",
66
+ primary: "var(--primary-dark)",
67
+ info: "var(--info-dark)",
68
+ error: "var(--error-dark)",
69
+ warning: "var(--warning-dark)",
70
+ success: "var(--success-dark)",
71
+ dark: "var(--common-divider)"
72
+ }, j = {
73
+ default: "var(--action-active)",
74
+ primary: "var(--primary-darker)",
75
+ info: "var(--info-darker)",
76
+ error: "var(--error-darker)",
77
+ warning: "var(--warning-darker)",
78
+ success: "var(--success-darker)",
79
+ dark: "var(--common-divider)"
80
+ }, q = d(() => {
81
+ if (e.disabled)
82
+ return "var(--action-disabled)";
83
+ const n = e.isInvalid ? "error" : e.color;
84
+ return k.value ? j[n] : L[n];
85
+ }), A = d(() => {
86
+ if (e.disabled)
87
+ return "var(--action-disabled)";
88
+ const n = e.isInvalid ? "error" : e.color;
89
+ return i.value || !e.selectable ? L[n] : "var(--action-active)";
90
+ }), G = d(() => {
91
+ if (e.editable && e.variant !== "outlined" || !e.selectable) {
92
+ const n = r.value ? B[e.color] : "var(--primary-main-50-p)";
93
+ return {
94
+ "--outline-color": e.isInvalid ? B.error : n
95
+ };
96
+ }
97
+ return u.value && e.variant !== "outlined" && e.color === "primary" && !e.editable ? {
98
+ "--outline-color": i.value ? "var(--primary-main-50-p)" : "var(--action-active)"
99
+ } : {};
100
+ });
101
+ return (n, t) => (f(), C(l(ee), {
102
+ placement: "top",
103
+ text: a.maxLengthTooltip,
104
+ "is-open": l(I),
105
+ disabled: !l(I),
106
+ distance: 10,
107
+ skidding: 10
108
+ }, {
109
+ content: m(() => [
110
+ E("div", ae, [
111
+ w(l(D), { variant: "body2" }, {
112
+ default: m(() => [
113
+ V(T(a.maxLengthTooltip), 1)
114
+ ]),
115
+ _: 1
116
+ })
117
+ ])
118
+ ]),
119
+ trigger: m(() => [
120
+ w(l(_), {
121
+ class: p({
122
+ "rounded-tag": a.rounded,
123
+ "tag-editing": r.value && l(g) !== "outlined",
124
+ // outlined chips have an outline
125
+ "tag-hover-outline": a.label && u.value && l(g) !== "outlined",
126
+ // outlined chips have an outline
127
+ "unselected-tag-hover-outline": a.label && u.value && l(g) !== "outlined" && !i.value && !a.editable,
128
+ // for unselected tags that are not editable, we want to show a hover outline
129
+ "tag-disabled": a.disabled,
130
+ "empty-tag": l(z),
131
+ "unselected-tag": !i.value && a.selectable && a.label && !u.value,
132
+ "editable-tag": a.editable && !a.disabled
133
+ }),
134
+ label: l(o),
135
+ "test-id": a.testId,
136
+ color: l(F),
137
+ size: a.size,
138
+ variant: l(g),
139
+ disabled: a.disabled,
140
+ style: R(l(G)),
141
+ onMouseover: t[5] || (t[5] = (c) => u.value = !0),
142
+ onMouseleave: t[6] || (t[6] = (c) => u.value = !1),
143
+ onClick: b(U, ["stop"])
144
+ }, {
145
+ default: m(() => [
146
+ E("div", le, [
147
+ a.iconName ? (f(), C(l(W), {
148
+ key: 0,
149
+ name: a.iconName,
150
+ size: "16px",
151
+ color: l(A),
152
+ class: "tag-icon",
153
+ type: a.iconType
154
+ }, null, 8, ["name", "color", "type"])) : $("", !0),
155
+ r.value ? O((f(), H("input", {
156
+ key: 2,
157
+ ref_key: "inputRef",
158
+ ref: M,
159
+ "onUpdate:modelValue": t[0] || (t[0] = (c) => Q(o) ? o.value = c : null),
160
+ placeholder: a.placeholder,
161
+ class: p(["tag-input", { "tag-input-outline": a.variant === "outlined" }]),
162
+ spellcheck: "false",
163
+ style: R({ width: h.value }),
164
+ maxlength: a.maxLength,
165
+ onBlur: Y,
166
+ onKeyup: [
167
+ K(b(x, ["prevent"]), ["enter"]),
168
+ K(b(x, ["prevent"]), ["esc"])
169
+ ]
170
+ }, null, 46, te)), [
171
+ [
172
+ X,
173
+ l(o),
174
+ void 0,
175
+ { trim: !0 }
176
+ ]
177
+ ]) : (f(), C(l(D), {
178
+ key: 1,
179
+ variant: "chipLabel",
180
+ class: p(["tag-label", {
181
+ "tag-label--placeholder": !l(o) && a.placeholder,
182
+ "tag-label--disabled": a.disabled
183
+ }])
184
+ }, {
185
+ default: m(() => [
186
+ V(T(l(o) || a.placeholder), 1)
187
+ ]),
188
+ _: 1
189
+ }, 8, ["class"])),
190
+ r.value ? (f(), H("span", {
191
+ key: 3,
192
+ ref_key: "sizerRef",
193
+ ref: y,
194
+ class: "tag-input-sizer"
195
+ }, T(l(o) || a.placeholder || ""), 513)) : $("", !0)
196
+ ]),
197
+ O(w(l(W), {
198
+ class: p(["clear-button", { "clear-button--invalid": a.isInvalid }]),
199
+ name: "x-circle",
200
+ size: "16px",
201
+ type: "fill",
202
+ color: l(q),
203
+ onMousedown: t[1] || (t[1] = b(() => {
204
+ }, ["prevent"])),
205
+ onMouseover: t[2] || (t[2] = (c) => k.value = !0),
206
+ onMouseleave: t[3] || (t[3] = (c) => k.value = !1),
207
+ onClick: t[4] || (t[4] = b((c) => v("remove"), ["stop"]))
208
+ }, null, 8, ["class", "color"]), [
209
+ [Z, a.editable && !l(z) && a.selectable]
210
+ ])
211
+ ]),
212
+ _: 1
213
+ }, 8, ["class", "label", "test-id", "color", "size", "variant", "disabled", "style", "onClick"])
214
+ ]),
215
+ _: 1
216
+ }, 8, ["text", "is-open", "disabled"]));
217
+ }
218
+ });
219
+ export {
220
+ se as default
221
+ };
@@ -0,0 +1,161 @@
1
+ import Tag from './Tag.vue';
2
+ declare const TagTypes: () => import("vue").DefineComponent<{
3
+ label: {
4
+ type: import("vue").PropType<string>;
5
+ required: true;
6
+ default: string;
7
+ };
8
+ testId: {
9
+ type: import("vue").PropType<string>;
10
+ default: string;
11
+ };
12
+ variant: {
13
+ type: import("vue").PropType<"filled" | "outlined">;
14
+ default: string;
15
+ };
16
+ disabled: {
17
+ type: import("vue").PropType<boolean>;
18
+ default: boolean;
19
+ };
20
+ color: {
21
+ type: import("vue").PropType<"dark" | "default" | "primary" | "info" | "success" | "warning" | "error">;
22
+ default: string;
23
+ };
24
+ size: {
25
+ type: import("vue").PropType<"small" | "medium">;
26
+ default: string;
27
+ };
28
+ iconName: {
29
+ type: import("vue").PropType<string>;
30
+ default: string;
31
+ };
32
+ rounded: {
33
+ type: import("vue").PropType<boolean>;
34
+ default: boolean;
35
+ };
36
+ maxLength: {
37
+ type: import("vue").PropType<number>;
38
+ default: any;
39
+ };
40
+ placeholder: {
41
+ type: import("vue").PropType<string>;
42
+ default: string;
43
+ };
44
+ isSelected: {
45
+ type: import("vue").PropType<boolean>;
46
+ required: true;
47
+ };
48
+ iconType: {
49
+ type: import("vue").PropType<"fill" | "regular">;
50
+ default: string;
51
+ };
52
+ editable: {
53
+ type: import("vue").PropType<boolean>;
54
+ default: boolean;
55
+ };
56
+ isInvalid: {
57
+ type: import("vue").PropType<boolean>;
58
+ default: boolean;
59
+ };
60
+ selectable: {
61
+ type: import("vue").PropType<boolean>;
62
+ default: boolean;
63
+ };
64
+ maxLengthTooltip: {
65
+ type: import("vue").PropType<string>;
66
+ default: string;
67
+ };
68
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
69
+ "update:label": (value: string) => void;
70
+ remove: () => void;
71
+ stopEditing: () => void;
72
+ "update:isSelected": (value: boolean) => void;
73
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
74
+ label: {
75
+ type: import("vue").PropType<string>;
76
+ required: true;
77
+ default: string;
78
+ };
79
+ testId: {
80
+ type: import("vue").PropType<string>;
81
+ default: string;
82
+ };
83
+ variant: {
84
+ type: import("vue").PropType<"filled" | "outlined">;
85
+ default: string;
86
+ };
87
+ disabled: {
88
+ type: import("vue").PropType<boolean>;
89
+ default: boolean;
90
+ };
91
+ color: {
92
+ type: import("vue").PropType<"dark" | "default" | "primary" | "info" | "success" | "warning" | "error">;
93
+ default: string;
94
+ };
95
+ size: {
96
+ type: import("vue").PropType<"small" | "medium">;
97
+ default: string;
98
+ };
99
+ iconName: {
100
+ type: import("vue").PropType<string>;
101
+ default: string;
102
+ };
103
+ rounded: {
104
+ type: import("vue").PropType<boolean>;
105
+ default: boolean;
106
+ };
107
+ maxLength: {
108
+ type: import("vue").PropType<number>;
109
+ default: any;
110
+ };
111
+ placeholder: {
112
+ type: import("vue").PropType<string>;
113
+ default: string;
114
+ };
115
+ isSelected: {
116
+ type: import("vue").PropType<boolean>;
117
+ required: true;
118
+ };
119
+ iconType: {
120
+ type: import("vue").PropType<"fill" | "regular">;
121
+ default: string;
122
+ };
123
+ editable: {
124
+ type: import("vue").PropType<boolean>;
125
+ default: boolean;
126
+ };
127
+ isInvalid: {
128
+ type: import("vue").PropType<boolean>;
129
+ default: boolean;
130
+ };
131
+ selectable: {
132
+ type: import("vue").PropType<boolean>;
133
+ default: boolean;
134
+ };
135
+ maxLengthTooltip: {
136
+ type: import("vue").PropType<string>;
137
+ default: string;
138
+ };
139
+ }>> & {
140
+ onRemove?: () => any;
141
+ "onUpdate:label"?: (value: string) => any;
142
+ onStopEditing?: () => any;
143
+ "onUpdate:isSelected"?: (value: boolean) => any;
144
+ }, {
145
+ label: string;
146
+ testId: string;
147
+ variant: "filled" | "outlined";
148
+ disabled: boolean;
149
+ color: "dark" | "default" | "primary" | "info" | "success" | "warning" | "error";
150
+ size: "small" | "medium";
151
+ iconName: string;
152
+ rounded: boolean;
153
+ maxLength: number;
154
+ placeholder: string;
155
+ iconType: "fill" | "regular";
156
+ editable: boolean;
157
+ isInvalid: boolean;
158
+ selectable: boolean;
159
+ maxLengthTooltip: string;
160
+ }>[];
161
+ export { Tag, TagTypes };
@@ -0,0 +1,6 @@
1
+ import o from "./Tag.vue.js";
2
+ const r = () => [o];
3
+ export {
4
+ o as Tag,
5
+ r as TagTypes
6
+ };
@@ -1,5 +1,44 @@
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
+ isInvalid: {
14
+ type: import("vue").PropType<boolean>;
15
+ default: boolean;
16
+ };
17
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
+ "update:label": (value: string) => void;
19
+ remove: () => void;
20
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
21
+ label: {
22
+ type: import("vue").PropType<string>;
23
+ required: true;
24
+ default: string;
25
+ };
26
+ testId: {
27
+ type: import("vue").PropType<string>;
28
+ default: string;
29
+ };
30
+ isInvalid: {
31
+ type: import("vue").PropType<boolean>;
32
+ default: boolean;
33
+ };
34
+ }>> & {
35
+ onRemove?: () => any;
36
+ "onUpdate:label"?: (value: string) => any;
37
+ }, {
38
+ label: string;
39
+ testId: string;
40
+ isInvalid: boolean;
41
+ }> | import("vue").DefineComponent<{
3
42
  testId: {
4
43
  type: import("vue").PropType<string>;
5
44
  default: string;
@@ -71,5 +110,5 @@ declare const TagsFieldTypes: () => import("vue").DefineComponent<{
71
110
  feedbackText: string;
72
111
  feedbackVariant: "success" | "warning" | "error";
73
112
  showFeedbackTextIcon: boolean;
74
- }>[];
75
- export { TagsField, TagsFieldTypes };
113
+ }>)[];
114
+ 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
  };
@@ -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_4114ef89_lang.css"; //*');
4
- const p = /* @__PURE__ */ o(e, [["__scopeId", "data-v-4114ef89"]]);
3
+ // import "../../../TextAreaV4.vue_vue_type_style_index_0_scoped_0feea75e_lang.css"; //*');
4
+ const a = /* @__PURE__ */ o(e, [["__scopeId", "data-v-0feea75e"]]);
5
5
  export {
6
- p as default
6
+ a as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import "../../../TextAreaV4.vue_vue_type_style_index_0_scoped_4114ef89_lang.css"; import { defineComponent as f, computed as b, openBlock as t, createElementBlock as r, mergeProps as c, unref as a, createBlock as d, createCommentVNode as l, createElementVNode as g } from "vue";
1
+ import "../../../TextAreaV4.vue_vue_type_style_index_0_scoped_0feea75e_lang.css"; import { defineComponent as f, computed as b, openBlock as t, createElementBlock as r, mergeProps as c, unref as a, createBlock as d, 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";
@@ -2,18 +2,19 @@ export declare const colorPaletteLight: {
2
2
  background: {
3
3
  default: string;
4
4
  paper: string;
5
- backdrop: string;
6
5
  'modal-elevation': string;
7
- 'modal-elevation-0': string;
8
- 'modal-elevation-1': string;
9
- 'modal-elevation-2': string;
10
- 'modal-elevation-3': string;
11
- 'modal-elevation-4': string;
12
- 'modal-elevation-5': string;
13
- 'modal-elevation-6': string;
14
- 'modal-elevation-7': string;
15
- 'modal-elevation-8': string;
16
- 'modal-elevation-9': string;
6
+ backdrop: string;
7
+ 'paper-elevation-0': string;
8
+ 'paper-elevation-1': string;
9
+ 'paper-elevation-2': string;
10
+ 'paper-elevation-3': string;
11
+ 'paper-elevation-4': string;
12
+ 'paper-elevation-5': string;
13
+ 'paper-elevation-6': string;
14
+ 'paper-elevation-7': string;
15
+ 'paper-elevation-8': string;
16
+ 'paper-elevation-9': string;
17
+ inset: string;
17
18
  };
18
19
  action: {
19
20
  primary: string;
@@ -21,23 +22,27 @@ export declare const colorPaletteLight: {
21
22
  hover: string;
22
23
  selected: string;
23
24
  disabled: string;
24
- disabledBackground: string;
25
+ 'disabled-background': string;
25
26
  focus: string;
26
- outlinedBorder: string;
27
+ 'outlined-border': string;
27
28
  };
28
29
  default: {
29
- light: string;
30
30
  main: string;
31
+ lighter: string;
32
+ light: string;
31
33
  dark: string;
32
- outlinedBorder: string;
33
- contrastText: string;
34
- buttonContrastText: string;
34
+ darker: string;
35
+ 'contrast-text': string;
36
+ 'outlined-border': string;
37
+ 'main-8-p': string;
38
+ 'main-50-p': string;
39
+ 'button-contrast-text': string;
35
40
  };
36
41
  common: {
37
42
  white: string;
38
43
  black: string;
39
- inverseWhite: string;
40
- inverseBlack: string;
44
+ 'inverse-white': string;
45
+ 'inverse-black': string;
41
46
  divider: string;
42
47
  'divider-elevation-0': string;
43
48
  };
@@ -50,64 +55,64 @@ export declare const colorPaletteLight: {
50
55
  lighter: string;
51
56
  light: string;
52
57
  main: string;
53
- main8p: string;
54
- main50p: string;
58
+ 'main-8-p': string;
59
+ 'main-50-p': string;
55
60
  dark: string;
56
61
  darker: string;
57
- outlinedBorder: string;
58
- contrastText: string;
59
- buttonContrastText: string;
62
+ 'outlined-border': string;
63
+ 'contrast-text': string;
64
+ 'button-contrast-text': string;
60
65
  };
61
66
  info: {
62
67
  lighter: string;
63
68
  light: string;
64
69
  main: string;
65
- main8p: string;
66
- main50p: string;
70
+ 'main-8-p': string;
71
+ 'main-50-p': string;
67
72
  dark: string;
68
73
  darker: string;
69
- outlinedBorder: string;
70
- contrastText: string;
71
- buttonContrastText: string;
74
+ 'outlined-border': string;
75
+ 'contrast-text': string;
76
+ 'button-contrast-text': string;
72
77
  };
73
78
  success: {
74
79
  lighter: string;
75
80
  light: string;
76
81
  main: string;
77
- main8p: string;
78
- main50p: string;
82
+ 'main-8-p': string;
83
+ 'main-50-p': string;
79
84
  dark: string;
80
85
  darker: string;
81
- outlinedBorder: string;
82
- contrastText: string;
83
- buttonContrastText: string;
86
+ 'outlined-border': string;
87
+ 'contrast-text': string;
88
+ 'button-contrast-text': string;
84
89
  };
85
90
  warning: {
86
91
  lighter: string;
87
92
  light: string;
88
93
  main: string;
89
- main8p: string;
90
- main50p: string;
94
+ 'main-8-p': string;
95
+ 'main-50-p': string;
91
96
  dark: string;
92
97
  darker: string;
93
- outlinedBorder: string;
94
- contrastText: string;
95
- buttonContrastText: string;
98
+ 'outlined-border': string;
99
+ 'contrast-text': string;
100
+ 'button-contrast-text': string;
96
101
  };
97
102
  error: {
98
103
  lighter: string;
99
104
  light: string;
100
105
  main: string;
101
- main8p: string;
102
- main50p: string;
106
+ 'main-8-p': string;
107
+ 'main-50-p': string;
103
108
  dark: string;
104
109
  darker: string;
105
- outlinedBorder: string;
106
- contrastText: string;
107
- buttonContrastText: string;
110
+ 'outlined-border': string;
111
+ 'contrast-text': string;
112
+ 'button-contrast-text': string;
108
113
  };
109
- 'A/B test': {
110
- 'A Control': string;
111
- 'B test': string;
114
+ ab: {
115
+ a: string;
116
+ b: string;
112
117
  };
113
118
  };