@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";
|
package/dist/utilities/Dialog.js
CHANGED
package/package.json
CHANGED
|
@@ -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'
|
|
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
|
|