@ironsource/shared-ui 2.0.2-rc.3 → 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.
- package/AppDropdownTrigger.vue_vue_type_style_index_0_scoped_28bb325a_lang.css +1 -0
- package/components/ThemeWrapper/index.d.ts +2 -2
- package/components/ThemeWrapper/index.js +4 -4
- package/components/appTrigger/AppTrigger.vue.d.ts +1 -1
- package/components/appTrigger/index.d.ts +20 -20
- package/components/banner/Banner.vue.d.ts +3 -3
- package/components/banner/index.d.ts +7 -7
- package/components/button/v3/Button.vue.d.ts +6 -6
- package/components/button/v3/ButtonBase.vue.d.ts +3 -3
- package/components/button/v3/ScrollButton.vue.d.ts +1 -1
- package/components/button/v3/index.d.ts +23 -23
- package/components/button/v4/ButtonV4.vue.d.ts +12 -12
- package/components/button/v4/IconButtonV4.vue.d.ts +8 -8
- package/components/button/v4/index.d.ts +116 -116
- package/components/checkbox/v3/index.d.ts +12 -12
- package/components/checkbox/v4/index.d.ts +12 -12
- package/components/chip/v3/Chip.vue.d.ts +1 -1
- package/components/chip/v3/index.d.ts +20 -20
- package/components/chip/v4/ChipV4.vue.d.ts +1 -1
- package/components/chip/v4/index.d.ts +20 -20
- package/components/dateRange/DateRange.vue.d.ts +1 -1
- package/components/dateRange/DateRangePicker.vue.d.ts +1 -1
- package/components/dateRange/index.d.ts +20 -20
- package/components/dialog/v3/Dialog.vue.d.ts +2 -2
- package/components/dialog/v3/index.d.ts +25 -25
- package/components/dialog/v4/DialogV4.vue.d.ts +2 -2
- package/components/dialog/v4/index.d.ts +25 -25
- package/components/dropdown/v3/Dropdown.vue.d.ts +6 -6
- package/components/dropdown/v3/Option.vue.d.ts +1 -1
- package/components/dropdown/v3/index.d.ts +111 -111
- package/components/dropdown/v4/AppDropdownTrigger.vue.d.ts +7 -7
- package/components/dropdown/v4/AppDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/AppDropdownTrigger.vue2.js +6 -6
- package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +1 -1
- package/components/dropdown/v4/DefaultDropdownTrigger.vue.d.ts +13 -13
- package/components/dropdown/v4/DropdownV4.vue.d.ts +11 -11
- package/components/dropdown/v4/OptionV4.vue.d.ts +4 -4
- package/components/dropdown/v4/index.d.ts +325 -325
- package/components/emptyState/v3/EmptyState.vue.d.ts +3 -3
- package/components/emptyState/v3/index.d.ts +7 -7
- package/components/filterDropdown/FilterDropdown.vue.d.ts +1 -1
- package/components/filterDropdown/index.d.ts +9 -9
- package/components/icon/v4/IconV4.vue.d.ts +3 -3
- package/components/icon/v4/index.d.ts +7 -7
- package/components/includeExclude/IncludeExclude.vue.d.ts +3 -3
- package/components/includeExclude/IncludeExcludeDragDrop.vue.d.ts +2 -2
- package/components/includeExclude/index.d.ts +101 -101
- package/components/input/v3/Input.vue.d.ts +2 -2
- package/components/input/v3/index.d.ts +69 -69
- package/components/input/v4/TextField.vue.d.ts +2 -2
- package/components/input/v4/index.d.ts +53 -53
- package/components/layout/FoldableSection.vue.d.ts +1 -1
- package/components/layout/index.d.ts +20 -20
- package/components/menu/Menu.vue.d.ts +1 -1
- package/components/menu/index.d.ts +20 -20
- package/components/multibar/MultiBar.vue.d.ts +1 -1
- package/components/multibar/index.d.ts +12 -12
- package/components/popover/Popover.vue.d.ts +5 -5
- package/components/popover/index.d.ts +58 -58
- package/components/radioButton/v3/RadioButton.vue.d.ts +1 -1
- package/components/radioButton/v3/RadioGroup.vue.d.ts +2 -2
- package/components/radioButton/v3/index.d.ts +42 -42
- package/components/radioButton/v4/RadioButtonV4.vue.d.ts +1 -1
- package/components/radioButton/v4/RadioGroupV4.vue.d.ts +2 -2
- package/components/radioButton/v4/index.d.ts +42 -42
- package/components/search/v3/Search.vue.d.ts +2 -2
- package/components/search/v3/index.d.ts +16 -16
- package/components/search/v4/SearchV4.vue.d.ts +1 -1
- package/components/search/v4/index.d.ts +9 -9
- package/components/shared/FieldHelpText.vue.d.ts +1 -1
- package/components/shared/FieldLabel.vue.d.ts +1 -1
- package/components/snackbar/common/snackbar.common.d.ts +1 -1
- package/components/snackbar/v3/Snackbar.vue.d.ts +6 -6
- package/components/snackbar/v4/SnackbarV4.vue.d.ts +43 -43
- package/components/table/common/Table.common.js +31 -31
- package/components/table/v3/index.d.ts +16 -16
- package/components/table/v4/index.d.ts +16 -16
- package/components/tabs/v3/Tabs.vue.d.ts +1 -1
- package/components/tabs/v3/index.d.ts +20 -20
- package/components/tabs/v4/TabsV4.vue.d.ts +1 -1
- package/components/tabs/v4/index.d.ts +20 -20
- package/components/textArea/TextArea.vue.d.ts +1 -1
- package/components/textArea/index.d.ts +9 -9
- package/components/toggle/v3/Toggle.vue.d.ts +1 -1
- package/components/toggle/v3/index.d.ts +9 -9
- package/components/toggle/v4/ToggleV4.vue.d.ts +7 -7
- package/components/toggle/v4/index.d.ts +34 -34
- package/components/tooltip/v3/Tooltip.vue.d.ts +4 -4
- package/components/tooltip/v3/index.d.ts +34 -34
- package/components/tooltip/v4/TooltipV4.vue.d.ts +4 -4
- package/components/tooltip/v4/index.d.ts +34 -34
- package/components/typography/Heading.vue.d.ts +1 -1
- package/components/typography/index.d.ts +20 -20
- package/composables/useStorage.js +9 -10
- package/index.d.ts +1641 -1833
- package/index.js +105 -109
- package/package.json +2 -10
- package/testids/index.d.ts +0 -8
- package/testids/index.js +11 -13
- package/AppDropdownTrigger.vue_vue_type_style_index_0_scoped_44158e5f_lang.css +0 -1
- package/AppHeader.vue_vue_type_style_index_0_scoped_5afbd3dd_lang.css +0 -1
- package/InlineCopy.vue_vue_type_style_index_0_scoped_39577dfc_lang.css +0 -1
- package/components/appHeader/AppHeader.vue.d.ts +0 -49
- package/components/appHeader/AppHeader.vue.js +0 -7
- package/components/appHeader/AppHeader.vue2.js +0 -58
- package/components/appHeader/index.d.ts +0 -61
- package/components/appHeader/index.js +0 -6
- package/components/inlineCopy/InlineCopy.vue.d.ts +0 -39
- package/components/inlineCopy/InlineCopy.vue.js +0 -7
- package/components/inlineCopy/InlineCopy.vue2.js +0 -60
- package/components/inlineCopy/index.d.ts +0 -39
- package/components/inlineCopy/index.js +0 -6
|
@@ -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 };
|