@shopify/cli-hydrogen 5.2.0 → 5.2.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/dist/commands/hydrogen/dev.js +1 -2
- package/dist/commands/hydrogen/generate/route.test.js +0 -1
- package/dist/commands/hydrogen/init.js +3 -3
- package/dist/commands/hydrogen/preview.js +1 -2
- package/dist/generator-templates/starter/app/entry.server.tsx +9 -1
- package/dist/generator-templates/starter/app/root.tsx +9 -6
- package/dist/generator-templates/starter/app/routes/blogs._index.tsx +1 -1
- package/dist/generator-templates/starter/app/routes/collections.$handle.tsx +1 -1
- package/dist/generator-templates/starter/package.json +5 -5
- package/dist/generator-templates/starter/storefrontapi.generated.d.ts +2 -2
- package/dist/generator-templates/starter/tsconfig.json +1 -0
- package/dist/lib/file.js +1 -1
- package/dist/lib/flags.js +3 -3
- package/dist/lib/format-code.js +4 -4
- package/dist/lib/graphql/admin/client.js +18 -0
- package/dist/lib/graphql/admin/client.test.js +28 -3
- package/dist/lib/mini-oxygen.js +1 -0
- package/dist/lib/setups/css/index.js +4 -2
- package/dist/lib/setups/routes/generate.js +11 -28
- package/dist/lib/setups/routes/generate.test.js +1 -3
- package/dist/lib/transpile-ts.js +4 -3
- package/dist/virtual-routes/components/HydrogenLogoBaseBW.jsx +22 -19
- package/dist/virtual-routes/components/HydrogenLogoBaseColor.jsx +37 -33
- package/dist/virtual-routes/components/IconBanner.jsx +282 -279
- package/dist/virtual-routes/components/IconDiscord.jsx +11 -10
- package/dist/virtual-routes/components/IconError.jsx +51 -48
- package/dist/virtual-routes/components/IconGithub.jsx +13 -12
- package/dist/virtual-routes/components/IconTwitter.jsx +11 -10
- package/dist/virtual-routes/components/Layout.jsx +2 -1
- package/dist/virtual-routes/routes/index.jsx +194 -105
- package/dist/virtual-routes/virtual-root.jsx +62 -8
- package/oclif.manifest.json +3 -3
- package/package.json +4 -4
|
@@ -1,42 +1,46 @@
|
|
|
1
|
-
import
|
|
2
|
-
const HydrogenLogoBaseColor = (props) => /* @__PURE__ */
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
const HydrogenLogoBaseColor = (props) => /* @__PURE__ */ jsxs(
|
|
3
3
|
"svg",
|
|
4
4
|
{
|
|
5
5
|
width: 76,
|
|
6
6
|
height: 81,
|
|
7
7
|
fill: "none",
|
|
8
8
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9
|
-
...props
|
|
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
|
-
|
|
9
|
+
...props,
|
|
10
|
+
children: [
|
|
11
|
+
/* @__PURE__ */ jsx(
|
|
12
|
+
"path",
|
|
13
|
+
{
|
|
14
|
+
d: "M37.817 80.149 0 60.057l12.934-6.817 14.561 7.733 12.218-6.441-14.561-7.733 12.933-6.833 37.818 20.091-12.934 6.817-13.757-7.307-12.236 6.457 13.775 7.308-12.934 6.817Z",
|
|
15
|
+
fill: "#000"
|
|
16
|
+
}
|
|
17
|
+
),
|
|
18
|
+
/* @__PURE__ */ jsx(
|
|
19
|
+
"path",
|
|
20
|
+
{
|
|
21
|
+
d: "M37.818 40.183 0 20.092l12.934-6.818 14.562 7.733 12.218-6.441-14.562-7.733L38.086 0l37.817 20.091-12.934 6.817-13.756-7.307-12.236 6.457 13.774 7.308-12.933 6.817Z",
|
|
22
|
+
fill: "url(#a)"
|
|
23
|
+
}
|
|
24
|
+
),
|
|
25
|
+
/* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsxs(
|
|
26
|
+
"linearGradient",
|
|
27
|
+
{
|
|
28
|
+
id: "a",
|
|
29
|
+
x1: 74.48,
|
|
30
|
+
y1: 21.654,
|
|
31
|
+
x2: 18.735,
|
|
32
|
+
y2: 51.694,
|
|
33
|
+
gradientUnits: "userSpaceOnUse",
|
|
34
|
+
children: [
|
|
35
|
+
/* @__PURE__ */ jsx("stop", { offset: 2e-3, stopColor: "#430470" }),
|
|
36
|
+
/* @__PURE__ */ jsx("stop", { offset: 0.385, stopColor: "#8E01F0" }),
|
|
37
|
+
/* @__PURE__ */ jsx("stop", { offset: 0.635, stopColor: "#354CF6" }),
|
|
38
|
+
/* @__PURE__ */ jsx("stop", { offset: 1, stopColor: "#01FFFF" })
|
|
39
|
+
]
|
|
40
|
+
}
|
|
41
|
+
) })
|
|
42
|
+
]
|
|
43
|
+
}
|
|
40
44
|
);
|
|
41
45
|
export {
|
|
42
46
|
HydrogenLogoBaseColor
|