Skip to content

Commit

Permalink
2024-12-18
Browse files Browse the repository at this point in the history
  • Loading branch information
tomsaunders committed Dec 18, 2024
1 parent f52b0b7 commit ecd6be9
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 18 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

## 2024-12-18

### 🎁 [Developer Christmas](https://community.canva.dev/t/developer-christmas-2024/5492)

- Our latest release today is brimming with enhancements, featuring new props added to your favorite components. 🎨 These updates will bring even more sparkle to your Canva Apps!

### 🔧 Changed

- Upgraded `@canva/app-ui-kit` to version `4.5.0` Please see the [changelog](https://www.canva.dev/docs/apps/app-ui-kit/changelog/) for the list of changes.

## 2024-12-17

### 🎁 [Developer Christmas](https://community.canva.dev/t/developer-christmas-2024/5492)
Expand Down Expand Up @@ -28,6 +38,7 @@

- Added multiline examples to the `i18n` example to demonstrate how to handle multiline messages.
- Added a link to the Apps SDK docs for the hello world example
- Added an example app that uses the [Content Query API](https://www.canva.dev/docs/apps/querying) to translate page content.

- `conf`
- Added local ESLint rule to flag untranslated user-facing strings in object properties, e.g. `{label: "foo"}`.
Expand Down
6 changes: 3 additions & 3 deletions examples/i18n/tests/__snapshots__/app.tests.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
exports[`app Renders token counts consistently 🎉 1`] = `
<div>
<p
class="fFOiLQ _5Ob_nQ fM_HdA"
class="D6xAvw E44aNA rU8RQQ"
>
Use 5 of 50 credits
</p>
Expand All @@ -13,7 +13,7 @@ exports[`app Renders token counts consistently 🎉 1`] = `
exports[`app Renders token counts consistently 🎉 2`] = `
<div>
<p
class="fFOiLQ _5Ob_nQ fM_HdA"
class="D6xAvw E44aNA rU8RQQ"
>
Use 1 of 1 credit
</p>
Expand All @@ -23,7 +23,7 @@ exports[`app Renders token counts consistently 🎉 2`] = `
exports[`app Renders token counts consistently 🎉 3`] = `
<div>
<p
class="fFOiLQ _5Ob_nQ fM_HdA"
class="D6xAvw E44aNA rU8RQQ"
>
Use 1 of 0 credits
</p>
Expand Down
8 changes: 4 additions & 4 deletions examples/ui_test/tests/__snapshots__/app.tests.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ exports[`app Renders 🎉 1`] = `
style="--NZu1Zw: 16px;"
>
<p
class="fFOiLQ _5Ob_nQ fM_HdA"
class="D6xAvw E44aNA rU8RQQ"
>
This example demonstrates how to test your App's UI.
</p>
<p
class="fFOiLQ _5Ob_nQ fM_HdA"
class="D6xAvw E44aNA rU8RQQ"
>
Checkout
<code>
Expand All @@ -24,11 +24,11 @@ exports[`app Renders 🎉 1`] = `
to learn how to start testing.
</p>
<button
class="_1QoxDw Qkd66A tYI0Vw o4TrkA zKTE_w Qkd66A tYI0Vw lsXp_w cwOZMg zQlusQ uRvRjQ"
class="_5KtATA LQzFZw xwTbNA _8ERLTg rV61VQ LQzFZw xwTbNA _4_iekA j34Zww aqbYPg _3FvZZg"
type="button"
>
<span
class="_38oWvQ"
class="khPe7Q"
>
Do something cool
</span>
Expand Down
25 changes: 15 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
],
"dependencies": {
"@canva/app-i18n-kit": "^1.0.2",
"@canva/app-ui-kit": "^4.4.0",
"@canva/app-ui-kit": "^4.5.0",
"@canva/asset": "^2.1.0",
"@canva/design": "^2.3.0",
"@canva/error": "^2.1.0",
Expand Down

0 comments on commit ecd6be9

Please sign in to comment.