@domphy/ui 0.20.9 → 0.20.11

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/dist/index.d.cts CHANGED
@@ -254,11 +254,13 @@ declare function commandSearch(props?: {
254
254
  accentColor?: ThemeColor;
255
255
  }): PartialElement;
256
256
  /**
257
- * Selectable item (`role="option"`) in a command palette. On mount, immediately
258
- * hides itself if the current query doesn't match its text content, and subscribes
259
- * to future query changes — so items added dynamically after a search is typed are
260
- * correctly filtered. Typically applied to a `<button>` (or any clickable element)
261
- * used inside a `command()`.
257
+ * Selectable item in a command palette. On mount, immediately hides itself if
258
+ * the current query doesn't match its text content, and subscribes to future
259
+ * query changes — so items added dynamically after a search is typed are
260
+ * correctly filtered. Typically applied to a `<button>` (or any clickable
261
+ * element) used inside a `command()`. Uses native button semantics (not
262
+ * `role=option`) so the search input may sit as a sibling without a listbox
263
+ * parent requirement.
262
264
  *
263
265
  * @param props.color - Base theme color tone. Defaults to "neutral".
264
266
  * @param props.accentColor - Accent color used for the focus ring. Defaults to "primary".
package/dist/index.d.ts CHANGED
@@ -254,11 +254,13 @@ declare function commandSearch(props?: {
254
254
  accentColor?: ThemeColor;
255
255
  }): PartialElement;
256
256
  /**
257
- * Selectable item (`role="option"`) in a command palette. On mount, immediately
258
- * hides itself if the current query doesn't match its text content, and subscribes
259
- * to future query changes — so items added dynamically after a search is typed are
260
- * correctly filtered. Typically applied to a `<button>` (or any clickable element)
261
- * used inside a `command()`.
257
+ * Selectable item in a command palette. On mount, immediately hides itself if
258
+ * the current query doesn't match its text content, and subscribes to future
259
+ * query changes — so items added dynamically after a search is typed are
260
+ * correctly filtered. Typically applied to a `<button>` (or any clickable
261
+ * element) used inside a `command()`. Uses native button semantics (not
262
+ * `role=option`) so the search input may sit as a sibling without a listbox
263
+ * parent requirement.
262
264
  *
263
265
  * @param props.color - Base theme color tone. Defaults to "neutral".
264
266
  * @param props.accentColor - Accent color used for the focus ring. Defaults to "primary".