@workday/canvas-kit-react-fonts 8.0.0-alpha.125-next.4 → 8.0.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.
@@ -1,2 +1,4 @@
1
- export * from './lib/fonts';
1
+ import fonts from './lib/fonts';
2
+ export default fonts;
3
+ export { fonts };
2
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,aAAa,CAAC;AAEhC,eAAe,KAAK,CAAC;AACrB,OAAO,EAAC,KAAK,EAAC,CAAC"}
@@ -1,13 +1,9 @@
1
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);
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
11
4
  };
12
5
  Object.defineProperty(exports, "__esModule", { value: true });
13
- __exportStar(require("./lib/fonts"), exports);
6
+ exports.fonts = void 0;
7
+ var fonts_1 = __importDefault(require("./lib/fonts"));
8
+ exports.fonts = fonts_1.default;
9
+ exports.default = fonts_1.default;
@@ -1,3 +1,4 @@
1
1
  import { CSSObject } from '@emotion/styled';
2
- export declare const fonts: CSSObject[];
2
+ declare const fonts: CSSObject[];
3
+ export default fonts;
3
4
  //# sourceMappingURL=fonts.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fonts.d.ts","sourceRoot":"","sources":["../../../lib/fonts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,iBAAiB,CAAC;AAG1C,eAAO,MAAM,KAAK,EAAE,SAAS,EAyC5B,CAAC"}
1
+ {"version":3,"file":"fonts.d.ts","sourceRoot":"","sources":["../../../lib/fonts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,iBAAiB,CAAC;AAG1C,QAAA,MAAM,KAAK,EAAE,SAAS,EAyCrB,CAAC;AAEF,eAAe,KAAK,CAAC"}
@@ -1,8 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.fonts = void 0;
4
3
  var fontsPath = 'https://design.workdaycdn.com/beta/assets/fonts@1.0.0/roboto/ttf';
5
- exports.fonts = [
4
+ var fonts = [
6
5
  {
7
6
  '@font-face': {
8
7
  fontFamily: 'Roboto',
@@ -44,3 +43,4 @@ exports.fonts = [
44
43
  },
45
44
  },
46
45
  ];
46
+ exports.default = fonts;
@@ -1,2 +1,4 @@
1
- export * from './lib/fonts';
1
+ import fonts from './lib/fonts';
2
+ export default fonts;
3
+ export { fonts };
2
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,aAAa,CAAC;AAEhC,eAAe,KAAK,CAAC;AACrB,OAAO,EAAC,KAAK,EAAC,CAAC"}
package/dist/es6/index.js CHANGED
@@ -1 +1,3 @@
1
- export * from './lib/fonts';
1
+ import fonts from './lib/fonts';
2
+ export default fonts;
3
+ export { fonts };
@@ -1,3 +1,4 @@
1
1
  import { CSSObject } from '@emotion/styled';
2
- export declare const fonts: CSSObject[];
2
+ declare const fonts: CSSObject[];
3
+ export default fonts;
3
4
  //# sourceMappingURL=fonts.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fonts.d.ts","sourceRoot":"","sources":["../../../lib/fonts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,iBAAiB,CAAC;AAG1C,eAAO,MAAM,KAAK,EAAE,SAAS,EAyC5B,CAAC"}
1
+ {"version":3,"file":"fonts.d.ts","sourceRoot":"","sources":["../../../lib/fonts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,iBAAiB,CAAC;AAG1C,QAAA,MAAM,KAAK,EAAE,SAAS,EAyCrB,CAAC;AAEF,eAAe,KAAK,CAAC"}
@@ -1,5 +1,5 @@
1
1
  var fontsPath = 'https://design.workdaycdn.com/beta/assets/fonts@1.0.0/roboto/ttf';
2
- export var fonts = [
2
+ var fonts = [
3
3
  {
4
4
  '@font-face': {
5
5
  fontFamily: 'Roboto',
@@ -41,3 +41,4 @@ export var fonts = [
41
41
  },
42
42
  },
43
43
  ];
44
+ export default fonts;
package/index.ts CHANGED
@@ -1,2 +1,4 @@
1
- export * from './lib/fonts';
1
+ import fonts from './lib/fonts';
2
2
 
3
+ export default fonts;
4
+ export {fonts};
package/lib/fonts.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import {CSSObject} from '@emotion/styled';
2
2
  const fontsPath = 'https://design.workdaycdn.com/beta/assets/fonts@1.0.0/roboto/ttf';
3
3
 
4
- export const fonts: CSSObject[] = [
4
+ const fonts: CSSObject[] = [
5
5
  {
6
6
  '@font-face': {
7
7
  fontFamily: 'Roboto',
@@ -43,3 +43,5 @@ export const fonts: CSSObject[] = [
43
43
  },
44
44
  },
45
45
  ];
46
+
47
+ export default fonts;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workday/canvas-kit-react-fonts",
3
- "version": "8.0.0-alpha.125-next.4+9fedde9c",
3
+ "version": "8.0.0",
4
4
  "description": "Fonts for canvas-kit-react",
5
5
  "author": "Workday, Inc. (https://www.workday.com)",
6
6
  "license": "Apache-2.0",
@@ -38,11 +38,11 @@
38
38
  "fonts"
39
39
  ],
40
40
  "peerDependencies": {
41
- "react": "^17.0 || ^18.0"
41
+ "react": "^16.8 || ^17.0"
42
42
  },
43
43
  "dependencies": {
44
44
  "@emotion/react": "^11.7.1",
45
45
  "@emotion/styled": "^11.6.0"
46
46
  },
47
- "gitHead": "9fedde9cca3026cd0435449480d5004fc929374b"
47
+ "gitHead": "433a9d272804ceed26191ac1ef629d61fab4dcb4"
48
48
  }