@lightspeed/crane 2.0.0 → 2.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.
Files changed (32) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist/cli.mjs +15 -15
  3. package/package.json +5 -5
  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/package.json +1 -1
  11. package/template/page-templates/example-template/configuration.ts +3 -0
  12. package/template/preview/shared/api-routes.ts +170 -4
  13. package/template/preview/shared/preview.ts +20 -2
  14. package/template/preview/shared/utils.ts +3 -2
  15. package/template/preview/ssr-server.ts +3 -2
  16. package/template/preview/vite.config.js +4 -2
  17. package/template/reference/sections/featured-products/client.ts +1 -0
  18. package/template/reference/sections/featured-products/server.ts +1 -0
  19. package/template/reference/sections/intro-slider/client.ts +1 -0
  20. package/template/reference/sections/intro-slider/server.ts +1 -0
  21. package/template/reference/sections/tag-lines/client.ts +1 -0
  22. package/template/reference/sections/tag-lines/composables/highlighted-text-image-list.ts +2 -1
  23. package/template/reference/sections/tag-lines/server.ts +1 -0
  24. package/template/reference/sections/trending-categories/client.ts +1 -0
  25. package/template/reference/sections/trending-categories/server.ts +1 -0
  26. package/template/reference/shared/utils/styles.ts +1 -0
  27. package/template/sections/example-section/client.ts +1 -0
  28. package/template/sections/example-section/server.ts +1 -0
  29. package/template/sections/example-section/showcases/1.ts +2 -22
  30. package/template/sections/example-section/showcases/2.ts +2 -22
  31. package/template/sections/example-section/showcases/3.ts +2 -22
  32. package/template/sections/example-section/showcases/translations.ts +4 -142
package/CHANGELOG.md CHANGED
@@ -1,5 +1,35 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.0.2 - 2025-12-11
4
+
5
+ ### Added
6
+
7
+ - Add template categories support for Template Market filtering. Templates can now specify categories (e.g., vape_smoke, electronics) that will be used for filtering in Template Market.
8
+
9
+ ### Changed
10
+
11
+ - Update version of 'glob' dependency.
12
+ - Updated dependencies
13
+ - @lightspeed/crane-api@1.0.2
14
+
15
+ ## 2.0.1 - 2025-12-09
16
+
17
+ ### Added
18
+
19
+ - Add handling of tile state upon re-ordering in 'preview' mode.
20
+ - Provide default layout in 'preview' mode if not specified.
21
+
22
+ ### Changed
23
+
24
+ - Add dependency to the new internal packages.
25
+ - Updated dependencies
26
+ - @lightspeed/crane-api@1.0.1
27
+
28
+ ### Fixed
29
+
30
+ - Fix showcase translations by removing unused translation keys.
31
+ - Fix incorrect editor configuration examples in template showcase files.
32
+
3
33
  ## 2.0.0 - 2025-12-02
4
34
 
5
35
  ### Added