@travelopia/web-components 0.9.6 → 0.9.8

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.
@@ -54,6 +54,26 @@ export class TPAccordionItemElement extends HTMLElement {
54
54
  * Constructor.
55
55
  */
56
56
  constructor();
57
+ /**
58
+ * Set up beforematch event listener for find-in-page support.
59
+ */
60
+ private setupBeforeMatchListener;
61
+ /**
62
+ * Set up aria-controls linkage between button and content.
63
+ */
64
+ private setupAriaControls;
65
+ /**
66
+ * Check if ARIA management is enabled.
67
+ *
68
+ * @return {boolean} Whether ARIA management is enabled.
69
+ */
70
+ private isAriaEnabled;
71
+ /**
72
+ * Update ARIA state for handle button and content.
73
+ *
74
+ * @param {boolean} isOpen Whether the accordion item is open.
75
+ */
76
+ private updateAriaState;
57
77
  /**
58
78
  * Get observed attributes.
59
79
  *
@@ -110,6 +130,90 @@ export class TPAccordionElement extends HTMLElement {
110
130
  export class TPFormErrorElement extends HTMLElement {
111
131
  }
112
132
 
133
+ /**
134
+ * TP Form Errors Error.
135
+ */
136
+ export class TPFormErrorsErrorElement extends HTMLElement {
137
+ /**
138
+ * Constructor.
139
+ */
140
+ constructor();
141
+ /**
142
+ * Handle click on error link.
143
+ *
144
+ * @param {Event} event Click event.
145
+ */
146
+ protected handleClick(event: Event): void;
147
+ }
148
+
149
+ /**
150
+ * TP Form Errors Heading.
151
+ *
152
+ * Displays the error count. User controls the heading element wrapper.
153
+ */
154
+ export class TPFormErrorsHeadingElement extends HTMLElement {
155
+ /**
156
+ * Get format.
157
+ *
158
+ * @return {string} Format with $count placeholder.
159
+ */
160
+ get format(): string;
161
+ /**
162
+ * Set format.
163
+ *
164
+ * @param {string} format Format string.
165
+ */
166
+ set format(format: string);
167
+ /**
168
+ * Update the heading with the error count.
169
+ *
170
+ * @param {number} count Number of errors.
171
+ */
172
+ update(count: number): void;
173
+ }
174
+
175
+ /**
176
+ * Internal dependencies.
177
+ */
178
+ import { TPFormFieldElement } from './tp-form-field';
179
+ /**
180
+ * TP Form Errors List.
181
+ *
182
+ * Displays the list of error links using tp-form-errors-error elements.
183
+ */
184
+ export class TPFormErrorsListElement extends HTMLElement {
185
+ /**
186
+ * Update the list with error links.
187
+ *
188
+ * @param {TPFormFieldElement[]} invalidFields Array of invalid form fields.
189
+ */
190
+ update(invalidFields: TPFormFieldElement[]): void;
191
+ /**
192
+ * Clear the list.
193
+ */
194
+ clear(): void;
195
+ }
196
+
197
+ /**
198
+ * Internal dependencies.
199
+ */
200
+ import { TPFormFieldElement } from './tp-form-field';
201
+ /**
202
+ * TP Form Errors.
203
+ */
204
+ export class TPFormErrorsElement extends HTMLElement {
205
+ /**
206
+ * Update the error summary with the given invalid fields.
207
+ *
208
+ * @param {TPFormFieldElement[]} invalidFields Array of invalid form fields.
209
+ */
210
+ update(invalidFields: TPFormFieldElement[]): void;
211
+ /**
212
+ * Clear the error summary.
213
+ */
214
+ clear(): void;
215
+ }
216
+
113
217
  /**
114
218
  * TP Form Field.
115
219
  */
@@ -118,6 +222,10 @@ export class TPFormFieldElement extends HTMLElement {
118
222
  * Constructor.
119
223
  */
120
224
  constructor();
225
+ /**
226
+ * Set up accessibility attributes (label linking, IDs).
227
+ */
228
+ private setupAccessibility;
121
229
  /**
122
230
  * Update validation when the field has changed.
123
231
  */
@@ -232,6 +340,16 @@ export class TPFormElement extends HTMLElement {
232
340
  * @return {boolean} Whether the form is valid or not.
233
341
  */
234
342
  validate(): Promise<boolean>;
343
+ /**
344
+ * Handle validation error - update error summary and manage focus.
345
+ *
346
+ * @param {NodeList} fields All form fields.
347
+ */
348
+ protected handleValidationError(fields: NodeListOf<TPFormFieldElement>): void;
349
+ /**
350
+ * Clear the error summary.
351
+ */
352
+ protected clearErrorSummary(): void;
235
353
  /**
236
354
  * Validate one field.
237
355
  *
@@ -406,6 +524,8 @@ export class TPLightboxElement extends HTMLElement {
406
524
  protected swipeThreshold: number;
407
525
  protected dialogElement: HTMLDialogElement | null;
408
526
  protected lightboxNavItems: NodeListOf<TPLightboxNavItemElement> | null;
527
+ protected previouslyFocusedElement: HTMLElement | null;
528
+ protected readonly boundHandleKeyDown: (e: KeyboardEvent) => void;
409
529
  /**
410
530
  * Constructor.
411
531
  */
@@ -424,6 +544,12 @@ export class TPLightboxElement extends HTMLElement {
424
544
  * @param {string} newValue New value.
425
545
  */
426
546
  attributeChangedCallback(name?: string, oldValue?: string, newValue?: string): void;
547
+ /**
548
+ * Check if ARIA management is enabled.
549
+ *
550
+ * @return {boolean} Whether ARIA is enabled.
551
+ */
552
+ isAriaEnabled(): boolean;
427
553
  /**
428
554
  * Get template.
429
555
  */
@@ -514,6 +640,17 @@ export class TPLightboxElement extends HTMLElement {
514
640
  * Update current item in navigation.
515
641
  */
516
642
  updateNavCurrentItem(): void;
643
+ /**
644
+ * Set initial focus when lightbox opens.
645
+ * Looks for [autofocus] element, otherwise focuses the dialog.
646
+ */
647
+ private setInitialFocus;
648
+ /**
649
+ * Handle keydown events for arrow navigation.
650
+ *
651
+ * @param {KeyboardEvent} e Keyboard event.
652
+ */
653
+ private handleKeyDown;
517
654
  }
518
655
 
519
656
  /**
@@ -534,6 +671,18 @@ export class TPModalCloseElement extends HTMLElement {
534
671
  * TP Modal.
535
672
  */
536
673
  export class TPModalElement extends HTMLElement {
674
+ /**
675
+ * Previously focused element before modal opened.
676
+ */
677
+ private previouslyFocusedElement;
678
+ /**
679
+ * Elements that were made inert when modal opened.
680
+ */
681
+ private inertedElements;
682
+ /**
683
+ * Bound event handlers for cleanup.
684
+ */
685
+ private readonly boundHandleKeyDown;
537
686
  /**
538
687
  * Constructor.
539
688
  */
@@ -546,6 +695,29 @@ export class TPModalElement extends HTMLElement {
546
695
  * Close the modal.
547
696
  */
548
697
  close(): void;
698
+ /**
699
+ * Set initial focus when modal opens.
700
+ * Looks for [autofocus] element, otherwise focuses the modal container.
701
+ */
702
+ private setInitialFocus;
703
+ /**
704
+ * Set or remove inert and aria-hidden on all siblings.
705
+ *
706
+ * @param {boolean} inert Whether to make siblings inert.
707
+ */
708
+ private setSiblingsInert;
709
+ /**
710
+ * Handle keydown events for Escape and focus trap.
711
+ *
712
+ * @param {KeyboardEvent} e Keyboard event.
713
+ */
714
+ private handleKeyDown;
715
+ /**
716
+ * Trap focus within the modal.
717
+ *
718
+ * @param {KeyboardEvent} e Keyboard event.
719
+ */
720
+ private trapFocus;
549
721
  /**
550
722
  * Handle when the component is clicked.
551
723
  *
@@ -562,6 +734,26 @@ export class TPMultiSelectFieldElement extends HTMLElement {
562
734
  * Constructor.
563
735
  */
564
736
  constructor();
737
+ /**
738
+ * Handle keydown events to open the dropdown.
739
+ *
740
+ * @param {KeyboardEvent} e Keyboard event.
741
+ */
742
+ handleKeydown(e: KeyboardEvent): void;
743
+ /**
744
+ * Connected callback.
745
+ */
746
+ connectedCallback(): void;
747
+ /**
748
+ * Setup label click to focus this field.
749
+ * Enables clicking the label to focus the field when aria-labelledby is present.
750
+ */
751
+ setupLabelClick(): void;
752
+ /**
753
+ * Setup ARIA attributes for the field element.
754
+ * Only applies when there is no search input (field acts as combobox).
755
+ */
756
+ setupAriaAttributes(): void;
565
757
  /**
566
758
  * Toggle opening this component.
567
759
  */
@@ -576,6 +768,32 @@ export class TPMultiSelectOptionElement extends HTMLElement {
576
768
  * Constructor.
577
769
  */
578
770
  constructor();
771
+ /**
772
+ * Get observed attributes.
773
+ *
774
+ * @return {Array} List of observed attributes.
775
+ */
776
+ static get observedAttributes(): string[];
777
+ /**
778
+ * Connected callback.
779
+ */
780
+ connectedCallback(): void;
781
+ /**
782
+ * Attribute changed callback.
783
+ *
784
+ * @param {string} name Attribute name.
785
+ * @param {string} oldValue Old value.
786
+ * @param {string} newValue New value.
787
+ */
788
+ attributeChangedCallback(name?: string, oldValue?: string, newValue?: string): void;
789
+ /**
790
+ * Setup ARIA attributes for the option.
791
+ */
792
+ setupAriaAttributes(): void;
793
+ /**
794
+ * Update ARIA state based on selected attribute.
795
+ */
796
+ updateAriaState(): void;
579
797
  /**
580
798
  * Select / un-select this option.
581
799
  *
@@ -588,6 +806,14 @@ export class TPMultiSelectOptionElement extends HTMLElement {
588
806
  * TP Multi Select Options.
589
807
  */
590
808
  export class TPMultiSelectOptionsElement extends HTMLElement {
809
+ /**
810
+ * Connected callback.
811
+ */
812
+ connectedCallback(): void;
813
+ /**
814
+ * Setup ARIA attributes for the listbox.
815
+ */
816
+ setupAriaAttributes(): void;
591
817
  }
592
818
 
593
819
  /**
@@ -640,6 +866,32 @@ export class TPMultiSelectPillsElement extends HTMLElement {
640
866
  export class TPMultiSelectPlaceholderElement extends HTMLElement {
641
867
  }
642
868
 
869
+ /**
870
+ * TP Multi Select Search Status.
871
+ */
872
+ export class TPMultiSelectSearchStatusElement extends HTMLElement {
873
+ /**
874
+ * Store the default role from markup.
875
+ */
876
+ protected defaultRole: string | null;
877
+ /**
878
+ * Store the default aria-live from markup.
879
+ */
880
+ protected defaultAriaLive: string | null;
881
+ /**
882
+ * Constructor.
883
+ */
884
+ constructor();
885
+ /**
886
+ * Connected callback.
887
+ */
888
+ connectedCallback(): void;
889
+ /**
890
+ * Update this component.
891
+ */
892
+ update(): void;
893
+ }
894
+
643
895
  /**
644
896
  * TP Multi Select Search.
645
897
  */
@@ -648,6 +900,14 @@ export class TPMultiSelectSearchElement extends HTMLElement {
648
900
  * Constructor.
649
901
  */
650
902
  constructor();
903
+ /**
904
+ * Connected callback.
905
+ */
906
+ connectedCallback(): void;
907
+ /**
908
+ * Setup ARIA attributes for the search input (combobox).
909
+ */
910
+ setupAriaAttributes(): void;
651
911
  /**
652
912
  * Handle keyboard inputs.
653
913
  *
@@ -682,6 +942,18 @@ export class TPMultiSelectSelectAllElement extends HTMLElement {
682
942
  * Constructor.
683
943
  */
684
944
  constructor();
945
+ /**
946
+ * Connected callback.
947
+ */
948
+ connectedCallback(): void;
949
+ /**
950
+ * Setup ARIA attributes for the select all option.
951
+ */
952
+ setupAriaAttributes(): void;
953
+ /**
954
+ * Update ARIA state based on selected attribute.
955
+ */
956
+ updateAriaState(): void;
685
957
  /**
686
958
  * Handle value changed.
687
959
  */
@@ -735,6 +1007,12 @@ export class TPMultiSelectElement extends HTMLElement {
735
1007
  * @return {Array} List of observed attributes.
736
1008
  */
737
1009
  static get observedAttributes(): string[];
1010
+ /**
1011
+ * Check if ARIA management is enabled.
1012
+ *
1013
+ * @return {boolean} Whether ARIA is enabled.
1014
+ */
1015
+ isAriaEnabled(): boolean;
738
1016
  /**
739
1017
  * Attribute changed callback.
740
1018
  *
@@ -815,6 +1093,30 @@ export class TPMultiSelectElement extends HTMLElement {
815
1093
  * Un-highlight all options.
816
1094
  */
817
1095
  unHighlightAllOptions(): void;
1096
+ /**
1097
+ * Get the combobox element (search input or field).
1098
+ *
1099
+ * @return {HTMLElement | null} The combobox element.
1100
+ */
1101
+ getComboboxElement(): HTMLElement | null;
1102
+ /**
1103
+ * Update aria-expanded on the combobox element.
1104
+ *
1105
+ * @param {boolean} isOpen Whether the dropdown is open.
1106
+ */
1107
+ updateAriaExpanded(isOpen: boolean): void;
1108
+ /**
1109
+ * Update aria-activedescendant on the combobox element.
1110
+ *
1111
+ * @param {string | null} optionId The ID of the highlighted option, or null to clear.
1112
+ */
1113
+ updateAriaActiveDescendant(optionId: string | null): void;
1114
+ /**
1115
+ * Handle focus out events to close the dropdown.
1116
+ *
1117
+ * @param {FocusEvent} e Focus event.
1118
+ */
1119
+ handleFocusOut(e: FocusEvent): void;
818
1120
  }
819
1121
 
820
1122
  /**
@@ -855,6 +1157,48 @@ export class TPNumberSpinnerInput extends HTMLElement {
855
1157
  * TP Number Spinner Element.
856
1158
  */
857
1159
  export class TPNumberSpinner extends HTMLElement {
1160
+ /**
1161
+ * Connected callback.
1162
+ */
1163
+ connectedCallback(): void;
1164
+ /**
1165
+ * Check if ARIA management is enabled.
1166
+ *
1167
+ * @return {boolean} Whether ARIA is enabled.
1168
+ */
1169
+ isAriaEnabled(): boolean;
1170
+ /**
1171
+ * Get the input element.
1172
+ *
1173
+ * @return {HTMLInputElement|null} The input element.
1174
+ */
1175
+ getInput(): HTMLInputElement | null;
1176
+ /**
1177
+ * Set up ARIA attributes on the input.
1178
+ */
1179
+ setupAria(): void;
1180
+ /**
1181
+ * Set tabindex="-1" on buttons if not already set by consumer.
1182
+ */
1183
+ setupButtonTabindex(): void;
1184
+ /**
1185
+ * Handle keydown events on the input.
1186
+ *
1187
+ * @param {KeyboardEvent} event The keyboard event.
1188
+ */
1189
+ handleInputKeydown(event: KeyboardEvent): void;
1190
+ /**
1191
+ * Update ARIA attributes on input and buttons.
1192
+ */
1193
+ updateAriaAttributes(): void;
1194
+ /**
1195
+ * Update aria-disabled state on buttons.
1196
+ *
1197
+ * @param {number} currentValue Current value.
1198
+ * @param {number|null} min Minimum value.
1199
+ * @param {number|null} max Maximum value.
1200
+ */
1201
+ updateButtonStates(currentValue: number, min: number | null, max: number | null): void;
858
1202
  /**
859
1203
  * Get minimum value.
860
1204
  *
@@ -975,6 +1319,20 @@ export class TPSliderNavItemElement extends HTMLElement {
975
1319
  * Constructor.
976
1320
  */
977
1321
  constructor();
1322
+ /**
1323
+ * Get observed attributes.
1324
+ *
1325
+ * @return {Array} List of observed attributes.
1326
+ */
1327
+ static get observedAttributes(): string[];
1328
+ /**
1329
+ * Attribute changed callback.
1330
+ *
1331
+ * @param {string} name Attribute name.
1332
+ * @param {string} _oldValue Old value.
1333
+ * @param {string} newValue New value.
1334
+ */
1335
+ attributeChangedCallback(name: string, _oldValue: string, newValue: string): void;
978
1336
  /**
979
1337
  * Handle when the button is clicked.
980
1338
  */
@@ -1056,6 +1414,12 @@ export class TPSliderElement extends HTMLElement {
1056
1414
  * Constructor.
1057
1415
  */
1058
1416
  constructor();
1417
+ /**
1418
+ * Handle keydown events for arrow key navigation.
1419
+ *
1420
+ * @param {KeyboardEvent} e Keyboard event.
1421
+ */
1422
+ protected handleKeyDown(e: KeyboardEvent): void;
1059
1423
  /**
1060
1424
  * Connected callback.
1061
1425
  */
@@ -1207,15 +1571,57 @@ export class TPTabsNavItemElement extends HTMLElement {
1207
1571
  */
1208
1572
  constructor();
1209
1573
  /**
1210
- * Handle link click.
1574
+ * Get the trigger element (button or anchor).
1575
+ *
1576
+ * @return {HTMLButtonElement | HTMLAnchorElement | null} The trigger element.
1577
+ */
1578
+ getTrigger(): HTMLButtonElement | HTMLAnchorElement | null;
1579
+ /**
1580
+ * Get observed attributes.
1581
+ *
1582
+ * @return {Array} List of observed attributes.
1583
+ */
1584
+ static get observedAttributes(): string[];
1585
+ /**
1586
+ * Attribute changed callback.
1587
+ *
1588
+ * @param {string} name Attribute name.
1589
+ * @param {string} oldValue Old value.
1590
+ * @param {string} newValue New value.
1591
+ */
1592
+ attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
1593
+ /**
1594
+ * Check if ARIA management is enabled.
1595
+ *
1596
+ * @return {boolean} Whether ARIA management is enabled.
1597
+ */
1598
+ private isAriaEnabled;
1599
+ /**
1600
+ * Set up ARIA attributes on the trigger element.
1601
+ */
1602
+ private setupAriaAttributes;
1603
+ /**
1604
+ * Get the panel ID that this nav item controls.
1605
+ *
1606
+ * @return {string} The panel ID.
1607
+ */
1608
+ getPanelId(): string;
1609
+ /**
1610
+ * Update ARIA state on the trigger element.
1611
+ *
1612
+ * @param {boolean} isActive Whether this tab is active.
1613
+ */
1614
+ private updateAriaState;
1615
+ /**
1616
+ * Handle trigger click.
1211
1617
  *
1212
1618
  * @param {Event} e Click event.
1213
1619
  *
1214
1620
  * @protected
1215
1621
  */
1216
- protected handleLinkClick(e: Event): void;
1622
+ protected handleTriggerClick(e: Event): void;
1217
1623
  /**
1218
- * Check if this component contains the link to the current tab.
1624
+ * Check if this component contains the trigger for the current tab.
1219
1625
  *
1220
1626
  * @param {string} currentTab Current tab ID.
1221
1627
  *
@@ -1228,12 +1634,68 @@ export class TPTabsNavItemElement extends HTMLElement {
1228
1634
  * TP Tabs Nav Element.
1229
1635
  */
1230
1636
  export class TPTabsNavElement extends HTMLElement {
1637
+ /**
1638
+ * Constructor.
1639
+ */
1640
+ constructor();
1641
+ /**
1642
+ * Check if ARIA management is enabled.
1643
+ *
1644
+ * @return {boolean} Whether ARIA management is enabled.
1645
+ */
1646
+ private isAriaEnabled;
1647
+ /**
1648
+ * Get all tab trigger elements (buttons or anchors).
1649
+ *
1650
+ * @return {Array<HTMLButtonElement | HTMLAnchorElement>} Array of trigger elements.
1651
+ */
1652
+ private getTabTriggers;
1653
+ /**
1654
+ * Handle keydown events for keyboard navigation.
1655
+ *
1656
+ * @param {KeyboardEvent} e Keyboard event.
1657
+ */
1658
+ private handleKeyDown;
1231
1659
  }
1232
1660
 
1233
1661
  /**
1234
1662
  * TP Tabs Tab Element.
1235
1663
  */
1236
1664
  export class TPTabsTabElement extends HTMLElement {
1665
+ /**
1666
+ * Constructor.
1667
+ */
1668
+ constructor();
1669
+ /**
1670
+ * Get observed attributes.
1671
+ *
1672
+ * @return {Array} List of observed attributes.
1673
+ */
1674
+ static get observedAttributes(): string[];
1675
+ /**
1676
+ * Attribute changed callback.
1677
+ *
1678
+ * @param {string} name Attribute name.
1679
+ * @param {string} oldValue Old value.
1680
+ * @param {string} newValue New value.
1681
+ */
1682
+ attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
1683
+ /**
1684
+ * Check if ARIA management is enabled.
1685
+ *
1686
+ * @return {boolean} Whether ARIA management is enabled.
1687
+ */
1688
+ private isAriaEnabled;
1689
+ /**
1690
+ * Set up ARIA attributes on this tab panel.
1691
+ */
1692
+ private setupAriaAttributes;
1693
+ /**
1694
+ * Update ARIA state on this tab panel.
1695
+ *
1696
+ * @param {boolean} isOpen Whether this panel is open.
1697
+ */
1698
+ private updateAriaState;
1237
1699
  }
1238
1700
 
1239
1701
  /**
@@ -1250,6 +1712,12 @@ export class TPTabsElement extends HTMLElement {
1250
1712
  * @return {Array} List of observed attributes.
1251
1713
  */
1252
1714
  static get observedAttributes(): string[];
1715
+ /**
1716
+ * Check if ARIA management is enabled.
1717
+ *
1718
+ * @return {boolean} Whether ARIA management is enabled.
1719
+ */
1720
+ isAriaEnabled(): boolean;
1253
1721
  /**
1254
1722
  * Attribute changed callback.
1255
1723
  *
@@ -1358,6 +1826,10 @@ export class TPToggleAttributeElement extends HTMLElement {
1358
1826
  export class TPTooltipArrow extends HTMLElement {
1359
1827
  }
1360
1828
 
1829
+ /**
1830
+ * Internal dependencies.
1831
+ */
1832
+ import { TPTooltip } from './tp-tooltip';
1361
1833
  /**
1362
1834
  * TP Tooltip Trigger.
1363
1835
  */
@@ -1366,6 +1838,38 @@ export class TPTooltipTrigger extends HTMLElement {
1366
1838
  * Constructor.
1367
1839
  */
1368
1840
  constructor();
1841
+ /**
1842
+ * Connected callback.
1843
+ */
1844
+ connectedCallback(): void;
1845
+ /**
1846
+ * Check if ARIA management is enabled.
1847
+ *
1848
+ * @return {boolean} Whether ARIA is enabled.
1849
+ */
1850
+ isAriaEnabled(): boolean;
1851
+ /**
1852
+ * Get the tooltip element.
1853
+ *
1854
+ * @return {TPTooltip|null} The tooltip element.
1855
+ */
1856
+ getTooltip(): TPTooltip | null;
1857
+ /**
1858
+ * Get the trigger element (focusable child).
1859
+ *
1860
+ * @return {HTMLElement|null} The trigger element.
1861
+ */
1862
+ getTriggerElement(): HTMLElement | null;
1863
+ /**
1864
+ * Set up ARIA attributes.
1865
+ */
1866
+ setupAria(): void;
1867
+ /**
1868
+ * Handle keydown events.
1869
+ *
1870
+ * @param {KeyboardEvent} event The keyboard event.
1871
+ */
1872
+ handleKeyDown(event: KeyboardEvent): void;
1369
1873
  /**
1370
1874
  * Toggle the tooltip.
1371
1875
  */
@@ -1408,6 +1912,20 @@ export class TPTooltip extends HTMLElement {
1408
1912
  * Constructor.
1409
1913
  */
1410
1914
  constructor();
1915
+ /**
1916
+ * Connected callback.
1917
+ */
1918
+ connectedCallback(): void;
1919
+ /**
1920
+ * Check if ARIA management is enabled.
1921
+ *
1922
+ * @return {boolean} Whether ARIA is enabled.
1923
+ */
1924
+ isAriaEnabled(): boolean;
1925
+ /**
1926
+ * Set up ARIA attributes.
1927
+ */
1928
+ setupAria(): void;
1411
1929
  /**
1412
1930
  * Get offset.
1413
1931
  */