@fattureincloud/fic-design-system 0.4.23 → 0.4.26

Sign up to get free protection for your applications and to get access to all the features.
Files changed (27) hide show
  1. package/CHANGELOG.md +486 -0
  2. package/dist/components/dropdown/DropdownImpl.d.ts +1 -1
  3. package/dist/components/dropdown/components/DefaultDropdown.d.ts +3 -13
  4. package/dist/components/dropdown/components/DefaultTrigger.d.ts +2 -4
  5. package/dist/components/dropdown/components/Item.d.ts +1 -4
  6. package/dist/components/dropdown/dropdownPalette.d.ts +14 -0
  7. package/dist/components/dropdown/types.d.ts +22 -3
  8. package/dist/components/dropdown/utils.d.ts +1 -1
  9. package/dist/components/modals/types.d.ts +2 -0
  10. package/dist/components/toast/{toast.d.ts → Toast.d.ts} +0 -0
  11. package/dist/components/toast/components/{toastContent.d.ts → ToastContent.d.ts} +0 -0
  12. package/dist/components/tooltip/Tooltip.d.ts +3 -1
  13. package/dist/index.esm.js +5 -5
  14. package/dist/index.esm.js.map +1 -1
  15. package/dist/index.js +4 -4
  16. package/dist/index.js.map +1 -1
  17. package/package.json +1 -1
  18. package/dist/components/form/datepicker/StyledDatePicker.d.ts +0 -1
  19. package/dist/components/form/datepicker/hooks/useDatePickerValues.d.ts +0 -13
  20. package/dist/components/form/select/components/Placeholder.d.ts +0 -4
  21. package/dist/components/table/components/ActionsCell.d.ts +0 -10
  22. package/dist/components/table/components/SortIndicator.d.ts +0 -6
  23. package/dist/components/table/components/TableBody.d.ts +0 -14
  24. package/dist/components/table/components/TableFoot.d.ts +0 -2
  25. package/dist/components/table/components/TableHeader.d.ts +0 -7
  26. package/dist/components/table/components/tableBody/TableBodyLoader.d.ts +0 -7
  27. package/dist/components/table/components/tableBody/styled.d.ts +0 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fattureincloud/fic-design-system",
3
- "version": "0.4.23",
3
+ "version": "0.4.26",
4
4
  "description": "Fatture in Cloud and Danea design system",
5
5
  "repository": "git@bitbucket.org:fattureincloud/design-system.git",
6
6
  "license": "MIT",
@@ -1 +0,0 @@
1
- export declare const StyledDatePicker: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -1,13 +0,0 @@
1
- import { Dispatch, SetStateAction } from 'react';
2
- interface ReturnType {
3
- date: Date | null;
4
- setDate: Dispatch<SetStateAction<Date | null>>;
5
- value: string | null;
6
- setValue: Dispatch<SetStateAction<string | null>>;
7
- }
8
- interface Props {
9
- initialDate?: Date | null;
10
- initialValue?: string | null;
11
- }
12
- declare const useDatePickerValues: ({ initialDate, initialValue }?: Props) => ReturnType;
13
- export default useDatePickerValues;
@@ -1,4 +0,0 @@
1
- import { PlaceholderProps } from 'react-select';
2
- import { OptionType } from './Option';
3
- declare const Placeholder: <O extends OptionType = OptionType, IsMulti extends boolean = false>({ children, }: PlaceholderProps<O, IsMulti, import("react-select").GroupTypeBase<O>>) => JSX.Element;
4
- export default Placeholder;
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- import { Row } from 'react-table';
3
- import { RowActions, TableData } from '../types';
4
- interface Props<T extends TableData> {
5
- row: Row<T>;
6
- actions?: RowActions<T>;
7
- renderActions?: () => JSX.Element;
8
- }
9
- declare const ActionsCell: <T extends TableData>({ row, actions, renderActions }: Props<T>) => JSX.Element;
10
- export default ActionsCell;
@@ -1,6 +0,0 @@
1
- interface Props {
2
- isSorted: boolean;
3
- isSortedDesc?: boolean;
4
- }
5
- declare const SortIndicator: ({ isSorted, isSortedDesc }: Props) => JSX.Element;
6
- export default SortIndicator;
@@ -1,14 +0,0 @@
1
- import { Row, UseTableInstanceProps } from 'react-table';
2
- import { TableData } from '../types';
3
- interface Props<T extends TableData> {
4
- rows: Row<T>[];
5
- prepareRow: UseTableInstanceProps<T>['prepareRow'];
6
- selectedRowsIds: string[];
7
- isLoading: boolean;
8
- }
9
- declare const TableBody: <T extends TableData>({ isLoading, rows, prepareRow, selectedRowsIds }: Props<T>) => JSX.Element;
10
- export interface TableBodyTrProps {
11
- isSelected?: boolean;
12
- isDisabled?: boolean;
13
- }
14
- export default TableBody;
@@ -1,2 +0,0 @@
1
- declare const TableFoot: import("styled-components").StyledComponent<"tfoot", import("styled-components").DefaultTheme, {}, never>;
2
- export default TableFoot;
@@ -1,7 +0,0 @@
1
- import { HeaderGroup } from 'react-table';
2
- import { TableData } from '../types';
3
- interface Props<T extends TableData> {
4
- headerGroups: HeaderGroup<T>[];
5
- }
6
- declare const TableHeader: <T extends TableData>({ headerGroups }: Props<T>) => JSX.Element;
7
- export default TableHeader;
@@ -1,7 +0,0 @@
1
- import { ColumnInstance } from 'react-table';
2
- import { TableData } from '../../types';
3
- interface Props<T extends TableData> {
4
- allColumns: ColumnInstance<T>[];
5
- }
6
- declare const TableBodyLoader: <T extends TableData>({ allColumns }: Props<T>) => JSX.Element;
7
- export default TableBodyLoader;
@@ -1,3 +0,0 @@
1
- import { TableBodyTrStyles } from '../../utils';
2
- import { TableBodyTrProps } from '../TableBody';
3
- export declare const TableBodyTr: import("styled-components").StyledComponent<"tr", import("styled-components").DefaultTheme, import("../tableParts/styled").TrProps & TableBodyTrStyles & TableBodyTrProps, keyof TableBodyTrStyles>;