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.
Files changed (98) hide show
  1. package/components/accordion-content.d.ts +3 -2
  2. package/components/accordion-item.d.ts +3 -2
  3. package/components/accordion-toggle.d.ts +3 -2
  4. package/components/accordion.d.ts +3 -2
  5. package/components/actions-button.d.ts +3 -2
  6. package/components/actions-group.d.ts +3 -2
  7. package/components/actions-label.d.ts +3 -2
  8. package/components/actions.d.ts +3 -2
  9. package/components/app.d.ts +3 -2
  10. package/components/appbar.d.ts +3 -2
  11. package/components/area-chart.d.ts +2 -1
  12. package/components/badge.d.ts +3 -2
  13. package/components/block-footer.d.ts +3 -2
  14. package/components/block-header.d.ts +3 -2
  15. package/components/block-title.d.ts +3 -2
  16. package/components/block.d.ts +3 -2
  17. package/components/breadcrumbs-collapsed.d.ts +2 -1
  18. package/components/breadcrumbs-item.d.ts +2 -1
  19. package/components/breadcrumbs-separator.d.ts +2 -1
  20. package/components/breadcrumbs.d.ts +2 -1
  21. package/components/button.d.ts +3 -2
  22. package/components/card-content.d.ts +3 -2
  23. package/components/card-footer.d.ts +3 -2
  24. package/components/card-header.d.ts +3 -2
  25. package/components/card.d.ts +3 -2
  26. package/components/checkbox.d.ts +3 -2
  27. package/components/chip.d.ts +3 -2
  28. package/components/col.d.ts +3 -2
  29. package/components/fab-backdrop.d.ts +2 -1
  30. package/components/fab-button.d.ts +3 -2
  31. package/components/fab-buttons.d.ts +3 -2
  32. package/components/fab.d.ts +3 -2
  33. package/components/gauge.d.ts +2 -1
  34. package/components/icon.d.ts +3 -2
  35. package/components/input.d.ts +3 -2
  36. package/components/input.js +1 -1
  37. package/components/link.d.ts +3 -2
  38. package/components/list-button.d.ts +3 -2
  39. package/components/list-group.d.ts +3 -2
  40. package/components/list-index.d.ts +3 -2
  41. package/components/list-input.d.ts +3 -2
  42. package/components/list-item-cell.d.ts +3 -2
  43. package/components/list-item-content.d.ts +1 -1
  44. package/components/list-item-row.d.ts +3 -2
  45. package/components/list-item.d.ts +3 -2
  46. package/components/list.d.ts +3 -2
  47. package/components/login-screen-title.d.ts +3 -2
  48. package/components/login-screen.d.ts +3 -2
  49. package/components/menu-dropdown-item.d.ts +3 -2
  50. package/components/menu-dropdown.d.ts +3 -2
  51. package/components/menu-item.d.ts +3 -2
  52. package/components/menu.d.ts +3 -2
  53. package/components/message.d.ts +3 -2
  54. package/components/messagebar-attachment.d.ts +3 -2
  55. package/components/messagebar-attachments.d.ts +3 -2
  56. package/components/messagebar-sheet-image.d.ts +3 -2
  57. package/components/messagebar-sheet-item.d.ts +3 -2
  58. package/components/messagebar-sheet.d.ts +3 -2
  59. package/components/messagebar.d.ts +3 -2
  60. package/components/messages-title.d.ts +3 -2
  61. package/components/messages.d.ts +3 -2
  62. package/components/nav-left.d.ts +3 -2
  63. package/components/nav-right.d.ts +3 -2
  64. package/components/nav-title-large.d.ts +3 -2
  65. package/components/nav-title.d.ts +3 -2
  66. package/components/navbar.d.ts +3 -2
  67. package/components/page-content.d.ts +3 -2
  68. package/components/page.d.ts +3 -2
  69. package/components/panel.d.ts +3 -2
  70. package/components/photo-browser.d.ts +2 -1
  71. package/components/pie-chart.d.ts +2 -1
  72. package/components/popover.d.ts +4 -2
  73. package/components/popover.js +3 -1
  74. package/components/popup.d.ts +3 -2
  75. package/components/preloader.d.ts +3 -2
  76. package/components/progressbar.d.ts +3 -2
  77. package/components/radio.d.ts +3 -2
  78. package/components/range.d.ts +3 -2
  79. package/components/routable-modals.d.ts +1 -1
  80. package/components/row.d.ts +3 -2
  81. package/components/searchbar.d.ts +3 -2
  82. package/components/segmented.d.ts +3 -2
  83. package/components/sheet.d.ts +3 -2
  84. package/components/stepper.d.ts +3 -2
  85. package/components/subnavbar.d.ts +3 -2
  86. package/components/swipeout-actions.d.ts +3 -2
  87. package/components/swipeout-button.d.ts +3 -2
  88. package/components/tab.d.ts +3 -2
  89. package/components/tabs.d.ts +3 -2
  90. package/components/text-editor.d.ts +3 -2
  91. package/components/toggle.d.ts +3 -2
  92. package/components/toolbar.d.ts +3 -2
  93. package/components/treeview-item.d.ts +3 -2
  94. package/components/treeview.d.ts +3 -2
  95. package/components/view.d.ts +3 -2
  96. package/components/views.d.ts +3 -2
  97. package/framework7-react.js +2 -2
  98. package/package.json +3 -2
@@ -2,7 +2,7 @@
2
2
  import * as React from 'react';
3
3
 
4
4
 
5
- interface FabButtonProps {
5
+ export interface FabButtonProps {
6
6
  slot?: string;
7
7
  id?: string | number;
8
8
  className?: string;
@@ -14,13 +14,14 @@ 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;
20
21
  bgColor?: string;
21
22
  borderColor?: string;
22
23
  rippleColor?: string;
23
- themeDark?: boolean;
24
+ dark?: boolean;
24
25
  }
25
26
  declare const FabButton: React.FunctionComponent<FabButtonProps>;
26
27
 
@@ -2,20 +2,21 @@
2
2
  import * as React from 'react';
3
3
 
4
4
 
5
- interface FabButtonsProps {
5
+ export interface FabButtonsProps {
6
6
  slot?: string;
7
7
  id?: string | number;
8
8
  className?: string;
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;
15
16
  bgColor?: string;
16
17
  borderColor?: string;
17
18
  rippleColor?: string;
18
- themeDark?: boolean;
19
+ dark?: boolean;
19
20
  }
20
21
  declare const FabButtons: React.FunctionComponent<FabButtonsProps>;
21
22
 
@@ -2,7 +2,7 @@
2
2
  import * as React from 'react';
3
3
 
4
4
 
5
- interface FabProps {
5
+ export interface FabProps {
6
6
  slot?: string;
7
7
  id?: string | number;
8
8
  className?: string;
@@ -16,13 +16,14 @@ 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;
22
23
  bgColor?: string;
23
24
  borderColor?: string;
24
25
  rippleColor?: string;
25
- themeDark?: boolean;
26
+ dark?: boolean;
26
27
  }
27
28
  declare const Fab: React.FunctionComponent<FabProps>;
28
29
 
@@ -2,7 +2,7 @@
2
2
  import * as React from 'react';
3
3
 
4
4
 
5
- interface GaugeProps {
5
+ export interface GaugeProps {
6
6
  slot?: string;
7
7
  id?: string | number;
8
8
  className?: string;
@@ -23,6 +23,7 @@ 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
 
@@ -2,7 +2,7 @@
2
2
  import * as React from 'react';
3
3
 
4
4
 
5
- interface IconProps {
5
+ export interface IconProps {
6
6
  slot?: string;
7
7
  id?: string | number;
8
8
  className?: string;
@@ -17,13 +17,14 @@ 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;
23
24
  bgColor?: string;
24
25
  borderColor?: string;
25
26
  rippleColor?: string;
26
- themeDark?: boolean;
27
+ dark?: boolean;
27
28
  }
28
29
  declare const Icon: React.FunctionComponent<IconProps>;
29
30
 
@@ -4,7 +4,7 @@ import * as React from 'react';
4
4
  import { Calendar, ColorPicker, TextEditor } from 'framework7/types';
5
5
 
6
6
 
7
- interface InputProps {
7
+ export interface InputProps {
8
8
  slot?: string;
9
9
  id?: string | number;
10
10
  className?: string;
@@ -60,7 +60,7 @@ interface InputProps {
60
60
  bgColor?: string;
61
61
  borderColor?: string;
62
62
  rippleColor?: string;
63
- themeDark?: boolean;
63
+ dark?: boolean;
64
64
  onCalendarChange ?: (calendarValue?: any) => void;
65
65
  onColorPickerChange ?: (colorPickerValue?: any) => void;
66
66
  onTextareaResize ?: (event?: any) => void;
@@ -73,6 +73,7 @@ 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
@@ -4,7 +4,7 @@ import * as React from 'react';
4
4
  import { SmartSelect } from 'framework7/types';
5
5
 
6
6
 
7
- interface LinkProps {
7
+ export interface LinkProps {
8
8
  slot?: string;
9
9
  id?: string | number;
10
10
  className?: string;
@@ -30,7 +30,7 @@ interface LinkProps {
30
30
  bgColor?: string;
31
31
  borderColor?: string;
32
32
  rippleColor?: string;
33
- themeDark?: boolean;
33
+ dark?: boolean;
34
34
  icon?: string;
35
35
  iconMaterial?: string;
36
36
  iconF7?: string;
@@ -80,6 +80,7 @@ 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
 
@@ -2,7 +2,7 @@
2
2
  import * as React from 'react';
3
3
 
4
4
 
5
- interface ListButtonProps {
5
+ export interface ListButtonProps {
6
6
  slot?: string;
7
7
  id?: string | number;
8
8
  className?: string;
@@ -22,7 +22,7 @@ interface ListButtonProps {
22
22
  bgColor?: string;
23
23
  borderColor?: string;
24
24
  rippleColor?: string;
25
- themeDark?: boolean;
25
+ dark?: boolean;
26
26
  back?: boolean;
27
27
  external?: boolean;
28
28
  force?: boolean;
@@ -64,6 +64,7 @@ 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
 
@@ -2,7 +2,7 @@
2
2
  import * as React from 'react';
3
3
 
4
4
 
5
- interface ListGroupProps {
5
+ export interface ListGroupProps {
6
6
  slot?: string;
7
7
  id?: string | number;
8
8
  className?: string;
@@ -13,13 +13,14 @@ 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;
19
20
  bgColor?: string;
20
21
  borderColor?: string;
21
22
  rippleColor?: string;
22
- themeDark?: boolean;
23
+ dark?: boolean;
23
24
  }
24
25
  declare const ListGroup: React.FunctionComponent<ListGroupProps>;
25
26
 
@@ -2,7 +2,7 @@
2
2
  import * as React from 'react';
3
3
 
4
4
 
5
- interface ListIndexProps {
5
+ export interface ListIndexProps {
6
6
  slot?: string;
7
7
  id?: string | number;
8
8
  className?: string;
@@ -21,9 +21,10 @@ interface ListIndexProps {
21
21
  bgColor?: string;
22
22
  borderColor?: string;
23
23
  rippleColor?: string;
24
- themeDark?: boolean;
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
 
@@ -4,7 +4,7 @@ import * as React from 'react';
4
4
  import { Calendar, ColorPicker, TextEditor } from 'framework7/types';
5
5
 
6
6
 
7
- interface ListInputProps {
7
+ export interface ListInputProps {
8
8
  slot?: string;
9
9
  id?: string | number;
10
10
  className?: string;
@@ -65,7 +65,7 @@ interface ListInputProps {
65
65
  bgColor?: string;
66
66
  borderColor?: string;
67
67
  rippleColor?: string;
68
- themeDark?: boolean;
68
+ dark?: boolean;
69
69
  onCalendarChange ?: (calendarValue?: any) => void;
70
70
  onColorPickerChange ?: (colorPickerValue?: any) => void;
71
71
  onTextareaResize ?: (event?: any) => void;
@@ -78,6 +78,7 @@ 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
 
@@ -2,19 +2,20 @@
2
2
  import * as React from 'react';
3
3
 
4
4
 
5
- interface ListItemCellProps {
5
+ export interface ListItemCellProps {
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
- themeDark?: boolean;
18
+ dark?: boolean;
18
19
  }
19
20
  declare const ListItemCell: React.FunctionComponent<ListItemCellProps>;
20
21
 
@@ -2,7 +2,7 @@
2
2
  import * as React from 'react';
3
3
 
4
4
 
5
- interface ListItemContentProps {
5
+ export interface ListItemContentProps {
6
6
  slot?: string;
7
7
 
8
8
  }
@@ -2,19 +2,20 @@
2
2
  import * as React from 'react';
3
3
 
4
4
 
5
- interface ListItemRowProps {
5
+ export interface ListItemRowProps {
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
- themeDark?: boolean;
18
+ dark?: boolean;
18
19
  }
19
20
  declare const ListItemRow: React.FunctionComponent<ListItemRowProps>;
20
21
 
@@ -4,7 +4,7 @@ import * as React from 'react';
4
4
  import { SmartSelect } from 'framework7/types';
5
5
 
6
6
 
7
- interface ListItemProps {
7
+ export interface ListItemProps {
8
8
  slot?: string;
9
9
  id?: string | number;
10
10
  className?: string;
@@ -57,7 +57,7 @@ interface ListItemProps {
57
57
  bgColor?: string;
58
58
  borderColor?: string;
59
59
  rippleColor?: string;
60
- themeDark?: boolean;
60
+ dark?: boolean;
61
61
  back?: boolean;
62
62
  external?: boolean;
63
63
  force?: boolean;
@@ -115,6 +115,7 @@ 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
 
@@ -4,7 +4,7 @@ import * as React from 'react';
4
4
  import { VirtualList } from 'framework7/types';
5
5
 
6
6
 
7
- interface ListProps {
7
+ export interface ListProps {
8
8
  slot?: string;
9
9
  id?: string | number;
10
10
  className?: string;
@@ -50,7 +50,7 @@ interface ListProps {
50
50
  bgColor?: string;
51
51
  borderColor?: string;
52
52
  rippleColor?: string;
53
- themeDark?: boolean;
53
+ dark?: boolean;
54
54
  onVirtualItemBeforeInsert ?: (vl?: VirtualList.VirtualList, itemEl?: HTMLElement, item?: any) => void;
55
55
  onVirtualBeforeClear ?: (vl?: VirtualList.VirtualList, fragment?: any) => void;
56
56
  onVirtualItemsBeforeInsert ?: (vl?: VirtualList.VirtualList, fragment?: any) => void;
@@ -63,6 +63,7 @@ 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
 
@@ -2,19 +2,20 @@
2
2
  import * as React from 'react';
3
3
 
4
4
 
5
- interface LoginScreenTitleProps {
5
+ export interface LoginScreenTitleProps {
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
- themeDark?: boolean;
18
+ dark?: boolean;
18
19
  }
19
20
  declare const LoginScreenTitle: React.FunctionComponent<LoginScreenTitleProps>;
20
21
 
@@ -4,7 +4,7 @@ import * as React from 'react';
4
4
  import { LoginScreen } from 'framework7/types';
5
5
 
6
6
 
7
- interface LoginScreenProps {
7
+ export interface LoginScreenProps {
8
8
  slot?: string;
9
9
  id?: string | number;
10
10
  className?: string;
@@ -17,13 +17,14 @@ 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;
23
24
  bgColor?: string;
24
25
  borderColor?: string;
25
26
  rippleColor?: string;
26
- themeDark?: boolean;
27
+ dark?: boolean;
27
28
  }
28
29
  declare const LoginScreen: React.FunctionComponent<LoginScreenProps>;
29
30
 
@@ -2,7 +2,7 @@
2
2
  import * as React from 'react';
3
3
 
4
4
 
5
- interface MenuDropdownItemProps {
5
+ export interface MenuDropdownItemProps {
6
6
  slot?: string;
7
7
  id?: string | number;
8
8
  className?: string;
@@ -18,7 +18,7 @@ interface MenuDropdownItemProps {
18
18
  bgColor?: string;
19
19
  borderColor?: string;
20
20
  rippleColor?: string;
21
- themeDark?: boolean;
21
+ dark?: boolean;
22
22
  back?: boolean;
23
23
  external?: boolean;
24
24
  force?: boolean;
@@ -60,6 +60,7 @@ 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
 
@@ -2,7 +2,7 @@
2
2
  import * as React from 'react';
3
3
 
4
4
 
5
- interface MenuDropdownProps {
5
+ export interface MenuDropdownProps {
6
6
  slot?: string;
7
7
  id?: string | number;
8
8
  className?: string;
@@ -13,13 +13,14 @@ 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;
19
20
  bgColor?: string;
20
21
  borderColor?: string;
21
22
  rippleColor?: string;
22
- themeDark?: boolean;
23
+ dark?: boolean;
23
24
  }
24
25
  declare const MenuDropdown: React.FunctionComponent<MenuDropdownProps>;
25
26
 
@@ -2,7 +2,7 @@
2
2
  import * as React from 'react';
3
3
 
4
4
 
5
- interface MenuItemProps {
5
+ export interface MenuItemProps {
6
6
  slot?: string;
7
7
  id?: string | number;
8
8
  className?: string;
@@ -21,7 +21,7 @@ interface MenuItemProps {
21
21
  bgColor?: string;
22
22
  borderColor?: string;
23
23
  rippleColor?: string;
24
- themeDark?: boolean;
24
+ dark?: boolean;
25
25
  icon?: string;
26
26
  iconMaterial?: string;
27
27
  iconF7?: string;
@@ -73,6 +73,7 @@ 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
 
@@ -2,19 +2,20 @@
2
2
  import * as React from 'react';
3
3
 
4
4
 
5
- interface MenuProps {
5
+ export interface MenuProps {
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
- themeDark?: boolean;
18
+ dark?: boolean;
18
19
  }
19
20
  declare const Menu: React.FunctionComponent<MenuProps>;
20
21
 
@@ -2,7 +2,7 @@
2
2
  import * as React from 'react';
3
3
 
4
4
 
5
- interface MessageProps {
5
+ export interface MessageProps {
6
6
  slot?: string;
7
7
  id?: string | number;
8
8
  className?: string;
@@ -30,7 +30,7 @@ interface MessageProps {
30
30
  bgColor?: string;
31
31
  borderColor?: string;
32
32
  rippleColor?: string;
33
- themeDark?: boolean;
33
+ dark?: boolean;
34
34
  onClick ?: (event?: any) => void;
35
35
  onClickName ?: (event?: any) => void;
36
36
  onClickText ?: (event?: any) => void;
@@ -39,6 +39,7 @@ 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
 
@@ -2,7 +2,7 @@
2
2
  import * as React from 'react';
3
3
 
4
4
 
5
- interface MessagebarAttachmentProps {
5
+ export interface MessagebarAttachmentProps {
6
6
  slot?: string;
7
7
  id?: string | number;
8
8
  className?: string;
@@ -15,10 +15,11 @@ interface MessagebarAttachmentProps {
15
15
  bgColor?: string;
16
16
  borderColor?: string;
17
17
  rippleColor?: string;
18
- themeDark?: boolean;
18
+ dark?: boolean;
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
 
@@ -2,19 +2,20 @@
2
2
  import * as React from 'react';
3
3
 
4
4
 
5
- interface MessagebarAttachmentsProps {
5
+ export interface MessagebarAttachmentsProps {
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
- themeDark?: boolean;
18
+ dark?: boolean;
18
19
  }
19
20
  declare const MessagebarAttachments: React.FunctionComponent<MessagebarAttachmentsProps>;
20
21
 
@@ -2,7 +2,7 @@
2
2
  import * as React from 'react';
3
3
 
4
4
 
5
- interface MessagebarSheetImageProps {
5
+ export interface MessagebarSheetImageProps {
6
6
  slot?: string;
7
7
  id?: string | number;
8
8
  className?: string;
@@ -15,11 +15,12 @@ interface MessagebarSheetImageProps {
15
15
  bgColor?: string;
16
16
  borderColor?: string;
17
17
  rippleColor?: string;
18
- themeDark?: boolean;
18
+ dark?: boolean;
19
19
  onChecked ?: (event?: any) => void;
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
 
@@ -2,7 +2,7 @@
2
2
  import * as React from 'react';
3
3
 
4
4
 
5
- interface MessagebarSheetItemProps {
5
+ export interface MessagebarSheetItemProps {
6
6
  slot?: string;
7
7
  id?: string | number;
8
8
  className?: string;
@@ -13,8 +13,9 @@ interface MessagebarSheetItemProps {
13
13
  bgColor?: string;
14
14
  borderColor?: string;
15
15
  rippleColor?: string;
16
- themeDark?: boolean;
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
 
@@ -2,19 +2,20 @@
2
2
  import * as React from 'react';
3
3
 
4
4
 
5
- interface MessagebarSheetProps {
5
+ export interface MessagebarSheetProps {
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
- themeDark?: boolean;
18
+ dark?: boolean;
18
19
  }
19
20
  declare const MessagebarSheet: React.FunctionComponent<MessagebarSheetProps>;
20
21