@goliapkg/gds 1.0.7 → 1.0.9
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 +61 -0
- package/dist/l3-atoms/segmented-control.d.ts +2 -2
- package/dist/l3-atoms/segmented-control.d.ts.map +1 -1
- package/dist/l3-atoms/toggle-group.d.ts +2 -2
- package/dist/l3-atoms/toggle-group.d.ts.map +1 -1
- package/dist/l3-atoms-CsN9IA9J.js.map +1 -1
- package/dist/l4-molecules/chip-group.d.ts +2 -2
- package/dist/l4-molecules/chip-group.d.ts.map +1 -1
- package/dist/l4-molecules/filter-bar.d.ts +2 -2
- package/dist/l4-molecules/filter-bar.d.ts.map +1 -1
- package/dist/l4-molecules/input-with-button.d.ts +2 -2
- package/dist/l4-molecules/input-with-button.d.ts.map +1 -1
- package/dist/l4-molecules-DXTNnybm.js.map +1 -1
- package/dist/theme.css +41 -0
- package/package.json +5 -2
package/dist/theme.css
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/* GDS → Tailwind @theme mapping
|
|
2
|
+
* import this file to make Tailwind utilities (shadow-sm, rounded-lg, etc.)
|
|
3
|
+
* use GDS theme-aware tokens injected by useThemeEffect()
|
|
4
|
+
*
|
|
5
|
+
* usage:
|
|
6
|
+
* @import '@goliapkg/gds/theme.css';
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
@theme {
|
|
10
|
+
/* colors — dynamic, set by useThemeEffect() */
|
|
11
|
+
--color-bg: var(--gds-bg);
|
|
12
|
+
--color-bg-secondary: var(--gds-bg-secondary);
|
|
13
|
+
--color-bg-tertiary: var(--gds-bg-tertiary);
|
|
14
|
+
--color-surface: var(--gds-surface);
|
|
15
|
+
--color-fg: var(--gds-fg);
|
|
16
|
+
--color-fg-secondary: var(--gds-fg-secondary);
|
|
17
|
+
--color-fg-muted: var(--gds-fg-muted);
|
|
18
|
+
--color-border: var(--gds-border);
|
|
19
|
+
--color-border-strong: var(--gds-border-strong);
|
|
20
|
+
--color-accent: var(--gds-accent);
|
|
21
|
+
--color-accent-hover: var(--gds-accent-hover);
|
|
22
|
+
--color-accent-fg: var(--gds-accent-fg);
|
|
23
|
+
--color-overlay: var(--gds-overlay);
|
|
24
|
+
--color-danger: var(--gds-danger);
|
|
25
|
+
--color-warning: var(--gds-warning);
|
|
26
|
+
--color-success: var(--gds-success);
|
|
27
|
+
|
|
28
|
+
/* shadows — dynamic, controlled by elevation axis */
|
|
29
|
+
--shadow-xs: var(--gds-shadow-xs);
|
|
30
|
+
--shadow-sm: var(--gds-shadow-sm);
|
|
31
|
+
--shadow-md: var(--gds-shadow-md);
|
|
32
|
+
--shadow-lg: var(--gds-shadow-lg);
|
|
33
|
+
--shadow-xl: var(--gds-shadow-xl);
|
|
34
|
+
|
|
35
|
+
/* border radius — dynamic, controlled by shape axis */
|
|
36
|
+
--radius-sm: var(--gds-radius-sm);
|
|
37
|
+
--radius-md: var(--gds-radius-md);
|
|
38
|
+
--radius-lg: var(--gds-radius-lg);
|
|
39
|
+
--radius-xl: var(--gds-radius-xl);
|
|
40
|
+
--radius-full: var(--gds-radius-full);
|
|
41
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@goliapkg/gds",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.9",
|
|
4
4
|
"description": "GOLIA Design System — enterprise-grade UI component library with contextual depth, glass materials, AI-native structure, and 10 design principles",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -73,7 +73,10 @@
|
|
|
73
73
|
"types": "./dist/utils/index.d.ts"
|
|
74
74
|
},
|
|
75
75
|
"./tokens.css": "./dist/tokens.css",
|
|
76
|
+
"./theme.css": "./dist/theme.css",
|
|
76
77
|
"./fonts.css": "./dist/fonts.css",
|
|
78
|
+
"./llms.txt": "./llms.txt",
|
|
79
|
+
"./llms-full.txt": "./llms-full.txt",
|
|
77
80
|
"./package.json": "./package.json"
|
|
78
81
|
},
|
|
79
82
|
"files": [
|
|
@@ -98,7 +101,7 @@
|
|
|
98
101
|
"build": "bun run clean && bun run build:lib && bun run build:types && bun run build:css",
|
|
99
102
|
"build:lib": "vite build --config vite.config.lib.ts",
|
|
100
103
|
"build:types": "tsc -p tsconfig.build.json",
|
|
101
|
-
"build:css": "cp src/l0-tokens/tokens.css dist/tokens.css && cp src/l0-tokens/fonts.css dist/fonts.css && cp -r src/l0-tokens/fonts dist/fonts",
|
|
104
|
+
"build:css": "cp src/l0-tokens/tokens.css dist/tokens.css && cp src/l0-tokens/theme.css dist/theme.css && cp src/l0-tokens/fonts.css dist/fonts.css && cp -r src/l0-tokens/fonts dist/fonts",
|
|
102
105
|
"check": "bun run test && bun run typecheck && bun run lint"
|
|
103
106
|
},
|
|
104
107
|
"peerDependencies": {
|