@fattureincloud/fic-design-system 0.7.49 → 0.7.50
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/components/form/common/types.d.ts +3 -2
- package/dist/components/monthlyTab/MonthlyTab.d.ts +2 -2
- package/dist/components/monthlyTab/types.d.ts +1 -3
- package/dist/index.esm.js +3 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +3 -3
- 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;
|
|
@@ -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: {
|