@fattureincloud/fic-design-system 0.19.7 → 0.19.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ interface Props {
3
+ customHeader: {
4
+ alignToDescription?: JSX.Element;
5
+ alignToFeatureColumns?: JSX.Element[];
6
+ };
7
+ }
8
+ declare const CustomFeaturesHeader: ({ customHeader }: Props) => JSX.Element;
9
+ export default CustomFeaturesHeader;
@@ -0,0 +1,7 @@
1
+ export declare const CustomFeaturesHeaderWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
2
+ export declare const BlankHeaderContent: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
3
+ height: number;
4
+ }, never>;
5
+ export declare const AlignToDescription: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
6
+ export declare const AlignToPlansWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
7
+ export declare const AlignToPlanItem: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -40,6 +40,10 @@ export declare type FICFeaturesProps = {
40
40
  editable?: boolean;
41
41
  onSave?: (config: TFeaturesConfig) => void;
42
42
  plansToShow: string[];
43
+ customHeader?: {
44
+ alignToDescription?: JSX.Element;
45
+ alignToFeatureColumns?: JSX.Element[];
46
+ };
43
47
  };
44
48
  export declare type EditFeatureParams = {
45
49
  catIdx: number;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { InputTelephoneProps } from './types';
3
- declare const InputTelephone: ({ className, disabled, helper, label, phoneNumberLabel, placeholder, required, setValue, value, }: InputTelephoneProps) => JSX.Element;
3
+ declare const InputTelephone: ({ className, disabled, helper, label, menuPortalTarget, phoneNumberLabel, placeholder, prefixCustomStyles, required, setValue, status, value, }: InputTelephoneProps) => JSX.Element;
4
4
  export default InputTelephone;
@@ -3,6 +3,7 @@ import { IconProps } from '../../icon';
3
3
  import { TooltipProps } from '../../tooltip';
4
4
  import { CommonFormTypes } from '../common/types';
5
5
  import { LabelProps } from '../label';
6
+ import { CustomStylesType } from '../select/hooks/useSelectThemeStyles';
6
7
  import { UnitDropdownProps } from './components/types';
7
8
  export declare const inputTypesArray: readonly ["password", "text", "number", "code", "telephone"];
8
9
  declare type HTMLInputProps = Pick<InputHTMLAttributes<HTMLInputElement>, 'autoFocus' | 'className' | 'name' | 'onBlur' | 'onChange' | 'onFocus' | 'onKeyDown' | 'onKeyPress' | 'onKeyUp' | 'required' | 'style' | 'readOnly'>;
@@ -39,6 +40,8 @@ export declare type InputTelephoneProps = LabelProps & CommonFormTypes & {
39
40
  required?: boolean;
40
41
  setValue: Dispatch<SetStateAction<string>>;
41
42
  value?: string | null;
43
+ menuPortalTarget?: HTMLElement | null | undefined;
44
+ prefixCustomStyles?: CustomStylesType;
42
45
  };
43
46
  export declare type InputTextProps = LabelProps & InputElementProps;
44
47
  export {};
@@ -1,9 +1,11 @@
1
1
  /// <reference types="react" />
2
2
  import { Row as RowType } from '@tanstack/react-table';
3
3
  import { TableProps } from '../../types';
4
- interface BodyProps<T> extends Pick<TableProps<T>, 'isLoading' | 'isRowDisabled' | 'isRowHighlighted' | 'onRowClick' | 'rowActions' | 'rowHighlightColor' | 'rowSelection' | 'rowTooltip'> {
4
+ interface BodyProps<T> extends Pick<TableProps<T>, 'isLoading' | 'isRowDisabled' | 'isRowHighlighted' | 'onRowClick' | 'rowActions' | 'rowHighlightColor' | 'rowSelection' | 'rowTooltip' | 'renderEmptyState'> {
5
5
  pageIndex: number;
6
6
  rows: RowType<T>[];
7
+ columnsCount: number;
8
+ isTableEmpty?: boolean;
7
9
  }
8
- declare const Body: <T>({ isLoading, isRowDisabled, isRowHighlighted, onRowClick, pageIndex, rowActions, rowHighlightColor, rowSelection, rowTooltip, rows, }: BodyProps<T>) => JSX.Element;
10
+ declare const Body: <T>({ columnsCount, isLoading, isRowDisabled, isRowHighlighted, isTableEmpty, onRowClick, pageIndex, renderEmptyState, rowActions, rowHighlightColor, rowSelection, rowTooltip, rows, }: BodyProps<T>) => JSX.Element;
9
11
  export default Body;
@@ -6,3 +6,4 @@ export declare const HorizontalScroll: import("styled-components").StyledCompone
6
6
  export declare const DSTable: import("styled-components").StyledComponent<"table", import("styled-components").DefaultTheme, {}, never>;
7
7
  export declare const SortIndicator: import("styled-components").StyledComponent<({ isDisabled, onClick, ...props }: import("../icon").IconProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
8
8
  export declare const PaginationContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
9
+ export declare const EmptyStateContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;