@fluentui/web-components 3.0.0-rc.1 → 3.0.0-rc.11
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/CHANGELOG.md +93 -2
- package/custom-elements.json +773 -1306
- package/dist/esm/anchor-button/anchor-button.base.js +4 -0
- package/dist/esm/anchor-button/anchor-button.base.js.map +1 -1
- package/dist/esm/avatar/avatar.base.d.ts +75 -1
- package/dist/esm/avatar/avatar.base.js +110 -1
- package/dist/esm/avatar/avatar.base.js.map +1 -1
- package/dist/esm/avatar/avatar.js +1 -1
- package/dist/esm/avatar/avatar.js.map +1 -1
- package/dist/esm/avatar/avatar.styles.js +24 -7
- package/dist/esm/avatar/avatar.styles.js.map +1 -1
- package/dist/esm/avatar/avatar.template.js +4 -3
- package/dist/esm/avatar/avatar.template.js.map +1 -1
- package/dist/esm/badge/badge.options.d.ts +3 -1
- package/dist/esm/badge/badge.options.js.map +1 -1
- package/dist/esm/button/button.base.d.ts +15 -1
- package/dist/esm/button/button.base.js +27 -24
- package/dist/esm/button/button.base.js.map +1 -1
- package/dist/esm/button/button.template.d.ts +3 -3
- package/dist/esm/button/button.template.js.map +1 -1
- package/dist/esm/compound-button/compound-button.styles.js +1 -1
- package/dist/esm/compound-button/compound-button.styles.js.map +1 -1
- package/dist/esm/counter-badge/counter-badge.d.ts +2 -1
- package/dist/esm/counter-badge/counter-badge.js +2 -1
- package/dist/esm/counter-badge/counter-badge.js.map +1 -1
- package/dist/esm/dialog/dialog.d.ts +31 -11
- package/dist/esm/dialog/dialog.js +41 -26
- package/dist/esm/dialog/dialog.js.map +1 -1
- package/dist/esm/dialog/dialog.template.js.map +1 -1
- package/dist/esm/dialog-body/dialog-body.js +1 -1
- package/dist/esm/dialog-body/dialog-body.js.map +1 -1
- package/dist/esm/drawer/drawer.d.ts +18 -9
- package/dist/esm/drawer/drawer.js +12 -7
- package/dist/esm/drawer/drawer.js.map +1 -1
- package/dist/esm/drawer-body/drawer-body.js +1 -1
- package/dist/esm/drawer-body/drawer-body.js.map +1 -1
- package/dist/esm/dropdown/dropdown.base.d.ts +1 -0
- package/dist/esm/dropdown/dropdown.base.js +24 -15
- package/dist/esm/dropdown/dropdown.base.js.map +1 -1
- package/dist/esm/index-rollup.d.ts +1 -2
- package/dist/esm/index-rollup.js +1 -2
- package/dist/esm/index-rollup.js.map +1 -1
- package/dist/esm/index.d.ts +2 -4
- package/dist/esm/index.js +0 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/listbox/listbox.d.ts +12 -7
- package/dist/esm/listbox/listbox.js +27 -17
- package/dist/esm/listbox/listbox.js.map +1 -1
- package/dist/esm/listbox/listbox.template.js +2 -3
- package/dist/esm/listbox/listbox.template.js.map +1 -1
- package/dist/esm/menu/menu.d.ts +7 -0
- package/dist/esm/menu/menu.js +22 -17
- package/dist/esm/menu/menu.js.map +1 -1
- package/dist/esm/menu-list/menu-list.js +4 -4
- package/dist/esm/menu-list/menu-list.js.map +1 -1
- package/dist/esm/message-bar/message-bar.d.ts +2 -1
- package/dist/esm/message-bar/message-bar.js +2 -1
- package/dist/esm/message-bar/message-bar.js.map +1 -1
- package/dist/esm/message-bar/message-bar.options.d.ts +6 -3
- package/dist/esm/message-bar/message-bar.options.js +6 -3
- package/dist/esm/message-bar/message-bar.options.js.map +1 -1
- package/dist/esm/option/option.js +1 -1
- package/dist/esm/option/option.js.map +1 -1
- package/dist/esm/progress-bar/progress-bar.base.d.ts +35 -8
- package/dist/esm/progress-bar/progress-bar.base.js +41 -20
- package/dist/esm/progress-bar/progress-bar.base.js.map +1 -1
- package/dist/esm/progress-bar/progress-bar.d.ts +8 -2
- package/dist/esm/progress-bar/progress-bar.js.map +1 -1
- package/dist/esm/radio/radio.options.d.ts +9 -0
- package/dist/esm/radio/radio.options.js +12 -1
- package/dist/esm/radio/radio.options.js.map +1 -1
- package/dist/esm/radio-group/radio-group.d.ts +13 -7
- package/dist/esm/radio-group/radio-group.js +14 -21
- package/dist/esm/radio-group/radio-group.js.map +1 -1
- package/dist/esm/radio-group/radio-group.template.js +2 -2
- package/dist/esm/radio-group/radio-group.template.js.map +1 -1
- package/dist/esm/rating-display/rating-display.base.d.ts +11 -1
- package/dist/esm/rating-display/rating-display.base.js +24 -11
- package/dist/esm/rating-display/rating-display.base.js.map +1 -1
- package/dist/esm/slider/slider.d.ts +7 -3
- package/dist/esm/slider/slider.js +46 -28
- package/dist/esm/slider/slider.js.map +1 -1
- package/dist/esm/styles/partials/badge.partials.d.ts +2 -1
- package/dist/esm/styles/partials/badge.partials.js +2 -1
- package/dist/esm/styles/partials/badge.partials.js.map +1 -1
- package/dist/esm/tab/tab.d.ts +13 -1
- package/dist/esm/tab/tab.js +16 -2
- package/dist/esm/tab/tab.js.map +1 -1
- package/dist/esm/tablist/tablist.base.d.ts +2 -1
- package/dist/esm/tablist/tablist.base.js +109 -95
- package/dist/esm/tablist/tablist.base.js.map +1 -1
- package/dist/esm/tablist/tablist.d.ts +2 -1
- package/dist/esm/tablist/tablist.js +2 -2
- package/dist/esm/tablist/tablist.js.map +1 -1
- package/dist/esm/text-input/text-input.base.js +12 -5
- package/dist/esm/text-input/text-input.base.js.map +1 -1
- package/dist/esm/text-input/text-input.template.d.ts +1 -1
- package/dist/esm/text-input/text-input.template.js +2 -8
- package/dist/esm/text-input/text-input.template.js.map +1 -1
- package/dist/esm/textarea/textarea.base.d.ts +12 -3
- package/dist/esm/textarea/textarea.base.js +42 -24
- package/dist/esm/textarea/textarea.base.js.map +1 -1
- package/dist/esm/textarea/textarea.template.js +1 -1
- package/dist/esm/textarea/textarea.template.js.map +1 -1
- package/dist/esm/theme/design-tokens.d.ts +115 -0
- package/dist/esm/theme/design-tokens.js +115 -0
- package/dist/esm/theme/design-tokens.js.map +1 -1
- package/dist/esm/theme/set-theme.d.ts +2 -2
- package/dist/esm/theme/set-theme.js +1 -1
- package/dist/esm/tree/tree.base.d.ts +9 -1
- package/dist/esm/tree/tree.base.js +17 -3
- package/dist/esm/tree/tree.base.js.map +1 -1
- package/dist/esm/tree/tree.d.ts +8 -2
- package/dist/esm/tree/tree.js +8 -2
- package/dist/esm/tree/tree.js.map +1 -1
- package/dist/esm/tree-item/tree-item.base.d.ts +15 -2
- package/dist/esm/tree-item/tree-item.base.js +22 -14
- package/dist/esm/tree-item/tree-item.base.js.map +1 -1
- package/dist/esm/utils/focusable-element.js +2 -1
- package/dist/esm/utils/focusable-element.js.map +1 -1
- package/dist/esm/utils/request-idle-callback.js +4 -9
- package/dist/esm/utils/request-idle-callback.js.map +1 -1
- package/dist/esm/utils/typings.d.ts +8 -0
- package/dist/esm/utils/typings.js +15 -1
- package/dist/esm/utils/typings.js.map +1 -1
- package/dist/web-components.d.ts +443 -318
- package/dist/web-components.js +1374 -1427
- package/dist/web-components.min.js +254 -248
- package/package.json +5 -6
- package/dist/esm/tab-panel/define.d.ts +0 -1
- package/dist/esm/tab-panel/define.js +0 -7
- package/dist/esm/tab-panel/define.js.map +0 -1
- package/dist/esm/tab-panel/index.d.ts +0 -4
- package/dist/esm/tab-panel/index.js +0 -5
- package/dist/esm/tab-panel/index.js.map +0 -1
- package/dist/esm/tab-panel/tab-panel.bench.d.ts +0 -3
- package/dist/esm/tab-panel/tab-panel.bench.js +0 -13
- package/dist/esm/tab-panel/tab-panel.bench.js.map +0 -1
- package/dist/esm/tab-panel/tab-panel.d.ts +0 -8
- package/dist/esm/tab-panel/tab-panel.definition.d.ts +0 -5
- package/dist/esm/tab-panel/tab-panel.definition.js +0 -13
- package/dist/esm/tab-panel/tab-panel.definition.js.map +0 -1
- package/dist/esm/tab-panel/tab-panel.js +0 -9
- package/dist/esm/tab-panel/tab-panel.js.map +0 -1
- package/dist/esm/tab-panel/tab-panel.styles.d.ts +0 -1
- package/dist/esm/tab-panel/tab-panel.styles.js +0 -12
- package/dist/esm/tab-panel/tab-panel.styles.js.map +0 -1
- package/dist/esm/tab-panel/tab-panel.template.d.ts +0 -7
- package/dist/esm/tab-panel/tab-panel.template.js +0 -13
- package/dist/esm/tab-panel/tab-panel.template.js.map +0 -1
- package/dist/esm/tabs/define.d.ts +0 -1
- package/dist/esm/tabs/define.js +0 -7
- package/dist/esm/tabs/define.js.map +0 -1
- package/dist/esm/tabs/index.d.ts +0 -6
- package/dist/esm/tabs/index.js +0 -6
- package/dist/esm/tabs/index.js.map +0 -1
- package/dist/esm/tabs/tabs.base.d.ts +0 -90
- package/dist/esm/tabs/tabs.base.js +0 -279
- package/dist/esm/tabs/tabs.base.js.map +0 -1
- package/dist/esm/tabs/tabs.bench.d.ts +0 -3
- package/dist/esm/tabs/tabs.bench.js +0 -32
- package/dist/esm/tabs/tabs.bench.js.map +0 -1
- package/dist/esm/tabs/tabs.d.ts +0 -100
- package/dist/esm/tabs/tabs.definition.d.ts +0 -5
- package/dist/esm/tabs/tabs.definition.js +0 -13
- package/dist/esm/tabs/tabs.definition.js.map +0 -1
- package/dist/esm/tabs/tabs.js +0 -180
- package/dist/esm/tabs/tabs.js.map +0 -1
- package/dist/esm/tabs/tabs.options.d.ts +0 -32
- package/dist/esm/tabs/tabs.options.js +0 -16
- package/dist/esm/tabs/tabs.options.js.map +0 -1
- package/dist/esm/tabs/tabs.styles.d.ts +0 -1
- package/dist/esm/tabs/tabs.styles.js +0 -230
- package/dist/esm/tabs/tabs.styles.js.map +0 -1
- package/dist/esm/tabs/tabs.template.d.ts +0 -8
- package/dist/esm/tabs/tabs.template.js +0 -19
- package/dist/esm/tabs/tabs.template.js.map +0 -1
package/dist/web-components.d.ts
CHANGED
|
@@ -979,6 +979,51 @@ export declare class BaseAnchor extends FASTElement {
|
|
|
979
979
|
* @public
|
|
980
980
|
*/
|
|
981
981
|
export declare class BaseAvatar extends FASTElement {
|
|
982
|
+
/**
|
|
983
|
+
* Reference to the default slot element.
|
|
984
|
+
*
|
|
985
|
+
* @internal
|
|
986
|
+
*/
|
|
987
|
+
defaultSlot: HTMLSlotElement;
|
|
988
|
+
/**
|
|
989
|
+
* Handles changes to the default slot element reference.
|
|
990
|
+
*
|
|
991
|
+
* Toggles the `has-slotted` class on the slot element for browsers that do not
|
|
992
|
+
* support the `:has-slotted` CSS selector. Defers cleanup using
|
|
993
|
+
* `Updates.enqueue` to avoid DOM mutations during hydration that could
|
|
994
|
+
* corrupt binding markers.
|
|
995
|
+
*
|
|
996
|
+
* @internal
|
|
997
|
+
*/
|
|
998
|
+
defaultSlotChanged(): void;
|
|
999
|
+
/**
|
|
1000
|
+
* Reference to the monogram element that displays generated initials.
|
|
1001
|
+
*
|
|
1002
|
+
* @internal
|
|
1003
|
+
*/
|
|
1004
|
+
monogram: HTMLElement;
|
|
1005
|
+
/**
|
|
1006
|
+
* Updates the monogram text content when the ref is captured.
|
|
1007
|
+
*
|
|
1008
|
+
* @internal
|
|
1009
|
+
*/
|
|
1010
|
+
protected monogramChanged(): void;
|
|
1011
|
+
/**
|
|
1012
|
+
* The slotted content nodes assigned to the default slot.
|
|
1013
|
+
*
|
|
1014
|
+
* @internal
|
|
1015
|
+
*/
|
|
1016
|
+
slottedDefaults: Node[];
|
|
1017
|
+
/**
|
|
1018
|
+
* Handles changes to the slotted default content.
|
|
1019
|
+
*
|
|
1020
|
+
* Normalizes the DOM, toggles the `has-slotted` class on the default slot element
|
|
1021
|
+
* for browsers that do not support the `:has-slotted` CSS selector, and removes
|
|
1022
|
+
* empty text nodes from the default slot to keep the DOM clean.
|
|
1023
|
+
*
|
|
1024
|
+
* @internal
|
|
1025
|
+
*/
|
|
1026
|
+
protected slottedDefaultsChanged(): void;
|
|
982
1027
|
/**
|
|
983
1028
|
* The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
|
|
984
1029
|
*
|
|
@@ -993,15 +1038,44 @@ export declare class BaseAvatar extends FASTElement {
|
|
|
993
1038
|
* HTML Attribute: name
|
|
994
1039
|
*/
|
|
995
1040
|
name?: string | undefined;
|
|
1041
|
+
/**
|
|
1042
|
+
* Handles changes to the name attribute.
|
|
1043
|
+
* @internal
|
|
1044
|
+
*/
|
|
1045
|
+
protected nameChanged(): void;
|
|
996
1046
|
/**
|
|
997
1047
|
* Provide custom initials rather than one generated via the name
|
|
998
1048
|
*
|
|
999
1049
|
* @public
|
|
1000
1050
|
* @remarks
|
|
1001
|
-
* HTML Attribute:
|
|
1051
|
+
* HTML Attribute: initials
|
|
1002
1052
|
*/
|
|
1003
1053
|
initials?: string | undefined;
|
|
1054
|
+
/**
|
|
1055
|
+
* Handles changes to the initials attribute.
|
|
1056
|
+
* @internal
|
|
1057
|
+
*/
|
|
1058
|
+
protected initialsChanged(): void;
|
|
1004
1059
|
constructor();
|
|
1060
|
+
/**
|
|
1061
|
+
* Generates and sets the initials for the template.
|
|
1062
|
+
* Subclasses should override this to provide custom initials logic.
|
|
1063
|
+
*
|
|
1064
|
+
* @internal
|
|
1065
|
+
*/
|
|
1066
|
+
generateInitials(): string | void;
|
|
1067
|
+
/**
|
|
1068
|
+
* Updates the monogram element's text content with the generated initials.
|
|
1069
|
+
*
|
|
1070
|
+
* @internal
|
|
1071
|
+
*/
|
|
1072
|
+
protected updateMonogram(): void;
|
|
1073
|
+
/**
|
|
1074
|
+
* Normalizes the DOM and removes empty text nodes from the default slot.
|
|
1075
|
+
*
|
|
1076
|
+
* @internal
|
|
1077
|
+
*/
|
|
1078
|
+
protected cleanupSlottedContent(): void;
|
|
1005
1079
|
}
|
|
1006
1080
|
|
|
1007
1081
|
/**
|
|
@@ -1040,7 +1114,15 @@ export declare class BaseButton extends FASTElement {
|
|
|
1040
1114
|
* HTML Attribute: `disabled`
|
|
1041
1115
|
*/
|
|
1042
1116
|
disabled: boolean;
|
|
1043
|
-
|
|
1117
|
+
/**
|
|
1118
|
+
* Handles changes to the disabled attribute. If the button is disabled, it
|
|
1119
|
+
* should not be focusable.
|
|
1120
|
+
*
|
|
1121
|
+
* @param previous - the previous disabled value
|
|
1122
|
+
* @param next - the new disabled value
|
|
1123
|
+
* @internal
|
|
1124
|
+
*/
|
|
1125
|
+
disabledChanged(): void;
|
|
1044
1126
|
/**
|
|
1045
1127
|
* Indicates that the button is focusable while disabled.
|
|
1046
1128
|
*
|
|
@@ -1230,6 +1312,12 @@ export declare class BaseButton extends FASTElement {
|
|
|
1230
1312
|
* @public
|
|
1231
1313
|
*/
|
|
1232
1314
|
resetForm(): void;
|
|
1315
|
+
/**
|
|
1316
|
+
* Sets the `tabindex` attribute based on the disabled state of the button.
|
|
1317
|
+
*
|
|
1318
|
+
* @internal
|
|
1319
|
+
*/
|
|
1320
|
+
protected setTabIndex(): void;
|
|
1233
1321
|
/**
|
|
1234
1322
|
* Submits the associated form.
|
|
1235
1323
|
*
|
|
@@ -2063,6 +2151,7 @@ export declare class BaseDropdown extends FASTElement {
|
|
|
2063
2151
|
* @internal
|
|
2064
2152
|
*/
|
|
2065
2153
|
protected updateFreeformOption(value?: string): void;
|
|
2154
|
+
connectedCallback(): void;
|
|
2066
2155
|
disconnectedCallback(): void;
|
|
2067
2156
|
/**
|
|
2068
2157
|
* When anchor positioning isn't supported, an intersection observer is used to flip the listbox when it hits the
|
|
@@ -2202,8 +2291,17 @@ export declare class BaseField extends FASTElement {
|
|
|
2202
2291
|
* @public
|
|
2203
2292
|
*/
|
|
2204
2293
|
export declare class BaseProgressBar extends FASTElement {
|
|
2205
|
-
/**
|
|
2206
|
-
|
|
2294
|
+
/**
|
|
2295
|
+
* Reference to the indicator element which visually represents the progress.
|
|
2296
|
+
*
|
|
2297
|
+
* @internal
|
|
2298
|
+
*/
|
|
2299
|
+
indicator?: HTMLElement;
|
|
2300
|
+
/**
|
|
2301
|
+
* Updates the indicator width after the element is connected to the DOM via the template.
|
|
2302
|
+
* @internal
|
|
2303
|
+
*/
|
|
2304
|
+
protected indicatorChanged(): void;
|
|
2207
2305
|
/**
|
|
2208
2306
|
* The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
|
|
2209
2307
|
*
|
|
@@ -2212,8 +2310,11 @@ export declare class BaseProgressBar extends FASTElement {
|
|
|
2212
2310
|
elementInternals: ElementInternals;
|
|
2213
2311
|
/**
|
|
2214
2312
|
* The validation state of the progress bar
|
|
2215
|
-
*
|
|
2313
|
+
* The validation state of the progress bar
|
|
2314
|
+
*
|
|
2216
2315
|
* HTML Attribute: `validation-state`
|
|
2316
|
+
*
|
|
2317
|
+
* @public
|
|
2217
2318
|
*/
|
|
2218
2319
|
validationState: ProgressBarValidationState | null;
|
|
2219
2320
|
/**
|
|
@@ -2224,8 +2325,11 @@ export declare class BaseProgressBar extends FASTElement {
|
|
|
2224
2325
|
validationStateChanged(prev: ProgressBarValidationState | undefined, next: ProgressBarValidationState | undefined): void;
|
|
2225
2326
|
/**
|
|
2226
2327
|
* The value of the progress
|
|
2227
|
-
*
|
|
2328
|
+
* The value of the progress
|
|
2329
|
+
*
|
|
2228
2330
|
* HTML Attribute: `value`
|
|
2331
|
+
*
|
|
2332
|
+
* @internal
|
|
2229
2333
|
*/
|
|
2230
2334
|
value?: number;
|
|
2231
2335
|
/**
|
|
@@ -2236,8 +2340,11 @@ export declare class BaseProgressBar extends FASTElement {
|
|
|
2236
2340
|
protected valueChanged(prev: number | undefined, next: number | undefined): void;
|
|
2237
2341
|
/**
|
|
2238
2342
|
* The minimum value
|
|
2239
|
-
*
|
|
2343
|
+
* The minimum value
|
|
2344
|
+
*
|
|
2240
2345
|
* HTML Attribute: `min`
|
|
2346
|
+
*
|
|
2347
|
+
* @internal
|
|
2241
2348
|
*/
|
|
2242
2349
|
min?: number;
|
|
2243
2350
|
/**
|
|
@@ -2249,8 +2356,11 @@ export declare class BaseProgressBar extends FASTElement {
|
|
|
2249
2356
|
protected minChanged(prev: number | undefined, next: number | undefined): void;
|
|
2250
2357
|
/**
|
|
2251
2358
|
* The maximum value
|
|
2252
|
-
*
|
|
2359
|
+
* The maximum value
|
|
2360
|
+
*
|
|
2253
2361
|
* HTML Attribute: `max`
|
|
2362
|
+
*
|
|
2363
|
+
* @internal
|
|
2254
2364
|
*/
|
|
2255
2365
|
max?: number;
|
|
2256
2366
|
/**
|
|
@@ -2262,8 +2372,14 @@ export declare class BaseProgressBar extends FASTElement {
|
|
|
2262
2372
|
*/
|
|
2263
2373
|
protected maxChanged(prev: number | undefined, next: number | undefined): void;
|
|
2264
2374
|
constructor();
|
|
2265
|
-
|
|
2266
|
-
|
|
2375
|
+
/**
|
|
2376
|
+
* Sets the width of the indicator element based on the value, min, and max
|
|
2377
|
+
* properties. If the browser supports `width: attr(value)`, this method does
|
|
2378
|
+
* nothing and allows CSS to handle the width.
|
|
2379
|
+
*
|
|
2380
|
+
* @internal
|
|
2381
|
+
*/
|
|
2382
|
+
protected setIndicatorWidth(): void;
|
|
2267
2383
|
}
|
|
2268
2384
|
|
|
2269
2385
|
/**
|
|
@@ -2281,8 +2397,18 @@ export declare class BaseRatingDisplay extends FASTElement {
|
|
|
2281
2397
|
* @internal
|
|
2282
2398
|
*/
|
|
2283
2399
|
elementInternals: ElementInternals;
|
|
2284
|
-
/**
|
|
2400
|
+
/**
|
|
2401
|
+
* Reference to the slot element used for the rating icon.
|
|
2402
|
+
*
|
|
2403
|
+
* @internal
|
|
2404
|
+
*/
|
|
2285
2405
|
iconSlot: HTMLSlotElement;
|
|
2406
|
+
/**
|
|
2407
|
+
* Updates the icon when the referenced slot is bound in the template.
|
|
2408
|
+
*
|
|
2409
|
+
* @internal
|
|
2410
|
+
*/
|
|
2411
|
+
iconSlotChanged(): void;
|
|
2286
2412
|
protected defaultCustomIconViewBox: string;
|
|
2287
2413
|
/**
|
|
2288
2414
|
* The element that displays the rating icons.
|
|
@@ -2420,7 +2546,7 @@ export declare class BaseTablist extends FASTElement {
|
|
|
2420
2546
|
/**
|
|
2421
2547
|
* @internal
|
|
2422
2548
|
*/
|
|
2423
|
-
protected tabsChanged(): void;
|
|
2549
|
+
protected tabsChanged(prev: Tab[] | undefined, next: Tab[] | undefined): void;
|
|
2424
2550
|
/**
|
|
2425
2551
|
* A reference to the active tab
|
|
2426
2552
|
* @public
|
|
@@ -2452,95 +2578,7 @@ export declare class BaseTablist extends FASTElement {
|
|
|
2452
2578
|
adjust(adjustment: number): void;
|
|
2453
2579
|
private activateTabByIndex;
|
|
2454
2580
|
private focusTab;
|
|
2455
|
-
|
|
2456
|
-
* @internal
|
|
2457
|
-
*/
|
|
2458
|
-
connectedCallback(): void;
|
|
2459
|
-
}
|
|
2460
|
-
|
|
2461
|
-
/**
|
|
2462
|
-
* A Tabs component that wraps a collection of tab and tab panel elements.
|
|
2463
|
-
*
|
|
2464
|
-
* @deprecated - use tablist instead
|
|
2465
|
-
*/
|
|
2466
|
-
declare class BaseTabs extends FASTElement {
|
|
2467
|
-
/**
|
|
2468
|
-
* The orientation
|
|
2469
|
-
* @public
|
|
2470
|
-
* @remarks
|
|
2471
|
-
* HTML Attribute: orientation
|
|
2472
|
-
*/
|
|
2473
|
-
orientation: TabsOrientation;
|
|
2474
|
-
/**
|
|
2475
|
-
* @internal
|
|
2476
|
-
*/
|
|
2477
|
-
orientationChanged(): void;
|
|
2478
|
-
/**
|
|
2479
|
-
* The id of the active tab
|
|
2480
|
-
*
|
|
2481
|
-
* @public
|
|
2482
|
-
* @remarks
|
|
2483
|
-
* HTML Attribute: activeid
|
|
2484
|
-
*/
|
|
2485
|
-
activeid: string;
|
|
2486
|
-
/**
|
|
2487
|
-
* @internal
|
|
2488
|
-
*/
|
|
2489
|
-
activeidChanged(oldValue: string, newValue: string): void;
|
|
2490
|
-
/**
|
|
2491
|
-
* @internal
|
|
2492
|
-
*/
|
|
2493
|
-
tabs: HTMLElement[];
|
|
2494
|
-
/**
|
|
2495
|
-
* @internal
|
|
2496
|
-
*/
|
|
2497
|
-
tabsChanged(): void;
|
|
2498
|
-
/**
|
|
2499
|
-
* @internal
|
|
2500
|
-
*/
|
|
2501
|
-
tabpanels: HTMLElement[];
|
|
2502
|
-
/**
|
|
2503
|
-
* @internal
|
|
2504
|
-
*/
|
|
2505
|
-
tabpanelsChanged(): void;
|
|
2506
|
-
/**
|
|
2507
|
-
* A reference to the active tab
|
|
2508
|
-
* @public
|
|
2509
|
-
*/
|
|
2510
|
-
activetab: HTMLElement;
|
|
2511
|
-
private prevActiveTabIndex;
|
|
2512
|
-
private activeTabIndex;
|
|
2513
|
-
private tabIds;
|
|
2514
|
-
private tabpanelIds;
|
|
2515
|
-
private change;
|
|
2516
|
-
private isDisabledElement;
|
|
2517
|
-
private isHiddenElement;
|
|
2518
|
-
private isFocusableElement;
|
|
2519
|
-
private getActiveIndex;
|
|
2520
|
-
/**
|
|
2521
|
-
* Function that is invoked whenever the selected tab or the tab collection changes.
|
|
2522
|
-
*
|
|
2523
|
-
* @public
|
|
2524
|
-
*/
|
|
2525
|
-
protected setTabs(): void;
|
|
2526
|
-
private setTabPanels;
|
|
2527
|
-
private getTabIds;
|
|
2528
|
-
private getTabPanelIds;
|
|
2529
|
-
private setComponent;
|
|
2530
|
-
private handleTabClick;
|
|
2531
|
-
private isHorizontal;
|
|
2532
|
-
private handleTabKeyDown;
|
|
2533
|
-
/**
|
|
2534
|
-
* The adjust method for FASTTabs
|
|
2535
|
-
* @public
|
|
2536
|
-
* @remarks
|
|
2537
|
-
* This method allows the active index to be adjusted by numerical increments
|
|
2538
|
-
*/
|
|
2539
|
-
adjust(adjustment: number): void;
|
|
2540
|
-
private adjustForward;
|
|
2541
|
-
private adjustBackward;
|
|
2542
|
-
private moveToTabByIndex;
|
|
2543
|
-
private focusTab;
|
|
2581
|
+
constructor();
|
|
2544
2582
|
/**
|
|
2545
2583
|
* @internal
|
|
2546
2584
|
*/
|
|
@@ -2580,11 +2618,23 @@ export declare class BaseTextArea extends FASTElement {
|
|
|
2580
2618
|
* @internal
|
|
2581
2619
|
*/
|
|
2582
2620
|
labelEl: HTMLLabelElement;
|
|
2621
|
+
/**
|
|
2622
|
+
* The root container element.
|
|
2623
|
+
* @internal
|
|
2624
|
+
*/
|
|
2625
|
+
rootEl: HTMLDivElement;
|
|
2583
2626
|
/**
|
|
2584
2627
|
* The `<textarea>` element.
|
|
2585
2628
|
* @internal
|
|
2586
2629
|
*/
|
|
2587
2630
|
controlEl: HTMLTextAreaElement;
|
|
2631
|
+
/**
|
|
2632
|
+
* Sets up a mutation observer to watch for changes to the control element's
|
|
2633
|
+
* attributes that could affect validity, and binds an input event listener to detect user interaction.
|
|
2634
|
+
*
|
|
2635
|
+
* @internal
|
|
2636
|
+
*/
|
|
2637
|
+
protected controlElChanged(): void;
|
|
2588
2638
|
/**
|
|
2589
2639
|
* @internal
|
|
2590
2640
|
*/
|
|
@@ -2869,13 +2919,10 @@ export declare class BaseTextArea extends FASTElement {
|
|
|
2869
2919
|
* @public
|
|
2870
2920
|
*/
|
|
2871
2921
|
select(): void;
|
|
2872
|
-
private setDefaultValue;
|
|
2873
|
-
private bindEvents;
|
|
2874
2922
|
/**
|
|
2875
2923
|
* Gets the content inside the light DOM, if any HTML element is present, use its `outerHTML` value.
|
|
2876
2924
|
*/
|
|
2877
2925
|
private getContent;
|
|
2878
|
-
private observeControlElAttrs;
|
|
2879
2926
|
private setDisabledSideEffect;
|
|
2880
2927
|
private toggleUserValidityState;
|
|
2881
2928
|
private maybeCreateAutoSizerEl;
|
|
@@ -3314,7 +3361,15 @@ export declare class BaseTree extends FASTElement {
|
|
|
3314
3361
|
elementInternals: ElementInternals;
|
|
3315
3362
|
/** @internal */
|
|
3316
3363
|
defaultSlot: HTMLSlotElement;
|
|
3364
|
+
/**
|
|
3365
|
+
* Calls the slot change handler when the `defaultSlot` reference is updated
|
|
3366
|
+
* by the template binding.
|
|
3367
|
+
*
|
|
3368
|
+
* @internal
|
|
3369
|
+
*/
|
|
3370
|
+
defaultSlotChanged(): void;
|
|
3317
3371
|
constructor();
|
|
3372
|
+
connectedCallback(): void;
|
|
3318
3373
|
/** @internal */
|
|
3319
3374
|
childTreeItems: BaseTreeItem[];
|
|
3320
3375
|
/** @internal */
|
|
@@ -3376,11 +3431,21 @@ declare class BaseTreeItem extends FASTElement {
|
|
|
3376
3431
|
elementInternals: ElementInternals;
|
|
3377
3432
|
/** @internal */
|
|
3378
3433
|
itemSlot: HTMLSlotElement;
|
|
3434
|
+
/**
|
|
3435
|
+
* Calls the slot change handler when the `itemSlot` reference is updated
|
|
3436
|
+
* by the template binding.
|
|
3437
|
+
*
|
|
3438
|
+
* @internal
|
|
3439
|
+
*/
|
|
3440
|
+
itemSlotChanged(): void;
|
|
3379
3441
|
constructor();
|
|
3380
3442
|
/**
|
|
3381
3443
|
* When true, the control will be appear expanded by user interaction.
|
|
3382
|
-
*
|
|
3444
|
+
* When true, the control will be appear expanded by user interaction.
|
|
3445
|
+
*
|
|
3383
3446
|
* HTML Attribute: `expanded`
|
|
3447
|
+
*
|
|
3448
|
+
* @public
|
|
3384
3449
|
*/
|
|
3385
3450
|
expanded: boolean;
|
|
3386
3451
|
/**
|
|
@@ -3408,8 +3473,11 @@ declare class BaseTreeItem extends FASTElement {
|
|
|
3408
3473
|
protected selectedChanged(prev: boolean, next: boolean): void;
|
|
3409
3474
|
/**
|
|
3410
3475
|
* When true, the control has no child tree items
|
|
3411
|
-
*
|
|
3476
|
+
* When true, the control has no child tree items
|
|
3477
|
+
*
|
|
3412
3478
|
* HTML Attribute: empty
|
|
3479
|
+
*
|
|
3480
|
+
* @public
|
|
3413
3481
|
*/
|
|
3414
3482
|
empty: boolean;
|
|
3415
3483
|
private styles;
|
|
@@ -3455,6 +3523,36 @@ declare class BaseTreeItem extends FASTElement {
|
|
|
3455
3523
|
handleItemSlotChange(): void;
|
|
3456
3524
|
}
|
|
3457
3525
|
|
|
3526
|
+
/**
|
|
3527
|
+
* CSS custom property value for the {@link @fluentui/tokens#borderRadius2XLarge | `borderRadius2XLarge`} design token.
|
|
3528
|
+
* @public
|
|
3529
|
+
*/
|
|
3530
|
+
export declare const borderRadius2XLarge = "var(--borderRadius2XLarge)";
|
|
3531
|
+
|
|
3532
|
+
/**
|
|
3533
|
+
* CSS custom property value for the {@link @fluentui/tokens#borderRadius3XLarge | `borderRadius3XLarge`} design token.
|
|
3534
|
+
* @public
|
|
3535
|
+
*/
|
|
3536
|
+
export declare const borderRadius3XLarge = "var(--borderRadius3XLarge)";
|
|
3537
|
+
|
|
3538
|
+
/**
|
|
3539
|
+
* CSS custom property value for the {@link @fluentui/tokens#borderRadius4XLarge | `borderRadius4XLarge`} design token.
|
|
3540
|
+
* @public
|
|
3541
|
+
*/
|
|
3542
|
+
export declare const borderRadius4XLarge = "var(--borderRadius4XLarge)";
|
|
3543
|
+
|
|
3544
|
+
/**
|
|
3545
|
+
* CSS custom property value for the {@link @fluentui/tokens#borderRadius5XLarge | `borderRadius5XLarge`} design token.
|
|
3546
|
+
* @public
|
|
3547
|
+
*/
|
|
3548
|
+
export declare const borderRadius5XLarge = "var(--borderRadius5XLarge)";
|
|
3549
|
+
|
|
3550
|
+
/**
|
|
3551
|
+
* CSS custom property value for the {@link @fluentui/tokens#borderRadius6XLarge | `borderRadius6XLarge`} design token.
|
|
3552
|
+
* @public
|
|
3553
|
+
*/
|
|
3554
|
+
export declare const borderRadius6XLarge = "var(--borderRadius6XLarge)";
|
|
3555
|
+
|
|
3458
3556
|
/**
|
|
3459
3557
|
* CSS custom property value for the {@link @fluentui/tokens#borderRadiusCircular | `borderRadiusCircular`} design token.
|
|
3460
3558
|
* @public
|
|
@@ -3632,7 +3730,7 @@ export declare type ButtonSize = ValuesOf<typeof ButtonSize>;
|
|
|
3632
3730
|
*
|
|
3633
3731
|
* @public
|
|
3634
3732
|
*/
|
|
3635
|
-
export declare const ButtonTemplate: ElementViewTemplate<
|
|
3733
|
+
export declare const ButtonTemplate: ElementViewTemplate<BaseButton>;
|
|
3636
3734
|
|
|
3637
3735
|
/**
|
|
3638
3736
|
* Button type values.
|
|
@@ -4169,6 +4267,36 @@ export declare const colorNeutralBackground5Selected = "var(--colorNeutralBackgr
|
|
|
4169
4267
|
*/
|
|
4170
4268
|
export declare const colorNeutralBackground6 = "var(--colorNeutralBackground6)";
|
|
4171
4269
|
|
|
4270
|
+
/**
|
|
4271
|
+
* CSS custom property value for the {@link @fluentui/tokens#colorNeutralBackground7 | `colorNeutralBackground7`} design token.
|
|
4272
|
+
* @public
|
|
4273
|
+
*/
|
|
4274
|
+
export declare const colorNeutralBackground7 = "var(--colorNeutralBackground7)";
|
|
4275
|
+
|
|
4276
|
+
/**
|
|
4277
|
+
* CSS custom property value for the {@link @fluentui/tokens#colorNeutralBackground7Hover | `colorNeutralBackground7Hover`} design token.
|
|
4278
|
+
* @public
|
|
4279
|
+
*/
|
|
4280
|
+
export declare const colorNeutralBackground7Hover = "var(--colorNeutralBackground7Hover)";
|
|
4281
|
+
|
|
4282
|
+
/**
|
|
4283
|
+
* CSS custom property value for the {@link @fluentui/tokens#colorNeutralBackground7Pressed | `colorNeutralBackground7Pressed`} design token.
|
|
4284
|
+
* @public
|
|
4285
|
+
*/
|
|
4286
|
+
export declare const colorNeutralBackground7Pressed = "var(--colorNeutralBackground7Pressed)";
|
|
4287
|
+
|
|
4288
|
+
/**
|
|
4289
|
+
* CSS custom property value for the {@link @fluentui/tokens#colorNeutralBackground7Selected | `colorNeutralBackground7Selected`} design token.
|
|
4290
|
+
* @public
|
|
4291
|
+
*/
|
|
4292
|
+
export declare const colorNeutralBackground7Selected = "var(--colorNeutralBackground7Selected)";
|
|
4293
|
+
|
|
4294
|
+
/**
|
|
4295
|
+
* CSS custom property value for the {@link @fluentui/tokens#colorNeutralBackground8 | `colorNeutralBackground8`} design token.
|
|
4296
|
+
* @public
|
|
4297
|
+
*/
|
|
4298
|
+
export declare const colorNeutralBackground8 = "var(--colorNeutralBackground8)";
|
|
4299
|
+
|
|
4172
4300
|
/**
|
|
4173
4301
|
* CSS custom property value for the {@link @fluentui/tokens#colorNeutralBackgroundAlpha | `colorNeutralBackgroundAlpha`} design token.
|
|
4174
4302
|
* @public
|
|
@@ -4187,6 +4315,12 @@ export declare const colorNeutralBackgroundAlpha2 = "var(--colorNeutralBackgroun
|
|
|
4187
4315
|
*/
|
|
4188
4316
|
export declare const colorNeutralBackgroundDisabled = "var(--colorNeutralBackgroundDisabled)";
|
|
4189
4317
|
|
|
4318
|
+
/**
|
|
4319
|
+
* CSS custom property value for the {@link @fluentui/tokens#colorNeutralBackgroundDisabled2 | `colorNeutralBackgroundDisabled2`} design token.
|
|
4320
|
+
* @public
|
|
4321
|
+
*/
|
|
4322
|
+
export declare const colorNeutralBackgroundDisabled2 = "var(--colorNeutralBackgroundDisabled2)";
|
|
4323
|
+
|
|
4190
4324
|
/**
|
|
4191
4325
|
* CSS custom property value for the {@link @fluentui/tokens#colorNeutralBackgroundInverted | `colorNeutralBackgroundInverted`} design token.
|
|
4192
4326
|
* @public
|
|
@@ -4199,6 +4333,24 @@ export declare const colorNeutralBackgroundInverted = "var(--colorNeutralBackgro
|
|
|
4199
4333
|
*/
|
|
4200
4334
|
export declare const colorNeutralBackgroundInvertedDisabled = "var(--colorNeutralBackgroundInvertedDisabled)";
|
|
4201
4335
|
|
|
4336
|
+
/**
|
|
4337
|
+
* CSS custom property value for the {@link @fluentui/tokens#colorNeutralBackgroundInvertedHover | `colorNeutralBackgroundInvertedHover`} design token.
|
|
4338
|
+
* @public
|
|
4339
|
+
*/
|
|
4340
|
+
export declare const colorNeutralBackgroundInvertedHover = "var(--colorNeutralBackgroundInvertedHover)";
|
|
4341
|
+
|
|
4342
|
+
/**
|
|
4343
|
+
* CSS custom property value for the {@link @fluentui/tokens#colorNeutralBackgroundInvertedPressed | `colorNeutralBackgroundInvertedPressed`} design token.
|
|
4344
|
+
* @public
|
|
4345
|
+
*/
|
|
4346
|
+
export declare const colorNeutralBackgroundInvertedPressed = "var(--colorNeutralBackgroundInvertedPressed)";
|
|
4347
|
+
|
|
4348
|
+
/**
|
|
4349
|
+
* CSS custom property value for the {@link @fluentui/tokens#colorNeutralBackgroundInvertedSelected | `colorNeutralBackgroundInvertedSelected`} design token.
|
|
4350
|
+
* @public
|
|
4351
|
+
*/
|
|
4352
|
+
export declare const colorNeutralBackgroundInvertedSelected = "var(--colorNeutralBackgroundInvertedSelected)";
|
|
4353
|
+
|
|
4202
4354
|
/**
|
|
4203
4355
|
* CSS custom property value for the {@link @fluentui/tokens#colorNeutralBackgroundStatic | `colorNeutralBackgroundStatic`} design token.
|
|
4204
4356
|
* @public
|
|
@@ -4379,6 +4531,30 @@ export declare const colorNeutralForeground3Selected = "var(--colorNeutralForegr
|
|
|
4379
4531
|
*/
|
|
4380
4532
|
export declare const colorNeutralForeground4 = "var(--colorNeutralForeground4)";
|
|
4381
4533
|
|
|
4534
|
+
/**
|
|
4535
|
+
* CSS custom property value for the {@link @fluentui/tokens#colorNeutralForeground5 | `colorNeutralForeground5`} design token.
|
|
4536
|
+
* @public
|
|
4537
|
+
*/
|
|
4538
|
+
export declare const colorNeutralForeground5 = "var(--colorNeutralForeground5)";
|
|
4539
|
+
|
|
4540
|
+
/**
|
|
4541
|
+
* CSS custom property value for the {@link @fluentui/tokens#colorNeutralForeground5Hover | `colorNeutralForeground5Hover`} design token.
|
|
4542
|
+
* @public
|
|
4543
|
+
*/
|
|
4544
|
+
export declare const colorNeutralForeground5Hover = "var(--colorNeutralForeground5Hover)";
|
|
4545
|
+
|
|
4546
|
+
/**
|
|
4547
|
+
* CSS custom property value for the {@link @fluentui/tokens#colorNeutralForeground5Pressed | `colorNeutralForeground5Pressed`} design token.
|
|
4548
|
+
* @public
|
|
4549
|
+
*/
|
|
4550
|
+
export declare const colorNeutralForeground5Pressed = "var(--colorNeutralForeground5Pressed)";
|
|
4551
|
+
|
|
4552
|
+
/**
|
|
4553
|
+
* CSS custom property value for the {@link @fluentui/tokens#colorNeutralForeground5Selected | `colorNeutralForeground5Selected`} design token.
|
|
4554
|
+
* @public
|
|
4555
|
+
*/
|
|
4556
|
+
export declare const colorNeutralForeground5Selected = "var(--colorNeutralForeground5Selected)";
|
|
4557
|
+
|
|
4382
4558
|
/**
|
|
4383
4559
|
* CSS custom property value for the {@link @fluentui/tokens#colorNeutralForegroundDisabled | `colorNeutralForegroundDisabled`} design token.
|
|
4384
4560
|
* @public
|
|
@@ -4553,6 +4729,30 @@ export declare const colorNeutralStroke2 = "var(--colorNeutralStroke2)";
|
|
|
4553
4729
|
*/
|
|
4554
4730
|
export declare const colorNeutralStroke3 = "var(--colorNeutralStroke3)";
|
|
4555
4731
|
|
|
4732
|
+
/**
|
|
4733
|
+
* CSS custom property value for the {@link @fluentui/tokens#colorNeutralStroke4 | `colorNeutralStroke4`} design token.
|
|
4734
|
+
* @public
|
|
4735
|
+
*/
|
|
4736
|
+
export declare const colorNeutralStroke4 = "var(--colorNeutralStroke4)";
|
|
4737
|
+
|
|
4738
|
+
/**
|
|
4739
|
+
* CSS custom property value for the {@link @fluentui/tokens#colorNeutralStroke4Hover | `colorNeutralStroke4Hover`} design token.
|
|
4740
|
+
* @public
|
|
4741
|
+
*/
|
|
4742
|
+
export declare const colorNeutralStroke4Hover = "var(--colorNeutralStroke4Hover)";
|
|
4743
|
+
|
|
4744
|
+
/**
|
|
4745
|
+
* CSS custom property value for the {@link @fluentui/tokens#colorNeutralStroke4Pressed | `colorNeutralStroke4Pressed`} design token.
|
|
4746
|
+
* @public
|
|
4747
|
+
*/
|
|
4748
|
+
export declare const colorNeutralStroke4Pressed = "var(--colorNeutralStroke4Pressed)";
|
|
4749
|
+
|
|
4750
|
+
/**
|
|
4751
|
+
* CSS custom property value for the {@link @fluentui/tokens#colorNeutralStroke4Selected | `colorNeutralStroke4Selected`} design token.
|
|
4752
|
+
* @public
|
|
4753
|
+
*/
|
|
4754
|
+
export declare const colorNeutralStroke4Selected = "var(--colorNeutralStroke4Selected)";
|
|
4755
|
+
|
|
4556
4756
|
/**
|
|
4557
4757
|
* CSS custom property value for the {@link @fluentui/tokens#colorNeutralStrokeAccessible | `colorNeutralStrokeAccessible`} design token.
|
|
4558
4758
|
* @public
|
|
@@ -4595,6 +4795,12 @@ export declare const colorNeutralStrokeAlpha2 = "var(--colorNeutralStrokeAlpha2)
|
|
|
4595
4795
|
*/
|
|
4596
4796
|
export declare const colorNeutralStrokeDisabled = "var(--colorNeutralStrokeDisabled)";
|
|
4597
4797
|
|
|
4798
|
+
/**
|
|
4799
|
+
* CSS custom property value for the {@link @fluentui/tokens#colorNeutralStrokeDisabled2 | `colorNeutralStrokeDisabled2`} design token.
|
|
4800
|
+
* @public
|
|
4801
|
+
*/
|
|
4802
|
+
export declare const colorNeutralStrokeDisabled2 = "var(--colorNeutralStrokeDisabled2)";
|
|
4803
|
+
|
|
4598
4804
|
/**
|
|
4599
4805
|
* CSS custom property value for the {@link @fluentui/tokens#colorNeutralStrokeInvertedDisabled | `colorNeutralStrokeInvertedDisabled`} design token.
|
|
4600
4806
|
* @public
|
|
@@ -6010,10 +6216,11 @@ export declare class CounterBadge extends FASTElement {
|
|
|
6010
6216
|
*/
|
|
6011
6217
|
dot: boolean;
|
|
6012
6218
|
/**
|
|
6013
|
-
* @internal
|
|
6014
6219
|
* Function to set the count
|
|
6015
6220
|
* This is the default slotted content for the counter badge
|
|
6016
6221
|
* If children are slotted, that will override the value returned
|
|
6222
|
+
*
|
|
6223
|
+
* @internal
|
|
6017
6224
|
*/
|
|
6018
6225
|
setCount(): string | void;
|
|
6019
6226
|
}
|
|
@@ -6190,57 +6397,77 @@ export declare const darkModeStylesheetBehavior: (styles: ElementStyles) => Matc
|
|
|
6190
6397
|
*/
|
|
6191
6398
|
export declare class Dialog extends FASTElement {
|
|
6192
6399
|
/**
|
|
6193
|
-
* @public
|
|
6194
6400
|
* The dialog element
|
|
6401
|
+
*
|
|
6402
|
+
* @public
|
|
6195
6403
|
*/
|
|
6196
6404
|
dialog: HTMLDialogElement;
|
|
6405
|
+
protected dialogChanged(): void;
|
|
6197
6406
|
/**
|
|
6198
|
-
* @public
|
|
6199
6407
|
* The ID of the element that describes the dialog
|
|
6408
|
+
*
|
|
6409
|
+
* @public
|
|
6200
6410
|
*/
|
|
6201
6411
|
ariaDescribedby?: string;
|
|
6202
6412
|
/**
|
|
6203
|
-
* @public
|
|
6204
6413
|
* The ID of the element that labels the dialog
|
|
6414
|
+
*
|
|
6415
|
+
* @public
|
|
6205
6416
|
*/
|
|
6206
6417
|
ariaLabelledby?: string;
|
|
6207
6418
|
/**
|
|
6419
|
+
* The label of the dialog
|
|
6420
|
+
*
|
|
6208
6421
|
* @public
|
|
6422
|
+
*/
|
|
6423
|
+
ariaLabel: string | null;
|
|
6424
|
+
/**
|
|
6209
6425
|
* The type of the dialog modal
|
|
6426
|
+
*
|
|
6427
|
+
* @public
|
|
6210
6428
|
*/
|
|
6211
6429
|
type: DialogType;
|
|
6212
|
-
protected typeChanged(prev: DialogType | undefined, next: DialogType
|
|
6213
|
-
/** @internal */
|
|
6214
|
-
connectedCallback(): void;
|
|
6430
|
+
protected typeChanged(prev: DialogType | undefined, next: DialogType): void;
|
|
6215
6431
|
/**
|
|
6216
|
-
* @public
|
|
6217
6432
|
* Method to emit an event before the dialog's open state changes
|
|
6218
6433
|
* HTML spec proposal: https://github.com/whatwg/html/issues/9733
|
|
6434
|
+
*
|
|
6435
|
+
* @public
|
|
6219
6436
|
*/
|
|
6220
6437
|
emitBeforeToggle: () => void;
|
|
6221
6438
|
/**
|
|
6222
|
-
* @public
|
|
6223
6439
|
* Method to emit an event after the dialog's open state changes
|
|
6224
6440
|
* HTML spec proposal: https://github.com/whatwg/html/issues/9733
|
|
6441
|
+
*
|
|
6442
|
+
* @public
|
|
6225
6443
|
*/
|
|
6226
6444
|
emitToggle: () => void;
|
|
6227
6445
|
/**
|
|
6228
|
-
* @public
|
|
6229
6446
|
* Method to show the dialog
|
|
6447
|
+
*
|
|
6448
|
+
* @public
|
|
6230
6449
|
*/
|
|
6231
6450
|
show(): void;
|
|
6232
6451
|
/**
|
|
6233
|
-
* @public
|
|
6234
6452
|
* Method to hide the dialog
|
|
6453
|
+
*
|
|
6454
|
+
* @public
|
|
6235
6455
|
*/
|
|
6236
6456
|
hide(): void;
|
|
6237
6457
|
/**
|
|
6238
|
-
* @public
|
|
6239
6458
|
* Handles click events on the dialog overlay for light-dismiss
|
|
6459
|
+
*
|
|
6460
|
+
* @public
|
|
6240
6461
|
* @param event - The click event
|
|
6241
6462
|
* @returns boolean
|
|
6242
6463
|
*/
|
|
6243
6464
|
clickHandler(event: Event): boolean;
|
|
6465
|
+
/**
|
|
6466
|
+
* Updates the internal dialog element's attributes based on its type.
|
|
6467
|
+
*
|
|
6468
|
+
* @internal
|
|
6469
|
+
*/
|
|
6470
|
+
protected updateDialogAttributes(): void;
|
|
6244
6471
|
}
|
|
6245
6472
|
|
|
6246
6473
|
/**
|
|
@@ -6472,20 +6699,23 @@ export declare const DividerTemplate: ElementViewTemplate<Divider>;
|
|
|
6472
6699
|
export declare class Drawer extends FASTElement {
|
|
6473
6700
|
protected roleAttrObserver: MutationObserver;
|
|
6474
6701
|
/**
|
|
6475
|
-
* @public
|
|
6476
6702
|
* Determines whether the drawer should be displayed as modal or non-modal
|
|
6477
6703
|
* When rendered as a modal, an overlay is applied over the rest of the view.
|
|
6704
|
+
*
|
|
6705
|
+
* @public
|
|
6478
6706
|
*/
|
|
6479
6707
|
type: DrawerType;
|
|
6480
6708
|
protected typeChanged(): void;
|
|
6481
6709
|
/**
|
|
6482
|
-
* @public
|
|
6483
6710
|
* The ID of the element that labels the drawer.
|
|
6711
|
+
*
|
|
6712
|
+
* @public
|
|
6484
6713
|
*/
|
|
6485
6714
|
ariaLabelledby?: string;
|
|
6486
6715
|
/**
|
|
6487
|
-
* @public
|
|
6488
6716
|
* The ID of the element that describes the drawer.
|
|
6717
|
+
*
|
|
6718
|
+
* @public
|
|
6489
6719
|
*/
|
|
6490
6720
|
ariaDescribedby?: string;
|
|
6491
6721
|
/**""
|
|
@@ -6501,8 +6731,9 @@ export declare class Drawer extends FASTElement {
|
|
|
6501
6731
|
*/
|
|
6502
6732
|
size: DrawerSize;
|
|
6503
6733
|
/**
|
|
6504
|
-
* @public
|
|
6505
6734
|
* The dialog element.
|
|
6735
|
+
*
|
|
6736
|
+
* @public
|
|
6506
6737
|
*/
|
|
6507
6738
|
dialog: HTMLDialogElement;
|
|
6508
6739
|
/** @internal */
|
|
@@ -6510,25 +6741,29 @@ export declare class Drawer extends FASTElement {
|
|
|
6510
6741
|
/** @internal */
|
|
6511
6742
|
disconnectedCallback(): void;
|
|
6512
6743
|
/**
|
|
6513
|
-
* @public
|
|
6514
6744
|
* Method to emit an event after the dialog's open state changes
|
|
6515
6745
|
* HTML spec proposal: https://github.com/whatwg/html/issues/9733
|
|
6746
|
+
*
|
|
6747
|
+
* @public
|
|
6516
6748
|
*/
|
|
6517
6749
|
emitToggle: () => void;
|
|
6518
6750
|
/**
|
|
6519
|
-
* @public
|
|
6520
6751
|
* Method to emit an event before the dialog's open state changes
|
|
6521
6752
|
* HTML spec proposal: https://github.com/whatwg/html/issues/9733
|
|
6753
|
+
*
|
|
6754
|
+
* @public
|
|
6522
6755
|
*/
|
|
6523
6756
|
emitBeforeToggle: () => void;
|
|
6524
6757
|
/**
|
|
6525
|
-
* @public
|
|
6526
6758
|
* Method to show the drawer
|
|
6759
|
+
*
|
|
6760
|
+
* @public
|
|
6527
6761
|
*/
|
|
6528
6762
|
show(): void;
|
|
6529
6763
|
/**
|
|
6530
|
-
* @public
|
|
6531
6764
|
* Method to hide the drawer
|
|
6765
|
+
*
|
|
6766
|
+
* @public
|
|
6532
6767
|
*/
|
|
6533
6768
|
hide(): void;
|
|
6534
6769
|
/**
|
|
@@ -6539,8 +6774,9 @@ export declare class Drawer extends FASTElement {
|
|
|
6539
6774
|
*/
|
|
6540
6775
|
clickHandler(event: Event): boolean;
|
|
6541
6776
|
/**
|
|
6542
|
-
* @public
|
|
6543
6777
|
* Handles cancel events on the drawer.
|
|
6778
|
+
*
|
|
6779
|
+
* @public
|
|
6544
6780
|
*/
|
|
6545
6781
|
cancelHandler(): void;
|
|
6546
6782
|
protected observeRoleAttr(): void;
|
|
@@ -7729,14 +7965,18 @@ export declare const LinkTemplate: ElementViewTemplate<Link>;
|
|
|
7729
7965
|
*/
|
|
7730
7966
|
export declare class Listbox extends FASTElement {
|
|
7731
7967
|
/**
|
|
7732
|
-
*
|
|
7968
|
+
* A reference to the default slot element.
|
|
7733
7969
|
*
|
|
7734
|
-
* @
|
|
7735
|
-
* @public
|
|
7736
|
-
* @remarks
|
|
7737
|
-
* HTML Attribute: `id`
|
|
7970
|
+
* @internal
|
|
7738
7971
|
*/
|
|
7739
|
-
|
|
7972
|
+
defaultSlot: HTMLSlotElement;
|
|
7973
|
+
/**
|
|
7974
|
+
* Calls the `slotchangeHandler` when the `defaultSlot` element is assigned
|
|
7975
|
+
* via the `ref` directive in the template.
|
|
7976
|
+
*
|
|
7977
|
+
* @internal
|
|
7978
|
+
*/
|
|
7979
|
+
protected defaultSlotChanged(): void;
|
|
7740
7980
|
/**
|
|
7741
7981
|
* Indicates whether the listbox allows multiple selection.
|
|
7742
7982
|
*
|
|
@@ -7809,6 +8049,7 @@ export declare class Listbox extends FASTElement {
|
|
|
7809
8049
|
*/
|
|
7810
8050
|
clickHandler(e: PointerEvent): boolean | void;
|
|
7811
8051
|
constructor();
|
|
8052
|
+
connectedCallback(): void;
|
|
7812
8053
|
/**
|
|
7813
8054
|
* Handles observable subscriptions for the listbox.
|
|
7814
8055
|
*
|
|
@@ -7832,7 +8073,7 @@ export declare class Listbox extends FASTElement {
|
|
|
7832
8073
|
* @param e - The slotchange event
|
|
7833
8074
|
* @public
|
|
7834
8075
|
*/
|
|
7835
|
-
slotchangeHandler(e
|
|
8076
|
+
slotchangeHandler(e?: Event): void;
|
|
7836
8077
|
}
|
|
7837
8078
|
|
|
7838
8079
|
/**
|
|
@@ -8053,6 +8294,13 @@ export declare class Menu extends FASTElement {
|
|
|
8053
8294
|
* @public
|
|
8054
8295
|
*/
|
|
8055
8296
|
slottedMenuList: MenuList[];
|
|
8297
|
+
/**
|
|
8298
|
+
* Sets up the component when the slotted menu list changes.
|
|
8299
|
+
* @param prev - The previous items in the slotted menu list.
|
|
8300
|
+
* @param next - The new items in the slotted menu list.
|
|
8301
|
+
* @internal
|
|
8302
|
+
*/
|
|
8303
|
+
slottedMenuListChanged(prev: MenuList[] | undefined, next: MenuList[] | undefined): void;
|
|
8056
8304
|
/**
|
|
8057
8305
|
* Holds the slotted triggers.
|
|
8058
8306
|
* @public
|
|
@@ -8610,8 +8858,9 @@ export declare class MessageBar extends FASTElement {
|
|
|
8610
8858
|
*/
|
|
8611
8859
|
intent?: MessageBarIntent;
|
|
8612
8860
|
/**
|
|
8613
|
-
* @public
|
|
8614
8861
|
* Method to emit a `dismiss` event when the message bar is dismissed
|
|
8862
|
+
*
|
|
8863
|
+
* @public
|
|
8615
8864
|
*/
|
|
8616
8865
|
dismissMessageBar: () => void;
|
|
8617
8866
|
}
|
|
@@ -8626,8 +8875,9 @@ export declare class MessageBar extends FASTElement {
|
|
|
8626
8875
|
export declare const MessageBarDefinition: FASTElementDefinition<typeof MessageBar>;
|
|
8627
8876
|
|
|
8628
8877
|
/**
|
|
8629
|
-
* @public
|
|
8630
8878
|
* The `intent` variations for the MessageBar component.
|
|
8879
|
+
*
|
|
8880
|
+
* @public
|
|
8631
8881
|
*/
|
|
8632
8882
|
export declare const MessageBarIntent: {
|
|
8633
8883
|
readonly success: "success";
|
|
@@ -8639,8 +8889,9 @@ export declare const MessageBarIntent: {
|
|
|
8639
8889
|
export declare type MessageBarIntent = ValuesOf<typeof MessageBarIntent>;
|
|
8640
8890
|
|
|
8641
8891
|
/**
|
|
8642
|
-
* @public
|
|
8643
8892
|
* The `layout` variations for the MessageBar component.
|
|
8893
|
+
*
|
|
8894
|
+
* @public
|
|
8644
8895
|
*/
|
|
8645
8896
|
export declare const MessageBarLayout: {
|
|
8646
8897
|
readonly multiline: "multiline";
|
|
@@ -8650,8 +8901,9 @@ export declare const MessageBarLayout: {
|
|
|
8650
8901
|
export declare type MessageBarLayout = ValuesOf<typeof MessageBarLayout>;
|
|
8651
8902
|
|
|
8652
8903
|
/**
|
|
8653
|
-
* @public
|
|
8654
8904
|
* The `shape` variations for the MessageBar component.
|
|
8905
|
+
*
|
|
8906
|
+
* @public
|
|
8655
8907
|
*/
|
|
8656
8908
|
export declare const MessageBarShape: {
|
|
8657
8909
|
readonly rounded: "rounded";
|
|
@@ -8685,14 +8937,20 @@ export declare class ProgressBar extends BaseProgressBar {
|
|
|
8685
8937
|
/**
|
|
8686
8938
|
* The thickness of the progress bar
|
|
8687
8939
|
*
|
|
8688
|
-
*
|
|
8940
|
+
* The thickness of the progress bar
|
|
8941
|
+
*
|
|
8689
8942
|
* HTML Attribute: `thickness`
|
|
8943
|
+
*
|
|
8944
|
+
* @public
|
|
8690
8945
|
*/
|
|
8691
8946
|
thickness?: ProgressBarThickness;
|
|
8692
8947
|
/**
|
|
8693
8948
|
* The shape of the progress bar
|
|
8694
|
-
*
|
|
8949
|
+
* The shape of the progress bar
|
|
8950
|
+
*
|
|
8695
8951
|
* HTML Attribute: `shape`
|
|
8952
|
+
*
|
|
8953
|
+
* @public
|
|
8696
8954
|
*/
|
|
8697
8955
|
shape?: ProgressBarShape;
|
|
8698
8956
|
}
|
|
@@ -8956,6 +9214,19 @@ export declare class RadioGroup extends FASTElement {
|
|
|
8956
9214
|
* @param next - the current required value
|
|
8957
9215
|
*/
|
|
8958
9216
|
requiredChanged(prev: boolean, next: boolean): void;
|
|
9217
|
+
/**
|
|
9218
|
+
* The collection of radios that are slotted into the default slot.
|
|
9219
|
+
*
|
|
9220
|
+
* @internal
|
|
9221
|
+
*/
|
|
9222
|
+
slottedRadios: Radio[];
|
|
9223
|
+
/**
|
|
9224
|
+
* Updates the radios collection when the slotted radios change.
|
|
9225
|
+
*
|
|
9226
|
+
* @param prev - the previous slotted radios
|
|
9227
|
+
* @param next - the current slotted radios
|
|
9228
|
+
*/
|
|
9229
|
+
slottedRadiosChanged(prev: Radio[] | undefined, next: Radio[]): void;
|
|
8959
9230
|
/**
|
|
8960
9231
|
* The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
|
|
8961
9232
|
*
|
|
@@ -9111,13 +9382,6 @@ export declare class RadioGroup extends FASTElement {
|
|
|
9111
9382
|
* - This allows form submission to proceed
|
|
9112
9383
|
*/
|
|
9113
9384
|
setValidity(flags?: Partial<ValidityState>, message?: string, anchor?: HTMLElement): void;
|
|
9114
|
-
/**
|
|
9115
|
-
* Updates the collection of child radios when the slot changes.
|
|
9116
|
-
*
|
|
9117
|
-
* @param e - the slot change event
|
|
9118
|
-
* @internal
|
|
9119
|
-
*/
|
|
9120
|
-
slotchangeHandler(e: Event): void;
|
|
9121
9385
|
}
|
|
9122
9386
|
|
|
9123
9387
|
/**
|
|
@@ -9288,7 +9552,7 @@ export declare const roleForMenuItem: {
|
|
|
9288
9552
|
* as each entry’s value is either a string or a number.
|
|
9289
9553
|
* @param node - The node to set the theme on, defaults to `document` for
|
|
9290
9554
|
* setting global theme.
|
|
9291
|
-
* @
|
|
9555
|
+
* @public
|
|
9292
9556
|
*/
|
|
9293
9557
|
export declare function setTheme(theme: Theme | null, node?: Document | HTMLElement): void;
|
|
9294
9558
|
|
|
@@ -9588,6 +9852,13 @@ export declare class Slider extends FASTElement implements SliderConfiguration {
|
|
|
9588
9852
|
*/
|
|
9589
9853
|
disabled: boolean;
|
|
9590
9854
|
protected disabledChanged(): void;
|
|
9855
|
+
/**
|
|
9856
|
+
* Returns true if the component is disabled, taking into account the `disabled`
|
|
9857
|
+
* attribute, `aria-disabled` attribute, and the `:disabled` pseudo-class.
|
|
9858
|
+
*
|
|
9859
|
+
* @internal
|
|
9860
|
+
*/
|
|
9861
|
+
protected get isDisabled(): boolean;
|
|
9591
9862
|
/**
|
|
9592
9863
|
* The minimum allowed value.
|
|
9593
9864
|
*
|
|
@@ -9658,9 +9929,6 @@ export declare class Slider extends FASTElement implements SliderConfiguration {
|
|
|
9658
9929
|
*/
|
|
9659
9930
|
mode: SliderMode;
|
|
9660
9931
|
constructor();
|
|
9661
|
-
/**
|
|
9662
|
-
* @internal
|
|
9663
|
-
*/
|
|
9664
9932
|
connectedCallback(): void;
|
|
9665
9933
|
/**
|
|
9666
9934
|
* @internal
|
|
@@ -10161,7 +10429,19 @@ export declare class Tab extends FASTElement {
|
|
|
10161
10429
|
* HTML Attribute: disabled
|
|
10162
10430
|
*/
|
|
10163
10431
|
disabled: boolean;
|
|
10164
|
-
|
|
10432
|
+
/**
|
|
10433
|
+
* Internal text content stylesheet, used to set the content of the `::after`
|
|
10434
|
+
* pseudo element to prevent layout shift when the font weight changes on selection.
|
|
10435
|
+
* @internal
|
|
10436
|
+
*/
|
|
10437
|
+
private styles?;
|
|
10438
|
+
/**
|
|
10439
|
+
* The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
|
|
10440
|
+
*
|
|
10441
|
+
* @internal
|
|
10442
|
+
*/
|
|
10443
|
+
elementInternals: ElementInternals;
|
|
10444
|
+
constructor();
|
|
10165
10445
|
connectedCallback(): void;
|
|
10166
10446
|
}
|
|
10167
10447
|
|
|
@@ -10260,7 +10540,7 @@ export declare class Tablist extends BaseTablist {
|
|
|
10260
10540
|
/**
|
|
10261
10541
|
* Initiates the active tab indicator animation loop when tabs change.
|
|
10262
10542
|
*/
|
|
10263
|
-
tabsChanged(): void;
|
|
10543
|
+
tabsChanged(prev: Tab[] | undefined, next: Tab[] | undefined): void;
|
|
10264
10544
|
}
|
|
10265
10545
|
|
|
10266
10546
|
/**
|
|
@@ -10332,167 +10612,6 @@ export declare const TablistTemplate: ViewTemplate<Tablist, any>;
|
|
|
10332
10612
|
*/
|
|
10333
10613
|
export declare type TabOptions = StartEndOptions<Tab>;
|
|
10334
10614
|
|
|
10335
|
-
/**
|
|
10336
|
-
* @deprecated - Use tablist instead
|
|
10337
|
-
*
|
|
10338
|
-
* @tag fluent-tab-panel
|
|
10339
|
-
*/
|
|
10340
|
-
export declare class TabPanel extends FASTElement {
|
|
10341
|
-
}
|
|
10342
|
-
|
|
10343
|
-
/**
|
|
10344
|
-
* @deprecated - Use tablist instead
|
|
10345
|
-
*/
|
|
10346
|
-
export declare const TabPanelDefinition: FASTElementDefinition<typeof TabPanel>;
|
|
10347
|
-
|
|
10348
|
-
export declare const TabPanelStyles: ElementStyles;
|
|
10349
|
-
|
|
10350
|
-
export declare const TabPanelTemplate: ElementViewTemplate<TabPanel, any>;
|
|
10351
|
-
|
|
10352
|
-
/**
|
|
10353
|
-
* @deprecated - Use tablist instead
|
|
10354
|
-
*
|
|
10355
|
-
* @tag fluent-tabs
|
|
10356
|
-
*/
|
|
10357
|
-
export declare class Tabs extends BaseTabs {
|
|
10358
|
-
/**
|
|
10359
|
-
* activeTabData
|
|
10360
|
-
* The positional coordinates and size dimensions of the active tab. Used for calculating the offset and scale of the tab active indicator.
|
|
10361
|
-
*/
|
|
10362
|
-
private activeTabData;
|
|
10363
|
-
/**
|
|
10364
|
-
* previousActiveTabData
|
|
10365
|
-
* The positional coordinates and size dimensions of the active tab. Used for calculating the offset and scale of the tab active indicator.
|
|
10366
|
-
*/
|
|
10367
|
-
private previousActiveTabData;
|
|
10368
|
-
/**
|
|
10369
|
-
* activeTabOffset
|
|
10370
|
-
* Used to position the active indicator for animations of the active indicator on active tab changes.
|
|
10371
|
-
*/
|
|
10372
|
-
private activeTabOffset;
|
|
10373
|
-
/**
|
|
10374
|
-
* activeTabScale
|
|
10375
|
-
* Used to scale the tab active indicator up or down as animations of the active indicator occur.
|
|
10376
|
-
*/
|
|
10377
|
-
private activeTabScale;
|
|
10378
|
-
/**
|
|
10379
|
-
* styles
|
|
10380
|
-
* used in the class for storing the css variables required for animations
|
|
10381
|
-
*/
|
|
10382
|
-
private styles;
|
|
10383
|
-
/**
|
|
10384
|
-
* appearance
|
|
10385
|
-
* There are two modes of appearance: transparent and subtle.
|
|
10386
|
-
*/
|
|
10387
|
-
appearance?: TabsAppearance;
|
|
10388
|
-
/**
|
|
10389
|
-
* disabled
|
|
10390
|
-
* Used for disabling all click and keyboard events for the tabs, child tab elements and tab panel elements. UI styling of content and tabs will appear as "grayed out."
|
|
10391
|
-
*/
|
|
10392
|
-
disabled?: boolean;
|
|
10393
|
-
/**
|
|
10394
|
-
* size
|
|
10395
|
-
* defaults to medium.
|
|
10396
|
-
* Used to set the size of all the tab controls, which effects text size and margins. Three sizes: small, medium and large.
|
|
10397
|
-
*/
|
|
10398
|
-
size?: TabsSize;
|
|
10399
|
-
/**
|
|
10400
|
-
* calculateAnimationProperties
|
|
10401
|
-
*
|
|
10402
|
-
* Recalculates the active tab offset and scale.
|
|
10403
|
-
* These values will be applied to css variables that control the tab active indicator position animations
|
|
10404
|
-
*/
|
|
10405
|
-
private calculateAnimationProperties;
|
|
10406
|
-
/**
|
|
10407
|
-
* getSelectedTabPosition - gets the x or y coordinates of the tab
|
|
10408
|
-
*/
|
|
10409
|
-
private getTabPosition;
|
|
10410
|
-
/**
|
|
10411
|
-
* getSelectedTabScale - gets the scale of the tab
|
|
10412
|
-
*/
|
|
10413
|
-
private getTabScale;
|
|
10414
|
-
/**
|
|
10415
|
-
* Calculates and applies updated values to CSS variables.
|
|
10416
|
-
*
|
|
10417
|
-
* @param tab - the tab element to apply the updated values to
|
|
10418
|
-
* @internal
|
|
10419
|
-
*/
|
|
10420
|
-
private applyUpdatedCSSValues;
|
|
10421
|
-
/**
|
|
10422
|
-
* Runs through all the operations required for setting the tab active indicator to its starting location, ending
|
|
10423
|
-
* location, and applying the animated css class to the tab.
|
|
10424
|
-
*
|
|
10425
|
-
* @param tab - the tab element to apply the updated values to
|
|
10426
|
-
* @internal
|
|
10427
|
-
*/
|
|
10428
|
-
private animationLoop;
|
|
10429
|
-
/**
|
|
10430
|
-
* Gets the position data for a tab element relative to its parent
|
|
10431
|
-
* @param tab - The tab element to get position data for
|
|
10432
|
-
* @returns The position data for the tab
|
|
10433
|
-
*/
|
|
10434
|
-
private getTabPositionData;
|
|
10435
|
-
/**
|
|
10436
|
-
* Sets the data from the active tab onto the class. used for making all the animation calculations for the active
|
|
10437
|
-
* tab indicator.
|
|
10438
|
-
*
|
|
10439
|
-
* @internal
|
|
10440
|
-
*/
|
|
10441
|
-
private setTabData;
|
|
10442
|
-
private setTabOffsetCSSVar;
|
|
10443
|
-
private setTabScaleCSSVar;
|
|
10444
|
-
activeidChanged(oldValue: string, newValue: string): void;
|
|
10445
|
-
tabsChanged(): void;
|
|
10446
|
-
}
|
|
10447
|
-
|
|
10448
|
-
export declare interface Tabs extends StartEnd {
|
|
10449
|
-
}
|
|
10450
|
-
|
|
10451
|
-
export declare const TabsAppearance: {
|
|
10452
|
-
readonly subtle: "subtle";
|
|
10453
|
-
readonly transparent: "transparent";
|
|
10454
|
-
};
|
|
10455
|
-
|
|
10456
|
-
export declare type TabsAppearance = ValuesOf<typeof TabsAppearance>;
|
|
10457
|
-
|
|
10458
|
-
/**
|
|
10459
|
-
* @deprecated - Use tablist instead
|
|
10460
|
-
*/
|
|
10461
|
-
export declare const TabsDefinition: FASTElementDefinition<typeof Tabs>;
|
|
10462
|
-
|
|
10463
|
-
/**
|
|
10464
|
-
* Tabs option configuration options
|
|
10465
|
-
* @public
|
|
10466
|
-
*/
|
|
10467
|
-
export declare type TabsOptions = StartEndOptions<Tabs>;
|
|
10468
|
-
|
|
10469
|
-
/**
|
|
10470
|
-
* The orientation of the component
|
|
10471
|
-
* @public
|
|
10472
|
-
*/
|
|
10473
|
-
export declare const TabsOrientation: {
|
|
10474
|
-
readonly horizontal: "horizontal";
|
|
10475
|
-
readonly vertical: "vertical";
|
|
10476
|
-
};
|
|
10477
|
-
|
|
10478
|
-
/**
|
|
10479
|
-
* The types for the Tabs component
|
|
10480
|
-
* @public
|
|
10481
|
-
*/
|
|
10482
|
-
export declare type TabsOrientation = ValuesOf<typeof TabsOrientation>;
|
|
10483
|
-
|
|
10484
|
-
export declare const TabsSize: {
|
|
10485
|
-
readonly small: "small";
|
|
10486
|
-
readonly medium: "medium";
|
|
10487
|
-
readonly large: "large";
|
|
10488
|
-
};
|
|
10489
|
-
|
|
10490
|
-
export declare type TabsSize = ValuesOf<typeof TabsSize>;
|
|
10491
|
-
|
|
10492
|
-
export declare const TabsStyles: ElementStyles;
|
|
10493
|
-
|
|
10494
|
-
export declare const TabsTemplate: ElementViewTemplate<Tabs, any>;
|
|
10495
|
-
|
|
10496
10615
|
export declare const TabStyles: ElementStyles;
|
|
10497
10616
|
|
|
10498
10617
|
export declare const TabTemplate: ElementViewTemplate<Tab, any>;
|
|
@@ -10925,7 +11044,7 @@ export declare type TextWeight = ValuesOf<typeof TextWeight>;
|
|
|
10925
11044
|
/**
|
|
10926
11045
|
* Not using the `Theme` type from `@fluentui/tokens` package to allow custom
|
|
10927
11046
|
* tokens to be added.
|
|
10928
|
-
* @
|
|
11047
|
+
* @public
|
|
10929
11048
|
*/
|
|
10930
11049
|
export declare type Theme = Record<string, string | number>;
|
|
10931
11050
|
|
|
@@ -11197,15 +11316,21 @@ export declare const TooltipTemplate: ViewTemplate<Tooltip, any>;
|
|
|
11197
11316
|
export declare class Tree extends BaseTree {
|
|
11198
11317
|
/**
|
|
11199
11318
|
* The size of the tree item element
|
|
11200
|
-
*
|
|
11319
|
+
* The size of the tree item element
|
|
11320
|
+
*
|
|
11201
11321
|
* HTML Attribute: size
|
|
11322
|
+
*
|
|
11323
|
+
* @public
|
|
11202
11324
|
*/
|
|
11203
11325
|
size: TreeItemSize;
|
|
11204
11326
|
protected sizeChanged(): void;
|
|
11205
11327
|
/**
|
|
11206
11328
|
* The appearance variants of the tree item element
|
|
11207
|
-
*
|
|
11329
|
+
* The appearance variants of the tree item element
|
|
11330
|
+
*
|
|
11208
11331
|
* HTML Attribute: appearance
|
|
11332
|
+
*
|
|
11333
|
+
* @public
|
|
11209
11334
|
*/
|
|
11210
11335
|
appearance: TreeItemAppearance;
|
|
11211
11336
|
protected appearanceChanged(): void;
|