@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.
- package/dist/components/badge/badge_module.css +8 -8
- package/dist/components/button/button-group_module.css +2 -2
- package/dist/components/button/button_module.css +44 -127
- package/dist/components/button/copy-button_module.css +7 -7
- package/dist/components/card/card.js +6 -6
- package/dist/components/card/card.module.js +12 -6
- package/dist/components/card/card_module.css +10 -10
- package/dist/components/container/container_module.css +4 -4
- package/dist/components/forms/error-text_module.css +2 -6
- package/dist/components/forms/help-text_module.css +1 -1
- package/dist/components/forms/input-adornment_module.css +3 -3
- package/dist/components/forms/input.js +6 -6
- package/dist/components/forms/input.module.js +14 -7
- package/dist/components/forms/input_module.css +71 -32
- package/dist/components/forms/label_module.css +4 -12
- package/dist/components/forms/text-area.js +1 -1
- package/dist/components/forms/text-area_module.css +1 -1
- package/dist/components/section/section_module.css +2 -1
- package/dist/styles/components-vanilla.css +1 -0
- package/dist/styles/styles.css +1 -1
- package/package.json +25 -23
- package/src/components/badge/badge.module.css +16 -8
- package/src/components/button/button-group.module.css +4 -2
- package/src/components/button/button.module.css +136 -143
- package/src/components/button/copy-button.module.css +14 -7
- package/src/components/card/card-content.astro +1 -1
- package/src/components/card/card-description.astro +1 -1
- package/src/components/card/card-footer.astro +1 -1
- package/src/components/card/card-header.astro +1 -1
- package/src/components/card/card-title.astro +1 -1
- package/src/components/card/card.astro +2 -2
- package/src/components/card/card.module.css +20 -10
- package/src/components/card/card.tsx +6 -6
- package/src/components/container/container.module.css +8 -4
- package/src/components/forms/error-text.module.css +3 -13
- package/src/components/forms/help-text.module.css +2 -1
- package/src/components/forms/input-adornment.module.css +6 -3
- package/src/components/forms/input.astro +6 -6
- package/src/components/forms/input.module.css +82 -39
- package/src/components/forms/input.tsx +6 -6
- package/src/components/forms/label.module.css +6 -19
- package/src/components/forms/text-area.module.css +2 -1
- package/src/components/forms/text-area.tsx +1 -1
- package/src/components/section/section.module.css +3 -1
- package/src/styles/functional/colors.css +0 -23
- package/src/styles/functional/surfaces.css +4 -4
- package/src/styles/functional/typography.css +3 -0
- 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 (
|
|
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;
|
|
97
|
+
--surface-panel-elevated: white;
|
|
98
98
|
--surface-panel-border: var(--border-color);
|
|
99
99
|
|
|
100
|
-
/* Item backgrounds
|
|
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
|
}
|