create-mercato-app 0.5.1-develop.2975.ccbadc8198 → 0.5.1-develop.2996.ce62fd491c
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-mercato-app",
|
|
3
|
-
"version": "0.5.1-develop.
|
|
3
|
+
"version": "0.5.1-develop.2996.ce62fd491c",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Create a new Open Mercato application",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"picocolors": "^1.1.0",
|
|
21
|
-
"tar": "^7.5.
|
|
21
|
+
"tar": "^7.5.13"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@types/node": "^25.6.0",
|
package/template/.env.example
CHANGED
|
@@ -104,9 +104,6 @@ NEXT_PUBLIC_OM_EXAMPLE_CHECKOUT_TEST_INJECTIONS_ENABLED=false
|
|
|
104
104
|
# Example: CHECKOUT_ALLOWED_ORIGINS=https://shop.example.com,https://pay.example.com
|
|
105
105
|
# CHECKOUT_ALLOWED_ORIGINS=
|
|
106
106
|
|
|
107
|
-
# Node environment
|
|
108
|
-
NODE_ENV=development
|
|
109
|
-
|
|
110
107
|
# Rate limiting is enabled by default. Auth endpoints (login/signup/reset)
|
|
111
108
|
# cap at 5–20 requests/minute which is normally fine in dev, but can bite
|
|
112
109
|
# when running integration tests against a long-lived dev server. Set
|
package/template/next.config.ts
CHANGED
|
@@ -34,6 +34,11 @@ const nextConfig: NextConfig = {
|
|
|
34
34
|
'@esbuild/darwin-arm64',
|
|
35
35
|
'@open-mercato/cli',
|
|
36
36
|
],
|
|
37
|
+
// Mirror server-only env vars that client components must observe. Keep this
|
|
38
|
+
// list minimal — anything added here is inlined into the client bundle.
|
|
39
|
+
env: {
|
|
40
|
+
OM_SEARCH_MIN_LEN: process.env.OM_SEARCH_MIN_LEN,
|
|
41
|
+
},
|
|
37
42
|
}
|
|
38
43
|
|
|
39
44
|
export default nextConfig
|
|
@@ -139,6 +139,9 @@ TODO: Fix that latter to have reference by the package names
|
|
|
139
139
|
|
|
140
140
|
/* Figma button focus: 2px white inner + 4px slate-alpha-16 outer */
|
|
141
141
|
--shadow-focus: 0 0 0 2px var(--focus-ring-inner), 0 0 0 4px var(--focus-ring-outer);
|
|
142
|
+
|
|
143
|
+
/* Switch thumb: thin drop shadow + hairline outline (matches Figma switch spec). */
|
|
144
|
+
--shadow-switch-thumb: 0 1px 2px rgb(10 13 20 / 0.10), 0 0 0 0.5px rgb(10 13 20 / 0.04);
|
|
142
145
|
}
|
|
143
146
|
|
|
144
147
|
:root {
|
|
@@ -264,6 +267,9 @@ TODO: Fix that latter to have reference by the package names
|
|
|
264
267
|
--shadow-lg: 0 12px 32px rgb(0 0 0 / 0.60);
|
|
265
268
|
--shadow-xl: 0 20px 40px rgb(0 0 0 / 0.70);
|
|
266
269
|
--shadow-2xl: 0 25px 50px rgb(0 0 0 / 0.80);
|
|
270
|
+
|
|
271
|
+
/* Switch thumb: brighter outline in dark mode for visibility against the muted track. */
|
|
272
|
+
--shadow-switch-thumb: 0 1px 2px rgb(0 0 0 / 0.40), 0 0 0 0.5px rgb(0 0 0 / 0.30);
|
|
267
273
|
--background: oklch(0.145 0 0);
|
|
268
274
|
--foreground: oklch(0.985 0 0);
|
|
269
275
|
--card: oklch(0.205 0 0);
|
|
@@ -538,3 +544,12 @@ TODO: Fix that latter to have reference by the package names
|
|
|
538
544
|
body[data-column-chooser-open="true"] .om-demo-feedback-floating {
|
|
539
545
|
display: none !important;
|
|
540
546
|
}
|
|
547
|
+
|
|
548
|
+
/* Hide native scrollbar while keeping scroll behavior — used by sticky sidebars */
|
|
549
|
+
.scrollbar-hide {
|
|
550
|
+
scrollbar-width: none;
|
|
551
|
+
-ms-overflow-style: none;
|
|
552
|
+
}
|
|
553
|
+
.scrollbar-hide::-webkit-scrollbar {
|
|
554
|
+
display: none;
|
|
555
|
+
}
|