@fattureincloud/fic-design-system 0.18.0 → 0.18.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/banner/Banner.d.ts +1 -1
- package/dist/components/buttons/index.d.ts +5 -5
- package/dist/components/circularProgressBar/CircularProgressBar.d.ts +1 -1
- package/dist/components/closableCard/ClosableCard.d.ts +1 -1
- package/dist/components/drawer/drawer.d.ts +4 -4
- package/dist/components/editableInput/EditableInput.d.ts +1 -1
- package/dist/components/editableInput/index.d.ts +1 -2
- package/dist/components/form/common/styles.d.ts +1 -1
- package/dist/components/form/common/types.d.ts +1 -1
- package/dist/components/form/fileUploader/FileUploader.d.ts +3 -3
- package/dist/components/form/fileUploader/index.d.ts +4 -4
- package/dist/components/form/inputHelper/index.d.ts +2 -3
- package/dist/components/form/inputText/InputTelephone.d.ts +1 -1
- package/dist/components/form/inputText/components/utils.d.ts +1 -1
- package/dist/components/form/inputText/index.d.ts +7 -7
- package/dist/components/form/inputText/types.d.ts +0 -1
- package/dist/components/form/radio/utils.d.ts +1 -1
- package/dist/components/form/select/index.d.ts +8 -10
- package/dist/components/form/select/types.d.ts +1 -0
- package/dist/components/form/textArea/index.d.ts +2 -3
- package/dist/components/groupedList/index.d.ts +2 -3
- package/dist/components/icon/components/iconBackground/utils.d.ts +2 -2
- package/dist/components/icon/index.d.ts +3 -4
- package/dist/components/icon/utils.d.ts +1 -1
- package/dist/components/modals/index.d.ts +3 -3
- package/dist/components/newTable/Table.d.ts +1 -1
- package/dist/components/newTable/components/action/settings/ColumnsSettings/ColumnItem/ColumnItem.d.ts +1 -5
- package/dist/components/newTable/components/action/settings/ColumnsSettings/DraggableContent/DraggableContent.d.ts +1 -1
- package/dist/components/newTable/components/action/settings/types.d.ts +6 -0
- package/dist/components/newTable/index.d.ts +1 -1
- package/dist/components/newTable/types.d.ts +1 -1
- package/dist/components/pageEmptySet/index.d.ts +1 -2
- package/dist/components/pageEmptySet/pageEmptySet.d.ts +2 -2
- package/dist/components/stepper/Stepper.d.ts +1 -1
- package/dist/components/stepper/index.d.ts +2 -4
- package/dist/components/switch/index.d.ts +2 -3
- package/dist/components/switch/types.d.ts +3 -2
- package/dist/components/tableV3/types/columnsTypes.d.ts +1 -0
- package/dist/components/tableV3/types/features/sort.d.ts +4 -2
- package/dist/components/tabs/index.d.ts +3 -4
- package/dist/components/tag/Tag.d.ts +2 -1
- package/dist/components/tag/index.d.ts +3 -4
- package/dist/components/themeProvider/index.d.ts +1 -2
- package/dist/index.d.ts +11 -11
- package/dist/index.esm.js +17 -28
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +17 -28
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
@@ -8,5 +8,5 @@ import { BannerProps } from './types';
|
|
8
8
|
* @param {IconProps} icon Configuration of the left icon
|
9
9
|
* @param {string} className To support styled-components customization
|
10
10
|
*/
|
11
|
-
declare const Banner: ({
|
11
|
+
declare const Banner: ({ className, content, icon, onClose, type }: BannerProps) => JSX.Element;
|
12
12
|
export default Banner;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
export {
|
1
|
+
export { default as Button, ButtonProps } from './button/Button';
|
2
|
+
export { ButtonPalette, default as buttonPalette } from './button/buttonPalette';
|
3
|
+
export { default as IconButton, IconButtonProps } from './iconButton/IconButton';
|
4
|
+
export { IconButtonPalette, default as iconButtonPalette } from './iconButton/iconButtonPalette';
|
5
|
+
export { buttonColors, buttonTypes, buttonDisableColor, ButtonStyles, buttonParts, buttonSizes, buttonColorsArray, buttonSizesArray, buttonPartsArray, buttonTypesArray, buttonDisableColorArray, } from './button/types';
|
@@ -6,5 +6,5 @@ import { CircularProgressBarProps } from './index';
|
|
6
6
|
* @param {CircularProgressBarType} type Type that define the color
|
7
7
|
* @param {string} subtitle Define the text below the percentage (string or custom)
|
8
8
|
*/
|
9
|
-
declare const CircularProgressBar: ({ percentage,
|
9
|
+
declare const CircularProgressBar: ({ percentage, subtitle, type }: CircularProgressBarProps) => JSX.Element;
|
10
10
|
export default CircularProgressBar;
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import { ReactElement } from 'react';
|
2
2
|
import { ClosableCardProps } from './types';
|
3
|
-
declare const ClosableCard: ({
|
3
|
+
declare const ClosableCard: ({ className, onClose, renderSubtitleElement, subtitle, title, }: ClosableCardProps) => ReactElement;
|
4
4
|
export default ClosableCard;
|
@@ -1,15 +1,15 @@
|
|
1
1
|
import React, { ReactNode } from 'react';
|
2
2
|
export interface DrawerProps {
|
3
|
-
show: boolean;
|
4
|
-
title?: string;
|
5
|
-
renderHeader?: () => JSX.Element;
|
6
|
-
renderFooter?: () => JSX.Element;
|
7
3
|
actionClose: () => void;
|
8
4
|
allowOutsideClickClose?: boolean;
|
9
5
|
children?: ReactNode;
|
10
6
|
fullscreen?: boolean;
|
11
7
|
onFullscreen?: (fullscreen: boolean) => void;
|
8
|
+
renderFooter?: () => JSX.Element;
|
9
|
+
renderHeader?: () => JSX.Element;
|
10
|
+
show: boolean;
|
12
11
|
showTooltip?: boolean;
|
12
|
+
title?: string;
|
13
13
|
}
|
14
14
|
declare const Drawer: React.FC<DrawerProps>;
|
15
15
|
export default Drawer;
|
@@ -9,5 +9,5 @@ export interface EditableInputProps {
|
|
9
9
|
onClose?: () => void;
|
10
10
|
maxContentLength?: number;
|
11
11
|
}
|
12
|
-
declare const EditableInput: ({
|
12
|
+
declare const EditableInput: ({ content, hover, maxContentLength, onChange, onClose, onOpen, rowId, unitSymbol, }: EditableInputProps) => JSX.Element;
|
13
13
|
export default EditableInput;
|
@@ -1,2 +1 @@
|
|
1
|
-
|
2
|
-
export { EditableInput };
|
1
|
+
export { default as EditableInput } from './EditableInput';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { colorsPalette } from '../../../common/types
|
1
|
+
import { colorsPalette } from '../../../common/types';
|
2
2
|
import { paletteColor } from '../../../styles/types';
|
3
3
|
import { CommonInputParts, statusType } from './types';
|
4
4
|
export interface BoxedInputWrapperProps extends colorsPalette {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { colorsPalette } from '../../../common/types
|
1
|
+
import { colorsPalette } from '../../../common/types';
|
2
2
|
import { paletteColor } from '../../../styles/types';
|
3
3
|
import { InputHelperProps } from '../inputHelper';
|
4
4
|
export declare const inputSizeArray: readonly ["large", "medium"];
|
@@ -5,13 +5,13 @@ export declare type fileUploaderOnDrop = (acceptedFiles: File[], rejectedFiles:
|
|
5
5
|
export interface FileUploaderProps {
|
6
6
|
allowedTypes: FileType[];
|
7
7
|
className?: string;
|
8
|
+
customPalette?: CustomPalette;
|
9
|
+
fixedHeight?: boolean;
|
8
10
|
maxFileSize?: number;
|
9
11
|
multiple?: boolean;
|
10
12
|
onDrop: fileUploaderOnDrop;
|
11
13
|
size?: FileUploaderSize;
|
12
14
|
status?: FileUploaderStatus;
|
13
|
-
customPalette?: CustomPalette;
|
14
|
-
fixedHeight?: boolean;
|
15
15
|
}
|
16
|
-
declare const FileUploader: ({ allowedTypes, customPalette,
|
16
|
+
declare const FileUploader: ({ allowedTypes, className, customPalette, fixedHeight, maxFileSize, multiple, onDrop, size, status, }: FileUploaderProps) => JSX.Element;
|
17
17
|
export default FileUploader;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
export {
|
1
|
+
export { default as FileUploader, fileUploaderOnDrop, FileUploaderProps } from './FileUploader';
|
2
|
+
export { default as fileUploaderPalette, FileUploaderPalette } from './fileUploaderPalette';
|
3
|
+
export { CustomPalette, CustomPaletteParts, FileType, FileTypesMap, FileUploaderSize, FileUploaderStatus, } from './types';
|
4
|
+
export { FileRejection } from 'react-dropzone';
|
@@ -1,3 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
export { InputHelper, InputHelperProps, inputHelperPalette, InputHelperPalette };
|
1
|
+
export { default as InputHelper, InputHelperProps } from './InputHelper';
|
2
|
+
export { default as inputHelperPalette, InputHelperPalette } from './inputHelperPalette';
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
import { InputTelephoneProps } from './types';
|
3
|
-
declare const InputTelephone: ({ className, disabled, helper,
|
3
|
+
declare const InputTelephone: ({ className, disabled, helper, label, phoneNumberLabel, placeholder, required, setValue, value, }: InputTelephoneProps) => JSX.Element;
|
4
4
|
export default InputTelephone;
|
@@ -3,6 +3,6 @@ import { InputTextStyles, InputTextWrapperProps } from './InputElement';
|
|
3
3
|
interface GetInputTextParams extends InputTextWrapperProps {
|
4
4
|
theme: DefaultTheme;
|
5
5
|
}
|
6
|
-
export declare const getInputTextStyles: ({
|
6
|
+
export declare const getInputTextStyles: ({ disabled, status, theme }: GetInputTextParams) => InputTextStyles;
|
7
7
|
export declare const clearNumber: (s: string) => string;
|
8
8
|
export {};
|
@@ -1,7 +1,7 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
export {
|
1
|
+
export { UnitDropdownProps } from './components/UnitDropdown';
|
2
|
+
export { default as InputCode } from './InputCode';
|
3
|
+
export { default as InputTelephone } from './InputTelephone';
|
4
|
+
export { default as InputText } from './InputText';
|
5
|
+
export { default as inputTextPalette, InputTextPalette } from './inputTextPalette';
|
6
|
+
export { InputCodeProps, InputTelephoneProps, InputTextProps } from './types';
|
7
|
+
export { Unit } from './components/unitDropdown/UnitDropdownTrigger';
|
@@ -5,7 +5,6 @@ import { CommonFormTypes } from '../common/types';
|
|
5
5
|
import { LabelProps } from '../label';
|
6
6
|
import { UnitDropdownProps } from './components/UnitDropdown';
|
7
7
|
export declare const inputTypesArray: readonly ["password", "text", "number", "code", "telephone"];
|
8
|
-
export declare type inputTypes = (typeof inputTypesArray)[number];
|
9
8
|
declare type HTMLInputProps = Pick<InputHTMLAttributes<HTMLInputElement>, 'autoFocus' | 'className' | 'name' | 'onBlur' | 'onChange' | 'onFocus' | 'onKeyDown' | 'onKeyPress' | 'onKeyUp' | 'required' | 'style' | 'readOnly'>;
|
10
9
|
export declare type InputElementProps = CommonFormTypes & HTMLInputProps & {
|
11
10
|
actionIcon?: IconProps;
|
@@ -3,6 +3,6 @@ import { RadioInputProps, RadioStatus, RadioStyles } from './types';
|
|
3
3
|
interface InputMapParams extends RadioInputProps {
|
4
4
|
theme: DefaultTheme;
|
5
5
|
}
|
6
|
-
export declare const getInputStyle: ({
|
6
|
+
export declare const getInputStyle: ({ disabled, hasError, large, theme, value }: InputMapParams) => RadioStyles;
|
7
7
|
export declare const convertToStatus: (value: boolean | RadioStatus) => RadioStatus;
|
8
8
|
export {};
|
@@ -1,10 +1,8 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
declare type SelectComponentsType<O extends OptionType = OptionType, isMulti extends boolean = false> = Required<SelectProps<O, isMulti>['components']>;
|
10
|
-
export { Select, CreatableSelect, AsyncSelect, AsyncCreatableSelect, OptionType, SelectProps, AsyncSelectProps, AsyncCreatableSelectProps, CreatableSelectProps, SelectPalette, selectPalette, SelectActionsType, useSelectValue, useSelectMultiValues, SelectComponentsType, useSelectSimpleValue, simpleValue, isSimpleValue, };
|
1
|
+
export { SelectActionsType } from './components/FooterActions';
|
2
|
+
export { OptionType } from './components/Option';
|
3
|
+
export { default as useSelectSimpleValue } from './hooks/useSelectSimpleValue';
|
4
|
+
export { useSelectMultiValues, useSelectValue } from './hooks/useSelectValue';
|
5
|
+
export { AsyncCreatableSelect, AsyncSelect, CreatableSelect, Select } from './Select';
|
6
|
+
export { default as selectPalette, SelectPalette } from './selectPalette';
|
7
|
+
export { isSimpleValue } from './utils';
|
8
|
+
export { AsyncCreatableSelectProps, AsyncSelectProps, CreatableSelectProps, SelectProps, simpleValue, SelectComponentsType, } from './types';
|
@@ -16,3 +16,4 @@ export declare type CreatableSelectProps<O extends OptionType = OptionType, IsMu
|
|
16
16
|
export declare type AsyncSelectProps<O extends OptionType = OptionType, IsMulti extends boolean = false> = SelectProps<O, IsMulti, AsyncProps<O, IsMulti>>;
|
17
17
|
export declare type AsyncCreatableSelectProps<O extends OptionType = OptionType, IsMulti extends boolean = false> = SelectProps<O, IsMulti, AsyncCreatableProps<O, IsMulti>>;
|
18
18
|
export declare type simpleValue = string | number | null | undefined;
|
19
|
+
export declare type SelectComponentsType<O extends OptionType = OptionType, isMulti extends boolean = false> = Required<SelectProps<O, isMulti>['components']>;
|
@@ -1,3 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
export { TextArea, TextAreaProps, TextAreaPalette, textAreaPalette };
|
1
|
+
export { default as TextArea, TextAreaProps } from './TextArea';
|
2
|
+
export { default as textAreaPalette, TextAreaPalette } from './textAreaPalette';
|
@@ -1,3 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
export { GroupedList, ItemType, GroupType };
|
1
|
+
export { default as GroupedList } from './groupedList';
|
2
|
+
export { GroupType, ItemType, MouseBlockedProps } from './types';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { SizeProp } from '@fortawesome/fontawesome-svg-core';
|
2
|
-
declare type
|
2
|
+
declare type IconSizeMapType = {
|
3
3
|
[key in SizeProp]: string;
|
4
4
|
};
|
5
|
-
export declare const iconSizeMap:
|
5
|
+
export declare const iconSizeMap: IconSizeMapType;
|
6
6
|
export {};
|
@@ -1,4 +1,3 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
export { Icon, IconProps, IconPalette, iconPalette, IconBackground, iconBackgroundPalette, IconBackgroundPalette, iconColors, };
|
1
|
+
export { IconBackground, IconBackgroundPalette, iconBackgroundPalette } from './components/iconBackground';
|
2
|
+
export { default as Icon, IconProps } from './Icon';
|
3
|
+
export { iconColors, IconPalette, default as iconPalette } from './iconPalette';
|
@@ -5,5 +5,5 @@ interface GetIconStylesParams extends IconProps {
|
|
5
5
|
theme: DefaultTheme;
|
6
6
|
}
|
7
7
|
export declare const isIconPaletteKey: (key: string, theme: DefaultTheme) => key is "black" | "white" | "grey" | "blue" | "indigo" | "yellow" | "orange" | "red" | "green" | "fuchsia" | "pink" | "cyan" | "primary";
|
8
|
-
export declare const getIconStyles: ({
|
8
|
+
export declare const getIconStyles: ({ color, theme }: GetIconStylesParams) => IconColorPalette;
|
9
9
|
export {};
|
@@ -1,5 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
export { Modal, ModalSearchable };
|
1
|
+
export { default as ModalSearchable } from './components/ModalSearchable';
|
2
|
+
export { Modal } from './modals';
|
4
3
|
export { ModalBody } from './modalStyled';
|
4
|
+
export { ConfirmationModal } from './confirmationModal';
|
5
5
|
export * from './stepModal';
|
@@ -30,5 +30,5 @@ import { TableProps } from './types';
|
|
30
30
|
* @param {number} actionColumnWidth used to determine the width of the action column
|
31
31
|
* @param {function} isRowHighlighted used to underline table rows
|
32
32
|
*/
|
33
|
-
declare const Table: <T>({
|
33
|
+
declare const Table: <T>({ actionColumnWidth, allSelectedCTA, bodyHeight, bulkActions, columns, data, disableScrollX, enableSettings, forceHideSettings, headerSize, isLoading, isRowDisabled, isRowHighlighted, isSelectable, isTogglesSortable, listSize, noPagination, notRemovableColumns, onChangeTableSettings, onPaginationChange, onRowClick, onRowSelection, onSort, onTogglesChange, pageSize: pageLength, paginationNextText, paginationPreviousText, preSettedTableSettings, renderBulkActions, renderEmptyState, resetPageIndex, rowActions, rowHighlightColor, rowHighlightHideBorderBottom, rowSelection, rowSize, settingsDropdownConfig, sortDescFirst, sortable, toggles, totalPages, uniqueId, }: TableProps<T>) => JSX.Element;
|
34
34
|
export default Table;
|
@@ -1,11 +1,7 @@
|
|
1
1
|
import { Column } from '@tanstack/react-table';
|
2
2
|
import React from 'react';
|
3
3
|
declare type ColumnItemProps<T> = {
|
4
|
-
column: Column<T, unknown
|
5
|
-
columnDef: Pick<Column<T, unknown>, 'columnDef'> & {
|
6
|
-
headerTitle?: string;
|
7
|
-
};
|
8
|
-
};
|
4
|
+
column: Column<T, unknown>;
|
9
5
|
onDragStart: (event: React.DragEvent<HTMLDivElement>, parent: HTMLDivElement) => void;
|
10
6
|
isRemovable: boolean;
|
11
7
|
onChangeTableSettings?: (key: string, state: boolean) => void;
|
@@ -7,5 +7,5 @@ interface DraggableContentProps<T> {
|
|
7
7
|
notRemovableColumns?: string[];
|
8
8
|
onChangeTableSettings?: onChangeTableSettings;
|
9
9
|
}
|
10
|
-
export declare const DraggableContent: <T>({
|
10
|
+
export declare const DraggableContent: <T>({ notRemovableColumns, onChangeTableSettings, table, }: DraggableContentProps<T>) => JSX.Element;
|
11
11
|
export {};
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export { default as NewTable } from './Table';
|
2
|
-
export { ColumnDefType, ColumnsType, CellProps, BulkAction, RowActions, RowAction } from './types';
|
2
|
+
export { ColumnDefType, ColumnsType, CellProps, BulkAction, RowActions as NewRowActions, RowAction, RowSize, OnSort as NewTableOnSort, AllSelectedCTA, SettingsDropdownConfig, onChangeTableSettings, ActionType, CustomSorted, TableProps as NewTableProps, PreSettedTableSettings, ActionColumnDef, AccessorColumnDef, AdditionalColumnDef, DropdownAction, PrimaryAction, BasicCustomCell, CustomCellProps, } from './types';
|
@@ -62,7 +62,7 @@ export interface PreSettedTableSettings {
|
|
62
62
|
dimensionRow?: number;
|
63
63
|
notVisibleColumns?: string[];
|
64
64
|
}
|
65
|
-
interface SettingsDropdownConfig {
|
65
|
+
export interface SettingsDropdownConfig {
|
66
66
|
settingsTooltip?: TooltipProps;
|
67
67
|
displaySettingsLabel?: string;
|
68
68
|
visibleColumnsLabel?: string;
|
@@ -1,2 +1 @@
|
|
1
|
-
|
2
|
-
export { PageEmptySet };
|
1
|
+
export { default as PageEmptySet } from './pageEmptySet';
|
@@ -10,5 +10,5 @@ interface Props {
|
|
10
10
|
action: () => void;
|
11
11
|
};
|
12
12
|
}
|
13
|
-
|
14
|
-
export
|
13
|
+
declare const PageEmptySet: ({ action, icon, text, title }: Props) => React.JSX.Element;
|
14
|
+
export default PageEmptySet;
|
@@ -1,4 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
import stepperPalette from './stepperPalette';
|
4
|
-
export { Stepper, StepperProps, stepperPalette, StepperPalette };
|
1
|
+
export { default as Stepper, StepperProps } from './Stepper';
|
2
|
+
export { default as stepperPalette, StepperPalette } from './stepperPalette';
|
@@ -1,3 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
export { Switch, SwitchProps };
|
1
|
+
export { default as Switch } from './Switch';
|
2
|
+
export { SwitchProps } from './types';
|
@@ -1,7 +1,8 @@
|
|
1
|
-
|
1
|
+
declare type SwitchColors = 'blue' | 'green';
|
2
2
|
export interface SwitchProps {
|
3
3
|
checked: boolean;
|
4
4
|
onChange: (e: boolean) => void;
|
5
|
-
color?:
|
5
|
+
color?: SwitchColors;
|
6
6
|
disabled?: boolean;
|
7
7
|
}
|
8
|
+
export {};
|
@@ -20,6 +20,7 @@ export declare type BaseColumnDef<T> = IdentifiedColumnDef<T> & {
|
|
20
20
|
minWidth?: number;
|
21
21
|
fixedWidth?: number;
|
22
22
|
multiline?: boolean;
|
23
|
+
customSortKey?: string;
|
23
24
|
};
|
24
25
|
export declare type EditableCellsColumn<T> = {
|
25
26
|
inputProps?: Omit<InputTextProps, 'value' | 'setValue'>;
|
@@ -1,8 +1,10 @@
|
|
1
1
|
import { SortDirection } from '@tanstack/react-table';
|
2
|
-
export declare type
|
2
|
+
export declare type SortParams<T> = {
|
3
3
|
sortBy: keyof T;
|
4
4
|
direction: false | SortDirection;
|
5
|
-
|
5
|
+
customSortKey?: string;
|
6
|
+
};
|
7
|
+
export declare type OnSort<T> = (sortParams: SortParams<T>) => void;
|
6
8
|
export declare type SortableTable<T> = {
|
7
9
|
sortable: true;
|
8
10
|
sortDescFirst?: boolean;
|
@@ -1,4 +1,3 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
export { DropdownTabs, ScrollableTabs, TabsItem };
|
1
|
+
export { TabsItem, TabsBadgeProps, TabsProps } from './common/types';
|
2
|
+
export { default as DropdownTabs } from './dropdownTabs';
|
3
|
+
export { default as ScrollableTabs } from './scrollableTabs';
|
@@ -1,3 +1,4 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { TagProps } from './types';
|
3
|
-
|
3
|
+
declare const Tag: ({ className, leftIcon, rightIcon, tagStyle, text, type }: TagProps) => React.JSX.Element;
|
4
|
+
export default Tag;
|
@@ -1,4 +1,3 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
export { Tag, TagProps, tagPalette, TagPalette, tagTypes };
|
1
|
+
export { default as Tag } from './Tag';
|
2
|
+
export { default as tagPalette, TagPalette, tagTypes } from './tagPalette';
|
3
|
+
export { TagProps } from './types';
|
@@ -1,2 +1 @@
|
|
1
|
-
|
2
|
-
export { ThemeProvider };
|
1
|
+
export { default as ThemeProvider } from './themeProvider';
|
package/dist/index.d.ts
CHANGED
@@ -6,12 +6,12 @@ export { Accordion, AccordionProps, AccordionItemProps, AccordionItemListProps,
|
|
6
6
|
export { Avatar } from './components/avatar';
|
7
7
|
export { Badge, BadgeProps, BadgeType, BadgePalette } from './components/badge';
|
8
8
|
export { Banner, BannerProps, BannerType, BannerPalette } from './components/banner';
|
9
|
-
export { Button, ButtonPalette, ButtonProps, IconButton, IconButtonPalette, IconButtonProps, } from './components/buttons';
|
9
|
+
export { Button, ButtonPalette, ButtonProps, IconButton, IconButtonPalette, IconButtonProps, buttonColors, buttonTypes, buttonDisableColor, ButtonStyles, buttonParts, buttonSizes, buttonColorsArray, buttonSizesArray, buttonPartsArray, buttonTypesArray, buttonDisableColorArray, } from './components/buttons';
|
10
10
|
export * from './components/card';
|
11
11
|
export { Carousel } from './components/carousel';
|
12
12
|
export * from './components/chart';
|
13
13
|
export { Chip, ChipType, ChipPalette, ChipProps } from './components/chip';
|
14
|
-
export { CircularProgressBar,
|
14
|
+
export { CircularProgressBar, CircularProgressBarPalette, CircularProgressBarProps, CircularProgressBarType, } from './components/circularProgressBar';
|
15
15
|
export { ClosableCard, ClosableCardPalette, ClosableCardProps } from './components/closableCard';
|
16
16
|
export { Drawer } from './components/drawer';
|
17
17
|
export { closeDropdownType, Dropdown, DropdownItemProps, DropdownItemType, DropdownPalette, renderContentType, } from './components/dropdown';
|
@@ -20,33 +20,32 @@ export * from './components/ficFeatures';
|
|
20
20
|
export { BadgeSize, FloatingBadgePalette, FloatingBadgeType, NotificationBadge, WithBadge, } from './components/floatingBadge';
|
21
21
|
export { Checkbox, CheckboxPalette, CheckboxProps, CheckboxStatus, useCheckboxValue } from './components/form/checkbox';
|
22
22
|
export { DatePicker, DatePickerPalette, DatePickerProps, timeConversionOptions, useFormattedDate, } from './components/form/datepicker';
|
23
|
-
export { FileRejection, FileUploader, fileUploaderOnDrop, FileUploaderPalette, FileUploaderProps, } from './components/form/fileUploader';
|
23
|
+
export { FileRejection, FileUploader, fileUploaderOnDrop, FileUploaderPalette, FileUploaderProps, FileUploaderStatus, FileUploaderSize, FileTypesMap, FileType, CustomPalette, CustomPaletteParts, } from './components/form/fileUploader';
|
24
24
|
export { InputHelper, InputHelperPalette, InputHelperProps } from './components/form/inputHelper';
|
25
|
-
export { InputCode, InputCodeProps, InputTelephone, InputTelephoneProps, InputText, InputTextPalette, InputTextProps, UnitDropdownProps, } from './components/form/inputText';
|
25
|
+
export { InputCode, InputCodeProps, InputTelephone, InputTelephoneProps, InputText, InputTextPalette, InputTextProps, UnitDropdownProps, Unit, } from './components/form/inputText';
|
26
26
|
export { LabelPalette } from './components/form/label';
|
27
27
|
export { Radio, RadioPalette, RadioProps, RadioStatus, useRadioValue } from './components/form/radio';
|
28
28
|
export { RadioGroup, RadioGroupOptions, RadioGroupProps } from './components/form/radioGroup';
|
29
29
|
export { AsyncCreatableSelect, AsyncCreatableSelectProps, AsyncSelect, AsyncSelectProps, CreatableSelect, CreatableSelectProps, isSimpleValue, OptionType, Select, SelectComponentsType, SelectPalette, SelectProps, simpleValue, useSelectMultiValues, useSelectSimpleValue, useSelectValue, } from './components/form/select';
|
30
30
|
export * from './components/gridCard';
|
31
31
|
export { TextArea, TextAreaPalette, TextAreaProps } from './components/form/textArea';
|
32
|
-
export { GroupedList, GroupType, ItemType } from './components/groupedList';
|
32
|
+
export { GroupedList, GroupType, ItemType, MouseBlockedProps } from './components/groupedList';
|
33
33
|
export { Icon, iconColors, IconPalette, IconProps, IconBackground, IconBackgroundPalette } from './components/icon';
|
34
34
|
export { InlineMessage, InlineMessagePalette, InlineMessageProps, InlineMessageType } from './components/inlineMessage';
|
35
35
|
export { CustomSidebarItemProps, SidebarBadgeConfigProps, SidebarBadgeConfigType, SidebarItem, sidebarItemHeight, SidebarItemPalette, SidebarItemProps, } from './components/layout';
|
36
36
|
export { MicroTag, MicroTagPalette, MicroTagProps } from './components/microTag';
|
37
|
-
export { Modal, ModalSearchable, ModalBody } from './components/modals';
|
38
|
-
export { ConfirmationModal } from './components/modals/confirmationModal';
|
37
|
+
export { ConfirmationModal, Modal, ModalSearchable, ModalBody } from './components/modals';
|
39
38
|
export * from './components/modals/stepModal';
|
40
39
|
export { MonthlyTab, MonthlyTabPalette, MonthData, MonthAmountData, MonthDocumentAmount, MonthlyTabProps, MonthDocument, } from './components/monthlyTab';
|
41
|
-
export { BulkAction, CellProps, ColumnDefType, ColumnsType, NewTable, RowAction,
|
40
|
+
export { BulkAction, CellProps, ColumnDefType, ColumnsType, NewTable, RowAction, NewRowActions, RowSize, NewTableOnSort, AllSelectedCTA, SettingsDropdownConfig, onChangeTableSettings, ActionType, CustomSorted, NewTableProps, PreSettedTableSettings, ActionColumnDef, AccessorColumnDef, AdditionalColumnDef, DropdownAction, PrimaryAction, BasicCustomCell, CustomCellProps, } from './components/newTable';
|
42
41
|
export { Column, ManualPagination, OnSelectionChange, OnSort, Row, RowActions, Table, TableData, TablePalette, TableProps, useTableValues, } from './components/oldTable';
|
43
|
-
export
|
42
|
+
export * from './components/pageEmptySet';
|
44
43
|
export { Pagination, PaginationPalette, PaginationType } from './components/pagination';
|
45
44
|
export * from './components/progressbar';
|
46
45
|
export { Segment, SegmentButton, SegmentButtonPalette, SegmentButtonProps } from './components/segmentButton';
|
47
46
|
export { Stepper, StepperPalette, StepperProps } from './components/stepper';
|
48
|
-
export { Switch } from './components/switch';
|
49
|
-
export { DropdownTabs, ScrollableTabs, TabsItem } from './components/tabs';
|
47
|
+
export { Switch, SwitchProps } from './components/switch';
|
48
|
+
export { DropdownTabs, ScrollableTabs, TabsItem, TabsBadgeProps, TabsProps } from './components/tabs';
|
50
49
|
export * from './components/tableV3';
|
51
50
|
export { Tag, TagPalette, TagProps, tagTypes } from './components/tag';
|
52
51
|
export { ThemeProvider } from './components/themeProvider';
|
@@ -57,3 +56,4 @@ export * from './components/verticalTabs';
|
|
57
56
|
export { autocompleteYellow } from './styles/defaultPalette/colors/others';
|
58
57
|
export { Theme } from './styles/theme';
|
59
58
|
export { Palette, paletteColor, BwPalette, ColorsPalette, bwColors, bwColor, color, colors } from './styles/types';
|
59
|
+
export { statusType, CommonFormTypes, CommonInputParts, inputSizeType, inputSizeArray, statusesArray, } from './components/form/common/types';
|