@clasing/ui 2.9.0 → 2.9.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.
package/dist/ui.css CHANGED
@@ -239,55 +239,9 @@
239
239
  0px 16px 32px 0px rgba(25, 25, 25, 0.1),
240
240
  0px 0px 12px 0px rgba(25, 25, 25, 0.08);
241
241
 
242
- --animate-fade-in-scale-up: fadeInScaleUp 0.15s ease-out;
243
- --animate-fade-out-scale-up: fadeOutScaleUp 0.15s ease-out;
244
- --animate-fade-in-scale-down: fadeInScaleDown 0.15s ease-out;
245
- --animate-fade-out-scale-down: fadeOutScaleDown 0.15s ease-out;
246
-
247
242
  --ease-circ-in: cubic-bezier(0.6, 0.04, 0.98, 0.335);
248
243
  --ease-circ-out: cubic-bezier(0.075, 0.82, 0.165, 1);
249
244
  --ease-circ-in-out: cubic-bezier(0.785, 0.135, 0.15, 0.86);
250
-
251
- @keyframes fadeInScaleUp {
252
- 0% {
253
- opacity: 0;
254
- transform: scale(0.9) translateY(50px);
255
- }
256
- 100% {
257
- opacity: 1;
258
- transform: scale(1) translateY(0);
259
- }
260
- }
261
- @keyframes fadeOutScaleUp {
262
- 0% {
263
- opacity: 1;
264
- transform: scale(1) translateY(0);
265
- }
266
- 100% {
267
- opacity: 0;
268
- transform: scale(0.9) translateY(50px);
269
- }
270
- }
271
- @keyframes fadeInScaleDown {
272
- 0% {
273
- opacity: 0;
274
- transform: scale(0.9) translateY(-50px);
275
- }
276
- 100% {
277
- opacity: 1;
278
- transform: scale(1) translateY(0);
279
- }
280
- }
281
- @keyframes fadeOutScaleDown {
282
- 0% {
283
- opacity: 1;
284
- transform: scale(1) translateY(0);
285
- }
286
- 100% {
287
- opacity: 0;
288
- transform: scale(0.9) translateY(-50px);
289
- }
290
- }
291
245
  }
292
246
 
293
247
  :root {
@@ -326,13 +280,16 @@
326
280
  --sidebar-foreground: var(--foreground);
327
281
  --sidebar-primary: var(--primary);
328
282
  --sidebar-primary-foreground: var(--primary-foreground);
329
- --sidebar-accent: var(--accent);
330
- --sidebar-accent-foreground: var(--accent-foreground);
283
+ --sidebar-accent: var(--color-blue-050);
284
+ --sidebar-accent-foreground: var(--color-blue-500);
331
285
  --sidebar-border: var(--border);
332
286
  --surface: var(--color-neutral-100);
333
287
  --surface-foreground: var(--foreground);
334
288
  --code: var(--color-neutral-100);
335
289
  --code-foreground: var(--color-neutral-950);
290
+ --scrollbar: var(--color-neutral-100);
291
+ --scrollbar-foreground: var(--color-neutral-200);
292
+ --scrollbar-hover: var(--color-neutral-300);
336
293
  }
337
294
 
338
295
  .dark {
@@ -370,13 +327,16 @@
370
327
  --sidebar-foreground: var(--foreground);
371
328
  --sidebar-primary: var(--primary);
372
329
  --sidebar-primary-foreground: var(--primary-foreground);
373
- --sidebar-accent: var(--accent);
374
- --sidebar-accent-foreground: var(--accent-foreground);
330
+ --sidebar-accent: var(--color-blue-900);
331
+ --sidebar-accent-foreground: var(--color-blue-200);
375
332
  --sidebar-border: var(--border);
376
333
  --surface: var(--color-neutral-900);
377
334
  --surface-foreground: var(--foreground);
378
335
  --code: var(--color-neutral-900);
379
336
  --code-foreground: var(--color-neutral-100);
337
+ --scrollbar: var(--color-neutral-800);
338
+ --scrollbar-foreground: var(--color-neutral-700);
339
+ --scrollbar-hover: var(--color-neutral-600);
380
340
  }
381
341
  /*
382
342
  The default border color has changed to `currentcolor` in Tailwind CSS v4,
@@ -713,17 +673,17 @@ input[type='color']::-webkit-color-swatch {
713
673
  }
714
674
 
715
675
  *::-webkit-scrollbar-track {
716
- background: var(--color-neutral-000);
676
+ background: var(--scrollbar);
717
677
  border-radius: 30px;
718
678
  }
719
679
 
720
680
  *::-webkit-scrollbar-thumb {
721
- background-color: var(--color-neutral-100);
681
+ background-color: var(--scrollbar-foreground);
722
682
  border-radius: 14px;
723
683
  }
724
684
 
725
685
  ::-webkit-scrollbar-thumb:hover {
726
- background-color: var(--color-neutral-200);
686
+ background-color: var(--scrollbar-hover);
727
687
  }
728
688
 
729
689
  @utility active-card {
@@ -731,5 +691,16 @@ input[type='color']::-webkit-color-swatch {
731
691
  }
732
692
 
733
693
  @utility focusable-item {
734
- @apply transition-[color,background-color,box-shadow] focus-visible:ring-[2px] focus-visible:ring-ring-default focus-visible:ring-offset-1 focus-visible:outline-hidden;
694
+ @apply transition-[color,background-color,box-shadow] focus-visible:ring-[2px] focus-visible:ring-ring-default/80 focus-visible:ring-offset-1 focus-visible:outline-hidden;
695
+ }
696
+
697
+ /* Reduced motion support */
698
+ @media (prefers-reduced-motion: reduce) {
699
+ *,
700
+ *::before,
701
+ *::after {
702
+ animation-duration: 0.01ms !important;
703
+ animation-iteration-count: 1 !important;
704
+ transition-duration: 0.01ms !important;
705
+ }
735
706
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clasing/ui",
3
- "version": "2.9.0",
3
+ "version": "2.9.2",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -179,6 +179,10 @@
179
179
  "import": "./dist/components/table.js",
180
180
  "types": "./dist/components/table.d.ts"
181
181
  },
182
+ "./tabs": {
183
+ "import": "./dist/components/tabs.js",
184
+ "types": "./dist/components/tabs.d.ts"
185
+ },
182
186
  "./toggle": {
183
187
  "import": "./dist/components/toggle.js",
184
188
  "types": "./dist/components/toggle.d.ts"
@@ -191,6 +195,22 @@
191
195
  "import": "./dist/components/tooltip.js",
192
196
  "types": "./dist/components/tooltip.d.ts"
193
197
  },
198
+ "./tree": {
199
+ "import": "./dist/components/tree.js",
200
+ "types": "./dist/components/tree.d.ts"
201
+ },
202
+ "./radio-group": {
203
+ "import": "./dist/components/radio-group.js",
204
+ "types": "./dist/components/radio-group.d.ts"
205
+ },
206
+ "./pagination": {
207
+ "import": "./dist/components/pagination.js",
208
+ "types": "./dist/components/pagination.d.ts"
209
+ },
210
+ "./field": {
211
+ "import": "./dist/components/field.js",
212
+ "types": "./dist/components/field.d.ts"
213
+ },
194
214
  "./blocks/interactive-card": {
195
215
  "import": "./dist/components/blocks/interactive-card.js",
196
216
  "types": "./dist/components/blocks/interactive-card.d.ts"
@@ -240,7 +260,8 @@
240
260
  "@chromatic-com/storybook": "^4.1.3",
241
261
  "@eslint/css": "^0.14.1",
242
262
  "@eslint/js": "^9.39.3",
243
- "@radix-ui/react-tooltip": "^1.2.8",
263
+ "@radix-ui/react-radio-group": "^1.3.8",
264
+ "@radix-ui/react-tabs": "^1.1.13",
244
265
  "@storybook/addon-docs": "^10.2.15",
245
266
  "@storybook/addon-links": "^10.2.15",
246
267
  "@storybook/addon-onboarding": "^10.2.15",
@@ -300,13 +321,15 @@
300
321
  "@radix-ui/react-navigation-menu": "^1.2.13",
301
322
  "@radix-ui/react-popover": "^1.1.14",
302
323
  "@radix-ui/react-progress": "^1.1.7",
324
+ "@radix-ui/react-radio-group": "^1.3.14",
303
325
  "@radix-ui/react-scroll-area": "^1.2.9",
304
326
  "@radix-ui/react-select": "^2.2.5",
305
327
  "@radix-ui/react-slider": "^1.3.5",
306
328
  "@radix-ui/react-slot": "^1.2.3",
329
+ "@radix-ui/react-tabs": "^1.1.12",
307
330
  "@radix-ui/react-toggle": "^1.1.9",
308
331
  "@radix-ui/react-toggle-group": "^1.1.10",
309
- "@radix-ui/react-tooltip": "^1.2.7",
332
+ "@radix-ui/react-tooltip": "^1.2.8",
310
333
  "@tailwindcss/forms": "^0.5.7",
311
334
  "cmdk": "^1.1.1",
312
335
  "date-fns": "^4.1.0",
@@ -317,7 +340,7 @@
317
340
  "react-resizable-panels": "^3.0.3",
318
341
  "recharts": "^3.1.0",
319
342
  "sonner": "^2.0.6",
320
- "tw-animate-css": "^1.3.5",
343
+ "tw-animate-css": "^1.4.0",
321
344
  "vaul": "^1.1.2",
322
345
  "zod": "^4.0.17"
323
346
  }