@iyulab/editor-components 0.5.0 → 0.5.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 +20 -0
- package/README.md +12 -0
- package/dist/_virtual/{_@oxc-project_runtime@0.149.0 → _@oxc-project_runtime@0.151.0}/helpers/esm/decorate.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.149.0 → _@oxc-project_runtime@0.151.0}/helpers/esm/decorateMetadata.js +1 -1
- package/dist/_virtual/_virtual_monaco-structure-css.js +1 -1
- package/dist/components/code-editor/UCodeEditor.js +2 -2
- package/dist/components/text-editor/UTextEditor.d.ts +6 -0
- package/dist/components/text-editor/UTextEditor.js +24 -2
- package/dist/components/text-editor/UTextEditor.styles.js +2 -2
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.5.2] - 2026-09-30
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
|
|
7
|
+
- **`monaco-editor` peer range is now `>=0.56.0 <0.58.0`** (was `^0.56.0`, which excluded 0.57).
|
|
8
|
+
0.57 is additive (new editor options and APIs, a DOMPurify update) and keeps the 0.56 `exports`
|
|
9
|
+
map this component depends on; the test suite now runs against 0.57. The range stays bounded so
|
|
10
|
+
an untested 0.58 is not accepted silently.
|
|
11
|
+
- **Optional peers promise only the versions that are tested:** `@lit/react` is `^1.0.8` (was
|
|
12
|
+
`>=1.0.8`) and `react` is `^18.0.0 || ^19.0.0` (was `>=18.0.0`).
|
|
13
|
+
|
|
14
|
+
## [0.5.1] - 2026-09-15
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
|
|
18
|
+
- **A link could not be edited or removed from the keyboard in `u-text-editor`.** The link
|
|
19
|
+
tooltip's **Edit**/**Save** and **Remove** controls are anchors without `href`, drawn by Quill, so
|
|
20
|
+
they took no focus. They are now exposed as buttons in the tab order, and Enter or Space activates
|
|
21
|
+
them (Quill's own click handling is unchanged).
|
|
22
|
+
|
|
3
23
|
## [0.5.0] - 2026-09-13
|
|
4
24
|
|
|
5
25
|
### Changed
|
package/README.md
CHANGED
|
@@ -96,6 +96,18 @@ Quill.js 기반 리치 텍스트(WYSIWYG) 에디터 컴포넌트입니다.
|
|
|
96
96
|
- `clear()`: 모든 내용 삭제 (프로그램적 — `change` 미발화)
|
|
97
97
|
- `focus()`: 에디터에 포커스
|
|
98
98
|
|
|
99
|
+
## 접근성
|
|
100
|
+
|
|
101
|
+
기준판은 **WCAG 2.2** 입니다. 아래는 이 패키지가 **테스트로 재서 보장하는 것**이고, 그 밖의
|
|
102
|
+
성공 기준까지 포함한 전체 준수 선언이 아닙니다.
|
|
103
|
+
|
|
104
|
+
| 성공 기준 | 보장 | 어디서 재는가 |
|
|
105
|
+
|---|---|---|
|
|
106
|
+
| SC 2.5.8 타깃 크기(최소) | `u-text-editor` 의 포인터 타깃이 24×24 CSS px 이상이거나 간격 예외(중심 간 24px)를 충족하고, 그 좌표에서 실제로 눌린다 — Quill 이 그리는 툴바(선택기가 열린 상태·색 견본·링크 툴팁 포함)도 잰다 | `tests/browser/target-size.browser.test.ts`(실제 크로미움) |
|
|
107
|
+
| SC 2.1.1 키보드(포인터 커서 검사) | 포인터 커서를 보이면서 상호작용 요소가 아닌 것이 없다 — Quill 이 `href` 없는 앵커로 그리는 링크 툴팁의 편집·제거도 버튼 역할로 포커스를 받고 Enter/Space 로 눌린다 | `tests/browser/target-size.browser.test.ts` · `tests/browser/text-editor-link-tooltip-keyboard.browser.test.ts` |
|
|
108
|
+
|
|
109
|
+
`u-code-editor` 는 스스로 렌더하는 조작부가 없어(액션은 소비자가 `header-actions` 슬롯으로 넣는다) 이 게이트의 대상이 아닙니다 — 슬롯에 넣는 버튼의 크기는 넣는 쪽이 정합니다.
|
|
110
|
+
|
|
99
111
|
## 이벤트
|
|
100
112
|
|
|
101
113
|
`change`는 네이티브 폼 컨트롤 규약을 따라 **사용자 편집에서만** 발화합니다. 프로그램적 `value` 세팅·`setHTML()`/`setDelta()`/`clear()`는 발화하지 않으므로, React 등 controlled 래퍼에서 에코 루프 없이 안전하게 바인딩할 수 있습니다.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region \0@oxc-project+runtime@0.
|
|
1
|
+
//#region \0@oxc-project+runtime@0.151.0/helpers/esm/decorate.js
|
|
2
2
|
function __decorate(decorators, target, key, desc) {
|
|
3
3
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
4
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region \0@oxc-project+runtime@0.
|
|
1
|
+
//#region \0@oxc-project+runtime@0.151.0/helpers/esm/decorateMetadata.js
|
|
2
2
|
function __decorateMetadata(k, v) {
|
|
3
3
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
4
4
|
}
|