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
package/components/chip.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 ChipProps
|
|
6
|
+
interface ChipProps {
|
|
6
7
|
media ?: string;
|
|
7
8
|
text ?: string | number;
|
|
8
9
|
deleteable ?: boolean;
|
|
@@ -13,7 +14,6 @@ interface ChipProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap['div
|
|
|
13
14
|
tooltipTrigger ?: string;
|
|
14
15
|
onClick ?: (event?: any) => void;
|
|
15
16
|
onDelete ?: (event?: any) => void;
|
|
16
|
-
children?: React.ReactNode;
|
|
17
17
|
color?: string;
|
|
18
18
|
colorTheme?: string;
|
|
19
19
|
textColor?: string;
|
|
@@ -32,8 +32,8 @@ interface ChipProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap['div
|
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
declare class Chip extends
|
|
36
|
-
ChipProps
|
|
35
|
+
declare class Chip extends SvelteComponent<
|
|
36
|
+
ChipProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof ChipProps>,
|
|
37
37
|
{ click: CustomEvent<void>; delete: CustomEvent<void>; },
|
|
38
38
|
{ 'media' : {}; 'text' : {}; 'default' : {}; }
|
|
39
39
|
> {}
|
|
@@ -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 FabBackdropProps
|
|
6
|
-
|
|
6
|
+
interface FabBackdropProps {
|
|
7
|
+
|
|
7
8
|
}
|
|
8
9
|
|
|
9
10
|
|
|
10
11
|
|
|
11
|
-
declare class FabBackdrop extends
|
|
12
|
-
FabBackdropProps
|
|
12
|
+
declare class FabBackdrop extends SvelteComponent<
|
|
13
|
+
FabBackdropProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof FabBackdropProps>,
|
|
13
14
|
{ },
|
|
14
15
|
{ }
|
|
15
16
|
> {}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { SvelteComponent } from 'svelte';
|
|
3
|
+
import { HTMLAttributes } from 'svelte/elements';
|
|
3
4
|
|
|
4
5
|
|
|
5
|
-
interface FabButtonProps
|
|
6
|
+
interface FabButtonProps {
|
|
6
7
|
fabClose ?: boolean;
|
|
7
8
|
label ?: string;
|
|
8
9
|
target ?: string;
|
|
9
10
|
tooltip ?: string;
|
|
10
11
|
tooltipTrigger ?: string;
|
|
11
12
|
onClick ?: (event?: any) => void;
|
|
12
|
-
children?: React.ReactNode;
|
|
13
13
|
color?: string;
|
|
14
14
|
colorTheme?: string;
|
|
15
15
|
textColor?: string;
|
|
@@ -21,8 +21,8 @@ interface FabButtonProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap
|
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
declare class FabButton extends
|
|
25
|
-
FabButtonProps
|
|
24
|
+
declare class FabButton extends SvelteComponent<
|
|
25
|
+
FabButtonProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof FabButtonProps>,
|
|
26
26
|
{ click: CustomEvent<void>; },
|
|
27
27
|
{ 'default' : {}; }
|
|
28
28
|
> {}
|
|
@@ -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 FabButtonsProps
|
|
6
|
+
interface FabButtonsProps {
|
|
6
7
|
position?: string;
|
|
7
|
-
children?: React.ReactNode;
|
|
8
8
|
color?: string;
|
|
9
9
|
colorTheme?: string;
|
|
10
10
|
textColor?: string;
|
|
@@ -16,8 +16,8 @@ interface FabButtonsProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMa
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
declare class FabButtons extends
|
|
20
|
-
FabButtonsProps
|
|
19
|
+
declare class FabButtons extends SvelteComponent<
|
|
20
|
+
FabButtonsProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof FabButtonsProps>,
|
|
21
21
|
{ },
|
|
22
22
|
{ 'default' : {}; }
|
|
23
23
|
> {}
|
package/components/fab.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 FabProps
|
|
6
|
+
interface FabProps {
|
|
6
7
|
morphTo ?: string;
|
|
7
8
|
href ?: boolean | string;
|
|
8
9
|
target ?: string;
|
|
@@ -11,7 +12,6 @@ interface FabProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap['div'
|
|
|
11
12
|
tooltip ?: string;
|
|
12
13
|
tooltipTrigger ?: string;
|
|
13
14
|
onClick ?: (event?: any) => void;
|
|
14
|
-
children?: React.ReactNode;
|
|
15
15
|
color?: string;
|
|
16
16
|
colorTheme?: string;
|
|
17
17
|
textColor?: string;
|
|
@@ -23,8 +23,8 @@ interface FabProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap['div'
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
declare class Fab extends
|
|
27
|
-
FabProps
|
|
26
|
+
declare class Fab extends SvelteComponent<
|
|
27
|
+
FabProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof FabProps>,
|
|
28
28
|
{ click: CustomEvent<void>; },
|
|
29
29
|
{ 'default' : {}; 'text' : {}; 'link' : {}; 'root' : {}; }
|
|
30
30
|
> {}
|
package/components/gauge.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 GaugeProps
|
|
6
|
+
interface GaugeProps {
|
|
6
7
|
type ?: string;
|
|
7
8
|
value ?: number | string;
|
|
8
9
|
size ?: number | string;
|
|
@@ -18,13 +19,12 @@ interface GaugeProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap['di
|
|
|
18
19
|
labelTextColor ?: string;
|
|
19
20
|
labelFontSize ?: number | string;
|
|
20
21
|
labelFontWeight ?: number | string;
|
|
21
|
-
children?: React.ReactNode;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
declare class Gauge extends
|
|
27
|
-
GaugeProps
|
|
26
|
+
declare class Gauge extends SvelteComponent<
|
|
27
|
+
GaugeProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof GaugeProps>,
|
|
28
28
|
{ },
|
|
29
29
|
{ }
|
|
30
30
|
> {}
|
package/components/icon.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 IconProps
|
|
6
|
+
interface IconProps {
|
|
6
7
|
material ?: string;
|
|
7
8
|
f7 ?: string;
|
|
8
9
|
icon ?: string;
|
|
@@ -11,7 +12,6 @@ interface IconProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap['div
|
|
|
11
12
|
tooltip ?: string;
|
|
12
13
|
tooltipTrigger ?: string;
|
|
13
14
|
size ?: string | number;
|
|
14
|
-
children?: React.ReactNode;
|
|
15
15
|
color?: string;
|
|
16
16
|
colorTheme?: string;
|
|
17
17
|
textColor?: string;
|
|
@@ -23,8 +23,8 @@ interface IconProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap['div
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
declare class Icon extends
|
|
27
|
-
IconProps
|
|
26
|
+
declare class Icon extends SvelteComponent<
|
|
27
|
+
IconProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof IconProps>,
|
|
28
28
|
{ },
|
|
29
29
|
{ 'default' : {}; }
|
|
30
30
|
> {}
|
package/components/input.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 { Calendar, ColorPicker, TextEditor } from 'framework7/types';
|
|
5
6
|
|
|
6
7
|
|
|
7
|
-
interface InputProps
|
|
8
|
+
interface InputProps {
|
|
8
9
|
type ?: string;
|
|
9
10
|
name ?: string;
|
|
10
11
|
value ?: string | number | Array<any> | Date | Object;
|
|
@@ -68,13 +69,12 @@ interface InputProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap['di
|
|
|
68
69
|
onBlur ?: (...args: any[]) => void;
|
|
69
70
|
onChange ?: (...args: any[]) => void;
|
|
70
71
|
onTextEditorChange ?: (...args: any[]) => void;
|
|
71
|
-
children?: React.ReactNode;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
|
|
75
75
|
|
|
76
|
-
declare class Input extends
|
|
77
|
-
InputProps
|
|
76
|
+
declare class Input extends SvelteComponent<
|
|
77
|
+
InputProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof InputProps>,
|
|
78
78
|
{ textareaResize: CustomEvent<void>; inputNotEmpty: CustomEvent<void>; inputEmpty: CustomEvent<void>; inputClear: CustomEvent<void>; input: CustomEvent<void>; focus: CustomEvent<void>; blur: CustomEvent<void>; change: CustomEvent<void>; textEditorChange: CustomEvent<void>; calendarChange: CustomEvent<void>; colorpickerChange: CustomEvent<void>; },
|
|
79
79
|
{ 'default' : {}; 'error-message' : {}; 'info' : {}; }
|
|
80
80
|
> {}
|
package/components/link.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 { SmartSelect } from 'framework7/types';
|
|
5
6
|
|
|
6
7
|
|
|
7
|
-
interface LinkProps
|
|
8
|
+
interface LinkProps {
|
|
8
9
|
noLinkClass ?: boolean;
|
|
9
10
|
text ?: string;
|
|
10
11
|
tabLink ?: boolean | string;
|
|
@@ -74,13 +75,12 @@ interface LinkProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap['div
|
|
|
74
75
|
transition?: string;
|
|
75
76
|
openIn?: string;
|
|
76
77
|
onClick ?: (event?: any) => void;
|
|
77
|
-
children?: React.ReactNode;
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
|
|
81
81
|
|
|
82
|
-
declare class Link extends
|
|
83
|
-
LinkProps
|
|
82
|
+
declare class Link extends SvelteComponent<
|
|
83
|
+
LinkProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof LinkProps>,
|
|
84
84
|
{ click: CustomEvent<void>; },
|
|
85
85
|
{ 'default' : {}; }
|
|
86
86
|
> {}
|
|
@@ -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 ListButtonProps
|
|
6
|
+
interface ListButtonProps {
|
|
6
7
|
title ?: string | number;
|
|
7
8
|
text ?: string | number;
|
|
8
9
|
tabLink ?: boolean | string;
|
|
@@ -59,13 +60,12 @@ interface ListButtonProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMa
|
|
|
59
60
|
cardClose?: boolean | string;
|
|
60
61
|
menuClose?: boolean | string;
|
|
61
62
|
onClick ?: (event?: any) => void;
|
|
62
|
-
children?: React.ReactNode;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
|
|
66
66
|
|
|
67
|
-
declare class ListButton extends
|
|
68
|
-
ListButtonProps
|
|
67
|
+
declare class ListButton extends SvelteComponent<
|
|
68
|
+
ListButtonProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof ListButtonProps>,
|
|
69
69
|
{ click: CustomEvent<void>; },
|
|
70
70
|
{ 'default' : {}; }
|
|
71
71
|
> {}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { SvelteComponent } from 'svelte';
|
|
3
|
+
import { HTMLAttributes } from 'svelte/elements';
|
|
3
4
|
|
|
4
5
|
|
|
5
|
-
interface ListGroupProps
|
|
6
|
+
interface ListGroupProps {
|
|
6
7
|
mediaList ?: boolean;
|
|
7
8
|
sortable ?: boolean;
|
|
8
9
|
sortableOpposite ?: boolean;
|
|
9
10
|
sortableTapHold ?: boolean;
|
|
10
11
|
sortableMoveElements ?: boolean;
|
|
11
|
-
children?: React.ReactNode;
|
|
12
12
|
color?: string;
|
|
13
13
|
colorTheme?: string;
|
|
14
14
|
textColor?: string;
|
|
@@ -20,8 +20,8 @@ interface ListGroupProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
declare class ListGroup extends
|
|
24
|
-
ListGroupProps
|
|
23
|
+
declare class ListGroup extends SvelteComponent<
|
|
24
|
+
ListGroupProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof ListGroupProps>,
|
|
25
25
|
{ },
|
|
26
26
|
{ 'default' : {}; }
|
|
27
27
|
> {}
|
|
@@ -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 ListIndexProps
|
|
6
|
+
interface ListIndexProps {
|
|
6
7
|
init ?: boolean;
|
|
7
8
|
listEl ?: string | object;
|
|
8
9
|
indexes ?: string | Array<any>;
|
|
@@ -18,13 +19,12 @@ interface ListIndexProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap
|
|
|
18
19
|
rippleColor?: string;
|
|
19
20
|
dark?: boolean;
|
|
20
21
|
onListIndexSelect ?: (itemContent?: any, itemIndex?: any) => void;
|
|
21
|
-
children?: React.ReactNode;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
declare class ListIndex extends
|
|
27
|
-
ListIndexProps
|
|
26
|
+
declare class ListIndex extends SvelteComponent<
|
|
27
|
+
ListIndexProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof ListIndexProps>,
|
|
28
28
|
{ listIndexSelect: CustomEvent<void>; },
|
|
29
29
|
{ 'default' : {}; }
|
|
30
30
|
> {}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { SvelteComponent } from 'svelte';
|
|
3
|
+
import { HTMLAttributes } from 'svelte/elements';
|
|
3
4
|
|
|
4
5
|
import { Calendar, ColorPicker, TextEditor } from 'framework7/types';
|
|
5
6
|
|
|
6
7
|
|
|
7
|
-
interface ListInputProps
|
|
8
|
+
interface ListInputProps {
|
|
8
9
|
sortable ?: boolean;
|
|
9
10
|
media ?: string;
|
|
10
11
|
dropdown ?: string | boolean;
|
|
@@ -72,13 +73,12 @@ interface ListInputProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap
|
|
|
72
73
|
onBlur ?: (...args: any[]) => void;
|
|
73
74
|
onChange ?: (...args: any[]) => void;
|
|
74
75
|
onTextEditorChange ?: (...args: any[]) => void;
|
|
75
|
-
children?: React.ReactNode;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
|
|
79
79
|
|
|
80
|
-
declare class ListInput extends
|
|
81
|
-
ListInputProps
|
|
80
|
+
declare class ListInput extends SvelteComponent<
|
|
81
|
+
ListInputProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof ListInputProps>,
|
|
82
82
|
{ textareaResize: CustomEvent<void>; inputNotEmpty: CustomEvent<void>; inputEmpty: CustomEvent<void>; inputClear: CustomEvent<void>; input: CustomEvent<void>; focus: CustomEvent<void>; blur: CustomEvent<void>; change: CustomEvent<void>; textEditorChange: CustomEvent<void>; calendarChange: CustomEvent<void>; colorPickerChange: CustomEvent<void>; },
|
|
83
83
|
{ 'root-start' : {}; 'content-start' : {}; 'media' : {}; 'inner-start' : {}; 'label' : {}; 'default' : {}; 'input' : {}; 'error-message' : {}; 'info' : {}; 'inner' : {}; 'inner-end' : {}; 'content' : {}; 'content-end' : {}; 'root' : {}; 'root-end' : {}; }
|
|
84
84
|
> {}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { SvelteComponent } from 'svelte';
|
|
3
|
+
import { HTMLAttributes } from 'svelte/elements';
|
|
3
4
|
|
|
4
5
|
import { SmartSelect } from 'framework7/types';
|
|
5
6
|
|
|
6
7
|
|
|
7
|
-
interface ListItemProps
|
|
8
|
+
interface ListItemProps {
|
|
8
9
|
title ?: string | number;
|
|
9
10
|
text ?: string | number;
|
|
10
11
|
media ?: string;
|
|
@@ -110,13 +111,12 @@ interface ListItemProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap[
|
|
|
110
111
|
onAccordionOpen ?: (...args: any[]) => void;
|
|
111
112
|
onAccordionOpened ?: (...args: any[]) => void;
|
|
112
113
|
onChange ?: (event?: any) => void;
|
|
113
|
-
children?: React.ReactNode;
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
|
|
117
117
|
|
|
118
|
-
declare class ListItem extends
|
|
119
|
-
ListItemProps
|
|
118
|
+
declare class ListItem extends SvelteComponent<
|
|
119
|
+
ListItemProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof ListItemProps>,
|
|
120
120
|
{ click: CustomEvent<void>; swipeoutOverswipeEnter: CustomEvent<void>; swipeoutOverswipeExit: CustomEvent<void>; swipeoutDeleted: CustomEvent<void>; swipeoutDelete: CustomEvent<void>; swipeoutClose: CustomEvent<void>; swipeoutClosed: CustomEvent<void>; swipeoutOpen: CustomEvent<void>; swipeoutOpened: CustomEvent<void>; swipeout: CustomEvent<void>; accordionBeforeClose: CustomEvent<void>; accordionClose: CustomEvent<void>; accordionClosed: CustomEvent<void>; accordionBeforeOpen: CustomEvent<void>; accordionOpen: CustomEvent<void>; accordionOpened: CustomEvent<void>; change: CustomEvent<void>; },
|
|
121
121
|
{ 'default' : {}; 'root-start' : {}; 'content-start' : {}; 'media' : {}; 'inner-start' : {}; 'header' : {}; 'before-title' : {}; 'title' : {}; 'after-title' : {}; 'after-start' : {}; 'after' : {}; 'after-end' : {}; 'subtitle' : {}; 'text' : {}; 'inner' : {}; 'footer' : {}; 'inner-end' : {}; 'content' : {}; 'content-end' : {}; 'root' : {}; 'root-end' : {}; }
|
|
122
122
|
> {}
|
package/components/list.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 { VirtualList } from 'framework7/types';
|
|
5
6
|
|
|
6
7
|
|
|
7
|
-
interface ListProps
|
|
8
|
+
interface ListProps {
|
|
8
9
|
inset ?: boolean;
|
|
9
10
|
insetIos ?: boolean;
|
|
10
11
|
insetMd ?: boolean;
|
|
@@ -70,13 +71,12 @@ interface ListProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap['div
|
|
|
70
71
|
onSortableMove ?: (itemEl?: any) => void;
|
|
71
72
|
onTabShow ?: (el?: HTMLElement) => void;
|
|
72
73
|
onTabHide ?: (el?: HTMLElement) => void;
|
|
73
|
-
children?: React.ReactNode;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
|
|
77
77
|
|
|
78
|
-
declare class List extends
|
|
79
|
-
ListProps
|
|
78
|
+
declare class List extends SvelteComponent<
|
|
79
|
+
ListProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof ListProps>,
|
|
80
80
|
{ submit: CustomEvent<void>; sortableEnable: CustomEvent<void>; sortableDisable: CustomEvent<void>; sortableSort: CustomEvent<void>; sortableMove: CustomEvent<void>; virtualItemBeforeInsert: CustomEvent<void>; virtualBeforeClear: CustomEvent<void>; virtualItemsBeforeInsert: CustomEvent<void>; virtualItemsAfterInsert: CustomEvent<void>; },
|
|
81
81
|
{ 'before-list' : {}; 'list' : {}; 'default' : {}; 'after-list' : {}; }
|
|
82
82
|
> {}
|
|
@@ -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 LoginScreenTitleProps
|
|
6
|
-
children?: React.ReactNode;
|
|
6
|
+
interface LoginScreenTitleProps {
|
|
7
7
|
color?: string;
|
|
8
8
|
colorTheme?: string;
|
|
9
9
|
textColor?: string;
|
|
@@ -15,8 +15,8 @@ interface LoginScreenTitleProps extends svelte.JSX.HTMLAttributes<HTMLElementTag
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
declare class LoginScreenTitle extends
|
|
19
|
-
LoginScreenTitleProps
|
|
18
|
+
declare class LoginScreenTitle extends SvelteComponent<
|
|
19
|
+
LoginScreenTitleProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof LoginScreenTitleProps>,
|
|
20
20
|
{ },
|
|
21
21
|
{ 'default' : {}; }
|
|
22
22
|
> {}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { SvelteComponent } from 'svelte';
|
|
3
|
+
import { HTMLAttributes } from 'svelte/elements';
|
|
3
4
|
|
|
4
5
|
import { LoginScreen } from 'framework7/types';
|
|
5
6
|
|
|
6
7
|
|
|
7
|
-
interface LoginScreenProps
|
|
8
|
+
interface LoginScreenProps {
|
|
8
9
|
opened?: boolean;
|
|
9
10
|
animate?: boolean;
|
|
10
11
|
containerEl ?: string | object;
|
|
@@ -12,7 +13,6 @@ interface LoginScreenProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameM
|
|
|
12
13
|
onLoginScreenOpened ?: (instance: LoginScreen.LoginScreen) => void;
|
|
13
14
|
onLoginScreenClose ?: (instance: LoginScreen.LoginScreen) => void;
|
|
14
15
|
onLoginScreenClosed ?: (instance: LoginScreen.LoginScreen) => void;
|
|
15
|
-
children?: React.ReactNode;
|
|
16
16
|
color?: string;
|
|
17
17
|
colorTheme?: string;
|
|
18
18
|
textColor?: string;
|
|
@@ -24,8 +24,8 @@ interface LoginScreenProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameM
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
declare class LoginScreen extends
|
|
28
|
-
LoginScreenProps
|
|
27
|
+
declare class LoginScreen extends SvelteComponent<
|
|
28
|
+
LoginScreenProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof LoginScreenProps>,
|
|
29
29
|
{ },
|
|
30
30
|
{ 'default' : {}; }
|
|
31
31
|
> {}
|
package/components/message.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 MessageProps
|
|
6
|
+
interface MessageProps {
|
|
6
7
|
text ?: string;
|
|
7
8
|
name ?: string;
|
|
8
9
|
avatar ?: string;
|
|
@@ -34,13 +35,12 @@ interface MessageProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap['
|
|
|
34
35
|
onClickHeader ?: (event?: any) => void;
|
|
35
36
|
onClickFooter ?: (event?: any) => void;
|
|
36
37
|
onClickBubble ?: (event?: any) => void;
|
|
37
|
-
children?: React.ReactNode;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
declare class Message extends
|
|
43
|
-
MessageProps
|
|
42
|
+
declare class Message extends SvelteComponent<
|
|
43
|
+
MessageProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof MessageProps>,
|
|
44
44
|
{ click: CustomEvent<void>; clickName: CustomEvent<void>; clickText: CustomEvent<void>; clickAvatar: CustomEvent<void>; clickHeader: CustomEvent<void>; clickFooter: CustomEvent<void>; clickBubble: CustomEvent<void>; },
|
|
45
45
|
{ 'start' : {}; 'avatar' : {}; 'content-start' : {}; 'name' : {}; 'header' : {}; 'bubble-start' : {}; 'image' : {}; 'text-header' : {}; 'text' : {}; 'text-footer' : {}; 'bubble-end' : {}; 'default' : {}; 'footer' : {}; 'content-end' : {}; 'end' : {}; }
|
|
46
46
|
> {}
|
|
@@ -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 MessagebarAttachmentProps
|
|
6
|
+
interface MessagebarAttachmentProps {
|
|
6
7
|
image ?: string;
|
|
7
8
|
deletable ?: boolean;
|
|
8
9
|
color?: string;
|
|
@@ -14,13 +15,12 @@ interface MessagebarAttachmentProps extends svelte.JSX.HTMLAttributes<HTMLElemen
|
|
|
14
15
|
dark?: boolean;
|
|
15
16
|
onAttachmentClick ?: (event?: any) => void;
|
|
16
17
|
onAttachmentDelete ?: (event?: any) => void;
|
|
17
|
-
children?: React.ReactNode;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
declare class MessagebarAttachment extends
|
|
23
|
-
MessagebarAttachmentProps
|
|
22
|
+
declare class MessagebarAttachment extends SvelteComponent<
|
|
23
|
+
MessagebarAttachmentProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof MessagebarAttachmentProps>,
|
|
24
24
|
{ attachmentClick: CustomEvent<void>; attachmentDelete: CustomEvent<void>; },
|
|
25
25
|
{ 'default' : {}; }
|
|
26
26
|
> {}
|
|
@@ -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 MessagebarAttachmentsProps
|
|
6
|
-
children?: React.ReactNode;
|
|
6
|
+
interface MessagebarAttachmentsProps {
|
|
7
7
|
color?: string;
|
|
8
8
|
colorTheme?: string;
|
|
9
9
|
textColor?: string;
|
|
@@ -15,8 +15,8 @@ interface MessagebarAttachmentsProps extends svelte.JSX.HTMLAttributes<HTMLEleme
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
declare class MessagebarAttachments extends
|
|
19
|
-
MessagebarAttachmentsProps
|
|
18
|
+
declare class MessagebarAttachments extends SvelteComponent<
|
|
19
|
+
MessagebarAttachmentsProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof MessagebarAttachmentsProps>,
|
|
20
20
|
{ },
|
|
21
21
|
{ 'default' : {}; }
|
|
22
22
|
> {}
|
|
@@ -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 MessagebarSheetImageProps
|
|
6
|
+
interface MessagebarSheetImageProps {
|
|
6
7
|
image ?: string;
|
|
7
8
|
checked ?: boolean;
|
|
8
9
|
color?: string;
|
|
@@ -15,13 +16,12 @@ interface MessagebarSheetImageProps extends svelte.JSX.HTMLAttributes<HTMLElemen
|
|
|
15
16
|
onChecked ?: (event?: any) => void;
|
|
16
17
|
onUnchecked ?: (event?: any) => void;
|
|
17
18
|
onChange ?: (event?: any) => void;
|
|
18
|
-
children?: React.ReactNode;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
declare class MessagebarSheetImage extends
|
|
24
|
-
MessagebarSheetImageProps
|
|
23
|
+
declare class MessagebarSheetImage extends SvelteComponent<
|
|
24
|
+
MessagebarSheetImageProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof MessagebarSheetImageProps>,
|
|
25
25
|
{ checked: CustomEvent<void>; unchecked: CustomEvent<void>; change: CustomEvent<void>; },
|
|
26
26
|
{ 'default' : {}; }
|
|
27
27
|
> {}
|
|
@@ -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 MessagebarSheetItemProps
|
|
6
|
+
interface MessagebarSheetItemProps {
|
|
6
7
|
color?: string;
|
|
7
8
|
colorTheme?: string;
|
|
8
9
|
textColor?: string;
|
|
@@ -10,13 +11,12 @@ interface MessagebarSheetItemProps extends svelte.JSX.HTMLAttributes<HTMLElement
|
|
|
10
11
|
borderColor?: string;
|
|
11
12
|
rippleColor?: string;
|
|
12
13
|
dark?: boolean;
|
|
13
|
-
children?: React.ReactNode;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
declare class MessagebarSheetItem extends
|
|
19
|
-
MessagebarSheetItemProps
|
|
18
|
+
declare class MessagebarSheetItem extends SvelteComponent<
|
|
19
|
+
MessagebarSheetItemProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof MessagebarSheetItemProps>,
|
|
20
20
|
{ },
|
|
21
21
|
{ 'default' : {}; }
|
|
22
22
|
> {}
|
|
@@ -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 MessagebarSheetProps
|
|
6
|
-
children?: React.ReactNode;
|
|
6
|
+
interface MessagebarSheetProps {
|
|
7
7
|
color?: string;
|
|
8
8
|
colorTheme?: string;
|
|
9
9
|
textColor?: string;
|
|
@@ -15,8 +15,8 @@ interface MessagebarSheetProps extends svelte.JSX.HTMLAttributes<HTMLElementTagN
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
declare class MessagebarSheet extends
|
|
19
|
-
MessagebarSheetProps
|
|
18
|
+
declare class MessagebarSheet extends SvelteComponent<
|
|
19
|
+
MessagebarSheetProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof MessagebarSheetProps>,
|
|
20
20
|
{ },
|
|
21
21
|
{ 'default' : {}; }
|
|
22
22
|
> {}
|