datocms-plugin-sdk 2.2.0-alpha.2 → 2.2.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.
- package/LICENSE.md +1 -1
- package/dist/cjs/manifest.js +1 -1
- package/dist/esm/ctx/base.d.ts +2 -2
- package/dist/esm/manifest.js +1 -1
- package/dist/types/ctx/base.d.ts +2 -2
- package/manifest.json +1 -1
- package/package.json +2 -2
- package/src/ctx/base.ts +2 -2
- package/src/manifest.ts +1 -1
package/LICENSE.md
CHANGED
package/dist/cjs/manifest.js
CHANGED
package/dist/esm/ctx/base.d.ts
CHANGED
|
@@ -92,7 +92,7 @@ type ProjectProperties = {
|
|
|
92
92
|
* `--color--raised--surface`) to their resolved values for the current
|
|
93
93
|
* color scheme.
|
|
94
94
|
*/
|
|
95
|
-
cssDesignTokens:
|
|
95
|
+
cssDesignTokens: CssDesignTokens;
|
|
96
96
|
/**
|
|
97
97
|
* The appearance color scheme the host CMS is currently using. Resolved —
|
|
98
98
|
* `'system'` is already expanded to `'light'` or `'dark'` by the host.
|
|
@@ -167,7 +167,7 @@ export type Theme = {
|
|
|
167
167
|
* The token set is whatever the host sends; it is intentionally untyped so it
|
|
168
168
|
* can evolve on the host without an SDK release.
|
|
169
169
|
*/
|
|
170
|
-
export type
|
|
170
|
+
export type CssDesignTokens = Record<string, string>;
|
|
171
171
|
export type BaseMethods = LoadDataMethods & UpdatePluginParametersMethods & ToastMethods & ItemDialogMethods & UploadDialogMethods & CustomDialogMethods & NavigateMethods;
|
|
172
172
|
/**
|
|
173
173
|
* These methods can be used to asyncronously load additional information your
|
package/dist/esm/manifest.js
CHANGED
package/dist/types/ctx/base.d.ts
CHANGED
|
@@ -92,7 +92,7 @@ type ProjectProperties = {
|
|
|
92
92
|
* `--color--raised--surface`) to their resolved values for the current
|
|
93
93
|
* color scheme.
|
|
94
94
|
*/
|
|
95
|
-
cssDesignTokens:
|
|
95
|
+
cssDesignTokens: CssDesignTokens;
|
|
96
96
|
/**
|
|
97
97
|
* The appearance color scheme the host CMS is currently using. Resolved —
|
|
98
98
|
* `'system'` is already expanded to `'light'` or `'dark'` by the host.
|
|
@@ -167,7 +167,7 @@ export type Theme = {
|
|
|
167
167
|
* The token set is whatever the host sends; it is intentionally untyped so it
|
|
168
168
|
* can evolve on the host without an SDK release.
|
|
169
169
|
*/
|
|
170
|
-
export type
|
|
170
|
+
export type CssDesignTokens = Record<string, string>;
|
|
171
171
|
export type BaseMethods = LoadDataMethods & UpdatePluginParametersMethods & ToastMethods & ItemDialogMethods & UploadDialogMethods & CustomDialogMethods & NavigateMethods;
|
|
172
172
|
/**
|
|
173
173
|
* These methods can be used to asyncronously load additional information your
|
package/manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "datocms-plugin-sdk",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.1",
|
|
4
4
|
"description": "DatoCMS Plugin SDK",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"datocms",
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"glob": "^11.0.0",
|
|
48
48
|
"typescript": "^5.6.2"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "93e525923754de8adc05f50b35b586bd5c8ed06e"
|
|
51
51
|
}
|
package/src/ctx/base.ts
CHANGED
|
@@ -116,7 +116,7 @@ type ProjectProperties = {
|
|
|
116
116
|
* `--color--raised--surface`) to their resolved values for the current
|
|
117
117
|
* color scheme.
|
|
118
118
|
*/
|
|
119
|
-
cssDesignTokens:
|
|
119
|
+
cssDesignTokens: CssDesignTokens;
|
|
120
120
|
|
|
121
121
|
/**
|
|
122
122
|
* The appearance color scheme the host CMS is currently using. Resolved —
|
|
@@ -199,7 +199,7 @@ export type Theme = {
|
|
|
199
199
|
* The token set is whatever the host sends; it is intentionally untyped so it
|
|
200
200
|
* can evolve on the host without an SDK release.
|
|
201
201
|
*/
|
|
202
|
-
export type
|
|
202
|
+
export type CssDesignTokens = Record<string, string>;
|
|
203
203
|
|
|
204
204
|
export type BaseMethods = LoadDataMethods &
|
|
205
205
|
UpdatePluginParametersMethods &
|