@atb-as/theme 10.4.0 → 11.0.0-alpha.1

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 (56) hide show
  1. package/lib/index.d.ts +0 -1
  2. package/lib/index.js +2 -15
  3. package/lib/index.js.map +1 -1
  4. package/lib/sizes.d.ts +5 -5
  5. package/lib/sizes.js +4 -7
  6. package/lib/sizes.js.map +1 -1
  7. package/lib/theme.d.ts +1539 -65
  8. package/lib/theme.js +32 -35
  9. package/lib/theme.js.map +1 -1
  10. package/lib/themes/atb-theme/dark.d.ts +726 -0
  11. package/lib/themes/atb-theme/dark.js +726 -0
  12. package/lib/themes/atb-theme/dark.js.map +1 -0
  13. package/lib/themes/atb-theme/light.d.ts +726 -0
  14. package/lib/themes/atb-theme/light.js +726 -0
  15. package/lib/themes/atb-theme/light.js.map +1 -0
  16. package/lib/themes/atb-theme/theme.d.ts +1444 -107
  17. package/lib/themes/atb-theme/theme.js +10 -482
  18. package/lib/themes/atb-theme/theme.js.map +1 -1
  19. package/lib/themes/index.d.ts +0 -4
  20. package/lib/themes/index.js +5 -16
  21. package/lib/themes/index.js.map +1 -1
  22. package/lib/typography/android.js +51 -32
  23. package/lib/typography/android.js.map +1 -1
  24. package/lib/typography/index.js +19 -40
  25. package/lib/typography/index.js.map +1 -1
  26. package/lib/typography/ios.js +51 -32
  27. package/lib/typography/ios.js.map +1 -1
  28. package/lib/typography/types.js +1 -4
  29. package/lib/typography/types.js.map +1 -1
  30. package/lib/utils/override-config.js +4 -19
  31. package/lib/utils/override-config.js.map +1 -1
  32. package/package.json +12 -6
  33. package/lib/themes/atb-theme/theme.css +0 -803
  34. package/lib/themes/atb-theme/theme.module.css +0 -803
  35. package/lib/themes/fram-theme/theme.css +0 -803
  36. package/lib/themes/fram-theme/theme.d.ts +0 -215
  37. package/lib/themes/fram-theme/theme.js +0 -603
  38. package/lib/themes/fram-theme/theme.js.map +0 -1
  39. package/lib/themes/fram-theme/theme.module.css +0 -803
  40. package/lib/themes/innlandet-theme/theme.css +0 -803
  41. package/lib/themes/innlandet-theme/theme.d.ts +0 -113
  42. package/lib/themes/innlandet-theme/theme.js +0 -483
  43. package/lib/themes/innlandet-theme/theme.js.map +0 -1
  44. package/lib/themes/innlandet-theme/theme.module.css +0 -803
  45. package/lib/themes/nfk-theme/theme.css +0 -803
  46. package/lib/themes/nfk-theme/theme.d.ts +0 -185
  47. package/lib/themes/nfk-theme/theme.js +0 -576
  48. package/lib/themes/nfk-theme/theme.js.map +0 -1
  49. package/lib/themes/nfk-theme/theme.module.css +0 -803
  50. package/lib/themes/troms-theme/theme.css +0 -803
  51. package/lib/themes/troms-theme/theme.d.ts +0 -118
  52. package/lib/themes/troms-theme/theme.js +0 -488
  53. package/lib/themes/troms-theme/theme.js.map +0 -1
  54. package/lib/themes/troms-theme/theme.module.css +0 -803
  55. package/lib/typography.css +0 -260
  56. package/lib/typography.module.css +0 -260
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,16 +1,3 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
- }) : (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- o[k2] = m[k];
8
- }));
9
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
- };
12
- Object.defineProperty(exports, "__esModule", { value: true });
13
- __exportStar(require("./sizes"), exports);
14
- __exportStar(require("./theme"), exports);
15
- __exportStar(require("./typography"), exports);
1
+ export * from './theme';
2
+ export * from './typography';
16
3
  //# 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,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC"}
package/lib/sizes.d.ts CHANGED
@@ -1,23 +1,23 @@
1
- export declare const spacings: {
1
+ export declare const Spacing: {
2
2
  xLarge: number;
3
3
  large: number;
4
4
  medium: number;
5
5
  small: number;
6
6
  xSmall: number;
7
7
  };
8
- export declare const iconSizes: {
8
+ export declare const IconSizes: {
9
9
  large: number;
10
10
  normal: number;
11
11
  small: number;
12
12
  xSmall: number;
13
13
  };
14
- export declare const borderRadius: {
14
+ export declare const BorderRadius: {
15
15
  readonly circle: 20;
16
16
  readonly regular: 8;
17
17
  readonly small: 4;
18
18
  };
19
- export declare const borderWidth: {
19
+ export declare const BorderWidth: {
20
20
  slim: number;
21
21
  medium: number;
22
22
  };
23
- export declare type RadiusSizes = keyof typeof borderRadius;
23
+ export declare type RadiusSizes = keyof typeof BorderRadius;
package/lib/sizes.js CHANGED
@@ -1,25 +1,22 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.borderWidth = exports.borderRadius = exports.iconSizes = exports.spacings = void 0;
4
- exports.spacings = {
1
+ export const Spacing = {
5
2
  xLarge: 24,
6
3
  large: 20,
7
4
  medium: 12,
8
5
  small: 8,
9
6
  xSmall: 4,
10
7
  };
11
- exports.iconSizes = {
8
+ export const IconSizes = {
12
9
  large: 28,
13
10
  normal: 20,
14
11
  small: 16,
15
12
  xSmall: 12,
16
13
  };
17
- exports.borderRadius = {
14
+ export const BorderRadius = {
18
15
  circle: 20,
19
16
  regular: 8,
20
17
  small: 4,
21
18
  };
22
- exports.borderWidth = {
19
+ export const BorderWidth = {
23
20
  slim: 1,
24
21
  medium: 2,
25
22
  };
package/lib/sizes.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"sizes.js","sourceRoot":"","sources":["../src/sizes.ts"],"names":[],"mappings":";;;AAAa,QAAA,QAAQ,GAAG;IACtB,MAAM,EAAE,EAAE;IACV,KAAK,EAAE,EAAE;IACT,MAAM,EAAE,EAAE;IACV,KAAK,EAAE,CAAC;IACR,MAAM,EAAE,CAAC;CACV,CAAC;AAEW,QAAA,SAAS,GAAG;IACvB,KAAK,EAAE,EAAE;IACT,MAAM,EAAE,EAAE;IACV,KAAK,EAAE,EAAE;IACT,MAAM,EAAE,EAAE;CACX,CAAC;AAEW,QAAA,YAAY,GAAG;IAC1B,MAAM,EAAE,EAAE;IACV,OAAO,EAAE,CAAC;IACV,KAAK,EAAE,CAAC;CACA,CAAC;AAEE,QAAA,WAAW,GAAG;IACzB,IAAI,EAAE,CAAC;IACP,MAAM,EAAE,CAAC;CACV,CAAC"}
1
+ {"version":3,"file":"sizes.js","sourceRoot":"","sources":["../src/sizes.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,MAAM,EAAE,EAAE;IACV,KAAK,EAAE,EAAE;IACT,MAAM,EAAE,EAAE;IACV,KAAK,EAAE,CAAC;IACR,MAAM,EAAE,CAAC;CACV,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,KAAK,EAAE,EAAE;IACT,MAAM,EAAE,EAAE;IACV,KAAK,EAAE,EAAE;IACT,MAAM,EAAE,EAAE;CACX,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,MAAM,EAAE,EAAE;IACV,OAAO,EAAE,CAAC;IACV,KAAK,EAAE,CAAC;CACA,CAAC;AAEX,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,IAAI,EAAE,CAAC;IACP,MAAM,EAAE,CAAC;CACV,CAAC"}