@fattureincloud/fic-design-system 0.7.37 → 0.7.41

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 (175) hide show
  1. package/dist/common/components/Spinner.d.ts +0 -1
  2. package/dist/components/accordions/accordions.d.ts +2 -2
  3. package/dist/components/accordions/accordions.stories.d.ts +4 -4
  4. package/dist/components/avatar/Avatar.d.ts +0 -1
  5. package/dist/components/avatar/avatar.stories.d.ts +0 -1
  6. package/dist/components/badge/badge.stories.d.ts +3 -3
  7. package/dist/components/banner/Banner.d.ts +0 -1
  8. package/dist/components/banner/types.d.ts +0 -1
  9. package/dist/components/buttons/button/styled.d.ts +0 -1
  10. package/dist/components/buttons/iconButton/iconButton.stories.d.ts +2 -2
  11. package/dist/components/chip/Chip.d.ts +2 -2
  12. package/dist/components/chip/styled.d.ts +0 -1
  13. package/dist/components/circularProgressBar/CircularProgressBar.d.ts +0 -1
  14. package/dist/components/circularProgressBar/types.d.ts +0 -1
  15. package/dist/components/drawer/components/styledDrawerWrapper.d.ts +0 -1
  16. package/dist/components/drawer/drawer.stories.d.ts +3 -3
  17. package/dist/components/dropdown/DropdownImpl.d.ts +0 -1
  18. package/dist/components/dropdown/components/DefaultDropdown.d.ts +0 -1
  19. package/dist/components/dropdown/components/DefaultTrigger.d.ts +0 -1
  20. package/dist/components/dropdown/components/Item.d.ts +0 -1
  21. package/dist/components/dropdown/components/Separator.d.ts +0 -1
  22. package/dist/components/dropdown/components/Title.d.ts +0 -1
  23. package/dist/components/dropdown/components/UserListItem.d.ts +0 -1
  24. package/dist/components/dropdown/dropdown.stories.d.ts +0 -1
  25. package/dist/components/editableInput/EditableInput.d.ts +0 -1
  26. package/dist/components/editableInput/components/CustomInput.d.ts +0 -1
  27. package/dist/components/editableInput/components/TextAreaPopup.d.ts +0 -1
  28. package/dist/components/floatingBadge/floatingBadge.stories.d.ts +3 -3
  29. package/dist/components/floatingBadge/withBadge.d.ts +0 -1
  30. package/dist/components/form/checkbox/Checkbox.d.ts +0 -1
  31. package/dist/components/form/datepicker/DatePicker.d.ts +0 -1
  32. package/dist/components/form/datepicker/DatePickerImpl.d.ts +0 -1
  33. package/dist/components/form/datepicker/components/CustomButton.d.ts +0 -1
  34. package/dist/components/form/datepicker/components/DatePickerHeader.d.ts +0 -1
  35. package/dist/components/form/datepicker/components/MonthPicker.d.ts +0 -1
  36. package/dist/components/form/datepicker/components/YearPicker.d.ts +0 -1
  37. package/dist/components/form/fileUploader/FileUploader.d.ts +0 -1
  38. package/dist/components/form/inputText/InputCode.d.ts +0 -1
  39. package/dist/components/form/inputText/InputTelephone.d.ts +0 -1
  40. package/dist/components/form/inputText/InputText.d.ts +1 -1
  41. package/dist/components/form/inputText/components/InputElement.d.ts +1 -1
  42. package/dist/components/form/inputText/components/StatusIcon.d.ts +0 -1
  43. package/dist/components/form/inputText/components/UnitDropdown.d.ts +0 -1
  44. package/dist/components/form/inputText/components/unitDropdown/UnitDropdownTrigger.d.ts +0 -1
  45. package/dist/components/form/label/Label.d.ts +0 -1
  46. package/dist/components/form/label/types.d.ts +0 -1
  47. package/dist/components/form/radio/Radio.d.ts +0 -1
  48. package/dist/components/form/radioGroup/RadioGroup.d.ts +0 -1
  49. package/dist/components/form/select/Select.d.ts +0 -1
  50. package/dist/components/form/select/components/ClearIndicator.d.ts +0 -1
  51. package/dist/components/form/select/components/Control.d.ts +0 -1
  52. package/dist/components/form/select/components/DropdownIndicator.d.ts +0 -1
  53. package/dist/components/form/select/components/FooterActions.d.ts +0 -1
  54. package/dist/components/form/select/components/MenuList.d.ts +0 -1
  55. package/dist/components/form/select/components/Option.d.ts +0 -1
  56. package/dist/components/form/select/components/SingleValue.d.ts +0 -1
  57. package/dist/components/form/textArea/components/CharCounter.d.ts +0 -1
  58. package/dist/components/groupedList/components/groupElement.d.ts +2 -2
  59. package/dist/components/groupedList/components/itemElement.d.ts +2 -2
  60. package/dist/components/groupedList/components/titleElement.d.ts +2 -2
  61. package/dist/components/groupedList/groupedList.d.ts +2 -2
  62. package/dist/components/groupedList/groupedList.stories.d.ts +2 -2
  63. package/dist/components/icon/Icon.d.ts +0 -1
  64. package/dist/components/icon/icon.stories.d.ts +5 -5
  65. package/dist/components/inlineMessage/InlineMessage.d.ts +0 -1
  66. package/dist/components/inlineMessage/styled.d.ts +0 -1
  67. package/dist/components/inlineMessage/types.d.ts +0 -1
  68. package/dist/components/layout/sidebarItem/SidebarItem.d.ts +0 -1
  69. package/dist/components/layout/sidebarItem/components/SidebarItemDropdown.d.ts +0 -1
  70. package/dist/components/layout/sidebarItem/styled.d.ts +0 -1
  71. package/dist/components/microTag/MicroTag.d.ts +0 -1
  72. package/dist/components/microTag/microtag.stories.d.ts +3 -3
  73. package/dist/components/modals/confirmationModal.d.ts +2 -2
  74. package/dist/components/modals/confirmationModalStyled.d.ts +1 -6
  75. package/dist/components/modals/modals.d.ts +2 -2
  76. package/dist/components/modals/modals.stories.d.ts +10 -10
  77. package/dist/components/modals/stepModal/StepModal.d.ts +0 -1
  78. package/dist/components/modals/stepModal/components/StepModalBody.d.ts +0 -1
  79. package/dist/components/modals/stepModal/components/StepModalFooter.d.ts +0 -1
  80. package/dist/components/modals/stepModal/components/StepModalHeader.d.ts +0 -1
  81. package/dist/components/modals/stepModal/styled.d.ts +1 -2
  82. package/dist/components/monthlyTab/MonthlyTab.d.ts +3 -0
  83. package/dist/components/monthlyTab/components/month/Month.d.ts +10 -0
  84. package/dist/components/monthlyTab/components/month/styled.d.ts +14 -0
  85. package/dist/components/monthlyTab/index.d.ts +3 -0
  86. package/dist/components/monthlyTab/monthlyTab.stories.d.ts +6 -0
  87. package/dist/components/monthlyTab/monthlyTabPalette.d.ts +3 -0
  88. package/dist/components/monthlyTab/stories/data.d.ts +2 -0
  89. package/dist/components/monthlyTab/styled.d.ts +5 -0
  90. package/dist/components/monthlyTab/types.d.ts +36 -0
  91. package/dist/components/monthlyTab/utils.d.ts +4 -0
  92. package/dist/components/newTable/Table.d.ts +0 -1
  93. package/dist/components/newTable/components/action/settings/ColumnsSettings/ColumnItem/styled.d.ts +0 -1
  94. package/dist/components/newTable/components/action/settings/ColumnsSettings/ColumnsSettings.d.ts +0 -1
  95. package/dist/components/newTable/components/action/settings/ColumnsSettings/DraggableContent/DraggableContent.d.ts +0 -1
  96. package/dist/components/newTable/components/action/settings/DropdownSettings/DropdownSettings.d.ts +0 -1
  97. package/dist/components/newTable/components/action/settings/RowHeightSettings/RowHeightSettings.d.ts +0 -1
  98. package/dist/components/newTable/components/action/settings/RowHeightSettings/styled.d.ts +0 -1
  99. package/dist/components/newTable/components/action/settings/Settings.d.ts +0 -1
  100. package/dist/components/newTable/components/action/settings/styled.d.ts +0 -1
  101. package/dist/components/newTable/components/action/toggle/Toggle.d.ts +0 -1
  102. package/dist/components/newTable/components/body/Body.d.ts +0 -1
  103. package/dist/components/newTable/components/bulkBar/BulkBar.d.ts +0 -1
  104. package/dist/components/newTable/components/cell/Cell.d.ts +0 -1
  105. package/dist/components/newTable/components/cell/customActionCell/CustomActionCell.d.ts +0 -1
  106. package/dist/components/newTable/components/cell/customActionCell/DropdownActionCell.d.ts +0 -1
  107. package/dist/components/newTable/components/cell/customActionCell/PrimaryActionCell.d.ts +0 -1
  108. package/dist/components/newTable/components/cell/customActionCell/styled.d.ts +0 -1
  109. package/dist/components/newTable/components/cell/customCell/CustomCell.d.ts +0 -1
  110. package/dist/components/newTable/components/cell/customCell/CustomInput.d.ts +0 -1
  111. package/dist/components/newTable/components/cell/customCell/TextAreaPopup.d.ts +0 -1
  112. package/dist/components/newTable/components/cell/customCell/styled.d.ts +0 -1
  113. package/dist/components/newTable/components/cell/loadingCell/LoadingCell.d.ts +0 -1
  114. package/dist/components/newTable/components/footer/Footer.d.ts +0 -1
  115. package/dist/components/newTable/components/header/Header.d.ts +0 -1
  116. package/dist/components/newTable/components/header/headerCell/ActionHeaderCell.d.ts +0 -1
  117. package/dist/components/newTable/styled.d.ts +0 -1
  118. package/dist/components/newTable/types.d.ts +0 -1
  119. package/dist/components/oldTable/Table.d.ts +0 -1
  120. package/dist/components/oldTable/components/EmptyState.d.ts +0 -1
  121. package/dist/components/oldTable/components/Pagination.d.ts +0 -1
  122. package/dist/components/oldTable/components/SelectedRowsCount.d.ts +0 -1
  123. package/dist/components/oldTable/components/actions/ActionsCell.d.ts +0 -1
  124. package/dist/components/oldTable/components/actions/DropdownActions.d.ts +0 -1
  125. package/dist/components/oldTable/components/actions/PrimaryAction.d.ts +0 -1
  126. package/dist/components/oldTable/components/checkboxes/Cell.d.ts +0 -1
  127. package/dist/components/oldTable/components/checkboxes/Header.d.ts +0 -1
  128. package/dist/components/oldTable/components/loadingCell/LoadingCell.d.ts +0 -1
  129. package/dist/components/oldTable/components/pagination/PaginationButtons.d.ts +0 -1
  130. package/dist/components/oldTable/components/tableHeader/SortIndicator.d.ts +0 -1
  131. package/dist/components/oldTable/components/tableHeader/TableHeader.d.ts +0 -1
  132. package/dist/components/oldTable/stories/components/CustomPerson.d.ts +0 -1
  133. package/dist/components/oldTable/stories/components/Role.d.ts +0 -1
  134. package/dist/components/pageEmptySet/pageEmptySet.d.ts +2 -2
  135. package/dist/components/pageEmptySet/pageEmptySet.stories.d.ts +2 -2
  136. package/dist/components/pagination/Pagination.d.ts +2 -2
  137. package/dist/components/progressbar/progressbar.d.ts +2 -2
  138. package/dist/components/progressbar/progressbar.stories.d.ts +4 -4
  139. package/dist/components/segmentButton/SegmentButton.d.ts +0 -1
  140. package/dist/components/stepper/Stepper.d.ts +0 -1
  141. package/dist/components/stepper/components/StepItem.d.ts +0 -1
  142. package/dist/components/stepper/stepper.stories.d.ts +2 -2
  143. package/dist/components/switch/Switch.d.ts +0 -1
  144. package/dist/components/tabs/common/types.d.ts +0 -1
  145. package/dist/components/tabs/dropdownTabs/TabsDropdown.d.ts +0 -1
  146. package/dist/components/tabs/dropdownTabs/TabsDropdownTrigger.d.ts +0 -1
  147. package/dist/components/tabs/dropdownTabs.d.ts +0 -1
  148. package/dist/components/tabs/scrollableTabs.d.ts +0 -1
  149. package/dist/components/tabs/tabs.stories.d.ts +3 -3
  150. package/dist/components/tag/Tag.d.ts +2 -2
  151. package/dist/components/tag/styled.d.ts +0 -1
  152. package/dist/components/tag/tag.stories.d.ts +3 -3
  153. package/dist/components/themeProvider/themeProvider.d.ts +1 -1
  154. package/dist/components/tip/shortcutTip.d.ts +0 -1
  155. package/dist/components/tip/tip.d.ts +0 -1
  156. package/dist/components/toast/components/toastContent.d.ts +0 -1
  157. package/dist/components/tooltip/tooltip.stories.d.ts +2 -2
  158. package/dist/components/verticalTab/VerticalTab.d.ts +3 -0
  159. package/dist/components/verticalTab/components/VerticalTabSelector/VerticalTabSelector.d.ts +13 -0
  160. package/dist/components/verticalTab/components/VerticalTabSelector/index.d.ts +5 -0
  161. package/dist/components/verticalTab/components/VerticalTabSelector/styled.d.ts +11 -0
  162. package/dist/components/verticalTab/components/VerticalTabSelector/types.d.ts +37 -0
  163. package/dist/components/verticalTab/components/VerticalTabSelector/verticalTabSelector.stories.d.ts +5 -0
  164. package/dist/components/verticalTab/components/VerticalTabSelector/verticalTabSelectorPalette.d.ts +3 -0
  165. package/dist/components/verticalTab/index.d.ts +2 -0
  166. package/dist/components/verticalTab/styled.d.ts +6 -0
  167. package/dist/components/verticalTab/types.d.ts +5 -0
  168. package/dist/components/verticalTab/verticalTab.stories.d.ts +7 -0
  169. package/dist/index.d.ts +5 -1
  170. package/dist/index.esm.js +31 -24
  171. package/dist/index.esm.js.map +1 -1
  172. package/dist/index.js +31 -10
  173. package/dist/index.js.map +1 -1
  174. package/dist/styles/theme.d.ts +5 -1
  175. package/package.json +3 -1
@@ -1,14 +1,14 @@
1
- /// <reference types="react" />
2
1
  import { Meta } from '@storybook/react';
2
+ import React from 'react';
3
3
  import { ModalPropsInterface } from './types';
4
- export declare const OpenModal: () => JSX.Element;
5
- export declare const BigText: () => JSX.Element;
6
- export declare const Fullscreen: () => JSX.Element;
7
- export declare const Small: () => JSX.Element;
8
- export declare const WithSearch: () => JSX.Element;
9
- export declare const FirstTime: () => JSX.Element;
10
- export declare const WithTips: () => JSX.Element;
11
- export declare const _ConfirmationModal: () => JSX.Element;
12
- export declare const StepModalExample: () => JSX.Element;
4
+ export declare const OpenModal: () => React.JSX.Element;
5
+ export declare const BigText: () => React.JSX.Element;
6
+ export declare const Fullscreen: () => React.JSX.Element;
7
+ export declare const Small: () => React.JSX.Element;
8
+ export declare const WithSearch: () => React.JSX.Element;
9
+ export declare const FirstTime: () => React.JSX.Element;
10
+ export declare const WithTips: () => React.JSX.Element;
11
+ export declare const _ConfirmationModal: () => React.JSX.Element;
12
+ export declare const StepModalExample: () => React.JSX.Element;
13
13
  declare const ModalStories: Meta<ModalPropsInterface>;
14
14
  export default ModalStories;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { StepModalProps, UknObj } from './types';
3
2
  declare const StepModal: <T extends UknObj>({ allowBackdropClose, className, steps, ...otherProps }: StepModalProps<T>) => JSX.Element | null;
4
3
  export default StepModal;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { StepModalBodyProps } from '../types';
3
2
  declare const StepModalBody: ({ children, ...otherProps }: StepModalBodyProps) => JSX.Element;
4
3
  export default StepModalBody;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { StepModalFooterProps } from '../types';
3
2
  declare const StepModalFooter: ({ buttons, children, className }: StepModalFooterProps) => JSX.Element;
4
3
  export default StepModalFooter;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { StepModalHeaderProps } from '../types';
3
2
  declare const StepModalHeader: ({ children, className, currentStep, setIsOpen, setStep, subtitle, title, }: StepModalHeaderProps) => JSX.Element;
4
3
  export default StepModalHeader;
@@ -1,4 +1,3 @@
1
- import { Modal } from '../modals';
2
1
  import { ContentWrapperProps } from './types';
3
2
  export declare const ModalBodyWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, ContentWrapperProps, never>;
4
- export declare const StyledModal: import("styled-components").StyledComponent<typeof Modal, import("styled-components").DefaultTheme, {}, never>;
3
+ export declare const StyledModal: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, any, any>;
@@ -0,0 +1,3 @@
1
+ import { MonthlyTabProps } from './types';
2
+ declare const MonthlyTrend: ({ data, selected, selectedChange, onSelectionChange, monthText, }: MonthlyTabProps) => JSX.Element;
3
+ export default MonthlyTrend;
@@ -0,0 +1,10 @@
1
+ interface MonthProps {
2
+ monthNumber: number;
3
+ percentage: number;
4
+ selected: boolean;
5
+ documents: number;
6
+ amount: number;
7
+ monthText: string;
8
+ }
9
+ declare const Month: ({ monthNumber, percentage, selected, documents, amount, monthText }: MonthProps) => JSX.Element;
10
+ export default Month;
@@ -0,0 +1,14 @@
1
+ /// <reference types="react" />
2
+ export declare const Container: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
3
+ selected: boolean;
4
+ }, never>;
5
+ export declare const Header: import("styled-components").StyledComponent<({ children, type, ...otherProps }: import("../../../../common/components/typography/types").TextProps & import("react").HTMLAttributes<HTMLDivElement>) => JSX.Element, import("styled-components").DefaultTheme, {
6
+ selected: boolean;
7
+ }, never>;
8
+ export declare const PercentageLevel: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
9
+ percentage: number;
10
+ selected?: boolean | undefined;
11
+ }, never>;
12
+ export declare const Content: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
13
+ export declare const Expenses: import("styled-components").StyledComponent<({ children, type, ...otherProps }: import("../../../../common/components/typography/types").TextProps & import("react").HTMLAttributes<HTMLDivElement>) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
14
+ export declare const Amount: import("styled-components").StyledComponent<({ children, type, ...otherProps }: import("../../../../common/components/typography/types").TextProps & import("react").HTMLAttributes<HTMLDivElement>) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
@@ -0,0 +1,3 @@
1
+ export { default as MonthlyTab } from './MonthlyTab';
2
+ export { MonthlyTabProps, MonthlyTabPalette, MonthData, MonthAmountData } from './types';
3
+ export { default as monthlyTabPalette } from './monthlyTabPalette';
@@ -0,0 +1,6 @@
1
+ import { Meta, Story } from '@storybook/react';
2
+ import { ComponentProps } from 'react';
3
+ import { MonthlyTab, MonthlyTabProps } from './index';
4
+ export declare const Template: Story<MonthlyTabProps>;
5
+ declare const MonthlyTabStories: Meta<ComponentProps<typeof MonthlyTab>>;
6
+ export default MonthlyTabStories;
@@ -0,0 +1,3 @@
1
+ import { MonthlyTabPalette } from './types';
2
+ declare const monthlyTabPalette: MonthlyTabPalette;
3
+ export default monthlyTabPalette;
@@ -0,0 +1,2 @@
1
+ import { MonthData } from '../types';
2
+ export declare const data: MonthData;
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ export declare const Container: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
3
+ export declare const MonthSelectionArea: import("styled-components").StyledComponent<import("react").FunctionComponent<import("@viselect/react/dist/SelectionArea").SelectionAreaProps>, import("styled-components").DefaultTheme, {}, never>;
4
+ export declare const SelectAllButton: import("styled-components").StyledComponent<({ className, color, fullWidth, href, iconLeft, iconRight, isDisabled, isLoading, onClick, size, target, text, type, }: import("../buttons").ButtonProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
5
+ export declare const TutorialText: import("styled-components").StyledComponent<({ children, type, ...otherProps }: import("../../common/components/typography/types").TextProps & import("react").HTMLAttributes<HTMLDivElement>) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
@@ -0,0 +1,36 @@
1
+ /// <reference types="react" />
2
+ import { paletteColor } from '../../styles/types';
3
+ export declare type MonthAmountData = {
4
+ month: number;
5
+ monthName: string;
6
+ } & MonthDocumentAmount;
7
+ declare type MonthDocumentAmount = {
8
+ documents: number;
9
+ amount: number;
10
+ };
11
+ export declare type MonthData = {
12
+ months: MonthDocumentAmount[];
13
+ };
14
+ export interface MonthlyTabProps {
15
+ data: MonthData;
16
+ selected: Set<string>;
17
+ selectedChange: React.Dispatch<React.SetStateAction<Set<string>>>;
18
+ onSelectionChange: (monthsData: MonthAmountData[]) => void;
19
+ monthText?: string;
20
+ }
21
+ export declare type MonthlyTabPalette = {
22
+ standard: {
23
+ borderBottom: paletteColor;
24
+ headerColor: paletteColor;
25
+ };
26
+ selected: {
27
+ borderBottom: paletteColor;
28
+ headerColor: paletteColor;
29
+ };
30
+ border: paletteColor;
31
+ fill: paletteColor;
32
+ amountColor: paletteColor;
33
+ monthColor: paletteColor;
34
+ expenseColor: paletteColor;
35
+ };
36
+ export {};
@@ -0,0 +1,4 @@
1
+ export declare const toPercentages: (numbers: number[]) => number[];
2
+ export declare const extractIds: (els: Element[]) => string[];
3
+ export declare const getMonthName: (monthNumber: number) => string;
4
+ export declare const formatCurrency: Intl.NumberFormat;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TableProps } from './types';
3
2
  /**
4
3
  * Component Props:
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const Container: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
3
2
  export declare const IconContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
4
3
  export declare const Icon: import("styled-components").StyledComponent<({ className, color, icon, isDisabled, onClick, type }: import("../../../../../../buttons").IconButtonProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Table } from '@tanstack/react-table';
3
2
  import { onChangeTableSettings } from '../../../../types';
4
3
  interface ColumnsSettingsProps<T> {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Table } from '@tanstack/react-table';
3
2
  import { onChangeTableSettings } from '../../../../../types';
4
3
  interface DraggableContentProps<T> {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Header } from '@tanstack/react-table';
3
2
  import { onChangeTableSettings } from '../../../../types';
4
3
  interface DropdownSettingsProps<T> {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { onChangeTableSettings } from '../../../../types';
3
2
  interface RowHeightSettingsProps {
4
3
  isDisabled?: boolean;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const Radio: import("styled-components").StyledComponent<({ onChange, helper, initialSelection, options, ...otherProps }: import("../../../../../form/radioGroup").RadioGroupProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Header } from '@tanstack/react-table';
3
2
  import { onChangeTableSettings } from '../../../types';
4
3
  interface SettingsProps<T> {
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const Icon: import("styled-components").StyledComponent<({ className, color, icon, isDisabled, onClick, type }: import("../../../../buttons").IconButtonProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface ToggleProps {
3
2
  checked?: boolean;
4
3
  disabled?: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Row } from '@tanstack/react-table';
3
2
  import { TableProps } from '../../types';
4
3
  interface BodyProps<T> extends Pick<TableProps<T>, 'rowSize' | 'bodyHeight' | 'rowIdHighlight' | 'rowHighlightColor'> {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { AllSelectedCTA, BulkAction } from '../../types';
3
2
  interface BulkBarProps {
4
3
  selectedRowData: string[];
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Cell as TCell, Row } from '@tanstack/react-table';
3
2
  import { RowSize } from '../../types';
4
3
  interface Props<T> {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Column, Row } from '@tanstack/react-table';
3
2
  import { ActionColumnDef, ActionType } from '../../../types';
4
3
  interface Props<T> extends ActionColumnDef<T> {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Row } from '@tanstack/react-table';
3
2
  import { RowAction } from '../../../types';
4
3
  interface Props<T> {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Row } from '@tanstack/react-table';
3
2
  import { PrimaryAction } from '../../../types';
4
3
  interface Props<T> {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const ActionCell: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
3
2
  export declare const TextBtn: import("styled-components").StyledComponent<({ className, color, fullWidth, href, iconLeft, iconRight, isDisabled, isLoading, onClick, size, target, text, type, }: import("../../../../buttons").ButtonProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
4
3
  export declare const IconBtn: import("styled-components").StyledComponent<({ className, color, icon, isDisabled, onClick, type }: import("../../../../buttons").IconButtonProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CellContext, Row } from '@tanstack/react-table';
3
2
  import { AccessorColumnDef, ActionColumnDef, AdditionalColumnDef, CustomCellProps, RowSize } from '../../../types';
4
3
  declare type Props<CellProps> = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Row } from '@tanstack/react-table';
3
2
  import { AccessorColumnDef, AdditionalColumnDef, CustomCellProps } from '../../../types';
4
3
  declare type CustomInputProps<CellProps> = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Row } from '@tanstack/react-table';
3
2
  import { AccessorColumnDef, CustomCellProps } from '../../../types';
4
3
  declare type TextAreaPopupProps<CellProps> = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const InputsWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
3
2
  export declare const TextAreaWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
4
3
  export declare const IconsWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface LoadingCellProps {
3
2
  isActionCell?: boolean;
4
3
  minWidth?: number;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { HeaderGroup } from '@tanstack/react-table';
3
2
  interface FooterProps<T> {
4
3
  footerGroup: HeaderGroup<T>[];
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { HeaderGroup } from '@tanstack/react-table';
3
2
  import { onChangeTableSettings, OnSort, RowSize } from '../../types';
4
3
  interface HeaderProps<T> {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Header } from '@tanstack/react-table';
3
2
  import { onChangeTableSettings } from '../../../types';
4
3
  interface CustomHeaderCellProps<T> {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const Container: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
3
2
  export declare const ScrollableContent: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
4
3
  export declare const TableWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DisplayColumnDef, GroupColumnDef, IdentifiedColumnDef, PaginationState, Row, SortDirection } from '@tanstack/react-table';
3
2
  import { AvatarProps } from '../avatar';
4
3
  import { ButtonProps } from '../buttons';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Row, UseTableOptions } from 'react-table';
3
2
  import { EmptyTablePageProps } from './components/EmptyState';
4
3
  import { ManualPagination, OnSelectionChange, OnSort, RowActions, TableData } from './types';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface EmptyTablePageProps {
3
2
  columnsCount: number;
4
3
  EmptyPage?: JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { UsePaginationInstanceProps } from 'react-table';
3
2
  import { TableData } from '../types';
4
3
  interface Props<T extends TableData> extends Omit<UsePaginationInstanceProps<T>, 'page' | 'pageOptions' | 'setPageSize'> {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface Props {
3
2
  count: number;
4
3
  resetSelection: () => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Row } from 'react-table';
3
2
  import { RowActions, TableData } from '../../types';
4
3
  interface Props<T extends TableData> {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Row } from 'react-table';
3
2
  import { RowAction, TableData } from '../../types';
4
3
  interface Props<T extends TableData> {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Row } from 'react-table';
3
2
  import { DropdownItemType } from '../../../dropdown';
4
3
  import { RowAction, TableData } from '../../types';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CellProps } from 'react-table';
3
2
  import { TableData } from '../../types';
4
3
  declare const Cell: <T extends TableData>({ row }: CellProps<T, any>) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { HeaderProps } from 'react-table';
3
2
  import { TableData } from '../../types';
4
3
  declare const Header: <T extends TableData>(props: HeaderProps<T>) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ColumnInstance } from 'react-table';
3
2
  import { TableData } from '../../types';
4
3
  interface LoadingCellProps<T extends TableData> {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { UsePaginationInstanceProps } from 'react-table';
3
2
  import { TableData } from '../../types';
4
3
  interface Props<T extends TableData> {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface Props {
3
2
  isSorted: boolean;
4
3
  isSortedDesc?: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { HeaderGroup, SortingRule } from 'react-table';
3
2
  import { TableData } from '../../types';
4
3
  interface Props<T extends TableData> {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CustomPersonData } from './types';
3
2
  interface Props {
4
3
  value: CustomPersonData;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const rolesArray: readonly ["master", "admin", undefined];
3
2
  export declare type roleType = typeof rolesArray[number];
4
3
  interface Props {
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { IconProps } from '../icon';
3
3
  interface Props {
4
4
  icon?: IconProps;
@@ -10,5 +10,5 @@ interface Props {
10
10
  action: () => void;
11
11
  };
12
12
  }
13
- export declare const PageEmptySet: ({ action, icon, text, title }: Props) => JSX.Element;
13
+ export declare const PageEmptySet: ({ action, icon, text, title }: Props) => React.JSX.Element;
14
14
  export {};
@@ -1,6 +1,6 @@
1
1
  import { Meta } from '@storybook/react';
2
- import { ComponentProps } from 'react';
2
+ import React, { ComponentProps } from 'react';
3
3
  import { PageEmptySet } from './index';
4
- export declare const Normal: () => JSX.Element;
4
+ export declare const Normal: () => React.JSX.Element;
5
5
  declare const PageEmptySetStories: Meta<ComponentProps<typeof PageEmptySet>>;
6
6
  export default PageEmptySetStories;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { PaginationProps } from './types';
3
3
  /**
4
4
  * Component Props:
@@ -12,5 +12,5 @@ import { PaginationProps } from './types';
12
12
  * @param {string} nextText Define next label text
13
13
  * @param {number} totalPages Define number of pages
14
14
  */
15
- declare const Pagination: (props: PaginationProps) => JSX.Element;
15
+ declare const Pagination: (props: PaginationProps) => React.JSX.Element;
16
16
  export default Pagination;
@@ -1,9 +1,9 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { ProgressBarProps } from './types';
3
3
  /**
4
4
  * Component Props:
5
5
  * @param {ProgressBarType} color Used to set the colors of the component
6
6
  * @param {number} percentage Numeric value used to set the progress bar percentage value
7
7
  */
8
- declare const ProgressBar: (props: ProgressBarProps) => JSX.Element;
8
+ declare const ProgressBar: (props: ProgressBarProps) => React.JSX.Element;
9
9
  export default ProgressBar;
@@ -1,10 +1,10 @@
1
1
  import { Meta, Story } from '@storybook/react';
2
- import { ComponentProps } from 'react';
2
+ import React, { ComponentProps } from 'react';
3
3
  import { ProgressBar } from '.';
4
4
  import { ProgressBarProps } from './';
5
5
  export declare const Template: Story<ProgressBarProps>;
6
- export declare const Editable: () => JSX.Element;
7
- export declare const Autocomplete: () => JSX.Element;
8
- export declare const AllColors: () => JSX.Element;
6
+ export declare const Editable: () => React.JSX.Element;
7
+ export declare const Autocomplete: () => React.JSX.Element;
8
+ export declare const AllColors: () => React.JSX.Element;
9
9
  declare const ProgressBarStories: Meta<ComponentProps<typeof ProgressBar>>;
10
10
  export default ProgressBarStories;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SegmentButtonProps } from './types';
3
2
  declare const SegmentButton: ({ onChange, preselected, segments }: SegmentButtonProps) => JSX.Element;
4
3
  export default SegmentButton;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface StepperProps {
3
2
  steps: string[];
4
3
  currentStep: number;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { stepStatusType } from '../types';
3
2
  interface Props {
4
3
  text?: string;
@@ -1,6 +1,6 @@
1
- /// <reference types="react" />
2
1
  import { Meta } from '@storybook/react';
2
+ import React from 'react';
3
3
  import { StepperProps } from './Stepper';
4
- export declare const WithKnobs: () => JSX.Element;
4
+ export declare const WithKnobs: () => React.JSX.Element;
5
5
  declare const StepperStories: Meta<StepperProps>;
6
6
  export default StepperStories;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SwitchProps } from '.';
3
2
  declare const Switch: ({ checked, onChange, color }: SwitchProps) => JSX.Element;
4
3
  export default Switch;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { WithBadgeProps } from '../../floatingBadge/types';
3
2
  import { TooltipProps } from '../../tooltip';
4
3
  export interface TabsProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TabsItem } from '../common/types';
3
2
  interface Props {
4
3
  active: TabsItem['active'];
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TabsItem } from '../common/types';
3
2
  interface Props {
4
3
  active: TabsItem['active'];
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TabsProps } from './common/types';
3
2
  declare const DropdownTabs: ({ className, distance, lateralPadding, tabs }: TabsProps) => JSX.Element;
4
3
  export default DropdownTabs;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TabsItem } from './common/types';
3
2
  interface Props {
4
3
  className?: string;
@@ -1,7 +1,7 @@
1
- /// <reference types="react" />
2
1
  import { Meta } from '@storybook/react';
2
+ import React from 'react';
3
3
  import { TabsProps } from './common/types';
4
- export declare const WithDropdown: () => JSX.Element;
5
- export declare const Scrollable: () => JSX.Element;
4
+ export declare const WithDropdown: () => React.JSX.Element;
5
+ export declare const Scrollable: () => React.JSX.Element;
6
6
  declare const TabsStories: Meta<TabsProps>;
7
7
  export default TabsStories;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { TagProps } from './types';
3
- export declare const Tag: ({ leftIcon, rightIcon, tagStyle, text, type, className }: TagProps) => JSX.Element;
3
+ export declare const Tag: ({ leftIcon, rightIcon, tagStyle, text, type, className }: TagProps) => React.JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TagParts } from './tagPalette';
3
2
  import { StyledTagProps } from './types';
4
3
  export declare const LeftIcon: import("styled-components").StyledComponent<({ onClick, isDisabled, ...props }: import("../icon").IconProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
@@ -1,7 +1,7 @@
1
- /// <reference types="react" />
2
1
  import { Meta } from '@storybook/react';
2
+ import React from 'react';
3
3
  import { TagProps } from './types';
4
- export declare const Normal: () => JSX.Element;
5
- export declare const WithKnobs: () => JSX.Element;
4
+ export declare const Normal: () => React.JSX.Element;
5
+ export declare const WithKnobs: () => React.JSX.Element;
6
6
  declare const TagStories: Meta<TagProps>;
7
7
  export default TagStories;