framework7-svelte 8.1.0 → 8.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/components/accordion-content.d.ts +5 -5
- package/components/accordion-item.d.ts +5 -5
- package/components/accordion-toggle.d.ts +5 -5
- package/components/accordion.d.ts +5 -5
- package/components/actions-button.d.ts +5 -5
- package/components/actions-group.d.ts +5 -5
- package/components/actions-label.d.ts +5 -5
- package/components/actions.d.ts +5 -5
- package/components/app.d.ts +5 -5
- package/components/area-chart.d.ts +5 -5
- package/components/badge.d.ts +5 -5
- package/components/block-footer.d.ts +5 -5
- package/components/block-header.d.ts +5 -5
- package/components/block-title.d.ts +5 -5
- package/components/block.d.ts +5 -5
- package/components/breadcrumbs-collapsed.d.ts +5 -5
- package/components/breadcrumbs-item.d.ts +5 -5
- package/components/breadcrumbs-separator.d.ts +6 -5
- package/components/breadcrumbs.d.ts +6 -5
- package/components/button.d.ts +5 -5
- package/components/card-content.d.ts +5 -5
- package/components/card-footer.d.ts +5 -5
- package/components/card-header.d.ts +5 -5
- package/components/card.d.ts +5 -5
- package/components/checkbox.d.ts +5 -5
- package/components/chip.d.ts +5 -5
- package/components/fab-backdrop.d.ts +6 -5
- package/components/fab-button.d.ts +5 -5
- package/components/fab-buttons.d.ts +5 -5
- package/components/fab.d.ts +5 -5
- package/components/gauge.d.ts +5 -5
- package/components/icon.d.ts +5 -5
- package/components/input.d.ts +5 -5
- package/components/link.d.ts +5 -5
- package/components/list-button.d.ts +5 -5
- package/components/list-group.d.ts +5 -5
- package/components/list-index.d.ts +5 -5
- package/components/list-input.d.ts +5 -5
- package/components/list-item.d.ts +5 -5
- package/components/list.d.ts +5 -5
- package/components/login-screen-title.d.ts +5 -5
- package/components/login-screen.d.ts +5 -5
- package/components/message.d.ts +5 -5
- package/components/messagebar-attachment.d.ts +5 -5
- package/components/messagebar-attachments.d.ts +5 -5
- package/components/messagebar-sheet-image.d.ts +5 -5
- package/components/messagebar-sheet-item.d.ts +5 -5
- package/components/messagebar-sheet.d.ts +5 -5
- package/components/messagebar.d.ts +5 -5
- package/components/messages-title.d.ts +5 -5
- package/components/messages.d.ts +5 -5
- package/components/nav-left.d.ts +5 -5
- package/components/nav-right.d.ts +5 -5
- package/components/nav-title-large.d.ts +5 -5
- package/components/nav-title.d.ts +5 -5
- package/components/navbar.d.ts +5 -5
- package/components/page-content.d.ts +5 -5
- package/components/page.d.ts +5 -5
- package/components/panel.d.ts +5 -5
- package/components/photo-browser.d.ts +5 -5
- package/components/pie-chart.d.ts +5 -5
- package/components/popover.d.ts +5 -5
- package/components/popup.d.ts +5 -5
- package/components/preloader.d.ts +5 -5
- package/components/progressbar.d.ts +5 -5
- package/components/radio.d.ts +5 -5
- package/components/range.d.ts +5 -5
- package/components/routable-modals.d.ts +5 -4
- package/components/router-context-provider.d.ts +5 -4
- package/components/searchbar.d.ts +5 -5
- package/components/segmented.d.ts +5 -5
- package/components/sheet.d.ts +9 -6
- package/components/sheet.svelte +19 -0
- package/components/stepper.d.ts +5 -5
- package/components/subnavbar.d.ts +5 -5
- package/components/swipeout-actions.d.ts +5 -5
- package/components/swipeout-button.d.ts +5 -5
- package/components/tab.d.ts +5 -5
- package/components/tabs.d.ts +5 -5
- package/components/text-editor.d.ts +5 -5
- package/components/toggle.d.ts +5 -5
- package/components/toolbar.d.ts +5 -5
- package/components/treeview-item.d.ts +5 -5
- package/components/treeview.d.ts +5 -5
- package/components/use-icon.d.ts +5 -4
- package/components/view.d.ts +5 -5
- package/components/views.d.ts +5 -5
- package/framework7-svelte.js +2 -2
- package/package.json +2 -2
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { SvelteComponent } from 'svelte';
|
|
3
|
+
import { HTMLAttributes } from 'svelte/elements';
|
|
3
4
|
|
|
4
5
|
import { Messagebar } from 'framework7/types';
|
|
5
6
|
|
|
6
7
|
|
|
7
|
-
interface MessagebarProps
|
|
8
|
+
interface MessagebarProps {
|
|
8
9
|
sheetVisible ?: boolean;
|
|
9
10
|
attachmentsVisible ?: boolean;
|
|
10
11
|
top ?: boolean;
|
|
@@ -38,13 +39,12 @@ interface MessagebarProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMa
|
|
|
38
39
|
onMessagebarAttachmentDelete ?: (instance?: Messagebar.Messagebar, attachmentEl?: HTMLElement, attachmentElIndex?: number) => void;
|
|
39
40
|
onMessagebarAttachmentClick ?: (instance?: Messagebar.Messagebar, attachmentEl?: HTMLElement, attachmentElIndex?: number) => void;
|
|
40
41
|
onMessagebarResizePage ?: (instance?: Messagebar.Messagebar) => void;
|
|
41
|
-
children?: React.ReactNode;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
|
|
46
|
-
declare class Messagebar extends
|
|
47
|
-
MessagebarProps
|
|
46
|
+
declare class Messagebar extends SvelteComponent<
|
|
47
|
+
MessagebarProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof MessagebarProps>,
|
|
48
48
|
{ change: CustomEvent<void>; input: CustomEvent<void>; focus: CustomEvent<void>; blur: CustomEvent<void>; submit: CustomEvent<void>; send: CustomEvent<void>; click: CustomEvent<void>; messagebarAttachmentDelete: CustomEvent<void>; messagebarAttachmentClick: CustomEvent<void>; messagebarResizePage: CustomEvent<void>; },
|
|
49
49
|
{ 'before-inner' : {}; 'inner-start' : {}; 'before-area' : {}; 'after-inner' : {}; 'send-link' : {}; 'inner-end' : {}; 'default' : {}; }
|
|
50
50
|
> {}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { SvelteComponent } from 'svelte';
|
|
3
|
+
import { HTMLAttributes } from 'svelte/elements';
|
|
3
4
|
|
|
4
5
|
|
|
5
|
-
interface MessagesTitleProps
|
|
6
|
-
children?: React.ReactNode;
|
|
6
|
+
interface MessagesTitleProps {
|
|
7
7
|
color?: string;
|
|
8
8
|
colorTheme?: string;
|
|
9
9
|
textColor?: string;
|
|
@@ -15,8 +15,8 @@ interface MessagesTitleProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNam
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
declare class MessagesTitle extends
|
|
19
|
-
MessagesTitleProps
|
|
18
|
+
declare class MessagesTitle extends SvelteComponent<
|
|
19
|
+
MessagesTitleProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof MessagesTitleProps>,
|
|
20
20
|
{ },
|
|
21
21
|
{ 'default' : {}; }
|
|
22
22
|
> {}
|
package/components/messages.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { SvelteComponent } from 'svelte';
|
|
3
|
+
import { HTMLAttributes } from 'svelte/elements';
|
|
3
4
|
|
|
4
5
|
import { Messages } from 'framework7/types';
|
|
5
6
|
|
|
6
7
|
|
|
7
|
-
interface MessagesProps
|
|
8
|
+
interface MessagesProps {
|
|
8
9
|
autoLayout ?: boolean;
|
|
9
10
|
messages ?: Array<any>;
|
|
10
11
|
newMessagesFirst ?: boolean;
|
|
@@ -21,7 +22,6 @@ interface MessagesProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap[
|
|
|
21
22
|
customClassMessageRule ?: Function;
|
|
22
23
|
renderMessage ?: Function;
|
|
23
24
|
init ?: boolean;
|
|
24
|
-
children?: React.ReactNode;
|
|
25
25
|
color?: string;
|
|
26
26
|
colorTheme?: string;
|
|
27
27
|
textColor?: string;
|
|
@@ -33,8 +33,8 @@ interface MessagesProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap[
|
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
|
|
36
|
-
declare class Messages extends
|
|
37
|
-
MessagesProps
|
|
36
|
+
declare class Messages extends SvelteComponent<
|
|
37
|
+
MessagesProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof MessagesProps>,
|
|
38
38
|
{ },
|
|
39
39
|
{ 'default' : {}; }
|
|
40
40
|
> {}
|
package/components/nav-left.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { SvelteComponent } from 'svelte';
|
|
3
|
+
import { HTMLAttributes } from 'svelte/elements';
|
|
3
4
|
|
|
4
5
|
|
|
5
|
-
interface NavLeftProps
|
|
6
|
+
interface NavLeftProps {
|
|
6
7
|
backLink ?: boolean | string;
|
|
7
8
|
backLinkUrl ?: string;
|
|
8
9
|
backLinkForce ?: boolean;
|
|
@@ -17,13 +18,12 @@ interface NavLeftProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap['
|
|
|
17
18
|
dark?: boolean;
|
|
18
19
|
onBackClick ?: (event?: any) => void;
|
|
19
20
|
onClickBack ?: (event?: any) => void;
|
|
20
|
-
children?: React.ReactNode;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
declare class NavLeft extends
|
|
26
|
-
NavLeftProps
|
|
25
|
+
declare class NavLeft extends SvelteComponent<
|
|
26
|
+
NavLeftProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof NavLeftProps>,
|
|
27
27
|
{ clickBack: CustomEvent<void>; backClick: CustomEvent<void>; },
|
|
28
28
|
{ 'default' : {}; }
|
|
29
29
|
> {}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { SvelteComponent } from 'svelte';
|
|
3
|
+
import { HTMLAttributes } from 'svelte/elements';
|
|
3
4
|
|
|
4
5
|
|
|
5
|
-
interface NavRightProps
|
|
6
|
+
interface NavRightProps {
|
|
6
7
|
sliding ?: boolean;
|
|
7
|
-
children?: React.ReactNode;
|
|
8
8
|
color?: string;
|
|
9
9
|
colorTheme?: string;
|
|
10
10
|
textColor?: string;
|
|
@@ -16,8 +16,8 @@ interface NavRightProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap[
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
declare class NavRight extends
|
|
20
|
-
NavRightProps
|
|
19
|
+
declare class NavRight extends SvelteComponent<
|
|
20
|
+
NavRightProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof NavRightProps>,
|
|
21
21
|
{ },
|
|
22
22
|
{ 'default' : {}; }
|
|
23
23
|
> {}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { SvelteComponent } from 'svelte';
|
|
3
|
+
import { HTMLAttributes } from 'svelte/elements';
|
|
3
4
|
|
|
4
5
|
|
|
5
|
-
interface NavTitleLargeProps
|
|
6
|
-
children?: React.ReactNode;
|
|
6
|
+
interface NavTitleLargeProps {
|
|
7
7
|
color?: string;
|
|
8
8
|
colorTheme?: string;
|
|
9
9
|
textColor?: string;
|
|
@@ -15,8 +15,8 @@ interface NavTitleLargeProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNam
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
declare class NavTitleLarge extends
|
|
19
|
-
NavTitleLargeProps
|
|
18
|
+
declare class NavTitleLarge extends SvelteComponent<
|
|
19
|
+
NavTitleLargeProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof NavTitleLargeProps>,
|
|
20
20
|
{ },
|
|
21
21
|
{ 'default' : {}; }
|
|
22
22
|
> {}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { SvelteComponent } from 'svelte';
|
|
3
|
+
import { HTMLAttributes } from 'svelte/elements';
|
|
3
4
|
|
|
4
5
|
|
|
5
|
-
interface NavTitleProps
|
|
6
|
+
interface NavTitleProps {
|
|
6
7
|
title ?: string;
|
|
7
8
|
subtitle ?: string;
|
|
8
9
|
sliding ?: boolean;
|
|
9
|
-
children?: React.ReactNode;
|
|
10
10
|
color?: string;
|
|
11
11
|
colorTheme?: string;
|
|
12
12
|
textColor?: string;
|
|
@@ -18,8 +18,8 @@ interface NavTitleProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap[
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
declare class NavTitle extends
|
|
22
|
-
NavTitleProps
|
|
21
|
+
declare class NavTitle extends SvelteComponent<
|
|
22
|
+
NavTitleProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof NavTitleProps>,
|
|
23
23
|
{ },
|
|
24
24
|
{ 'default' : {}; }
|
|
25
25
|
> {}
|
package/components/navbar.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { SvelteComponent } from 'svelte';
|
|
3
|
+
import { HTMLAttributes } from 'svelte/elements';
|
|
3
4
|
|
|
4
5
|
|
|
5
|
-
interface NavbarProps
|
|
6
|
+
interface NavbarProps {
|
|
6
7
|
backLink ?: boolean | string;
|
|
7
8
|
backLinkUrl ?: string;
|
|
8
9
|
backLinkForce ?: boolean;
|
|
@@ -33,13 +34,12 @@ interface NavbarProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap['d
|
|
|
33
34
|
onNavbarTransparentHide ?: (...args: any[]) => void;
|
|
34
35
|
onBackClick ?: (event?: any) => void;
|
|
35
36
|
onClickBack ?: (event?: any) => void;
|
|
36
|
-
children?: React.ReactNode;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
declare class Navbar extends
|
|
42
|
-
NavbarProps
|
|
41
|
+
declare class Navbar extends SvelteComponent<
|
|
42
|
+
NavbarProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof NavbarProps>,
|
|
43
43
|
{ navbarHide: CustomEvent<void>; navbarShow: CustomEvent<void>; navbarTransparentShow: CustomEvent<void>; navbarTransparentHide: CustomEvent<void>; navbarExpand: CustomEvent<void>; navbarCollapse: CustomEvent<void>; clickBack: CustomEvent<void>; },
|
|
44
44
|
{ 'before-inner' : {}; 'nav-left' : {}; 'left' : {}; 'title' : {}; 'nav-right' : {}; 'right' : {}; 'title-large' : {}; 'default' : {}; 'after-inner' : {}; }
|
|
45
45
|
> {}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { SvelteComponent } from 'svelte';
|
|
3
|
+
import { HTMLAttributes } from 'svelte/elements';
|
|
3
4
|
|
|
4
5
|
|
|
5
|
-
interface PageContentProps
|
|
6
|
+
interface PageContentProps {
|
|
6
7
|
tab ?: boolean;
|
|
7
8
|
tabActive ?: boolean;
|
|
8
9
|
ptr ?: boolean;
|
|
@@ -34,13 +35,12 @@ interface PageContentProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameM
|
|
|
34
35
|
onInfinite ?: (...args: any[]) => void;
|
|
35
36
|
onTabShow ?: (el?: HTMLElement) => void;
|
|
36
37
|
onTabHide ?: (el?: HTMLElement) => void;
|
|
37
|
-
children?: React.ReactNode;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
declare class PageContent extends
|
|
43
|
-
PageContentProps
|
|
42
|
+
declare class PageContent extends SvelteComponent<
|
|
43
|
+
PageContentProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof PageContentProps>,
|
|
44
44
|
{ ptrPullStart: CustomEvent<void>; ptrPullMove: CustomEvent<void>; ptrPullEnd: CustomEvent<void>; ptrRefresh: CustomEvent<void>; ptrDone: CustomEvent<void>; infinite: CustomEvent<void>; },
|
|
45
45
|
{ 'default' : {}; }
|
|
46
46
|
> {}
|
package/components/page.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { SvelteComponent } from 'svelte';
|
|
3
|
+
import { HTMLAttributes } from 'svelte/elements';
|
|
3
4
|
|
|
4
5
|
|
|
5
|
-
interface PageProps
|
|
6
|
+
interface PageProps {
|
|
6
7
|
name ?: string;
|
|
7
8
|
withSubnavbar ?: boolean;
|
|
8
9
|
subnavbar ?: boolean;
|
|
@@ -51,13 +52,12 @@ interface PageProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap['div
|
|
|
51
52
|
onPageBeforeUnmount ?: (page?: any) => void;
|
|
52
53
|
onPageTabShow ?: (...args: any[]) => void;
|
|
53
54
|
onPageTabHide ?: (...args: any[]) => void;
|
|
54
|
-
children?: React.ReactNode;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
|
|
58
58
|
|
|
59
|
-
declare class Page extends
|
|
60
|
-
PageProps
|
|
59
|
+
declare class Page extends SvelteComponent<
|
|
60
|
+
PageProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof PageProps>,
|
|
61
61
|
{ ptrPullStart: CustomEvent<void>; ptrPullMove: CustomEvent<void>; ptrPullEnd: CustomEvent<void>; ptrRefresh: CustomEvent<void>; ptrDone: CustomEvent<void>; infinite: CustomEvent<void>; pageMounted: CustomEvent<void>; pageInit: CustomEvent<void>; pageReinit: CustomEvent<void>; pageBeforeIn: CustomEvent<void>; pageBeforeOut: CustomEvent<void>; pageAfterOut: CustomEvent<void>; pageAfterIn: CustomEvent<void>; pageBeforeRemove: CustomEvent<void>; pageBeforeUnmount: CustomEvent<void>; pageTabShow: CustomEvent<void>; pageTabHide: CustomEvent<void>; },
|
|
62
62
|
{ 'fixed' : {}; 'static' : {}; 'default' : {}; }
|
|
63
63
|
> {}
|
package/components/panel.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { SvelteComponent } from 'svelte';
|
|
3
|
+
import { HTMLAttributes } from 'svelte/elements';
|
|
3
4
|
|
|
4
5
|
import { Panel } from 'framework7/types';
|
|
5
6
|
|
|
6
7
|
|
|
7
|
-
interface PanelProps
|
|
8
|
+
interface PanelProps {
|
|
8
9
|
side ?: string;
|
|
9
10
|
effect ?: string;
|
|
10
11
|
cover ?: boolean;
|
|
@@ -43,13 +44,12 @@ interface PanelProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap['di
|
|
|
43
44
|
onPanelBreakpoint ?: (event?: any) => void;
|
|
44
45
|
onPanelCollapsedBreakpoint ?: (event?: any) => void;
|
|
45
46
|
onPanelResize ?: (...args: any[]) => void;
|
|
46
|
-
children?: React.ReactNode;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
|
|
50
50
|
|
|
51
|
-
declare class Panel extends
|
|
52
|
-
PanelProps
|
|
51
|
+
declare class Panel extends SvelteComponent<
|
|
52
|
+
PanelProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof PanelProps>,
|
|
53
53
|
{ panelOpen: CustomEvent<void>; panelOpened: CustomEvent<void>; panelClose: CustomEvent<void>; panelClosed: CustomEvent<void>; panelBackdropClick: CustomEvent<void>; panelSwipe: CustomEvent<void>; panelSwipeOpen: CustomEvent<void>; panelBreakpoint: CustomEvent<void>; panelCollapsedBreakpoint: CustomEvent<void>; panelResize: CustomEvent<void>; },
|
|
54
54
|
{ 'default' : {}; }
|
|
55
55
|
> {}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { SvelteComponent } from 'svelte';
|
|
3
|
+
import { HTMLAttributes } from 'svelte/elements';
|
|
3
4
|
|
|
4
5
|
import { PhotoBrowser } from 'framework7/types';
|
|
5
6
|
|
|
6
7
|
|
|
7
|
-
interface PhotoBrowserProps
|
|
8
|
+
interface PhotoBrowserProps {
|
|
8
9
|
init ?: boolean;
|
|
9
10
|
params ?: Object;
|
|
10
11
|
photos ?: Array<any>;
|
|
@@ -43,13 +44,12 @@ interface PhotoBrowserProps extends svelte.JSX.HTMLAttributes<HTMLElementTagName
|
|
|
43
44
|
onPhotoBrowserOpened ?: (...args: any[]) => void;
|
|
44
45
|
onPhotoBrowserClosed ?: (...args: any[]) => void;
|
|
45
46
|
onPhotoBrowserSwipeToClose ?: (...args: any[]) => void;
|
|
46
|
-
children?: React.ReactNode;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
|
|
50
50
|
|
|
51
|
-
declare class PhotoBrowser extends
|
|
52
|
-
PhotoBrowserProps
|
|
51
|
+
declare class PhotoBrowser extends SvelteComponent<
|
|
52
|
+
PhotoBrowserProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof PhotoBrowserProps>,
|
|
53
53
|
{ photoBrowserOpen: CustomEvent<void>; photoBrowserClose: CustomEvent<void>; photoBrowserOpened: CustomEvent<void>; photoBrowserClosed: CustomEvent<void>; photoBrowserSwipeToClose: CustomEvent<void>; },
|
|
54
54
|
{ }
|
|
55
55
|
> {}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { SvelteComponent } from 'svelte';
|
|
3
|
+
import { HTMLAttributes } from 'svelte/elements';
|
|
3
4
|
|
|
4
5
|
|
|
5
|
-
interface PieChartProps
|
|
6
|
+
interface PieChartProps {
|
|
6
7
|
size?: number;
|
|
7
8
|
tooltip?: boolean;
|
|
8
9
|
datasets?: {value: number; color?: string; label?: string}[];
|
|
9
10
|
formatTooltip?: (data: {index: number; value: number; label: string; color: string; percentage: number}) => void;
|
|
10
11
|
onSelect ?: (index: number | null, item: {value: number; label: string; color: string}) => void;
|
|
11
|
-
children?: React.ReactNode;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
declare class PieChart extends
|
|
17
|
-
PieChartProps
|
|
16
|
+
declare class PieChart extends SvelteComponent<
|
|
17
|
+
PieChartProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof PieChartProps>,
|
|
18
18
|
{ select: CustomEvent<void>; },
|
|
19
19
|
{ 'default' : {}; }
|
|
20
20
|
> {}
|
package/components/popover.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { SvelteComponent } from 'svelte';
|
|
3
|
+
import { HTMLAttributes } from 'svelte/elements';
|
|
3
4
|
|
|
4
5
|
import { Popover } from 'framework7/types';
|
|
5
6
|
|
|
6
7
|
|
|
7
|
-
interface PopoverProps
|
|
8
|
+
interface PopoverProps {
|
|
8
9
|
opened ?: boolean;
|
|
9
10
|
animate ?: boolean;
|
|
10
11
|
targetEl ?: string | object;
|
|
@@ -27,13 +28,12 @@ interface PopoverProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap['
|
|
|
27
28
|
onPopoverOpened ?: (instance?: Popover.Popover) => void;
|
|
28
29
|
onPopoverClose ?: (instance?: Popover.Popover) => void;
|
|
29
30
|
onPopoverClosed ?: (instance?: Popover.Popover) => void;
|
|
30
|
-
children?: React.ReactNode;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
declare class Popover extends
|
|
36
|
-
PopoverProps
|
|
35
|
+
declare class Popover extends SvelteComponent<
|
|
36
|
+
PopoverProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof PopoverProps>,
|
|
37
37
|
{ popoverOpen: CustomEvent<void>; popoverOpened: CustomEvent<void>; popoverClose: CustomEvent<void>; popoverClosed: CustomEvent<void>; },
|
|
38
38
|
{ 'default' : {}; }
|
|
39
39
|
> {}
|
package/components/popup.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { SvelteComponent } from 'svelte';
|
|
3
|
+
import { HTMLAttributes } from 'svelte/elements';
|
|
3
4
|
|
|
4
5
|
import { Popup } from 'framework7/types';
|
|
5
6
|
|
|
6
7
|
|
|
7
|
-
interface PopupProps
|
|
8
|
+
interface PopupProps {
|
|
8
9
|
tabletFullscreen ?: boolean;
|
|
9
10
|
opened ?: boolean;
|
|
10
11
|
animate ?: boolean;
|
|
@@ -31,13 +32,12 @@ interface PopupProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap['di
|
|
|
31
32
|
onPopupOpened ?: (instance?: Popup.Popup) => void;
|
|
32
33
|
onPopupClose ?: (instance?: Popup.Popup) => void;
|
|
33
34
|
onPopupClosed ?: (instance?: Popup.Popup) => void;
|
|
34
|
-
children?: React.ReactNode;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
declare class Popup extends
|
|
40
|
-
PopupProps
|
|
39
|
+
declare class Popup extends SvelteComponent<
|
|
40
|
+
PopupProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof PopupProps>,
|
|
41
41
|
{ popupSwipeStart: CustomEvent<void>; popupSwipeMove: CustomEvent<void>; popupSwipeEnd: CustomEvent<void>; popupSwipeClose: CustomEvent<void>; popupOpen: CustomEvent<void>; popupOpened: CustomEvent<void>; popupClose: CustomEvent<void>; popupClosed: CustomEvent<void>; },
|
|
42
42
|
{ 'default' : {}; }
|
|
43
43
|
> {}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { SvelteComponent } from 'svelte';
|
|
3
|
+
import { HTMLAttributes } from 'svelte/elements';
|
|
3
4
|
|
|
4
5
|
|
|
5
|
-
interface PreloaderProps
|
|
6
|
+
interface PreloaderProps {
|
|
6
7
|
size ?: number | string;
|
|
7
|
-
children?: React.ReactNode;
|
|
8
8
|
color?: string;
|
|
9
9
|
colorTheme?: string;
|
|
10
10
|
textColor?: string;
|
|
@@ -16,8 +16,8 @@ interface PreloaderProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
declare class Preloader extends
|
|
20
|
-
PreloaderProps
|
|
19
|
+
declare class Preloader extends SvelteComponent<
|
|
20
|
+
PreloaderProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof PreloaderProps>,
|
|
21
21
|
{ },
|
|
22
22
|
{ }
|
|
23
23
|
> {}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { SvelteComponent } from 'svelte';
|
|
3
|
+
import { HTMLAttributes } from 'svelte/elements';
|
|
3
4
|
|
|
4
5
|
|
|
5
|
-
interface ProgressbarProps
|
|
6
|
+
interface ProgressbarProps {
|
|
6
7
|
progress ?: number;
|
|
7
8
|
infinite ?: boolean;
|
|
8
|
-
children?: React.ReactNode;
|
|
9
9
|
color?: string;
|
|
10
10
|
colorTheme?: string;
|
|
11
11
|
textColor?: string;
|
|
@@ -17,8 +17,8 @@ interface ProgressbarProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameM
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
declare class Progressbar extends
|
|
21
|
-
ProgressbarProps
|
|
20
|
+
declare class Progressbar extends SvelteComponent<
|
|
21
|
+
ProgressbarProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof ProgressbarProps>,
|
|
22
22
|
{ },
|
|
23
23
|
{ }
|
|
24
24
|
> {}
|
package/components/radio.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { SvelteComponent } from 'svelte';
|
|
3
|
+
import { HTMLAttributes } from 'svelte/elements';
|
|
3
4
|
|
|
4
5
|
|
|
5
|
-
interface RadioProps
|
|
6
|
+
interface RadioProps {
|
|
6
7
|
checked ?: boolean;
|
|
7
8
|
name ?: number | string;
|
|
8
9
|
value ?: number | string | boolean;
|
|
@@ -17,13 +18,12 @@ interface RadioProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap['di
|
|
|
17
18
|
rippleColor?: string;
|
|
18
19
|
dark?: boolean;
|
|
19
20
|
onChange ?: (event?: any) => void;
|
|
20
|
-
children?: React.ReactNode;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
declare class Radio extends
|
|
26
|
-
RadioProps
|
|
25
|
+
declare class Radio extends SvelteComponent<
|
|
26
|
+
RadioProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof RadioProps>,
|
|
27
27
|
{ change: CustomEvent<void>; },
|
|
28
28
|
{ 'default' : {}; }
|
|
29
29
|
> {}
|
package/components/range.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { SvelteComponent } from 'svelte';
|
|
3
|
+
import { HTMLAttributes } from 'svelte/elements';
|
|
3
4
|
|
|
4
5
|
import { Range } from 'framework7/types';
|
|
5
6
|
|
|
6
7
|
|
|
7
|
-
interface RangeProps
|
|
8
|
+
interface RangeProps {
|
|
8
9
|
init ?: boolean;
|
|
9
10
|
value ?: number | Array<any> | string;
|
|
10
11
|
min ?: number | string;
|
|
@@ -34,13 +35,12 @@ interface RangeProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap['di
|
|
|
34
35
|
dark?: boolean;
|
|
35
36
|
onRangeChange ?: (val?: any) => void;
|
|
36
37
|
onRangeChanged ?: (val?: any) => void;
|
|
37
|
-
children?: React.ReactNode;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
declare class Range extends
|
|
43
|
-
RangeProps
|
|
42
|
+
declare class Range extends SvelteComponent<
|
|
43
|
+
RangeProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof RangeProps>,
|
|
44
44
|
{ rangeChange: CustomEvent<void>; rangeChanged: CustomEvent<void>; },
|
|
45
45
|
{ 'default' : {}; }
|
|
46
46
|
> {}
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { SvelteComponent } from 'svelte';
|
|
3
|
+
import { HTMLAttributes } from 'svelte/elements';
|
|
3
4
|
|
|
4
5
|
|
|
5
|
-
interface RoutableModalsProps
|
|
6
|
+
interface RoutableModalsProps {
|
|
6
7
|
|
|
7
8
|
}
|
|
8
9
|
|
|
9
10
|
|
|
10
11
|
|
|
11
|
-
declare class RoutableModals extends
|
|
12
|
-
RoutableModalsProps
|
|
12
|
+
declare class RoutableModals extends SvelteComponent<
|
|
13
|
+
RoutableModalsProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof RoutableModalsProps>,
|
|
13
14
|
{ modalsRouterDidUpdate: CustomEvent<void>; },
|
|
14
15
|
{ }
|
|
15
16
|
> {}
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { SvelteComponent } from 'svelte';
|
|
3
|
+
import { HTMLAttributes } from 'svelte/elements';
|
|
3
4
|
|
|
4
5
|
|
|
5
|
-
interface RouterContextProviderProps
|
|
6
|
+
interface RouterContextProviderProps {
|
|
6
7
|
|
|
7
8
|
}
|
|
8
9
|
|
|
9
10
|
|
|
10
11
|
|
|
11
|
-
declare class RouterContextProvider extends
|
|
12
|
-
RouterContextProviderProps
|
|
12
|
+
declare class RouterContextProvider extends SvelteComponent<
|
|
13
|
+
RouterContextProviderProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof RouterContextProviderProps>,
|
|
13
14
|
{ },
|
|
14
15
|
{ 'default' : {}; }
|
|
15
16
|
> {}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { SvelteComponent } from 'svelte';
|
|
3
|
+
import { HTMLAttributes } from 'svelte/elements';
|
|
3
4
|
|
|
4
5
|
import { Searchbar } from 'framework7/types';
|
|
5
6
|
|
|
6
7
|
|
|
7
|
-
interface SearchbarProps
|
|
8
|
+
interface SearchbarProps {
|
|
8
9
|
outline ?: boolean;
|
|
9
10
|
form ?: boolean;
|
|
10
11
|
placeholder ?: string;
|
|
@@ -50,13 +51,12 @@ interface SearchbarProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap
|
|
|
50
51
|
onSubmit ?: (event?: any) => void;
|
|
51
52
|
onClickClear ?: (event?: any) => void;
|
|
52
53
|
onClickDisable ?: (event?: any) => void;
|
|
53
|
-
children?: React.ReactNode;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
|
|
57
57
|
|
|
58
|
-
declare class Searchbar extends
|
|
59
|
-
SearchbarProps
|
|
58
|
+
declare class Searchbar extends SvelteComponent<
|
|
59
|
+
SearchbarProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof SearchbarProps>,
|
|
60
60
|
{ change: CustomEvent<void>; input: CustomEvent<void>; focus: CustomEvent<void>; blur: CustomEvent<void>; submit: CustomEvent<void>; searchbarSearch: CustomEvent<void>; searchbarClear: CustomEvent<void>; searchbarEnable: CustomEvent<void>; searchbarDisable: CustomEvent<void>; },
|
|
61
61
|
{ 'before-inner' : {}; 'inner-start' : {}; 'input-wrap-start' : {}; 'input-wrap-end' : {}; 'inner-end' : {}; 'default' : {}; 'after-inner' : {}; }
|
|
62
62
|
> {}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { SvelteComponent } from 'svelte';
|
|
3
|
+
import { HTMLAttributes } from 'svelte/elements';
|
|
3
4
|
|
|
4
5
|
|
|
5
|
-
interface SegmentedProps
|
|
6
|
+
interface SegmentedProps {
|
|
6
7
|
raised ?: boolean;
|
|
7
8
|
raisedIos ?: boolean;
|
|
8
9
|
raisedMd ?: boolean;
|
|
@@ -13,7 +14,6 @@ interface SegmentedProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap
|
|
|
13
14
|
strongIos ?: boolean;
|
|
14
15
|
strongMd ?: boolean;
|
|
15
16
|
tag ?: string;
|
|
16
|
-
children?: React.ReactNode;
|
|
17
17
|
color?: string;
|
|
18
18
|
colorTheme?: string;
|
|
19
19
|
textColor?: string;
|
|
@@ -25,8 +25,8 @@ interface SegmentedProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
declare class Segmented extends
|
|
29
|
-
SegmentedProps
|
|
28
|
+
declare class Segmented extends SvelteComponent<
|
|
29
|
+
SegmentedProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof SegmentedProps>,
|
|
30
30
|
{ },
|
|
31
31
|
{ 'default' : {}; }
|
|
32
32
|
> {}
|