@unlayer/types 1.535.0 → 1.538.0
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/containers/body.d.ts +1 -0
- package/dist/containers/column.d.ts +1 -0
- package/dist/containers/footer.d.ts +5 -1
- package/dist/containers/header.d.ts +5 -1
- package/dist/containers/row.d.ts +6 -1
- package/dist/editor/editor.d.ts +11 -1
- package/dist/editor/intl.d.ts +155 -0
- package/dist/editor/utils.d.ts +6 -0
- package/package.json +1 -1
|
@@ -50,14 +50,18 @@ type FooterValuesBase = {
|
|
|
50
50
|
hideable: boolean;
|
|
51
51
|
};
|
|
52
52
|
|
|
53
|
-
type FooterValuesForEmail = FooterValuesBase
|
|
53
|
+
type FooterValuesForEmail = FooterValuesBase & {
|
|
54
|
+
reverseStackMobile: boolean;
|
|
55
|
+
};
|
|
54
56
|
|
|
55
57
|
type FooterValuesForWeb = FooterValuesBase & {
|
|
56
58
|
alignItems: "center" | "flex-start" | "flex-end";
|
|
59
|
+
reverseStackMobile: boolean;
|
|
57
60
|
};
|
|
58
61
|
|
|
59
62
|
type FooterValuesForPopup = FooterValuesBase & {
|
|
60
63
|
alignItems: "center" | "flex-start" | "flex-end";
|
|
64
|
+
reverseStackMobile: boolean;
|
|
61
65
|
};
|
|
62
66
|
|
|
63
67
|
type FooterValuesForDocument = FooterValuesBase & {
|
|
@@ -50,14 +50,18 @@ type HeaderValuesBase = {
|
|
|
50
50
|
hideable: boolean;
|
|
51
51
|
};
|
|
52
52
|
|
|
53
|
-
type HeaderValuesForEmail = HeaderValuesBase
|
|
53
|
+
type HeaderValuesForEmail = HeaderValuesBase & {
|
|
54
|
+
reverseStackMobile: boolean;
|
|
55
|
+
};
|
|
54
56
|
|
|
55
57
|
type HeaderValuesForWeb = HeaderValuesBase & {
|
|
56
58
|
alignItems: "center" | "flex-start" | "flex-end";
|
|
59
|
+
reverseStackMobile: boolean;
|
|
57
60
|
};
|
|
58
61
|
|
|
59
62
|
type HeaderValuesForPopup = HeaderValuesBase & {
|
|
60
63
|
alignItems: "center" | "flex-start" | "flex-end";
|
|
64
|
+
reverseStackMobile: boolean;
|
|
61
65
|
};
|
|
62
66
|
|
|
63
67
|
type HeaderValuesForDocument = HeaderValuesBase & {
|
package/dist/containers/row.d.ts
CHANGED
|
@@ -50,14 +50,18 @@ type RowValuesBase = {
|
|
|
50
50
|
hideable: boolean;
|
|
51
51
|
};
|
|
52
52
|
|
|
53
|
-
type RowValuesForEmail = RowValuesBase
|
|
53
|
+
type RowValuesForEmail = RowValuesBase & {
|
|
54
|
+
reverseStackMobile: boolean;
|
|
55
|
+
};
|
|
54
56
|
|
|
55
57
|
type RowValuesForWeb = RowValuesBase & {
|
|
56
58
|
alignItems: "center" | "flex-start" | "flex-end";
|
|
59
|
+
reverseStackMobile: boolean;
|
|
57
60
|
};
|
|
58
61
|
|
|
59
62
|
type RowValuesForPopup = RowValuesBase & {
|
|
60
63
|
alignItems: "center" | "flex-start" | "flex-end";
|
|
64
|
+
reverseStackMobile: boolean;
|
|
61
65
|
};
|
|
62
66
|
|
|
63
67
|
type RowValuesForDocument = RowValuesBase & {
|
|
@@ -96,6 +100,7 @@ type RowExporter = (
|
|
|
96
100
|
language: string | undefined;
|
|
97
101
|
collection: Collection;
|
|
98
102
|
exporterConfig: ExporterConfig;
|
|
103
|
+
mobileStackHtml?: string;
|
|
99
104
|
},
|
|
100
105
|
) => string;
|
|
101
106
|
|
package/dist/editor/editor.d.ts
CHANGED
|
@@ -67,6 +67,7 @@ meta: {
|
|
|
67
67
|
bodyValues: BodyValues;
|
|
68
68
|
type: string;
|
|
69
69
|
variant: Variant;
|
|
70
|
+
hasEmailMobileStack?: boolean;
|
|
70
71
|
}) => string;
|
|
71
72
|
|
|
72
73
|
export type RowContainerExporter = (innerHTML: string, rowValues: RowValues, // @deprecated use last param instead
|
|
@@ -81,6 +82,7 @@ meta: {
|
|
|
81
82
|
language: string | undefined;
|
|
82
83
|
collection: Collection;
|
|
83
84
|
exporterConfig: ExporterConfig;
|
|
85
|
+
mobileStackHtml?: string;
|
|
84
86
|
}) => string;
|
|
85
87
|
|
|
86
88
|
export type ColumnContainerExporter = (innerHTML: string, columnValues: Record<string, any>, // @deprecated use last param instead
|
|
@@ -97,6 +99,7 @@ meta: {
|
|
|
97
99
|
bodyValues: BodyValues;
|
|
98
100
|
variant: Variant;
|
|
99
101
|
language: string;
|
|
102
|
+
fullWidthEmailColumn?: boolean;
|
|
100
103
|
}) => string;
|
|
101
104
|
|
|
102
105
|
export type ContentContainerExporter = (innerHTML: string, contentValues: Record<string, any>, // @deprecated use last param instead
|
|
@@ -457,6 +460,13 @@ interface MessageData {
|
|
|
457
460
|
}
|
|
458
461
|
|
|
459
462
|
export interface FrameOptions {
|
|
463
|
+
/**
|
|
464
|
+
* Accessible name of the iframe (WCAG 4.1.2), set as its `aria-label`:
|
|
465
|
+
* screen reader users hear it when they reach the editor in the host page.
|
|
466
|
+
* Named after the `editor.title` option it usually comes from; it is never
|
|
467
|
+
* the iframe's `title`, which browsers show as a hover tooltip.
|
|
468
|
+
*/
|
|
469
|
+
iframeTitle?: string;
|
|
460
470
|
/**
|
|
461
471
|
* Background color painted on the iframe element + injected into the
|
|
462
472
|
* iframe document's `<html>` / `<body>` / `#editor` via an inline
|
|
@@ -495,7 +505,7 @@ declare class Frame {
|
|
|
495
505
|
capabilities: FrameCapabilities | null;
|
|
496
506
|
private capabilityListeners;
|
|
497
507
|
constructor(src: string, options?: FrameOptions);
|
|
498
|
-
createIframe(src: string, { iframeBackgroundColor, iframeTextColor }?: FrameOptions): HTMLIFrameElement;
|
|
508
|
+
createIframe(src: string, { iframeBackgroundColor, iframeTextColor, iframeTitle }?: FrameOptions): HTMLIFrameElement;
|
|
499
509
|
destroy: () => void;
|
|
500
510
|
/**
|
|
501
511
|
* Calls `listener` with the editor's capabilities once they are known, and
|
package/dist/editor/intl.d.ts
CHANGED
|
@@ -93,9 +93,11 @@ export type EditorTranslationKey =
|
|
|
93
93
|
| 'buttons.corners'
|
|
94
94
|
| 'buttons.crop'
|
|
95
95
|
| 'buttons.delete'
|
|
96
|
+
| 'buttons.delete_image_number'
|
|
96
97
|
| 'buttons.deselect'
|
|
97
98
|
| 'buttons.desktop'
|
|
98
99
|
| 'buttons.disable_amp'
|
|
100
|
+
| 'buttons.dismiss'
|
|
99
101
|
| 'buttons.done'
|
|
100
102
|
| 'buttons.download_pdf'
|
|
101
103
|
| 'buttons.draw'
|
|
@@ -150,8 +152,20 @@ export type EditorTranslationKey =
|
|
|
150
152
|
| 'buttons.use_prompt'
|
|
151
153
|
| 'buttons.use_this'
|
|
152
154
|
| 'buttons.zoom'
|
|
155
|
+
| 'canvas.design_label'
|
|
156
|
+
| 'canvas.editing_instructions_line'
|
|
157
|
+
| 'canvas.editing_instructions_table'
|
|
158
|
+
| 'canvas.editing_instructions_text'
|
|
159
|
+
| 'canvas.layer_with_columns'
|
|
160
|
+
| 'canvas.layer_with_states'
|
|
161
|
+
| 'canvas.layer_with_text'
|
|
162
|
+
| 'canvas.state_locked'
|
|
163
|
+
| 'canvas.state_page_warning'
|
|
164
|
+
| 'canvas.table_cell_label'
|
|
153
165
|
| 'collaboration.add_comment'
|
|
154
166
|
| 'collaboration.collaboration_mode'
|
|
167
|
+
| 'collaboration.comment_options'
|
|
168
|
+
| 'collaboration.edit_comment'
|
|
155
169
|
| 'collaboration.empty.subtitle'
|
|
156
170
|
| 'collaboration.empty.title'
|
|
157
171
|
| 'collaboration.empty_filtered.subtitle'
|
|
@@ -170,6 +184,8 @@ export type EditorTranslationKey =
|
|
|
170
184
|
| 'collaboration.replies.one'
|
|
171
185
|
| 'collaboration.resolve'
|
|
172
186
|
| 'collaboration.resolved'
|
|
187
|
+
| 'collaboration.send_comment'
|
|
188
|
+
| 'collaboration.send_reply'
|
|
173
189
|
| 'collaboration.types.feedback'
|
|
174
190
|
| 'collaboration.types.idea'
|
|
175
191
|
| 'collaboration.types.question'
|
|
@@ -198,12 +214,25 @@ export type EditorTranslationKey =
|
|
|
198
214
|
| 'dev_tab.info'
|
|
199
215
|
| 'dev_tab.loading_project'
|
|
200
216
|
| 'dev_tab.loading_project_info'
|
|
217
|
+
| 'dnd.cancelled'
|
|
218
|
+
| 'dnd.drop_target_in_column'
|
|
219
|
+
| 'dnd.drop_target_in_rows'
|
|
220
|
+
| 'dnd.dropped'
|
|
221
|
+
| 'dnd.dropped_outside'
|
|
222
|
+
| 'dnd.instructions'
|
|
223
|
+
| 'dnd.instructions_canvas'
|
|
224
|
+
| 'dnd.not_over'
|
|
225
|
+
| 'dnd.over'
|
|
226
|
+
| 'dnd.picked_up'
|
|
227
|
+
| 'dnd.row_number'
|
|
228
|
+
| 'dnd.rows'
|
|
201
229
|
| 'editor.accessibility_title.description'
|
|
202
230
|
| 'editor.action_type.label'
|
|
203
231
|
| 'editor.align.label'
|
|
204
232
|
| 'editor.alignment.label'
|
|
205
233
|
| 'editor.all_sides.label'
|
|
206
234
|
| 'editor.alternate_text.label'
|
|
235
|
+
| 'editor.anchor.amp_not_supported'
|
|
207
236
|
| 'editor.anchor.section_already_exists'
|
|
208
237
|
| 'editor.background_color.label'
|
|
209
238
|
| 'editor.background_image.container_width'
|
|
@@ -355,6 +384,7 @@ export type EditorTranslationKey =
|
|
|
355
384
|
| 'editor.link.call_phone'
|
|
356
385
|
| 'editor.link.close_popup'
|
|
357
386
|
| 'editor.link.email'
|
|
387
|
+
| 'editor.link.invalid_url'
|
|
358
388
|
| 'editor.link.mailto'
|
|
359
389
|
| 'editor.link.new_tab'
|
|
360
390
|
| 'editor.link.no_page_sections_found'
|
|
@@ -387,6 +417,7 @@ export type EditorTranslationKey =
|
|
|
387
417
|
| 'editor.magic_image.generating_images_for'
|
|
388
418
|
| 'editor.magic_image.modal_title'
|
|
389
419
|
| 'editor.magic_image.no_suggestions'
|
|
420
|
+
| 'editor.magic_image.prompt_label'
|
|
390
421
|
| 'editor.magic_image.prompt_placeholder'
|
|
391
422
|
| 'editor.magic_image.prompt_score_good'
|
|
392
423
|
| 'editor.magic_image.prompt_score_info'
|
|
@@ -419,6 +450,7 @@ export type EditorTranslationKey =
|
|
|
419
450
|
| 'editor.orientation.label'
|
|
420
451
|
| 'editor.padding.label'
|
|
421
452
|
| 'editor.placeholder.drop_it_here'
|
|
453
|
+
| 'editor.placeholder.keyboard_hint'
|
|
422
454
|
| 'editor.placeholder.text'
|
|
423
455
|
| 'editor.placeholder.text.left'
|
|
424
456
|
| 'editor.placeholder.text.small'
|
|
@@ -435,6 +467,7 @@ export type EditorTranslationKey =
|
|
|
435
467
|
| 'editor.preheader_text.label'
|
|
436
468
|
| 'editor.repeat_footer_on_each_page.label'
|
|
437
469
|
| 'editor.repeat_header_on_each_page.label'
|
|
470
|
+
| 'editor.reverse_stacking_on_mobile.label'
|
|
438
471
|
| 'editor.right.label'
|
|
439
472
|
| 'editor.rounded_border.label'
|
|
440
473
|
| 'editor.rows.label'
|
|
@@ -468,6 +501,25 @@ export type EditorTranslationKey =
|
|
|
468
501
|
| 'editor.smart_text.text_empty'
|
|
469
502
|
| 'editor.social_links.label'
|
|
470
503
|
| 'editor.space_between_fields.label'
|
|
504
|
+
| 'editor.status.ai_image_added'
|
|
505
|
+
| 'editor.status.ai_image_adding'
|
|
506
|
+
| 'editor.status.ai_image_replaced'
|
|
507
|
+
| 'editor.status.ai_image_reverted'
|
|
508
|
+
| 'editor.status.ai_images_added_to_prompt'
|
|
509
|
+
| 'editor.status.device_view'
|
|
510
|
+
| 'editor.status.hidden_on_device'
|
|
511
|
+
| 'editor.status.insert_locked'
|
|
512
|
+
| 'editor.status.insert_not_here'
|
|
513
|
+
| 'editor.status.insert_row_limit'
|
|
514
|
+
| 'editor.status.item_deleted'
|
|
515
|
+
| 'editor.status.item_duplicated'
|
|
516
|
+
| 'editor.status.item_inserted'
|
|
517
|
+
| 'editor.status.item_moved'
|
|
518
|
+
| 'editor.status.redo'
|
|
519
|
+
| 'editor.status.shown_on_device'
|
|
520
|
+
| 'editor.status.tools_panel_hidden'
|
|
521
|
+
| 'editor.status.tools_panel_shown'
|
|
522
|
+
| 'editor.status.undo'
|
|
471
523
|
| 'editor.striped_rows.label'
|
|
472
524
|
| 'editor.striped_rows_background_color.label'
|
|
473
525
|
| 'editor.submit_action.label'
|
|
@@ -589,6 +641,7 @@ export type EditorTranslationKey =
|
|
|
589
641
|
| 'labels.ai.assistant.protected_content_preserved'
|
|
590
642
|
| 'labels.ai.assistant.quick_actions'
|
|
591
643
|
| 'labels.ai.assistant.reorder_images'
|
|
644
|
+
| 'labels.ai.assistant.reorder_or_insert_images'
|
|
592
645
|
| 'labels.ai.assistant.scroll_to_bottom'
|
|
593
646
|
| 'labels.ai.assistant.select_a_component_to_run_ai'
|
|
594
647
|
| 'labels.ai.assistant.template_importer.choose_file'
|
|
@@ -630,6 +683,9 @@ export type EditorTranslationKey =
|
|
|
630
683
|
| 'labels.ai.image.continue_generating_new_image'
|
|
631
684
|
| 'labels.ai.image.edit_existing_image'
|
|
632
685
|
| 'labels.ai.image.generate_new_image'
|
|
686
|
+
| 'labels.ai.image_number'
|
|
687
|
+
| 'labels.ai.prompt'
|
|
688
|
+
| 'labels.ai.suggested_replies'
|
|
633
689
|
| 'labels.align_text'
|
|
634
690
|
| 'labels.alignment.bottom'
|
|
635
691
|
| 'labels.alignment.center'
|
|
@@ -639,22 +695,32 @@ export type EditorTranslationKey =
|
|
|
639
695
|
| 'labels.alignment.left'
|
|
640
696
|
| 'labels.alignment.right'
|
|
641
697
|
| 'labels.alignment.top'
|
|
698
|
+
| 'labels.alt_text_generation_failed'
|
|
699
|
+
| 'labels.amp_supported'
|
|
642
700
|
| 'labels.auto_off'
|
|
643
701
|
| 'labels.auto_on'
|
|
702
|
+
| 'labels.auto_width_item'
|
|
644
703
|
| 'labels.beta.feedback.buttons.send_feedback'
|
|
645
704
|
| 'labels.beta.feedback.errors.failed_to_send_feedback'
|
|
646
705
|
| 'labels.beta.feedback.footnote'
|
|
647
706
|
| 'labels.beta.feedback.intro_text'
|
|
648
707
|
| 'labels.beta.feedback.thank_you_for_your_feedback'
|
|
708
|
+
| 'labels.beta.feedback.your_feedback'
|
|
649
709
|
| 'labels.beta.feedback.your_feedback_here'
|
|
710
|
+
| 'labels.block_tile'
|
|
650
711
|
| 'labels.blocks.plan_limit.cta'
|
|
651
712
|
| 'labels.blocks.plan_limit.message'
|
|
652
713
|
| 'labels.blocks.plan_limit.title'
|
|
653
714
|
| 'labels.blur'
|
|
715
|
+
| 'labels.categories'
|
|
654
716
|
| 'labels.category'
|
|
717
|
+
| 'labels.cell_options'
|
|
655
718
|
| 'labels.change_language'
|
|
656
719
|
| 'labels.characters'
|
|
720
|
+
| 'labels.clear'
|
|
657
721
|
| 'labels.clear_formatting'
|
|
722
|
+
| 'labels.clear_item'
|
|
723
|
+
| 'labels.color'
|
|
658
724
|
| 'labels.color_picker'
|
|
659
725
|
| 'labels.comments'
|
|
660
726
|
| 'labels.contain'
|
|
@@ -674,14 +740,26 @@ export type EditorTranslationKey =
|
|
|
674
740
|
| 'labels.cut'
|
|
675
741
|
| 'labels.dark'
|
|
676
742
|
| 'labels.dark_mode'
|
|
743
|
+
| 'labels.date'
|
|
744
|
+
| 'labels.decrease'
|
|
745
|
+
| 'labels.decrease_item'
|
|
746
|
+
| 'labels.delete_item'
|
|
677
747
|
| 'labels.description'
|
|
678
748
|
| 'labels.desktop_preview'
|
|
679
749
|
| 'labels.device_override'
|
|
750
|
+
| 'labels.device_view'
|
|
680
751
|
| 'labels.disable_dark_mode'
|
|
681
752
|
| 'labels.dismiss'
|
|
682
753
|
| 'labels.display_conditions'
|
|
754
|
+
| 'labels.document_preview'
|
|
683
755
|
| 'labels.dynamic_content_enabled'
|
|
756
|
+
| 'labels.edit_block'
|
|
757
|
+
| 'labels.edit_item'
|
|
758
|
+
| 'labels.editing_instructions_field'
|
|
684
759
|
| 'labels.editor'
|
|
760
|
+
| 'labels.editor_actions'
|
|
761
|
+
| 'labels.editor_panels'
|
|
762
|
+
| 'labels.emojis'
|
|
685
763
|
| 'labels.enable_dark_mode'
|
|
686
764
|
| 'labels.error'
|
|
687
765
|
| 'labels.errors.failed_to_fetch_prompt_suggestions'
|
|
@@ -698,8 +776,16 @@ export type EditorTranslationKey =
|
|
|
698
776
|
| 'labels.google_fonts'
|
|
699
777
|
| 'labels.gradient'
|
|
700
778
|
| 'labels.header'
|
|
779
|
+
| 'labels.heading_level'
|
|
701
780
|
| 'labels.hide'
|
|
702
781
|
| 'labels.horizontal'
|
|
782
|
+
| 'labels.image'
|
|
783
|
+
| 'labels.image_credit'
|
|
784
|
+
| 'labels.image_editor'
|
|
785
|
+
| 'labels.image_preview_instructions'
|
|
786
|
+
| 'labels.increase'
|
|
787
|
+
| 'labels.increase_item'
|
|
788
|
+
| 'labels.item_actions'
|
|
703
789
|
| 'labels.landscape'
|
|
704
790
|
| 'labels.language'
|
|
705
791
|
| 'labels.learn_more'
|
|
@@ -713,16 +799,24 @@ export type EditorTranslationKey =
|
|
|
713
799
|
| 'labels.locked_live_mode.message'
|
|
714
800
|
| 'labels.menu.label'
|
|
715
801
|
| 'labels.menu.links'
|
|
802
|
+
| 'labels.menu_item_number'
|
|
716
803
|
| 'labels.merge_tags'
|
|
717
804
|
| 'labels.mobile_preview'
|
|
805
|
+
| 'labels.modified_for_device'
|
|
806
|
+
| 'labels.more_actions'
|
|
718
807
|
| 'labels.more_images'
|
|
808
|
+
| 'labels.move_item'
|
|
809
|
+
| 'labels.move_item_down'
|
|
810
|
+
| 'labels.move_item_up'
|
|
719
811
|
| 'labels.multi_language.plan_limit.tooltip'
|
|
812
|
+
| 'labels.name_with_instructions'
|
|
720
813
|
| 'labels.new'
|
|
721
814
|
| 'labels.no_images'
|
|
722
815
|
| 'labels.no_results'
|
|
723
816
|
| 'labels.none'
|
|
724
817
|
| 'labels.not_supported'
|
|
725
818
|
| 'labels.objects'
|
|
819
|
+
| 'labels.open_document_preview'
|
|
726
820
|
| 'labels.orientation'
|
|
727
821
|
| 'labels.outline'
|
|
728
822
|
| 'labels.page'
|
|
@@ -730,18 +824,27 @@ export type EditorTranslationKey =
|
|
|
730
824
|
| 'labels.paste'
|
|
731
825
|
| 'labels.portrait'
|
|
732
826
|
| 'labels.position'
|
|
827
|
+
| 'labels.preview'
|
|
733
828
|
| 'labels.prompt'
|
|
734
829
|
| 'labels.radius'
|
|
735
830
|
| 'labels.recents'
|
|
736
831
|
| 'labels.redo'
|
|
737
832
|
| 'labels.refresh'
|
|
738
833
|
| 'labels.refresh_results'
|
|
834
|
+
| 'labels.reset_item'
|
|
835
|
+
| 'labels.resize_table_column'
|
|
836
|
+
| 'labels.resize_table_row'
|
|
739
837
|
| 'labels.resolution'
|
|
838
|
+
| 'labels.row_layout_tile'
|
|
740
839
|
| 'labels.safe_search'
|
|
741
840
|
| 'labels.search'
|
|
841
|
+
| 'labels.search_blocks'
|
|
842
|
+
| 'labels.search_emojis'
|
|
742
843
|
| 'labels.search_images'
|
|
743
844
|
| 'labels.search_images_by_name'
|
|
845
|
+
| 'labels.search_stock_images'
|
|
744
846
|
| 'labels.section'
|
|
847
|
+
| 'labels.see_all_in_category'
|
|
745
848
|
| 'labels.select_tone'
|
|
746
849
|
| 'labels.shadow'
|
|
747
850
|
| 'labels.show'
|
|
@@ -754,18 +857,29 @@ export type EditorTranslationKey =
|
|
|
754
857
|
| 'labels.stock_photos_by'
|
|
755
858
|
| 'labels.stock_photos_license'
|
|
756
859
|
| 'labels.stop'
|
|
860
|
+
| 'labels.style'
|
|
861
|
+
| 'labels.success'
|
|
862
|
+
| 'labels.sync_block_synced'
|
|
863
|
+
| 'labels.sync_block_unsynced'
|
|
757
864
|
| 'labels.tabloid'
|
|
865
|
+
| 'labels.tabs_instructions_horizontal'
|
|
866
|
+
| 'labels.tabs_instructions_vertical'
|
|
758
867
|
| 'labels.tags'
|
|
868
|
+
| 'labels.text_formatting'
|
|
759
869
|
| 'labels.text_prompt'
|
|
760
870
|
| 'labels.text_style'
|
|
761
871
|
| 'labels.texture'
|
|
872
|
+
| 'labels.time'
|
|
762
873
|
| 'labels.timezone'
|
|
763
874
|
| 'labels.tip'
|
|
764
875
|
| 'labels.tone'
|
|
765
876
|
| 'labels.tools.custom.plan_limit.cta'
|
|
766
877
|
| 'labels.tools.custom.plan_limit.description'
|
|
767
878
|
| 'labels.tools.custom.plan_limit.title'
|
|
879
|
+
| 'labels.tools_panel'
|
|
880
|
+
| 'labels.transparent'
|
|
768
881
|
| 'labels.undo'
|
|
882
|
+
| 'labels.unit'
|
|
769
883
|
| 'labels.usage_limit.errors.credits_exhausted'
|
|
770
884
|
| 'labels.usage_limit.errors.credits_exhausted_claimable'
|
|
771
885
|
| 'labels.usage_limit.errors.credits_exhausted_claimable_billing'
|
|
@@ -779,7 +893,10 @@ export type EditorTranslationKey =
|
|
|
779
893
|
| 'labels.usage_limit.features.countdown_views'
|
|
780
894
|
| 'labels.usage_limit.features.export'
|
|
781
895
|
| 'labels.usage_limit.features.inbox_preview'
|
|
896
|
+
| 'labels.use_generated_image'
|
|
897
|
+
| 'labels.use_this_result'
|
|
782
898
|
| 'labels.vertical'
|
|
899
|
+
| 'labels.warning'
|
|
783
900
|
| 'labels.words'
|
|
784
901
|
| 'minimap.hide'
|
|
785
902
|
| 'minimap.label'
|
|
@@ -793,6 +910,9 @@ export type EditorTranslationKey =
|
|
|
793
910
|
| 'modals.delete.confirmation'
|
|
794
911
|
| 'modals.delete.title'
|
|
795
912
|
| 'modals.display_conditions.title'
|
|
913
|
+
| 'modals.preview.amp_error_count'
|
|
914
|
+
| 'modals.preview.amp_validation_link'
|
|
915
|
+
| 'modals.preview.amp_validation_passed'
|
|
796
916
|
| 'modals.preview.browser_preview.label'
|
|
797
917
|
| 'modals.preview.content_overflow_warning'
|
|
798
918
|
| 'modals.preview.download_pdf.downloaded'
|
|
@@ -885,6 +1005,7 @@ export type EditorTranslationKey =
|
|
|
885
1005
|
| 'modals.preview.inbox_preview.label.zoom_out'
|
|
886
1006
|
| 'modals.preview.inbox_preview.polling_status_timed_out'
|
|
887
1007
|
| 'modals.preview.inbox_preview.polling_timed_out'
|
|
1008
|
+
| 'modals.preview.inbox_preview.search_clients'
|
|
888
1009
|
| 'modals.preview.inbox_preview.settings_link'
|
|
889
1010
|
| 'modals.preview.inbox_preview.text.email_clients'
|
|
890
1011
|
| 'modals.preview.inbox_preview.text.generate_previews'
|
|
@@ -1041,6 +1162,7 @@ export type EditorTranslationKey =
|
|
|
1041
1162
|
| 'tools.form.update_field'
|
|
1042
1163
|
| 'tools.social.click_icons_to_add'
|
|
1043
1164
|
| 'tools.tabs.audit'
|
|
1165
|
+
| 'tools.tabs.audit_issue_count'
|
|
1044
1166
|
| 'tools.tabs.blocks'
|
|
1045
1167
|
| 'tools.tabs.body'
|
|
1046
1168
|
| 'tools.tabs.content'
|
|
@@ -1053,8 +1175,10 @@ export type EditorTranslationKey =
|
|
|
1053
1175
|
|
|
1054
1176
|
export type ImageEditorTranslationKey =
|
|
1055
1177
|
| 'image_editor.actions.reset'
|
|
1178
|
+
| 'image_editor.actions.reset_item'
|
|
1056
1179
|
| 'image_editor.ai_assistant.aborted'
|
|
1057
1180
|
| 'image_editor.ai_assistant.clarify_edit'
|
|
1181
|
+
| 'image_editor.ai_assistant.close'
|
|
1058
1182
|
| 'image_editor.ai_assistant.credits_exhausted.claimable_message'
|
|
1059
1183
|
| 'image_editor.ai_assistant.credits_exhausted.contact_owner_message'
|
|
1060
1184
|
| 'image_editor.ai_assistant.credits_exhausted.message'
|
|
@@ -1069,6 +1193,10 @@ export type ImageEditorTranslationKey =
|
|
|
1069
1193
|
| 'image_editor.ai_assistant.progress.analyzing'
|
|
1070
1194
|
| 'image_editor.ai_assistant.progress.applying'
|
|
1071
1195
|
| 'image_editor.ai_assistant.progress.finalizing'
|
|
1196
|
+
| 'image_editor.ai_assistant.prompt_label'
|
|
1197
|
+
| 'image_editor.ai_assistant.send'
|
|
1198
|
+
| 'image_editor.ai_assistant.show_less'
|
|
1199
|
+
| 'image_editor.ai_assistant.show_more'
|
|
1072
1200
|
| 'image_editor.ai_assistant.suggestions.black_white'
|
|
1073
1201
|
| 'image_editor.ai_assistant.suggestions.blur_background'
|
|
1074
1202
|
| 'image_editor.ai_assistant.suggestions.brightness'
|
|
@@ -1083,11 +1211,25 @@ export type ImageEditorTranslationKey =
|
|
|
1083
1211
|
| 'image_editor.arrange.bring_to_front'
|
|
1084
1212
|
| 'image_editor.arrange.send_backward'
|
|
1085
1213
|
| 'image_editor.arrange.send_to_back'
|
|
1214
|
+
| 'image_editor.canvas.instructions'
|
|
1215
|
+
| 'image_editor.canvas.label'
|
|
1216
|
+
| 'image_editor.colors.black'
|
|
1217
|
+
| 'image_editor.colors.blue'
|
|
1218
|
+
| 'image_editor.colors.green'
|
|
1219
|
+
| 'image_editor.colors.hex'
|
|
1220
|
+
| 'image_editor.colors.orange'
|
|
1221
|
+
| 'image_editor.colors.purple'
|
|
1222
|
+
| 'image_editor.colors.red'
|
|
1223
|
+
| 'image_editor.colors.white'
|
|
1224
|
+
| 'image_editor.colors.yellow'
|
|
1086
1225
|
| 'image_editor.corners.radius'
|
|
1087
1226
|
| 'image_editor.crop.aspect_free'
|
|
1088
1227
|
| 'image_editor.crop.aspect_original'
|
|
1089
1228
|
| 'image_editor.crop.aspect_ratio'
|
|
1090
1229
|
| 'image_editor.crop.aspect_square'
|
|
1230
|
+
| 'image_editor.crop.image_alt'
|
|
1231
|
+
| 'image_editor.crop.region_x'
|
|
1232
|
+
| 'image_editor.crop.region_y'
|
|
1091
1233
|
| 'image_editor.crop.rotate_flip'
|
|
1092
1234
|
| 'image_editor.crop.straighten'
|
|
1093
1235
|
| 'image_editor.draw.brush'
|
|
@@ -1147,6 +1289,12 @@ export type ImageEditorTranslationKey =
|
|
|
1147
1289
|
| 'image_editor.labels.shape'
|
|
1148
1290
|
| 'image_editor.labels.sticker'
|
|
1149
1291
|
| 'image_editor.labels.text'
|
|
1292
|
+
| 'image_editor.objects.actions'
|
|
1293
|
+
| 'image_editor.objects.deleted'
|
|
1294
|
+
| 'image_editor.objects.selected'
|
|
1295
|
+
| 'image_editor.objects.text'
|
|
1296
|
+
| 'image_editor.position.angle'
|
|
1297
|
+
| 'image_editor.position.title'
|
|
1150
1298
|
| 'image_editor.resize.height'
|
|
1151
1299
|
| 'image_editor.resize.lock_aspect'
|
|
1152
1300
|
| 'image_editor.resize.width'
|
|
@@ -1180,8 +1328,10 @@ export type ImageEditorTranslationKey =
|
|
|
1180
1328
|
| 'image_editor.shapes.shadow_offset_y'
|
|
1181
1329
|
| 'image_editor.shapes.shield'
|
|
1182
1330
|
| 'image_editor.shapes.star'
|
|
1331
|
+
| 'image_editor.shapes.tile_label'
|
|
1183
1332
|
| 'image_editor.shapes.transparent'
|
|
1184
1333
|
| 'image_editor.shapes.triangle'
|
|
1334
|
+
| 'image_editor.status.loading_image'
|
|
1185
1335
|
| 'image_editor.stickers.category.beach'
|
|
1186
1336
|
| 'image_editor.stickers.category.bubbles'
|
|
1187
1337
|
| 'image_editor.stickers.category.clouds'
|
|
@@ -1193,6 +1343,7 @@ export type ImageEditorTranslationKey =
|
|
|
1193
1343
|
| 'image_editor.stickers.empty'
|
|
1194
1344
|
| 'image_editor.stickers.less'
|
|
1195
1345
|
| 'image_editor.stickers.more'
|
|
1346
|
+
| 'image_editor.stickers.numbered'
|
|
1196
1347
|
| 'image_editor.stickers.search'
|
|
1197
1348
|
| 'image_editor.text.align'
|
|
1198
1349
|
| 'image_editor.text.align_center'
|
|
@@ -1200,6 +1351,7 @@ export type ImageEditorTranslationKey =
|
|
|
1200
1351
|
| 'image_editor.text.align_right'
|
|
1201
1352
|
| 'image_editor.text.background'
|
|
1202
1353
|
| 'image_editor.text.bold'
|
|
1354
|
+
| 'image_editor.text.content'
|
|
1203
1355
|
| 'image_editor.text.default_text'
|
|
1204
1356
|
| 'image_editor.text.font'
|
|
1205
1357
|
| 'image_editor.text.group.basic'
|
|
@@ -1228,9 +1380,11 @@ export type ImageEditorTranslationKey =
|
|
|
1228
1380
|
| 'image_editor.text.underline'
|
|
1229
1381
|
| 'image_editor.toolbar.cancel'
|
|
1230
1382
|
| 'image_editor.toolbar.close'
|
|
1383
|
+
| 'image_editor.toolbar.close_tool_panel'
|
|
1231
1384
|
| 'image_editor.toolbar.fit_to_screen'
|
|
1232
1385
|
| 'image_editor.toolbar.flatten'
|
|
1233
1386
|
| 'image_editor.toolbar.hide_chat'
|
|
1387
|
+
| 'image_editor.toolbar.label'
|
|
1234
1388
|
| 'image_editor.toolbar.redo'
|
|
1235
1389
|
| 'image_editor.toolbar.save'
|
|
1236
1390
|
| 'image_editor.toolbar.show_chat'
|
|
@@ -1242,6 +1396,7 @@ export type ImageEditorTranslationKey =
|
|
|
1242
1396
|
| 'image_editor.tools.draw'
|
|
1243
1397
|
| 'image_editor.tools.filter'
|
|
1244
1398
|
| 'image_editor.tools.frame'
|
|
1399
|
+
| 'image_editor.tools.label'
|
|
1245
1400
|
| 'image_editor.tools.resize'
|
|
1246
1401
|
| 'image_editor.tools.shapes'
|
|
1247
1402
|
| 'image_editor.tools.stickers'
|
package/dist/editor/utils.d.ts
CHANGED
|
@@ -20,6 +20,12 @@ export interface EditorProps<Value, WidgetParams = object> {
|
|
|
20
20
|
deviceName: Device;
|
|
21
21
|
displayMode: DisplayMode;
|
|
22
22
|
label?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Id of the element that holds the label text. Reference it from the
|
|
25
|
+
* widget's control with `aria-labelledby` so assistive technology
|
|
26
|
+
* announces the control with its label.
|
|
27
|
+
*/
|
|
28
|
+
labelId?: string;
|
|
23
29
|
location: Location;
|
|
24
30
|
values: {
|
|
25
31
|
[key: string]: unknown;
|