@youversion/design-system-components 1.18.3 → 2.1.0

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 (240) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/index.es.js +244 -242
  3. package/dist/index.umd.js +2 -2
  4. package/dist/src/AutocompleteSelect/AutocompleteSelect.d.ts +0 -1
  5. package/dist/src/AutocompleteSelect/AutocompleteSelect.d.ts.map +1 -1
  6. package/dist/src/AutocompleteSelect/AutocompleteSelect.stories.d.ts +4 -4
  7. package/dist/src/AutocompleteSelect/AutocompleteSelect.stories.d.ts.map +1 -1
  8. package/dist/src/Banner/Banner.d.ts +13 -13
  9. package/dist/src/Banner/Banner.d.ts.map +1 -1
  10. package/dist/src/Banner/Banner.stories.d.ts +7 -7
  11. package/dist/src/Banner/Banner.stories.d.ts.map +1 -1
  12. package/dist/src/Box/Box.stories.d.ts +4 -3
  13. package/dist/src/Box/Box.stories.d.ts.map +1 -1
  14. package/dist/src/Breadcrumb/Breadcrumb.d.ts +1 -2
  15. package/dist/src/Breadcrumb/Breadcrumb.d.ts.map +1 -1
  16. package/dist/src/Breadcrumb/Breadcrumb.stories.d.ts +9 -7
  17. package/dist/src/Breadcrumb/Breadcrumb.stories.d.ts.map +1 -1
  18. package/dist/src/Breadcrumb/Breadcrumbs.d.ts +0 -1
  19. package/dist/src/Breadcrumb/Breadcrumbs.d.ts.map +1 -1
  20. package/dist/src/Button/Button.d.ts +1 -1
  21. package/dist/src/Button/Button.d.ts.map +1 -1
  22. package/dist/src/Button/Button.stories.d.ts +3 -4
  23. package/dist/src/Button/Button.stories.d.ts.map +1 -1
  24. package/dist/src/Checkbox/Checkbox.d.ts +0 -1
  25. package/dist/src/Checkbox/Checkbox.d.ts.map +1 -1
  26. package/dist/src/Checkbox/Checkbox.stories.d.ts +7 -6
  27. package/dist/src/Checkbox/Checkbox.stories.d.ts.map +1 -1
  28. package/dist/src/ColorSelect/ColorSelect.stories.d.ts +6 -4
  29. package/dist/src/ColorSelect/ColorSelect.stories.d.ts.map +1 -1
  30. package/dist/src/DataTable/DataTable.d.ts +35 -35
  31. package/dist/src/DataTable/DataTable.d.ts.map +1 -1
  32. package/dist/src/DataTable/DataTable.stories.d.ts +783 -826
  33. package/dist/src/DataTable/DataTable.stories.d.ts.map +1 -1
  34. package/dist/src/DataTable/DataTableBody.d.ts +1 -1
  35. package/dist/src/DataTable/DataTableBody.d.ts.map +1 -1
  36. package/dist/src/DataTable/DataTableCell.d.ts +1 -1
  37. package/dist/src/DataTable/DataTableCell.d.ts.map +1 -1
  38. package/dist/src/DataTable/DataTableCellContent.d.ts +1 -1
  39. package/dist/src/DataTable/DataTableCellContent.d.ts.map +1 -1
  40. package/dist/src/DataTable/DataTableHead.d.ts +1 -1
  41. package/dist/src/DataTable/DataTableHead.d.ts.map +1 -1
  42. package/dist/src/DataTable/DataTableHeader.d.ts +1 -1
  43. package/dist/src/DataTable/DataTableHeader.d.ts.map +1 -1
  44. package/dist/src/DataTable/DataTableRow.d.ts +1 -1
  45. package/dist/src/DataTable/DataTableRow.d.ts.map +1 -1
  46. package/dist/src/DataTableContainer/DataTableContainer.d.ts +6 -6
  47. package/dist/src/DataTableContainer/DataTableContainer.d.ts.map +1 -1
  48. package/dist/src/DataTableContainer/DataTableContainer.stories.d.ts +31 -37
  49. package/dist/src/DataTableContainer/DataTableContainer.stories.d.ts.map +1 -1
  50. package/dist/src/Dialog/Dialog.stories.d.ts +3 -4
  51. package/dist/src/Dialog/Dialog.stories.d.ts.map +1 -1
  52. package/dist/src/Divider/Divider.d.ts +1 -1
  53. package/dist/src/Divider/Divider.d.ts.map +1 -1
  54. package/dist/src/Divider/Divider.stories.d.ts +4 -3
  55. package/dist/src/Divider/Divider.stories.d.ts.map +1 -1
  56. package/dist/src/Dropdown/Dropdown.stories.d.ts +7 -7
  57. package/dist/src/Dropdown/Dropdown.stories.d.ts.map +1 -1
  58. package/dist/src/Dropdown/DropdownOption.d.ts +1 -1
  59. package/dist/src/Dropdown/DropdownOption.d.ts.map +1 -1
  60. package/dist/src/EditableWell/EditableWell.stories.d.ts +6 -4
  61. package/dist/src/EditableWell/EditableWell.stories.d.ts.map +1 -1
  62. package/dist/src/FauxPhone/FauxPhone.stories.d.ts +3 -3
  63. package/dist/src/FauxPhone/FauxPhone.stories.d.ts.map +1 -1
  64. package/dist/src/FeatureWell/FeatureWell.d.ts +1 -1
  65. package/dist/src/FeatureWell/FeatureWell.d.ts.map +1 -1
  66. package/dist/src/FeatureWell/FeatureWell.stories.d.ts +3 -3
  67. package/dist/src/FeatureWell/FeatureWell.stories.d.ts.map +1 -1
  68. package/dist/src/FeatureWell/FeatureWellButton.d.ts +1 -1
  69. package/dist/src/FeatureWell/FeatureWellButton.d.ts.map +1 -1
  70. package/dist/src/FeatureWell/FeatureWellColumn.d.ts +1 -1
  71. package/dist/src/FeatureWell/FeatureWellColumn.d.ts.map +1 -1
  72. package/dist/src/FeatureWell/FeatureWellImage.d.ts +1 -1
  73. package/dist/src/FeatureWell/FeatureWellImage.d.ts.map +1 -1
  74. package/dist/src/FeatureWell/FeatureWellText.d.ts +1 -1
  75. package/dist/src/FeatureWell/FeatureWellText.d.ts.map +1 -1
  76. package/dist/src/FileUpload/FileUpload.stories.d.ts +4 -4
  77. package/dist/src/FileUpload/FileUpload.stories.d.ts.map +1 -1
  78. package/dist/src/FocusTrap/FocusTrap.d.ts +1 -1
  79. package/dist/src/FocusTrap/FocusTrap.d.ts.map +1 -1
  80. package/dist/src/Grid/Grid.stories.d.ts +4 -2
  81. package/dist/src/Grid/Grid.stories.d.ts.map +1 -1
  82. package/dist/src/HorizontalLoader/HorizontalLoader.d.ts +1 -1
  83. package/dist/src/HorizontalLoader/HorizontalLoader.d.ts.map +1 -1
  84. package/dist/src/HorizontalLoader/HorizontalLoader.stories.d.ts +4 -2
  85. package/dist/src/HorizontalLoader/HorizontalLoader.stories.d.ts.map +1 -1
  86. package/dist/src/IconButton/IconButton.stories.d.ts +3 -4
  87. package/dist/src/IconButton/IconButton.stories.d.ts.map +1 -1
  88. package/dist/src/IconLinkButton/IconLinkButton.stories.d.ts +5 -4
  89. package/dist/src/IconLinkButton/IconLinkButton.stories.d.ts.map +1 -1
  90. package/dist/src/ImageUpload/ImageUpload.stories.d.ts +9 -8
  91. package/dist/src/ImageUpload/ImageUpload.stories.d.ts.map +1 -1
  92. package/dist/src/Input/Input.d.ts +0 -1
  93. package/dist/src/Input/Input.d.ts.map +1 -1
  94. package/dist/src/Input/Input.stories.d.ts +7869 -14
  95. package/dist/src/Input/Input.stories.d.ts.map +1 -1
  96. package/dist/src/LinkButton/LinkButton.d.ts +1 -1
  97. package/dist/src/LinkButton/LinkButton.d.ts.map +1 -1
  98. package/dist/src/LinkButton/LinkButton.stories.d.ts +4 -3
  99. package/dist/src/LinkButton/LinkButton.stories.d.ts.map +1 -1
  100. package/dist/src/List/List.stories.d.ts +17 -16
  101. package/dist/src/List/List.stories.d.ts.map +1 -1
  102. package/dist/src/ListItem/ListItem.d.ts +2 -2
  103. package/dist/src/ListItem/ListItem.d.ts.map +1 -1
  104. package/dist/src/ListItem/ListItem.stories.d.ts +21 -22
  105. package/dist/src/ListItem/ListItem.stories.d.ts.map +1 -1
  106. package/dist/src/ListItemActions/ListItemActions.d.ts +1 -2
  107. package/dist/src/ListItemActions/ListItemActions.d.ts.map +1 -1
  108. package/dist/src/ListItemContent/ListItemContent.d.ts +1 -2
  109. package/dist/src/ListItemContent/ListItemContent.d.ts.map +1 -1
  110. package/dist/src/ListItemOrderMarker/ListItemOrderMarker.d.ts +1 -1
  111. package/dist/src/ListItemOrderMarker/ListItemOrderMarker.d.ts.map +1 -1
  112. package/dist/src/ListItemText/ListItemText.d.ts +1 -1
  113. package/dist/src/ListItemText/ListItemText.d.ts.map +1 -1
  114. package/dist/src/ListItemText/ListItemText.stories.d.ts +7 -5
  115. package/dist/src/ListItemText/ListItemText.stories.d.ts.map +1 -1
  116. package/dist/src/LoadingSpinner/LoadingSpinner.d.ts +1 -2
  117. package/dist/src/LoadingSpinner/LoadingSpinner.d.ts.map +1 -1
  118. package/dist/src/LoadingSpinner/LoadingSpinner.stories.d.ts +7 -0
  119. package/dist/src/LoadingSpinner/LoadingSpinner.stories.d.ts.map +1 -0
  120. package/dist/src/Navs/Navs.stories.d.ts +1 -1
  121. package/dist/src/Navs/Navs.stories.d.ts.map +1 -1
  122. package/dist/src/PageTitle/PageTitle.d.ts +1 -1
  123. package/dist/src/PageTitle/PageTitle.d.ts.map +1 -1
  124. package/dist/src/PageTitle/PageTitle.stories.d.ts +8 -6
  125. package/dist/src/PageTitle/PageTitle.stories.d.ts.map +1 -1
  126. package/dist/src/Pagination/Pagination.d.ts +1 -1
  127. package/dist/src/Pagination/Pagination.d.ts.map +1 -1
  128. package/dist/src/Pagination/Pagination.stories.d.ts +2 -2
  129. package/dist/src/Pagination/Pagination.stories.d.ts.map +1 -1
  130. package/dist/src/Popover/Popover.d.ts +1 -1
  131. package/dist/src/Popover/Popover.d.ts.map +1 -1
  132. package/dist/src/Popover/Popover.stories.d.ts +4 -2
  133. package/dist/src/Popover/Popover.stories.d.ts.map +1 -1
  134. package/dist/src/PopoverBody/PopoverBody.d.ts +1 -1
  135. package/dist/src/PopoverBody/PopoverBody.d.ts.map +1 -1
  136. package/dist/src/PopoverBody/PopoverBodyContents.d.ts +1 -1
  137. package/dist/src/PopoverBody/PopoverBodyContents.d.ts.map +1 -1
  138. package/dist/src/PopoverBody/PopoverBodyWrapper.d.ts +1 -2
  139. package/dist/src/PopoverBody/PopoverBodyWrapper.d.ts.map +1 -1
  140. package/dist/src/PopoverTrigger/PopoverTrigger.d.ts +1 -2
  141. package/dist/src/PopoverTrigger/PopoverTrigger.d.ts.map +1 -1
  142. package/dist/src/RadioSet/RadioSet.d.ts +0 -1
  143. package/dist/src/RadioSet/RadioSet.d.ts.map +1 -1
  144. package/dist/src/RadioSet/RadioSet.stories.d.ts +6 -5
  145. package/dist/src/RadioSet/RadioSet.stories.d.ts.map +1 -1
  146. package/dist/src/RadioSet/RadioSetItem.stories.d.ts +6 -5
  147. package/dist/src/RadioSet/RadioSetItem.stories.d.ts.map +1 -1
  148. package/dist/src/Search/Search.d.ts +0 -1
  149. package/dist/src/Search/Search.d.ts.map +1 -1
  150. package/dist/src/Search/Search.stories.d.ts +4551 -9
  151. package/dist/src/Search/Search.stories.d.ts.map +1 -1
  152. package/dist/src/SearchableSelect/SearchableSelect.d.ts +0 -1
  153. package/dist/src/SearchableSelect/SearchableSelect.d.ts.map +1 -1
  154. package/dist/src/SearchableSelect/SearchableSelect.stories.d.ts +2 -2
  155. package/dist/src/SearchableSelect/SearchableSelect.stories.d.ts.map +1 -1
  156. package/dist/src/SegmentedControl/SegmentedControl.d.ts +0 -1
  157. package/dist/src/SegmentedControl/SegmentedControl.d.ts.map +1 -1
  158. package/dist/src/SegmentedControl/SegmentedControl.stories.d.ts +5 -4
  159. package/dist/src/SegmentedControl/SegmentedControl.stories.d.ts.map +1 -1
  160. package/dist/src/SegmentedControl/SegmentedControlItem.d.ts +1 -1
  161. package/dist/src/SegmentedControl/SegmentedControlItem.d.ts.map +1 -1
  162. package/dist/src/Select/Option.d.ts +1 -1
  163. package/dist/src/Select/Option.d.ts.map +1 -1
  164. package/dist/src/Select/Select.stories.d.ts +18 -17
  165. package/dist/src/Select/Select.stories.d.ts.map +1 -1
  166. package/dist/src/SideNav/SideNav.d.ts +16 -17
  167. package/dist/src/SideNav/SideNav.d.ts.map +1 -1
  168. package/dist/src/SideNav/SideNav.stories.d.ts +5 -4
  169. package/dist/src/SideNav/SideNav.stories.d.ts.map +1 -1
  170. package/dist/src/SideNav/SideNavContent.d.ts +0 -1
  171. package/dist/src/SideNav/SideNavContent.d.ts.map +1 -1
  172. package/dist/src/SideNav/SideNavFooter.d.ts +0 -1
  173. package/dist/src/SideNav/SideNavFooter.d.ts.map +1 -1
  174. package/dist/src/SideNav/SideNavGroup.d.ts +0 -1
  175. package/dist/src/SideNav/SideNavGroup.d.ts.map +1 -1
  176. package/dist/src/SideNav/SideNavGroupDivider.d.ts +1 -1
  177. package/dist/src/SideNav/SideNavGroupLabel.d.ts +0 -1
  178. package/dist/src/SideNav/SideNavGroupLabel.d.ts.map +1 -1
  179. package/dist/src/SideNav/SideNavHeader.d.ts +0 -1
  180. package/dist/src/SideNav/SideNavHeader.d.ts.map +1 -1
  181. package/dist/src/SideNav/SideNavItem.d.ts +1 -1
  182. package/dist/src/SideNav/SideNavItemIcon.d.ts +1 -1
  183. package/dist/src/SideNav/SideNavItems.d.ts +0 -1
  184. package/dist/src/SideNav/SideNavItems.d.ts.map +1 -1
  185. package/dist/src/Switch/Switch.stories.d.ts +4 -2
  186. package/dist/src/Switch/Switch.stories.d.ts.map +1 -1
  187. package/dist/src/Tab/Tab.stories.d.ts +7 -0
  188. package/dist/src/Tab/Tab.stories.d.ts.map +1 -0
  189. package/dist/src/TabBar/TabBar.d.ts +1 -1
  190. package/dist/src/TabBar/TabBar.d.ts.map +1 -1
  191. package/dist/src/TabBar/TabBar.stories.d.ts +6 -0
  192. package/dist/src/TabBar/TabBar.stories.d.ts.map +1 -0
  193. package/dist/src/TabBar/TabBarItem.d.ts +1 -1
  194. package/dist/src/TabBar/TabBarItem.d.ts.map +1 -1
  195. package/dist/src/Table/Table.d.ts +1 -1
  196. package/dist/src/Table/Table.d.ts.map +1 -1
  197. package/dist/src/Table/Table.stories.d.ts +3 -2
  198. package/dist/src/Table/Table.stories.d.ts.map +1 -1
  199. package/dist/src/Tabs/TabPanel.d.ts +1 -1
  200. package/dist/src/Tabs/TabPanel.d.ts.map +1 -1
  201. package/dist/src/Tabs/Tabs.stories.d.ts +1 -1
  202. package/dist/src/Tabs/Tabs.stories.d.ts.map +1 -1
  203. package/dist/src/Tag/Tag.d.ts +1 -1
  204. package/dist/src/Tag/Tag.d.ts.map +1 -1
  205. package/dist/src/Tag/Tag.stories.d.ts +63 -4
  206. package/dist/src/Tag/Tag.stories.d.ts.map +1 -1
  207. package/dist/src/TextArea/TextArea.d.ts +0 -1
  208. package/dist/src/TextArea/TextArea.d.ts.map +1 -1
  209. package/dist/src/TextArea/TextArea.stories.d.ts +4941 -10
  210. package/dist/src/TextArea/TextArea.stories.d.ts.map +1 -1
  211. package/dist/src/TimePicker/TimePicker.stories.d.ts +6 -5
  212. package/dist/src/TimePicker/TimePicker.stories.d.ts.map +1 -1
  213. package/dist/src/Toast/Toast.stories.d.ts +8 -8
  214. package/dist/src/Toast/Toast.stories.d.ts.map +1 -1
  215. package/dist/src/Tooltip/Tooltip.d.ts +1 -1
  216. package/dist/src/Tooltip/Tooltip.d.ts.map +1 -1
  217. package/dist/src/Tooltip/Tooltip.stories.d.ts +4 -2
  218. package/dist/src/Tooltip/Tooltip.stories.d.ts.map +1 -1
  219. package/dist/src/Typography/Heading/Heading.d.ts +0 -1
  220. package/dist/src/Typography/Heading/Heading.d.ts.map +1 -1
  221. package/dist/src/Typography/Heading/Heading.stories.d.ts +4 -3
  222. package/dist/src/Typography/Heading/Heading.stories.d.ts.map +1 -1
  223. package/dist/src/Typography/Text/Text.d.ts +0 -1
  224. package/dist/src/Typography/Text/Text.d.ts.map +1 -1
  225. package/dist/src/Typography/Text/Text.stories.d.ts +4 -3
  226. package/dist/src/Typography/Text/Text.stories.d.ts.map +1 -1
  227. package/dist/src/UserProfileButton/UserProfileButton.stories.d.ts +8 -7
  228. package/dist/src/UserProfileButton/UserProfileButton.stories.d.ts.map +1 -1
  229. package/dist/src/hooks/useCombinedRefs.d.ts.map +1 -1
  230. package/dist/src/hooks/useOnClickOutside.d.ts +3 -3
  231. package/dist/src/hooks/useOnClickOutside.d.ts.map +1 -1
  232. package/dist/src/test-utils/test-utils.d.ts +1 -1
  233. package/dist/src/test-utils/test-utils.d.ts.map +1 -1
  234. package/dist/src/utils/get-resolved-dark-mode-value.d.ts +1 -1
  235. package/dist/src/utils/get-resolved-dark-mode-value.d.ts.map +1 -1
  236. package/dist/src/utils/get-resolved-logical-property.d.ts +1 -1
  237. package/dist/src/utils/get-resolved-logical-property.d.ts.map +1 -1
  238. package/dist/src/utils/storybook-helpers.d.ts +64 -0
  239. package/dist/src/utils/storybook-helpers.d.ts.map +1 -0
  240. package/package.json +18 -16
@@ -1,928 +1,885 @@
1
- /// <reference types="react" />
2
- import { SortingOrder, SortSettings } from './DataTable';
3
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("react").HTMLAttributes<HTMLTableElement> & {
4
- columns: import("./DataTable").DataTableColumn[];
5
- handleSort?: ((columnIndex: string, order: SortingOrder) => void) | undefined;
6
- isBordered?: boolean | undefined;
7
- isColumnsBordered?: boolean | undefined;
8
- isHeaderDisplayed?: boolean | undefined;
9
- isHoverable?: boolean | undefined;
10
- isLoading?: boolean | undefined;
11
- isOrdered?: boolean | undefined;
12
- isRowsBordered?: boolean | undefined;
13
- isStriped?: boolean | undefined;
14
- minHeight?: string | undefined;
15
- noDataComponent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
16
- noDataText?: string | undefined;
17
- outerClassNames?: string | undefined;
18
- paginationClassNames?: string | undefined;
19
- paginationData?: {
20
- currentPage: string | number;
21
- handlePaginationChange: (value?: string | number | undefined) => void;
22
- totalRowsCount: number;
23
- } | undefined;
24
- rowEndIcon?: {
25
- component?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
26
- onClick?: ((rowIndex: number) => void) | undefined;
27
- size?: string | number | undefined;
28
- wrapperClassNames?: string | undefined;
29
- } | undefined;
30
- rowHoverStyles?: string | undefined;
31
- rowImageClassNames?: string | undefined;
32
- rowItems: import("./DataTable").RowItem[];
33
- rowsPerPage?: number | undefined;
34
- selectedPaginationClassNames?: string | undefined;
35
- sortSettings?: SortSettings | undefined;
36
- stripedRowsStyles?: string[] | undefined;
37
- tableClassNames?: string | undefined;
38
- tbodyClassNames?: string | undefined;
39
- tdClassNames?: string | undefined;
40
- thClassNames?: string | undefined;
41
- thTextClassNames?: string | undefined;
42
- theadClassNames?: string | undefined;
43
- trClassNames?: string | undefined;
44
- variant?: import("./DataTable").TableVariant | undefined;
45
- viewMoreButton?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
46
- } & import("react").RefAttributes<HTMLTableElement>>;
1
+ import { Meta } from '@storybook/react';
2
+ import { DataItem, DataTable, SortingOrder, SortSettings } from './DataTable';
3
+ declare const _default: Meta<typeof DataTable>;
47
4
  export default _default;
48
- export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("react").HTMLAttributes<HTMLTableElement> & {
49
- columns: import("./DataTable").DataTableColumn[];
50
- handleSort?: ((columnIndex: string, order: SortingOrder) => void) | undefined;
51
- isBordered?: boolean | undefined;
52
- isColumnsBordered?: boolean | undefined;
53
- isHeaderDisplayed?: boolean | undefined;
54
- isHoverable?: boolean | undefined;
55
- isLoading?: boolean | undefined;
56
- isOrdered?: boolean | undefined;
57
- isRowsBordered?: boolean | undefined;
58
- isStriped?: boolean | undefined;
59
- minHeight?: string | undefined;
60
- noDataComponent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
61
- noDataText?: string | undefined;
62
- outerClassNames?: string | undefined;
63
- paginationClassNames?: string | undefined;
5
+ export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("react").HTMLAttributes<HTMLTableElement> & {
6
+ columns: Array<import("./DataTable").DataTableColumn>;
7
+ handleSort?: (columnIndex: keyof DataItem, order: SortingOrder) => void;
8
+ isBordered?: boolean;
9
+ isColumnsBordered?: boolean;
10
+ isHeaderDisplayed?: boolean;
11
+ isHoverable?: boolean;
12
+ isLoading?: boolean;
13
+ isOrdered?: boolean;
14
+ isRowsBordered?: boolean;
15
+ isStriped?: boolean;
16
+ minHeight?: string;
17
+ noDataComponent?: import("react").ReactElement;
18
+ noDataText?: string;
19
+ outerClassNames?: string;
20
+ paginationClassNames?: string;
64
21
  paginationData?: {
65
22
  currentPage: string | number;
66
- handlePaginationChange: (value?: string | number | undefined) => void;
23
+ handlePaginationChange: (value?: string | number) => void;
67
24
  totalRowsCount: number;
68
- } | undefined;
25
+ };
69
26
  rowEndIcon?: {
70
- component?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
71
- onClick?: ((rowIndex: number) => void) | undefined;
72
- size?: string | number | undefined;
73
- wrapperClassNames?: string | undefined;
74
- } | undefined;
75
- rowHoverStyles?: string | undefined;
76
- rowImageClassNames?: string | undefined;
77
- rowItems: import("./DataTable").RowItem[];
78
- rowsPerPage?: number | undefined;
79
- selectedPaginationClassNames?: string | undefined;
80
- sortSettings?: SortSettings | undefined;
81
- stripedRowsStyles?: string[] | undefined;
82
- tableClassNames?: string | undefined;
83
- tbodyClassNames?: string | undefined;
84
- tdClassNames?: string | undefined;
85
- thClassNames?: string | undefined;
86
- thTextClassNames?: string | undefined;
87
- theadClassNames?: string | undefined;
88
- trClassNames?: string | undefined;
89
- variant?: import("./DataTable").TableVariant | undefined;
90
- viewMoreButton?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
27
+ component?: import("react").ReactElement;
28
+ onClick?: (rowIndex: number) => void;
29
+ size?: number | string;
30
+ wrapperClassNames?: string;
31
+ };
32
+ rowHoverStyles?: string;
33
+ rowImageClassNames?: string;
34
+ rowItems: Array<import("./DataTable").RowItem>;
35
+ rowsPerPage?: number;
36
+ selectedPaginationClassNames?: string;
37
+ sortSettings?: SortSettings;
38
+ stripedRowsStyles?: Array<string>;
39
+ tableClassNames?: string;
40
+ tbodyClassNames?: string;
41
+ tdClassNames?: string;
42
+ thClassNames?: string;
43
+ thTextClassNames?: string;
44
+ theadClassNames?: string;
45
+ trClassNames?: string;
46
+ variant?: import("./DataTable").TableVariant;
47
+ viewMoreButton?: import("react").ReactElement;
91
48
  } & import("react").RefAttributes<HTMLTableElement>>;
92
- export declare const WithStatsStyles: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("react").HTMLAttributes<HTMLTableElement> & {
93
- columns: import("./DataTable").DataTableColumn[];
94
- handleSort?: ((columnIndex: string, order: SortingOrder) => void) | undefined;
95
- isBordered?: boolean | undefined;
96
- isColumnsBordered?: boolean | undefined;
97
- isHeaderDisplayed?: boolean | undefined;
98
- isHoverable?: boolean | undefined;
99
- isLoading?: boolean | undefined;
100
- isOrdered?: boolean | undefined;
101
- isRowsBordered?: boolean | undefined;
102
- isStriped?: boolean | undefined;
103
- minHeight?: string | undefined;
104
- noDataComponent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
105
- noDataText?: string | undefined;
106
- outerClassNames?: string | undefined;
107
- paginationClassNames?: string | undefined;
49
+ export declare const WithStatsStyles: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("react").HTMLAttributes<HTMLTableElement> & {
50
+ columns: Array<import("./DataTable").DataTableColumn>;
51
+ handleSort?: (columnIndex: keyof DataItem, order: SortingOrder) => void;
52
+ isBordered?: boolean;
53
+ isColumnsBordered?: boolean;
54
+ isHeaderDisplayed?: boolean;
55
+ isHoverable?: boolean;
56
+ isLoading?: boolean;
57
+ isOrdered?: boolean;
58
+ isRowsBordered?: boolean;
59
+ isStriped?: boolean;
60
+ minHeight?: string;
61
+ noDataComponent?: import("react").ReactElement;
62
+ noDataText?: string;
63
+ outerClassNames?: string;
64
+ paginationClassNames?: string;
108
65
  paginationData?: {
109
66
  currentPage: string | number;
110
- handlePaginationChange: (value?: string | number | undefined) => void;
67
+ handlePaginationChange: (value?: string | number) => void;
111
68
  totalRowsCount: number;
112
- } | undefined;
69
+ };
113
70
  rowEndIcon?: {
114
- component?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
115
- onClick?: ((rowIndex: number) => void) | undefined;
116
- size?: string | number | undefined;
117
- wrapperClassNames?: string | undefined;
118
- } | undefined;
119
- rowHoverStyles?: string | undefined;
120
- rowImageClassNames?: string | undefined;
121
- rowItems: import("./DataTable").RowItem[];
122
- rowsPerPage?: number | undefined;
123
- selectedPaginationClassNames?: string | undefined;
124
- sortSettings?: SortSettings | undefined;
125
- stripedRowsStyles?: string[] | undefined;
126
- tableClassNames?: string | undefined;
127
- tbodyClassNames?: string | undefined;
128
- tdClassNames?: string | undefined;
129
- thClassNames?: string | undefined;
130
- thTextClassNames?: string | undefined;
131
- theadClassNames?: string | undefined;
132
- trClassNames?: string | undefined;
133
- variant?: import("./DataTable").TableVariant | undefined;
134
- viewMoreButton?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
71
+ component?: import("react").ReactElement;
72
+ onClick?: (rowIndex: number) => void;
73
+ size?: number | string;
74
+ wrapperClassNames?: string;
75
+ };
76
+ rowHoverStyles?: string;
77
+ rowImageClassNames?: string;
78
+ rowItems: Array<import("./DataTable").RowItem>;
79
+ rowsPerPage?: number;
80
+ selectedPaginationClassNames?: string;
81
+ sortSettings?: SortSettings;
82
+ stripedRowsStyles?: Array<string>;
83
+ tableClassNames?: string;
84
+ tbodyClassNames?: string;
85
+ tdClassNames?: string;
86
+ thClassNames?: string;
87
+ thTextClassNames?: string;
88
+ theadClassNames?: string;
89
+ trClassNames?: string;
90
+ variant?: import("./DataTable").TableVariant;
91
+ viewMoreButton?: import("react").ReactElement;
135
92
  } & import("react").RefAttributes<HTMLTableElement>>;
136
- export declare const WithClassicStyles: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("react").HTMLAttributes<HTMLTableElement> & {
137
- columns: import("./DataTable").DataTableColumn[];
138
- handleSort?: ((columnIndex: string, order: SortingOrder) => void) | undefined;
139
- isBordered?: boolean | undefined;
140
- isColumnsBordered?: boolean | undefined;
141
- isHeaderDisplayed?: boolean | undefined;
142
- isHoverable?: boolean | undefined;
143
- isLoading?: boolean | undefined;
144
- isOrdered?: boolean | undefined;
145
- isRowsBordered?: boolean | undefined;
146
- isStriped?: boolean | undefined;
147
- minHeight?: string | undefined;
148
- noDataComponent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
149
- noDataText?: string | undefined;
150
- outerClassNames?: string | undefined;
151
- paginationClassNames?: string | undefined;
93
+ export declare const WithClassicStyles: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("react").HTMLAttributes<HTMLTableElement> & {
94
+ columns: Array<import("./DataTable").DataTableColumn>;
95
+ handleSort?: (columnIndex: keyof DataItem, order: SortingOrder) => void;
96
+ isBordered?: boolean;
97
+ isColumnsBordered?: boolean;
98
+ isHeaderDisplayed?: boolean;
99
+ isHoverable?: boolean;
100
+ isLoading?: boolean;
101
+ isOrdered?: boolean;
102
+ isRowsBordered?: boolean;
103
+ isStriped?: boolean;
104
+ minHeight?: string;
105
+ noDataComponent?: import("react").ReactElement;
106
+ noDataText?: string;
107
+ outerClassNames?: string;
108
+ paginationClassNames?: string;
152
109
  paginationData?: {
153
110
  currentPage: string | number;
154
- handlePaginationChange: (value?: string | number | undefined) => void;
111
+ handlePaginationChange: (value?: string | number) => void;
155
112
  totalRowsCount: number;
156
- } | undefined;
113
+ };
157
114
  rowEndIcon?: {
158
- component?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
159
- onClick?: ((rowIndex: number) => void) | undefined;
160
- size?: string | number | undefined;
161
- wrapperClassNames?: string | undefined;
162
- } | undefined;
163
- rowHoverStyles?: string | undefined;
164
- rowImageClassNames?: string | undefined;
165
- rowItems: import("./DataTable").RowItem[];
166
- rowsPerPage?: number | undefined;
167
- selectedPaginationClassNames?: string | undefined;
168
- sortSettings?: SortSettings | undefined;
169
- stripedRowsStyles?: string[] | undefined;
170
- tableClassNames?: string | undefined;
171
- tbodyClassNames?: string | undefined;
172
- tdClassNames?: string | undefined;
173
- thClassNames?: string | undefined;
174
- thTextClassNames?: string | undefined;
175
- theadClassNames?: string | undefined;
176
- trClassNames?: string | undefined;
177
- variant?: import("./DataTable").TableVariant | undefined;
178
- viewMoreButton?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
115
+ component?: import("react").ReactElement;
116
+ onClick?: (rowIndex: number) => void;
117
+ size?: number | string;
118
+ wrapperClassNames?: string;
119
+ };
120
+ rowHoverStyles?: string;
121
+ rowImageClassNames?: string;
122
+ rowItems: Array<import("./DataTable").RowItem>;
123
+ rowsPerPage?: number;
124
+ selectedPaginationClassNames?: string;
125
+ sortSettings?: SortSettings;
126
+ stripedRowsStyles?: Array<string>;
127
+ tableClassNames?: string;
128
+ tbodyClassNames?: string;
129
+ tdClassNames?: string;
130
+ thClassNames?: string;
131
+ thTextClassNames?: string;
132
+ theadClassNames?: string;
133
+ trClassNames?: string;
134
+ variant?: import("./DataTable").TableVariant;
135
+ viewMoreButton?: import("react").ReactElement;
179
136
  } & import("react").RefAttributes<HTMLTableElement>>;
180
- export declare const WithRowEndButton: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("react").HTMLAttributes<HTMLTableElement> & {
181
- columns: import("./DataTable").DataTableColumn[];
182
- handleSort?: ((columnIndex: string, order: SortingOrder) => void) | undefined;
183
- isBordered?: boolean | undefined;
184
- isColumnsBordered?: boolean | undefined;
185
- isHeaderDisplayed?: boolean | undefined;
186
- isHoverable?: boolean | undefined;
187
- isLoading?: boolean | undefined;
188
- isOrdered?: boolean | undefined;
189
- isRowsBordered?: boolean | undefined;
190
- isStriped?: boolean | undefined;
191
- minHeight?: string | undefined;
192
- noDataComponent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
193
- noDataText?: string | undefined;
194
- outerClassNames?: string | undefined;
195
- paginationClassNames?: string | undefined;
137
+ export declare const WithRowEndButton: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("react").HTMLAttributes<HTMLTableElement> & {
138
+ columns: Array<import("./DataTable").DataTableColumn>;
139
+ handleSort?: (columnIndex: keyof DataItem, order: SortingOrder) => void;
140
+ isBordered?: boolean;
141
+ isColumnsBordered?: boolean;
142
+ isHeaderDisplayed?: boolean;
143
+ isHoverable?: boolean;
144
+ isLoading?: boolean;
145
+ isOrdered?: boolean;
146
+ isRowsBordered?: boolean;
147
+ isStriped?: boolean;
148
+ minHeight?: string;
149
+ noDataComponent?: import("react").ReactElement;
150
+ noDataText?: string;
151
+ outerClassNames?: string;
152
+ paginationClassNames?: string;
196
153
  paginationData?: {
197
154
  currentPage: string | number;
198
- handlePaginationChange: (value?: string | number | undefined) => void;
155
+ handlePaginationChange: (value?: string | number) => void;
199
156
  totalRowsCount: number;
200
- } | undefined;
157
+ };
201
158
  rowEndIcon?: {
202
- component?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
203
- onClick?: ((rowIndex: number) => void) | undefined;
204
- size?: string | number | undefined;
205
- wrapperClassNames?: string | undefined;
206
- } | undefined;
207
- rowHoverStyles?: string | undefined;
208
- rowImageClassNames?: string | undefined;
209
- rowItems: import("./DataTable").RowItem[];
210
- rowsPerPage?: number | undefined;
211
- selectedPaginationClassNames?: string | undefined;
212
- sortSettings?: SortSettings | undefined;
213
- stripedRowsStyles?: string[] | undefined;
214
- tableClassNames?: string | undefined;
215
- tbodyClassNames?: string | undefined;
216
- tdClassNames?: string | undefined;
217
- thClassNames?: string | undefined;
218
- thTextClassNames?: string | undefined;
219
- theadClassNames?: string | undefined;
220
- trClassNames?: string | undefined;
221
- variant?: import("./DataTable").TableVariant | undefined;
222
- viewMoreButton?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
159
+ component?: import("react").ReactElement;
160
+ onClick?: (rowIndex: number) => void;
161
+ size?: number | string;
162
+ wrapperClassNames?: string;
163
+ };
164
+ rowHoverStyles?: string;
165
+ rowImageClassNames?: string;
166
+ rowItems: Array<import("./DataTable").RowItem>;
167
+ rowsPerPage?: number;
168
+ selectedPaginationClassNames?: string;
169
+ sortSettings?: SortSettings;
170
+ stripedRowsStyles?: Array<string>;
171
+ tableClassNames?: string;
172
+ tbodyClassNames?: string;
173
+ tdClassNames?: string;
174
+ thClassNames?: string;
175
+ thTextClassNames?: string;
176
+ theadClassNames?: string;
177
+ trClassNames?: string;
178
+ variant?: import("./DataTable").TableVariant;
179
+ viewMoreButton?: import("react").ReactElement;
223
180
  } & import("react").RefAttributes<HTMLTableElement>>;
224
- export declare const WithBorder: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("react").HTMLAttributes<HTMLTableElement> & {
225
- columns: import("./DataTable").DataTableColumn[];
226
- handleSort?: ((columnIndex: string, order: SortingOrder) => void) | undefined;
227
- isBordered?: boolean | undefined;
228
- isColumnsBordered?: boolean | undefined;
229
- isHeaderDisplayed?: boolean | undefined;
230
- isHoverable?: boolean | undefined;
231
- isLoading?: boolean | undefined;
232
- isOrdered?: boolean | undefined;
233
- isRowsBordered?: boolean | undefined;
234
- isStriped?: boolean | undefined;
235
- minHeight?: string | undefined;
236
- noDataComponent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
237
- noDataText?: string | undefined;
238
- outerClassNames?: string | undefined;
239
- paginationClassNames?: string | undefined;
181
+ export declare const WithBorder: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("react").HTMLAttributes<HTMLTableElement> & {
182
+ columns: Array<import("./DataTable").DataTableColumn>;
183
+ handleSort?: (columnIndex: keyof DataItem, order: SortingOrder) => void;
184
+ isBordered?: boolean;
185
+ isColumnsBordered?: boolean;
186
+ isHeaderDisplayed?: boolean;
187
+ isHoverable?: boolean;
188
+ isLoading?: boolean;
189
+ isOrdered?: boolean;
190
+ isRowsBordered?: boolean;
191
+ isStriped?: boolean;
192
+ minHeight?: string;
193
+ noDataComponent?: import("react").ReactElement;
194
+ noDataText?: string;
195
+ outerClassNames?: string;
196
+ paginationClassNames?: string;
240
197
  paginationData?: {
241
198
  currentPage: string | number;
242
- handlePaginationChange: (value?: string | number | undefined) => void;
199
+ handlePaginationChange: (value?: string | number) => void;
243
200
  totalRowsCount: number;
244
- } | undefined;
201
+ };
245
202
  rowEndIcon?: {
246
- component?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
247
- onClick?: ((rowIndex: number) => void) | undefined;
248
- size?: string | number | undefined;
249
- wrapperClassNames?: string | undefined;
250
- } | undefined;
251
- rowHoverStyles?: string | undefined;
252
- rowImageClassNames?: string | undefined;
253
- rowItems: import("./DataTable").RowItem[];
254
- rowsPerPage?: number | undefined;
255
- selectedPaginationClassNames?: string | undefined;
256
- sortSettings?: SortSettings | undefined;
257
- stripedRowsStyles?: string[] | undefined;
258
- tableClassNames?: string | undefined;
259
- tbodyClassNames?: string | undefined;
260
- tdClassNames?: string | undefined;
261
- thClassNames?: string | undefined;
262
- thTextClassNames?: string | undefined;
263
- theadClassNames?: string | undefined;
264
- trClassNames?: string | undefined;
265
- variant?: import("./DataTable").TableVariant | undefined;
266
- viewMoreButton?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
203
+ component?: import("react").ReactElement;
204
+ onClick?: (rowIndex: number) => void;
205
+ size?: number | string;
206
+ wrapperClassNames?: string;
207
+ };
208
+ rowHoverStyles?: string;
209
+ rowImageClassNames?: string;
210
+ rowItems: Array<import("./DataTable").RowItem>;
211
+ rowsPerPage?: number;
212
+ selectedPaginationClassNames?: string;
213
+ sortSettings?: SortSettings;
214
+ stripedRowsStyles?: Array<string>;
215
+ tableClassNames?: string;
216
+ tbodyClassNames?: string;
217
+ tdClassNames?: string;
218
+ thClassNames?: string;
219
+ thTextClassNames?: string;
220
+ theadClassNames?: string;
221
+ trClassNames?: string;
222
+ variant?: import("./DataTable").TableVariant;
223
+ viewMoreButton?: import("react").ReactElement;
267
224
  } & import("react").RefAttributes<HTMLTableElement>>;
268
- export declare const WithColumnBorders: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("react").HTMLAttributes<HTMLTableElement> & {
269
- columns: import("./DataTable").DataTableColumn[];
270
- handleSort?: ((columnIndex: string, order: SortingOrder) => void) | undefined;
271
- isBordered?: boolean | undefined;
272
- isColumnsBordered?: boolean | undefined;
273
- isHeaderDisplayed?: boolean | undefined;
274
- isHoverable?: boolean | undefined;
275
- isLoading?: boolean | undefined;
276
- isOrdered?: boolean | undefined;
277
- isRowsBordered?: boolean | undefined;
278
- isStriped?: boolean | undefined;
279
- minHeight?: string | undefined;
280
- noDataComponent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
281
- noDataText?: string | undefined;
282
- outerClassNames?: string | undefined;
283
- paginationClassNames?: string | undefined;
225
+ export declare const WithColumnBorders: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("react").HTMLAttributes<HTMLTableElement> & {
226
+ columns: Array<import("./DataTable").DataTableColumn>;
227
+ handleSort?: (columnIndex: keyof DataItem, order: SortingOrder) => void;
228
+ isBordered?: boolean;
229
+ isColumnsBordered?: boolean;
230
+ isHeaderDisplayed?: boolean;
231
+ isHoverable?: boolean;
232
+ isLoading?: boolean;
233
+ isOrdered?: boolean;
234
+ isRowsBordered?: boolean;
235
+ isStriped?: boolean;
236
+ minHeight?: string;
237
+ noDataComponent?: import("react").ReactElement;
238
+ noDataText?: string;
239
+ outerClassNames?: string;
240
+ paginationClassNames?: string;
284
241
  paginationData?: {
285
242
  currentPage: string | number;
286
- handlePaginationChange: (value?: string | number | undefined) => void;
243
+ handlePaginationChange: (value?: string | number) => void;
287
244
  totalRowsCount: number;
288
- } | undefined;
245
+ };
289
246
  rowEndIcon?: {
290
- component?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
291
- onClick?: ((rowIndex: number) => void) | undefined;
292
- size?: string | number | undefined;
293
- wrapperClassNames?: string | undefined;
294
- } | undefined;
295
- rowHoverStyles?: string | undefined;
296
- rowImageClassNames?: string | undefined;
297
- rowItems: import("./DataTable").RowItem[];
298
- rowsPerPage?: number | undefined;
299
- selectedPaginationClassNames?: string | undefined;
300
- sortSettings?: SortSettings | undefined;
301
- stripedRowsStyles?: string[] | undefined;
302
- tableClassNames?: string | undefined;
303
- tbodyClassNames?: string | undefined;
304
- tdClassNames?: string | undefined;
305
- thClassNames?: string | undefined;
306
- thTextClassNames?: string | undefined;
307
- theadClassNames?: string | undefined;
308
- trClassNames?: string | undefined;
309
- variant?: import("./DataTable").TableVariant | undefined;
310
- viewMoreButton?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
247
+ component?: import("react").ReactElement;
248
+ onClick?: (rowIndex: number) => void;
249
+ size?: number | string;
250
+ wrapperClassNames?: string;
251
+ };
252
+ rowHoverStyles?: string;
253
+ rowImageClassNames?: string;
254
+ rowItems: Array<import("./DataTable").RowItem>;
255
+ rowsPerPage?: number;
256
+ selectedPaginationClassNames?: string;
257
+ sortSettings?: SortSettings;
258
+ stripedRowsStyles?: Array<string>;
259
+ tableClassNames?: string;
260
+ tbodyClassNames?: string;
261
+ tdClassNames?: string;
262
+ thClassNames?: string;
263
+ thTextClassNames?: string;
264
+ theadClassNames?: string;
265
+ trClassNames?: string;
266
+ variant?: import("./DataTable").TableVariant;
267
+ viewMoreButton?: import("react").ReactElement;
311
268
  } & import("react").RefAttributes<HTMLTableElement>>;
312
- export declare const WithRowBorders: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("react").HTMLAttributes<HTMLTableElement> & {
313
- columns: import("./DataTable").DataTableColumn[];
314
- handleSort?: ((columnIndex: string, order: SortingOrder) => void) | undefined;
315
- isBordered?: boolean | undefined;
316
- isColumnsBordered?: boolean | undefined;
317
- isHeaderDisplayed?: boolean | undefined;
318
- isHoverable?: boolean | undefined;
319
- isLoading?: boolean | undefined;
320
- isOrdered?: boolean | undefined;
321
- isRowsBordered?: boolean | undefined;
322
- isStriped?: boolean | undefined;
323
- minHeight?: string | undefined;
324
- noDataComponent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
325
- noDataText?: string | undefined;
326
- outerClassNames?: string | undefined;
327
- paginationClassNames?: string | undefined;
269
+ export declare const WithRowBorders: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("react").HTMLAttributes<HTMLTableElement> & {
270
+ columns: Array<import("./DataTable").DataTableColumn>;
271
+ handleSort?: (columnIndex: keyof DataItem, order: SortingOrder) => void;
272
+ isBordered?: boolean;
273
+ isColumnsBordered?: boolean;
274
+ isHeaderDisplayed?: boolean;
275
+ isHoverable?: boolean;
276
+ isLoading?: boolean;
277
+ isOrdered?: boolean;
278
+ isRowsBordered?: boolean;
279
+ isStriped?: boolean;
280
+ minHeight?: string;
281
+ noDataComponent?: import("react").ReactElement;
282
+ noDataText?: string;
283
+ outerClassNames?: string;
284
+ paginationClassNames?: string;
328
285
  paginationData?: {
329
286
  currentPage: string | number;
330
- handlePaginationChange: (value?: string | number | undefined) => void;
287
+ handlePaginationChange: (value?: string | number) => void;
331
288
  totalRowsCount: number;
332
- } | undefined;
289
+ };
333
290
  rowEndIcon?: {
334
- component?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
335
- onClick?: ((rowIndex: number) => void) | undefined;
336
- size?: string | number | undefined;
337
- wrapperClassNames?: string | undefined;
338
- } | undefined;
339
- rowHoverStyles?: string | undefined;
340
- rowImageClassNames?: string | undefined;
341
- rowItems: import("./DataTable").RowItem[];
342
- rowsPerPage?: number | undefined;
343
- selectedPaginationClassNames?: string | undefined;
344
- sortSettings?: SortSettings | undefined;
345
- stripedRowsStyles?: string[] | undefined;
346
- tableClassNames?: string | undefined;
347
- tbodyClassNames?: string | undefined;
348
- tdClassNames?: string | undefined;
349
- thClassNames?: string | undefined;
350
- thTextClassNames?: string | undefined;
351
- theadClassNames?: string | undefined;
352
- trClassNames?: string | undefined;
353
- variant?: import("./DataTable").TableVariant | undefined;
354
- viewMoreButton?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
291
+ component?: import("react").ReactElement;
292
+ onClick?: (rowIndex: number) => void;
293
+ size?: number | string;
294
+ wrapperClassNames?: string;
295
+ };
296
+ rowHoverStyles?: string;
297
+ rowImageClassNames?: string;
298
+ rowItems: Array<import("./DataTable").RowItem>;
299
+ rowsPerPage?: number;
300
+ selectedPaginationClassNames?: string;
301
+ sortSettings?: SortSettings;
302
+ stripedRowsStyles?: Array<string>;
303
+ tableClassNames?: string;
304
+ tbodyClassNames?: string;
305
+ tdClassNames?: string;
306
+ thClassNames?: string;
307
+ thTextClassNames?: string;
308
+ theadClassNames?: string;
309
+ trClassNames?: string;
310
+ variant?: import("./DataTable").TableVariant;
311
+ viewMoreButton?: import("react").ReactElement;
355
312
  } & import("react").RefAttributes<HTMLTableElement>>;
356
- export declare const WithoutHoverableRows: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("react").HTMLAttributes<HTMLTableElement> & {
357
- columns: import("./DataTable").DataTableColumn[];
358
- handleSort?: ((columnIndex: string, order: SortingOrder) => void) | undefined;
359
- isBordered?: boolean | undefined;
360
- isColumnsBordered?: boolean | undefined;
361
- isHeaderDisplayed?: boolean | undefined;
362
- isHoverable?: boolean | undefined;
363
- isLoading?: boolean | undefined;
364
- isOrdered?: boolean | undefined;
365
- isRowsBordered?: boolean | undefined;
366
- isStriped?: boolean | undefined;
367
- minHeight?: string | undefined;
368
- noDataComponent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
369
- noDataText?: string | undefined;
370
- outerClassNames?: string | undefined;
371
- paginationClassNames?: string | undefined;
313
+ export declare const WithoutHoverableRows: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("react").HTMLAttributes<HTMLTableElement> & {
314
+ columns: Array<import("./DataTable").DataTableColumn>;
315
+ handleSort?: (columnIndex: keyof DataItem, order: SortingOrder) => void;
316
+ isBordered?: boolean;
317
+ isColumnsBordered?: boolean;
318
+ isHeaderDisplayed?: boolean;
319
+ isHoverable?: boolean;
320
+ isLoading?: boolean;
321
+ isOrdered?: boolean;
322
+ isRowsBordered?: boolean;
323
+ isStriped?: boolean;
324
+ minHeight?: string;
325
+ noDataComponent?: import("react").ReactElement;
326
+ noDataText?: string;
327
+ outerClassNames?: string;
328
+ paginationClassNames?: string;
372
329
  paginationData?: {
373
330
  currentPage: string | number;
374
- handlePaginationChange: (value?: string | number | undefined) => void;
331
+ handlePaginationChange: (value?: string | number) => void;
375
332
  totalRowsCount: number;
376
- } | undefined;
333
+ };
377
334
  rowEndIcon?: {
378
- component?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
379
- onClick?: ((rowIndex: number) => void) | undefined;
380
- size?: string | number | undefined;
381
- wrapperClassNames?: string | undefined;
382
- } | undefined;
383
- rowHoverStyles?: string | undefined;
384
- rowImageClassNames?: string | undefined;
385
- rowItems: import("./DataTable").RowItem[];
386
- rowsPerPage?: number | undefined;
387
- selectedPaginationClassNames?: string | undefined;
388
- sortSettings?: SortSettings | undefined;
389
- stripedRowsStyles?: string[] | undefined;
390
- tableClassNames?: string | undefined;
391
- tbodyClassNames?: string | undefined;
392
- tdClassNames?: string | undefined;
393
- thClassNames?: string | undefined;
394
- thTextClassNames?: string | undefined;
395
- theadClassNames?: string | undefined;
396
- trClassNames?: string | undefined;
397
- variant?: import("./DataTable").TableVariant | undefined;
398
- viewMoreButton?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
335
+ component?: import("react").ReactElement;
336
+ onClick?: (rowIndex: number) => void;
337
+ size?: number | string;
338
+ wrapperClassNames?: string;
339
+ };
340
+ rowHoverStyles?: string;
341
+ rowImageClassNames?: string;
342
+ rowItems: Array<import("./DataTable").RowItem>;
343
+ rowsPerPage?: number;
344
+ selectedPaginationClassNames?: string;
345
+ sortSettings?: SortSettings;
346
+ stripedRowsStyles?: Array<string>;
347
+ tableClassNames?: string;
348
+ tbodyClassNames?: string;
349
+ tdClassNames?: string;
350
+ thClassNames?: string;
351
+ thTextClassNames?: string;
352
+ theadClassNames?: string;
353
+ trClassNames?: string;
354
+ variant?: import("./DataTable").TableVariant;
355
+ viewMoreButton?: import("react").ReactElement;
399
356
  } & import("react").RefAttributes<HTMLTableElement>>;
400
- export declare const WithCustomHoverStyles: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("react").HTMLAttributes<HTMLTableElement> & {
401
- columns: import("./DataTable").DataTableColumn[];
402
- handleSort?: ((columnIndex: string, order: SortingOrder) => void) | undefined;
403
- isBordered?: boolean | undefined;
404
- isColumnsBordered?: boolean | undefined;
405
- isHeaderDisplayed?: boolean | undefined;
406
- isHoverable?: boolean | undefined;
407
- isLoading?: boolean | undefined;
408
- isOrdered?: boolean | undefined;
409
- isRowsBordered?: boolean | undefined;
410
- isStriped?: boolean | undefined;
411
- minHeight?: string | undefined;
412
- noDataComponent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
413
- noDataText?: string | undefined;
414
- outerClassNames?: string | undefined;
415
- paginationClassNames?: string | undefined;
357
+ export declare const WithCustomHoverStyles: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("react").HTMLAttributes<HTMLTableElement> & {
358
+ columns: Array<import("./DataTable").DataTableColumn>;
359
+ handleSort?: (columnIndex: keyof DataItem, order: SortingOrder) => void;
360
+ isBordered?: boolean;
361
+ isColumnsBordered?: boolean;
362
+ isHeaderDisplayed?: boolean;
363
+ isHoverable?: boolean;
364
+ isLoading?: boolean;
365
+ isOrdered?: boolean;
366
+ isRowsBordered?: boolean;
367
+ isStriped?: boolean;
368
+ minHeight?: string;
369
+ noDataComponent?: import("react").ReactElement;
370
+ noDataText?: string;
371
+ outerClassNames?: string;
372
+ paginationClassNames?: string;
416
373
  paginationData?: {
417
374
  currentPage: string | number;
418
- handlePaginationChange: (value?: string | number | undefined) => void;
375
+ handlePaginationChange: (value?: string | number) => void;
419
376
  totalRowsCount: number;
420
- } | undefined;
377
+ };
421
378
  rowEndIcon?: {
422
- component?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
423
- onClick?: ((rowIndex: number) => void) | undefined;
424
- size?: string | number | undefined;
425
- wrapperClassNames?: string | undefined;
426
- } | undefined;
427
- rowHoverStyles?: string | undefined;
428
- rowImageClassNames?: string | undefined;
429
- rowItems: import("./DataTable").RowItem[];
430
- rowsPerPage?: number | undefined;
431
- selectedPaginationClassNames?: string | undefined;
432
- sortSettings?: SortSettings | undefined;
433
- stripedRowsStyles?: string[] | undefined;
434
- tableClassNames?: string | undefined;
435
- tbodyClassNames?: string | undefined;
436
- tdClassNames?: string | undefined;
437
- thClassNames?: string | undefined;
438
- thTextClassNames?: string | undefined;
439
- theadClassNames?: string | undefined;
440
- trClassNames?: string | undefined;
441
- variant?: import("./DataTable").TableVariant | undefined;
442
- viewMoreButton?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
379
+ component?: import("react").ReactElement;
380
+ onClick?: (rowIndex: number) => void;
381
+ size?: number | string;
382
+ wrapperClassNames?: string;
383
+ };
384
+ rowHoverStyles?: string;
385
+ rowImageClassNames?: string;
386
+ rowItems: Array<import("./DataTable").RowItem>;
387
+ rowsPerPage?: number;
388
+ selectedPaginationClassNames?: string;
389
+ sortSettings?: SortSettings;
390
+ stripedRowsStyles?: Array<string>;
391
+ tableClassNames?: string;
392
+ tbodyClassNames?: string;
393
+ tdClassNames?: string;
394
+ thClassNames?: string;
395
+ thTextClassNames?: string;
396
+ theadClassNames?: string;
397
+ trClassNames?: string;
398
+ variant?: import("./DataTable").TableVariant;
399
+ viewMoreButton?: import("react").ReactElement;
443
400
  } & import("react").RefAttributes<HTMLTableElement>>;
444
- export declare const WithOrderedRows: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("react").HTMLAttributes<HTMLTableElement> & {
445
- columns: import("./DataTable").DataTableColumn[];
446
- handleSort?: ((columnIndex: string, order: SortingOrder) => void) | undefined;
447
- isBordered?: boolean | undefined;
448
- isColumnsBordered?: boolean | undefined;
449
- isHeaderDisplayed?: boolean | undefined;
450
- isHoverable?: boolean | undefined;
451
- isLoading?: boolean | undefined;
452
- isOrdered?: boolean | undefined;
453
- isRowsBordered?: boolean | undefined;
454
- isStriped?: boolean | undefined;
455
- minHeight?: string | undefined;
456
- noDataComponent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
457
- noDataText?: string | undefined;
458
- outerClassNames?: string | undefined;
459
- paginationClassNames?: string | undefined;
401
+ export declare const WithOrderedRows: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("react").HTMLAttributes<HTMLTableElement> & {
402
+ columns: Array<import("./DataTable").DataTableColumn>;
403
+ handleSort?: (columnIndex: keyof DataItem, order: SortingOrder) => void;
404
+ isBordered?: boolean;
405
+ isColumnsBordered?: boolean;
406
+ isHeaderDisplayed?: boolean;
407
+ isHoverable?: boolean;
408
+ isLoading?: boolean;
409
+ isOrdered?: boolean;
410
+ isRowsBordered?: boolean;
411
+ isStriped?: boolean;
412
+ minHeight?: string;
413
+ noDataComponent?: import("react").ReactElement;
414
+ noDataText?: string;
415
+ outerClassNames?: string;
416
+ paginationClassNames?: string;
460
417
  paginationData?: {
461
418
  currentPage: string | number;
462
- handlePaginationChange: (value?: string | number | undefined) => void;
419
+ handlePaginationChange: (value?: string | number) => void;
463
420
  totalRowsCount: number;
464
- } | undefined;
421
+ };
465
422
  rowEndIcon?: {
466
- component?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
467
- onClick?: ((rowIndex: number) => void) | undefined;
468
- size?: string | number | undefined;
469
- wrapperClassNames?: string | undefined;
470
- } | undefined;
471
- rowHoverStyles?: string | undefined;
472
- rowImageClassNames?: string | undefined;
473
- rowItems: import("./DataTable").RowItem[];
474
- rowsPerPage?: number | undefined;
475
- selectedPaginationClassNames?: string | undefined;
476
- sortSettings?: SortSettings | undefined;
477
- stripedRowsStyles?: string[] | undefined;
478
- tableClassNames?: string | undefined;
479
- tbodyClassNames?: string | undefined;
480
- tdClassNames?: string | undefined;
481
- thClassNames?: string | undefined;
482
- thTextClassNames?: string | undefined;
483
- theadClassNames?: string | undefined;
484
- trClassNames?: string | undefined;
485
- variant?: import("./DataTable").TableVariant | undefined;
486
- viewMoreButton?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
423
+ component?: import("react").ReactElement;
424
+ onClick?: (rowIndex: number) => void;
425
+ size?: number | string;
426
+ wrapperClassNames?: string;
427
+ };
428
+ rowHoverStyles?: string;
429
+ rowImageClassNames?: string;
430
+ rowItems: Array<import("./DataTable").RowItem>;
431
+ rowsPerPage?: number;
432
+ selectedPaginationClassNames?: string;
433
+ sortSettings?: SortSettings;
434
+ stripedRowsStyles?: Array<string>;
435
+ tableClassNames?: string;
436
+ tbodyClassNames?: string;
437
+ tdClassNames?: string;
438
+ thClassNames?: string;
439
+ thTextClassNames?: string;
440
+ theadClassNames?: string;
441
+ trClassNames?: string;
442
+ variant?: import("./DataTable").TableVariant;
443
+ viewMoreButton?: import("react").ReactElement;
487
444
  } & import("react").RefAttributes<HTMLTableElement>>;
488
- export declare const WithImages: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("react").HTMLAttributes<HTMLTableElement> & {
489
- columns: import("./DataTable").DataTableColumn[];
490
- handleSort?: ((columnIndex: string, order: SortingOrder) => void) | undefined;
491
- isBordered?: boolean | undefined;
492
- isColumnsBordered?: boolean | undefined;
493
- isHeaderDisplayed?: boolean | undefined;
494
- isHoverable?: boolean | undefined;
495
- isLoading?: boolean | undefined;
496
- isOrdered?: boolean | undefined;
497
- isRowsBordered?: boolean | undefined;
498
- isStriped?: boolean | undefined;
499
- minHeight?: string | undefined;
500
- noDataComponent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
501
- noDataText?: string | undefined;
502
- outerClassNames?: string | undefined;
503
- paginationClassNames?: string | undefined;
445
+ export declare const WithImages: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("react").HTMLAttributes<HTMLTableElement> & {
446
+ columns: Array<import("./DataTable").DataTableColumn>;
447
+ handleSort?: (columnIndex: keyof DataItem, order: SortingOrder) => void;
448
+ isBordered?: boolean;
449
+ isColumnsBordered?: boolean;
450
+ isHeaderDisplayed?: boolean;
451
+ isHoverable?: boolean;
452
+ isLoading?: boolean;
453
+ isOrdered?: boolean;
454
+ isRowsBordered?: boolean;
455
+ isStriped?: boolean;
456
+ minHeight?: string;
457
+ noDataComponent?: import("react").ReactElement;
458
+ noDataText?: string;
459
+ outerClassNames?: string;
460
+ paginationClassNames?: string;
504
461
  paginationData?: {
505
462
  currentPage: string | number;
506
- handlePaginationChange: (value?: string | number | undefined) => void;
463
+ handlePaginationChange: (value?: string | number) => void;
507
464
  totalRowsCount: number;
508
- } | undefined;
465
+ };
509
466
  rowEndIcon?: {
510
- component?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
511
- onClick?: ((rowIndex: number) => void) | undefined;
512
- size?: string | number | undefined;
513
- wrapperClassNames?: string | undefined;
514
- } | undefined;
515
- rowHoverStyles?: string | undefined;
516
- rowImageClassNames?: string | undefined;
517
- rowItems: import("./DataTable").RowItem[];
518
- rowsPerPage?: number | undefined;
519
- selectedPaginationClassNames?: string | undefined;
520
- sortSettings?: SortSettings | undefined;
521
- stripedRowsStyles?: string[] | undefined;
522
- tableClassNames?: string | undefined;
523
- tbodyClassNames?: string | undefined;
524
- tdClassNames?: string | undefined;
525
- thClassNames?: string | undefined;
526
- thTextClassNames?: string | undefined;
527
- theadClassNames?: string | undefined;
528
- trClassNames?: string | undefined;
529
- variant?: import("./DataTable").TableVariant | undefined;
530
- viewMoreButton?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
467
+ component?: import("react").ReactElement;
468
+ onClick?: (rowIndex: number) => void;
469
+ size?: number | string;
470
+ wrapperClassNames?: string;
471
+ };
472
+ rowHoverStyles?: string;
473
+ rowImageClassNames?: string;
474
+ rowItems: Array<import("./DataTable").RowItem>;
475
+ rowsPerPage?: number;
476
+ selectedPaginationClassNames?: string;
477
+ sortSettings?: SortSettings;
478
+ stripedRowsStyles?: Array<string>;
479
+ tableClassNames?: string;
480
+ tbodyClassNames?: string;
481
+ tdClassNames?: string;
482
+ thClassNames?: string;
483
+ thTextClassNames?: string;
484
+ theadClassNames?: string;
485
+ trClassNames?: string;
486
+ variant?: import("./DataTable").TableVariant;
487
+ viewMoreButton?: import("react").ReactElement;
531
488
  } & import("react").RefAttributes<HTMLTableElement>>;
532
- export declare const WithOrderAndImages: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("react").HTMLAttributes<HTMLTableElement> & {
533
- columns: import("./DataTable").DataTableColumn[];
534
- handleSort?: ((columnIndex: string, order: SortingOrder) => void) | undefined;
535
- isBordered?: boolean | undefined;
536
- isColumnsBordered?: boolean | undefined;
537
- isHeaderDisplayed?: boolean | undefined;
538
- isHoverable?: boolean | undefined;
539
- isLoading?: boolean | undefined;
540
- isOrdered?: boolean | undefined;
541
- isRowsBordered?: boolean | undefined;
542
- isStriped?: boolean | undefined;
543
- minHeight?: string | undefined;
544
- noDataComponent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
545
- noDataText?: string | undefined;
546
- outerClassNames?: string | undefined;
547
- paginationClassNames?: string | undefined;
489
+ export declare const WithOrderAndImages: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("react").HTMLAttributes<HTMLTableElement> & {
490
+ columns: Array<import("./DataTable").DataTableColumn>;
491
+ handleSort?: (columnIndex: keyof DataItem, order: SortingOrder) => void;
492
+ isBordered?: boolean;
493
+ isColumnsBordered?: boolean;
494
+ isHeaderDisplayed?: boolean;
495
+ isHoverable?: boolean;
496
+ isLoading?: boolean;
497
+ isOrdered?: boolean;
498
+ isRowsBordered?: boolean;
499
+ isStriped?: boolean;
500
+ minHeight?: string;
501
+ noDataComponent?: import("react").ReactElement;
502
+ noDataText?: string;
503
+ outerClassNames?: string;
504
+ paginationClassNames?: string;
548
505
  paginationData?: {
549
506
  currentPage: string | number;
550
- handlePaginationChange: (value?: string | number | undefined) => void;
507
+ handlePaginationChange: (value?: string | number) => void;
551
508
  totalRowsCount: number;
552
- } | undefined;
509
+ };
553
510
  rowEndIcon?: {
554
- component?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
555
- onClick?: ((rowIndex: number) => void) | undefined;
556
- size?: string | number | undefined;
557
- wrapperClassNames?: string | undefined;
558
- } | undefined;
559
- rowHoverStyles?: string | undefined;
560
- rowImageClassNames?: string | undefined;
561
- rowItems: import("./DataTable").RowItem[];
562
- rowsPerPage?: number | undefined;
563
- selectedPaginationClassNames?: string | undefined;
564
- sortSettings?: SortSettings | undefined;
565
- stripedRowsStyles?: string[] | undefined;
566
- tableClassNames?: string | undefined;
567
- tbodyClassNames?: string | undefined;
568
- tdClassNames?: string | undefined;
569
- thClassNames?: string | undefined;
570
- thTextClassNames?: string | undefined;
571
- theadClassNames?: string | undefined;
572
- trClassNames?: string | undefined;
573
- variant?: import("./DataTable").TableVariant | undefined;
574
- viewMoreButton?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
511
+ component?: import("react").ReactElement;
512
+ onClick?: (rowIndex: number) => void;
513
+ size?: number | string;
514
+ wrapperClassNames?: string;
515
+ };
516
+ rowHoverStyles?: string;
517
+ rowImageClassNames?: string;
518
+ rowItems: Array<import("./DataTable").RowItem>;
519
+ rowsPerPage?: number;
520
+ selectedPaginationClassNames?: string;
521
+ sortSettings?: SortSettings;
522
+ stripedRowsStyles?: Array<string>;
523
+ tableClassNames?: string;
524
+ tbodyClassNames?: string;
525
+ tdClassNames?: string;
526
+ thClassNames?: string;
527
+ thTextClassNames?: string;
528
+ theadClassNames?: string;
529
+ trClassNames?: string;
530
+ variant?: import("./DataTable").TableVariant;
531
+ viewMoreButton?: import("react").ReactElement;
575
532
  } & import("react").RefAttributes<HTMLTableElement>>;
576
- export declare const WithStripedRows: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("react").HTMLAttributes<HTMLTableElement> & {
577
- columns: import("./DataTable").DataTableColumn[];
578
- handleSort?: ((columnIndex: string, order: SortingOrder) => void) | undefined;
579
- isBordered?: boolean | undefined;
580
- isColumnsBordered?: boolean | undefined;
581
- isHeaderDisplayed?: boolean | undefined;
582
- isHoverable?: boolean | undefined;
583
- isLoading?: boolean | undefined;
584
- isOrdered?: boolean | undefined;
585
- isRowsBordered?: boolean | undefined;
586
- isStriped?: boolean | undefined;
587
- minHeight?: string | undefined;
588
- noDataComponent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
589
- noDataText?: string | undefined;
590
- outerClassNames?: string | undefined;
591
- paginationClassNames?: string | undefined;
533
+ export declare const WithStripedRows: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("react").HTMLAttributes<HTMLTableElement> & {
534
+ columns: Array<import("./DataTable").DataTableColumn>;
535
+ handleSort?: (columnIndex: keyof DataItem, order: SortingOrder) => void;
536
+ isBordered?: boolean;
537
+ isColumnsBordered?: boolean;
538
+ isHeaderDisplayed?: boolean;
539
+ isHoverable?: boolean;
540
+ isLoading?: boolean;
541
+ isOrdered?: boolean;
542
+ isRowsBordered?: boolean;
543
+ isStriped?: boolean;
544
+ minHeight?: string;
545
+ noDataComponent?: import("react").ReactElement;
546
+ noDataText?: string;
547
+ outerClassNames?: string;
548
+ paginationClassNames?: string;
592
549
  paginationData?: {
593
550
  currentPage: string | number;
594
- handlePaginationChange: (value?: string | number | undefined) => void;
551
+ handlePaginationChange: (value?: string | number) => void;
595
552
  totalRowsCount: number;
596
- } | undefined;
553
+ };
597
554
  rowEndIcon?: {
598
- component?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
599
- onClick?: ((rowIndex: number) => void) | undefined;
600
- size?: string | number | undefined;
601
- wrapperClassNames?: string | undefined;
602
- } | undefined;
603
- rowHoverStyles?: string | undefined;
604
- rowImageClassNames?: string | undefined;
605
- rowItems: import("./DataTable").RowItem[];
606
- rowsPerPage?: number | undefined;
607
- selectedPaginationClassNames?: string | undefined;
608
- sortSettings?: SortSettings | undefined;
609
- stripedRowsStyles?: string[] | undefined;
610
- tableClassNames?: string | undefined;
611
- tbodyClassNames?: string | undefined;
612
- tdClassNames?: string | undefined;
613
- thClassNames?: string | undefined;
614
- thTextClassNames?: string | undefined;
615
- theadClassNames?: string | undefined;
616
- trClassNames?: string | undefined;
617
- variant?: import("./DataTable").TableVariant | undefined;
618
- viewMoreButton?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
555
+ component?: import("react").ReactElement;
556
+ onClick?: (rowIndex: number) => void;
557
+ size?: number | string;
558
+ wrapperClassNames?: string;
559
+ };
560
+ rowHoverStyles?: string;
561
+ rowImageClassNames?: string;
562
+ rowItems: Array<import("./DataTable").RowItem>;
563
+ rowsPerPage?: number;
564
+ selectedPaginationClassNames?: string;
565
+ sortSettings?: SortSettings;
566
+ stripedRowsStyles?: Array<string>;
567
+ tableClassNames?: string;
568
+ tbodyClassNames?: string;
569
+ tdClassNames?: string;
570
+ thClassNames?: string;
571
+ thTextClassNames?: string;
572
+ theadClassNames?: string;
573
+ trClassNames?: string;
574
+ variant?: import("./DataTable").TableVariant;
575
+ viewMoreButton?: import("react").ReactElement;
619
576
  } & import("react").RefAttributes<HTMLTableElement>>;
620
- export declare const WithCustomStripesStyles: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("react").HTMLAttributes<HTMLTableElement> & {
621
- columns: import("./DataTable").DataTableColumn[];
622
- handleSort?: ((columnIndex: string, order: SortingOrder) => void) | undefined;
623
- isBordered?: boolean | undefined;
624
- isColumnsBordered?: boolean | undefined;
625
- isHeaderDisplayed?: boolean | undefined;
626
- isHoverable?: boolean | undefined;
627
- isLoading?: boolean | undefined;
628
- isOrdered?: boolean | undefined;
629
- isRowsBordered?: boolean | undefined;
630
- isStriped?: boolean | undefined;
631
- minHeight?: string | undefined;
632
- noDataComponent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
633
- noDataText?: string | undefined;
634
- outerClassNames?: string | undefined;
635
- paginationClassNames?: string | undefined;
577
+ export declare const WithCustomStripesStyles: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("react").HTMLAttributes<HTMLTableElement> & {
578
+ columns: Array<import("./DataTable").DataTableColumn>;
579
+ handleSort?: (columnIndex: keyof DataItem, order: SortingOrder) => void;
580
+ isBordered?: boolean;
581
+ isColumnsBordered?: boolean;
582
+ isHeaderDisplayed?: boolean;
583
+ isHoverable?: boolean;
584
+ isLoading?: boolean;
585
+ isOrdered?: boolean;
586
+ isRowsBordered?: boolean;
587
+ isStriped?: boolean;
588
+ minHeight?: string;
589
+ noDataComponent?: import("react").ReactElement;
590
+ noDataText?: string;
591
+ outerClassNames?: string;
592
+ paginationClassNames?: string;
636
593
  paginationData?: {
637
594
  currentPage: string | number;
638
- handlePaginationChange: (value?: string | number | undefined) => void;
595
+ handlePaginationChange: (value?: string | number) => void;
639
596
  totalRowsCount: number;
640
- } | undefined;
597
+ };
641
598
  rowEndIcon?: {
642
- component?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
643
- onClick?: ((rowIndex: number) => void) | undefined;
644
- size?: string | number | undefined;
645
- wrapperClassNames?: string | undefined;
646
- } | undefined;
647
- rowHoverStyles?: string | undefined;
648
- rowImageClassNames?: string | undefined;
649
- rowItems: import("./DataTable").RowItem[];
650
- rowsPerPage?: number | undefined;
651
- selectedPaginationClassNames?: string | undefined;
652
- sortSettings?: SortSettings | undefined;
653
- stripedRowsStyles?: string[] | undefined;
654
- tableClassNames?: string | undefined;
655
- tbodyClassNames?: string | undefined;
656
- tdClassNames?: string | undefined;
657
- thClassNames?: string | undefined;
658
- thTextClassNames?: string | undefined;
659
- theadClassNames?: string | undefined;
660
- trClassNames?: string | undefined;
661
- variant?: import("./DataTable").TableVariant | undefined;
662
- viewMoreButton?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
599
+ component?: import("react").ReactElement;
600
+ onClick?: (rowIndex: number) => void;
601
+ size?: number | string;
602
+ wrapperClassNames?: string;
603
+ };
604
+ rowHoverStyles?: string;
605
+ rowImageClassNames?: string;
606
+ rowItems: Array<import("./DataTable").RowItem>;
607
+ rowsPerPage?: number;
608
+ selectedPaginationClassNames?: string;
609
+ sortSettings?: SortSettings;
610
+ stripedRowsStyles?: Array<string>;
611
+ tableClassNames?: string;
612
+ tbodyClassNames?: string;
613
+ tdClassNames?: string;
614
+ thClassNames?: string;
615
+ thTextClassNames?: string;
616
+ theadClassNames?: string;
617
+ trClassNames?: string;
618
+ variant?: import("./DataTable").TableVariant;
619
+ viewMoreButton?: import("react").ReactElement;
663
620
  } & import("react").RefAttributes<HTMLTableElement>>;
664
- export declare const WithCustomNoDataCells: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("react").HTMLAttributes<HTMLTableElement> & {
665
- columns: import("./DataTable").DataTableColumn[];
666
- handleSort?: ((columnIndex: string, order: SortingOrder) => void) | undefined;
667
- isBordered?: boolean | undefined;
668
- isColumnsBordered?: boolean | undefined;
669
- isHeaderDisplayed?: boolean | undefined;
670
- isHoverable?: boolean | undefined;
671
- isLoading?: boolean | undefined;
672
- isOrdered?: boolean | undefined;
673
- isRowsBordered?: boolean | undefined;
674
- isStriped?: boolean | undefined;
675
- minHeight?: string | undefined;
676
- noDataComponent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
677
- noDataText?: string | undefined;
678
- outerClassNames?: string | undefined;
679
- paginationClassNames?: string | undefined;
621
+ export declare const WithCustomNoDataCells: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("react").HTMLAttributes<HTMLTableElement> & {
622
+ columns: Array<import("./DataTable").DataTableColumn>;
623
+ handleSort?: (columnIndex: keyof DataItem, order: SortingOrder) => void;
624
+ isBordered?: boolean;
625
+ isColumnsBordered?: boolean;
626
+ isHeaderDisplayed?: boolean;
627
+ isHoverable?: boolean;
628
+ isLoading?: boolean;
629
+ isOrdered?: boolean;
630
+ isRowsBordered?: boolean;
631
+ isStriped?: boolean;
632
+ minHeight?: string;
633
+ noDataComponent?: import("react").ReactElement;
634
+ noDataText?: string;
635
+ outerClassNames?: string;
636
+ paginationClassNames?: string;
680
637
  paginationData?: {
681
638
  currentPage: string | number;
682
- handlePaginationChange: (value?: string | number | undefined) => void;
639
+ handlePaginationChange: (value?: string | number) => void;
683
640
  totalRowsCount: number;
684
- } | undefined;
641
+ };
685
642
  rowEndIcon?: {
686
- component?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
687
- onClick?: ((rowIndex: number) => void) | undefined;
688
- size?: string | number | undefined;
689
- wrapperClassNames?: string | undefined;
690
- } | undefined;
691
- rowHoverStyles?: string | undefined;
692
- rowImageClassNames?: string | undefined;
693
- rowItems: import("./DataTable").RowItem[];
694
- rowsPerPage?: number | undefined;
695
- selectedPaginationClassNames?: string | undefined;
696
- sortSettings?: SortSettings | undefined;
697
- stripedRowsStyles?: string[] | undefined;
698
- tableClassNames?: string | undefined;
699
- tbodyClassNames?: string | undefined;
700
- tdClassNames?: string | undefined;
701
- thClassNames?: string | undefined;
702
- thTextClassNames?: string | undefined;
703
- theadClassNames?: string | undefined;
704
- trClassNames?: string | undefined;
705
- variant?: import("./DataTable").TableVariant | undefined;
706
- viewMoreButton?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
643
+ component?: import("react").ReactElement;
644
+ onClick?: (rowIndex: number) => void;
645
+ size?: number | string;
646
+ wrapperClassNames?: string;
647
+ };
648
+ rowHoverStyles?: string;
649
+ rowImageClassNames?: string;
650
+ rowItems: Array<import("./DataTable").RowItem>;
651
+ rowsPerPage?: number;
652
+ selectedPaginationClassNames?: string;
653
+ sortSettings?: SortSettings;
654
+ stripedRowsStyles?: Array<string>;
655
+ tableClassNames?: string;
656
+ tbodyClassNames?: string;
657
+ tdClassNames?: string;
658
+ thClassNames?: string;
659
+ thTextClassNames?: string;
660
+ theadClassNames?: string;
661
+ trClassNames?: string;
662
+ variant?: import("./DataTable").TableVariant;
663
+ viewMoreButton?: import("react").ReactElement;
707
664
  } & import("react").RefAttributes<HTMLTableElement>>;
708
- export declare const WithBolderHeaders: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("react").HTMLAttributes<HTMLTableElement> & {
709
- columns: import("./DataTable").DataTableColumn[];
710
- handleSort?: ((columnIndex: string, order: SortingOrder) => void) | undefined;
711
- isBordered?: boolean | undefined;
712
- isColumnsBordered?: boolean | undefined;
713
- isHeaderDisplayed?: boolean | undefined;
714
- isHoverable?: boolean | undefined;
715
- isLoading?: boolean | undefined;
716
- isOrdered?: boolean | undefined;
717
- isRowsBordered?: boolean | undefined;
718
- isStriped?: boolean | undefined;
719
- minHeight?: string | undefined;
720
- noDataComponent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
721
- noDataText?: string | undefined;
722
- outerClassNames?: string | undefined;
723
- paginationClassNames?: string | undefined;
665
+ export declare const WithBolderHeaders: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("react").HTMLAttributes<HTMLTableElement> & {
666
+ columns: Array<import("./DataTable").DataTableColumn>;
667
+ handleSort?: (columnIndex: keyof DataItem, order: SortingOrder) => void;
668
+ isBordered?: boolean;
669
+ isColumnsBordered?: boolean;
670
+ isHeaderDisplayed?: boolean;
671
+ isHoverable?: boolean;
672
+ isLoading?: boolean;
673
+ isOrdered?: boolean;
674
+ isRowsBordered?: boolean;
675
+ isStriped?: boolean;
676
+ minHeight?: string;
677
+ noDataComponent?: import("react").ReactElement;
678
+ noDataText?: string;
679
+ outerClassNames?: string;
680
+ paginationClassNames?: string;
724
681
  paginationData?: {
725
682
  currentPage: string | number;
726
- handlePaginationChange: (value?: string | number | undefined) => void;
683
+ handlePaginationChange: (value?: string | number) => void;
727
684
  totalRowsCount: number;
728
- } | undefined;
685
+ };
729
686
  rowEndIcon?: {
730
- component?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
731
- onClick?: ((rowIndex: number) => void) | undefined;
732
- size?: string | number | undefined;
733
- wrapperClassNames?: string | undefined;
734
- } | undefined;
735
- rowHoverStyles?: string | undefined;
736
- rowImageClassNames?: string | undefined;
737
- rowItems: import("./DataTable").RowItem[];
738
- rowsPerPage?: number | undefined;
739
- selectedPaginationClassNames?: string | undefined;
740
- sortSettings?: SortSettings | undefined;
741
- stripedRowsStyles?: string[] | undefined;
742
- tableClassNames?: string | undefined;
743
- tbodyClassNames?: string | undefined;
744
- tdClassNames?: string | undefined;
745
- thClassNames?: string | undefined;
746
- thTextClassNames?: string | undefined;
747
- theadClassNames?: string | undefined;
748
- trClassNames?: string | undefined;
749
- variant?: import("./DataTable").TableVariant | undefined;
750
- viewMoreButton?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
687
+ component?: import("react").ReactElement;
688
+ onClick?: (rowIndex: number) => void;
689
+ size?: number | string;
690
+ wrapperClassNames?: string;
691
+ };
692
+ rowHoverStyles?: string;
693
+ rowImageClassNames?: string;
694
+ rowItems: Array<import("./DataTable").RowItem>;
695
+ rowsPerPage?: number;
696
+ selectedPaginationClassNames?: string;
697
+ sortSettings?: SortSettings;
698
+ stripedRowsStyles?: Array<string>;
699
+ tableClassNames?: string;
700
+ tbodyClassNames?: string;
701
+ tdClassNames?: string;
702
+ thClassNames?: string;
703
+ thTextClassNames?: string;
704
+ theadClassNames?: string;
705
+ trClassNames?: string;
706
+ variant?: import("./DataTable").TableVariant;
707
+ viewMoreButton?: import("react").ReactElement;
751
708
  } & import("react").RefAttributes<HTMLTableElement>>;
752
- export declare const WithPagination: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("react").HTMLAttributes<HTMLTableElement> & {
753
- columns: import("./DataTable").DataTableColumn[];
754
- handleSort?: ((columnIndex: string, order: SortingOrder) => void) | undefined;
755
- isBordered?: boolean | undefined;
756
- isColumnsBordered?: boolean | undefined;
757
- isHeaderDisplayed?: boolean | undefined;
758
- isHoverable?: boolean | undefined;
759
- isLoading?: boolean | undefined;
760
- isOrdered?: boolean | undefined;
761
- isRowsBordered?: boolean | undefined;
762
- isStriped?: boolean | undefined;
763
- minHeight?: string | undefined;
764
- noDataComponent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
765
- noDataText?: string | undefined;
766
- outerClassNames?: string | undefined;
767
- paginationClassNames?: string | undefined;
709
+ export declare const WithPagination: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("react").HTMLAttributes<HTMLTableElement> & {
710
+ columns: Array<import("./DataTable").DataTableColumn>;
711
+ handleSort?: (columnIndex: keyof DataItem, order: SortingOrder) => void;
712
+ isBordered?: boolean;
713
+ isColumnsBordered?: boolean;
714
+ isHeaderDisplayed?: boolean;
715
+ isHoverable?: boolean;
716
+ isLoading?: boolean;
717
+ isOrdered?: boolean;
718
+ isRowsBordered?: boolean;
719
+ isStriped?: boolean;
720
+ minHeight?: string;
721
+ noDataComponent?: import("react").ReactElement;
722
+ noDataText?: string;
723
+ outerClassNames?: string;
724
+ paginationClassNames?: string;
768
725
  paginationData?: {
769
726
  currentPage: string | number;
770
- handlePaginationChange: (value?: string | number | undefined) => void;
727
+ handlePaginationChange: (value?: string | number) => void;
771
728
  totalRowsCount: number;
772
- } | undefined;
729
+ };
773
730
  rowEndIcon?: {
774
- component?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
775
- onClick?: ((rowIndex: number) => void) | undefined;
776
- size?: string | number | undefined;
777
- wrapperClassNames?: string | undefined;
778
- } | undefined;
779
- rowHoverStyles?: string | undefined;
780
- rowImageClassNames?: string | undefined;
781
- rowItems: import("./DataTable").RowItem[];
782
- rowsPerPage?: number | undefined;
783
- selectedPaginationClassNames?: string | undefined;
784
- sortSettings?: SortSettings | undefined;
785
- stripedRowsStyles?: string[] | undefined;
786
- tableClassNames?: string | undefined;
787
- tbodyClassNames?: string | undefined;
788
- tdClassNames?: string | undefined;
789
- thClassNames?: string | undefined;
790
- thTextClassNames?: string | undefined;
791
- theadClassNames?: string | undefined;
792
- trClassNames?: string | undefined;
793
- variant?: import("./DataTable").TableVariant | undefined;
794
- viewMoreButton?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
731
+ component?: import("react").ReactElement;
732
+ onClick?: (rowIndex: number) => void;
733
+ size?: number | string;
734
+ wrapperClassNames?: string;
735
+ };
736
+ rowHoverStyles?: string;
737
+ rowImageClassNames?: string;
738
+ rowItems: Array<import("./DataTable").RowItem>;
739
+ rowsPerPage?: number;
740
+ selectedPaginationClassNames?: string;
741
+ sortSettings?: SortSettings;
742
+ stripedRowsStyles?: Array<string>;
743
+ tableClassNames?: string;
744
+ tbodyClassNames?: string;
745
+ tdClassNames?: string;
746
+ thClassNames?: string;
747
+ thTextClassNames?: string;
748
+ theadClassNames?: string;
749
+ trClassNames?: string;
750
+ variant?: import("./DataTable").TableVariant;
751
+ viewMoreButton?: import("react").ReactElement;
795
752
  } & import("react").RefAttributes<HTMLTableElement>>;
796
- export declare const WithCustomViewMoreButton: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("react").HTMLAttributes<HTMLTableElement> & {
797
- columns: import("./DataTable").DataTableColumn[];
798
- handleSort?: ((columnIndex: string, order: SortingOrder) => void) | undefined;
799
- isBordered?: boolean | undefined;
800
- isColumnsBordered?: boolean | undefined;
801
- isHeaderDisplayed?: boolean | undefined;
802
- isHoverable?: boolean | undefined;
803
- isLoading?: boolean | undefined;
804
- isOrdered?: boolean | undefined;
805
- isRowsBordered?: boolean | undefined;
806
- isStriped?: boolean | undefined;
807
- minHeight?: string | undefined;
808
- noDataComponent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
809
- noDataText?: string | undefined;
810
- outerClassNames?: string | undefined;
811
- paginationClassNames?: string | undefined;
753
+ export declare const WithCustomViewMoreButton: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("react").HTMLAttributes<HTMLTableElement> & {
754
+ columns: Array<import("./DataTable").DataTableColumn>;
755
+ handleSort?: (columnIndex: keyof DataItem, order: SortingOrder) => void;
756
+ isBordered?: boolean;
757
+ isColumnsBordered?: boolean;
758
+ isHeaderDisplayed?: boolean;
759
+ isHoverable?: boolean;
760
+ isLoading?: boolean;
761
+ isOrdered?: boolean;
762
+ isRowsBordered?: boolean;
763
+ isStriped?: boolean;
764
+ minHeight?: string;
765
+ noDataComponent?: import("react").ReactElement;
766
+ noDataText?: string;
767
+ outerClassNames?: string;
768
+ paginationClassNames?: string;
812
769
  paginationData?: {
813
770
  currentPage: string | number;
814
- handlePaginationChange: (value?: string | number | undefined) => void;
771
+ handlePaginationChange: (value?: string | number) => void;
815
772
  totalRowsCount: number;
816
- } | undefined;
773
+ };
817
774
  rowEndIcon?: {
818
- component?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
819
- onClick?: ((rowIndex: number) => void) | undefined;
820
- size?: string | number | undefined;
821
- wrapperClassNames?: string | undefined;
822
- } | undefined;
823
- rowHoverStyles?: string | undefined;
824
- rowImageClassNames?: string | undefined;
825
- rowItems: import("./DataTable").RowItem[];
826
- rowsPerPage?: number | undefined;
827
- selectedPaginationClassNames?: string | undefined;
828
- sortSettings?: SortSettings | undefined;
829
- stripedRowsStyles?: string[] | undefined;
830
- tableClassNames?: string | undefined;
831
- tbodyClassNames?: string | undefined;
832
- tdClassNames?: string | undefined;
833
- thClassNames?: string | undefined;
834
- thTextClassNames?: string | undefined;
835
- theadClassNames?: string | undefined;
836
- trClassNames?: string | undefined;
837
- variant?: import("./DataTable").TableVariant | undefined;
838
- viewMoreButton?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
775
+ component?: import("react").ReactElement;
776
+ onClick?: (rowIndex: number) => void;
777
+ size?: number | string;
778
+ wrapperClassNames?: string;
779
+ };
780
+ rowHoverStyles?: string;
781
+ rowImageClassNames?: string;
782
+ rowItems: Array<import("./DataTable").RowItem>;
783
+ rowsPerPage?: number;
784
+ selectedPaginationClassNames?: string;
785
+ sortSettings?: SortSettings;
786
+ stripedRowsStyles?: Array<string>;
787
+ tableClassNames?: string;
788
+ tbodyClassNames?: string;
789
+ tdClassNames?: string;
790
+ thClassNames?: string;
791
+ thTextClassNames?: string;
792
+ theadClassNames?: string;
793
+ trClassNames?: string;
794
+ variant?: import("./DataTable").TableVariant;
795
+ viewMoreButton?: import("react").ReactElement;
839
796
  } & import("react").RefAttributes<HTMLTableElement>>;
840
- export declare const WithoutHeader: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("react").HTMLAttributes<HTMLTableElement> & {
841
- columns: import("./DataTable").DataTableColumn[];
842
- handleSort?: ((columnIndex: string, order: SortingOrder) => void) | undefined;
843
- isBordered?: boolean | undefined;
844
- isColumnsBordered?: boolean | undefined;
845
- isHeaderDisplayed?: boolean | undefined;
846
- isHoverable?: boolean | undefined;
847
- isLoading?: boolean | undefined;
848
- isOrdered?: boolean | undefined;
849
- isRowsBordered?: boolean | undefined;
850
- isStriped?: boolean | undefined;
851
- minHeight?: string | undefined;
852
- noDataComponent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
853
- noDataText?: string | undefined;
854
- outerClassNames?: string | undefined;
855
- paginationClassNames?: string | undefined;
797
+ export declare const WithoutHeader: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("react").HTMLAttributes<HTMLTableElement> & {
798
+ columns: Array<import("./DataTable").DataTableColumn>;
799
+ handleSort?: (columnIndex: keyof DataItem, order: SortingOrder) => void;
800
+ isBordered?: boolean;
801
+ isColumnsBordered?: boolean;
802
+ isHeaderDisplayed?: boolean;
803
+ isHoverable?: boolean;
804
+ isLoading?: boolean;
805
+ isOrdered?: boolean;
806
+ isRowsBordered?: boolean;
807
+ isStriped?: boolean;
808
+ minHeight?: string;
809
+ noDataComponent?: import("react").ReactElement;
810
+ noDataText?: string;
811
+ outerClassNames?: string;
812
+ paginationClassNames?: string;
856
813
  paginationData?: {
857
814
  currentPage: string | number;
858
- handlePaginationChange: (value?: string | number | undefined) => void;
815
+ handlePaginationChange: (value?: string | number) => void;
859
816
  totalRowsCount: number;
860
- } | undefined;
817
+ };
861
818
  rowEndIcon?: {
862
- component?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
863
- onClick?: ((rowIndex: number) => void) | undefined;
864
- size?: string | number | undefined;
865
- wrapperClassNames?: string | undefined;
866
- } | undefined;
867
- rowHoverStyles?: string | undefined;
868
- rowImageClassNames?: string | undefined;
869
- rowItems: import("./DataTable").RowItem[];
870
- rowsPerPage?: number | undefined;
871
- selectedPaginationClassNames?: string | undefined;
872
- sortSettings?: SortSettings | undefined;
873
- stripedRowsStyles?: string[] | undefined;
874
- tableClassNames?: string | undefined;
875
- tbodyClassNames?: string | undefined;
876
- tdClassNames?: string | undefined;
877
- thClassNames?: string | undefined;
878
- thTextClassNames?: string | undefined;
879
- theadClassNames?: string | undefined;
880
- trClassNames?: string | undefined;
881
- variant?: import("./DataTable").TableVariant | undefined;
882
- viewMoreButton?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
819
+ component?: import("react").ReactElement;
820
+ onClick?: (rowIndex: number) => void;
821
+ size?: number | string;
822
+ wrapperClassNames?: string;
823
+ };
824
+ rowHoverStyles?: string;
825
+ rowImageClassNames?: string;
826
+ rowItems: Array<import("./DataTable").RowItem>;
827
+ rowsPerPage?: number;
828
+ selectedPaginationClassNames?: string;
829
+ sortSettings?: SortSettings;
830
+ stripedRowsStyles?: Array<string>;
831
+ tableClassNames?: string;
832
+ tbodyClassNames?: string;
833
+ tdClassNames?: string;
834
+ thClassNames?: string;
835
+ thTextClassNames?: string;
836
+ theadClassNames?: string;
837
+ trClassNames?: string;
838
+ variant?: import("./DataTable").TableVariant;
839
+ viewMoreButton?: import("react").ReactElement;
883
840
  } & import("react").RefAttributes<HTMLTableElement>>;
884
- export declare const WithRowLinks: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("react").HTMLAttributes<HTMLTableElement> & {
885
- columns: import("./DataTable").DataTableColumn[];
886
- handleSort?: ((columnIndex: string, order: SortingOrder) => void) | undefined;
887
- isBordered?: boolean | undefined;
888
- isColumnsBordered?: boolean | undefined;
889
- isHeaderDisplayed?: boolean | undefined;
890
- isHoverable?: boolean | undefined;
891
- isLoading?: boolean | undefined;
892
- isOrdered?: boolean | undefined;
893
- isRowsBordered?: boolean | undefined;
894
- isStriped?: boolean | undefined;
895
- minHeight?: string | undefined;
896
- noDataComponent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
897
- noDataText?: string | undefined;
898
- outerClassNames?: string | undefined;
899
- paginationClassNames?: string | undefined;
841
+ export declare const WithRowLinks: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("react").HTMLAttributes<HTMLTableElement> & {
842
+ columns: Array<import("./DataTable").DataTableColumn>;
843
+ handleSort?: (columnIndex: keyof DataItem, order: SortingOrder) => void;
844
+ isBordered?: boolean;
845
+ isColumnsBordered?: boolean;
846
+ isHeaderDisplayed?: boolean;
847
+ isHoverable?: boolean;
848
+ isLoading?: boolean;
849
+ isOrdered?: boolean;
850
+ isRowsBordered?: boolean;
851
+ isStriped?: boolean;
852
+ minHeight?: string;
853
+ noDataComponent?: import("react").ReactElement;
854
+ noDataText?: string;
855
+ outerClassNames?: string;
856
+ paginationClassNames?: string;
900
857
  paginationData?: {
901
858
  currentPage: string | number;
902
- handlePaginationChange: (value?: string | number | undefined) => void;
859
+ handlePaginationChange: (value?: string | number) => void;
903
860
  totalRowsCount: number;
904
- } | undefined;
861
+ };
905
862
  rowEndIcon?: {
906
- component?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
907
- onClick?: ((rowIndex: number) => void) | undefined;
908
- size?: string | number | undefined;
909
- wrapperClassNames?: string | undefined;
910
- } | undefined;
911
- rowHoverStyles?: string | undefined;
912
- rowImageClassNames?: string | undefined;
913
- rowItems: import("./DataTable").RowItem[];
914
- rowsPerPage?: number | undefined;
915
- selectedPaginationClassNames?: string | undefined;
916
- sortSettings?: SortSettings | undefined;
917
- stripedRowsStyles?: string[] | undefined;
918
- tableClassNames?: string | undefined;
919
- tbodyClassNames?: string | undefined;
920
- tdClassNames?: string | undefined;
921
- thClassNames?: string | undefined;
922
- thTextClassNames?: string | undefined;
923
- theadClassNames?: string | undefined;
924
- trClassNames?: string | undefined;
925
- variant?: import("./DataTable").TableVariant | undefined;
926
- viewMoreButton?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
863
+ component?: import("react").ReactElement;
864
+ onClick?: (rowIndex: number) => void;
865
+ size?: number | string;
866
+ wrapperClassNames?: string;
867
+ };
868
+ rowHoverStyles?: string;
869
+ rowImageClassNames?: string;
870
+ rowItems: Array<import("./DataTable").RowItem>;
871
+ rowsPerPage?: number;
872
+ selectedPaginationClassNames?: string;
873
+ sortSettings?: SortSettings;
874
+ stripedRowsStyles?: Array<string>;
875
+ tableClassNames?: string;
876
+ tbodyClassNames?: string;
877
+ tdClassNames?: string;
878
+ thClassNames?: string;
879
+ thTextClassNames?: string;
880
+ theadClassNames?: string;
881
+ trClassNames?: string;
882
+ variant?: import("./DataTable").TableVariant;
883
+ viewMoreButton?: import("react").ReactElement;
927
884
  } & import("react").RefAttributes<HTMLTableElement>>;
928
885
  //# sourceMappingURL=DataTable.stories.d.ts.map