bitboss-ui 2.1.125 → 2.1.127

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 (53) hide show
  1. package/dist/ai/BbButton.md +0 -11
  2. package/dist/ai/BbTooltip.md +1 -48
  3. package/dist/components/BaseButton/BaseButton.vue.d.ts +1 -1
  4. package/dist/components/BaseCheckbox/BaseCheckbox.vue.d.ts +6 -6
  5. package/dist/components/BaseCheckboxGroup/BaseCheckboxGroup.vue.d.ts +3 -3
  6. package/dist/components/BaseColorInput/BaseColorInput.vue.d.ts +6 -6
  7. package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +4 -4
  8. package/dist/components/BaseDialog/BaseDialog.vue.d.ts +6 -6
  9. package/dist/components/BaseInputContainer/BaseInputContainer.vue.d.ts +1 -1
  10. package/dist/components/BaseNumberInput/BaseNumberInput.vue.d.ts +8 -8
  11. package/dist/components/BaseRadio/BaseRadio.vue.d.ts +6 -6
  12. package/dist/components/BaseRadioGroup/BaseRadioGroup.vue.d.ts +3 -3
  13. package/dist/components/BaseRating/BaseRating.vue.d.ts +6 -6
  14. package/dist/components/BaseSelect/BaseSelect.vue.d.ts +2 -2
  15. package/dist/components/BaseSlider/BaseSlider.vue.d.ts +7 -7
  16. package/dist/components/BaseSwitch/BaseSwitch.vue.d.ts +6 -6
  17. package/dist/components/BaseSwitchGroup/BaseSwitchGroup.vue.d.ts +3 -3
  18. package/dist/components/BaseTag/BaseTag.vue.d.ts +6 -6
  19. package/dist/components/BaseTextInput/BaseTextInput.vue.d.ts +6 -6
  20. package/dist/components/BaseTextarea/BaseTextarea.vue.d.ts +6 -6
  21. package/dist/components/BbButton/BbButton.vue.d.ts +1 -1
  22. package/dist/components/BbCheckbox/BbCheckbox.vue.d.ts +7 -7
  23. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +3 -3
  24. package/dist/components/BbColorInput/BbColorInput.vue.d.ts +6 -6
  25. package/dist/components/BbColorPalette/BbColorPalette.vue.d.ts +2 -2
  26. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +4 -4
  27. package/dist/components/BbDialog/BbDialog.vue.d.ts +3 -3
  28. package/dist/components/BbDropdown/BbDropdown.vue.d.ts +3 -3
  29. package/dist/components/BbDropzone/BbDropzone.vue.d.ts +4 -4
  30. package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +8 -8
  31. package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +7 -7
  32. package/dist/components/BbPopover/BbPopover.vue.d.ts +4 -4
  33. package/dist/components/BbRadio/BbRadio.vue.d.ts +7 -7
  34. package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +3 -3
  35. package/dist/components/BbRating/BbRating.vue.d.ts +6 -6
  36. package/dist/components/BbSelect/BbSelect.vue.d.ts +2 -2
  37. package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +2 -2
  38. package/dist/components/BbSlider/BbSlider.vue.d.ts +6 -6
  39. package/dist/components/BbSwitch/BbSwitch.vue.d.ts +7 -7
  40. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +3 -3
  41. package/dist/components/BbTag/BbTag.vue.d.ts +6 -6
  42. package/dist/components/BbTextInput/BbTextInput.vue.d.ts +6 -6
  43. package/dist/components/BbTextarea/BbTextarea.vue.d.ts +6 -6
  44. package/dist/components/BbTooltip/BbTooltip.vue.d.ts +3 -4
  45. package/dist/components/BbTooltip/types.d.ts +1 -1
  46. package/dist/components/CommonPopover/CommonPopover.vue.d.ts +1 -1
  47. package/dist/components/Transitions/Slide.vue.d.ts +1 -1
  48. package/dist/directives/bbDropdown.d.ts +8 -2
  49. package/dist/directives/bbTooltip.d.ts +7 -2
  50. package/dist/index.css +1 -1
  51. package/dist/index240.js +58 -62
  52. package/dist/index343.js +57 -83
  53. package/package.json +1 -1
package/dist/index240.js CHANGED
@@ -1,21 +1,20 @@
1
- import { useLogger as e } from "./index31.js";
2
- import t from "./index36.js";
3
- import { useLocale as n } from "./index42.js";
4
- import { extractDomContainer as r } from "./index45.js";
5
- import { isEqual as i } from "./index82.js";
6
- import { noop as a } from "./index142.js";
7
- import o from "./index219.js";
8
- import { pickBy as s } from "./index239.js";
9
- import c from "./index254.js";
10
- import { computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createTextVNode as m, createVNode as h, defineAsyncComponent as g, defineComponent as _, mergeModels as v, mergeProps as y, normalizeClass as b, openBlock as x, ref as S, renderSlot as C, toDisplayString as w, toRef as T, unref as E, useAttrs as D, useModel as O, withCtx as k } from "vue";
1
+ import e from "./index36.js";
2
+ import { useLocale as t } from "./index42.js";
3
+ import { extractDomContainer as n } from "./index45.js";
4
+ import { isEqual as r } from "./index82.js";
5
+ import { noop as i } from "./index142.js";
6
+ import a from "./index219.js";
7
+ import { pickBy as o } from "./index239.js";
8
+ import s from "./index254.js";
9
+ import { computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createTextVNode as p, createVNode as m, defineAsyncComponent as h, defineComponent as g, mergeModels as _, mergeProps as v, normalizeClass as y, openBlock as b, ref as x, renderSlot as S, toDisplayString as C, toRef as w, unref as T, useAttrs as E, useModel as D, withCtx as O } from "vue";
11
10
  //#region src/components/BbButton/BbButton.vue?vue&type=script&setup=true&lang.ts
12
- var A = {
11
+ var k = {
13
12
  key: 2,
14
13
  class: "bb-button__loading-label sr-only"
15
- }, j = /* @__PURE__ */ _({
14
+ }, A = /* @__PURE__ */ g({
16
15
  inheritAttrs: !1,
17
16
  __name: "BbButton",
18
- props: /* @__PURE__ */ v({
17
+ props: /* @__PURE__ */ _({
19
18
  autoLoading: { type: Boolean },
20
19
  activeClass: {},
21
20
  ariaCurrentValue: {},
@@ -64,28 +63,26 @@ var A = {
64
63
  modelModifiers: {}
65
64
  }),
66
65
  emits: ["update:modelValue"],
67
- setup(_, { expose: v }) {
68
- let j = g(() => import("./index345.js")), M = _, N = O(_, "modelValue"), P = l(() => N.value !== void 0), F = l(() => i(N.value, M.trueValue)), { t: I } = n();
69
- e();
70
- let L = D(), R = S(), z = (e) => {
71
- R.value = r(e) ?? void 0;
72
- }, B = l(() => {
73
- let { onClick: e, ...t } = L;
66
+ setup(g, { expose: _ }) {
67
+ let A = h(() => import("./index345.js")), j = g, M = D(g, "modelValue"), N = c(() => M.value !== void 0), P = c(() => r(M.value, j.trueValue)), { t: F } = t(), I = E(), L = x(), R = (e) => {
68
+ L.value = n(e) ?? void 0;
69
+ }, z = c(() => {
70
+ let { onClick: e, ...t } = I;
74
71
  return t;
75
- }), V = S(0), H = l(() => M.loading || !!V.value && M.autoLoading), U = l(() => M.disabled), W = async (e) => {
76
- if (H.value && !M.enabledWhileLoading) return (M.type === "submit" || M.href || M.to) && e.preventDefault(), null;
77
- if (P.value) {
78
- let e = M.trueValue, t = M.falseValue;
79
- N.value = i(N.value, e) ? t : e;
72
+ }), B = x(0), V = c(() => j.loading || !!B.value && j.autoLoading), H = c(() => j.disabled), U = async (e) => {
73
+ if (V.value && !j.enabledWhileLoading) return (j.type === "submit" || j.href || j.to) && e.preventDefault(), null;
74
+ if (N.value) {
75
+ let e = j.trueValue, t = j.falseValue;
76
+ M.value = r(M.value, e) ? t : e;
80
77
  }
81
- V.value++, await (L.onClick ?? a)(e), V.value--;
82
- }, G = typeof M.size == "string" ? { default: M.size } : {
78
+ B.value++, await (I.onClick ?? i)(e), B.value--;
79
+ }, W = typeof j.size == "string" ? { default: j.size } : {
83
80
  default: "md",
84
- ...M.size
85
- }, K = Object.entries(G).reduce((e, [t, n]) => (t === "default" ? e[`data-${n}`] = "" : e[`data-${t}:${n}`] = "", e), {}), q = T(() => ({
86
- ...B.value,
87
- ...K,
88
- ...s(M, (e, t) => ![
81
+ ...j.size
82
+ }, G = Object.entries(W).reduce((e, [t, n]) => (t === "default" ? e[`data-${n}`] = "" : e[`data-${t}:${n}`] = "", e), {}), K = w(() => ({
83
+ ...z.value,
84
+ ...G,
85
+ ...o(j, (e, t) => ![
89
86
  "append:icon",
90
87
  "autoLoading",
91
88
  "disabled",
@@ -102,52 +99,51 @@ var A = {
102
99
  "trueValue"
103
100
  ].includes(t))
104
101
  }));
105
- return v({ $el: R }), (e, n) => (x(), u(E(t), y({ ref: z }, q.value, {
106
- "aria-disabled": H.value ? !0 : void 0,
107
- "aria-pressed": P.value ? F.value : void 0,
102
+ return _({ $el: L }), (t, n) => (b(), l(T(e), v({ ref: R }, K.value, {
103
+ "aria-disabled": V.value ? !0 : void 0,
104
+ "aria-pressed": N.value ? P.value : void 0,
108
105
  class: {
109
106
  "bb-button": !0,
110
- "bb-button--loading": H.value,
111
- "bb-button--group": M.group,
112
- "bb-button--icon": !!e.icon,
113
- "bb-button--active": P.value && F.value
107
+ "bb-button--loading": V.value,
108
+ "bb-button--group": j.group,
109
+ "bb-button--icon": !!t.icon,
110
+ "bb-button--active": N.value && P.value
114
111
  },
115
- disabled: U.value,
116
- tabindex: H.value ? -1 : void 0,
117
- onClick: W
112
+ disabled: H.value,
113
+ tabindex: V.value ? -1 : void 0,
114
+ onClick: U
118
115
  }), {
119
- default: k(() => [
120
- h(E(c), { class: "bb-button__spinner" }),
121
- M.icon ? (x(), u(o, {
116
+ default: O(() => [
117
+ m(T(s), { class: "bb-button__spinner" }),
118
+ j.icon ? (b(), l(a, {
122
119
  key: 0,
123
120
  class: "bb-button__icon",
124
- type: M.icon
125
- }, null, 8, ["type"])) : M["prepend:icon"] ? (x(), u(o, {
121
+ type: j.icon
122
+ }, null, 8, ["type"])) : j["prepend:icon"] ? (b(), l(a, {
126
123
  key: 1,
127
124
  class: "bb-button__prepend-icon",
128
- type: M["prepend:icon"]
129
- }, null, 8, ["type"])) : d("", !0),
130
- p("span", { class: b(["bb-button__content", { "sr-only": !!e.icon }]) }, [C(e.$slots, "default", {}, () => [m(w(e.text), 1)])], 2),
131
- H.value ? (x(), f("span", A, w(E(I)("common.loadingText")), 1)) : d("", !0),
132
- !e.icon && M["append:icon"] ? (x(), u(o, {
125
+ type: j["prepend:icon"]
126
+ }, null, 8, ["type"])) : u("", !0),
127
+ f("span", { class: y(["bb-button__content", { "sr-only": !!t.icon }]) }, [S(t.$slots, "default", {}, () => [p(C(t.text), 1)])], 2),
128
+ V.value ? (b(), d("span", k, C(T(F)("common.loadingText")), 1)) : u("", !0),
129
+ !t.icon && j["append:icon"] ? (b(), l(a, {
133
130
  key: 3,
134
131
  class: "bb-button__append-icon",
135
- type: M["append:icon"]
136
- }, null, 8, ["type"])) : d("", !0),
137
- e.tooltip != null || e.$slots.tooltip ? (x(), u(E(j), {
132
+ type: j["append:icon"]
133
+ }, null, 8, ["type"])) : u("", !0),
134
+ t.tooltip != null || t.$slots.tooltip ? (b(), l(T(A), {
138
135
  key: 4,
139
- activator: R.value,
140
- placement: e.tooltipPlacement,
141
- "show-close": !1,
142
- timeout: e.tooltipTimeout
136
+ activator: L.value,
137
+ placement: t.tooltipPlacement,
138
+ timeout: t.tooltipTimeout
143
139
  }, {
144
- default: k(() => [C(e.$slots, "tooltip", { text: e.tooltip }, () => [m(w(e.tooltip), 1)])]),
140
+ default: O(() => [S(t.$slots, "tooltip", { text: t.tooltip }, () => [p(C(t.tooltip), 1)])]),
145
141
  _: 3
146
142
  }, 8, [
147
143
  "activator",
148
144
  "placement",
149
145
  "timeout"
150
- ])) : d("", !0)
146
+ ])) : u("", !0)
151
147
  ]),
152
148
  _: 3
153
149
  }, 16, [
@@ -160,4 +156,4 @@ var A = {
160
156
  }
161
157
  });
162
158
  //#endregion
163
- export { j as default };
159
+ export { A as default };
package/dist/index343.js CHANGED
@@ -1,17 +1,15 @@
1
1
  import { useId as e } from "./index12.js";
2
2
  import { useElementSize as t } from "./index14.js";
3
- import n from "./index36.js";
4
- import { useLocale as r } from "./index42.js";
5
- import { extractDomContainer as i } from "./index45.js";
6
- import { useUntil as a } from "./index50.js";
7
- import o from "./index60.js";
8
- import { parseWidthString as s } from "./index231.js";
9
- import { Comment as c, Fragment as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createTextVNode as ee, createVNode as h, defineComponent as g, mergeModels as _, mergeProps as v, normalizeProps as y, normalizeStyle as te, onBeforeUnmount as ne, onMounted as b, openBlock as x, ref as S, renderSlot as C, toDisplayString as w, unref as re, useModel as ie, useSlots as T, useTemplateRef as E, watch as D, withCtx as O } from "vue";
3
+ import { extractDomContainer as n } from "./index45.js";
4
+ import { useUntil as r } from "./index50.js";
5
+ import i from "./index60.js";
6
+ import { parseWidthString as a } from "./index231.js";
7
+ import { Comment as o, Fragment as s, computed as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createTextVNode as f, createVNode as p, defineComponent as m, mergeModels as h, mergeProps as g, normalizeProps as _, normalizeStyle as v, onBeforeUnmount as y, onMounted as b, openBlock as x, ref as S, renderSlot as C, toDisplayString as w, useModel as T, useSlots as E, useTemplateRef as D, watch as O, withCtx as k } from "vue";
10
8
  //#region src/components/BbTooltip/BbTooltip.vue?vue&type=script&setup=true&lang.ts
11
- var k = /* @__PURE__ */ g({
9
+ var A = /* @__PURE__ */ m({
12
10
  inheritAttrs: !1,
13
11
  __name: "BbTooltip",
14
- props: /* @__PURE__ */ _({
12
+ props: /* @__PURE__ */ h({
15
13
  arrowPadding: { default: 10 },
16
14
  block: { type: Boolean },
17
15
  disabled: { type: Boolean },
@@ -19,10 +17,6 @@ var k = /* @__PURE__ */ g({
19
17
  id: {},
20
18
  padding: { default: 10 },
21
19
  placement: { default: "top" },
22
- showClose: {
23
- type: Boolean,
24
- default: !0
25
- },
26
20
  text: {},
27
21
  theme: { default: "default" },
28
22
  transitionDuration: { default: 250 },
@@ -38,87 +32,85 @@ var k = /* @__PURE__ */ g({
38
32
  modelModifiers: {}
39
33
  }),
40
34
  emits: ["update:modelValue"],
41
- setup(g) {
42
- let _ = g, k = T(), { t: A } = r(), j = `bb_${_.id ?? e().id.value}`, M = `${j}_desc`, N = (e) => {
35
+ setup(m) {
36
+ let h = m, A = E(), j = `bb_${h.id ?? e().id.value}`, M = `${j}_desc`, N = (e) => {
43
37
  if (!e) return "";
44
38
  let t = "";
45
39
  for (let n of e) {
46
- if (n.type === c) continue;
40
+ if (n.type === o) continue;
47
41
  let e = n.children;
48
42
  typeof e == "string" ? t += e : Array.isArray(e) && (t += N(e));
49
43
  }
50
44
  return t;
51
- }, P = S(!1), F = u(() => (_.text ?? (P.value ? N(k.default?.({})) : "")).replace(/\s+/g, " ").trim()), I = S(), L = u(() => _.activator != null), R = E("popover"), z = u(() => i(R.value)), B = S(!0), V = ie(g, "modelValue"), H = a(V), U = (e) => {
52
- let t = i(e);
45
+ }, P = S(!1), F = c(() => (h.text ?? (P.value ? N(A.default?.({})) : "")).replace(/\s+/g, " ").trim()), I = S(), L = c(() => h.activator != null), R = D("popover"), z = c(() => n(R.value)), B = T(m, "modelValue"), V = r(B), H = (e) => {
46
+ let t = n(e);
53
47
  t && (I.value = t);
54
- }, W, G, K = () => {
55
- clearTimeout(G);
48
+ }, U, W, G = () => {
49
+ clearTimeout(W);
50
+ }, K = () => {
51
+ clearTimeout(U), clearTimeout(W), document.removeEventListener("keydown", Y), B.value = !1;
56
52
  }, q = () => {
57
- clearTimeout(W), clearTimeout(G), document.removeEventListener("keydown", X), V.value = !1;
53
+ clearTimeout(U), clearTimeout(W), W = setTimeout(K, 50);
58
54
  }, J = () => {
59
- clearTimeout(W), clearTimeout(G), G = setTimeout(q, 50);
60
- }, Y = () => {
61
- K(), !(V.value || _.disabled || !B.value) && (W = setTimeout(() => {
62
- V.value = !0, document.addEventListener("keydown", X, { passive: !0 });
63
- }, _.timeout));
64
- }, X = (e) => {
65
- e.key === "Escape" && q();
66
- }, ae = () => {
67
- B.value = !1, q();
55
+ G(), !(B.value || h.disabled) && (U = setTimeout(() => {
56
+ B.value = !0, document.addEventListener("keydown", Y, { passive: !0 });
57
+ }, h.timeout));
58
+ }, Y = (e) => {
59
+ e.key === "Escape" && K();
68
60
  };
69
- D(() => _.activator, (e) => {
70
- e && U(e);
61
+ O(() => h.activator, (e) => {
62
+ e && H(e);
71
63
  }, { immediate: !0 });
72
- let Z = null;
73
- D(I, (e) => {
74
- Z &&= (Z(), null), e && (e.addEventListener("mouseenter", Y, { passive: !0 }), e.addEventListener("mouseleave", J, { passive: !0 }), e.addEventListener("focus", Y, { passive: !0 }), e.addEventListener("blur", q, { passive: !0 }), Z = () => {
75
- e.removeEventListener("mouseenter", Y), e.removeEventListener("mouseleave", J), e.removeEventListener("focus", Y), e.removeEventListener("blur", q);
64
+ let X = null;
65
+ O(I, (e) => {
66
+ X &&= (X(), null), e && (e.addEventListener("mouseenter", J, { passive: !0 }), e.addEventListener("mouseleave", q, { passive: !0 }), e.addEventListener("focus", J, { passive: !0 }), e.addEventListener("blur", K, { passive: !0 }), X = () => {
67
+ e.removeEventListener("mouseenter", J), e.removeEventListener("mouseleave", q), e.removeEventListener("focus", J), e.removeEventListener("blur", K);
76
68
  });
77
69
  }, { immediate: !0 });
78
- let Q = null;
79
- D(z, (e) => {
80
- Q &&= (Q(), null), e && (e.addEventListener("mouseenter", K, { passive: !0 }), e.addEventListener("mouseleave", J, { passive: !0 }), Q = () => {
81
- e.removeEventListener("mouseenter", K), e.removeEventListener("mouseleave", J);
70
+ let Z = null;
71
+ O(z, (e) => {
72
+ Z &&= (Z(), null), e && (e.addEventListener("mouseenter", G, { passive: !0 }), e.addEventListener("mouseleave", q, { passive: !0 }), Z = () => {
73
+ e.removeEventListener("mouseenter", G), e.removeEventListener("mouseleave", q);
82
74
  });
83
75
  }, { immediate: !0 });
84
- let $ = () => {
76
+ let Q = () => {
85
77
  let e = I.value;
86
- e && (F.value ? e.setAttribute("aria-describedby", M) : H.value && e.setAttribute("aria-describedby", j));
78
+ e && (F.value ? e.setAttribute("aria-describedby", M) : V.value && e.setAttribute("aria-describedby", j));
87
79
  };
88
80
  b(() => {
89
- $(), P.value = !0;
90
- }), D([
81
+ Q(), P.value = !0;
82
+ }), O([
91
83
  I,
92
- H,
84
+ V,
93
85
  F
94
- ], $, { flush: "post" }), ne(() => {
95
- Z?.(), Q?.(), I.value && I.value.removeAttribute("aria-describedby"), q();
86
+ ], Q, { flush: "post" }), y(() => {
87
+ X?.(), Z?.(), I.value && I.value.removeAttribute("aria-describedby"), K();
96
88
  });
97
- let { width: oe } = t(I, {
89
+ let { width: $ } = t(I, {
98
90
  width: 0,
99
91
  height: 0
100
- }, { box: "border-box" }), se = u(() => {
101
- if (_.width) {
102
- let { value: e, unit: t } = s(_.width);
103
- return t === "%" ? I.value ? `${oe.value * (e / 100)}px` : "0px" : `${e}px`;
92
+ }, { box: "border-box" }), ee = c(() => {
93
+ if (h.width) {
94
+ let { value: e, unit: t } = a(h.width);
95
+ return t === "%" ? I.value ? `${$.value * (e / 100)}px` : "0px" : `${e}px`;
104
96
  }
105
97
  });
106
- return (e, t) => (x(), p(l, null, [
107
- F.value ? (x(), p("span", {
98
+ return (e, t) => (x(), u(s, null, [
99
+ F.value ? (x(), u("span", {
108
100
  key: 0,
109
101
  id: M,
110
102
  class: "sr-only"
111
- }, w(F.value), 1)) : f("", !0),
112
- L.value ? f("", !0) : C(e.$slots, "activator", y(v({ key: 1 }, {
113
- props: { ref: U },
103
+ }, w(F.value), 1)) : l("", !0),
104
+ L.value ? l("", !0) : C(e.$slots, "activator", _(g({ key: 1 }, {
105
+ props: { ref: H },
114
106
  disabled: e.disabled,
115
- open: V.value,
107
+ open: B.value,
116
108
  placement: e.placement
117
109
  }))),
118
- h(o, v({
110
+ p(i, g({
119
111
  ref: "popover",
120
- modelValue: V.value,
121
- "onUpdate:modelValue": t[0] ||= (e) => V.value = e,
112
+ modelValue: B.value,
113
+ "onUpdate:modelValue": t[0] ||= (e) => B.value = e,
122
114
  anchor: I.value,
123
115
  "arrow-padding": e.arrowPadding,
124
116
  boundary: e.boundary,
@@ -127,29 +119,11 @@ var k = /* @__PURE__ */ g({
127
119
  placement: e.placement,
128
120
  "transition-duration": e.transitionDuration
129
121
  }, e.$attrs), {
130
- default: O(() => [m("span", {
122
+ default: k(() => [d("span", {
131
123
  id: j,
132
124
  class: "bb-tooltip__content",
133
- style: te({ width: se.value })
134
- }, [e.showClose ? (x(), d(n, {
135
- key: 0,
136
- "aria-label": re(A)("common.closeLabel").value,
137
- class: "bb-tooltip__close",
138
- tabindex: "-1",
139
- onClick: ae
140
- }, {
141
- default: O(() => t[1] ||= [m("svg", {
142
- fill: "none",
143
- viewBox: "0 0 24 24",
144
- xmlns: "http://www.w3.org/2000/svg"
145
- }, [m("path", {
146
- d: "M23 23L1 1M23 1L1 23",
147
- stroke: "currentColor",
148
- "stroke-linecap": "round",
149
- "stroke-width": "2"
150
- })], -1)]),
151
- _: 1
152
- }, 8, ["aria-label"])) : f("", !0), C(e.$slots, "default", {}, () => [ee(w(e.text), 1)])], 4)]),
125
+ style: v({ width: ee.value })
126
+ }, [C(e.$slots, "default", {}, () => [f(w(e.text), 1)])], 4)]),
153
127
  _: 3
154
128
  }, 16, [
155
129
  "modelValue",
@@ -165,4 +139,4 @@ var k = /* @__PURE__ */ g({
165
139
  }
166
140
  });
167
141
  //#endregion
168
- export { k as default };
142
+ export { A as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bitboss-ui",
3
- "version": "2.1.125",
3
+ "version": "2.1.127",
4
4
  "description": "Vue 3 component library by BitBoss: forms, selects, layout, overlays, and more.",
5
5
  "type": "module",
6
6
  "sideEffects": false,