@shipengine/giger-theme 0.3.0 → 0.4.0

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.
Files changed (65) hide show
  1. package/dist/esm/BorderRadius.d.ts +3 -0
  2. package/dist/esm/Breakpoints.d.ts +3 -0
  3. package/dist/esm/Card.d.ts +10 -0
  4. package/dist/esm/Components/Button.d.ts +5 -0
  5. package/dist/esm/Components/Checkbox.d.ts +6 -0
  6. package/dist/esm/Components/Chip.d.ts +15 -0
  7. package/dist/esm/Components/Components.d.ts +25 -0
  8. package/dist/esm/Components/Dialog.d.ts +26 -0
  9. package/dist/esm/Components/Field.d.ts +9 -0
  10. package/dist/esm/Components/FieldContainer.d.ts +5 -0
  11. package/dist/esm/Components/Link.d.ts +14 -0
  12. package/dist/esm/Components/Table.d.ts +7 -0
  13. package/dist/esm/Components/Typography.d.ts +21 -0
  14. package/dist/esm/Elevations.d.ts +20 -0
  15. package/dist/esm/FallbackTheme/fallback.d.ts +5 -0
  16. package/dist/esm/FallbackTheme/fallback.js +223 -0
  17. package/dist/esm/FallbackTheme/fallback.js.map +1 -0
  18. package/dist/esm/FontFaces.d.ts +12 -0
  19. package/dist/esm/Grid.d.ts +16 -0
  20. package/dist/esm/Icons.d.ts +152 -0
  21. package/dist/esm/Icons.js +154 -0
  22. package/dist/esm/Icons.js.map +1 -0
  23. package/dist/esm/Palette.d.ts +44 -0
  24. package/dist/esm/Theme.d.ts +526 -0
  25. package/dist/esm/Theme.js +88 -0
  26. package/dist/esm/Theme.js.map +1 -0
  27. package/dist/esm/ThemeTypes.d.ts +31 -0
  28. package/dist/esm/Types.d.ts +5 -0
  29. package/dist/esm/Typographies.d.ts +12 -0
  30. package/dist/esm/index.d.ts +22 -0
  31. package/dist/esm/index.js +4 -0
  32. package/dist/esm/index.js.map +1 -0
  33. package/dist/lib/BorderRadius.d.ts +3 -0
  34. package/dist/lib/Breakpoints.d.ts +3 -0
  35. package/dist/lib/Card.d.ts +10 -0
  36. package/dist/lib/Components/Button.d.ts +5 -0
  37. package/dist/lib/Components/Checkbox.d.ts +6 -0
  38. package/dist/lib/Components/Chip.d.ts +15 -0
  39. package/dist/lib/Components/Components.d.ts +25 -0
  40. package/dist/lib/Components/Dialog.d.ts +26 -0
  41. package/dist/lib/Components/Field.d.ts +9 -0
  42. package/dist/lib/Components/FieldContainer.d.ts +5 -0
  43. package/dist/lib/Components/Link.d.ts +14 -0
  44. package/dist/lib/Components/Table.d.ts +7 -0
  45. package/dist/lib/Components/Typography.d.ts +21 -0
  46. package/dist/lib/Elevations.d.ts +20 -0
  47. package/dist/lib/FallbackTheme/fallback.d.ts +5 -0
  48. package/dist/lib/FallbackTheme/fallback.js +227 -0
  49. package/dist/lib/FallbackTheme/fallback.js.map +1 -0
  50. package/dist/lib/FontFaces.d.ts +12 -0
  51. package/dist/lib/Grid.d.ts +16 -0
  52. package/dist/lib/Icons.d.ts +152 -0
  53. package/dist/lib/Icons.js +156 -0
  54. package/dist/lib/Icons.js.map +1 -0
  55. package/dist/lib/Palette.d.ts +44 -0
  56. package/dist/lib/Theme.d.ts +526 -0
  57. package/dist/lib/Theme.js +96 -0
  58. package/dist/lib/Theme.js.map +1 -0
  59. package/dist/lib/ThemeTypes.d.ts +31 -0
  60. package/dist/lib/Types.d.ts +5 -0
  61. package/dist/lib/Typographies.d.ts +12 -0
  62. package/dist/lib/index.d.ts +22 -0
  63. package/dist/lib/index.js +17 -0
  64. package/dist/lib/index.js.map +1 -0
  65. package/package.json +2 -2
@@ -0,0 +1,22 @@
1
+ export { Theme } from './Theme.js';
2
+ export { ComponentsVariables, CustomComponentsVariables } from './Components/Components.js';
3
+ export { ThemeChipComponent } from './Components/Chip.js';
4
+ export { ThemeTypographyComponent, ThemeTypographyProperties } from './Components/Typography.js';
5
+ export { ThemeDialogActionProperties, ThemeDialogComponent, ThemeDialogContentProperties, ThemeDialogHeaderProperties, ThemeDialogProperties } from './Components/Dialog.js';
6
+ export { ThemeLinkComponent } from './Components/Link.js';
7
+ export { ThemeButtonComponent } from './Components/Button.js';
8
+ export { ThemeCheckboxComponent } from './Components/Checkbox.js';
9
+ export { ThemeFieldComponent } from './Components/Field.js';
10
+ export { ThemeFieldContainerComponent } from './Components/FieldContainer.js';
11
+ export { ThemeTableComponent } from './Components/Table.js';
12
+ export { CustomThemeData, ThemeData } from './ThemeTypes.js';
13
+ export { fallbackTheme } from './FallbackTheme/fallback.js';
14
+ export { BorderRadiusVariables } from './BorderRadius.js';
15
+ export { BreakpointsVariables } from './Breakpoints.js';
16
+ export { CardVariables, ThemeCardBorderRadius } from './Card.js';
17
+ export { ElevationBase, ElevationsVariables } from './Elevations.js';
18
+ export { FontFacesVariables } from './FontFaces.js';
19
+ export { GridBase, GridVariables } from './Grid.js';
20
+ export { IconNames, IconsVariables } from './Icons.js';
21
+ export { PaletteVariables, ThemePaletteColorBase, ThemePaletteColorExpanded, ThemePaletteColorGray, ThemePaletteColorStandard, ThemePaletteDataVisualization, ThemePaletteDataVisualizationColors } from './Palette.js';
22
+ export { FontSizeVariables, FontWeightVariables, LetterSpacingVariables, LineHeightVariables, TypographyVariables } from './Typographies.js';
@@ -0,0 +1,4 @@
1
+ export { Theme } from './Theme.js';
2
+ export { IconNames } from './Icons.js';
3
+ export { fallbackTheme } from './FallbackTheme/fallback.js';
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
@@ -0,0 +1,3 @@
1
+ type BorderRadiusVariables = Record<'XS' | 'S' | 'M' | 'L' | 'XL', string>;
2
+
3
+ export { BorderRadiusVariables };
@@ -0,0 +1,3 @@
1
+ type BreakpointsVariables = Record<'mobileLarge' | 'tablet' | 'tabletLarge' | 'desktop', number>;
2
+
3
+ export { BreakpointsVariables };
@@ -0,0 +1,10 @@
1
+ type ThemeCardBorderRadius = {
2
+ mobile: string;
3
+ tablet: string;
4
+ desktop: string;
5
+ };
6
+ type CardVariables = {
7
+ borderRadius: ThemeCardBorderRadius;
8
+ };
9
+
10
+ export { CardVariables, ThemeCardBorderRadius };
@@ -0,0 +1,5 @@
1
+ type ThemeButtonComponent = {
2
+ borderRadius: string;
3
+ };
4
+
5
+ export { ThemeButtonComponent };
@@ -0,0 +1,6 @@
1
+ type ThemeCheckboxComponent = {
2
+ borderRadius: string;
3
+ square: boolean;
4
+ };
5
+
6
+ export { ThemeCheckboxComponent };
@@ -0,0 +1,15 @@
1
+ type ThemeChipComponent = {
2
+ backgroundColor: string;
3
+ border: string;
4
+ borderRadius: string;
5
+ color: string;
6
+ fontWeight: number;
7
+ padding: string;
8
+ isSelected: {
9
+ border: string;
10
+ backgroundColor: string;
11
+ color: string;
12
+ };
13
+ };
14
+
15
+ export { ThemeChipComponent };
@@ -0,0 +1,25 @@
1
+ import { ThemeChipComponent } from './Chip.js';
2
+ import { ThemeLinkComponent } from './Link.js';
3
+ import { ThemeButtonComponent } from './Button.js';
4
+ import { ThemeTypographyComponent } from './Typography.js';
5
+ import { ThemeDialogComponent } from './Dialog.js';
6
+ import { ThemeCheckboxComponent } from './Checkbox.js';
7
+ import { ThemeFieldContainerComponent } from './FieldContainer.js';
8
+ import { ThemeFieldComponent } from './Field.js';
9
+ import { ThemeTableComponent } from './Table.js';
10
+ import { DeepPartial } from '../Types.js';
11
+
12
+ type CustomComponentsVariables = DeepPartial<ComponentsVariables>;
13
+ type ComponentsVariables = {
14
+ Chip: ThemeChipComponent;
15
+ Link: ThemeLinkComponent;
16
+ Button: ThemeButtonComponent;
17
+ Dialog: ThemeDialogComponent;
18
+ Typography: ThemeTypographyComponent;
19
+ Checkbox: ThemeCheckboxComponent;
20
+ Field: ThemeFieldComponent;
21
+ FieldContainer: ThemeFieldContainerComponent;
22
+ Table: ThemeTableComponent;
23
+ };
24
+
25
+ export { ComponentsVariables, CustomComponentsVariables };
@@ -0,0 +1,26 @@
1
+ import { Property } from 'csstype';
2
+
3
+ type ThemeDialogActionProperties = {
4
+ justifyContent: string;
5
+ };
6
+ type ThemeDialogContentProperties = {
7
+ textAlign: Property.TextAlign;
8
+ padding: number;
9
+ };
10
+ type ThemeDialogProperties = {
11
+ backgroundColor: string;
12
+ borderRadius: string;
13
+ };
14
+ type ThemeDialogHeaderProperties = {
15
+ titleColor: string;
16
+ padding: number;
17
+ borderBottom: string;
18
+ };
19
+ type ThemeDialogComponent = {
20
+ action: ThemeDialogActionProperties;
21
+ content: ThemeDialogContentProperties;
22
+ dialog: ThemeDialogProperties;
23
+ header: ThemeDialogHeaderProperties;
24
+ };
25
+
26
+ export { ThemeDialogActionProperties, ThemeDialogComponent, ThemeDialogContentProperties, ThemeDialogHeaderProperties, ThemeDialogProperties };
@@ -0,0 +1,9 @@
1
+ type ThemeFieldComponent = {
2
+ fontWeight: number;
3
+ color: string;
4
+ placeholder: {
5
+ fontWeight: number;
6
+ };
7
+ };
8
+
9
+ export { ThemeFieldComponent };
@@ -0,0 +1,5 @@
1
+ type ThemeFieldContainerComponent = {
2
+ borderRadius: string;
3
+ };
4
+
5
+ export { ThemeFieldContainerComponent };
@@ -0,0 +1,14 @@
1
+ type ThemeLinkComponent = {
2
+ defaultColor: string;
3
+ visitedColor: string;
4
+ hoverColor: string;
5
+ activeColor: string;
6
+ isDark: {
7
+ defaultColor: string;
8
+ visitedColor: string;
9
+ hoverColor: string;
10
+ activeColor: string;
11
+ };
12
+ };
13
+
14
+ export { ThemeLinkComponent };
@@ -0,0 +1,7 @@
1
+ type ThemeTableComponent = {
2
+ border: string;
3
+ borderRadius: string;
4
+ boxShadow: string;
5
+ };
6
+
7
+ export { ThemeTableComponent };
@@ -0,0 +1,21 @@
1
+ type ThemeTypographyProperties = {
2
+ fontSize: string;
3
+ fontWeight: number;
4
+ lineHeight: string;
5
+ letterSpacing: number;
6
+ };
7
+ type ThemeTypographyComponent = {
8
+ heading1: ThemeTypographyProperties;
9
+ heading2: ThemeTypographyProperties;
10
+ heading3: ThemeTypographyProperties;
11
+ heading4: ThemeTypographyProperties;
12
+ heading5: ThemeTypographyProperties;
13
+ heading6: ThemeTypographyProperties;
14
+ subtitle1: ThemeTypographyProperties;
15
+ subtitle2: ThemeTypographyProperties;
16
+ body1: ThemeTypographyProperties;
17
+ body2: ThemeTypographyProperties;
18
+ small: ThemeTypographyProperties;
19
+ };
20
+
21
+ export { ThemeTypographyComponent, ThemeTypographyProperties };
@@ -0,0 +1,20 @@
1
+ type ElevationBase = {
2
+ boxShadow: string;
3
+ zIndex: number;
4
+ };
5
+ type ElevationsVariables = {
6
+ flat1: ElevationBase;
7
+ flat2: ElevationBase;
8
+ above: ElevationBase;
9
+ sticky: ElevationBase;
10
+ raised: ElevationBase;
11
+ raisedInverted1: ElevationBase;
12
+ raisedInverted2: ElevationBase;
13
+ popout1: ElevationBase;
14
+ popout2: ElevationBase;
15
+ backdrop: ElevationBase;
16
+ overlay1: ElevationBase;
17
+ overlay2: ElevationBase;
18
+ };
19
+
20
+ export { ElevationBase, ElevationsVariables };
@@ -0,0 +1,5 @@
1
+ import { ThemeData } from '../ThemeTypes.js';
2
+
3
+ declare const fallbackTheme: ThemeData;
4
+
5
+ export { fallbackTheme };
@@ -0,0 +1,227 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const fallbackTheme = {
6
+ palette: {
7
+ primary: {
8
+ ultraLight: '#EDEDED',
9
+ light: '#D6D6D6',
10
+ main: '#7A7A7A',
11
+ dark: '#626262'
12
+ },
13
+ secondary: {
14
+ ultraLight: '#F4F4F4',
15
+ light: '#787878',
16
+ main: '#616161',
17
+ dark: '#303030'
18
+ },
19
+ error: {
20
+ main: '#a72514',
21
+ light: '#fee5e4'
22
+ },
23
+ success: {
24
+ main: '#286327',
25
+ light: '#dcfddb'
26
+ },
27
+ alert: {
28
+ main: '#725200',
29
+ light: '#ffe7ca'
30
+ },
31
+ info: {
32
+ main: '#195f7f',
33
+ light: '#dbedfd'
34
+ },
35
+ gray: {
36
+ main: '#706f6f',
37
+ light: '#d3d3d3',
38
+ ultraLight: '#f4f4f4',
39
+ megaLight: '#fafafa',
40
+ dark: '#373737'
41
+ },
42
+ black: '#000',
43
+ white: '#fff',
44
+ dataVisualization: {
45
+ highContrast: {
46
+ blueDark: '#002039',
47
+ coral: '#F95D6A',
48
+ purpleDark: '#665191',
49
+ orange: '#FFA600',
50
+ purple: '#A05195',
51
+ orangeDark: '#FF7C43',
52
+ blue: '#3970C1',
53
+ cyan: '#45CEE0',
54
+ pink: '#D12771',
55
+ green: '#B3D849'
56
+ },
57
+ lowContrast: {
58
+ blueDark: '#5283AB',
59
+ coral: '#FCA6AD',
60
+ purpleDark: '#B1A2D0',
61
+ orange: '#FDDFA5',
62
+ purple: '#D4BBFF',
63
+ orangeDark: '#FCC2A9',
64
+ blue: '#96B3DE',
65
+ cyan: '#BAE6FF',
66
+ pink: '#E995BA',
67
+ green: '#DEF895'
68
+ }
69
+ }
70
+ },
71
+ spacingBase: 8,
72
+ borderRadius: {
73
+ XS: '2px',
74
+ S: '4px',
75
+ M: '8px',
76
+ L: '16px',
77
+ XL: '32px'
78
+ },
79
+ breakPoints: {
80
+ mobileLarge: 480,
81
+ tablet: 768,
82
+ tabletLarge: 960,
83
+ desktop: 1280
84
+ },
85
+ typography: {
86
+ fontWeight: {
87
+ light: 200,
88
+ normal: 400,
89
+ semibold: 600,
90
+ bold: 700
91
+ },
92
+ fontSize: {
93
+ XXS: '10px',
94
+ XS: '12px',
95
+ S: '14px',
96
+ M: '16px',
97
+ L: '18px',
98
+ XL: '20px',
99
+ XXL: '24px',
100
+ XXXL: '32px',
101
+ XXXXL: '48px'
102
+ },
103
+ lineHeight: {
104
+ S: '20px',
105
+ M: '24px',
106
+ L: '28px',
107
+ XL: '32px',
108
+ XXL: '48px',
109
+ XXXL: '72px'
110
+ },
111
+ letterSpacing: {
112
+ S: 0,
113
+ M: 1,
114
+ L: 3,
115
+ XL: 5,
116
+ XXL: 8,
117
+ XXXL: 12
118
+ }
119
+ },
120
+ card: {
121
+ borderRadius: {
122
+ mobile: '4px',
123
+ tablet: '8px',
124
+ desktop: '8px'
125
+ }
126
+ },
127
+ elevations: {
128
+ flat1: {
129
+ boxShadow: '0 2px 2px rgba(0, 0, 0, 0.1)',
130
+ zIndex: 1
131
+ },
132
+ flat2: {
133
+ boxShadow: '0 2px 2px rgba(0, 0, 0, 0.1)',
134
+ zIndex: 1000
135
+ },
136
+ above: {
137
+ boxShadow: '0 0 12px rgba(0, 0, 0, 0.1)',
138
+ zIndex: 1000
139
+ },
140
+ sticky: {
141
+ boxShadow: 'none',
142
+ zIndex: 1001
143
+ },
144
+ raised: {
145
+ boxShadow: '0 8px 8px rgba(0, 0, 0, 0.1)',
146
+ zIndex: 1002
147
+ },
148
+ raisedInverted1: {
149
+ boxShadow: '0 -8px 8px rgba(0, 0, 0, 0.1)',
150
+ zIndex: 1002
151
+ },
152
+ raisedInverted2: {
153
+ boxShadow: '0 -8px 8px rgba(0, 0, 0, 0.1)',
154
+ zIndex: 1003
155
+ },
156
+ popout1: {
157
+ boxShadow: '0 4px 16px rgba(0, 0, 0, 0.1)',
158
+ zIndex: 1004
159
+ },
160
+ popout2: {
161
+ boxShadow: '0 4px 16px rgba(0, 0, 0, 0.1)',
162
+ zIndex: 1005
163
+ },
164
+ overlay1: {
165
+ boxShadow: '0 0 24px rgba(0, 0, 0, 0.1)',
166
+ zIndex: 1006
167
+ },
168
+ backdrop: {
169
+ boxShadow: 'none',
170
+ zIndex: 1007
171
+ },
172
+ overlay2: {
173
+ boxShadow: '0 0 24px rgba(0, 0, 0, 0.1)',
174
+ zIndex: 1008
175
+ }
176
+ },
177
+ grid: {
178
+ mobile: {
179
+ columns: 4,
180
+ horizontalSpace: 16,
181
+ verticalSpace: 16,
182
+ gutter: 16
183
+ },
184
+ mobileLarge: {
185
+ columns: 4,
186
+ horizontalSpace: 16,
187
+ verticalSpace: 16,
188
+ gutter: 16
189
+ },
190
+ tablet: {
191
+ columns: 12,
192
+ horizontalSpace: 16,
193
+ verticalSpace: 24,
194
+ gutter: 24
195
+ },
196
+ tabletLarge: {
197
+ columns: 12,
198
+ horizontalSpace: 16,
199
+ verticalSpace: 24,
200
+ gutter: 24
201
+ },
202
+ desktop: {
203
+ columns: 12,
204
+ horizontalSpace: 16,
205
+ verticalSpace: 24,
206
+ gutter: 24
207
+ },
208
+ desktopLarge: {
209
+ columns: 12,
210
+ horizontalSpace: 16,
211
+ verticalSpace: 24,
212
+ gutter: 24
213
+ }
214
+ },
215
+ defaultFontFamily: 'Arial',
216
+ fontFaces: [],
217
+ iconSize: {
218
+ small: '16px',
219
+ medium: '20px',
220
+ regular: '24px',
221
+ large: '32px',
222
+ extra_large: '48px'
223
+ }
224
+ };
225
+
226
+ exports.fallbackTheme = fallbackTheme;
227
+ //# sourceMappingURL=fallback.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fallback.js","sources":["../../../src/FallbackTheme/fallback.ts"],"sourcesContent":["import { ThemeData } from '../ThemeTypes';\n\nexport const fallbackTheme: ThemeData = {\n palette: {\n primary: {\n ultraLight: '#EDEDED',\n light: '#D6D6D6',\n main: '#7A7A7A',\n dark: '#626262',\n },\n secondary: {\n ultraLight: '#F4F4F4',\n light: '#787878',\n main: '#616161',\n dark: '#303030',\n },\n error: {\n main: '#a72514',\n light: '#fee5e4',\n },\n success: {\n main: '#286327',\n light: '#dcfddb',\n },\n alert: {\n main: '#725200',\n light: '#ffe7ca',\n },\n info: {\n main: '#195f7f',\n light: '#dbedfd',\n },\n gray: {\n main: '#706f6f',\n light: '#d3d3d3',\n ultraLight: '#f4f4f4',\n megaLight: '#fafafa',\n dark: '#373737',\n },\n black: '#000',\n white: '#fff',\n dataVisualization: {\n highContrast: {\n blueDark: '#002039',\n coral: '#F95D6A',\n purpleDark: '#665191',\n orange: '#FFA600',\n purple: '#A05195',\n orangeDark: '#FF7C43',\n blue: '#3970C1',\n cyan: '#45CEE0',\n pink: '#D12771',\n green: '#B3D849',\n },\n lowContrast: {\n blueDark: '#5283AB',\n coral: '#FCA6AD',\n purpleDark: '#B1A2D0',\n orange: '#FDDFA5',\n purple: '#D4BBFF',\n orangeDark: '#FCC2A9',\n blue: '#96B3DE',\n cyan: '#BAE6FF',\n pink: '#E995BA',\n green: '#DEF895',\n },\n },\n },\n spacingBase: 8,\n borderRadius: {\n XS: '2px',\n S: '4px',\n M: '8px',\n L: '16px',\n XL: '32px',\n },\n breakPoints: {\n mobileLarge: 480,\n tablet: 768,\n tabletLarge: 960,\n desktop: 1280,\n },\n typography: {\n fontWeight: {\n light: 200,\n normal: 400,\n semibold: 600,\n bold: 700,\n },\n fontSize: {\n XXS: '10px',\n XS: '12px',\n S: '14px',\n M: '16px',\n L: '18px',\n XL: '20px',\n XXL: '24px',\n XXXL: '32px',\n XXXXL: '48px',\n },\n lineHeight: {\n S: '20px',\n M: '24px',\n L: '28px',\n XL: '32px',\n XXL: '48px',\n XXXL: '72px',\n },\n letterSpacing: {\n S: 0,\n M: 1,\n L: 3,\n XL: 5,\n XXL: 8,\n XXXL: 12,\n },\n },\n card: {\n borderRadius: {\n mobile: '4px',\n tablet: '8px',\n desktop: '8px',\n },\n },\n elevations: {\n flat1: {\n boxShadow: '0 2px 2px rgba(0, 0, 0, 0.1)',\n zIndex: 1,\n },\n flat2: {\n boxShadow: '0 2px 2px rgba(0, 0, 0, 0.1)',\n zIndex: 1000,\n },\n above: {\n boxShadow: '0 0 12px rgba(0, 0, 0, 0.1)',\n zIndex: 1000,\n },\n sticky: {\n boxShadow: 'none',\n zIndex: 1001,\n },\n raised: {\n boxShadow: '0 8px 8px rgba(0, 0, 0, 0.1)',\n zIndex: 1002,\n },\n raisedInverted1: {\n boxShadow: '0 -8px 8px rgba(0, 0, 0, 0.1)',\n zIndex: 1002,\n },\n raisedInverted2: {\n boxShadow: '0 -8px 8px rgba(0, 0, 0, 0.1)',\n zIndex: 1003,\n },\n popout1: {\n boxShadow: '0 4px 16px rgba(0, 0, 0, 0.1)',\n zIndex: 1004,\n },\n popout2: {\n boxShadow: '0 4px 16px rgba(0, 0, 0, 0.1)',\n zIndex: 1005,\n },\n overlay1: {\n boxShadow: '0 0 24px rgba(0, 0, 0, 0.1)',\n zIndex: 1006,\n },\n backdrop: {\n boxShadow: 'none',\n zIndex: 1007,\n },\n overlay2: {\n boxShadow: '0 0 24px rgba(0, 0, 0, 0.1)',\n zIndex: 1008,\n },\n },\n grid: {\n mobile: {\n columns: 4,\n horizontalSpace: 16,\n verticalSpace: 16,\n gutter: 16,\n },\n mobileLarge: {\n columns: 4,\n horizontalSpace: 16,\n verticalSpace: 16,\n gutter: 16,\n },\n tablet: {\n columns: 12,\n horizontalSpace: 16,\n verticalSpace: 24,\n gutter: 24,\n },\n tabletLarge: {\n columns: 12,\n horizontalSpace: 16,\n verticalSpace: 24,\n gutter: 24,\n },\n desktop: {\n columns: 12,\n horizontalSpace: 16,\n verticalSpace: 24,\n gutter: 24,\n },\n desktopLarge: {\n columns: 12,\n horizontalSpace: 16,\n verticalSpace: 24,\n gutter: 24,\n },\n },\n defaultFontFamily: 'Arial',\n fontFaces: [],\n iconSize: {\n small: '16px',\n medium: '20px',\n regular: '24px',\n large: '32px',\n extra_large: '48px',\n },\n};\n"],"names":["fallbackTheme","palette","primary","ultraLight","light","main","dark","secondary","error","success","alert","info","gray","megaLight","black","white","dataVisualization","highContrast","blueDark","coral","purpleDark","orange","purple","orangeDark","blue","cyan","pink","green","lowContrast","spacingBase","borderRadius","XS","S","M","L","XL","breakPoints","mobileLarge","tablet","tabletLarge","desktop","typography","fontWeight","normal","semibold","bold","fontSize","XXS","XXL","XXXL","XXXXL","lineHeight","letterSpacing","card","mobile","elevations","flat1","boxShadow","zIndex","flat2","above","sticky","raised","raisedInverted1","raisedInverted2","popout1","popout2","overlay1","backdrop","overlay2","grid","columns","horizontalSpace","verticalSpace","gutter","desktopLarge","defaultFontFamily","fontFaces","iconSize","small","medium","regular","large","extra_large"],"mappings":";;;;AAEO,MAAMA,aAAwB,GAAG;AACpCC,EAAAA,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ACTgC,MAAAA,OAAO,EAAE,EAAE;AACXC,MAAAA,eAAe,EAAE,EAAE;AACnBC,MAAAA,aAAa,EAAE,EAAE;AACjBC,MAAAA,MAAM,EAAE,EAAA;KACX;AACDlC,IAAAA,OAAO,EAAE;AACL+B,MAAAA,OAAO,EAAE,EAAE;AACXC,MAAAA,eAAe,EAAE,EAAE;AACnBC,MAAAA,aAAa,EAAE,EAAE;AACjBC,MAAAA,MAAM,EAAE,EAAA;KACX;AACDC,IAAAA,YAAY,EAAE;AACVJ,MAAAA,OAAO,EAAE,EAAE;AACXC,MAAAA,eAAe,EAAE,EAAE;AACnBC,MAAAA,aAAa,EAAE,EAAE;AACjBC,MAAAA,MAAM,EAAE,EAAA;AACZ,KAAA;GACH;AACDE,EAAAA,iBAAiB,EAAE,OAAO;AAC1BC,EAAAA,SAAS,EAAE,EAAE;AACbC,EAAAA,QAAQ,EAAE;AACNC,IAAAA,KAAK,EAAE,MAAM;AACbC,IAAAA,MAAM,EAAE,MAAM;AACdC,IAAAA,OAAO,EAAE,MAAM;AACfC,IAAAA,KAAK,EAAE,MAAM;AACbC,IAAAA,WAAW,EAAE,MAAA;AACjB,GAAA;AACJ;;;;"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @description: Source is a list of urls to font files, this urls can contain a string $cdnUrl that will be replaced
3
+ * by the url of the cdn in each case
4
+ *
5
+ */
6
+ type FontFacesVariables = {
7
+ family: string;
8
+ source: string[];
9
+ descriptors?: FontFaceDescriptors;
10
+ };
11
+
12
+ export { FontFacesVariables };
@@ -0,0 +1,16 @@
1
+ type GridBase = {
2
+ columns: number;
3
+ horizontalSpace: number;
4
+ verticalSpace: number;
5
+ gutter: number;
6
+ };
7
+ type GridVariables = {
8
+ mobile: GridBase;
9
+ mobileLarge: GridBase;
10
+ tablet: GridBase;
11
+ tabletLarge: GridBase;
12
+ desktop: GridBase;
13
+ desktopLarge: GridBase;
14
+ };
15
+
16
+ export { GridBase, GridVariables };
@@ -0,0 +1,152 @@
1
+ type IconsVariables = Record<'small' | 'medium' | 'regular' | 'large' | 'extra_large', string>;
2
+ /**
3
+ * @description Available icon names
4
+ */
5
+ declare enum IconNames {
6
+ ADD_FILLED = "ADD_FILLED",
7
+ ADD = "ADD",
8
+ AGENT = "AGENT",
9
+ ALERT = "ALERT",
10
+ ANALYTICS = "ANALYTICS",
11
+ CONVERSATION = "CONVERSATION",
12
+ ARROW_BOTTOM = "ARROW_BOTTOM",
13
+ ARROW_LEFT = "ARROW_LEFT",
14
+ ARROW_RIGHT = "ARROW_RIGHT",
15
+ ARROW_TOP = "ARROW_TOP",
16
+ ATTACH = "ATTACH",
17
+ AUTOMATION = "AUTOMATION",
18
+ BELL = "BELL",
19
+ BOAT = "BOAT",
20
+ BUCKET = "BUCKET",
21
+ BUFFER = "BUFFER",
22
+ CALENDAR = "CALENDAR",
23
+ CANCEL_FILLED = "CANCEL_FILLED",
24
+ CANCEL = "CANCEL",
25
+ CAR = "CAR",
26
+ CARDBOARD_BOX_CHECK = "CARDBOARD_BOX_CHECK",
27
+ CARDBOARD_BOX_SHIELD = "CARDBOARD_BOX_SHIELD",
28
+ CARDBOARD_BOX = "CARDBOARD_BOX",
29
+ CARET_BOTTOM = "CARET_BOTTOM",
30
+ CARET_TOP = "CARET_TOP",
31
+ CARGO = "CARGO",
32
+ CART = "CART",
33
+ CASH_DISABLED = "CASH_DISABLED",
34
+ CASH = "CASH",
35
+ CHART_UPWARDS = "CHART_UPWARDS",
36
+ CHECK_FILLED = "CHECK_FILLED",
37
+ CHECK_MARK = "CHECK_MARK",
38
+ CHECK = "CHECK",
39
+ CHEVRON_BOTTOM = "CHEVRON_BOTTOM",
40
+ CHEVRON_LEFT = "CHEVRON_LEFT",
41
+ CHEVRON_RIGHT = "CHEVRON_RIGHT",
42
+ CHEVRON_TOP = "CHEVRON_TOP",
43
+ CIRCLE = "CIRCLE",
44
+ CIRCULAR_ARROW = "CIRCULAR_ARROW",
45
+ CLOCK = "CLOCK",
46
+ CLOSE = "CLOSE",
47
+ CODE = "CODE",
48
+ COINS = "COINS",
49
+ CONTRACT = "CONTRACT",
50
+ COPY = "COPY",
51
+ CREDIT_CARD = "CREDIT_CARD",
52
+ DASH = "DASH",
53
+ DESKTOP = "DESKTOP",
54
+ DOOR_DELIVERY = "DOOR_DELIVERY",
55
+ DOTS = "DOTS",
56
+ DOWNLOAD = "DOWNLOAD",
57
+ DRAG_DROP = "DRAG_DROP",
58
+ DUPLICATE = "DUPLICATE",
59
+ ECOMMERCE = "ECOMMERCE",
60
+ EDIT = "EDIT",
61
+ EYE_DISABLED = "EYE_DISABLED",
62
+ EYE = "EYE",
63
+ FAST_DELIVERY = "FAST_DELIVERY",
64
+ FEATURED = "FEATURED",
65
+ FEATURED_FILLED = "FEATURED_FILLED",
66
+ FILE_LIST = "FILE_LIST",
67
+ FILE_PDF = "FILE_PDF",
68
+ FILE = "FILE",
69
+ FILTER = "FILTER",
70
+ FORKLIFT = "FORKLIFT",
71
+ FOUR = "FOUR",
72
+ FRAGILE = "FRAGILE",
73
+ GIFT = "GIFT",
74
+ GROUP = "GROUP",
75
+ HAND_BOX = "HAND_BOX",
76
+ HARD_BOX = "HARD_BOX",
77
+ HELP = "HELP",
78
+ HOURGLASS = "HOURGLASS",
79
+ HOUSE = "HOUSE",
80
+ IMPORT = "IMPORT",
81
+ INBOX = "INBOX",
82
+ INFO_FILLED = "INFO_FILLED",
83
+ INFO = "INFO",
84
+ KEY = "KEY",
85
+ LABEL = "LABEL",
86
+ LIST = "LIST",
87
+ LOGOUT_BOLD = "LOGOUT_BOLD",
88
+ LOGOUT = "LOGOUT",
89
+ MAIL = "MAIL",
90
+ MAP = "MAP",
91
+ MARGIN_PROFILE = "MARGIN_PROFILE",
92
+ MARKER_FILLED = "MARKER_FILLED",
93
+ MARKER = "MARKER",
94
+ MENU = "MENU",
95
+ MOBILE = "MOBILE",
96
+ MONEY = "MONEY",
97
+ NEW_WINDOW = "NEW_WINDOW",
98
+ ONE = "ONE",
99
+ OPEN_BOX = "OPEN_BOX",
100
+ PADLOCK_OPEN = "PADLOCK_OPEN",
101
+ PADLOCK = "PADLOCK",
102
+ PAGINATION_LEFT = "PAGINATION_LEFT",
103
+ PAGINATION_RIGHT = "PAGINATION_RIGHT",
104
+ PALLET = "PALLET",
105
+ PANTONE = "PANTONE",
106
+ PERCENTAGE = "PERCENTAGE",
107
+ PLANE = "PLANE",
108
+ PLUG = "PLUG",
109
+ PLUS = "PLUS",
110
+ PRINTER_DISABLED = "PRINTER_DISABLED",
111
+ PRINTER = "PRINTER",
112
+ REMOVE_FILLED = "REMOVE_FILLED",
113
+ REMOVE = "REMOVE",
114
+ ROCKET = "ROCKET",
115
+ SAVINGS = "SAVINGS",
116
+ SCAN_BARCODE = "SCAN_BARCODE",
117
+ SCAN_QR = "SCAN_QR",
118
+ SEARCH = "SEARCH",
119
+ SETTINGS = "SETTINGS",
120
+ SHIELD_DISABLED = "SHIELD_DISABLED",
121
+ SHIELD = "SHIELD",
122
+ SINGLE_COLLECTION = "SINGLE_COLLECTION",
123
+ SORT_ALPHA_ASC = "SORT_ALPHA_ASC",
124
+ SORT_ALPHA_DESC = "SORT_ALPHA_DESC",
125
+ SORT = "SORT",
126
+ SPEED_TRUCK = "SPEED_TRUCK",
127
+ SPINNER = "SPINNER",
128
+ STORE = "STORE",
129
+ SUBSCRIPTION = "SUBSCRIPTION",
130
+ TABLET = "TABLET",
131
+ THREE = "THREE",
132
+ TIMER = "TIMER",
133
+ TRACKING = "TRACKING",
134
+ TRAIN = "TRAIN",
135
+ TRASH = "TRASH",
136
+ TROLLEY = "TROLLEY",
137
+ TRUCK = "TRUCK",
138
+ TWO = "TWO",
139
+ USER_FILLED = "USER_FILLED",
140
+ USER = "USER",
141
+ UPGRADE = "UPGRADE",
142
+ VAN = "VAN",
143
+ WAREHOUSE = "WAREHOUSE",
144
+ WEIGHT = "WEIGHT",
145
+ WEIGHT_GRAMS = "WEIGHT_GRAMS",
146
+ WEIGHT_OUNCE = "WEIGHT_OUNCE",
147
+ WEIGHT_POUND = "WEIGHT_POUND",
148
+ WORLD_SHIPPING = "WORLD_SHIPPING",
149
+ WORLD = "WORLD"
150
+ }
151
+
152
+ export { IconNames, IconsVariables };