@iyulab/components 2.10.0 → 2.10.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,22 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.10.2] - 2026-10-07
4
+
5
+ ### Fixed
6
+
7
+ - **A deep import of `u-select` registers `u-chip`.** Multi-select chips are `<u-chip>` elements, but `UChip` was
8
+ imported for a type only, so the build dropped the import: with `@iyulab/components/dist/components/select/USelect.js`
9
+ alone the chips were undefined elements. The barrel import hid it (another module registered `u-chip`).
10
+ - **`Dialog.prompt`'s text box is named by the message** — it had only its placeholder, which is not a name (it
11
+ disappears as you type).
12
+
13
+ ## [2.10.1] - 2026-10-07
14
+
15
+ ### Documentation
16
+
17
+ - The `Theme.resolved()` row of the theme reference had an unescaped `|` in its type cell, which split the table row
18
+ into extra columns.
19
+
3
20
  ## [2.10.0] - 2026-10-07
4
21
 
5
22
  ### Changed
@@ -4,6 +4,7 @@ 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
9
  import { UPopover } from "../popover/UPopover.js";
9
10
  import { UOption } from "../option/UOption.js";
@@ -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.0",
4
+ "version": "2.10.2",
5
5
  "keywords": [
6
6
  "iyulab",
7
7
  "components",
@@ -68,7 +68,7 @@ changes**, because those targets are relative to the page background.
68
68
  | `Theme.init(options?)` | `Promise<void>` | Initialize and apply theme |
69
69
  | `Theme.get()` | `ThemeType \| undefined` | Get current theme |
70
70
  | `Theme.set(theme)` | `void` | Set theme (`'light'`, `'dark'`, `'system'`) |
71
- | `Theme.resolved()` | `'light' | 'dark'` | The theme actually applied — use this, not `get()`, for brightness branches |
71
+ | `Theme.resolved()` | `'light' \| 'dark'` | The theme actually applied — use this, not `get()`, for brightness branches |
72
72
  | `Theme.accent(seed)` | `void` | Derive the `--u-primary-*` ramp from a brand color; `null` clears it |
73
73
  | `Theme.isInitialized` | `boolean` | Whether `init()` has been called |
74
74