design-system-next 1.2.23 → 1.2.24

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.
@@ -7687,7 +7687,7 @@ const bn = /* @__PURE__ */ Sn(td), od = (e, t) => {
7687
7687
  }
7688
7688
  }, pd = (e) => ({
7689
7689
  placement: J(e.placement)
7690
- }), hd = /* @__PURE__ */ ne({
7690
+ }), hd = { key: 0 }, gd = /* @__PURE__ */ ne({
7691
7691
  __name: "tooltip",
7692
7692
  props: fd,
7693
7693
  setup(e) {
@@ -7698,7 +7698,7 @@ const bn = /* @__PURE__ */ Sn(td), od = (e, t) => {
7698
7698
  placement: p(o)
7699
7699
  }, {
7700
7700
  popper: Q(() => [
7701
- k("p", null, W(n.text), 1),
7701
+ n.text ? (h(), m("p", hd, W(n.text), 1)) : I("", !0),
7702
7702
  Y(n.$slots, "popper-content")
7703
7703
  ]),
7704
7704
  default: Q(() => [
@@ -7707,14 +7707,14 @@ const bn = /* @__PURE__ */ Sn(td), od = (e, t) => {
7707
7707
  _: 3
7708
7708
  }, 8, ["aria-id", "placement"]));
7709
7709
  }
7710
- }), gd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7710
+ }), md = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7711
7711
  __proto__: null,
7712
- default: hd
7712
+ default: gd
7713
7713
  }, Symbol.toStringTag, { value: "Module" }));
7714
7714
  let ys = "";
7715
- const md = (e) => {
7715
+ const vd = (e) => {
7716
7716
  ys = e || "spr-";
7717
- }, vd = () => ys, bd = (e) => `${vd()}${e}`, yd = /* @__PURE__ */ Object.assign({
7717
+ }, bd = () => ys, yd = (e) => `${bd()}${e}`, wd = /* @__PURE__ */ Object.assign({
7718
7718
  "../src/components/avatar/avatar.vue": Qs,
7719
7719
  "../src/components/badge/badge.vue": qs,
7720
7720
  "../src/components/button/button.vue": hr,
@@ -7733,17 +7733,17 @@ const md = (e) => {
7733
7733
  "../src/components/table/table.vue": Uu,
7734
7734
  "../src/components/tabs/tabs.vue": Qu,
7735
7735
  "../src/components/timePicker/timePicker.vue": ud,
7736
- "../src/components/tooltip/tooltip.vue": gd
7737
- }), wd = (e, t = {}) => {
7738
- md(t.prefix || "spr-"), Object.entries(yd).forEach(([o, n]) => {
7736
+ "../src/components/tooltip/tooltip.vue": md
7737
+ }), xd = (e, t = {}) => {
7738
+ vd(t.prefix || "spr-"), Object.entries(wd).forEach(([o, n]) => {
7739
7739
  var i;
7740
- const s = (i = o.split("/").pop()) == null ? void 0 : i.replace(".vue", ""), r = bd(s);
7740
+ const s = (i = o.split("/").pop()) == null ? void 0 : i.replace(".vue", ""), r = yd(s);
7741
7741
  e.component(r, n.default);
7742
7742
  }), console.log("%c🚀⭐ Design System Next Installed ⭐🚀", "color: green; font-weight: bold; font-size: 14px;");
7743
- }, Ad = { install: wd };
7743
+ }, kd = { install: xd };
7744
7744
  export {
7745
- Ad as default,
7746
- vd as getPrefix,
7747
- md as setPrefix,
7745
+ kd as default,
7746
+ bd as getPrefix,
7747
+ vd as setPrefix,
7748
7748
  du as useSnackbar
7749
7749
  };
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "design-system-next",
3
3
  "private": false,
4
- "version": "1.2.23",
4
+ "version": "1.2.24",
5
5
  "main": "./dist/design-system-next.js",
6
6
  "module": "./dist/design-system-next.js",
7
7
  "repository": {
@@ -5,7 +5,7 @@
5
5
  :placement="placement"
6
6
  >
7
7
  <template #popper>
8
- <p>{{ text }}</p>
8
+ <p v-if="text">{{ text }}</p>
9
9
 
10
10
  <slot name="popper-content" />
11
11
  </template>