@gerege-systems/ui 0.12.2 → 0.12.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.
Files changed (51) hide show
  1. package/README.md +1 -2
  2. package/dist-lib/components/ui/Accordion.js.map +1 -1
  3. package/dist-lib/components/ui/Avatar.js.map +1 -1
  4. package/dist-lib/components/ui/Calendar.d.ts +1 -1
  5. package/dist-lib/components/ui/Chart.d.ts +3 -3
  6. package/dist-lib/components/ui/Chart.js +1 -1
  7. package/dist-lib/components/ui/Chart.js.map +1 -1
  8. package/dist-lib/components/ui/Checkbox.js.map +1 -1
  9. package/dist-lib/components/ui/CommandPalette.d.ts +2 -2
  10. package/dist-lib/components/ui/CommandPalette.js.map +1 -1
  11. package/dist-lib/components/ui/ContextMenu.d.ts +1 -1
  12. package/dist-lib/components/ui/ContextMenu.js.map +1 -1
  13. package/dist-lib/components/ui/DataGrid.d.ts +1 -1
  14. package/dist-lib/components/ui/DesignSystemProvider.d.ts +4 -14
  15. package/dist-lib/components/ui/DesignSystemProvider.js +16 -26
  16. package/dist-lib/components/ui/DesignSystemProvider.js.map +1 -1
  17. package/dist-lib/components/ui/Dialog.d.ts +3 -3
  18. package/dist-lib/components/ui/Dialog.js.map +1 -1
  19. package/dist-lib/components/ui/Drawer.d.ts +3 -3
  20. package/dist-lib/components/ui/Drawer.js.map +1 -1
  21. package/dist-lib/components/ui/DropdownMenu.d.ts +1 -1
  22. package/dist-lib/components/ui/DropdownMenu.js.map +1 -1
  23. package/dist-lib/components/ui/Form.d.ts +6 -4
  24. package/dist-lib/components/ui/Form.js.map +1 -1
  25. package/dist-lib/components/ui/Icon.d.ts +1 -1
  26. package/dist-lib/components/ui/Icon.js +10 -10
  27. package/dist-lib/components/ui/Icon.js.map +1 -1
  28. package/dist-lib/components/ui/Popover.js.map +1 -1
  29. package/dist-lib/components/ui/Progress.js.map +1 -1
  30. package/dist-lib/components/ui/RadioGroup.js +16 -18
  31. package/dist-lib/components/ui/RadioGroup.js.map +1 -1
  32. package/dist-lib/components/ui/ScrollArea.js +29 -31
  33. package/dist-lib/components/ui/ScrollArea.js.map +1 -1
  34. package/dist-lib/components/ui/Select.js.map +1 -1
  35. package/dist-lib/components/ui/Separator.js.map +1 -1
  36. package/dist-lib/components/ui/Sheet.d.ts +2 -2
  37. package/dist-lib/components/ui/Sheet.js.map +1 -1
  38. package/dist-lib/components/ui/Sidebar.d.ts +1 -1
  39. package/dist-lib/components/ui/Slider.js.map +1 -1
  40. package/dist-lib/components/ui/Switch.js.map +1 -1
  41. package/dist-lib/components/ui/Tabs.js.map +1 -1
  42. package/dist-lib/components/ui/Timeline.d.ts +3 -3
  43. package/dist-lib/components/ui/Toast.d.ts +1 -1
  44. package/dist-lib/components/ui/Toast.js +17 -15
  45. package/dist-lib/components/ui/Toast.js.map +1 -1
  46. package/dist-lib/components/ui/Tooltip.d.ts +2 -2
  47. package/dist-lib/components/ui/Tooltip.js.map +1 -1
  48. package/dist-lib/illustrations/index.d.ts +7 -7
  49. package/dist-lib/styles.css +1 -1
  50. package/dist-lib/theme.css +6 -25
  51. package/package.json +8 -8
@@ -429,16 +429,13 @@
429
429
  * Accent presets — opt in by setting `data-accent="<name>"` on <html>.
430
430
  *
431
431
  * Only the accent ramp changes; everything else (neutrals, status colours) is
432
- * shared. The hover/active steps (`--color-accent-700/800`) are mode-agnostic;
433
- * the semantic `--accent` / `--accent-subtle` / `--accent-subtle-foreground` /
434
- * `--ring` have a light value (:root[data-accent]) and a brightened dark value
435
- * (.dark[data-accent], listed second so it wins in dark mode). Applied pre-paint
436
- * by theme-init.js, so switching accent never flashes.
432
+ * shared. Hover / active derive from `--accent` (see `--accent-hover` above),
433
+ * so a preset sets only the semantic `--accent` / `--accent-subtle` /
434
+ * `--accent-subtle-foreground` / `--ring`: a light value (:root[data-accent])
435
+ * and a brightened dark value (.dark[data-accent], listed second so it wins in
436
+ * dark mode). Applied pre-paint by theme-init.js, so switching accent never
437
+ * flashes.
437
438
  * --------------------------------------------------------------------------- */
438
- [data-accent='blue'] {
439
- --color-accent-700: oklch(0.47 0.16 250);
440
- --color-accent-800: oklch(0.39 0.14 250);
441
- }
442
439
  :root[data-accent='blue'] {
443
440
  --accent: oklch(0.55 0.16 250);
444
441
  --accent-subtle: oklch(0.96 0.03 250);
@@ -452,10 +449,6 @@
452
449
  --ring: oklch(0.68 0.15 250);
453
450
  }
454
451
 
455
- [data-accent='violet'] {
456
- --color-accent-700: oklch(0.45 0.18 295);
457
- --color-accent-800: oklch(0.38 0.16 295);
458
- }
459
452
  :root[data-accent='violet'] {
460
453
  --accent: oklch(0.53 0.2 295);
461
454
  --accent-subtle: oklch(0.96 0.03 295);
@@ -469,10 +462,6 @@
469
462
  --ring: oklch(0.68 0.18 295);
470
463
  }
471
464
 
472
- [data-accent='emerald'] {
473
- --color-accent-700: oklch(0.47 0.13 160);
474
- --color-accent-800: oklch(0.39 0.12 160);
475
- }
476
465
  :root[data-accent='emerald'] {
477
466
  --accent: oklch(0.55 0.13 160);
478
467
  --accent-subtle: oklch(0.96 0.03 160);
@@ -486,10 +475,6 @@
486
475
  --ring: oklch(0.68 0.14 160);
487
476
  }
488
477
 
489
- [data-accent='rose'] {
490
- --color-accent-700: oklch(0.49 0.18 12);
491
- --color-accent-800: oklch(0.41 0.16 12);
492
- }
493
478
  :root[data-accent='rose'] {
494
479
  --accent: oklch(0.57 0.19 12);
495
480
  --accent-subtle: oklch(0.96 0.03 12);
@@ -503,10 +488,6 @@
503
488
  --ring: oklch(0.7 0.18 12);
504
489
  }
505
490
 
506
- [data-accent='amber'] {
507
- --color-accent-700: oklch(0.54 0.13 65);
508
- --color-accent-800: oklch(0.46 0.12 65);
509
- }
510
491
  :root[data-accent='amber'] {
511
492
  --accent: oklch(0.56 0.14 65); /* 4.8:1 with white text (0.62 was 3.8:1) */
512
493
  --accent-subtle: oklch(0.96 0.04 75);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gerege-systems/ui",
3
- "version": "0.12.2",
3
+ "version": "0.12.4",
4
4
  "description": "Refined-minimal Tailwind v4 + React design system — 50+ accessible, themeable primitives.",
5
5
  "license": "MIT",
6
6
  "author": "Gerege Systems",
@@ -94,7 +94,7 @@
94
94
  "vaul": "^1.1.2"
95
95
  },
96
96
  "devDependencies": {
97
- "@changesets/cli": "^2.31.0",
97
+ "@changesets/cli": "^3.0.2",
98
98
  "@tailwindcss/postcss": "^4.0.0",
99
99
  "@tailwindcss/vite": "^4.0.0",
100
100
  "@testing-library/jest-dom": "^6.9.1",
@@ -105,14 +105,14 @@
105
105
  "@types/react": "^18.3.12",
106
106
  "@types/react-dom": "^18.3.1",
107
107
  "@vitejs/plugin-react": "^4.3.4",
108
- "@vitest/coverage-v8": "^4.1.6",
109
- "@vitest/ui": "^4.1.6",
108
+ "@vitest/coverage-v8": "^5.0.0",
109
+ "@vitest/ui": "^5.0.0",
110
110
  "autoprefixer": "^10.4.20",
111
- "eslint": "^9.16.0",
111
+ "eslint": "^10.10.0",
112
112
  "eslint-plugin-react": "^7.37.2",
113
- "eslint-plugin-react-hooks": "^5.0.0",
113
+ "eslint-plugin-react-hooks": "^7.1.1",
114
114
  "jest-axe": "^10.0.0",
115
- "jsdom": "^29.1.1",
115
+ "jsdom": "^30.0.1",
116
116
  "postcss": "^8.4.49",
117
117
  "prettier": "^3.4.2",
118
118
  "prettier-plugin-tailwindcss": "^0.6.9",
@@ -125,7 +125,7 @@
125
125
  "typescript": "^5.7.2",
126
126
  "vite": "^6.0.3",
127
127
  "vite-plugin-dts": "^5.0.0",
128
- "vitest": "^4.1.6"
128
+ "vitest": "^5.0.0"
129
129
  },
130
130
  "peerDependencies": {
131
131
  "react": "^18 || ^19",