@leodamours/ds-components 0.2.3 → 0.2.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 (2) hide show
  1. package/dist/index.js +88 -88
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as S, ref as j, watch as we, computed as k, openBlock as g, createElementBlock as p, normalizeClass as T, toDisplayString as B, createCommentVNode as D, renderSlot as N, createTextVNode as X, createBlock as I, resolveDynamicComponent as $e, normalizeStyle as he, createElementVNode as F, shallowRef as Ft, getCurrentScope as Ct, onScopeDispose as $t, shallowReadonly as be, unref as R, mergeProps as de, createVNode as _, withCtx as Re, Teleport as Oe, withModifiers as Dt, Fragment as se, renderList as re, nextTick as je, withKeys as st, onBeforeUnmount as rt, Transition as at, onMounted as Et, TransitionGroup as At } from "vue";
2
- const Bt = ["aria-label"], Tt = ["src", "alt"], ts = /* @__PURE__ */ S({
2
+ const Bt = ["aria-label"], Tt = ["src", "alt"], ns = /* @__PURE__ */ S({
3
3
  __name: "DsAvatar",
4
4
  props: {
5
5
  src: {},
@@ -57,7 +57,7 @@ const Bt = ["aria-label"], Tt = ["src", "alt"], ts = /* @__PURE__ */ S({
57
57
  }, B(o.value), 3))
58
58
  ], 10, Bt));
59
59
  }
60
- }), ns = /* @__PURE__ */ S({
60
+ }), os = /* @__PURE__ */ S({
61
61
  __name: "DsBadge",
62
62
  props: {
63
63
  label: {},
@@ -241,7 +241,7 @@ const Bt = ["aria-label"], Tt = ["src", "alt"], ts = /* @__PURE__ */ S({
241
241
  "stroke-linecap": "round",
242
242
  "stroke-linejoin": "round",
243
243
  class: "w-full h-full"
244
- }, os = /* @__PURE__ */ S({
244
+ }, ss = /* @__PURE__ */ S({
245
245
  __name: "DsCheckbox",
246
246
  props: {
247
247
  modelValue: { type: Boolean, default: !1 },
@@ -1588,7 +1588,7 @@ const jn = { class: "relative" }, Pn = ["id", "aria-label"], In = ["id", "aria-s
1588
1588
  key: 0,
1589
1589
  class: "px-3 py-2 text-sm text-fg-disabled",
1590
1590
  role: "status"
1591
- }, ss = /* @__PURE__ */ S({
1591
+ }, rs = /* @__PURE__ */ S({
1592
1592
  __name: "DsDropdownSelect",
1593
1593
  props: {
1594
1594
  modelValue: {},
@@ -1781,7 +1781,7 @@ const jn = { class: "relative" }, Pn = ["id", "aria-label"], In = ["id", "aria-s
1781
1781
  key: 1,
1782
1782
  class: "absolute inset-y-0 right-0 pr-3 flex items-center pointer-events-none",
1783
1783
  "aria-hidden": "true"
1784
- }, rs = /* @__PURE__ */ S({
1784
+ }, as = /* @__PURE__ */ S({
1785
1785
  __name: "DsInput",
1786
1786
  props: {
1787
1787
  modelValue: {},
@@ -2005,7 +2005,7 @@ const jn = { class: "relative" }, Pn = ["id", "aria-label"], In = ["id", "aria-s
2005
2005
  }), Qn = ["aria-labelledby"], Zn = { class: "flex items-center justify-between px-6 py-4 border-b border-solid border-border" }, _n = ["id"], eo = { class: "px-6 py-4 overflow-y-auto flex-1" }, to = {
2006
2006
  key: 0,
2007
2007
  class: "px-6 py-4 border-t border-solid border-border"
2008
- }, as = /* @__PURE__ */ S({
2008
+ }, ls = /* @__PURE__ */ S({
2009
2009
  __name: "DsModal",
2010
2010
  props: {
2011
2011
  modelValue: { type: Boolean },
@@ -2114,7 +2114,7 @@ const jn = { class: "relative" }, Pn = ["id", "aria-label"], In = ["id", "aria-s
2114
2114
  })
2115
2115
  ]));
2116
2116
  }
2117
- }), no = ["id", "name", "checked", "disabled", "value"], ls = /* @__PURE__ */ S({
2117
+ }), no = ["id", "name", "checked", "disabled", "value"], is = /* @__PURE__ */ S({
2118
2118
  __name: "DsRadio",
2119
2119
  props: {
2120
2120
  modelValue: { type: [String, Number, Boolean] },
@@ -2203,7 +2203,7 @@ const jn = { class: "relative" }, Pn = ["id", "aria-label"], In = ["id", "aria-s
2203
2203
  }, ao = { class: "relative" }, lo = ["id", "value", "disabled", "required", "aria-describedby", "aria-invalid"], io = ["selected"], co = ["value", "disabled"], uo = {
2204
2204
  class: "pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3",
2205
2205
  "aria-hidden": "true"
2206
- }, is = /* @__PURE__ */ S({
2206
+ }, cs = /* @__PURE__ */ S({
2207
2207
  __name: "DsSelect",
2208
2208
  props: {
2209
2209
  modelValue: {},
@@ -2310,10 +2310,10 @@ const jn = { class: "relative" }, Pn = ["id", "aria-label"], In = ["id", "aria-s
2310
2310
  key: 0,
2311
2311
  class: "inline-flex",
2312
2312
  "aria-hidden": "true"
2313
- }, po = { key: 0 }, vo = ["colspan"], yo = { key: 1 }, xo = ["colspan"], wo = {
2313
+ }, po = { class: "border-solid border-border" }, vo = { key: 0 }, yo = ["colspan"], xo = { key: 1 }, wo = ["colspan"], ko = {
2314
2314
  key: 0,
2315
2315
  class: "flex items-center justify-between px-4 py-3 border-t border-solid border-border bg-bg-secondary text-sm"
2316
- }, ko = { class: "text-fg-secondary" }, Fo = { class: "flex gap-2" }, Co = ["disabled"], $o = ["disabled"], cs = /* @__PURE__ */ S({
2316
+ }, Fo = { class: "text-fg-secondary" }, Co = { class: "flex gap-2" }, $o = ["disabled"], Do = ["disabled"], ds = /* @__PURE__ */ S({
2317
2317
  __name: "DsTable",
2318
2318
  props: {
2319
2319
  columns: {},
@@ -2386,8 +2386,8 @@ const jn = { class: "relative" }, Pn = ["id", "aria-label"], In = ["id", "aria-s
2386
2386
  ], 14, go))), 128))
2387
2387
  ])
2388
2388
  ], 2),
2389
- F("tbody", null, [
2390
- e.loading ? (g(), p("tr", po, [
2389
+ F("tbody", po, [
2390
+ e.loading ? (g(), p("tr", vo, [
2391
2391
  F("td", {
2392
2392
  colspan: e.columns.length,
2393
2393
  class: "text-center py-12"
@@ -2395,8 +2395,8 @@ const jn = { class: "relative" }, Pn = ["id", "aria-label"], In = ["id", "aria-s
2395
2395
  N(f.$slots, "loading", {}, () => [
2396
2396
  _(Jn, { centered: "" })
2397
2397
  ])
2398
- ], 8, vo)
2399
- ])) : e.rows.length === 0 ? (g(), p("tr", yo, [
2398
+ ], 8, yo)
2399
+ ])) : e.rows.length === 0 ? (g(), p("tr", xo, [
2400
2400
  F("td", {
2401
2401
  colspan: e.columns.length,
2402
2402
  class: "text-center py-12 text-fg-secondary"
@@ -2404,7 +2404,7 @@ const jn = { class: "relative" }, Pn = ["id", "aria-label"], In = ["id", "aria-s
2404
2404
  N(f.$slots, "empty", {}, () => [
2405
2405
  X(B(e.emptyText), 1)
2406
2406
  ])
2407
- ], 8, xo)
2407
+ ], 8, wo)
2408
2408
  ])) : D("", !0),
2409
2409
  (g(!0), p(se, null, re(e.rows, (m, h) => (g(), p("tr", {
2410
2410
  key: h,
@@ -2428,26 +2428,26 @@ const jn = { class: "relative" }, Pn = ["id", "aria-label"], In = ["id", "aria-s
2428
2428
  ], 2))), 128))
2429
2429
  ])
2430
2430
  ]),
2431
- e.pagination ? (g(), p("div", wo, [
2432
- F("span", ko, B(r.value) + "–" + B(a.value) + " of " + B(e.pagination.total), 1),
2433
- F("div", Fo, [
2431
+ e.pagination ? (g(), p("div", ko, [
2432
+ F("span", Fo, B(r.value) + "–" + B(a.value) + " of " + B(e.pagination.total), 1),
2433
+ F("div", Co, [
2434
2434
  F("button", {
2435
2435
  type: "button",
2436
2436
  disabled: e.pagination.page <= 1,
2437
2437
  class: "px-3 py-1 rounded-md border border-solid border-border bg-bg text-fg disabled:opacity-50 disabled:cursor-not-allowed hover:bg-surface-hover-light transition-colors",
2438
2438
  onClick: u[0] || (u[0] = (m) => f.$emit("update:page", e.pagination.page - 1))
2439
- }, " Previous ", 8, Co),
2439
+ }, " Previous ", 8, $o),
2440
2440
  F("button", {
2441
2441
  type: "button",
2442
2442
  disabled: e.pagination.page >= s.value,
2443
2443
  class: "px-3 py-1 rounded-md border border-solid border-border bg-bg text-fg disabled:opacity-50 disabled:cursor-not-allowed hover:bg-surface-hover-light transition-colors",
2444
2444
  onClick: u[1] || (u[1] = (m) => f.$emit("update:page", e.pagination.page + 1))
2445
- }, " Next ", 8, $o)
2445
+ }, " Next ", 8, Do)
2446
2446
  ])
2447
2447
  ])) : D("", !0)
2448
2448
  ]));
2449
2449
  }
2450
- }), Do = ["aria-label"], Eo = ["id", "aria-selected", "aria-controls", "tabindex", "disabled", "onClick", "onKeydown"], Ao = ["id", "aria-labelledby", "hidden"], ds = /* @__PURE__ */ S({
2450
+ }), Eo = ["aria-label"], Ao = ["id", "aria-selected", "aria-controls", "tabindex", "disabled", "onClick", "onKeydown"], Bo = ["id", "aria-labelledby", "hidden"], us = /* @__PURE__ */ S({
2451
2451
  __name: "DsTabs",
2452
2452
  props: {
2453
2453
  modelValue: {},
@@ -2521,8 +2521,8 @@ const jn = { class: "relative" }, Pn = ["id", "aria-label"], In = ["id", "aria-s
2521
2521
  class: T(d(l)),
2522
2522
  onClick: (u) => a(l),
2523
2523
  onKeydown: (u) => i(u, f)
2524
- }, B(l.label), 43, Eo))), 128))
2525
- ], 10, Do),
2524
+ }, B(l.label), 43, Ao))), 128))
2525
+ ], 10, Eo),
2526
2526
  (g(!0), p(se, null, re(e.tabs, (l) => (g(), p("div", {
2527
2527
  key: l.key,
2528
2528
  id: `${R(s)}-panel-${l.key}`,
@@ -2532,20 +2532,20 @@ const jn = { class: "relative" }, Pn = ["id", "aria-label"], In = ["id", "aria-s
2532
2532
  tabindex: 0
2533
2533
  }, [
2534
2534
  e.modelValue === l.key ? N(b.$slots, l.key, { key: 0 }) : D("", !0)
2535
- ], 8, Ao))), 128))
2535
+ ], 8, Bo))), 128))
2536
2536
  ]));
2537
2537
  }
2538
- }), Bo = { class: "w-full" }, To = ["for"], Ro = {
2538
+ }), To = { class: "w-full" }, Ro = ["for"], Oo = {
2539
2539
  key: 0,
2540
2540
  class: "text-error ml-1",
2541
2541
  "aria-hidden": "true"
2542
- }, Oo = { class: "relative" }, Vo = ["id", "value", "placeholder", "disabled", "readonly", "required", "rows", "maxlength", "aria-describedby", "aria-invalid"], Lo = {
2542
+ }, Vo = { class: "relative" }, Lo = ["id", "value", "placeholder", "disabled", "readonly", "required", "rows", "maxlength", "aria-describedby", "aria-invalid"], So = {
2543
2543
  key: 1,
2544
2544
  class: "flex justify-between mt-1"
2545
- }, So = {
2545
+ }, zo = {
2546
2546
  key: 2,
2547
2547
  class: "text-caption ml-auto"
2548
- }, us = /* @__PURE__ */ S({
2548
+ }, fs = /* @__PURE__ */ S({
2549
2549
  __name: "DsTextarea",
2550
2550
  props: {
2551
2551
  modelValue: {},
@@ -2603,16 +2603,16 @@ const jn = { class: "relative" }, Pn = ["id", "aria-label"], In = ["id", "aria-s
2603
2603
  var h;
2604
2604
  (h = r.value) == null || h.blur();
2605
2605
  }
2606
- return n({ focus: u, blur: m, textareaRef: r }), (h, y) => (g(), p("div", Bo, [
2606
+ return n({ focus: u, blur: m, textareaRef: r }), (h, y) => (g(), p("div", To, [
2607
2607
  e.label ? (g(), p("label", {
2608
2608
  key: 0,
2609
2609
  for: R(a),
2610
2610
  class: "block text-label mb-1"
2611
2611
  }, [
2612
2612
  X(B(e.label) + " ", 1),
2613
- e.required ? (g(), p("span", Ro, "*")) : D("", !0)
2614
- ], 8, To)) : D("", !0),
2615
- F("div", Oo, [
2613
+ e.required ? (g(), p("span", Oo, "*")) : D("", !0)
2614
+ ], 8, Ro)) : D("", !0),
2615
+ F("div", Vo, [
2616
2616
  F("textarea", {
2617
2617
  ref_key: "textareaRef",
2618
2618
  ref: r,
@@ -2630,9 +2630,9 @@ const jn = { class: "relative" }, Pn = ["id", "aria-label"], In = ["id", "aria-s
2630
2630
  onInput: f,
2631
2631
  onBlur: y[0] || (y[0] = (w) => h.$emit("blur", w)),
2632
2632
  onFocus: y[1] || (y[1] = (w) => h.$emit("focus", w))
2633
- }, null, 42, Vo)
2633
+ }, null, 42, Lo)
2634
2634
  ]),
2635
- e.helpText || e.error || e.maxLength ? (g(), p("div", Lo, [
2635
+ e.helpText || e.error || e.maxLength ? (g(), p("div", So, [
2636
2636
  e.helpText && !e.error ? (g(), p("div", {
2637
2637
  key: 0,
2638
2638
  id: d,
@@ -2645,27 +2645,27 @@ const jn = { class: "relative" }, Pn = ["id", "aria-label"], In = ["id", "aria-s
2645
2645
  role: "alert",
2646
2646
  "aria-live": "polite"
2647
2647
  }, B(e.error), 1)) : D("", !0),
2648
- e.maxLength ? (g(), p("div", So, B(c.value) + " / " + B(e.maxLength), 1)) : D("", !0)
2648
+ e.maxLength ? (g(), p("div", zo, B(c.value) + " / " + B(e.maxLength), 1)) : D("", !0)
2649
2649
  ])) : D("", !0)
2650
2650
  ]));
2651
2651
  }
2652
- }), zo = { class: "flex flex-col items-center justify-center h-screen gap-4px" }, Mo = { class: "text-heading-xl text-fg m-0 p-0" }, jo = { class: "text-body-lg text-fg-secondary m-0 p-0" }, fs = /* @__PURE__ */ S({
2652
+ }), Mo = { class: "flex flex-col items-center justify-center h-screen gap-4px" }, jo = { class: "text-heading-xl text-fg m-0 p-0" }, Po = { class: "text-body-lg text-fg-secondary m-0 p-0" }, bs = /* @__PURE__ */ S({
2653
2653
  __name: "DsUnderConstruction",
2654
2654
  props: {
2655
2655
  title: { default: "Under Construction" },
2656
2656
  description: { default: "This page is under construction. Please check back later." }
2657
2657
  },
2658
2658
  setup(e) {
2659
- return (n, t) => (g(), p("div", zo, [
2659
+ return (n, t) => (g(), p("div", Mo, [
2660
2660
  _(R(wt), { class: "w-10 h-10 text-fg-secondary" }),
2661
- F("h2", Mo, B(e.title), 1),
2662
- F("p", jo, B(e.description), 1)
2661
+ F("h2", jo, B(e.title), 1),
2662
+ F("p", Po, B(e.description), 1)
2663
2663
  ]));
2664
2664
  }
2665
- }), Po = ["role", "aria-live"], Io = { class: "flex items-start gap-3 flex-1 min-w-0" }, No = { class: "flex-1 min-w-0" }, Wo = {
2665
+ }), Io = ["role", "aria-live"], No = { class: "flex items-start gap-3 flex-1 min-w-0" }, Wo = { class: "flex-1 min-w-0" }, Ho = {
2666
2666
  key: 0,
2667
2667
  class: "text-label m-0"
2668
- }, Ho = /* @__PURE__ */ S({
2668
+ }, qo = /* @__PURE__ */ S({
2669
2669
  __name: "DsToast",
2670
2670
  props: {
2671
2671
  toast: {}
@@ -2713,7 +2713,7 @@ const jn = { class: "relative" }, Pn = ["id", "aria-label"], In = ["id", "aria-s
2713
2713
  onMouseenter: i,
2714
2714
  onMouseleave: b
2715
2715
  }, [
2716
- F("div", Io, [
2716
+ F("div", No, [
2717
2717
  F("span", {
2718
2718
  class: T(u.value),
2719
2719
  "aria-hidden": "true"
@@ -2732,8 +2732,8 @@ const jn = { class: "relative" }, Pn = ["id", "aria-label"], In = ["id", "aria-s
2732
2732
  class: "w-5 h-5"
2733
2733
  }))
2734
2734
  ], 2),
2735
- F("div", No, [
2736
- e.toast.title ? (g(), p("p", Wo, B(e.toast.title), 1)) : D("", !0),
2735
+ F("div", Wo, [
2736
+ e.toast.title ? (g(), p("p", Ho, B(e.toast.title), 1)) : D("", !0),
2737
2737
  F("p", {
2738
2738
  class: T(["text-body-sm m-0", e.toast.title ? "mt-0.5" : ""])
2739
2739
  }, B(e.toast.message), 3)
@@ -2748,13 +2748,13 @@ const jn = { class: "relative" }, Pn = ["id", "aria-label"], In = ["id", "aria-s
2748
2748
  }, [
2749
2749
  _(R(Be), { class: "w-4 h-4" })
2750
2750
  ])) : D("", !0)
2751
- ], 42, Po));
2751
+ ], 42, Io));
2752
2752
  }
2753
2753
  });
2754
- let qo = 0;
2754
+ let Ko = 0;
2755
2755
  const Te = j([]);
2756
2756
  function xe(e, n, t) {
2757
- const o = ++qo, s = {
2757
+ const o = ++Ko, s = {
2758
2758
  id: o,
2759
2759
  variant: e,
2760
2760
  message: n,
@@ -2764,14 +2764,14 @@ function xe(e, n, t) {
2764
2764
  };
2765
2765
  return Te.value.push(s), o;
2766
2766
  }
2767
- function Ko(e) {
2767
+ function Uo(e) {
2768
2768
  const n = Te.value.findIndex((t) => t.id === e);
2769
2769
  n !== -1 && Te.value.splice(n, 1);
2770
2770
  }
2771
- function Uo() {
2771
+ function Xo() {
2772
2772
  return {
2773
2773
  toasts: Te,
2774
- removeToast: Ko,
2774
+ removeToast: Uo,
2775
2775
  success: (e, n) => xe("success", e, n),
2776
2776
  error: (e, n) => xe("error", e, n),
2777
2777
  warning: (e, n) => xe("warning", e, n),
@@ -2779,15 +2779,15 @@ function Uo() {
2779
2779
  brand: (e, n) => xe("brand", e, n)
2780
2780
  };
2781
2781
  }
2782
- const Xo = {
2782
+ const Yo = {
2783
2783
  class: "fixed top-4 right-4 z-50 flex flex-col gap-3",
2784
2784
  "aria-label": "Notifications"
2785
- }, bs = /* @__PURE__ */ S({
2785
+ }, ms = /* @__PURE__ */ S({
2786
2786
  __name: "DsToastContainer",
2787
2787
  setup(e) {
2788
- const { toasts: n, removeToast: t } = Uo();
2788
+ const { toasts: n, removeToast: t } = Xo();
2789
2789
  return (o, s) => (g(), I(Oe, { to: "body" }, [
2790
- F("div", Xo, [
2790
+ F("div", Yo, [
2791
2791
  _(At, {
2792
2792
  "enter-active-class": "transition-all duration-300 ease-out",
2793
2793
  "enter-from-class": "opacity-0 translate-x-8",
@@ -2797,7 +2797,7 @@ const Xo = {
2797
2797
  "leave-to-class": "opacity-0 translate-x-8"
2798
2798
  }, {
2799
2799
  default: Re(() => [
2800
- (g(!0), p(se, null, re(R(n), (r) => (g(), I(Ho, {
2800
+ (g(!0), p(se, null, re(R(n), (r) => (g(), I(qo, {
2801
2801
  key: r.id,
2802
2802
  toast: r,
2803
2803
  onDismiss: R(t)
@@ -2808,7 +2808,7 @@ const Xo = {
2808
2808
  ])
2809
2809
  ]));
2810
2810
  }
2811
- }), Yo = ["aria-describedby"], Go = ["id"], ms = /* @__PURE__ */ S({
2811
+ }), Go = ["aria-describedby"], Jo = ["id"], gs = /* @__PURE__ */ S({
2812
2812
  __name: "DsTooltip",
2813
2813
  props: {
2814
2814
  content: {},
@@ -2848,7 +2848,7 @@ const Xo = {
2848
2848
  "aria-describedby": o.value ? R(t) : void 0
2849
2849
  }, [
2850
2850
  N(u.$slots, "default")
2851
- ], 8, Yo),
2851
+ ], 8, Go),
2852
2852
  (g(), I(Oe, { to: "body" }, [
2853
2853
  _(at, {
2854
2854
  "enter-active-class": "transition-opacity duration-150",
@@ -2875,14 +2875,14 @@ const Xo = {
2875
2875
  style: he(c.value),
2876
2876
  class: "absolute w-2 h-2 bg-bg-inverse rotate-45"
2877
2877
  }, null, 4)
2878
- ], 12, Go)) : D("", !0)
2878
+ ], 12, Jo)) : D("", !0)
2879
2879
  ]),
2880
2880
  _: 1
2881
2881
  })
2882
2882
  ]))
2883
2883
  ], 32));
2884
2884
  }
2885
- }), Jo = {
2885
+ }), Qo = {
2886
2886
  // Core UI
2887
2887
  bg: "#FFFFFF",
2888
2888
  "bg-secondary": "#F8FAFC",
@@ -2990,7 +2990,7 @@ const Xo = {
2990
2990
  "transcript-highlight": "#FEF3C7",
2991
2991
  "transcript-speaker": "#EDE9FE",
2992
2992
  "transcript-timestamp": "#F3F4F6"
2993
- }, Qo = {
2993
+ }, Zo = {
2994
2994
  "space-1": "4px",
2995
2995
  "space-2": "8px",
2996
2996
  "space-3": "12px",
@@ -2999,21 +2999,21 @@ const Xo = {
2999
2999
  "space-6": "32px",
3000
3000
  "space-7": "48px",
3001
3001
  "space-8": "64px"
3002
- }, Zo = {
3002
+ }, _o = {
3003
3003
  "radius-sm": "4px",
3004
3004
  "radius-md": "6px",
3005
3005
  "radius-lg": "8px",
3006
3006
  "radius-xl": "12px",
3007
3007
  "radius-full": "9999px"
3008
- }, _o = {
3008
+ }, es = {
3009
3009
  "shadow-sm": "0 1px 2px 0 rgba(0, 0, 0, 0.05)",
3010
3010
  "shadow-md": "0 2px 4px -1px rgba(0, 0, 0, 0.06), 0 4px 6px -1px rgba(0, 0, 0, 0.1)",
3011
3011
  "shadow-lg": "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)"
3012
- }, gs = { ...Jo, ...Qo, ...Zo, ..._o };
3013
- function hs(e) {
3012
+ }, hs = { ...Qo, ...Zo, ..._o, ...es };
3013
+ function ps(e) {
3014
3014
  return `--ds-${e}`;
3015
3015
  }
3016
- function ps(e, n = ":root") {
3016
+ function vs(e, n = ":root") {
3017
3017
  const t = Object.entries(e).map(([o, s]) => ` --ds-${o}: ${s};`).join(`
3018
3018
  `);
3019
3019
  return `${n} {
@@ -3021,30 +3021,30 @@ ${t}
3021
3021
  }`;
3022
3022
  }
3023
3023
  export {
3024
- ts as DsAvatar,
3025
- ns as DsBadge,
3024
+ ns as DsAvatar,
3025
+ os as DsBadge,
3026
3026
  Vt as DsButton,
3027
- os as DsCheckbox,
3028
- ss as DsDropdownSelect,
3029
- rs as DsInput,
3027
+ ss as DsCheckbox,
3028
+ rs as DsDropdownSelect,
3029
+ as as DsInput,
3030
3030
  Jn as DsLoadingSpinner,
3031
- as as DsModal,
3032
- ls as DsRadio,
3033
- is as DsSelect,
3034
- cs as DsTable,
3035
- ds as DsTabs,
3036
- us as DsTextarea,
3037
- Ho as DsToast,
3038
- bs as DsToastContainer,
3039
- ms as DsTooltip,
3040
- fs as DsUnderConstruction,
3041
- gs as allTokens,
3042
- Jo as colorTokens,
3043
- ps as generateThemeCss,
3044
- Zo as radiusTokens,
3045
- _o as shadowTokens,
3046
- Qo as spacingTokens,
3047
- hs as tokenToCssVar,
3031
+ ls as DsModal,
3032
+ is as DsRadio,
3033
+ cs as DsSelect,
3034
+ ds as DsTable,
3035
+ us as DsTabs,
3036
+ fs as DsTextarea,
3037
+ qo as DsToast,
3038
+ ms as DsToastContainer,
3039
+ gs as DsTooltip,
3040
+ bs as DsUnderConstruction,
3041
+ hs as allTokens,
3042
+ Qo as colorTokens,
3043
+ vs as generateThemeCss,
3044
+ _o as radiusTokens,
3045
+ es as shadowTokens,
3046
+ Zo as spacingTokens,
3047
+ ps as tokenToCssVar,
3048
3048
  fe as useId,
3049
- Uo as useToast
3049
+ Xo as useToast
3050
3050
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leodamours/ds-components",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "main": "./dist/index.js",