@iyulab/editor-components 0.2.0 → 0.2.2

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,25 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.2.2] - 2026-08-02
4
+
5
+ ### Fixed
6
+
7
+ - **토큰 폴백 리터럴 2곳이 정본 시트와 어긋나 있던 문제** —
8
+ `--u-primary-color` 가 `#1E88E5` 로 남아 있었다(`@iyulab/components` 1.16.0 은 `#1976D2`).
9
+
10
+ ⚠**이 결함은 개발 환경에서 절대 드러나지 않는다.** 토큰 시트가 있으면 폴백은 아예
11
+ 평가되지 않는다 — 깨지는 곳은 시트를 로드하지 않은 소비자의 화면이고, 우리가 보지
12
+ 못하는 자리다. 모노레포 루트의 `npm run tokens:sync` 가 이제 정본 시트와 대조한다.
13
+
14
+ ## [0.2.1] - 2026-08-02
15
+
16
+ ### Fixed
17
+
18
+ - **`--u-txt-color-weak` 폴백 리터럴을 시트 값에 맞췄다** (`#9E9E9E` → `#757575`, 2곳).
19
+ 업스트림이 이 토큰의 라이트 매핑을 WCAG AA 미달(2.68)에서 neutral-600(4.61)으로
20
+ 고쳤다. 폴백은 **토큰 시트가 없을 때만** 쓰이므로 시트를 로드하는 환경에서는 변화가
21
+ 없지만, 어긋난 채로 두면 시트 유무에 따라 색이 갈린다.
22
+
3
23
  ## [0.2.0] - 2026-08-01
4
24
 
5
25
  ### Added
@@ -81,22 +81,22 @@ var styles = css`
81
81
  }
82
82
 
83
83
  .ql-toolbar .ql-stroke {
84
- stroke: var(--u-txt-color-weak, #9E9E9E);
84
+ stroke: var(--u-txt-color-weak, #757575);
85
85
  }
86
86
 
87
87
  .ql-toolbar .ql-fill {
88
- fill: var(--u-txt-color-weak, #9E9E9E);
88
+ fill: var(--u-txt-color-weak, #757575);
89
89
  }
90
90
 
91
91
  /* 강조는 역할 토큰 경유 — 소비자가 브랜드를 바꾸면 함께 따라온다. */
92
92
  .ql-toolbar button:hover .ql-stroke,
93
93
  .ql-toolbar button.ql-active .ql-stroke {
94
- stroke: var(--u-primary-color, #1E88E5);
94
+ stroke: var(--u-primary-color, #1976D2);
95
95
  }
96
96
 
97
97
  .ql-toolbar button:hover .ql-fill,
98
98
  .ql-toolbar button.ql-active .ql-fill {
99
- fill: var(--u-primary-color, #1E88E5);
99
+ fill: var(--u-primary-color, #1976D2);
100
100
  }
101
101
  `;
102
102
  //#endregion
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@iyulab/editor-components",
3
3
  "description": "various editor components by iyulab",
4
- "version": "0.2.0",
4
+ "version": "0.2.2",
5
5
  "keywords": [
6
6
  "iyulab",
7
7
  "web-components",
@@ -44,7 +44,7 @@
44
44
  "build": "eslint && vite build"
45
45
  },
46
46
  "dependencies": {
47
- "@iyulab/components": "^1.14.0",
47
+ "@iyulab/components": "^1.15.0",
48
48
  "lit": "^3.3.3",
49
49
  "monaco-editor": "^0.55.1",
50
50
  "quill": "^2.0.3"