@alacris/ui 0.8.0 → 0.8.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/README.md CHANGED
@@ -47,9 +47,9 @@ The published package is plain ESM. Point an import map at a pinned CDN build of
47
47
  {
48
48
  "imports": {
49
49
  "@alacris/core": "https://cdn.jsdelivr.net/npm/@alacris/core@0.11.5/dist/alacris.js",
50
- "@alacris/ui": "https://cdn.jsdelivr.net/npm/@alacris/ui@0.8.0/src/index.js",
51
- "@alacris/ui/theme": "https://cdn.jsdelivr.net/npm/@alacris/ui@0.8.0/src/theme/index.js",
52
- "@alacris/ui/components/": "https://cdn.jsdelivr.net/npm/@alacris/ui@0.8.0/src/components/"
50
+ "@alacris/ui": "https://cdn.jsdelivr.net/npm/@alacris/ui@0.8.1/src/index.js",
51
+ "@alacris/ui/theme": "https://cdn.jsdelivr.net/npm/@alacris/ui@0.8.1/src/theme/index.js",
52
+ "@alacris/ui/components/": "https://cdn.jsdelivr.net/npm/@alacris/ui@0.8.1/src/components/"
53
53
  }
54
54
  }
55
55
  </script>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alacris/ui",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "description": "Themeable design system for Alacris — Material defaults, sixty-nine custom elements, ESM-only, no build step.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -283,11 +283,12 @@ define('ui-search', {
283
283
  <input part="input" ref=${(el) => (input = el)}
284
284
  .value=${() => value() ?? ''}
285
285
  placeholder=${ph}
286
+ role="combobox"
286
287
  aria-label=${() => label() || 'Search'}
287
288
  aria-expanded=${() => String(open())}
288
289
  aria-controls=${() => (showPanel() ? 'suggestions' : null)}
289
290
  aria-autocomplete="list"
290
- aria-haspopup=${() => (isView() || slotted() ? 'true' : null)}
291
+ aria-haspopup=${() => (isView() ? 'dialog' : slotted() ? 'listbox' : null)}
291
292
  ?disabled=${disabled}
292
293
  @input=${onInput} @change=${commit} @keydown=${onKeydown}
293
294
  @focus=${onFocus}>