sheerly 0.0.1

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 (140) hide show
  1. package/README.md +3 -0
  2. package/lib/accordion.css +1 -0
  3. package/lib/accordion.d.ts +6 -0
  4. package/lib/alert.css +1 -0
  5. package/lib/alert.d.ts +8 -0
  6. package/lib/avatar.css +1 -0
  7. package/lib/avatar.d.ts +13 -0
  8. package/lib/badge.css +1 -0
  9. package/lib/badge.d.ts +5 -0
  10. package/lib/breadcrumb.css +1 -0
  11. package/lib/breadcrumb.d.ts +8 -0
  12. package/lib/button.css +1 -0
  13. package/lib/button.d.ts +7 -0
  14. package/lib/card.css +1 -0
  15. package/lib/card.d.ts +14 -0
  16. package/lib/carousel.css +1 -0
  17. package/lib/carousel.d.ts +21 -0
  18. package/lib/checkbox.css +1 -0
  19. package/lib/checkbox.d.ts +3 -0
  20. package/lib/cn.d.ts +5 -0
  21. package/lib/dialog.css +1 -0
  22. package/lib/dialog.d.ts +15 -0
  23. package/lib/dropdown-menu.css +1 -0
  24. package/lib/dropdown-menu.d.ts +49 -0
  25. package/lib/hover-card.css +1 -0
  26. package/lib/hover-card.d.ts +7 -0
  27. package/lib/index.css +1 -0
  28. package/lib/index.d.ts +33 -0
  29. package/lib/index.js +652 -0
  30. package/lib/input.css +1 -0
  31. package/lib/input.d.ts +5 -0
  32. package/lib/kbd.css +1 -0
  33. package/lib/kbd.d.ts +5 -0
  34. package/lib/label.css +1 -0
  35. package/lib/label.d.ts +5 -0
  36. package/lib/pagination.css +1 -0
  37. package/lib/pagination.d.ts +17 -0
  38. package/lib/popover.css +1 -0
  39. package/lib/popover.d.ts +7 -0
  40. package/lib/progress.css +1 -0
  41. package/lib/progress.d.ts +6 -0
  42. package/lib/radio.css +1 -0
  43. package/lib/radio.d.ts +5 -0
  44. package/lib/root.css +1 -0
  45. package/lib/select.css +1 -0
  46. package/lib/select.d.ts +10 -0
  47. package/lib/separator.css +1 -0
  48. package/lib/separator.d.ts +5 -0
  49. package/lib/sheet.css +1 -0
  50. package/lib/sheet.d.ts +16 -0
  51. package/lib/skeleton.css +1 -0
  52. package/lib/skeleton.d.ts +3 -0
  53. package/lib/slider.css +1 -0
  54. package/lib/slider.d.ts +3 -0
  55. package/lib/spinner.css +1 -0
  56. package/lib/spinner.d.ts +10 -0
  57. package/lib/switch.css +1 -0
  58. package/lib/switch.d.ts +5 -0
  59. package/lib/table.css +1 -0
  60. package/lib/table.d.ts +5 -0
  61. package/lib/tabs.css +1 -0
  62. package/lib/tabs.d.ts +13 -0
  63. package/lib/textarea.css +1 -0
  64. package/lib/textarea.d.ts +3 -0
  65. package/lib/toggle.css +1 -0
  66. package/lib/toggle.d.ts +16 -0
  67. package/lib/tooltip.css +1 -0
  68. package/lib/tooltip.d.ts +7 -0
  69. package/lib/typography.css +1 -0
  70. package/lib/typography.d.ts +9 -0
  71. package/package.json +33 -0
  72. package/src/accordion.css +108 -0
  73. package/src/accordion.tsx +15 -0
  74. package/src/alert.css +126 -0
  75. package/src/alert.tsx +25 -0
  76. package/src/avatar.css +75 -0
  77. package/src/avatar.tsx +30 -0
  78. package/src/badge.css +71 -0
  79. package/src/badge.tsx +19 -0
  80. package/src/breadcrumb.css +166 -0
  81. package/src/breadcrumb.tsx +71 -0
  82. package/src/button.css +214 -0
  83. package/src/button.tsx +30 -0
  84. package/src/card.css +99 -0
  85. package/src/card.tsx +41 -0
  86. package/src/carousel.css +183 -0
  87. package/src/carousel.tsx +30 -0
  88. package/src/checkbox.css +56 -0
  89. package/src/checkbox.tsx +10 -0
  90. package/src/cn.ts +7 -0
  91. package/src/dialog.css +175 -0
  92. package/src/dialog.tsx +47 -0
  93. package/src/dropdown-menu.css +257 -0
  94. package/src/dropdown-menu.tsx +88 -0
  95. package/src/hover-card.css +75 -0
  96. package/src/hover-card.tsx +16 -0
  97. package/src/index.css +33 -0
  98. package/src/index.ts +37 -0
  99. package/src/input.css +62 -0
  100. package/src/input.tsx +10 -0
  101. package/src/kbd.css +32 -0
  102. package/src/kbd.tsx +14 -0
  103. package/src/label.css +17 -0
  104. package/src/label.tsx +10 -0
  105. package/src/pagination.css +150 -0
  106. package/src/pagination.tsx +95 -0
  107. package/src/popover.css +65 -0
  108. package/src/popover.tsx +16 -0
  109. package/src/progress.css +79 -0
  110. package/src/progress.tsx +19 -0
  111. package/src/radio.css +61 -0
  112. package/src/radio.tsx +14 -0
  113. package/src/root.css +78 -0
  114. package/src/select.css +164 -0
  115. package/src/select.tsx +22 -0
  116. package/src/separator.css +14 -0
  117. package/src/separator.tsx +10 -0
  118. package/src/sheet.css +225 -0
  119. package/src/sheet.tsx +48 -0
  120. package/src/skeleton.css +15 -0
  121. package/src/skeleton.tsx +8 -0
  122. package/src/slider.css +68 -0
  123. package/src/slider.tsx +8 -0
  124. package/src/spinner.css +43 -0
  125. package/src/spinner.tsx +24 -0
  126. package/src/switch.css +79 -0
  127. package/src/switch.tsx +18 -0
  128. package/src/table.css +77 -0
  129. package/src/table.tsx +14 -0
  130. package/src/tabs.css +110 -0
  131. package/src/tabs.tsx +38 -0
  132. package/src/textarea.css +38 -0
  133. package/src/textarea.tsx +8 -0
  134. package/src/toggle.css +148 -0
  135. package/src/toggle.tsx +47 -0
  136. package/src/tooltip.css +60 -0
  137. package/src/tooltip.tsx +16 -0
  138. package/src/types.d.ts +42 -0
  139. package/src/typography.css +176 -0
  140. package/src/typography.tsx +13 -0
package/lib/index.js ADDED
@@ -0,0 +1,652 @@
1
+ import { jsx as e, jsxs as t } from "react/jsx-runtime";
2
+ //#region src/cn.ts
3
+ function n(...e) {
4
+ return e.filter(Boolean).join(" ");
5
+ }
6
+ //#endregion
7
+ //#region src/accordion.tsx
8
+ function r({ className: t, ...r }) {
9
+ return /* @__PURE__ */ e("details", {
10
+ className: n("sheerly-accordion", t),
11
+ ...r
12
+ });
13
+ }
14
+ function i({ className: t, ...r }) {
15
+ return /* @__PURE__ */ e("div", {
16
+ className: n("sheerly-accordion-content", t),
17
+ ...r
18
+ });
19
+ }
20
+ //#endregion
21
+ //#region src/alert.tsx
22
+ function a({ className: t, role: r = "alert", ...i }) {
23
+ return /* @__PURE__ */ e("div", {
24
+ role: r,
25
+ className: n("sheerly-alert", t),
26
+ ...i
27
+ });
28
+ }
29
+ function o({ className: t, ...r }) {
30
+ return /* @__PURE__ */ e("div", {
31
+ className: n("sheerly-alert-title", t),
32
+ ...r
33
+ });
34
+ }
35
+ function s({ className: t, ...r }) {
36
+ return /* @__PURE__ */ e("div", {
37
+ className: n("sheerly-alert-description", t),
38
+ ...r
39
+ });
40
+ }
41
+ function c({ className: t, ...r }) {
42
+ return /* @__PURE__ */ e("div", {
43
+ className: n("sheerly-alert-action", t),
44
+ ...r
45
+ });
46
+ }
47
+ //#endregion
48
+ //#region src/avatar.tsx
49
+ function l({ className: t, ...r }) {
50
+ return /* @__PURE__ */ e("div", {
51
+ className: n("sheerly-avatar", t),
52
+ ...r
53
+ });
54
+ }
55
+ function u(t) {
56
+ return /* @__PURE__ */ e("img", { ...t });
57
+ }
58
+ function d({ className: t, ...r }) {
59
+ return /* @__PURE__ */ e("span", {
60
+ className: n("sheerly-avatar-fallback", t),
61
+ ...r
62
+ });
63
+ }
64
+ function f({ className: t, ...r }) {
65
+ return /* @__PURE__ */ e("div", {
66
+ className: n("sheerly-avatar-group", t),
67
+ ...r
68
+ });
69
+ }
70
+ //#endregion
71
+ //#region src/badge.tsx
72
+ function ee({ className: t, ...r }) {
73
+ return /* @__PURE__ */ e("span", {
74
+ className: n("sheerly-badge", t),
75
+ ...r
76
+ });
77
+ }
78
+ //#endregion
79
+ //#region src/breadcrumb.tsx
80
+ function te({ className: t, ...r }) {
81
+ return /* @__PURE__ */ e("nav", {
82
+ "aria-label": "breadcrumb",
83
+ className: n("sheerly-breadcrumb", t),
84
+ ...r
85
+ });
86
+ }
87
+ function ne({ className: t, ...r }) {
88
+ return /* @__PURE__ */ e("ol", {
89
+ className: n("sheerly-breadcrumb-list", t),
90
+ ...r
91
+ });
92
+ }
93
+ function p({ className: t, ...r }) {
94
+ return /* @__PURE__ */ e("li", {
95
+ className: n("sheerly-breadcrumb-item", t),
96
+ ...r
97
+ });
98
+ }
99
+ function m({ className: t, ...r }) {
100
+ return /* @__PURE__ */ e("a", {
101
+ className: n("sheerly-breadcrumb-link", t),
102
+ ...r
103
+ });
104
+ }
105
+ function h({ className: t, ...r }) {
106
+ return /* @__PURE__ */ e("span", {
107
+ role: "link",
108
+ "aria-disabled": "true",
109
+ "aria-current": "page",
110
+ className: n("sheerly-breadcrumb-page", t),
111
+ ...r
112
+ });
113
+ }
114
+ function g({ className: t, children: r, ...i }) {
115
+ return /* @__PURE__ */ e("li", {
116
+ role: "presentation",
117
+ "aria-hidden": "true",
118
+ className: n("sheerly-breadcrumb-separator", t),
119
+ ...i,
120
+ children: r
121
+ });
122
+ }
123
+ function _({ className: t, children: r, ...i }) {
124
+ return /* @__PURE__ */ e("span", {
125
+ role: "presentation",
126
+ "aria-hidden": "true",
127
+ "aria-label": "More",
128
+ className: n("sheerly-breadcrumb-ellipsis", t),
129
+ ...i,
130
+ children: r
131
+ });
132
+ }
133
+ //#endregion
134
+ //#region src/button.tsx
135
+ function v({ className: t, ...r }) {
136
+ return /* @__PURE__ */ e("button", {
137
+ className: n("sheerly-button", t),
138
+ ...r
139
+ });
140
+ }
141
+ //#endregion
142
+ //#region src/card.tsx
143
+ function y({ className: t, ...r }) {
144
+ return /* @__PURE__ */ e("div", {
145
+ className: n("sheerly-card", t),
146
+ ...r
147
+ });
148
+ }
149
+ function b({ className: t, ...r }) {
150
+ return /* @__PURE__ */ e("div", {
151
+ className: n("sheerly-card-header", t),
152
+ ...r
153
+ });
154
+ }
155
+ function x({ className: t, ...r }) {
156
+ return /* @__PURE__ */ e("h3", {
157
+ className: n("sheerly-card-title", t),
158
+ ...r
159
+ });
160
+ }
161
+ function S({ className: t, ...r }) {
162
+ return /* @__PURE__ */ e("p", {
163
+ className: n("sheerly-card-description", t),
164
+ ...r
165
+ });
166
+ }
167
+ function C({ className: t, ...r }) {
168
+ return /* @__PURE__ */ e("div", {
169
+ className: n("sheerly-card-action", t),
170
+ ...r
171
+ });
172
+ }
173
+ function w({ className: t, ...r }) {
174
+ return /* @__PURE__ */ e("div", {
175
+ className: n("sheerly-card-content", t),
176
+ ...r
177
+ });
178
+ }
179
+ function T({ className: t, ...r }) {
180
+ return /* @__PURE__ */ e("div", {
181
+ className: n("sheerly-card-footer", t),
182
+ ...r
183
+ });
184
+ }
185
+ //#endregion
186
+ //#region src/carousel.tsx
187
+ function E({ className: t, ...r }) {
188
+ return /* @__PURE__ */ e("div", {
189
+ className: n("sheerly-carousel", t),
190
+ ...r
191
+ });
192
+ }
193
+ function D({ className: t, ...r }) {
194
+ return /* @__PURE__ */ e("div", {
195
+ className: n("sheerly-carousel-item", t),
196
+ ...r
197
+ });
198
+ }
199
+ //#endregion
200
+ //#region src/checkbox.tsx
201
+ function O({ className: t, ...r }) {
202
+ return /* @__PURE__ */ e("input", {
203
+ type: "checkbox",
204
+ className: n("sheerly-checkbox", t),
205
+ ...r
206
+ });
207
+ }
208
+ //#endregion
209
+ //#region src/dialog.tsx
210
+ function k({ className: t, ...r }) {
211
+ return /* @__PURE__ */ e("dialog", {
212
+ className: n("sheerly-dialog", t),
213
+ ...r
214
+ });
215
+ }
216
+ function A({ className: t, ...r }) {
217
+ return /* @__PURE__ */ e("div", {
218
+ className: n("sheerly-dialog-header", t),
219
+ ...r
220
+ });
221
+ }
222
+ function j({ className: t, ...r }) {
223
+ return /* @__PURE__ */ e("h3", {
224
+ className: n("sheerly-dialog-title", t),
225
+ ...r
226
+ });
227
+ }
228
+ function M({ className: t, ...r }) {
229
+ return /* @__PURE__ */ e("p", {
230
+ className: n("sheerly-dialog-description", t),
231
+ ...r
232
+ });
233
+ }
234
+ function N({ className: t, ...r }) {
235
+ return /* @__PURE__ */ e("div", {
236
+ className: n("sheerly-dialog-body", t),
237
+ ...r
238
+ });
239
+ }
240
+ function P({ className: t, ...r }) {
241
+ return /* @__PURE__ */ e("div", {
242
+ className: n("sheerly-dialog-footer", t),
243
+ ...r
244
+ });
245
+ }
246
+ function F({ className: t, type: r = "button", ...i }) {
247
+ return /* @__PURE__ */ e("button", {
248
+ type: r,
249
+ className: n("sheerly-dialog-close", t),
250
+ ...i
251
+ });
252
+ }
253
+ //#endregion
254
+ //#region src/dropdown-menu.tsx
255
+ function I({ className: t, ...r }) {
256
+ return /* @__PURE__ */ e("span", {
257
+ className: n("sheerly-dropdown-menu", t),
258
+ ...r
259
+ });
260
+ }
261
+ function L({ className: t, ...r }) {
262
+ return /* @__PURE__ */ e("div", {
263
+ className: n("sheerly-dropdown-menu-content", t),
264
+ ...r
265
+ });
266
+ }
267
+ function R({ className: t, ...r }) {
268
+ return /* @__PURE__ */ e("div", {
269
+ className: n("sheerly-dropdown-menu-group", t),
270
+ ...r
271
+ });
272
+ }
273
+ function z({ className: t, ...r }) {
274
+ return /* @__PURE__ */ e("div", {
275
+ className: n("sheerly-dropdown-menu-label", t),
276
+ ...r
277
+ });
278
+ }
279
+ function B({ className: t, type: r = "button", ...i }) {
280
+ return /* @__PURE__ */ e("button", {
281
+ type: r,
282
+ className: n("sheerly-dropdown-menu-item", t),
283
+ ...i
284
+ });
285
+ }
286
+ function V({ className: t, ...r }) {
287
+ return /* @__PURE__ */ e("a", {
288
+ className: n("sheerly-dropdown-menu-item", t),
289
+ ...r
290
+ });
291
+ }
292
+ function H({ className: t, ...r }) {
293
+ return /* @__PURE__ */ e("span", {
294
+ className: n("sheerly-dropdown-menu-shortcut", t),
295
+ ...r
296
+ });
297
+ }
298
+ function U({ className: t, ...r }) {
299
+ return /* @__PURE__ */ e("div", {
300
+ role: "separator",
301
+ className: n("sheerly-dropdown-menu-separator", t),
302
+ ...r
303
+ });
304
+ }
305
+ function W({ className: t, ...r }) {
306
+ return /* @__PURE__ */ e("div", {
307
+ className: n("sheerly-dropdown-menu-sub", t),
308
+ ...r
309
+ });
310
+ }
311
+ function G({ className: t, type: r = "button", ...i }) {
312
+ return /* @__PURE__ */ e("button", {
313
+ type: r,
314
+ className: n("sheerly-dropdown-menu-sub-trigger", t),
315
+ ...i
316
+ });
317
+ }
318
+ function K({ className: t, ...r }) {
319
+ return /* @__PURE__ */ e("div", {
320
+ className: n("sheerly-dropdown-menu-content", t),
321
+ ...r
322
+ });
323
+ }
324
+ //#endregion
325
+ //#region src/hover-card.tsx
326
+ function q({ className: t, ...r }) {
327
+ return /* @__PURE__ */ e("span", {
328
+ className: n("sheerly-hover-card", t),
329
+ ...r
330
+ });
331
+ }
332
+ function J({ className: t, ...r }) {
333
+ return /* @__PURE__ */ e("div", {
334
+ className: n("sheerly-hover-card-content", t),
335
+ ...r
336
+ });
337
+ }
338
+ //#endregion
339
+ //#region src/input.tsx
340
+ function Y({ className: t, ...r }) {
341
+ return /* @__PURE__ */ e("input", {
342
+ className: n("sheerly-input", t),
343
+ ...r
344
+ });
345
+ }
346
+ //#endregion
347
+ //#region src/kbd.tsx
348
+ function X({ className: t, ...r }) {
349
+ return /* @__PURE__ */ e("kbd", {
350
+ className: n("sheerly-kbd", t),
351
+ ...r
352
+ });
353
+ }
354
+ function Z({ className: t, ...r }) {
355
+ return /* @__PURE__ */ e("span", {
356
+ className: n("sheerly-kbd-group", t),
357
+ ...r
358
+ });
359
+ }
360
+ //#endregion
361
+ //#region src/label.tsx
362
+ function re({ className: t, ...r }) {
363
+ return /* @__PURE__ */ e("label", {
364
+ className: n("sheerly-label", t),
365
+ ...r
366
+ });
367
+ }
368
+ //#endregion
369
+ //#region src/pagination.tsx
370
+ function ie({ className: t, ...r }) {
371
+ return /* @__PURE__ */ e("nav", {
372
+ role: "navigation",
373
+ "aria-label": "pagination",
374
+ className: n("sheerly-pagination", t),
375
+ ...r
376
+ });
377
+ }
378
+ function ae({ className: t, ...r }) {
379
+ return /* @__PURE__ */ e("ul", {
380
+ className: n("sheerly-pagination-content", t),
381
+ ...r
382
+ });
383
+ }
384
+ function oe({ className: t, ...r }) {
385
+ return /* @__PURE__ */ e("li", {
386
+ className: n("sheerly-pagination-item", t),
387
+ ...r
388
+ });
389
+ }
390
+ function Q({ className: t, isActive: r, ...i }) {
391
+ return /* @__PURE__ */ e("a", {
392
+ "aria-current": r ? "page" : void 0,
393
+ className: n("sheerly-pagination-link", t),
394
+ ...i
395
+ });
396
+ }
397
+ function se({ className: t, text: n = "Previous", children: r, ...i }) {
398
+ return /* @__PURE__ */ e(Q, {
399
+ "aria-label": "Go to previous page",
400
+ "data-role": "previous",
401
+ className: t,
402
+ ...i,
403
+ children: r ?? n
404
+ });
405
+ }
406
+ function ce({ className: t, text: n = "Next", children: r, ...i }) {
407
+ return /* @__PURE__ */ e(Q, {
408
+ "aria-label": "Go to next page",
409
+ "data-role": "next",
410
+ className: t,
411
+ ...i,
412
+ children: r ?? n
413
+ });
414
+ }
415
+ function le({ className: t, ...r }) {
416
+ return /* @__PURE__ */ e("span", {
417
+ "aria-hidden": !0,
418
+ className: n("sheerly-pagination-ellipsis", t),
419
+ ...r,
420
+ children: "…"
421
+ });
422
+ }
423
+ //#endregion
424
+ //#region src/popover.tsx
425
+ function ue({ className: t, ...r }) {
426
+ return /* @__PURE__ */ e("span", {
427
+ className: n("sheerly-popover", t),
428
+ ...r
429
+ });
430
+ }
431
+ function de({ className: t, ...r }) {
432
+ return /* @__PURE__ */ e("div", {
433
+ className: n("sheerly-popover-content", t),
434
+ ...r
435
+ });
436
+ }
437
+ //#endregion
438
+ //#region src/progress.tsx
439
+ function fe({ className: t, ...r }) {
440
+ return /* @__PURE__ */ e("progress", {
441
+ className: n("sheerly-progress", t),
442
+ ...r
443
+ });
444
+ }
445
+ //#endregion
446
+ //#region src/radio.tsx
447
+ function pe({ className: t, ...r }) {
448
+ return /* @__PURE__ */ e("div", {
449
+ className: n("sheerly-radio-group", t),
450
+ ...r
451
+ });
452
+ }
453
+ function me({ className: t, ...r }) {
454
+ return /* @__PURE__ */ e("input", {
455
+ type: "radio",
456
+ className: n("sheerly-radio", t),
457
+ ...r
458
+ });
459
+ }
460
+ //#endregion
461
+ //#region src/select.tsx
462
+ function he({ className: r, children: i, ...a }) {
463
+ return /* @__PURE__ */ t("select", {
464
+ className: n("sheerly-select", r),
465
+ ...a,
466
+ children: [/* @__PURE__ */ e("button", { children: /* @__PURE__ */ e("selectedcontent", {}) }), i]
467
+ });
468
+ }
469
+ //#endregion
470
+ //#region src/separator.tsx
471
+ function ge({ className: t, ...r }) {
472
+ return /* @__PURE__ */ e("div", {
473
+ className: n("sheerly-separator", t),
474
+ ...r
475
+ });
476
+ }
477
+ //#endregion
478
+ //#region src/sheet.tsx
479
+ function _e({ className: t, ...r }) {
480
+ return /* @__PURE__ */ e("dialog", {
481
+ className: n("sheerly-sheet", t),
482
+ ...r
483
+ });
484
+ }
485
+ function ve({ className: t, ...r }) {
486
+ return /* @__PURE__ */ e("div", {
487
+ className: n("sheerly-sheet-header", t),
488
+ ...r
489
+ });
490
+ }
491
+ function ye({ className: t, ...r }) {
492
+ return /* @__PURE__ */ e("h3", {
493
+ className: n("sheerly-sheet-title", t),
494
+ ...r
495
+ });
496
+ }
497
+ function be({ className: t, ...r }) {
498
+ return /* @__PURE__ */ e("p", {
499
+ className: n("sheerly-sheet-description", t),
500
+ ...r
501
+ });
502
+ }
503
+ function xe({ className: t, ...r }) {
504
+ return /* @__PURE__ */ e("div", {
505
+ className: n("sheerly-sheet-body", t),
506
+ ...r
507
+ });
508
+ }
509
+ function Se({ className: t, ...r }) {
510
+ return /* @__PURE__ */ e("div", {
511
+ className: n("sheerly-sheet-footer", t),
512
+ ...r
513
+ });
514
+ }
515
+ function Ce({ className: t, type: r = "button", ...i }) {
516
+ return /* @__PURE__ */ e("button", {
517
+ type: r,
518
+ className: n("sheerly-sheet-close", t),
519
+ ...i
520
+ });
521
+ }
522
+ //#endregion
523
+ //#region src/skeleton.tsx
524
+ function we({ className: t, ...r }) {
525
+ return /* @__PURE__ */ e("div", {
526
+ className: n("sheerly-skeleton", t),
527
+ ...r
528
+ });
529
+ }
530
+ //#endregion
531
+ //#region src/slider.tsx
532
+ function Te({ className: t, ...r }) {
533
+ return /* @__PURE__ */ e("input", {
534
+ type: "range",
535
+ className: n("sheerly-slider", t),
536
+ ...r
537
+ });
538
+ }
539
+ //#endregion
540
+ //#region src/spinner.tsx
541
+ function Ee({ className: t, children: r, ...i }) {
542
+ return /* @__PURE__ */ e("span", {
543
+ className: n("sheerly-spinner", t),
544
+ role: "status",
545
+ "aria-label": "Loading",
546
+ ...i,
547
+ children: r
548
+ });
549
+ }
550
+ //#endregion
551
+ //#region src/switch.tsx
552
+ function De({ className: t, ...r }) {
553
+ return /* @__PURE__ */ e("input", {
554
+ type: "checkbox",
555
+ role: "switch",
556
+ className: n("sheerly-switch", t),
557
+ ...r
558
+ });
559
+ }
560
+ //#endregion
561
+ //#region src/table.tsx
562
+ function $({ className: t, ...r }) {
563
+ return /* @__PURE__ */ e("div", {
564
+ className: n("sheerly-table-container", t),
565
+ ...r
566
+ });
567
+ }
568
+ function Oe({ className: t, ...r }) {
569
+ return /* @__PURE__ */ e("table", {
570
+ className: n("sheerly-table", t),
571
+ ...r
572
+ });
573
+ }
574
+ //#endregion
575
+ //#region src/tabs.tsx
576
+ function ke({ className: t, ...r }) {
577
+ return /* @__PURE__ */ e("div", {
578
+ className: n("sheerly-tabs", t),
579
+ ...r
580
+ });
581
+ }
582
+ function Ae({ className: t, role: r = "tablist", ...i }) {
583
+ return /* @__PURE__ */ e("div", {
584
+ role: r,
585
+ className: n("sheerly-tabs-list", t),
586
+ ...i
587
+ });
588
+ }
589
+ function je({ className: t, role: r = "tab", ...i }) {
590
+ return /* @__PURE__ */ e("button", {
591
+ role: r,
592
+ className: n("sheerly-tabs-trigger", t),
593
+ ...i
594
+ });
595
+ }
596
+ function Me({ className: t, role: r = "tabpanel", ...i }) {
597
+ return /* @__PURE__ */ e("div", {
598
+ role: r,
599
+ className: n("sheerly-tabs-content", t),
600
+ ...i
601
+ });
602
+ }
603
+ //#endregion
604
+ //#region src/textarea.tsx
605
+ function Ne({ className: t, ...r }) {
606
+ return /* @__PURE__ */ e("textarea", {
607
+ className: n("sheerly-textarea", t),
608
+ ...r
609
+ });
610
+ }
611
+ //#endregion
612
+ //#region src/toggle.tsx
613
+ function Pe({ className: r, pressed: i, defaultPressed: a, onPressedChange: o, disabled: s, name: c, value: l, children: u, ...d }) {
614
+ let f = (e) => o?.(e.target.checked);
615
+ return /* @__PURE__ */ t("label", {
616
+ className: n("sheerly-toggle", r),
617
+ ...d,
618
+ children: [/* @__PURE__ */ e("input", {
619
+ type: "checkbox",
620
+ checked: i,
621
+ defaultChecked: a,
622
+ onChange: f,
623
+ disabled: s,
624
+ name: c,
625
+ value: l
626
+ }), u]
627
+ });
628
+ }
629
+ //#endregion
630
+ //#region src/tooltip.tsx
631
+ function Fe({ className: t, ...r }) {
632
+ return /* @__PURE__ */ e("span", {
633
+ className: n("sheerly-tooltip", t),
634
+ ...r
635
+ });
636
+ }
637
+ function Ie({ className: t, ...r }) {
638
+ return /* @__PURE__ */ e("span", {
639
+ className: n("sheerly-tooltip-content", t),
640
+ ...r
641
+ });
642
+ }
643
+ //#endregion
644
+ //#region src/typography.tsx
645
+ function Le({ className: t, ...r }) {
646
+ return /* @__PURE__ */ e("div", {
647
+ className: n("sheerly-typography", t),
648
+ ...r
649
+ });
650
+ }
651
+ //#endregion
652
+ export { r as Accordion, i as AccordionContent, a as Alert, c as AlertAction, s as AlertDescription, o as AlertTitle, l as Avatar, d as AvatarFallback, f as AvatarGroup, u as AvatarImage, ee as Badge, te as Breadcrumb, _ as BreadcrumbEllipsis, p as BreadcrumbItem, m as BreadcrumbLink, ne as BreadcrumbList, h as BreadcrumbPage, g as BreadcrumbSeparator, v as Button, y as Card, C as CardAction, w as CardContent, S as CardDescription, T as CardFooter, b as CardHeader, x as CardTitle, E as Carousel, D as CarouselItem, O as Checkbox, k as Dialog, N as DialogBody, F as DialogClose, M as DialogDescription, P as DialogFooter, A as DialogHeader, j as DialogTitle, I as DropdownMenu, L as DropdownMenuContent, R as DropdownMenuGroup, B as DropdownMenuItem, z as DropdownMenuLabel, V as DropdownMenuLinkItem, U as DropdownMenuSeparator, H as DropdownMenuShortcut, W as DropdownMenuSub, K as DropdownMenuSubContent, G as DropdownMenuSubTrigger, q as HoverCard, J as HoverCardContent, Y as Input, X as Kbd, Z as KbdGroup, re as Label, ie as Pagination, ae as PaginationContent, le as PaginationEllipsis, oe as PaginationItem, Q as PaginationLink, ce as PaginationNext, se as PaginationPrevious, ue as Popover, de as PopoverContent, fe as Progress, me as Radio, pe as RadioGroup, he as Select, ge as Separator, _e as Sheet, xe as SheetBody, Ce as SheetClose, be as SheetDescription, Se as SheetFooter, ve as SheetHeader, ye as SheetTitle, we as Skeleton, Te as Slider, Ee as Spinner, De as Switch, Oe as Table, $ as TableContainer, ke as Tabs, Me as TabsContent, Ae as TabsList, je as TabsTrigger, Ne as Textarea, Pe as Toggle, Fe as Tooltip, Ie as TooltipContent, Le as Typography, n as cn };
package/lib/input.css ADDED
@@ -0,0 +1 @@
1
+ .sheerly-input{border-radius:var(--sheerly-radius-lg);border:1px solid var(--sheerly-input);width:100%;min-width:0;color:var(--sheerly-foreground);background-color:#0000;outline:none;height:32px;padding:0 10px;font-family:Geist Sans,system-ui,-apple-system,sans-serif;font-size:14px;font-weight:400;line-height:20px;transition:border-color .15s,box-shadow .15s}.sheerly-input::placeholder{color:var(--sheerly-muted-foreground)}.sheerly-input:focus-visible{border-color:var(--sheerly-ring);box-shadow:var(--sheerly-focus-ring)}.sheerly-input:disabled{pointer-events:none;cursor:not-allowed;opacity:.5;background-color:oklch(from var(--sheerly-input) l c h / 50%)}.sheerly-input[aria-invalid=true]{border-color:var(--sheerly-destructive);box-shadow:0 0 0 3px oklch(from var(--sheerly-destructive) l c h / 20%)}.sheerly-input::file-selector-button{height:24px;color:var(--sheerly-foreground);background-color:#0000;border:0;margin-right:8px;font-size:14px;font-weight:500;display:inline-flex}.sheerly-input[data-size=sm]{height:28px;font-size:13px}.sheerly-input[data-size=lg]{height:36px}
package/lib/input.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ import { InputHTMLAttributes } from 'react';
2
+ export interface InputProps extends InputHTMLAttributes<HTMLInputElement> {
3
+ 'data-size'?: 'xs' | 'sm' | 'default' | 'lg';
4
+ }
5
+ export declare function Input({ className, ...props }: InputProps): import("react").JSX.Element;
package/lib/kbd.css ADDED
@@ -0,0 +1 @@
1
+ .sheerly-kbd{background-color:var(--sheerly-muted);width:fit-content;min-width:20px;height:20px;color:var(--sheerly-muted-foreground);-webkit-user-select:none;user-select:none;pointer-events:none;border-radius:4px;justify-content:center;align-items:center;gap:4px;padding:0 4px;font-family:Geist Sans,system-ui,-apple-system,sans-serif;font-size:12px;font-weight:500;line-height:16px;display:inline-flex}.sheerly-kbd svg{width:12px;height:12px}.sheerly-kbd-group{align-items:center;gap:4px;display:inline-flex}
package/lib/kbd.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ import { HTMLAttributes } from 'react';
2
+ export type KbdProps = HTMLAttributes<HTMLElement>;
3
+ export declare function Kbd({ className, ...props }: KbdProps): import("react").JSX.Element;
4
+ export type KbdGroupProps = HTMLAttributes<HTMLElement>;
5
+ export declare function KbdGroup({ className, ...props }: KbdGroupProps): import("react").JSX.Element;
package/lib/label.css ADDED
@@ -0,0 +1 @@
1
+ .sheerly-label{color:var(--sheerly-foreground);-webkit-user-select:none;user-select:none;align-items:center;gap:8px;font-family:Geist Sans,system-ui,-apple-system,sans-serif;font-size:14px;font-weight:400;line-height:20px;display:flex}.sheerly-label[data-disabled=true]{color:var(--sheerly-muted-foreground);pointer-events:none}
package/lib/label.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ import { LabelHTMLAttributes } from 'react';
2
+ export interface LabelProps extends LabelHTMLAttributes<HTMLLabelElement> {
3
+ 'data-disabled'?: 'true';
4
+ }
5
+ export declare function Label({ className, ...props }: LabelProps): import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ .sheerly-pagination{justify-content:center;width:100%;margin-inline:auto;font-family:Geist Sans,system-ui,-apple-system,sans-serif;display:flex}.sheerly-pagination-content{flex-flow:wrap;align-items:center;gap:4px;margin:0;padding:0;list-style:none;display:flex}.sheerly-pagination-item{display:flex}.sheerly-pagination-link{border-radius:var(--sheerly-radius-lg);min-width:32px;height:32px;color:var(--sheerly-foreground);white-space:nowrap;-webkit-user-select:none;user-select:none;cursor:pointer;background-color:#0000;border:1px solid #0000;outline:none;flex-shrink:0;justify-content:center;align-items:center;gap:4px;padding:0 10px;font-size:14px;font-weight:500;line-height:20px;text-decoration:none;transition:all .15s;display:inline-flex}.sheerly-pagination-link:hover{background-color:var(--sheerly-accent);color:var(--sheerly-accent-foreground)}.sheerly-pagination-link:active{translate:0 1px}.sheerly-pagination-link:focus-visible{border-color:var(--sheerly-ring);box-shadow:var(--sheerly-focus-ring)}.sheerly-pagination-link[aria-disabled=true],.sheerly-pagination-link:disabled{pointer-events:none;opacity:.5}.sheerly-pagination-link[aria-current=page]{background-color:var(--sheerly-background);border-color:var(--sheerly-border);color:var(--sheerly-foreground)}.sheerly-pagination-link[aria-current=page]:hover{background-color:var(--sheerly-accent)}.sheerly-pagination-link svg{pointer-events:none;flex-shrink:0;width:16px;height:16px}.sheerly-pagination-link[data-role=previous],.sheerly-pagination-link[data-role=next]{gap:4px;padding:0 10px}.sheerly-pagination-link[data-role=previous]:before,.sheerly-pagination-link[data-role=next]:after{content:"";background-color:currentColor;flex-shrink:0;width:16px;height:16px}.sheerly-pagination-link[data-role=previous]:before{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 18-6-6 6-6'/%3E%3C/svg%3E") 50%/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 18-6-6 6-6'/%3E%3C/svg%3E") 50%/contain no-repeat}.sheerly-pagination-link[data-role=next]:after{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") 50%/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") 50%/contain no-repeat}.sheerly-pagination-ellipsis{width:32px;height:32px;color:var(--sheerly-muted-foreground);-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;font-size:14px;line-height:1;display:inline-flex}