@ironsource/shared-ui 2.0.0-rc.8 → 2.0.0-rc.9

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 (52) hide show
  1. package/Button.vue_vue_type_style_index_0_scoped_35545b8c_lang.css +1 -0
  2. package/CardPanel.vue_vue_type_style_index_0_scoped_3cda0f04_lang.css +1 -0
  3. package/FoldableSection.vue_vue_type_style_index_0_scoped_51b5b56d_lang.css +1 -0
  4. package/FormCard.vue_vue_type_style_index_0_scoped_bb7d27f9_lang.css +1 -0
  5. package/MenuItem.vue_vue_type_style_index_0_scoped_67e53b85_lang.css +1 -0
  6. package/ToggleV4.vue_vue_type_style_index_0_scoped_ef31fecc_lang.css +1 -0
  7. package/Tooltip.vue_vue_type_style_index_0_scoped_9020a179_lang.css +1 -0
  8. package/TooltipV4.vue_vue_type_style_index_0_scoped_21f12d1a_lang.css +1 -0
  9. package/components/appTrigger/AppTrigger.vue2.js +19 -20
  10. package/components/button/v3/Button.vue.js +3 -3
  11. package/components/button/v3/Button.vue2.js +1 -1
  12. package/components/button/v3/ScrollButton.vue2.js +4 -5
  13. package/components/includeExclude/IncludeExcludeAppTrigger.vue2.js +15 -16
  14. package/components/includeExclude/IncludeExcludeOption.vue2.js +6 -7
  15. package/components/includeExclude/IncludeExcludeOptionDraggable.vue2.js +16 -17
  16. package/components/input/v3/Input.vue2.js +3 -4
  17. package/components/input/v4/TextField.vue2.js +8 -8
  18. package/components/layout/CardPanel.vue.d.ts +36 -0
  19. package/components/layout/CardPanel.vue.js +7 -0
  20. package/components/layout/CardPanel.vue2.js +25 -0
  21. package/components/layout/FoldableSection.vue.d.ts +50 -0
  22. package/components/layout/FoldableSection.vue.js +7 -0
  23. package/components/layout/FoldableSection.vue2.js +57 -0
  24. package/components/layout/FormCard.vue.d.ts +74 -0
  25. package/components/layout/FormCard.vue.js +7 -0
  26. package/components/layout/FormCard.vue2.js +74 -0
  27. package/components/layout/index.d.ts +405 -0
  28. package/components/layout/index.js +10 -0
  29. package/components/menuItem/MenuItem.vue.js +5 -24
  30. package/components/menuItem/MenuItem.vue2.js +23 -0
  31. package/components/shared/FieldLabel.vue2.js +3 -3
  32. package/components/table/common/Table.common.js +20 -20
  33. package/components/toggle/v4/ToggleV4.vue.js +7 -0
  34. package/components/toggle/v4/ToggleV4.vue2.js +95 -0
  35. package/components/toggle/v4/index.d.ts +313 -0
  36. package/components/toggle/v4/index.js +6 -0
  37. package/components/tooltip/v3/Tooltip.vue.js +6 -3
  38. package/components/tooltip/v3/Tooltip.vue2.js +3 -3
  39. package/components/tooltip/v3/index.js +3 -4
  40. package/components/tooltip/v4/TooltipV4.vue.js +6 -65
  41. package/components/tooltip/v4/TooltipV4.vue2.js +67 -0
  42. package/components/tooltip/v4/index.js +2 -2
  43. package/index.d.ts +623 -1
  44. package/index.js +137 -129
  45. package/package.json +17 -5
  46. package/testids/index.d.ts +11 -0
  47. package/testids/index.js +16 -14
  48. package/Button.vue_vue_type_style_index_0_scoped_bfe31a93_lang.css +0 -1
  49. package/MenuItem.vue_vue_type_style_index_0_scoped_c7e837fa_lang.css +0 -1
  50. package/components/tooltip/v4/TooltipV4.vue3.js +0 -4
  51. /package/{Tooltip.vue_vue_type_style_index_0_lang.css → Tooltip.vue_vue_type_style_index_1_lang.css} +0 -0
  52. /package/{TooltipV4.vue_vue_type_style_index_0_lang.css → TooltipV4.vue_vue_type_style_index_1_lang.css} +0 -0
@@ -1,67 +1,8 @@
1
- import { defineComponent as c, openBlock as l, createBlock as d, unref as t, mergeProps as m, withCtx as r, renderSlot as f, createTextVNode as u, toDisplayString as h, createElementVNode as p } from "vue";
2
- import y from "./TextWithTitleContent.vue.js";
3
- import { Tooltip as T } from "floating-vue";
4
- import { TooltipTestIdModifiers as i } from "../../../testids/index.js";
5
- import g from "../../typography/v4/Typography.vue.js";
6
- import { tooltipCommon as x } from "../common/Tooltip.common.js";
7
- import { useTestIdAttrs as v } from "../../../utils/testIds.js";
8
- const I = {
9
- ref: "container",
10
- class: "container"
11
- }, $ = /* @__PURE__ */ c({
12
- __name: "TooltipV4",
13
- props: {
14
- text: { default: null },
15
- header: { default: null },
16
- delay: { default: 0 },
17
- triggers: { default: () => ["hover"] },
18
- forceShowWithTruncate: { type: Boolean, default: !1 },
19
- placement: { default: "auto" },
20
- theme: { default: "light-theme-v4" },
21
- disabled: { type: Boolean, default: !1 },
22
- testId: { default: "" },
23
- distance: { default: "10" }
24
- },
25
- setup(e) {
26
- const n = e, { textForDisplay: o } = x(n), s = v(n.testId, i);
27
- return (a, b) => (l(), d(t(T), m({ ...a.$props, ...t(s)[t(i).TRIGGER] }, {
28
- theme: e.theme,
29
- "no-auto-focus": "",
30
- triggers: e.triggers,
31
- delay: { show: e.delay, hide: 0 },
32
- placement: e.placement,
33
- disabled: e.disabled || e.text && !t(o),
34
- "popper-class": [e.theme, e.placement, "v4-tooltip"],
35
- class: ["v4-tooltip"],
36
- distance: e.distance,
37
- "auto-hide": ""
38
- }), {
39
- popper: r(() => [
40
- f(a.$slots, "tooltip", { text: t(o) }, () => [
41
- e.header ? (l(), d(y, {
42
- key: 1,
43
- text: e.text,
44
- header: e.header
45
- }, null, 8, ["text", "header"])) : (l(), d(t(g), m({
46
- key: 0,
47
- variant: "body2"
48
- }, t(s)[t(i).TEXT]), {
49
- default: r(() => [
50
- u(h(t(o)), 1)
51
- ]),
52
- _: 1
53
- }, 16))
54
- ])
55
- ]),
56
- default: r(() => [
57
- p("div", I, [
58
- f(a.$slots, "default")
59
- ], 512)
60
- ]),
61
- _: 3
62
- }, 16, ["theme", "triggers", "delay", "placement", "disabled", "popper-class", "distance"]));
63
- }
64
- });
1
+ import o from "./TooltipV4.vue2.js";
2
+ /* empty css *//* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../../TooltipV4.vue_vue_type_style_index_0_scoped_21f12d1a_lang.css"; //*');
4
+ // import "../../../TooltipV4.vue_vue_type_style_index_1_lang.css"; //');
5
+ const l = /* @__PURE__ */ _(o, [["__scopeId", "data-v-21f12d1a"]]);
65
6
  export {
66
- $ as default
7
+ l as default
67
8
  };
@@ -0,0 +1,67 @@
1
+ import "../../../TooltipV4.vue_vue_type_style_index_0_scoped_21f12d1a_lang.css"; import "../../../TooltipV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as c, openBlock as l, createBlock as d, unref as t, mergeProps as m, withCtx as r, renderSlot as f, createTextVNode as u, toDisplayString as h, createElementVNode as p } from "vue";
2
+ import y from "./TextWithTitleContent.vue.js";
3
+ import { Tooltip as T } from "floating-vue";
4
+ import { TooltipTestIdModifiers as i } from "../../../testids/index.js";
5
+ import g from "../../typography/v4/Typography.vue.js";
6
+ import { tooltipCommon as x } from "../common/Tooltip.common.js";
7
+ import { useTestIdAttrs as v } from "../../../utils/testIds.js";
8
+ const I = {
9
+ ref: "container",
10
+ class: "container"
11
+ }, $ = /* @__PURE__ */ c({
12
+ __name: "TooltipV4",
13
+ props: {
14
+ text: { default: null },
15
+ header: { default: null },
16
+ delay: { default: 0 },
17
+ triggers: { default: () => ["hover"] },
18
+ forceShowWithTruncate: { type: Boolean, default: !1 },
19
+ placement: { default: "auto" },
20
+ theme: { default: "light-theme-v4" },
21
+ disabled: { type: Boolean, default: !1 },
22
+ testId: { default: "" },
23
+ distance: { default: "10" }
24
+ },
25
+ setup(e) {
26
+ const n = e, { textForDisplay: o } = x(n), s = v(n.testId, i);
27
+ return (a, b) => (l(), d(t(T), m({ ...a.$props, ...t(s)[t(i).TRIGGER] }, {
28
+ theme: e.theme,
29
+ "no-auto-focus": "",
30
+ triggers: e.triggers,
31
+ delay: { show: e.delay, hide: 0 },
32
+ placement: e.placement,
33
+ disabled: e.disabled || e.text && !t(o),
34
+ "popper-class": [e.theme, e.placement, "v4-tooltip"],
35
+ class: ["v4-tooltip"],
36
+ distance: e.distance,
37
+ "auto-hide": ""
38
+ }), {
39
+ popper: r(() => [
40
+ f(a.$slots, "tooltip", { text: t(o) }, () => [
41
+ e.header ? (l(), d(y, {
42
+ key: 1,
43
+ text: e.text,
44
+ header: e.header
45
+ }, null, 8, ["text", "header"])) : (l(), d(t(g), m({
46
+ key: 0,
47
+ variant: "body2"
48
+ }, t(s)[t(i).TEXT]), {
49
+ default: r(() => [
50
+ u(h(t(o)), 1)
51
+ ]),
52
+ _: 1
53
+ }, 16))
54
+ ], !0)
55
+ ]),
56
+ default: r(() => [
57
+ p("div", I, [
58
+ f(a.$slots, "default", {}, void 0, !0)
59
+ ], 512)
60
+ ]),
61
+ _: 3
62
+ }, 16, ["theme", "triggers", "delay", "placement", "disabled", "popper-class", "distance"]));
63
+ }
64
+ });
65
+ export {
66
+ $ as default
67
+ };
@@ -1,6 +1,6 @@
1
1
  import o from "./TooltipV4.vue.js";
2
- /* empty css */const i = () => [o];
2
+ const t = () => [o];
3
3
  export {
4
4
  o as Tooltip,
5
- i as TooltipTypes
5
+ t as TooltipTypes
6
6
  };