@decafhub/decaf-react-webapp 0.1.1 → 0.1.2
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.md +7 -0
- package/dist/components/Breadcrumb.d.ts +2 -2
- package/dist/components/Breadcrumb.d.ts.map +1 -1
- package/dist/components/DocumentationButton.d.ts +2 -2
- package/dist/components/DocumentationButton.d.ts.map +1 -1
- package/dist/components/Error.d.ts +5 -5
- package/dist/components/Error.d.ts.map +1 -1
- package/dist/components/Layout.d.ts +4 -4
- package/dist/components/Layout.d.ts.map +1 -1
- package/dist/components/Logo.d.ts +2 -2
- package/dist/components/Logo.d.ts.map +1 -1
- package/dist/components/Menu.d.ts +3 -3
- package/dist/components/Menu.d.ts.map +1 -1
- package/dist/components/PageAbout.d.ts +1 -1
- package/dist/components/PageAbout.d.ts.map +1 -1
- package/dist/components/PageScroller.d.ts +2 -2
- package/dist/components/PageScroller.d.ts.map +1 -1
- package/dist/components/Screenshotter.d.ts +1 -1
- package/dist/components/Screenshotter.d.ts.map +1 -1
- package/dist/components/ThemeSwitcher.d.ts +2 -2
- package/dist/components/ThemeSwitcher.d.ts.map +1 -1
- package/dist/components/UserProfileDropdown.d.ts +2 -2
- package/dist/components/UserProfileDropdown.d.ts.map +1 -1
- package/dist/components/VersionSelector.d.ts +2 -2
- package/dist/components/VersionSelector.d.ts.map +1 -1
- package/dist/components/ZendeskWidget.d.ts +2 -2
- package/dist/components/ZendeskWidget.d.ts.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +2 -2
- package/dist/index.modern.mjs.map +1 -1
- package/dist/index.module.js +1 -1
- package/dist/index.module.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/machinery/index.d.ts +4 -4
- package/dist/machinery/index.d.ts.map +1 -1
- package/dist/theme/-theme-provider.d.ts +1 -1
- package/dist/theme/-theme-provider.d.ts.map +1 -1
- package/dist/utils.d.ts +12 -0
- package/dist/utils.d.ts.map +1 -1
- package/package.json +15 -15
- package/dist/components/PageLayout.d.ts +0 -10
- package/dist/components/PageLayout.d.ts.map +0 -1
- package/dist/style.d.ts +0 -5
- package/dist/style.d.ts.map +0 -1
- package/dist/theme.d.ts +0 -18
- package/dist/theme.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@decafhub/decaf-react-webapp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"decafhub",
|
|
6
6
|
"react"
|
|
@@ -42,9 +42,9 @@
|
|
|
42
42
|
"react-router-dom": "^6"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@emotion/react": "^11.
|
|
46
|
-
"@emotion/styled": "^11.
|
|
47
|
-
"@tanem/react-nprogress": "^5.0.
|
|
45
|
+
"@emotion/react": "^11.11.0",
|
|
46
|
+
"@emotion/styled": "^11.11.0",
|
|
47
|
+
"@tanem/react-nprogress": "^5.0.37",
|
|
48
48
|
"decimal.js": "^10.4.3",
|
|
49
49
|
"html2canvas": "^1.4.1",
|
|
50
50
|
"js-cookie": "^3.0.5",
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@ant-design/icons": "^5.0.1",
|
|
55
|
-
"@commitlint/cli": "^17.6.
|
|
56
|
-
"@commitlint/config-conventional": "^17.6.
|
|
55
|
+
"@commitlint/cli": "^17.6.3",
|
|
56
|
+
"@commitlint/config-conventional": "^17.6.3",
|
|
57
57
|
"@decafhub/decaf-client": "^0.3.2",
|
|
58
58
|
"@decafhub/decaf-react": "^0.2.0",
|
|
59
59
|
"@testing-library/jest-dom": "^5.16.5",
|
|
@@ -61,14 +61,14 @@
|
|
|
61
61
|
"@types/jest": "^29.5.1",
|
|
62
62
|
"@types/js-cookie": "^3.0.3",
|
|
63
63
|
"@types/md5": "^2.3.2",
|
|
64
|
-
"@types/node": "^
|
|
65
|
-
"@types/react": "^18.2.
|
|
66
|
-
"@types/react-dom": "^18.2.
|
|
67
|
-
"@typescript-eslint/eslint-plugin": "^5.59.
|
|
68
|
-
"@typescript-eslint/parser": "^5.59.
|
|
69
|
-
"antd": "^5.4.
|
|
64
|
+
"@types/node": "^20.1.2",
|
|
65
|
+
"@types/react": "^18.2.6",
|
|
66
|
+
"@types/react-dom": "^18.2.4",
|
|
67
|
+
"@typescript-eslint/eslint-plugin": "^5.59.5",
|
|
68
|
+
"@typescript-eslint/parser": "^5.59.5",
|
|
69
|
+
"antd": "^5.4.7",
|
|
70
70
|
"cross-env": "^7.0.3",
|
|
71
|
-
"eslint": "^8.
|
|
71
|
+
"eslint": "^8.40.0",
|
|
72
72
|
"eslint-config-prettier": "^8.8.0",
|
|
73
73
|
"eslint-config-standard": "^17.0.0",
|
|
74
74
|
"eslint-plugin-import": "^2.27.5",
|
|
@@ -88,9 +88,9 @@
|
|
|
88
88
|
"prettier": "^2.8.8",
|
|
89
89
|
"react": "^18.2.0",
|
|
90
90
|
"react-dom": "^18.2.0",
|
|
91
|
-
"react-router-dom": "^6.
|
|
91
|
+
"react-router-dom": "^6.11.1",
|
|
92
92
|
"ts-jest": "^29.1.0",
|
|
93
|
-
"typedoc": "^0.24.
|
|
93
|
+
"typedoc": "^0.24.7",
|
|
94
94
|
"typescript": "^5.0.4"
|
|
95
95
|
},
|
|
96
96
|
"lint-staged": {
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { BreadcrumbItemType, ItemType } from 'antd/es/breadcrumb/Breadcrumb';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export interface PageLayoutProps {
|
|
4
|
-
breadcrumb: BreadcrumbItemType[];
|
|
5
|
-
extras?: React.ReactNode;
|
|
6
|
-
children?: React.ReactNode;
|
|
7
|
-
}
|
|
8
|
-
export declare function renderBreadcrumbLink(route: ItemType, _params: any, routes: ItemType[], _paths: string[]): React.ReactNode;
|
|
9
|
-
export declare function PageLayout(props: PageLayoutProps): JSX.Element;
|
|
10
|
-
//# sourceMappingURL=PageLayout.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PageLayout.d.ts","sourceRoot":"","sources":["../../src/components/PageLayout.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAC7E,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,WAAW,eAAe;IAC9B,UAAU,EAAE,kBAAkB,EAAE,CAAC;IACjC,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,wBAAgB,oBAAoB,CAClC,KAAK,EAAE,QAAQ,EACf,OAAO,EAAE,GAAG,EACZ,MAAM,EAAE,QAAQ,EAAE,EAClB,MAAM,EAAE,MAAM,EAAE,GACf,KAAK,CAAC,SAAS,CAIjB;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,eAiChD"}
|
package/dist/style.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Interpolation, Theme } from '@emotion/react';
|
|
2
|
-
import { ThemeConfig } from 'antd/es/config-provider/context';
|
|
3
|
-
export declare function getLightStyles(theme: ThemeConfig): Interpolation<Theme>;
|
|
4
|
-
export declare function getDarkStyles(theme: ThemeConfig): Interpolation<Theme>;
|
|
5
|
-
//# sourceMappingURL=style.d.ts.map
|
package/dist/style.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../src/style.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAuE9D,wBAAgB,cAAc,CAAC,KAAK,EAAE,WAAW,GAAG,aAAa,CAAC,KAAK,CAAC,CAMvE;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,WAAW,GAAG,aAAa,CAAC,KAAK,CAAC,CA8DtE"}
|
package/dist/theme.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { ThemeConfig } from 'antd/es/config-provider/context';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export declare const decafThemeLight: ThemeConfig;
|
|
4
|
-
export declare const decafThemeDark: ThemeConfig;
|
|
5
|
-
interface ThemeContextProps {
|
|
6
|
-
theme: 'dark' | 'light';
|
|
7
|
-
toggleTheme: () => void;
|
|
8
|
-
}
|
|
9
|
-
export declare const ThemeContext: React.Context<ThemeContextProps>;
|
|
10
|
-
interface ThemeProviderProps {
|
|
11
|
-
children: React.ReactNode;
|
|
12
|
-
themeConfig?: ThemeConfig;
|
|
13
|
-
theme?: 'dark' | 'light';
|
|
14
|
-
}
|
|
15
|
-
export declare function ThemeProvider(props: ThemeProviderProps): JSX.Element;
|
|
16
|
-
export declare const useDecafTheme: () => ThemeContextProps;
|
|
17
|
-
export {};
|
|
18
|
-
//# sourceMappingURL=theme.d.ts.map
|
package/dist/theme.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../src/theme.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAC9D,OAAO,KAAK,MAAM,OAAO,CAAC;AAmB1B,eAAO,MAAM,eAAe,EAAE,WAe7B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,WA6D5B,CAAC;AAEF,UAAU,iBAAiB;IACzB,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC;IACxB,WAAW,EAAE,MAAM,IAAI,CAAC;CACzB;AACD,eAAO,MAAM,YAAY,kCAGvB,CAAC;AAEH,UAAU,kBAAkB;IAC1B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CAC1B;AACD,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,eAwCtD;AAED,eAAO,MAAM,aAAa,yBAAuC,CAAC"}
|