@ironsource/shared-ui 2.1.7-rc.5 → 2.1.7-rc.6

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 (63) hide show
  1. package/Autocomplete.vue_vue_type_style_index_0_scoped_e361f9fd_lang.css +1 -0
  2. package/DropdownV4.vue_vue_type_style_index_0_scoped_938772ee_lang.css +1 -0
  3. package/FieldMaxLength.vue_vue_type_style_index_0_scoped_47877984_lang.css +1 -0
  4. package/IncludeExclude.vue_vue_type_style_index_0_scoped_cc2adbf5_lang.css +1 -0
  5. package/IncludeExcludeDragDrop.vue_vue_type_style_index_0_scoped_bd6145ce_lang.css +1 -0
  6. package/OptionV4.vue_vue_type_style_index_0_scoped_b6a06f00_lang.css +1 -0
  7. package/Popover.vue_vue_type_style_index_0_scoped_c607b770_lang.css +1 -0
  8. package/PopoverV4.vue_vue_type_style_index_0_scoped_c54cd089_lang.css +1 -0
  9. package/PopoverV4.vue_vue_type_style_index_1_lang.css +1 -0
  10. package/TextAreaV4.vue_vue_type_style_index_0_scoped_4114ef89_lang.css +1 -0
  11. package/TextField.vue_vue_type_style_index_0_scoped_eb472aa3_lang.css +1 -0
  12. package/components/autocomplete/Autocomplete.vue.d.ts +5 -0
  13. package/components/autocomplete/Autocomplete.vue.js +2 -2
  14. package/components/autocomplete/Autocomplete.vue2.js +57 -45
  15. package/components/autocomplete/index.d.ts +20 -1
  16. package/components/dropdown/v4/DropdownV4.vue.d.ts +10 -0
  17. package/components/dropdown/v4/DropdownV4.vue.js +3 -3
  18. package/components/dropdown/v4/DropdownV4.vue2.js +151 -147
  19. package/components/dropdown/v4/OptionV4.vue.d.ts +10 -0
  20. package/components/dropdown/v4/OptionV4.vue.js +2 -2
  21. package/components/dropdown/v4/OptionV4.vue2.js +70 -53
  22. package/components/dropdown/v4/dropdownStoryArgs.d.ts +14 -0
  23. package/components/dropdown/v4/index.d.ts +78 -2
  24. package/components/includeExclude/IncludeExclude.vue.js +4 -4
  25. package/components/includeExclude/IncludeExclude.vue2.js +2 -2
  26. package/components/includeExclude/IncludeExcludeDragDrop.vue.js +4 -4
  27. package/components/includeExclude/IncludeExcludeDragDrop.vue2.js +2 -2
  28. package/components/input/v4/TextField.vue.d.ts +6 -1
  29. package/components/input/v4/TextField.vue.js +3 -3
  30. package/components/input/v4/TextField.vue2.js +95 -90
  31. package/components/input/v4/index.d.ts +20 -1
  32. package/components/popover/common/Popover.common.d.ts +6 -0
  33. package/components/popover/common/Popover.common.js +17 -0
  34. package/components/popover/v3/Popover.vue.js +8 -0
  35. package/components/popover/{Popover.vue2.js → v3/Popover.vue2.js} +1 -1
  36. package/components/popover/v4/PopoverV4.vue.d.ts +73 -0
  37. package/components/popover/v4/PopoverV4.vue.js +7 -0
  38. package/components/popover/v4/PopoverV4.vue2.js +54 -0
  39. package/components/popover/v4/index.d.ts +209 -0
  40. package/components/popover/v4/index.js +6 -0
  41. package/components/shared/FieldMaxLength.vue.js +3 -3
  42. package/components/shared/FieldMaxLength.vue2.js +2 -2
  43. package/components/shared/commonTypes.d.ts +2 -0
  44. package/components/textArea/v4/TextAreaV4.vue.d.ts +6 -1
  45. package/components/textArea/v4/TextAreaV4.vue.js +3 -3
  46. package/components/textArea/v4/TextAreaV4.vue2.js +18 -12
  47. package/components/textArea/v4/index.d.ts +9 -0
  48. package/index.d.ts +628 -7
  49. package/index.js +70 -70
  50. package/package.json +7 -3
  51. package/Autocomplete.vue_vue_type_style_index_0_scoped_a7bfd237_lang.css +0 -1
  52. package/DropdownV4.vue_vue_type_style_index_0_scoped_7af4f288_lang.css +0 -1
  53. package/FieldMaxLength.vue_vue_type_style_index_0_scoped_f3c4001a_lang.css +0 -1
  54. package/IncludeExclude.vue_vue_type_style_index_0_scoped_fb054d88_lang.css +0 -1
  55. package/IncludeExcludeDragDrop.vue_vue_type_style_index_0_scoped_5764fd61_lang.css +0 -1
  56. package/OptionV4.vue_vue_type_style_index_0_scoped_9db0f796_lang.css +0 -1
  57. package/Popover.vue_vue_type_style_index_0_scoped_25eb53db_lang.css +0 -1
  58. package/TextAreaV4.vue_vue_type_style_index_0_scoped_f3b2c01d_lang.css +0 -1
  59. package/TextField.vue_vue_type_style_index_0_scoped_a6457440_lang.css +0 -1
  60. package/components/popover/Popover.vue.js +0 -8
  61. /package/components/popover/{Popover.vue.d.ts → v3/Popover.vue.d.ts} +0 -0
  62. /package/components/popover/{index.d.ts → v3/index.d.ts} +0 -0
  63. /package/components/popover/{index.js → v3/index.js} +0 -0
@@ -0,0 +1,209 @@
1
+ import Popover from './PopoverV4.vue';
2
+ declare const PopoverTypes: () => ({
3
+ new (...args: any[]): {
4
+ $: import("vue").ComponentInternalInstance;
5
+ $data: {};
6
+ $props: Partial<{
7
+ disabled: boolean;
8
+ testId: string;
9
+ placement: import("floating-vue").Placement;
10
+ distance: number;
11
+ popperClass: string;
12
+ autoHide: boolean;
13
+ skidding: number;
14
+ trigger: "touch" | "click" | "focus" | "hover" | "managed";
15
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<{
16
+ disabled: {
17
+ type: import("vue").PropType<boolean>;
18
+ default: boolean;
19
+ };
20
+ testId: {
21
+ type: import("vue").PropType<string>;
22
+ default: string;
23
+ };
24
+ placement: {
25
+ type: import("vue").PropType<import("floating-vue").Placement>;
26
+ default: string;
27
+ };
28
+ distance: {
29
+ type: import("vue").PropType<number>;
30
+ default: number;
31
+ };
32
+ popperClass: {
33
+ type: import("vue").PropType<string>;
34
+ default: string;
35
+ };
36
+ autoHide: {
37
+ type: import("vue").PropType<boolean>;
38
+ default: boolean;
39
+ };
40
+ skidding: {
41
+ type: import("vue").PropType<number>;
42
+ default: number;
43
+ };
44
+ trigger: {
45
+ type: import("vue").PropType<"touch" | "click" | "focus" | "hover" | "managed">;
46
+ default: string;
47
+ };
48
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "testId" | "placement" | "distance" | "popperClass" | "autoHide" | "skidding" | "trigger">;
49
+ $attrs: {
50
+ [x: string]: unknown;
51
+ };
52
+ $refs: {
53
+ [x: string]: unknown;
54
+ };
55
+ $slots: Readonly<{
56
+ [name: string]: import("vue").Slot;
57
+ }>;
58
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
59
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
60
+ $emit: (event: string, ...args: any[]) => void;
61
+ $el: any;
62
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
63
+ disabled: {
64
+ type: import("vue").PropType<boolean>;
65
+ default: boolean;
66
+ };
67
+ testId: {
68
+ type: import("vue").PropType<string>;
69
+ default: string;
70
+ };
71
+ placement: {
72
+ type: import("vue").PropType<import("floating-vue").Placement>;
73
+ default: string;
74
+ };
75
+ distance: {
76
+ type: import("vue").PropType<number>;
77
+ default: number;
78
+ };
79
+ popperClass: {
80
+ type: import("vue").PropType<string>;
81
+ default: string;
82
+ };
83
+ autoHide: {
84
+ type: import("vue").PropType<boolean>;
85
+ default: boolean;
86
+ };
87
+ skidding: {
88
+ type: import("vue").PropType<number>;
89
+ default: number;
90
+ };
91
+ trigger: {
92
+ type: import("vue").PropType<"touch" | "click" | "focus" | "hover" | "managed">;
93
+ default: string;
94
+ };
95
+ }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
96
+ disabled: boolean;
97
+ testId: string;
98
+ placement: import("floating-vue").Placement;
99
+ distance: number;
100
+ popperClass: string;
101
+ autoHide: boolean;
102
+ skidding: number;
103
+ trigger: "touch" | "click" | "focus" | "hover" | "managed";
104
+ }, {}, string> & {
105
+ beforeCreate?: (() => void) | (() => void)[];
106
+ created?: (() => void) | (() => void)[];
107
+ beforeMount?: (() => void) | (() => void)[];
108
+ mounted?: (() => void) | (() => void)[];
109
+ beforeUpdate?: (() => void) | (() => void)[];
110
+ updated?: (() => void) | (() => void)[];
111
+ activated?: (() => void) | (() => void)[];
112
+ deactivated?: (() => void) | (() => void)[];
113
+ beforeDestroy?: (() => void) | (() => void)[];
114
+ beforeUnmount?: (() => void) | (() => void)[];
115
+ destroyed?: (() => void) | (() => void)[];
116
+ unmounted?: (() => void) | (() => void)[];
117
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
118
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
119
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void)[];
120
+ };
121
+ $forceUpdate: () => void;
122
+ $nextTick: typeof import("vue").nextTick;
123
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
124
+ } & Readonly<import("vue").ExtractPropTypes<{
125
+ disabled: {
126
+ type: import("vue").PropType<boolean>;
127
+ default: boolean;
128
+ };
129
+ testId: {
130
+ type: import("vue").PropType<string>;
131
+ default: string;
132
+ };
133
+ placement: {
134
+ type: import("vue").PropType<import("floating-vue").Placement>;
135
+ default: string;
136
+ };
137
+ distance: {
138
+ type: import("vue").PropType<number>;
139
+ default: number;
140
+ };
141
+ popperClass: {
142
+ type: import("vue").PropType<string>;
143
+ default: string;
144
+ };
145
+ autoHide: {
146
+ type: import("vue").PropType<boolean>;
147
+ default: boolean;
148
+ };
149
+ skidding: {
150
+ type: import("vue").PropType<number>;
151
+ default: number;
152
+ };
153
+ trigger: {
154
+ type: import("vue").PropType<"touch" | "click" | "focus" | "hover" | "managed">;
155
+ default: string;
156
+ };
157
+ }>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
158
+ __isFragment?: never;
159
+ __isTeleport?: never;
160
+ __isSuspense?: never;
161
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
162
+ disabled: {
163
+ type: import("vue").PropType<boolean>;
164
+ default: boolean;
165
+ };
166
+ testId: {
167
+ type: import("vue").PropType<string>;
168
+ default: string;
169
+ };
170
+ placement: {
171
+ type: import("vue").PropType<import("floating-vue").Placement>;
172
+ default: string;
173
+ };
174
+ distance: {
175
+ type: import("vue").PropType<number>;
176
+ default: number;
177
+ };
178
+ popperClass: {
179
+ type: import("vue").PropType<string>;
180
+ default: string;
181
+ };
182
+ autoHide: {
183
+ type: import("vue").PropType<boolean>;
184
+ default: boolean;
185
+ };
186
+ skidding: {
187
+ type: import("vue").PropType<number>;
188
+ default: number;
189
+ };
190
+ trigger: {
191
+ type: import("vue").PropType<"touch" | "click" | "focus" | "hover" | "managed">;
192
+ default: string;
193
+ };
194
+ }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
195
+ disabled: boolean;
196
+ testId: string;
197
+ placement: import("floating-vue").Placement;
198
+ distance: number;
199
+ popperClass: string;
200
+ autoHide: boolean;
201
+ skidding: number;
202
+ trigger: "touch" | "click" | "focus" | "hover" | "managed";
203
+ }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
204
+ $slots: {
205
+ trigger?(_: {}): any;
206
+ content?(_: {}): any;
207
+ };
208
+ }))[];
209
+ export { Popover, PopoverTypes };
@@ -0,0 +1,6 @@
1
+ import o from "./PopoverV4.vue.js";
2
+ const r = () => [o];
3
+ export {
4
+ o as Popover,
5
+ r as PopoverTypes
6
+ };
@@ -1,7 +1,7 @@
1
1
  import e from "./FieldMaxLength.vue2.js";
2
2
  /* empty css */import o from "../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../FieldMaxLength.vue_vue_type_style_index_0_scoped_f3c4001a_lang.css"; //*');
4
- const a = /* @__PURE__ */ o(e, [["__scopeId", "data-v-f3c4001a"]]);
3
+ // import "../../FieldMaxLength.vue_vue_type_style_index_0_scoped_47877984_lang.css"; //*');
4
+ const p = /* @__PURE__ */ o(e, [["__scopeId", "data-v-47877984"]]);
5
5
  export {
6
- a as default
6
+ p as default
7
7
  };
@@ -1,6 +1,6 @@
1
- import "../../FieldMaxLength.vue_vue_type_style_index_0_scoped_f3c4001a_lang.css"; import { defineComponent as n, openBlock as o, createElementBlock as c, createVNode as r, unref as d, withCtx as p, createTextVNode as t, toDisplayString as a, pushScopeId as i, popScopeId as s, createElementVNode as h } from "vue";
1
+ import "../../FieldMaxLength.vue_vue_type_style_index_0_scoped_47877984_lang.css"; import { defineComponent as n, openBlock as o, createElementBlock as c, createVNode as r, unref as d, withCtx as p, createTextVNode as t, toDisplayString as a, pushScopeId as i, popScopeId as s, createElementVNode as h } from "vue";
2
2
  import l from "../typography/v4/Typography.vue.js";
3
- const m = (e) => (i("data-v-f3c4001a"), e = e(), s(), e), _ = { class: "max-length" }, u = /* @__PURE__ */ m(() => /* @__PURE__ */ h("span", { class: "max-length__divider" }, "/", -1)), v = /* @__PURE__ */ n({
3
+ const m = (e) => (i("data-v-47877984"), e = e(), s(), e), _ = { class: "max-length" }, u = /* @__PURE__ */ m(() => /* @__PURE__ */ h("span", { class: "max-length__divider" }, "/", -1)), v = /* @__PURE__ */ n({
4
4
  __name: "FieldMaxLength",
5
5
  props: {
6
6
  currentLength: { default: 0 },
@@ -1,2 +1,4 @@
1
1
  export declare const FEEDBACK_VARIANTS: readonly ["error", "success", "warning"];
2
2
  export type FeedbackVariant = (typeof FEEDBACK_VARIANTS)[number];
3
+ export declare const MAX_LENGTH_COUNTER_POSITION: readonly ["inside", "outside"];
4
+ export type MaxLengthCounterPositions = (typeof MAX_LENGTH_COUNTER_POSITION)[number];
@@ -1,11 +1,12 @@
1
1
  import { TooltipPositions } from '@/components/tooltip/common/Tooltip.types';
2
- import { FeedbackVariant } from '@/components/shared/commonTypes';
2
+ import { FeedbackVariant, MaxLengthCounterPositions } from '@/components/shared/commonTypes';
3
3
  declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
4
  modelValue?: string;
5
5
  placeholder?: string;
6
6
  disabled?: boolean;
7
7
  label?: string;
8
8
  maxLength?: number;
9
+ maxLengthCounterPosition?: MaxLengthCounterPositions;
9
10
  mandatory?: boolean;
10
11
  hoverHelpText?: string;
11
12
  hoverHelpTextPlacement?: TooltipPositions;
@@ -21,6 +22,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
21
22
  disabled: boolean;
22
23
  label: string;
23
24
  maxLength: any;
25
+ maxLengthCounterPosition: string;
24
26
  mandatory: boolean;
25
27
  hoverHelpText: string;
26
28
  hoverHelpTextPlacement: string;
@@ -38,6 +40,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
38
40
  disabled?: boolean;
39
41
  label?: string;
40
42
  maxLength?: number;
43
+ maxLengthCounterPosition?: MaxLengthCounterPositions;
41
44
  mandatory?: boolean;
42
45
  hoverHelpText?: string;
43
46
  hoverHelpTextPlacement?: TooltipPositions;
@@ -53,6 +56,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
53
56
  disabled: boolean;
54
57
  label: string;
55
58
  maxLength: any;
59
+ maxLengthCounterPosition: string;
56
60
  mandatory: boolean;
57
61
  hoverHelpText: string;
58
62
  hoverHelpTextPlacement: string;
@@ -76,6 +80,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
76
80
  maxLength: number;
77
81
  modelValue: string;
78
82
  placeholder: string;
83
+ maxLengthCounterPosition: MaxLengthCounterPositions;
79
84
  feedbackText: string;
80
85
  feedbackVariant: FeedbackVariant;
81
86
  showFeedbackTextIcon: boolean;
@@ -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_f3b2c01d_lang.css"; //*');
4
- const c = /* @__PURE__ */ o(e, [["__scopeId", "data-v-f3b2c01d"]]);
3
+ // import "../../../TextAreaV4.vue_vue_type_style_index_0_scoped_4114ef89_lang.css"; //*');
4
+ const p = /* @__PURE__ */ o(e, [["__scopeId", "data-v-4114ef89"]]);
5
5
  export {
6
- c as default
6
+ p as default
7
7
  };
@@ -1,13 +1,13 @@
1
- import "../../../TextAreaV4.vue_vue_type_style_index_0_scoped_f3b2c01d_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_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";
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";
5
- import { TextAreaTestIdModifiers as u } from "../../../testids/index.js";
5
+ import { TextAreaTestIdModifiers as i } from "../../../testids/index.js";
6
6
  import { useTestIdAttrs as V } from "../../../utils/testIds.js";
7
7
  const y = ["value", "placeholder", "disabled", "maxlength"], I = {
8
8
  key: 1,
9
9
  class: "footer"
10
- }, w = /* @__PURE__ */ s({
10
+ }, w = /* @__PURE__ */ f({
11
11
  __name: "TextAreaV4",
12
12
  props: {
13
13
  modelValue: { default: "" },
@@ -15,6 +15,7 @@ const y = ["value", "placeholder", "disabled", "maxlength"], I = {
15
15
  disabled: { type: Boolean, default: !1 },
16
16
  label: { default: "" },
17
17
  maxLength: { default: null },
18
+ maxLengthCounterPosition: { default: "inside" },
18
19
  mandatory: { type: Boolean, default: !1 },
19
20
  hoverHelpText: { default: "" },
20
21
  hoverHelpTextPlacement: { default: "top" },
@@ -27,11 +28,15 @@ const y = ["value", "placeholder", "disabled", "maxlength"], I = {
27
28
  },
28
29
  emits: ["update:modelValue"],
29
30
  setup(e, { emit: h }) {
30
- const o = e, m = (d) => {
31
- h("update:modelValue", d.target.value);
32
- }, x = b(() => (o.modelValue || "").length), r = V(o.testId, u);
33
- return (d, f) => (t(), i("div", c({ class: "textarea-field" }, a(r)[a(u).WRAPPER]), [
34
- e.label ? (t(), n(v, {
31
+ const u = e, m = (n) => {
32
+ h("update:modelValue", n.target.value);
33
+ }, x = b(() => (u.modelValue || "").length), o = V(u.testId, i);
34
+ return (n, s) => (t(), r("div", c({
35
+ class: ["textarea-field", {
36
+ "textarea-field--counter-inside": e.maxLength && e.maxLengthCounterPosition === "inside"
37
+ }]
38
+ }, a(o)[a(i).WRAPPER]), [
39
+ e.label ? (t(), d(v, {
35
40
  key: 0,
36
41
  class: "textarea-label",
37
42
  label: e.label,
@@ -51,17 +56,18 @@ const y = ["value", "placeholder", "disabled", "maxlength"], I = {
51
56
  placeholder: e.placeholder,
52
57
  disabled: e.disabled,
53
58
  maxlength: e.maxLength
54
- }, a(r)[a(u).FIELD], { onInput: m }), null, 16, y),
55
- e.feedbackText || e.maxLength ? (t(), i("div", I, [
56
- e.feedbackText ? (t(), n(T, {
59
+ }, a(o)[a(i).FIELD], { onInput: m }), null, 16, y),
60
+ e.feedbackText || e.maxLength ? (t(), r("div", I, [
61
+ e.feedbackText ? (t(), d(T, {
57
62
  key: 0,
58
63
  text: e.feedbackText,
59
64
  variant: e.feedbackVariant,
60
65
  "show-icon": e.showFeedbackTextIcon,
61
66
  "test-id": e.testId
62
67
  }, null, 8, ["text", "variant", "show-icon", "test-id"])) : l("", !0),
63
- e.maxLength ? (t(), n(k, {
68
+ e.maxLength ? (t(), d(k, {
64
69
  key: 1,
70
+ class: "max-length-counter",
65
71
  "current-length": a(x),
66
72
  "max-length": e.maxLength
67
73
  }, null, 8, ["current-length", "max-length"])) : l("", !0)
@@ -43,6 +43,10 @@ declare const TextAreaTypes: () => import("vue").DefineComponent<{
43
43
  type: import("vue").PropType<string>;
44
44
  default: string;
45
45
  };
46
+ maxLengthCounterPosition: {
47
+ type: import("vue").PropType<"inside" | "outside">;
48
+ default: string;
49
+ };
46
50
  feedbackText: {
47
51
  type: import("vue").PropType<string>;
48
52
  default: string;
@@ -102,6 +106,10 @@ declare const TextAreaTypes: () => import("vue").DefineComponent<{
102
106
  type: import("vue").PropType<string>;
103
107
  default: string;
104
108
  };
109
+ maxLengthCounterPosition: {
110
+ type: import("vue").PropType<"inside" | "outside">;
111
+ default: string;
112
+ };
105
113
  feedbackText: {
106
114
  type: import("vue").PropType<string>;
107
115
  default: string;
@@ -128,6 +136,7 @@ declare const TextAreaTypes: () => import("vue").DefineComponent<{
128
136
  maxLength: number;
129
137
  modelValue: string;
130
138
  placeholder: string;
139
+ maxLengthCounterPosition: "inside" | "outside";
131
140
  feedbackText: string;
132
141
  feedbackVariant: "success" | "warning" | "error";
133
142
  showFeedbackTextIcon: boolean;