energy-components 1.0.2 → 1.0.4

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 (79) hide show
  1. package/dist/components/accordion.es.js +44 -45
  2. package/dist/components/accordionGroup.es.js +12 -12
  3. package/dist/components/actionButton.es.js +2 -2
  4. package/dist/components/breadcrumbs.es.js +8 -8
  5. package/dist/components/button.es.js +20 -20
  6. package/dist/components/card.es.js +12 -0
  7. package/dist/components/checkbox.es.js +16 -16
  8. package/dist/components/datepicker.es.js +8208 -0
  9. package/dist/components/divider.es.js +6 -6
  10. package/dist/components/dropdown.es.js +55 -47
  11. package/dist/components/floatingActionButton.es.js +4 -4
  12. package/dist/components/{icon-svg-Cpx09myr.js → icon-svg-CEZ-L3iv.js} +6 -5
  13. package/dist/components/iconList.es.js +10 -10
  14. package/dist/components/iconSvg.es.js +1 -1
  15. package/dist/components/index.es.js +84 -63
  16. package/dist/components/indicator.es.js +21 -21
  17. package/dist/components/infoBox.es.js +152 -0
  18. package/dist/components/link.es.js +21 -21
  19. package/dist/components/modal.es.js +96 -0
  20. package/dist/components/overlay.es.js +31 -0
  21. package/dist/components/pagination.es.js +20 -20
  22. package/dist/components/persistentToast.es.js +130 -0
  23. package/dist/components/radio-group.vue_vue_type_script_setup_true_lang-B-kg-575.js +28 -0
  24. package/dist/components/radioButton.es.js +69 -57
  25. package/dist/components/radioGroup.es.js +4 -0
  26. package/dist/components/style/accordion.css +1 -1
  27. package/dist/components/style/accordionGroup.css +1 -1
  28. package/dist/components/style/actionButton.css +1 -1
  29. package/dist/components/style/breadcrumbs.css +1 -1
  30. package/dist/components/style/button.css +1 -1
  31. package/dist/components/style/card.css +1 -0
  32. package/dist/components/style/checkbox.css +1 -1
  33. package/dist/components/style/datepicker.css +1 -0
  34. package/dist/components/style/divider.css +1 -1
  35. package/dist/components/style/dropdown.css +1 -1
  36. package/dist/components/style/floatingActionButton.css +1 -1
  37. package/dist/components/style/icon-svg.css +1 -1
  38. package/dist/components/style/iconList.css +1 -1
  39. package/dist/components/style/indicator.css +1 -1
  40. package/dist/components/style/infoBox.css +1 -0
  41. package/dist/components/style/link.css +1 -1
  42. package/dist/components/style/modal.css +1 -0
  43. package/dist/components/style/multiselect.css +1 -1
  44. package/dist/components/style/overlay.css +1 -0
  45. package/dist/components/style/pagination.css +1 -1
  46. package/dist/components/style/persistentToast.css +1 -0
  47. package/dist/components/style/radioButton.css +1 -1
  48. package/dist/components/style/switch.css +1 -1
  49. package/dist/components/style/tabBar.css +1 -1
  50. package/dist/components/style/tag.css +1 -1
  51. package/dist/components/style/textArea.css +1 -1
  52. package/dist/components/style/textField.css +1 -1
  53. package/dist/components/style/tooltip.css +1 -1
  54. package/dist/components/switch.es.js +14 -14
  55. package/dist/components/tabBar.es.js +35 -35
  56. package/dist/components/tag.es.js +12 -12
  57. package/dist/components/textArea.es.js +31 -31
  58. package/dist/components/textField.es.js +52 -50
  59. package/dist/components/tooltip.es.js +59 -59
  60. package/dist/energy-components.es.js +10417 -1771
  61. package/dist/energy-components.umd.js +1 -1
  62. package/dist/style.css +1 -1
  63. package/dist/types/src/components/content/accordion/accordion.vue.d.ts +0 -2
  64. package/dist/types/src/components/content/card/card.vue.d.ts +24 -0
  65. package/dist/types/src/components/feedback/info-box/info-box.vue.d.ts +134 -0
  66. package/dist/types/src/components/feedback/persistent-toast/persistent-toast.vue.d.ts +161 -0
  67. package/dist/types/src/components/icon-svg/icon-svg.vue.d.ts +2 -0
  68. package/dist/types/src/components/index.d.ts +7 -0
  69. package/dist/types/src/components/input/dropdown/dropdown.vue.d.ts +15 -0
  70. package/dist/types/src/components/input/radio-button/radio-button.vue.d.ts +13 -32
  71. package/dist/types/src/components/input/radio-button/radio-group.vue.d.ts +50 -0
  72. package/dist/types/src/components/input/text-field/text-field.vue.d.ts +2 -2
  73. package/dist/types/src/components/navigation/link/link.vue.d.ts +1 -1
  74. package/dist/types/src/components/overlay/modal/modal.vue.d.ts +186 -0
  75. package/dist/types/src/components/overlay/overlay/overlay.vue.d.ts +46 -0
  76. package/dist/types/src/helpers/getInstance.d.ts +6 -0
  77. package/dist/types/src/helpers/mobileMockup.vue.d.ts +9 -0
  78. package/dist/types/tsconfig.tsbuildinfo +1 -1
  79. package/package.json +3 -2
@@ -1,10 +1,10 @@
1
- import { unref as at, defineComponent as Vt, toRefs as Mt, ref as U, computed as Ft, openBlock as bt, createElementBlock as At, createElementVNode as Z, renderSlot as Ht, normalizeClass as Rt, toDisplayString as Ct, createVNode as jt, createCommentVNode as Yt } from "vue";
2
- import { R as Xt } from "./icon-svg-Cpx09myr.js";
3
- import { _ as zt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
1
+ import { unref as at, defineComponent as Vt, toRefs as Mt, ref as U, computed as Ft, openBlock as bt, createElementBlock as At, createElementVNode as Z, renderSlot as Ht, normalizeClass as Ct, toDisplayString as Rt, createVNode as jt, createCommentVNode as Yt } from "vue";
2
+ import { I as Xt } from "./icon-svg-CEZ-L3iv.js";
3
+ import { _ as It } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  import './style/tooltip.css';const X = Math.min, O = Math.max, nt = Math.round, H = (t) => ({
5
5
  x: t,
6
6
  y: t
7
- }), It = {
7
+ }), zt = {
8
8
  left: "right",
9
9
  right: "left",
10
10
  bottom: "top",
@@ -31,11 +31,11 @@ function Tt(t) {
31
31
  function gt(t) {
32
32
  return t === "y" ? "height" : "width";
33
33
  }
34
- function z(t) {
34
+ function I(t) {
35
35
  return ["top", "bottom"].includes(j(t)) ? "y" : "x";
36
36
  }
37
37
  function ht(t) {
38
- return Tt(z(t));
38
+ return Tt(I(t));
39
39
  }
40
40
  function qt(t, e, o) {
41
41
  o === void 0 && (o = !1);
@@ -69,7 +69,7 @@ function Qt(t, e, o, n) {
69
69
  return i && (r = r.map((s) => s + "-" + i), e && (r = r.concat(r.map(ut)))), r;
70
70
  }
71
71
  function ot(t) {
72
- return t.replace(/left|right|bottom|top/g, (e) => It[e]);
72
+ return t.replace(/left|right|bottom|top/g, (e) => zt[e]);
73
73
  }
74
74
  function Ut(t) {
75
75
  return {
@@ -111,7 +111,7 @@ function Ot(t, e, o) {
111
111
  reference: n,
112
112
  floating: i
113
113
  } = t;
114
- const r = z(e), s = ht(e), l = gt(s), c = j(e), a = r === "y", f = n.x + n.width / 2 - i.width / 2, u = n.y + n.height / 2 - i.height / 2, p = n[l] / 2 - i[l] / 2;
114
+ const r = I(e), s = ht(e), l = gt(s), c = j(e), a = r === "y", f = n.x + n.width / 2 - i.width / 2, u = n.y + n.height / 2 - i.height / 2, p = n[l] / 2 - i[l] / 2;
115
115
  let d;
116
116
  switch (c) {
117
117
  case "top":
@@ -282,9 +282,9 @@ const te = (t) => ({
282
282
  x: o,
283
283
  y: n
284
284
  }, d = ht(i), m = gt(d), g = await s.getDimensions(a), h = d === "y", w = h ? "top" : "left", x = h ? "bottom" : "right", y = h ? "clientHeight" : "clientWidth", b = r.reference[m] + r.reference[d] - p[d] - r.floating[m], v = p[d] - r.reference[d], T = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(a));
285
- let R = T ? T[y] : 0;
286
- (!R || !await (s.isElement == null ? void 0 : s.isElement(T))) && (R = l.floating[y] || r.floating[m]);
287
- const $ = b / 2 - v / 2, E = R / 2 - g[m] / 2 - 1, _ = X(u[w], E), B = X(u[x], E), P = _, V = R - g[m] - B, A = R / 2 - g[m] / 2 + $, K = ft(P, A, V), W = !c.arrow && Q(i) != null && A !== K && r.reference[m] / 2 - (A < P ? _ : B) - g[m] / 2 < 0, L = W ? A < P ? A - P : A - V : 0;
285
+ let C = T ? T[y] : 0;
286
+ (!C || !await (s.isElement == null ? void 0 : s.isElement(T))) && (C = l.floating[y] || r.floating[m]);
287
+ const $ = b / 2 - v / 2, E = C / 2 - g[m] / 2 - 1, _ = X(u[w], E), B = X(u[x], E), P = _, V = C - g[m] - B, A = C / 2 - g[m] / 2 + $, K = ft(P, A, V), W = !c.arrow && Q(i) != null && A !== K && r.reference[m] / 2 - (A < P ? _ : B) - g[m] / 2 < 0, L = W ? A < P ? A - P : A - V : 0;
288
288
  return {
289
289
  [d]: p[d] + L,
290
290
  data: {
@@ -321,9 +321,9 @@ const te = (t) => ({
321
321
  } = J(t, e);
322
322
  if ((o = r.arrow) != null && o.alignmentOffset)
323
323
  return {};
324
- const w = j(i), x = z(l), y = j(l) === l, b = await (c.isRTL == null ? void 0 : c.isRTL(a.floating)), v = p || (y || !g ? [ot(l)] : Gt(l)), T = m !== "none";
324
+ const w = j(i), x = I(l), y = j(l) === l, b = await (c.isRTL == null ? void 0 : c.isRTL(a.floating)), v = p || (y || !g ? [ot(l)] : Gt(l)), T = m !== "none";
325
325
  !p && T && v.push(...Qt(l, g, m, b));
326
- const R = [l, ...v], $ = await wt(e, h), E = [];
326
+ const C = [l, ...v], $ = await wt(e, h), E = [];
327
327
  let _ = ((n = r.flip) == null ? void 0 : n.overflows) || [];
328
328
  if (f && E.push($[w]), u) {
329
329
  const A = qt(i, s, b);
@@ -334,7 +334,7 @@ const te = (t) => ({
334
334
  overflows: E
335
335
  }], !E.every((A) => A <= 0)) {
336
336
  var B, P;
337
- const A = (((B = r.flip) == null ? void 0 : B.index) || 0) + 1, K = R[A];
337
+ const A = (((B = r.flip) == null ? void 0 : B.index) || 0) + 1, K = C[A];
338
338
  if (K)
339
339
  return {
340
340
  data: {
@@ -352,7 +352,7 @@ const te = (t) => ({
352
352
  var V;
353
353
  const L = (V = _.filter((M) => {
354
354
  if (T) {
355
- const F = z(M.placement);
355
+ const F = I(M.placement);
356
356
  return F === x || // Create a bias to the `y` side axis due to horizontal
357
357
  // reading directions favoring greater width.
358
358
  F === "y";
@@ -382,7 +382,7 @@ async function ne(t, e) {
382
382
  placement: o,
383
383
  platform: n,
384
384
  elements: i
385
- } = t, r = await (n.isRTL == null ? void 0 : n.isRTL(i.floating)), s = j(o), l = Q(o), c = z(o) === "y", a = ["left", "top"].includes(s) ? -1 : 1, f = r && c ? -1 : 1, u = J(e, t);
385
+ } = t, r = await (n.isRTL == null ? void 0 : n.isRTL(i.floating)), s = j(o), l = Q(o), c = I(o) === "y", a = ["left", "top"].includes(s) ? -1 : 1, f = r && c ? -1 : 1, u = J(e, t);
386
386
  let {
387
387
  mainAxis: p,
388
388
  crossAxis: d,
@@ -454,7 +454,7 @@ const oe = function(t) {
454
454
  } = J(t, e), a = {
455
455
  x: o,
456
456
  y: n
457
- }, f = await wt(e, c), u = z(j(i)), p = Tt(u);
457
+ }, f = await wt(e, c), u = I(j(i)), p = Tt(u);
458
458
  let d = a[p], m = a[u];
459
459
  if (r) {
460
460
  const h = p === "y" ? "top" : "left", w = p === "y" ? "bottom" : "right", x = d + f[h], y = d - f[w];
@@ -497,22 +497,22 @@ const oe = function(t) {
497
497
  apply: c = () => {
498
498
  },
499
499
  ...a
500
- } = J(t, e), f = await wt(e, a), u = j(i), p = Q(i), d = z(i) === "y", {
500
+ } = J(t, e), f = await wt(e, a), u = j(i), p = Q(i), d = I(i) === "y", {
501
501
  width: m,
502
502
  height: g
503
503
  } = r.floating;
504
504
  let h, w;
505
505
  u === "top" || u === "bottom" ? (h = u, w = p === (await (s.isRTL == null ? void 0 : s.isRTL(l.floating)) ? "start" : "end") ? "left" : "right") : (w = u, h = p === "end" ? "top" : "bottom");
506
506
  const x = g - f.top - f.bottom, y = m - f.left - f.right, b = X(g - f[h], x), v = X(m - f[w], y), T = !e.middlewareData.shift;
507
- let R = b, $ = v;
508
- if ((o = e.middlewareData.shift) != null && o.enabled.x && ($ = y), (n = e.middlewareData.shift) != null && n.enabled.y && (R = x), T && !p) {
507
+ let C = b, $ = v;
508
+ if ((o = e.middlewareData.shift) != null && o.enabled.x && ($ = y), (n = e.middlewareData.shift) != null && n.enabled.y && (C = x), T && !p) {
509
509
  const _ = O(f.left, 0), B = O(f.right, 0), P = O(f.top, 0), V = O(f.bottom, 0);
510
- d ? $ = m - 2 * (_ !== 0 || B !== 0 ? _ + B : O(f.left, f.right)) : R = g - 2 * (P !== 0 || V !== 0 ? P + V : O(f.top, f.bottom));
510
+ d ? $ = m - 2 * (_ !== 0 || B !== 0 ? _ + B : O(f.left, f.right)) : C = g - 2 * (P !== 0 || V !== 0 ? P + V : O(f.top, f.bottom));
511
511
  }
512
512
  await c({
513
513
  ...e,
514
514
  availableWidth: $,
515
- availableHeight: R
515
+ availableHeight: C
516
516
  });
517
517
  const E = await s.getDimensions(l.floating);
518
518
  return m !== E.width || g !== E.height ? {
@@ -526,10 +526,10 @@ const oe = function(t) {
526
526
  function st() {
527
527
  return typeof window < "u";
528
528
  }
529
- function I(t) {
529
+ function z(t) {
530
530
  return xt(t) ? (t.nodeName || "").toLowerCase() : "#document";
531
531
  }
532
- function C(t) {
532
+ function R(t) {
533
533
  var e;
534
534
  return (t == null || (e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
535
535
  }
@@ -538,16 +538,16 @@ function N(t) {
538
538
  return (e = (xt(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
539
539
  }
540
540
  function xt(t) {
541
- return st() ? t instanceof Node || t instanceof C(t).Node : !1;
541
+ return st() ? t instanceof Node || t instanceof R(t).Node : !1;
542
542
  }
543
543
  function S(t) {
544
- return st() ? t instanceof Element || t instanceof C(t).Element : !1;
544
+ return st() ? t instanceof Element || t instanceof R(t).Element : !1;
545
545
  }
546
546
  function k(t) {
547
- return st() ? t instanceof HTMLElement || t instanceof C(t).HTMLElement : !1;
547
+ return st() ? t instanceof HTMLElement || t instanceof R(t).HTMLElement : !1;
548
548
  }
549
549
  function _t(t) {
550
- return !st() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof C(t).ShadowRoot;
550
+ return !st() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof R(t).ShadowRoot;
551
551
  }
552
552
  function et(t) {
553
553
  const {
@@ -559,7 +559,7 @@ function et(t) {
559
559
  return /auto|scroll|overlay|hidden|clip/.test(e + n + o) && !["inline", "contents"].includes(i);
560
560
  }
561
561
  function re(t) {
562
- return ["table", "td", "th"].includes(I(t));
562
+ return ["table", "td", "th"].includes(z(t));
563
563
  }
564
564
  function rt(t) {
565
565
  return [":popover-open", ":modal"].some((e) => {
@@ -589,10 +589,10 @@ function vt() {
589
589
  return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
590
590
  }
591
591
  function G(t) {
592
- return ["html", "body", "#document"].includes(I(t));
592
+ return ["html", "body", "#document"].includes(z(t));
593
593
  }
594
594
  function D(t) {
595
- return C(t).getComputedStyle(t);
595
+ return R(t).getComputedStyle(t);
596
596
  }
597
597
  function lt(t) {
598
598
  return S(t) ? {
@@ -604,7 +604,7 @@ function lt(t) {
604
604
  };
605
605
  }
606
606
  function Y(t) {
607
- if (I(t) === "html")
607
+ if (z(t) === "html")
608
608
  return t;
609
609
  const e = (
610
610
  // Step into the shadow DOM of the parent of a slotted node.
@@ -622,7 +622,7 @@ function Pt(t) {
622
622
  function dt(t, e, o) {
623
623
  var n;
624
624
  e === void 0 && (e = []), o === void 0 && (o = !0);
625
- const i = Pt(t), r = i === ((n = t.ownerDocument) == null ? void 0 : n.body), s = C(i);
625
+ const i = Pt(t), r = i === ((n = t.ownerDocument) == null ? void 0 : n.body), s = R(i);
626
626
  if (r) {
627
627
  const l = mt(s);
628
628
  return e.concat(s, s.visualViewport || [], et(i) ? i : [], l && o ? dt(l) : []);
@@ -662,14 +662,14 @@ function q(t) {
662
662
  }
663
663
  const ce = /* @__PURE__ */ H(0);
664
664
  function $t(t) {
665
- const e = C(t);
665
+ const e = R(t);
666
666
  return !vt() || !e.visualViewport ? ce : {
667
667
  x: e.visualViewport.offsetLeft,
668
668
  y: e.visualViewport.offsetTop
669
669
  };
670
670
  }
671
671
  function ae(t, e, o) {
672
- return e === void 0 && (e = !1), !o || e && o !== C(t) ? !1 : e;
672
+ return e === void 0 && (e = !1), !o || e && o !== R(t) ? !1 : e;
673
673
  }
674
674
  function tt(t, e, o, n) {
675
675
  e === void 0 && (e = !1), o === void 0 && (o = !1);
@@ -679,11 +679,11 @@ function tt(t, e, o, n) {
679
679
  const l = ae(r, o, n) ? $t(r) : H(0);
680
680
  let c = (i.left + l.x) / s.x, a = (i.top + l.y) / s.y, f = i.width / s.x, u = i.height / s.y;
681
681
  if (r) {
682
- const p = C(r), d = n && S(n) ? C(n) : n;
682
+ const p = R(r), d = n && S(n) ? R(n) : n;
683
683
  let m = p, g = mt(m);
684
684
  for (; g && n && d !== m; ) {
685
685
  const h = q(g), w = g.getBoundingClientRect(), x = D(g), y = w.left + (g.clientLeft + parseFloat(x.paddingLeft)) * h.x, b = w.top + (g.clientTop + parseFloat(x.paddingTop)) * h.y;
686
- c *= h.x, a *= h.y, f *= h.x, u *= h.y, c += y, a += b, m = C(g), g = mt(m);
686
+ c *= h.x, a *= h.y, f *= h.x, u *= h.y, c += y, a += b, m = R(g), g = mt(m);
687
687
  }
688
688
  }
689
689
  return it({
@@ -708,7 +708,7 @@ function fe(t) {
708
708
  scrollTop: 0
709
709
  }, a = H(1);
710
710
  const f = H(0), u = k(n);
711
- if ((u || !u && !r) && ((I(n) !== "body" || et(s)) && (c = lt(n)), k(n))) {
711
+ if ((u || !u && !r) && ((z(n) !== "body" || et(s)) && (c = lt(n)), k(n))) {
712
712
  const p = tt(n);
713
713
  a = q(n), f.x = p.x + n.clientLeft, f.y = p.y + n.clientTop;
714
714
  }
@@ -738,7 +738,7 @@ function de(t) {
738
738
  };
739
739
  }
740
740
  function me(t, e) {
741
- const o = C(t), n = N(t), i = o.visualViewport;
741
+ const o = R(t), n = N(t), i = o.visualViewport;
742
742
  let r = n.clientWidth, s = n.clientHeight, l = 0, c = 0;
743
743
  if (i) {
744
744
  r = i.width, s = i.height;
@@ -787,7 +787,7 @@ function ge(t, e) {
787
787
  const o = e.get(t);
788
788
  if (o)
789
789
  return o;
790
- let n = dt(t, [], !1).filter((l) => S(l) && I(l) !== "body"), i = null;
790
+ let n = dt(t, [], !1).filter((l) => S(l) && z(l) !== "body"), i = null;
791
791
  const r = D(t).position === "fixed";
792
792
  let s = r ? Y(t) : t;
793
793
  for (; S(s) && !G(s); ) {
@@ -832,7 +832,7 @@ function xe(t, e, o) {
832
832
  };
833
833
  const c = H(0);
834
834
  if (n || !n && !r)
835
- if ((I(e) !== "body" || et(i)) && (l = lt(e)), n) {
835
+ if ((z(e) !== "body" || et(i)) && (l = lt(e)), n) {
836
836
  const d = tt(e, !0, r, e);
837
837
  c.x = d.x + e.clientLeft, c.y = d.y + e.clientTop;
838
838
  } else i && (c.x = pt(i));
@@ -862,7 +862,7 @@ function Dt(t, e) {
862
862
  return N(t) === o && (o = o.ownerDocument.body), o;
863
863
  }
864
864
  function Nt(t, e) {
865
- const o = C(t);
865
+ const o = R(t);
866
866
  if (rt(t))
867
867
  return o;
868
868
  if (!k(t)) {
@@ -905,7 +905,7 @@ const be = {
905
905
  getScale: q,
906
906
  isElement: S,
907
907
  isRTL: ve
908
- }, Ae = oe, Re = ie, Ce = ee, Oe = se, _e = te, Se = (t, e, o) => {
908
+ }, Ae = oe, Ce = ie, Re = ee, Oe = se, _e = te, Se = (t, e, o) => {
909
909
  const n = /* @__PURE__ */ new Map(), i = {
910
910
  platform: be,
911
911
  ...o
@@ -924,7 +924,7 @@ function De(t) {
924
924
  function Te(t) {
925
925
  if (De(t)) {
926
926
  const e = t.$el;
927
- return xt(e) && I(e) === "#comment" ? null : e;
927
+ return xt(e) && z(e) === "#comment" ? null : e;
928
928
  }
929
929
  return t;
930
930
  }
@@ -944,10 +944,10 @@ function Pe(t) {
944
944
  }
945
945
  };
946
946
  }
947
- const Le = { class: "rds-tooltip" }, ke = {
947
+ const Le = { class: "rds-e-tooltip" }, ke = {
948
948
  key: 0,
949
- class: "rds-tooltip__header"
950
- }, $e = { class: "rds-tooltip__title" }, We = { class: "rds-tooltip__content" }, Ne = /* @__PURE__ */ Vt({
949
+ class: "rds-e-tooltip__header"
950
+ }, $e = { class: "rds-e-tooltip__title" }, We = { class: "rds-e-tooltip__content" }, Ne = /* @__PURE__ */ Vt({
951
951
  __name: "tooltip",
952
952
  props: {
953
953
  /**
@@ -1002,11 +1002,11 @@ const Le = { class: "rds-tooltip" }, ke = {
1002
1002
  placement: e.placement,
1003
1003
  middleware: [
1004
1004
  Ae(e.offsetSpace),
1005
- Ce(),
1006
1005
  Re(),
1006
+ Ce(),
1007
1007
  Oe({
1008
- apply({ availableWidth: v, availableHeight: T, elements: R }) {
1009
- Object.assign(R.floating.style, {
1008
+ apply({ availableWidth: v, availableHeight: T, elements: C }) {
1009
+ Object.assign(C.floating.style, {
1010
1010
  maxWidth: n.value ? `${v}px` : "380px",
1011
1011
  maxHeight: `${Math.max(0, T)}px`
1012
1012
  });
@@ -1029,7 +1029,7 @@ const Le = { class: "rds-tooltip" }, ke = {
1029
1029
  bottom: "top",
1030
1030
  top: "bottom"
1031
1031
  };
1032
- a.value = `rds-tooltip__tooltip-arrow--${w}`, Object.assign(l.value.style, {
1032
+ a.value = `rds-e-tooltip__tooltip-arrow--${w}`, Object.assign(l.value.style, {
1033
1033
  left: x != null ? `${x}px` : "",
1034
1034
  top: y != null ? `${y}px` : "",
1035
1035
  bottom: "",
@@ -1040,12 +1040,12 @@ const Le = { class: "rds-tooltip" }, ke = {
1040
1040
  i != null && i.value || (c.value = !0);
1041
1041
  }, p = () => {
1042
1042
  c.value = !1, f();
1043
- }, d = Ft(() => `rds-tooltip__tooltip ${c.value ? "rds-tooltip__tooltip-hidden " : ""}${o.value || i != null && i.value ? "rds-tooltip__tooltip--large " : ""}${n.value ? "rds-tooltip__tooltip--full-width " : ""}`);
1043
+ }, d = Ft(() => `rds-e-tooltip__tooltip ${c.value ? "rds-e-tooltip__tooltip-hidden " : ""}${o.value || i != null && i.value ? "rds-e-tooltip__tooltip--large " : ""}${n.value ? "rds-e-tooltip__tooltip--full-width " : ""}`);
1044
1044
  return (m, g) => (bt(), At("div", Le, [
1045
1045
  Z("div", {
1046
1046
  ref_key: "referenceRef",
1047
1047
  ref: r,
1048
- class: "rds-tooltip__trigger",
1048
+ class: "rds-e-tooltip__trigger",
1049
1049
  onBlur: u,
1050
1050
  onFocus: p,
1051
1051
  onMouseenter: p,
@@ -1056,27 +1056,27 @@ const Le = { class: "rds-tooltip" }, ke = {
1056
1056
  Z("div", {
1057
1057
  ref_key: "floatingRef",
1058
1058
  ref: s,
1059
- class: Rt(d.value)
1059
+ class: Ct(d.value)
1060
1060
  }, [
1061
1061
  at(i) ? (bt(), At("div", ke, [
1062
- Z("h3", $e, Ct(at(i)), 1),
1062
+ Z("h3", $e, Rt(at(i)), 1),
1063
1063
  jt(Xt, {
1064
1064
  name: "close",
1065
1065
  "aria-hidden": "true",
1066
- class: "rds-tooltip__icon",
1066
+ class: "rds-e-tooltip__icon",
1067
1067
  onClick: g[0] || (g[0] = (h) => c.value = !c.value)
1068
1068
  })
1069
1069
  ])) : Yt("", !0),
1070
- Z("div", We, Ct(t.content), 1),
1070
+ Z("div", We, Rt(t.content), 1),
1071
1071
  Z("div", {
1072
1072
  ref_key: "arrowRef",
1073
1073
  ref: l,
1074
- class: Rt(["rds-tooltip__tooltip-arrow", a.value])
1074
+ class: Ct(["rds-e-tooltip__tooltip-arrow", a.value])
1075
1075
  }, null, 2)
1076
1076
  ], 2)
1077
1077
  ]));
1078
1078
  }
1079
- }), Fe = /* @__PURE__ */ zt(Ne, [["__scopeId", "data-v-e5e6156d"]]);
1079
+ }), Fe = /* @__PURE__ */ It(Ne, [["__scopeId", "data-v-5c754f77"]]);
1080
1080
  export {
1081
1081
  Fe as default
1082
1082
  };