framework7-react 7.0.2 → 7.0.5
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 +3 -2
- package/components/accordion-item.d.ts +3 -2
- package/components/accordion-toggle.d.ts +3 -2
- package/components/accordion.d.ts +3 -2
- package/components/actions-button.d.ts +3 -2
- package/components/actions-group.d.ts +3 -2
- package/components/actions-label.d.ts +3 -2
- package/components/actions.d.ts +3 -2
- package/components/app.d.ts +3 -2
- package/components/appbar.d.ts +3 -2
- package/components/area-chart.d.ts +2 -1
- package/components/badge.d.ts +3 -2
- package/components/block-footer.d.ts +3 -2
- package/components/block-header.d.ts +3 -2
- package/components/block-title.d.ts +3 -2
- package/components/block.d.ts +3 -2
- package/components/breadcrumbs-collapsed.d.ts +2 -1
- package/components/breadcrumbs-item.d.ts +2 -1
- package/components/breadcrumbs-separator.d.ts +2 -1
- package/components/breadcrumbs.d.ts +2 -1
- package/components/button.d.ts +3 -2
- package/components/card-content.d.ts +3 -2
- package/components/card-footer.d.ts +3 -2
- package/components/card-header.d.ts +3 -2
- package/components/card.d.ts +3 -2
- package/components/checkbox.d.ts +3 -2
- package/components/chip.d.ts +3 -2
- package/components/col.d.ts +3 -2
- package/components/fab-backdrop.d.ts +2 -1
- package/components/fab-button.d.ts +3 -2
- package/components/fab-buttons.d.ts +3 -2
- package/components/fab.d.ts +3 -2
- package/components/gauge.d.ts +2 -1
- package/components/icon.d.ts +3 -2
- package/components/input.d.ts +3 -2
- package/components/input.js +1 -1
- package/components/link.d.ts +3 -2
- package/components/list-button.d.ts +3 -2
- package/components/list-group.d.ts +3 -2
- package/components/list-index.d.ts +3 -2
- package/components/list-input.d.ts +3 -2
- package/components/list-item-cell.d.ts +3 -2
- package/components/list-item-content.d.ts +1 -1
- package/components/list-item-row.d.ts +3 -2
- package/components/list-item.d.ts +3 -2
- package/components/list.d.ts +3 -2
- package/components/login-screen-title.d.ts +3 -2
- package/components/login-screen.d.ts +3 -2
- package/components/menu-dropdown-item.d.ts +3 -2
- package/components/menu-dropdown.d.ts +3 -2
- package/components/menu-item.d.ts +3 -2
- package/components/menu.d.ts +3 -2
- package/components/message.d.ts +3 -2
- package/components/messagebar-attachment.d.ts +3 -2
- package/components/messagebar-attachments.d.ts +3 -2
- package/components/messagebar-sheet-image.d.ts +3 -2
- package/components/messagebar-sheet-item.d.ts +3 -2
- package/components/messagebar-sheet.d.ts +3 -2
- package/components/messagebar.d.ts +3 -2
- package/components/messages-title.d.ts +3 -2
- package/components/messages.d.ts +3 -2
- package/components/nav-left.d.ts +3 -2
- package/components/nav-right.d.ts +3 -2
- package/components/nav-title-large.d.ts +3 -2
- package/components/nav-title.d.ts +3 -2
- package/components/navbar.d.ts +3 -2
- package/components/page-content.d.ts +3 -2
- package/components/page.d.ts +3 -2
- package/components/panel.d.ts +3 -2
- package/components/photo-browser.d.ts +2 -1
- package/components/pie-chart.d.ts +2 -1
- package/components/popover.d.ts +4 -2
- package/components/popover.js +3 -1
- package/components/popup.d.ts +3 -2
- package/components/preloader.d.ts +3 -2
- package/components/progressbar.d.ts +3 -2
- package/components/radio.d.ts +3 -2
- package/components/range.d.ts +3 -2
- package/components/routable-modals.d.ts +1 -1
- package/components/row.d.ts +3 -2
- package/components/searchbar.d.ts +3 -2
- package/components/segmented.d.ts +3 -2
- package/components/sheet.d.ts +3 -2
- package/components/stepper.d.ts +3 -2
- package/components/subnavbar.d.ts +3 -2
- package/components/swipeout-actions.d.ts +3 -2
- package/components/swipeout-button.d.ts +3 -2
- package/components/tab.d.ts +3 -2
- package/components/tabs.d.ts +3 -2
- package/components/text-editor.d.ts +3 -2
- package/components/toggle.d.ts +3 -2
- package/components/toolbar.d.ts +3 -2
- package/components/treeview-item.d.ts +3 -2
- package/components/treeview.d.ts +3 -2
- package/components/view.d.ts +3 -2
- package/components/views.d.ts +3 -2
- package/framework7-react.js +2 -2
- package/package.json +3 -2
|
@@ -4,7 +4,7 @@ import * as React from 'react';
|
|
|
4
4
|
import { Messagebar } from 'framework7/types';
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
interface MessagebarProps {
|
|
7
|
+
export interface MessagebarProps {
|
|
8
8
|
slot?: string;
|
|
9
9
|
id?: string | number;
|
|
10
10
|
className?: string;
|
|
@@ -31,7 +31,7 @@ interface MessagebarProps {
|
|
|
31
31
|
bgColor?: string;
|
|
32
32
|
borderColor?: string;
|
|
33
33
|
rippleColor?: string;
|
|
34
|
-
|
|
34
|
+
dark?: boolean;
|
|
35
35
|
onChange ?: (event?: any) => void;
|
|
36
36
|
onInput ?: (event?: any) => void;
|
|
37
37
|
onFocus ?: (event?: any) => void;
|
|
@@ -43,6 +43,7 @@ interface MessagebarProps {
|
|
|
43
43
|
onMessagebarAttachmentClick ?: (instance?: Messagebar.Messagebar, attachmentEl?: HTMLElement, attachmentElIndex?: number) => void;
|
|
44
44
|
onMessagebarResizePage ?: (instance?: Messagebar.Messagebar) => void;
|
|
45
45
|
ref?: React.MutableRefObject<{el: HTMLElement | null; f7Messagebar: () => Messagebar.Messagebar}>;
|
|
46
|
+
children?: React.ReactNode;
|
|
46
47
|
}
|
|
47
48
|
declare const Messagebar: React.FunctionComponent<MessagebarProps>;
|
|
48
49
|
|
|
@@ -2,19 +2,20 @@
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
interface MessagesTitleProps {
|
|
5
|
+
export interface MessagesTitleProps {
|
|
6
6
|
slot?: string;
|
|
7
7
|
id?: string | number;
|
|
8
8
|
className?: string;
|
|
9
9
|
style?: React.CSSProperties;
|
|
10
10
|
ref?: React.MutableRefObject<{el: HTMLElement | null}>;
|
|
11
|
+
children?: React.ReactNode;
|
|
11
12
|
color?: string;
|
|
12
13
|
colorTheme?: string;
|
|
13
14
|
textColor?: string;
|
|
14
15
|
bgColor?: string;
|
|
15
16
|
borderColor?: string;
|
|
16
17
|
rippleColor?: string;
|
|
17
|
-
|
|
18
|
+
dark?: boolean;
|
|
18
19
|
}
|
|
19
20
|
declare const MessagesTitle: React.FunctionComponent<MessagesTitleProps>;
|
|
20
21
|
|
package/components/messages.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import * as React from 'react';
|
|
|
4
4
|
import { Messages } from 'framework7/types';
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
interface MessagesProps {
|
|
7
|
+
export interface MessagesProps {
|
|
8
8
|
slot?: string;
|
|
9
9
|
id?: string | number;
|
|
10
10
|
className?: string;
|
|
@@ -26,13 +26,14 @@ interface MessagesProps {
|
|
|
26
26
|
renderMessage ?: Function;
|
|
27
27
|
init ?: boolean;
|
|
28
28
|
ref?: React.MutableRefObject<{el: HTMLElement | null; f7Messages: () => Messages.Messages}>;
|
|
29
|
+
children?: React.ReactNode;
|
|
29
30
|
color?: string;
|
|
30
31
|
colorTheme?: string;
|
|
31
32
|
textColor?: string;
|
|
32
33
|
bgColor?: string;
|
|
33
34
|
borderColor?: string;
|
|
34
35
|
rippleColor?: string;
|
|
35
|
-
|
|
36
|
+
dark?: boolean;
|
|
36
37
|
}
|
|
37
38
|
declare const Messages: React.FunctionComponent<MessagesProps>;
|
|
38
39
|
|
package/components/nav-left.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
interface NavLeftProps {
|
|
5
|
+
export interface NavLeftProps {
|
|
6
6
|
slot?: string;
|
|
7
7
|
id?: string | number;
|
|
8
8
|
className?: string;
|
|
@@ -18,10 +18,11 @@ interface NavLeftProps {
|
|
|
18
18
|
bgColor?: string;
|
|
19
19
|
borderColor?: string;
|
|
20
20
|
rippleColor?: string;
|
|
21
|
-
|
|
21
|
+
dark?: boolean;
|
|
22
22
|
onBackClick ?: (event?: any) => void;
|
|
23
23
|
onClickBack ?: (event?: any) => void;
|
|
24
24
|
ref?: React.MutableRefObject<{el: HTMLElement | null}>;
|
|
25
|
+
children?: React.ReactNode;
|
|
25
26
|
}
|
|
26
27
|
declare const NavLeft: React.FunctionComponent<NavLeftProps>;
|
|
27
28
|
|
|
@@ -2,20 +2,21 @@
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
interface NavRightProps {
|
|
5
|
+
export interface NavRightProps {
|
|
6
6
|
slot?: string;
|
|
7
7
|
id?: string | number;
|
|
8
8
|
className?: string;
|
|
9
9
|
style?: React.CSSProperties;
|
|
10
10
|
sliding ?: boolean;
|
|
11
11
|
ref?: React.MutableRefObject<{el: HTMLElement | null}>;
|
|
12
|
+
children?: React.ReactNode;
|
|
12
13
|
color?: string;
|
|
13
14
|
colorTheme?: string;
|
|
14
15
|
textColor?: string;
|
|
15
16
|
bgColor?: string;
|
|
16
17
|
borderColor?: string;
|
|
17
18
|
rippleColor?: string;
|
|
18
|
-
|
|
19
|
+
dark?: boolean;
|
|
19
20
|
}
|
|
20
21
|
declare const NavRight: React.FunctionComponent<NavRightProps>;
|
|
21
22
|
|
|
@@ -2,19 +2,20 @@
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
interface NavTitleLargeProps {
|
|
5
|
+
export interface NavTitleLargeProps {
|
|
6
6
|
slot?: string;
|
|
7
7
|
id?: string | number;
|
|
8
8
|
className?: string;
|
|
9
9
|
style?: React.CSSProperties;
|
|
10
10
|
ref?: React.MutableRefObject<{el: HTMLElement | null}>;
|
|
11
|
+
children?: React.ReactNode;
|
|
11
12
|
color?: string;
|
|
12
13
|
colorTheme?: string;
|
|
13
14
|
textColor?: string;
|
|
14
15
|
bgColor?: string;
|
|
15
16
|
borderColor?: string;
|
|
16
17
|
rippleColor?: string;
|
|
17
|
-
|
|
18
|
+
dark?: boolean;
|
|
18
19
|
}
|
|
19
20
|
declare const NavTitleLarge: React.FunctionComponent<NavTitleLargeProps>;
|
|
20
21
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
interface NavTitleProps {
|
|
5
|
+
export interface NavTitleProps {
|
|
6
6
|
slot?: string;
|
|
7
7
|
id?: string | number;
|
|
8
8
|
className?: string;
|
|
@@ -11,13 +11,14 @@ interface NavTitleProps {
|
|
|
11
11
|
subtitle ?: string;
|
|
12
12
|
sliding ?: boolean;
|
|
13
13
|
ref?: React.MutableRefObject<{el: HTMLElement | null}>;
|
|
14
|
+
children?: React.ReactNode;
|
|
14
15
|
color?: string;
|
|
15
16
|
colorTheme?: string;
|
|
16
17
|
textColor?: string;
|
|
17
18
|
bgColor?: string;
|
|
18
19
|
borderColor?: string;
|
|
19
20
|
rippleColor?: string;
|
|
20
|
-
|
|
21
|
+
dark?: boolean;
|
|
21
22
|
}
|
|
22
23
|
declare const NavTitle: React.FunctionComponent<NavTitleProps>;
|
|
23
24
|
|
package/components/navbar.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
interface NavbarProps {
|
|
5
|
+
export interface NavbarProps {
|
|
6
6
|
slot?: string;
|
|
7
7
|
id?: string | number;
|
|
8
8
|
className?: string;
|
|
@@ -29,7 +29,7 @@ interface NavbarProps {
|
|
|
29
29
|
bgColor?: string;
|
|
30
30
|
borderColor?: string;
|
|
31
31
|
rippleColor?: string;
|
|
32
|
-
|
|
32
|
+
dark?: boolean;
|
|
33
33
|
onNavbarHide ?: (...args: any[]) => void;
|
|
34
34
|
onNavbarShow ?: (...args: any[]) => void;
|
|
35
35
|
onNavbarExpand ?: (...args: any[]) => void;
|
|
@@ -39,6 +39,7 @@ interface NavbarProps {
|
|
|
39
39
|
onBackClick ?: (event?: any) => void;
|
|
40
40
|
onClickBack ?: (event?: any) => void;
|
|
41
41
|
ref?: React.MutableRefObject<{el: HTMLElement | null}>;
|
|
42
|
+
children?: React.ReactNode;
|
|
42
43
|
}
|
|
43
44
|
declare const Navbar: React.FunctionComponent<NavbarProps>;
|
|
44
45
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
interface PageContentProps {
|
|
5
|
+
export interface PageContentProps {
|
|
6
6
|
slot?: string;
|
|
7
7
|
id?: string | number;
|
|
8
8
|
className?: string;
|
|
@@ -29,7 +29,7 @@ interface PageContentProps {
|
|
|
29
29
|
bgColor?: string;
|
|
30
30
|
borderColor?: string;
|
|
31
31
|
rippleColor?: string;
|
|
32
|
-
|
|
32
|
+
dark?: boolean;
|
|
33
33
|
onPtrPullStart ?: (...args: any[]) => void;
|
|
34
34
|
onPtrPullMove ?: (...args: any[]) => void;
|
|
35
35
|
onPtrPullEnd ?: (...args: any[]) => void;
|
|
@@ -39,6 +39,7 @@ interface PageContentProps {
|
|
|
39
39
|
onTabShow ?: (el?: HTMLElement) => void;
|
|
40
40
|
onTabHide ?: (el?: HTMLElement) => void;
|
|
41
41
|
ref?: React.MutableRefObject<{el: HTMLElement | null}>;
|
|
42
|
+
children?: React.ReactNode;
|
|
42
43
|
}
|
|
43
44
|
declare const PageContent: React.FunctionComponent<PageContentProps>;
|
|
44
45
|
|
package/components/page.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
interface PageProps {
|
|
5
|
+
export interface PageProps {
|
|
6
6
|
slot?: string;
|
|
7
7
|
id?: string | number;
|
|
8
8
|
className?: string;
|
|
@@ -38,7 +38,7 @@ interface PageProps {
|
|
|
38
38
|
bgColor?: string;
|
|
39
39
|
borderColor?: string;
|
|
40
40
|
rippleColor?: string;
|
|
41
|
-
|
|
41
|
+
dark?: boolean;
|
|
42
42
|
onPtrPullStart ?: (...args: any[]) => void;
|
|
43
43
|
onPtrPullMove ?: (...args: any[]) => void;
|
|
44
44
|
onPtrPullEnd ?: (...args: any[]) => void;
|
|
@@ -57,6 +57,7 @@ interface PageProps {
|
|
|
57
57
|
onPageTabShow ?: (...args: any[]) => void;
|
|
58
58
|
onPageTabHide ?: (...args: any[]) => void;
|
|
59
59
|
ref?: React.MutableRefObject<{el: HTMLElement | null}>;
|
|
60
|
+
children?: React.ReactNode;
|
|
60
61
|
}
|
|
61
62
|
declare const Page: React.FunctionComponent<PageProps>;
|
|
62
63
|
|
package/components/panel.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import * as React from 'react';
|
|
|
4
4
|
import { Panel } from 'framework7/types';
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
interface PanelProps {
|
|
7
|
+
export interface PanelProps {
|
|
8
8
|
slot?: string;
|
|
9
9
|
id?: string | number;
|
|
10
10
|
className?: string;
|
|
@@ -34,7 +34,7 @@ interface PanelProps {
|
|
|
34
34
|
bgColor?: string;
|
|
35
35
|
borderColor?: string;
|
|
36
36
|
rippleColor?: string;
|
|
37
|
-
|
|
37
|
+
dark?: boolean;
|
|
38
38
|
onPanelOpen ?: (event?: any) => void;
|
|
39
39
|
onPanelOpened ?: (event?: any) => void;
|
|
40
40
|
onPanelClose ?: (event?: any) => void;
|
|
@@ -46,6 +46,7 @@ interface PanelProps {
|
|
|
46
46
|
onPanelCollapsedBreakpoint ?: (event?: any) => void;
|
|
47
47
|
onPanelResize ?: (...args: any[]) => void;
|
|
48
48
|
ref?: React.MutableRefObject<{el: HTMLElement | null; f7Panel: () => Panel.Panel}>;
|
|
49
|
+
children?: React.ReactNode;
|
|
49
50
|
}
|
|
50
51
|
declare const Panel: React.FunctionComponent<PanelProps>;
|
|
51
52
|
|
|
@@ -4,7 +4,7 @@ import * as React from 'react';
|
|
|
4
4
|
import { PhotoBrowser } from 'framework7/types';
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
interface PhotoBrowserProps {
|
|
7
|
+
export interface PhotoBrowserProps {
|
|
8
8
|
slot?: string;
|
|
9
9
|
init ?: boolean;
|
|
10
10
|
params ?: Object;
|
|
@@ -42,6 +42,7 @@ interface PhotoBrowserProps {
|
|
|
42
42
|
onPhotoBrowserClosed ?: (...args: any[]) => void;
|
|
43
43
|
onPhotoBrowserSwipeToClose ?: (...args: any[]) => void;
|
|
44
44
|
ref?: React.MutableRefObject<{el: HTMLElement | null; f7PhotoBrowser: () => PhotoBrowser.PhotoBrowser; open: () => void; close: () => void;}>;
|
|
45
|
+
children?: React.ReactNode;
|
|
45
46
|
}
|
|
46
47
|
declare const PhotoBrowser: React.FunctionComponent<PhotoBrowserProps>;
|
|
47
48
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
interface PieChartProps {
|
|
5
|
+
export interface PieChartProps {
|
|
6
6
|
slot?: string;
|
|
7
7
|
id?: string | number;
|
|
8
8
|
className?: string;
|
|
@@ -13,6 +13,7 @@ interface PieChartProps {
|
|
|
13
13
|
formatTooltip?: (data: {index: number; value: number; label: string; color: string; percentage: number}) => void;
|
|
14
14
|
onSelect ?: (index: number | null, item: {value: number; label: string; color: string}) => void;
|
|
15
15
|
ref?: React.MutableRefObject<{el: HTMLElement | null}>;
|
|
16
|
+
children?: React.ReactNode;
|
|
16
17
|
}
|
|
17
18
|
declare const PieChart: React.FunctionComponent<PieChartProps>;
|
|
18
19
|
|
package/components/popover.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import * as React from 'react';
|
|
|
4
4
|
import { Popover } from 'framework7/types';
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
interface PopoverProps {
|
|
7
|
+
export interface PopoverProps {
|
|
8
8
|
slot?: string;
|
|
9
9
|
id?: string | number;
|
|
10
10
|
className?: string;
|
|
@@ -18,18 +18,20 @@ interface PopoverProps {
|
|
|
18
18
|
closeByOutsideClick ?: boolean;
|
|
19
19
|
closeOnEscape ?: boolean;
|
|
20
20
|
containerEl ?: string | object;
|
|
21
|
+
verticalPosition?: string;
|
|
21
22
|
color?: string;
|
|
22
23
|
colorTheme?: string;
|
|
23
24
|
textColor?: string;
|
|
24
25
|
bgColor?: string;
|
|
25
26
|
borderColor?: string;
|
|
26
27
|
rippleColor?: string;
|
|
27
|
-
|
|
28
|
+
dark?: boolean;
|
|
28
29
|
onPopoverOpen ?: (instance?: Popover.Popover) => void;
|
|
29
30
|
onPopoverOpened ?: (instance?: Popover.Popover) => void;
|
|
30
31
|
onPopoverClose ?: (instance?: Popover.Popover) => void;
|
|
31
32
|
onPopoverClosed ?: (instance?: Popover.Popover) => void;
|
|
32
33
|
ref?: React.MutableRefObject<{el: HTMLElement | null; f7Popover: () => Popover.Popover}>;
|
|
34
|
+
children?: React.ReactNode;
|
|
33
35
|
}
|
|
34
36
|
declare const Popover: React.FunctionComponent<PopoverProps>;
|
|
35
37
|
|
package/components/popover.js
CHANGED
|
@@ -24,7 +24,8 @@ const Popover = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
24
24
|
closeByBackdropClick,
|
|
25
25
|
closeByOutsideClick,
|
|
26
26
|
closeOnEscape,
|
|
27
|
-
containerEl
|
|
27
|
+
containerEl,
|
|
28
|
+
verticalPosition
|
|
28
29
|
} = props;
|
|
29
30
|
const extraAttrs = getExtraAttrs(props);
|
|
30
31
|
const elRef = useRef(null);
|
|
@@ -87,6 +88,7 @@ const Popover = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
87
88
|
if ('backdropEl' in props) popoverParams.backdropEl = backdropEl;
|
|
88
89
|
if ('animate' in props) popoverParams.animate = animate;
|
|
89
90
|
if ('containerEl' in props) popoverParams.containerEl = containerEl;
|
|
91
|
+
if ('verticalPosition' in props) popoverParams.verticalPosition = verticalPosition;
|
|
90
92
|
f7ready(() => {
|
|
91
93
|
f7Popover.current = f7.popover.create(popoverParams);
|
|
92
94
|
modalEvents('on');
|
package/components/popup.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import * as React from 'react';
|
|
|
4
4
|
import { Popup } from 'framework7/types';
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
interface PopupProps {
|
|
7
|
+
export interface PopupProps {
|
|
8
8
|
slot?: string;
|
|
9
9
|
id?: string | number;
|
|
10
10
|
className?: string;
|
|
@@ -26,7 +26,7 @@ interface PopupProps {
|
|
|
26
26
|
bgColor?: string;
|
|
27
27
|
borderColor?: string;
|
|
28
28
|
rippleColor?: string;
|
|
29
|
-
|
|
29
|
+
dark?: boolean;
|
|
30
30
|
onPopupSwipeStart ?: (instance?: Popup.Popup) => void;
|
|
31
31
|
onPopupSwipeMove ?: (instance?: Popup.Popup) => void;
|
|
32
32
|
onPopupSwipeEnd ?: (instance?: Popup.Popup) => void;
|
|
@@ -36,6 +36,7 @@ interface PopupProps {
|
|
|
36
36
|
onPopupClose ?: (instance?: Popup.Popup) => void;
|
|
37
37
|
onPopupClosed ?: (instance?: Popup.Popup) => void;
|
|
38
38
|
ref?: React.MutableRefObject<{el: HTMLElement | null; f7Popup: () => Popup.Popup}>;
|
|
39
|
+
children?: React.ReactNode;
|
|
39
40
|
}
|
|
40
41
|
declare const Popup: React.FunctionComponent<PopupProps>;
|
|
41
42
|
|
|
@@ -2,20 +2,21 @@
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
interface PreloaderProps {
|
|
5
|
+
export interface PreloaderProps {
|
|
6
6
|
slot?: string;
|
|
7
7
|
id?: string | number;
|
|
8
8
|
className?: string;
|
|
9
9
|
style?: React.CSSProperties;
|
|
10
10
|
size ?: number | string;
|
|
11
11
|
ref?: React.MutableRefObject<{el: HTMLElement | null}>;
|
|
12
|
+
children?: React.ReactNode;
|
|
12
13
|
color?: string;
|
|
13
14
|
colorTheme?: string;
|
|
14
15
|
textColor?: string;
|
|
15
16
|
bgColor?: string;
|
|
16
17
|
borderColor?: string;
|
|
17
18
|
rippleColor?: string;
|
|
18
|
-
|
|
19
|
+
dark?: boolean;
|
|
19
20
|
}
|
|
20
21
|
declare const Preloader: React.FunctionComponent<PreloaderProps>;
|
|
21
22
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
interface ProgressbarProps {
|
|
5
|
+
export interface ProgressbarProps {
|
|
6
6
|
slot?: string;
|
|
7
7
|
id?: string | number;
|
|
8
8
|
className?: string;
|
|
@@ -10,13 +10,14 @@ interface ProgressbarProps {
|
|
|
10
10
|
progress ?: number;
|
|
11
11
|
infinite ?: boolean;
|
|
12
12
|
ref?: React.MutableRefObject<{el: HTMLElement | null; set: (progress: number, duration: number) => void}>;
|
|
13
|
+
children?: React.ReactNode;
|
|
13
14
|
color?: string;
|
|
14
15
|
colorTheme?: string;
|
|
15
16
|
textColor?: string;
|
|
16
17
|
bgColor?: string;
|
|
17
18
|
borderColor?: string;
|
|
18
19
|
rippleColor?: string;
|
|
19
|
-
|
|
20
|
+
dark?: boolean;
|
|
20
21
|
}
|
|
21
22
|
declare const Progressbar: React.FunctionComponent<ProgressbarProps>;
|
|
22
23
|
|
package/components/radio.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
interface RadioProps {
|
|
5
|
+
export interface RadioProps {
|
|
6
6
|
slot?: string;
|
|
7
7
|
id?: string | number;
|
|
8
8
|
className?: string;
|
|
@@ -19,9 +19,10 @@ interface RadioProps {
|
|
|
19
19
|
bgColor?: string;
|
|
20
20
|
borderColor?: string;
|
|
21
21
|
rippleColor?: string;
|
|
22
|
-
|
|
22
|
+
dark?: boolean;
|
|
23
23
|
onChange ?: (event?: any) => void;
|
|
24
24
|
ref?: React.MutableRefObject<{el: HTMLElement | null}>;
|
|
25
|
+
children?: React.ReactNode;
|
|
25
26
|
}
|
|
26
27
|
declare const Radio: React.FunctionComponent<RadioProps>;
|
|
27
28
|
|
package/components/range.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import * as React from 'react';
|
|
|
4
4
|
import { Range } from 'framework7/types';
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
interface RangeProps {
|
|
7
|
+
export interface RangeProps {
|
|
8
8
|
slot?: string;
|
|
9
9
|
id?: string | number;
|
|
10
10
|
className?: string;
|
|
@@ -35,10 +35,11 @@ interface RangeProps {
|
|
|
35
35
|
bgColor?: string;
|
|
36
36
|
borderColor?: string;
|
|
37
37
|
rippleColor?: string;
|
|
38
|
-
|
|
38
|
+
dark?: boolean;
|
|
39
39
|
onRangeChange ?: (val?: any) => void;
|
|
40
40
|
onRangeChanged ?: (val?: any) => void;
|
|
41
41
|
ref?: React.MutableRefObject<{el: HTMLElement | null; f7Range: () => Range.Range}>;
|
|
42
|
+
children?: React.ReactNode;
|
|
42
43
|
}
|
|
43
44
|
declare const Range: React.FunctionComponent<RangeProps>;
|
|
44
45
|
|
package/components/row.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
interface RowProps {
|
|
5
|
+
export interface RowProps {
|
|
6
6
|
slot?: string;
|
|
7
7
|
id?: string | number;
|
|
8
8
|
className?: string;
|
|
@@ -16,13 +16,14 @@ interface RowProps {
|
|
|
16
16
|
onClick ?: (event?: any) => void;
|
|
17
17
|
onGridResize ?: (...args: any[]) => void;
|
|
18
18
|
ref?: React.MutableRefObject<{el: HTMLElement | null}>;
|
|
19
|
+
children?: React.ReactNode;
|
|
19
20
|
color?: string;
|
|
20
21
|
colorTheme?: string;
|
|
21
22
|
textColor?: string;
|
|
22
23
|
bgColor?: string;
|
|
23
24
|
borderColor?: string;
|
|
24
25
|
rippleColor?: string;
|
|
25
|
-
|
|
26
|
+
dark?: boolean;
|
|
26
27
|
}
|
|
27
28
|
declare const Row: React.FunctionComponent<RowProps>;
|
|
28
29
|
|
|
@@ -4,7 +4,7 @@ import * as React from 'react';
|
|
|
4
4
|
import { Searchbar } from 'framework7/types';
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
interface SearchbarProps {
|
|
7
|
+
export interface SearchbarProps {
|
|
8
8
|
slot?: string;
|
|
9
9
|
id?: string | number;
|
|
10
10
|
className?: string;
|
|
@@ -43,7 +43,7 @@ interface SearchbarProps {
|
|
|
43
43
|
bgColor?: string;
|
|
44
44
|
borderColor?: string;
|
|
45
45
|
rippleColor?: string;
|
|
46
|
-
|
|
46
|
+
dark?: boolean;
|
|
47
47
|
onSearchbarSearch ?: (searchbar?: Searchbar.Searchbar, query?: any, previousQuery?: any) => void;
|
|
48
48
|
onSearchbarClear ?: (searchbar?: Searchbar.Searchbar, previousQuery?: any) => void;
|
|
49
49
|
onSearchbarEnable ?: (searchbar?: Searchbar.Searchbar) => void;
|
|
@@ -56,6 +56,7 @@ interface SearchbarProps {
|
|
|
56
56
|
onClickClear ?: (event?: any) => void;
|
|
57
57
|
onClickDisable ?: (event?: any) => void;
|
|
58
58
|
ref?: React.MutableRefObject<{el: HTMLElement | null; f7Searchbar: () => Searchbar.Searchbar;}>;
|
|
59
|
+
children?: React.ReactNode;
|
|
59
60
|
}
|
|
60
61
|
declare const Searchbar: React.FunctionComponent<SearchbarProps>;
|
|
61
62
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
interface SegmentedProps {
|
|
5
|
+
export interface SegmentedProps {
|
|
6
6
|
slot?: string;
|
|
7
7
|
id?: string | number;
|
|
8
8
|
className?: string;
|
|
@@ -21,13 +21,14 @@ interface SegmentedProps {
|
|
|
21
21
|
strongAurora ?: boolean;
|
|
22
22
|
tag ?: string;
|
|
23
23
|
ref?: React.MutableRefObject<{el: HTMLElement | null}>;
|
|
24
|
+
children?: React.ReactNode;
|
|
24
25
|
color?: string;
|
|
25
26
|
colorTheme?: string;
|
|
26
27
|
textColor?: string;
|
|
27
28
|
bgColor?: string;
|
|
28
29
|
borderColor?: string;
|
|
29
30
|
rippleColor?: string;
|
|
30
|
-
|
|
31
|
+
dark?: boolean;
|
|
31
32
|
}
|
|
32
33
|
declare const Segmented: React.FunctionComponent<SegmentedProps>;
|
|
33
34
|
|
package/components/sheet.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import * as React from 'react';
|
|
|
4
4
|
import { Sheet } from 'framework7/types';
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
interface SheetProps {
|
|
7
|
+
export interface SheetProps {
|
|
8
8
|
slot?: string;
|
|
9
9
|
id?: string | number;
|
|
10
10
|
className?: string;
|
|
@@ -30,7 +30,7 @@ interface SheetProps {
|
|
|
30
30
|
bgColor?: string;
|
|
31
31
|
borderColor?: string;
|
|
32
32
|
rippleColor?: string;
|
|
33
|
-
|
|
33
|
+
dark?: boolean;
|
|
34
34
|
onSheetStepProgress ?: (instance?: Sheet.Sheet, progress?: any) => void;
|
|
35
35
|
onSheetStepOpen ?: (instance?: Sheet.Sheet) => void;
|
|
36
36
|
onSheetStepClose ?: (instance?: Sheet.Sheet) => void;
|
|
@@ -39,6 +39,7 @@ interface SheetProps {
|
|
|
39
39
|
onSheetClose ?: (instance?: Sheet.Sheet) => void;
|
|
40
40
|
onSheetClosed ?: (instance?: Sheet.Sheet) => void;
|
|
41
41
|
ref?: React.MutableRefObject<{el: HTMLElement | null; f7Sheet: () => Sheet.Sheet;}>;
|
|
42
|
+
children?: React.ReactNode;
|
|
42
43
|
}
|
|
43
44
|
declare const Sheet: React.FunctionComponent<SheetProps>;
|
|
44
45
|
|
package/components/stepper.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import * as React from 'react';
|
|
|
4
4
|
import { Stepper } from 'framework7/types';
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
interface StepperProps {
|
|
7
|
+
export interface StepperProps {
|
|
8
8
|
slot?: string;
|
|
9
9
|
id?: string | number;
|
|
10
10
|
className?: string;
|
|
@@ -54,13 +54,14 @@ interface StepperProps {
|
|
|
54
54
|
bgColor?: string;
|
|
55
55
|
borderColor?: string;
|
|
56
56
|
rippleColor?: string;
|
|
57
|
-
|
|
57
|
+
dark?: boolean;
|
|
58
58
|
onStepperChange ?: (newValue?: any) => void;
|
|
59
59
|
onInput ?: (event?: any, stepper?: Stepper.Stepper) => void;
|
|
60
60
|
onChange ?: (event?: any, stepper?: Stepper.Stepper) => void;
|
|
61
61
|
onStepperMinusClick ?: (event?: any, stepper?: Stepper.Stepper) => void;
|
|
62
62
|
onStepperPlusClick ?: (event?: any, stepper?: Stepper.Stepper) => void;
|
|
63
63
|
ref?: React.MutableRefObject<{el: HTMLElement | null; f7Stepper: () => Stepper.Stepper;}>;
|
|
64
|
+
children?: React.ReactNode;
|
|
64
65
|
}
|
|
65
66
|
declare const Stepper: React.FunctionComponent<StepperProps>;
|
|
66
67
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
interface SubnavbarProps {
|
|
5
|
+
export interface SubnavbarProps {
|
|
6
6
|
slot?: string;
|
|
7
7
|
id?: string | number;
|
|
8
8
|
className?: string;
|
|
@@ -11,13 +11,14 @@ interface SubnavbarProps {
|
|
|
11
11
|
title ?: string;
|
|
12
12
|
inner ?: boolean;
|
|
13
13
|
ref?: React.MutableRefObject<{el: HTMLElement | null}>;
|
|
14
|
+
children?: React.ReactNode;
|
|
14
15
|
color?: string;
|
|
15
16
|
colorTheme?: string;
|
|
16
17
|
textColor?: string;
|
|
17
18
|
bgColor?: string;
|
|
18
19
|
borderColor?: string;
|
|
19
20
|
rippleColor?: string;
|
|
20
|
-
|
|
21
|
+
dark?: boolean;
|
|
21
22
|
}
|
|
22
23
|
declare const Subnavbar: React.FunctionComponent<SubnavbarProps>;
|
|
23
24
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
interface SwipeoutActionsProps {
|
|
5
|
+
export interface SwipeoutActionsProps {
|
|
6
6
|
slot?: string;
|
|
7
7
|
id?: string | number;
|
|
8
8
|
className?: string;
|
|
@@ -11,13 +11,14 @@ interface SwipeoutActionsProps {
|
|
|
11
11
|
right ?: boolean;
|
|
12
12
|
side ?: string;
|
|
13
13
|
ref?: React.MutableRefObject<{el: HTMLElement | null}>;
|
|
14
|
+
children?: React.ReactNode;
|
|
14
15
|
color?: string;
|
|
15
16
|
colorTheme?: string;
|
|
16
17
|
textColor?: string;
|
|
17
18
|
bgColor?: string;
|
|
18
19
|
borderColor?: string;
|
|
19
20
|
rippleColor?: string;
|
|
20
|
-
|
|
21
|
+
dark?: boolean;
|
|
21
22
|
}
|
|
22
23
|
declare const SwipeoutActions: React.FunctionComponent<SwipeoutActionsProps>;
|
|
23
24
|
|