@veracity/vui 2.4.1 → 2.5.0-beta.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.
- package/dist/cjs/core/consts.d.ts +0 -1
- package/dist/cjs/core/consts.d.ts.map +1 -1
- package/dist/cjs/core/consts.js +1 -2
- package/dist/cjs/core/vuiProvider/fontFaces.d.ts.map +1 -1
- package/dist/cjs/core/vuiProvider/fontFaces.js +4 -44
- package/dist/esm/core/consts.d.ts +0 -1
- package/dist/esm/core/consts.d.ts.map +1 -1
- package/dist/esm/core/consts.js +0 -1
- package/dist/esm/core/vuiProvider/fontFaces.d.ts.map +1 -1
- package/dist/esm/core/vuiProvider/fontFaces.js +5 -45
- package/package.json +1 -1
- package/src/core/consts.ts +0 -1
- package/src/core/vuiProvider/fontFaces.ts +5 -46
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export declare const cdnUrl = "https://cdn.veracity.com";
|
|
2
2
|
export declare const cdnStagUrl = "https://cdnstag.veracity.com";
|
|
3
3
|
export declare const cdnTestUrl = "https://cdntest.veracity.com";
|
|
4
|
-
export declare const cdnFontsPath = "/common/fonts";
|
|
5
4
|
export declare const cdnUrls: {
|
|
6
5
|
readonly Prod: "https://cdn.veracity.com";
|
|
7
6
|
readonly Stag: "https://cdnstag.veracity.com";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consts.d.ts","sourceRoot":"","sources":["../../../src/core/consts.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM,6BAA6B,CAAA;AAChD,eAAO,MAAM,UAAU,iCAAiC,CAAA;AACxD,eAAO,MAAM,UAAU,iCAAiC,CAAA;
|
|
1
|
+
{"version":3,"file":"consts.d.ts","sourceRoot":"","sources":["../../../src/core/consts.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM,6BAA6B,CAAA;AAChD,eAAO,MAAM,UAAU,iCAAiC,CAAA;AACxD,eAAO,MAAM,UAAU,iCAAiC,CAAA;AAExD,eAAO,MAAM,OAAO;;;;CAIV,CAAA"}
|
package/dist/cjs/core/consts.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.cdnUrls = exports.
|
|
3
|
+
exports.cdnUrls = exports.cdnTestUrl = exports.cdnStagUrl = exports.cdnUrl = void 0;
|
|
4
4
|
exports.cdnUrl = 'https://cdn.veracity.com';
|
|
5
5
|
exports.cdnStagUrl = 'https://cdnstag.veracity.com';
|
|
6
6
|
exports.cdnTestUrl = 'https://cdntest.veracity.com';
|
|
7
|
-
exports.cdnFontsPath = '/common/fonts';
|
|
8
7
|
exports.cdnUrls = {
|
|
9
8
|
Prod: exports.cdnUrl,
|
|
10
9
|
Stag: exports.cdnStagUrl,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fontFaces.d.ts","sourceRoot":"","sources":["../../../../src/core/vuiProvider/fontFaces.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"fontFaces.d.ts","sourceRoot":"","sources":["../../../../src/core/vuiProvider/fontFaces.ts"],"names":[],"mappings":";AAEA,wBAwBC"}
|
|
@@ -1,68 +1,28 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const __1 = require("../");
|
|
4
|
-
const baseUrl = __1.cdnUrl + __1.cdnFontsPath;
|
|
5
4
|
exports.default = `
|
|
6
5
|
@font-face {
|
|
7
6
|
font-family: 'Avenir Next';
|
|
8
|
-
src: url('${
|
|
7
|
+
src: url('${__1.cdnUrl}/common/fonts/avenir-regular-lat-ext.woff');
|
|
9
8
|
font-weight: 400;
|
|
10
9
|
}
|
|
11
10
|
|
|
12
11
|
@font-face {
|
|
13
12
|
font-family: 'Avenir Next';
|
|
14
|
-
src: url('${
|
|
13
|
+
src: url('${__1.cdnUrl}/common/fonts/avenir-medium-lat-ext.woff');
|
|
15
14
|
font-weight: 500;
|
|
16
15
|
}
|
|
17
16
|
|
|
18
17
|
@font-face {
|
|
19
18
|
font-family: 'Avenir Next';
|
|
20
|
-
src: url('${
|
|
19
|
+
src: url('${__1.cdnUrl}/common/fonts/avenir-demi-lat-ext.woff');
|
|
21
20
|
font-weight: 600;
|
|
22
21
|
}
|
|
23
22
|
|
|
24
23
|
@font-face {
|
|
25
24
|
font-family: 'Avenir Next';
|
|
26
|
-
src: url('${
|
|
25
|
+
src: url('${__1.cdnUrl}/common/fonts/avenir-bold-lat-ext.woff');
|
|
27
26
|
font-weight: 700;
|
|
28
27
|
}
|
|
29
|
-
|
|
30
|
-
@font-face {
|
|
31
|
-
font-family: 'DNV Display Light';
|
|
32
|
-
src: url('${baseUrl}/dnv-display-light.woff');
|
|
33
|
-
font-weight: 700;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
@font-face {
|
|
37
|
-
font-family: 'DNV Display';
|
|
38
|
-
src: url('${baseUrl}/dnv-display-light.woff');
|
|
39
|
-
font-weight: 200;
|
|
40
|
-
font-style: normal;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
@font-face {
|
|
44
|
-
font-family: 'DNV Display';
|
|
45
|
-
src: url('${baseUrl}/dnv-display-regular.woff');
|
|
46
|
-
font-weight: bold;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
@font-face {
|
|
50
|
-
font-family: 'DNV Display';
|
|
51
|
-
src: url('${baseUrl}/dnv-display-regular.woff');
|
|
52
|
-
font-weight: 400;
|
|
53
|
-
font-style: normal;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
@font-face {
|
|
57
|
-
font-family: 'DNV Display Medium';
|
|
58
|
-
src: url('${baseUrl}/dnv-display-medium.woff');
|
|
59
|
-
font-weight: bold;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
@font-face {
|
|
63
|
-
font-family: 'DNV Display';
|
|
64
|
-
src: url('${baseUrl}/dnv-display-medium.woff');
|
|
65
|
-
font-weight: 500;
|
|
66
|
-
font-style: normal;
|
|
67
|
-
}
|
|
68
28
|
`;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export declare const cdnUrl = "https://cdn.veracity.com";
|
|
2
2
|
export declare const cdnStagUrl = "https://cdnstag.veracity.com";
|
|
3
3
|
export declare const cdnTestUrl = "https://cdntest.veracity.com";
|
|
4
|
-
export declare const cdnFontsPath = "/common/fonts";
|
|
5
4
|
export declare const cdnUrls: {
|
|
6
5
|
readonly Prod: "https://cdn.veracity.com";
|
|
7
6
|
readonly Stag: "https://cdnstag.veracity.com";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consts.d.ts","sourceRoot":"","sources":["../../../src/core/consts.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM,6BAA6B,CAAA;AAChD,eAAO,MAAM,UAAU,iCAAiC,CAAA;AACxD,eAAO,MAAM,UAAU,iCAAiC,CAAA;
|
|
1
|
+
{"version":3,"file":"consts.d.ts","sourceRoot":"","sources":["../../../src/core/consts.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM,6BAA6B,CAAA;AAChD,eAAO,MAAM,UAAU,iCAAiC,CAAA;AACxD,eAAO,MAAM,UAAU,iCAAiC,CAAA;AAExD,eAAO,MAAM,OAAO;;;;CAIV,CAAA"}
|
package/dist/esm/core/consts.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export const cdnUrl = 'https://cdn.veracity.com';
|
|
2
2
|
export const cdnStagUrl = 'https://cdnstag.veracity.com';
|
|
3
3
|
export const cdnTestUrl = 'https://cdntest.veracity.com';
|
|
4
|
-
export const cdnFontsPath = '/common/fonts';
|
|
5
4
|
export const cdnUrls = {
|
|
6
5
|
Prod: cdnUrl,
|
|
7
6
|
Stag: cdnStagUrl,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fontFaces.d.ts","sourceRoot":"","sources":["../../../../src/core/vuiProvider/fontFaces.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"fontFaces.d.ts","sourceRoot":"","sources":["../../../../src/core/vuiProvider/fontFaces.ts"],"names":[],"mappings":";AAEA,wBAwBC"}
|
|
@@ -1,66 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const baseUrl = cdnUrl + cdnFontsPath;
|
|
1
|
+
import { cdnUrl } from '../';
|
|
3
2
|
export default `
|
|
4
3
|
@font-face {
|
|
5
4
|
font-family: 'Avenir Next';
|
|
6
|
-
src: url('${
|
|
5
|
+
src: url('${cdnUrl}/common/fonts/avenir-regular-lat-ext.woff');
|
|
7
6
|
font-weight: 400;
|
|
8
7
|
}
|
|
9
8
|
|
|
10
9
|
@font-face {
|
|
11
10
|
font-family: 'Avenir Next';
|
|
12
|
-
src: url('${
|
|
11
|
+
src: url('${cdnUrl}/common/fonts/avenir-medium-lat-ext.woff');
|
|
13
12
|
font-weight: 500;
|
|
14
13
|
}
|
|
15
14
|
|
|
16
15
|
@font-face {
|
|
17
16
|
font-family: 'Avenir Next';
|
|
18
|
-
src: url('${
|
|
17
|
+
src: url('${cdnUrl}/common/fonts/avenir-demi-lat-ext.woff');
|
|
19
18
|
font-weight: 600;
|
|
20
19
|
}
|
|
21
20
|
|
|
22
21
|
@font-face {
|
|
23
22
|
font-family: 'Avenir Next';
|
|
24
|
-
src: url('${
|
|
23
|
+
src: url('${cdnUrl}/common/fonts/avenir-bold-lat-ext.woff');
|
|
25
24
|
font-weight: 700;
|
|
26
25
|
}
|
|
27
|
-
|
|
28
|
-
@font-face {
|
|
29
|
-
font-family: 'DNV Display Light';
|
|
30
|
-
src: url('${baseUrl}/dnv-display-light.woff');
|
|
31
|
-
font-weight: 700;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
@font-face {
|
|
35
|
-
font-family: 'DNV Display';
|
|
36
|
-
src: url('${baseUrl}/dnv-display-light.woff');
|
|
37
|
-
font-weight: 200;
|
|
38
|
-
font-style: normal;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
@font-face {
|
|
42
|
-
font-family: 'DNV Display';
|
|
43
|
-
src: url('${baseUrl}/dnv-display-regular.woff');
|
|
44
|
-
font-weight: bold;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
@font-face {
|
|
48
|
-
font-family: 'DNV Display';
|
|
49
|
-
src: url('${baseUrl}/dnv-display-regular.woff');
|
|
50
|
-
font-weight: 400;
|
|
51
|
-
font-style: normal;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
@font-face {
|
|
55
|
-
font-family: 'DNV Display Medium';
|
|
56
|
-
src: url('${baseUrl}/dnv-display-medium.woff');
|
|
57
|
-
font-weight: bold;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
@font-face {
|
|
61
|
-
font-family: 'DNV Display';
|
|
62
|
-
src: url('${baseUrl}/dnv-display-medium.woff');
|
|
63
|
-
font-weight: 500;
|
|
64
|
-
font-style: normal;
|
|
65
|
-
}
|
|
66
26
|
`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veracity/vui",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.5.0-beta.0",
|
|
4
4
|
"description": "Veracity UI is a React component library crafted for use within Veracity applications and pages. Based on Styled Components and @xstyled.",
|
|
5
5
|
"module": "./dist/esm/index.js",
|
|
6
6
|
"main": "./dist/cjs/index.js",
|
package/src/core/consts.ts
CHANGED
|
@@ -1,68 +1,27 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
const baseUrl = cdnUrl + cdnFontsPath
|
|
1
|
+
import { cdnUrl } from '../'
|
|
4
2
|
|
|
5
3
|
export default `
|
|
6
4
|
@font-face {
|
|
7
5
|
font-family: 'Avenir Next';
|
|
8
|
-
src: url('${
|
|
6
|
+
src: url('${cdnUrl}/common/fonts/avenir-regular-lat-ext.woff');
|
|
9
7
|
font-weight: 400;
|
|
10
8
|
}
|
|
11
9
|
|
|
12
10
|
@font-face {
|
|
13
11
|
font-family: 'Avenir Next';
|
|
14
|
-
src: url('${
|
|
12
|
+
src: url('${cdnUrl}/common/fonts/avenir-medium-lat-ext.woff');
|
|
15
13
|
font-weight: 500;
|
|
16
14
|
}
|
|
17
15
|
|
|
18
16
|
@font-face {
|
|
19
17
|
font-family: 'Avenir Next';
|
|
20
|
-
src: url('${
|
|
18
|
+
src: url('${cdnUrl}/common/fonts/avenir-demi-lat-ext.woff');
|
|
21
19
|
font-weight: 600;
|
|
22
20
|
}
|
|
23
21
|
|
|
24
22
|
@font-face {
|
|
25
23
|
font-family: 'Avenir Next';
|
|
26
|
-
src: url('${
|
|
27
|
-
font-weight: 700;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
@font-face {
|
|
31
|
-
font-family: 'DNV Display Light';
|
|
32
|
-
src: url('${baseUrl}/dnv-display-light.woff');
|
|
24
|
+
src: url('${cdnUrl}/common/fonts/avenir-bold-lat-ext.woff');
|
|
33
25
|
font-weight: 700;
|
|
34
26
|
}
|
|
35
|
-
|
|
36
|
-
@font-face {
|
|
37
|
-
font-family: 'DNV Display';
|
|
38
|
-
src: url('${baseUrl}/dnv-display-light.woff');
|
|
39
|
-
font-weight: 200;
|
|
40
|
-
font-style: normal;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
@font-face {
|
|
44
|
-
font-family: 'DNV Display';
|
|
45
|
-
src: url('${baseUrl}/dnv-display-regular.woff');
|
|
46
|
-
font-weight: bold;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
@font-face {
|
|
50
|
-
font-family: 'DNV Display';
|
|
51
|
-
src: url('${baseUrl}/dnv-display-regular.woff');
|
|
52
|
-
font-weight: 400;
|
|
53
|
-
font-style: normal;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
@font-face {
|
|
57
|
-
font-family: 'DNV Display Medium';
|
|
58
|
-
src: url('${baseUrl}/dnv-display-medium.woff');
|
|
59
|
-
font-weight: bold;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
@font-face {
|
|
63
|
-
font-family: 'DNV Display';
|
|
64
|
-
src: url('${baseUrl}/dnv-display-medium.woff');
|
|
65
|
-
font-weight: 500;
|
|
66
|
-
font-style: normal;
|
|
67
|
-
}
|
|
68
27
|
`
|