@atb-as/theme 10.4.1 → 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.
- package/lib/index.d.ts +0 -1
- package/lib/index.js +2 -15
- package/lib/index.js.map +1 -1
- package/lib/sizes.d.ts +5 -5
- package/lib/sizes.js +4 -7
- package/lib/sizes.js.map +1 -1
- package/lib/theme.d.ts +1539 -65
- package/lib/theme.js +32 -35
- package/lib/theme.js.map +1 -1
- package/lib/themes/atb-theme/dark.d.ts +726 -0
- package/lib/themes/atb-theme/dark.js +726 -0
- package/lib/themes/atb-theme/dark.js.map +1 -0
- package/lib/themes/atb-theme/light.d.ts +726 -0
- package/lib/themes/atb-theme/light.js +726 -0
- package/lib/themes/atb-theme/light.js.map +1 -0
- package/lib/themes/atb-theme/theme.d.ts +1444 -107
- package/lib/themes/atb-theme/theme.js +10 -482
- package/lib/themes/atb-theme/theme.js.map +1 -1
- package/lib/themes/index.d.ts +0 -4
- package/lib/themes/index.js +5 -16
- package/lib/themes/index.js.map +1 -1
- package/lib/typography/android.js +51 -32
- package/lib/typography/android.js.map +1 -1
- package/lib/typography/index.js +19 -40
- package/lib/typography/index.js.map +1 -1
- package/lib/typography/ios.js +51 -32
- package/lib/typography/ios.js.map +1 -1
- package/lib/typography/types.js +1 -4
- package/lib/typography/types.js.map +1 -1
- package/lib/utils/override-config.js +4 -19
- package/lib/utils/override-config.js.map +1 -1
- package/package.json +12 -6
- package/lib/themes/atb-theme/theme.css +0 -803
- package/lib/themes/atb-theme/theme.module.css +0 -803
- package/lib/themes/fram-theme/theme.css +0 -803
- package/lib/themes/fram-theme/theme.d.ts +0 -215
- package/lib/themes/fram-theme/theme.js +0 -603
- package/lib/themes/fram-theme/theme.js.map +0 -1
- package/lib/themes/fram-theme/theme.module.css +0 -803
- package/lib/themes/innlandet-theme/theme.css +0 -803
- package/lib/themes/innlandet-theme/theme.d.ts +0 -113
- package/lib/themes/innlandet-theme/theme.js +0 -483
- package/lib/themes/innlandet-theme/theme.js.map +0 -1
- package/lib/themes/innlandet-theme/theme.module.css +0 -803
- package/lib/themes/nfk-theme/theme.css +0 -803
- package/lib/themes/nfk-theme/theme.d.ts +0 -185
- package/lib/themes/nfk-theme/theme.js +0 -576
- package/lib/themes/nfk-theme/theme.js.map +0 -1
- package/lib/themes/nfk-theme/theme.module.css +0 -803
- package/lib/themes/troms-theme/theme.css +0 -803
- package/lib/themes/troms-theme/theme.d.ts +0 -118
- package/lib/themes/troms-theme/theme.js +0 -488
- package/lib/themes/troms-theme/theme.js.map +0 -1
- package/lib/themes/troms-theme/theme.module.css +0 -803
- package/lib/typography.css +0 -260
- package/lib/typography.module.css +0 -260
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
|
@@ -1,16 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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":"
|
|
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
|
|
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
|
|
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
|
|
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
|
|
19
|
+
export declare const BorderWidth: {
|
|
20
20
|
slim: number;
|
|
21
21
|
medium: number;
|
|
22
22
|
};
|
|
23
|
-
export declare type RadiusSizes = keyof typeof
|
|
23
|
+
export declare type RadiusSizes = keyof typeof BorderRadius;
|
package/lib/sizes.js
CHANGED
|
@@ -1,25 +1,22 @@
|
|
|
1
|
-
|
|
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
|
-
|
|
8
|
+
export const IconSizes = {
|
|
12
9
|
large: 28,
|
|
13
10
|
normal: 20,
|
|
14
11
|
small: 16,
|
|
15
12
|
xSmall: 12,
|
|
16
13
|
};
|
|
17
|
-
|
|
14
|
+
export const BorderRadius = {
|
|
18
15
|
circle: 20,
|
|
19
16
|
regular: 8,
|
|
20
17
|
small: 4,
|
|
21
18
|
};
|
|
22
|
-
|
|
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":"
|
|
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"}
|