@iyulab/editor-components 0.5.1 → 0.6.0
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 -16
- package/dist/_virtual/{_@oxc-project_runtime@0.149.0 → _@oxc-project_runtime@0.152.0}/helpers/esm/decorate.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.149.0 → _@oxc-project_runtime@0.152.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.js +2 -2
- package/dist/components/text-editor/UTextEditor.styles.js +37 -3
- package/dist/react/UCodeEditor.d.ts +4 -2
- package/dist/react/UTextEditor.d.ts +4 -2
- package/package.json +5 -5
- package/skills/iyulab-editor-components/SKILL.md +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.6.0] - 2026-10-05
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- **The text editor's toolbar follows `--u-target-size`** (the host's minimum target size from
|
|
8
|
+
`@iyulab/components`). When it is set, toolbar buttons, pickers, picker options, colour swatches and the
|
|
9
|
+
link tooltip's actions are at least that size; icons and text keep their size. Unset, nothing changes.
|
|
10
|
+
|
|
11
|
+
## [0.5.2] - 2026-09-30
|
|
12
|
+
|
|
13
|
+
### Changed
|
|
14
|
+
|
|
15
|
+
- **`monaco-editor` peer range is now `>=0.56.0 <0.58.0`** (was `^0.56.0`, which excluded 0.57).
|
|
16
|
+
0.57 is additive (new editor options and APIs, a DOMPurify update) and keeps the 0.56 `exports`
|
|
17
|
+
map this component depends on; the test suite now runs against 0.57. The range stays bounded so
|
|
18
|
+
an untested 0.58 is not accepted silently.
|
|
19
|
+
- **Optional peers promise only the versions that are tested:** `@lit/react` is `^1.0.8` (was
|
|
20
|
+
`>=1.0.8`) and `react` is `^18.0.0 || ^19.0.0` (was `>=18.0.0`).
|
|
21
|
+
|
|
3
22
|
## [0.5.1] - 2026-09-15
|
|
4
23
|
|
|
5
24
|
### Fixed
|
|
@@ -245,21 +264,6 @@
|
|
|
245
264
|
- README를 실제 구현에 맞게 재작성 — 잘못된 태그명(`<code-editor>`/`<rich-text-editor>` → `u-code-editor`/`u-text-editor`), 잘못된 prop(`noHeader` → `headless`), 존재하지 않는 `copy` 이벤트·`demo.html` 서술 제거, change 의미론·`/react` 서브패스 문서화.
|
|
246
265
|
- 위 수정은 `@iyulab/components` 1.7.0의 "change = 사용자 상호작용 전용" 규약 정합 작업의 일환.
|
|
247
266
|
|
|
248
|
-
## [
|
|
249
|
-
|
|
250
|
-
### Fixed
|
|
251
|
-
|
|
252
|
-
- 🔴**`sideEffects` omitted this package's own entry barrel, so bundlers dropped every element
|
|
253
|
-
registration.** The barrel that `exports["."]` resolves to exists solely to register the custom
|
|
254
|
-
elements, but it was not in the `sideEffects` allowlist. A consumer writing
|
|
255
|
-
`import '@iyulab/editor-components'` — the form this package's own documentation recommends — had the module
|
|
256
|
-
elided entirely in a production build. The failure is silent: the build succeeds with no warning,
|
|
257
|
-
the tags remain in the DOM, and an unregistered custom element renders nothing.
|
|
258
|
-
|
|
259
|
-
Registration modules were already listed correctly. That was not enough: a dropped barrel means
|
|
260
|
-
they are never reached.
|
|
261
|
-
|
|
262
|
-
Both the source-resolved and published-artifact forms of every affected entry point are now
|
|
263
|
-
declared, so workspace consumers and installed consumers get the same guarantee.
|
|
267
|
+
## [0.0.1] - 2026-05-16
|
|
264
268
|
|
|
265
269
|
- Initial library version release
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region \0@oxc-project+runtime@0.
|
|
1
|
+
//#region \0@oxc-project+runtime@0.152.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.152.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
|
}
|