@fattureincloud/fic-design-system 0.7.48 → 0.7.50
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/floatingBadge/types.d.ts +1 -0
- package/dist/components/form/common/types.d.ts +3 -2
- package/dist/components/layout/sidebarItem/styled.d.ts +1 -0
- package/dist/components/layout/sidebarItem/types.d.ts +4 -3
- package/dist/components/monthlyTab/MonthlyTab.d.ts +2 -2
- package/dist/components/monthlyTab/types.d.ts +1 -3
- package/dist/index.esm.js +8 -8
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +8 -8
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
@@ -2,14 +2,15 @@ import { colorsPalette } from '../../../common/types/colorsPalette';
|
|
2
2
|
import { paletteColor } from '../../../styles/types';
|
3
3
|
import { InputHelperProps } from '../inputHelper';
|
4
4
|
export declare const inputSizeArray: readonly ["large", "medium"];
|
5
|
-
export declare type inputSizeType = typeof inputSizeArray[number];
|
5
|
+
export declare type inputSizeType = (typeof inputSizeArray)[number];
|
6
6
|
export declare const statusesArray: readonly ["normal", "success", "warning", "error"];
|
7
|
-
export declare type statusType = typeof statusesArray[number];
|
7
|
+
export declare type statusType = (typeof statusesArray)[number];
|
8
8
|
export interface CommonFormTypes {
|
9
9
|
inputSize?: inputSizeType;
|
10
10
|
disabled?: boolean;
|
11
11
|
helper?: InputHelperProps;
|
12
12
|
status?: statusType;
|
13
|
+
id?: string;
|
13
14
|
}
|
14
15
|
export interface CommonInputParts extends colorsPalette {
|
15
16
|
borderColor: paletteColor;
|
@@ -5,6 +5,7 @@ export interface WrapperProps {
|
|
5
5
|
isActive: boolean;
|
6
6
|
isDisabled: boolean;
|
7
7
|
customColor?: paletteColor;
|
8
|
+
withoutPadding: boolean;
|
8
9
|
}
|
9
10
|
export declare const sidebarItemHeight = 44;
|
10
11
|
export declare const Dropdown: import("styled-components").StyledComponent<({ className, content, forceOpen }: import("./types").SidebarItemDropdownProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import React, { MouseEventHandler } from 'react';
|
2
|
-
import { colorsPalette } from '../../../common/types
|
2
|
+
import { colorsPalette } from '../../../common/types';
|
3
3
|
import { paletteColor } from '../../../styles/types';
|
4
|
-
import { DropdownItemProps } from '../../dropdown
|
5
|
-
import { BadgeSize, FloatingBadgeType } from '../../floatingBadge
|
4
|
+
import { DropdownItemProps } from '../../dropdown';
|
5
|
+
import { BadgeSize, FloatingBadgeType } from '../../floatingBadge';
|
6
6
|
import { IconProps } from '../../icon';
|
7
7
|
export interface SidebarItemProps {
|
8
8
|
icon?: IconProps;
|
@@ -23,6 +23,7 @@ export interface SidebarItemProps {
|
|
23
23
|
export interface CustomSidebarItemProps {
|
24
24
|
color?: paletteColor;
|
25
25
|
renderContent?: React.FC<SidebarItemProps>;
|
26
|
+
avoidSpaceFillOnElementsHidden?: boolean;
|
26
27
|
}
|
27
28
|
export interface SidebarItemDropdownProps {
|
28
29
|
content: DropdownItemProps[];
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
import { MonthlyTabProps } from './types';
|
3
|
-
declare const
|
4
|
-
export default
|
3
|
+
declare const MonthlyTab: ({ data, onSelectionChange, monthText, preSelectedMonth, }: MonthlyTabProps) => JSX.Element;
|
4
|
+
export default MonthlyTab;
|
@@ -1,4 +1,3 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { paletteColor } from '../../styles/types';
|
3
2
|
export declare type MonthAmountData = {
|
4
3
|
month: number;
|
@@ -13,10 +12,9 @@ export declare type MonthData = {
|
|
13
12
|
};
|
14
13
|
export interface MonthlyTabProps {
|
15
14
|
data: MonthData;
|
16
|
-
selected: Set<string>;
|
17
|
-
selectedChange: React.Dispatch<React.SetStateAction<Set<string>>>;
|
18
15
|
onSelectionChange: (monthsData: MonthAmountData[]) => void;
|
19
16
|
monthText?: string;
|
17
|
+
preSelectedMonth: number;
|
20
18
|
}
|
21
19
|
export declare type MonthlyTabPalette = {
|
22
20
|
standard: {
|