@canva/cli 1.15.0 → 1.17.0

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 (27) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/cli.js +360 -360
  3. package/package.json +1 -1
  4. package/templates/base/backend/base_backend/create.ts +2 -2
  5. package/templates/base/styles/components.css +0 -18
  6. package/templates/common/jest.setup.ts +3 -1
  7. package/templates/content_publisher/package.json +1 -1
  8. package/templates/content_publisher/src/intents/content_publisher/index.tsx +2 -2
  9. package/templates/content_publisher/src/intents/content_publisher/post_preview.tsx +34 -20
  10. package/templates/content_publisher/src/intents/content_publisher/preview_ui.tsx +11 -2
  11. package/templates/content_publisher/src/intents/content_publisher/settings_ui.tsx +23 -13
  12. package/templates/content_publisher/styles/components.css +0 -18
  13. package/templates/content_publisher/styles/preview_ui.css +0 -39
  14. package/templates/dam/package.json +2 -2
  15. package/templates/dam/src/intents/design_editor/app.tsx +1 -1
  16. package/templates/dam/src/intents/design_editor/index.css +0 -7
  17. package/templates/dam/utils/backend/base_backend/create.ts +2 -2
  18. package/templates/data_connector/package.json +1 -1
  19. package/templates/data_connector/styles/components.css +0 -18
  20. package/templates/gen_ai/package.json +2 -2
  21. package/templates/gen_ai/styles/components.css +0 -18
  22. package/templates/gen_ai/utils/backend/base_backend/create.ts +2 -2
  23. package/templates/hello_world/package.json +1 -1
  24. package/templates/hello_world/styles/components.css +0 -18
  25. package/templates/mls/jest.setup.ts +3 -1
  26. package/templates/mls/package.json +1 -1
  27. package/templates/mls/styles/components.css +0 -18
package/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Changelog
2
2
 
3
+ ## v1.17.0 - 2026-02-03
4
+
5
+ ### Added
6
+
7
+ - Added mocking for `@canva/intents` package in `jest.setup.ts` for each template.
8
+
9
+ ### Changed
10
+
11
+ - Template selection during `canva apps create` now wraps around when navigating with arrow keys
12
+ - Updated CLI templates to use `@canva/app-ui-kit` component props instead of CSS classes for layout styling.
13
+ - Upgraded `@canva/intents` to `2.1.0`.
14
+
15
+ ### Fixed
16
+
17
+ - Fixed an issue in the template for the Content Publisher intent.
18
+
19
+ ## v1.16.0 - 2026-01-28
20
+
21
+ ### Changed
22
+
23
+ - Upgraded `@canva/app-middleware` to `0.0.0-beta.5`.
24
+
3
25
  ## v1.15.0 - 2026-01-21
4
26
 
5
27
  ### Added