framework7-svelte 7.0.3 → 7.0.4
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/components/popover.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ interface PopoverProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap['
|
|
|
14
14
|
closeByOutsideClick ?: boolean;
|
|
15
15
|
closeOnEscape ?: boolean;
|
|
16
16
|
containerEl ?: string | object;
|
|
17
|
+
verticalPosition?: string;
|
|
17
18
|
color?: string;
|
|
18
19
|
colorTheme?: string;
|
|
19
20
|
textColor?: string;
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
export let closeByOutsideClick = undefined;
|
|
21
21
|
export let closeOnEscape = undefined;
|
|
22
22
|
export let containerEl = undefined;
|
|
23
|
+
export let verticalPosition = undefined;
|
|
23
24
|
|
|
24
25
|
let el;
|
|
25
26
|
let f7Popover;
|
|
@@ -95,6 +96,7 @@
|
|
|
95
96
|
if (typeof backdrop !== 'undefined') params.backdrop = backdrop;
|
|
96
97
|
if (typeof backdropEl !== 'undefined') params.backdropEl = backdropEl;
|
|
97
98
|
if (typeof containerEl !== 'undefined') params.containerEl = containerEl;
|
|
99
|
+
if (typeof verticalPosition !== 'undefined') params.verticalPosition = verticalPosition;
|
|
98
100
|
|
|
99
101
|
f7ready(() => {
|
|
100
102
|
f7Popover = app.f7.popover.create(params);
|
package/framework7-svelte.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Framework7 Svelte 7.0.
|
|
2
|
+
* Framework7 Svelte 7.0.4
|
|
3
3
|
* Build full featured iOS & Android apps using Framework7 & Svelte
|
|
4
4
|
* https://framework7.io/svelte/
|
|
5
5
|
*
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* Released under the MIT License
|
|
9
9
|
*
|
|
10
|
-
* Released on: May
|
|
10
|
+
* Released on: May 25, 2022
|
|
11
11
|
*/
|
|
12
12
|
import Framework7Svelte from './shared/plugin.js';
|
|
13
13
|
import { f7, f7ready, theme, app } from './shared/f7.js';
|