@kayord/ui 3.0.1 → 3.0.3
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 +102 -39
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -194,45 +194,16 @@ pnpm add -D svelte-sonner
|
|
|
194
194
|
--color-sidebar-border: hsl(var(--sidebar-border));
|
|
195
195
|
--color-sidebar-ring: hsl(var(--sidebar-ring));
|
|
196
196
|
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
/* Keyframes */
|
|
209
|
-
@keyframes accordion-down {
|
|
210
|
-
from: {
|
|
211
|
-
height: 0;
|
|
212
|
-
}
|
|
213
|
-
to: {
|
|
214
|
-
height: var(--bits-accordion-content-height);
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
@keyframes accordion-up {
|
|
218
|
-
from: {
|
|
219
|
-
height: var(--bits-accordion-content-height);
|
|
220
|
-
}
|
|
221
|
-
to: {
|
|
222
|
-
height: 0;
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
@keyframes caret-blink {
|
|
226
|
-
0%,
|
|
227
|
-
70%,
|
|
228
|
-
100% {
|
|
229
|
-
opacity: 1;
|
|
230
|
-
}
|
|
231
|
-
20%,
|
|
232
|
-
50% {
|
|
233
|
-
opacity: 0;
|
|
234
|
-
}
|
|
235
|
-
}
|
|
197
|
+
/* Custom Colors */
|
|
198
|
+
--color-info: var(--chart-1);
|
|
199
|
+
--color-success: var(--chart-2);
|
|
200
|
+
--color-warning: var(--chart-3);
|
|
201
|
+
|
|
202
|
+
/* Radius */
|
|
203
|
+
--radius-sm: calc(var(--radius) - 4px);
|
|
204
|
+
--radius-md: calc(var(--radius) - 2px);
|
|
205
|
+
--radius-lg: var(--radius);
|
|
206
|
+
--radius-xl: calc(var(--radius) + 4px);
|
|
236
207
|
}
|
|
237
208
|
|
|
238
209
|
@layer base {
|
|
@@ -243,6 +214,98 @@ pnpm add -D svelte-sonner
|
|
|
243
214
|
@apply bg-background text-foreground;
|
|
244
215
|
}
|
|
245
216
|
}
|
|
217
|
+
|
|
218
|
+
@custom-variant data-open {
|
|
219
|
+
&:where([data-state="open"]),
|
|
220
|
+
&:where([data-open]:not([data-open="false"])) {
|
|
221
|
+
@slot;
|
|
222
|
+
}
|
|
223
|
+
&:where([data-state="open"]),
|
|
224
|
+
&:where([data-open]:not([data-open="false"])) {
|
|
225
|
+
@slot;
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
@custom-variant data-closed {
|
|
230
|
+
&:where([data-state="closed"]),
|
|
231
|
+
&:where([data-closed]:not([data-closed="false"])) {
|
|
232
|
+
@slot;
|
|
233
|
+
}
|
|
234
|
+
&:where([data-state="closed"]),
|
|
235
|
+
&:where([data-closed]:not([data-closed="false"])) {
|
|
236
|
+
@slot;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
@custom-variant data-checked {
|
|
241
|
+
&:where([data-state="checked"]),
|
|
242
|
+
&:where([data-checked]:not([data-checked="false"])) {
|
|
243
|
+
@slot;
|
|
244
|
+
}
|
|
245
|
+
&:where([data-state="checked"]),
|
|
246
|
+
&:where([data-checked]:not([data-checked="false"])) {
|
|
247
|
+
@slot;
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
@custom-variant data-unchecked {
|
|
252
|
+
&:where([data-state="unchecked"]),
|
|
253
|
+
&:where([data-unchecked]:not([data-unchecked="false"])) {
|
|
254
|
+
@slot;
|
|
255
|
+
}
|
|
256
|
+
&:where([data-state="unchecked"]),
|
|
257
|
+
&:where([data-unchecked]:not([data-unchecked="false"])) {
|
|
258
|
+
@slot;
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
@custom-variant data-selected {
|
|
263
|
+
&:where([data-selected]) {
|
|
264
|
+
@slot;
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
@custom-variant data-disabled {
|
|
269
|
+
&:where([data-disabled="true"]),
|
|
270
|
+
&:where([data-disabled]:not([data-disabled="false"])) {
|
|
271
|
+
@slot;
|
|
272
|
+
}
|
|
273
|
+
&:where([data-disabled="true"]),
|
|
274
|
+
&:where([data-disabled]:not([data-disabled="false"])) {
|
|
275
|
+
@slot;
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
@custom-variant data-active {
|
|
280
|
+
&:where([data-state="active"]),
|
|
281
|
+
&:where([data-active]:not([data-active="false"])) {
|
|
282
|
+
@slot;
|
|
283
|
+
}
|
|
284
|
+
&:where([data-state="active"]),
|
|
285
|
+
&:where([data-active]:not([data-active="false"])) {
|
|
286
|
+
@slot;
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
@custom-variant data-horizontal {
|
|
291
|
+
&:where([data-orientation="horizontal"]) {
|
|
292
|
+
@slot;
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
@custom-variant data-vertical {
|
|
297
|
+
&:where([data-orientation="vertical"]) {
|
|
298
|
+
@slot;
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
@utility no-scrollbar {
|
|
303
|
+
-ms-overflow-style: none;
|
|
304
|
+
scrollbar-width: none;
|
|
305
|
+
&::-webkit-scrollbar {
|
|
306
|
+
display: none;
|
|
307
|
+
}
|
|
308
|
+
}
|
|
246
309
|
```
|
|
247
310
|
|
|
248
311
|
## Data Table Types
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kayord/ui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "3.0.
|
|
4
|
+
"version": "3.0.3",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/kayordDX/ui"
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
}
|
|
106
106
|
},
|
|
107
107
|
"dependencies": {
|
|
108
|
-
"bits-ui": "2.16.
|
|
108
|
+
"bits-ui": "2.16.5",
|
|
109
109
|
"clsx": "^2.1.1",
|
|
110
110
|
"tailwind-merge": "^3.5.0",
|
|
111
111
|
"tailwind-variants": "^3.2.2"
|
|
@@ -140,15 +140,15 @@
|
|
|
140
140
|
"prettier-plugin-tailwindcss": "^0.7.2",
|
|
141
141
|
"publint": "^0.3.18",
|
|
142
142
|
"runed": "^0.37.1",
|
|
143
|
-
"svelte": "5.55.
|
|
144
|
-
"svelte-check": "^4.4.
|
|
143
|
+
"svelte": "5.55.1",
|
|
144
|
+
"svelte-check": "^4.4.6",
|
|
145
145
|
"svelte-sonner": "^1.1.0",
|
|
146
146
|
"sveltekit-superforms": "^2.30.1",
|
|
147
147
|
"tailwindcss": "^4.2.2",
|
|
148
148
|
"tslib": "^2.8.1",
|
|
149
149
|
"tw-animate-css": "1.4.0",
|
|
150
150
|
"typescript": "^6.0.2",
|
|
151
|
-
"typescript-eslint": "^8.
|
|
151
|
+
"typescript-eslint": "^8.58.0",
|
|
152
152
|
"vaul-svelte": "1.0.0-next.7",
|
|
153
153
|
"vite": "^8.0.3",
|
|
154
154
|
"vitest": "^4.1.2",
|