@atb-as/theme 10.4.1 → 11.0.0-alpha.10

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 (63) hide show
  1. package/lib/index.d.ts +0 -1
  2. package/lib/index.js +5 -2
  3. package/lib/index.js.map +1 -1
  4. package/lib/theme.d.ts +175 -41
  5. package/lib/theme.js +36 -20
  6. package/lib/theme.js.map +1 -1
  7. package/lib/themes/atb-theme/dark.d.ts +419 -0
  8. package/lib/themes/atb-theme/dark.js +421 -0
  9. package/lib/themes/atb-theme/dark.js.map +1 -0
  10. package/lib/themes/atb-theme/light.d.ts +419 -0
  11. package/lib/themes/atb-theme/light.js +421 -0
  12. package/lib/themes/atb-theme/light.js.map +1 -0
  13. package/lib/themes/atb-theme/theme.css +102 -145
  14. package/lib/themes/atb-theme/theme.d.ts +830 -107
  15. package/lib/themes/atb-theme/theme.js +10 -477
  16. package/lib/themes/atb-theme/theme.js.map +1 -1
  17. package/lib/themes/atb-theme/theme.module.css +102 -145
  18. package/lib/themes/index.d.ts +0 -4
  19. package/lib/themes/index.js +5 -9
  20. package/lib/themes/index.js.map +1 -1
  21. package/lib/themes-fs/atb-theme/dark.d.ts +722 -0
  22. package/lib/themes-fs/atb-theme/dark.js +724 -0
  23. package/lib/themes-fs/atb-theme/dark.js.map +1 -0
  24. package/lib/themes-fs/atb-theme/light.d.ts +722 -0
  25. package/lib/themes-fs/atb-theme/light.js +724 -0
  26. package/lib/themes-fs/atb-theme/light.js.map +1 -0
  27. package/lib/themes-fs/atb-theme/theme.d.ts +1442 -0
  28. package/lib/themes-fs/atb-theme/theme.js +16 -0
  29. package/lib/themes-fs/atb-theme/theme.js.map +1 -0
  30. package/lib/themes-fs/index.d.ts +1 -0
  31. package/lib/themes-fs/index.js +13 -0
  32. package/lib/themes-fs/index.js.map +1 -0
  33. package/lib/typography/index.d.ts +3 -3
  34. package/lib/typography/index.js +9 -5
  35. package/lib/typography/index.js.map +1 -1
  36. package/lib/typography/types.d.ts +5 -5
  37. package/lib/utils/override-config.d.ts +1 -1
  38. package/lib/utils/override-config.js +1 -2
  39. package/lib/utils/override-config.js.map +1 -1
  40. package/package.json +21 -9
  41. package/lib/sizes.d.ts +0 -23
  42. package/lib/sizes.js +0 -26
  43. package/lib/sizes.js.map +0 -1
  44. package/lib/themes/fram-theme/theme.css +0 -803
  45. package/lib/themes/fram-theme/theme.d.ts +0 -215
  46. package/lib/themes/fram-theme/theme.js +0 -603
  47. package/lib/themes/fram-theme/theme.js.map +0 -1
  48. package/lib/themes/fram-theme/theme.module.css +0 -803
  49. package/lib/themes/innlandet-theme/theme.css +0 -803
  50. package/lib/themes/innlandet-theme/theme.d.ts +0 -113
  51. package/lib/themes/innlandet-theme/theme.js +0 -483
  52. package/lib/themes/innlandet-theme/theme.js.map +0 -1
  53. package/lib/themes/innlandet-theme/theme.module.css +0 -803
  54. package/lib/themes/nfk-theme/theme.css +0 -803
  55. package/lib/themes/nfk-theme/theme.d.ts +0 -185
  56. package/lib/themes/nfk-theme/theme.js +0 -576
  57. package/lib/themes/nfk-theme/theme.js.map +0 -1
  58. package/lib/themes/nfk-theme/theme.module.css +0 -803
  59. package/lib/themes/troms-theme/theme.css +0 -803
  60. package/lib/themes/troms-theme/theme.d.ts +0 -118
  61. package/lib/themes/troms-theme/theme.js +0 -488
  62. package/lib/themes/troms-theme/theme.js.map +0 -1
  63. package/lib/themes/troms-theme/theme.module.css +0 -803
package/lib/index.d.ts CHANGED
@@ -1,3 +1,2 @@
1
- export * from './sizes';
2
1
  export * from './theme';
3
2
  export * from './typography';
package/lib/index.js CHANGED
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -10,7 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
15
  };
12
16
  Object.defineProperty(exports, "__esModule", { value: true });
13
- __exportStar(require("./sizes"), exports);
14
17
  __exportStar(require("./theme"), exports);
15
18
  __exportStar(require("./typography"), exports);
16
19
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAAwB;AACxB,0CAAwB;AACxB,+CAA6B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,+CAA6B"}
package/lib/theme.d.ts CHANGED
@@ -1,50 +1,55 @@
1
- import { borderRadius, borderWidth, iconSizes, spacings } from './sizes';
2
1
  import { ConfigurationOverride } from './utils/override-config';
3
- export declare type Themes = {
4
- light: Theme;
5
- dark: Theme;
2
+ export type Themes<T = Theme> = {
3
+ light: T;
4
+ dark: T;
6
5
  };
7
- export declare type Mode = keyof Themes;
8
- export declare type TextColor = 'primary' | 'secondary' | 'disabled';
9
- export declare type TextColorType = 'dark' | 'light';
10
- export declare type ContrastColor = {
6
+ export type Mode = keyof Themes;
7
+ export type TextColor = 'primary' | 'secondary' | 'disabled';
8
+ export type TextColorType = 'dark' | 'light';
9
+ export type RadiusSizes = keyof Theme['border']['radius'];
10
+ export type ContrastColor = {
11
11
  background: string;
12
12
  text: string;
13
13
  };
14
- export declare type TransportColor = {
15
- primary: ContrastColor;
16
- secondary: ContrastColor;
14
+ export type TransportColor<T = ContrastColor> = {
15
+ primary: T;
16
+ secondary: T;
17
17
  };
18
- export declare type StatusColor = {
19
- primary: ContrastColor;
20
- secondary: ContrastColor;
18
+ export type StatusColor<T = ContrastColor> = {
19
+ primary: T;
20
+ secondary: T;
21
21
  };
22
- export declare type InteractiveColor = {
23
- default: ContrastColor;
24
- hover: ContrastColor;
25
- active: ContrastColor;
26
- disabled: ContrastColor;
27
- outline: ContrastColor;
28
- destructive: ContrastColor;
22
+ export type InteractiveColor<T = ContrastColor> = {
23
+ default: T;
24
+ hover: T;
25
+ active: T;
26
+ disabled: T;
27
+ outline: T;
29
28
  };
30
29
  export declare enum GeofencingZoneCodes {
31
- Allowed = "Allowed",
32
- Slow = "Slow",
33
- NoParking = "NoParking",
34
- NoEntry = "NoEntry"
30
+ allowed = "Allowed",// blue
31
+ slow = "Slow",// yellow
32
+ noParking = "NoParking",// red
33
+ noEntry = "NoEntry"
35
34
  }
36
- export declare type GeofencingZoneKeys = keyof typeof GeofencingZoneCodes;
37
- export declare type GeofencingZoneStyle = {
38
- color: ContrastColor;
35
+ export type GeofencingZoneKeys = keyof typeof GeofencingZoneCodes;
36
+ export type GeofencingZoneStyle<T = ContrastColor> = {
37
+ color: T;
39
38
  fillOpacity: number;
40
39
  strokeOpacity: number;
41
40
  layerIndexWeight: number;
42
41
  };
43
- export declare type GeofencingZoneStyles = {
44
- [GZKey in GeofencingZoneKeys]: GeofencingZoneStyle;
42
+ export type GeofencingZoneStyles<T = ContrastColor> = {
43
+ [GZKey in GeofencingZoneKeys]: GeofencingZoneStyle<T>;
45
44
  };
46
45
  export interface Theme {
47
- spacings: typeof spacings;
46
+ spacings: {
47
+ xSmall: number;
48
+ small: number;
49
+ medium: number;
50
+ large: number;
51
+ xLarge: number;
52
+ };
48
53
  interactive: {
49
54
  interactive_0: InteractiveColor;
50
55
  interactive_1: InteractiveColor;
@@ -58,8 +63,6 @@ export interface Theme {
58
63
  transport_airport_express: TransportColor;
59
64
  transport_boat: TransportColor;
60
65
  transport_train: TransportColor;
61
- transport_airport: TransportColor;
62
- transport_plane: TransportColor;
63
66
  transport_flexible: TransportColor;
64
67
  transport_scooter: TransportColor;
65
68
  transport_bike: TransportColor;
@@ -99,15 +102,136 @@ export interface Theme {
99
102
  primary: string;
100
103
  secondary: string;
101
104
  focus: string;
102
- radius: typeof borderRadius;
103
- width: typeof borderWidth;
105
+ radius: {
106
+ small: number;
107
+ regular: number;
108
+ circle: number;
109
+ };
110
+ width: {
111
+ slim: number;
112
+ medium: number;
113
+ };
104
114
  };
105
115
  icon: {
106
- size: typeof iconSizes;
116
+ size: {
117
+ xSmall: number;
118
+ small: number;
119
+ normal: number;
120
+ large: number;
121
+ };
107
122
  };
108
123
  geofencingZones: GeofencingZoneStyles;
109
124
  }
110
- export declare type Statuses = keyof Theme['status'];
125
+ export type ContrastColorFs = {
126
+ background: string;
127
+ foreground: {
128
+ primary: string;
129
+ secondary: string;
130
+ disabled: string;
131
+ };
132
+ };
133
+ export interface ThemeFs {
134
+ color: {
135
+ foreground: {
136
+ dark: ContrastColorFs['foreground'];
137
+ light: ContrastColorFs['foreground'];
138
+ dynamic: ContrastColorFs['foreground'];
139
+ inverse: ContrastColorFs['foreground'];
140
+ };
141
+ interactive: {
142
+ 0: InteractiveColor<ContrastColorFs>;
143
+ 1: InteractiveColor<ContrastColorFs>;
144
+ 2: InteractiveColor<ContrastColorFs>;
145
+ 3: InteractiveColor<ContrastColorFs>;
146
+ destructive: InteractiveColor<ContrastColorFs>;
147
+ };
148
+ transport: {
149
+ city: TransportColor<ContrastColorFs>;
150
+ region: TransportColor<ContrastColorFs>;
151
+ airportExpress: TransportColor<ContrastColorFs>;
152
+ boat: TransportColor<ContrastColorFs>;
153
+ train: TransportColor<ContrastColorFs>;
154
+ flexible: TransportColor<ContrastColorFs>;
155
+ scooter: TransportColor<ContrastColorFs>;
156
+ bike: TransportColor<ContrastColorFs>;
157
+ car: TransportColor<ContrastColorFs>;
158
+ other: TransportColor<ContrastColorFs>;
159
+ };
160
+ status: {
161
+ valid: StatusColor<ContrastColorFs>;
162
+ info: StatusColor<ContrastColorFs>;
163
+ warning: StatusColor<ContrastColorFs>;
164
+ error: StatusColor<ContrastColorFs>;
165
+ };
166
+ background: {
167
+ neutral: {
168
+ 0: ContrastColorFs;
169
+ 1: ContrastColorFs;
170
+ 2: ContrastColorFs;
171
+ 3: ContrastColorFs;
172
+ };
173
+ accent: {
174
+ 0: ContrastColorFs;
175
+ 1: ContrastColorFs;
176
+ 2: ContrastColorFs;
177
+ 3: ContrastColorFs;
178
+ 4: ContrastColorFs;
179
+ 5: ContrastColorFs;
180
+ };
181
+ };
182
+ zone: {
183
+ from: ContrastColorFs;
184
+ to: ContrastColorFs;
185
+ };
186
+ geofencingZone: GeofencingZoneStyles<ContrastColorFs>;
187
+ border: {
188
+ primary: ContrastColorFs;
189
+ secondary: ContrastColorFs;
190
+ focus: ContrastColorFs;
191
+ };
192
+ };
193
+ border: {
194
+ radius: {
195
+ small: number;
196
+ regular: number;
197
+ circle: number;
198
+ };
199
+ width: {
200
+ slim: number;
201
+ medium: number;
202
+ };
203
+ };
204
+ icon: {
205
+ size: {
206
+ xSmall: number;
207
+ small: number;
208
+ normal: number;
209
+ large: number;
210
+ };
211
+ };
212
+ spacing: {
213
+ xSmall: number;
214
+ small: number;
215
+ medium: number;
216
+ large: number;
217
+ xLarge: number;
218
+ };
219
+ typography: {
220
+ ios: {
221
+ font: string;
222
+ number: number;
223
+ };
224
+ android: {
225
+ font: string;
226
+ number: number;
227
+ };
228
+ web: {
229
+ font: string;
230
+ number: number;
231
+ };
232
+ };
233
+ }
234
+ export type Statuses = keyof Theme['status'];
111
235
  export declare enum ThemeVariant {
112
236
  AtB = 0,
113
237
  Nfk = 1,
@@ -115,7 +239,17 @@ export declare enum ThemeVariant {
115
239
  Troms = 3,
116
240
  Innlandet = 4
117
241
  }
118
- export declare function createThemesFor(themeVariant: ThemeVariant): Themes;
242
+ export interface ThemeOptions {
243
+ useFigmaStructure?: boolean;
244
+ }
245
+ /**
246
+ * Get a theme object for a specific organization in the desired format.
247
+ *
248
+ * @param themeVariant Organization
249
+ * @param themeOptions Set if the new Figma structure should be used
250
+ * @returns Theme object
251
+ */
252
+ export declare function createThemesFor<T extends ThemeOptions>(themeVariant: ThemeVariant, themeOptions?: T): T['useFigmaStructure'] extends true ? Themes<ThemeFs> : Themes<Theme>;
119
253
  /**
120
254
  * Create new themes (light/dark) with optinally overriden defaults.
121
255
  *
@@ -158,10 +292,10 @@ export declare function createThemes(themes: Themes, overrides?: ConfigurationOv
158
292
  * @param extension - Object to extend original theme. Can be nested with same keys
159
293
  * @returns new deep merged intersection themes
160
294
  */
161
- export declare function createExtendedThemes<T>(themes: Themes, extension: {
295
+ export declare function createExtendedThemes<T extends {}, M extends Theme | ThemeFs = Theme>(themes: Themes<M>, extension: {
162
296
  light: T;
163
297
  dark: T;
164
298
  }): {
165
- light: ((k: Theme) => void) | (T extends any ? (k: T) => void : never) extends (k: infer I) => void ? I : never;
166
- dark: ((k: Theme) => void) | (T extends any ? (k: T) => void : never) extends (k: infer I) => void ? I : never;
299
+ light: Themes<M>['light'] & T;
300
+ dark: Themes<M>['dark'] & T;
167
301
  };
package/lib/theme.js CHANGED
@@ -3,18 +3,23 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.createExtendedThemes = exports.createThemes = exports.createThemesFor = exports.ThemeVariant = exports.GeofencingZoneCodes = void 0;
6
+ exports.ThemeVariant = exports.GeofencingZoneCodes = void 0;
7
+ exports.createThemesFor = createThemesFor;
8
+ exports.createThemes = createThemes;
9
+ exports.createExtendedThemes = createExtendedThemes;
7
10
  var ts_deepmerge_1 = __importDefault(require("ts-deepmerge"));
8
11
  var override_config_1 = require("./utils/override-config");
9
12
  var themes_1 = require("./themes");
13
+ var themes_fs_1 = require("./themes-fs");
10
14
  // The colors can be changed, but should follow standard practice as commented:
11
15
  var GeofencingZoneCodes;
12
16
  (function (GeofencingZoneCodes) {
13
- GeofencingZoneCodes["Allowed"] = "Allowed";
14
- GeofencingZoneCodes["Slow"] = "Slow";
15
- GeofencingZoneCodes["NoParking"] = "NoParking";
16
- GeofencingZoneCodes["NoEntry"] = "NoEntry";
17
- })(GeofencingZoneCodes = exports.GeofencingZoneCodes || (exports.GeofencingZoneCodes = {}));
17
+ GeofencingZoneCodes["allowed"] = "Allowed";
18
+ GeofencingZoneCodes["slow"] = "Slow";
19
+ GeofencingZoneCodes["noParking"] = "NoParking";
20
+ GeofencingZoneCodes["noEntry"] = "NoEntry";
21
+ })(GeofencingZoneCodes || (exports.GeofencingZoneCodes = GeofencingZoneCodes = {}));
22
+ ;
18
23
  var ThemeVariant;
19
24
  (function (ThemeVariant) {
20
25
  ThemeVariant[ThemeVariant["AtB"] = 0] = "AtB";
@@ -22,24 +27,37 @@ var ThemeVariant;
22
27
  ThemeVariant[ThemeVariant["FRAM"] = 2] = "FRAM";
23
28
  ThemeVariant[ThemeVariant["Troms"] = 3] = "Troms";
24
29
  ThemeVariant[ThemeVariant["Innlandet"] = 4] = "Innlandet";
25
- })(ThemeVariant = exports.ThemeVariant || (exports.ThemeVariant = {}));
26
- function createThemesFor(themeVariant) {
30
+ })(ThemeVariant || (exports.ThemeVariant = ThemeVariant = {}));
31
+ /**
32
+ * Get a theme object for a specific organization in the desired format.
33
+ *
34
+ * @param themeVariant Organization
35
+ * @param themeOptions Set if the new Figma structure should be used
36
+ * @returns Theme object
37
+ */
38
+ function createThemesFor(themeVariant, themeOptions) {
39
+ if (themeOptions === void 0) { themeOptions = { useFigmaStructure: false }; }
27
40
  switch (themeVariant) {
28
41
  case ThemeVariant.AtB:
29
- return themes_1.AtBThemes;
30
- case ThemeVariant.Nfk:
31
- return themes_1.NfkThemes;
32
- case ThemeVariant.FRAM:
33
- return themes_1.FRAMThemes;
34
- case ThemeVariant.Troms:
35
- return themes_1.TromsThemes;
36
- case ThemeVariant.Innlandet:
37
- return themes_1.InnlandetThemes;
42
+ if (themeOptions === null || themeOptions === void 0 ? void 0 : themeOptions.useFigmaStructure) {
43
+ return themes_fs_1.AtBThemesFs;
44
+ }
45
+ else {
46
+ return themes_1.AtBThemes;
47
+ ;
48
+ }
49
+ // case ThemeVariant.Nfk:
50
+ // return NfkThemes;
51
+ // case ThemeVariant.FRAM:
52
+ // return FRAMThemes;
53
+ // case ThemeVariant.Troms:
54
+ // return TromsThemes;
55
+ // case ThemeVariant.Innlandet:
56
+ // return InnlandetThemes;
38
57
  default:
39
58
  throw Error('A valid ThemeVariant must be provided');
40
59
  }
41
60
  }
42
- exports.createThemesFor = createThemesFor;
43
61
  /**
44
62
  * Create new themes (light/dark) with optinally overriden defaults.
45
63
  *
@@ -65,7 +83,6 @@ function createThemes(themes, overrides) {
65
83
  return themes;
66
84
  return (0, override_config_1.overrideConfig)(themes, overrides);
67
85
  }
68
- exports.createThemes = createThemes;
69
86
  /**
70
87
  * Use Theme as base and extend with new properties. Properties
71
88
  * can be nested and will be deep merged.
@@ -93,5 +110,4 @@ function createExtendedThemes(themes, extension) {
93
110
  dark: (0, ts_deepmerge_1.default)(themes.dark, extension.dark),
94
111
  };
95
112
  }
96
- exports.createExtendedThemes = createExtendedThemes;
97
113
  //# sourceMappingURL=theme.js.map
package/lib/theme.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"theme.js","sourceRoot":"","sources":["../src/theme.ts"],"names":[],"mappings":";;;;;;AAAA,8DAAiC;AAEjC,2DAA8E;AAC9E,mCAMkB;AAkClB,+EAA+E;AAC/E,IAAY,mBAKX;AALD,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,oCAAa,CAAA;IACb,8CAAuB,CAAA;IACvB,0CAAmB,CAAA;AACrB,CAAC,EALW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAK9B;AAsFD,IAAY,YAMX;AAND,WAAY,YA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