@ironsource/shared-ui 2.2.0-rc.0 → 2.2.0-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 (170) 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/Chart.vue_vue_type_style_index_0_scoped_22477735_lang.css +1 -0
  6. package/ChartHeader.vue_vue_type_style_index_0_scoped_9a603520_lang.css +1 -0
  7. package/ChartPlane.vue_vue_type_style_index_0_scoped_6de5cddb_lang.css +1 -0
  8. package/ChartTooltip.vue_vue_type_style_index_0_scoped_dc7e6298_lang.css +1 -0
  9. package/CheckboxV4.vue_vue_type_style_index_0_scoped_88525d86_lang.css +1 -0
  10. package/ChipV4.vue_vue_type_style_index_0_scoped_a221c649_lang.css +1 -0
  11. package/ColumnPicker.vue_vue_type_style_index_0_scoped_01c4e08f_lang.css +1 -0
  12. package/DataGrid.vue_vue_type_style_index_0_scoped_46851fcb_lang.css +1 -0
  13. package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_a6900fa6_lang.css +1 -0
  14. package/DialogV4.vue_vue_type_style_index_0_scoped_a6710278_lang.css +1 -0
  15. package/DropdownV4.vue_vue_type_style_index_0_scoped_526bf0a1_lang.css +1 -0
  16. package/GroupOption.vue_vue_type_style_index_0_scoped_1e5170b3_lang.css +1 -0
  17. package/HelpText.vue_vue_type_style_index_0_scoped_641c2356_lang.css +1 -0
  18. package/IconV4.vue_vue_type_style_index_0_scoped_6683c5b5_lang.css +1 -0
  19. package/InlineCopy.vue_vue_type_style_index_0_scoped_9fa1921a_lang.css +1 -0
  20. package/Link.vue_vue_type_style_index_0_scoped_fe0e7f6f_lang.css +1 -0
  21. package/MultiBar.vue_vue_type_style_index_0_scoped_c4395fb6_lang.css +1 -0
  22. package/RadioButtonV4.vue_vue_type_style_index_0_scoped_4f3c7037_lang.css +1 -0
  23. package/SnackbarV4.vue_vue_type_style_index_0_scoped_35c79635_lang.css +1 -0
  24. package/SwitchV4.vue_vue_type_style_index_0_scoped_f9f89da2_lang.css +1 -0
  25. package/TextAreaV4.vue_vue_type_style_index_0_scoped_0feea75e_lang.css +1 -0
  26. package/TextField.vue_vue_type_style_index_0_scoped_28fab783_lang.css +1 -0
  27. package/ThemeWrapper.vue_vue_type_style_index_1_lang.css +1 -1
  28. package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_0fc9ddf5_lang.css +1 -0
  29. package/TooltipHeader.vue_vue_type_style_index_0_scoped_2177211f_lang.css +1 -0
  30. package/components/alert/Alert.vue.d.ts +3 -8
  31. package/components/alert/Alert.vue.js +2 -2
  32. package/components/alert/Alert.vue2.js +48 -46
  33. package/components/alert/index.d.ts +8 -27
  34. package/components/appHeader/AppHeader.vue.js +2 -2
  35. package/components/appHeader/AppHeader.vue2.js +44 -45
  36. package/components/button/v3/Button.vue.d.ts +6 -6
  37. package/components/button/v3/index.d.ts +14 -14
  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 +2 -2
  50. package/components/chart/ChartPlane.vue2.js +34 -32
  51. package/components/chart/ChartStoryArgs.d.ts +6 -0
  52. package/components/chart/ChartTooltip.vue.js +2 -2
  53. package/components/chart/ChartTooltip.vue2.js +19 -16
  54. package/components/chart/TooltipHeader.vue.js +3 -3
  55. package/components/chart/TooltipHeader.vue2.js +33 -22
  56. package/components/chart/index.d.ts +20 -1
  57. package/components/chart/utils/utils.d.ts +5 -1
  58. package/components/chart/utils/utils.js +32 -22
  59. package/components/checkbox/v4/CheckboxV4.vue.js +3 -3
  60. package/components/checkbox/v4/CheckboxV4.vue2.js +60 -79
  61. package/components/checkbox/v4/icons/CheckedState.vue.js +11 -11
  62. package/components/checkbox/v4/icons/IndeterminateState.vue.js +7 -7
  63. package/components/checkbox/v4/icons/UncheckedState.vue.d.ts +28 -1
  64. package/components/checkbox/v4/icons/UncheckedState.vue.js +23 -21
  65. package/components/checkbox/v4/icons/UncheckedState.vue2.js +4 -0
  66. package/components/chip/v4/ChipV4.vue.js +3 -3
  67. package/components/chip/v4/ChipV4.vue2.js +1 -1
  68. package/components/columnPicker/ColumnPicker.vue.js +2 -2
  69. package/components/columnPicker/ColumnPicker.vue2.js +1 -1
  70. package/components/dialog/v4/DialogV4.vue.js +4 -4
  71. package/components/dialog/v4/DialogV4.vue2.js +1 -1
  72. package/components/dropdown/v4/AppDropdownTrigger.vue.js +3 -3
  73. package/components/dropdown/v4/AppDropdownTrigger.vue2.js +1 -1
  74. package/components/dropdown/v4/DefaultDropdownTrigger.vue.d.ts +15 -0
  75. package/components/dropdown/v4/DefaultDropdownTrigger.vue.js +3 -3
  76. package/components/dropdown/v4/DefaultDropdownTrigger.vue2.js +81 -60
  77. package/components/dropdown/v4/DropdownV4.vue.d.ts +18 -0
  78. package/components/dropdown/v4/DropdownV4.vue.js +3 -3
  79. package/components/dropdown/v4/DropdownV4.vue2.js +144 -135
  80. package/components/dropdown/v4/GroupOption.vue.js +3 -3
  81. package/components/dropdown/v4/GroupOption.vue2.js +1 -1
  82. package/components/dropdown/v4/dropdownStoryArgs.d.ts +11 -0
  83. package/components/dropdown/v4/index.d.ts +119 -2
  84. package/components/emptyState/v3/EmptyState.vue.d.ts +3 -3
  85. package/components/emptyState/v3/index.d.ts +7 -7
  86. package/components/helpText/HelpText.vue.d.ts +68 -0
  87. package/components/helpText/HelpText.vue.js +7 -0
  88. package/components/helpText/HelpText.vue2.js +45 -0
  89. package/components/helpText/index.d.ts +190 -0
  90. package/components/helpText/index.js +6 -0
  91. package/components/icon/v4/IconV4.vue.d.ts +5 -0
  92. package/components/icon/v4/IconV4.vue.js +2 -2
  93. package/components/icon/v4/IconV4.vue2.js +27 -26
  94. package/components/icon/v4/index.d.ts +20 -1
  95. package/components/includeExclude/index.d.ts +16 -16
  96. package/components/inlineCopy/InlineCopy.vue.d.ts +15 -0
  97. package/components/inlineCopy/InlineCopy.vue.js +2 -2
  98. package/components/inlineCopy/InlineCopy.vue2.js +80 -51
  99. package/components/inlineCopy/index.d.ts +27 -0
  100. package/components/input/v4/TextField.vue.js +2 -2
  101. package/components/input/v4/TextField.vue2.js +1 -1
  102. package/components/link/Link.vue.d.ts +3 -3
  103. package/components/link/Link.vue.js +5 -5
  104. package/components/link/Link.vue2.js +1 -1
  105. package/components/link/index.d.ts +7 -7
  106. package/components/multibar/MultiBar.vue.js +3 -3
  107. package/components/multibar/MultiBar.vue2.js +1 -1
  108. package/components/radioButton/v4/RadioButtonV4.vue.js +3 -3
  109. package/components/radioButton/v4/RadioButtonV4.vue2.js +1 -1
  110. package/components/snackbar/common/notify.js +25 -25
  111. package/components/snackbar/common/snackbar.common.js +19 -19
  112. package/components/snackbar/common/snackbar.types.d.ts +2 -1
  113. package/components/snackbar/v4/SnackbarV4.vue.d.ts +8 -1
  114. package/components/snackbar/v4/SnackbarV4.vue.js +2 -2
  115. package/components/snackbar/v4/SnackbarV4.vue2.js +85 -64
  116. package/components/switch/v4/SwitchV4.vue.d.ts +5 -0
  117. package/components/switch/v4/SwitchV4.vue.js +3 -3
  118. package/components/switch/v4/SwitchV4.vue2.js +14 -13
  119. package/components/switch/v4/index.d.ts +9 -0
  120. package/components/table/v4/DataGrid.vue.js +4 -4
  121. package/components/table/v4/DataGrid.vue2.js +78 -77
  122. package/components/table-cells/v3/Editable.vue.d.ts +1 -1
  123. package/components/table-cells/v3/index.d.ts +20 -20
  124. package/components/table-cells/v4/EditableV4.vue.d.ts +1 -1
  125. package/components/table-cells/v4/index.d.ts +20 -20
  126. package/components/textArea/v4/TextAreaV4.vue.js +3 -3
  127. package/components/textArea/v4/TextAreaV4.vue2.js +1 -1
  128. package/design-foundation.stories/colors/ColorsData.d.ts +52 -47
  129. package/index.d.ts +391 -46
  130. package/index.js +95 -91
  131. package/package.json +7 -2
  132. package/style/v4/colors.scss +89 -84
  133. package/style/v4/grid.css +1 -1
  134. package/style/v4/grid.css.map +1 -1
  135. package/testids/index.d.ts +6 -1
  136. package/testids/index.js +38 -37
  137. package/Alert.vue_vue_type_style_index_0_scoped_06e0871a_lang.css +0 -1
  138. package/AppDropdownTrigger.vue_vue_type_style_index_0_scoped_858cefbf_lang.css +0 -1
  139. package/AppHeader.vue_vue_type_style_index_0_scoped_538ccdc6_lang.css +0 -1
  140. package/ButtonV4.vue_vue_type_style_index_0_scoped_852be7ec_lang.css +0 -1
  141. package/Chart.vue_vue_type_style_index_0_scoped_060d02be_lang.css +0 -1
  142. package/ChartHeader.vue_vue_type_style_index_0_scoped_d90c583e_lang.css +0 -1
  143. package/ChartPlane.vue_vue_type_style_index_0_scoped_a685cf5e_lang.css +0 -1
  144. package/ChartTooltip.vue_vue_type_style_index_0_scoped_9623dbbd_lang.css +0 -1
  145. package/CheckboxV4.vue_vue_type_style_index_0_scoped_af4ae3c3_lang.css +0 -1
  146. package/ChipV4.vue_vue_type_style_index_0_scoped_a4d3a12e_lang.css +0 -1
  147. package/ColumnPicker.vue_vue_type_style_index_0_scoped_ea8c7024_lang.css +0 -1
  148. package/DataGrid.vue_vue_type_style_index_0_scoped_cd41c5ca_lang.css +0 -1
  149. package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_64ae80dd_lang.css +0 -1
  150. package/DialogV4.vue_vue_type_style_index_0_scoped_cc99f1e3_lang.css +0 -1
  151. package/DropdownV4.vue_vue_type_style_index_0_scoped_d3802d59_lang.css +0 -1
  152. package/GroupOption.vue_vue_type_style_index_0_scoped_5f372a81_lang.css +0 -1
  153. package/IconV4.vue_vue_type_style_index_0_scoped_dc433d48_lang.css +0 -1
  154. package/InlineCopy.vue_vue_type_style_index_0_scoped_ad48b61e_lang.css +0 -1
  155. package/Link.vue_vue_type_style_index_0_scoped_1a766750_lang.css +0 -1
  156. package/MultiBar.vue_vue_type_style_index_0_scoped_71617643_lang.css +0 -1
  157. package/RadioButtonV4.vue_vue_type_style_index_0_scoped_05c7bca2_lang.css +0 -1
  158. package/SnackbarV4.vue_vue_type_style_index_0_scoped_1b650c39_lang.css +0 -1
  159. package/SwitchV4.vue_vue_type_style_index_0_scoped_cd6621a7_lang.css +0 -1
  160. package/TextAreaV4.vue_vue_type_style_index_0_scoped_4114ef89_lang.css +0 -1
  161. package/TextField.vue_vue_type_style_index_0_scoped_3b7a3661_lang.css +0 -1
  162. package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_2076b5ab_lang.css +0 -1
  163. package/TooltipHeader.vue_vue_type_style_index_0_scoped_da3532aa_lang.css +0 -1
  164. package/components/checkbox/v4/icons/CheckedDisabledState.vue.d.ts +0 -29
  165. package/components/checkbox/v4/icons/CheckedDisabledState.vue.js +0 -45
  166. package/components/checkbox/v4/icons/CheckedDisabledState.vue2.js +0 -4
  167. package/components/checkbox/v4/icons/IndeterminateDisabledState.vue.d.ts +0 -2
  168. package/components/checkbox/v4/icons/IndeterminateDisabledState.vue.js +0 -40
  169. package/components/checkbox/v4/icons/UncheckedDisabledState.vue.d.ts +0 -2
  170. package/components/checkbox/v4/icons/UncheckedDisabledState.vue.js +0 -30
@@ -0,0 +1,68 @@
1
+ import { TooltipTriggers } from '@/components/tooltip/common/Tooltip.types';
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ variant?: "caption" | "h5" | "body1" | "body2";
4
+ color?: "default" | "primary" | "secondary";
5
+ disabled?: boolean;
6
+ testId?: string;
7
+ tooltipDisabled?: boolean;
8
+ tooltipTriggers?: TooltipTriggers[];
9
+ tooltipPlacement?: "top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
10
+ }>, {
11
+ variant: string;
12
+ color: string;
13
+ disabled: boolean;
14
+ testId: string;
15
+ tooltipDisabled: boolean;
16
+ tooltipTriggers: () => string[];
17
+ tooltipPlacement: string;
18
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
19
+ variant?: "caption" | "h5" | "body1" | "body2";
20
+ color?: "default" | "primary" | "secondary";
21
+ disabled?: boolean;
22
+ testId?: string;
23
+ tooltipDisabled?: boolean;
24
+ tooltipTriggers?: TooltipTriggers[];
25
+ tooltipPlacement?: "top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
26
+ }>, {
27
+ variant: string;
28
+ color: string;
29
+ disabled: boolean;
30
+ testId: string;
31
+ tooltipDisabled: boolean;
32
+ tooltipTriggers: () => string[];
33
+ tooltipPlacement: string;
34
+ }>>>, {
35
+ testId: string;
36
+ variant: "caption" | "h5" | "body1" | "body2";
37
+ tooltipPlacement: "top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
38
+ disabled: boolean;
39
+ color: "default" | "primary" | "secondary";
40
+ tooltipDisabled: boolean;
41
+ tooltipTriggers: TooltipTriggers[];
42
+ }>, {
43
+ default?(_: {}): any;
44
+ tooltip?(_: {}): any;
45
+ }>;
46
+ export default _default;
47
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
48
+ type __VLS_TypePropsToRuntimeProps<T> = {
49
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
50
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
51
+ } : {
52
+ type: import('vue').PropType<T[K]>;
53
+ required: true;
54
+ };
55
+ };
56
+ type __VLS_WithDefaults<P, D> = {
57
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
58
+ default: D[K];
59
+ }> : P[K];
60
+ };
61
+ type __VLS_Prettify<T> = {
62
+ [K in keyof T]: T[K];
63
+ } & {};
64
+ type __VLS_WithTemplateSlots<T, S> = T & {
65
+ new (): {
66
+ $slots: S;
67
+ };
68
+ };
@@ -0,0 +1,7 @@
1
+ import e from "./HelpText.vue2.js";
2
+ /* empty css */import o from "../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../HelpText.vue_vue_type_style_index_0_scoped_641c2356_lang.css"; //*');
4
+ const s = /* @__PURE__ */ o(e, [["__scopeId", "data-v-641c2356"]]);
5
+ export {
6
+ s as default
7
+ };
@@ -0,0 +1,45 @@
1
+ import "../../HelpText.vue_vue_type_style_index_0_scoped_641c2356_lang.css"; import { defineComponent as s, openBlock as n, createBlock as p, unref as e, mergeProps as d, withCtx as l, renderSlot as i, createVNode as f } from "vue";
2
+ import u from "../typography/v4/Typography.vue.js";
3
+ import m from "../tooltip/v4/TooltipV4.vue.js";
4
+ import { useTestIdAttrs as c } from "../../utils/testIds.js";
5
+ import { HelpTextTestIdModifiers as a } from "../../testids/index.js";
6
+ const y = /* @__PURE__ */ s({
7
+ __name: "HelpText",
8
+ props: {
9
+ variant: { default: "body1" },
10
+ color: { default: "default" },
11
+ disabled: { type: Boolean, default: !1 },
12
+ testId: { default: "" },
13
+ tooltipDisabled: { type: Boolean, default: !1 },
14
+ tooltipTriggers: { default: () => ["hover"] },
15
+ tooltipPlacement: { default: "auto" }
16
+ },
17
+ setup(t) {
18
+ const r = c(t.testId, a);
19
+ return (o, g) => (n(), p(e(m), d({
20
+ class: ["help-text", [`help-text--${t.color}`, { "help-text--disabled": t.disabled }]],
21
+ disabled: !o.$slots.tooltip || t.tooltipDisabled,
22
+ triggers: t.tooltipTriggers,
23
+ placement: t.tooltipPlacement
24
+ }, e(r)[e(a).TOOLTIP]), {
25
+ tooltip: l(() => [
26
+ i(o.$slots, "tooltip", {}, void 0, !0)
27
+ ]),
28
+ default: l(() => [
29
+ f(e(u), d(e(r)[e(a).TEXT], {
30
+ class: "underlined",
31
+ variant: t.variant
32
+ }), {
33
+ default: l(() => [
34
+ i(o.$slots, "default", {}, void 0, !0)
35
+ ]),
36
+ _: 3
37
+ }, 16, ["variant"])
38
+ ]),
39
+ _: 3
40
+ }, 16, ["class", "disabled", "triggers", "placement"]));
41
+ }
42
+ });
43
+ export {
44
+ y as default
45
+ };
@@ -0,0 +1,190 @@
1
+ declare const HelpTextTypes: () => ({
2
+ new (...args: any[]): {
3
+ $: import("vue").ComponentInternalInstance;
4
+ $data: {};
5
+ $props: Partial<{
6
+ testId: string;
7
+ variant: "caption" | "h5" | "body1" | "body2";
8
+ tooltipPlacement: "top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
9
+ disabled: boolean;
10
+ color: "default" | "primary" | "secondary";
11
+ tooltipDisabled: boolean;
12
+ tooltipTriggers: import("../tooltip/common/Tooltip.types").TooltipTriggers[];
13
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<{
14
+ testId: {
15
+ type: import("vue").PropType<string>;
16
+ default: string;
17
+ };
18
+ variant: {
19
+ type: import("vue").PropType<"caption" | "h5" | "body1" | "body2">;
20
+ default: string;
21
+ };
22
+ tooltipPlacement: {
23
+ type: import("vue").PropType<"top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end">;
24
+ default: string;
25
+ };
26
+ disabled: {
27
+ type: import("vue").PropType<boolean>;
28
+ default: boolean;
29
+ };
30
+ color: {
31
+ type: import("vue").PropType<"default" | "primary" | "secondary">;
32
+ default: string;
33
+ };
34
+ tooltipDisabled: {
35
+ type: import("vue").PropType<boolean>;
36
+ default: boolean;
37
+ };
38
+ tooltipTriggers: {
39
+ type: import("vue").PropType<import("../tooltip/common/Tooltip.types").TooltipTriggers[]>;
40
+ default: () => string[];
41
+ };
42
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "variant" | "tooltipPlacement" | "disabled" | "color" | "tooltipDisabled" | "tooltipTriggers">;
43
+ $attrs: {
44
+ [x: string]: unknown;
45
+ };
46
+ $refs: {
47
+ [x: string]: unknown;
48
+ };
49
+ $slots: Readonly<{
50
+ [name: string]: import("vue").Slot;
51
+ }>;
52
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
53
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
54
+ $emit: (event: string, ...args: any[]) => void;
55
+ $el: any;
56
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
57
+ testId: {
58
+ type: import("vue").PropType<string>;
59
+ default: string;
60
+ };
61
+ variant: {
62
+ type: import("vue").PropType<"caption" | "h5" | "body1" | "body2">;
63
+ default: string;
64
+ };
65
+ tooltipPlacement: {
66
+ type: import("vue").PropType<"top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end">;
67
+ default: string;
68
+ };
69
+ disabled: {
70
+ type: import("vue").PropType<boolean>;
71
+ default: boolean;
72
+ };
73
+ color: {
74
+ type: import("vue").PropType<"default" | "primary" | "secondary">;
75
+ default: string;
76
+ };
77
+ tooltipDisabled: {
78
+ type: import("vue").PropType<boolean>;
79
+ default: boolean;
80
+ };
81
+ tooltipTriggers: {
82
+ type: import("vue").PropType<import("../tooltip/common/Tooltip.types").TooltipTriggers[]>;
83
+ default: () => string[];
84
+ };
85
+ }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
86
+ testId: string;
87
+ variant: "caption" | "h5" | "body1" | "body2";
88
+ tooltipPlacement: "top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
89
+ disabled: boolean;
90
+ color: "default" | "primary" | "secondary";
91
+ tooltipDisabled: boolean;
92
+ tooltipTriggers: import("../tooltip/common/Tooltip.types").TooltipTriggers[];
93
+ }, {}, string> & {
94
+ beforeCreate?: (() => void) | (() => void)[];
95
+ created?: (() => void) | (() => void)[];
96
+ beforeMount?: (() => void) | (() => void)[];
97
+ mounted?: (() => void) | (() => void)[];
98
+ beforeUpdate?: (() => void) | (() => void)[];
99
+ updated?: (() => void) | (() => void)[];
100
+ activated?: (() => void) | (() => void)[];
101
+ deactivated?: (() => void) | (() => void)[];
102
+ beforeDestroy?: (() => void) | (() => void)[];
103
+ beforeUnmount?: (() => void) | (() => void)[];
104
+ destroyed?: (() => void) | (() => void)[];
105
+ unmounted?: (() => void) | (() => void)[];
106
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
107
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
108
+ 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)[];
109
+ };
110
+ $forceUpdate: () => void;
111
+ $nextTick: typeof import("vue").nextTick;
112
+ $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;
113
+ } & Readonly<import("vue").ExtractPropTypes<{
114
+ testId: {
115
+ type: import("vue").PropType<string>;
116
+ default: string;
117
+ };
118
+ variant: {
119
+ type: import("vue").PropType<"caption" | "h5" | "body1" | "body2">;
120
+ default: string;
121
+ };
122
+ tooltipPlacement: {
123
+ type: import("vue").PropType<"top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end">;
124
+ default: string;
125
+ };
126
+ disabled: {
127
+ type: import("vue").PropType<boolean>;
128
+ default: boolean;
129
+ };
130
+ color: {
131
+ type: import("vue").PropType<"default" | "primary" | "secondary">;
132
+ default: string;
133
+ };
134
+ tooltipDisabled: {
135
+ type: import("vue").PropType<boolean>;
136
+ default: boolean;
137
+ };
138
+ tooltipTriggers: {
139
+ type: import("vue").PropType<import("../tooltip/common/Tooltip.types").TooltipTriggers[]>;
140
+ default: () => string[];
141
+ };
142
+ }>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
143
+ __isFragment?: never;
144
+ __isTeleport?: never;
145
+ __isSuspense?: never;
146
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
147
+ testId: {
148
+ type: import("vue").PropType<string>;
149
+ default: string;
150
+ };
151
+ variant: {
152
+ type: import("vue").PropType<"caption" | "h5" | "body1" | "body2">;
153
+ default: string;
154
+ };
155
+ tooltipPlacement: {
156
+ type: import("vue").PropType<"top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end">;
157
+ default: string;
158
+ };
159
+ disabled: {
160
+ type: import("vue").PropType<boolean>;
161
+ default: boolean;
162
+ };
163
+ color: {
164
+ type: import("vue").PropType<"default" | "primary" | "secondary">;
165
+ default: string;
166
+ };
167
+ tooltipDisabled: {
168
+ type: import("vue").PropType<boolean>;
169
+ default: boolean;
170
+ };
171
+ tooltipTriggers: {
172
+ type: import("vue").PropType<import("../tooltip/common/Tooltip.types").TooltipTriggers[]>;
173
+ default: () => string[];
174
+ };
175
+ }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
176
+ testId: string;
177
+ variant: "caption" | "h5" | "body1" | "body2";
178
+ tooltipPlacement: "top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
179
+ disabled: boolean;
180
+ color: "default" | "primary" | "secondary";
181
+ tooltipDisabled: boolean;
182
+ tooltipTriggers: import("../tooltip/common/Tooltip.types").TooltipTriggers[];
183
+ }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
184
+ $slots: {
185
+ default?(_: {}): any;
186
+ tooltip?(_: {}): any;
187
+ };
188
+ }))[];
189
+ export { default as HelpText } from './HelpText.vue';
190
+ export { HelpTextTypes };
@@ -0,0 +1,6 @@
1
+ import e from "./HelpText.vue.js";
2
+ const t = () => [e];
3
+ export {
4
+ e as HelpText,
5
+ t as HelpTextTypes
6
+ };
@@ -6,6 +6,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
6
6
  height?: string;
7
7
  width?: string;
8
8
  platform?: string;
9
+ circled?: boolean;
9
10
  }>, {
10
11
  name: any;
11
12
  size: any;
@@ -14,6 +15,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
14
15
  height: any;
15
16
  width: any;
16
17
  platform: any;
18
+ circled: boolean;
17
19
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
18
20
  type?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
19
21
  name?: string;
@@ -22,6 +24,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
22
24
  height?: string;
23
25
  width?: string;
24
26
  platform?: string;
27
+ circled?: boolean;
25
28
  }>, {
26
29
  name: any;
27
30
  size: any;
@@ -30,6 +33,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
30
33
  height: any;
31
34
  width: any;
32
35
  platform: any;
36
+ circled: boolean;
33
37
  }>>>, {
34
38
  name: string;
35
39
  type: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
@@ -38,6 +42,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
38
42
  height: string;
39
43
  width: string;
40
44
  platform: string;
45
+ circled: boolean;
41
46
  }>, {
42
47
  default?(_: {}): any;
43
48
  }>;
@@ -1,7 +1,7 @@
1
1
  import o from "./IconV4.vue2.js";
2
2
  /* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../IconV4.vue_vue_type_style_index_0_scoped_dc433d48_lang.css"; //*');
4
- const t = /* @__PURE__ */ _(o, [["__scopeId", "data-v-dc433d48"]]);
3
+ // import "../../../IconV4.vue_vue_type_style_index_0_scoped_6683c5b5_lang.css"; //*');
4
+ const t = /* @__PURE__ */ _(o, [["__scopeId", "data-v-6683c5b5"]]);
5
5
  export {
6
6
  t as default
7
7
  };
@@ -1,7 +1,7 @@
1
- import "../../../IconV4.vue_vue_type_style_index_0_scoped_dc433d48_lang.css"; import { defineComponent as S, useCssVars as w, unref as s, useSlots as C, computed as o, watch as _, openBlock as u, createElementBlock as f, normalizeClass as b, createCommentVNode as z, renderSlot as I } from "vue";
2
- import { useStorage as T } from "../../../composables/useStorage.js";
3
- import { ASSETS_BASE_URL as U } from "./consts.js";
4
- const V = ["innerHTML"], B = /* @__PURE__ */ S({
1
+ import "../../../IconV4.vue_vue_type_style_index_0_scoped_6683c5b5_lang.css"; import { defineComponent as w, useCssVars as C, unref as l, useSlots as b, computed as o, watch as _, openBlock as u, createElementBlock as f, normalizeClass as p, createCommentVNode as z, renderSlot as B } from "vue";
2
+ import { useStorage as I } from "../../../composables/useStorage.js";
3
+ import { ASSETS_BASE_URL as T } from "./consts.js";
4
+ const U = ["innerHTML"], x = /* @__PURE__ */ w({
5
5
  __name: "IconV4",
6
6
  props: {
7
7
  type: { default: "regular" },
@@ -10,62 +10,63 @@ const V = ["innerHTML"], B = /* @__PURE__ */ S({
10
10
  size: { default: null },
11
11
  height: { default: null },
12
12
  width: { default: null },
13
- platform: { default: null }
13
+ platform: { default: null },
14
+ circled: { type: Boolean, default: !1 }
14
15
  },
15
16
  setup(r) {
16
17
  const e = r;
17
- w((t) => ({
18
- "3d423be4": s(d),
19
- "513646c9": s(m),
20
- ad86ac0c: r.color
18
+ C((t) => ({
19
+ "9a94b0d2": l(m),
20
+ eb9f5d14: l(h),
21
+ "047031a6": r.color
21
22
  }));
22
- const a = window.sharedUIRequestCache = window.sharedUIRequestCache || {}, p = C(), d = o(() => e.size || e.width), m = o(() => e.size || e.height), h = o(
23
+ const a = window.sharedUIRequestCache = window.sharedUIRequestCache || {}, d = b(), m = o(() => e.size || e.width), h = o(() => e.size || e.height), y = o(
23
24
  () => e.platform ? `${e.type}/${e.platform}` : e.type
24
- ), y = o(() => {
25
+ ), g = o(() => {
25
26
  if (!e.name)
26
27
  return "";
27
28
  const t = e.name.split("/");
28
29
  return [e.name ? `icon-name--${t.at(-1)}` : ""];
29
30
  }), c = o(() => {
30
- if (p.default)
31
+ if (d.default)
31
32
  return "";
32
33
  if (!e.name)
33
34
  return console.error("Please provided icon name"), "";
34
35
  const t = e.type === "regular" || e.type === "bold" || e.type === "fill" ? "ph/" : "v4/", n = e.type === "bold" || e.type === "fill" ? `-${e.type}` : "";
35
- return `${U}/icons/${t}${h.value}/${e.name}${n}.svg`;
36
- }), l = T(`icon-${e.type}--${e.name}`);
37
- function g(t) {
36
+ return `${T}/icons/${t}${y.value}/${e.name}${n}.svg`;
37
+ }), s = I(`icon-${e.type}--${e.name}`);
38
+ function v(t) {
38
39
  return a[t] || (a[t] = fetch(t).then((n) => n.text()).finally(() => {
39
40
  delete a[t];
40
41
  }).catch((n) => {
41
42
  console.error(n);
42
43
  })), a[t];
43
44
  }
44
- function v(t) {
45
+ function $(t) {
45
46
  return t.replace(
46
47
  /<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,
47
48
  ""
48
49
  );
49
50
  }
50
51
  function i() {
51
- g(c.value).then((t) => {
52
- typeof t == "string" && t.startsWith("<svg") && (l.value = t);
52
+ v(c.value).then((t) => {
53
+ typeof t == "string" && t.startsWith("<svg") && (s.value = t);
53
54
  });
54
55
  }
55
- !l.value && c.value && i();
56
- const $ = o(() => v(l.value ?? ""));
56
+ !s.value && c.value && i();
57
+ const S = o(() => $(s.value ?? ""));
57
58
  return _(() => e.name, i), (t, n) => (u(), f("span", {
58
- class: b(["icon", s(y)])
59
+ class: p(["icon", l(g)])
59
60
  }, [
60
61
  t.$slots.default ? z("", !0) : (u(), f("span", {
61
62
  key: 0,
62
- class: "icon-wrapper",
63
- innerHTML: s($)
64
- }, null, 8, V)),
65
- I(t.$slots, "default", {}, void 0, !0)
63
+ class: p(["icon-wrapper", { "icon-wrapper--circled": r.circled }]),
64
+ innerHTML: l(S)
65
+ }, null, 10, U)),
66
+ B(t.$slots, "default", {}, void 0, !0)
66
67
  ], 2));
67
68
  }
68
69
  });
69
70
  export {
70
- B as default
71
+ x as default
71
72
  };
@@ -11,6 +11,7 @@ declare const IconTypes: () => ({
11
11
  height: string;
12
12
  width: string;
13
13
  platform: string;
14
+ circled: boolean;
14
15
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
15
16
  name: {
16
17
  type: import("vue").PropType<string>;
@@ -40,7 +41,11 @@ declare const IconTypes: () => ({
40
41
  type: import("vue").PropType<string>;
41
42
  default: any;
42
43
  };
43
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "name" | "type" | "color" | "size" | "height" | "width" | "platform">;
44
+ circled: {
45
+ type: import("vue").PropType<boolean>;
46
+ default: boolean;
47
+ };
48
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "name" | "type" | "color" | "size" | "height" | "width" | "platform" | "circled">;
44
49
  $attrs: {
45
50
  [x: string]: unknown;
46
51
  };
@@ -83,6 +88,10 @@ declare const IconTypes: () => ({
83
88
  type: import("vue").PropType<string>;
84
89
  default: any;
85
90
  };
91
+ circled: {
92
+ type: import("vue").PropType<boolean>;
93
+ default: boolean;
94
+ };
86
95
  }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
87
96
  name: string;
88
97
  type: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
@@ -91,6 +100,7 @@ declare const IconTypes: () => ({
91
100
  height: string;
92
101
  width: string;
93
102
  platform: string;
103
+ circled: boolean;
94
104
  }, {}, string> & {
95
105
  beforeCreate?: (() => void) | (() => void)[];
96
106
  created?: (() => void) | (() => void)[];
@@ -140,6 +150,10 @@ declare const IconTypes: () => ({
140
150
  type: import("vue").PropType<string>;
141
151
  default: any;
142
152
  };
153
+ circled: {
154
+ type: import("vue").PropType<boolean>;
155
+ default: boolean;
156
+ };
143
157
  }>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
144
158
  __isFragment?: never;
145
159
  __isTeleport?: never;
@@ -173,6 +187,10 @@ declare const IconTypes: () => ({
173
187
  type: import("vue").PropType<string>;
174
188
  default: any;
175
189
  };
190
+ circled: {
191
+ type: import("vue").PropType<boolean>;
192
+ default: boolean;
193
+ };
176
194
  }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
177
195
  name: string;
178
196
  type: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
@@ -181,6 +199,7 @@ declare const IconTypes: () => ({
181
199
  height: string;
182
200
  width: string;
183
201
  platform: string;
202
+ circled: boolean;
184
203
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
185
204
  $slots: {
186
205
  default?(_: {}): any;
@@ -1361,14 +1361,14 @@ declare const IncludeExcludeTypes: () => (({
1361
1361
  type: import("vue").PropType<unknown[]>;
1362
1362
  required: true;
1363
1363
  };
1364
- options: {
1365
- type: import("vue").PropType<unknown[]>;
1366
- required: true;
1367
- };
1368
1364
  isLoading: {
1369
1365
  type: import("vue").PropType<boolean>;
1370
1366
  default: boolean;
1371
1367
  };
1368
+ options: {
1369
+ type: import("vue").PropType<unknown[]>;
1370
+ required: true;
1371
+ };
1372
1372
  showIcon: {
1373
1373
  type: import("vue").PropType<boolean>;
1374
1374
  default: boolean;
@@ -1459,14 +1459,14 @@ declare const IncludeExcludeTypes: () => (({
1459
1459
  type: import("vue").PropType<unknown[]>;
1460
1460
  required: true;
1461
1461
  };
1462
- options: {
1463
- type: import("vue").PropType<unknown[]>;
1464
- required: true;
1465
- };
1466
1462
  isLoading: {
1467
1463
  type: import("vue").PropType<boolean>;
1468
1464
  default: boolean;
1469
1465
  };
1466
+ options: {
1467
+ type: import("vue").PropType<unknown[]>;
1468
+ required: true;
1469
+ };
1470
1470
  showIcon: {
1471
1471
  type: import("vue").PropType<boolean>;
1472
1472
  default: boolean;
@@ -1583,14 +1583,14 @@ declare const IncludeExcludeTypes: () => (({
1583
1583
  type: import("vue").PropType<unknown[]>;
1584
1584
  required: true;
1585
1585
  };
1586
- options: {
1587
- type: import("vue").PropType<unknown[]>;
1588
- required: true;
1589
- };
1590
1586
  isLoading: {
1591
1587
  type: import("vue").PropType<boolean>;
1592
1588
  default: boolean;
1593
1589
  };
1590
+ options: {
1591
+ type: import("vue").PropType<unknown[]>;
1592
+ required: true;
1593
+ };
1594
1594
  showIcon: {
1595
1595
  type: import("vue").PropType<boolean>;
1596
1596
  default: boolean;
@@ -1671,14 +1671,14 @@ declare const IncludeExcludeTypes: () => (({
1671
1671
  type: import("vue").PropType<unknown[]>;
1672
1672
  required: true;
1673
1673
  };
1674
- options: {
1675
- type: import("vue").PropType<unknown[]>;
1676
- required: true;
1677
- };
1678
1674
  isLoading: {
1679
1675
  type: import("vue").PropType<boolean>;
1680
1676
  default: boolean;
1681
1677
  };
1678
+ options: {
1679
+ type: import("vue").PropType<unknown[]>;
1680
+ required: true;
1681
+ };
1682
1682
  showIcon: {
1683
1683
  type: import("vue").PropType<boolean>;
1684
1684
  default: boolean;