@ironsource/shared-ui 2.0.2-rc.4 → 2.0.2-rc.5

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 (147) hide show
  1. package/AppDropdownTrigger.vue_vue_type_style_index_0_scoped_28bb325a_lang.css +1 -0
  2. package/ButtonV4.vue_vue_type_style_index_0_scoped_cca772e9_lang.css +1 -0
  3. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_e5202bb9_lang.css +1 -0
  4. package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_c6156fa0_lang.css +1 -0
  5. package/OptionV4.vue_vue_type_style_index_0_scoped_17d78416_lang.css +1 -0
  6. package/SearchV4.vue_vue_type_style_index_0_scoped_215f0f29_lang.css +1 -0
  7. package/SnackbarV4.vue_vue_type_style_index_0_scoped_48311746_lang.css +1 -0
  8. package/TooltipV4.vue_vue_type_style_index_0_scoped_cde15298_lang.css +1 -0
  9. package/TooltipV4.vue_vue_type_style_index_1_lang.css +1 -1
  10. package/components/ThemeWrapper/index.d.ts +2 -2
  11. package/components/ThemeWrapper/index.js +4 -4
  12. package/components/appTrigger/AppTrigger.vue.d.ts +1 -1
  13. package/components/appTrigger/index.d.ts +20 -20
  14. package/components/banner/Banner.vue.d.ts +3 -3
  15. package/components/banner/index.d.ts +7 -7
  16. package/components/button/v3/Button.vue.d.ts +6 -6
  17. package/components/button/v3/ButtonBase.vue.d.ts +3 -3
  18. package/components/button/v3/ScrollButton.vue.d.ts +1 -1
  19. package/components/button/v3/index.d.ts +23 -23
  20. package/components/button/v4/ButtonV4.vue.d.ts +12 -12
  21. package/components/button/v4/ButtonV4.vue.js +3 -3
  22. package/components/button/v4/ButtonV4.vue2.js +1 -1
  23. package/components/button/v4/IconButtonV4.vue.d.ts +8 -8
  24. package/components/button/v4/index.d.ts +116 -116
  25. package/components/checkbox/v3/index.d.ts +12 -12
  26. package/components/checkbox/v4/index.d.ts +12 -12
  27. package/components/chip/v3/Chip.vue.d.ts +1 -1
  28. package/components/chip/v3/index.d.ts +20 -20
  29. package/components/chip/v4/ChipV4.vue.d.ts +1 -1
  30. package/components/chip/v4/index.d.ts +20 -20
  31. package/components/dateRange/DateRange.vue.d.ts +1 -1
  32. package/components/dateRange/DateRangePicker.vue.d.ts +1 -1
  33. package/components/dateRange/index.d.ts +20 -20
  34. package/components/dialog/v3/Dialog.vue.d.ts +2 -2
  35. package/components/dialog/v3/index.d.ts +25 -25
  36. package/components/dialog/v4/DialogV4.vue.d.ts +2 -2
  37. package/components/dialog/v4/index.d.ts +25 -25
  38. package/components/dropdown/v3/Dropdown.vue.d.ts +6 -6
  39. package/components/dropdown/v3/Option.vue.d.ts +1 -1
  40. package/components/dropdown/v3/index.d.ts +111 -111
  41. package/components/dropdown/v4/AppDropdownTrigger.vue.d.ts +7 -7
  42. package/components/dropdown/v4/AppDropdownTrigger.vue.js +2 -2
  43. package/components/dropdown/v4/AppDropdownTrigger.vue2.js +22 -25
  44. package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +1 -1
  45. package/components/dropdown/v4/ChipDropdownTrigger.vue.js +2 -2
  46. package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +1 -1
  47. package/components/dropdown/v4/DefaultDropdownTrigger.vue.d.ts +13 -13
  48. package/components/dropdown/v4/DefaultDropdownTrigger.vue.js +3 -3
  49. package/components/dropdown/v4/DefaultDropdownTrigger.vue2.js +20 -22
  50. package/components/dropdown/v4/DropdownV4.vue.d.ts +11 -11
  51. package/components/dropdown/v4/OptionV4.vue.d.ts +6 -6
  52. package/components/dropdown/v4/OptionV4.vue.js +2 -2
  53. package/components/dropdown/v4/OptionV4.vue2.js +17 -17
  54. package/components/dropdown/v4/index.d.ts +331 -331
  55. package/components/emptyState/v3/EmptyState.vue.d.ts +3 -3
  56. package/components/emptyState/v3/index.d.ts +7 -7
  57. package/components/filterDropdown/FilterDropdown.vue.d.ts +1 -1
  58. package/components/filterDropdown/index.d.ts +9 -9
  59. package/components/icon/v4/IconV4.vue.d.ts +3 -3
  60. package/components/icon/v4/index.d.ts +7 -7
  61. package/components/includeExclude/IncludeExclude.vue.d.ts +3 -3
  62. package/components/includeExclude/IncludeExcludeDragDrop.vue.d.ts +2 -2
  63. package/components/includeExclude/index.d.ts +101 -101
  64. package/components/input/v3/Input.vue.d.ts +2 -2
  65. package/components/input/v3/index.d.ts +69 -69
  66. package/components/input/v4/TextField.vue.d.ts +2 -2
  67. package/components/input/v4/index.d.ts +53 -53
  68. package/components/layout/FoldableSection.vue.d.ts +1 -1
  69. package/components/layout/index.d.ts +21 -136
  70. package/components/layout/index.js +2 -4
  71. package/components/menu/Menu.vue.d.ts +1 -1
  72. package/components/menu/index.d.ts +20 -20
  73. package/components/multibar/MultiBar.vue.d.ts +1 -1
  74. package/components/multibar/index.d.ts +12 -12
  75. package/components/popover/Popover.vue.d.ts +5 -5
  76. package/components/popover/index.d.ts +58 -58
  77. package/components/radioButton/v3/RadioButton.vue.d.ts +1 -1
  78. package/components/radioButton/v3/RadioGroup.vue.d.ts +2 -2
  79. package/components/radioButton/v3/index.d.ts +42 -42
  80. package/components/radioButton/v4/RadioButtonV4.vue.d.ts +1 -1
  81. package/components/radioButton/v4/RadioGroupV4.vue.d.ts +2 -2
  82. package/components/radioButton/v4/index.d.ts +42 -42
  83. package/components/search/v3/Search.vue.d.ts +2 -2
  84. package/components/search/v3/index.d.ts +16 -16
  85. package/components/search/v4/SearchV4.vue.d.ts +1 -4
  86. package/components/search/v4/SearchV4.vue.js +5 -5
  87. package/components/search/v4/SearchV4.vue2.js +14 -15
  88. package/components/search/v4/index.d.ts +9 -12
  89. package/components/shared/FieldHelpText.vue.d.ts +1 -1
  90. package/components/shared/FieldLabel.vue.d.ts +1 -1
  91. package/components/snackbar/common/snackbar.common.d.ts +1 -1
  92. package/components/snackbar/v3/Snackbar.vue.d.ts +6 -6
  93. package/components/snackbar/v4/SnackbarV4.vue.d.ts +43 -43
  94. package/components/snackbar/v4/SnackbarV4.vue.js +5 -5
  95. package/components/snackbar/v4/SnackbarV4.vue2.js +6 -7
  96. package/components/table/common/Table.common.js +31 -31
  97. package/components/table/v3/index.d.ts +16 -16
  98. package/components/table/v4/index.d.ts +16 -16
  99. package/components/tabs/v3/Tabs.vue.d.ts +1 -1
  100. package/components/tabs/v3/index.d.ts +20 -20
  101. package/components/tabs/v4/TabsV4.vue.d.ts +1 -1
  102. package/components/tabs/v4/index.d.ts +20 -20
  103. package/components/textArea/TextArea.vue.d.ts +1 -1
  104. package/components/textArea/index.d.ts +9 -9
  105. package/components/toggle/v3/Toggle.vue.d.ts +1 -1
  106. package/components/toggle/v3/index.d.ts +9 -9
  107. package/components/toggle/v4/ToggleV4.vue.d.ts +7 -7
  108. package/components/toggle/v4/index.d.ts +34 -34
  109. package/components/tooltip/v3/Tooltip.vue.d.ts +4 -4
  110. package/components/tooltip/v3/index.d.ts +34 -34
  111. package/components/tooltip/v4/TooltipV4.vue.d.ts +4 -4
  112. package/components/tooltip/v4/TooltipV4.vue.js +2 -2
  113. package/components/tooltip/v4/TooltipV4.vue2.js +1 -1
  114. package/components/tooltip/v4/index.d.ts +34 -34
  115. package/components/typography/Heading.vue.d.ts +1 -1
  116. package/components/typography/index.d.ts +20 -20
  117. package/composables/useStorage.js +9 -10
  118. package/index.d.ts +1650 -1848
  119. package/index.js +112 -118
  120. package/package.json +2 -10
  121. package/testids/index.d.ts +0 -8
  122. package/testids/index.js +11 -13
  123. package/AppDropdownTrigger.vue_vue_type_style_index_0_scoped_a64a46d0_lang.css +0 -1
  124. package/AppHeader.vue_vue_type_style_index_0_scoped_5afbd3dd_lang.css +0 -1
  125. package/ButtonV4.vue_vue_type_style_index_0_scoped_38c0ed72_lang.css +0 -1
  126. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_c38e97df_lang.css +0 -1
  127. package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_06dcfe6d_lang.css +0 -1
  128. package/FormRow.vue_vue_type_style_index_0_scoped_54a11bf8_lang.css +0 -1
  129. package/InlineCopy.vue_vue_type_style_index_0_scoped_39577dfc_lang.css +0 -1
  130. package/OptionV4.vue_vue_type_style_index_0_scoped_d2743070_lang.css +0 -1
  131. package/SearchV4.vue_vue_type_style_index_0_scoped_1330ea8b_lang.css +0 -1
  132. package/SnackbarV4.vue_vue_type_style_index_0_scoped_49c5ccea_lang.css +0 -1
  133. package/TooltipV4.vue_vue_type_style_index_0_scoped_58a19def_lang.css +0 -1
  134. package/components/appHeader/AppHeader.vue.d.ts +0 -49
  135. package/components/appHeader/AppHeader.vue.js +0 -7
  136. package/components/appHeader/AppHeader.vue2.js +0 -58
  137. package/components/appHeader/index.d.ts +0 -61
  138. package/components/appHeader/index.js +0 -6
  139. package/components/inlineCopy/InlineCopy.vue.d.ts +0 -39
  140. package/components/inlineCopy/InlineCopy.vue.js +0 -7
  141. package/components/inlineCopy/InlineCopy.vue2.js +0 -60
  142. package/components/inlineCopy/index.d.ts +0 -39
  143. package/components/inlineCopy/index.js +0 -6
  144. package/components/layout/FormRow.vue.d.ts +0 -46
  145. package/components/layout/FormRow.vue.js +0 -7
  146. package/components/layout/FormRow.vue2.js +0 -43
  147. package/mocks/optionsWithIcons.d.ts +0 -5
@@ -1,6 +0,0 @@
1
- import p from "./AppHeader.vue.js";
2
- const r = () => [p];
3
- export {
4
- p as AppHeader,
5
- r as AppHeaderTypes
6
- };
@@ -1,39 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
- text: string;
3
- size: 'small' | 'medium';
4
- testId: string;
5
- }>, {
6
- size: string;
7
- text: string;
8
- testId: string;
9
- }>, {}, 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<{
10
- text: string;
11
- size: 'small' | 'medium';
12
- testId: string;
13
- }>, {
14
- size: string;
15
- text: string;
16
- testId: string;
17
- }>>>, {
18
- text: string;
19
- size: 'small' | 'medium';
20
- testId: string;
21
- }>;
22
- export default _default;
23
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
24
- type __VLS_TypePropsToRuntimeProps<T> = {
25
- [K in keyof T]-?: {} extends Pick<T, K> ? {
26
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
27
- } : {
28
- type: import('vue').PropType<T[K]>;
29
- required: true;
30
- };
31
- };
32
- type __VLS_WithDefaults<P, D> = {
33
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
34
- default: D[K];
35
- }> : P[K];
36
- };
37
- type __VLS_Prettify<T> = {
38
- [K in keyof T]: T[K];
39
- } & {};
@@ -1,7 +0,0 @@
1
- import o from "./InlineCopy.vue2.js";
2
- /* empty css */import e from "../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../InlineCopy.vue_vue_type_style_index_0_scoped_39577dfc_lang.css"; //*');
4
- const t = /* @__PURE__ */ e(o, [["__scopeId", "data-v-39577dfc"]]);
5
- export {
6
- t as default
7
- };
@@ -1,60 +0,0 @@
1
- import "../../InlineCopy.vue_vue_type_style_index_0_scoped_39577dfc_lang.css"; import { defineComponent as u, computed as d, openBlock as f, createElementBlock as y, createVNode as o, unref as t, mergeProps as c, withCtx as n, createTextVNode as x, toDisplayString as C } from "vue";
2
- import I from "../icon/v4/IconV4.vue.js";
3
- import T from "../typography/v4/Typography.vue.js";
4
- import { useClipboard as _ } from "@vueuse/core";
5
- import { Snackbar as z } from "../snackbar/v4/index.js";
6
- import h from "../tooltip/v4/TooltipV4.vue.js";
7
- import { useTestIdAttrs as k } from "../../utils/testIds.js";
8
- import { InlineCopyTestIdModifiers as r } from "../../testids/index.js";
9
- const P = /* @__PURE__ */ u({
10
- __name: "InlineCopy",
11
- props: {
12
- text: { default: "" },
13
- size: { default: "small" },
14
- testId: { default: "" }
15
- },
16
- setup(s) {
17
- const e = s, { copy: a, copied: p } = _({}), l = d(() => {
18
- switch (e.size) {
19
- case "medium":
20
- return "0.875rem";
21
- case "small":
22
- default:
23
- return "0.75rem";
24
- }
25
- }), m = async () => {
26
- await a(e.text), p.value && z({
27
- title: "Copied successfully",
28
- type: "success",
29
- duration: 2e3
30
- });
31
- }, i = k(e.testId, r);
32
- return (S, b) => (f(), y("div", {
33
- class: "inline-copy",
34
- onClick: m
35
- }, [
36
- o(t(T), c({
37
- variant: "caption",
38
- style: { fontSize: t(l) }
39
- }, t(i)[t(r).TEXT]), {
40
- default: n(() => [
41
- x(C(s.text), 1)
42
- ]),
43
- _: 1
44
- }, 16, ["style"]),
45
- o(t(h), { text: "Copy to clipboar" }, {
46
- default: n(() => [
47
- o(t(I), c({
48
- class: "icon-copy",
49
- name: "copy",
50
- size: "16px"
51
- }, t(i)[t(r).COPY_BTN]), null, 16)
52
- ]),
53
- _: 1
54
- })
55
- ]));
56
- }
57
- });
58
- export {
59
- P as default
60
- };
@@ -1,39 +0,0 @@
1
- import InlineCopy from './InlineCopy.vue';
2
- declare const InlineCopyTypes: () => import("vue").DefineComponent<{
3
- text: {
4
- type: import("vue").PropType<string>;
5
- required: true;
6
- default: string;
7
- };
8
- size: {
9
- type: import("vue").PropType<"small" | "medium">;
10
- required: true;
11
- default: string;
12
- };
13
- testId: {
14
- type: import("vue").PropType<string>;
15
- required: true;
16
- default: string;
17
- };
18
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
19
- text: {
20
- type: import("vue").PropType<string>;
21
- required: true;
22
- default: string;
23
- };
24
- size: {
25
- type: import("vue").PropType<"small" | "medium">;
26
- required: true;
27
- default: string;
28
- };
29
- testId: {
30
- type: import("vue").PropType<string>;
31
- required: true;
32
- default: string;
33
- };
34
- }>>, {
35
- text: string;
36
- size: "small" | "medium";
37
- testId: string;
38
- }>[];
39
- export { InlineCopy, InlineCopyTypes };
@@ -1,6 +0,0 @@
1
- import o from "./InlineCopy.vue.js";
2
- const p = () => [o];
3
- export {
4
- o as InlineCopy,
5
- p as InlineCopyTypes
6
- };
@@ -1,46 +0,0 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
- label: string;
3
- mandatory?: boolean;
4
- testId?: string;
5
- }>, {
6
- label: string;
7
- mandatory: boolean;
8
- testId: string;
9
- }>, {}, 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<{
10
- label: string;
11
- mandatory?: boolean;
12
- testId?: string;
13
- }>, {
14
- label: string;
15
- mandatory: boolean;
16
- testId: string;
17
- }>>>, {
18
- label: string;
19
- mandatory: boolean;
20
- testId: string;
21
- }>, {
22
- content?(_: {}): any;
23
- }>;
24
- export default _default;
25
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
26
- type __VLS_TypePropsToRuntimeProps<T> = {
27
- [K in keyof T]-?: {} extends Pick<T, K> ? {
28
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
29
- } : {
30
- type: import('vue').PropType<T[K]>;
31
- required: true;
32
- };
33
- };
34
- type __VLS_WithDefaults<P, D> = {
35
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
36
- default: D[K];
37
- }> : P[K];
38
- };
39
- type __VLS_Prettify<T> = {
40
- [K in keyof T]: T[K];
41
- } & {};
42
- type __VLS_WithTemplateSlots<T, S> = T & {
43
- new (): {
44
- $slots: S;
45
- };
46
- };
@@ -1,7 +0,0 @@
1
- import o from "./FormRow.vue2.js";
2
- /* empty css */import _ from "../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../FormRow.vue_vue_type_style_index_0_scoped_54a11bf8_lang.css"; //*');
4
- const p = /* @__PURE__ */ _(o, [["__scopeId", "data-v-54a11bf8"]]);
5
- export {
6
- p as default
7
- };
@@ -1,43 +0,0 @@
1
- import "../../FormRow.vue_vue_type_style_index_0_scoped_54a11bf8_lang.css"; import { defineComponent as c, openBlock as t, createElementBlock as i, createElementVNode as a, createVNode as m, unref as o, withCtx as n, createTextVNode as l, toDisplayString as u, createBlock as f, createCommentVNode as r, renderSlot as y } from "vue";
2
- import d from "../typography/v4/Typography.vue.js";
3
- const p = {
4
- key: 0,
5
- class: "form-row"
6
- }, _ = ["data-testid"], h = { class: "content" }, B = /* @__PURE__ */ c({
7
- __name: "FormRow",
8
- props: {
9
- label: { default: "" },
10
- mandatory: { type: Boolean, default: !1 },
11
- testId: { default: "" }
12
- },
13
- setup(e) {
14
- return (s, b) => e.label ? (t(), i("div", p, [
15
- a("div", {
16
- "data-testid": e.testId,
17
- class: "label-container"
18
- }, [
19
- m(o(d), { variant: "inputLabel" }, {
20
- default: n(() => [
21
- l(u(e.label), 1)
22
- ]),
23
- _: 1
24
- }),
25
- e.mandatory ? (t(), f(o(d), {
26
- key: 0,
27
- class: "mandatory"
28
- }, {
29
- default: n(() => [
30
- l("*")
31
- ]),
32
- _: 1
33
- })) : r("", !0)
34
- ], 8, _),
35
- a("div", h, [
36
- y(s.$slots, "content", {}, void 0, !0)
37
- ])
38
- ])) : r("", !0);
39
- }
40
- });
41
- export {
42
- B as default
43
- };
@@ -1,5 +0,0 @@
1
- export type OptionWithIcon = {
2
- icon: string;
3
- name: string;
4
- };
5
- export declare const optionWithIconMocks: OptionWithIcon[];