@fattureincloud/fic-design-system 0.4.20 → 0.4.21
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 +1 -0
- package/dist/components/dropdown/DropdownImpl.d.ts +1 -0
- package/dist/components/dropdown/components/DefaultTrigger.d.ts +1 -0
- package/dist/components/dropdown/components/Item.d.ts +1 -0
- package/dist/components/floatingBadge/withBadge.d.ts +1 -0
- package/dist/components/form/datepicker/DatePicker.d.ts +1 -0
- package/dist/components/form/datepicker/components/CustomButton.d.ts +1 -0
- package/dist/components/form/datepicker/components/DatePickerHeader.d.ts +1 -0
- package/dist/components/form/datepicker/components/MonthPicker.d.ts +1 -0
- package/dist/components/form/datepicker/components/YearPicker.d.ts +1 -0
- package/dist/components/form/fileUploader/FileUploader.d.ts +1 -0
- package/dist/components/form/inputText/components/StatusIcon.d.ts +1 -0
- package/dist/components/form/inputText/components/UnitDropdown.d.ts +1 -0
- package/dist/components/form/inputText/components/unitDropdown/UnitDropdownTrigger.d.ts +1 -0
- package/dist/components/form/select/Select.d.ts +1 -0
- package/dist/components/form/select/components/ClearIndicator.d.ts +1 -0
- package/dist/components/form/select/components/Control.d.ts +1 -0
- package/dist/components/form/select/components/DropdownIndicator.d.ts +1 -0
- package/dist/components/form/select/components/FooterActions.d.ts +1 -0
- package/dist/components/form/select/components/MenuList.d.ts +1 -0
- package/dist/components/form/select/components/Option.d.ts +1 -0
- package/dist/components/form/textArea/TextArea.d.ts +1 -0
- package/dist/components/form/textArea/components/CharCounter.d.ts +1 -0
- package/dist/components/form/textArea/components/TextAreaElement.d.ts +1 -0
- package/dist/components/icon/Icon.d.ts +1 -0
- package/dist/components/layout/sidebarItem/components/SidebarItemDropdown.d.ts +1 -0
- package/dist/components/microTag/MicroTag.d.ts +1 -0
- package/dist/components/stepper/Stepper.d.ts +1 -0
- package/dist/components/stepper/components/StepItem.d.ts +1 -0
- package/dist/components/table/components/Pagination.d.ts +1 -0
- package/dist/components/table/components/SelectedRowsCount.d.ts +1 -0
- package/dist/components/table/components/actions/DropdownActions.d.ts +1 -0
- package/dist/components/table/components/actions/PrimaryAction.d.ts +1 -0
- package/dist/components/table/components/checkboxes/Cell.d.ts +1 -0
- package/dist/components/table/components/checkboxes/Header.d.ts +1 -0
- package/dist/components/table/components/loadingCell/LoadingCell.d.ts +1 -0
- package/dist/components/table/components/pagination/PaginationButtons.d.ts +1 -0
- package/dist/components/table/components/tableHeader/SortIndicator.d.ts +1 -0
- package/dist/components/table/components/tableHeader/TableHeader.d.ts +1 -0
- package/dist/components/table/stories/components/CustomPerson.d.ts +1 -0
- package/dist/components/table/stories/components/Role.d.ts +1 -0
- package/dist/components/tabs/dropdownTabs/TabsDropdown.d.ts +1 -0
- package/dist/components/tabs/dropdownTabs/TabsDropdownTrigger.d.ts +1 -0
- package/dist/components/tabs/dropdownTabs.d.ts +1 -0
- package/dist/components/tabs/scrollableTabs.d.ts +1 -0
- package/dist/components/toast/components/toastContent.d.ts +10 -1
- package/dist/components/toast/index.d.ts +2 -3
- package/dist/components/toast/toast.d.ts +2 -9
- package/dist/components/toast/typings/toast.d.ts +2 -0
- package/dist/index.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { DropdownProps } from './types';
|
|
2
3
|
declare const DropdownImpl: ({ className, content, fullWidth, maxWidth, minWidthAsTrigger, placement, renderContent, renderTrigger, triggerStyles, title, forceOpen, disableArrowNavigation, maxHeight, isSmall, }: DropdownProps) => JSX.Element;
|
|
3
4
|
export default DropdownImpl;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { DropdownItemProps } from '../types';
|
|
2
3
|
import { DropdownItemStyles } from '../utils';
|
|
3
4
|
declare const Item: ({ active, className, componentId, icon, isDisabled, onClick, rowHasFocus, shortcut, text, ...rest }: DropdownItemProps & {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { FileRejection } from 'react-dropzone';
|
|
2
3
|
import { CustomPalette, FileType, FileUploaderSize, FileUploaderStatus } from './types';
|
|
3
4
|
export declare type fileUploaderOnDrop = (acceptedFiles: File[], rejectedFiles: FileRejection[]) => void;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { DropdownProps } from '../../../dropdown/types';
|
|
2
3
|
import { Unit } from './unitDropdown/UnitDropdownTrigger';
|
|
3
4
|
export interface UnitDropdownProps extends Pick<DropdownProps, 'renderContent' | 'placement' | 'className' | 'triggerStyles' | 'content' | 'maxWidth' | 'minWidthAsTrigger' | 'forceOpen'> {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { OptionType } from './components/Option';
|
|
2
3
|
import { AsyncCreatableSelectProps, AsyncSelectProps, CreatableSelectProps, SelectProps } from './types';
|
|
3
4
|
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,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { IndicatorProps } from 'react-select/src/components/indicators';
|
|
2
3
|
import { OptionType } from './Option';
|
|
3
4
|
declare const ClearIndicator: <O extends OptionType = OptionType, IsMulti extends boolean = false>({ isDisabled, clearValue, }: IndicatorProps<O, IsMulti, import("react-select").GroupTypeBase<O>>) => JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { ControlProps } from 'react-select';
|
|
2
3
|
import { OptionType } from './Option';
|
|
3
4
|
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,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { IndicatorProps } from 'react-select';
|
|
2
3
|
import { OptionType } from './Option';
|
|
3
4
|
declare const DropdownIndicator: <O extends OptionType = OptionType, IsMulti extends boolean = false>({ selectProps, }: IndicatorProps<O, IsMulti, import("react-select").GroupTypeBase<O>>) => JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { MenuListComponentProps } from 'react-select/src/components/Menu';
|
|
2
3
|
import { OptionType } from './Option';
|
|
3
4
|
declare const MenuList: <O extends OptionType = OptionType, IsMulti extends boolean = false>(props: MenuListComponentProps<O, IsMulti, import("react-select").GroupTypeBase<O>>) => JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { BoxedInputWrapperProps } from '../../common/styles';
|
|
2
3
|
import { TextAreaElementProps } from '../types';
|
|
3
4
|
declare const TextAreaElement: ({ autoFocus, onBlur, onChange, value, placeholder, disabled, name, onKeyPress, status, onKeyDown, onKeyUp, onFocus, className, setValue, initialHeight, maxLength, isResizable, showCounter, isPrefilled, }: TextAreaElementProps) => JSX.Element;
|
|
@@ -1,8 +1,17 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const StyledIconContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
3
|
+
isCentered: boolean;
|
|
4
|
+
}, never>;
|
|
3
5
|
export declare const StyledIcon: import("styled-components").StyledComponent<({ onClick, isDisabled, ...props }: import("../../icon").IconProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
|
|
6
|
+
export declare const ActionButton: 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>;
|
|
7
|
+
export declare const StyledTitleContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
8
|
+
export declare const StyledBody: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
4
9
|
export declare const StyledTitle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
5
10
|
export declare const StyledContent: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
11
|
+
export declare const StyledTitleText: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
6
12
|
export declare const StyledAction: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
7
13
|
export declare const StyledToast: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
8
14
|
export declare const StyledActionLabel: import("styled-components").StyledComponent<"label", import("styled-components").DefaultTheme, {}, never>;
|
|
15
|
+
export declare const StyledHeader: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
16
|
+
isCentered: boolean;
|
|
17
|
+
}, never>;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export { Toast, ToastProps };
|
|
1
|
+
export { Toast } from './Toast';
|
|
2
|
+
export { ToastInterface, ToastProps } from './typings/toast';
|
|
@@ -1,9 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
export declare const show: (title: ReactNode, options: ToastProps) => string | undefined;
|
|
4
|
-
export declare const dismiss: (toastId: string | undefined) => void;
|
|
5
|
-
export declare const success: (title: ReactNode, options?: ToastProps | undefined) => string | undefined;
|
|
6
|
-
export declare const error: (title: ReactNode, options?: ToastProps | undefined) => string | undefined;
|
|
7
|
-
export declare const warning: (title: ReactNode, options?: ToastProps | undefined) => string | undefined;
|
|
8
|
-
export declare const standard: (title: ReactNode, options?: ToastProps | undefined) => string | undefined;
|
|
9
|
-
export declare const info: (title: ReactNode, options?: ToastProps | undefined) => string | undefined;
|
|
1
|
+
import { ToastInterface } from './typings/toast';
|
|
2
|
+
export declare const Toast: ToastInterface;
|
|
@@ -2,6 +2,8 @@ import React, { ReactNode } from 'react';
|
|
|
2
2
|
import { ToastPosition } from 'react-toastify/dist/types';
|
|
3
3
|
import { IconProps } from '../../icon';
|
|
4
4
|
export declare type toastType = 'standard' | 'error' | 'info' | 'warning' | 'success';
|
|
5
|
+
export declare type toastLibraryType = 'dark' | 'error' | 'info' | 'warning' | 'success';
|
|
6
|
+
export declare const typeMap: Record<toastType, toastLibraryType>;
|
|
5
7
|
export interface ToastProps {
|
|
6
8
|
type?: toastType;
|
|
7
9
|
content?: ReactNode;
|