@iyulab/editor-components 0.3.0 → 0.3.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,20 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.3.1] - 2026-08-07
4
+
5
+ ### Fixed
6
+
7
+ - 🔴**`sideEffects` omitted this package's own entry barrel, so bundlers dropped every element
8
+ registration.** The barrel that `exports["."]` resolves to exists solely to register the custom
9
+ elements, but it was not in the `sideEffects` allowlist. A consumer writing
10
+ `import '@iyulab/editor-components'` — the form this package's own documentation recommends —
11
+ had the module elided entirely in a production build. The failure is silent: the build
12
+ succeeds with no warning, the tags remain in the DOM, and an unregistered custom element
13
+ renders nothing.
14
+
15
+ Both the source-resolved and published-artifact forms of the affected entry point are now
16
+ declared, so workspace consumers and installed consumers get the same guarantee.
17
+
3
18
  ## [0.3.0] - 2026-08-05
4
19
 
5
20
  ### Fixed
@@ -90,4 +105,20 @@
90
105
  - 위 수정은 `@iyulab/components` 1.7.0의 "change = 사용자 상호작용 전용" 규약 정합 작업의 일환.
91
106
 
92
107
  ## [Unreleased]
108
+
109
+ ### Fixed
110
+
111
+ - 🔴**`sideEffects` omitted this package's own entry barrel, so bundlers dropped every element
112
+ registration.** The barrel that `exports["."]` resolves to exists solely to register the custom
113
+ elements, but it was not in the `sideEffects` allowlist. A consumer writing
114
+ `import '@iyulab/editor-components'` — the form this package's own documentation recommends — had the module
115
+ elided entirely in a production build. The failure is silent: the build succeeds with no warning,
116
+ the tags remain in the DOM, and an unregistered custom element renders nothing.
117
+
118
+ Registration modules were already listed correctly. That was not enough: a dropped barrel means
119
+ they are never reached.
120
+
121
+ Both the source-resolved and published-artifact forms of every affected entry point are now
122
+ declared, so workspace consumers and installed consumers get the same guarantee.
123
+
93
124
  - 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.143.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.143.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.143.0/helpers/esm/decorateMetadata.js";
4
+ import __decorate from "../../_virtual/_@oxc-project_runtime@0.143.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.143.0/helpers/esm/decorateMetadata.js";
2
+ import __decorate from "../../_virtual/_@oxc-project_runtime@0.143.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.1",
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
  ".": {