@spectrabrain/eds 0.6.0 → 0.6.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @spectrabrain/eds
2
2
 
3
+ ## 0.6.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 737e52c: 소비처 조치: `npm install @spectrabrain/eds`로 업데이트합니다.
8
+
9
+ 비활성 semantic color token 세 가지를 추가하고 EDS `Button`의 `brand/solid`·`neutral/solid` 비활성 색상 매핑을 갱신합니다.
10
+
3
11
  ## 0.6.0
4
12
 
5
13
  ### Minor Changes
package/TOKEN_CONTEXT.md CHANGED
@@ -18,8 +18,8 @@
18
18
 
19
19
  | 역할 | 의미 색(`brand`·`critical`·`informative`·`positive`·`warning`) | `neutral` | 의미 없이 쓰는 이름 |
20
20
  | --- | --- | --- | --- |
21
- | `bg` | `-primary`, `-weak` | `-primary`, `-weak`, `-inverted` | `layer-basement`, `layer-default`, `layer-floating`, `transparent`, `disabled` |
22
- | `fg` | 접미사 없음, `-contrast` | 접미사 없음, `-secondary`, `-tertiary`, `-inverted` | `disabled`, `placeholder`, `focus` |
21
+ | `bg` | `-primary`, `-weak` | `-primary`, `-weak`, `-inverted` | `layer-basement`, `layer-default`, `layer-floating`, `transparent`, `disabled`, `disabled-brand-primary`, `disabled-neutral-inverted` |
22
+ | `fg` | 접미사 없음, `-contrast` | 접미사 없음, `-secondary`, `-tertiary`, `-inverted` | `disabled`, `disabled-inverted`, `placeholder`, `focus` |
23
23
  | `stroke` | `-primary`, `-weak` | `-contrast`, `-primary`, `-secondary`, `-tertiary`, `-weak` | `focusRing` |
24
24
 
25
25
  Button 계약에 있는 배경·글자 조합은 `bg-critical-weak`와 `fg-critical`, `bg-neutral-weak`와 `fg-neutral`, `bg-brand-primary`·`bg-neutral-inverted`와 `fg-neutral-inverted`입니다. 본문보다 낮은 위계의 글자는 `fg-neutral-secondary`, 그보다 낮으면 `fg-neutral-tertiary`를 씁니다. 그 밖의 배경 위 글자 색(`brand`·`informative`·`positive`·`warning`의 `weak`·`primary` 배경), 상태 안내(오류 border, badge)의 stroke·fg 조합, `-contrast` fg의 용도, `layer` 계열과 `neutral` 배경의 구분은 `미결`입니다.
@@ -31,7 +31,9 @@ exact token이 없으면 아래 순서로 조건을 하나씩 완화하고, 처
31
31
  3. 강도를 같은 의미 안의 가까운 단계로 바꿉니다(`primary`↔`weak`, `neutral`의 `secondary`·`tertiary`).
32
32
  4. 의미를 `neutral`로 바꿉니다. `critical`·`warning`·`positive`·`informative`를 `neutral`로 바꿔야 한다면 구현을 멈추고 사용자에게 확인합니다.
33
33
 
34
- 버튼은 token을 조합하지 않고 EDS `Button`의 `role`·`variant`를 씁니다. 행동별 조합은 설치된 패키지의 `dist/components/Button/README.md` 「Role과 Variant」를 따릅니다.
34
+ 일반 비활성 색상은 `color-bg-disabled`와 `color-fg-disabled`입니다. EDS `Button`은 `brand/solid` 비활성 배경에 `color-bg-disabled-brand-primary`, `neutral/solid` 비활성 배경에 `color-bg-disabled-neutral-inverted`, 두 조합의 전경에 `color-fg-disabled-inverted`를 적용합니다. `color-fg-placeholder`는 입력 placeholder 문구 역할이며 비활성 전경 token과 구분합니다.
35
+
36
+ 버튼은 token을 직접 조합하지 않고 EDS `Button`의 `role`·`variant`를 씁니다. 행동별 조합은 설치된 패키지의 `dist/components/Button/README.md` 「Role과 Variant」를 따릅니다.
35
37
 
36
38
  ## Typography
37
39
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "specVersion": 1,
3
- "packageVersion": "0.6.0",
3
+ "packageVersion": "0.6.1",
4
4
  "name": "Button",
5
5
  "purpose": "사용자가 즉시 실행할 수 있는 행동과 탐색을 표현하는 인터랙티브 요소입니다.",
6
6
  "usageContexts": [
@@ -69,8 +69,8 @@
69
69
  --eds-button-style-brand-outline-loading-progressCircle-rangeColor: var(--eds-color-fg-brand);
70
70
  --eds-button-style-brand-outline-loading-progressCircle-trackColor: #FFA081;
71
71
  --eds-button-style-brand-outline-loading-root-backgroundColor: var(--eds-color-bg-transparent-hover);
72
- --eds-button-style-brand-solid-disabled-label-color: var(--eds-color-fg-disabled);
73
- --eds-button-style-brand-solid-disabled-root-backgroundColor: var(--eds-color-bg-disabled);
72
+ --eds-button-style-brand-solid-disabled-label-color: var(--eds-color-fg-disabled-inverted);
73
+ --eds-button-style-brand-solid-disabled-root-backgroundColor: var(--eds-color-bg-disabled-brand-primary);
74
74
  --eds-button-style-brand-solid-enabled-label-color: var(--eds-color-fg-neutral-inverted);
75
75
  --eds-button-style-brand-solid-enabled-root-backgroundColor: var(--eds-color-bg-brand-primary);
76
76
  --eds-button-style-brand-solid-hover-root-backgroundColor: var(--eds-color-bg-brand-primary-hover);
@@ -117,8 +117,8 @@
117
117
  --eds-button-style-neutral-outline-loading-progressCircle-rangeColor: var(--eds-color-fg-neutral);
118
118
  --eds-button-style-neutral-outline-loading-progressCircle-trackColor: #D1D5DB;
119
119
  --eds-button-style-neutral-outline-loading-root-backgroundColor: var(--eds-color-bg-neutral-primary-hover);
120
- --eds-button-style-neutral-solid-disabled-label-color: var(--eds-color-fg-disabled);
121
- --eds-button-style-neutral-solid-disabled-root-backgroundColor: var(--eds-color-bg-disabled);
120
+ --eds-button-style-neutral-solid-disabled-label-color: var(--eds-color-fg-disabled-inverted);
121
+ --eds-button-style-neutral-solid-disabled-root-backgroundColor: var(--eds-color-bg-disabled-neutral-inverted);
122
122
  --eds-button-style-neutral-solid-enabled-label-color: var(--eds-color-fg-neutral-inverted);
123
123
  --eds-button-style-neutral-solid-enabled-root-backgroundColor: var(--eds-color-bg-neutral-inverted);
124
124
  --eds-button-style-neutral-solid-hover-root-backgroundColor: var(--eds-color-bg-neutral-inverted-hover);
package/dist/index.js CHANGED
@@ -60,6 +60,18 @@ var tokenMap = /* @__PURE__ */ Object.freeze({
60
60
  "value": "#E5E7EB",
61
61
  "cssVariable": "--eds-color-bg-disabled"
62
62
  },
63
+ "color-bg-disabled-brand-primary": {
64
+ "name": "color-bg-disabled-brand-primary",
65
+ "type": "color",
66
+ "value": "#FFA081",
67
+ "cssVariable": "--eds-color-bg-disabled-brand-primary"
68
+ },
69
+ "color-bg-disabled-neutral-inverted": {
70
+ "name": "color-bg-disabled-neutral-inverted",
71
+ "type": "color",
72
+ "value": "#9CA3AF",
73
+ "cssVariable": "--eds-color-bg-disabled-neutral-inverted"
74
+ },
63
75
  "color-bg-informative-primary": {
64
76
  "name": "color-bg-informative-primary",
65
77
  "type": "color",
@@ -246,6 +258,12 @@ var tokenMap = /* @__PURE__ */ Object.freeze({
246
258
  "value": "#D1D5DB",
247
259
  "cssVariable": "--eds-color-fg-disabled"
248
260
  },
261
+ "color-fg-disabled-inverted": {
262
+ "name": "color-fg-disabled-inverted",
263
+ "type": "color",
264
+ "value": "#FFFFFFFF",
265
+ "cssVariable": "--eds-color-fg-disabled-inverted"
266
+ },
249
267
  "color-fg-focus": {
250
268
  "name": "color-fg-focus",
251
269
  "type": "color",
@@ -1157,6 +1175,8 @@ var tokenNames = /* @__PURE__ */ Object.freeze([
1157
1175
  "color-bg-critical-weak",
1158
1176
  "color-bg-critical-weak-hover",
1159
1177
  "color-bg-disabled",
1178
+ "color-bg-disabled-brand-primary",
1179
+ "color-bg-disabled-neutral-inverted",
1160
1180
  "color-bg-informative-primary",
1161
1181
  "color-bg-informative-primary-hover",
1162
1182
  "color-bg-informative-weak",
@@ -1188,6 +1208,7 @@ var tokenNames = /* @__PURE__ */ Object.freeze([
1188
1208
  "color-fg-critical",
1189
1209
  "color-fg-critical-contrast",
1190
1210
  "color-fg-disabled",
1211
+ "color-fg-disabled-inverted",
1191
1212
  "color-fg-focus",
1192
1213
  "color-fg-informative",
1193
1214
  "color-fg-informative-contrast",
package/dist/index.mjs CHANGED
@@ -58,6 +58,18 @@ var tokenMap = /* @__PURE__ */ Object.freeze({
58
58
  "value": "#E5E7EB",
59
59
  "cssVariable": "--eds-color-bg-disabled"
60
60
  },
61
+ "color-bg-disabled-brand-primary": {
62
+ "name": "color-bg-disabled-brand-primary",
63
+ "type": "color",
64
+ "value": "#FFA081",
65
+ "cssVariable": "--eds-color-bg-disabled-brand-primary"
66
+ },
67
+ "color-bg-disabled-neutral-inverted": {
68
+ "name": "color-bg-disabled-neutral-inverted",
69
+ "type": "color",
70
+ "value": "#9CA3AF",
71
+ "cssVariable": "--eds-color-bg-disabled-neutral-inverted"
72
+ },
61
73
  "color-bg-informative-primary": {
62
74
  "name": "color-bg-informative-primary",
63
75
  "type": "color",
@@ -244,6 +256,12 @@ var tokenMap = /* @__PURE__ */ Object.freeze({
244
256
  "value": "#D1D5DB",
245
257
  "cssVariable": "--eds-color-fg-disabled"
246
258
  },
259
+ "color-fg-disabled-inverted": {
260
+ "name": "color-fg-disabled-inverted",
261
+ "type": "color",
262
+ "value": "#FFFFFFFF",
263
+ "cssVariable": "--eds-color-fg-disabled-inverted"
264
+ },
247
265
  "color-fg-focus": {
248
266
  "name": "color-fg-focus",
249
267
  "type": "color",
@@ -1155,6 +1173,8 @@ var tokenNames = /* @__PURE__ */ Object.freeze([
1155
1173
  "color-bg-critical-weak",
1156
1174
  "color-bg-critical-weak-hover",
1157
1175
  "color-bg-disabled",
1176
+ "color-bg-disabled-brand-primary",
1177
+ "color-bg-disabled-neutral-inverted",
1158
1178
  "color-bg-informative-primary",
1159
1179
  "color-bg-informative-primary-hover",
1160
1180
  "color-bg-informative-weak",
@@ -1186,6 +1206,7 @@ var tokenNames = /* @__PURE__ */ Object.freeze([
1186
1206
  "color-fg-critical",
1187
1207
  "color-fg-critical-contrast",
1188
1208
  "color-fg-disabled",
1209
+ "color-fg-disabled-inverted",
1189
1210
  "color-fg-focus",
1190
1211
  "color-fg-informative",
1191
1212
  "color-fg-informative-contrast",
package/dist/tokens.css CHANGED
@@ -9,6 +9,8 @@
9
9
  --eds-color-bg-critical-weak: #FEE2E2;
10
10
  --eds-color-bg-critical-weak-hover: #FECACA;
11
11
  --eds-color-bg-disabled: #E5E7EB;
12
+ --eds-color-bg-disabled-brand-primary: #FFA081;
13
+ --eds-color-bg-disabled-neutral-inverted: #9CA3AF;
12
14
  --eds-color-bg-informative-primary: #3B82F6;
13
15
  --eds-color-bg-informative-primary-hover: #2563EB;
14
16
  --eds-color-bg-informative-weak: #DBEAFE;
@@ -40,6 +42,7 @@
40
42
  --eds-color-fg-critical: #EF4444;
41
43
  --eds-color-fg-critical-contrast: #B91C1C;
42
44
  --eds-color-fg-disabled: #D1D5DB;
45
+ --eds-color-fg-disabled-inverted: #FFFFFFFF;
43
46
  --eds-color-fg-focus: #374151;
44
47
  --eds-color-fg-informative: #3B82F6;
45
48
  --eds-color-fg-informative-contrast: #1D4ED8;
package/dist/tokens.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- type SemanticTokenName = "color-bg-brand-primary" | "color-bg-brand-primary-hover" | "color-bg-brand-weak" | "color-bg-brand-weak-hover" | "color-bg-critical-primary" | "color-bg-critical-primary-hover" | "color-bg-critical-weak" | "color-bg-critical-weak-hover" | "color-bg-disabled" | "color-bg-informative-primary" | "color-bg-informative-primary-hover" | "color-bg-informative-weak" | "color-bg-informative-weak-hover" | "color-bg-layer-basement" | "color-bg-layer-basement-hover" | "color-bg-layer-default" | "color-bg-layer-default-hover" | "color-bg-layer-floating" | "color-bg-layer-floating-hover" | "color-bg-neutral-inverted" | "color-bg-neutral-inverted-hover" | "color-bg-neutral-primary" | "color-bg-neutral-primary-hover" | "color-bg-neutral-weak" | "color-bg-neutral-weak-hover" | "color-bg-positive-primary" | "color-bg-positive-primary-hover" | "color-bg-positive-weak" | "color-bg-positive-weak-hover" | "color-bg-transparent" | "color-bg-transparent-hover" | "color-bg-warning-primary" | "color-bg-warning-primary-hover" | "color-bg-warning-weak" | "color-bg-warning-weak-hover" | "color-fg-brand" | "color-fg-brand-contrast" | "color-fg-critical" | "color-fg-critical-contrast" | "color-fg-disabled" | "color-fg-focus" | "color-fg-informative" | "color-fg-informative-contrast" | "color-fg-neutral" | "color-fg-neutral-inverted" | "color-fg-neutral-secondary" | "color-fg-neutral-tertiary" | "color-fg-placeholder" | "color-fg-positive" | "color-fg-positive-contrast" | "color-fg-warning" | "color-fg-warning-contrast" | "color-stroke-brand-primary" | "color-stroke-brand-weak" | "color-stroke-critical-primary" | "color-stroke-critical-weak" | "color-stroke-focusRing" | "color-stroke-informative-primary" | "color-stroke-informative-weak" | "color-stroke-neutral-contrast" | "color-stroke-neutral-primary" | "color-stroke-neutral-secondary" | "color-stroke-neutral-tertiary" | "color-stroke-neutral-weak" | "color-stroke-positive-primary" | "color-stroke-positive-weak" | "color-stroke-warning-primary" | "color-stroke-warning-weak" | "typography-body1-fontFamily" | "typography-body1-fontSize" | "typography-body1-fontWeight" | "typography-body1-letterSpacing" | "typography-body1-lineHeight" | "typography-body2-fontFamily" | "typography-body2-fontSize" | "typography-body2-fontWeight" | "typography-body2-letterSpacing" | "typography-body2-lineHeight" | "typography-body3-fontFamily" | "typography-body3-fontSize" | "typography-body3-fontWeight" | "typography-body3-letterSpacing" | "typography-body3-lineHeight" | "typography-body4-fontFamily" | "typography-body4-fontSize" | "typography-body4-fontWeight" | "typography-body4-letterSpacing" | "typography-body4-lineHeight" | "typography-caption1-fontFamily" | "typography-caption1-fontSize" | "typography-caption1-fontWeight" | "typography-caption1-letterSpacing" | "typography-caption1-lineHeight" | "typography-caption2-fontFamily" | "typography-caption2-fontSize" | "typography-caption2-fontWeight" | "typography-caption2-letterSpacing" | "typography-caption2-lineHeight" | "typography-caption3-fontFamily" | "typography-caption3-fontSize" | "typography-caption3-fontWeight" | "typography-caption3-letterSpacing" | "typography-caption3-lineHeight" | "typography-display1-fontFamily" | "typography-display1-fontSize" | "typography-display1-fontWeight" | "typography-display1-letterSpacing" | "typography-display1-lineHeight" | "typography-display2-fontFamily" | "typography-display2-fontSize" | "typography-display2-fontWeight" | "typography-display2-letterSpacing" | "typography-display2-lineHeight" | "typography-heading1-fontFamily" | "typography-heading1-fontSize" | "typography-heading1-fontWeight" | "typography-heading1-letterSpacing" | "typography-heading1-lineHeight" | "typography-heading2-fontFamily" | "typography-heading2-fontSize" | "typography-heading2-fontWeight" | "typography-heading2-letterSpacing" | "typography-heading2-lineHeight" | "typography-heading3-fontFamily" | "typography-heading3-fontSize" | "typography-heading3-fontWeight" | "typography-heading3-letterSpacing" | "typography-heading3-lineHeight" | "typography-heading4-fontFamily" | "typography-heading4-fontSize" | "typography-heading4-fontWeight" | "typography-heading4-letterSpacing" | "typography-heading4-lineHeight" | "typography-title1-fontFamily" | "typography-title1-fontSize" | "typography-title1-fontWeight" | "typography-title1-letterSpacing" | "typography-title1-lineHeight" | "typography-title2-fontFamily" | "typography-title2-fontSize" | "typography-title2-fontWeight" | "typography-title2-letterSpacing" | "typography-title2-lineHeight" | "typography-title3-fontFamily" | "typography-title3-fontSize" | "typography-title3-fontWeight" | "typography-title3-letterSpacing" | "typography-title3-lineHeight" | "typography-title4-fontFamily" | "typography-title4-fontSize" | "typography-title4-fontWeight" | "typography-title4-letterSpacing" | "typography-title4-lineHeight";
1
+ type SemanticTokenName = "color-bg-brand-primary" | "color-bg-brand-primary-hover" | "color-bg-brand-weak" | "color-bg-brand-weak-hover" | "color-bg-critical-primary" | "color-bg-critical-primary-hover" | "color-bg-critical-weak" | "color-bg-critical-weak-hover" | "color-bg-disabled" | "color-bg-disabled-brand-primary" | "color-bg-disabled-neutral-inverted" | "color-bg-informative-primary" | "color-bg-informative-primary-hover" | "color-bg-informative-weak" | "color-bg-informative-weak-hover" | "color-bg-layer-basement" | "color-bg-layer-basement-hover" | "color-bg-layer-default" | "color-bg-layer-default-hover" | "color-bg-layer-floating" | "color-bg-layer-floating-hover" | "color-bg-neutral-inverted" | "color-bg-neutral-inverted-hover" | "color-bg-neutral-primary" | "color-bg-neutral-primary-hover" | "color-bg-neutral-weak" | "color-bg-neutral-weak-hover" | "color-bg-positive-primary" | "color-bg-positive-primary-hover" | "color-bg-positive-weak" | "color-bg-positive-weak-hover" | "color-bg-transparent" | "color-bg-transparent-hover" | "color-bg-warning-primary" | "color-bg-warning-primary-hover" | "color-bg-warning-weak" | "color-bg-warning-weak-hover" | "color-fg-brand" | "color-fg-brand-contrast" | "color-fg-critical" | "color-fg-critical-contrast" | "color-fg-disabled" | "color-fg-disabled-inverted" | "color-fg-focus" | "color-fg-informative" | "color-fg-informative-contrast" | "color-fg-neutral" | "color-fg-neutral-inverted" | "color-fg-neutral-secondary" | "color-fg-neutral-tertiary" | "color-fg-placeholder" | "color-fg-positive" | "color-fg-positive-contrast" | "color-fg-warning" | "color-fg-warning-contrast" | "color-stroke-brand-primary" | "color-stroke-brand-weak" | "color-stroke-critical-primary" | "color-stroke-critical-weak" | "color-stroke-focusRing" | "color-stroke-informative-primary" | "color-stroke-informative-weak" | "color-stroke-neutral-contrast" | "color-stroke-neutral-primary" | "color-stroke-neutral-secondary" | "color-stroke-neutral-tertiary" | "color-stroke-neutral-weak" | "color-stroke-positive-primary" | "color-stroke-positive-weak" | "color-stroke-warning-primary" | "color-stroke-warning-weak" | "typography-body1-fontFamily" | "typography-body1-fontSize" | "typography-body1-fontWeight" | "typography-body1-letterSpacing" | "typography-body1-lineHeight" | "typography-body2-fontFamily" | "typography-body2-fontSize" | "typography-body2-fontWeight" | "typography-body2-letterSpacing" | "typography-body2-lineHeight" | "typography-body3-fontFamily" | "typography-body3-fontSize" | "typography-body3-fontWeight" | "typography-body3-letterSpacing" | "typography-body3-lineHeight" | "typography-body4-fontFamily" | "typography-body4-fontSize" | "typography-body4-fontWeight" | "typography-body4-letterSpacing" | "typography-body4-lineHeight" | "typography-caption1-fontFamily" | "typography-caption1-fontSize" | "typography-caption1-fontWeight" | "typography-caption1-letterSpacing" | "typography-caption1-lineHeight" | "typography-caption2-fontFamily" | "typography-caption2-fontSize" | "typography-caption2-fontWeight" | "typography-caption2-letterSpacing" | "typography-caption2-lineHeight" | "typography-caption3-fontFamily" | "typography-caption3-fontSize" | "typography-caption3-fontWeight" | "typography-caption3-letterSpacing" | "typography-caption3-lineHeight" | "typography-display1-fontFamily" | "typography-display1-fontSize" | "typography-display1-fontWeight" | "typography-display1-letterSpacing" | "typography-display1-lineHeight" | "typography-display2-fontFamily" | "typography-display2-fontSize" | "typography-display2-fontWeight" | "typography-display2-letterSpacing" | "typography-display2-lineHeight" | "typography-heading1-fontFamily" | "typography-heading1-fontSize" | "typography-heading1-fontWeight" | "typography-heading1-letterSpacing" | "typography-heading1-lineHeight" | "typography-heading2-fontFamily" | "typography-heading2-fontSize" | "typography-heading2-fontWeight" | "typography-heading2-letterSpacing" | "typography-heading2-lineHeight" | "typography-heading3-fontFamily" | "typography-heading3-fontSize" | "typography-heading3-fontWeight" | "typography-heading3-letterSpacing" | "typography-heading3-lineHeight" | "typography-heading4-fontFamily" | "typography-heading4-fontSize" | "typography-heading4-fontWeight" | "typography-heading4-letterSpacing" | "typography-heading4-lineHeight" | "typography-title1-fontFamily" | "typography-title1-fontSize" | "typography-title1-fontWeight" | "typography-title1-letterSpacing" | "typography-title1-lineHeight" | "typography-title2-fontFamily" | "typography-title2-fontSize" | "typography-title2-fontWeight" | "typography-title2-letterSpacing" | "typography-title2-lineHeight" | "typography-title3-fontFamily" | "typography-title3-fontSize" | "typography-title3-fontWeight" | "typography-title3-letterSpacing" | "typography-title3-lineHeight" | "typography-title4-fontFamily" | "typography-title4-fontSize" | "typography-title4-fontWeight" | "typography-title4-letterSpacing" | "typography-title4-lineHeight";
2
2
  type SemanticTokenType = "color" | "dimension" | "fontFamily" | "fontWeight";
3
3
  type EscapeCssDots<Name extends string> = Name extends `${infer Head}.${infer Tail}` ? `${Head}\\.${EscapeCssDots<Tail>}` : Name;
4
4
  type SemanticTokenCssVariable = `--eds-${EscapeCssDots<SemanticTokenName>}`;
package/dist/tokens.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- type SemanticTokenName = "color-bg-brand-primary" | "color-bg-brand-primary-hover" | "color-bg-brand-weak" | "color-bg-brand-weak-hover" | "color-bg-critical-primary" | "color-bg-critical-primary-hover" | "color-bg-critical-weak" | "color-bg-critical-weak-hover" | "color-bg-disabled" | "color-bg-informative-primary" | "color-bg-informative-primary-hover" | "color-bg-informative-weak" | "color-bg-informative-weak-hover" | "color-bg-layer-basement" | "color-bg-layer-basement-hover" | "color-bg-layer-default" | "color-bg-layer-default-hover" | "color-bg-layer-floating" | "color-bg-layer-floating-hover" | "color-bg-neutral-inverted" | "color-bg-neutral-inverted-hover" | "color-bg-neutral-primary" | "color-bg-neutral-primary-hover" | "color-bg-neutral-weak" | "color-bg-neutral-weak-hover" | "color-bg-positive-primary" | "color-bg-positive-primary-hover" | "color-bg-positive-weak" | "color-bg-positive-weak-hover" | "color-bg-transparent" | "color-bg-transparent-hover" | "color-bg-warning-primary" | "color-bg-warning-primary-hover" | "color-bg-warning-weak" | "color-bg-warning-weak-hover" | "color-fg-brand" | "color-fg-brand-contrast" | "color-fg-critical" | "color-fg-critical-contrast" | "color-fg-disabled" | "color-fg-focus" | "color-fg-informative" | "color-fg-informative-contrast" | "color-fg-neutral" | "color-fg-neutral-inverted" | "color-fg-neutral-secondary" | "color-fg-neutral-tertiary" | "color-fg-placeholder" | "color-fg-positive" | "color-fg-positive-contrast" | "color-fg-warning" | "color-fg-warning-contrast" | "color-stroke-brand-primary" | "color-stroke-brand-weak" | "color-stroke-critical-primary" | "color-stroke-critical-weak" | "color-stroke-focusRing" | "color-stroke-informative-primary" | "color-stroke-informative-weak" | "color-stroke-neutral-contrast" | "color-stroke-neutral-primary" | "color-stroke-neutral-secondary" | "color-stroke-neutral-tertiary" | "color-stroke-neutral-weak" | "color-stroke-positive-primary" | "color-stroke-positive-weak" | "color-stroke-warning-primary" | "color-stroke-warning-weak" | "typography-body1-fontFamily" | "typography-body1-fontSize" | "typography-body1-fontWeight" | "typography-body1-letterSpacing" | "typography-body1-lineHeight" | "typography-body2-fontFamily" | "typography-body2-fontSize" | "typography-body2-fontWeight" | "typography-body2-letterSpacing" | "typography-body2-lineHeight" | "typography-body3-fontFamily" | "typography-body3-fontSize" | "typography-body3-fontWeight" | "typography-body3-letterSpacing" | "typography-body3-lineHeight" | "typography-body4-fontFamily" | "typography-body4-fontSize" | "typography-body4-fontWeight" | "typography-body4-letterSpacing" | "typography-body4-lineHeight" | "typography-caption1-fontFamily" | "typography-caption1-fontSize" | "typography-caption1-fontWeight" | "typography-caption1-letterSpacing" | "typography-caption1-lineHeight" | "typography-caption2-fontFamily" | "typography-caption2-fontSize" | "typography-caption2-fontWeight" | "typography-caption2-letterSpacing" | "typography-caption2-lineHeight" | "typography-caption3-fontFamily" | "typography-caption3-fontSize" | "typography-caption3-fontWeight" | "typography-caption3-letterSpacing" | "typography-caption3-lineHeight" | "typography-display1-fontFamily" | "typography-display1-fontSize" | "typography-display1-fontWeight" | "typography-display1-letterSpacing" | "typography-display1-lineHeight" | "typography-display2-fontFamily" | "typography-display2-fontSize" | "typography-display2-fontWeight" | "typography-display2-letterSpacing" | "typography-display2-lineHeight" | "typography-heading1-fontFamily" | "typography-heading1-fontSize" | "typography-heading1-fontWeight" | "typography-heading1-letterSpacing" | "typography-heading1-lineHeight" | "typography-heading2-fontFamily" | "typography-heading2-fontSize" | "typography-heading2-fontWeight" | "typography-heading2-letterSpacing" | "typography-heading2-lineHeight" | "typography-heading3-fontFamily" | "typography-heading3-fontSize" | "typography-heading3-fontWeight" | "typography-heading3-letterSpacing" | "typography-heading3-lineHeight" | "typography-heading4-fontFamily" | "typography-heading4-fontSize" | "typography-heading4-fontWeight" | "typography-heading4-letterSpacing" | "typography-heading4-lineHeight" | "typography-title1-fontFamily" | "typography-title1-fontSize" | "typography-title1-fontWeight" | "typography-title1-letterSpacing" | "typography-title1-lineHeight" | "typography-title2-fontFamily" | "typography-title2-fontSize" | "typography-title2-fontWeight" | "typography-title2-letterSpacing" | "typography-title2-lineHeight" | "typography-title3-fontFamily" | "typography-title3-fontSize" | "typography-title3-fontWeight" | "typography-title3-letterSpacing" | "typography-title3-lineHeight" | "typography-title4-fontFamily" | "typography-title4-fontSize" | "typography-title4-fontWeight" | "typography-title4-letterSpacing" | "typography-title4-lineHeight";
1
+ type SemanticTokenName = "color-bg-brand-primary" | "color-bg-brand-primary-hover" | "color-bg-brand-weak" | "color-bg-brand-weak-hover" | "color-bg-critical-primary" | "color-bg-critical-primary-hover" | "color-bg-critical-weak" | "color-bg-critical-weak-hover" | "color-bg-disabled" | "color-bg-disabled-brand-primary" | "color-bg-disabled-neutral-inverted" | "color-bg-informative-primary" | "color-bg-informative-primary-hover" | "color-bg-informative-weak" | "color-bg-informative-weak-hover" | "color-bg-layer-basement" | "color-bg-layer-basement-hover" | "color-bg-layer-default" | "color-bg-layer-default-hover" | "color-bg-layer-floating" | "color-bg-layer-floating-hover" | "color-bg-neutral-inverted" | "color-bg-neutral-inverted-hover" | "color-bg-neutral-primary" | "color-bg-neutral-primary-hover" | "color-bg-neutral-weak" | "color-bg-neutral-weak-hover" | "color-bg-positive-primary" | "color-bg-positive-primary-hover" | "color-bg-positive-weak" | "color-bg-positive-weak-hover" | "color-bg-transparent" | "color-bg-transparent-hover" | "color-bg-warning-primary" | "color-bg-warning-primary-hover" | "color-bg-warning-weak" | "color-bg-warning-weak-hover" | "color-fg-brand" | "color-fg-brand-contrast" | "color-fg-critical" | "color-fg-critical-contrast" | "color-fg-disabled" | "color-fg-disabled-inverted" | "color-fg-focus" | "color-fg-informative" | "color-fg-informative-contrast" | "color-fg-neutral" | "color-fg-neutral-inverted" | "color-fg-neutral-secondary" | "color-fg-neutral-tertiary" | "color-fg-placeholder" | "color-fg-positive" | "color-fg-positive-contrast" | "color-fg-warning" | "color-fg-warning-contrast" | "color-stroke-brand-primary" | "color-stroke-brand-weak" | "color-stroke-critical-primary" | "color-stroke-critical-weak" | "color-stroke-focusRing" | "color-stroke-informative-primary" | "color-stroke-informative-weak" | "color-stroke-neutral-contrast" | "color-stroke-neutral-primary" | "color-stroke-neutral-secondary" | "color-stroke-neutral-tertiary" | "color-stroke-neutral-weak" | "color-stroke-positive-primary" | "color-stroke-positive-weak" | "color-stroke-warning-primary" | "color-stroke-warning-weak" | "typography-body1-fontFamily" | "typography-body1-fontSize" | "typography-body1-fontWeight" | "typography-body1-letterSpacing" | "typography-body1-lineHeight" | "typography-body2-fontFamily" | "typography-body2-fontSize" | "typography-body2-fontWeight" | "typography-body2-letterSpacing" | "typography-body2-lineHeight" | "typography-body3-fontFamily" | "typography-body3-fontSize" | "typography-body3-fontWeight" | "typography-body3-letterSpacing" | "typography-body3-lineHeight" | "typography-body4-fontFamily" | "typography-body4-fontSize" | "typography-body4-fontWeight" | "typography-body4-letterSpacing" | "typography-body4-lineHeight" | "typography-caption1-fontFamily" | "typography-caption1-fontSize" | "typography-caption1-fontWeight" | "typography-caption1-letterSpacing" | "typography-caption1-lineHeight" | "typography-caption2-fontFamily" | "typography-caption2-fontSize" | "typography-caption2-fontWeight" | "typography-caption2-letterSpacing" | "typography-caption2-lineHeight" | "typography-caption3-fontFamily" | "typography-caption3-fontSize" | "typography-caption3-fontWeight" | "typography-caption3-letterSpacing" | "typography-caption3-lineHeight" | "typography-display1-fontFamily" | "typography-display1-fontSize" | "typography-display1-fontWeight" | "typography-display1-letterSpacing" | "typography-display1-lineHeight" | "typography-display2-fontFamily" | "typography-display2-fontSize" | "typography-display2-fontWeight" | "typography-display2-letterSpacing" | "typography-display2-lineHeight" | "typography-heading1-fontFamily" | "typography-heading1-fontSize" | "typography-heading1-fontWeight" | "typography-heading1-letterSpacing" | "typography-heading1-lineHeight" | "typography-heading2-fontFamily" | "typography-heading2-fontSize" | "typography-heading2-fontWeight" | "typography-heading2-letterSpacing" | "typography-heading2-lineHeight" | "typography-heading3-fontFamily" | "typography-heading3-fontSize" | "typography-heading3-fontWeight" | "typography-heading3-letterSpacing" | "typography-heading3-lineHeight" | "typography-heading4-fontFamily" | "typography-heading4-fontSize" | "typography-heading4-fontWeight" | "typography-heading4-letterSpacing" | "typography-heading4-lineHeight" | "typography-title1-fontFamily" | "typography-title1-fontSize" | "typography-title1-fontWeight" | "typography-title1-letterSpacing" | "typography-title1-lineHeight" | "typography-title2-fontFamily" | "typography-title2-fontSize" | "typography-title2-fontWeight" | "typography-title2-letterSpacing" | "typography-title2-lineHeight" | "typography-title3-fontFamily" | "typography-title3-fontSize" | "typography-title3-fontWeight" | "typography-title3-letterSpacing" | "typography-title3-lineHeight" | "typography-title4-fontFamily" | "typography-title4-fontSize" | "typography-title4-fontWeight" | "typography-title4-letterSpacing" | "typography-title4-lineHeight";
2
2
  type SemanticTokenType = "color" | "dimension" | "fontFamily" | "fontWeight";
3
3
  type EscapeCssDots<Name extends string> = Name extends `${infer Head}.${infer Tail}` ? `${Head}\\.${EscapeCssDots<Tail>}` : Name;
4
4
  type SemanticTokenCssVariable = `--eds-${EscapeCssDots<SemanticTokenName>}`;
package/dist/tokens.js CHANGED
@@ -56,6 +56,18 @@ var tokenMap = /* @__PURE__ */ Object.freeze({
56
56
  "value": "#E5E7EB",
57
57
  "cssVariable": "--eds-color-bg-disabled"
58
58
  },
59
+ "color-bg-disabled-brand-primary": {
60
+ "name": "color-bg-disabled-brand-primary",
61
+ "type": "color",
62
+ "value": "#FFA081",
63
+ "cssVariable": "--eds-color-bg-disabled-brand-primary"
64
+ },
65
+ "color-bg-disabled-neutral-inverted": {
66
+ "name": "color-bg-disabled-neutral-inverted",
67
+ "type": "color",
68
+ "value": "#9CA3AF",
69
+ "cssVariable": "--eds-color-bg-disabled-neutral-inverted"
70
+ },
59
71
  "color-bg-informative-primary": {
60
72
  "name": "color-bg-informative-primary",
61
73
  "type": "color",
@@ -242,6 +254,12 @@ var tokenMap = /* @__PURE__ */ Object.freeze({
242
254
  "value": "#D1D5DB",
243
255
  "cssVariable": "--eds-color-fg-disabled"
244
256
  },
257
+ "color-fg-disabled-inverted": {
258
+ "name": "color-fg-disabled-inverted",
259
+ "type": "color",
260
+ "value": "#FFFFFFFF",
261
+ "cssVariable": "--eds-color-fg-disabled-inverted"
262
+ },
245
263
  "color-fg-focus": {
246
264
  "name": "color-fg-focus",
247
265
  "type": "color",
@@ -1153,6 +1171,8 @@ var tokenNames = /* @__PURE__ */ Object.freeze([
1153
1171
  "color-bg-critical-weak",
1154
1172
  "color-bg-critical-weak-hover",
1155
1173
  "color-bg-disabled",
1174
+ "color-bg-disabled-brand-primary",
1175
+ "color-bg-disabled-neutral-inverted",
1156
1176
  "color-bg-informative-primary",
1157
1177
  "color-bg-informative-primary-hover",
1158
1178
  "color-bg-informative-weak",
@@ -1184,6 +1204,7 @@ var tokenNames = /* @__PURE__ */ Object.freeze([
1184
1204
  "color-fg-critical",
1185
1205
  "color-fg-critical-contrast",
1186
1206
  "color-fg-disabled",
1207
+ "color-fg-disabled-inverted",
1187
1208
  "color-fg-focus",
1188
1209
  "color-fg-informative",
1189
1210
  "color-fg-informative-contrast",
package/dist/tokens.json CHANGED
@@ -82,6 +82,24 @@
82
82
  }
83
83
  }
84
84
  },
85
+ "color-bg-disabled-brand-primary": {
86
+ "$type": "color",
87
+ "$value": "#FFA081",
88
+ "$extensions": {
89
+ "eds": {
90
+ "cssVariable": "--eds-color-bg-disabled-brand-primary"
91
+ }
92
+ }
93
+ },
94
+ "color-bg-disabled-neutral-inverted": {
95
+ "$type": "color",
96
+ "$value": "#9CA3AF",
97
+ "$extensions": {
98
+ "eds": {
99
+ "cssVariable": "--eds-color-bg-disabled-neutral-inverted"
100
+ }
101
+ }
102
+ },
85
103
  "color-bg-informative-primary": {
86
104
  "$type": "color",
87
105
  "$value": "#3B82F6",
@@ -361,6 +379,15 @@
361
379
  }
362
380
  }
363
381
  },
382
+ "color-fg-disabled-inverted": {
383
+ "$type": "color",
384
+ "$value": "#FFFFFFFF",
385
+ "$extensions": {
386
+ "eds": {
387
+ "cssVariable": "--eds-color-fg-disabled-inverted"
388
+ }
389
+ }
390
+ },
364
391
  "color-fg-focus": {
365
392
  "$type": "color",
366
393
  "$value": "#374151",
package/dist/tokens.mjs CHANGED
@@ -54,6 +54,18 @@ var tokenMap = /* @__PURE__ */ Object.freeze({
54
54
  "value": "#E5E7EB",
55
55
  "cssVariable": "--eds-color-bg-disabled"
56
56
  },
57
+ "color-bg-disabled-brand-primary": {
58
+ "name": "color-bg-disabled-brand-primary",
59
+ "type": "color",
60
+ "value": "#FFA081",
61
+ "cssVariable": "--eds-color-bg-disabled-brand-primary"
62
+ },
63
+ "color-bg-disabled-neutral-inverted": {
64
+ "name": "color-bg-disabled-neutral-inverted",
65
+ "type": "color",
66
+ "value": "#9CA3AF",
67
+ "cssVariable": "--eds-color-bg-disabled-neutral-inverted"
68
+ },
57
69
  "color-bg-informative-primary": {
58
70
  "name": "color-bg-informative-primary",
59
71
  "type": "color",
@@ -240,6 +252,12 @@ var tokenMap = /* @__PURE__ */ Object.freeze({
240
252
  "value": "#D1D5DB",
241
253
  "cssVariable": "--eds-color-fg-disabled"
242
254
  },
255
+ "color-fg-disabled-inverted": {
256
+ "name": "color-fg-disabled-inverted",
257
+ "type": "color",
258
+ "value": "#FFFFFFFF",
259
+ "cssVariable": "--eds-color-fg-disabled-inverted"
260
+ },
243
261
  "color-fg-focus": {
244
262
  "name": "color-fg-focus",
245
263
  "type": "color",
@@ -1151,6 +1169,8 @@ var tokenNames = /* @__PURE__ */ Object.freeze([
1151
1169
  "color-bg-critical-weak",
1152
1170
  "color-bg-critical-weak-hover",
1153
1171
  "color-bg-disabled",
1172
+ "color-bg-disabled-brand-primary",
1173
+ "color-bg-disabled-neutral-inverted",
1154
1174
  "color-bg-informative-primary",
1155
1175
  "color-bg-informative-primary-hover",
1156
1176
  "color-bg-informative-weak",
@@ -1182,6 +1202,7 @@ var tokenNames = /* @__PURE__ */ Object.freeze([
1182
1202
  "color-fg-critical",
1183
1203
  "color-fg-critical-contrast",
1184
1204
  "color-fg-disabled",
1205
+ "color-fg-disabled-inverted",
1185
1206
  "color-fg-focus",
1186
1207
  "color-fg-informative",
1187
1208
  "color-fg-informative-contrast",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spectrabrain/eds",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "EVA services' shared React design system",
5
5
  "author": "SpectraBrain",
6
6
  "license": "UNLICENSED",