@infonomic/uikit 3.11.0 → 5.0.0

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 (48) hide show
  1. package/dist/components/badge/badge_module.css +8 -8
  2. package/dist/components/button/button-group_module.css +2 -2
  3. package/dist/components/button/button_module.css +44 -127
  4. package/dist/components/button/copy-button_module.css +7 -7
  5. package/dist/components/card/card.js +6 -6
  6. package/dist/components/card/card.module.js +12 -6
  7. package/dist/components/card/card_module.css +10 -10
  8. package/dist/components/container/container_module.css +4 -4
  9. package/dist/components/forms/error-text_module.css +2 -6
  10. package/dist/components/forms/help-text_module.css +1 -1
  11. package/dist/components/forms/input-adornment_module.css +3 -3
  12. package/dist/components/forms/input.js +6 -6
  13. package/dist/components/forms/input.module.js +14 -7
  14. package/dist/components/forms/input_module.css +71 -32
  15. package/dist/components/forms/label_module.css +4 -12
  16. package/dist/components/forms/text-area.js +1 -1
  17. package/dist/components/forms/text-area_module.css +1 -1
  18. package/dist/components/section/section_module.css +2 -1
  19. package/dist/styles/components-vanilla.css +1 -0
  20. package/dist/styles/styles.css +1 -1
  21. package/package.json +25 -23
  22. package/src/components/badge/badge.module.css +16 -8
  23. package/src/components/button/button-group.module.css +4 -2
  24. package/src/components/button/button.module.css +136 -143
  25. package/src/components/button/copy-button.module.css +14 -7
  26. package/src/components/card/card-content.astro +1 -1
  27. package/src/components/card/card-description.astro +1 -1
  28. package/src/components/card/card-footer.astro +1 -1
  29. package/src/components/card/card-header.astro +1 -1
  30. package/src/components/card/card-title.astro +1 -1
  31. package/src/components/card/card.astro +2 -2
  32. package/src/components/card/card.module.css +20 -10
  33. package/src/components/card/card.tsx +6 -6
  34. package/src/components/container/container.module.css +8 -4
  35. package/src/components/forms/error-text.module.css +3 -13
  36. package/src/components/forms/help-text.module.css +2 -1
  37. package/src/components/forms/input-adornment.module.css +6 -3
  38. package/src/components/forms/input.astro +6 -6
  39. package/src/components/forms/input.module.css +82 -39
  40. package/src/components/forms/input.tsx +6 -6
  41. package/src/components/forms/label.module.css +6 -19
  42. package/src/components/forms/text-area.module.css +2 -1
  43. package/src/components/forms/text-area.tsx +1 -1
  44. package/src/components/section/section.module.css +3 -1
  45. package/src/styles/functional/colors.css +0 -23
  46. package/src/styles/functional/surfaces.css +4 -4
  47. package/src/styles/functional/typography.css +3 -0
  48. package/src/styles/typography/prose.css +1 -0
@@ -89,15 +89,15 @@
89
89
  --shadow: var(--shadow-md);
90
90
  --loader-color: var(--fill-primary-strong);
91
91
 
92
- /* SURFACE TOKENS (for panels, dropdowns, menus, lists)
92
+ /* SURFACE TOKENS (Force Light Mode)
93
93
  ----------------------------------------------------------------- */
94
94
 
95
- /* Panel/container backgrounds */
95
+ /* Panel/container backgrounds - identical to :root */
96
96
  --surface-panel: var(--canvas-25);
97
- --surface-panel-elevated: white; /* For dropdowns/popovers with shadow */
97
+ --surface-panel-elevated: white;
98
98
  --surface-panel-border: var(--border-color);
99
99
 
100
- /* Item backgrounds (default transparent, inherits panel) */
100
+ /* Item backgrounds */
101
101
  --surface-item: transparent;
102
102
  --surface-item-hover: var(--canvas-50);
103
103
  --surface-item-active: var(--canvas-100);
@@ -11,6 +11,7 @@
11
11
  --text: var(--gray-900);
12
12
  --headings: var(--primary-700);
13
13
  --muted: oklch(from var(--foreground) calc(l * 2) c h);
14
+ --error: var(--red-500);
14
15
  }
15
16
 
16
17
  /* 🌙 Dark via `.dark` class or [data-theme="dark"] attribute.
@@ -27,6 +28,7 @@
27
28
  --text: var(--gray-50);
28
29
  --headings: var(--gray-50);
29
30
  --muted: oklch(from var(--foreground) calc(l * 0.75) c h);
31
+ --error: var(--red-400);
30
32
  }
31
33
 
32
34
  /* ===================================================================
@@ -40,5 +42,6 @@
40
42
  --text: var(--gray-900);
41
43
  --headings: var(--primary-800);
42
44
  --muted: oklch(from var(--foreground) calc(l * 2) c h);
45
+ --error: var(--red-500);
43
46
  }
44
47
  }
@@ -12,6 +12,7 @@
12
12
  * behind a cascade layer).
13
13
  *
14
14
  */
15
+
15
16
  @layer infonomic-typography {
16
17
  :root {
17
18
  --prose-body: var(--gray-900);