@taprootio/espalier 2.8.0 → 2.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/custom-elements.json +945 -955
- package/dist/dialog/esp-dialog.d.ts +4 -4
- package/dist/search/esp-search.d.ts +3 -3
- package/package.json +1 -1
|
@@ -86,8 +86,8 @@ import { LitElement } from "lit";
|
|
|
86
86
|
* has moved in. Safe to initialize third-party widgets (e.g. Stripe
|
|
87
87
|
* Elements) or measure layout at this point.
|
|
88
88
|
*
|
|
89
|
-
* @event {CustomEvent<{ reason: "escape" | "close-dialog" | "api" }>}
|
|
90
|
-
*
|
|
89
|
+
* @event {CustomEvent<{ reason: "escape" | "close-dialog" | "api" }>} esp-dialog-closing -
|
|
90
|
+
* Fired before the dialog begins closing.
|
|
91
91
|
* Call `event.preventDefault()` to cancel the close (e.g. for
|
|
92
92
|
* unsaved-changes confirmation). The `reason` indicates what
|
|
93
93
|
* triggered the close: `"escape"` for the Escape key,
|
|
@@ -95,8 +95,8 @@ import { LitElement } from "lit";
|
|
|
95
95
|
* (typically `<esp-form method="dialog">`), or `"api"` for a
|
|
96
96
|
* direct `toggleOpen()` call.
|
|
97
97
|
*
|
|
98
|
-
* @event {CustomEvent<{ reason: "escape" | "close-dialog" | "api" }>}
|
|
99
|
-
*
|
|
98
|
+
* @event {CustomEvent<{ reason: "escape" | "close-dialog" | "api" }>} esp-dialog-closed -
|
|
99
|
+
* Fired after the dialog has fully closed,
|
|
100
100
|
* inert state has been restored, and focus has returned to the
|
|
101
101
|
* previously focused element. Safe to tear down resources.
|
|
102
102
|
*
|
|
@@ -19,14 +19,14 @@ export interface SearchResult {
|
|
|
19
19
|
* etc.) by listening for `search-requested` events and calling
|
|
20
20
|
* `setResults()` with the matches.
|
|
21
21
|
*
|
|
22
|
-
* @fires search-requested
|
|
22
|
+
* @fires search-requested - The user changed the query input. Fires on
|
|
23
23
|
* every keystroke (not debounced) so consumers can track the latest
|
|
24
24
|
* query and discard stale async results. Consumers that need debouncing
|
|
25
25
|
* should apply it themselves (e.g. Pagefind's `debouncedSearch()`).
|
|
26
26
|
* `detail: { query: string }`
|
|
27
|
-
* @fires result-selected
|
|
27
|
+
* @fires result-selected - The user chose a result.
|
|
28
28
|
* `detail: { url: string }`
|
|
29
|
-
* @fires search-closed
|
|
29
|
+
* @fires search-closed - The overlay was closed (Escape, backdrop click,
|
|
30
30
|
* or result selection). Consumers should use this to cancel in-flight
|
|
31
31
|
* searches or discard pending results.
|
|
32
32
|
* `detail: {}`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taprootio/espalier",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.1",
|
|
4
4
|
"packageManager": "bun@1.3.12",
|
|
5
5
|
"description": "Espalier — a themeable, accessible, framework-agnostic, enterprise-grade design system built on web standards and love.",
|
|
6
6
|
"customElements": "custom-elements.json",
|