mates 0.3.0-beta.8 → 0.3.0
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.ts +9 -1
- package/dist/index.esm.js +39 -42
- package/dist/index.esm.js.map +1 -1
- package/dist/portals/popup.d.ts +9 -1
- package/dist/portals/popup.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -5375,6 +5375,8 @@ interface PopupOpenAtom {
|
|
|
5375
5375
|
(): boolean;
|
|
5376
5376
|
get(): boolean;
|
|
5377
5377
|
}
|
|
5378
|
+
/** Accepted value for `PopupOptions.open` — an atom or a plain boolean. */
|
|
5379
|
+
type PopupOpenValue = PopupOpenAtom | boolean;
|
|
5378
5380
|
|
|
5379
5381
|
interface PopupOptions {
|
|
5380
5382
|
/** default "bottom-start" */
|
|
@@ -5421,7 +5423,13 @@ interface PopupOptions {
|
|
|
5421
5423
|
* @focusout=${() => isOpen.set(false)} />
|
|
5422
5424
|
* </div>`
|
|
5423
5425
|
*/
|
|
5424
|
-
open?:
|
|
5426
|
+
open?: PopupOpenValue;
|
|
5427
|
+
/**
|
|
5428
|
+
* Override the z-index of the floating panel.
|
|
5429
|
+
* Use `600` (or `--md-z-popup-above-modal`) when the popup must appear
|
|
5430
|
+
* above an open dialog. Defaults to the floating-container default (9999).
|
|
5431
|
+
*/
|
|
5432
|
+
zIndex?: number | string;
|
|
5425
5433
|
/**
|
|
5426
5434
|
* When true, suppresses any CSS animations on the floating panel element.
|
|
5427
5435
|
* Useful for tour cards and other cases where you want instant appearance.
|