@bluepic/embed 0.2.0-next.1 → 0.2.0-next.10
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/lib/bluepic-embed.es.js +12276 -12211
- package/lib/bluepic-embed.umd.js +92 -85
- package/lib/components/BluepicEmbeddedEditor.vue.d.ts +14 -0
- package/lib/components/BluepicEmbeddedEditor.vue.d.ts.map +1 -1
- package/lib/style.css +1 -1
- package/lib/util/RenderService.d.ts +4 -4
- package/lib/util/RenderService.d.ts.map +1 -1
- package/lib/util/bluepicEmbed.d.ts.map +1 -1
- package/lib/util/useTheme.d.ts +9 -1
- package/lib/util/useTheme.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bluepicEmbed.d.ts","sourceRoot":"","sources":["bluepicEmbed.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"bluepicEmbed.d.ts","sourceRoot":"","sources":["bluepicEmbed.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAG1C,MAAM,MAAM,iBAAiB,GAAG;IAC9B,uBAAuB,EAAE,MAAM,CAAC;IAChC,eAAe,EAAE,MAAM,CAAC;IACxB,cAAc,EAAE,OAAO,CAAC;IACxB,GAAG,EAAE,KAAK,GAAG,MAAM,CAAC;IACpB,MAAM,EAAE;QACN,KAAK,CAAC,EAAE;YAAE,IAAI,EAAE,MAAM,CAAC;YAAC,GAAG,EAAE,MAAM,CAAA;SAAE,EAAE,CAAC;QACxC,KAAK,CAAC,EAAE,OAAO,CAAC;QAChB,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB,CAAC;CACH,CAAA;AAaD,wBAAgB,oBAAoB,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB,UAMlF;AACD,wBAAgB,qBAAqB,CAC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MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE;CAGhF"}
|
package/lib/util/useTheme.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import { z } from '@hono/zod-openapi';
|
|
2
|
+
import { EmbedV2 } from '@bluepic/types';
|
|
1
3
|
import { Ref } from 'vue';
|
|
2
4
|
export declare function getThemeStyle(rawCSS: string): Record<string, string>;
|
|
3
|
-
export declare function useTheme(bluepicAppWrapperSelector?: string,
|
|
5
|
+
export declare function useTheme(bluepicAppWrapperSelector?: string, theme?: 'light' | 'dark' | 'auto', customThemeVars?: Partial<z.infer<typeof EmbedV2.customStyleSchema>>): Ref<{
|
|
4
6
|
"primary-color-base"?: string | undefined;
|
|
5
7
|
"primary-color-light"?: string | undefined;
|
|
6
8
|
"primary-color-dark"?: string | undefined;
|
|
@@ -133,6 +135,8 @@ export declare function useTheme(bluepicAppWrapperSelector?: string, darkmode?:
|
|
|
133
135
|
"editor-view-background-color"?: string | undefined;
|
|
134
136
|
"fields-view-background-color"?: string | undefined;
|
|
135
137
|
"live-view-background-color"?: string | undefined;
|
|
138
|
+
"bluepic-embed-editor-border"?: string | undefined;
|
|
139
|
+
"bluepic-embed-editor-border-radius"?: string | undefined;
|
|
136
140
|
"tooltip-background-color"?: string | undefined;
|
|
137
141
|
"tooltip-text-color"?: string | undefined;
|
|
138
142
|
}, Partial<{
|
|
@@ -268,6 +272,8 @@ export declare function useTheme(bluepicAppWrapperSelector?: string, darkmode?:
|
|
|
268
272
|
"editor-view-background-color": string;
|
|
269
273
|
"fields-view-background-color": string;
|
|
270
274
|
"live-view-background-color": string;
|
|
275
|
+
"bluepic-embed-editor-border": string;
|
|
276
|
+
"bluepic-embed-editor-border-radius": string;
|
|
271
277
|
"tooltip-background-color": string;
|
|
272
278
|
"tooltip-text-color": string;
|
|
273
279
|
}> | {
|
|
@@ -403,6 +409,8 @@ export declare function useTheme(bluepicAppWrapperSelector?: string, darkmode?:
|
|
|
403
409
|
"editor-view-background-color"?: string | undefined;
|
|
404
410
|
"fields-view-background-color"?: string | undefined;
|
|
405
411
|
"live-view-background-color"?: string | undefined;
|
|
412
|
+
"bluepic-embed-editor-border"?: string | undefined;
|
|
413
|
+
"bluepic-embed-editor-border-radius"?: string | undefined;
|
|
406
414
|
"tooltip-background-color"?: string | undefined;
|
|
407
415
|
"tooltip-text-color"?: string | undefined;
|
|
408
416
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTheme.d.ts","sourceRoot":"","sources":["useTheme.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useTheme.d.ts","sourceRoot":"","sources":["useTheme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAiB,GAAG,EAAsB,MAAM,KAAK,CAAC;AAM7D,wBAAgB,aAAa,CAAC,MAAM,EAAE,MAAM,0BAYzC;AASH,wBAAgB,QAAQ,CAAC,yBAAyB,SAA8B,EAAE,KAAK,GAAE,OAAO,GAAG,MAAM,GAAG,MAAe,EAAE,eAAe,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,OAAO,CAAC,iBAAiB,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4ChM"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bluepic/embed",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.2.0-next.
|
|
4
|
+
"version": "0.2.0-next.10",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
7
7
|
"package.json",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"vue": "^3.4.27"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
|
-
"@bluepic/types": "^0.1.
|
|
63
|
+
"@bluepic/types": "^0.1.592",
|
|
64
64
|
"@types/css": "^0.0.38",
|
|
65
65
|
"@types/downloadjs": "^1.4.6",
|
|
66
66
|
"@types/lodash": "^4.17.14",
|