@deneb-ui/create-template 2.0.108 → 2.0.110

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": "@deneb-ui/create-template",
3
- "version": "2.0.108",
3
+ "version": "2.0.110",
4
4
  "description": "Scaffold production-ready DENEB UI storefront templates for Next.js in seconds.",
5
5
  "bin": {
6
6
  "create-deneb-template": "bin/index.js",
@@ -18,7 +18,7 @@
18
18
  "next": "15.5.23",
19
19
  "react": "19.2.8",
20
20
  "react-dom": "19.2.8",
21
- "@deneb-ui/ui": "^2.0.108"
21
+ "@deneb-ui/ui": "^2.0.110"
22
22
  },
23
23
  "devDependencies": {
24
24
  "@eslint/eslintrc": "3.3.6",
@@ -28,7 +28,7 @@
28
28
  "eslint": "9.39.5",
29
29
  "eslint-config-next": "15.5.23",
30
30
  "typescript": "5.8.3",
31
- "@deneb-ui/cli": "^2.0.108",
31
+ "@deneb-ui/cli": "^2.0.110",
32
32
  "tailwindcss": "^3.4.17",
33
33
  "postcss": "8.5.26",
34
34
  "autoprefixer": "^10.4.20"
@@ -288,7 +288,11 @@ export default function HomePage() {
288
288
  radius="xl"
289
289
  style={{ display: 'flex', flexDirection: 'column' }}
290
290
  >
291
- <div style={{ position: 'relative', overflow: 'hidden', borderRadius: '12px', marginBottom: '0.75rem' }}>
291
+ <a
292
+ href={platformProductDetailHref(productId)}
293
+ data-preview-static="Open the stable live product detail page"
294
+ style={{ position: 'relative', overflow: 'hidden', borderRadius: '12px', marginBottom: '0.75rem', display: 'block' }}
295
+ >
292
296
  <EditableImage
293
297
  src={contentText(product.imageUrl) || '/placeholder.svg'}
294
298
  alt={contentText(product.name)}
@@ -306,7 +310,7 @@ export default function HomePage() {
306
310
  {badge}
307
311
  </span>
308
312
  )}
309
- </div>
313
+ </a>
310
314
 
311
315
  <div style={{ display: 'flex', flexDirection: 'column', flex: 1, gap: '0.5rem' }}>
312
316
  {category && (
@@ -318,14 +322,20 @@ export default function HomePage() {
318
322
  {category}
319
323
  </span>
320
324
  )}
321
- <EditableText
322
- variant="h3"
323
- size="lg"
324
- weight="bold"
325
- color="heading"
326
- data-preview-field-path={`products[${index}].name`}
327
- defaultValue={contentText(product.name)}
328
- />
325
+ <a
326
+ href={platformProductDetailHref(productId)}
327
+ data-preview-static="Open the stable live product detail page"
328
+ style={{ textDecoration: 'none', color: 'inherit' }}
329
+ >
330
+ <EditableText
331
+ variant="h3"
332
+ size="lg"
333
+ weight="bold"
334
+ color="heading"
335
+ data-preview-field-path={`products[${index}].name`}
336
+ defaultValue={contentText(product.name)}
337
+ />
338
+ </a>
329
339
  <EditableText
330
340
  variant="p"
331
341
  color="muted"