@codecanon/logos 1.0.1 → 1.0.3

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/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- export { default as CodeCanonDarkIcon } from '@/react/dark-icon';
2
- export { default as CodeCanonDarkText } from '@/react/dark-text';
3
- export { default as CodeCanonLightIcon } from '@/react/light-icon';
4
- export { default as CodeCanonLightText } from '@/react/light-text';
5
- export { default as CodeCanonIcon } from '@/react/default-icon';
6
- export { default as CodeCanonText } from '@/react/default-text';
7
- export * from '@/config';
1
+ export { default as CodeCanonDarkIcon } from './react/dark-icon';
2
+ export { default as CodeCanonDarkText } from './react/dark-text';
3
+ export { default as CodeCanonLightIcon } from './react/light-icon';
4
+ export { default as CodeCanonLightText } from './react/light-text';
5
+ export { default as CodeCanonIcon } from './react/default-icon';
6
+ export { default as CodeCanonText } from './react/default-text';
7
+ export * from './config';
package/dist/index.js CHANGED
@@ -18,16 +18,16 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
18
18
  };
19
19
  Object.defineProperty(exports, "__esModule", { value: true });
20
20
  exports.CodeCanonText = exports.CodeCanonIcon = exports.CodeCanonLightText = exports.CodeCanonLightIcon = exports.CodeCanonDarkText = exports.CodeCanonDarkIcon = void 0;
21
- var dark_icon_1 = require("@/react/dark-icon");
21
+ var dark_icon_1 = require("./react/dark-icon");
22
22
  Object.defineProperty(exports, "CodeCanonDarkIcon", { enumerable: true, get: function () { return __importDefault(dark_icon_1).default; } });
23
- var dark_text_1 = require("@/react/dark-text");
23
+ var dark_text_1 = require("./react/dark-text");
24
24
  Object.defineProperty(exports, "CodeCanonDarkText", { enumerable: true, get: function () { return __importDefault(dark_text_1).default; } });
25
- var light_icon_1 = require("@/react/light-icon");
25
+ var light_icon_1 = require("./react/light-icon");
26
26
  Object.defineProperty(exports, "CodeCanonLightIcon", { enumerable: true, get: function () { return __importDefault(light_icon_1).default; } });
27
- var light_text_1 = require("@/react/light-text");
27
+ var light_text_1 = require("./react/light-text");
28
28
  Object.defineProperty(exports, "CodeCanonLightText", { enumerable: true, get: function () { return __importDefault(light_text_1).default; } });
29
- var default_icon_1 = require("@/react/default-icon");
29
+ var default_icon_1 = require("./react/default-icon");
30
30
  Object.defineProperty(exports, "CodeCanonIcon", { enumerable: true, get: function () { return __importDefault(default_icon_1).default; } });
31
- var default_text_1 = require("@/react/default-text");
31
+ var default_text_1 = require("./react/default-text");
32
32
  Object.defineProperty(exports, "CodeCanonText", { enumerable: true, get: function () { return __importDefault(default_text_1).default; } });
33
- __exportStar(require("@/config"), exports);
33
+ __exportStar(require("./config"), exports);
@@ -34,8 +34,8 @@ var __importStar = (this && this.__importStar) || (function () {
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
36
  const React = __importStar(require("react"));
37
- const config_1 = require("@/config");
38
- const SVGComponent = (props) => (React.createElement("svg", { id: "Capa_1", xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", x: "0px", y: "0px", viewBox: "0 0 2122 2122", xmlSpace: "preserve", ...props },
37
+ const config_1 = require("../config");
38
+ const SVGComponent = (props) => (React.createElement("svg", { id: "Capa_1", xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", x: "0px", y: "0px", viewBox: "0 0 2122 2122", xmlSpace: "preserve", width: "24px", height: "24px", ...props },
39
39
  React.createElement("defs", null,
40
40
  React.createElement("style", null,
41
41
  `.codecanon-primary { fill: var(--color-codecanon-primary, ${config_1.PRIMARY_DARK_COLOR}); }`,
@@ -33,9 +33,9 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- const config_1 = require("@/config");
36
+ const config_1 = require("../config");
37
37
  const React = __importStar(require("react"));
38
- const SVGComponent = (props) => (React.createElement("svg", { viewBox: "0 0 1600 896", xmlns: "http://www.w3.org/2000/svg", ...props },
38
+ const SVGComponent = (props) => (React.createElement("svg", { viewBox: "0 0 1600 896", xmlns: "http://www.w3.org/2000/svg", height: "24px", ...props },
39
39
  React.createElement("defs", null,
40
40
  React.createElement("style", null,
41
41
  `.codecanon-letter { fill: var(--color-codecanon-letter, var(--color-codecanon-primary, ${config_1.LETTER_DARK_COLOR})); }`,
@@ -33,9 +33,9 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- const config_1 = require("@/config");
36
+ const config_1 = require("../config");
37
37
  const React = __importStar(require("react"));
38
- const SVGComponent = (props) => (React.createElement("svg", { id: "Capa_1", xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", x: "0px", y: "0px", viewBox: "0 0 2122 2122", xmlSpace: "preserve", ...props },
38
+ const SVGComponent = (props) => (React.createElement("svg", { id: "Capa_1", xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", x: "0px", y: "0px", viewBox: "0 0 2122 2122", xmlSpace: "preserve", width: "24px", height: "24px", ...props },
39
39
  React.createElement("defs", null,
40
40
  React.createElement("style", null,
41
41
  `.codecanon-primary { fill: var(--color-codecanon-primary, ${config_1.PRIMARY_DEFAULT_COLOR}); }`,
@@ -33,9 +33,9 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- const config_1 = require("@/config");
36
+ const config_1 = require("../config");
37
37
  const React = __importStar(require("react"));
38
- const SVGComponent = (props) => (React.createElement("svg", { viewBox: "0 0 1600 896", xmlns: "http://www.w3.org/2000/svg", ...props },
38
+ const SVGComponent = (props) => (React.createElement("svg", { viewBox: "0 0 1600 896", xmlns: "http://www.w3.org/2000/svg", height: "24px", ...props },
39
39
  React.createElement("defs", null,
40
40
  React.createElement("style", null,
41
41
  `.codecanon-letter { fill: var(--color-codecanon-letter, var(--color-codecanon-primary, ${config_1.LETTER_DEFAULT_COLOR})); }`,
@@ -33,9 +33,9 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- const config_1 = require("@/config");
36
+ const config_1 = require("../config");
37
37
  const React = __importStar(require("react"));
38
- const SVGComponent = (props) => (React.createElement("svg", { id: "Capa_1", xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", x: "0px", y: "0px", viewBox: "0 0 2122 2122", xmlSpace: "preserve", ...props },
38
+ const SVGComponent = (props) => (React.createElement("svg", { id: "Capa_1", xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", x: "0px", y: "0px", viewBox: "0 0 2122 2122", xmlSpace: "preserve", width: "24px", height: "24px", ...props },
39
39
  React.createElement("defs", null,
40
40
  React.createElement("style", null,
41
41
  `.codecanon-primary { fill: var(--color-codecanon-primary, ${config_1.PRIMARY_DEFAULT_COLOR}); }`,
@@ -33,9 +33,9 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- const config_1 = require("@/config");
36
+ const config_1 = require("../config");
37
37
  const React = __importStar(require("react"));
38
- const SVGComponent = (props) => (React.createElement("svg", { viewBox: "0 0 1600 896", xmlns: "http://www.w3.org/2000/svg", ...props },
38
+ const SVGComponent = (props) => (React.createElement("svg", { viewBox: "0 0 1600 896", xmlns: "http://www.w3.org/2000/svg", height: "24px", ...props },
39
39
  React.createElement("defs", null,
40
40
  React.createElement("style", null,
41
41
  `.codecanon-letter { fill: var(--color-codecanon-letter, var(--color-codecanon-primary, ${config_1.LETTER_DEFAULT_COLOR})); }`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codecanon/logos",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "CodeCanon logo assets in SVG and PNG formats",
5
5
  "keywords": [
6
6
  "codecanon",
@@ -29,9 +29,10 @@
29
29
  "README.md"
30
30
  ],
31
31
  "devDependencies": {
32
- "typescript": "^5.3.3",
33
32
  "@types/node": "^20.11.0",
34
- "@types/react": "^18.2.0"
33
+ "@types/react": "^18.2.0",
34
+ "tsc-alias": "^1.8.16",
35
+ "typescript": "^5.3.3"
35
36
  },
36
37
  "peerDependencies": {
37
38
  "react": ">=16.8.0"
@@ -42,6 +43,6 @@
42
43
  }
43
44
  },
44
45
  "scripts": {
45
- "build": "tsc"
46
+ "build": "tsc && tsc-alias"
46
47
  }
47
48
  }