@fattureincloud/fic-design-system 0.4.30 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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;
@@ -7,16 +7,17 @@ declare type colorValues = 50 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 |
7
7
  export declare type color = {
8
8
  [k in colorValues]: paletteColor;
9
9
  };
10
- declare const bwColorsList: readonly ["black", "white"];
11
- declare type bwColors = typeof bwColorsList[number];
10
+ export declare const bwColorsList: readonly ["black", "white"];
11
+ export declare type bwColors = typeof bwColorsList[number];
12
12
  declare type BwPalette = {
13
13
  [k in bwColors]: bwColor;
14
14
  };
15
- declare const colorsList: readonly ["grey", "blue", "indigo", "yellow", "orange", "red", "green", "fuchsia", "pink", "cyan", "primary"];
15
+ export declare const colorsList: readonly ["grey", "blue", "indigo", "yellow", "orange", "red", "green", "fuchsia", "pink", "cyan", "primary"];
16
16
  export declare type colors = typeof colorsList[number];
17
17
  declare type ColorsPalette = {
18
18
  [k in colors]: color;
19
19
  };
20
20
  export declare const allColorsList: ("black" | "white" | "grey" | "blue" | "indigo" | "yellow" | "orange" | "red" | "green" | "fuchsia" | "pink" | "cyan" | "primary")[];
21
+ export declare type AllColors = typeof allColorsList[number];
21
22
  export declare type Palette = BwPalette & ColorsPalette;
22
23
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fattureincloud/fic-design-system",
3
- "version": "0.4.30",
3
+ "version": "0.5.0",
4
4
  "description": "Fatture in Cloud and Danea design system",
5
5
  "repository": "git@bitbucket.org:fattureincloud/design-system.git",
6
6
  "license": "MIT",