@keenmate/web-multiselect 1.12.0-rc02 → 1.12.0-rc03
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/README.md +2 -2
- package/dist/index.d.ts +1 -0
- package/dist/multiselect.js +376 -350
- package/dist/multiselect.umd.js +13 -13
- package/docs/accessibility.md +84 -0
- package/docs/examples.md +1180 -0
- package/docs/theming.md +388 -0
- package/docs/usage.md +307 -0
- package/package.json +5 -1
package/README.md
CHANGED
|
@@ -23,9 +23,9 @@ Reads `--base-*` variables from the page if [`@keenmate/theme-designer`](https:/
|
|
|
23
23
|
|
|
24
24
|
## What's new
|
|
25
25
|
|
|
26
|
-
**v1.12.0-
|
|
26
|
+
**v1.12.0-rc03** — Two real bug fixes. (1) Declarative `<option>` / `<optgroup>` children now render correctly without needing `value-member` / `display-value-member` / `group-member` attributes — previously every row rendered as `[N/A]`. (2) `select`, `deselect`, and `change` events are now dispatched with `bubbles: true, composed: true`, so Svelte 5 `onchange={fn}`, React `onChange`, Vue `@change`, and any other framework using delegated event routing work without reaching for the legacy `on:` directive. **Behavior change:** delegated form-level `change` listeners will now also receive our event — filter by `e.target.tagName === 'WEB-MULTISELECT'` if your form library extracts state from every `change`. See [CHANGELOG.md](./CHANGELOG.md) for details.
|
|
27
27
|
|
|
28
|
-
**v1.12.0-
|
|
28
|
+
**v1.12.0-rc02** — Badge tooltips now theme correctly when portaled (real dark-mode contrast fix); FOUC-prevention rule renamed to match the actual tag; README split into slim landing page + `docs/` (usage, theming, examples, accessibility). See [CHANGELOG.md](./CHANGELOG.md) for details.
|
|
29
29
|
|
|
30
30
|
> ⚠️ **Security notice:** This component intentionally allows raw HTML in rendering callbacks to give developers full control over content display. If you display user-generated content, you must sanitize it yourself. See [docs/examples.md → HTML Injection (XSS) notice](./docs/examples.md#html-injection-xss-notice) for the complete list of affected callbacks.
|
|
31
31
|
|
package/dist/index.d.ts
CHANGED
|
@@ -275,6 +275,7 @@ export declare class MultiSelectElement<T = any> extends BaseElement {
|
|
|
275
275
|
private shadow;
|
|
276
276
|
private internals?;
|
|
277
277
|
private _options?;
|
|
278
|
+
private _hasDeclarativeOptions;
|
|
278
279
|
private _valueMember?;
|
|
279
280
|
private _getValueCallback?;
|
|
280
281
|
private _displayValueMember?;
|