@locusgraph/components 0.2.1 → 0.2.2

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 (43) hide show
  1. package/dist/action/button-group.js +33 -136
  2. package/dist/action/button.js +15 -62
  3. package/dist/display/badge.js +13 -54
  4. package/dist/display/chat/attachment/attachment-parts.js +52 -218
  5. package/dist/display/chat/attachment/attachment.js +46 -186
  6. package/dist/display/chat/bubble.js +47 -192
  7. package/dist/display/chat/marker.js +32 -131
  8. package/dist/display/chat/message.js +56 -236
  9. package/dist/display/content/item.js +101 -415
  10. package/dist/display/content/kbd.js +18 -77
  11. package/dist/display/rule-grid/rule-grid.js +69 -292
  12. package/dist/display/skeletons/layouts/skeleton-rule-grid.js +25 -74
  13. package/dist/display/skeletons/layouts/skeleton-table.js +38 -158
  14. package/dist/display/skeletons/shapes/skeleton-avatar.js +19 -83
  15. package/dist/display/skeletons/shapes/skeleton-button.js +19 -83
  16. package/dist/display/skeletons/shapes/skeleton-text.js +18 -71
  17. package/dist/display/skeletons/skeleton-parts.js +17 -58
  18. package/dist/display/status/alert.js +30 -122
  19. package/dist/display/status/empty.js +57 -238
  20. package/dist/display/status/skeleton.js +9 -39
  21. package/dist/display/status/spinner.js +10 -40
  22. package/dist/display/table.js +75 -308
  23. package/dist/form/field/field-error.js +24 -107
  24. package/dist/form/field/field-separator.js +14 -65
  25. package/dist/form/field/field-set.js +20 -84
  26. package/dist/form/field/field-text.js +27 -115
  27. package/dist/form/field/field.js +31 -125
  28. package/dist/form/input.js +11 -45
  29. package/dist/form/native-select.js +31 -139
  30. package/dist/form/textarea.js +9 -39
  31. package/dist/layout/use-mobile.js +7 -20
  32. package/dist/navigation/breadcrumb.js +75 -294
  33. package/dist/navigation/navigation-menu.js +83 -359
  34. package/dist/navigation/pagination.js +78 -315
  35. package/dist/shell/app-header.js +21 -73
  36. package/dist/shell/app-shell.js +17 -56
  37. package/dist/shell/breadcrumbs.js +39 -97
  38. package/dist/shell/docs/docs-shell.js +35 -99
  39. package/dist/shell/docs/docs-sidebar.js +39 -86
  40. package/dist/shell/docs/use-active-section.js +31 -75
  41. package/dist/shell/navigation/app-sidebar.js +52 -174
  42. package/dist/shell/navigation/nav-group.js +40 -149
  43. package/package.json +1 -1
@@ -1,4 +1,3 @@
1
- import { c as _c } from "react/compiler-runtime";
2
1
  import { cva } from "class-variance-authority";
3
2
  import { cn } from "cn";
4
3
  import * as Slot from "radix-ui/slot";
@@ -17,305 +16,83 @@ const ruleGridVariants = cva("grid grid-cols-1 gap-px p-px", {
17
16
  columns: 3
18
17
  }
19
18
  });
20
- function RuleGrid(t0) {
21
- const $ = _c(11);
22
- let className;
23
- let props;
24
- let t1;
25
- if ($[0] !== t0) {
26
- ({
27
- className,
28
- columns: t1,
29
- ...props
30
- } = t0);
31
- $[0] = t0;
32
- $[1] = className;
33
- $[2] = props;
34
- $[3] = t1;
35
- } else {
36
- className = $[1];
37
- props = $[2];
38
- t1 = $[3];
39
- }
40
- const columns = t1 === undefined ? 3 : t1;
41
- let t2;
42
- if ($[4] !== className || $[5] !== columns) {
43
- t2 = cn(ruleGridVariants({
19
+ function RuleGrid({
20
+ className,
21
+ columns = 3,
22
+ ...props
23
+ }) {
24
+ return /*#__PURE__*/_jsx("div", {
25
+ "data-slot": "rule-grid",
26
+ "data-columns": columns,
27
+ className: cn(ruleGridVariants({
44
28
  columns,
45
29
  className
46
- }));
47
- $[4] = className;
48
- $[5] = columns;
49
- $[6] = t2;
50
- } else {
51
- t2 = $[6];
52
- }
53
- let t3;
54
- if ($[7] !== columns || $[8] !== props || $[9] !== t2) {
55
- t3 = /*#__PURE__*/_jsx("div", {
56
- "data-slot": "rule-grid",
57
- "data-columns": columns,
58
- className: t2,
59
- ...props
60
- });
61
- $[7] = columns;
62
- $[8] = props;
63
- $[9] = t2;
64
- $[10] = t3;
65
- } else {
66
- t3 = $[10];
67
- }
68
- return t3;
30
+ })),
31
+ ...props
32
+ });
69
33
  }
70
- function RuleGridCell(t0) {
71
- const $ = _c(13);
72
- let className;
73
- let props;
74
- let t1;
75
- let t2;
76
- if ($[0] !== t0) {
77
- ({
78
- className,
79
- asChild: t1,
80
- interactive: t2,
81
- ...props
82
- } = t0);
83
- $[0] = t0;
84
- $[1] = className;
85
- $[2] = props;
86
- $[3] = t1;
87
- $[4] = t2;
88
- } else {
89
- className = $[1];
90
- props = $[2];
91
- t1 = $[3];
92
- t2 = $[4];
93
- }
94
- const asChild = t1 === undefined ? false : t1;
95
- const interactive = t2 === undefined ? false : t2;
34
+ function RuleGridCell({
35
+ className,
36
+ asChild = false,
37
+ interactive = false,
38
+ ...props
39
+ }) {
96
40
  const Comp = asChild ? Slot.Root : "div";
97
- const t3 = interactive || undefined;
98
- const t4 = interactive && "transition-colors duration-150 ease-out outline-none hover:bg-accent/60 focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-ring active:bg-accent";
99
- let t5;
100
- if ($[5] !== className || $[6] !== t4) {
101
- t5 = cn("flex min-w-0 flex-col gap-2 bg-card p-6 text-card-foreground ring-1 ring-border", t4, className);
102
- $[5] = className;
103
- $[6] = t4;
104
- $[7] = t5;
105
- } else {
106
- t5 = $[7];
107
- }
108
- let t6;
109
- if ($[8] !== Comp || $[9] !== props || $[10] !== t3 || $[11] !== t5) {
110
- t6 = /*#__PURE__*/_jsx(Comp, {
111
- "data-slot": "rule-grid-cell",
112
- "data-interactive": t3,
113
- className: t5,
114
- ...props
115
- });
116
- $[8] = Comp;
117
- $[9] = props;
118
- $[10] = t3;
119
- $[11] = t5;
120
- $[12] = t6;
121
- } else {
122
- t6 = $[12];
123
- }
124
- return t6;
41
+ return /*#__PURE__*/_jsx(Comp, {
42
+ "data-slot": "rule-grid-cell",
43
+ "data-interactive": interactive || undefined,
44
+ className: cn("flex min-w-0 flex-col gap-2 bg-card p-6 text-card-foreground ring-1 ring-border", interactive && "transition-colors duration-150 ease-out outline-none hover:bg-accent/60 focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-ring active:bg-accent", className),
45
+ ...props
46
+ });
125
47
  }
126
- function RuleGridHeader(t0) {
127
- const $ = _c(8);
128
- let className;
129
- let props;
130
- if ($[0] !== t0) {
131
- ({
132
- className,
133
- ...props
134
- } = t0);
135
- $[0] = t0;
136
- $[1] = className;
137
- $[2] = props;
138
- } else {
139
- className = $[1];
140
- props = $[2];
141
- }
142
- let t1;
143
- if ($[3] !== className) {
144
- t1 = cn("-mx-6 -mt-6 mb-2 flex min-h-11 items-center gap-2 border-b bg-muted/35 px-6 py-2.5", className);
145
- $[3] = className;
146
- $[4] = t1;
147
- } else {
148
- t1 = $[4];
149
- }
150
- let t2;
151
- if ($[5] !== props || $[6] !== t1) {
152
- t2 = /*#__PURE__*/_jsx("div", {
153
- "data-slot": "rule-grid-header",
154
- className: t1,
155
- ...props
156
- });
157
- $[5] = props;
158
- $[6] = t1;
159
- $[7] = t2;
160
- } else {
161
- t2 = $[7];
162
- }
163
- return t2;
48
+ function RuleGridHeader({
49
+ className,
50
+ ...props
51
+ }) {
52
+ return /*#__PURE__*/_jsx("div", {
53
+ "data-slot": "rule-grid-header",
54
+ className: cn("-mx-6 -mt-6 mb-2 flex min-h-11 items-center gap-2 border-b bg-muted/35 px-6 py-2.5", className),
55
+ ...props
56
+ });
164
57
  }
165
- function RuleGridFooter(t0) {
166
- const $ = _c(8);
167
- let className;
168
- let props;
169
- if ($[0] !== t0) {
170
- ({
171
- className,
172
- ...props
173
- } = t0);
174
- $[0] = t0;
175
- $[1] = className;
176
- $[2] = props;
177
- } else {
178
- className = $[1];
179
- props = $[2];
180
- }
181
- let t1;
182
- if ($[3] !== className) {
183
- t1 = cn("-mx-6 mt-auto -mb-6 flex min-h-12 flex-wrap items-center gap-2 border-t bg-muted/70 px-6 py-3", className);
184
- $[3] = className;
185
- $[4] = t1;
186
- } else {
187
- t1 = $[4];
188
- }
189
- let t2;
190
- if ($[5] !== props || $[6] !== t1) {
191
- t2 = /*#__PURE__*/_jsx("div", {
192
- "data-slot": "rule-grid-footer",
193
- className: t1,
194
- ...props
195
- });
196
- $[5] = props;
197
- $[6] = t1;
198
- $[7] = t2;
199
- } else {
200
- t2 = $[7];
201
- }
202
- return t2;
58
+ function RuleGridFooter({
59
+ className,
60
+ ...props
61
+ }) {
62
+ return /*#__PURE__*/_jsx("div", {
63
+ "data-slot": "rule-grid-footer",
64
+ className: cn("-mx-6 mt-auto -mb-6 flex min-h-12 flex-wrap items-center gap-2 border-t bg-muted/70 px-6 py-3", className),
65
+ ...props
66
+ });
203
67
  }
204
- function RuleGridLabel(t0) {
205
- const $ = _c(8);
206
- let className;
207
- let props;
208
- if ($[0] !== t0) {
209
- ({
210
- className,
211
- ...props
212
- } = t0);
213
- $[0] = t0;
214
- $[1] = className;
215
- $[2] = props;
216
- } else {
217
- className = $[1];
218
- props = $[2];
219
- }
220
- let t1;
221
- if ($[3] !== className) {
222
- t1 = cn("eyebrow", className);
223
- $[3] = className;
224
- $[4] = t1;
225
- } else {
226
- t1 = $[4];
227
- }
228
- let t2;
229
- if ($[5] !== props || $[6] !== t1) {
230
- t2 = /*#__PURE__*/_jsx("span", {
231
- "data-slot": "rule-grid-label",
232
- className: t1,
233
- ...props
234
- });
235
- $[5] = props;
236
- $[6] = t1;
237
- $[7] = t2;
238
- } else {
239
- t2 = $[7];
240
- }
241
- return t2;
68
+ function RuleGridLabel({
69
+ className,
70
+ ...props
71
+ }) {
72
+ return /*#__PURE__*/_jsx("span", {
73
+ "data-slot": "rule-grid-label",
74
+ className: cn("eyebrow", className),
75
+ ...props
76
+ });
242
77
  }
243
- function RuleGridTitle(t0) {
244
- const $ = _c(8);
245
- let className;
246
- let props;
247
- if ($[0] !== t0) {
248
- ({
249
- className,
250
- ...props
251
- } = t0);
252
- $[0] = t0;
253
- $[1] = className;
254
- $[2] = props;
255
- } else {
256
- className = $[1];
257
- props = $[2];
258
- }
259
- let t1;
260
- if ($[3] !== className) {
261
- t1 = cn("text-[15px] font-medium tracking-[-0.01em]", className);
262
- $[3] = className;
263
- $[4] = t1;
264
- } else {
265
- t1 = $[4];
266
- }
267
- let t2;
268
- if ($[5] !== props || $[6] !== t1) {
269
- t2 = /*#__PURE__*/_jsx("div", {
270
- "data-slot": "rule-grid-title",
271
- className: t1,
272
- ...props
273
- });
274
- $[5] = props;
275
- $[6] = t1;
276
- $[7] = t2;
277
- } else {
278
- t2 = $[7];
279
- }
280
- return t2;
78
+ function RuleGridTitle({
79
+ className,
80
+ ...props
81
+ }) {
82
+ return /*#__PURE__*/_jsx("div", {
83
+ "data-slot": "rule-grid-title",
84
+ className: cn("text-[15px] font-medium tracking-[-0.01em]", className),
85
+ ...props
86
+ });
281
87
  }
282
- function RuleGridDescription(t0) {
283
- const $ = _c(8);
284
- let className;
285
- let props;
286
- if ($[0] !== t0) {
287
- ({
288
- className,
289
- ...props
290
- } = t0);
291
- $[0] = t0;
292
- $[1] = className;
293
- $[2] = props;
294
- } else {
295
- className = $[1];
296
- props = $[2];
297
- }
298
- let t1;
299
- if ($[3] !== className) {
300
- t1 = cn("text-sm text-muted-foreground", className);
301
- $[3] = className;
302
- $[4] = t1;
303
- } else {
304
- t1 = $[4];
305
- }
306
- let t2;
307
- if ($[5] !== props || $[6] !== t1) {
308
- t2 = /*#__PURE__*/_jsx("p", {
309
- "data-slot": "rule-grid-description",
310
- className: t1,
311
- ...props
312
- });
313
- $[5] = props;
314
- $[6] = t1;
315
- $[7] = t2;
316
- } else {
317
- t2 = $[7];
318
- }
319
- return t2;
88
+ function RuleGridDescription({
89
+ className,
90
+ ...props
91
+ }) {
92
+ return /*#__PURE__*/_jsx("p", {
93
+ "data-slot": "rule-grid-description",
94
+ className: cn("text-sm text-muted-foreground", className),
95
+ ...props
96
+ });
320
97
  }
321
98
  export { RuleGrid, RuleGridCell, RuleGridDescription, RuleGridFooter, RuleGridHeader, RuleGridLabel, RuleGridTitle, ruleGridVariants };
@@ -1,83 +1,34 @@
1
- import { c as _c } from "react/compiler-runtime";
2
1
  import { RuleGrid, RuleGridCell } from "../../rule-grid/rule-grid.js";
3
2
  import { SkeletonBar, SkeletonLoadingLabel, skeletonRootProps } from "../skeleton-parts.js";
4
3
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
5
- function SkeletonRuleGrid(t0) {
6
- const $ = _c(14);
7
- let label;
8
- let props;
9
- let t1;
10
- let t2;
11
- if ($[0] !== t0) {
12
- ({
13
- cells: t1,
14
- columns: t2,
15
- label,
16
- ...props
17
- } = t0);
18
- $[0] = t0;
19
- $[1] = label;
20
- $[2] = props;
21
- $[3] = t1;
22
- $[4] = t2;
23
- } else {
24
- label = $[1];
25
- props = $[2];
26
- t1 = $[3];
27
- t2 = $[4];
28
- }
29
- const cells = t1 === undefined ? 3 : t1;
30
- const columns = t2 === undefined ? 3 : t2;
4
+ function SkeletonRuleGrid({
5
+ cells = 3,
6
+ columns = 3,
7
+ label,
8
+ ...props
9
+ }) {
31
10
  const count = Math.max(1, Math.floor(cells));
32
- let t3;
33
- if ($[5] !== count) {
34
- t3 = Array.from({
11
+ return /*#__PURE__*/_jsxs(RuleGrid, {
12
+ "data-slot": "skeleton-rule-grid",
13
+ columns: columns,
14
+ ...skeletonRootProps,
15
+ ...props,
16
+ children: [Array.from({
35
17
  length: count
36
- }, _temp);
37
- $[5] = count;
38
- $[6] = t3;
39
- } else {
40
- t3 = $[6];
41
- }
42
- let t4;
43
- if ($[7] !== label) {
44
- t4 = /*#__PURE__*/_jsx(SkeletonLoadingLabel, {
18
+ }, (_, index) => /*#__PURE__*/_jsxs(RuleGridCell
19
+ // biome-ignore lint/suspicious/noArrayIndexKey: placeholder cells have no identity
20
+ , {
21
+ "data-slot": "skeleton-rule-grid-cell",
22
+ "aria-hidden": "true",
23
+ className: "gap-3",
24
+ children: [/*#__PURE__*/_jsx(SkeletonBar, {
25
+ className: "h-3 w-20"
26
+ }), /*#__PURE__*/_jsx(SkeletonBar, {
27
+ className: "h-7 w-28"
28
+ })]
29
+ }, index)), /*#__PURE__*/_jsx(SkeletonLoadingLabel, {
45
30
  children: label
46
- });
47
- $[7] = label;
48
- $[8] = t4;
49
- } else {
50
- t4 = $[8];
51
- }
52
- let t5;
53
- if ($[9] !== columns || $[10] !== props || $[11] !== t3 || $[12] !== t4) {
54
- t5 = /*#__PURE__*/_jsxs(RuleGrid, {
55
- "data-slot": "skeleton-rule-grid",
56
- columns: columns,
57
- ...skeletonRootProps,
58
- ...props,
59
- children: [t3, t4]
60
- });
61
- $[9] = columns;
62
- $[10] = props;
63
- $[11] = t3;
64
- $[12] = t4;
65
- $[13] = t5;
66
- } else {
67
- t5 = $[13];
68
- }
69
- return t5;
70
- }
71
- function _temp(_, index) {
72
- return /*#__PURE__*/_jsxs(RuleGridCell, {
73
- "data-slot": "skeleton-rule-grid-cell",
74
- "aria-hidden": "true",
75
- className: "gap-3",
76
- children: [/*#__PURE__*/_jsx(SkeletonBar, {
77
- className: "h-3 w-20"
78
- }), /*#__PURE__*/_jsx(SkeletonBar, {
79
- className: "h-7 w-28"
80
31
  })]
81
- }, index);
32
+ });
82
33
  }
83
34
  export { SkeletonRuleGrid };
@@ -1,4 +1,3 @@
1
- import { c as _c } from "react/compiler-runtime";
2
1
  import { cn } from "cn";
3
2
  import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from "../../table.js";
4
3
  import { SkeletonBar, SkeletonLoadingLabel, skeletonRootProps } from "../skeleton-parts.js";
@@ -12,163 +11,44 @@ function indexes(count) {
12
11
  length: Math.max(1, Math.floor(count))
13
12
  }, (_, index) => index);
14
13
  }
15
- function SkeletonTable(t0) {
16
- const $ = _c(38);
17
- let className;
18
- let label;
19
- let props;
20
- let t1;
21
- let t2;
22
- if ($[0] !== t0) {
23
- ({
24
- rows: t1,
25
- columns: t2,
26
- label,
27
- className,
28
- ...props
29
- } = t0);
30
- $[0] = t0;
31
- $[1] = className;
32
- $[2] = label;
33
- $[3] = props;
34
- $[4] = t1;
35
- $[5] = t2;
36
- } else {
37
- className = $[1];
38
- label = $[2];
39
- props = $[3];
40
- t1 = $[4];
41
- t2 = $[5];
42
- }
43
- const rows = t1 === undefined ? 5 : t1;
44
- const columns = t2 === undefined ? 4 : t2;
45
- let T0;
46
- let T1;
47
- let t3;
48
- let t4;
49
- let t5;
50
- let t6;
51
- let t7;
52
- let t8;
53
- let t9;
54
- if ($[6] !== className || $[7] !== columns || $[8] !== props || $[9] !== rows) {
55
- const columnIndexes = indexes(columns);
56
- t6 = "skeleton-table";
57
- t7 = skeletonRootProps;
58
- if ($[19] !== className) {
59
- t8 = cn("w-full", className);
60
- $[19] = className;
61
- $[20] = t8;
62
- } else {
63
- t8 = $[20];
64
- }
65
- t9 = props;
66
- T1 = Table;
67
- t4 = "true";
68
- t5 = /*#__PURE__*/_jsx(TableHeader, {
69
- children: /*#__PURE__*/_jsx(TableRow, {
70
- className: "hover:bg-transparent",
71
- children: columnIndexes.map(_temp)
72
- })
73
- });
74
- T0 = TableBody;
75
- t3 = indexes(rows).map(row => /*#__PURE__*/_jsx(TableRow, {
76
- "data-slot": "skeleton-table-row",
77
- className: "hover:bg-transparent",
78
- children: columnIndexes.map(_temp2)
79
- }, row));
80
- $[6] = className;
81
- $[7] = columns;
82
- $[8] = props;
83
- $[9] = rows;
84
- $[10] = T0;
85
- $[11] = T1;
86
- $[12] = t3;
87
- $[13] = t4;
88
- $[14] = t5;
89
- $[15] = t6;
90
- $[16] = t7;
91
- $[17] = t8;
92
- $[18] = t9;
93
- } else {
94
- T0 = $[10];
95
- T1 = $[11];
96
- t3 = $[12];
97
- t4 = $[13];
98
- t5 = $[14];
99
- t6 = $[15];
100
- t7 = $[16];
101
- t8 = $[17];
102
- t9 = $[18];
103
- }
104
- let t10;
105
- if ($[21] !== T0 || $[22] !== t3) {
106
- t10 = /*#__PURE__*/_jsx(T0, {
107
- children: t3
108
- });
109
- $[21] = T0;
110
- $[22] = t3;
111
- $[23] = t10;
112
- } else {
113
- t10 = $[23];
114
- }
115
- let t11;
116
- if ($[24] !== T1 || $[25] !== t10 || $[26] !== t4 || $[27] !== t5) {
117
- t11 = /*#__PURE__*/_jsxs(T1, {
118
- "aria-hidden": t4,
119
- children: [t5, t10]
120
- });
121
- $[24] = T1;
122
- $[25] = t10;
123
- $[26] = t4;
124
- $[27] = t5;
125
- $[28] = t11;
126
- } else {
127
- t11 = $[28];
128
- }
129
- let t12;
130
- if ($[29] !== label) {
131
- t12 = /*#__PURE__*/_jsx(SkeletonLoadingLabel, {
14
+ function SkeletonTable({
15
+ rows = 5,
16
+ columns = 4,
17
+ label,
18
+ className,
19
+ ...props
20
+ }) {
21
+ const columnIndexes = indexes(columns);
22
+ return /*#__PURE__*/_jsxs("div", {
23
+ "data-slot": "skeleton-table",
24
+ ...skeletonRootProps,
25
+ className: cn("w-full", className),
26
+ ...props,
27
+ children: [/*#__PURE__*/_jsxs(Table, {
28
+ "aria-hidden": "true",
29
+ children: [/*#__PURE__*/_jsx(TableHeader, {
30
+ children: /*#__PURE__*/_jsx(TableRow, {
31
+ className: "hover:bg-transparent",
32
+ children: columnIndexes.map(column => /*#__PURE__*/_jsx(TableHead, {
33
+ children: /*#__PURE__*/_jsx(SkeletonBar, {
34
+ className: "h-3 w-16"
35
+ })
36
+ }, column))
37
+ })
38
+ }), /*#__PURE__*/_jsx(TableBody, {
39
+ children: indexes(rows).map(row => /*#__PURE__*/_jsx(TableRow, {
40
+ "data-slot": "skeleton-table-row",
41
+ className: "hover:bg-transparent",
42
+ children: columnIndexes.map(column => /*#__PURE__*/_jsx(TableCell, {
43
+ children: /*#__PURE__*/_jsx(SkeletonBar, {
44
+ className: cn("h-4", cellWidth(column))
45
+ })
46
+ }, column))
47
+ }, row))
48
+ })]
49
+ }), /*#__PURE__*/_jsx(SkeletonLoadingLabel, {
132
50
  children: label
133
- });
134
- $[29] = label;
135
- $[30] = t12;
136
- } else {
137
- t12 = $[30];
138
- }
139
- let t13;
140
- if ($[31] !== t11 || $[32] !== t12 || $[33] !== t6 || $[34] !== t7 || $[35] !== t8 || $[36] !== t9) {
141
- t13 = /*#__PURE__*/_jsxs("div", {
142
- "data-slot": t6,
143
- ...t7,
144
- className: t8,
145
- ...t9,
146
- children: [t11, t12]
147
- });
148
- $[31] = t11;
149
- $[32] = t12;
150
- $[33] = t6;
151
- $[34] = t7;
152
- $[35] = t8;
153
- $[36] = t9;
154
- $[37] = t13;
155
- } else {
156
- t13 = $[37];
157
- }
158
- return t13;
159
- }
160
- function _temp2(column_0) {
161
- return /*#__PURE__*/_jsx(TableCell, {
162
- children: /*#__PURE__*/_jsx(SkeletonBar, {
163
- className: cn("h-4", cellWidth(column_0))
164
- })
165
- }, column_0);
166
- }
167
- function _temp(column) {
168
- return /*#__PURE__*/_jsx(TableHead, {
169
- children: /*#__PURE__*/_jsx(SkeletonBar, {
170
- className: "h-3 w-16"
171
- })
172
- }, column);
51
+ })]
52
+ });
173
53
  }
174
54
  export { SkeletonTable };