@spectrabrain/eds 0.0.3 → 0.0.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.
package/dist/tokens.mjs CHANGED
@@ -12,6 +12,18 @@ var tokenMap = {
12
12
  "value": "#DB3700",
13
13
  "cssVariable": "--eds-color-bg-brand-primary-hover"
14
14
  },
15
+ "color-bg-brand-weak": {
16
+ "name": "color-bg-brand-weak",
17
+ "type": "color",
18
+ "value": "#FFA081",
19
+ "cssVariable": "--eds-color-bg-brand-weak"
20
+ },
21
+ "color-bg-brand-weak-hover": {
22
+ "name": "color-bg-brand-weak-hover",
23
+ "type": "color",
24
+ "value": "#FF7141",
25
+ "cssVariable": "--eds-color-bg-brand-weak-hover"
26
+ },
15
27
  "color-bg-critical-primary": {
16
28
  "name": "color-bg-critical-primary",
17
29
  "type": "color",
@@ -27,13 +39,13 @@ var tokenMap = {
27
39
  "color-bg-critical-weak": {
28
40
  "name": "color-bg-critical-weak",
29
41
  "type": "color",
30
- "value": "#FEF2F2",
42
+ "value": "#FEE2E2",
31
43
  "cssVariable": "--eds-color-bg-critical-weak"
32
44
  },
33
45
  "color-bg-critical-weak-hover": {
34
46
  "name": "color-bg-critical-weak-hover",
35
47
  "type": "color",
36
- "value": "#FEE2E2",
48
+ "value": "#FECACA",
37
49
  "cssVariable": "--eds-color-bg-critical-weak-hover"
38
50
  },
39
51
  "color-bg-disabled": {
@@ -57,13 +69,13 @@ var tokenMap = {
57
69
  "color-bg-informative-weak": {
58
70
  "name": "color-bg-informative-weak",
59
71
  "type": "color",
60
- "value": "#EFF6FF",
72
+ "value": "#DBEAFE",
61
73
  "cssVariable": "--eds-color-bg-informative-weak"
62
74
  },
63
75
  "color-bg-informative-weak-hover": {
64
76
  "name": "color-bg-informative-weak-hover",
65
77
  "type": "color",
66
- "value": "#DBEAFE",
78
+ "value": "#BFDBFE",
67
79
  "cssVariable": "--eds-color-bg-informative-weak-hover"
68
80
  },
69
81
  "color-bg-layer-basement": {
@@ -72,6 +84,12 @@ var tokenMap = {
72
84
  "value": "#F3F4F6",
73
85
  "cssVariable": "--eds-color-bg-layer-basement"
74
86
  },
87
+ "color-bg-layer-basement-hover": {
88
+ "name": "color-bg-layer-basement-hover",
89
+ "type": "color",
90
+ "value": "#ECEEF1",
91
+ "cssVariable": "--eds-color-bg-layer-basement-hover"
92
+ },
75
93
  "color-bg-layer-default": {
76
94
  "name": "color-bg-layer-default",
77
95
  "type": "color",
@@ -147,13 +165,13 @@ var tokenMap = {
147
165
  "color-bg-positive-weak": {
148
166
  "name": "color-bg-positive-weak",
149
167
  "type": "color",
150
- "value": "#F0FDF4",
168
+ "value": "#DCFCE7",
151
169
  "cssVariable": "--eds-color-bg-positive-weak"
152
170
  },
153
171
  "color-bg-positive-weak-hover": {
154
172
  "name": "color-bg-positive-weak-hover",
155
173
  "type": "color",
156
- "value": "#DCFCE7",
174
+ "value": "#BBF7D0",
157
175
  "cssVariable": "--eds-color-bg-positive-weak-hover"
158
176
  },
159
177
  "color-bg-transparent": {
@@ -183,13 +201,13 @@ var tokenMap = {
183
201
  "color-bg-warning-weak": {
184
202
  "name": "color-bg-warning-weak",
185
203
  "type": "color",
186
- "value": "#FEFCE8",
204
+ "value": "#FEF9C3",
187
205
  "cssVariable": "--eds-color-bg-warning-weak"
188
206
  },
189
207
  "color-bg-warning-weak-hover": {
190
208
  "name": "color-bg-warning-weak-hover",
191
209
  "type": "color",
192
- "value": "#FEF9C3",
210
+ "value": "#FEF08A",
193
211
  "cssVariable": "--eds-color-bg-warning-weak-hover"
194
212
  },
195
213
  "color-fg-brand": {
@@ -291,7 +309,7 @@ var tokenMap = {
291
309
  "color-fg-warning-contrast": {
292
310
  "name": "color-fg-warning-contrast",
293
311
  "type": "color",
294
- "value": "#713F12",
312
+ "value": "#A16207",
295
313
  "cssVariable": "--eds-color-fg-warning-contrast"
296
314
  },
297
315
  "color-stroke-brand-primary": {
@@ -351,9 +369,15 @@ var tokenMap = {
351
369
  "color-stroke-neutral-secondary": {
352
370
  "name": "color-stroke-neutral-secondary",
353
371
  "type": "color",
354
- "value": "#E5E7EB",
372
+ "value": "#9CA3AF",
355
373
  "cssVariable": "--eds-color-stroke-neutral-secondary"
356
374
  },
375
+ "color-stroke-neutral-tertiary": {
376
+ "name": "color-stroke-neutral-tertiary",
377
+ "type": "color",
378
+ "value": "#E5E7EB",
379
+ "cssVariable": "--eds-color-stroke-neutral-tertiary"
380
+ },
357
381
  "color-stroke-neutral-weak": {
358
382
  "name": "color-stroke-neutral-weak",
359
383
  "type": "color",
@@ -900,6 +924,49 @@ var tokenMap = {
900
924
  },
901
925
  "cssVariable": "--eds-typography-heading3-lineHeight"
902
926
  },
927
+ "typography-heading4-fontFamily": {
928
+ "name": "typography-heading4-fontFamily",
929
+ "type": "fontFamily",
930
+ "value": [
931
+ "Pretendard",
932
+ "system-ui",
933
+ "sans-serif"
934
+ ],
935
+ "cssVariable": "--eds-typography-heading4-fontFamily"
936
+ },
937
+ "typography-heading4-fontSize": {
938
+ "name": "typography-heading4-fontSize",
939
+ "type": "dimension",
940
+ "value": {
941
+ "value": 1.25,
942
+ "unit": "rem"
943
+ },
944
+ "cssVariable": "--eds-typography-heading4-fontSize"
945
+ },
946
+ "typography-heading4-fontWeight": {
947
+ "name": "typography-heading4-fontWeight",
948
+ "type": "fontWeight",
949
+ "value": 550,
950
+ "cssVariable": "--eds-typography-heading4-fontWeight"
951
+ },
952
+ "typography-heading4-letterSpacing": {
953
+ "name": "typography-heading4-letterSpacing",
954
+ "type": "dimension",
955
+ "value": {
956
+ "value": -0.2,
957
+ "unit": "px"
958
+ },
959
+ "cssVariable": "--eds-typography-heading4-letterSpacing"
960
+ },
961
+ "typography-heading4-lineHeight": {
962
+ "name": "typography-heading4-lineHeight",
963
+ "type": "dimension",
964
+ "value": {
965
+ "value": 2,
966
+ "unit": "rem"
967
+ },
968
+ "cssVariable": "--eds-typography-heading4-lineHeight"
969
+ },
903
970
  "typography-title1-fontFamily": {
904
971
  "name": "typography-title1-fontFamily",
905
972
  "type": "fontFamily",
@@ -1077,6 +1144,8 @@ var tokens = Object.freeze(tokenMap);
1077
1144
  var tokenNames = Object.freeze([
1078
1145
  "color-bg-brand-primary",
1079
1146
  "color-bg-brand-primary-hover",
1147
+ "color-bg-brand-weak",
1148
+ "color-bg-brand-weak-hover",
1080
1149
  "color-bg-critical-primary",
1081
1150
  "color-bg-critical-primary-hover",
1082
1151
  "color-bg-critical-weak",
@@ -1087,6 +1156,7 @@ var tokenNames = Object.freeze([
1087
1156
  "color-bg-informative-weak",
1088
1157
  "color-bg-informative-weak-hover",
1089
1158
  "color-bg-layer-basement",
1159
+ "color-bg-layer-basement-hover",
1090
1160
  "color-bg-layer-default",
1091
1161
  "color-bg-layer-default-hover",
1092
1162
  "color-bg-layer-floating",
@@ -1134,6 +1204,7 @@ var tokenNames = Object.freeze([
1134
1204
  "color-stroke-neutral-contrast",
1135
1205
  "color-stroke-neutral-primary",
1136
1206
  "color-stroke-neutral-secondary",
1207
+ "color-stroke-neutral-tertiary",
1137
1208
  "color-stroke-neutral-weak",
1138
1209
  "color-stroke-positive-primary",
1139
1210
  "color-stroke-positive-weak",
@@ -1199,6 +1270,11 @@ var tokenNames = Object.freeze([
1199
1270
  "typography-heading3-fontWeight",
1200
1271
  "typography-heading3-letterSpacing",
1201
1272
  "typography-heading3-lineHeight",
1273
+ "typography-heading4-fontFamily",
1274
+ "typography-heading4-fontSize",
1275
+ "typography-heading4-fontWeight",
1276
+ "typography-heading4-letterSpacing",
1277
+ "typography-heading4-lineHeight",
1202
1278
  "typography-title1-fontFamily",
1203
1279
  "typography-title1-fontSize",
1204
1280
  "typography-title1-fontWeight",
package/llms.txt CHANGED
@@ -3,9 +3,10 @@
3
3
  이 패키지는 React 웹용 EVA 디자인 시스템입니다. 다음 순서로 문서를 읽습니다.
4
4
 
5
5
  1. [AI 사용 규칙](./AI.md)을 읽고 공개 범위와 금지 사례를 확인합니다.
6
- 2. [Button 개요·사용 맥락·API](./dist/components/Button/README.md)를 읽은 뒤 컴포넌트를 사용합니다.
7
- 3. [Button 공개 manifest](./dist/components/Button/spec.json)에서 허용 조합과 접근성 계약을 확인합니다.
8
- 4. [semantic token manifest](./dist/tokens.json)에서 사용 가능한 token 이름을 확인합니다.
9
- 5. [npm 소비자 안내](./README.md)에서 설치와 CSS 진입점을 확인합니다.
6
+ 2. Tailwind CSS v4에서 token만 연결하려면 [Tailwind CSS v4 token 설정](./TAILWIND_V4.md)을 읽습니다.
7
+ 3. [semantic token manifest](./dist/tokens.json)에서 사용 가능한 token 이름을 확인합니다.
8
+ 4. [npm 소비자 안내](./README.md)에서 설치와 CSS 진입점을 확인합니다.
9
+ 5. 컴포넌트를 사용할 때만 [Button 개요·사용 맥락·API](./dist/components/Button/README.md)를 읽습니다.
10
+ 6. Button을 사용할 때만 [Button 공개 manifest](./dist/components/Button/spec.json)에서 허용 조합과 접근성 계약을 확인합니다.
10
11
 
11
12
  문서에 없는 API나 시각 상태를 추측하지 않습니다. 구현보다 문서와 TypeScript contract를 우선합니다.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spectrabrain/eds",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "EVA services' shared React design system",
5
5
  "author": "SpectraBrain",
6
6
  "license": "UNLICENSED",
@@ -13,6 +13,7 @@
13
13
  "README.md",
14
14
  "AI.md",
15
15
  "llms.txt",
16
+ "TAILWIND_V4.md",
16
17
  "NOTICE"
17
18
  ],
18
19
  "scripts": {
@@ -109,6 +110,7 @@
109
110
  "./components/Button/README.md": "./dist/components/Button/README.md",
110
111
  "./components/Button/spec.json": "./dist/components/Button/spec.json",
111
112
  "./llms.txt": "./llms.txt",
113
+ "./TAILWIND_V4.md": "./TAILWIND_V4.md",
112
114
  "./package.json": "./package.json"
113
115
  }
114
116
  }