@lightspeed/crane 2.0.0 → 2.0.1

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.
Files changed (30) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/cli.mjs +15 -15
  3. package/package.json +3 -3
  4. package/template/footers/example-footer/client.ts +1 -0
  5. package/template/footers/example-footer/server.ts +1 -0
  6. package/template/headers/example-header/client.ts +1 -0
  7. package/template/headers/example-header/server.ts +1 -0
  8. package/template/layouts/catalog/example-catalog/slots/custom-bottom-bar/client.ts +1 -0
  9. package/template/layouts/catalog/example-catalog/slots/custom-bottom-bar/server.ts +1 -0
  10. package/template/preview/shared/api-routes.ts +170 -4
  11. package/template/preview/shared/preview.ts +20 -2
  12. package/template/preview/shared/utils.ts +3 -2
  13. package/template/preview/ssr-server.ts +3 -2
  14. package/template/preview/vite.config.js +4 -2
  15. package/template/reference/sections/featured-products/client.ts +1 -0
  16. package/template/reference/sections/featured-products/server.ts +1 -0
  17. package/template/reference/sections/intro-slider/client.ts +1 -0
  18. package/template/reference/sections/intro-slider/server.ts +1 -0
  19. package/template/reference/sections/tag-lines/client.ts +1 -0
  20. package/template/reference/sections/tag-lines/composables/highlighted-text-image-list.ts +2 -1
  21. package/template/reference/sections/tag-lines/server.ts +1 -0
  22. package/template/reference/sections/trending-categories/client.ts +1 -0
  23. package/template/reference/sections/trending-categories/server.ts +1 -0
  24. package/template/reference/shared/utils/styles.ts +1 -0
  25. package/template/sections/example-section/client.ts +1 -0
  26. package/template/sections/example-section/server.ts +1 -0
  27. package/template/sections/example-section/showcases/1.ts +2 -22
  28. package/template/sections/example-section/showcases/2.ts +2 -22
  29. package/template/sections/example-section/showcases/3.ts +2 -22
  30. package/template/sections/example-section/showcases/translations.ts +4 -142
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.0.1 - 2025-12-09
4
+
5
+ ### Added
6
+
7
+ - Add handling of tile state upon re-ordering in 'preview' mode.
8
+ - Provide default layout in 'preview' mode if not specified.
9
+
10
+ ### Changed
11
+
12
+ - Add dependency to the new internal packages.
13
+ - Updated dependencies
14
+ - @lightspeed/crane-api@1.0.1
15
+
16
+ ### Fixed
17
+
18
+ - Fix showcase translations by removing unused translation keys.
19
+ - Fix incorrect editor configuration examples in template showcase files.
20
+
3
21
  ## 2.0.0 - 2025-12-02
4
22
 
5
23
  ### Added