framework7-react 7.0.4 → 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.
Files changed (95) hide show
  1. package/components/accordion-content.d.ts +1 -0
  2. package/components/accordion-item.d.ts +1 -0
  3. package/components/accordion-toggle.d.ts +1 -0
  4. package/components/accordion.d.ts +1 -0
  5. package/components/actions-button.d.ts +1 -0
  6. package/components/actions-group.d.ts +1 -0
  7. package/components/actions-label.d.ts +1 -0
  8. package/components/actions.d.ts +1 -0
  9. package/components/app.d.ts +1 -0
  10. package/components/appbar.d.ts +1 -0
  11. package/components/area-chart.d.ts +1 -0
  12. package/components/badge.d.ts +1 -0
  13. package/components/block-footer.d.ts +1 -0
  14. package/components/block-header.d.ts +1 -0
  15. package/components/block-title.d.ts +1 -0
  16. package/components/block.d.ts +1 -0
  17. package/components/breadcrumbs-collapsed.d.ts +1 -0
  18. package/components/breadcrumbs-item.d.ts +1 -0
  19. package/components/breadcrumbs-separator.d.ts +1 -0
  20. package/components/breadcrumbs.d.ts +1 -0
  21. package/components/button.d.ts +1 -0
  22. package/components/card-content.d.ts +1 -0
  23. package/components/card-footer.d.ts +1 -0
  24. package/components/card-header.d.ts +1 -0
  25. package/components/card.d.ts +1 -0
  26. package/components/checkbox.d.ts +1 -0
  27. package/components/chip.d.ts +1 -0
  28. package/components/col.d.ts +1 -0
  29. package/components/fab-backdrop.d.ts +1 -0
  30. package/components/fab-button.d.ts +1 -0
  31. package/components/fab-buttons.d.ts +1 -0
  32. package/components/fab.d.ts +1 -0
  33. package/components/gauge.d.ts +1 -0
  34. package/components/icon.d.ts +1 -0
  35. package/components/input.d.ts +1 -0
  36. package/components/input.js +1 -1
  37. package/components/link.d.ts +1 -0
  38. package/components/list-button.d.ts +1 -0
  39. package/components/list-group.d.ts +1 -0
  40. package/components/list-index.d.ts +1 -0
  41. package/components/list-input.d.ts +1 -0
  42. package/components/list-item-cell.d.ts +1 -0
  43. package/components/list-item-row.d.ts +1 -0
  44. package/components/list-item.d.ts +1 -0
  45. package/components/list.d.ts +1 -0
  46. package/components/login-screen-title.d.ts +1 -0
  47. package/components/login-screen.d.ts +1 -0
  48. package/components/menu-dropdown-item.d.ts +1 -0
  49. package/components/menu-dropdown.d.ts +1 -0
  50. package/components/menu-item.d.ts +1 -0
  51. package/components/menu.d.ts +1 -0
  52. package/components/message.d.ts +1 -0
  53. package/components/messagebar-attachment.d.ts +1 -0
  54. package/components/messagebar-attachments.d.ts +1 -0
  55. package/components/messagebar-sheet-image.d.ts +1 -0
  56. package/components/messagebar-sheet-item.d.ts +1 -0
  57. package/components/messagebar-sheet.d.ts +1 -0
  58. package/components/messagebar.d.ts +1 -0
  59. package/components/messages-title.d.ts +1 -0
  60. package/components/messages.d.ts +1 -0
  61. package/components/nav-left.d.ts +1 -0
  62. package/components/nav-right.d.ts +1 -0
  63. package/components/nav-title-large.d.ts +1 -0
  64. package/components/nav-title.d.ts +1 -0
  65. package/components/navbar.d.ts +1 -0
  66. package/components/page-content.d.ts +1 -0
  67. package/components/page.d.ts +1 -0
  68. package/components/panel.d.ts +1 -0
  69. package/components/photo-browser.d.ts +1 -0
  70. package/components/pie-chart.d.ts +1 -0
  71. package/components/popover.d.ts +1 -0
  72. package/components/popup.d.ts +1 -0
  73. package/components/preloader.d.ts +1 -0
  74. package/components/progressbar.d.ts +1 -0
  75. package/components/radio.d.ts +1 -0
  76. package/components/range.d.ts +1 -0
  77. package/components/row.d.ts +1 -0
  78. package/components/searchbar.d.ts +1 -0
  79. package/components/segmented.d.ts +1 -0
  80. package/components/sheet.d.ts +1 -0
  81. package/components/stepper.d.ts +1 -0
  82. package/components/subnavbar.d.ts +1 -0
  83. package/components/swipeout-actions.d.ts +1 -0
  84. package/components/swipeout-button.d.ts +1 -0
  85. package/components/tab.d.ts +1 -0
  86. package/components/tabs.d.ts +1 -0
  87. package/components/text-editor.d.ts +1 -0
  88. package/components/toggle.d.ts +1 -0
  89. package/components/toolbar.d.ts +1 -0
  90. package/components/treeview-item.d.ts +1 -0
  91. package/components/treeview.d.ts +1 -0
  92. package/components/view.d.ts +1 -0
  93. package/components/views.d.ts +1 -0
  94. package/framework7-react.js +2 -2
  95. package/package.json +1 -1
@@ -8,6 +8,7 @@ export interface AccordionContentProps {
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;
@@ -15,6 +15,7 @@ export interface AccordionItemProps {
15
15
  onAccordionClose ?: (...args: any[]) => void;
16
16
  onAccordionClosed ?: (...args: any[]) => void;
17
17
  ref?: React.MutableRefObject<{el: HTMLElement | null}>;
18
+ children?: React.ReactNode;
18
19
  color?: string;
19
20
  colorTheme?: string;
20
21
  textColor?: string;
@@ -8,6 +8,7 @@ export interface AccordionToggleProps {
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;
@@ -9,6 +9,7 @@ export interface AccordionProps {
9
9
  style?: React.CSSProperties;
10
10
  accordionOpposite?: 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;
@@ -11,6 +11,7 @@ export interface ActionsButtonProps {
11
11
  close?: boolean;
12
12
  onClick ?: (event?: any) => void;
13
13
  ref?: React.MutableRefObject<{el: HTMLElement | null}>;
14
+ children?: React.ReactNode;
14
15
  color?: string;
15
16
  colorTheme?: string;
16
17
  textColor?: string;
@@ -8,6 +8,7 @@ export interface ActionsGroupProps {
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;
@@ -10,6 +10,7 @@ export interface ActionsLabelProps {
10
10
  bold?: boolean;
11
11
  onClick?: (event?: any) => void;
12
12
  ref?: React.MutableRefObject<{el: HTMLElement | null}>;
13
+ children?: React.ReactNode;
13
14
  color?: string;
14
15
  colorTheme?: string;
15
16
  textColor?: string;
@@ -26,6 +26,7 @@ export interface ActionsProps {
26
26
  onActionsClosed ?: (instance?: Actions.Actions) => void;
27
27
  containerEl ?: string | object;
28
28
  ref?: React.MutableRefObject<{el: HTMLElement | null; f7Actions: () => Actions.Actions}>;
29
+ children?: React.ReactNode;
29
30
  color?: string;
30
31
  colorTheme?: string;
31
32
  textColor?: string;
@@ -9,6 +9,7 @@ export interface AppProps extends Framework7Parameters {
9
9
  className?: string;
10
10
  style?: React.CSSProperties;
11
11
  ref?: React.MutableRefObject<{el: HTMLElement | null}>;
12
+ children?: React.ReactNode;
12
13
  color?: string;
13
14
  colorTheme?: string;
14
15
  textColor?: string;
@@ -13,6 +13,7 @@ export interface AppbarProps {
13
13
  innerClass?: string;
14
14
  innerClassName?: string;
15
15
  ref?: React.MutableRefObject<{el: HTMLElement | null}>;
16
+ children?: React.ReactNode;
16
17
  color?: string;
17
18
  colorTheme?: string;
18
19
  textColor?: string;
@@ -25,6 +25,7 @@ export interface AreaChartProps {
25
25
  formatTooltipDataset?: (label: any, value: number, color: string) => string;
26
26
  onSelect ?: (index: number | null) => void;
27
27
  ref?: React.MutableRefObject<{el: HTMLElement | null}>;
28
+ children?: React.ReactNode;
28
29
  }
29
30
  declare const AreaChart: React.FunctionComponent<AreaChartProps>;
30
31
 
@@ -12,6 +12,7 @@ export interface BadgeProps {
12
12
  tooltip?: string;
13
13
  tooltipTrigger?: string;
14
14
  ref?: React.MutableRefObject<{el: HTMLElement | null}>;
15
+ children?: React.ReactNode;
15
16
  color?: string;
16
17
  colorTheme?: string;
17
18
  textColor?: string;
@@ -8,6 +8,7 @@ export interface BlockFooterProps {
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;
@@ -8,6 +8,7 @@ export interface BlockHeaderProps {
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;
@@ -10,6 +10,7 @@ export interface BlockTitleProps {
10
10
  large?: boolean;
11
11
  medium?: boolean;
12
12
  ref?: React.MutableRefObject<{el: HTMLElement | null}>;
13
+ children?: React.ReactNode;
13
14
  color?: string;
14
15
  colorTheme?: string;
15
16
  textColor?: string;
@@ -26,6 +26,7 @@ export interface BlockProps {
26
26
  onTabShow?: (el?: HTMLElement) => void;
27
27
  onTabHide?: (el?: HTMLElement) => void;
28
28
  ref?: React.MutableRefObject<{el: HTMLElement | null}>;
29
+ children?: React.ReactNode;
29
30
  color?: string;
30
31
  colorTheme?: string;
31
32
  textColor?: string;
@@ -9,6 +9,7 @@ export interface BreadcrumbsCollapsedProps {
9
9
  style?: React.CSSProperties;
10
10
  onClick ?: (event?: any) => void;
11
11
  ref?: React.MutableRefObject<{el: HTMLElement | null}>;
12
+ children?: React.ReactNode;
12
13
  }
13
14
  declare const BreadcrumbsCollapsed: React.FunctionComponent<BreadcrumbsCollapsedProps>;
14
15
 
@@ -10,6 +10,7 @@ export interface BreadcrumbsItemProps {
10
10
  onClick ?: (event?: any) => void;
11
11
  active?: boolean;
12
12
  ref?: React.MutableRefObject<{el: HTMLElement | null}>;
13
+ children?: React.ReactNode;
13
14
  }
14
15
  declare const BreadcrumbsItem: React.FunctionComponent<BreadcrumbsItemProps>;
15
16
 
@@ -8,6 +8,7 @@ export interface BreadcrumbsSeparatorProps {
8
8
  className?: string;
9
9
  style?: React.CSSProperties;
10
10
  ref?: React.MutableRefObject<{el: HTMLElement | null}>;
11
+ children?: React.ReactNode;
11
12
  }
12
13
  declare const BreadcrumbsSeparator: React.FunctionComponent<BreadcrumbsSeparatorProps>;
13
14
 
@@ -8,6 +8,7 @@ export interface BreadcrumbsProps {
8
8
  className?: string;
9
9
  style?: React.CSSProperties;
10
10
  ref?: React.MutableRefObject<{el: HTMLElement | null}>;
11
+ children?: React.ReactNode;
11
12
  }
12
13
  declare const Breadcrumbs: React.FunctionComponent<BreadcrumbsProps>;
13
14
 
@@ -47,6 +47,7 @@ export interface ButtonProps {
47
47
  loading?: boolean;
48
48
  onClick ?: (event?: any) => void;
49
49
  ref?: React.MutableRefObject<{el: HTMLElement | null}>;
50
+ children?: React.ReactNode;
50
51
  color?: string;
51
52
  colorTheme?: string;
52
53
  textColor?: string;
@@ -9,6 +9,7 @@ export interface CardContentProps {
9
9
  style?: React.CSSProperties;
10
10
  padding?: 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;
@@ -8,6 +8,7 @@ export interface CardFooterProps {
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;
@@ -8,6 +8,7 @@ export interface CardHeaderProps {
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;
@@ -32,6 +32,7 @@ export interface CardProps {
32
32
  onCardClose ?: (el?: HTMLElement) => void;
33
33
  onCardClosed ?: (el?: HTMLElement, pageEl?: HTMLElement) => void;
34
34
  ref?: React.MutableRefObject<{el: HTMLElement | null; open: () => void; close: () => void}>;
35
+ children?: React.ReactNode;
35
36
  color?: string;
36
37
  colorTheme?: string;
37
38
  textColor?: string;
@@ -23,6 +23,7 @@ export interface CheckboxProps {
23
23
  dark?: boolean;
24
24
  onChange ?: (event?: any) => void;
25
25
  ref?: React.MutableRefObject<{el: HTMLElement | null; inputEl: HTMLElement | null}>;
26
+ children?: React.ReactNode;
26
27
  }
27
28
  declare const Checkbox: React.FunctionComponent<CheckboxProps>;
28
29
 
@@ -18,6 +18,7 @@ export interface ChipProps {
18
18
  onClick ?: (event?: any) => void;
19
19
  onDelete ?: (event?: any) => void;
20
20
  ref?: React.MutableRefObject<{el: HTMLElement | null}>;
21
+ children?: React.ReactNode;
21
22
  color?: string;
22
23
  colorTheme?: string;
23
24
  textColor?: string;
@@ -21,6 +21,7 @@ export interface ColProps {
21
21
  onClick ?: (event?: any) => void;
22
22
  onGridResize ?: (...args: any[]) => void;
23
23
  ref?: React.MutableRefObject<{el: HTMLElement | null}>;
24
+ children?: React.ReactNode;
24
25
  color?: string;
25
26
  colorTheme?: string;
26
27
  textColor?: string;
@@ -8,6 +8,7 @@ export interface FabBackdropProps {
8
8
  className?: string;
9
9
  style?: React.CSSProperties;
10
10
  ref?: React.MutableRefObject<{el: HTMLElement | null}>;
11
+ children?: React.ReactNode;
11
12
  }
12
13
  declare const FabBackdrop: React.FunctionComponent<FabBackdropProps>;
13
14
 
@@ -14,6 +14,7 @@ export interface FabButtonProps {
14
14
  tooltipTrigger ?: string;
15
15
  onClick ?: (event?: any) => void;
16
16
  ref?: React.MutableRefObject<{el: HTMLElement | null}>;
17
+ children?: React.ReactNode;
17
18
  color?: string;
18
19
  colorTheme?: string;
19
20
  textColor?: string;
@@ -9,6 +9,7 @@ export interface FabButtonsProps {
9
9
  style?: React.CSSProperties;
10
10
  position?: 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;
@@ -16,6 +16,7 @@ export interface FabProps {
16
16
  tooltipTrigger ?: string;
17
17
  onClick ?: (event?: 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;
@@ -23,6 +23,7 @@ export interface GaugeProps {
23
23
  labelFontSize ?: number | string;
24
24
  labelFontWeight ?: number | string;
25
25
  ref?: React.MutableRefObject<{el: HTMLElement | null}>;
26
+ children?: React.ReactNode;
26
27
  }
27
28
  declare const Gauge: React.FunctionComponent<GaugeProps>;
28
29
 
@@ -17,6 +17,7 @@ export interface IconProps {
17
17
  tooltipTrigger ?: string;
18
18
  size ?: string | number;
19
19
  ref?: React.MutableRefObject<{el: HTMLElement | null}>;
20
+ children?: React.ReactNode;
20
21
  color?: string;
21
22
  colorTheme?: string;
22
23
  textColor?: string;
@@ -73,6 +73,7 @@ export interface InputProps {
73
73
  onChange ?: (...args: any[]) => void;
74
74
  onTextEditorChange ?: (...args: any[]) => void;
75
75
  ref?: React.MutableRefObject<{el: HTMLElement | null}>;
76
+ children?: React.ReactNode;
76
77
  }
77
78
  declare const Input: React.FunctionComponent<InputProps>;
78
79
 
@@ -64,7 +64,7 @@ const Input = /*#__PURE__*/forwardRef((props, ref) => {
64
64
  dropdown = 'auto',
65
65
  // Datepicker
66
66
  calendarParams,
67
- // Colorpciker
67
+ // Colorpicker
68
68
  colorPickerParams,
69
69
  // Text editor
70
70
  textEditorParams
@@ -80,6 +80,7 @@ export interface LinkProps {
80
80
  openIn?: string;
81
81
  onClick ?: (event?: any) => void;
82
82
  ref?: React.MutableRefObject<{el: HTMLElement | null; f7SmartSelect: () => SmartSelect.SmartSelect}>;
83
+ children?: React.ReactNode;
83
84
  }
84
85
  declare const Link: React.FunctionComponent<LinkProps>;
85
86
 
@@ -64,6 +64,7 @@ export interface ListButtonProps {
64
64
  menuClose?: boolean | string;
65
65
  onClick ?: (event?: any) => void;
66
66
  ref?: React.MutableRefObject<{el: HTMLElement | null}>;
67
+ children?: React.ReactNode;
67
68
  }
68
69
  declare const ListButton: React.FunctionComponent<ListButtonProps>;
69
70
 
@@ -13,6 +13,7 @@ export interface ListGroupProps {
13
13
  sortableTapHold ?: boolean;
14
14
  sortableMoveElements ?: boolean;
15
15
  ref?: React.MutableRefObject<{el: HTMLElement | null}>;
16
+ children?: React.ReactNode;
16
17
  color?: string;
17
18
  colorTheme?: string;
18
19
  textColor?: string;
@@ -24,6 +24,7 @@ export interface ListIndexProps {
24
24
  dark?: boolean;
25
25
  onListIndexSelect ?: (itemContent?: any, itemIndex?: any) => void;
26
26
  ref?: React.MutableRefObject<{el: HTMLElement | null}>;
27
+ children?: React.ReactNode;
27
28
  }
28
29
  declare const ListIndex: React.FunctionComponent<ListIndexProps>;
29
30
 
@@ -78,6 +78,7 @@ export interface ListInputProps {
78
78
  onChange ?: (...args: any[]) => void;
79
79
  onTextEditorChange ?: (...args: any[]) => void;
80
80
  ref?: React.MutableRefObject<{el: HTMLElement | null}>;
81
+ children?: React.ReactNode;
81
82
  }
82
83
  declare const ListInput: React.FunctionComponent<ListInputProps>;
83
84
 
@@ -8,6 +8,7 @@ export interface ListItemCellProps {
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;
@@ -8,6 +8,7 @@ export interface ListItemRowProps {
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;
@@ -115,6 +115,7 @@ export interface ListItemProps {
115
115
  onAccordionOpened ?: (...args: any[]) => void;
116
116
  onChange ?: (event?: any) => void;
117
117
  ref?: React.MutableRefObject<{el: HTMLElement | null; f7SmartSelect: () => SmartSelect.SmartSelect}>;
118
+ children?: React.ReactNode;
118
119
  }
119
120
  declare const ListItem: React.FunctionComponent<ListItemProps>;
120
121
 
@@ -63,6 +63,7 @@ export interface ListProps {
63
63
  onTabShow ?: (el?: HTMLElement) => void;
64
64
  onTabHide ?: (el?: HTMLElement) => void;
65
65
  ref?: React.MutableRefObject<{el: HTMLElement | null; f7VirtualList: () => VirtualList.VirtualList}>;
66
+ children?: React.ReactNode;
66
67
  }
67
68
  declare const List: React.FunctionComponent<ListProps>;
68
69
 
@@ -8,6 +8,7 @@ export interface LoginScreenTitleProps {
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;
@@ -17,6 +17,7 @@ export interface LoginScreenProps {
17
17
  onLoginScreenClose ?: (instance: LoginScreen.LoginScreen) => void;
18
18
  onLoginScreenClosed ?: (instance: LoginScreen.LoginScreen) => void;
19
19
  ref?: React.MutableRefObject<{el: HTMLElement | null; f7LoginScreen: () => LoginScreen.LoginScreen}>;
20
+ children?: React.ReactNode;
20
21
  color?: string;
21
22
  colorTheme?: string;
22
23
  textColor?: string;
@@ -60,6 +60,7 @@ export interface MenuDropdownItemProps {
60
60
  menuClose?: boolean | string;
61
61
  onClick ?: (event?: any) => void;
62
62
  ref?: React.MutableRefObject<{el: HTMLElement | null}>;
63
+ children?: React.ReactNode;
63
64
  }
64
65
  declare const MenuDropdownItem: React.FunctionComponent<MenuDropdownItemProps>;
65
66
 
@@ -13,6 +13,7 @@ export interface MenuDropdownProps {
13
13
  center ?: boolean;
14
14
  right ?: boolean;
15
15
  ref?: React.MutableRefObject<{el: HTMLElement | null}>;
16
+ children?: React.ReactNode;
16
17
  color?: string;
17
18
  colorTheme?: string;
18
19
  textColor?: string;
@@ -73,6 +73,7 @@ export interface MenuItemProps {
73
73
  onMenuOpened ?: (el?: HTMLElement) => void;
74
74
  onMenuClosed ?: (el?: HTMLElement) => void;
75
75
  ref?: React.MutableRefObject<{el: HTMLElement | null}>;
76
+ children?: React.ReactNode;
76
77
  }
77
78
  declare const MenuItem: React.FunctionComponent<MenuItemProps>;
78
79
 
@@ -8,6 +8,7 @@ export interface MenuProps {
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;
@@ -39,6 +39,7 @@ export interface MessageProps {
39
39
  onClickFooter ?: (event?: any) => void;
40
40
  onClickBubble ?: (event?: any) => void;
41
41
  ref?: React.MutableRefObject<{el: HTMLElement | null}>;
42
+ children?: React.ReactNode;
42
43
  }
43
44
  declare const Message: React.FunctionComponent<MessageProps>;
44
45
 
@@ -19,6 +19,7 @@ export interface MessagebarAttachmentProps {
19
19
  onAttachmentClick ?: (event?: any) => void;
20
20
  onAttachmentDelete ?: (event?: any) => void;
21
21
  ref?: React.MutableRefObject<{el: HTMLElement | null}>;
22
+ children?: React.ReactNode;
22
23
  }
23
24
  declare const MessagebarAttachment: React.FunctionComponent<MessagebarAttachmentProps>;
24
25
 
@@ -8,6 +8,7 @@ export interface MessagebarAttachmentsProps {
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;
@@ -20,6 +20,7 @@ export interface MessagebarSheetImageProps {
20
20
  onUnchecked ?: (event?: any) => void;
21
21
  onChange ?: (event?: any) => void;
22
22
  ref?: React.MutableRefObject<{el: HTMLElement | null}>;
23
+ children?: React.ReactNode;
23
24
  }
24
25
  declare const MessagebarSheetImage: React.FunctionComponent<MessagebarSheetImageProps>;
25
26
 
@@ -15,6 +15,7 @@ export interface MessagebarSheetItemProps {
15
15
  rippleColor?: string;
16
16
  dark?: boolean;
17
17
  ref?: React.MutableRefObject<{el: HTMLElement | null}>;
18
+ children?: React.ReactNode;
18
19
  }
19
20
  declare const MessagebarSheetItem: React.FunctionComponent<MessagebarSheetItemProps>;
20
21
 
@@ -8,6 +8,7 @@ export interface MessagebarSheetProps {
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;
@@ -43,6 +43,7 @@ export 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
 
@@ -8,6 +8,7 @@ export interface MessagesTitleProps {
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;
@@ -26,6 +26,7 @@ export 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;
@@ -22,6 +22,7 @@ export interface NavLeftProps {
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
 
@@ -9,6 +9,7 @@ export interface NavRightProps {
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;
@@ -8,6 +8,7 @@ export interface NavTitleLargeProps {
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;
@@ -11,6 +11,7 @@ export 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;
@@ -39,6 +39,7 @@ export 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
 
@@ -39,6 +39,7 @@ export 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
 
@@ -57,6 +57,7 @@ export 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
 
@@ -46,6 +46,7 @@ export 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
 
@@ -42,6 +42,7 @@ export 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
 
@@ -13,6 +13,7 @@ export 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
 
@@ -31,6 +31,7 @@ export interface PopoverProps {
31
31
  onPopoverClose ?: (instance?: Popover.Popover) => void;
32
32
  onPopoverClosed ?: (instance?: Popover.Popover) => void;
33
33
  ref?: React.MutableRefObject<{el: HTMLElement | null; f7Popover: () => Popover.Popover}>;
34
+ children?: React.ReactNode;
34
35
  }
35
36
  declare const Popover: React.FunctionComponent<PopoverProps>;
36
37
 
@@ -36,6 +36,7 @@ export 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
 
@@ -9,6 +9,7 @@ export interface PreloaderProps {
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;
@@ -10,6 +10,7 @@ export 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;
@@ -22,6 +22,7 @@ export interface RadioProps {
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
 
@@ -39,6 +39,7 @@ export interface RangeProps {
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
 
@@ -16,6 +16,7 @@ export 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;
@@ -56,6 +56,7 @@ export 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
 
@@ -21,6 +21,7 @@ export 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;
@@ -39,6 +39,7 @@ export 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
 
@@ -61,6 +61,7 @@ export interface StepperProps {
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
 
@@ -11,6 +11,7 @@ export 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;
@@ -11,6 +11,7 @@ export 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;
@@ -23,6 +23,7 @@ export interface SwipeoutButtonProps {
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
 
@@ -18,6 +18,7 @@ export interface TabProps {
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
 
@@ -21,6 +21,7 @@ export interface TabsProps {
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
 
@@ -38,6 +38,7 @@ export 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
 
@@ -28,6 +28,7 @@ export interface ToggleProps {
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
 
@@ -34,6 +34,7 @@ export interface ToolbarProps {
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
 
@@ -74,6 +74,7 @@ export 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
 
@@ -8,6 +8,7 @@ export interface TreeviewProps {
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;
@@ -85,6 +85,7 @@ export 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
 
@@ -9,6 +9,7 @@ export interface ViewsProps {
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;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Framework7 React 7.0.4
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: May 25, 2022
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,6 +1,6 @@
1
1
  {
2
2
  "name": "framework7-react",
3
- "version": "7.0.4",
3
+ "version": "7.0.5",
4
4
  "description": "Build full featured iOS & Android apps using Framework7 & React",
5
5
  "type": "module",
6
6
  "exports": {