@bluepic/embed 0.6.16 → 0.6.18
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/dist/bluepic-embed.iife.js +160 -126
- package/dist/bluepic-embed.umd.js +160 -126
- package/dist/components/fields/SelectColor.vue.d.ts +3 -1
- package/dist/embed/embed.d.ts +52 -0
- package/dist/main.cjs +99 -65
- package/dist/main.mjs +13375 -12011
- package/dist/style.css +1 -1
- package/dist/util/fieldHints/useFieldHitboxes.d.ts +10 -0
- package/package.json +2 -2
|
@@ -2,7 +2,8 @@ import { SelectOption, Template } from '@bluepic/types';
|
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
options: SelectOption<string | Template.Gradient>[];
|
|
4
4
|
layout: 'dropdown' | 'button' | 'carroussel';
|
|
5
|
-
|
|
5
|
+
/** Show each option's label under its swatch (field prop, @bluepic/types 0.9.32). */
|
|
6
|
+
showLabels?: boolean;
|
|
6
7
|
size: 'small' | 'medium' | 'large';
|
|
7
8
|
mobile?: boolean;
|
|
8
9
|
};
|
|
@@ -15,5 +16,6 @@ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
15
16
|
"onUpdate:modelValue"?: ((value: string | Template.Gradient) => any) | undefined;
|
|
16
17
|
}>, {
|
|
17
18
|
mobile: boolean;
|
|
19
|
+
showLabels: boolean;
|
|
18
20
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
21
|
export default _default;
|
package/dist/embed/embed.d.ts
CHANGED
|
@@ -12384,6 +12384,17 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
12384
12384
|
editMode?: "all" | "batch" | "single" | undefined;
|
|
12385
12385
|
logo?: string | undefined;
|
|
12386
12386
|
title?: string | undefined;
|
|
12387
|
+
titleStyle?: {
|
|
12388
|
+
color?: string | undefined;
|
|
12389
|
+
font?: {
|
|
12390
|
+
name: string;
|
|
12391
|
+
src?: string | undefined;
|
|
12392
|
+
} | undefined;
|
|
12393
|
+
fontWeight?: "300" | "800" | "600" | "400" | "500" | "700" | undefined;
|
|
12394
|
+
fontStyle?: "italic" | "normal" | undefined;
|
|
12395
|
+
textAlign?: "center" | "left" | "right" | undefined;
|
|
12396
|
+
fontSize?: number | undefined;
|
|
12397
|
+
} | undefined;
|
|
12387
12398
|
hints?: {
|
|
12388
12399
|
enabled: boolean;
|
|
12389
12400
|
} | undefined;
|
|
@@ -12418,6 +12429,18 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
12418
12429
|
label: string;
|
|
12419
12430
|
items: string[];
|
|
12420
12431
|
}[] | undefined;
|
|
12432
|
+
order?: string[] | undefined;
|
|
12433
|
+
exportOverrides?: Record<string, {
|
|
12434
|
+
linkedin: boolean;
|
|
12435
|
+
instagram: boolean;
|
|
12436
|
+
facebook: boolean;
|
|
12437
|
+
x: boolean;
|
|
12438
|
+
mail: boolean;
|
|
12439
|
+
whatsapp: boolean;
|
|
12440
|
+
download: boolean;
|
|
12441
|
+
webhook?: string | undefined;
|
|
12442
|
+
redirect?: string | undefined;
|
|
12443
|
+
}> | null | undefined;
|
|
12421
12444
|
};
|
|
12422
12445
|
landingPage: {
|
|
12423
12446
|
headerTitle?: string | undefined;
|
|
@@ -12438,6 +12461,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
12438
12461
|
fontWeight?: "300" | "800" | "600" | "400" | "500" | "700" | undefined;
|
|
12439
12462
|
fontStyle?: "italic" | "normal" | undefined;
|
|
12440
12463
|
textAlign?: "center" | "left" | "right" | undefined;
|
|
12464
|
+
fontSize?: number | undefined;
|
|
12441
12465
|
} | undefined;
|
|
12442
12466
|
bodyTitleStyle?: {
|
|
12443
12467
|
color?: string | undefined;
|
|
@@ -12448,6 +12472,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
12448
12472
|
fontWeight?: "300" | "800" | "600" | "400" | "500" | "700" | undefined;
|
|
12449
12473
|
fontStyle?: "italic" | "normal" | undefined;
|
|
12450
12474
|
textAlign?: "center" | "left" | "right" | undefined;
|
|
12475
|
+
fontSize?: number | undefined;
|
|
12451
12476
|
} | undefined;
|
|
12452
12477
|
bodySubtitleStyle?: {
|
|
12453
12478
|
color?: string | undefined;
|
|
@@ -12458,6 +12483,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
12458
12483
|
fontWeight?: "300" | "800" | "600" | "400" | "500" | "700" | undefined;
|
|
12459
12484
|
fontStyle?: "italic" | "normal" | undefined;
|
|
12460
12485
|
textAlign?: "center" | "left" | "right" | undefined;
|
|
12486
|
+
fontSize?: number | undefined;
|
|
12461
12487
|
} | undefined;
|
|
12462
12488
|
customPrivacy?: string | undefined;
|
|
12463
12489
|
customImprint?: string | undefined;
|
|
@@ -12522,6 +12548,17 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
12522
12548
|
editMode?: "all" | "batch" | "single" | undefined;
|
|
12523
12549
|
logo?: string | undefined;
|
|
12524
12550
|
title?: string | undefined;
|
|
12551
|
+
titleStyle?: {
|
|
12552
|
+
color?: string | undefined;
|
|
12553
|
+
font?: {
|
|
12554
|
+
name: string;
|
|
12555
|
+
src?: string | undefined;
|
|
12556
|
+
} | undefined;
|
|
12557
|
+
fontWeight?: "300" | "800" | "600" | "400" | "500" | "700" | undefined;
|
|
12558
|
+
fontStyle?: "italic" | "normal" | undefined;
|
|
12559
|
+
textAlign?: "center" | "left" | "right" | undefined;
|
|
12560
|
+
fontSize?: number | undefined;
|
|
12561
|
+
} | undefined;
|
|
12525
12562
|
hints?: {
|
|
12526
12563
|
enabled: boolean;
|
|
12527
12564
|
} | undefined;
|
|
@@ -12556,6 +12593,18 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
12556
12593
|
label: string;
|
|
12557
12594
|
items: string[];
|
|
12558
12595
|
}[] | undefined;
|
|
12596
|
+
order?: string[] | undefined;
|
|
12597
|
+
exportOverrides?: Record<string, {
|
|
12598
|
+
linkedin: boolean;
|
|
12599
|
+
instagram: boolean;
|
|
12600
|
+
facebook: boolean;
|
|
12601
|
+
x: boolean;
|
|
12602
|
+
mail: boolean;
|
|
12603
|
+
whatsapp: boolean;
|
|
12604
|
+
download: boolean;
|
|
12605
|
+
webhook?: string | undefined;
|
|
12606
|
+
redirect?: string | undefined;
|
|
12607
|
+
}> | null | undefined;
|
|
12559
12608
|
};
|
|
12560
12609
|
landingPage: {
|
|
12561
12610
|
headerTitle?: string | undefined;
|
|
@@ -12576,6 +12625,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
12576
12625
|
fontWeight?: "300" | "800" | "600" | "400" | "500" | "700" | undefined;
|
|
12577
12626
|
fontStyle?: "italic" | "normal" | undefined;
|
|
12578
12627
|
textAlign?: "center" | "left" | "right" | undefined;
|
|
12628
|
+
fontSize?: number | undefined;
|
|
12579
12629
|
} | undefined;
|
|
12580
12630
|
bodyTitleStyle?: {
|
|
12581
12631
|
color?: string | undefined;
|
|
@@ -12586,6 +12636,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
12586
12636
|
fontWeight?: "300" | "800" | "600" | "400" | "500" | "700" | undefined;
|
|
12587
12637
|
fontStyle?: "italic" | "normal" | undefined;
|
|
12588
12638
|
textAlign?: "center" | "left" | "right" | undefined;
|
|
12639
|
+
fontSize?: number | undefined;
|
|
12589
12640
|
} | undefined;
|
|
12590
12641
|
bodySubtitleStyle?: {
|
|
12591
12642
|
color?: string | undefined;
|
|
@@ -12596,6 +12647,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
12596
12647
|
fontWeight?: "300" | "800" | "600" | "400" | "500" | "700" | undefined;
|
|
12597
12648
|
fontStyle?: "italic" | "normal" | undefined;
|
|
12598
12649
|
textAlign?: "center" | "left" | "right" | undefined;
|
|
12650
|
+
fontSize?: number | undefined;
|
|
12599
12651
|
} | undefined;
|
|
12600
12652
|
customPrivacy?: string | undefined;
|
|
12601
12653
|
customImprint?: string | undefined;
|