@ssa-ui-kit/core 1.0.16 → 1.0.18

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 (215) hide show
  1. package/custom-shots/components-popover--hint-opened__[w1920px].png +0 -0
  2. package/custom-shots/widgets-collapsiblenavbar-opened__[w1439px].png +0 -0
  3. package/custom-shots/widgets-collapsiblenavbar-opened__[w1439px]_statistics_submenu_popover.png +0 -0
  4. package/custom-shots/widgets-collapsiblenavbar-opened__[w1920px].png +0 -0
  5. package/custom-shots/widgets-collapsiblenavbar-opened__[w1920px]_side_menu_expanded.png +0 -0
  6. package/custom-shots/widgets-collapsiblenavbar-opened__[w1920px]_statistics_submenu_expanded.png +0 -0
  7. package/custom-shots/widgets-collapsiblenavbar-opened__[w1920px]_statistics_submenu_popover.png +0 -0
  8. package/custom-shots/widgets-collapsiblenavbar-opened__[w899px]_default.png +0 -0
  9. package/custom-shots/widgets-collapsiblenavbar-opened__[w899px]_menu_opened.png +0 -0
  10. package/custom-shots/widgets-collapsiblenavbar-opened__[w899px]_statistics_submenu.png +0 -0
  11. package/custom-shots/widgets-filters--default__[w1920px].png +0 -0
  12. package/custom-shots/widgets-filters--filter-button-items-not-selected__[w390px].png +0 -0
  13. package/custom-shots/widgets-filters--more-button-items-selected__[w390px].png +0 -0
  14. package/custom-shots/widgets-filters--more-button__[w900px].png +0 -0
  15. package/custom-shots/widgets-linkstabbar--current-focus__[w1920px].png +0 -0
  16. package/custom-shots/widgets-linkstabbar--non-current-focus__[w1920px].png +0 -0
  17. package/custom-shots/widgets-navbar-opened__[w1440px].png +0 -0
  18. package/custom-shots/widgets-navbar-opened__[w1920px].png +0 -0
  19. package/custom-shots/widgets-navbar-opened__[w390px].png +0 -0
  20. package/custom-shots/widgets-navbar-opened__[w900px].png +0 -0
  21. package/custom-shots/widgets-notification-menu--is-opened__[w1440px].png +0 -0
  22. package/custom-shots/widgets-notification-menu--is-opened__[w1920px].png +0 -0
  23. package/custom-shots/widgets-notification-menu--is-opened__[w390px].png +0 -0
  24. package/custom-shots/widgets-notification-menu--is-opened__[w900px].png +0 -0
  25. package/custom-shots/widgets-pagination--next-hover__[w1920px].png +0 -0
  26. package/custom-shots/widgets-pagination--not-selected-hover__[w1920px].png +0 -0
  27. package/custom-shots/widgets-pagination--previous-hover__[w1920px].png +0 -0
  28. package/custom-shots/widgets-pagination--selected-hover__[w1920px].png +0 -0
  29. package/custom-shots/widgets-pagination-disabled--next-hover__[w1920px].png +0 -0
  30. package/custom-shots/widgets-pagination-disabled--not-selected-hover__[w1920px].png +0 -0
  31. package/custom-shots/widgets-pagination-disabled--previous-hover__[w1920px].png +0 -0
  32. package/custom-shots/widgets-pagination-disabled--selected-hover__[w1920px].png +0 -0
  33. package/custom-shots/widgets-progressInfo__[w1440px].png +0 -0
  34. package/custom-shots/widgets-progressInfo__[w1920px].png +0 -0
  35. package/custom-shots/widgets-progressInfo__[w390px].png +0 -0
  36. package/custom-shots/widgets-progressInfo__[w900px].png +0 -0
  37. package/custom-shots/widgets-progressInfo__dropdown__[w1440px].png +0 -0
  38. package/custom-shots/widgets-progressInfo__dropdown__[w1920px].png +0 -0
  39. package/custom-shots/widgets-progressInfo__dropdown__[w390px].png +0 -0
  40. package/custom-shots/widgets-progressInfo__dropdown__[w900px].png +0 -0
  41. package/custom-shots/widgets-searchbox--cross-icon__[w900px].png +0 -0
  42. package/custom-shots/widgets-searchbox--search-icon__[w900px].png +0 -0
  43. package/custom-shots/widgets-table-filters--opened__[w1920px].png +0 -0
  44. package/custom-shots/widgets-user-profile--is-opened__[w1920px].png +0 -0
  45. package/dist/components/AccordionGroup/AccordionContent.d.ts +1 -6
  46. package/dist/components/AccordionGroup/AccordionContext.d.ts +0 -1
  47. package/dist/components/AccordionGroup/stories/helpers.d.ts +1 -1
  48. package/dist/components/AddNewAccountCard/types.d.ts +0 -1
  49. package/dist/components/Avatar/Avatar.d.ts +2 -3
  50. package/dist/components/Badge/BadgeBase.d.ts +2 -3
  51. package/dist/components/Badge/helpers.d.ts +4 -5
  52. package/dist/components/Badge/types.d.ts +0 -1
  53. package/dist/components/Button/Button.d.ts +0 -1
  54. package/dist/components/Button/ButtonBase.d.ts +2 -3
  55. package/dist/components/Button/fixtures.d.ts +32 -33
  56. package/dist/components/Button/helpers.d.ts +4 -5
  57. package/dist/components/Card/CardBase.d.ts +3 -4
  58. package/dist/components/Card/types.d.ts +0 -1
  59. package/dist/components/CardContent/CardContent.d.ts +0 -1
  60. package/dist/components/CardContent/CardContentBase.d.ts +3 -4
  61. package/dist/components/CardHeader/CardHeader.d.ts +0 -1
  62. package/dist/components/CardHeader/CardHeaderBase.d.ts +4 -5
  63. package/dist/components/CardList/types.d.ts +0 -1
  64. package/dist/components/Checkbox/CheckboxBase.d.ts +1 -1
  65. package/dist/components/CollapsibleNavBar/CollapsibleNavBarBase.d.ts +3 -4
  66. package/dist/components/CollapsibleNavBar/CollapsibleNavBarItem.d.ts +3 -4
  67. package/dist/components/CollapsibleNavBar/CollapsibleNavBarLink.d.ts +1 -2
  68. package/dist/components/CollapsibleNavBar/CollapsibleNavBarList.d.ts +3 -4
  69. package/dist/components/CollapsibleNavBar/CollapsibleNavBarWrapper.d.ts +3 -4
  70. package/dist/components/CollapsibleNavBar/CollapsibleNavToggleWrapper.d.ts +3 -4
  71. package/dist/components/CollapsibleNavBar/NavBarAccordionContent.d.ts +4 -9
  72. package/dist/components/CollapsibleNavBar/NavBarItemWithSubMenu.d.ts +1 -1
  73. package/dist/components/CollapsibleNavBar/NavBarItemWithoutSubMenu.d.ts +1 -2
  74. package/dist/components/CollapsibleNavBar/NavBarPopover.d.ts +1 -2
  75. package/dist/components/CollapsibleNavBar/TriggerIcon.d.ts +3 -3
  76. package/dist/components/CollapsibleNavBar/types.d.ts +0 -1
  77. package/dist/components/ColorPicker/styles.d.ts +2 -3
  78. package/dist/components/Dropdown/types.d.ts +0 -1
  79. package/dist/components/DropdownArrow/DropdownArrow.d.ts +2 -3
  80. package/dist/components/DropdownBase/DropdownBase.d.ts +2 -3
  81. package/dist/components/DropdownOption/DropdownOption.d.ts +2 -2
  82. package/dist/components/DropdownOptions/types.d.ts +0 -1
  83. package/dist/components/DropdownToggle/DropdownToggle.d.ts +2 -3
  84. package/dist/components/Filters/FilterBlockWrapper.d.ts +6 -7
  85. package/dist/components/Filters/Filters.d.ts +2 -13
  86. package/dist/components/Filters/FiltersContext.d.ts +3 -13
  87. package/dist/components/Filters/FiltersWrapper.d.ts +3 -4
  88. package/dist/components/Filters/hooks/useFiltersBlock.d.ts +6 -0
  89. package/dist/components/Filters/hooks/useVisibility.d.ts +0 -1
  90. package/dist/components/Form/Form.d.ts +2 -3
  91. package/dist/components/FormAction/FormAction.d.ts +2 -3
  92. package/dist/components/FormGroup/FormGroup.d.ts +2 -3
  93. package/dist/components/FormHelperText/FormHelperTextBase.d.ts +3 -4
  94. package/dist/components/FormHelperText/types.d.ts +0 -1
  95. package/dist/components/ImageItem/types.d.ts +0 -1
  96. package/dist/components/Indicator/IndicatorBase.d.ts +3 -4
  97. package/dist/components/Indicator/types.d.ts +0 -1
  98. package/dist/components/Input/Input.d.ts +0 -1
  99. package/dist/components/Input/InputBase.d.ts +2 -3
  100. package/dist/components/Input/InputGroup.d.ts +3 -4
  101. package/dist/components/Input/InputStatusError.d.ts +2 -3
  102. package/dist/components/Input/InputStatusSuccess.d.ts +2 -3
  103. package/dist/components/Label/LabelBase.d.ts +3 -4
  104. package/dist/components/LargeTab/LargeTabBase.d.ts +2 -3
  105. package/dist/components/Link/Link.types.d.ts +0 -1
  106. package/dist/components/Link/LinkBase.d.ts +2 -3
  107. package/dist/components/LinksTabBar/LinksTabBarBase.d.ts +2 -3
  108. package/dist/components/Modal/Modal.context.d.ts +0 -1
  109. package/dist/components/ModalDialog/types.d.ts +0 -1
  110. package/dist/components/ModalDismissButton/ModalDismissButton.d.ts +0 -1
  111. package/dist/components/ModalOpenButton/ModalOpenButton.d.ts +0 -1
  112. package/dist/components/MultipleDropdown/types.d.ts +0 -1
  113. package/dist/components/MultipleDropdownNotification/MultipleDropdownNotification.d.ts +3 -4
  114. package/dist/components/MultipleDropdownOptions/types.d.ts +0 -1
  115. package/dist/components/NavBar/NavBarBase.d.ts +2 -3
  116. package/dist/components/NavBar/NavBarItem.d.ts +2 -3
  117. package/dist/components/NavBar/NavBarLink.d.ts +1 -2
  118. package/dist/components/NavBar/NavBarList.d.ts +2 -3
  119. package/dist/components/NavBar/NavBarWrapper.d.ts +2 -3
  120. package/dist/components/NavBar/NavToggleWrapper.d.ts +2 -3
  121. package/dist/components/NotificationCard/NotificationCard.d.ts +0 -1
  122. package/dist/components/NotificationCard/types.d.ts +0 -1
  123. package/dist/components/NotificationMenu/types.d.ts +0 -1
  124. package/dist/components/Pagination/Pagination.d.ts +1 -1
  125. package/dist/components/Pagination/PaginationContext.d.ts +1 -2
  126. package/dist/components/Pagination/WithPagination.d.ts +1 -2
  127. package/dist/components/Pagination/components/RowsPerPageDropdown/RowsPerPageDropdown.d.ts +2 -0
  128. package/dist/components/Pagination/components/RowsPerPageDropdown/index.d.ts +2 -0
  129. package/dist/components/Pagination/components/RowsPerPageDropdown/types.d.ts +9 -0
  130. package/dist/components/Pagination/components/index.d.ts +1 -0
  131. package/dist/components/Pagination/constants.d.ts +6 -0
  132. package/dist/components/Pagination/styles.d.ts +7 -0
  133. package/dist/components/Pagination/types.d.ts +10 -1
  134. package/dist/components/PieChart/PieChartBases.d.ts +4 -5
  135. package/dist/components/PieChart/PieChartLegendList.d.ts +2 -3
  136. package/dist/components/PieChart/PieChartLegendMarker.d.ts +2 -3
  137. package/dist/components/PieChart/types.d.ts +0 -1
  138. package/dist/components/Popover/PopoverContent.d.ts +1 -1
  139. package/dist/components/Popover/stories/StoryComponent.d.ts +1 -1
  140. package/dist/components/Popover/types.d.ts +0 -1
  141. package/dist/components/Progress/types.d.ts +0 -1
  142. package/dist/components/ProgressCircle/ProgressCircleBase.d.ts +2 -3
  143. package/dist/components/ProgressCircle/ProgressCircleInner.d.ts +2 -3
  144. package/dist/components/ProgressCircle/ProgressCircleOuter.d.ts +2 -3
  145. package/dist/components/ProgressCircle/types.d.ts +0 -1
  146. package/dist/components/ProgressInfo/ProgressInfoTotals.d.ts +1 -2
  147. package/dist/components/ProgressLegend/types.d.ts +0 -1
  148. package/dist/components/ProgressLegendItem/types.d.ts +0 -1
  149. package/dist/components/ProgressVertical/types.d.ts +0 -1
  150. package/dist/components/Radio/RadioBase.d.ts +1 -1
  151. package/dist/components/RadioGroup/RadioGroupBase.d.ts +2 -3
  152. package/dist/components/RadioGroup/types.d.ts +0 -1
  153. package/dist/components/SearchBox/SearchBoxInput.d.ts +1 -2
  154. package/dist/components/SearchBox/SearchBoxWrapper.d.ts +2 -3
  155. package/dist/components/SearchBox/stories/StoryComponent.d.ts +1 -1
  156. package/dist/components/SegmentedPieChart/SegmentedPieChartContext.d.ts +1 -4
  157. package/dist/components/SegmentedPieChart/hooks/useData.d.ts +1 -1
  158. package/dist/components/SegmentedPieChart/types.d.ts +0 -1
  159. package/dist/components/Step/Step.d.ts +4 -7
  160. package/dist/components/StepLabel/StepLabel.d.ts +1 -1
  161. package/dist/components/Stepper/types.d.ts +0 -1
  162. package/dist/components/Switch/SwitchBase.d.ts +2 -3
  163. package/dist/components/Switch/SwitchContext.d.ts +1 -2
  164. package/dist/components/Tab/TabBase.d.ts +2 -3
  165. package/dist/components/TabBar/TabBarContext.d.ts +1 -2
  166. package/dist/components/TabBar/stories/helpers.d.ts +4 -9
  167. package/dist/components/TabBar/types.d.ts +0 -1
  168. package/dist/components/Table/Table.d.ts +2 -3
  169. package/dist/components/Table/stories/SortableTable.d.ts +1 -1
  170. package/dist/components/TableBody/TableBody.d.ts +2 -3
  171. package/dist/components/TableCell/TableCell.d.ts +3 -4
  172. package/dist/components/TableFilters/TableFilterTrigger.d.ts +3 -3
  173. package/dist/components/TableFilters/TableFilterTriggerWithNotification.d.ts +2 -2
  174. package/dist/components/TableFilters/TableFiltersAccordionContent.d.ts +1 -6
  175. package/dist/components/TableFilters/TableFiltersButtons.d.ts +2 -2
  176. package/dist/components/TableHead/TableHead.d.ts +2 -3
  177. package/dist/components/TableRow/TableRow.d.ts +2 -3
  178. package/dist/components/Tag/types.d.ts +0 -1
  179. package/dist/components/Textarea/TextareaBase.d.ts +2 -3
  180. package/dist/components/Tooltip/TooltipContentBase.d.ts +2 -3
  181. package/dist/components/Tooltip/types.d.ts +0 -1
  182. package/dist/components/Tooltip/useTooltipContext.d.ts +0 -1
  183. package/dist/components/TooltipContent/TooltipContent.d.ts +0 -1
  184. package/dist/components/TooltipTrigger/TooltipTrigger.d.ts +0 -1
  185. package/dist/components/Typeahead/Typeahead.context.d.ts +2 -2
  186. package/dist/components/Typeahead/components/TypeaheadItem.d.ts +3 -4
  187. package/dist/components/Typeahead/styles.d.ts +19 -20
  188. package/dist/components/Typeahead/types.d.ts +0 -1
  189. package/dist/components/Typography/Typography.d.ts +0 -1
  190. package/dist/components/Typography/types.d.ts +0 -1
  191. package/dist/components/WithVisibleLG/WithVisibleLG.d.ts +3 -4
  192. package/dist/components/WithVisibleMD/WithVisibleMD.d.ts +1 -2
  193. package/dist/components/WithVisibleSM/WithVisibleSM.d.ts +1 -2
  194. package/dist/components/WithVisibleUpToLG/WithVisibleUpToLG.d.ts +1 -2
  195. package/dist/components/Wrapper/Wrapper.d.ts +5 -6
  196. package/dist/index.js +1 -1
  197. package/dist/index.js.map +1 -1
  198. package/dist/styles/safari-focus-outline.d.ts +0 -1
  199. package/dist/types/emotion.d.ts +0 -1
  200. package/package.json +3 -2
  201. package/src/components/Filters/FiltersBlock.tsx +6 -31
  202. package/src/components/Filters/hooks/useFiltersBlock.ts +39 -0
  203. package/src/components/Pagination/Pagination.spec.tsx +2 -1
  204. package/src/components/Pagination/Pagination.stories.tsx +16 -2
  205. package/src/components/Pagination/Pagination.tsx +85 -43
  206. package/src/components/Pagination/PaginationContext.tsx +4 -1
  207. package/src/components/Pagination/components/RowsPerPageDropdown/RowsPerPageDropdown.tsx +70 -0
  208. package/src/components/Pagination/components/RowsPerPageDropdown/index.ts +2 -0
  209. package/src/components/Pagination/components/RowsPerPageDropdown/types.ts +7 -0
  210. package/src/components/Pagination/components/index.ts +1 -0
  211. package/src/components/Pagination/constants.ts +18 -0
  212. package/src/components/Pagination/styles.tsx +25 -0
  213. package/src/components/Pagination/types.ts +10 -0
  214. package/test-results/.last-run.json +4 -0
  215. package/tsbuildcache +1 -1
@@ -1,7 +1,6 @@
1
- /// <reference types="react" />
2
1
  export declare const ColorMarker: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
5
4
  } & {
6
5
  active: boolean;
7
6
  }, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DropdownOptionProps } from '../DropdownOptions';
3
2
  import { CommonProps } from '../../types/emotion';
4
3
  export interface DropdownProps<P extends DropdownOptionProps> extends CommonProps {
@@ -1,8 +1,7 @@
1
- /// <reference types="react" />
2
1
  import { CommonProps } from '../../types/emotion';
3
2
  export declare const DropdownArrowBase: import("@emotion/styled").StyledComponent<{
4
- theme?: import("@emotion/react").Theme | undefined;
5
- as?: import("react").ElementType<any> | undefined;
3
+ theme?: import("@emotion/react").Theme;
4
+ as?: React.ElementType;
6
5
  } & CommonProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
7
6
  declare const DropdownArrow: ({ isUp }: {
8
7
  isUp: boolean;
@@ -1,7 +1,6 @@
1
- /// <reference types="react" />
2
1
  import { CommonProps } from '../../types/emotion';
3
2
  declare const DropdownBase: import("@emotion/styled").StyledComponent<{
4
- theme?: import("@emotion/react").Theme | undefined;
5
- as?: import("react").ElementType<any> | undefined;
3
+ theme?: import("@emotion/react").Theme;
4
+ as?: React.ElementType;
6
5
  } & CommonProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
7
6
  export default DropdownBase;
@@ -12,7 +12,7 @@ interface DropdownItemProps extends CommonProps {
12
12
  children?: React.ReactNode;
13
13
  }
14
14
  declare const DropdownOption: import("@emotion/styled").StyledComponent<{
15
- theme?: Theme | undefined;
16
- as?: React.ElementType<any> | undefined;
15
+ theme?: Theme;
16
+ as?: React.ElementType;
17
17
  } & DropdownItemProps, React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, {}>;
18
18
  export default DropdownOption;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CommonProps } from '../../types/emotion';
3
2
  export type DropdownOptionProps = Record<string, string | number>;
4
3
  export interface DropdownItemsListProps extends CommonProps {
@@ -1,8 +1,7 @@
1
- /// <reference types="react" />
2
1
  import { DropdownToggleProps } from './types';
3
2
  export declare const DropdownToggleBase: import("@emotion/styled").StyledComponent<{
4
- theme?: import("@emotion/react").Theme | undefined;
5
- as?: import("react").ElementType<any> | undefined;
3
+ theme?: import("@emotion/react").Theme;
4
+ as?: React.ElementType;
6
5
  } & Pick<DropdownToggleProps, "colors" | "disabled" | "isOpen" | "isMultiple" | "selectedCount">, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
7
6
  declare const DropdownToggle: ({ onClick, onFocus, isOpen, isMultiple, selectedCount, disabled, children, ariaLabelledby, ariaControls, colors, className, }: DropdownToggleProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
8
7
  export default DropdownToggle;
@@ -1,11 +1,10 @@
1
- /// <reference types="react" />
2
1
  export declare const FilterBlockWrapper: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
5
4
  } & {
6
- avatarSize?: number | undefined;
7
- direction?: string | undefined;
8
- alignItems?: string | undefined;
5
+ avatarSize?: number;
6
+ direction?: string;
7
+ alignItems?: string;
9
8
  } & import("../..").CommonProps & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
10
- theme?: import("@emotion/react").Theme | undefined;
9
+ theme?: import("@emotion/react").Theme;
11
10
  }, {}, {}>;
@@ -1,16 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { TableFilterConfig } from '../TableFilters/types';
3
2
  import { UseTableDataParameters, UseTableDataResult } from '../TableFilters/hooks/useTableData';
4
- export declare const Filters: ({ checkboxData: initialState, updatedCheckboxData, handleSubmit, handleCancel, handleClear, handleDropdownChange, }: Pick<{
5
- checkboxData: TableFilterConfig;
6
- wrapperRef: import("react").RefObject<HTMLElement> | undefined;
7
- refsList: import("react").MutableRefObject<HTMLElement | null>[];
8
- setElementRef: (groupName: string, element: HTMLElement | null) => void;
9
- onCheckboxToggle: (groupName: string, name: string | number) => void;
10
- onDropdownChange: (groupName: string, name: string | number) => void;
11
- onSubmit: (event?: import("react").BaseSyntheticEvent<object, any, any> | undefined) => void;
12
- onReset: () => void;
13
- onClear: () => void;
14
- }, "checkboxData"> & {
15
- updatedCheckboxData?: TableFilterConfig | undefined;
3
+ export declare const Filters: ({ checkboxData: initialState, updatedCheckboxData, handleSubmit, handleCancel, handleClear, handleDropdownChange, }: Pick<UseTableDataResult, "checkboxData"> & {
4
+ updatedCheckboxData?: TableFilterConfig;
16
5
  } & Pick<UseTableDataParameters, "handleSubmit" | "handleCancel" | "handleClear" | "handleDropdownChange">) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
@@ -7,7 +7,7 @@ export declare const FiltersContext: import("react").Context<{
7
7
  setElementRef: (groupName: string, element: HTMLElement | null) => void;
8
8
  onCheckboxToggle: (groupName: string, name: string | number) => void;
9
9
  onDropdownChange: (groupName: string, name: string | number) => void;
10
- onSubmit: (event?: BaseSyntheticEvent<object, any, any> | undefined) => void;
10
+ onSubmit: (event?: BaseSyntheticEvent) => void;
11
11
  onReset: () => void;
12
12
  onClear: () => void;
13
13
  }>;
@@ -18,20 +18,10 @@ export declare const useFiltersContext: () => {
18
18
  setElementRef: (groupName: string, element: HTMLElement | null) => void;
19
19
  onCheckboxToggle: (groupName: string, name: string | number) => void;
20
20
  onDropdownChange: (groupName: string, name: string | number) => void;
21
- onSubmit: (event?: BaseSyntheticEvent<object, any, any> | undefined) => void;
21
+ onSubmit: (event?: BaseSyntheticEvent) => void;
22
22
  onReset: () => void;
23
23
  onClear: () => void;
24
24
  };
25
25
  export declare const FiltersContextProvider: ({ children, ...rest }: {
26
26
  children: React.ReactNode;
27
- } & {
28
- checkboxData: import("../TableFilters/types").TableFilterConfig;
29
- wrapperRef: import("react").RefObject<HTMLElement> | undefined;
30
- refsList: import("react").MutableRefObject<HTMLElement | null>[];
31
- setElementRef: (groupName: string, element: HTMLElement | null) => void;
32
- onCheckboxToggle: (groupName: string, name: string | number) => void;
33
- onDropdownChange: (groupName: string, name: string | number) => void;
34
- onSubmit: (event?: BaseSyntheticEvent<object, any, any> | undefined) => void;
35
- onReset: () => void;
36
- onClear: () => void;
37
- }) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
27
+ } & UseTableDataResult) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
@@ -1,7 +1,6 @@
1
- /// <reference types="react" />
2
1
  export declare const FiltersWrapper: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
5
4
  } & {
6
- isMoreButtonVisible?: boolean | undefined;
5
+ isMoreButtonVisible?: boolean;
7
6
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -0,0 +1,6 @@
1
+ export declare const useFiltersBlock: () => {
2
+ selectedItemsWithValue: Record<string, {
3
+ value: string;
4
+ }[]>;
5
+ handleOnChange: (groupName: string) => (item: string | number) => void;
6
+ };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TableFilterConfig } from '../../TableFilters/types';
3
2
  import { ElementInfo } from '../types';
4
3
  export type RefsByKey = Record<string, ElementInfo>;
@@ -1,7 +1,6 @@
1
- /// <reference types="react" />
2
1
  import { CommonProps } from '../../types/emotion';
3
2
  declare const Form: import("@emotion/styled").StyledComponent<{
4
- theme?: import("@emotion/react").Theme | undefined;
5
- as?: import("react").ElementType<any> | undefined;
3
+ theme?: import("@emotion/react").Theme;
4
+ as?: React.ElementType;
6
5
  } & CommonProps, import("react").DetailedHTMLProps<import("react").FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, {}>;
7
6
  export default Form;
@@ -1,7 +1,6 @@
1
- /// <reference types="react" />
2
1
  import { CommonProps } from '../../types/emotion';
3
2
  declare const FormAction: import("@emotion/styled").StyledComponent<{
4
- theme?: import("@emotion/react").Theme | undefined;
5
- as?: import("react").ElementType<any> | undefined;
3
+ theme?: import("@emotion/react").Theme;
4
+ as?: React.ElementType;
6
5
  } & CommonProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
7
6
  export default FormAction;
@@ -1,7 +1,6 @@
1
- /// <reference types="react" />
2
1
  import { CommonProps } from '../../types/emotion';
3
2
  declare const FormGroup: import("@emotion/styled").StyledComponent<{
4
- theme?: import("@emotion/react").Theme | undefined;
5
- as?: import("react").ElementType<any> | undefined;
3
+ theme?: import("@emotion/react").Theme;
4
+ as?: React.ElementType;
6
5
  } & CommonProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
7
6
  export default FormGroup;
@@ -1,7 +1,6 @@
1
- /// <reference types="react" />
2
1
  export declare const FormHelperTextBase: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
5
4
  } & {
6
- status?: string | undefined;
5
+ status?: string;
7
6
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CommonProps } from '../../types/emotion';
3
2
  export interface FormHelperTextProps extends CommonProps {
4
3
  children: React.ReactNode;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export type ImageItemProps = React.PropsWithChildren<{
3
2
  image: string;
4
3
  avatarSize?: number;
@@ -1,8 +1,7 @@
1
- /// <reference types="react" />
2
1
  declare const IndicatorBase: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
5
4
  } & {
6
- background?: string | undefined;
5
+ background?: string;
7
6
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
8
7
  export default IndicatorBase;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface IndicatorProps {
3
2
  isVisible: boolean;
4
3
  children: React.ReactElement;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InputProps } from './types';
3
2
  declare const Input: import("react").ForwardRefExoticComponent<InputProps & import("react").RefAttributes<HTMLInputElement>>;
4
3
  export default Input;
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
1
  export declare const InputBase: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
5
4
  }, import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, {}>;
@@ -1,7 +1,6 @@
1
- /// <reference types="react" />
2
1
  export declare const InputGroup: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
5
4
  } & {
6
- disabled?: boolean | undefined;
5
+ disabled?: boolean;
7
6
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  export declare const InputError: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
5
4
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
6
5
  export declare const InputStatusError: () => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  export declare const InputSuccess: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
5
4
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
6
5
  export declare const InputStatusSuccess: () => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
@@ -1,7 +1,6 @@
1
- /// <reference types="react" />
2
1
  export declare const LabelBase: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
5
4
  } & {
6
- isDisabled?: boolean | undefined;
5
+ isDisabled?: boolean;
7
6
  }, import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, {}>;
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { LargeTabProps } from '../TabBar/types';
3
2
  export declare const LargeTabBase: import("@emotion/styled").StyledComponent<{
4
- theme?: import("@emotion/react").Theme | undefined;
5
- as?: import("react").ElementType<any> | undefined;
3
+ theme?: import("@emotion/react").Theme;
4
+ as?: React.ElementType;
6
5
  } & Pick<LargeTabProps, "isActive">, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface LinkProps {
3
2
  href: string;
4
3
  children: React.ReactNode;
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
1
  export declare const LinkBase: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
5
4
  }, import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, {}>;
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
1
  export declare const LinksTabBarBase: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
5
4
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { ModalContextProps } from './types';
3
2
  export declare const ModalContext: import("react").Context<ModalContextProps>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface ModalDialogProps {
3
2
  isOpen: boolean;
4
3
  noBackground?: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare function ModalDismissButton({ children: child }: {
3
2
  children: JSX.Element;
4
3
  }): import("react").FunctionComponentElement<any>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare function ModalOpenButton({ children: child }: {
3
2
  children: JSX.Element;
4
3
  }): import("react").FunctionComponentElement<any>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DropdownOptionProps } from '../DropdownOptions/types';
3
2
  export type DropdownProps<P extends DropdownOptionProps> = {
4
3
  selectedItems?: P[];
@@ -1,8 +1,7 @@
1
- /// <reference types="react" />
2
1
  declare const MultipleDropdownNotification: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
5
4
  } & import("../..").CommonProps & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
6
- theme?: import("@emotion/react").Theme | undefined;
5
+ theme?: import("@emotion/react").Theme;
7
6
  }, {}, {}>;
8
7
  export default MultipleDropdownNotification;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export type DropdownOptionType = Record<string, string | number>;
3
2
  export interface DropdownItemsListProps {
4
3
  ariaLabelledby?: string;
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  declare const NavBarBase: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
5
4
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
6
5
  export default NavBarBase;
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  declare const NavBarItem: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
5
4
  }, import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, {}>;
6
5
  export default NavBarItem;
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
1
  declare const NavBarLink: import("@emotion/styled").StyledComponent<import("react-router-dom").NavLinkProps & import("react").RefAttributes<HTMLAnchorElement> & {
3
- theme?: import("@emotion/react").Theme | undefined;
2
+ theme?: import("@emotion/react").Theme;
4
3
  }, {}, {}>;
5
4
  export default NavBarLink;
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  declare const NavBarList: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
5
4
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, {}>;
6
5
  export default NavBarList;
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  declare const NavBarWrapper: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
5
4
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
6
5
  export default NavBarWrapper;
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  declare const NavToggleWrapper: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
5
4
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
6
5
  export default NavToggleWrapper;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { NotificationCardProps } from './types';
3
2
  export declare const notificationTypes: Record<string, {
4
3
  [key: string]: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export type NotificationType = 'Informational' | 'Warning' | 'Error';
3
2
  export interface NotificationCardProps {
4
3
  title: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { NotificationCardProps } from '../NotificationCard';
3
2
  export interface NotificationMenuProps {
4
3
  trigger: string | JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import { PaginationProps } from './types';
2
- declare const Pagination: ({ pagesCount, className, as, ariaLabel, isDisabled, }: PaginationProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
2
+ declare const Pagination: ({ pagesCount, className, as, ariaLabel, isDisabled, pageNumberPlaceholder, isPageSettingVisible, isRowPerPageVisible, rowPerPageProps, manualPageNumberProps, }: PaginationProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
3
3
  export default Pagination;
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
1
  import { PaginationContextProps, PaginationContextProviderProps } from './types';
3
2
  export declare const PaginationContext: import("react").Context<PaginationContextProps>;
4
3
  export declare const usePaginationContext: () => PaginationContextProps;
5
- export declare const PaginationContextProvider: ({ selectedPage, children, }: PaginationContextProviderProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
4
+ export declare const PaginationContextProvider: ({ selectedPage, defaultPerPage, children, }: PaginationContextProviderProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
- export declare const WithPagination: <T extends object>(Component: import("react").ComponentType<T>) => {
1
+ export declare const WithPagination: <T extends object>(Component: React.ComponentType<T>) => {
3
2
  (props: T): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
4
3
  displayName: string;
5
4
  };
@@ -0,0 +1,2 @@
1
+ import { RowsPerPageDropdownProps } from './types';
2
+ export declare const RowsPerPageDropdown: ({ selectedItem, rowsPerPageList, rowsPerPageText, ...rest }: RowsPerPageDropdownProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
@@ -0,0 +1,2 @@
1
+ export * from './RowsPerPageDropdown';
2
+ export * from '../../constants';
@@ -0,0 +1,9 @@
1
+ import { CommonProps } from '../../../../types/emotion';
2
+ export interface RowsPerPageDropdownProps extends CommonProps {
3
+ selectedItem?: number;
4
+ rowsPerPageText?: string;
5
+ rowsPerPageList?: Array<{
6
+ id: number;
7
+ value: number;
8
+ }>;
9
+ }
@@ -0,0 +1 @@
1
+ export * from './RowsPerPageDropdown';
@@ -0,0 +1,6 @@
1
+ export declare const ROWS_PER_PAGE_LIST: {
2
+ id: number;
3
+ value: number;
4
+ }[];
5
+ export declare const DEFAULT_SELECTED_INDEX = 1;
6
+ export declare const DEFAULT_PER_PAGE_VALUE: number;
@@ -2,3 +2,10 @@ import { Theme } from '@emotion/react';
2
2
  export declare const pageBtnStyles: (theme: Theme) => import("@emotion/react").SerializedStyles;
3
3
  export declare const selectedPageBtnStyles: (theme: Theme) => import("@emotion/react").SerializedStyles;
4
4
  export declare const arrowBtnStyles: (theme: Theme) => import("@emotion/react").SerializedStyles;
5
+ export declare const PaginationNav: import("@emotion/styled").StyledComponent<{
6
+ theme?: Theme;
7
+ as?: React.ElementType;
8
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
9
+ export declare const PageNumberInput: import("@emotion/styled").StyledComponent<import("../Input/types").InputProps & import("react").RefAttributes<HTMLInputElement> & {
10
+ theme?: Theme;
11
+ }, {}, {}>;
@@ -1,9 +1,15 @@
1
- /// <reference types="react" />
2
1
  import { CommonProps } from '../../types/emotion';
2
+ import { InputProps } from '../Input/types';
3
+ import { RowsPerPageDropdownProps } from './components/RowsPerPageDropdown/types';
3
4
  export interface PaginationProps extends CommonProps {
4
5
  pagesCount: number;
5
6
  ariaLabel?: string;
6
7
  isDisabled?: boolean;
8
+ pageNumberPlaceholder?: string;
9
+ isPageSettingVisible?: boolean;
10
+ isRowPerPageVisible?: boolean;
11
+ rowPerPageProps?: RowsPerPageDropdownProps;
12
+ manualPageNumberProps?: InputProps;
7
13
  }
8
14
  export interface PaginationButtonsProps {
9
15
  range: number[];
@@ -25,9 +31,12 @@ export interface PageButtonProps {
25
31
  }
26
32
  export interface PaginationContextProps {
27
33
  page?: number;
34
+ perPage: number;
28
35
  setPage: React.Dispatch<React.SetStateAction<number | undefined>>;
36
+ setPerPage: React.Dispatch<React.SetStateAction<number>>;
29
37
  }
30
38
  export interface PaginationContextProviderProps {
31
39
  selectedPage?: number;
40
+ defaultPerPage?: number;
32
41
  children: React.ReactNode;
33
42
  }
@@ -1,9 +1,8 @@
1
- /// <reference types="react" />
2
1
  export declare const PieChartBase: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
5
4
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
6
5
  export declare const PieChartTextBase: import("@emotion/styled").StyledComponent<{
7
- theme?: import("@emotion/react").Theme | undefined;
8
- as?: import("react").ElementType<any> | undefined;
6
+ theme?: import("@emotion/react").Theme;
7
+ as?: React.ElementType;
9
8
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
1
  export declare const PieChartLegendList: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
5
4
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, {}>;
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  export declare const PieChartLegendMarker: import("@emotion/styled").StyledComponent<import("../Badge/types").BadgeProps & import("react").RefAttributes<HTMLDivElement> & {
3
- theme?: import("@emotion/react").Theme | undefined;
2
+ theme?: import("@emotion/react").Theme;
4
3
  } & {
5
- background?: string | undefined;
4
+ background?: string;
6
5
  }, {}, {}>;