@canva/intents 2.2.1-beta.1 → 2.3.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.
- package/CHANGELOG.md +24 -18
- package/asset/index.d.ts +1 -1
- package/content/index.d.ts +1618 -1
- package/data/index.d.ts +1229 -1
- package/design/index.d.ts +41 -1
- package/index.d.ts +2994 -1
- package/lib/cjs/sdk/intents/asset/index.js +1 -15
- package/lib/cjs/sdk/intents/fake/{create_beta.js → create.js} +6 -9
- package/lib/cjs/sdk/intents/index.js +4 -2
- package/lib/cjs/sdk/intents/test/index.js +14 -13
- package/lib/cjs/sdk/intents/version.js +1 -1
- package/lib/esm/sdk/intents/asset/index.js +1 -1
- package/lib/esm/sdk/intents/fake/{create_beta.js → create.js} +4 -7
- package/lib/esm/sdk/intents/index.js +3 -1
- package/lib/esm/sdk/intents/test/index.js +9 -1
- package/lib/esm/sdk/intents/version.js +1 -1
- package/package.json +23 -23
- package/test/index.d.ts +11 -1
- package/asset/beta.d.ts +0 -190
- package/beta.d.ts +0 -2963
- package/content/beta.d.ts +0 -1567
- package/data/beta.d.ts +0 -1229
- package/design/beta.d.ts +0 -41
- package/lib/cjs/sdk/intents/asset/beta.js +0 -13
- package/lib/cjs/sdk/intents/beta.js +0 -20
- package/lib/cjs/sdk/intents/content/beta.js +0 -27
- package/lib/cjs/sdk/intents/data/beta.js +0 -20
- package/lib/cjs/sdk/intents/design/beta.js +0 -20
- package/lib/cjs/sdk/intents/test/beta.js +0 -19
- package/lib/esm/sdk/intents/asset/beta.js +0 -3
- package/lib/esm/sdk/intents/beta.js +0 -3
- package/lib/esm/sdk/intents/content/beta.js +0 -4
- package/lib/esm/sdk/intents/data/beta.js +0 -3
- package/lib/esm/sdk/intents/design/beta.js +0 -3
- package/lib/esm/sdk/intents/test/beta.js +0 -9
- package/test/beta.d.ts +0 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,33 +1,39 @@
|
|
|
1
1
|
# CHANGELOG
|
|
2
2
|
|
|
3
|
-
## 2.
|
|
3
|
+
## 2.3.0 - 2026-03-06
|
|
4
4
|
|
|
5
|
-
###
|
|
5
|
+
### Added
|
|
6
6
|
|
|
7
|
-
-
|
|
7
|
+
- Promoted `Selection`, `ImageSelection`, `VideoSelection`, `DocumentSelection`, `EmailSelection` types and `MediaSlot.selection` field from beta to public
|
|
8
8
|
|
|
9
|
-
## 2.2.
|
|
9
|
+
## 2.2.0 - 2026-02-06
|
|
10
10
|
|
|
11
11
|
### Added
|
|
12
12
|
|
|
13
|
-
- Added
|
|
13
|
+
- Added invocation context to provide initial state when rendering UIs
|
|
14
14
|
|
|
15
|
-
## 2.1.
|
|
15
|
+
## 2.1.2 - 2026-02-03
|
|
16
16
|
|
|
17
|
-
###
|
|
17
|
+
### Fixed
|
|
18
18
|
|
|
19
|
-
-
|
|
20
|
-
- **Breaking:** Added enhanced error handling between `publishContent` and the `SettingsUi`
|
|
21
|
-
- Added a new `PublishErrorClearedSettingsUiContext` for when the UI clears an error
|
|
22
|
-
- Include design title in content metadata for the content publisher intent
|
|
23
|
-
- Added `html_bundle` support in content publisher for email media slots
|
|
24
|
-
- Added `InvoctationContext` to provide initial state for content publisher intent
|
|
25
|
-
- Promoted the email requirements in content publisher from alpha to beta
|
|
19
|
+
- Fix missing id and status fields in Content Publisher email preview type
|
|
26
20
|
|
|
27
|
-
|
|
21
|
+
## 2.1.1 - 2026-01-30
|
|
22
|
+
|
|
23
|
+
### Changed
|
|
28
24
|
|
|
29
|
-
-
|
|
25
|
+
- Update NPM readme
|
|
30
26
|
|
|
31
|
-
## 2.0
|
|
27
|
+
## 2.1.0 - 2026-01-30
|
|
28
|
+
|
|
29
|
+
### Added
|
|
30
|
+
|
|
31
|
+
- Added a CHANGELOG.md to track changes.
|
|
32
|
+
- Added a test harness method `initTestEnvionment` which can be imported from `@canva/intents/test`
|
|
33
|
+
- Promoted the Content Publisher Intent API from beta to general availability
|
|
34
|
+
|
|
35
|
+
## 2.0.0 - 2025-06-12
|
|
36
|
+
|
|
37
|
+
### Added
|
|
32
38
|
|
|
33
|
-
-
|
|
39
|
+
- Added the new `@canva/intents` package at version `2.0.0` with the brand new [Data Connector](https://www.canva.dev/docs/apps/data-connector/) intent.
|
package/asset/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { }
|