@bluepic/embed 0.4.0-next.161 → 0.4.0-next.162
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 +147 -155
- package/dist/bluepic-embed.umd.js +147 -155
- package/dist/components/TemplateEditor/BxTemplateEditor.vue.d.ts +3 -2
- package/dist/components/TemplateEditor/FieldHintsLayer.vue.d.ts +1 -0
- package/dist/components/TemplateEditor/TemplateView.vue.d.ts +4 -1
- package/dist/main.cjs +71 -79
- package/dist/main.mjs +25647 -25728
- package/dist/style.css +1 -1
- package/dist/util/fieldHints/chipAction.d.ts +9 -9
- package/dist/util/fieldHints/fieldFocus.d.ts +22 -13
- package/dist/util/fieldHints/index.d.ts +1 -3
- package/dist/util/fieldHints/useFieldHitboxes.d.ts +1 -1
- package/dist/util/fieldHints/useHintReveal.d.ts +1 -1
- package/package.json +1 -1
- package/dist/util/fieldHints/placement.d.ts +0 -72
|
@@ -25,8 +25,9 @@ type __VLS_Props = {
|
|
|
25
25
|
branding: boolean;
|
|
26
26
|
exportOptions: z.infer<typeof Studio.campaignConfigSchema>['export'];
|
|
27
27
|
/**
|
|
28
|
-
* Campaign field-hints config (`config.hints`).
|
|
29
|
-
* every campaign predating the feature — means
|
|
28
|
+
* Campaign field-hints config (`config.hints`). ON by default: absent —
|
|
29
|
+
* which is every campaign predating the feature — means hints are shown.
|
|
30
|
+
* The flag exists to turn them OFF.
|
|
30
31
|
*/
|
|
31
32
|
hints?: z.infer<typeof Studio.campaignConfigSchema>['hints'];
|
|
32
33
|
apiBaseUrl: string;
|
|
@@ -25,6 +25,7 @@ type __VLS_Props = {
|
|
|
25
25
|
transform: unknown;
|
|
26
26
|
/** On multi-frame templates, only the focused frame's hints are shown. */
|
|
27
27
|
activeFrameIndex?: number;
|
|
28
|
+
/** Paint only. The hitboxes stay clickable either way — see the stylesheet. */
|
|
28
29
|
revealed: boolean;
|
|
29
30
|
/** Live caret + selection in SERIAL coordinates, or absent when not editing. */
|
|
30
31
|
textState?: CanvasTextState;
|
|
@@ -31,7 +31,10 @@ type __VLS_Props = {
|
|
|
31
31
|
accessibilityDescription?: string;
|
|
32
32
|
/** Derived field-hint targets in serial coordinates. Empty = no overlay. */
|
|
33
33
|
fieldHitboxes?: FieldHitbox[];
|
|
34
|
-
/**
|
|
34
|
+
/**
|
|
35
|
+
* Whether the hint overlay is PAINTED (hover on desktop, tap on mobile). The
|
|
36
|
+
* hitboxes stay clickable regardless — see `FieldHintsLayer`.
|
|
37
|
+
*/
|
|
35
38
|
hintsRevealed?: boolean;
|
|
36
39
|
/** Live caret + selection in serial coordinates while a hint-focused field is edited. */
|
|
37
40
|
textState?: CanvasTextState;
|