@domphy/ui 0.20.10 → 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/CHANGELOG.md +6 -0
- package/dist/core-theme-ui.global.js +4 -4
- package/dist/core-theme-ui.global.js.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -5
- package/dist/index.d.ts +7 -5
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +4 -3
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
|
|
258
|
-
*
|
|
259
|
-
*
|
|
260
|
-
* correctly filtered. Typically applied to a `<button>` (or any clickable
|
|
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
|
|
258
|
-
*
|
|
259
|
-
*
|
|
260
|
-
* correctly filtered. Typically applied to a `<button>` (or any clickable
|
|
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".
|