@webiny/app-admin-ui 6.3.0-beta.4 → 6.4.0-beta.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.
- package/Dashboard/Welcome.js +29 -33
- package/Dashboard/Welcome.js.map +1 -1
- package/Dashboard/components/AssistanceWidget.js +51 -52
- package/Dashboard/components/AssistanceWidget.js.map +1 -1
- package/Dashboard/components/CommunityWidget.js +55 -63
- package/Dashboard/components/CommunityWidget.js.map +1 -1
- package/Dashboard/components/MissingPermissionsWidget.js +13 -14
- package/Dashboard/components/MissingPermissionsWidget.js.map +1 -1
- package/Dashboard/components/assets/github.js +14 -0
- package/Dashboard/components/assets/github.js.map +1 -0
- package/Dashboard/components/assets/slack.js +27 -0
- package/Dashboard/components/assets/slack.js.map +1 -0
- package/Dashboard/components/assets/x-twitter.js +18 -0
- package/Dashboard/components/assets/x-twitter.js.map +1 -0
- package/Dashboard/components/assets/youtube.js +28 -0
- package/Dashboard/components/assets/youtube.js.map +1 -0
- package/Dashboard/components/index.js +0 -2
- package/Dashboard.js +6 -7
- package/Dashboard.js.map +1 -1
- package/Dialog/DialogContainer.js +54 -66
- package/Dialog/DialogContainer.js.map +1 -1
- package/Dialog/DialogProvider.js +5 -8
- package/Dialog/DialogProvider.js.map +1 -1
- package/Dialog.js +5 -9
- package/Dialog.js.map +1 -1
- package/Layout.js +22 -30
- package/Layout.js.map +1 -1
- package/Logo.js +12 -16
- package/Logo.js.map +1 -1
- package/Navigation/Navigation.js +30 -34
- package/Navigation/Navigation.js.map +1 -1
- package/Navigation/SidebarMenuItems.js +32 -44
- package/Navigation/SidebarMenuItems.js.map +1 -1
- package/Navigation/SidebarProvider.js +21 -29
- package/Navigation/SidebarProvider.js.map +1 -1
- package/Navigation.js +6 -7
- package/Navigation.js.map +1 -1
- package/NotFound/notFound.js +297 -0
- package/NotFound/notFound.js.map +1 -0
- package/NotFound.js +17 -18
- package/NotFound.js.map +1 -1
- package/UserMenu/UserMenu.js +17 -25
- package/UserMenu/UserMenu.js.map +1 -1
- package/UserMenu/UserMenuHandle.js +33 -46
- package/UserMenu/UserMenuHandle.js.map +1 -1
- package/UserMenu/UserMenuItem.js +9 -12
- package/UserMenu/UserMenuItem.js.map +1 -1
- package/UserMenu/UserMenuLink.js +9 -12
- package/UserMenu/UserMenuLink.js.map +1 -1
- package/UserMenu/UserMenuSeparator.js +9 -9
- package/UserMenu/UserMenuSeparator.js.map +1 -1
- package/UserMenu.js +4 -5
- package/UserMenu.js.map +1 -1
- package/index.js +13 -14
- package/index.js.map +1 -1
- package/package.json +7 -8
- package/static/svg/github.08a73b00.svg +1 -0
- package/static/svg/notFound.e8b15981.svg +1 -0
- package/static/svg/slack.1b2ba162.svg +8 -0
- package/static/svg/x-twitter.46e7218c.svg +5 -0
- package/static/svg/youtube.3c232651.svg +11 -0
- package/Dashboard/components/index.js.map +0 -1
package/Dashboard/Welcome.js
CHANGED
|
@@ -1,37 +1,33 @@
|
|
|
1
|
-
import
|
|
1
|
+
import react from "react";
|
|
2
2
|
import { Grid, Heading } from "@webiny/admin-ui";
|
|
3
|
-
import { useSecurity } from "@webiny/app-admin";
|
|
4
|
-
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
30
|
-
className: "flex flex-col gap-lg"
|
|
31
|
-
}, widgets.filter(w => w.column === "right").map(widget => /*#__PURE__*/React.createElement(React.Fragment, {
|
|
32
|
-
key: widget.name
|
|
33
|
-
}, widget.element))))));
|
|
3
|
+
import { useAdminConfig, useSecurity } from "@webiny/app-admin";
|
|
4
|
+
const Welcome = ()=>{
|
|
5
|
+
const { identity } = useSecurity();
|
|
6
|
+
const { widgets } = useAdminConfig();
|
|
7
|
+
return /*#__PURE__*/ react.createElement("div", {
|
|
8
|
+
className: "my-xxl"
|
|
9
|
+
}, /*#__PURE__*/ react.createElement("div", {
|
|
10
|
+
className: "mb-3xl"
|
|
11
|
+
}, /*#__PURE__*/ react.createElement(Heading, {
|
|
12
|
+
level: 3
|
|
13
|
+
}, `Hi ${identity.displayName}, what are we doing today?`)), /*#__PURE__*/ react.createElement(Grid, {
|
|
14
|
+
gap: "spacious",
|
|
15
|
+
className: "max-w-[1200px]"
|
|
16
|
+
}, /*#__PURE__*/ react.createElement(Grid.Column, {
|
|
17
|
+
span: 6
|
|
18
|
+
}, /*#__PURE__*/ react.createElement("div", {
|
|
19
|
+
className: "flex flex-col gap-lg"
|
|
20
|
+
}, widgets.filter((w)=>"left" === w.column).map((widget)=>/*#__PURE__*/ react.createElement(react.Fragment, {
|
|
21
|
+
key: widget.name
|
|
22
|
+
}, widget.element)))), /*#__PURE__*/ react.createElement(Grid.Column, {
|
|
23
|
+
span: 6
|
|
24
|
+
}, /*#__PURE__*/ react.createElement("div", {
|
|
25
|
+
className: "flex flex-col gap-lg"
|
|
26
|
+
}, widgets.filter((w)=>"right" === w.column).map((widget)=>/*#__PURE__*/ react.createElement(react.Fragment, {
|
|
27
|
+
key: widget.name
|
|
28
|
+
}, widget.element))))));
|
|
34
29
|
};
|
|
35
|
-
|
|
30
|
+
const Dashboard_Welcome = Welcome;
|
|
31
|
+
export default Dashboard_Welcome;
|
|
36
32
|
|
|
37
33
|
//# sourceMappingURL=Welcome.js.map
|
package/Dashboard/Welcome.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"Dashboard/Welcome.js","sources":["../../src/Dashboard/Welcome.tsx"],"sourcesContent":["import React from \"react\";\nimport { Grid, Heading } from \"@webiny/admin-ui\";\nimport { useSecurity } from \"@webiny/app-admin\";\nimport { useAdminConfig } from \"@webiny/app-admin\";\n\nconst Welcome = () => {\n const { identity } = useSecurity();\n const { widgets } = useAdminConfig();\n\n return (\n <div className={\"my-xxl\"}>\n <div className={\"mb-3xl\"}>\n <Heading\n level={3}\n >{`Hi ${identity!.displayName}, what are we doing today?`}</Heading>\n </div>\n <Grid gap={\"spacious\"} className={\"max-w-[1200px]\"}>\n <Grid.Column span={6}>\n <div className={\"flex flex-col gap-lg\"}>\n {widgets\n .filter(w => w.column === \"left\")\n .map(widget => (\n <React.Fragment key={widget.name}>{widget.element}</React.Fragment>\n ))}\n </div>\n </Grid.Column>\n <Grid.Column span={6}>\n <div className={\"flex flex-col gap-lg\"}>\n {widgets\n .filter(w => w.column === \"right\")\n .map(widget => (\n <React.Fragment key={widget.name}>{widget.element}</React.Fragment>\n ))}\n </div>\n </Grid.Column>\n </Grid>\n </div>\n );\n};\n\nexport default Welcome;\n"],"names":["Welcome","identity","useSecurity","widgets","useAdminConfig","Heading","Grid","w","widget","React"],"mappings":";;;AAKA,MAAMA,UAAU;IACZ,MAAM,EAAEC,QAAQ,EAAE,GAAGC;IACrB,MAAM,EAAEC,OAAO,EAAE,GAAGC;IAEpB,OAAO,WAAP,GACI,oBAAC;QAAI,WAAW;qBACZ,oBAAC;QAAI,WAAW;qBACZ,oBAACC,SAAOA;QACJ,OAAO;OACT,CAAC,GAAG,EAAEJ,SAAU,WAAW,CAAC,0BAA0B,CAAC,kBAE7D,oBAACK,MAAIA;QAAC,KAAK;QAAY,WAAW;qBAC9B,oBAACA,KAAK,MAAM;QAAC,MAAM;qBACf,oBAAC;QAAI,WAAW;OACXH,QACI,MAAM,CAACI,CAAAA,IAAKA,AAAa,WAAbA,EAAE,MAAM,EACpB,GAAG,CAACC,CAAAA,SAAAA,WAAAA,GACD,oBAACC,MAAAA,QAAc;YAAC,KAAKD,OAAO,IAAI;WAAGA,OAAO,OAAO,oBAIjE,oBAACF,KAAK,MAAM;QAAC,MAAM;qBACf,oBAAC;QAAI,WAAW;OACXH,QACI,MAAM,CAACI,CAAAA,IAAKA,AAAa,YAAbA,EAAE,MAAM,EACpB,GAAG,CAACC,CAAAA,SAAAA,WAAAA,GACD,oBAACC,MAAAA,QAAc;YAAC,KAAKD,OAAO,IAAI;WAAGA,OAAO,OAAO;AAOjF;AAEA,0BAAeR"}
|
|
@@ -1,55 +1,54 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import { ReactComponent
|
|
4
|
-
import { ReactComponent as
|
|
1
|
+
import react from "react";
|
|
2
|
+
import { Link, List, Text, Widget } from "@webiny/admin-ui";
|
|
3
|
+
import { ReactComponent } from "@webiny/icons/help_outline.svg";
|
|
4
|
+
import { ReactComponent as arrow_forward_svg_ReactComponent } from "@webiny/icons/arrow_forward.svg";
|
|
5
5
|
import { SimpleLink } from "@webiny/app-admin";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
})
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
};
|
|
6
|
+
const AssistanceWidget = ()=>/*#__PURE__*/ react.createElement(Widget, {
|
|
7
|
+
variant: "light",
|
|
8
|
+
title: "Need some assistance?",
|
|
9
|
+
icon: /*#__PURE__*/ react.createElement(Widget.Icon, {
|
|
10
|
+
icon: /*#__PURE__*/ react.createElement(ReactComponent, null),
|
|
11
|
+
label: "Need some assistance?"
|
|
12
|
+
}),
|
|
13
|
+
padding: "md"
|
|
14
|
+
}, /*#__PURE__*/ react.createElement(List, {
|
|
15
|
+
variant: "container",
|
|
16
|
+
className: "flex flex-col gap-y-sm"
|
|
17
|
+
}, /*#__PURE__*/ react.createElement(List.Item, {
|
|
18
|
+
title: "Documentation",
|
|
19
|
+
description: "Explore the Webiny documentation and check out code examples and guides.",
|
|
20
|
+
actions: /*#__PURE__*/ react.createElement(react.Fragment, null, /*#__PURE__*/ react.createElement(SimpleLink, {
|
|
21
|
+
to: "https://www.webiny.com/docs",
|
|
22
|
+
target: "_blank",
|
|
23
|
+
rel: "noopener noreferrer"
|
|
24
|
+
}, /*#__PURE__*/ react.createElement(List.Item.Action, {
|
|
25
|
+
icon: /*#__PURE__*/ react.createElement(arrow_forward_svg_ReactComponent, null)
|
|
26
|
+
})))
|
|
27
|
+
}), /*#__PURE__*/ react.createElement(List.Item, {
|
|
28
|
+
title: "Contact us",
|
|
29
|
+
description: /*#__PURE__*/ react.createElement(Text, {
|
|
30
|
+
size: "sm",
|
|
31
|
+
className: "text-neutral-strong"
|
|
32
|
+
}, /*#__PURE__*/ react.createElement(Link, {
|
|
33
|
+
to: "https://www.webiny.com/forms/product-demo",
|
|
34
|
+
target: "_blank",
|
|
35
|
+
rel: "noopener noreferrer",
|
|
36
|
+
variant: "secondary",
|
|
37
|
+
underline: true
|
|
38
|
+
}, "Contact Sales"), ",", " ", /*#__PURE__*/ react.createElement(Link, {
|
|
39
|
+
to: "https://www.webiny.com/partners",
|
|
40
|
+
target: "_blank",
|
|
41
|
+
rel: "noopener noreferrer",
|
|
42
|
+
variant: "secondary",
|
|
43
|
+
underline: true
|
|
44
|
+
}, "Explore Partnerships"), " ", "or", " ", /*#__PURE__*/ react.createElement(Link, {
|
|
45
|
+
to: "https://www.webiny.com/slack",
|
|
46
|
+
target: "_blank",
|
|
47
|
+
rel: "noopener noreferrer",
|
|
48
|
+
variant: "secondary",
|
|
49
|
+
underline: true
|
|
50
|
+
}, "Slack us"), ".")
|
|
51
|
+
})));
|
|
52
|
+
export { AssistanceWidget };
|
|
54
53
|
|
|
55
54
|
//# sourceMappingURL=AssistanceWidget.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"Dashboard/components/AssistanceWidget.js","sources":["../../../src/Dashboard/components/AssistanceWidget.tsx"],"sourcesContent":["import React from \"react\";\nimport { Widget, List, Link, Text } from \"@webiny/admin-ui\";\nimport { ReactComponent as HelpIcon } from \"@webiny/icons/help_outline.svg\";\nimport { ReactComponent as ArrowForwardIcon } from \"@webiny/icons/arrow_forward.svg\";\nimport { SimpleLink } from \"@webiny/app-admin\";\n\nexport const AssistanceWidget = () => {\n return (\n <Widget\n variant=\"light\"\n title=\"Need some assistance?\"\n icon={<Widget.Icon icon={<HelpIcon />} label={\"Need some assistance?\"} />}\n padding=\"md\"\n >\n <List variant=\"container\" className=\"flex flex-col gap-y-sm\">\n <List.Item\n title=\"Documentation\"\n description=\"Explore the Webiny documentation and check out code examples and guides.\"\n actions={\n <>\n <SimpleLink\n to=\"https://www.webiny.com/docs\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n >\n <List.Item.Action icon={<ArrowForwardIcon />} />\n </SimpleLink>\n </>\n }\n />\n <List.Item\n title=\"Contact us\"\n description={\n <Text size={\"sm\"} className={\"text-neutral-strong\"}>\n <Link\n to={\"https://www.webiny.com/forms/product-demo\"}\n target={\"_blank\"}\n rel={\"noopener noreferrer\"}\n variant={\"secondary\"}\n underline\n >\n Contact Sales\n </Link>\n ,{\" \"}\n <Link\n to={\"https://www.webiny.com/partners\"}\n target={\"_blank\"}\n rel={\"noopener noreferrer\"}\n variant={\"secondary\"}\n underline\n >\n Explore Partnerships\n </Link>{\" \"}\n or{\" \"}\n <Link\n to={\"https://www.webiny.com/slack\"}\n target={\"_blank\"}\n rel={\"noopener noreferrer\"}\n variant={\"secondary\"}\n underline\n >\n Slack us\n </Link>\n .\n </Text>\n }\n />\n </List>\n </Widget>\n );\n};\n"],"names":["AssistanceWidget","Widget","HelpIcon","List","SimpleLink","ArrowForwardIcon","Text","Link"],"mappings":";;;;;AAMO,MAAMA,mBAAmB,IACrB,WAAP,GACI,oBAACC,QAAMA;QACH,SAAQ;QACR,OAAM;QACN,oBAAM,oBAACA,OAAO,IAAI;YAAC,oBAAM,oBAACC,gBAAQA;YAAK,OAAO;;QAC9C,SAAQ;qBAER,oBAACC,MAAIA;QAAC,SAAQ;QAAY,WAAU;qBAChC,oBAACA,KAAK,IAAI;QACN,OAAM;QACN,aAAY;QACZ,uBACI,wDACI,oBAACC,YAAUA;YACP,IAAG;YACH,QAAO;YACP,KAAI;yBAEJ,oBAACD,KAAK,IAAI,CAAC,MAAM;YAAC,oBAAM,oBAACE,kCAAgBA;;sBAKzD,oBAACF,KAAK,IAAI;QACN,OAAM;QACN,2BACI,oBAACG,MAAIA;YAAC,MAAM;YAAM,WAAW;yBACzB,oBAACC,MAAIA;YACD,IAAI;YACJ,QAAQ;YACR,KAAK;YACL,SAAS;YACT;WACH,kBAEM,KACL,mBACF,oBAACA,MAAIA;YACD,IAAI;YACJ,QAAQ;YACR,KAAK;YACL,SAAS;YACT;WACH,yBAEO,KAAI,MACT,mBACH,oBAACA,MAAIA;YACD,IAAI;YACJ,QAAQ;YACR,KAAK;YACL,SAAS;YACT;WACH,aAEM"}
|
|
@@ -1,66 +1,58 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import react from "react";
|
|
2
|
+
import { Icon, Text, Widget } from "@webiny/admin-ui";
|
|
3
3
|
import { SimpleLink } from "@webiny/app-admin";
|
|
4
|
-
|
|
5
|
-
import { ReactComponent as
|
|
6
|
-
import { ReactComponent as
|
|
7
|
-
import { ReactComponent as
|
|
8
|
-
import { ReactComponent as
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
label: "YouTube",
|
|
58
|
-
icon: /*#__PURE__*/React.createElement(YouTubeIcon, null)
|
|
59
|
-
}), /*#__PURE__*/React.createElement(SocialLink, {
|
|
60
|
-
link: "https://x.com/WebinyCMS",
|
|
61
|
-
label: "X.com",
|
|
62
|
-
icon: /*#__PURE__*/React.createElement(TwitterIcon, null)
|
|
63
|
-
})));
|
|
64
|
-
};
|
|
4
|
+
import { ReactComponent } from "./assets/youtube.js";
|
|
5
|
+
import { ReactComponent as github_js_ReactComponent } from "./assets/github.js";
|
|
6
|
+
import { ReactComponent as slack_js_ReactComponent } from "./assets/slack.js";
|
|
7
|
+
import { ReactComponent as x_twitter_js_ReactComponent } from "./assets/x-twitter.js";
|
|
8
|
+
import { ReactComponent as people_alt_svg_ReactComponent } from "@webiny/icons/people_alt.svg";
|
|
9
|
+
const SocialLink = ({ link, label, icon })=>/*#__PURE__*/ react.createElement("div", {
|
|
10
|
+
className: "w-3xl bg-neutral-base rounded-md hover:opacity-80 transition-opacity"
|
|
11
|
+
}, /*#__PURE__*/ react.createElement(SimpleLink, {
|
|
12
|
+
to: link,
|
|
13
|
+
className: "no-underline!",
|
|
14
|
+
target: "_blank",
|
|
15
|
+
rel: "noopener noreferrer"
|
|
16
|
+
}, /*#__PURE__*/ react.createElement("div", {
|
|
17
|
+
className: "px-xs pt-sm-extra pb-sm text-center"
|
|
18
|
+
}, /*#__PURE__*/ react.createElement(Icon, {
|
|
19
|
+
label: `${label} icon`,
|
|
20
|
+
icon: icon,
|
|
21
|
+
size: "lg",
|
|
22
|
+
color: "inherit",
|
|
23
|
+
className: "mx-auto mb-sm"
|
|
24
|
+
}), /*#__PURE__*/ react.createElement(Text, {
|
|
25
|
+
size: "sm",
|
|
26
|
+
className: "text-neutral-strong"
|
|
27
|
+
}, label))));
|
|
28
|
+
const CommunityWidget = ()=>/*#__PURE__*/ react.createElement(Widget, {
|
|
29
|
+
icon: /*#__PURE__*/ react.createElement(Widget.Icon, {
|
|
30
|
+
icon: /*#__PURE__*/ react.createElement(people_alt_svg_ReactComponent, null),
|
|
31
|
+
label: "Join our community"
|
|
32
|
+
}),
|
|
33
|
+
variant: "light",
|
|
34
|
+
title: "Join our community",
|
|
35
|
+
description: "Get to know Webiny team members, discuss new ideas and get help:",
|
|
36
|
+
padding: "md"
|
|
37
|
+
}, /*#__PURE__*/ react.createElement("div", {
|
|
38
|
+
className: "flex justify-start items-stretch gap-md"
|
|
39
|
+
}, /*#__PURE__*/ react.createElement(SocialLink, {
|
|
40
|
+
link: "https://github.com/webiny/webiny-js",
|
|
41
|
+
label: "GitHub",
|
|
42
|
+
icon: /*#__PURE__*/ react.createElement(github_js_ReactComponent, null)
|
|
43
|
+
}), /*#__PURE__*/ react.createElement(SocialLink, {
|
|
44
|
+
link: "https://www.webiny.com/slack",
|
|
45
|
+
label: "Slack",
|
|
46
|
+
icon: /*#__PURE__*/ react.createElement(slack_js_ReactComponent, null)
|
|
47
|
+
}), /*#__PURE__*/ react.createElement(SocialLink, {
|
|
48
|
+
link: "https://youtube.com/webiny",
|
|
49
|
+
label: "YouTube",
|
|
50
|
+
icon: /*#__PURE__*/ react.createElement(ReactComponent, null)
|
|
51
|
+
}), /*#__PURE__*/ react.createElement(SocialLink, {
|
|
52
|
+
link: "https://x.com/WebinyCMS",
|
|
53
|
+
label: "X.com",
|
|
54
|
+
icon: /*#__PURE__*/ react.createElement(x_twitter_js_ReactComponent, null)
|
|
55
|
+
})));
|
|
56
|
+
export { CommunityWidget };
|
|
65
57
|
|
|
66
58
|
//# sourceMappingURL=CommunityWidget.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"Dashboard/components/CommunityWidget.js","sources":["../../../src/Dashboard/components/CommunityWidget.tsx"],"sourcesContent":["import React from \"react\";\nimport { Widget, Icon, Text } from \"@webiny/admin-ui\";\nimport { SimpleLink } from \"@webiny/app-admin\";\n// Icons\nimport { ReactComponent as YouTubeIcon } from \"./assets/youtube.svg\";\nimport { ReactComponent as GithubIcon } from \"./assets/github.svg\";\nimport { ReactComponent as SlackIcon } from \"./assets/slack.svg\";\nimport { ReactComponent as TwitterIcon } from \"./assets/x-twitter.svg\";\nimport { ReactComponent as PeopleAltIcon } from \"@webiny/icons/people_alt.svg\";\n\ninterface SocialLinkProps {\n link: string;\n label: string;\n icon: React.ReactElement;\n}\n\nconst SocialLink = ({ link, label, icon }: SocialLinkProps) => {\n return (\n <div className={\"w-3xl bg-neutral-base rounded-md hover:opacity-80 transition-opacity\"}>\n <SimpleLink\n to={link}\n className={\"no-underline!\"}\n target={\"_blank\"}\n rel={\"noopener noreferrer\"}\n >\n <div className={\"px-xs pt-sm-extra pb-sm text-center\"}>\n <Icon\n label={`${label} icon`}\n icon={icon}\n size={\"lg\"}\n color={\"inherit\"}\n className={\"mx-auto mb-sm\"}\n />\n <Text size={\"sm\"} className={\"text-neutral-strong\"}>\n {label}\n </Text>\n </div>\n </SimpleLink>\n </div>\n );\n};\n\nexport const CommunityWidget = () => {\n return (\n <Widget\n icon={<Widget.Icon icon={<PeopleAltIcon />} label={\"Join our community\"} />}\n variant=\"light\"\n title=\"Join our community\"\n description=\"Get to know Webiny team members, discuss new ideas and get help:\"\n padding=\"md\"\n >\n <div className={\"flex justify-start items-stretch gap-md\"}>\n <SocialLink\n link={\"https://github.com/webiny/webiny-js\"}\n label={\"GitHub\"}\n icon={<GithubIcon />}\n />\n <SocialLink\n link={\"https://www.webiny.com/slack\"}\n label={\"Slack\"}\n icon={<SlackIcon />}\n />\n <SocialLink\n link={\"https://youtube.com/webiny\"}\n label={\"YouTube\"}\n icon={<YouTubeIcon />}\n />\n <SocialLink\n link={\"https://x.com/WebinyCMS\"}\n label={\"X.com\"}\n icon={<TwitterIcon />}\n />\n </div>\n </Widget>\n );\n};\n"],"names":["SocialLink","link","label","icon","SimpleLink","Icon","Text","CommunityWidget","Widget","PeopleAltIcon","GithubIcon","SlackIcon","YouTubeIcon","TwitterIcon"],"mappings":";;;;;;;;AAgBA,MAAMA,aAAa,CAAC,EAAEC,IAAI,EAAEC,KAAK,EAAEC,IAAI,EAAmB,GAC/C,WAAP,GACI,oBAAC;QAAI,WAAW;qBACZ,oBAACC,YAAUA;QACP,IAAIH;QACJ,WAAW;QACX,QAAQ;QACR,KAAK;qBAEL,oBAAC;QAAI,WAAW;qBACZ,oBAACI,MAAIA;QACD,OAAO,GAAGH,MAAM,KAAK,CAAC;QACtB,MAAMC;QACN,MAAM;QACN,OAAO;QACP,WAAW;sBAEf,oBAACG,MAAIA;QAAC,MAAM;QAAM,WAAW;OACxBJ;AAQlB,MAAMK,kBAAkB,IACpB,WAAP,GACI,oBAACC,QAAMA;QACH,oBAAM,oBAACA,OAAO,IAAI;YAAC,oBAAM,oBAACC,+BAAaA;YAAK,OAAO;;QACnD,SAAQ;QACR,OAAM;QACN,aAAY;QACZ,SAAQ;qBAER,oBAAC;QAAI,WAAW;qBACZ,oBAACT,YAAUA;QACP,MAAM;QACN,OAAO;QACP,oBAAM,oBAACU,0BAAUA;sBAErB,oBAACV,YAAUA;QACP,MAAM;QACN,OAAO;QACP,oBAAM,oBAACW,yBAASA;sBAEpB,oBAACX,YAAUA;QACP,MAAM;QACN,OAAO;QACP,oBAAM,oBAACY,gBAAWA;sBAEtB,oBAACZ,YAAUA;QACP,MAAM;QACN,OAAO;QACP,oBAAM,oBAACa,6BAAWA"}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { ReactComponent
|
|
1
|
+
import react from "react";
|
|
2
|
+
import { ReactComponent } from "@webiny/icons/visibility_off.svg";
|
|
3
3
|
import { Heading, Icon, Text } from "@webiny/admin-ui";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
};
|
|
4
|
+
const MissingPermissionsWidget = ()=>/*#__PURE__*/ react.createElement("div", {
|
|
5
|
+
className: "w-full h-full flex flex-col items-center justify-center text-center bg-neutral-light rounded-xl px-xxl py-lg gap-sm"
|
|
6
|
+
}, /*#__PURE__*/ react.createElement("div", null, /*#__PURE__*/ react.createElement(Icon, {
|
|
7
|
+
icon: /*#__PURE__*/ react.createElement(ReactComponent, null),
|
|
8
|
+
label: "Access permission required",
|
|
9
|
+
color: "accent",
|
|
10
|
+
size: "lg"
|
|
11
|
+
})), /*#__PURE__*/ react.createElement(Heading, {
|
|
12
|
+
level: 4
|
|
13
|
+
}, "Access permission required"), /*#__PURE__*/ react.createElement(Text, null, "It seems you do not have access to Webiny apps. Please contact the administrator to set up your Webiny account."));
|
|
14
|
+
export { MissingPermissionsWidget };
|
|
16
15
|
|
|
17
16
|
//# sourceMappingURL=MissingPermissionsWidget.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"Dashboard/components/MissingPermissionsWidget.js","sources":["../../../src/Dashboard/components/MissingPermissionsWidget.tsx"],"sourcesContent":["import React from \"react\";\nimport { ReactComponent as VisibilityOff } from \"@webiny/icons/visibility_off.svg\";\nimport { Heading, Icon, Text } from \"@webiny/admin-ui\";\n\nexport const MissingPermissionsWidget = () => {\n return (\n <div className=\"w-full h-full flex flex-col items-center justify-center text-center bg-neutral-light rounded-xl px-xxl py-lg gap-sm\">\n <div>\n <Icon\n icon={<VisibilityOff />}\n label={\"Access permission required\"}\n color={\"accent\"}\n size={\"lg\"}\n />\n </div>\n <Heading level={4}>{\"Access permission required\"}</Heading>\n <Text>\n {\n \"It seems you do not have access to Webiny apps. Please contact the administrator to set up your Webiny account.\"\n }\n </Text>\n </div>\n );\n};\n"],"names":["MissingPermissionsWidget","Icon","VisibilityOff","Heading","Text"],"mappings":";;;AAIO,MAAMA,2BAA2B,IAC7B,WAAP,GACI,oBAAC;QAAI,WAAU;qBACX,oBAAC,2BACG,oBAACC,MAAIA;QACD,oBAAM,oBAACC,gBAAaA;QACpB,OAAO;QACP,OAAO;QACP,MAAM;uBAGd,oBAACC,SAAOA;QAAC,OAAO;OAAI,6CACpB,oBAACC,MAAIA,MAEG"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import __rslib_svgr_url__0__ from "../../../static/svg/github.08a73b00.svg";
|
|
2
|
+
import * as __rspack_external_react from "react";
|
|
3
|
+
const SvgGithub = (props)=>/*#__PURE__*/ __rspack_external_react.createElement("svg", {
|
|
4
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
+
viewBox: "0 0 496 512",
|
|
6
|
+
...props
|
|
7
|
+
}, /*#__PURE__*/ __rspack_external_react.createElement("path", {
|
|
8
|
+
d: "M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6m-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3m44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9M244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8M97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1m-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7m32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1m-11.4-14.7c-1.6 1-1.6 3.6 0 5.9s4.3 3.3 5.6 2.3c1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2"
|
|
9
|
+
}));
|
|
10
|
+
const github = __rslib_svgr_url__0__;
|
|
11
|
+
export default github;
|
|
12
|
+
export { SvgGithub as ReactComponent };
|
|
13
|
+
|
|
14
|
+
//# sourceMappingURL=github.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Dashboard/components/assets/github.js","sources":["../../../../src/Dashboard/components/assets/github.svg"],"sourcesContent":["import * as React from \"react\";\nconst SvgGithub = props => <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 496 512\" {...props}><path d=\"M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6m-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3m44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9M244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8M97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1m-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7m32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1m-11.4-14.7c-1.6 1-1.6 3.6 0 5.9s4.3 3.3 5.6 2.3c1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2\" /></svg>;\nexport { SvgGithub as ReactComponent };\nexport default \"__RSLIB_SVGR_AUTO_PUBLIC_PATH__static/svg/github.08a73b00.svg\";"],"names":["SvgGithub","props"],"mappings":";;AACA,MAAMA,YAAYC,CAAAA,QAAAA,WAAAA,GAAS,sCAAC;QAAI,OAAM;QAA6B,SAAQ;QAAe,GAAGA,KAAK;qBAAE,sCAAC;QAAK,GAAE;;AAE5G"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import __rslib_svgr_url__0__ from "../../../static/svg/slack.1b2ba162.svg";
|
|
2
|
+
import * as __rspack_external_react from "react";
|
|
3
|
+
const SvgSlack = (props)=>/*#__PURE__*/ __rspack_external_react.createElement("svg", {
|
|
4
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
+
width: 20,
|
|
6
|
+
height: 20,
|
|
7
|
+
fill: "none",
|
|
8
|
+
viewBox: "0 0 20 20",
|
|
9
|
+
...props
|
|
10
|
+
}, /*#__PURE__*/ __rspack_external_react.createElement("path", {
|
|
11
|
+
fill: "#2EB67D",
|
|
12
|
+
d: "M17.875 9.25A1.875 1.875 0 1 0 16 7.375V9.25zm-5.25 0c1.036 0 1.875-.84 1.875-1.875v-5.25a1.875 1.875 0 0 0-3.75 0v5.25c0 1.035.84 1.875 1.875 1.875"
|
|
13
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("path", {
|
|
14
|
+
fill: "#E01E5A",
|
|
15
|
+
d: "M2.125 10.75A1.875 1.875 0 1 0 4 12.625V10.75zm5.25 0c-1.036 0-1.875.84-1.875 1.875v5.25a1.875 1.875 0 1 0 3.75 0v-5.25c0-1.035-.84-1.875-1.875-1.875"
|
|
16
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("path", {
|
|
17
|
+
fill: "#ECB22E",
|
|
18
|
+
d: "M10.75 17.875A1.875 1.875 0 1 0 12.625 16H10.75zm0-5.25c0 1.036.84 1.875 1.875 1.875h5.25a1.875 1.875 0 1 0 0-3.75h-5.25c-1.035 0-1.875.84-1.875 1.875"
|
|
19
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("path", {
|
|
20
|
+
fill: "#36C5F0",
|
|
21
|
+
d: "M9.25 2.125A1.875 1.875 0 1 0 7.375 4H9.25zm0 5.25c0-1.036-.84-1.875-1.875-1.875h-5.25a1.875 1.875 0 1 0 0 3.75h5.25c1.035 0 1.875-.84 1.875-1.875"
|
|
22
|
+
}));
|
|
23
|
+
const slack = __rslib_svgr_url__0__;
|
|
24
|
+
export default slack;
|
|
25
|
+
export { SvgSlack as ReactComponent };
|
|
26
|
+
|
|
27
|
+
//# sourceMappingURL=slack.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Dashboard/components/assets/slack.js","sources":["../../../../src/Dashboard/components/assets/slack.svg"],"sourcesContent":["import * as React from \"react\";\nconst SvgSlack = props => <svg xmlns=\"http://www.w3.org/2000/svg\" width={20} height={20} fill=\"none\" viewBox=\"0 0 20 20\" {...props}><path fill=\"#2EB67D\" d=\"M17.875 9.25A1.875 1.875 0 1 0 16 7.375V9.25zm-5.25 0c1.036 0 1.875-.84 1.875-1.875v-5.25a1.875 1.875 0 0 0-3.75 0v5.25c0 1.035.84 1.875 1.875 1.875\" /><path fill=\"#E01E5A\" d=\"M2.125 10.75A1.875 1.875 0 1 0 4 12.625V10.75zm5.25 0c-1.036 0-1.875.84-1.875 1.875v5.25a1.875 1.875 0 1 0 3.75 0v-5.25c0-1.035-.84-1.875-1.875-1.875\" /><path fill=\"#ECB22E\" d=\"M10.75 17.875A1.875 1.875 0 1 0 12.625 16H10.75zm0-5.25c0 1.036.84 1.875 1.875 1.875h5.25a1.875 1.875 0 1 0 0-3.75h-5.25c-1.035 0-1.875.84-1.875 1.875\" /><path fill=\"#36C5F0\" d=\"M9.25 2.125A1.875 1.875 0 1 0 7.375 4H9.25zm0 5.25c0-1.036-.84-1.875-1.875-1.875h-5.25a1.875 1.875 0 1 0 0 3.75h5.25c1.035 0 1.875-.84 1.875-1.875\" /></svg>;\nexport { SvgSlack as ReactComponent };\nexport default \"__RSLIB_SVGR_AUTO_PUBLIC_PATH__static/svg/slack.1b2ba162.svg\";"],"names":["SvgSlack","props"],"mappings":";;AACA,MAAMA,WAAWC,CAAAA,QAAAA,WAAAA,GAAS,sCAAC;QAAI,OAAM;QAA6B,OAAO;QAAI,QAAQ;QAAI,MAAK;QAAO,SAAQ;QAAa,GAAGA,KAAK;qBAAE,sCAAC;QAAK,MAAK;QAAU,GAAE;sBAAyJ,sCAAC;QAAK,MAAK;QAAU,GAAE;sBAA0J,sCAAC;QAAK,MAAK;QAAU,GAAE;sBAA2J,sCAAC;QAAK,MAAK;QAAU,GAAE;;AAE9qB"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import __rslib_svgr_url__0__ from "../../../static/svg/x-twitter.46e7218c.svg";
|
|
2
|
+
import * as __rspack_external_react from "react";
|
|
3
|
+
const SvgXTwitter = (props)=>/*#__PURE__*/ __rspack_external_react.createElement("svg", {
|
|
4
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
+
width: 24,
|
|
6
|
+
height: 24,
|
|
7
|
+
fill: "none",
|
|
8
|
+
viewBox: "0 0 24 24",
|
|
9
|
+
...props
|
|
10
|
+
}, /*#__PURE__*/ __rspack_external_react.createElement("path", {
|
|
11
|
+
fill: "#000",
|
|
12
|
+
d: "M18.326 1.904H21.7l-7.37 8.423L23 21.79h-6.789l-5.317-6.952L4.81 21.79H1.434l7.883-9.01L1 1.904h6.961l4.806 6.354zM17.142 19.77h1.87L6.945 3.817H4.94z"
|
|
13
|
+
}));
|
|
14
|
+
const x_twitter = __rslib_svgr_url__0__;
|
|
15
|
+
export default x_twitter;
|
|
16
|
+
export { SvgXTwitter as ReactComponent };
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=x-twitter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Dashboard/components/assets/x-twitter.js","sources":["../../../../src/Dashboard/components/assets/x-twitter.svg"],"sourcesContent":["import * as React from \"react\";\nconst SvgXTwitter = props => <svg xmlns=\"http://www.w3.org/2000/svg\" width={24} height={24} fill=\"none\" viewBox=\"0 0 24 24\" {...props}><path fill=\"#000\" d=\"M18.326 1.904H21.7l-7.37 8.423L23 21.79h-6.789l-5.317-6.952L4.81 21.79H1.434l7.883-9.01L1 1.904h6.961l4.806 6.354zM17.142 19.77h1.87L6.945 3.817H4.94z\" /></svg>;\nexport { SvgXTwitter as ReactComponent };\nexport default \"__RSLIB_SVGR_AUTO_PUBLIC_PATH__static/svg/x-twitter.46e7218c.svg\";"],"names":["SvgXTwitter","props"],"mappings":";;AACA,MAAMA,cAAcC,CAAAA,QAAAA,WAAAA,GAAS,sCAAC;QAAI,OAAM;QAA6B,OAAO;QAAI,QAAQ;QAAI,MAAK;QAAO,SAAQ;QAAa,GAAGA,KAAK;qBAAE,sCAAC;QAAK,MAAK;QAAO,GAAE;;AAE3J"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import __rslib_svgr_url__0__ from "../../../static/svg/youtube.3c232651.svg";
|
|
2
|
+
import * as __rspack_external_react from "react";
|
|
3
|
+
const SvgYoutube = (props)=>/*#__PURE__*/ __rspack_external_react.createElement("svg", {
|
|
4
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
+
width: 24,
|
|
6
|
+
height: 24,
|
|
7
|
+
fill: "none",
|
|
8
|
+
viewBox: "0 0 24 24",
|
|
9
|
+
...props
|
|
10
|
+
}, /*#__PURE__*/ __rspack_external_react.createElement("g", {
|
|
11
|
+
clipPath: "url(#youtube_svg__a)"
|
|
12
|
+
}, /*#__PURE__*/ __rspack_external_react.createElement("path", {
|
|
13
|
+
fill: "#FF0302",
|
|
14
|
+
d: "M23.522 6.185A3.02 3.02 0 0 0 21.4 4.05c-1.876-.505-9.376-.505-9.376-.505s-7.5 0-9.376.505A3.02 3.02 0 0 0 .526 6.185C.024 8.07.024 12 .024 12s0 3.93.502 5.815a3.02 3.02 0 0 0 2.122 2.135c1.876.505 9.376.505 9.376.505s7.5 0 9.376-.505a3.02 3.02 0 0 0 2.122-2.135c.502-1.885.502-5.815.502-5.815s0-3.93-.502-5.815"
|
|
15
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("path", {
|
|
16
|
+
fill: "#FEFEFE",
|
|
17
|
+
d: "M9.57 15.569V8.43L15.841 12z"
|
|
18
|
+
})), /*#__PURE__*/ __rspack_external_react.createElement("defs", null, /*#__PURE__*/ __rspack_external_react.createElement("clipPath", {
|
|
19
|
+
id: "youtube_svg__a"
|
|
20
|
+
}, /*#__PURE__*/ __rspack_external_react.createElement("path", {
|
|
21
|
+
fill: "#fff",
|
|
22
|
+
d: "M0 0h24v24H0z"
|
|
23
|
+
}))));
|
|
24
|
+
const youtube = __rslib_svgr_url__0__;
|
|
25
|
+
export default youtube;
|
|
26
|
+
export { SvgYoutube as ReactComponent };
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=youtube.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Dashboard/components/assets/youtube.js","sources":["../../../../src/Dashboard/components/assets/youtube.svg"],"sourcesContent":["import * as React from \"react\";\nconst SvgYoutube = props => <svg xmlns=\"http://www.w3.org/2000/svg\" width={24} height={24} fill=\"none\" viewBox=\"0 0 24 24\" {...props}><g clipPath=\"url(#youtube_svg__a)\"><path fill=\"#FF0302\" d=\"M23.522 6.185A3.02 3.02 0 0 0 21.4 4.05c-1.876-.505-9.376-.505-9.376-.505s-7.5 0-9.376.505A3.02 3.02 0 0 0 .526 6.185C.024 8.07.024 12 .024 12s0 3.93.502 5.815a3.02 3.02 0 0 0 2.122 2.135c1.876.505 9.376.505 9.376.505s7.5 0 9.376-.505a3.02 3.02 0 0 0 2.122-2.135c.502-1.885.502-5.815.502-5.815s0-3.93-.502-5.815\" /><path fill=\"#FEFEFE\" d=\"M9.57 15.569V8.43L15.841 12z\" /></g><defs><clipPath id=\"youtube_svg__a\"><path fill=\"#fff\" d=\"M0 0h24v24H0z\" /></clipPath></defs></svg>;\nexport { SvgYoutube as ReactComponent };\nexport default \"__RSLIB_SVGR_AUTO_PUBLIC_PATH__static/svg/youtube.3c232651.svg\";"],"names":["SvgYoutube","props"],"mappings":";;AACA,MAAMA,aAAaC,CAAAA,QAAAA,WAAAA,GAAS,sCAAC;QAAI,OAAM;QAA6B,OAAO;QAAI,QAAQ;QAAI,MAAK;QAAO,SAAQ;QAAa,GAAGA,KAAK;qBAAE,sCAAC;QAAE,UAAS;qBAAuB,sCAAC;QAAK,MAAK;QAAU,GAAE;sBAA4T,sCAAC;QAAK,MAAK;QAAU,GAAE;uBAAqC,sCAAC,4BAAK,sCAAC;QAAS,IAAG;qBAAiB,sCAAC;QAAK,MAAK;QAAO,GAAE;;AAEhnB"}
|
package/Dashboard.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { CenteredView, DashboardRenderer } from "@webiny/app-admin";
|
|
1
|
+
import { CenteredView, DashboardRenderer as app_admin_DashboardRenderer } from "@webiny/app-admin";
|
|
3
2
|
import Welcome from "./Dashboard/Welcome.js";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
3
|
+
import * as __rspack_external_react from "react";
|
|
4
|
+
const Dashboard = app_admin_DashboardRenderer.createDecorator(()=>function() {
|
|
5
|
+
return /*#__PURE__*/ __rspack_external_react.createElement(CenteredView, null, /*#__PURE__*/ __rspack_external_react.createElement(Welcome, null));
|
|
6
|
+
});
|
|
7
|
+
export { Dashboard };
|
|
9
8
|
|
|
10
9
|
//# sourceMappingURL=Dashboard.js.map
|
package/Dashboard.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"Dashboard.js","sources":["../src/Dashboard.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { CenteredView, DashboardRenderer } from \"@webiny/app-admin\";\nimport Welcome from \"./Dashboard/Welcome.js\";\n\nexport const Dashboard = DashboardRenderer.createDecorator(() => {\n return function DashboardRenderer() {\n return (\n <CenteredView>\n <Welcome />\n </CenteredView>\n );\n };\n});\n"],"names":["Dashboard","DashboardRenderer","CenteredView","Welcome"],"mappings":";;;AAIO,MAAMA,YAAYC,4BAAAA,eAAiC,CAAC,IAChD;QACH,OAAO,WAAP,GACI,sCAACC,cAAYA,MAAAA,WAAAA,GACT,sCAACC,SAAOA;IAGpB"}
|