@timmbr/cms 1.0.1 → 1.0.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StorefrontHeader.d.ts","sourceRoot":"","sources":["../../src/components/StorefrontHeader.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,OAAO,KAAK,EACV,eAAe,EACf,sBAAsB,EACtB,qBAAqB,EACtB,MAAM,UAAU,CAAC;AAoBlB,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,OAAO,GAAG,UAAU,CAAC;IAC9B,MAAM,EAAE,sBAAsB,CAAC;IAC/B,UAAU,EAAE,eAAe,EAAE,CAAC;IAC9B,WAAW,EAAE,qBAAqB,CAAC;IACnC,qEAAqE;IACrE,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,OAAO,EACP,MAAM,EACN,UAAU,EACV,WAAW,EACX,cAAsB,EACtB,kBAAkB,EAClB,QAAQ,GACT,EAAE,qBAAqB,
|
|
1
|
+
{"version":3,"file":"StorefrontHeader.d.ts","sourceRoot":"","sources":["../../src/components/StorefrontHeader.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,OAAO,KAAK,EACV,eAAe,EACf,sBAAsB,EACtB,qBAAqB,EACtB,MAAM,UAAU,CAAC;AAoBlB,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,OAAO,GAAG,UAAU,CAAC;IAC9B,MAAM,EAAE,sBAAsB,CAAC;IAC/B,UAAU,EAAE,eAAe,EAAE,CAAC;IAC9B,WAAW,EAAE,qBAAqB,CAAC;IACnC,qEAAqE;IACrE,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,OAAO,EACP,MAAM,EACN,UAAU,EACV,WAAW,EACX,cAAsB,EACtB,kBAAkB,EAClB,QAAQ,GACT,EAAE,qBAAqB,qBAmIvB"}
|
|
@@ -128,8 +128,8 @@ function StorefrontHeader({
|
|
|
128
128
|
return header;
|
|
129
129
|
}
|
|
130
130
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
131
|
-
/* @__PURE__ */ jsx("div", { className: "sticky top-0 z-40", children: header }),
|
|
132
|
-
belowNav
|
|
131
|
+
/* @__PURE__ */ jsx("div", { className: "sticky top-0 z-40", children: header }, "storefront-chrome-bar"),
|
|
132
|
+
belowNav != null ? /* @__PURE__ */ jsx("div", { className: "contents", children: belowNav }, "storefront-chrome-below-nav") : null
|
|
133
133
|
] });
|
|
134
134
|
}
|
|
135
135
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@timmbr/cms",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Storefront chrome integration: category tree fetch, nav mapping, GlobalHeader and GlobalFooter for multi-zone layouts",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -14,20 +14,15 @@
|
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
16
|
"sideEffects": false,
|
|
17
|
-
"files": [
|
|
17
|
+
"files": [
|
|
18
|
+
"dist"
|
|
19
|
+
],
|
|
18
20
|
"publishConfig": {
|
|
19
21
|
"access": "public"
|
|
20
22
|
},
|
|
21
|
-
"scripts": {
|
|
22
|
-
"build": "vite build && tsc --project tsconfig.build.json",
|
|
23
|
-
"dev": "vite build --watch",
|
|
24
|
-
"typecheck": "tsc --noEmit",
|
|
25
|
-
"test": "vitest run",
|
|
26
|
-
"clean": "rimraf dist"
|
|
27
|
-
},
|
|
28
23
|
"dependencies": {
|
|
29
|
-
"@timmbr/icons": "
|
|
30
|
-
"@timmbr/utils": "
|
|
24
|
+
"@timmbr/icons": "^1.7.0",
|
|
25
|
+
"@timmbr/utils": "^1.6.0"
|
|
31
26
|
},
|
|
32
27
|
"peerDependencies": {
|
|
33
28
|
"react": ">=18.0.0",
|
|
@@ -38,17 +33,19 @@
|
|
|
38
33
|
"@timmbr/hooks": "*"
|
|
39
34
|
},
|
|
40
35
|
"peerDependenciesMeta": {
|
|
41
|
-
"@timmbr/ui": {
|
|
42
|
-
|
|
43
|
-
|
|
36
|
+
"@timmbr/ui": {
|
|
37
|
+
"optional": false
|
|
38
|
+
},
|
|
39
|
+
"@timmbr/auth": {
|
|
40
|
+
"optional": false
|
|
41
|
+
},
|
|
42
|
+
"@timmbr/hooks": {
|
|
43
|
+
"optional": false
|
|
44
|
+
}
|
|
44
45
|
},
|
|
45
46
|
"devDependencies": {
|
|
46
47
|
"@testing-library/jest-dom": "^6.6.3",
|
|
47
48
|
"@testing-library/react": "^16.2.0",
|
|
48
|
-
"@timmbr/auth": "workspace:*",
|
|
49
|
-
"@timmbr/hooks": "workspace:*",
|
|
50
|
-
"@timmbr/tsconfig": "workspace:*",
|
|
51
|
-
"@timmbr/ui": "workspace:*",
|
|
52
49
|
"@types/react": "^19.0.8",
|
|
53
50
|
"@types/react-dom": "^19.0.3",
|
|
54
51
|
"@vitejs/plugin-react": "^4.3.4",
|
|
@@ -60,6 +57,17 @@
|
|
|
60
57
|
"rollup-plugin-preserve-directives": "^0.4.0",
|
|
61
58
|
"typescript": "^5.7.3",
|
|
62
59
|
"vite": "^6.2.0",
|
|
63
|
-
"vitest": "^3.0.5"
|
|
60
|
+
"vitest": "^3.0.5",
|
|
61
|
+
"@timmbr/auth": "1.4.7",
|
|
62
|
+
"@timmbr/ui": "1.17.6",
|
|
63
|
+
"@timmbr/tsconfig": "1.0.0",
|
|
64
|
+
"@timmbr/hooks": "1.3.0"
|
|
65
|
+
},
|
|
66
|
+
"scripts": {
|
|
67
|
+
"build": "vite build && tsc --project tsconfig.build.json",
|
|
68
|
+
"dev": "vite build --watch",
|
|
69
|
+
"typecheck": "tsc --noEmit",
|
|
70
|
+
"test": "vitest run",
|
|
71
|
+
"clean": "rimraf dist"
|
|
64
72
|
}
|
|
65
|
-
}
|
|
73
|
+
}
|