@fattureincloud/fic-design-system 0.7.37 → 0.7.41

Sign up to get free protection for your applications and to get access to all the features.
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,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SizeProp } from '@fortawesome/fontawesome-svg-core';
3
2
  import { iconColors } from '../../components/icon';
4
3
  export interface Props {
@@ -1,9 +1,9 @@
1
- import { Component } from 'react';
1
+ import React, { Component } from 'react';
2
2
  import { TAccordion, UnstyledAccordionProps, UnstyledAccordionState } from './types';
3
3
  export declare class UnstyledAccordion extends Component<UnstyledAccordionProps, UnstyledAccordionState> {
4
4
  constructor(props: UnstyledAccordionProps);
5
5
  handleOpenAccordion: () => void;
6
- render(): JSX.Element;
6
+ render(): React.JSX.Element;
7
7
  }
8
8
  declare const Accordion: TAccordion;
9
9
  export default Accordion;
@@ -1,8 +1,8 @@
1
1
  import { Meta } from '@storybook/react';
2
- import { ComponentProps } from 'react';
2
+ import React, { ComponentProps } from 'react';
3
3
  import { TAccordion } from './types';
4
- export declare const Normal: () => JSX.Element;
5
- export declare const NormalThemed: () => JSX.Element;
6
- export declare const ShowingBodyAtFirstRender: () => JSX.Element;
4
+ export declare const Normal: () => React.JSX.Element;
5
+ export declare const NormalThemed: () => React.JSX.Element;
6
+ export declare const ShowingBodyAtFirstRender: () => React.JSX.Element;
7
7
  declare const AccordionStories: Meta<ComponentProps<TAccordion>>;
8
8
  export default AccordionStories;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { AvatarProps } from './types';
3
2
  declare const Avatar: ({ backgroundColor, className, icon, image, onClick, placeholder, randomColor, size, style, text, textColor, }: AvatarProps) => JSX.Element;
4
3
  export default Avatar;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Meta } from '@storybook/react';
3
2
  import { AvatarProps } from './types';
4
3
  export declare const Initials: () => JSX.Element;
@@ -1,8 +1,8 @@
1
- /// <reference types="react" />
2
1
  import { Meta, Story } from '@storybook/react';
2
+ import React from 'react';
3
3
  import { BadgeProps } from './';
4
4
  export declare const Template: Story<BadgeProps>;
5
- export declare const Normal: () => JSX.Element;
6
- export declare const Advanced: () => JSX.Element;
5
+ export declare const Normal: () => React.JSX.Element;
6
+ export declare const Advanced: () => React.JSX.Element;
7
7
  declare const BadgeStories: Meta<BadgeProps>;
8
8
  export default BadgeStories;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { BannerProps } from './types';
3
2
  /**
4
3
  * Component Props:
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { paletteColor } from '../../styles/types';
3
2
  import { IconProps } from '../icon';
4
3
  export interface BannerProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ButtonProps } from './Button';
3
2
  import { ButtonStyles, WrapperProps } 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,2 +1,2 @@
1
- /// <reference types="react" />
2
- export declare const WithKnobs: () => JSX.Element;
1
+ import React from 'react';
2
+ export declare const WithKnobs: () => React.JSX.Element;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { ChipProps } from '.';
3
3
  /**
4
4
  * Component Props:
@@ -9,5 +9,5 @@ import { ChipProps } from '.';
9
9
  * @param {IconProps} leftIcon Configuration of the left icon
10
10
  * @param {function} closeAction Callback called on right icon click
11
11
  */
12
- declare const Chip: (props: ChipProps) => JSX.Element;
12
+ declare const Chip: (props: ChipProps) => React.JSX.Element;
13
13
  export default Chip;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ChipProps } from './types';
3
2
  export declare const LeftIcon: import("styled-components").StyledComponent<({ onClick, isDisabled, ...props }: import("../icon").IconProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
4
3
  export declare const RightIcon: import("styled-components").StyledComponent<({ onClick, isDisabled, ...props }: import("../icon").IconProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CircularProgressBarProps } from './index';
3
2
  /**
4
3
  * Component Props:
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { paletteColor } from '../../styles/types';
3
2
  export interface CircularProgressBarProps {
4
3
  percentage: number;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DrawerProps } from '../drawer';
3
2
  export declare const StyledDrawerWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, DrawerProps, never>;
4
3
  export declare const StyledIcon: import("styled-components").StyledComponent<({ onClick, isDisabled, ...props }: import("../../icon").IconProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
@@ -1,8 +1,8 @@
1
1
  import { Meta } from '@storybook/react';
2
- import { ComponentProps } from 'react';
2
+ import React, { ComponentProps } from 'react';
3
3
  import { Drawer } from '.';
4
4
  export declare const DrawerGroup: () => JSX.Element;
5
- export declare const Editable: () => JSX.Element;
6
- export declare const WithState: () => JSX.Element;
5
+ export declare const Editable: () => React.JSX.Element;
6
+ export declare const WithState: () => React.JSX.Element;
7
7
  declare const DrawerStories: Meta<ComponentProps<typeof Drawer>>;
8
8
  export default DrawerStories;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DropdownProps } from './types';
3
2
  declare const DropdownImpl: ({ className, content, fullWidth, maxWidth, maxHeight, minWidthAsTrigger, placement, renderContent, renderTrigger, triggerStyles, title, forceOpen, disableArrowNavigation, isDisabled, emptyState, onOpen, withPadding, offsetY, forceClose, onClose, }: DropdownProps) => JSX.Element;
4
3
  export default DropdownImpl;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DefaultDropdownProps } from '../types';
3
2
  declare const DefaultDropdown: ({ closeDropdown, componentId, content, fullWidth, maxWidth, rowHasFocus, setHighlightedItem, emptyState, }: DefaultDropdownProps) => JSX.Element;
4
3
  export default DefaultDropdown;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DropdownTriggerProps } from '../types';
3
2
  declare const DefaultTrigger: ({ title, isDisabled }: DropdownTriggerProps) => JSX.Element;
4
3
  export default DefaultTrigger;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DropdownItemProps, StyledItemProps } from '../types';
3
2
  import { DropdownItemStyles } from '../utils';
4
3
  declare const Item: ({ active, className, componentId, icon, isDisabled, onClick, rowHasFocus, shortcut, text, ...rest }: DropdownItemProps & {
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Separator: () => JSX.Element;
3
2
  export default Separator;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TitleProps } from '../types';
3
2
  declare const Title: (props: TitleProps) => JSX.Element;
4
3
  export default Title;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { UserListItemProps } from '../types';
3
2
  export declare const UserListItem: (props: UserListItemProps) => JSX.Element;
4
3
  export declare const UserListWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Meta } from '@storybook/react';
3
2
  import { DropdownProps } from './types';
4
3
  export declare const Simple: () => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface Props {
3
2
  hover: boolean;
4
3
  content: string | number | null;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface Props {
3
2
  hover: boolean;
4
3
  content: string | number | null;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface Props {
3
2
  content: string | number | null;
4
3
  unitSymbol?: string | undefined;
@@ -1,8 +1,8 @@
1
- /// <reference types="react" />
2
1
  import { Meta, Story } from '@storybook/react';
2
+ import React from 'react';
3
3
  import { WithBadgeProps } from './types';
4
4
  export declare const Template: Story<WithBadgeProps>;
5
- export declare const Normal: () => JSX.Element;
6
- export declare const WithKnobs: () => JSX.Element;
5
+ export declare const Normal: () => React.JSX.Element;
6
+ export declare const WithKnobs: () => React.JSX.Element;
7
7
  declare const WithBadgeStories: Meta<WithBadgeProps>;
8
8
  export default WithBadgeStories;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { WithBadgeProps } from './types';
3
2
  /**
4
3
  * Component Props:
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CheckboxProps } from './types';
3
2
  /**
4
3
  * Component Props:
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DatePickerProps } from './types';
3
2
  /**
4
3
  * Component Props:
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DatePickerImplProps } from './types';
3
2
  declare const DatePickerImpl: (props: DatePickerImplProps) => JSX.Element;
4
3
  export default DatePickerImpl;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface Props {
3
2
  onClick: () => void;
4
3
  selected?: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ReactDatePickerCustomHeaderProps } from 'react-datepicker';
3
2
  export interface DatePickerHeaderProps extends ReactDatePickerCustomHeaderProps {
4
3
  allowMonthView: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ReactDatePickerCustomHeaderProps } from 'react-datepicker';
3
2
  declare type Props = Pick<ReactDatePickerCustomHeaderProps, 'changeMonth' | 'date'>;
4
3
  declare const MonthPicker: ({ changeMonth, date }: Props) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ReactDatePickerCustomHeaderProps } from 'react-datepicker';
3
2
  interface Props extends Pick<ReactDatePickerCustomHeaderProps, 'date' | 'changeYear'> {
4
3
  yearsDisplayed: number;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FileRejection } from 'react-dropzone';
3
2
  import { CustomPalette, FileType, FileUploaderSize, FileUploaderStatus } from './types';
4
3
  export declare type fileUploaderOnDrop = (acceptedFiles: File[], rejectedFiles: FileRejection[]) => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InputCodeProps } from './types';
3
2
  declare const InputCode: (props: InputCodeProps) => JSX.Element;
4
3
  export default InputCode;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InputTelephoneProps } from './types';
3
2
  declare const InputTelephone: ({ className, disabled, helper, required, label, value, setValue, placeholder, }: InputTelephoneProps) => JSX.Element;
4
3
  export default InputTelephone;
@@ -2,13 +2,13 @@ import React from 'react';
2
2
  declare const _default: React.ForwardRefExoticComponent<import("../label").LabelProps & import("../common/types").CommonFormTypes & {
3
3
  className?: string | undefined;
4
4
  name?: string | undefined;
5
+ autoFocus?: boolean | undefined;
5
6
  onFocus?: React.FocusEventHandler<HTMLInputElement> | undefined;
6
7
  onBlur?: React.FocusEventHandler<HTMLInputElement> | undefined;
7
8
  onChange?: React.ChangeEventHandler<HTMLInputElement> | undefined;
8
9
  onKeyDown?: React.KeyboardEventHandler<HTMLInputElement> | undefined;
9
10
  onKeyPress?: React.KeyboardEventHandler<HTMLInputElement> | undefined;
10
11
  onKeyUp?: React.KeyboardEventHandler<HTMLInputElement> | undefined;
11
- autoFocus?: boolean | undefined;
12
12
  required?: boolean | undefined;
13
13
  } & {
14
14
  actionIcon?: import("../../icon").IconProps | undefined;
@@ -7,13 +7,13 @@ export declare type InputTextStyles = Omit<BoxedInputWrapperProps, 'status'>;
7
7
  declare const _default: React.ForwardRefExoticComponent<import("../../common/types").CommonFormTypes & {
8
8
  className?: string | undefined;
9
9
  name?: string | undefined;
10
+ autoFocus?: boolean | undefined;
10
11
  onFocus?: React.FocusEventHandler<HTMLInputElement> | undefined;
11
12
  onBlur?: React.FocusEventHandler<HTMLInputElement> | undefined;
12
13
  onChange?: React.ChangeEventHandler<HTMLInputElement> | undefined;
13
14
  onKeyDown?: React.KeyboardEventHandler<HTMLInputElement> | undefined;
14
15
  onKeyPress?: React.KeyboardEventHandler<HTMLInputElement> | undefined;
15
16
  onKeyUp?: React.KeyboardEventHandler<HTMLInputElement> | undefined;
16
- autoFocus?: boolean | undefined;
17
17
  required?: boolean | undefined;
18
18
  } & {
19
19
  actionIcon?: import("../../../icon").IconProps | undefined;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { statusType } from '../../common/types';
3
2
  interface Props {
4
3
  status: statusType;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DropdownProps } from '../../../dropdown/types';
3
2
  import { Unit } from './unitDropdown/UnitDropdownTrigger';
4
3
  export interface UnitDropdownProps extends Pick<DropdownProps, 'renderContent' | 'placement' | 'className' | 'triggerStyles' | 'content' | 'maxWidth' | 'minWidthAsTrigger' | 'forceOpen'> {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface Unit {
3
2
  name: string;
4
3
  shortName?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { LabelProps } from './';
3
2
  /**
4
3
  * Component Props:
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { paletteColor } from '../../..';
3
2
  export interface WrapperProps {
4
3
  disabled?: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { RadioProps } from './types';
3
2
  /**
4
3
  * Component Props:
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { RadioGroupProps } from './types';
3
2
  /**
4
3
  * Component Props:
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { OptionType } from './components/Option';
3
2
  import { AsyncCreatableSelectProps, AsyncSelectProps, CreatableSelectProps, SelectProps } from './types';
4
3
  export declare const Select: <O extends OptionType = OptionType, IsMulti extends boolean = false>(props: SelectProps<O, IsMulti, import("react-select").Props<O, IsMulti, import("react-select").GroupTypeBase<O>>>) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { IndicatorProps } from 'react-select/src/components/indicators';
3
2
  import { OptionType } from './Option';
4
3
  declare const ClearIndicator: <O extends OptionType = OptionType, IsMulti extends boolean = false>({ isDisabled, clearValue, }: IndicatorProps<O, IsMulti, import("react-select").GroupTypeBase<O>>) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ControlProps } from 'react-select';
3
2
  import { OptionType } from './Option';
4
3
  declare const Control: <O extends OptionType = OptionType, IsMulti extends boolean = false>({ innerProps: { onMouseDown }, children, }: ControlProps<O, IsMulti, import("react-select").GroupTypeBase<O>>) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { IndicatorProps } from 'react-select';
3
2
  import { OptionType } from './Option';
4
3
  declare const DropdownIndicator: <O extends OptionType = OptionType, IsMulti extends boolean = false>({ selectProps, }: IndicatorProps<O, IsMulti, import("react-select").GroupTypeBase<O>>) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DropdownItemProps } from '../../../dropdown';
3
2
  export interface SelectActionsType extends DropdownItemProps {
4
3
  closeOnClick?: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { MenuListComponentProps } from 'react-select/src/components/Menu';
3
2
  import { OptionType } from './Option';
4
3
  declare const MenuList: <O extends OptionType = OptionType, IsMulti extends boolean = false>(props: MenuListComponentProps<O, IsMulti, import("react-select").GroupTypeBase<O>>) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { OptionProps } from 'react-select';
3
2
  import { OptionTypeBase } from 'react-select/src/types';
4
3
  import { IconProps } from '../../../icon';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SingleValueProps } from 'react-select';
3
2
  import { OptionType } from './Option';
4
3
  declare const SingleValue: <O extends OptionType = OptionType>({ data: { icon, label }, }: SingleValueProps<O, import("react-select").GroupTypeBase<O>>) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface CharCounterProps extends CharCounterOptions {
3
2
  length: number;
4
3
  }
@@ -1,6 +1,6 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { CommonComponentsProps, GroupType } from '../types';
3
3
  interface GroupElementType extends GroupType, CommonComponentsProps {
4
4
  }
5
- declare const GroupElement: ({ index, items, title, ...rest }: GroupElementType) => JSX.Element;
5
+ declare const GroupElement: ({ index, items, title, ...rest }: GroupElementType) => React.JSX.Element;
6
6
  export default GroupElement;
@@ -1,6 +1,6 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { CommonComponentsProps, ItemType } from '../types';
3
3
  interface ItemElementType extends ItemType, CommonComponentsProps {
4
4
  }
5
- declare const ItemElement: (props: ItemElementType) => JSX.Element;
5
+ declare const ItemElement: (props: ItemElementType) => React.JSX.Element;
6
6
  export default ItemElement;
@@ -1,8 +1,8 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { GroupType } from '../types';
3
3
  interface Props {
4
4
  title: GroupType['title'];
5
5
  noResults: boolean;
6
6
  }
7
- declare const TitleElement: (props: Props) => JSX.Element;
7
+ declare const TitleElement: (props: Props) => React.JSX.Element;
8
8
  export default TitleElement;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { GroupedListProps } from './types';
3
- declare const GroupedList: (props: GroupedListProps) => JSX.Element;
3
+ declare const GroupedList: (props: GroupedListProps) => React.JSX.Element;
4
4
  export default GroupedList;
@@ -1,6 +1,6 @@
1
- /// <reference types="react" />
2
1
  import { Meta } from '@storybook/react';
2
+ import React from 'react';
3
3
  import { GroupedListProps } from './types';
4
- export declare const Simple: () => JSX.Element;
4
+ export declare const Simple: () => React.JSX.Element;
5
5
  declare const GroupedListStories: Meta<GroupedListProps>;
6
6
  export default GroupedListStories;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FontAwesomeIconProps } from '@fortawesome/react-fontawesome';
3
2
  import { iconColors } from './iconPalette';
4
3
  export interface IconProps extends Omit<FontAwesomeIconProps, 'color'> {
@@ -1,9 +1,9 @@
1
- /// <reference types="react" />
2
1
  import { Meta } from '@storybook/react';
2
+ import React from 'react';
3
3
  import { IconProps } from './Icon';
4
- export declare const Normal: () => JSX.Element;
5
- export declare const WithBackground: () => JSX.Element;
6
- export declare const DuotoneColored: () => JSX.Element;
7
- export declare const _CustomIcon: () => JSX.Element;
4
+ export declare const Normal: () => React.JSX.Element;
5
+ export declare const WithBackground: () => React.JSX.Element;
6
+ export declare const DuotoneColored: () => React.JSX.Element;
7
+ export declare const _CustomIcon: () => React.JSX.Element;
8
8
  declare const IconStories: Meta<IconProps>;
9
9
  export default IconStories;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InlineMessageProps } from './types';
3
2
  /**
4
3
  * Component Props:
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InlineMessageProps, InlineMessageType, StyledContentProps } from './types';
3
2
  export declare const StyledIconTitle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
4
3
  export declare const StyledContent: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { paletteColor } from '../../styles/types';
3
2
  import { IconProps } from '../icon';
4
3
  export declare enum InlineMessageType {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SidebarItemProps } from './types';
3
2
  /**
4
3
  * Component Props:
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SidebarItemDropdownProps } from '../types';
3
2
  declare const SidebarItemDropdown: ({ className, content, forceOpen }: SidebarItemDropdownProps) => JSX.Element;
4
3
  export default SidebarItemDropdown;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { paletteColor } from '../../../styles/types';
3
2
  import { SidebarItemStyles } from './types';
4
3
  export interface WrapperProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TagType } from './types';
3
2
  export interface MicroTagProps {
4
3
  text: string;
@@ -1,7 +1,7 @@
1
- /// <reference types="react" />
2
1
  import { Meta } from '@storybook/react';
2
+ import React from 'react';
3
3
  import { MicroTagProps } from './MicroTag';
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 MicroTagStories: Meta<MicroTagProps>;
7
7
  export default MicroTagStories;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { buttonColors } from '../buttons/button/types';
3
3
  interface Props {
4
4
  title?: string;
@@ -15,5 +15,5 @@ interface Props {
15
15
  cancelColor?: buttonColors;
16
16
  customHeader?: JSX.Element;
17
17
  }
18
- export declare const ConfirmationModal: (props: Props) => JSX.Element;
18
+ export declare const ConfirmationModal: (props: Props) => React.JSX.Element;
19
19
  export {};
@@ -1,9 +1,4 @@
1
- import React from 'react';
2
- import { Modal } from './modals';
3
- import { ModalPropsInterface } from './types';
4
- export declare const CustomSizeModal: import("styled-components").StyledComponent<typeof Modal, import("styled-components").DefaultTheme, ModalPropsInterface & {
5
- children: React.ReactNode;
6
- }, never>;
1
+ export declare const CustomSizeModal: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, any, any>;
7
2
  export declare const TitleContent: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
8
3
  export declare const BodyContent: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
9
4
  export declare const Question: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -1,4 +1,4 @@
1
- import { Component } from 'react';
1
+ import React, { Component } from 'react';
2
2
  import { ModalPropsInterface, ModalStateInterface } from './types';
3
3
  export declare class Modal extends Component<ModalPropsInterface, ModalStateInterface> {
4
4
  constructor(props: ModalPropsInterface);
@@ -9,5 +9,5 @@ export declare class Modal extends Component<ModalPropsInterface, ModalStateInte
9
9
  renderFooter: () => JSX.Element | undefined;
10
10
  handleModalClose: () => void;
11
11
  contentRefCallback: () => void;
12
- render(): JSX.Element;
12
+ render(): React.JSX.Element;
13
13
  }