@paroicms/public-admin-ui-lib 0.30.0 → 0.30.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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paroicms/public-admin-ui-lib",
|
|
3
|
-
"version": "0.30.
|
|
3
|
+
"version": "0.30.2",
|
|
4
4
|
"description": "Common utilitaries for paroicms plugins (admin UI side).",
|
|
5
5
|
"author": "Paroi Team",
|
|
6
6
|
"repository": {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"dev": "tsc --watch --preserveWatchOutput"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@paroicms/public-anywhere-lib": "0.41.
|
|
21
|
+
"@paroicms/public-anywhere-lib": "0.41.1"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"rimraf": "~6.1.2",
|
|
@@ -42,7 +42,7 @@ export interface AdminUiPluginInstance {
|
|
|
42
42
|
element: HTMLElement;
|
|
43
43
|
setValue(value: ReadFieldValue | undefined): void;
|
|
44
44
|
setLanguage(language: string): void;
|
|
45
|
-
getValue(): UpdateFieldValue
|
|
45
|
+
getValue(): UpdateFieldValue;
|
|
46
46
|
dispose(): void;
|
|
47
47
|
insertMedia?(media: MSourceMedia): Promise<void>;
|
|
48
48
|
}
|
|
@@ -137,6 +137,8 @@ export interface PluginDialog {
|
|
|
137
137
|
* The `handler` is called when the user clicks on the `x` button
|
|
138
138
|
*/
|
|
139
139
|
onCancel?: () => void;
|
|
140
|
+
/** Default size is "md" */
|
|
141
|
+
size?: "sm" | "md" | "lg" | "innerContent";
|
|
140
142
|
}
|
|
141
143
|
|
|
142
144
|
export type PluginHTMLElement = HTMLElement | false | PluginHTMLElement[];
|