@clidey/ux 0.21.1 → 0.21.3

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.
package/dist/index.d.ts CHANGED
@@ -35,7 +35,7 @@ export declare function AccordionTrigger({ className, children, ...props }: Reac
35
35
 
36
36
  export declare function Alert({ className, variant, ...props }: React_2.ComponentProps<"div"> & VariantProps<typeof alertVariants>): JSX.Element;
37
37
 
38
- export declare function AlertDescription({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
38
+ export declare function AlertDescription({ className, ...props }: React_2.ComponentProps<"p">): JSX.Element;
39
39
 
40
40
  export declare function AlertDialog({ ...props }: React_2.ComponentProps<typeof AlertDialogPrimitive.Root>): JSX.Element;
41
41
 
@@ -55,7 +55,7 @@ export declare function AlertDialogTitle({ className, ...props }: React_2.Compon
55
55
 
56
56
  export declare function AlertDialogTrigger({ ...props }: React_2.ComponentProps<typeof AlertDialogPrimitive.Trigger>): JSX.Element;
57
57
 
58
- export declare function AlertTitle({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
58
+ export declare function AlertTitle({ className, ...props }: React_2.ComponentProps<"p">): JSX.Element;
59
59
 
60
60
  declare const alertVariants: (props?: ({
61
61
  variant?: "default" | "destructive" | null | undefined;
package/dist/index.js CHANGED
@@ -2433,14 +2433,14 @@ function St({
2433
2433
  function Hr({
2434
2434
  item: e,
2435
2435
  children: t,
2436
- keyClassName: o = "font-semibold min-w-1/2",
2437
- valueClassName: n = "ml-4",
2438
- rowClassName: s = "flex flex-row items-center text-lg py-3",
2439
- itemClassName: d = "flex flex-col"
2440
- }) {
2441
- return /* @__PURE__ */ a("div", { className: d, children: /* @__PURE__ */ i("div", { className: s, children: [
2442
- /* @__PURE__ */ a("span", { className: o, children: e }),
2443
- /* @__PURE__ */ a("span", { className: n, children: t })
2436
+ keyClassName: o,
2437
+ valueClassName: n,
2438
+ rowClassName: s,
2439
+ itemClassName: d
2440
+ }) {
2441
+ return /* @__PURE__ */ a("div", { className: r("flex flex-col", d), children: /* @__PURE__ */ i("p", { className: r("flex flex-row items-center text-lg py-3", s), children: [
2442
+ /* @__PURE__ */ a("span", { className: r("font-semibold min-w-1/2", o), children: e }),
2443
+ /* @__PURE__ */ a("span", { className: r("ml-4", n), children: t })
2444
2444
  ] }) });
2445
2445
  }
2446
2446
  function Fr({
@@ -2565,7 +2565,7 @@ const Ur = ({
2565
2565
  "aria-hidden": "true"
2566
2566
  }
2567
2567
  ),
2568
- /* @__PURE__ */ a("span", { className: "text-sm truncate", children: l.name })
2568
+ /* @__PURE__ */ a("p", { className: "text-sm truncate", children: l.name })
2569
2569
  ]
2570
2570
  }
2571
2571
  ),
@@ -2609,7 +2609,7 @@ const Ur = ({
2609
2609
  children: [
2610
2610
  t.icon && /* @__PURE__ */ a(t.icon, { className: "h-4 w-4 shrink-0 mr-2 text-accent-foreground/50", "aria-hidden": "true" }),
2611
2611
  !t.icon && n && /* @__PURE__ */ a(n, { className: "h-4 w-4 shrink-0 mr-2 text-accent-foreground/50", "aria-hidden": "true" }),
2612
- /* @__PURE__ */ a("span", { className: "flex-grow text-sm truncate", children: t.name })
2612
+ /* @__PURE__ */ a("p", { className: "flex-grow text-sm truncate", children: t.name })
2613
2613
  ]
2614
2614
  }
2615
2615
  )), fe = k.forwardRef(({ className: e, children: t, ...o }, n) => /* @__PURE__ */ a(y.Header, { children: /* @__PURE__ */ i(
@@ -2765,7 +2765,7 @@ function to({
2765
2765
  }
2766
2766
  function ao({ className: e, ...t }) {
2767
2767
  return /* @__PURE__ */ a(
2768
- "div",
2768
+ "p",
2769
2769
  {
2770
2770
  "data-slot": "alert-title",
2771
2771
  className: r(
@@ -2781,7 +2781,7 @@ function ro({
2781
2781
  ...t
2782
2782
  }) {
2783
2783
  return /* @__PURE__ */ a(
2784
- "div",
2784
+ "p",
2785
2785
  {
2786
2786
  "data-slot": "alert-description",
2787
2787
  className: r(
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@clidey/ux",
3
3
  "private": false,
4
- "version": "0.21.1",
4
+ "version": "0.21.3",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",