@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.
- package/dist/common/components/Spinner.d.ts +0 -1
- package/dist/components/accordions/accordions.d.ts +2 -2
- package/dist/components/accordions/accordions.stories.d.ts +4 -4
- package/dist/components/avatar/Avatar.d.ts +0 -1
- package/dist/components/avatar/avatar.stories.d.ts +0 -1
- package/dist/components/badge/badge.stories.d.ts +3 -3
- package/dist/components/banner/Banner.d.ts +0 -1
- package/dist/components/banner/types.d.ts +0 -1
- package/dist/components/buttons/button/styled.d.ts +0 -1
- package/dist/components/buttons/iconButton/iconButton.stories.d.ts +2 -2
- package/dist/components/chip/Chip.d.ts +2 -2
- package/dist/components/chip/styled.d.ts +0 -1
- package/dist/components/circularProgressBar/CircularProgressBar.d.ts +0 -1
- package/dist/components/circularProgressBar/types.d.ts +0 -1
- package/dist/components/drawer/components/styledDrawerWrapper.d.ts +0 -1
- package/dist/components/drawer/drawer.stories.d.ts +3 -3
- package/dist/components/dropdown/DropdownImpl.d.ts +0 -1
- package/dist/components/dropdown/components/DefaultDropdown.d.ts +0 -1
- package/dist/components/dropdown/components/DefaultTrigger.d.ts +0 -1
- package/dist/components/dropdown/components/Item.d.ts +0 -1
- package/dist/components/dropdown/components/Separator.d.ts +0 -1
- package/dist/components/dropdown/components/Title.d.ts +0 -1
- package/dist/components/dropdown/components/UserListItem.d.ts +0 -1
- package/dist/components/dropdown/dropdown.stories.d.ts +0 -1
- package/dist/components/editableInput/EditableInput.d.ts +0 -1
- package/dist/components/editableInput/components/CustomInput.d.ts +0 -1
- package/dist/components/editableInput/components/TextAreaPopup.d.ts +0 -1
- package/dist/components/floatingBadge/floatingBadge.stories.d.ts +3 -3
- package/dist/components/floatingBadge/withBadge.d.ts +0 -1
- package/dist/components/form/checkbox/Checkbox.d.ts +0 -1
- package/dist/components/form/datepicker/DatePicker.d.ts +0 -1
- package/dist/components/form/datepicker/DatePickerImpl.d.ts +0 -1
- package/dist/components/form/datepicker/components/CustomButton.d.ts +0 -1
- package/dist/components/form/datepicker/components/DatePickerHeader.d.ts +0 -1
- package/dist/components/form/datepicker/components/MonthPicker.d.ts +0 -1
- package/dist/components/form/datepicker/components/YearPicker.d.ts +0 -1
- package/dist/components/form/fileUploader/FileUploader.d.ts +0 -1
- package/dist/components/form/inputText/InputCode.d.ts +0 -1
- package/dist/components/form/inputText/InputTelephone.d.ts +0 -1
- package/dist/components/form/inputText/InputText.d.ts +1 -1
- package/dist/components/form/inputText/components/InputElement.d.ts +1 -1
- package/dist/components/form/inputText/components/StatusIcon.d.ts +0 -1
- package/dist/components/form/inputText/components/UnitDropdown.d.ts +0 -1
- package/dist/components/form/inputText/components/unitDropdown/UnitDropdownTrigger.d.ts +0 -1
- package/dist/components/form/label/Label.d.ts +0 -1
- package/dist/components/form/label/types.d.ts +0 -1
- package/dist/components/form/radio/Radio.d.ts +0 -1
- package/dist/components/form/radioGroup/RadioGroup.d.ts +0 -1
- package/dist/components/form/select/Select.d.ts +0 -1
- package/dist/components/form/select/components/ClearIndicator.d.ts +0 -1
- package/dist/components/form/select/components/Control.d.ts +0 -1
- package/dist/components/form/select/components/DropdownIndicator.d.ts +0 -1
- package/dist/components/form/select/components/FooterActions.d.ts +0 -1
- package/dist/components/form/select/components/MenuList.d.ts +0 -1
- package/dist/components/form/select/components/Option.d.ts +0 -1
- package/dist/components/form/select/components/SingleValue.d.ts +0 -1
- package/dist/components/form/textArea/components/CharCounter.d.ts +0 -1
- package/dist/components/groupedList/components/groupElement.d.ts +2 -2
- package/dist/components/groupedList/components/itemElement.d.ts +2 -2
- package/dist/components/groupedList/components/titleElement.d.ts +2 -2
- package/dist/components/groupedList/groupedList.d.ts +2 -2
- package/dist/components/groupedList/groupedList.stories.d.ts +2 -2
- package/dist/components/icon/Icon.d.ts +0 -1
- package/dist/components/icon/icon.stories.d.ts +5 -5
- package/dist/components/inlineMessage/InlineMessage.d.ts +0 -1
- package/dist/components/inlineMessage/styled.d.ts +0 -1
- package/dist/components/inlineMessage/types.d.ts +0 -1
- package/dist/components/layout/sidebarItem/SidebarItem.d.ts +0 -1
- package/dist/components/layout/sidebarItem/components/SidebarItemDropdown.d.ts +0 -1
- package/dist/components/layout/sidebarItem/styled.d.ts +0 -1
- package/dist/components/microTag/MicroTag.d.ts +0 -1
- package/dist/components/microTag/microtag.stories.d.ts +3 -3
- package/dist/components/modals/confirmationModal.d.ts +2 -2
- package/dist/components/modals/confirmationModalStyled.d.ts +1 -6
- package/dist/components/modals/modals.d.ts +2 -2
- package/dist/components/modals/modals.stories.d.ts +10 -10
- package/dist/components/modals/stepModal/StepModal.d.ts +0 -1
- package/dist/components/modals/stepModal/components/StepModalBody.d.ts +0 -1
- package/dist/components/modals/stepModal/components/StepModalFooter.d.ts +0 -1
- package/dist/components/modals/stepModal/components/StepModalHeader.d.ts +0 -1
- package/dist/components/modals/stepModal/styled.d.ts +1 -2
- package/dist/components/monthlyTab/MonthlyTab.d.ts +3 -0
- package/dist/components/monthlyTab/components/month/Month.d.ts +10 -0
- package/dist/components/monthlyTab/components/month/styled.d.ts +14 -0
- package/dist/components/monthlyTab/index.d.ts +3 -0
- package/dist/components/monthlyTab/monthlyTab.stories.d.ts +6 -0
- package/dist/components/monthlyTab/monthlyTabPalette.d.ts +3 -0
- package/dist/components/monthlyTab/stories/data.d.ts +2 -0
- package/dist/components/monthlyTab/styled.d.ts +5 -0
- package/dist/components/monthlyTab/types.d.ts +36 -0
- package/dist/components/monthlyTab/utils.d.ts +4 -0
- package/dist/components/newTable/Table.d.ts +0 -1
- package/dist/components/newTable/components/action/settings/ColumnsSettings/ColumnItem/styled.d.ts +0 -1
- package/dist/components/newTable/components/action/settings/ColumnsSettings/ColumnsSettings.d.ts +0 -1
- package/dist/components/newTable/components/action/settings/ColumnsSettings/DraggableContent/DraggableContent.d.ts +0 -1
- package/dist/components/newTable/components/action/settings/DropdownSettings/DropdownSettings.d.ts +0 -1
- package/dist/components/newTable/components/action/settings/RowHeightSettings/RowHeightSettings.d.ts +0 -1
- package/dist/components/newTable/components/action/settings/RowHeightSettings/styled.d.ts +0 -1
- package/dist/components/newTable/components/action/settings/Settings.d.ts +0 -1
- package/dist/components/newTable/components/action/settings/styled.d.ts +0 -1
- package/dist/components/newTable/components/action/toggle/Toggle.d.ts +0 -1
- package/dist/components/newTable/components/body/Body.d.ts +0 -1
- package/dist/components/newTable/components/bulkBar/BulkBar.d.ts +0 -1
- package/dist/components/newTable/components/cell/Cell.d.ts +0 -1
- package/dist/components/newTable/components/cell/customActionCell/CustomActionCell.d.ts +0 -1
- package/dist/components/newTable/components/cell/customActionCell/DropdownActionCell.d.ts +0 -1
- package/dist/components/newTable/components/cell/customActionCell/PrimaryActionCell.d.ts +0 -1
- package/dist/components/newTable/components/cell/customActionCell/styled.d.ts +0 -1
- package/dist/components/newTable/components/cell/customCell/CustomCell.d.ts +0 -1
- package/dist/components/newTable/components/cell/customCell/CustomInput.d.ts +0 -1
- package/dist/components/newTable/components/cell/customCell/TextAreaPopup.d.ts +0 -1
- package/dist/components/newTable/components/cell/customCell/styled.d.ts +0 -1
- package/dist/components/newTable/components/cell/loadingCell/LoadingCell.d.ts +0 -1
- package/dist/components/newTable/components/footer/Footer.d.ts +0 -1
- package/dist/components/newTable/components/header/Header.d.ts +0 -1
- package/dist/components/newTable/components/header/headerCell/ActionHeaderCell.d.ts +0 -1
- package/dist/components/newTable/styled.d.ts +0 -1
- package/dist/components/newTable/types.d.ts +0 -1
- package/dist/components/oldTable/Table.d.ts +0 -1
- package/dist/components/oldTable/components/EmptyState.d.ts +0 -1
- package/dist/components/oldTable/components/Pagination.d.ts +0 -1
- package/dist/components/oldTable/components/SelectedRowsCount.d.ts +0 -1
- package/dist/components/oldTable/components/actions/ActionsCell.d.ts +0 -1
- package/dist/components/oldTable/components/actions/DropdownActions.d.ts +0 -1
- package/dist/components/oldTable/components/actions/PrimaryAction.d.ts +0 -1
- package/dist/components/oldTable/components/checkboxes/Cell.d.ts +0 -1
- package/dist/components/oldTable/components/checkboxes/Header.d.ts +0 -1
- package/dist/components/oldTable/components/loadingCell/LoadingCell.d.ts +0 -1
- package/dist/components/oldTable/components/pagination/PaginationButtons.d.ts +0 -1
- package/dist/components/oldTable/components/tableHeader/SortIndicator.d.ts +0 -1
- package/dist/components/oldTable/components/tableHeader/TableHeader.d.ts +0 -1
- package/dist/components/oldTable/stories/components/CustomPerson.d.ts +0 -1
- package/dist/components/oldTable/stories/components/Role.d.ts +0 -1
- package/dist/components/pageEmptySet/pageEmptySet.d.ts +2 -2
- package/dist/components/pageEmptySet/pageEmptySet.stories.d.ts +2 -2
- package/dist/components/pagination/Pagination.d.ts +2 -2
- package/dist/components/progressbar/progressbar.d.ts +2 -2
- package/dist/components/progressbar/progressbar.stories.d.ts +4 -4
- package/dist/components/segmentButton/SegmentButton.d.ts +0 -1
- package/dist/components/stepper/Stepper.d.ts +0 -1
- package/dist/components/stepper/components/StepItem.d.ts +0 -1
- package/dist/components/stepper/stepper.stories.d.ts +2 -2
- package/dist/components/switch/Switch.d.ts +0 -1
- package/dist/components/tabs/common/types.d.ts +0 -1
- package/dist/components/tabs/dropdownTabs/TabsDropdown.d.ts +0 -1
- package/dist/components/tabs/dropdownTabs/TabsDropdownTrigger.d.ts +0 -1
- package/dist/components/tabs/dropdownTabs.d.ts +0 -1
- package/dist/components/tabs/scrollableTabs.d.ts +0 -1
- package/dist/components/tabs/tabs.stories.d.ts +3 -3
- package/dist/components/tag/Tag.d.ts +2 -2
- package/dist/components/tag/styled.d.ts +0 -1
- package/dist/components/tag/tag.stories.d.ts +3 -3
- package/dist/components/themeProvider/themeProvider.d.ts +1 -1
- package/dist/components/tip/shortcutTip.d.ts +0 -1
- package/dist/components/tip/tip.d.ts +0 -1
- package/dist/components/toast/components/toastContent.d.ts +0 -1
- package/dist/components/tooltip/tooltip.stories.d.ts +2 -2
- package/dist/components/verticalTab/VerticalTab.d.ts +3 -0
- package/dist/components/verticalTab/components/VerticalTabSelector/VerticalTabSelector.d.ts +13 -0
- package/dist/components/verticalTab/components/VerticalTabSelector/index.d.ts +5 -0
- package/dist/components/verticalTab/components/VerticalTabSelector/styled.d.ts +11 -0
- package/dist/components/verticalTab/components/VerticalTabSelector/types.d.ts +37 -0
- package/dist/components/verticalTab/components/VerticalTabSelector/verticalTabSelector.stories.d.ts +5 -0
- package/dist/components/verticalTab/components/VerticalTabSelector/verticalTabSelectorPalette.d.ts +3 -0
- package/dist/components/verticalTab/index.d.ts +2 -0
- package/dist/components/verticalTab/styled.d.ts +6 -0
- package/dist/components/verticalTab/types.d.ts +5 -0
- package/dist/components/verticalTab/verticalTab.stories.d.ts +7 -0
- package/dist/index.d.ts +5 -1
- package/dist/index.esm.js +31 -24
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +31 -10
- package/dist/index.js.map +1 -1
- package/dist/styles/theme.d.ts +5 -1
- package/package.json +3 -1
|
@@ -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,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 { 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
|
-
|
|
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
|
-
|
|
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 { 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 { 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,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,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 { FileRejection } from 'react-dropzone';
|
|
3
2
|
import { CustomPalette, FileType, FileUploaderSize, FileUploaderStatus } from './types';
|
|
4
3
|
export declare type fileUploaderOnDrop = (acceptedFiles: File[], rejectedFiles: FileRejection[]) => void;
|
|
@@ -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 { 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
|
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 { 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 { 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,6 +1,6 @@
|
|
|
1
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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,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, 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,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
|
-
|
|
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
|
|
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
|
}
|