@iyulab/editor-components 0.3.0 → 0.3.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,32 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.3.2] - 2026-08-18
4
+
5
+ ### Changed
6
+
7
+ - Widened the `monaco-editor` dependency range from `^0.55.1` to `^0.55.1 || ^0.56.0` so
8
+ consumers can opt into 0.56.0. This is an added choice, not a forced upgrade — the pinned
9
+ `^0.55.1` range still resolves by default. 0.56.0's only breaking surface (an internal module
10
+ export reorganization) is caught immediately by this package's `tsc --noEmit` build gate, and
11
+ `UCodeEditor` only uses the standard `monaco.editor.create`/`setModelLanguage` API surface plus
12
+ official worker subpaths, so it is unaffected. Verified with 0.56.0 installed: clean typecheck,
13
+ successful build, full test suite green.
14
+
15
+ ## [0.3.1] - 2026-08-07
16
+
17
+ ### Fixed
18
+
19
+ - 🔴**`sideEffects` omitted this package's own entry barrel, so bundlers dropped every element
20
+ registration.** The barrel that `exports["."]` resolves to exists solely to register the custom
21
+ elements, but it was not in the `sideEffects` allowlist. A consumer writing
22
+ `import '@iyulab/editor-components'` — the form this package's own documentation recommends —
23
+ had the module elided entirely in a production build. The failure is silent: the build
24
+ succeeds with no warning, the tags remain in the DOM, and an unregistered custom element
25
+ renders nothing.
26
+
27
+ Both the source-resolved and published-artifact forms of the affected entry point are now
28
+ declared, so workspace consumers and installed consumers get the same guarantee.
29
+
3
30
  ## [0.3.0] - 2026-08-05
4
31
 
5
32
  ### Fixed
@@ -90,4 +117,20 @@
90
117
  - 위 수정은 `@iyulab/components` 1.7.0의 "change = 사용자 상호작용 전용" 규약 정합 작업의 일환.
91
118
 
92
119
  ## [Unreleased]
120
+
121
+ ### Fixed
122
+
123
+ - 🔴**`sideEffects` omitted this package's own entry barrel, so bundlers dropped every element
124
+ registration.** The barrel that `exports["."]` resolves to exists solely to register the custom
125
+ elements, but it was not in the `sideEffects` allowlist. A consumer writing
126
+ `import '@iyulab/editor-components'` — the form this package's own documentation recommends — had the module
127
+ elided entirely in a production build. The failure is silent: the build succeeds with no warning,
128
+ the tags remain in the DOM, and an unregistered custom element renders nothing.
129
+
130
+ Registration modules were already listed correctly. That was not enough: a dropped barrel means
131
+ they are never reached.
132
+
133
+ Both the source-resolved and published-artifact forms of every affected entry point are now
134
+ declared, so workspace consumers and installed consumers get the same guarantee.
135
+
93
136
  - Initial library version release
@@ -1,4 +1,4 @@
1
- //#region \0@oxc-project+runtime@0.142.0/helpers/esm/decorate.js
1
+ //#region \0@oxc-project+runtime@0.144.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.142.0/helpers/esm/decorateMetadata.js
1
+ //#region \0@oxc-project+runtime@0.144.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
  }
@@ -1,7 +1,7 @@
1
1
  import "./UCodeEditor.worker.js";
2
2
  import { styles } from "./UCodeEditor.styles.js";
3
- import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.142.0/helpers/esm/decorateMetadata.js";
4
- import __decorate from "../../_virtual/_@oxc-project_runtime@0.142.0/helpers/esm/decorate.js";
3
+ import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.144.0/helpers/esm/decorateMetadata.js";
4
+ import __decorate from "../../_virtual/_@oxc-project_runtime@0.144.0/helpers/esm/decorate.js";
5
5
  import { html, unsafeCSS } from "lit";
6
6
  import { customElement, property } from "lit/decorators.js";
7
7
  import { createRef, ref } from "lit/directives/ref.js";
@@ -1,5 +1,5 @@
1
- import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.142.0/helpers/esm/decorateMetadata.js";
2
- import __decorate from "../../_virtual/_@oxc-project_runtime@0.142.0/helpers/esm/decorate.js";
1
+ import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.144.0/helpers/esm/decorateMetadata.js";
2
+ import __decorate from "../../_virtual/_@oxc-project_runtime@0.144.0/helpers/esm/decorate.js";
3
3
  import { styles } from "./UTextEditor.styles.js";
4
4
  import { html, unsafeCSS } from "lit";
5
5
  import { customElement, property } from "lit/decorators.js";
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.3.0",
4
+ "version": "0.3.2",
5
5
  "keywords": [
6
6
  "iyulab",
7
7
  "web-components",
@@ -29,8 +29,10 @@
29
29
  "node": ">=20"
30
30
  },
31
31
  "sideEffects": [
32
+ "./dist/components/*/U*.js",
32
33
  "./src/components/*/U*.ts",
33
- "./dist/components/*/U*.js"
34
+ "./dist/index.js",
35
+ "./src/index.ts"
34
36
  ],
35
37
  "exports": {
36
38
  ".": {
@@ -54,7 +56,7 @@
54
56
  "dependencies": {
55
57
  "@iyulab/components": "^1.15.0",
56
58
  "lit": "^3.3.3",
57
- "monaco-editor": "^0.55.1",
59
+ "monaco-editor": "^0.55.1 || ^0.56.0",
58
60
  "quill": "^2.0.3"
59
61
  },
60
62
  "peerDependencies": {