@plesk/ui-library 3.31.1 → 3.31.3

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 (122) hide show
  1. package/cjs/components/Button/Button.js +4 -1
  2. package/cjs/components/Button/ButtonContext.js +28 -0
  3. package/cjs/components/CodeEditor/CodeEditor.js +2 -1
  4. package/cjs/components/ComboBox/ComboBoxOption.js +1 -2
  5. package/cjs/components/Dialog/Dialog.js +17 -9
  6. package/cjs/components/Drawer/Drawer.js +7 -14
  7. package/cjs/components/Drawer/DrawerProgress.js +9 -12
  8. package/cjs/components/Form/Form.js +25 -23
  9. package/cjs/components/ItemList/ItemList.js +1 -1
  10. package/cjs/components/Link/Link.js +2 -1
  11. package/cjs/components/List/List.js +16 -9
  12. package/cjs/components/List/ListEmptyView.js +10 -2
  13. package/cjs/components/Markdown/Markdown.js +1 -3
  14. package/cjs/components/Select/SelectOption.js +1 -2
  15. package/cjs/components/Spot/SpotPopup.js +2 -0
  16. package/cjs/index.js +1 -1
  17. package/dist/plesk-ui-library-rtl.css +1 -1
  18. package/dist/plesk-ui-library-rtl.css.map +1 -1
  19. package/dist/plesk-ui-library.css +1 -1
  20. package/dist/plesk-ui-library.css.map +1 -1
  21. package/dist/plesk-ui-library.js +514 -379
  22. package/dist/plesk-ui-library.js.map +1 -1
  23. package/dist/plesk-ui-library.min.js +6 -6
  24. package/dist/plesk-ui-library.min.js.map +1 -1
  25. package/esm/components/Button/Button.js +4 -1
  26. package/esm/components/Button/ButtonContext.js +18 -0
  27. package/esm/components/ComboBox/ComboBoxOption.js +1 -2
  28. package/esm/components/Dialog/Dialog.js +18 -10
  29. package/esm/components/Drawer/Drawer.js +7 -14
  30. package/esm/components/Drawer/DrawerProgress.js +10 -13
  31. package/esm/components/Form/Form.js +26 -24
  32. package/esm/components/Link/Link.js +3 -1
  33. package/esm/components/List/List.js +14 -8
  34. package/esm/components/List/ListEmptyView.js +10 -2
  35. package/esm/components/Markdown/Markdown.js +1 -3
  36. package/esm/components/Select/SelectOption.js +1 -2
  37. package/esm/components/Spot/SpotPopup.js +3 -0
  38. package/esm/index.js +1 -1
  39. package/package.json +70 -74
  40. package/styleguide/build/bundle.bab12e1d.js +2 -0
  41. package/styleguide/build/{bundle.a0fc0411.js.LICENSE.txt → bundle.bab12e1d.js.LICENSE.txt} +4 -4
  42. package/styleguide/images/empty-list.png +0 -0
  43. package/styleguide/index.html +2 -2
  44. package/types/package.d.ts +12 -14
  45. package/types/src/components/Alert/Alert.stories.d.ts +2 -2
  46. package/types/src/components/AutoClosable/AutoClosable.d.ts +1 -1
  47. package/types/src/components/Button/Button.stories.d.ts +6 -5
  48. package/types/src/components/Button/ButtonContext.d.ts +9 -0
  49. package/types/src/components/Card/PreviewPanel.d.ts +2 -2
  50. package/types/src/components/ClosingConfirmation/useClosingConfirmation.d.ts +1 -1
  51. package/types/src/components/ComboBox/ComboBox.d.ts +2 -2
  52. package/types/src/components/ComboBoxDropdown/ComboBoxDropdown.d.ts +2 -2
  53. package/types/src/components/ConsoleOutput/ConsoleOutput.d.ts +2 -2
  54. package/types/src/components/ContentLoader/IconsLoader.d.ts +2 -2
  55. package/types/src/components/Cuttable/Cuttable.d.ts +1 -1
  56. package/types/src/components/Cuttable/Cuttable.stories.d.ts +4 -4
  57. package/types/src/components/Dialog/Dialog.stories.d.ts +4 -3
  58. package/types/src/components/Drawer/Drawer.stories.d.ts +6 -5
  59. package/types/src/components/Form/Form.d.ts +9 -9
  60. package/types/src/components/Form/Form.stories.d.ts +3 -2
  61. package/types/src/components/FormFieldCheckbox/FormFieldCheckbox.stories.d.ts +3 -2
  62. package/types/src/components/FormFieldPassword/FormFieldPassword.d.ts +3 -3
  63. package/types/src/components/Icon/Icon.stories.d.ts +3 -2
  64. package/types/src/components/InputFile/InputFile.d.ts +2 -2
  65. package/types/src/components/ItemLink/ItemLink.stories.d.ts +1 -1
  66. package/types/src/components/ItemList/ItemList.d.ts +4 -4
  67. package/types/src/components/ItemList/ItemList.stories.d.ts +30 -30
  68. package/types/src/components/Link/Link.d.ts +2 -2
  69. package/types/src/components/List/List.stories.d.ts +8 -7
  70. package/types/src/components/List/ListAction.d.ts +2 -2
  71. package/types/src/components/List/ListActions.d.ts +2 -2
  72. package/types/src/components/List/ListActionsDivider.d.ts +1 -1
  73. package/types/src/components/LocaleProvider/LocaleProvider.d.ts +2 -2
  74. package/types/src/components/Menu/Menu.stories.d.ts +7 -6
  75. package/types/src/components/Panel/Panel.d.ts +1 -1
  76. package/types/src/components/Popover/Popover.stories.d.ts +9 -8
  77. package/types/src/components/Select/Select.stories.d.ts +3 -3
  78. package/types/src/components/Skeleton/Skeleton.stories.d.ts +2 -2
  79. package/types/src/components/Skeleton/SkeletonTabs.stories.d.ts +1 -1
  80. package/types/src/components/Skeleton/SkeletonText.stories.d.ts +6 -6
  81. package/types/src/components/Spot/Spot.d.ts +2 -2
  82. package/types/src/components/Spot/SpotPopup.d.ts +2 -2
  83. package/types/src/components/Squeezer/Squeezer.d.ts +2 -2
  84. package/types/src/components/Status/Status.stories.d.ts +3 -3
  85. package/types/src/components/Tabs/Tabs.stories.d.ts +3 -2
  86. package/types/src/components/TextArea/TextArea.d.ts +1 -1
  87. package/types/src/components/Toast/Toast.d.ts +2 -2
  88. package/types/src/components/Toaster/Toaster.d.ts +2 -2
  89. package/types/src/components/Toolbar/ToolbarExpander.d.ts +2 -2
  90. package/types/src/components/Toolbar/ToolbarItem.d.ts +1 -1
  91. package/types/src/components/Tour/Tour.d.ts +2 -2
  92. package/types/src/components/utils.d.ts +1 -1
  93. package/cjs/components/Drawer/ScrollDirection.js +0 -45
  94. package/dist/images/default.svg +0 -1
  95. package/dist/images/filtered.svg +0 -1
  96. package/esm/components/Drawer/ScrollDirection.js +0 -37
  97. package/styleguide/build/bundle.a0fc0411.js +0 -2
  98. package/styleguide/images/default.svg +0 -1
  99. package/styleguide/images/empty-list_256.png +0 -0
  100. package/styleguide/images/filtered.svg +0 -1
  101. package/styleguide/patterns/controls/control-button-tooltip-1-do.png +0 -0
  102. package/styleguide/patterns/controls/control-button-tooltip-1-dont.png +0 -0
  103. package/styleguide/patterns/controls/control-button-tooltip-2-do.png +0 -0
  104. package/styleguide/patterns/controls/control-button-tooltip-2-dont.png +0 -0
  105. package/styleguide/patterns/controls/control-button-tooltip-3-do.png +0 -0
  106. package/styleguide/patterns/controls/control-button-tooltip-3-dont.png +0 -0
  107. package/styleguide/patterns/dialogsWindows/autoclose.png +0 -0
  108. package/styleguide/patterns/dialogsWindows/focus.png +0 -0
  109. package/styleguide/patterns/dialogsWindows/header.png +0 -0
  110. package/styleguide/patterns/dialogsWindows/image.png +0 -0
  111. package/styleguide/patterns/dialogsWindows/list_submit.png +0 -0
  112. package/styleguide/patterns/dialogsWindows/new_object.png +0 -0
  113. package/styleguide/patterns/dialogsWindows/popover-confirm.png +0 -0
  114. package/styleguide/patterns/dialogsWindows/popover.png +0 -0
  115. package/styleguide/patterns/dialogsWindows/similar_buttons.png +0 -0
  116. package/styleguide/patterns/dialogsWindows/submit.png +0 -0
  117. package/styleguide/patterns/dialogsWindows/toast_controls.png +0 -0
  118. package/styleguide/patterns/dialogsWindows/toaster_intent.png +0 -0
  119. package/styleguide/patterns/dialogsWindows/tooltip.png +0 -0
  120. package/styleguide/patterns/dialogsWindows/tour.png +0 -0
  121. package/styleguide/patterns/dialogsWindows/when_to_show.png +0 -0
  122. package/styleguide/patterns/dialogsWindows/width.png +0 -0
@@ -11,18 +11,18 @@ export declare const Basic: {
11
11
  onReorderEnd?: (() => void) | undefined;
12
12
  children: (React.ReactElement<{
13
13
  className?: string | undefined;
14
- onClick?: ((e: React.MouseEvent<React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)>, MouseEvent>) => void) | undefined;
14
+ onClick?: ((e: React.MouseEvent<React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>, MouseEvent>) => void) | undefined;
15
15
  value?: string | number | undefined;
16
16
  view?: "card" | "simple" | undefined;
17
17
  disabled?: boolean | undefined;
18
18
  hoverable?: boolean | undefined;
19
19
  footer?: React.ReactNode;
20
- }, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)> | null)[];
20
+ }, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | null)[];
21
21
  className?: string | undefined;
22
22
  baseClassName?: string | undefined;
23
23
  } & Pick<React.PropsWithChildren<{
24
24
  gap?: "md" | "lg" | "xs" | "sm" | "xl" | undefined;
25
- }>, "gap">): JSX.Element;
25
+ }>, "gap">): React.JSX.Element;
26
26
  args: {
27
27
  hoverable?: boolean | undefined;
28
28
  stretchable?: boolean | undefined;
@@ -34,13 +34,13 @@ export declare const Basic: {
34
34
  onReorderEnd?: (() => void) | undefined;
35
35
  children: (React.ReactElement<{
36
36
  className?: string | undefined;
37
- onClick?: ((e: React.MouseEvent<React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)>, MouseEvent>) => void) | undefined;
37
+ onClick?: ((e: React.MouseEvent<React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>, MouseEvent>) => void) | undefined;
38
38
  value?: string | number | undefined;
39
39
  view?: "card" | "simple" | undefined;
40
40
  disabled?: boolean | undefined;
41
41
  hoverable?: boolean | undefined;
42
42
  footer?: React.ReactNode;
43
- }, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)> | null)[];
43
+ }, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | null)[];
44
44
  className?: string | undefined;
45
45
  baseClassName?: string | undefined;
46
46
  } & Pick<React.PropsWithChildren<{
@@ -59,18 +59,18 @@ export declare const Cards: {
59
59
  onReorderEnd?: (() => void) | undefined;
60
60
  children: (React.ReactElement<{
61
61
  className?: string | undefined;
62
- onClick?: ((e: React.MouseEvent<React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)>, MouseEvent>) => void) | undefined;
62
+ onClick?: ((e: React.MouseEvent<React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>, MouseEvent>) => void) | undefined;
63
63
  value?: string | number | undefined;
64
64
  view?: "card" | "simple" | undefined;
65
65
  disabled?: boolean | undefined;
66
66
  hoverable?: boolean | undefined;
67
67
  footer?: React.ReactNode;
68
- }, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)> | null)[];
68
+ }, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | null)[];
69
69
  className?: string | undefined;
70
70
  baseClassName?: string | undefined;
71
71
  } & Pick<React.PropsWithChildren<{
72
72
  gap?: "md" | "lg" | "xs" | "sm" | "xl" | undefined;
73
- }>, "gap">): JSX.Element;
73
+ }>, "gap">): React.JSX.Element;
74
74
  args: {
75
75
  hoverable?: boolean | undefined;
76
76
  stretchable?: boolean | undefined;
@@ -82,13 +82,13 @@ export declare const Cards: {
82
82
  onReorderEnd?: (() => void) | undefined;
83
83
  children: (React.ReactElement<{
84
84
  className?: string | undefined;
85
- onClick?: ((e: React.MouseEvent<React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)>, MouseEvent>) => void) | undefined;
85
+ onClick?: ((e: React.MouseEvent<React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>, MouseEvent>) => void) | undefined;
86
86
  value?: string | number | undefined;
87
87
  view?: "card" | "simple" | undefined;
88
88
  disabled?: boolean | undefined;
89
89
  hoverable?: boolean | undefined;
90
90
  footer?: React.ReactNode;
91
- }, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)> | null)[];
91
+ }, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | null)[];
92
92
  className?: string | undefined;
93
93
  baseClassName?: string | undefined;
94
94
  } & Pick<React.PropsWithChildren<{
@@ -107,18 +107,18 @@ export declare const Reorderables: {
107
107
  onReorderEnd?: (() => void) | undefined;
108
108
  children: (React.ReactElement<{
109
109
  className?: string | undefined;
110
- onClick?: ((e: React.MouseEvent<React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)>, MouseEvent>) => void) | undefined;
110
+ onClick?: ((e: React.MouseEvent<React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>, MouseEvent>) => void) | undefined;
111
111
  value?: string | number | undefined;
112
112
  view?: "card" | "simple" | undefined;
113
113
  disabled?: boolean | undefined;
114
114
  hoverable?: boolean | undefined;
115
115
  footer?: React.ReactNode;
116
- }, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)> | null)[];
116
+ }, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | null)[];
117
117
  className?: string | undefined;
118
118
  baseClassName?: string | undefined;
119
119
  } & Pick<React.PropsWithChildren<{
120
120
  gap?: "md" | "lg" | "xs" | "sm" | "xl" | undefined;
121
- }>, "gap">): JSX.Element;
121
+ }>, "gap">): React.JSX.Element;
122
122
  args: {
123
123
  hoverable?: boolean | undefined;
124
124
  stretchable?: boolean | undefined;
@@ -130,13 +130,13 @@ export declare const Reorderables: {
130
130
  onReorderEnd?: (() => void) | undefined;
131
131
  children: (React.ReactElement<{
132
132
  className?: string | undefined;
133
- onClick?: ((e: React.MouseEvent<React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)>, MouseEvent>) => void) | undefined;
133
+ onClick?: ((e: React.MouseEvent<React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>, MouseEvent>) => void) | undefined;
134
134
  value?: string | number | undefined;
135
135
  view?: "card" | "simple" | undefined;
136
136
  disabled?: boolean | undefined;
137
137
  hoverable?: boolean | undefined;
138
138
  footer?: React.ReactNode;
139
- }, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)> | null)[];
139
+ }, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | null)[];
140
140
  className?: string | undefined;
141
141
  baseClassName?: string | undefined;
142
142
  } & Pick<React.PropsWithChildren<{
@@ -155,18 +155,18 @@ export declare const Selectables: {
155
155
  onReorderEnd?: (() => void) | undefined;
156
156
  children: (React.ReactElement<{
157
157
  className?: string | undefined;
158
- onClick?: ((e: React.MouseEvent<React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)>, MouseEvent>) => void) | undefined;
158
+ onClick?: ((e: React.MouseEvent<React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>, MouseEvent>) => void) | undefined;
159
159
  value?: string | number | undefined;
160
160
  view?: "card" | "simple" | undefined;
161
161
  disabled?: boolean | undefined;
162
162
  hoverable?: boolean | undefined;
163
163
  footer?: React.ReactNode;
164
- }, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)> | null)[];
164
+ }, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | null)[];
165
165
  className?: string | undefined;
166
166
  baseClassName?: string | undefined;
167
167
  } & Pick<React.PropsWithChildren<{
168
168
  gap?: "md" | "lg" | "xs" | "sm" | "xl" | undefined;
169
- }>, "gap">): JSX.Element;
169
+ }>, "gap">): React.JSX.Element;
170
170
  args: {
171
171
  hoverable?: boolean | undefined;
172
172
  stretchable?: boolean | undefined;
@@ -178,13 +178,13 @@ export declare const Selectables: {
178
178
  onReorderEnd?: (() => void) | undefined;
179
179
  children: (React.ReactElement<{
180
180
  className?: string | undefined;
181
- onClick?: ((e: React.MouseEvent<React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)>, MouseEvent>) => void) | undefined;
181
+ onClick?: ((e: React.MouseEvent<React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>, MouseEvent>) => void) | undefined;
182
182
  value?: string | number | undefined;
183
183
  view?: "card" | "simple" | undefined;
184
184
  disabled?: boolean | undefined;
185
185
  hoverable?: boolean | undefined;
186
186
  footer?: React.ReactNode;
187
- }, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)> | null)[];
187
+ }, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | null)[];
188
188
  className?: string | undefined;
189
189
  baseClassName?: string | undefined;
190
190
  } & Pick<React.PropsWithChildren<{
@@ -203,18 +203,18 @@ export declare const HoverableItemList: {
203
203
  onReorderEnd?: (() => void) | undefined;
204
204
  children: (React.ReactElement<{
205
205
  className?: string | undefined;
206
- onClick?: ((e: React.MouseEvent<React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)>, MouseEvent>) => void) | undefined;
206
+ onClick?: ((e: React.MouseEvent<React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>, MouseEvent>) => void) | undefined;
207
207
  value?: string | number | undefined;
208
208
  view?: "card" | "simple" | undefined;
209
209
  disabled?: boolean | undefined;
210
210
  hoverable?: boolean | undefined;
211
211
  footer?: React.ReactNode;
212
- }, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)> | null)[];
212
+ }, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | null)[];
213
213
  className?: string | undefined;
214
214
  baseClassName?: string | undefined;
215
215
  } & Pick<React.PropsWithChildren<{
216
216
  gap?: "md" | "lg" | "xs" | "sm" | "xl" | undefined;
217
- }>, "gap">): JSX.Element;
217
+ }>, "gap">): React.JSX.Element;
218
218
  args: {
219
219
  hoverable?: boolean | undefined;
220
220
  stretchable?: boolean | undefined;
@@ -226,13 +226,13 @@ export declare const HoverableItemList: {
226
226
  onReorderEnd?: (() => void) | undefined;
227
227
  children: (React.ReactElement<{
228
228
  className?: string | undefined;
229
- onClick?: ((e: React.MouseEvent<React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)>, MouseEvent>) => void) | undefined;
229
+ onClick?: ((e: React.MouseEvent<React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>, MouseEvent>) => void) | undefined;
230
230
  value?: string | number | undefined;
231
231
  view?: "card" | "simple" | undefined;
232
232
  disabled?: boolean | undefined;
233
233
  hoverable?: boolean | undefined;
234
234
  footer?: React.ReactNode;
235
- }, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)> | null)[];
235
+ }, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | null)[];
236
236
  className?: string | undefined;
237
237
  baseClassName?: string | undefined;
238
238
  } & Pick<React.PropsWithChildren<{
@@ -251,18 +251,18 @@ export declare const HoverableItems: {
251
251
  onReorderEnd?: (() => void) | undefined;
252
252
  children: (React.ReactElement<{
253
253
  className?: string | undefined;
254
- onClick?: ((e: React.MouseEvent<React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)>, MouseEvent>) => void) | undefined;
254
+ onClick?: ((e: React.MouseEvent<React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>, MouseEvent>) => void) | undefined;
255
255
  value?: string | number | undefined;
256
256
  view?: "card" | "simple" | undefined;
257
257
  disabled?: boolean | undefined;
258
258
  hoverable?: boolean | undefined;
259
259
  footer?: React.ReactNode;
260
- }, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)> | null)[];
260
+ }, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | null)[];
261
261
  className?: string | undefined;
262
262
  baseClassName?: string | undefined;
263
263
  } & Pick<React.PropsWithChildren<{
264
264
  gap?: "md" | "lg" | "xs" | "sm" | "xl" | undefined;
265
- }>, "gap">): JSX.Element;
265
+ }>, "gap">): React.JSX.Element;
266
266
  args: {
267
267
  hoverable?: boolean | undefined;
268
268
  stretchable?: boolean | undefined;
@@ -274,13 +274,13 @@ export declare const HoverableItems: {
274
274
  onReorderEnd?: (() => void) | undefined;
275
275
  children: (React.ReactElement<{
276
276
  className?: string | undefined;
277
- onClick?: ((e: React.MouseEvent<React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)>, MouseEvent>) => void) | undefined;
277
+ onClick?: ((e: React.MouseEvent<React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>, MouseEvent>) => void) | undefined;
278
278
  value?: string | number | undefined;
279
279
  view?: "card" | "simple" | undefined;
280
280
  disabled?: boolean | undefined;
281
281
  hoverable?: boolean | undefined;
282
282
  footer?: React.ReactNode;
283
- }, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)> | null)[];
283
+ }, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | null)[];
284
284
  className?: string | undefined;
285
285
  baseClassName?: string | undefined;
286
286
  } & Pick<React.PropsWithChildren<{
@@ -1,4 +1,4 @@
1
- import { ReactNode, SyntheticEvent, ComponentType, HTMLProps } from 'react';
1
+ import React, { ReactNode, SyntheticEvent, ComponentType, HTMLProps } from 'react';
2
2
  import './Link.less';
3
3
  export declare type LinkProps<P> = {
4
4
  /**
@@ -43,5 +43,5 @@ export declare type LinkProps<P> = {
43
43
  * `Link` is used for navigation purposes.
44
44
  * @since 1.9.0
45
45
  */
46
- declare const Link: <P>({ baseClassName, className, onClick, disabled, pseudo, component, children, ...other }: LinkProps<P>) => JSX.Element;
46
+ declare const Link: <P>({ baseClassName, className, onClick, disabled, pseudo, component, children, ...other }: LinkProps<P>) => React.JSX.Element;
47
47
  export default Link;
@@ -1,28 +1,29 @@
1
+ import React from 'react';
1
2
  export declare const Basic: {
2
- (args: any): JSX.Element;
3
+ (args: any): React.JSX.Element;
3
4
  args: any;
4
5
  };
5
6
  export declare const Vertical: {
6
- (args: any): JSX.Element;
7
+ (args: any): React.JSX.Element;
7
8
  args: any;
8
9
  };
9
10
  export declare const Nested: {
10
- (args: any): JSX.Element;
11
+ (args: any): React.JSX.Element;
11
12
  args: any;
12
13
  };
13
14
  export declare const NestedFullFeatured: {
14
- (args: any): JSX.Element;
15
+ (args: any): React.JSX.Element;
15
16
  args: any;
16
17
  };
17
18
  export declare const ExpandedList: {
18
- (args: any): JSX.Element;
19
+ (args: any): React.JSX.Element;
19
20
  args: any;
20
21
  };
21
22
  export declare const Reorderable: {
22
- (args: any): JSX.Element;
23
+ (args: any): React.JSX.Element;
23
24
  args: any;
24
25
  };
25
26
  export declare const ReorderableFullFeatured: {
26
- (args: any): JSX.Element;
27
+ (args: any): React.JSX.Element;
27
28
  args: any;
28
29
  };
@@ -1,4 +1,4 @@
1
- import { ReactNode, ReactElement } from 'react';
1
+ import React, { ReactNode, ReactElement } from 'react';
2
2
  import { IconProps } from '../Icon';
3
3
  declare type RenderFn = (props: {
4
4
  wrap: (children: ReactNode) => ReactNode;
@@ -35,5 +35,5 @@ declare type ListActionProps = {
35
35
  * It accepts the props of [Button](#!/Button) and [MenuItem](#!/MenuItem) components.
36
36
  * @since 3.3.0
37
37
  */
38
- declare const ListAction: ({ primary, children, tooltip, ...props }: ListActionProps) => JSX.Element | null;
38
+ declare const ListAction: ({ primary, children, tooltip, ...props }: ListActionProps) => React.JSX.Element | null;
39
39
  export default ListAction;
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import React, { ReactNode } from 'react';
2
2
  import './ListActions.less';
3
3
  declare type ListActionsProps = {
4
4
  /**
@@ -26,5 +26,5 @@ declare type ListActionsProps = {
26
26
  * `ListActions` component is used for performing operations on individual objects in [List](#!/List).
27
27
  * @since 3.3.0
28
28
  */
29
- declare const ListActions: ({ baseClassName, className, children, locale, ...props }: ListActionsProps) => JSX.Element;
29
+ declare const ListActions: ({ baseClassName, className, children, locale, ...props }: ListActionsProps) => React.JSX.Element;
30
30
  export default ListActions;
@@ -6,5 +6,5 @@ import React from 'react';
6
6
  */
7
7
  declare const ListActionsDivider: (props: React.PropsWithChildren<{
8
8
  className?: string | undefined;
9
- }>) => JSX.Element;
9
+ }>) => React.JSX.Element;
10
10
  export default ListActionsDivider;
@@ -1,4 +1,4 @@
1
- import { PureComponent, ReactNode } from 'react';
1
+ import React, { PureComponent, ReactNode } from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  declare type Message = string | Messages;
4
4
  declare type Messages = {
@@ -32,6 +32,6 @@ declare class LocaleProvider extends PureComponent<LocaleProviderProps> {
32
32
  lmsg: Translate;
33
33
  };
34
34
  };
35
- render(): JSX.Element;
35
+ render(): React.JSX.Element;
36
36
  }
37
37
  export default LocaleProvider;
@@ -1,18 +1,19 @@
1
+ import React from 'react';
1
2
  export declare const Basic: {
2
- (args: any): JSX.Element;
3
+ (args: any): React.JSX.Element;
3
4
  args: {
4
- children: JSX.Element[];
5
+ children: React.JSX.Element[];
5
6
  };
6
7
  };
7
8
  export declare const Tooltip: {
8
- (args: any): JSX.Element;
9
+ (args: any): React.JSX.Element;
9
10
  args: {
10
- children: JSX.Element[];
11
+ children: React.JSX.Element[];
11
12
  };
12
13
  };
13
14
  export declare const FullFeatured: {
14
- (args: any): JSX.Element;
15
+ (args: any): React.JSX.Element;
15
16
  args: {
16
- children: JSX.Element[];
17
+ children: React.JSX.Element[];
17
18
  };
18
19
  };
@@ -60,6 +60,6 @@ declare class Panel extends Component<PanelProps, PanelState> {
60
60
  prevPropsCollapsed: boolean | undefined;
61
61
  } | null;
62
62
  handleToggle: (e: React.SyntheticEvent<HTMLElement, MouseEvent>) => void;
63
- render(): JSX.Element;
63
+ render(): React.JSX.Element;
64
64
  }
65
65
  export default Panel;
@@ -1,21 +1,22 @@
1
+ import React from 'react';
1
2
  export declare const Basic: {
2
- (args: any): JSX.Element;
3
+ (args: any): React.JSX.Element;
3
4
  args: {
4
- target: JSX.Element;
5
+ target: React.JSX.Element;
5
6
  children: string;
6
7
  };
7
8
  };
8
9
  export declare const ThreeButtons: {
9
- (args: any): JSX.Element;
10
+ (args: any): React.JSX.Element;
10
11
  args: {
11
- children: JSX.Element;
12
- target: JSX.Element;
12
+ children: React.JSX.Element;
13
+ target: React.JSX.Element;
13
14
  };
14
15
  };
15
16
  export declare const Autofocus: {
16
- (args: any): JSX.Element;
17
+ (args: any): React.JSX.Element;
17
18
  args: {
18
- children: JSX.Element;
19
- target: JSX.Element;
19
+ children: React.JSX.Element;
20
+ target: React.JSX.Element;
20
21
  };
21
22
  };
@@ -14,10 +14,10 @@ export declare const Basic: {
14
14
  defaultValue?: string | number | (string | number)[] | undefined;
15
15
  value?: string | number | (string | number)[] | undefined;
16
16
  onChange?: ((value: string | number | (string | number)[] | undefined) => void) | undefined;
17
- } & Pick<React.HTMLProps<HTMLDivElement>, "max" | "required" | "low" | "high" | "disabled" | "default" | "start" | "open" | "media" | "hidden" | "cite" | "data" | "dir" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "async" | "defer" | "manifest" | "color" | "content" | "wrap" | "multiple" | "key" | "ref" | "children" | "list" | "step" | "target" | "role" | "resource" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "marginHeight" | "marginWidth" | "maxLength" | "mediaGroup" | "method" | "min" | "minLength" | "muted" | "name" | "nonce" | "noValidate" | "optimum" | "placeholder" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "type" | "useMap" | "value" | "width" | "wmode" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "draggable" | "id" | "lang" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture">>): JSX.Element;
17
+ } & Pick<React.HTMLProps<HTMLDivElement>, "max" | "required" | "low" | "high" | "disabled" | "default" | "start" | "open" | "media" | "hidden" | "cite" | "data" | "dir" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "async" | "defer" | "manifest" | "color" | "content" | "wrap" | "multiple" | "height" | "translate" | "width" | "ref" | "children" | "className" | "id" | "lang" | "method" | "min" | "name" | "target" | "type" | "role" | "tabIndex" | "crossOrigin" | "href" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "list" | "classID" | "useMap" | "wmode" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "draggable" | "nonce" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "as" | "hrefLang" | "integrity" | "sizes" | "charSet" | "kind" | "src" | "srcLang" | "value" | "download" | "alt" | "coords" | "shape" | "autoPlay" | "controls" | "loop" | "mediaGroup" | "muted" | "playsInline" | "preload" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "dateTime" | "acceptCharset" | "action" | "autoComplete" | "encType" | "noValidate" | "allowFullScreen" | "allowTransparency" | "frameBorder" | "marginHeight" | "marginWidth" | "sandbox" | "scrolling" | "seamless" | "srcDoc" | "srcSet" | "accept" | "capture" | "checked" | "maxLength" | "minLength" | "readOnly" | "step" | "htmlFor" | "httpEquiv" | "optimum" | "reversed" | "selected" | "scoped" | "cellPadding" | "cellSpacing" | "colSpan" | "headers" | "rowSpan" | "scope" | "cols" | "rows" | "poster" | "challenge" | "keyType" | "keyParams">>): React.JSX.Element;
18
18
  args: {
19
- children: JSX.Element[];
19
+ children: React.JSX.Element[];
20
20
  'data-test': string;
21
21
  };
22
22
  };
23
- export declare const SearchableAtBottom: () => JSX.Element;
23
+ export declare const SearchableAtBottom: () => React.JSX.Element;
@@ -1,10 +1,10 @@
1
1
  import React from 'react';
2
2
  export declare const Basic: {
3
- (args: React.PropsWithChildren<import("./Skeleton").SkeletonProps>): JSX.Element;
3
+ (args: React.PropsWithChildren<import("./Skeleton").SkeletonProps>): React.JSX.Element;
4
4
  args: {};
5
5
  };
6
6
  export declare const CustomSize: {
7
- (args: React.PropsWithChildren<import("./Skeleton").SkeletonProps>): JSX.Element;
7
+ (args: React.PropsWithChildren<import("./Skeleton").SkeletonProps>): React.JSX.Element;
8
8
  args: {
9
9
  width: number;
10
10
  height: number;
@@ -3,4 +3,4 @@ export declare const Basic: (args: React.PropsWithChildren<{
3
3
  count?: number | undefined;
4
4
  className: string;
5
5
  baseClassName: string;
6
- }>) => JSX.Element;
6
+ }>) => React.JSX.Element;
@@ -3,20 +3,20 @@ export declare const Basic: {
3
3
  (args: React.PropsWithChildren<{
4
4
  lines?: number | undefined;
5
5
  lineProps?: import("./Skeleton").SkeletonProps | undefined;
6
- component?: "symbol" | "object" | "big" | "link" | "small" | "sub" | "sup" | "track" | "progress" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "label" | "legend" | "li" | "main" | "map" | "mark" | "menu" | "meta" | "meter" | "nav" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "script" | "section" | "select" | "source" | "span" | "strong" | "style" | "summary" | "table" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "u" | "ul" | "var" | "video" | "wbr" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "stop" | "svg" | "switch" | "text" | "textPath" | "tspan" | "use" | "view" | "menuitem" | "keygen" | "noindex" | "webview" | "animate" | "animateMotion" | "animateTransform" | "feDropShadow" | "mpath" | React.ComponentClass<{}, any> | React.FunctionComponent<{}> | undefined;
6
+ component?: "symbol" | "object" | "big" | "link" | "small" | "sub" | "sup" | "track" | "progress" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "label" | "legend" | "li" | "main" | "map" | "mark" | "menu" | "meta" | "meter" | "nav" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "script" | "section" | "select" | "slot" | "source" | "span" | "strong" | "style" | "summary" | "table" | "tbody" | "td" | "template" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "u" | "ul" | "var" | "video" | "wbr" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "stop" | "svg" | "switch" | "text" | "textPath" | "tspan" | "use" | "view" | "menuitem" | "keygen" | "noindex" | "webview" | "animate" | "animateMotion" | "animateTransform" | "feDropShadow" | "mpath" | React.ComponentClass<{}, any> | React.FunctionComponent<{}> | undefined;
7
7
  baseClassName?: string | undefined;
8
8
  className?: string | undefined;
9
- }>): JSX.Element;
9
+ }>): React.JSX.Element;
10
10
  args: {};
11
11
  };
12
12
  export declare const LinesCount: {
13
13
  (args: React.PropsWithChildren<{
14
14
  lines?: number | undefined;
15
15
  lineProps?: import("./Skeleton").SkeletonProps | undefined;
16
- component?: "symbol" | "object" | "big" | "link" | "small" | "sub" | "sup" | "track" | "progress" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "label" | "legend" | "li" | "main" | "map" | "mark" | "menu" | "meta" | "meter" | "nav" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "script" | "section" | "select" | "source" | "span" | "strong" | "style" | "summary" | "table" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "u" | "ul" | "var" | "video" | "wbr" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "stop" | "svg" | "switch" | "text" | "textPath" | "tspan" | "use" | "view" | "menuitem" | "keygen" | "noindex" | "webview" | "animate" | "animateMotion" | "animateTransform" | "feDropShadow" | "mpath" | React.ComponentClass<{}, any> | React.FunctionComponent<{}> | undefined;
16
+ component?: "symbol" | "object" | "big" | "link" | "small" | "sub" | "sup" | "track" | "progress" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "label" | "legend" | "li" | "main" | "map" | "mark" | "menu" | "meta" | "meter" | "nav" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "script" | "section" | "select" | "slot" | "source" | "span" | "strong" | "style" | "summary" | "table" | "tbody" | "td" | "template" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "u" | "ul" | "var" | "video" | "wbr" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "stop" | "svg" | "switch" | "text" | "textPath" | "tspan" | "use" | "view" | "menuitem" | "keygen" | "noindex" | "webview" | "animate" | "animateMotion" | "animateTransform" | "feDropShadow" | "mpath" | React.ComponentClass<{}, any> | React.FunctionComponent<{}> | undefined;
17
17
  baseClassName?: string | undefined;
18
18
  className?: string | undefined;
19
- }>): JSX.Element;
19
+ }>): React.JSX.Element;
20
20
  args: {
21
21
  lines: number;
22
22
  };
@@ -25,10 +25,10 @@ export declare const Custom: {
25
25
  (args: React.PropsWithChildren<{
26
26
  lines?: number | undefined;
27
27
  lineProps?: import("./Skeleton").SkeletonProps | undefined;
28
- component?: "symbol" | "object" | "big" | "link" | "small" | "sub" | "sup" | "track" | "progress" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "label" | "legend" | "li" | "main" | "map" | "mark" | "menu" | "meta" | "meter" | "nav" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "script" | "section" | "select" | "source" | "span" | "strong" | "style" | "summary" | "table" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "u" | "ul" | "var" | "video" | "wbr" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "stop" | "svg" | "switch" | "text" | "textPath" | "tspan" | "use" | "view" | "menuitem" | "keygen" | "noindex" | "webview" | "animate" | "animateMotion" | "animateTransform" | "feDropShadow" | "mpath" | React.ComponentClass<{}, any> | React.FunctionComponent<{}> | undefined;
28
+ component?: "symbol" | "object" | "big" | "link" | "small" | "sub" | "sup" | "track" | "progress" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "label" | "legend" | "li" | "main" | "map" | "mark" | "menu" | "meta" | "meter" | "nav" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "script" | "section" | "select" | "slot" | "source" | "span" | "strong" | "style" | "summary" | "table" | "tbody" | "td" | "template" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "u" | "ul" | "var" | "video" | "wbr" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "stop" | "svg" | "switch" | "text" | "textPath" | "tspan" | "use" | "view" | "menuitem" | "keygen" | "noindex" | "webview" | "animate" | "animateMotion" | "animateTransform" | "feDropShadow" | "mpath" | React.ComponentClass<{}, any> | React.FunctionComponent<{}> | undefined;
29
29
  baseClassName?: string | undefined;
30
30
  className?: string | undefined;
31
- }>): JSX.Element;
31
+ }>): React.JSX.Element;
32
32
  args: {
33
33
  lines: number;
34
34
  lineProps: {
@@ -1,4 +1,4 @@
1
- import { ReactElement, ReactNode } from 'react';
1
+ import React, { ReactElement, ReactNode } from 'react';
2
2
  declare type SpotProps = {
3
3
  /**
4
4
  * A css selector for the node that should be highlighted.
@@ -66,5 +66,5 @@ declare type SpotProps = {
66
66
  * The component can be used to attract the user's attention to a specific element on the page.
67
67
  * @since 3.0.1
68
68
  */
69
- declare const Spot: ({ selector, popup, meta, placement, ...props }: SpotProps) => JSX.Element | null;
69
+ declare const Spot: ({ selector, popup, meta, placement, ...props }: SpotProps) => React.JSX.Element | null;
70
70
  export default Spot;
@@ -1,4 +1,4 @@
1
- import { ReactElement, ReactNode, RefObject } from 'react';
1
+ import React, { ReactElement, ReactNode, RefObject } from 'react';
2
2
  import SpotPulsar from './SpotPulsar';
3
3
  import './SpotPopup.less';
4
4
  declare type SpotPopupProps = {
@@ -21,5 +21,5 @@ declare type SpotPopupProps = {
21
21
  };
22
22
  onClose?: () => void;
23
23
  };
24
- declare const SpotPopup: ({ baseClassName, className, pulsar, pulsarRef, title, placement, image, children, buttons, meta, onClose, size, locale, ...props }: SpotPopupProps) => JSX.Element;
24
+ declare const SpotPopup: ({ baseClassName, className, pulsar, pulsarRef, title, placement, image, children, buttons, meta, onClose, size, locale, ...props }: SpotPopupProps) => React.JSX.Element;
25
25
  export default SpotPopup;
@@ -1,4 +1,4 @@
1
- import { Component, MutableRefObject, ReactElement } from 'react';
1
+ import React, { Component, MutableRefObject, ReactElement } from 'react';
2
2
  declare type SqueezerProps = {
3
3
  children: ({ ref }: {
4
4
  ref: (el: Element | null) => void;
@@ -17,6 +17,6 @@ declare class Squeezer extends Component<SqueezerProps> {
17
17
  measure(force?: boolean): void;
18
18
  check(force?: boolean): void;
19
19
  handleResize: () => void;
20
- render(): JSX.Element;
20
+ render(): React.JSX.Element;
21
21
  }
22
22
  export default Squeezer;