ml-uikit 1.0.7 → 1.0.8
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/components/button.d.ts +2 -11
- package/dist/components/button.d.ts.map +1 -1
- package/dist/components/ui/badge.d.ts +14 -3
- package/dist/components/ui/badge.d.ts.map +1 -1
- package/dist/components/ui/button-group.d.ts +1 -0
- package/dist/components/ui/button-group.d.ts.map +1 -1
- package/dist/components/ui/button.d.ts +2 -2
- package/dist/components/ui/button.d.ts.map +1 -1
- package/dist/components/ui/chart.d.ts +1 -1
- package/dist/components/ui/command.d.ts +7 -7
- package/dist/components/ui/empty.d.ts +1 -0
- package/dist/components/ui/empty.d.ts.map +1 -1
- package/dist/components/ui/input-group.d.ts +2 -2
- package/dist/components/ui/input-otp.d.ts +2 -2
- package/dist/components/ui/input.d.ts.map +1 -1
- package/dist/components/ui/item.d.ts +1 -1
- package/dist/components/ui/kbd.d.ts +1 -0
- package/dist/components/ui/kbd.d.ts.map +1 -1
- package/dist/components/ui/sheet.d.ts +1 -1
- package/dist/components/ui/sidebar.d.ts +2 -2
- package/dist/components/ui/skeleton.d.ts +1 -0
- package/dist/components/ui/skeleton.d.ts.map +1 -1
- package/dist/components/ui/table.d.ts +24 -2
- package/dist/components/ui/table.d.ts.map +1 -1
- package/dist/components/ui/textarea.d.ts.map +1 -1
- package/dist/components/ui/toggle-group.d.ts +2 -2
- package/dist/components/ui/toggle.d.ts +2 -2
- package/dist/index.cjs10.js +1 -1
- package/dist/index.cjs10.js.map +1 -1
- package/dist/index.cjs11.js +1 -1
- package/dist/index.cjs11.js.map +1 -1
- package/dist/index.cjs12.js +1 -1
- package/dist/index.cjs13.js +1 -1
- package/dist/index.cjs14.js +1 -1
- package/dist/index.cjs15.js +1 -1
- package/dist/index.cjs16.js +1 -1
- package/dist/index.cjs18.js +1 -1
- package/dist/index.cjs19.js +1 -1
- package/dist/index.cjs2.js +1 -1
- package/dist/index.cjs20.js +1 -1
- package/dist/index.cjs21.js +1 -1
- package/dist/index.cjs22.js +1 -1
- package/dist/index.cjs23.js +1 -1
- package/dist/index.cjs23.js.map +1 -1
- package/dist/index.cjs24.js +1 -1
- package/dist/index.cjs25.js +1 -1
- package/dist/index.cjs26.js +1 -1
- package/dist/index.cjs27.js +1 -1
- package/dist/index.cjs27.js.map +1 -1
- package/dist/index.cjs28.js +1 -1
- package/dist/index.cjs29.js +1 -1
- package/dist/index.cjs3.js +1 -1
- package/dist/index.cjs30.js +1 -1
- package/dist/index.cjs31.js +1 -1
- package/dist/index.cjs31.js.map +1 -1
- package/dist/index.cjs32.js +1 -1
- package/dist/index.cjs33.js +1 -1
- package/dist/index.cjs34.js +1 -1
- package/dist/index.cjs35.js +1 -1
- package/dist/index.cjs36.js +1 -1
- package/dist/index.cjs37.js +1 -1
- package/dist/index.cjs38.js +1 -1
- package/dist/index.cjs39.js +1 -1
- package/dist/index.cjs4.js +1 -1
- package/dist/index.cjs40.js +1 -1
- package/dist/index.cjs41.js +1 -1
- package/dist/index.cjs42.js +1 -1
- package/dist/index.cjs43.js +1 -1
- package/dist/index.cjs44.js +1 -1
- package/dist/index.cjs45.js +1 -1
- package/dist/index.cjs45.js.map +1 -1
- package/dist/index.cjs46.js +1 -1
- package/dist/index.cjs48.js +1 -1
- package/dist/index.cjs49.js +1 -1
- package/dist/index.cjs5.js +1 -1
- package/dist/index.cjs50.js +1 -1
- package/dist/index.cjs50.js.map +1 -1
- package/dist/index.cjs51.js +1 -1
- package/dist/index.cjs52.js +1 -1
- package/dist/index.cjs52.js.map +1 -1
- package/dist/index.cjs53.js +1 -1
- package/dist/index.cjs54.js +1 -1
- package/dist/index.cjs55.js +1 -1
- package/dist/index.cjs56.js +1 -1
- package/dist/index.cjs56.js.map +1 -1
- package/dist/index.cjs57.js +1 -1
- package/dist/index.cjs57.js.map +1 -1
- package/dist/index.cjs7.js +1 -1
- package/dist/index.cjs8.js +1 -1
- package/dist/index.cjs8.js.map +1 -1
- package/dist/index.cjs9.js +1 -1
- package/dist/index.es10.js +31 -24
- package/dist/index.es10.js.map +1 -1
- package/dist/index.es11.js +22 -21
- package/dist/index.es11.js.map +1 -1
- package/dist/index.es12.js +1 -1
- package/dist/index.es13.js +1 -1
- package/dist/index.es14.js +1 -1
- package/dist/index.es15.js +1 -1
- package/dist/index.es16.js +1 -1
- package/dist/index.es18.js +1 -1
- package/dist/index.es19.js +1 -1
- package/dist/index.es2.js +1 -1
- package/dist/index.es20.js +1 -1
- package/dist/index.es21.js +1 -1
- package/dist/index.es22.js +1 -1
- package/dist/index.es23.js +25 -24
- package/dist/index.es23.js.map +1 -1
- package/dist/index.es24.js +1 -1
- package/dist/index.es25.js +1 -1
- package/dist/index.es26.js +1 -1
- package/dist/index.es27.js +13 -9
- package/dist/index.es27.js.map +1 -1
- package/dist/index.es28.js +1 -1
- package/dist/index.es29.js +1 -1
- package/dist/index.es3.js +1 -1
- package/dist/index.es30.js +1 -1
- package/dist/index.es31.js +8 -7
- package/dist/index.es31.js.map +1 -1
- package/dist/index.es32.js +1 -1
- package/dist/index.es33.js +1 -1
- package/dist/index.es34.js +1 -1
- package/dist/index.es35.js +1 -1
- package/dist/index.es36.js +1 -1
- package/dist/index.es37.js +1 -1
- package/dist/index.es38.js +1 -1
- package/dist/index.es39.js +1 -1
- package/dist/index.es4.js +1 -1
- package/dist/index.es40.js +1 -1
- package/dist/index.es41.js +1 -1
- package/dist/index.es42.js +1 -1
- package/dist/index.es43.js +1 -1
- package/dist/index.es44.js +2 -2
- package/dist/index.es45.js +6 -5
- package/dist/index.es45.js.map +1 -1
- package/dist/index.es46.js +1 -1
- package/dist/index.es48.js +1 -1
- package/dist/index.es49.js +1 -1
- package/dist/index.es5.js +1 -1
- package/dist/index.es50.js +159 -45
- package/dist/index.es50.js.map +1 -1
- package/dist/index.es51.js +1 -1
- package/dist/index.es52.js +10 -7
- package/dist/index.es52.js.map +1 -1
- package/dist/index.es53.js +1 -1
- package/dist/index.es54.js +1 -1
- package/dist/index.es55.js +1 -1
- package/dist/index.es56.js +6 -43
- package/dist/index.es56.js.map +1 -1
- package/dist/index.es57.js +11 -5
- package/dist/index.es57.js.map +1 -1
- package/dist/index.es7.js +1 -1
- package/dist/index.es8.js +71 -20
- package/dist/index.es8.js.map +1 -1
- package/dist/index.es9.js +1 -1
- package/dist/style.css +227 -36
- package/package.json +1 -1
- package/dist/index.cjs58.js +0 -2
- package/dist/index.cjs58.js.map +0 -1
- package/dist/index.es58.js +0 -15
- package/dist/index.es58.js.map +0 -1
package/dist/index.es5.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
2
|
import * as l from "@radix-ui/react-alert-dialog";
|
|
3
|
-
import { cn as s } from "./index.
|
|
3
|
+
import { cn as s } from "./index.es56.js";
|
|
4
4
|
import { buttonVariants as r } from "./index.es10.js";
|
|
5
5
|
const A = l.Root, D = l.Trigger, n = l.Portal, i = e.forwardRef(({ className: t, ...a }, o) => /* @__PURE__ */ e.createElement(
|
|
6
6
|
l.Overlay,
|
package/dist/index.es50.js
CHANGED
|
@@ -1,90 +1,204 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
import { ChevronDown as i } from "lucide-react";
|
|
3
|
+
import { cn as r } from "./index.es56.js";
|
|
4
|
+
const m = e.forwardRef(
|
|
5
|
+
({ className: o, pagination: t, maxHeight: a, scrollContainerClassName: l, stickyHeader: n, ...d }, s) => /* @__PURE__ */ e.createElement("div", { className: "relative w-full overflow-hidden rounded-[8px] border border-[#e6e6e6] bg-white" }, /* @__PURE__ */ e.createElement(
|
|
6
|
+
"div",
|
|
7
|
+
{
|
|
8
|
+
className: r("ml-table-scroll w-full overflow-auto", l),
|
|
9
|
+
style: a ? { maxHeight: typeof a == "number" ? `${a}px` : a } : void 0
|
|
10
|
+
},
|
|
11
|
+
/* @__PURE__ */ e.createElement(
|
|
12
|
+
"table",
|
|
13
|
+
{
|
|
14
|
+
ref: s,
|
|
15
|
+
className: r(
|
|
16
|
+
"w-full caption-bottom text-[14px] leading-[20px]",
|
|
17
|
+
n ? "[&_thead]:sticky [&_thead]:top-0 [&_thead]:z-10 [&_thead]:bg-[#fafafa]" : void 0,
|
|
18
|
+
o
|
|
19
|
+
),
|
|
20
|
+
...d
|
|
21
|
+
}
|
|
22
|
+
)
|
|
23
|
+
), t ? /* @__PURE__ */ e.createElement("div", { className: "w-full" }, t) : null)
|
|
24
|
+
);
|
|
25
|
+
m.displayName = "Table";
|
|
26
|
+
const f = e.forwardRef(({ className: o, ...t }, a) => /* @__PURE__ */ e.createElement(
|
|
27
|
+
"thead",
|
|
5
28
|
{
|
|
6
|
-
ref:
|
|
7
|
-
className: r("
|
|
29
|
+
ref: a,
|
|
30
|
+
className: r("bg-[#fafafa] [&_tr]:border-b [&_tr]:border-[#e6e6e6]", o),
|
|
8
31
|
...t
|
|
9
32
|
}
|
|
10
|
-
))
|
|
11
|
-
|
|
12
|
-
const
|
|
13
|
-
d.displayName = "TableHeader";
|
|
14
|
-
const s = e.forwardRef(({ className: a, ...t }, l) => /* @__PURE__ */ e.createElement(
|
|
33
|
+
));
|
|
34
|
+
f.displayName = "TableHeader";
|
|
35
|
+
const c = e.forwardRef(({ className: o, ...t }, a) => /* @__PURE__ */ e.createElement(
|
|
15
36
|
"tbody",
|
|
16
37
|
{
|
|
17
|
-
ref:
|
|
18
|
-
className: r("[&_tr:last-child]:border-0",
|
|
38
|
+
ref: a,
|
|
39
|
+
className: r("[&_tr:last-child]:border-0", o),
|
|
19
40
|
...t
|
|
20
41
|
}
|
|
21
42
|
));
|
|
22
|
-
|
|
23
|
-
const
|
|
43
|
+
c.displayName = "TableBody";
|
|
44
|
+
const b = e.forwardRef(({ className: o, ...t }, a) => /* @__PURE__ */ e.createElement(
|
|
24
45
|
"tfoot",
|
|
25
46
|
{
|
|
26
|
-
ref:
|
|
47
|
+
ref: a,
|
|
27
48
|
className: r(
|
|
28
|
-
"border-t bg-
|
|
29
|
-
|
|
49
|
+
"border-t border-[#e6e6e6] bg-[#fafafa] font-medium [&>tr]:last:border-b-0",
|
|
50
|
+
o
|
|
30
51
|
),
|
|
31
52
|
...t
|
|
32
53
|
}
|
|
33
54
|
));
|
|
34
|
-
|
|
35
|
-
const
|
|
55
|
+
b.displayName = "TableFooter";
|
|
56
|
+
const p = e.forwardRef(({ className: o, ...t }, a) => /* @__PURE__ */ e.createElement(
|
|
36
57
|
"tr",
|
|
37
58
|
{
|
|
38
|
-
ref:
|
|
59
|
+
ref: a,
|
|
39
60
|
className: r(
|
|
40
|
-
"border-b
|
|
41
|
-
|
|
61
|
+
"border-b border-[#e6e6e6]",
|
|
62
|
+
o
|
|
42
63
|
),
|
|
43
64
|
...t
|
|
44
65
|
}
|
|
45
66
|
));
|
|
46
|
-
|
|
47
|
-
const
|
|
67
|
+
p.displayName = "TableRow";
|
|
68
|
+
const x = e.forwardRef(({ className: o, ...t }, a) => /* @__PURE__ */ e.createElement(
|
|
48
69
|
"th",
|
|
49
70
|
{
|
|
50
|
-
ref:
|
|
71
|
+
ref: a,
|
|
51
72
|
className: r(
|
|
52
|
-
"h-
|
|
53
|
-
|
|
73
|
+
"h-12 px-3 py-2 text-left align-middle text-[14px] font-medium leading-[20px] text-foreground",
|
|
74
|
+
o
|
|
54
75
|
),
|
|
55
76
|
...t
|
|
56
77
|
}
|
|
57
78
|
));
|
|
58
|
-
|
|
59
|
-
const
|
|
79
|
+
x.displayName = "TableHead";
|
|
80
|
+
const g = e.forwardRef(({ className: o, ...t }, a) => /* @__PURE__ */ e.createElement(
|
|
60
81
|
"td",
|
|
61
82
|
{
|
|
62
|
-
ref:
|
|
83
|
+
ref: a,
|
|
63
84
|
className: r(
|
|
64
|
-
"
|
|
65
|
-
|
|
85
|
+
"h-12 px-3 py-2 align-middle text-[14px] font-normal leading-[20px] text-foreground",
|
|
86
|
+
o
|
|
66
87
|
),
|
|
67
88
|
...t
|
|
68
89
|
}
|
|
69
90
|
));
|
|
70
|
-
|
|
71
|
-
const
|
|
91
|
+
g.displayName = "TableCell";
|
|
92
|
+
const u = e.forwardRef(({ className: o, ...t }, a) => /* @__PURE__ */ e.createElement(
|
|
72
93
|
"caption",
|
|
73
94
|
{
|
|
74
|
-
ref:
|
|
75
|
-
className: r("mt-4 text-sm text-muted-foreground",
|
|
95
|
+
ref: a,
|
|
96
|
+
className: r("mt-4 text-sm text-muted-foreground", o),
|
|
97
|
+
...t
|
|
98
|
+
}
|
|
99
|
+
));
|
|
100
|
+
u.displayName = "TableCaption";
|
|
101
|
+
const w = e.forwardRef(({ className: o, ...t }, a) => /* @__PURE__ */ e.createElement(
|
|
102
|
+
"div",
|
|
103
|
+
{
|
|
104
|
+
ref: a,
|
|
105
|
+
className: r(
|
|
106
|
+
"flex w-full items-center justify-between border-t border-[#e6e6e6] bg-white p-4",
|
|
107
|
+
o
|
|
108
|
+
),
|
|
109
|
+
...t
|
|
110
|
+
}
|
|
111
|
+
));
|
|
112
|
+
w.displayName = "TablePagination";
|
|
113
|
+
const N = e.forwardRef(({ className: o, ...t }, a) => /* @__PURE__ */ e.createElement(
|
|
114
|
+
"div",
|
|
115
|
+
{
|
|
116
|
+
ref: a,
|
|
117
|
+
className: r("flex items-center gap-3", o),
|
|
118
|
+
...t
|
|
119
|
+
}
|
|
120
|
+
));
|
|
121
|
+
N.displayName = "TablePaginationContent";
|
|
122
|
+
const T = e.forwardRef(({ className: o, ...t }, a) => /* @__PURE__ */ e.createElement(
|
|
123
|
+
"div",
|
|
124
|
+
{
|
|
125
|
+
ref: a,
|
|
126
|
+
className: r("flex items-center gap-2", o),
|
|
76
127
|
...t
|
|
77
128
|
}
|
|
78
129
|
));
|
|
79
|
-
|
|
130
|
+
T.displayName = "TablePaginationPages";
|
|
131
|
+
const y = e.forwardRef(({ className: o, ...t }, a) => /* @__PURE__ */ e.createElement(
|
|
132
|
+
"button",
|
|
133
|
+
{
|
|
134
|
+
ref: a,
|
|
135
|
+
type: "button",
|
|
136
|
+
className: r(
|
|
137
|
+
"flex h-7 w-7 items-center justify-center rounded-[8px] text-[#7f7d83] hover:text-foreground",
|
|
138
|
+
o
|
|
139
|
+
),
|
|
140
|
+
...t
|
|
141
|
+
}
|
|
142
|
+
));
|
|
143
|
+
y.displayName = "TablePaginationButton";
|
|
144
|
+
const E = e.forwardRef(({ className: o, isActive: t, ...a }, l) => /* @__PURE__ */ e.createElement(
|
|
145
|
+
"button",
|
|
146
|
+
{
|
|
147
|
+
ref: l,
|
|
148
|
+
type: "button",
|
|
149
|
+
"aria-current": t ? "page" : void 0,
|
|
150
|
+
className: r(
|
|
151
|
+
"flex h-8 w-8 items-center justify-center rounded-[8px] text-[12px] leading-[16px]",
|
|
152
|
+
t ? "border border-[#e6e6e6] bg-white text-foreground" : "text-[#7f7d83]",
|
|
153
|
+
o
|
|
154
|
+
),
|
|
155
|
+
...a
|
|
156
|
+
}
|
|
157
|
+
));
|
|
158
|
+
E.displayName = "TablePaginationPage";
|
|
159
|
+
const h = e.forwardRef(
|
|
160
|
+
({
|
|
161
|
+
className: o,
|
|
162
|
+
label: t = "Go to page:",
|
|
163
|
+
pageLabel: a = "-",
|
|
164
|
+
placeholder: l = "-",
|
|
165
|
+
icon: n,
|
|
166
|
+
...d
|
|
167
|
+
}, s) => /* @__PURE__ */ e.createElement(
|
|
168
|
+
"div",
|
|
169
|
+
{
|
|
170
|
+
ref: s,
|
|
171
|
+
className: r("flex items-center gap-[13px]", o),
|
|
172
|
+
...d
|
|
173
|
+
},
|
|
174
|
+
/* @__PURE__ */ e.createElement("span", { className: "text-[14px] font-normal leading-[20px] text-foreground" }, t),
|
|
175
|
+
/* @__PURE__ */ e.createElement(
|
|
176
|
+
"button",
|
|
177
|
+
{
|
|
178
|
+
type: "button",
|
|
179
|
+
"aria-haspopup": "listbox",
|
|
180
|
+
className: "flex h-8 min-w-[72px] items-center justify-between gap-2 rounded-[8px] border border-[#e6e6e6] bg-white px-3 text-[12px] leading-[16px] text-foreground shadow-sm"
|
|
181
|
+
},
|
|
182
|
+
/* @__PURE__ */ e.createElement("span", { className: a === l ? "text-[#7f7d83]" : void 0 }, a === l ? l : a),
|
|
183
|
+
n || /* @__PURE__ */ e.createElement(i, { className: "h-4 w-4 text-[#7f7d83]" })
|
|
184
|
+
)
|
|
185
|
+
)
|
|
186
|
+
);
|
|
187
|
+
h.displayName = "TablePaginationGoTo";
|
|
80
188
|
export {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
189
|
+
m as Table,
|
|
190
|
+
c as TableBody,
|
|
191
|
+
u as TableCaption,
|
|
192
|
+
g as TableCell,
|
|
193
|
+
b as TableFooter,
|
|
194
|
+
x as TableHead,
|
|
195
|
+
f as TableHeader,
|
|
196
|
+
w as TablePagination,
|
|
197
|
+
y as TablePaginationButton,
|
|
198
|
+
N as TablePaginationContent,
|
|
199
|
+
h as TablePaginationGoTo,
|
|
200
|
+
E as TablePaginationPage,
|
|
201
|
+
T as TablePaginationPages,
|
|
202
|
+
p as TableRow
|
|
89
203
|
};
|
|
90
204
|
//# sourceMappingURL=index.es50.js.map
|
package/dist/index.es50.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es50.js","sources":["../src/components/ui/table.tsx"],"sourcesContent":["import * as React from \"react\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst Table = React.forwardRef<\n HTMLTableElement,\n React.HTMLAttributes<HTMLTableElement>\n>(({ className, ...props }, ref) => (\n <div className=\"relative w-full overflow-auto\">\n <table\n ref={ref}\n className={cn(\"w-full caption-bottom text-sm\", className)}\n {...props}\n />\n </div>\n))\nTable.displayName = \"Table\"\n\nconst TableHeader = React.forwardRef<\n HTMLTableSectionElement,\n React.HTMLAttributes<HTMLTableSectionElement>\n>(({ className, ...props }, ref) => (\n <thead ref={ref} className={cn(\"[&_tr]:border-b\", className)} {...props} />\n))\nTableHeader.displayName = \"TableHeader\"\n\nconst TableBody = React.forwardRef<\n HTMLTableSectionElement,\n React.HTMLAttributes<HTMLTableSectionElement>\n>(({ className, ...props }, ref) => (\n <tbody\n ref={ref}\n className={cn(\"[&_tr:last-child]:border-0\", className)}\n {...props}\n />\n))\nTableBody.displayName = \"TableBody\"\n\nconst TableFooter = React.forwardRef<\n HTMLTableSectionElement,\n React.HTMLAttributes<HTMLTableSectionElement>\n>(({ className, ...props }, ref) => (\n <tfoot\n ref={ref}\n className={cn(\n \"border-t bg-muted/50 font-medium [&>tr]:last:border-b-0\",\n className\n )}\n {...props}\n />\n))\nTableFooter.displayName = \"TableFooter\"\n\nconst TableRow = React.forwardRef<\n HTMLTableRowElement,\n React.HTMLAttributes<HTMLTableRowElement>\n>(({ className, ...props }, ref) => (\n <tr\n ref={ref}\n className={cn(\n \"border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted\",\n className\n )}\n {...props}\n />\n))\nTableRow.displayName = \"TableRow\"\n\nconst TableHead = React.forwardRef<\n HTMLTableCellElement,\n React.ThHTMLAttributes<HTMLTableCellElement>\n>(({ className, ...props }, ref) => (\n <th\n ref={ref}\n className={cn(\n \"h-10 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]\",\n className\n )}\n {...props}\n />\n))\nTableHead.displayName = \"TableHead\"\n\nconst TableCell = React.forwardRef<\n HTMLTableCellElement,\n React.TdHTMLAttributes<HTMLTableCellElement>\n>(({ className, ...props }, ref) => (\n <td\n ref={ref}\n className={cn(\n \"p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]\",\n className\n )}\n {...props}\n />\n))\nTableCell.displayName = \"TableCell\"\n\nconst TableCaption = React.forwardRef<\n HTMLTableCaptionElement,\n React.HTMLAttributes<HTMLTableCaptionElement>\n>(({ className, ...props }, ref) => (\n <caption\n ref={ref}\n className={cn(\"mt-4 text-sm text-muted-foreground\", className)}\n {...props}\n />\n))\nTableCaption.displayName = \"TableCaption\"\n\nexport {\n Table,\n TableHeader,\n TableBody,\n TableFooter,\n TableHead,\n TableRow,\n TableCell,\n TableCaption,\n}\n"],"names":["Table","React","className","props","ref","cn","TableHeader","TableBody","TableFooter","TableRow","TableHead","TableCell","TableCaption"],"mappings":";;AAIA,MAAMA,IAAQC,EAAM,WAGlB,CAAC,EAAE,WAAAC,GAAW,GAAGC,KAASC,MAC1B,gBAAAH,EAAA,cAAC,OAAA,EAAI,WAAU,gCAAA,GACb,gBAAAA,EAAA;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAG;AAAA,IACA,WAAWC,EAAG,iCAAiCH,CAAS;AAAA,IACvD,GAAGC;AAAA,EAAA;AACN,CACF,CACD;AACDH,EAAM,cAAc;AAEpB,MAAMM,IAAcL,EAAM,WAGxB,CAAC,EAAE,WAAAC,GAAW,GAAGC,KAASC,sCACzB,SAAA,EAAM,KAAAA,GAAU,WAAWC,EAAG,mBAAmBH,CAAS,GAAI,GAAGC,GAAO,CAC1E;AACDG,EAAY,cAAc;AAE1B,MAAMC,IAAYN,EAAM,WAGtB,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAASC,MAC1B,gBAAAH,EAAA;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAG;AAAA,IACA,WAAWC,EAAG,8BAA8BH,CAAS;AAAA,IACpD,GAAGC;AAAA,EAAA;AACN,CACD;AACDI,EAAU,cAAc;AAExB,MAAMC,IAAcP,EAAM,WAGxB,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAASC,MAC1B,gBAAAH,EAAA;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAG;AAAA,IACA,WAAWC;AAAA,MACT;AAAA,MACAH;AAAA,IAAA;AAAA,IAED,GAAGC;AAAA,EAAA;AACN,CACD;AACDK,EAAY,cAAc;AAE1B,MAAMC,IAAWR,EAAM,WAGrB,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAASC,MAC1B,gBAAAH,EAAA;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAG;AAAA,IACA,WAAWC;AAAA,MACT;AAAA,MACAH;AAAA,IAAA;AAAA,IAED,GAAGC;AAAA,EAAA;AACN,CACD;AACDM,EAAS,cAAc;AAEvB,MAAMC,IAAYT,EAAM,WAGtB,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAASC,MAC1B,gBAAAH,EAAA;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAG;AAAA,IACA,WAAWC;AAAA,MACT;AAAA,MACAH;AAAA,IAAA;AAAA,IAED,GAAGC;AAAA,EAAA;AACN,CACD;AACDO,EAAU,cAAc;AAExB,MAAMC,IAAYV,EAAM,WAGtB,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAASC,MAC1B,gBAAAH,EAAA;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAG;AAAA,IACA,WAAWC;AAAA,MACT;AAAA,MACAH;AAAA,IAAA;AAAA,IAED,GAAGC;AAAA,EAAA;AACN,CACD;AACDQ,EAAU,cAAc;AAExB,MAAMC,IAAeX,EAAM,WAGzB,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAASC,MAC1B,gBAAAH,EAAA;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAG;AAAA,IACA,WAAWC,EAAG,sCAAsCH,CAAS;AAAA,IAC5D,GAAGC;AAAA,EAAA;AACN,CACD;AACDS,EAAa,cAAc;"}
|
|
1
|
+
{"version":3,"file":"index.es50.js","sources":["../src/components/ui/table.tsx"],"sourcesContent":["import * as React from \"react\"\nimport { ChevronDown, ChevronLeft, ChevronRight } from \"lucide-react\"\n\nimport { cn } from \"@/lib/utils\"\n\ntype TableProps = React.HTMLAttributes<HTMLTableElement> & {\n pagination?: React.ReactNode\n maxHeight?: number | string\n scrollContainerClassName?: string\n stickyHeader?: boolean\n}\n\nconst Table = React.forwardRef<HTMLTableElement, TableProps>(\n (\n { className, pagination, maxHeight, scrollContainerClassName, stickyHeader, ...props },\n ref\n ) => (\n <div className=\"relative w-full overflow-hidden rounded-[8px] border border-[#e6e6e6] bg-white\">\n <div\n className={cn(\"ml-table-scroll w-full overflow-auto\", scrollContainerClassName)}\n style={\n maxHeight\n ? { maxHeight: typeof maxHeight === \"number\" ? `${maxHeight}px` : maxHeight }\n : undefined\n }\n >\n <table\n ref={ref}\n className={cn(\n \"w-full caption-bottom text-[14px] leading-[20px]\",\n stickyHeader\n ? \"[&_thead]:sticky [&_thead]:top-0 [&_thead]:z-10 [&_thead]:bg-[#fafafa]\"\n : undefined,\n className\n )}\n {...props}\n />\n </div>\n {pagination ? <div className=\"w-full\">{pagination}</div> : null}\n </div>\n )\n)\nTable.displayName = \"Table\"\n\nconst TableHeader = React.forwardRef<\n HTMLTableSectionElement,\n React.HTMLAttributes<HTMLTableSectionElement>\n>(({ className, ...props }, ref) => (\n <thead\n ref={ref}\n className={cn(\"bg-[#fafafa] [&_tr]:border-b [&_tr]:border-[#e6e6e6]\", className)}\n {...props}\n />\n))\nTableHeader.displayName = \"TableHeader\"\n\nconst TableBody = React.forwardRef<\n HTMLTableSectionElement,\n React.HTMLAttributes<HTMLTableSectionElement>\n>(({ className, ...props }, ref) => (\n <tbody\n ref={ref}\n className={cn(\"[&_tr:last-child]:border-0\", className)}\n {...props}\n />\n))\nTableBody.displayName = \"TableBody\"\n\nconst TableFooter = React.forwardRef<\n HTMLTableSectionElement,\n React.HTMLAttributes<HTMLTableSectionElement>\n>(({ className, ...props }, ref) => (\n <tfoot\n ref={ref}\n className={cn(\n \"border-t border-[#e6e6e6] bg-[#fafafa] font-medium [&>tr]:last:border-b-0\",\n className\n )}\n {...props}\n />\n))\nTableFooter.displayName = \"TableFooter\"\n\nconst TableRow = React.forwardRef<\n HTMLTableRowElement,\n React.HTMLAttributes<HTMLTableRowElement>\n>(({ className, ...props }, ref) => (\n <tr\n ref={ref}\n className={cn(\n \"border-b border-[#e6e6e6]\",\n className\n )}\n {...props}\n />\n))\nTableRow.displayName = \"TableRow\"\n\nconst TableHead = React.forwardRef<\n HTMLTableCellElement,\n React.ThHTMLAttributes<HTMLTableCellElement>\n>(({ className, ...props }, ref) => (\n <th\n ref={ref}\n className={cn(\n \"h-12 px-3 py-2 text-left align-middle text-[14px] font-medium leading-[20px] text-foreground\",\n className\n )}\n {...props}\n />\n))\nTableHead.displayName = \"TableHead\"\n\nconst TableCell = React.forwardRef<\n HTMLTableCellElement,\n React.TdHTMLAttributes<HTMLTableCellElement>\n>(({ className, ...props }, ref) => (\n <td\n ref={ref}\n className={cn(\n \"h-12 px-3 py-2 align-middle text-[14px] font-normal leading-[20px] text-foreground\",\n className\n )}\n {...props}\n />\n))\nTableCell.displayName = \"TableCell\"\n\nconst TableCaption = React.forwardRef<\n HTMLTableCaptionElement,\n React.HTMLAttributes<HTMLTableCaptionElement>\n>(({ className, ...props }, ref) => (\n <caption\n ref={ref}\n className={cn(\"mt-4 text-sm text-muted-foreground\", className)}\n {...props}\n />\n))\nTableCaption.displayName = \"TableCaption\"\n\nconst TablePagination = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(\n \"flex w-full items-center justify-between border-t border-[#e6e6e6] bg-white p-4\",\n className\n )}\n {...props}\n />\n))\nTablePagination.displayName = \"TablePagination\"\n\nconst TablePaginationContent = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(\"flex items-center gap-3\", className)}\n {...props}\n />\n))\nTablePaginationContent.displayName = \"TablePaginationContent\"\n\nconst TablePaginationPages = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(\"flex items-center gap-2\", className)}\n {...props}\n />\n))\nTablePaginationPages.displayName = \"TablePaginationPages\"\n\nconst TablePaginationButton = React.forwardRef<\n HTMLButtonElement,\n React.ButtonHTMLAttributes<HTMLButtonElement>\n>(({ className, ...props }, ref) => (\n <button\n ref={ref}\n type=\"button\"\n className={cn(\n \"flex h-7 w-7 items-center justify-center rounded-[8px] text-[#7f7d83] hover:text-foreground\",\n className\n )}\n {...props}\n />\n))\nTablePaginationButton.displayName = \"TablePaginationButton\"\n\ntype TablePaginationPageProps = React.ButtonHTMLAttributes<HTMLButtonElement> & {\n isActive?: boolean\n}\n\nconst TablePaginationPage = React.forwardRef<\n HTMLButtonElement,\n TablePaginationPageProps\n>(({ className, isActive, ...props }, ref) => (\n <button\n ref={ref}\n type=\"button\"\n aria-current={isActive ? \"page\" : undefined}\n className={cn(\n \"flex h-8 w-8 items-center justify-center rounded-[8px] text-[12px] leading-[16px]\",\n isActive\n ? \"border border-[#e6e6e6] bg-white text-foreground\"\n : \"text-[#7f7d83]\",\n className\n )}\n {...props}\n />\n))\nTablePaginationPage.displayName = \"TablePaginationPage\"\n\ntype TablePaginationGoToProps = React.HTMLAttributes<HTMLDivElement> & {\n label?: string\n pageLabel?: string\n placeholder?: string\n icon?: React.ReactNode\n}\n\nconst TablePaginationGoTo = React.forwardRef<\n HTMLDivElement,\n TablePaginationGoToProps\n>(\n (\n {\n className,\n label = \"Go to page:\",\n pageLabel = \"-\",\n placeholder = \"-\",\n icon,\n ...props\n },\n ref\n ) => (\n <div\n ref={ref}\n className={cn(\"flex items-center gap-[13px]\", className)}\n {...props}\n >\n <span className=\"text-[14px] font-normal leading-[20px] text-foreground\">\n {label}\n </span>\n <button\n type=\"button\"\n aria-haspopup=\"listbox\"\n className=\"flex h-8 min-w-[72px] items-center justify-between gap-2 rounded-[8px] border border-[#e6e6e6] bg-white px-3 text-[12px] leading-[16px] text-foreground shadow-sm\"\n >\n <span className={pageLabel === placeholder ? \"text-[#7f7d83]\" : undefined}>\n {pageLabel === placeholder ? placeholder : pageLabel}\n </span>\n {icon || <ChevronDown className=\"h-4 w-4 text-[#7f7d83]\" />}\n </button>\n </div>\n )\n)\nTablePaginationGoTo.displayName = \"TablePaginationGoTo\"\n\nconst TablePaginationIcon = ({\n className,\n direction,\n}: {\n className?: string\n direction: \"left\" | \"right\"\n}) =>\n direction === \"left\" ? (\n <ChevronLeft className={cn(\"h-4 w-4\", className)} />\n ) : (\n <ChevronRight className={cn(\"h-4 w-4\", className)} />\n )\n\nexport {\n Table,\n TableHeader,\n TableBody,\n TableFooter,\n TableHead,\n TableRow,\n TableCell,\n TableCaption,\n TablePagination,\n TablePaginationContent,\n TablePaginationPages,\n TablePaginationButton,\n TablePaginationPage,\n TablePaginationGoTo,\n TablePaginationIcon,\n}\n"],"names":["Table","React","className","pagination","maxHeight","scrollContainerClassName","stickyHeader","props","ref","cn","TableHeader","TableBody","TableFooter","TableRow","TableHead","TableCell","TableCaption","TablePagination","TablePaginationContent","TablePaginationPages","TablePaginationButton","TablePaginationPage","isActive","TablePaginationGoTo","label","pageLabel","placeholder","icon","ChevronDown"],"mappings":"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"}
|
package/dist/index.es51.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as t from "react";
|
|
2
2
|
import * as e from "@radix-ui/react-tabs";
|
|
3
|
-
import { cn as n } from "./index.
|
|
3
|
+
import { cn as n } from "./index.es56.js";
|
|
4
4
|
const l = e.Root, o = t.forwardRef(({ className: i, ...s }, a) => /* @__PURE__ */ t.createElement(
|
|
5
5
|
e.List,
|
|
6
6
|
{
|
package/dist/index.es52.js
CHANGED
|
@@ -1,18 +1,21 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
|
-
import { cn as o } from "./index.
|
|
3
|
-
const
|
|
2
|
+
import { cn as o } from "./index.es56.js";
|
|
3
|
+
const t = e.forwardRef(({ className: r, ...a }, i) => /* @__PURE__ */ e.createElement(
|
|
4
4
|
"textarea",
|
|
5
5
|
{
|
|
6
6
|
className: o(
|
|
7
|
-
"flex min-h-[
|
|
7
|
+
"flex min-h-[120px] w-full rounded-[8px] border border-[#e6e6e6] bg-white px-3 py-2 text-[14px] leading-[20px] text-foreground transition-colors",
|
|
8
|
+
"placeholder:text-[#b3b3b3] focus-visible:outline-none focus-visible:border-[#111111] focus-visible:ring-0",
|
|
9
|
+
"disabled:cursor-not-allowed disabled:bg-[#f2f2f2] disabled:text-[#9ca3af] disabled:placeholder:text-[#b3b3b3] disabled:opacity-100",
|
|
10
|
+
"aria-invalid:border-[#ff3b30] aria-invalid:focus-visible:border-[#ff3b30]",
|
|
8
11
|
r
|
|
9
12
|
),
|
|
10
|
-
ref:
|
|
11
|
-
...
|
|
13
|
+
ref: i,
|
|
14
|
+
...a
|
|
12
15
|
}
|
|
13
16
|
));
|
|
14
|
-
|
|
17
|
+
t.displayName = "Textarea";
|
|
15
18
|
export {
|
|
16
|
-
|
|
19
|
+
t as Textarea
|
|
17
20
|
};
|
|
18
21
|
//# sourceMappingURL=index.es52.js.map
|
package/dist/index.es52.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es52.js","sources":["../src/components/ui/textarea.tsx"],"sourcesContent":["import * as React from \"react\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst Textarea = React.forwardRef<\n HTMLTextAreaElement,\n React.ComponentProps<\"textarea\">\n>(({ className, ...props }, ref) => {\n return (\n <textarea\n className={cn(\n \"flex min-h-[
|
|
1
|
+
{"version":3,"file":"index.es52.js","sources":["../src/components/ui/textarea.tsx"],"sourcesContent":["import * as React from \"react\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst Textarea = React.forwardRef<\n HTMLTextAreaElement,\n React.ComponentProps<\"textarea\">\n>(({ className, ...props }, ref) => {\n return (\n <textarea\n className={cn(\n \"flex min-h-[120px] w-full rounded-[8px] border border-[#e6e6e6] bg-white px-3 py-2 text-[14px] leading-[20px] text-foreground transition-colors\",\n \"placeholder:text-[#b3b3b3] focus-visible:outline-none focus-visible:border-[#111111] focus-visible:ring-0\",\n \"disabled:cursor-not-allowed disabled:bg-[#f2f2f2] disabled:text-[#9ca3af] disabled:placeholder:text-[#b3b3b3] disabled:opacity-100\",\n \"aria-invalid:border-[#ff3b30] aria-invalid:focus-visible:border-[#ff3b30]\",\n className\n )}\n ref={ref}\n {...props}\n />\n )\n})\nTextarea.displayName = \"Textarea\"\n\nexport { Textarea }\n"],"names":["Textarea","React","className","props","ref","cn"],"mappings":";;AAIA,MAAMA,IAAWC,EAAM,WAGrB,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAASC,MAExB,gBAAAH,EAAA;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,WAAWI;AAAA,MACT;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACAH;AAAA,IAAA;AAAA,IAEF,KAAAE;AAAA,IACC,GAAGD;AAAA,EAAA;AAAA,CAGT;AACDH,EAAS,cAAc;"}
|
package/dist/index.es53.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
2
|
import * as t from "@radix-ui/react-toggle";
|
|
3
3
|
import { cva as s } from "class-variance-authority";
|
|
4
|
-
import { cn as d } from "./index.
|
|
4
|
+
import { cn as d } from "./index.es56.js";
|
|
5
5
|
const m = s(
|
|
6
6
|
"inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
|
|
7
7
|
{
|
package/dist/index.es54.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
2
|
import * as t from "@radix-ui/react-toggle-group";
|
|
3
|
-
import { cn as l } from "./index.
|
|
3
|
+
import { cn as l } from "./index.es56.js";
|
|
4
4
|
import { toggleVariants as p } from "./index.es53.js";
|
|
5
5
|
const c = e.createContext({
|
|
6
6
|
size: "default",
|
package/dist/index.es55.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as o from "react";
|
|
2
2
|
import * as t from "@radix-ui/react-tooltip";
|
|
3
|
-
import { cn as d } from "./index.
|
|
3
|
+
import { cn as d } from "./index.es56.js";
|
|
4
4
|
const s = t.Provider, l = t.Root, p = t.Trigger, n = o.forwardRef(({ className: e, sideOffset: i = 4, ...a }, r) => /* @__PURE__ */ o.createElement(t.Portal, null, /* @__PURE__ */ o.createElement(
|
|
5
5
|
t.Content,
|
|
6
6
|
{
|
package/dist/index.es56.js
CHANGED
|
@@ -1,46 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
"inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:opacity-50 disabled:pointer-events-none ring-offset-background",
|
|
7
|
-
{
|
|
8
|
-
variants: {
|
|
9
|
-
variant: {
|
|
10
|
-
default: "bg-primary text-primary-foreground hover:bg-primary/90",
|
|
11
|
-
destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90",
|
|
12
|
-
outline: "border border-input hover:bg-accent hover:text-accent-foreground",
|
|
13
|
-
secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
|
|
14
|
-
ghost: "hover:bg-accent hover:text-accent-foreground",
|
|
15
|
-
link: "underline-offset-4 hover:underline text-primary"
|
|
16
|
-
},
|
|
17
|
-
size: {
|
|
18
|
-
default: "h-10 py-2 px-4",
|
|
19
|
-
sm: "h-9 px-3 rounded-md",
|
|
20
|
-
lg: "h-11 px-8 rounded-md"
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
defaultVariants: {
|
|
24
|
-
variant: "default",
|
|
25
|
-
size: "default"
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
), l = e.forwardRef(
|
|
29
|
-
({ className: t, variant: r, size: o, asChild: n = !1, ...i }, a) => {
|
|
30
|
-
const s = n ? d : "button";
|
|
31
|
-
return /* @__PURE__ */ e.createElement(
|
|
32
|
-
s,
|
|
33
|
-
{
|
|
34
|
-
className: c(f({ variant: r, size: o, className: t })),
|
|
35
|
-
ref: a,
|
|
36
|
-
...i
|
|
37
|
-
}
|
|
38
|
-
);
|
|
39
|
-
}
|
|
40
|
-
);
|
|
41
|
-
l.displayName = "Button";
|
|
1
|
+
import { clsx as o } from "clsx";
|
|
2
|
+
import { twMerge as t } from "tailwind-merge";
|
|
3
|
+
function n(...r) {
|
|
4
|
+
return t(o(r));
|
|
5
|
+
}
|
|
42
6
|
export {
|
|
43
|
-
|
|
44
|
-
f as buttonVariants
|
|
7
|
+
n as cn
|
|
45
8
|
};
|
|
46
9
|
//# sourceMappingURL=index.es56.js.map
|
package/dist/index.es56.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es56.js","sources":["../src/
|
|
1
|
+
{"version":3,"file":"index.es56.js","sources":["../src/lib/utils.ts"],"sourcesContent":["import { clsx, type ClassValue } from \"clsx\"\nimport { twMerge } from \"tailwind-merge\"\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs))\n}\n"],"names":["cn","inputs","twMerge","clsx"],"mappings":";;AAGO,SAASA,KAAMC,GAAsB;AAC1C,SAAOC,EAAQC,EAAKF,CAAM,CAAC;AAC7B;"}
|
package/dist/index.es57.js
CHANGED
|
@@ -1,9 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
function
|
|
4
|
-
|
|
1
|
+
import * as o from "react";
|
|
2
|
+
const e = 768;
|
|
3
|
+
function r() {
|
|
4
|
+
const [s, n] = o.useState(void 0);
|
|
5
|
+
return o.useEffect(() => {
|
|
6
|
+
const t = window.matchMedia(`(max-width: ${e - 1}px)`), i = () => {
|
|
7
|
+
n(window.innerWidth < e);
|
|
8
|
+
};
|
|
9
|
+
return t.addEventListener("change", i), n(window.innerWidth < e), () => t.removeEventListener("change", i);
|
|
10
|
+
}, []), !!s;
|
|
5
11
|
}
|
|
6
12
|
export {
|
|
7
|
-
|
|
13
|
+
r as useIsMobile
|
|
8
14
|
};
|
|
9
15
|
//# sourceMappingURL=index.es57.js.map
|
package/dist/index.es57.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es57.js","sources":["../src/
|
|
1
|
+
{"version":3,"file":"index.es57.js","sources":["../src/hooks/use-mobile.tsx"],"sourcesContent":["import * as React from \"react\"\n\nconst MOBILE_BREAKPOINT = 768\n\nexport function useIsMobile() {\n const [isMobile, setIsMobile] = React.useState<boolean | undefined>(undefined)\n\n React.useEffect(() => {\n const mql = window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT - 1}px)`)\n const onChange = () => {\n setIsMobile(window.innerWidth < MOBILE_BREAKPOINT)\n }\n mql.addEventListener(\"change\", onChange)\n setIsMobile(window.innerWidth < MOBILE_BREAKPOINT)\n return () => mql.removeEventListener(\"change\", onChange)\n }, [])\n\n return !!isMobile\n}\n"],"names":["MOBILE_BREAKPOINT","useIsMobile","isMobile","setIsMobile","React","mql","onChange"],"mappings":";AAEA,MAAMA,IAAoB;AAEnB,SAASC,IAAc;AAC5B,QAAM,CAACC,GAAUC,CAAW,IAAIC,EAAM,SAA8B,MAAS;AAE7E,SAAAA,EAAM,UAAU,MAAM;AACpB,UAAMC,IAAM,OAAO,WAAW,eAAeL,IAAoB,CAAC,KAAK,GACjEM,IAAW,MAAM;AACrB,MAAAH,EAAY,OAAO,aAAaH,CAAiB;AAAA,IACnD;AACA,WAAAK,EAAI,iBAAiB,UAAUC,CAAQ,GACvCH,EAAY,OAAO,aAAaH,CAAiB,GAC1C,MAAMK,EAAI,oBAAoB,UAAUC,CAAQ;AAAA,EACzD,GAAG,CAAA,CAAE,GAEE,CAAC,CAACJ;AACX;"}
|
package/dist/index.es7.js
CHANGED
package/dist/index.es8.js
CHANGED
|
@@ -1,27 +1,78 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
{
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
import { X as u } from "lucide-react";
|
|
3
|
+
import { cva as N } from "class-variance-authority";
|
|
4
|
+
import { cn as v } from "./index.es56.js";
|
|
5
|
+
const w = N("inline-flex items-center gap-1 rounded-[12px] font-medium", {
|
|
6
|
+
variants: {
|
|
7
|
+
variant: {
|
|
8
|
+
color: "bg-[#26453f] text-white",
|
|
9
|
+
neutral: "bg-[#f1f1f1] text-black",
|
|
10
|
+
"outline-color": "border border-[#26453f] bg-white text-[#26453f]",
|
|
11
|
+
"outline-neutral": "border border-[#dcdcde] bg-white text-black",
|
|
12
|
+
success: "bg-[#e8f6ed] text-[#307f4a]",
|
|
13
|
+
warning: "bg-[#fff0d8] text-[#e49614]",
|
|
14
|
+
destructive: "bg-[#fceaea] text-[#e73f3f]"
|
|
14
15
|
},
|
|
15
|
-
|
|
16
|
-
|
|
16
|
+
size: {
|
|
17
|
+
default: "px-2 py-0.5 text-[12px] leading-[16px]",
|
|
18
|
+
large: "px-2 py-1 text-[14px] leading-[20px]"
|
|
17
19
|
}
|
|
20
|
+
},
|
|
21
|
+
defaultVariants: {
|
|
22
|
+
variant: "color",
|
|
23
|
+
size: "default"
|
|
18
24
|
}
|
|
19
|
-
);
|
|
20
|
-
function
|
|
21
|
-
|
|
25
|
+
});
|
|
26
|
+
function z({
|
|
27
|
+
className: d,
|
|
28
|
+
variant: t,
|
|
29
|
+
size: n,
|
|
30
|
+
leftIcon: l,
|
|
31
|
+
rightIcon: r,
|
|
32
|
+
showX: x = !1,
|
|
33
|
+
onXClick: c,
|
|
34
|
+
xIcon: i,
|
|
35
|
+
bgColor: s,
|
|
36
|
+
textColor: m,
|
|
37
|
+
borderColor: a,
|
|
38
|
+
style: o,
|
|
39
|
+
children: p,
|
|
40
|
+
...b
|
|
41
|
+
}) {
|
|
42
|
+
const g = t === "default" ? "color" : t === "secondary" ? "neutral" : t === "outline" ? "outline-neutral" : t, f = n === "large" ? "h-4 w-4" : "h-3 w-3", E = s || m || a ? {
|
|
43
|
+
backgroundColor: s,
|
|
44
|
+
color: m,
|
|
45
|
+
borderColor: a,
|
|
46
|
+
...o
|
|
47
|
+
} : o;
|
|
48
|
+
return /* @__PURE__ */ e.createElement(
|
|
49
|
+
"div",
|
|
50
|
+
{
|
|
51
|
+
className: v(
|
|
52
|
+
w({ variant: g, size: n }),
|
|
53
|
+
a ? "border" : void 0,
|
|
54
|
+
d
|
|
55
|
+
),
|
|
56
|
+
style: E,
|
|
57
|
+
...b
|
|
58
|
+
},
|
|
59
|
+
l ? /* @__PURE__ */ e.createElement("span", { className: "inline-flex items-center" }, l) : null,
|
|
60
|
+
/* @__PURE__ */ e.createElement("span", null, p),
|
|
61
|
+
r ? /* @__PURE__ */ e.createElement("span", { className: "inline-flex items-center" }, r) : null,
|
|
62
|
+
x ? c ? /* @__PURE__ */ e.createElement(
|
|
63
|
+
"button",
|
|
64
|
+
{
|
|
65
|
+
type: "button",
|
|
66
|
+
"aria-label": "Remove",
|
|
67
|
+
onClick: c,
|
|
68
|
+
className: "inline-flex items-center"
|
|
69
|
+
},
|
|
70
|
+
i || /* @__PURE__ */ e.createElement(u, { className: f })
|
|
71
|
+
) : /* @__PURE__ */ e.createElement("span", { className: "inline-flex items-center" }, i || /* @__PURE__ */ e.createElement(u, { className: f })) : null
|
|
72
|
+
);
|
|
22
73
|
}
|
|
23
74
|
export {
|
|
24
|
-
|
|
25
|
-
|
|
75
|
+
z as Badge,
|
|
76
|
+
w as badgeVariants
|
|
26
77
|
};
|
|
27
78
|
//# sourceMappingURL=index.es8.js.map
|
package/dist/index.es8.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es8.js","sources":["../src/components/ui/badge.tsx"],"sourcesContent":["import * as React from \"react\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst badgeVariants = cva(\
|
|
1
|
+
{"version":3,"file":"index.es8.js","sources":["../src/components/ui/badge.tsx"],"sourcesContent":["import * as React from \"react\"\nimport { X } from \"lucide-react\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst badgeVariants = cva(\"inline-flex items-center gap-1 rounded-[12px] font-medium\", {\n variants: {\n variant: {\n color: \"bg-[#26453f] text-white\",\n neutral: \"bg-[#f1f1f1] text-black\",\n \"outline-color\": \"border border-[#26453f] bg-white text-[#26453f]\",\n \"outline-neutral\": \"border border-[#dcdcde] bg-white text-black\",\n success: \"bg-[#e8f6ed] text-[#307f4a]\",\n warning: \"bg-[#fff0d8] text-[#e49614]\",\n destructive: \"bg-[#fceaea] text-[#e73f3f]\",\n },\n size: {\n default: \"px-2 py-0.5 text-[12px] leading-[16px]\",\n large: \"px-2 py-1 text-[14px] leading-[20px]\",\n },\n },\n defaultVariants: {\n variant: \"color\",\n size: \"default\",\n },\n})\n\ntype BadgeVariant = NonNullable<VariantProps<typeof badgeVariants>[\"variant\"]> | \"default\" | \"secondary\" | \"outline\"\n\nexport interface BadgeProps\n extends React.HTMLAttributes<HTMLDivElement>,\n Omit<VariantProps<typeof badgeVariants>, \"variant\"> {\n variant?: BadgeVariant\n leftIcon?: React.ReactNode\n rightIcon?: React.ReactNode\n showX?: boolean\n onXClick?: React.MouseEventHandler<HTMLButtonElement>\n xIcon?: React.ReactNode\n bgColor?: string\n textColor?: string\n borderColor?: string\n}\n\nfunction Badge({\n className,\n variant,\n size,\n leftIcon,\n rightIcon,\n showX = false,\n onXClick,\n xIcon,\n bgColor,\n textColor,\n borderColor,\n style,\n children,\n ...props\n}: BadgeProps) {\n const normalizedVariant: VariantProps<typeof badgeVariants>[\"variant\"] =\n variant === \"default\"\n ? \"color\"\n : variant === \"secondary\"\n ? \"neutral\"\n : variant === \"outline\"\n ? \"outline-neutral\"\n : variant\n\n const xSizeClass = size === \"large\" ? \"h-4 w-4\" : \"h-3 w-3\"\n\n const customStyle: React.CSSProperties | undefined =\n bgColor || textColor || borderColor\n ? {\n backgroundColor: bgColor,\n color: textColor,\n borderColor,\n ...style,\n }\n : style\n\n return (\n <div\n className={cn(\n badgeVariants({ variant: normalizedVariant, size }),\n borderColor ? \"border\" : undefined,\n className\n )}\n style={customStyle}\n {...props}\n >\n {leftIcon ? <span className=\"inline-flex items-center\">{leftIcon}</span> : null}\n <span>{children}</span>\n {rightIcon ? <span className=\"inline-flex items-center\">{rightIcon}</span> : null}\n {showX ? (\n onXClick ? (\n <button\n type=\"button\"\n aria-label=\"Remove\"\n onClick={onXClick}\n className=\"inline-flex items-center\"\n >\n {xIcon || <X className={xSizeClass} />}\n </button>\n ) : (\n <span className=\"inline-flex items-center\">\n {xIcon || <X className={xSizeClass} />}\n </span>\n )\n ) : null}\n </div>\n )\n}\n\nexport { Badge, badgeVariants }\n"],"names":["badgeVariants","cva","Badge","className","variant","size","leftIcon","rightIcon","showX","onXClick","xIcon","bgColor","textColor","borderColor","style","children","props","normalizedVariant","xSizeClass","customStyle","React","cn","X"],"mappings":";;;;AAMA,MAAMA,IAAgBC,EAAI,6DAA6D;AAAA,EACrF,UAAU;AAAA,IACR,SAAS;AAAA,MACP,OAAO;AAAA,MACP,SAAS;AAAA,MACT,iBAAiB;AAAA,MACjB,mBAAmB;AAAA,MACnB,SAAS;AAAA,MACT,SAAS;AAAA,MACT,aAAa;AAAA,IAAA;AAAA,IAEf,MAAM;AAAA,MACJ,SAAS;AAAA,MACT,OAAO;AAAA,IAAA;AAAA,EACT;AAAA,EAEF,iBAAiB;AAAA,IACf,SAAS;AAAA,IACT,MAAM;AAAA,EAAA;AAEV,CAAC;AAkBD,SAASC,EAAM;AAAA,EACb,WAAAC;AAAA,EACA,SAAAC;AAAA,EACA,MAAAC;AAAA,EACA,UAAAC;AAAA,EACA,WAAAC;AAAA,EACA,OAAAC,IAAQ;AAAA,EACR,UAAAC;AAAA,EACA,OAAAC;AAAA,EACA,SAAAC;AAAA,EACA,WAAAC;AAAA,EACA,aAAAC;AAAA,EACA,OAAAC;AAAA,EACA,UAAAC;AAAA,EACA,GAAGC;AACL,GAAe;AACb,QAAMC,IACJb,MAAY,YACR,UACAA,MAAY,cACZ,YACAA,MAAY,YACZ,oBACAA,GAEAc,IAAab,MAAS,UAAU,YAAY,WAE5Cc,IACJR,KAAWC,KAAaC,IACpB;AAAA,IACE,iBAAiBF;AAAA,IACjB,OAAOC;AAAA,IACP,aAAAC;AAAA,IACA,GAAGC;AAAA,EAAA,IAELA;AAEN,SACE,gBAAAM,EAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAWC;AAAA,QACTrB,EAAc,EAAE,SAASiB,GAAmB,MAAAZ,GAAM;AAAA,QAClDQ,IAAc,WAAW;AAAA,QACzBV;AAAA,MAAA;AAAA,MAEF,OAAOgB;AAAA,MACN,GAAGH;AAAA,IAAA;AAAA,IAEHV,IAAW,gBAAAc,EAAA,cAAC,QAAA,EAAK,WAAU,2BAAA,GAA4Bd,CAAS,IAAU;AAAA,IAC3E,gBAAAc,EAAA,cAAC,cAAML,CAAS;AAAA,IACfR,IAAY,gBAAAa,EAAA,cAAC,QAAA,EAAK,WAAU,2BAAA,GAA4Bb,CAAU,IAAU;AAAA,IAC5EC,IACCC,IACE,gBAAAW,EAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,MAAK;AAAA,QACL,cAAW;AAAA,QACX,SAASX;AAAA,QACT,WAAU;AAAA,MAAA;AAAA,MAETC,KAAS,gBAAAU,EAAA,cAACE,GAAA,EAAE,WAAWJ,EAAA,CAAY;AAAA,IAAA,IAGtC,gBAAAE,EAAA,cAAC,QAAA,EAAK,WAAU,2BAAA,GACbV,KAAS,gBAAAU,EAAA,cAACE,GAAA,EAAE,WAAWJ,EAAA,CAAY,CACtC,IAEA;AAAA,EAAA;AAGV;"}
|
package/dist/index.es9.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
2
|
import { Slot as o } from "@radix-ui/react-slot";
|
|
3
3
|
import { ChevronRight as l, MoreHorizontal as c } from "lucide-react";
|
|
4
|
-
import { cn as m } from "./index.
|
|
4
|
+
import { cn as m } from "./index.es56.js";
|
|
5
5
|
const i = e.forwardRef(({ ...r }, a) => /* @__PURE__ */ e.createElement("nav", { ref: a, "aria-label": "breadcrumb", ...r }));
|
|
6
6
|
i.displayName = "Breadcrumb";
|
|
7
7
|
const d = e.forwardRef(({ className: r, ...a }, t) => /* @__PURE__ */ e.createElement(
|