@fattureincloud/fic-design-system 0.4.31 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +23 -0
- package/dist/common/components/typography/Typography.d.ts +13 -0
- package/dist/common/components/typography/index.d.ts +1 -0
- package/dist/common/components/typography/types.d.ts +21 -0
- package/dist/common/components/typography/utils.d.ts +2 -0
- package/dist/common/types/dateTypes.d.ts +5 -0
- package/dist/common/utils/dateUtils.d.ts +3 -0
- package/dist/common/utils/dsUtils.d.ts +8 -0
- package/dist/components/avatar/Avatar.d.ts +1 -1
- package/dist/components/avatar/avatar.stories.d.ts +2 -2
- package/dist/components/avatar/index.d.ts +2 -2
- package/dist/components/avatar/styled.d.ts +3 -0
- package/dist/components/avatar/types.d.ts +18 -6
- package/dist/components/avatar/utils.d.ts +4 -0
- package/dist/components/badge/Badge.d.ts +2 -2
- package/dist/components/dropdown/types.d.ts +1 -2
- package/dist/components/form/datepicker/hooks/useFormattedDate.d.ts +1 -1
- package/dist/components/form/datepicker/types.d.ts +0 -3
- package/dist/components/form/datepicker/utils.d.ts +1 -1
- package/dist/components/inlineMessage/InlineMessage.d.ts +1 -1
- package/dist/components/segmentButton/SegmentButton.d.ts +4 -0
- package/dist/components/segmentButton/index.d.ts +3 -0
- package/dist/components/segmentButton/segmentButton.stories.d.ts +5 -0
- package/dist/components/segmentButton/segmentButtonPalette.d.ts +3 -0
- package/dist/components/segmentButton/styled.d.ts +7 -0
- package/dist/components/segmentButton/types.d.ts +26 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.esm.js +5 -5
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/styles/theme.d.ts +2 -0
- package/dist/styles/types.d.ts +6 -4
- package/package.json +1 -1
package/dist/styles/theme.d.ts
CHANGED
@@ -21,6 +21,7 @@ import { SidebarItemPalette } from '../components/layout/sidebarItem';
|
|
21
21
|
import { MicroTagPalette } from '../components/microTag';
|
22
22
|
import { PaginationPalette } from '../components/pagination';
|
23
23
|
import { ProgressBarPalette } from '../components/progressbar';
|
24
|
+
import { SegmentButtonPalette } from '../components/segmentButton';
|
24
25
|
import { StepperPalette } from '../components/stepper';
|
25
26
|
import { TablePalette } from '../components/table';
|
26
27
|
import { TagPalette } from '../components/tag';
|
@@ -58,6 +59,7 @@ interface Components {
|
|
58
59
|
badge: BadgePalette;
|
59
60
|
tip: TipPalette;
|
60
61
|
label: LabelPalette;
|
62
|
+
segmentButton: SegmentButtonPalette;
|
61
63
|
}
|
62
64
|
export interface Theme {
|
63
65
|
palette: Palette;
|
package/dist/styles/types.d.ts
CHANGED
@@ -3,20 +3,22 @@ declare type bwColorValues = 8 | 16 | 48 | 80 | 100;
|
|
3
3
|
export declare type bwColor = {
|
4
4
|
[k in bwColorValues]: paletteColor;
|
5
5
|
};
|
6
|
-
declare
|
6
|
+
export declare const colorValuesArray: readonly [50, 100, 200, 300, 400, 500, 600, 700, 800, 900];
|
7
|
+
export declare type colorValues = typeof colorValuesArray[number];
|
7
8
|
export declare type color = {
|
8
9
|
[k in colorValues]: paletteColor;
|
9
10
|
};
|
10
|
-
declare const bwColorsList: readonly ["black", "white"];
|
11
|
-
declare type bwColors = typeof bwColorsList[number];
|
11
|
+
export declare const bwColorsList: readonly ["black", "white"];
|
12
|
+
export declare type bwColors = typeof bwColorsList[number];
|
12
13
|
declare type BwPalette = {
|
13
14
|
[k in bwColors]: bwColor;
|
14
15
|
};
|
15
|
-
declare const colorsList: readonly ["grey", "blue", "indigo", "yellow", "orange", "red", "green", "fuchsia", "pink", "cyan", "primary"];
|
16
|
+
export declare const colorsList: readonly ["grey", "blue", "indigo", "yellow", "orange", "red", "green", "fuchsia", "pink", "cyan", "primary"];
|
16
17
|
export declare type colors = typeof colorsList[number];
|
17
18
|
declare type ColorsPalette = {
|
18
19
|
[k in colors]: color;
|
19
20
|
};
|
20
21
|
export declare const allColorsList: ("black" | "white" | "grey" | "blue" | "indigo" | "yellow" | "orange" | "red" | "green" | "fuchsia" | "pink" | "cyan" | "primary")[];
|
22
|
+
export declare type AllColors = typeof allColorsList[number];
|
21
23
|
export declare type Palette = BwPalette & ColorsPalette;
|
22
24
|
export {};
|
package/package.json
CHANGED