@fattureincloud/fic-design-system 0.9.0 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/buttons/iconButton/iconButton.stories.d.ts +6 -2
- package/dist/components/monthlyTab/components/month/Month.d.ts +4 -1
- package/dist/components/monthlyTab/types.d.ts +4 -1
- package/dist/index.esm.js +9 -9
- 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
@@ -1,2 +1,6 @@
|
|
1
|
-
import
|
2
|
-
|
1
|
+
import { Meta } from '@storybook/react';
|
2
|
+
import { ComponentProps } from 'react';
|
3
|
+
import IconButton from './IconButton';
|
4
|
+
export declare const WithKnobs: () => JSX.Element;
|
5
|
+
declare const IconButtonStories: Meta<ComponentProps<typeof IconButton>>;
|
6
|
+
export default IconButtonStories;
|
@@ -5,7 +5,10 @@ interface MonthProps {
|
|
5
5
|
selected: boolean;
|
6
6
|
documents: number[];
|
7
7
|
amount: number;
|
8
|
-
monthText:
|
8
|
+
monthText: {
|
9
|
+
singular: string;
|
10
|
+
plural: string;
|
11
|
+
}[];
|
9
12
|
isCurrentMonth: boolean;
|
10
13
|
}
|
11
14
|
declare const Month: ({ monthNumber, percentage, selected, documents, amount, monthText, isCurrentMonth, }: MonthProps) => JSX.Element;
|
@@ -13,7 +13,10 @@ export declare type MonthData = {
|
|
13
13
|
export interface MonthlyTabProps {
|
14
14
|
data: MonthData;
|
15
15
|
onSelectionChange: (monthsData: MonthAmountData[]) => void;
|
16
|
-
monthText?:
|
16
|
+
monthText?: {
|
17
|
+
singular: string;
|
18
|
+
plural: string;
|
19
|
+
}[];
|
17
20
|
preSelectedMonths: number[];
|
18
21
|
currentMonth: number;
|
19
22
|
}
|