sheerly 0.0.2 → 0.0.4
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/README.md +48 -0
- package/lib/accordion.css +1 -1
- package/lib/accordion.d.ts +2 -2
- package/lib/alert.css +1 -1
- package/lib/alert.d.ts +4 -4
- package/lib/avatar.css +1 -1
- package/lib/avatar.d.ts +4 -4
- package/lib/badge.css +1 -1
- package/lib/badge.d.ts +1 -1
- package/lib/breadcrumb.css +1 -1
- package/lib/breadcrumb.d.ts +34 -8
- package/lib/button.css +1 -1
- package/lib/button.d.ts +1 -1
- package/lib/card.css +1 -1
- package/lib/card.d.ts +7 -7
- package/lib/carousel.d.ts +2 -2
- package/lib/checkbox.d.ts +1 -1
- package/lib/dialog.css +1 -1
- package/lib/dialog.d.ts +7 -7
- package/lib/dropdown-menu.css +1 -1
- package/lib/dropdown-menu.d.ts +20 -15
- package/lib/hover-card.css +1 -1
- package/lib/hover-card.d.ts +2 -2
- package/lib/index.css +1 -1
- package/lib/index.js +95 -95
- package/lib/input.css +1 -1
- package/lib/input.d.ts +1 -1
- package/lib/kbd.css +1 -1
- package/lib/kbd.d.ts +2 -2
- package/lib/label.css +1 -1
- package/lib/label.d.ts +1 -1
- package/lib/pagination.css +1 -1
- package/lib/pagination.d.ts +38 -13
- package/lib/popover.css +1 -1
- package/lib/popover.d.ts +2 -2
- package/lib/progress.d.ts +1 -1
- package/lib/radio.d.ts +2 -2
- package/lib/root.css +1 -1
- package/lib/root.terminal.css +1 -0
- package/lib/scrollbar.d.ts +1 -1
- package/lib/select.css +1 -1
- package/lib/select.d.ts +1 -1
- package/lib/separator.d.ts +1 -1
- package/lib/sheet.css +1 -1
- package/lib/sheet.d.ts +7 -7
- package/lib/skeleton.d.ts +1 -1
- package/lib/slider.d.ts +1 -1
- package/lib/spinner.d.ts +1 -1
- package/lib/switch.d.ts +1 -1
- package/lib/table.css +1 -1
- package/lib/table.d.ts +2 -2
- package/lib/tabs.css +1 -1
- package/lib/tabs.d.ts +10 -7
- package/lib/textarea.css +1 -1
- package/lib/textarea.d.ts +1 -1
- package/lib/toggle.css +1 -1
- package/lib/toggle.d.ts +1 -1
- package/lib/tooltip.css +1 -1
- package/lib/tooltip.d.ts +2 -2
- package/lib/typography.css +1 -1
- package/lib/typography.d.ts +1 -1
- package/package.json +17 -15
- package/src/accordion.css +2 -2
- package/src/alert.css +1 -1
- package/src/avatar.css +1 -1
- package/src/badge.css +1 -1
- package/src/breadcrumb.css +1 -1
- package/src/breadcrumb.tsx +67 -20
- package/src/button.css +1 -1
- package/src/card.css +2 -2
- package/src/dialog.css +2 -2
- package/src/dropdown-menu.css +1 -1
- package/src/dropdown-menu.tsx +21 -8
- package/src/hover-card.css +1 -1
- package/src/input.css +1 -1
- package/src/kbd.css +1 -1
- package/src/label.css +1 -1
- package/src/pagination.css +1 -1
- package/src/pagination.tsx +85 -26
- package/src/popover.css +1 -1
- package/src/root.css +6 -0
- package/src/root.terminal.css +77 -0
- package/src/select.css +1 -1
- package/src/sheet.css +2 -2
- package/src/table.css +1 -1
- package/src/tabs.css +1 -1
- package/src/tabs.tsx +16 -9
- package/src/textarea.css +1 -1
- package/src/toggle.css +1 -1
- package/src/tooltip.css +1 -1
- package/src/typography.css +2 -2
package/lib/index.js
CHANGED
|
@@ -77,32 +77,32 @@ function ee({ as: t, className: r, ...i }) {
|
|
|
77
77
|
}
|
|
78
78
|
//#endregion
|
|
79
79
|
//#region src/breadcrumb.tsx
|
|
80
|
-
function
|
|
81
|
-
return /* @__PURE__ */ e("nav", {
|
|
80
|
+
function p({ as: t, className: r, ...i }) {
|
|
81
|
+
return /* @__PURE__ */ e(t ?? "nav", {
|
|
82
82
|
"aria-label": "breadcrumb",
|
|
83
|
-
className: n("sheerly-breadcrumb",
|
|
84
|
-
...
|
|
83
|
+
className: n("sheerly-breadcrumb", r),
|
|
84
|
+
...i
|
|
85
85
|
});
|
|
86
86
|
}
|
|
87
|
-
function
|
|
88
|
-
return /* @__PURE__ */ e("ol", {
|
|
89
|
-
className: n("sheerly-breadcrumb-list",
|
|
90
|
-
...
|
|
87
|
+
function m({ as: t, className: r, ...i }) {
|
|
88
|
+
return /* @__PURE__ */ e(t ?? "ol", {
|
|
89
|
+
className: n("sheerly-breadcrumb-list", r),
|
|
90
|
+
...i
|
|
91
91
|
});
|
|
92
92
|
}
|
|
93
|
-
function
|
|
94
|
-
return /* @__PURE__ */ e("li", {
|
|
95
|
-
className: n("sheerly-breadcrumb-item",
|
|
96
|
-
...
|
|
93
|
+
function h({ as: t, className: r, ...i }) {
|
|
94
|
+
return /* @__PURE__ */ e(t ?? "li", {
|
|
95
|
+
className: n("sheerly-breadcrumb-item", r),
|
|
96
|
+
...i
|
|
97
97
|
});
|
|
98
98
|
}
|
|
99
|
-
function
|
|
100
|
-
return /* @__PURE__ */ e("a", {
|
|
101
|
-
className: n("sheerly-breadcrumb-link",
|
|
102
|
-
...
|
|
99
|
+
function g({ as: t, className: r, ...i }) {
|
|
100
|
+
return /* @__PURE__ */ e(t ?? "a", {
|
|
101
|
+
className: n("sheerly-breadcrumb-link", r),
|
|
102
|
+
...i
|
|
103
103
|
});
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function _({ as: t, className: r, ...i }) {
|
|
106
106
|
return /* @__PURE__ */ e(t ?? "span", {
|
|
107
107
|
role: "link",
|
|
108
108
|
"aria-disabled": "true",
|
|
@@ -111,28 +111,26 @@ function h({ as: t, className: r, ...i }) {
|
|
|
111
111
|
...i
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
function
|
|
115
|
-
return /* @__PURE__ */ e("li", {
|
|
114
|
+
function v({ as: t, className: r, ...i }) {
|
|
115
|
+
return /* @__PURE__ */ e(t ?? "li", {
|
|
116
116
|
role: "presentation",
|
|
117
117
|
"aria-hidden": "true",
|
|
118
|
-
className: n("sheerly-breadcrumb-separator",
|
|
119
|
-
...i
|
|
120
|
-
children: r
|
|
118
|
+
className: n("sheerly-breadcrumb-separator", r),
|
|
119
|
+
...i
|
|
121
120
|
});
|
|
122
121
|
}
|
|
123
|
-
function
|
|
122
|
+
function y({ as: t, className: r, ...i }) {
|
|
124
123
|
return /* @__PURE__ */ e(t ?? "span", {
|
|
125
124
|
role: "presentation",
|
|
126
125
|
"aria-hidden": "true",
|
|
127
126
|
"aria-label": "More",
|
|
128
127
|
className: n("sheerly-breadcrumb-ellipsis", r),
|
|
129
|
-
...
|
|
130
|
-
children: i
|
|
128
|
+
...i
|
|
131
129
|
});
|
|
132
130
|
}
|
|
133
131
|
//#endregion
|
|
134
132
|
//#region src/button.tsx
|
|
135
|
-
function
|
|
133
|
+
function b({ as: t, className: r, ...i }) {
|
|
136
134
|
return /* @__PURE__ */ e(t ?? "button", {
|
|
137
135
|
className: n("sheerly-button", r),
|
|
138
136
|
...i
|
|
@@ -140,43 +138,43 @@ function v({ as: t, className: r, ...i }) {
|
|
|
140
138
|
}
|
|
141
139
|
//#endregion
|
|
142
140
|
//#region src/card.tsx
|
|
143
|
-
function
|
|
141
|
+
function x({ as: t, className: r, ...i }) {
|
|
144
142
|
return /* @__PURE__ */ e(t ?? "div", {
|
|
145
143
|
className: n("sheerly-card", r),
|
|
146
144
|
...i
|
|
147
145
|
});
|
|
148
146
|
}
|
|
149
|
-
function
|
|
147
|
+
function S({ as: t, className: r, ...i }) {
|
|
150
148
|
return /* @__PURE__ */ e(t ?? "div", {
|
|
151
149
|
className: n("sheerly-card-header", r),
|
|
152
150
|
...i
|
|
153
151
|
});
|
|
154
152
|
}
|
|
155
|
-
function
|
|
153
|
+
function C({ as: t, className: r, ...i }) {
|
|
156
154
|
return /* @__PURE__ */ e(t ?? "h3", {
|
|
157
155
|
className: n("sheerly-card-title", r),
|
|
158
156
|
...i
|
|
159
157
|
});
|
|
160
158
|
}
|
|
161
|
-
function
|
|
159
|
+
function w({ as: t, className: r, ...i }) {
|
|
162
160
|
return /* @__PURE__ */ e(t ?? "p", {
|
|
163
161
|
className: n("sheerly-card-description", r),
|
|
164
162
|
...i
|
|
165
163
|
});
|
|
166
164
|
}
|
|
167
|
-
function
|
|
165
|
+
function T({ as: t, className: r, ...i }) {
|
|
168
166
|
return /* @__PURE__ */ e(t ?? "div", {
|
|
169
167
|
className: n("sheerly-card-action", r),
|
|
170
168
|
...i
|
|
171
169
|
});
|
|
172
170
|
}
|
|
173
|
-
function
|
|
171
|
+
function E({ as: t, className: r, ...i }) {
|
|
174
172
|
return /* @__PURE__ */ e(t ?? "div", {
|
|
175
173
|
className: n("sheerly-card-content", r),
|
|
176
174
|
...i
|
|
177
175
|
});
|
|
178
176
|
}
|
|
179
|
-
function
|
|
177
|
+
function D({ as: t, className: r, ...i }) {
|
|
180
178
|
return /* @__PURE__ */ e(t ?? "div", {
|
|
181
179
|
className: n("sheerly-card-footer", r),
|
|
182
180
|
...i
|
|
@@ -184,13 +182,13 @@ function T({ as: t, className: r, ...i }) {
|
|
|
184
182
|
}
|
|
185
183
|
//#endregion
|
|
186
184
|
//#region src/carousel.tsx
|
|
187
|
-
function
|
|
185
|
+
function O({ as: t, className: r, ...i }) {
|
|
188
186
|
return /* @__PURE__ */ e(t ?? "div", {
|
|
189
187
|
className: n("sheerly-carousel", r),
|
|
190
188
|
...i
|
|
191
189
|
});
|
|
192
190
|
}
|
|
193
|
-
function
|
|
191
|
+
function k({ as: t, className: r, ...i }) {
|
|
194
192
|
return /* @__PURE__ */ e(t ?? "div", {
|
|
195
193
|
className: n("sheerly-carousel-item", r),
|
|
196
194
|
...i
|
|
@@ -198,7 +196,7 @@ function D({ as: t, className: r, ...i }) {
|
|
|
198
196
|
}
|
|
199
197
|
//#endregion
|
|
200
198
|
//#region src/checkbox.tsx
|
|
201
|
-
function
|
|
199
|
+
function A({ className: t, ...r }) {
|
|
202
200
|
return /* @__PURE__ */ e("input", {
|
|
203
201
|
type: "checkbox",
|
|
204
202
|
className: n("sheerly-checkbox", t),
|
|
@@ -207,43 +205,43 @@ function O({ className: t, ...r }) {
|
|
|
207
205
|
}
|
|
208
206
|
//#endregion
|
|
209
207
|
//#region src/dialog.tsx
|
|
210
|
-
function
|
|
208
|
+
function j({ className: t, ...r }) {
|
|
211
209
|
return /* @__PURE__ */ e("dialog", {
|
|
212
210
|
className: n("sheerly-dialog", t),
|
|
213
211
|
...r
|
|
214
212
|
});
|
|
215
213
|
}
|
|
216
|
-
function
|
|
214
|
+
function M({ as: t, className: r, ...i }) {
|
|
217
215
|
return /* @__PURE__ */ e(t ?? "div", {
|
|
218
216
|
className: n("sheerly-dialog-header", r),
|
|
219
217
|
...i
|
|
220
218
|
});
|
|
221
219
|
}
|
|
222
|
-
function
|
|
220
|
+
function N({ as: t, className: r, ...i }) {
|
|
223
221
|
return /* @__PURE__ */ e(t ?? "h3", {
|
|
224
222
|
className: n("sheerly-dialog-title", r),
|
|
225
223
|
...i
|
|
226
224
|
});
|
|
227
225
|
}
|
|
228
|
-
function
|
|
226
|
+
function P({ as: t, className: r, ...i }) {
|
|
229
227
|
return /* @__PURE__ */ e(t ?? "p", {
|
|
230
228
|
className: n("sheerly-dialog-description", r),
|
|
231
229
|
...i
|
|
232
230
|
});
|
|
233
231
|
}
|
|
234
|
-
function
|
|
232
|
+
function F({ as: t, className: r, ...i }) {
|
|
235
233
|
return /* @__PURE__ */ e(t ?? "div", {
|
|
236
234
|
className: n("sheerly-dialog-body", r),
|
|
237
235
|
...i
|
|
238
236
|
});
|
|
239
237
|
}
|
|
240
|
-
function
|
|
238
|
+
function I({ as: t, className: r, ...i }) {
|
|
241
239
|
return /* @__PURE__ */ e(t ?? "div", {
|
|
242
240
|
className: n("sheerly-dialog-footer", r),
|
|
243
241
|
...i
|
|
244
242
|
});
|
|
245
243
|
}
|
|
246
|
-
function
|
|
244
|
+
function L({ className: t, type: r = "button", ...i }) {
|
|
247
245
|
return /* @__PURE__ */ e("button", {
|
|
248
246
|
type: r,
|
|
249
247
|
className: n("sheerly-dialog-close", t),
|
|
@@ -252,70 +250,70 @@ function F({ className: t, type: r = "button", ...i }) {
|
|
|
252
250
|
}
|
|
253
251
|
//#endregion
|
|
254
252
|
//#region src/dropdown-menu.tsx
|
|
255
|
-
function
|
|
253
|
+
function R({ as: t, className: r, ...i }) {
|
|
256
254
|
return /* @__PURE__ */ e(t ?? "span", {
|
|
257
255
|
className: n("sheerly-dropdown-menu", r),
|
|
258
256
|
...i
|
|
259
257
|
});
|
|
260
258
|
}
|
|
261
|
-
function
|
|
259
|
+
function z({ as: t, className: r, ...i }) {
|
|
262
260
|
return /* @__PURE__ */ e(t ?? "div", {
|
|
263
261
|
className: n("sheerly-dropdown-menu-content", r),
|
|
264
262
|
...i
|
|
265
263
|
});
|
|
266
264
|
}
|
|
267
|
-
function
|
|
265
|
+
function B({ as: t, className: r, ...i }) {
|
|
268
266
|
return /* @__PURE__ */ e(t ?? "div", {
|
|
269
267
|
className: n("sheerly-dropdown-menu-group", r),
|
|
270
268
|
...i
|
|
271
269
|
});
|
|
272
270
|
}
|
|
273
|
-
function
|
|
271
|
+
function V({ as: t, className: r, ...i }) {
|
|
274
272
|
return /* @__PURE__ */ e(t ?? "div", {
|
|
275
273
|
className: n("sheerly-dropdown-menu-label", r),
|
|
276
274
|
...i
|
|
277
275
|
});
|
|
278
276
|
}
|
|
279
|
-
function
|
|
277
|
+
function H({ className: t, type: r = "button", ...i }) {
|
|
280
278
|
return /* @__PURE__ */ e("button", {
|
|
281
279
|
type: r,
|
|
282
280
|
className: n("sheerly-dropdown-menu-item", t),
|
|
283
281
|
...i
|
|
284
282
|
});
|
|
285
283
|
}
|
|
286
|
-
function
|
|
287
|
-
return /* @__PURE__ */ e("a", {
|
|
288
|
-
className: n("sheerly-dropdown-menu-item",
|
|
289
|
-
...
|
|
284
|
+
function U({ as: t, className: r, ...i }) {
|
|
285
|
+
return /* @__PURE__ */ e(t ?? "a", {
|
|
286
|
+
className: n("sheerly-dropdown-menu-item", r),
|
|
287
|
+
...i
|
|
290
288
|
});
|
|
291
289
|
}
|
|
292
|
-
function
|
|
290
|
+
function W({ as: t, className: r, ...i }) {
|
|
293
291
|
return /* @__PURE__ */ e(t ?? "span", {
|
|
294
292
|
className: n("sheerly-dropdown-menu-shortcut", r),
|
|
295
293
|
...i
|
|
296
294
|
});
|
|
297
295
|
}
|
|
298
|
-
function
|
|
296
|
+
function G({ as: t, className: r, ...i }) {
|
|
299
297
|
return /* @__PURE__ */ e(t ?? "div", {
|
|
300
298
|
role: "separator",
|
|
301
299
|
className: n("sheerly-dropdown-menu-separator", r),
|
|
302
300
|
...i
|
|
303
301
|
});
|
|
304
302
|
}
|
|
305
|
-
function
|
|
303
|
+
function K({ as: t, className: r, ...i }) {
|
|
306
304
|
return /* @__PURE__ */ e(t ?? "div", {
|
|
307
305
|
className: n("sheerly-dropdown-menu-sub", r),
|
|
308
306
|
...i
|
|
309
307
|
});
|
|
310
308
|
}
|
|
311
|
-
function
|
|
309
|
+
function q({ className: t, type: r = "button", ...i }) {
|
|
312
310
|
return /* @__PURE__ */ e("button", {
|
|
313
311
|
type: r,
|
|
314
312
|
className: n("sheerly-dropdown-menu-sub-trigger", t),
|
|
315
313
|
...i
|
|
316
314
|
});
|
|
317
315
|
}
|
|
318
|
-
function
|
|
316
|
+
function J({ as: t, className: r, ...i }) {
|
|
319
317
|
return /* @__PURE__ */ e(t ?? "div", {
|
|
320
318
|
className: n("sheerly-dropdown-menu-content", r),
|
|
321
319
|
...i
|
|
@@ -323,13 +321,13 @@ function K({ as: t, className: r, ...i }) {
|
|
|
323
321
|
}
|
|
324
322
|
//#endregion
|
|
325
323
|
//#region src/hover-card.tsx
|
|
326
|
-
function
|
|
324
|
+
function Y({ as: t, className: r, ...i }) {
|
|
327
325
|
return /* @__PURE__ */ e(t ?? "span", {
|
|
328
326
|
className: n("sheerly-hover-card", r),
|
|
329
327
|
...i
|
|
330
328
|
});
|
|
331
329
|
}
|
|
332
|
-
function
|
|
330
|
+
function X({ as: t, className: r, ...i }) {
|
|
333
331
|
return /* @__PURE__ */ e(t ?? "div", {
|
|
334
332
|
className: n("sheerly-hover-card-content", r),
|
|
335
333
|
...i
|
|
@@ -337,7 +335,7 @@ function J({ as: t, className: r, ...i }) {
|
|
|
337
335
|
}
|
|
338
336
|
//#endregion
|
|
339
337
|
//#region src/input.tsx
|
|
340
|
-
function
|
|
338
|
+
function Z({ className: t, ...r }) {
|
|
341
339
|
return /* @__PURE__ */ e("input", {
|
|
342
340
|
className: n("sheerly-input", t),
|
|
343
341
|
...r
|
|
@@ -345,13 +343,13 @@ function Y({ className: t, ...r }) {
|
|
|
345
343
|
}
|
|
346
344
|
//#endregion
|
|
347
345
|
//#region src/kbd.tsx
|
|
348
|
-
function
|
|
346
|
+
function Q({ className: t, ...r }) {
|
|
349
347
|
return /* @__PURE__ */ e("kbd", {
|
|
350
348
|
className: n("sheerly-kbd", t),
|
|
351
349
|
...r
|
|
352
350
|
});
|
|
353
351
|
}
|
|
354
|
-
function
|
|
352
|
+
function te({ as: t, className: r, ...i }) {
|
|
355
353
|
return /* @__PURE__ */ e(t ?? "span", {
|
|
356
354
|
className: n("sheerly-kbd-group", r),
|
|
357
355
|
...i
|
|
@@ -359,7 +357,7 @@ function Z({ as: t, className: r, ...i }) {
|
|
|
359
357
|
}
|
|
360
358
|
//#endregion
|
|
361
359
|
//#region src/label.tsx
|
|
362
|
-
function
|
|
360
|
+
function ne({ className: t, ...r }) {
|
|
363
361
|
return /* @__PURE__ */ e("label", {
|
|
364
362
|
className: n("sheerly-label", t),
|
|
365
363
|
...r
|
|
@@ -367,49 +365,51 @@ function re({ className: t, ...r }) {
|
|
|
367
365
|
}
|
|
368
366
|
//#endregion
|
|
369
367
|
//#region src/pagination.tsx
|
|
370
|
-
function
|
|
371
|
-
return /* @__PURE__ */ e("nav", {
|
|
368
|
+
function re({ as: t, className: r, ...i }) {
|
|
369
|
+
return /* @__PURE__ */ e(t ?? "nav", {
|
|
372
370
|
role: "navigation",
|
|
373
371
|
"aria-label": "pagination",
|
|
374
|
-
className: n("sheerly-pagination",
|
|
375
|
-
...
|
|
372
|
+
className: n("sheerly-pagination", r),
|
|
373
|
+
...i
|
|
376
374
|
});
|
|
377
375
|
}
|
|
378
|
-
function
|
|
379
|
-
return /* @__PURE__ */ e("ul", {
|
|
380
|
-
className: n("sheerly-pagination-content",
|
|
381
|
-
...
|
|
376
|
+
function ie({ as: t, className: r, ...i }) {
|
|
377
|
+
return /* @__PURE__ */ e(t ?? "ul", {
|
|
378
|
+
className: n("sheerly-pagination-content", r),
|
|
379
|
+
...i
|
|
382
380
|
});
|
|
383
381
|
}
|
|
384
|
-
function
|
|
385
|
-
return /* @__PURE__ */ e("li", {
|
|
386
|
-
className: n("sheerly-pagination-item",
|
|
387
|
-
...
|
|
382
|
+
function ae({ as: t, className: r, ...i }) {
|
|
383
|
+
return /* @__PURE__ */ e(t ?? "li", {
|
|
384
|
+
className: n("sheerly-pagination-item", r),
|
|
385
|
+
...i
|
|
388
386
|
});
|
|
389
387
|
}
|
|
390
|
-
function
|
|
391
|
-
return /* @__PURE__ */ e("a", {
|
|
392
|
-
"aria-current":
|
|
393
|
-
className: n("sheerly-pagination-link",
|
|
394
|
-
...
|
|
388
|
+
function oe({ as: t, className: r, isActive: i, ...a }) {
|
|
389
|
+
return /* @__PURE__ */ e(t ?? "a", {
|
|
390
|
+
"aria-current": i ? "page" : void 0,
|
|
391
|
+
className: n("sheerly-pagination-link", r),
|
|
392
|
+
...a
|
|
395
393
|
});
|
|
396
394
|
}
|
|
397
|
-
function se({
|
|
398
|
-
return /* @__PURE__ */ e(
|
|
395
|
+
function se({ as: t, className: r, isActive: i, text: a = "Previous", children: o, ...s }) {
|
|
396
|
+
return /* @__PURE__ */ e(t ?? "a", {
|
|
399
397
|
"aria-label": "Go to previous page",
|
|
398
|
+
"aria-current": i ? "page" : void 0,
|
|
400
399
|
"data-role": "previous",
|
|
401
|
-
className:
|
|
402
|
-
...
|
|
403
|
-
children:
|
|
400
|
+
className: n("sheerly-pagination-link", r),
|
|
401
|
+
...s,
|
|
402
|
+
children: o ?? a
|
|
404
403
|
});
|
|
405
404
|
}
|
|
406
|
-
function ce({
|
|
407
|
-
return /* @__PURE__ */ e(
|
|
405
|
+
function ce({ as: t, className: r, isActive: i, text: a = "Next", children: o, ...s }) {
|
|
406
|
+
return /* @__PURE__ */ e(t ?? "a", {
|
|
408
407
|
"aria-label": "Go to next page",
|
|
408
|
+
"aria-current": i ? "page" : void 0,
|
|
409
409
|
"data-role": "next",
|
|
410
|
-
className:
|
|
411
|
-
...
|
|
412
|
-
children:
|
|
410
|
+
className: n("sheerly-pagination-link", r),
|
|
411
|
+
...s,
|
|
412
|
+
children: o ?? a
|
|
413
413
|
});
|
|
414
414
|
}
|
|
415
415
|
function le({ as: t, className: r, ...i }) {
|
|
@@ -594,10 +594,10 @@ function je({ as: t, className: r, ...i }) {
|
|
|
594
594
|
...i
|
|
595
595
|
});
|
|
596
596
|
}
|
|
597
|
-
function Me({
|
|
598
|
-
return /* @__PURE__ */ e("button", {
|
|
599
|
-
role:
|
|
600
|
-
className: n("sheerly-tabs-trigger",
|
|
597
|
+
function Me({ as: t, className: r, ...i }) {
|
|
598
|
+
return /* @__PURE__ */ e(t ?? "button", {
|
|
599
|
+
role: "tab",
|
|
600
|
+
className: n("sheerly-tabs-trigger", r),
|
|
601
601
|
...i
|
|
602
602
|
});
|
|
603
603
|
}
|
|
@@ -657,4 +657,4 @@ function Re({ as: t, className: r, ...i }) {
|
|
|
657
657
|
});
|
|
658
658
|
}
|
|
659
659
|
//#endregion
|
|
660
|
-
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,
|
|
660
|
+
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, p as Breadcrumb, y as BreadcrumbEllipsis, h as BreadcrumbItem, g as BreadcrumbLink, m as BreadcrumbList, _ as BreadcrumbPage, v as BreadcrumbSeparator, b as Button, x as Card, T as CardAction, E as CardContent, w as CardDescription, D as CardFooter, S as CardHeader, C as CardTitle, O as Carousel, k as CarouselItem, A as Checkbox, j as Dialog, F as DialogBody, L as DialogClose, P as DialogDescription, I as DialogFooter, M as DialogHeader, N as DialogTitle, R as DropdownMenu, z as DropdownMenuContent, B as DropdownMenuGroup, H as DropdownMenuItem, V as DropdownMenuLabel, U as DropdownMenuLinkItem, G as DropdownMenuSeparator, W as DropdownMenuShortcut, K as DropdownMenuSub, J as DropdownMenuSubContent, q as DropdownMenuSubTrigger, Y as HoverCard, X as HoverCardContent, Z as Input, Q as Kbd, te as KbdGroup, ne as Label, re as Pagination, ie as PaginationContent, le as PaginationEllipsis, ae as PaginationItem, oe 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 Scrollbar, ge as Select, _e as Separator, ve as Sheet, Se as SheetBody, we as SheetClose, xe as SheetDescription, Ce as SheetFooter, ye as SheetHeader, be as SheetTitle, Te as Skeleton, Ee as Slider, De as Spinner, $ as Switch, ke as Table, Oe as TableContainer, Ae as Tabs, Ne as TabsContent, je as TabsList, Me as TabsTrigger, Pe as Textarea, Fe as Toggle, Ie as Tooltip, Le as TooltipContent, Re as Typography };
|
package/lib/input.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.sheerly-input{border-radius:var(--sheerly-radius-lg);border:1px solid var(--sheerly-input);box-sizing:border-box;width:100%;min-width:0;color:var(--sheerly-foreground);background-color:#0000;outline:none;height:32px;padding:0 10px;font-
|
|
1
|
+
.sheerly-input{border-radius:var(--sheerly-radius-lg);border:1px solid var(--sheerly-input);box-sizing:border-box;width:100%;min-width:0;font-family:var(--sheerly-font-sans);color:var(--sheerly-foreground);background-color:#0000;outline:none;height:32px;padding:0 10px;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
CHANGED
|
@@ -8,4 +8,4 @@ export interface InputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
|
8
8
|
* @example
|
|
9
9
|
* <Input type="email" placeholder="you@example.com" />
|
|
10
10
|
*/
|
|
11
|
-
export declare function Input({ className, ...props }: InputProps): import(
|
|
11
|
+
export declare function Input({ className, ...props }: InputProps): import('react').JSX.Element;
|
package/lib/kbd.css
CHANGED
|
@@ -1 +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-
|
|
1
|
+
.sheerly-kbd{background-color:var(--sheerly-muted);width:fit-content;min-width:20px;height:20px;font-family:var(--sheerly-font-sans);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-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
CHANGED
|
@@ -7,6 +7,6 @@ export type KbdProps = HTMLAttributes<HTMLElement>;
|
|
|
7
7
|
* @example
|
|
8
8
|
* <KbdGroup><Kbd>⌘</Kbd><Kbd>K</Kbd></KbdGroup>
|
|
9
9
|
*/
|
|
10
|
-
export declare function Kbd({ className, ...props }: KbdProps): import(
|
|
10
|
+
export declare function Kbd({ className, ...props }: KbdProps): import('react').JSX.Element;
|
|
11
11
|
export type KbdGroupProps<T extends ElementType = 'span'> = PolymorphicProps<T>;
|
|
12
|
-
export declare function KbdGroup<T extends ElementType = 'span'>({ as, className, ...props }: KbdGroupProps<T>): import(
|
|
12
|
+
export declare function KbdGroup<T extends ElementType = 'span'>({ as, className, ...props }: KbdGroupProps<T>): import('react').JSX.Element;
|
package/lib/label.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.sheerly-label{color:var(--sheerly-foreground);-webkit-user-select:none;user-select:none;cursor:pointer;align-items:center;gap:8px;font-
|
|
1
|
+
.sheerly-label{font-family:var(--sheerly-font-sans);color:var(--sheerly-foreground);-webkit-user-select:none;user-select:none;cursor:pointer;align-items:center;gap:8px;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
CHANGED
|
@@ -8,4 +8,4 @@ export interface LabelProps extends LabelHTMLAttributes<HTMLLabelElement> {
|
|
|
8
8
|
* @example
|
|
9
9
|
* <Label htmlFor="email">Email</Label>
|
|
10
10
|
*/
|
|
11
|
-
export declare function Label({ className, ...props }: LabelProps): import(
|
|
11
|
+
export declare function Label({ className, ...props }: LabelProps): import('react').JSX.Element;
|
package/lib/pagination.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.sheerly-pagination{
|
|
1
|
+
.sheerly-pagination{width:100%;font-family:var(--sheerly-font-sans);justify-content:center;margin-inline:auto;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}
|
package/lib/pagination.d.ts
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ElementType } from 'react';
|
|
2
2
|
import { PolymorphicProps } from './utils/polymorphic';
|
|
3
|
+
export type PaginationProps<T extends ElementType = 'nav'> = PolymorphicProps<T>;
|
|
3
4
|
/**
|
|
4
5
|
* Page navigation. Mark the current page's link with `isActive`.
|
|
5
6
|
*
|
|
7
|
+
* Polymorphic: pass `as` to change the rendered tag (defaults to `nav`).
|
|
8
|
+
*
|
|
6
9
|
* @example
|
|
7
10
|
* <Pagination>
|
|
8
11
|
* <PaginationContent>
|
|
@@ -12,20 +15,42 @@ import { PolymorphicProps } from './utils/polymorphic';
|
|
|
12
15
|
* </PaginationContent>
|
|
13
16
|
* </Pagination>
|
|
14
17
|
*/
|
|
15
|
-
export declare function Pagination({ className, ...props }:
|
|
16
|
-
export
|
|
17
|
-
|
|
18
|
-
|
|
18
|
+
export declare function Pagination<T extends ElementType = 'nav'>({ as, className, ...props }: PaginationProps<T>): import('react').JSX.Element;
|
|
19
|
+
export type PaginationContentProps<T extends ElementType = 'ul'> = PolymorphicProps<T>;
|
|
20
|
+
/**
|
|
21
|
+
* Polymorphic: pass `as` to change the rendered tag (defaults to `ul`).
|
|
22
|
+
*/
|
|
23
|
+
export declare function PaginationContent<T extends ElementType = 'ul'>({ as, className, ...props }: PaginationContentProps<T>): import('react').JSX.Element;
|
|
24
|
+
export type PaginationItemProps<T extends ElementType = 'li'> = PolymorphicProps<T>;
|
|
25
|
+
/**
|
|
26
|
+
* Polymorphic: pass `as` to change the rendered tag (defaults to `li`).
|
|
27
|
+
*/
|
|
28
|
+
export declare function PaginationItem<T extends ElementType = 'li'>({ as, className, ...props }: PaginationItemProps<T>): import('react').JSX.Element;
|
|
29
|
+
export type PaginationLinkProps<T extends ElementType = 'a'> = PolymorphicProps<T, {
|
|
19
30
|
/** Marks the current page (renders like the outline button). */
|
|
20
31
|
isActive?: boolean;
|
|
21
32
|
'data-role'?: 'previous' | 'next';
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
export declare function
|
|
33
|
+
}>;
|
|
34
|
+
/**
|
|
35
|
+
* Polymorphic: pass `as` to change the rendered tag (defaults to `a`, e.g.
|
|
36
|
+
* `as={Link}` for a router link).
|
|
37
|
+
*/
|
|
38
|
+
export declare function PaginationLink<T extends ElementType = 'a'>({ as, className, isActive, ...props }: PaginationLinkProps<T>): import('react').JSX.Element;
|
|
39
|
+
export type PaginationPreviousProps<T extends ElementType = 'a'> = PaginationLinkProps<T> & {
|
|
40
|
+
/** Visible label. Children override it. */
|
|
28
41
|
text?: string;
|
|
29
|
-
}
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* Polymorphic: pass `as` to change the rendered tag (defaults to `a`).
|
|
45
|
+
*/
|
|
46
|
+
export declare function PaginationPrevious<T extends ElementType = 'a'>({ as, className, isActive, text, children, ...props }: PaginationPreviousProps<T>): import('react').JSX.Element;
|
|
47
|
+
export type PaginationNextProps<T extends ElementType = 'a'> = PaginationPreviousProps<T>;
|
|
48
|
+
/**
|
|
49
|
+
* Polymorphic: pass `as` to change the rendered tag (defaults to `a`).
|
|
50
|
+
*/
|
|
51
|
+
export declare function PaginationNext<T extends ElementType = 'a'>({ as, className, isActive, text, children, ...props }: PaginationNextProps<T>): import('react').JSX.Element;
|
|
30
52
|
export type PaginationEllipsisProps<T extends ElementType = 'span'> = PolymorphicProps<T>;
|
|
31
|
-
|
|
53
|
+
/**
|
|
54
|
+
* Polymorphic: pass `as` to change the rendered tag (defaults to `span`).
|
|
55
|
+
*/
|
|
56
|
+
export declare function PaginationEllipsis<T extends ElementType = 'span'>({ as, className, ...props }: PaginationEllipsisProps<T>): import('react').JSX.Element;
|
package/lib/popover.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.sheerly-popover{anchor-name:--sheerly-pop;anchor-scope:--sheerly-pop;width:fit-content;display:inline-block}.sheerly-popover-content{position-anchor:--sheerly-pop;position-area:var(--sheerly-popover-position,block-end);position-try-fallbacks:flip-block, flip-inline, flip-block flip-inline;position-visibility:anchors-visible;inset:unset;background-color:var(--sheerly-popover);color:var(--sheerly-popover-foreground);border:1px solid var(--sheerly-border);border-radius:var(--sheerly-radius-md);opacity:0;width:max-content;max-width:288px;transition:opacity .15s ease, display .15s allow-discrete, overlay .15s allow-discrete;margin:6px;padding:16px;font-
|
|
1
|
+
.sheerly-popover{anchor-name:--sheerly-pop;anchor-scope:--sheerly-pop;width:fit-content;display:inline-block}.sheerly-popover-content{position-anchor:--sheerly-pop;position-area:var(--sheerly-popover-position,block-end);position-try-fallbacks:flip-block, flip-inline, flip-block flip-inline;position-visibility:anchors-visible;inset:unset;background-color:var(--sheerly-popover);color:var(--sheerly-popover-foreground);font-family:var(--sheerly-font-sans);border:1px solid var(--sheerly-border);border-radius:var(--sheerly-radius-md);opacity:0;width:max-content;max-width:288px;transition:opacity .15s ease, display .15s allow-discrete, overlay .15s allow-discrete;margin:6px;padding:16px;font-size:14px;line-height:20px;position:fixed;overflow:auto;box-shadow:0 4px 16px -4px oklch(0% 0 0/.08),0 1px 2px oklch(0% 0 0/.04)}.sheerly-popover-content:popover-open{opacity:1}@starting-style{.sheerly-popover-content:popover-open{opacity:0}}
|
package/lib/popover.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export type PopoverProps<T extends ElementType = 'span'> = PolymorphicProps<T>;
|
|
|
10
10
|
* <PopoverContent id="p" popover>Place content here.</PopoverContent>
|
|
11
11
|
* </Popover>
|
|
12
12
|
*/
|
|
13
|
-
export declare function Popover<T extends ElementType = 'span'>({ as, className, ...props }: PopoverProps<T>): import(
|
|
13
|
+
export declare function Popover<T extends ElementType = 'span'>({ as, className, ...props }: PopoverProps<T>): import('react').JSX.Element;
|
|
14
14
|
export type PopoverContentProps<T extends ElementType = 'div'> = PolymorphicProps<T>;
|
|
15
15
|
/** The floating panel. Give it `popover` and an `id` matched by the trigger's `commandfor`. */
|
|
16
|
-
export declare function PopoverContent<T extends ElementType = 'div'>({ as, className, ...props }: PopoverContentProps<T>): import(
|
|
16
|
+
export declare function PopoverContent<T extends ElementType = 'div'>({ as, className, ...props }: PopoverContentProps<T>): import('react').JSX.Element;
|
package/lib/progress.d.ts
CHANGED
|
@@ -9,4 +9,4 @@ export interface ProgressProps extends ProgressHTMLAttributes<HTMLProgressElemen
|
|
|
9
9
|
* @example
|
|
10
10
|
* <Progress value={60} max={100} data-variant="success" />
|
|
11
11
|
*/
|
|
12
|
-
export declare function Progress({ className, ...props }: ProgressProps): import(
|
|
12
|
+
export declare function Progress({ className, ...props }: ProgressProps): import('react').JSX.Element;
|
package/lib/radio.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ElementType, InputHTMLAttributes } from 'react';
|
|
2
2
|
import { PolymorphicProps } from './utils/polymorphic';
|
|
3
3
|
export type RadioGroupProps<T extends ElementType = 'div'> = PolymorphicProps<T>;
|
|
4
|
-
export declare function RadioGroup<T extends ElementType = 'div'>({ as, className, ...props }: RadioGroupProps<T>): import(
|
|
4
|
+
export declare function RadioGroup<T extends ElementType = 'div'>({ as, className, ...props }: RadioGroupProps<T>): import('react').JSX.Element;
|
|
5
5
|
export type RadioProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'type'>;
|
|
6
6
|
/**
|
|
7
7
|
* A radio `<input>`. Share a `name` and wrap options in a <RadioGroup>.
|
|
@@ -12,4 +12,4 @@ export type RadioProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'type'>;
|
|
|
12
12
|
* <Label><Radio name="plan" value="pro" /> Pro</Label>
|
|
13
13
|
* </RadioGroup>
|
|
14
14
|
*/
|
|
15
|
-
export declare function Radio({ className, ...props }: RadioProps): import(
|
|
15
|
+
export declare function Radio({ className, ...props }: RadioProps): import('react').JSX.Element;
|
package/lib/root.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--sheerly-radius:.625rem;--sheerly-radius-sm:calc(var(--sheerly-radius) * .6);--sheerly-radius-md:calc(var(--sheerly-radius) * .8);--sheerly-radius-lg:var(--sheerly-radius);--sheerly-radius-xl:calc(var(--sheerly-radius) * 1.4);--sheerly-radius-2xl:calc(var(--sheerly-radius) * 1.8);--sheerly-background:oklch(100% 0 0);--sheerly-foreground:oklch(14.5% 0 0);--sheerly-card:oklch(100% 0 0);--sheerly-card-foreground:oklch(14.5% 0 0);--sheerly-popover:oklch(100% 0 0);--sheerly-popover-foreground:oklch(14.5% 0 0);--sheerly-primary:oklch(20.5% 0 0);--sheerly-primary-foreground:oklch(98.5% 0 0);--sheerly-secondary:oklch(97% 0 0);--sheerly-secondary-foreground:oklch(20.5% 0 0);--sheerly-muted:oklch(97% 0 0);--sheerly-muted-foreground:oklch(55.6% 0 0);--sheerly-accent:oklch(97% 0 0);--sheerly-accent-foreground:oklch(20.5% 0 0);--sheerly-destructive:oklch(57.7% .245 27.325);--sheerly-border:oklch(92.2% 0 0);--sheerly-input:oklch(92.2% 0 0);--sheerly-ring:oklch(70.8% 0 0);--sheerly-sidebar:oklch(98.5% 0 0);--sheerly-sidebar-foreground:oklch(14.5% 0 0);--sheerly-sidebar-primary:oklch(20.5% 0 0);--sheerly-sidebar-primary-foreground:oklch(98.5% 0 0);--sheerly-sidebar-accent:oklch(97% 0 0);--sheerly-sidebar-accent-foreground:oklch(20.5% 0 0);--sheerly-sidebar-border:oklch(92.2% 0 0);--sheerly-sidebar-ring:oklch(70.8% 0 0)}.dark{--sheerly-background:oklch(14.5% 0 0);--sheerly-foreground:oklch(98.5% 0 0);--sheerly-card:oklch(20.5% 0 0);--sheerly-card-foreground:oklch(98.5% 0 0);--sheerly-popover:oklch(20.5% 0 0);--sheerly-popover-foreground:oklch(98.5% 0 0);--sheerly-primary:oklch(92.2% 0 0);--sheerly-primary-foreground:oklch(20.5% 0 0);--sheerly-secondary:oklch(26.9% 0 0);--sheerly-secondary-foreground:oklch(98.5% 0 0);--sheerly-muted:oklch(26.9% 0 0);--sheerly-muted-foreground:oklch(70.8% 0 0);--sheerly-accent:oklch(26.9% 0 0);--sheerly-accent-foreground:oklch(98.5% 0 0);--sheerly-destructive:oklch(70.4% .191 22.216);--sheerly-border:oklch(100% 0 0/.1);--sheerly-input:oklch(100% 0 0/.15);--sheerly-ring:oklch(55.6% 0 0);--sheerly-sidebar:oklch(20.5% 0 0);--sheerly-sidebar-foreground:oklch(98.5% 0 0);--sheerly-sidebar-primary:oklch(48.8% .243 264.376);--sheerly-sidebar-primary-foreground:oklch(98.5% 0 0);--sheerly-sidebar-accent:oklch(26.9% 0 0);--sheerly-sidebar-accent-foreground:oklch(98.5% 0 0);--sheerly-sidebar-border:oklch(100% 0 0/.1);--sheerly-sidebar-ring:oklch(55.6% 0 0)}:root{--sheerly-radius-full:9999px;--sheerly-focus-ring:0 0 0 3px oklch(from var(--sheerly-ring) l c h / 50%)}
|
|
1
|
+
:root{--sheerly-font-sans:"Geist", "Geist Sans", system-ui, -apple-system, sans-serif;--sheerly-font-mono:"Geist Mono", ui-monospace, monospace;--sheerly-radius:.625rem;--sheerly-radius-sm:calc(var(--sheerly-radius) * .6);--sheerly-radius-md:calc(var(--sheerly-radius) * .8);--sheerly-radius-lg:var(--sheerly-radius);--sheerly-radius-xl:calc(var(--sheerly-radius) * 1.4);--sheerly-radius-2xl:calc(var(--sheerly-radius) * 1.8);--sheerly-background:oklch(100% 0 0);--sheerly-foreground:oklch(14.5% 0 0);--sheerly-card:oklch(100% 0 0);--sheerly-card-foreground:oklch(14.5% 0 0);--sheerly-popover:oklch(100% 0 0);--sheerly-popover-foreground:oklch(14.5% 0 0);--sheerly-primary:oklch(20.5% 0 0);--sheerly-primary-foreground:oklch(98.5% 0 0);--sheerly-secondary:oklch(97% 0 0);--sheerly-secondary-foreground:oklch(20.5% 0 0);--sheerly-muted:oklch(97% 0 0);--sheerly-muted-foreground:oklch(55.6% 0 0);--sheerly-accent:oklch(97% 0 0);--sheerly-accent-foreground:oklch(20.5% 0 0);--sheerly-destructive:oklch(57.7% .245 27.325);--sheerly-border:oklch(92.2% 0 0);--sheerly-input:oklch(92.2% 0 0);--sheerly-ring:oklch(70.8% 0 0);--sheerly-sidebar:oklch(98.5% 0 0);--sheerly-sidebar-foreground:oklch(14.5% 0 0);--sheerly-sidebar-primary:oklch(20.5% 0 0);--sheerly-sidebar-primary-foreground:oklch(98.5% 0 0);--sheerly-sidebar-accent:oklch(97% 0 0);--sheerly-sidebar-accent-foreground:oklch(20.5% 0 0);--sheerly-sidebar-border:oklch(92.2% 0 0);--sheerly-sidebar-ring:oklch(70.8% 0 0)}.dark{--sheerly-background:oklch(14.5% 0 0);--sheerly-foreground:oklch(98.5% 0 0);--sheerly-card:oklch(20.5% 0 0);--sheerly-card-foreground:oklch(98.5% 0 0);--sheerly-popover:oklch(20.5% 0 0);--sheerly-popover-foreground:oklch(98.5% 0 0);--sheerly-primary:oklch(92.2% 0 0);--sheerly-primary-foreground:oklch(20.5% 0 0);--sheerly-secondary:oklch(26.9% 0 0);--sheerly-secondary-foreground:oklch(98.5% 0 0);--sheerly-muted:oklch(26.9% 0 0);--sheerly-muted-foreground:oklch(70.8% 0 0);--sheerly-accent:oklch(26.9% 0 0);--sheerly-accent-foreground:oklch(98.5% 0 0);--sheerly-destructive:oklch(70.4% .191 22.216);--sheerly-border:oklch(100% 0 0/.1);--sheerly-input:oklch(100% 0 0/.15);--sheerly-ring:oklch(55.6% 0 0);--sheerly-sidebar:oklch(20.5% 0 0);--sheerly-sidebar-foreground:oklch(98.5% 0 0);--sheerly-sidebar-primary:oklch(48.8% .243 264.376);--sheerly-sidebar-primary-foreground:oklch(98.5% 0 0);--sheerly-sidebar-accent:oklch(26.9% 0 0);--sheerly-sidebar-accent-foreground:oklch(98.5% 0 0);--sheerly-sidebar-border:oklch(100% 0 0/.1);--sheerly-sidebar-ring:oklch(55.6% 0 0)}:root{--sheerly-radius-full:9999px;--sheerly-focus-ring:0 0 0 3px oklch(from var(--sheerly-ring) l c h / 50%)}
|