@fluentui/web-components 3.0.0-rc.10 → 3.0.0-rc.12

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.
Files changed (91) hide show
  1. package/CHANGELOG.md +20 -2
  2. package/custom-elements.json +241 -256
  3. package/dist/esm/accordion/accordion.d.ts +2 -1
  4. package/dist/esm/accordion/accordion.js +52 -49
  5. package/dist/esm/accordion/accordion.js.map +1 -1
  6. package/dist/esm/accordion-item/accordion-item.options.d.ts +11 -1
  7. package/dist/esm/accordion-item/accordion-item.options.js +12 -0
  8. package/dist/esm/accordion-item/accordion-item.options.js.map +1 -1
  9. package/dist/esm/anchor-button/anchor-button.base.js +1 -0
  10. package/dist/esm/anchor-button/anchor-button.base.js.map +1 -1
  11. package/dist/esm/avatar/avatar.base.d.ts +64 -10
  12. package/dist/esm/avatar/avatar.base.js +100 -27
  13. package/dist/esm/avatar/avatar.base.js.map +1 -1
  14. package/dist/esm/avatar/avatar.styles.js +20 -3
  15. package/dist/esm/avatar/avatar.styles.js.map +1 -1
  16. package/dist/esm/avatar/avatar.template.js +4 -3
  17. package/dist/esm/avatar/avatar.template.js.map +1 -1
  18. package/dist/esm/button/button.base.d.ts +15 -1
  19. package/dist/esm/button/button.base.js +27 -24
  20. package/dist/esm/button/button.base.js.map +1 -1
  21. package/dist/esm/button/button.template.d.ts +3 -3
  22. package/dist/esm/button/button.template.js.map +1 -1
  23. package/dist/esm/dialog/dialog.d.ts +8 -3
  24. package/dist/esm/dialog/dialog.js +26 -20
  25. package/dist/esm/dialog/dialog.js.map +1 -1
  26. package/dist/esm/drawer/drawer.js +0 -1
  27. package/dist/esm/drawer/drawer.js.map +1 -1
  28. package/dist/esm/dropdown/dropdown.base.d.ts +1 -0
  29. package/dist/esm/dropdown/dropdown.base.js +24 -15
  30. package/dist/esm/dropdown/dropdown.base.js.map +1 -1
  31. package/dist/esm/listbox/listbox.d.ts +12 -7
  32. package/dist/esm/listbox/listbox.js +27 -17
  33. package/dist/esm/listbox/listbox.js.map +1 -1
  34. package/dist/esm/listbox/listbox.template.js +2 -3
  35. package/dist/esm/listbox/listbox.template.js.map +1 -1
  36. package/dist/esm/menu/menu.d.ts +7 -0
  37. package/dist/esm/menu/menu.js +22 -17
  38. package/dist/esm/menu/menu.js.map +1 -1
  39. package/dist/esm/option/option.js +1 -1
  40. package/dist/esm/option/option.js.map +1 -1
  41. package/dist/esm/progress-bar/progress-bar.base.d.ts +19 -4
  42. package/dist/esm/progress-bar/progress-bar.base.js +37 -19
  43. package/dist/esm/progress-bar/progress-bar.base.js.map +1 -1
  44. package/dist/esm/radio/radio.options.d.ts +9 -0
  45. package/dist/esm/radio/radio.options.js +12 -1
  46. package/dist/esm/radio/radio.options.js.map +1 -1
  47. package/dist/esm/radio-group/radio-group.d.ts +13 -7
  48. package/dist/esm/radio-group/radio-group.js +14 -21
  49. package/dist/esm/radio-group/radio-group.js.map +1 -1
  50. package/dist/esm/radio-group/radio-group.template.js +2 -2
  51. package/dist/esm/radio-group/radio-group.template.js.map +1 -1
  52. package/dist/esm/rating-display/rating-display.base.d.ts +11 -1
  53. package/dist/esm/rating-display/rating-display.base.js +24 -11
  54. package/dist/esm/rating-display/rating-display.base.js.map +1 -1
  55. package/dist/esm/slider/slider.d.ts +7 -3
  56. package/dist/esm/slider/slider.js +46 -28
  57. package/dist/esm/slider/slider.js.map +1 -1
  58. package/dist/esm/tab/tab.d.ts +13 -1
  59. package/dist/esm/tab/tab.js +16 -2
  60. package/dist/esm/tab/tab.js.map +1 -1
  61. package/dist/esm/tablist/tablist.base.d.ts +2 -1
  62. package/dist/esm/tablist/tablist.base.js +109 -95
  63. package/dist/esm/tablist/tablist.base.js.map +1 -1
  64. package/dist/esm/tablist/tablist.d.ts +2 -1
  65. package/dist/esm/tablist/tablist.js +2 -2
  66. package/dist/esm/tablist/tablist.js.map +1 -1
  67. package/dist/esm/text-input/text-input.base.js +12 -5
  68. package/dist/esm/text-input/text-input.base.js.map +1 -1
  69. package/dist/esm/text-input/text-input.template.d.ts +1 -1
  70. package/dist/esm/text-input/text-input.template.js +2 -8
  71. package/dist/esm/text-input/text-input.template.js.map +1 -1
  72. package/dist/esm/textarea/textarea.base.d.ts +7 -3
  73. package/dist/esm/textarea/textarea.base.js +38 -23
  74. package/dist/esm/textarea/textarea.base.js.map +1 -1
  75. package/dist/esm/tree/tree.base.d.ts +8 -0
  76. package/dist/esm/tree/tree.base.js +16 -2
  77. package/dist/esm/tree/tree.base.js.map +1 -1
  78. package/dist/esm/tree-item/tree-item.base.d.ts +7 -0
  79. package/dist/esm/tree-item/tree-item.base.js +14 -12
  80. package/dist/esm/tree-item/tree-item.base.js.map +1 -1
  81. package/dist/esm/utils/focusable-element.js +2 -1
  82. package/dist/esm/utils/focusable-element.js.map +1 -1
  83. package/dist/esm/utils/request-idle-callback.js +4 -9
  84. package/dist/esm/utils/request-idle-callback.js.map +1 -1
  85. package/dist/esm/utils/typings.d.ts +8 -0
  86. package/dist/esm/utils/typings.js +15 -1
  87. package/dist/esm/utils/typings.js.map +1 -1
  88. package/dist/web-components.d.ts +198 -44
  89. package/dist/web-components.js +605 -368
  90. package/dist/web-components.min.js +224 -224
  91. package/package.json +1 -1
@@ -33,7 +33,7 @@ export declare class Accordion extends FASTElement {
33
33
  * HTML attribute: expand-mode
34
34
  */
35
35
  expandmode: AccordionExpandMode;
36
- expandmodeChanged(prev: AccordionExpandMode, next: AccordionExpandMode): void;
36
+ expandmodeChanged(prev: AccordionExpandMode | undefined, next: AccordionExpandMode): void;
37
37
  /**
38
38
  * @internal
39
39
  */
@@ -85,6 +85,7 @@ export declare class Accordion extends FASTElement {
85
85
  * @returns
86
86
  */
87
87
  private expandedChangedHandler;
88
+ connectedCallback(): void;
88
89
  }
89
90
 
90
91
  /**
@@ -980,16 +981,50 @@ export declare class BaseAnchor extends FASTElement {
980
981
  */
981
982
  export declare class BaseAvatar extends FASTElement {
982
983
  /**
983
- * Signal to remove event listeners when the component is disconnected.
984
+ * Reference to the default slot element.
984
985
  *
985
986
  * @internal
986
987
  */
987
- private abortSignal?;
988
+ defaultSlot: HTMLSlotElement;
988
989
  /**
989
- * Reference to the default slot element.
990
+ * Handles changes to the default slot element reference.
991
+ *
992
+ * Toggles the `has-slotted` class on the slot element for browsers that do not
993
+ * support the `:has-slotted` CSS selector. Defers cleanup using
994
+ * `Updates.enqueue` to avoid DOM mutations during hydration that could
995
+ * corrupt binding markers.
996
+ *
990
997
  * @internal
991
998
  */
992
- defaultSlot: HTMLSlotElement;
999
+ defaultSlotChanged(): void;
1000
+ /**
1001
+ * Reference to the monogram element that displays generated initials.
1002
+ *
1003
+ * @internal
1004
+ */
1005
+ monogram: HTMLElement;
1006
+ /**
1007
+ * Updates the monogram text content when the ref is captured.
1008
+ *
1009
+ * @internal
1010
+ */
1011
+ protected monogramChanged(): void;
1012
+ /**
1013
+ * The slotted content nodes assigned to the default slot.
1014
+ *
1015
+ * @internal
1016
+ */
1017
+ slottedDefaults: Node[];
1018
+ /**
1019
+ * Handles changes to the slotted default content.
1020
+ *
1021
+ * Normalizes the DOM, toggles the `has-slotted` class on the default slot element
1022
+ * for browsers that do not support the `:has-slotted` CSS selector, and removes
1023
+ * empty text nodes from the default slot to keep the DOM clean.
1024
+ *
1025
+ * @internal
1026
+ */
1027
+ protected slottedDefaultsChanged(): void;
993
1028
  /**
994
1029
  * The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
995
1030
  *
@@ -1004,24 +1039,44 @@ export declare class BaseAvatar extends FASTElement {
1004
1039
  * HTML Attribute: name
1005
1040
  */
1006
1041
  name?: string | undefined;
1042
+ /**
1043
+ * Handles changes to the name attribute.
1044
+ * @internal
1045
+ */
1046
+ protected nameChanged(): void;
1007
1047
  /**
1008
1048
  * Provide custom initials rather than one generated via the name
1009
1049
  *
1010
1050
  * @public
1011
1051
  * @remarks
1012
- * HTML Attribute: name
1052
+ * HTML Attribute: initials
1013
1053
  */
1014
1054
  initials?: string | undefined;
1015
- connectedCallback(): void;
1055
+ /**
1056
+ * Handles changes to the initials attribute.
1057
+ * @internal
1058
+ */
1059
+ protected initialsChanged(): void;
1016
1060
  constructor();
1017
- disconnectedCallback(): void;
1018
1061
  /**
1019
- * Removes any empty text nodes from the default slot when the slotted content changes.
1062
+ * Generates and sets the initials for the template.
1063
+ * Subclasses should override this to provide custom initials logic.
1020
1064
  *
1021
- * @param e - The event object
1022
1065
  * @internal
1023
1066
  */
1024
- slotchangeHandler(): void;
1067
+ generateInitials(): string | void;
1068
+ /**
1069
+ * Updates the monogram element's text content with the generated initials.
1070
+ *
1071
+ * @internal
1072
+ */
1073
+ protected updateMonogram(): void;
1074
+ /**
1075
+ * Normalizes the DOM and removes empty text nodes from the default slot.
1076
+ *
1077
+ * @internal
1078
+ */
1079
+ protected cleanupSlottedContent(): void;
1025
1080
  }
1026
1081
 
1027
1082
  /**
@@ -1060,7 +1115,15 @@ export declare class BaseButton extends FASTElement {
1060
1115
  * HTML Attribute: `disabled`
1061
1116
  */
1062
1117
  disabled: boolean;
1063
- protected disabledChanged(): void;
1118
+ /**
1119
+ * Handles changes to the disabled attribute. If the button is disabled, it
1120
+ * should not be focusable.
1121
+ *
1122
+ * @param previous - the previous disabled value
1123
+ * @param next - the new disabled value
1124
+ * @internal
1125
+ */
1126
+ disabledChanged(): void;
1064
1127
  /**
1065
1128
  * Indicates that the button is focusable while disabled.
1066
1129
  *
@@ -1250,6 +1313,12 @@ export declare class BaseButton extends FASTElement {
1250
1313
  * @public
1251
1314
  */
1252
1315
  resetForm(): void;
1316
+ /**
1317
+ * Sets the `tabindex` attribute based on the disabled state of the button.
1318
+ *
1319
+ * @internal
1320
+ */
1321
+ protected setTabIndex(): void;
1253
1322
  /**
1254
1323
  * Submits the associated form.
1255
1324
  *
@@ -2083,6 +2152,7 @@ export declare class BaseDropdown extends FASTElement {
2083
2152
  * @internal
2084
2153
  */
2085
2154
  protected updateFreeformOption(value?: string): void;
2155
+ connectedCallback(): void;
2086
2156
  disconnectedCallback(): void;
2087
2157
  /**
2088
2158
  * When anchor positioning isn't supported, an intersection observer is used to flip the listbox when it hits the
@@ -2222,8 +2292,17 @@ export declare class BaseField extends FASTElement {
2222
2292
  * @public
2223
2293
  */
2224
2294
  export declare class BaseProgressBar extends FASTElement {
2225
- /** @internal */
2226
- indicator: HTMLElement;
2295
+ /**
2296
+ * Reference to the indicator element which visually represents the progress.
2297
+ *
2298
+ * @internal
2299
+ */
2300
+ indicator?: HTMLElement;
2301
+ /**
2302
+ * Updates the indicator width after the element is connected to the DOM via the template.
2303
+ * @internal
2304
+ */
2305
+ protected indicatorChanged(): void;
2227
2306
  /**
2228
2307
  * The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
2229
2308
  *
@@ -2294,8 +2373,14 @@ export declare class BaseProgressBar extends FASTElement {
2294
2373
  */
2295
2374
  protected maxChanged(prev: number | undefined, next: number | undefined): void;
2296
2375
  constructor();
2297
- connectedCallback(): void;
2298
- private setIndicatorWidth;
2376
+ /**
2377
+ * Sets the width of the indicator element based on the value, min, and max
2378
+ * properties. If the browser supports `width: attr(value)`, this method does
2379
+ * nothing and allows CSS to handle the width.
2380
+ *
2381
+ * @internal
2382
+ */
2383
+ protected setIndicatorWidth(): void;
2299
2384
  }
2300
2385
 
2301
2386
  /**
@@ -2313,8 +2398,18 @@ export declare class BaseRatingDisplay extends FASTElement {
2313
2398
  * @internal
2314
2399
  */
2315
2400
  elementInternals: ElementInternals;
2316
- /** @internal */
2401
+ /**
2402
+ * Reference to the slot element used for the rating icon.
2403
+ *
2404
+ * @internal
2405
+ */
2317
2406
  iconSlot: HTMLSlotElement;
2407
+ /**
2408
+ * Updates the icon when the referenced slot is bound in the template.
2409
+ *
2410
+ * @internal
2411
+ */
2412
+ iconSlotChanged(): void;
2318
2413
  protected defaultCustomIconViewBox: string;
2319
2414
  /**
2320
2415
  * The element that displays the rating icons.
@@ -2452,7 +2547,7 @@ export declare class BaseTablist extends FASTElement {
2452
2547
  /**
2453
2548
  * @internal
2454
2549
  */
2455
- protected tabsChanged(): void;
2550
+ protected tabsChanged(prev: Tab[] | undefined, next: Tab[] | undefined): void;
2456
2551
  /**
2457
2552
  * A reference to the active tab
2458
2553
  * @public
@@ -2484,6 +2579,7 @@ export declare class BaseTablist extends FASTElement {
2484
2579
  adjust(adjustment: number): void;
2485
2580
  private activateTabByIndex;
2486
2581
  private focusTab;
2582
+ constructor();
2487
2583
  /**
2488
2584
  * @internal
2489
2585
  */
@@ -2533,6 +2629,13 @@ export declare class BaseTextArea extends FASTElement {
2533
2629
  * @internal
2534
2630
  */
2535
2631
  controlEl: HTMLTextAreaElement;
2632
+ /**
2633
+ * Sets up a mutation observer to watch for changes to the control element's
2634
+ * attributes that could affect validity, and binds an input event listener to detect user interaction.
2635
+ *
2636
+ * @internal
2637
+ */
2638
+ protected controlElChanged(): void;
2536
2639
  /**
2537
2640
  * @internal
2538
2641
  */
@@ -2817,13 +2920,10 @@ export declare class BaseTextArea extends FASTElement {
2817
2920
  * @public
2818
2921
  */
2819
2922
  select(): void;
2820
- private setDefaultValue;
2821
- private bindEvents;
2822
2923
  /**
2823
2924
  * Gets the content inside the light DOM, if any HTML element is present, use its `outerHTML` value.
2824
2925
  */
2825
2926
  private getContent;
2826
- private observeControlElAttrs;
2827
2927
  private setDisabledSideEffect;
2828
2928
  private toggleUserValidityState;
2829
2929
  private maybeCreateAutoSizerEl;
@@ -3262,7 +3362,15 @@ export declare class BaseTree extends FASTElement {
3262
3362
  elementInternals: ElementInternals;
3263
3363
  /** @internal */
3264
3364
  defaultSlot: HTMLSlotElement;
3365
+ /**
3366
+ * Calls the slot change handler when the `defaultSlot` reference is updated
3367
+ * by the template binding.
3368
+ *
3369
+ * @internal
3370
+ */
3371
+ defaultSlotChanged(): void;
3265
3372
  constructor();
3373
+ connectedCallback(): void;
3266
3374
  /** @internal */
3267
3375
  childTreeItems: BaseTreeItem[];
3268
3376
  /** @internal */
@@ -3324,6 +3432,13 @@ declare class BaseTreeItem extends FASTElement {
3324
3432
  elementInternals: ElementInternals;
3325
3433
  /** @internal */
3326
3434
  itemSlot: HTMLSlotElement;
3435
+ /**
3436
+ * Calls the slot change handler when the `itemSlot` reference is updated
3437
+ * by the template binding.
3438
+ *
3439
+ * @internal
3440
+ */
3441
+ itemSlotChanged(): void;
3327
3442
  constructor();
3328
3443
  /**
3329
3444
  * When true, the control will be appear expanded by user interaction.
@@ -3616,7 +3731,7 @@ export declare type ButtonSize = ValuesOf<typeof ButtonSize>;
3616
3731
  *
3617
3732
  * @public
3618
3733
  */
3619
- export declare const ButtonTemplate: ElementViewTemplate<Button>;
3734
+ export declare const ButtonTemplate: ElementViewTemplate<BaseButton>;
3620
3735
 
3621
3736
  /**
3622
3737
  * Button type values.
@@ -6288,6 +6403,7 @@ export declare class Dialog extends FASTElement {
6288
6403
  * @public
6289
6404
  */
6290
6405
  dialog: HTMLDialogElement;
6406
+ protected dialogChanged(): void;
6291
6407
  /**
6292
6408
  * The ID of the element that describes the dialog
6293
6409
  *
@@ -6312,9 +6428,7 @@ export declare class Dialog extends FASTElement {
6312
6428
  * @public
6313
6429
  */
6314
6430
  type: DialogType;
6315
- protected typeChanged(prev: DialogType | undefined, next: DialogType | undefined): void;
6316
- /** @internal */
6317
- connectedCallback(): void;
6431
+ protected typeChanged(prev: DialogType | undefined, next: DialogType): void;
6318
6432
  /**
6319
6433
  * Method to emit an event before the dialog's open state changes
6320
6434
  * HTML spec proposal: https://github.com/whatwg/html/issues/9733
@@ -6349,6 +6463,12 @@ export declare class Dialog extends FASTElement {
6349
6463
  * @returns boolean
6350
6464
  */
6351
6465
  clickHandler(event: Event): boolean;
6466
+ /**
6467
+ * Updates the internal dialog element's attributes based on its type.
6468
+ *
6469
+ * @internal
6470
+ */
6471
+ protected updateDialogAttributes(): void;
6352
6472
  }
6353
6473
 
6354
6474
  /**
@@ -7846,14 +7966,18 @@ export declare const LinkTemplate: ElementViewTemplate<Link>;
7846
7966
  */
7847
7967
  export declare class Listbox extends FASTElement {
7848
7968
  /**
7849
- * Sets the listbox ID to a unique value if one is not provided.
7969
+ * A reference to the default slot element.
7850
7970
  *
7851
- * @override
7852
- * @public
7853
- * @remarks
7854
- * HTML Attribute: `id`
7971
+ * @internal
7855
7972
  */
7856
- id: string;
7973
+ defaultSlot: HTMLSlotElement;
7974
+ /**
7975
+ * Calls the `slotchangeHandler` when the `defaultSlot` element is assigned
7976
+ * via the `ref` directive in the template.
7977
+ *
7978
+ * @internal
7979
+ */
7980
+ protected defaultSlotChanged(): void;
7857
7981
  /**
7858
7982
  * Indicates whether the listbox allows multiple selection.
7859
7983
  *
@@ -7926,6 +8050,7 @@ export declare class Listbox extends FASTElement {
7926
8050
  */
7927
8051
  clickHandler(e: PointerEvent): boolean | void;
7928
8052
  constructor();
8053
+ connectedCallback(): void;
7929
8054
  /**
7930
8055
  * Handles observable subscriptions for the listbox.
7931
8056
  *
@@ -7949,7 +8074,7 @@ export declare class Listbox extends FASTElement {
7949
8074
  * @param e - The slotchange event
7950
8075
  * @public
7951
8076
  */
7952
- slotchangeHandler(e: Event): void;
8077
+ slotchangeHandler(e?: Event): void;
7953
8078
  }
7954
8079
 
7955
8080
  /**
@@ -8170,6 +8295,13 @@ export declare class Menu extends FASTElement {
8170
8295
  * @public
8171
8296
  */
8172
8297
  slottedMenuList: MenuList[];
8298
+ /**
8299
+ * Sets up the component when the slotted menu list changes.
8300
+ * @param prev - The previous items in the slotted menu list.
8301
+ * @param next - The new items in the slotted menu list.
8302
+ * @internal
8303
+ */
8304
+ slottedMenuListChanged(prev: MenuList[] | undefined, next: MenuList[] | undefined): void;
8173
8305
  /**
8174
8306
  * Holds the slotted triggers.
8175
8307
  * @public
@@ -9083,6 +9215,19 @@ export declare class RadioGroup extends FASTElement {
9083
9215
  * @param next - the current required value
9084
9216
  */
9085
9217
  requiredChanged(prev: boolean, next: boolean): void;
9218
+ /**
9219
+ * The collection of radios that are slotted into the default slot.
9220
+ *
9221
+ * @internal
9222
+ */
9223
+ slottedRadios: Radio[];
9224
+ /**
9225
+ * Updates the radios collection when the slotted radios change.
9226
+ *
9227
+ * @param prev - the previous slotted radios
9228
+ * @param next - the current slotted radios
9229
+ */
9230
+ slottedRadiosChanged(prev: Radio[] | undefined, next: Radio[]): void;
9086
9231
  /**
9087
9232
  * The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
9088
9233
  *
@@ -9238,13 +9383,6 @@ export declare class RadioGroup extends FASTElement {
9238
9383
  * - This allows form submission to proceed
9239
9384
  */
9240
9385
  setValidity(flags?: Partial<ValidityState>, message?: string, anchor?: HTMLElement): void;
9241
- /**
9242
- * Updates the collection of child radios when the slot changes.
9243
- *
9244
- * @param e - the slot change event
9245
- * @internal
9246
- */
9247
- slotchangeHandler(e: Event): void;
9248
9386
  }
9249
9387
 
9250
9388
  /**
@@ -9715,6 +9853,13 @@ export declare class Slider extends FASTElement implements SliderConfiguration {
9715
9853
  */
9716
9854
  disabled: boolean;
9717
9855
  protected disabledChanged(): void;
9856
+ /**
9857
+ * Returns true if the component is disabled, taking into account the `disabled`
9858
+ * attribute, `aria-disabled` attribute, and the `:disabled` pseudo-class.
9859
+ *
9860
+ * @internal
9861
+ */
9862
+ protected get isDisabled(): boolean;
9718
9863
  /**
9719
9864
  * The minimum allowed value.
9720
9865
  *
@@ -9785,9 +9930,6 @@ export declare class Slider extends FASTElement implements SliderConfiguration {
9785
9930
  */
9786
9931
  mode: SliderMode;
9787
9932
  constructor();
9788
- /**
9789
- * @internal
9790
- */
9791
9933
  connectedCallback(): void;
9792
9934
  /**
9793
9935
  * @internal
@@ -10288,7 +10430,19 @@ export declare class Tab extends FASTElement {
10288
10430
  * HTML Attribute: disabled
10289
10431
  */
10290
10432
  disabled: boolean;
10291
- private styles;
10433
+ /**
10434
+ * Internal text content stylesheet, used to set the content of the `::after`
10435
+ * pseudo element to prevent layout shift when the font weight changes on selection.
10436
+ * @internal
10437
+ */
10438
+ private styles?;
10439
+ /**
10440
+ * The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
10441
+ *
10442
+ * @internal
10443
+ */
10444
+ elementInternals: ElementInternals;
10445
+ constructor();
10292
10446
  connectedCallback(): void;
10293
10447
  }
10294
10448
 
@@ -10387,7 +10541,7 @@ export declare class Tablist extends BaseTablist {
10387
10541
  /**
10388
10542
  * Initiates the active tab indicator animation loop when tabs change.
10389
10543
  */
10390
- tabsChanged(): void;
10544
+ tabsChanged(prev: Tab[] | undefined, next: Tab[] | undefined): void;
10391
10545
  }
10392
10546
 
10393
10547
  /**