@unlayer/types 1.534.0 → 1.537.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.
@@ -457,6 +457,13 @@ interface MessageData {
457
457
  }
458
458
 
459
459
  export interface FrameOptions {
460
+ /**
461
+ * Accessible name of the iframe (WCAG 4.1.2), set as its `aria-label`:
462
+ * screen reader users hear it when they reach the editor in the host page.
463
+ * Named after the `editor.title` option it usually comes from; it is never
464
+ * the iframe's `title`, which browsers show as a hover tooltip.
465
+ */
466
+ iframeTitle?: string;
460
467
  /**
461
468
  * Background color painted on the iframe element + injected into the
462
469
  * iframe document's `<html>` / `<body>` / `#editor` via an inline
@@ -495,7 +502,7 @@ declare class Frame {
495
502
  capabilities: FrameCapabilities | null;
496
503
  private capabilityListeners;
497
504
  constructor(src: string, options?: FrameOptions);
498
- createIframe(src: string, { iframeBackgroundColor, iframeTextColor }?: FrameOptions): HTMLIFrameElement;
505
+ createIframe(src: string, { iframeBackgroundColor, iframeTextColor, iframeTitle }?: FrameOptions): HTMLIFrameElement;
499
506
  destroy: () => void;
500
507
  /**
501
508
  * Calls `listener` with the editor's capabilities once they are known, and
@@ -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'
@@ -348,12 +377,14 @@ export type EditorTranslationKey =
348
377
  | 'editor.layout.label'
349
378
  | 'editor.left.label'
350
379
  | 'editor.letter_spacing.label'
380
+ | 'editor.letter_spacing.outlook_note'
351
381
  | 'editor.line.label'
352
382
  | 'editor.line_height.label'
353
383
  | 'editor.link.body'
354
384
  | 'editor.link.call_phone'
355
385
  | 'editor.link.close_popup'
356
386
  | 'editor.link.email'
387
+ | 'editor.link.invalid_url'
357
388
  | 'editor.link.mailto'
358
389
  | 'editor.link.new_tab'
359
390
  | 'editor.link.no_page_sections_found'
@@ -386,6 +417,7 @@ export type EditorTranslationKey =
386
417
  | 'editor.magic_image.generating_images_for'
387
418
  | 'editor.magic_image.modal_title'
388
419
  | 'editor.magic_image.no_suggestions'
420
+ | 'editor.magic_image.prompt_label'
389
421
  | 'editor.magic_image.prompt_placeholder'
390
422
  | 'editor.magic_image.prompt_score_good'
391
423
  | 'editor.magic_image.prompt_score_info'
@@ -418,6 +450,7 @@ export type EditorTranslationKey =
418
450
  | 'editor.orientation.label'
419
451
  | 'editor.padding.label'
420
452
  | 'editor.placeholder.drop_it_here'
453
+ | 'editor.placeholder.keyboard_hint'
421
454
  | 'editor.placeholder.text'
422
455
  | 'editor.placeholder.text.left'
423
456
  | 'editor.placeholder.text.small'
@@ -467,6 +500,25 @@ export type EditorTranslationKey =
467
500
  | 'editor.smart_text.text_empty'
468
501
  | 'editor.social_links.label'
469
502
  | 'editor.space_between_fields.label'
503
+ | 'editor.status.ai_image_added'
504
+ | 'editor.status.ai_image_adding'
505
+ | 'editor.status.ai_image_replaced'
506
+ | 'editor.status.ai_image_reverted'
507
+ | 'editor.status.ai_images_added_to_prompt'
508
+ | 'editor.status.device_view'
509
+ | 'editor.status.hidden_on_device'
510
+ | 'editor.status.insert_locked'
511
+ | 'editor.status.insert_not_here'
512
+ | 'editor.status.insert_row_limit'
513
+ | 'editor.status.item_deleted'
514
+ | 'editor.status.item_duplicated'
515
+ | 'editor.status.item_inserted'
516
+ | 'editor.status.item_moved'
517
+ | 'editor.status.redo'
518
+ | 'editor.status.shown_on_device'
519
+ | 'editor.status.tools_panel_hidden'
520
+ | 'editor.status.tools_panel_shown'
521
+ | 'editor.status.undo'
470
522
  | 'editor.striped_rows.label'
471
523
  | 'editor.striped_rows_background_color.label'
472
524
  | 'editor.submit_action.label'
@@ -588,6 +640,7 @@ export type EditorTranslationKey =
588
640
  | 'labels.ai.assistant.protected_content_preserved'
589
641
  | 'labels.ai.assistant.quick_actions'
590
642
  | 'labels.ai.assistant.reorder_images'
643
+ | 'labels.ai.assistant.reorder_or_insert_images'
591
644
  | 'labels.ai.assistant.scroll_to_bottom'
592
645
  | 'labels.ai.assistant.select_a_component_to_run_ai'
593
646
  | 'labels.ai.assistant.template_importer.choose_file'
@@ -629,6 +682,9 @@ export type EditorTranslationKey =
629
682
  | 'labels.ai.image.continue_generating_new_image'
630
683
  | 'labels.ai.image.edit_existing_image'
631
684
  | 'labels.ai.image.generate_new_image'
685
+ | 'labels.ai.image_number'
686
+ | 'labels.ai.prompt'
687
+ | 'labels.ai.suggested_replies'
632
688
  | 'labels.align_text'
633
689
  | 'labels.alignment.bottom'
634
690
  | 'labels.alignment.center'
@@ -638,22 +694,32 @@ export type EditorTranslationKey =
638
694
  | 'labels.alignment.left'
639
695
  | 'labels.alignment.right'
640
696
  | 'labels.alignment.top'
697
+ | 'labels.alt_text_generation_failed'
698
+ | 'labels.amp_supported'
641
699
  | 'labels.auto_off'
642
700
  | 'labels.auto_on'
701
+ | 'labels.auto_width_item'
643
702
  | 'labels.beta.feedback.buttons.send_feedback'
644
703
  | 'labels.beta.feedback.errors.failed_to_send_feedback'
645
704
  | 'labels.beta.feedback.footnote'
646
705
  | 'labels.beta.feedback.intro_text'
647
706
  | 'labels.beta.feedback.thank_you_for_your_feedback'
707
+ | 'labels.beta.feedback.your_feedback'
648
708
  | 'labels.beta.feedback.your_feedback_here'
709
+ | 'labels.block_tile'
649
710
  | 'labels.blocks.plan_limit.cta'
650
711
  | 'labels.blocks.plan_limit.message'
651
712
  | 'labels.blocks.plan_limit.title'
652
713
  | 'labels.blur'
714
+ | 'labels.categories'
653
715
  | 'labels.category'
716
+ | 'labels.cell_options'
654
717
  | 'labels.change_language'
655
718
  | 'labels.characters'
719
+ | 'labels.clear'
656
720
  | 'labels.clear_formatting'
721
+ | 'labels.clear_item'
722
+ | 'labels.color'
657
723
  | 'labels.color_picker'
658
724
  | 'labels.comments'
659
725
  | 'labels.contain'
@@ -673,14 +739,26 @@ export type EditorTranslationKey =
673
739
  | 'labels.cut'
674
740
  | 'labels.dark'
675
741
  | 'labels.dark_mode'
742
+ | 'labels.date'
743
+ | 'labels.decrease'
744
+ | 'labels.decrease_item'
745
+ | 'labels.delete_item'
676
746
  | 'labels.description'
677
747
  | 'labels.desktop_preview'
678
748
  | 'labels.device_override'
749
+ | 'labels.device_view'
679
750
  | 'labels.disable_dark_mode'
680
751
  | 'labels.dismiss'
681
752
  | 'labels.display_conditions'
753
+ | 'labels.document_preview'
682
754
  | 'labels.dynamic_content_enabled'
755
+ | 'labels.edit_block'
756
+ | 'labels.edit_item'
757
+ | 'labels.editing_instructions_field'
683
758
  | 'labels.editor'
759
+ | 'labels.editor_actions'
760
+ | 'labels.editor_panels'
761
+ | 'labels.emojis'
684
762
  | 'labels.enable_dark_mode'
685
763
  | 'labels.error'
686
764
  | 'labels.errors.failed_to_fetch_prompt_suggestions'
@@ -697,8 +775,16 @@ export type EditorTranslationKey =
697
775
  | 'labels.google_fonts'
698
776
  | 'labels.gradient'
699
777
  | 'labels.header'
778
+ | 'labels.heading_level'
700
779
  | 'labels.hide'
701
780
  | 'labels.horizontal'
781
+ | 'labels.image'
782
+ | 'labels.image_credit'
783
+ | 'labels.image_editor'
784
+ | 'labels.image_preview_instructions'
785
+ | 'labels.increase'
786
+ | 'labels.increase_item'
787
+ | 'labels.item_actions'
702
788
  | 'labels.landscape'
703
789
  | 'labels.language'
704
790
  | 'labels.learn_more'
@@ -712,16 +798,24 @@ export type EditorTranslationKey =
712
798
  | 'labels.locked_live_mode.message'
713
799
  | 'labels.menu.label'
714
800
  | 'labels.menu.links'
801
+ | 'labels.menu_item_number'
715
802
  | 'labels.merge_tags'
716
803
  | 'labels.mobile_preview'
804
+ | 'labels.modified_for_device'
805
+ | 'labels.more_actions'
717
806
  | 'labels.more_images'
807
+ | 'labels.move_item'
808
+ | 'labels.move_item_down'
809
+ | 'labels.move_item_up'
718
810
  | 'labels.multi_language.plan_limit.tooltip'
811
+ | 'labels.name_with_instructions'
719
812
  | 'labels.new'
720
813
  | 'labels.no_images'
721
814
  | 'labels.no_results'
722
815
  | 'labels.none'
723
816
  | 'labels.not_supported'
724
817
  | 'labels.objects'
818
+ | 'labels.open_document_preview'
725
819
  | 'labels.orientation'
726
820
  | 'labels.outline'
727
821
  | 'labels.page'
@@ -729,18 +823,27 @@ export type EditorTranslationKey =
729
823
  | 'labels.paste'
730
824
  | 'labels.portrait'
731
825
  | 'labels.position'
826
+ | 'labels.preview'
732
827
  | 'labels.prompt'
733
828
  | 'labels.radius'
734
829
  | 'labels.recents'
735
830
  | 'labels.redo'
736
831
  | 'labels.refresh'
737
832
  | 'labels.refresh_results'
833
+ | 'labels.reset_item'
834
+ | 'labels.resize_table_column'
835
+ | 'labels.resize_table_row'
738
836
  | 'labels.resolution'
837
+ | 'labels.row_layout_tile'
739
838
  | 'labels.safe_search'
740
839
  | 'labels.search'
840
+ | 'labels.search_blocks'
841
+ | 'labels.search_emojis'
741
842
  | 'labels.search_images'
742
843
  | 'labels.search_images_by_name'
844
+ | 'labels.search_stock_images'
743
845
  | 'labels.section'
846
+ | 'labels.see_all_in_category'
744
847
  | 'labels.select_tone'
745
848
  | 'labels.shadow'
746
849
  | 'labels.show'
@@ -753,18 +856,29 @@ export type EditorTranslationKey =
753
856
  | 'labels.stock_photos_by'
754
857
  | 'labels.stock_photos_license'
755
858
  | 'labels.stop'
859
+ | 'labels.style'
860
+ | 'labels.success'
861
+ | 'labels.sync_block_synced'
862
+ | 'labels.sync_block_unsynced'
756
863
  | 'labels.tabloid'
864
+ | 'labels.tabs_instructions_horizontal'
865
+ | 'labels.tabs_instructions_vertical'
757
866
  | 'labels.tags'
867
+ | 'labels.text_formatting'
758
868
  | 'labels.text_prompt'
759
869
  | 'labels.text_style'
760
870
  | 'labels.texture'
871
+ | 'labels.time'
761
872
  | 'labels.timezone'
762
873
  | 'labels.tip'
763
874
  | 'labels.tone'
764
875
  | 'labels.tools.custom.plan_limit.cta'
765
876
  | 'labels.tools.custom.plan_limit.description'
766
877
  | 'labels.tools.custom.plan_limit.title'
878
+ | 'labels.tools_panel'
879
+ | 'labels.transparent'
767
880
  | 'labels.undo'
881
+ | 'labels.unit'
768
882
  | 'labels.usage_limit.errors.credits_exhausted'
769
883
  | 'labels.usage_limit.errors.credits_exhausted_claimable'
770
884
  | 'labels.usage_limit.errors.credits_exhausted_claimable_billing'
@@ -778,7 +892,10 @@ export type EditorTranslationKey =
778
892
  | 'labels.usage_limit.features.countdown_views'
779
893
  | 'labels.usage_limit.features.export'
780
894
  | 'labels.usage_limit.features.inbox_preview'
895
+ | 'labels.use_generated_image'
896
+ | 'labels.use_this_result'
781
897
  | 'labels.vertical'
898
+ | 'labels.warning'
782
899
  | 'labels.words'
783
900
  | 'minimap.hide'
784
901
  | 'minimap.label'
@@ -792,6 +909,9 @@ export type EditorTranslationKey =
792
909
  | 'modals.delete.confirmation'
793
910
  | 'modals.delete.title'
794
911
  | 'modals.display_conditions.title'
912
+ | 'modals.preview.amp_error_count'
913
+ | 'modals.preview.amp_validation_link'
914
+ | 'modals.preview.amp_validation_passed'
795
915
  | 'modals.preview.browser_preview.label'
796
916
  | 'modals.preview.content_overflow_warning'
797
917
  | 'modals.preview.download_pdf.downloaded'
@@ -884,6 +1004,7 @@ export type EditorTranslationKey =
884
1004
  | 'modals.preview.inbox_preview.label.zoom_out'
885
1005
  | 'modals.preview.inbox_preview.polling_status_timed_out'
886
1006
  | 'modals.preview.inbox_preview.polling_timed_out'
1007
+ | 'modals.preview.inbox_preview.search_clients'
887
1008
  | 'modals.preview.inbox_preview.settings_link'
888
1009
  | 'modals.preview.inbox_preview.text.email_clients'
889
1010
  | 'modals.preview.inbox_preview.text.generate_previews'
@@ -1040,6 +1161,7 @@ export type EditorTranslationKey =
1040
1161
  | 'tools.form.update_field'
1041
1162
  | 'tools.social.click_icons_to_add'
1042
1163
  | 'tools.tabs.audit'
1164
+ | 'tools.tabs.audit_issue_count'
1043
1165
  | 'tools.tabs.blocks'
1044
1166
  | 'tools.tabs.body'
1045
1167
  | 'tools.tabs.content'
@@ -1052,8 +1174,10 @@ export type EditorTranslationKey =
1052
1174
 
1053
1175
  export type ImageEditorTranslationKey =
1054
1176
  | 'image_editor.actions.reset'
1177
+ | 'image_editor.actions.reset_item'
1055
1178
  | 'image_editor.ai_assistant.aborted'
1056
1179
  | 'image_editor.ai_assistant.clarify_edit'
1180
+ | 'image_editor.ai_assistant.close'
1057
1181
  | 'image_editor.ai_assistant.credits_exhausted.claimable_message'
1058
1182
  | 'image_editor.ai_assistant.credits_exhausted.contact_owner_message'
1059
1183
  | 'image_editor.ai_assistant.credits_exhausted.message'
@@ -1068,6 +1192,10 @@ export type ImageEditorTranslationKey =
1068
1192
  | 'image_editor.ai_assistant.progress.analyzing'
1069
1193
  | 'image_editor.ai_assistant.progress.applying'
1070
1194
  | 'image_editor.ai_assistant.progress.finalizing'
1195
+ | 'image_editor.ai_assistant.prompt_label'
1196
+ | 'image_editor.ai_assistant.send'
1197
+ | 'image_editor.ai_assistant.show_less'
1198
+ | 'image_editor.ai_assistant.show_more'
1071
1199
  | 'image_editor.ai_assistant.suggestions.black_white'
1072
1200
  | 'image_editor.ai_assistant.suggestions.blur_background'
1073
1201
  | 'image_editor.ai_assistant.suggestions.brightness'
@@ -1082,11 +1210,25 @@ export type ImageEditorTranslationKey =
1082
1210
  | 'image_editor.arrange.bring_to_front'
1083
1211
  | 'image_editor.arrange.send_backward'
1084
1212
  | 'image_editor.arrange.send_to_back'
1213
+ | 'image_editor.canvas.instructions'
1214
+ | 'image_editor.canvas.label'
1215
+ | 'image_editor.colors.black'
1216
+ | 'image_editor.colors.blue'
1217
+ | 'image_editor.colors.green'
1218
+ | 'image_editor.colors.hex'
1219
+ | 'image_editor.colors.orange'
1220
+ | 'image_editor.colors.purple'
1221
+ | 'image_editor.colors.red'
1222
+ | 'image_editor.colors.white'
1223
+ | 'image_editor.colors.yellow'
1085
1224
  | 'image_editor.corners.radius'
1086
1225
  | 'image_editor.crop.aspect_free'
1087
1226
  | 'image_editor.crop.aspect_original'
1088
1227
  | 'image_editor.crop.aspect_ratio'
1089
1228
  | 'image_editor.crop.aspect_square'
1229
+ | 'image_editor.crop.image_alt'
1230
+ | 'image_editor.crop.region_x'
1231
+ | 'image_editor.crop.region_y'
1090
1232
  | 'image_editor.crop.rotate_flip'
1091
1233
  | 'image_editor.crop.straighten'
1092
1234
  | 'image_editor.draw.brush'
@@ -1146,6 +1288,12 @@ export type ImageEditorTranslationKey =
1146
1288
  | 'image_editor.labels.shape'
1147
1289
  | 'image_editor.labels.sticker'
1148
1290
  | 'image_editor.labels.text'
1291
+ | 'image_editor.objects.actions'
1292
+ | 'image_editor.objects.deleted'
1293
+ | 'image_editor.objects.selected'
1294
+ | 'image_editor.objects.text'
1295
+ | 'image_editor.position.angle'
1296
+ | 'image_editor.position.title'
1149
1297
  | 'image_editor.resize.height'
1150
1298
  | 'image_editor.resize.lock_aspect'
1151
1299
  | 'image_editor.resize.width'
@@ -1179,8 +1327,10 @@ export type ImageEditorTranslationKey =
1179
1327
  | 'image_editor.shapes.shadow_offset_y'
1180
1328
  | 'image_editor.shapes.shield'
1181
1329
  | 'image_editor.shapes.star'
1330
+ | 'image_editor.shapes.tile_label'
1182
1331
  | 'image_editor.shapes.transparent'
1183
1332
  | 'image_editor.shapes.triangle'
1333
+ | 'image_editor.status.loading_image'
1184
1334
  | 'image_editor.stickers.category.beach'
1185
1335
  | 'image_editor.stickers.category.bubbles'
1186
1336
  | 'image_editor.stickers.category.clouds'
@@ -1192,6 +1342,7 @@ export type ImageEditorTranslationKey =
1192
1342
  | 'image_editor.stickers.empty'
1193
1343
  | 'image_editor.stickers.less'
1194
1344
  | 'image_editor.stickers.more'
1345
+ | 'image_editor.stickers.numbered'
1195
1346
  | 'image_editor.stickers.search'
1196
1347
  | 'image_editor.text.align'
1197
1348
  | 'image_editor.text.align_center'
@@ -1199,6 +1350,7 @@ export type ImageEditorTranslationKey =
1199
1350
  | 'image_editor.text.align_right'
1200
1351
  | 'image_editor.text.background'
1201
1352
  | 'image_editor.text.bold'
1353
+ | 'image_editor.text.content'
1202
1354
  | 'image_editor.text.default_text'
1203
1355
  | 'image_editor.text.font'
1204
1356
  | 'image_editor.text.group.basic'
@@ -1227,9 +1379,11 @@ export type ImageEditorTranslationKey =
1227
1379
  | 'image_editor.text.underline'
1228
1380
  | 'image_editor.toolbar.cancel'
1229
1381
  | 'image_editor.toolbar.close'
1382
+ | 'image_editor.toolbar.close_tool_panel'
1230
1383
  | 'image_editor.toolbar.fit_to_screen'
1231
1384
  | 'image_editor.toolbar.flatten'
1232
1385
  | 'image_editor.toolbar.hide_chat'
1386
+ | 'image_editor.toolbar.label'
1233
1387
  | 'image_editor.toolbar.redo'
1234
1388
  | 'image_editor.toolbar.save'
1235
1389
  | 'image_editor.toolbar.show_chat'
@@ -1241,6 +1395,7 @@ export type ImageEditorTranslationKey =
1241
1395
  | 'image_editor.tools.draw'
1242
1396
  | 'image_editor.tools.filter'
1243
1397
  | 'image_editor.tools.frame'
1398
+ | 'image_editor.tools.label'
1244
1399
  | 'image_editor.tools.resize'
1245
1400
  | 'image_editor.tools.shapes'
1246
1401
  | 'image_editor.tools.stickers'
@@ -11,6 +11,11 @@ export interface ExporterConfig {
11
11
  textDirection?: string | undefined;
12
12
  generateHtmlFromTextJson?: (textJson: any, options?: {
13
13
  inlineScriptLineHeight?: boolean;
14
+ /** The alignment and text direction of the block the text is in. */
15
+ block?: {
16
+ textAlign?: string;
17
+ textDirection?: string;
18
+ };
14
19
  }) => string;
15
20
  cdnBaseUrl?: string;
16
21
  }
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unlayer/types",
3
- "version": "1.534.0",
3
+ "version": "1.537.0",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "types": "./dist/index.d.ts",