@webiny/app-admin 5.25.0-beta.1 → 5.25.0-beta.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/components/AppInstaller/index.d.ts +0 -1
- package/components/AppInstaller/styled.d.ts +0 -1
- package/components/RichTextEditor/tools/textColor/index.d.ts +1 -0
- package/components/Routes.js +2 -2
- package/components/Routes.js.map +1 -1
- package/package.json +16 -16
- package/plugins/globalSearch/styled.d.ts +0 -1
- package/plugins/index.d.ts +0 -1
- package/ui/elements/PlaceholderElement.d.ts +0 -1
- package/ui/elements/form/FileManagerElement/styled.d.ts +0 -1
- package/ui/views/FormView/FormContainerElement.d.ts +0 -1
- package/ui/views/FormView/FormFooterElement.d.ts +0 -1
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const Wrapper: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, Pick<import("react").ClassAttributes<HTMLElement> & import("react").HTMLAttributes<HTMLElement>, keyof import("react").HTMLAttributes<HTMLElement>>, object>;
|
|
3
2
|
export declare const InstallContent: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, keyof import("react").HTMLAttributes<HTMLDivElement>>, object>;
|
|
4
3
|
export declare const installerSplitView: string;
|
package/components/Routes.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { plugins } from "@webiny/plugins";
|
|
4
|
-
import {
|
|
4
|
+
import { Routes as ReactRouterRoutes } from "@webiny/react-router";
|
|
5
5
|
export var Routes = function Routes(props) {
|
|
6
6
|
var routes = [].concat(_toConsumableArray(props.routes), _toConsumableArray(plugins.byType("route").map(function (_ref) {
|
|
7
7
|
var route = _ref.route;
|
|
@@ -26,7 +26,7 @@ export var Routes = function Routes(props) {
|
|
|
26
26
|
|
|
27
27
|
return 0;
|
|
28
28
|
});
|
|
29
|
-
return /*#__PURE__*/React.createElement(
|
|
29
|
+
return /*#__PURE__*/React.createElement(ReactRouterRoutes, null, routes.map(function (route, index) {
|
|
30
30
|
return /*#__PURE__*/React.cloneElement(route, {
|
|
31
31
|
key: "".concat(route.props.path, ":").concat(index)
|
|
32
32
|
});
|
package/components/Routes.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["Routes.tsx"],"names":["React","plugins","
|
|
1
|
+
{"version":3,"sources":["Routes.tsx"],"names":["React","plugins","Routes","ReactRouterRoutes","props","routes","byType","map","route","sort","a","b","pathA","path","pathB","includes","index","cloneElement","key"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,SAASC,OAAT,QAAwB,iBAAxB;AACA,SAASC,MAAM,IAAIC,iBAAnB,QAA4C,sBAA5C;AAOA,OAAO,IAAMD,MAA6B,GAAG,SAAhCA,MAAgC,CAAAE,KAAK,EAAI;AAClD,MAAMC,MAAM,GAAG,6BACRD,KAAK,CAACC,MADE,sBAGRJ,OAAO,CAACK,MAAR,CAA4B,OAA5B,EAAqCC,GAArC,CAAyC;AAAA,QAAGC,KAAH,QAAGA,KAAH;AAAA,WAAeA,KAAf;AAAA,GAAzC,CAHQ,GAIbC,IAJa,CAIR,UAACC,CAAD,EAAIC,CAAJ,EAAU;AACb,QAAMC,KAAK,GAAGF,CAAC,CAACN,KAAF,CAAQS,IAAR,IAAgB,GAA9B;AACA,QAAMC,KAAK,GAAGH,CAAC,CAACP,KAAF,CAAQS,IAAR,IAAgB,GAA9B,CAFa,CAIb;;AACA,QAAID,KAAK,KAAK,GAAV,IAAiBE,KAAK,KAAK,GAA/B,EAAoC;AAChC,aAAO,CAAC,CAAR;AACH,KAPY,CASb;;;AACA,QAAIF,KAAK,KAAK,GAAV,IAAiBA,KAAK,KAAK,GAA/B,EAAoC;AAChC,aAAO,CAAP;AACH,KAZY,CAcb;;;AACA,QAAI,CAAC,GAAD,EAAM,GAAN,EAAWG,QAAX,CAAoBD,KAApB,CAAJ,EAAgC;AAC5B,aAAO,CAAC,CAAR;AACH;;AAED,WAAO,CAAP;AACH,GAxBc,CAAf;AA0BA,sBACI,oBAAC,iBAAD,QACKT,MAAM,CAACE,GAAP,CAAW,UAACC,KAAD,EAAQQ,KAAR;AAAA,wBACRhB,KAAK,CAACiB,YAAN,CAAmBT,KAAnB,EAA0B;AAAEU,MAAAA,GAAG,YAAKV,KAAK,CAACJ,KAAN,CAAYS,IAAjB,cAAyBG,KAAzB;AAAL,KAA1B,CADQ;AAAA,GAAX,CADL,CADJ;AAOH,CAlCM","sourcesContent":["import React from \"react\";\nimport { plugins } from \"@webiny/plugins\";\nimport { Routes as ReactRouterRoutes } from \"@webiny/react-router\";\nimport { RoutePlugin } from \"@webiny/app/types\";\n\ninterface RoutesProps {\n routes: JSX.Element[];\n}\n\nexport const Routes: React.FC<RoutesProps> = props => {\n const routes = [\n ...props.routes,\n // For backwards compatibility, we need to support the RoutePlugin routes as well.\n ...plugins.byType<RoutePlugin>(\"route\").map(({ route }) => route)\n ].sort((a, b) => {\n const pathA = a.props.path || \"*\";\n const pathB = b.props.path || \"*\";\n\n // This will sort paths at the very bottom of the list\n if (pathA === \"/\" && pathB === \"*\") {\n return -1;\n }\n\n // This will push * and / to the bottom of the list\n if (pathA === \"*\" || pathA === \"/\") {\n return 1;\n }\n\n // This will push * and / to the bottom of the list\n if ([\"*\", \"/\"].includes(pathB)) {\n return -1;\n }\n\n return 0;\n });\n\n return (\n <ReactRouterRoutes>\n {routes.map((route, index) =>\n React.cloneElement(route, { key: `${route.props.path}:${index}` })\n )}\n </ReactRouterRoutes>\n );\n};\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webiny/app-admin",
|
|
3
|
-
"version": "5.25.0-beta.
|
|
3
|
+
"version": "5.25.0-beta.2",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"description": "A collection of plugins that together form a complete admin interface, customizable and extensible with Webiny apps and plugins.",
|
|
6
6
|
"repository": {
|
|
@@ -13,23 +13,23 @@
|
|
|
13
13
|
"@apollo/react-common": "3.1.4",
|
|
14
14
|
"@apollo/react-components": "3.1.5",
|
|
15
15
|
"@apollo/react-hooks": "3.1.5",
|
|
16
|
-
"@babel/runtime": "7.17.
|
|
16
|
+
"@babel/runtime": "7.17.7",
|
|
17
17
|
"@editorjs/editorjs": "2.23.2",
|
|
18
18
|
"@emotion/core": "10.3.1",
|
|
19
19
|
"@emotion/styled": "10.3.0",
|
|
20
20
|
"@svgr/webpack": "6.2.1",
|
|
21
21
|
"@types/mime": "2.0.3",
|
|
22
22
|
"@types/react": "16.14.2",
|
|
23
|
-
"@webiny/app": "5.25.0-beta.
|
|
24
|
-
"@webiny/app-admin-core": "5.25.0-beta.
|
|
25
|
-
"@webiny/app-security": "5.25.0-beta.
|
|
26
|
-
"@webiny/form": "5.25.0-beta.
|
|
27
|
-
"@webiny/plugins": "5.25.0-beta.
|
|
28
|
-
"@webiny/react-router": "5.25.0-beta.
|
|
29
|
-
"@webiny/telemetry": "5.25.0-beta.
|
|
30
|
-
"@webiny/ui": "5.25.0-beta.
|
|
31
|
-
"@webiny/ui-composer": "5.25.0-beta.
|
|
32
|
-
"@webiny/validation": "5.25.0-beta.
|
|
23
|
+
"@webiny/app": "5.25.0-beta.2",
|
|
24
|
+
"@webiny/app-admin-core": "5.25.0-beta.2",
|
|
25
|
+
"@webiny/app-security": "5.25.0-beta.2",
|
|
26
|
+
"@webiny/form": "5.25.0-beta.2",
|
|
27
|
+
"@webiny/plugins": "5.25.0-beta.2",
|
|
28
|
+
"@webiny/react-router": "5.25.0-beta.2",
|
|
29
|
+
"@webiny/telemetry": "5.25.0-beta.2",
|
|
30
|
+
"@webiny/ui": "5.25.0-beta.2",
|
|
31
|
+
"@webiny/ui-composer": "5.25.0-beta.2",
|
|
32
|
+
"@webiny/validation": "5.25.0-beta.2",
|
|
33
33
|
"apollo-cache": "1.3.5",
|
|
34
34
|
"apollo-client": "2.6.10",
|
|
35
35
|
"apollo-link": "1.2.14",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"bytes": "3.1.2",
|
|
38
38
|
"classnames": "2.3.1",
|
|
39
39
|
"dataurl-to-blob": "0.0.1",
|
|
40
|
-
"dayjs": "1.
|
|
40
|
+
"dayjs": "1.11.0",
|
|
41
41
|
"dot-prop-immutable": "2.1.1",
|
|
42
42
|
"downshift": "3.4.8",
|
|
43
43
|
"emotion": "10.0.27",
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
"@types/bytes": "^3.1.1",
|
|
70
70
|
"@types/graphlib": "^2.1.8",
|
|
71
71
|
"@types/store": "^2.0.2",
|
|
72
|
-
"@webiny/cli": "^5.25.0-beta.
|
|
73
|
-
"@webiny/project-utils": "^5.25.0-beta.
|
|
72
|
+
"@webiny/cli": "^5.25.0-beta.2",
|
|
73
|
+
"@webiny/project-utils": "^5.25.0-beta.2",
|
|
74
74
|
"babel-plugin-emotion": "^9.2.8",
|
|
75
75
|
"babel-plugin-lodash": "^3.3.4",
|
|
76
76
|
"rimraf": "^3.0.2",
|
|
@@ -97,5 +97,5 @@
|
|
|
97
97
|
]
|
|
98
98
|
}
|
|
99
99
|
},
|
|
100
|
-
"gitHead": "
|
|
100
|
+
"gitHead": "ed2f22976af47aea0b6b5d638f8afdc39951b014"
|
|
101
101
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const SearchShortcut: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, keyof import("react").HTMLAttributes<HTMLDivElement>>, object>;
|
|
3
2
|
export declare const SearchBarWrapper: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, keyof import("react").HTMLAttributes<HTMLDivElement>>, object>;
|
|
4
3
|
export declare const SearchBarInputWrapper: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, keyof import("react").HTMLAttributes<HTMLDivElement>>, object>;
|
package/plugins/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const AddImageIconWrapper: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, keyof import("react").HTMLAttributes<HTMLDivElement>>, object>;
|
|
3
2
|
export declare const AddImageWrapper: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, keyof import("react").HTMLAttributes<HTMLDivElement>>, object>;
|
|
4
3
|
export declare const AddImageWrapperRound: import("@emotion/styled-base").StyledComponent<Pick<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Pick<Pick<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, keyof import("react").HTMLAttributes<HTMLDivElement>>, keyof import("react").HTMLAttributes<HTMLDivElement>> & {
|