@iyulab/components 2.10.1 → 2.10.3

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,23 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.10.3] - 2026-10-07
4
+
5
+ ### Fixed
6
+
7
+ - `u-input` and `u-select` register the `u-popover` they render with an explicit import. They imported `UPopover` for
8
+ a type only, and the published modules kept the import by accident (decorator metadata) — a build setting away from
9
+ the same undefined-element failure 2.10.2 fixed for `u-select`'s chips.
10
+
11
+ ## [2.10.2] - 2026-10-07
12
+
13
+ ### Fixed
14
+
15
+ - **A deep import of `u-select` registers `u-chip`.** Multi-select chips are `<u-chip>` elements, but `UChip` was
16
+ imported for a type only, so the build dropped the import: with `@iyulab/components/dist/components/select/USelect.js`
17
+ alone the chips were undefined elements. The barrel import hid it (another module registered `u-chip`).
18
+ - **`Dialog.prompt`'s text box is named by the message** — it had only its placeholder, which is not a name (it
19
+ disappears as you type).
20
+
3
21
  ## [2.10.1] - 2026-10-07
4
22
 
5
23
  ### Documentation
@@ -7,7 +7,7 @@ import "../spinner/USpinner.js";
7
7
  import "../icon/UIcon.js";
8
8
  import { parseNumber } from "../../utilities/format.js";
9
9
  import "../field/UField.js";
10
- import { UPopover } from "../popover/UPopover.js";
10
+ import "../popover/UPopover.js";
11
11
  import { UOption } from "../option/UOption.js";
12
12
  import { styles } from "./UInput.styles.js";
13
13
  import { html } from "lit";
@@ -529,7 +529,7 @@ __decorate([property({ type: String }), __decorateMetadata("design:type", String
529
529
  __decorate([property({ type: String }), __decorateMetadata("design:type", String)], UInput.prototype, "pattern", void 0);
530
530
  __decorate([query(".container", true), __decorateMetadata("design:type", typeof HTMLDivElement === "undefined" ? Object : HTMLDivElement)], UInput.prototype, "containerEl", void 0);
531
531
  __decorate([query("input", true), __decorateMetadata("design:type", typeof HTMLInputElement === "undefined" ? Object : HTMLInputElement)], UInput.prototype, "inputEl", void 0);
532
- __decorate([query("u-popover", true), __decorateMetadata("design:type", typeof UPopover === "undefined" ? Object : UPopover)], UInput.prototype, "popoverEl", void 0);
532
+ __decorate([query("u-popover", true), __decorateMetadata("design:type", Object)], UInput.prototype, "popoverEl", void 0);
533
533
  __decorate([state(), __decorateMetadata("design:type", Boolean)], UInput.prototype, "showPassword", void 0);
534
534
  __decorate([state(), __decorateMetadata("design:type", String)], UInput.prototype, "numberText", void 0);
535
535
  UInput = __decorate([customElement("u-input")], UInput);
@@ -4,8 +4,9 @@ import __decorate from "../../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm
4
4
  import { UFormControlElement } from "../UFormControlElement.js";
5
5
  import "../spinner/USpinner.js";
6
6
  import "../icon/UIcon.js";
7
+ import "../chip/UChip.js";
7
8
  import "../field/UField.js";
8
- import { UPopover } from "../popover/UPopover.js";
9
+ import "../popover/UPopover.js";
9
10
  import { UOption } from "../option/UOption.js";
10
11
  import { styles } from "./USelect.styles.js";
11
12
  import { html } from "lit";
@@ -377,7 +378,7 @@ __decorate([property({ converter: { fromAttribute: (value) => {
377
378
  return value;
378
379
  } } }), __decorateMetadata("design:type", Object)], USelect.prototype, "value", void 0);
379
380
  __decorate([query(".container", true), __decorateMetadata("design:type", typeof HTMLElement === "undefined" ? Object : HTMLElement)], USelect.prototype, "containerEl", void 0);
380
- __decorate([query("u-popover", true), __decorateMetadata("design:type", typeof UPopover === "undefined" ? Object : UPopover)], USelect.prototype, "popoverEl", void 0);
381
+ __decorate([query("u-popover", true), __decorateMetadata("design:type", Object)], USelect.prototype, "popoverEl", void 0);
381
382
  __decorate([state(), __decorateMetadata("design:type", Array)], USelect.prototype, "options", void 0);
382
383
  __decorate([state(), __decorateMetadata("design:type", Boolean)], USelect.prototype, "open", void 0);
383
384
  USelect = __decorate([customElement("u-select")], USelect);
@@ -87,6 +87,7 @@ var Dialog = class {
87
87
  <u-input
88
88
  type=${options?.type || "text"}
89
89
  placeholder=${options?.placeholder || ""}
90
+ aria-label=${message}
90
91
  .value=${inputValue}
91
92
  @input=${(e) => {
92
93
  inputValue = e.target.value || "";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@iyulab/components",
3
3
  "description": "web-components library based on lit-element made by iyulab",
4
- "version": "2.10.1",
4
+ "version": "2.10.3",
5
5
  "keywords": [
6
6
  "iyulab",
7
7
  "components",