@ztwoint/z-ui 0.1.81 → 0.1.83

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.
@@ -1,6 +1,6 @@
1
1
  import { jsx as a, jsxs as s } from "react/jsx-runtime";
2
- import { Slot as n } from "@radix-ui/react-slot";
3
- import { MoreHorizontal as i } from "lucide-react";
2
+ import { Slot as i } from "@radix-ui/react-slot";
3
+ import { MoreHorizontal as o } from "lucide-react";
4
4
  import "react";
5
5
  import { cn as t } from "../../lib/utils.js";
6
6
  import l from "../assets/icons/z2-slash.js";
@@ -12,10 +12,7 @@ function h({ className: r, ...e }) {
12
12
  "ol",
13
13
  {
14
14
  "data-slot": "breadcrumb-list",
15
- className: t(
16
- "text-muted-foreground flex flex-wrap items-center gap-1 text-sm break-words",
17
- r
18
- ),
15
+ className: t("flex flex-wrap items-center gap-1 break-words", r),
19
16
  ...e
20
17
  }
21
18
  );
@@ -26,7 +23,7 @@ function g({ className: r, ...e }) {
26
23
  {
27
24
  "data-slot": "breadcrumb-item",
28
25
  className: t(
29
- "inline-flex items-center gap-1.5 text-neutral-secondary hover:text-neutral-primary cursor-pointer",
26
+ "inline-flex items-center gap-1.5 text-neutral-secondary hover:text-neutral-primary cursor-pointer leading-none-medium-sm",
30
27
  r
31
28
  ),
32
29
  ...e
@@ -36,14 +33,14 @@ function g({ className: r, ...e }) {
36
33
  function N({
37
34
  asChild: r,
38
35
  className: e,
39
- ...o
36
+ ...n
40
37
  }) {
41
38
  return /* @__PURE__ */ a(
42
- r ? n : "a",
39
+ r ? i : "a",
43
40
  {
44
41
  "data-slot": "breadcrumb-link",
45
42
  className: t("hover:text-foreground transition-colors", e),
46
- ...o
43
+ ...n
47
44
  }
48
45
  );
49
46
  }
@@ -60,7 +57,7 @@ function Z({ className: r, ...e }) {
60
57
  }
61
58
  );
62
59
  }
63
- function B({ children: r, className: e, ...o }) {
60
+ function B({ children: r, className: e, ...n }) {
64
61
  return /* @__PURE__ */ a(
65
62
  "li",
66
63
  {
@@ -68,7 +65,7 @@ function B({ children: r, className: e, ...o }) {
68
65
  role: "presentation",
69
66
  "aria-hidden": "true",
70
67
  className: t("[&>svg]:size-3.5 text-stroke-solid-high", e),
71
- ...o,
68
+ ...n,
72
69
  children: r ?? /* @__PURE__ */ a(l, {})
73
70
  }
74
71
  );
@@ -83,7 +80,7 @@ function k({ className: r, ...e }) {
83
80
  className: t("flex size-9 items-center justify-center", r),
84
81
  ...e,
85
82
  children: [
86
- /* @__PURE__ */ a(i, { className: "size-4" }),
83
+ /* @__PURE__ */ a(o, { className: "size-4" }),
87
84
  /* @__PURE__ */ a("span", { className: "sr-only", children: "More" })
88
85
  ]
89
86
  }
@@ -0,0 +1,8 @@
1
+ import * as React from 'react';
2
+ import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
3
+ declare function Z2RadioGroup({ ...props }: React.ComponentProps<typeof RadioGroupPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
+ declare function Z2RadioGroupItem({ className, children, size, ...props }: React.ComponentProps<typeof RadioGroupPrimitive.Item> & {
5
+ size?: 'sm' | 'default' | 'lg';
6
+ }): import("react/jsx-runtime").JSX.Element;
7
+ declare function Z2RadioGroupIndicator({ className, ...props }: React.ComponentProps<typeof RadioGroupPrimitive.Indicator>): import("react/jsx-runtime").JSX.Element;
8
+ export { Z2RadioGroup, Z2RadioGroupItem, Z2RadioGroupIndicator };