@teambit/changelog 1.0.106 → 1.0.108
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/changelog.aspect.ts +9 -0
- package/dist/changelog.composition.d.ts +2 -2
- package/dist/changelog.section.d.ts +3 -3
- package/dist/changelog.ui.runtime.d.ts +2 -2
- package/dist/{preview-1703505948637.js → preview-1703647408454.js} +2 -2
- package/dist/ui/change-log-page.d.ts +3 -3
- package/dist/ui/change-log-page.js +4 -4
- package/dist/ui/change-log-page.js.map +1 -1
- package/index.ts +7 -0
- package/package.json +13 -20
- package/tsconfig.json +16 -21
- package/types/asset.d.ts +15 -3
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const Logo: () =>
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const Logo: () => JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { Section } from '@teambit/component';
|
|
3
3
|
import { ChangeLogUI } from './changelog.ui.runtime';
|
|
4
4
|
export declare class ChangelogSection implements Section {
|
|
@@ -6,11 +6,11 @@ export declare class ChangelogSection implements Section {
|
|
|
6
6
|
constructor(ui: ChangeLogUI);
|
|
7
7
|
route: {
|
|
8
8
|
path: string;
|
|
9
|
-
element:
|
|
9
|
+
element: JSX.Element;
|
|
10
10
|
};
|
|
11
11
|
navigationLink: {
|
|
12
12
|
href: string;
|
|
13
|
-
children:
|
|
13
|
+
children: JSX.Element;
|
|
14
14
|
displayName: string;
|
|
15
15
|
};
|
|
16
16
|
order: number;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { ComponentUI } from '@teambit/component';
|
|
2
|
-
import React from 'react';
|
|
3
3
|
import { Harmony } from '@teambit/harmony';
|
|
4
4
|
import { ChangeLogPageProps } from './ui/change-log-page';
|
|
5
5
|
export declare class ChangeLogUI {
|
|
6
6
|
private host;
|
|
7
7
|
constructor(host: string);
|
|
8
|
-
ChangeLog: (props?: ChangeLogPageProps) =>
|
|
8
|
+
ChangeLog: (props?: ChangeLogPageProps) => JSX.Element;
|
|
9
9
|
static dependencies: import("@teambit/harmony").Aspect[];
|
|
10
10
|
static runtime: import("@teambit/harmony").RuntimeDefinition;
|
|
11
11
|
static provider([component]: [ComponentUI], _: any, __: any, harmony: Harmony): Promise<ChangeLogUI>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_changelog@1.0.
|
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_changelog@1.0.
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_changelog@1.0.108/dist/changelog.composition.js';
|
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_changelog@1.0.108/dist/changelog.docs.mdx';
|
|
3
3
|
|
|
4
4
|
export const compositions = [compositions_0];
|
|
5
5
|
export const overview = [overview_0];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentLogsResult, Filters } from '@teambit/component';
|
|
2
|
-
import
|
|
3
|
-
export
|
|
2
|
+
import { HTMLAttributes } from 'react';
|
|
3
|
+
export type ChangeLogPageProps = {
|
|
4
4
|
host?: string;
|
|
5
5
|
useComponentLogs?: (id: string, host: string, filters?: Filters, skip?: boolean) => ComponentLogsResult;
|
|
6
6
|
} & HTMLAttributes<HTMLDivElement>;
|
|
7
|
-
export declare function ChangeLogPage({ className, useComponentLogs, host, }: ChangeLogPageProps):
|
|
7
|
+
export declare function ChangeLogPage({ className, useComponentLogs, host, }: ChangeLogPageProps): JSX.Element;
|
|
@@ -88,12 +88,12 @@ function ChangeLogPage({
|
|
|
88
88
|
componentLogs,
|
|
89
89
|
latest,
|
|
90
90
|
id
|
|
91
|
-
} =
|
|
91
|
+
} = useComponentLogs?.(component?.id.toString(), host, undefined, !component) || {};
|
|
92
92
|
if (loading || !componentLogs) return null;
|
|
93
93
|
const {
|
|
94
94
|
logs = []
|
|
95
95
|
} = componentLogs;
|
|
96
|
-
if (
|
|
96
|
+
if (logs?.length === 0) {
|
|
97
97
|
return /*#__PURE__*/_react().default.createElement("div", {
|
|
98
98
|
className: (0, _classnames().default)(_changeLogPageModule().default.changeLogPage, className)
|
|
99
99
|
}, /*#__PURE__*/_react().default.createElement(_documenterUi().H1, {
|
|
@@ -118,10 +118,10 @@ function ChangeLogPage({
|
|
|
118
118
|
className: _changeLogPageModule().default.logContainer
|
|
119
119
|
}, logs.map((snap, index) => {
|
|
120
120
|
const isLatest = latest === snap.tag || latest === snap.hash;
|
|
121
|
-
const isCurrent =
|
|
121
|
+
const isCurrent = id?.version === snap.tag || id?.version === snap.hash;
|
|
122
122
|
return /*#__PURE__*/_react().default.createElement(_componentUi().VersionBlock, {
|
|
123
123
|
key: index,
|
|
124
|
-
componentId:
|
|
124
|
+
componentId: id?.fullName ?? '',
|
|
125
125
|
isLatest: isLatest,
|
|
126
126
|
snap: snap,
|
|
127
127
|
isCurrent: isCurrent
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_component","data","require","_documenterUi","_designUi","_componentUi","_classnames","_interopRequireDefault","_mdxUi","_componentInstructions","_designUi2","_react","_interopRequireWildcard","_changeLogPageModule","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","obj","ChangeLogPage","className","useComponentLogs","defaultUseComponentLogs","host","component","useContext","ComponentContext","loading","componentLogs","latest","id","toString","undefined","logs","length","createElement","classNames","styles","changeLogPage","H1","title","Separator","isPresentational","separatorNoChangeLog","AlertCard","level","changeLogCard","MDXLayout","ExportingComponents","separator","logContainer","map","snap","index","isLatest","tag","hash","isCurrent","version","VersionBlock","key","componentId","fullName"],"sources":["change-log-page.tsx"],"sourcesContent":["import {\n ComponentContext,\n useComponentLogs as defaultUseComponentLogs,\n ComponentLogsResult,\n Filters,\n} from '@teambit/component';\nimport { H1 } from '@teambit/documenter.ui.heading';\nimport { Separator } from '@teambit/design.ui.separator';\nimport { VersionBlock } from '@teambit/component.ui.version-block';\nimport classNames from 'classnames';\nimport { MDXLayout } from '@teambit/mdx.ui.mdx-layout';\nimport { ExportingComponents } from '@teambit/component.instructions.exporting-components';\nimport { AlertCard } from '@teambit/design.ui.alert-card';\nimport React, { HTMLAttributes, useContext } from 'react';\n\nimport styles from './change-log-page.module.scss';\n\nexport type ChangeLogPageProps = {\n host?: string;\n useComponentLogs?: (id: string, host: string, filters?: Filters, skip?: boolean) => ComponentLogsResult;\n} & HTMLAttributes<HTMLDivElement>;\n\nexport function ChangeLogPage({\n className,\n useComponentLogs = defaultUseComponentLogs,\n host = '',\n}: ChangeLogPageProps) {\n const component = useContext(ComponentContext);\n const { loading, componentLogs, latest, id } =\n useComponentLogs?.(component?.id.toString(), host, undefined, !component) || {};\n\n if (loading || !componentLogs) return null;\n\n const { logs = [] } = componentLogs;\n\n if (logs?.length === 0) {\n return (\n <div className={classNames(styles.changeLogPage, className)}>\n <H1 className={styles.title}>History</H1>\n <Separator isPresentational className={styles.separatorNoChangeLog} />\n <AlertCard\n level=\"info\"\n title=\"There is no change log as this component has not been exported yet.\n Learn how to export components:\"\n className={styles.changeLogCard}\n >\n <MDXLayout>\n <ExportingComponents />\n </MDXLayout>\n </AlertCard>\n </div>\n );\n }\n\n return (\n <div className={classNames(styles.changeLogPage, className)}>\n <H1 className={styles.title}>History</H1>\n <Separator isPresentational className={styles.separator} />\n <div className={styles.logContainer}>\n {logs.map((snap, index) => {\n const isLatest = latest === snap.tag || latest === snap.hash;\n const isCurrent = id?.version === snap.tag || id?.version === snap.hash;\n return (\n <VersionBlock\n key={index}\n componentId={id?.fullName ?? ''}\n isLatest={isLatest}\n snap={snap}\n isCurrent={isCurrent}\n />\n );\n })}\n </div>\n </div>\n );\n}\n"],"mappings":";;;;;;AAAA,SAAAA,WAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,UAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAMA,SAAAE,cAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,aAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAG,UAAA;EAAA,MAAAH,IAAA,GAAAC,OAAA;EAAAE,SAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAI,aAAA;EAAA,MAAAJ,IAAA,GAAAC,OAAA;EAAAG,YAAA,YAAAA,CAAA;IAAA,OAAAJ,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAK,YAAA;EAAA,MAAAL,IAAA,GAAAM,sBAAA,CAAAL,OAAA;EAAAI,WAAA,YAAAA,CAAA;IAAA,OAAAL,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAO,OAAA;EAAA,MAAAP,IAAA,GAAAC,OAAA;EAAAM,MAAA,YAAAA,CAAA;IAAA,OAAAP,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAQ,uBAAA;EAAA,MAAAR,IAAA,GAAAC,OAAA;EAAAO,sBAAA,YAAAA,CAAA;IAAA,OAAAR,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAS,WAAA;EAAA,MAAAT,IAAA,GAAAC,OAAA;EAAAQ,UAAA,YAAAA,CAAA;IAAA,OAAAT,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAU,OAAA;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,CAAA,CAAAc,CAAA,YAAAN,CAAA,CAAAH,OAAA,GAAAL,CAAA,EAAAG,CAAA,IAAAA,CAAA,CAAAgB,GAAA,CAAAnB,CAAA,EAAAQ,CAAA,GAAAA,CAAA;AAAA,SAAAhB,uBAAA4B,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAhB,UAAA,GAAAgB,GAAA,KAAAf,OAAA,EAAAe,GAAA;AAO5C,SAASC,aAAaA,CAAC;EAC5BC,SAAS;EACTC,gBAAgB,GAAGC,6BAAuB;EAC1CC,IAAI,GAAG;AACW,CAAC,EAAE;EACrB,MAAMC,SAAS,GAAG,IAAAC,mBAAU,EAACC,6BAAgB,CAAC;EAC9C,MAAM;IAAEC,OAAO;IAAEC,aAAa;IAAEC,MAAM;IAAEC;EAAG,CAAC,
|
|
1
|
+
{"version":3,"names":["_component","data","require","_documenterUi","_designUi","_componentUi","_classnames","_interopRequireDefault","_mdxUi","_componentInstructions","_designUi2","_react","_interopRequireWildcard","_changeLogPageModule","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","obj","ChangeLogPage","className","useComponentLogs","defaultUseComponentLogs","host","component","useContext","ComponentContext","loading","componentLogs","latest","id","toString","undefined","logs","length","createElement","classNames","styles","changeLogPage","H1","title","Separator","isPresentational","separatorNoChangeLog","AlertCard","level","changeLogCard","MDXLayout","ExportingComponents","separator","logContainer","map","snap","index","isLatest","tag","hash","isCurrent","version","VersionBlock","key","componentId","fullName"],"sources":["change-log-page.tsx"],"sourcesContent":["import {\n ComponentContext,\n useComponentLogs as defaultUseComponentLogs,\n ComponentLogsResult,\n Filters,\n} from '@teambit/component';\nimport { H1 } from '@teambit/documenter.ui.heading';\nimport { Separator } from '@teambit/design.ui.separator';\nimport { VersionBlock } from '@teambit/component.ui.version-block';\nimport classNames from 'classnames';\nimport { MDXLayout } from '@teambit/mdx.ui.mdx-layout';\nimport { ExportingComponents } from '@teambit/component.instructions.exporting-components';\nimport { AlertCard } from '@teambit/design.ui.alert-card';\nimport React, { HTMLAttributes, useContext } from 'react';\n\nimport styles from './change-log-page.module.scss';\n\nexport type ChangeLogPageProps = {\n host?: string;\n useComponentLogs?: (id: string, host: string, filters?: Filters, skip?: boolean) => ComponentLogsResult;\n} & HTMLAttributes<HTMLDivElement>;\n\nexport function ChangeLogPage({\n className,\n useComponentLogs = defaultUseComponentLogs,\n host = '',\n}: ChangeLogPageProps) {\n const component = useContext(ComponentContext);\n const { loading, componentLogs, latest, id } =\n useComponentLogs?.(component?.id.toString(), host, undefined, !component) || {};\n\n if (loading || !componentLogs) return null;\n\n const { logs = [] } = componentLogs;\n\n if (logs?.length === 0) {\n return (\n <div className={classNames(styles.changeLogPage, className)}>\n <H1 className={styles.title}>History</H1>\n <Separator isPresentational className={styles.separatorNoChangeLog} />\n <AlertCard\n level=\"info\"\n title=\"There is no change log as this component has not been exported yet.\n Learn how to export components:\"\n className={styles.changeLogCard}\n >\n <MDXLayout>\n <ExportingComponents />\n </MDXLayout>\n </AlertCard>\n </div>\n );\n }\n\n return (\n <div className={classNames(styles.changeLogPage, className)}>\n <H1 className={styles.title}>History</H1>\n <Separator isPresentational className={styles.separator} />\n <div className={styles.logContainer}>\n {logs.map((snap, index) => {\n const isLatest = latest === snap.tag || latest === snap.hash;\n const isCurrent = id?.version === snap.tag || id?.version === snap.hash;\n return (\n <VersionBlock\n key={index}\n componentId={id?.fullName ?? ''}\n isLatest={isLatest}\n snap={snap}\n isCurrent={isCurrent}\n />\n );\n })}\n </div>\n </div>\n );\n}\n"],"mappings":";;;;;;AAAA,SAAAA,WAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,UAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAMA,SAAAE,cAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,aAAA,YAAAA,CAAA;IAAA,O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AU,EAACC,8BAAM,CAACC,aAAa,EAAElB,SAAS;EAAE,gBAC1D1B,MAAA,GAAAS,OAAA,CAAAgC,aAAA,CAACjD,aAAA,GAAAqD,EAAE;IAACnB,SAAS,EAAEiB,8BAAM,CAACG;EAAM,GAAC,SAAW,CAAC,eACzC9C,MAAA,GAAAS,OAAA,CAAAgC,aAAA,CAAChD,SAAA,GAAAsD,SAAS;IAACC,gBAAgB;IAACtB,SAAS,EAAEiB,8BAAM,CAACY;EAAU,CAAE,CAAC,eAC3DvD,MAAA,GAAAS,OAAA,CAAAgC,aAAA;IAAKf,SAAS,EAAEiB,8BAAM,CAACa;EAAa,GACjCjB,IAAI,CAACkB,GAAG,CAAC,CAACC,IAAI,EAAEC,KAAK,KAAK;IACzB,MAAMC,QAAQ,GAAGzB,MAAM,KAAKuB,IAAI,CAACG,GAAG,IAAI1B,MAAM,KAAKuB,IAAI,CAACI,IAAI;IAC5D,MAAMC,SAAS,GAAG3B,EAAE,EAAE4B,OAAO,KAAKN,IAAI,CAACG,GAAG,IAAIzB,EAAE,EAAE4B,OAAO,KAAKN,IAAI,CAACI,IAAI;IACvE,oBACE9D,MAAA,GAAAS,OAAA,CAAAgC,aAAA,CAAC/C,YAAA,GAAAuE,YAAY;MACXC,GAAG,EAAEP,KAAM;MACXQ,WAAW,EAAE/B,EAAE,EAAEgC,QAAQ,IAAI,EAAG;MAChCR,QAAQ,EAAEA,QAAS;MACnBF,IAAI,EAAEA,IAAK;MACXK,SAAS,EAAEA;IAAU,CACtB,CAAC;EAEN,CAAC,CACE,CACF,CAAC;AAEV"}
|
package/index.ts
ADDED
package/package.json
CHANGED
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/changelog",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.108",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/component/changelog",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.component",
|
|
8
8
|
"name": "changelog",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.108"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"classnames": "2.2.6",
|
|
13
|
-
"core-js": "^3.0.0",
|
|
14
|
-
"@babel/runtime": "7.20.0",
|
|
15
13
|
"@teambit/harmony": "0.4.6",
|
|
16
14
|
"@teambit/ui-foundation.ui.menu-widget-icon": "0.0.502",
|
|
17
15
|
"@teambit/component.instructions.exporting-components": "0.0.7",
|
|
@@ -20,22 +18,20 @@
|
|
|
20
18
|
"@teambit/design.ui.separator": "0.0.354",
|
|
21
19
|
"@teambit/documenter.ui.heading": "4.1.1",
|
|
22
20
|
"@teambit/mdx.ui.mdx-layout": "1.0.6",
|
|
23
|
-
"@teambit/component": "1.0.
|
|
24
|
-
"@teambit/ui": "1.0.
|
|
21
|
+
"@teambit/component": "1.0.108",
|
|
22
|
+
"@teambit/ui": "1.0.108"
|
|
25
23
|
},
|
|
26
24
|
"devDependencies": {
|
|
27
|
-
"@types/react": "^17.0.8",
|
|
28
25
|
"@types/classnames": "2.2.11",
|
|
29
26
|
"@types/mocha": "9.1.0",
|
|
30
|
-
"@types/
|
|
31
|
-
"@types/
|
|
32
|
-
"@
|
|
33
|
-
"@types/testing-library__jest-dom": "5.9.5"
|
|
27
|
+
"@types/jest": "^29.2.2",
|
|
28
|
+
"@types/testing-library__jest-dom": "^5.9.5",
|
|
29
|
+
"@teambit/harmony.envs.core-aspect-env": "0.0.13"
|
|
34
30
|
},
|
|
35
31
|
"peerDependencies": {
|
|
36
|
-
"
|
|
37
|
-
"react": "^
|
|
38
|
-
"
|
|
32
|
+
"react": "^17.0.0 || ^18.0.0",
|
|
33
|
+
"@types/react": "^18.2.12",
|
|
34
|
+
"@teambit/legacy": "1.0.624"
|
|
39
35
|
},
|
|
40
36
|
"license": "Apache-2.0",
|
|
41
37
|
"optionalDependencies": {},
|
|
@@ -49,7 +45,7 @@
|
|
|
49
45
|
},
|
|
50
46
|
"private": false,
|
|
51
47
|
"engines": {
|
|
52
|
-
"node": ">=
|
|
48
|
+
"node": ">=16.0.0"
|
|
53
49
|
},
|
|
54
50
|
"repository": {
|
|
55
51
|
"type": "git",
|
|
@@ -58,12 +54,9 @@
|
|
|
58
54
|
"keywords": [
|
|
59
55
|
"bit",
|
|
60
56
|
"bit-aspect",
|
|
57
|
+
"bit-core-aspect",
|
|
61
58
|
"components",
|
|
62
59
|
"collaboration",
|
|
63
|
-
"web"
|
|
64
|
-
"react",
|
|
65
|
-
"react-components",
|
|
66
|
-
"angular",
|
|
67
|
-
"angular-components"
|
|
60
|
+
"web"
|
|
68
61
|
]
|
|
69
62
|
}
|
package/tsconfig.json
CHANGED
|
@@ -1,38 +1,33 @@
|
|
|
1
1
|
{
|
|
2
2
|
"compilerOptions": {
|
|
3
3
|
"lib": [
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"DOM.Iterable",
|
|
8
|
-
"ScriptHost"
|
|
4
|
+
"esnext",
|
|
5
|
+
"dom",
|
|
6
|
+
"dom.Iterable"
|
|
9
7
|
],
|
|
10
|
-
"target": "
|
|
11
|
-
"module": "
|
|
12
|
-
"jsx": "react",
|
|
13
|
-
"allowJs": true,
|
|
14
|
-
"composite": true,
|
|
8
|
+
"target": "es2020",
|
|
9
|
+
"module": "es2020",
|
|
10
|
+
"jsx": "react-jsx",
|
|
15
11
|
"declaration": true,
|
|
16
12
|
"sourceMap": true,
|
|
17
|
-
"skipLibCheck": true,
|
|
18
13
|
"experimentalDecorators": true,
|
|
19
|
-
"
|
|
14
|
+
"skipLibCheck": true,
|
|
20
15
|
"moduleResolution": "node",
|
|
21
16
|
"esModuleInterop": true,
|
|
22
|
-
"rootDir": ".",
|
|
23
17
|
"resolveJsonModule": true,
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"strictPropertyInitialization": false,
|
|
28
|
-
"strict": true,
|
|
29
|
-
"noImplicitAny": false,
|
|
30
|
-
"preserveConstEnums": true
|
|
18
|
+
"allowJs": true,
|
|
19
|
+
"outDir": "dist",
|
|
20
|
+
"emitDeclarationOnly": true
|
|
31
21
|
},
|
|
32
22
|
"exclude": [
|
|
23
|
+
"artifacts",
|
|
24
|
+
"public",
|
|
33
25
|
"dist",
|
|
26
|
+
"node_modules",
|
|
27
|
+
"package.json",
|
|
34
28
|
"esm.mjs",
|
|
35
|
-
"
|
|
29
|
+
"**/*.cjs",
|
|
30
|
+
"./dist"
|
|
36
31
|
],
|
|
37
32
|
"include": [
|
|
38
33
|
"**/*",
|
package/types/asset.d.ts
CHANGED
|
@@ -5,12 +5,12 @@ declare module '*.png' {
|
|
|
5
5
|
declare module '*.svg' {
|
|
6
6
|
import type { FunctionComponent, SVGProps } from 'react';
|
|
7
7
|
|
|
8
|
-
export const ReactComponent: FunctionComponent<
|
|
8
|
+
export const ReactComponent: FunctionComponent<
|
|
9
|
+
SVGProps<SVGSVGElement> & { title?: string }
|
|
10
|
+
>;
|
|
9
11
|
const src: string;
|
|
10
12
|
export default src;
|
|
11
13
|
}
|
|
12
|
-
|
|
13
|
-
// @TODO Gilad
|
|
14
14
|
declare module '*.jpg' {
|
|
15
15
|
const value: any;
|
|
16
16
|
export = value;
|
|
@@ -27,3 +27,15 @@ declare module '*.bmp' {
|
|
|
27
27
|
const value: any;
|
|
28
28
|
export = value;
|
|
29
29
|
}
|
|
30
|
+
declare module '*.otf' {
|
|
31
|
+
const value: any;
|
|
32
|
+
export = value;
|
|
33
|
+
}
|
|
34
|
+
declare module '*.woff' {
|
|
35
|
+
const value: any;
|
|
36
|
+
export = value;
|
|
37
|
+
}
|
|
38
|
+
declare module '*.woff2' {
|
|
39
|
+
const value: any;
|
|
40
|
+
export = value;
|
|
41
|
+
}
|