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
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
interface SwipeoutButtonProps {
|
|
5
|
+
export interface SwipeoutButtonProps {
|
|
6
6
|
slot?: string;
|
|
7
7
|
id?: string | number;
|
|
8
8
|
className?: string;
|
|
@@ -20,9 +20,10 @@ interface SwipeoutButtonProps {
|
|
|
20
20
|
bgColor?: string;
|
|
21
21
|
borderColor?: string;
|
|
22
22
|
rippleColor?: string;
|
|
23
|
-
|
|
23
|
+
dark?: boolean;
|
|
24
24
|
onClick ?: (event?: any) => void;
|
|
25
25
|
ref?: React.MutableRefObject<{el: HTMLElement | null}>;
|
|
26
|
+
children?: React.ReactNode;
|
|
26
27
|
}
|
|
27
28
|
declare const SwipeoutButton: React.FunctionComponent<SwipeoutButtonProps>;
|
|
28
29
|
|
package/components/tab.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
interface TabProps {
|
|
5
|
+
export interface TabProps {
|
|
6
6
|
slot?: string;
|
|
7
7
|
id?: string | number;
|
|
8
8
|
className?: string;
|
|
@@ -13,11 +13,12 @@ interface TabProps {
|
|
|
13
13
|
bgColor?: string;
|
|
14
14
|
borderColor?: string;
|
|
15
15
|
rippleColor?: string;
|
|
16
|
-
|
|
16
|
+
dark?: boolean;
|
|
17
17
|
tabActive ?: boolean;
|
|
18
18
|
onTabShow ?: (el?: HTMLElement) => void;
|
|
19
19
|
onTabHide ?: (el?: HTMLElement) => void;
|
|
20
20
|
ref?: React.MutableRefObject<{el: HTMLElement | null}>;
|
|
21
|
+
children?: React.ReactNode;
|
|
21
22
|
}
|
|
22
23
|
declare const Tab: React.FunctionComponent<TabProps>;
|
|
23
24
|
|
package/components/tabs.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import * as React from 'react';
|
|
|
4
4
|
import { SwiperOptions } from 'swiper';
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
interface TabsProps {
|
|
7
|
+
export interface TabsProps {
|
|
8
8
|
slot?: string;
|
|
9
9
|
id?: string | number;
|
|
10
10
|
className?: string;
|
|
@@ -19,8 +19,9 @@ interface TabsProps {
|
|
|
19
19
|
bgColor?: string;
|
|
20
20
|
borderColor?: string;
|
|
21
21
|
rippleColor?: string;
|
|
22
|
-
|
|
22
|
+
dark?: boolean;
|
|
23
23
|
ref?: React.MutableRefObject<{el: HTMLElement | null}>;
|
|
24
|
+
children?: React.ReactNode;
|
|
24
25
|
}
|
|
25
26
|
declare const Tabs: React.FunctionComponent<TabsProps>;
|
|
26
27
|
|
|
@@ -4,7 +4,7 @@ import * as React from 'react';
|
|
|
4
4
|
import { TextEditor } from 'framework7/types';
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
interface TextEditorProps {
|
|
7
|
+
export interface TextEditorProps {
|
|
8
8
|
slot?: string;
|
|
9
9
|
id?: string | number;
|
|
10
10
|
className?: string;
|
|
@@ -15,7 +15,7 @@ interface TextEditorProps {
|
|
|
15
15
|
bgColor?: string;
|
|
16
16
|
borderColor?: string;
|
|
17
17
|
rippleColor?: string;
|
|
18
|
-
|
|
18
|
+
dark?: boolean;
|
|
19
19
|
mode ?: string;
|
|
20
20
|
value ?: string;
|
|
21
21
|
buttons ?: Array<any>;
|
|
@@ -38,6 +38,7 @@ interface TextEditorProps {
|
|
|
38
38
|
onTextEditorInsertLink?: (...args: any[]) => void;
|
|
39
39
|
onTextEditorInsertImage?: (...args: any[]) => void;
|
|
40
40
|
ref?: React.MutableRefObject<{el: HTMLElement | null; f7TextEditor: () => TextEditor.TextEditor;}>;
|
|
41
|
+
children?: React.ReactNode;
|
|
41
42
|
}
|
|
42
43
|
declare const TextEditor: React.FunctionComponent<TextEditorProps>;
|
|
43
44
|
|
package/components/toggle.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import * as React from 'react';
|
|
|
4
4
|
import { Toggle } from 'framework7/types';
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
interface ToggleProps {
|
|
7
|
+
export interface ToggleProps {
|
|
8
8
|
slot?: string;
|
|
9
9
|
id?: string | number;
|
|
10
10
|
className?: string;
|
|
@@ -24,10 +24,11 @@ interface ToggleProps {
|
|
|
24
24
|
bgColor?: string;
|
|
25
25
|
borderColor?: string;
|
|
26
26
|
rippleColor?: string;
|
|
27
|
-
|
|
27
|
+
dark?: boolean;
|
|
28
28
|
onToggleChange ?: (...args: any[]) => void;
|
|
29
29
|
onChange ?: (event?: any) => void;
|
|
30
30
|
ref?: React.MutableRefObject<{el: HTMLElement | null; f7Toggle: () => Toggle.Toggle;}>;
|
|
31
|
+
children?: React.ReactNode;
|
|
31
32
|
}
|
|
32
33
|
declare const Toggle: React.FunctionComponent<ToggleProps>;
|
|
33
34
|
|
package/components/toolbar.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
interface ToolbarProps {
|
|
5
|
+
export interface ToolbarProps {
|
|
6
6
|
slot?: string;
|
|
7
7
|
id?: string | number;
|
|
8
8
|
className?: string;
|
|
@@ -30,10 +30,11 @@ interface ToolbarProps {
|
|
|
30
30
|
bgColor?: string;
|
|
31
31
|
borderColor?: string;
|
|
32
32
|
rippleColor?: string;
|
|
33
|
-
|
|
33
|
+
dark?: boolean;
|
|
34
34
|
onToolbarHide ?: (...args: any[]) => void;
|
|
35
35
|
onToolbarShow ?: (...args: any[]) => void;
|
|
36
36
|
ref?: React.MutableRefObject<{el: HTMLElement | null; hide: () => void; show: () => void;}>;
|
|
37
|
+
children?: React.ReactNode;
|
|
37
38
|
}
|
|
38
39
|
declare const Toolbar: React.FunctionComponent<ToolbarProps>;
|
|
39
40
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
interface TreeviewItemProps {
|
|
5
|
+
export interface TreeviewItemProps {
|
|
6
6
|
slot?: string;
|
|
7
7
|
id?: string | number;
|
|
8
8
|
className?: string;
|
|
@@ -21,7 +21,7 @@ interface TreeviewItemProps {
|
|
|
21
21
|
bgColor?: string;
|
|
22
22
|
borderColor?: string;
|
|
23
23
|
rippleColor?: string;
|
|
24
|
-
|
|
24
|
+
dark?: boolean;
|
|
25
25
|
searchbarEnable?: boolean | string;
|
|
26
26
|
searchbarDisable?: boolean | string;
|
|
27
27
|
searchbarClear?: boolean | string;
|
|
@@ -74,6 +74,7 @@ interface TreeviewItemProps {
|
|
|
74
74
|
onTreeviewClose ?: (el?: HTMLElement) => void;
|
|
75
75
|
onTreeviewLoadChildren ?: (el?: HTMLElement, done?: any) => void;
|
|
76
76
|
ref?: React.MutableRefObject<{el: HTMLElement | null}>;
|
|
77
|
+
children?: React.ReactNode;
|
|
77
78
|
}
|
|
78
79
|
declare const TreeviewItem: React.FunctionComponent<TreeviewItemProps>;
|
|
79
80
|
|
package/components/treeview.d.ts
CHANGED
|
@@ -2,19 +2,20 @@
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
interface TreeviewProps {
|
|
5
|
+
export interface TreeviewProps {
|
|
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 Treeview: React.FunctionComponent<TreeviewProps>;
|
|
20
21
|
|
package/components/view.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import * as React from 'react';
|
|
|
4
4
|
import { View, Router } from 'framework7/types';
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
interface ViewProps {
|
|
7
|
+
export interface ViewProps {
|
|
8
8
|
slot?: string;
|
|
9
9
|
id?: string | number;
|
|
10
10
|
className?: string;
|
|
@@ -74,7 +74,7 @@ interface ViewProps {
|
|
|
74
74
|
bgColor?: string;
|
|
75
75
|
borderColor?: string;
|
|
76
76
|
rippleColor?: string;
|
|
77
|
-
|
|
77
|
+
dark?: boolean;
|
|
78
78
|
onViewInit ?: (view?: View.View) => void;
|
|
79
79
|
onViewResize ?: (width?: number) => void;
|
|
80
80
|
onSwipeBackMove ?: (swipeBackData?: Router.SwipeBackData) => void;
|
|
@@ -85,6 +85,7 @@ interface ViewProps {
|
|
|
85
85
|
onTabShow ?: (el?: HTMLElement) => void;
|
|
86
86
|
onTabHide ?: (el?: HTMLElement) => void;
|
|
87
87
|
ref?: React.MutableRefObject<{el: HTMLElement | null; f7View: () => View.View}>;
|
|
88
|
+
children?: React.ReactNode;
|
|
88
89
|
}
|
|
89
90
|
declare const View: React.FunctionComponent<ViewProps>;
|
|
90
91
|
|
package/components/views.d.ts
CHANGED
|
@@ -2,20 +2,21 @@
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
interface ViewsProps {
|
|
5
|
+
export interface ViewsProps {
|
|
6
6
|
slot?: string;
|
|
7
7
|
id?: string | number;
|
|
8
8
|
className?: string;
|
|
9
9
|
style?: React.CSSProperties;
|
|
10
10
|
tabs?: 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 Views: React.FunctionComponent<ViewsProps>;
|
|
21
22
|
|
package/framework7-react.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Framework7 React 7.0.
|
|
2
|
+
* Framework7 React 7.0.5
|
|
3
3
|
* Build full featured iOS & Android apps using Framework7 & React
|
|
4
4
|
* https://framework7.io/react/
|
|
5
5
|
*
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* Released under the MIT License
|
|
9
9
|
*
|
|
10
|
-
* Released on:
|
|
10
|
+
* Released on: May 31, 2022
|
|
11
11
|
*/
|
|
12
12
|
import Framework7React from './shared/plugin.js';
|
|
13
13
|
import { f7, f7ready, theme } from './shared/f7.js';
|
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "framework7-react",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.5",
|
|
4
4
|
"description": "Build full featured iOS & Android apps using Framework7 & React",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
7
7
|
".": "./framework7-react.js",
|
|
8
|
-
"./components/*": "./components/*"
|
|
8
|
+
"./components/*": "./components/*",
|
|
9
|
+
"./shared/*": "./shared/*"
|
|
9
10
|
},
|
|
10
11
|
"typings": "framework7-react.d.ts",
|
|
11
12
|
"sideEffects": false,
|