@fluentui/web-components 3.1.4 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -2
- package/custom-elements.json +1439 -2728
- package/dist/esm/accordion-item/accordion-item.d.ts +4 -25
- package/dist/esm/accordion-item/accordion-item.js +4 -22
- package/dist/esm/accordion-item/accordion-item.js.map +1 -1
- package/dist/esm/accordion-item/accordion-item.styles.css +3 -11
- package/dist/esm/accordion-item/accordion-item.styles.js +3 -11
- package/dist/esm/accordion-item/accordion-item.styles.js.map +1 -1
- package/dist/esm/anchor-button/anchor-button.d.ts +5 -57
- package/dist/esm/anchor-button/anchor-button.js +5 -59
- package/dist/esm/anchor-button/anchor-button.js.map +1 -1
- package/dist/esm/avatar/avatar.d.ts +5 -28
- package/dist/esm/avatar/avatar.js +4 -9
- package/dist/esm/avatar/avatar.js.map +1 -1
- package/dist/esm/badge/badge.d.ts +5 -34
- package/dist/esm/badge/badge.js +6 -35
- package/dist/esm/badge/badge.js.map +1 -1
- package/dist/esm/button/button.d.ts +5 -33
- package/dist/esm/button/button.js +5 -25
- package/dist/esm/button/button.js.map +1 -1
- package/dist/esm/checkbox/checkbox.d.ts +3 -17
- package/dist/esm/checkbox/checkbox.js +4 -7
- package/dist/esm/checkbox/checkbox.js.map +1 -1
- package/dist/esm/divider/divider.d.ts +4 -19
- package/dist/esm/divider/divider.js +4 -11
- package/dist/esm/divider/divider.js.map +1 -1
- package/dist/esm/drawer/drawer.d.ts +4 -16
- package/dist/esm/drawer/drawer.js +4 -22
- package/dist/esm/drawer/drawer.js.map +1 -1
- package/dist/esm/drawer/drawer.template.html +0 -2
- package/dist/esm/drawer/drawer.template.js +0 -2
- package/dist/esm/drawer/drawer.template.js.map +1 -1
- package/dist/esm/dropdown/dropdown.base.js +1 -1
- package/dist/esm/dropdown/dropdown.base.js.map +1 -1
- package/dist/esm/dropdown/dropdown.d.ts +3 -16
- package/dist/esm/dropdown/dropdown.js +3 -20
- package/dist/esm/dropdown/dropdown.js.map +1 -1
- package/dist/esm/dropdown/dropdown.options.d.ts +4 -4
- package/dist/esm/dropdown/dropdown.options.js.map +1 -1
- package/dist/esm/dropdown/dropdown.styles.css +28 -14
- package/dist/esm/dropdown/dropdown.styles.js +28 -14
- package/dist/esm/dropdown/dropdown.styles.js.map +1 -1
- package/dist/esm/field/field.d.ts +2 -9
- package/dist/esm/field/field.js +2 -17
- package/dist/esm/field/field.js.map +1 -1
- package/dist/esm/field/field.styles.css +3 -5
- package/dist/esm/field/field.styles.js +2 -5
- package/dist/esm/field/field.styles.js.map +1 -1
- package/dist/esm/image/image.d.ts +6 -41
- package/dist/esm/image/image.js +7 -17
- package/dist/esm/image/image.js.map +1 -1
- package/dist/esm/label/label.d.ts +4 -25
- package/dist/esm/label/label.js +4 -17
- package/dist/esm/label/label.js.map +1 -1
- package/dist/esm/link/link.d.ts +3 -20
- package/dist/esm/link/link.js +3 -22
- package/dist/esm/link/link.js.map +1 -1
- package/dist/esm/menu/menu.d.ts +1 -6
- package/dist/esm/menu/menu.js +1 -4
- package/dist/esm/menu/menu.js.map +1 -1
- package/dist/esm/menu-item/menu-item.styles.css +16 -2
- package/dist/esm/menu-item/menu-item.styles.js +17 -3
- package/dist/esm/menu-item/menu-item.styles.js.map +1 -1
- package/dist/esm/menu-list/menu-list.styles.css +1 -48
- package/dist/esm/menu-list/menu-list.styles.js +1 -48
- package/dist/esm/menu-list/menu-list.styles.js.map +1 -1
- package/dist/esm/message-bar/message-bar.d.ts +3 -25
- package/dist/esm/message-bar/message-bar.js +4 -11
- package/dist/esm/message-bar/message-bar.js.map +1 -1
- package/dist/esm/option/option.d.ts +2 -14
- package/dist/esm/option/option.js +2 -19
- package/dist/esm/option/option.js.map +1 -1
- package/dist/esm/option/option.styles.css +1 -1
- package/dist/esm/option/option.styles.js +2 -2
- package/dist/esm/option/option.styles.js.map +1 -1
- package/dist/esm/progress-bar/progress-bar.base.d.ts +2 -16
- package/dist/esm/progress-bar/progress-bar.base.js +2 -22
- package/dist/esm/progress-bar/progress-bar.base.js.map +1 -1
- package/dist/esm/progress-bar/progress-bar.d.ts +2 -20
- package/dist/esm/progress-bar/progress-bar.js +2 -8
- package/dist/esm/progress-bar/progress-bar.js.map +1 -1
- package/dist/esm/rating-display/rating-display.d.ts +4 -27
- package/dist/esm/rating-display/rating-display.js +4 -22
- package/dist/esm/rating-display/rating-display.js.map +1 -1
- package/dist/esm/slider/slider.d.ts +2 -8
- package/dist/esm/slider/slider.js +1 -3
- package/dist/esm/slider/slider.js.map +1 -1
- package/dist/esm/spinner/spinner.d.ts +3 -16
- package/dist/esm/spinner/spinner.js +3 -8
- package/dist/esm/spinner/spinner.js.map +1 -1
- package/dist/esm/tablist/tablist.d.ts +2 -12
- package/dist/esm/tablist/tablist.js +2 -17
- package/dist/esm/tablist/tablist.js.map +1 -1
- package/dist/esm/text/text.d.ts +10 -84
- package/dist/esm/text/text.js +11 -82
- package/dist/esm/text/text.js.map +1 -1
- package/dist/esm/text-input/text-input.d.ts +2 -17
- package/dist/esm/text-input/text-input.js +2 -8
- package/dist/esm/text-input/text-input.js.map +1 -1
- package/dist/esm/textarea/textarea.base.d.ts +3 -18
- package/dist/esm/textarea/textarea.base.js +5 -30
- package/dist/esm/textarea/textarea.base.js.map +1 -1
- package/dist/esm/textarea/textarea.d.ts +3 -17
- package/dist/esm/textarea/textarea.js +14 -28
- package/dist/esm/textarea/textarea.js.map +1 -1
- package/dist/web-components-all.js +415 -890
- package/dist/web-components-all.min.js +15 -15
- package/dist/web-components.d.ts +91 -600
- package/dist/web-components.js +418 -969
- package/dist/web-components.min.js +15 -15
- package/package.json +2 -2
package/dist/web-components.d.ts
CHANGED
|
@@ -114,33 +114,13 @@ export declare type AccordionExpandMode = ValuesOf<typeof AccordionExpandMode>;
|
|
|
114
114
|
*
|
|
115
115
|
* @tag fluent-accordion-item
|
|
116
116
|
*
|
|
117
|
+
* @presentational {AccordionItemSize | undefined} size - Defines accordion header font size.
|
|
118
|
+
* @presentational {AccordionItemMarkerPosition | undefined} marker-position - Sets expand and collapsed icon position.
|
|
119
|
+
* @presentational {boolean} block - Sets the width of the focus state.
|
|
120
|
+
*
|
|
117
121
|
* @public
|
|
118
122
|
*/
|
|
119
123
|
export declare class AccordionItem extends BaseAccordionItem {
|
|
120
|
-
/**
|
|
121
|
-
* Defines accordion header font size.
|
|
122
|
-
*
|
|
123
|
-
* @public
|
|
124
|
-
* @remarks
|
|
125
|
-
* HTML Attribute: size
|
|
126
|
-
*/
|
|
127
|
-
size?: AccordionItemSize;
|
|
128
|
-
/**
|
|
129
|
-
* Sets expand and collapsed icon position.
|
|
130
|
-
*
|
|
131
|
-
* @public
|
|
132
|
-
* @remarks
|
|
133
|
-
* HTML Attribute: marker-position
|
|
134
|
-
*/
|
|
135
|
-
markerPosition?: AccordionItemMarkerPosition;
|
|
136
|
-
/**
|
|
137
|
-
* Sets the width of the focus state.
|
|
138
|
-
*
|
|
139
|
-
* @public
|
|
140
|
-
* @remarks
|
|
141
|
-
* HTML Attribute: block
|
|
142
|
-
*/
|
|
143
|
-
block: boolean;
|
|
144
124
|
}
|
|
145
125
|
|
|
146
126
|
/**
|
|
@@ -217,65 +197,14 @@ export declare const AccordionTemplate: ElementViewTemplate<Accordion>;
|
|
|
217
197
|
*
|
|
218
198
|
* @tag fluent-anchor-button
|
|
219
199
|
*
|
|
200
|
+
* @presentational {AnchorButtonAppearance | undefined} appearance - The appearance the anchor button should have.
|
|
201
|
+
* @presentational {AnchorButtonShape | undefined} shape - The shape the anchor button should have.
|
|
202
|
+
* @presentational {AnchorButtonSize | undefined} size - The size the anchor button should have.
|
|
203
|
+
* @presentational {boolean} icon-only - The anchor button has an icon only, no text content.
|
|
204
|
+
*
|
|
220
205
|
* @public
|
|
221
206
|
*/
|
|
222
207
|
export declare class AnchorButton extends BaseAnchor {
|
|
223
|
-
/**
|
|
224
|
-
* The appearance the anchor button should have.
|
|
225
|
-
*
|
|
226
|
-
* @public
|
|
227
|
-
* @remarks
|
|
228
|
-
* HTML Attribute: `appearance`
|
|
229
|
-
*/
|
|
230
|
-
appearance?: AnchorButtonAppearance | undefined;
|
|
231
|
-
/**
|
|
232
|
-
* Handles changes to appearance attribute custom states
|
|
233
|
-
* @param prev - the previous state
|
|
234
|
-
* @param next - the next state
|
|
235
|
-
*/
|
|
236
|
-
appearanceChanged(prev: AnchorButtonAppearance | undefined, next: AnchorButtonAppearance | undefined): void;
|
|
237
|
-
/**
|
|
238
|
-
* The shape the anchor button should have.
|
|
239
|
-
*
|
|
240
|
-
* @public
|
|
241
|
-
* @remarks
|
|
242
|
-
* HTML Attribute: `shape`
|
|
243
|
-
*/
|
|
244
|
-
shape?: AnchorButtonShape | undefined;
|
|
245
|
-
/**
|
|
246
|
-
* Handles changes to shape attribute custom states
|
|
247
|
-
* @param prev - the previous state
|
|
248
|
-
* @param next - the next state
|
|
249
|
-
*/
|
|
250
|
-
shapeChanged(prev: AnchorButtonShape | undefined, next: AnchorButtonShape | undefined): void;
|
|
251
|
-
/**
|
|
252
|
-
* The size the anchor button should have.
|
|
253
|
-
*
|
|
254
|
-
* @public
|
|
255
|
-
* @remarks
|
|
256
|
-
* HTML Attribute: `size`
|
|
257
|
-
*/
|
|
258
|
-
size?: AnchorButtonSize;
|
|
259
|
-
/**
|
|
260
|
-
* Handles changes to size attribute custom states
|
|
261
|
-
* @param prev - the previous state
|
|
262
|
-
* @param next - the next state
|
|
263
|
-
*/
|
|
264
|
-
sizeChanged(prev: AnchorButtonSize | undefined, next: AnchorButtonSize | undefined): void;
|
|
265
|
-
/**
|
|
266
|
-
* The anchor button has an icon only, no text content
|
|
267
|
-
*
|
|
268
|
-
* @public
|
|
269
|
-
* @remarks
|
|
270
|
-
* HTML Attribute: `icon-only`
|
|
271
|
-
*/
|
|
272
|
-
iconOnly: boolean;
|
|
273
|
-
/**
|
|
274
|
-
* Handles changes to icon only custom states
|
|
275
|
-
* @param prev - the previous state
|
|
276
|
-
* @param next - the next state
|
|
277
|
-
*/
|
|
278
|
-
iconOnlyChanged(prev: boolean, next: boolean): void;
|
|
279
208
|
}
|
|
280
209
|
|
|
281
210
|
/**
|
|
@@ -376,36 +305,13 @@ export declare type AnchorTarget = ValuesOf<typeof AnchorTarget>;
|
|
|
376
305
|
*
|
|
377
306
|
* @slot badge - Optional badge content displayed with the avatar.
|
|
378
307
|
*
|
|
308
|
+
* @presentational {AvatarActive | undefined} active - Optional activity indicator.
|
|
309
|
+
* @presentational {AvatarShape | undefined} shape - The avatar can have a circular or square shape.
|
|
310
|
+
* @presentational {AvatarAppearance | undefined} appearance - The appearance when `active="active"`.
|
|
311
|
+
*
|
|
379
312
|
* @public
|
|
380
313
|
*/
|
|
381
314
|
export declare class Avatar extends BaseAvatar {
|
|
382
|
-
/**
|
|
383
|
-
* Optional activity indicator
|
|
384
|
-
* * active: the avatar will be decorated according to activeAppearance
|
|
385
|
-
* * inactive: the avatar will be reduced in size and partially transparent
|
|
386
|
-
* * undefined: normal display
|
|
387
|
-
*
|
|
388
|
-
* @public
|
|
389
|
-
* @remarks
|
|
390
|
-
* HTML Attribute: active
|
|
391
|
-
*/
|
|
392
|
-
active?: AvatarActive | undefined;
|
|
393
|
-
/**
|
|
394
|
-
* The avatar can have a circular or square shape.
|
|
395
|
-
*
|
|
396
|
-
* @public
|
|
397
|
-
* @remarks
|
|
398
|
-
* HTML Attribute: shape
|
|
399
|
-
*/
|
|
400
|
-
shape?: AvatarShape | undefined;
|
|
401
|
-
/**
|
|
402
|
-
* The appearance when `active="active"`
|
|
403
|
-
*
|
|
404
|
-
* @public
|
|
405
|
-
* @remarks
|
|
406
|
-
* HTML Attribute: appearance
|
|
407
|
-
*/
|
|
408
|
-
appearance?: AvatarAppearance | undefined;
|
|
409
315
|
/**
|
|
410
316
|
* Size of the avatar in pixels.
|
|
411
317
|
*
|
|
@@ -642,42 +548,14 @@ export declare const AvatarTemplate: ElementViewTemplate<Avatar>;
|
|
|
642
548
|
* @slot start - Content which can be provided before the badge content.
|
|
643
549
|
* @slot end - Content which can be provided after the badge content.
|
|
644
550
|
*
|
|
551
|
+
* @presentational {BadgeAppearance} [appearance=filled] - The appearance the badge should have.
|
|
552
|
+
* @presentational {BadgeColor} [color=brand] - The color the badge should have.
|
|
553
|
+
* @presentational {BadgeShape | undefined} shape - The shape the badge should have.
|
|
554
|
+
* @presentational {BadgeSize | undefined} size - The size the badge should have.
|
|
555
|
+
*
|
|
645
556
|
* @public
|
|
646
557
|
*/
|
|
647
558
|
export declare class Badge extends FASTElement {
|
|
648
|
-
/**
|
|
649
|
-
* The appearance the badge should have.
|
|
650
|
-
*
|
|
651
|
-
*
|
|
652
|
-
* @public
|
|
653
|
-
* @remarks
|
|
654
|
-
* HTML Attribute: appearance
|
|
655
|
-
*/
|
|
656
|
-
appearance: BadgeAppearance;
|
|
657
|
-
/**
|
|
658
|
-
* The color the badge should have.
|
|
659
|
-
*
|
|
660
|
-
* @public
|
|
661
|
-
* @remarks
|
|
662
|
-
* HTML Attribute: color
|
|
663
|
-
*/
|
|
664
|
-
color: BadgeColor;
|
|
665
|
-
/**
|
|
666
|
-
* The shape the badge should have.
|
|
667
|
-
*
|
|
668
|
-
* @public
|
|
669
|
-
* @remarks
|
|
670
|
-
* HTML Attribute: shape
|
|
671
|
-
*/
|
|
672
|
-
shape?: BadgeShape;
|
|
673
|
-
/**
|
|
674
|
-
* The size the badge should have.
|
|
675
|
-
*
|
|
676
|
-
* @public
|
|
677
|
-
* @remarks
|
|
678
|
-
* HTML Attribute: size
|
|
679
|
-
*/
|
|
680
|
-
size?: BadgeSize;
|
|
681
559
|
}
|
|
682
560
|
|
|
683
561
|
/**
|
|
@@ -2421,6 +2299,8 @@ export declare class BaseMenuList extends FASTElement {
|
|
|
2421
2299
|
* A Progress HTML Element.
|
|
2422
2300
|
* Implements the {@link https://www.w3.org/TR/wai-aria-1.1/#progressbar | ARIA progressbar }.
|
|
2423
2301
|
*
|
|
2302
|
+
* @presentational {ProgressBarValidationState | null} [validation-state=null] - The validation state of the progress bar.
|
|
2303
|
+
*
|
|
2424
2304
|
* @public
|
|
2425
2305
|
*/
|
|
2426
2306
|
export declare class BaseProgressBar extends FASTElement {
|
|
@@ -2441,21 +2321,6 @@ export declare class BaseProgressBar extends FASTElement {
|
|
|
2441
2321
|
* @internal
|
|
2442
2322
|
*/
|
|
2443
2323
|
elementInternals: ElementInternals;
|
|
2444
|
-
/**
|
|
2445
|
-
* The validation state of the progress bar
|
|
2446
|
-
* The validation state of the progress bar
|
|
2447
|
-
*
|
|
2448
|
-
* HTML Attribute: `validation-state`
|
|
2449
|
-
*
|
|
2450
|
-
* @public
|
|
2451
|
-
*/
|
|
2452
|
-
validationState: ProgressBarValidationState | null;
|
|
2453
|
-
/**
|
|
2454
|
-
* Handles changes to validation-state attribute custom states
|
|
2455
|
-
* @param prev - the previous state
|
|
2456
|
-
* @param next - the next state
|
|
2457
|
-
*/
|
|
2458
|
-
validationStateChanged(prev: ProgressBarValidationState | undefined, next: ProgressBarValidationState | undefined): void;
|
|
2459
2324
|
/**
|
|
2460
2325
|
* The value of the progress
|
|
2461
2326
|
* The value of the progress
|
|
@@ -2971,6 +2836,8 @@ export declare class BaseTablist extends FASTElement {
|
|
|
2971
2836
|
* @csspart control - The internal `<textarea>` element.
|
|
2972
2837
|
* @fires { Event } change - Fires after the control loses focus, if the content has changed.
|
|
2973
2838
|
* @fires { Event } select - Fires when the `select()` method is called.
|
|
2839
|
+
* @presentational {boolean} display-shadow - Indicates whether the element displays a box shadow. This only has effect when `appearance` is set to be `filled-darker` or `filled-lighter`.
|
|
2840
|
+
* @presentational {TextAreaResize} [resize=none] - Indicates whether the element can be resized by end users.
|
|
2974
2841
|
*
|
|
2975
2842
|
* @public
|
|
2976
2843
|
*/
|
|
@@ -3070,14 +2937,6 @@ export declare class BaseTextArea extends FASTElement {
|
|
|
3070
2937
|
*/
|
|
3071
2938
|
disabled: boolean;
|
|
3072
2939
|
protected disabledChanged(): void;
|
|
3073
|
-
/**
|
|
3074
|
-
* Indicates whether the element displays a box shadow. This only has effect when `appearance` is set to be `filled-darker` or `filled-lighter`.
|
|
3075
|
-
*
|
|
3076
|
-
* @public
|
|
3077
|
-
* @remarks
|
|
3078
|
-
* HTML Attribute: `display-shadow`
|
|
3079
|
-
*/
|
|
3080
|
-
displayShadow: boolean;
|
|
3081
2940
|
/**
|
|
3082
2941
|
* The id of a form to associate the element to.
|
|
3083
2942
|
*
|
|
@@ -3153,15 +3012,6 @@ export declare class BaseTextArea extends FASTElement {
|
|
|
3153
3012
|
*/
|
|
3154
3013
|
required: boolean;
|
|
3155
3014
|
protected requiredChanged(): void;
|
|
3156
|
-
/**
|
|
3157
|
-
* Indicates whether the element can be resized by end users.
|
|
3158
|
-
*
|
|
3159
|
-
* @public
|
|
3160
|
-
* @remarks
|
|
3161
|
-
* HTML Attribute: `resize`
|
|
3162
|
-
*/
|
|
3163
|
-
resize: TextAreaResize;
|
|
3164
|
-
protected resizeChanged(prev: TextAreaResize | undefined, next: TextAreaResize | undefined): void;
|
|
3165
3015
|
/**
|
|
3166
3016
|
* Controls whether or not to enable spell checking for the input field, or if the default spell checking configuration should be used.
|
|
3167
3017
|
* @see The {@link https://developer.mozilla.org/docs/Web/HTML/Global_attributes/spellcheck | `spellcheck`} attribute
|
|
@@ -3948,41 +3798,14 @@ export declare const borderRadiusXLarge = "var(--borderRadiusXLarge)";
|
|
|
3948
3798
|
*
|
|
3949
3799
|
* @tag fluent-button
|
|
3950
3800
|
*
|
|
3801
|
+
* @presentational {ButtonAppearance | undefined} appearance - Indicates the styled appearance of the button.
|
|
3802
|
+
* @presentational {ButtonShape | undefined} shape - The shape of the button.
|
|
3803
|
+
* @presentational {ButtonSize | undefined} size - The size of the button.
|
|
3804
|
+
* @presentational {boolean} icon-only - Indicates that the button should only display as an icon with no text content.
|
|
3805
|
+
*
|
|
3951
3806
|
* @public
|
|
3952
3807
|
*/
|
|
3953
3808
|
export declare class Button extends BaseButton {
|
|
3954
|
-
/**
|
|
3955
|
-
* Indicates the styled appearance of the button.
|
|
3956
|
-
*
|
|
3957
|
-
* @public
|
|
3958
|
-
* @remarks
|
|
3959
|
-
* HTML Attribute: `appearance`
|
|
3960
|
-
*/
|
|
3961
|
-
appearance?: ButtonAppearance;
|
|
3962
|
-
/**
|
|
3963
|
-
* The shape of the button.
|
|
3964
|
-
*
|
|
3965
|
-
* @public
|
|
3966
|
-
* @remarks
|
|
3967
|
-
* HTML Attribute: `shape`
|
|
3968
|
-
*/
|
|
3969
|
-
shape?: ButtonShape;
|
|
3970
|
-
/**
|
|
3971
|
-
* The size of the button.
|
|
3972
|
-
*
|
|
3973
|
-
* @public
|
|
3974
|
-
* @remarks
|
|
3975
|
-
* HTML Attribute: `size`
|
|
3976
|
-
*/
|
|
3977
|
-
size?: ButtonSize;
|
|
3978
|
-
/**
|
|
3979
|
-
* Indicates that the button should only display as an icon with no text content.
|
|
3980
|
-
*
|
|
3981
|
-
* @public
|
|
3982
|
-
* @remarks
|
|
3983
|
-
* HTML Attribute: `icon-only`
|
|
3984
|
-
*/
|
|
3985
|
-
iconOnly: boolean;
|
|
3986
3809
|
}
|
|
3987
3810
|
|
|
3988
3811
|
/**
|
|
@@ -4112,6 +3935,9 @@ export declare type ButtonType = ValuesOf<typeof ButtonType>;
|
|
|
4112
3935
|
* @fires { Event } change - Emits a custom change event when the checked state changes
|
|
4113
3936
|
* @fires { Event } input - Emits a custom input event when the checked state changes
|
|
4114
3937
|
*
|
|
3938
|
+
* @presentational {CheckboxShape | undefined} shape - Indicates the shape of the checkbox.
|
|
3939
|
+
* @presentational {CheckboxSize | undefined} size - Indicates the size of the control.
|
|
3940
|
+
*
|
|
4115
3941
|
* @public
|
|
4116
3942
|
*/
|
|
4117
3943
|
export declare class Checkbox extends BaseCheckbox {
|
|
@@ -4129,22 +3955,6 @@ export declare class Checkbox extends BaseCheckbox {
|
|
|
4129
3955
|
* @internal
|
|
4130
3956
|
*/
|
|
4131
3957
|
protected indeterminateChanged(prev: boolean | undefined, next: boolean | undefined): void;
|
|
4132
|
-
/**
|
|
4133
|
-
* Indicates the shape of the checkbox.
|
|
4134
|
-
*
|
|
4135
|
-
* @public
|
|
4136
|
-
* @remarks
|
|
4137
|
-
* HTML Attribute: `shape`
|
|
4138
|
-
*/
|
|
4139
|
-
shape?: CheckboxShape;
|
|
4140
|
-
/**
|
|
4141
|
-
* Indicates the size of the control.
|
|
4142
|
-
*
|
|
4143
|
-
* @public
|
|
4144
|
-
* @remarks
|
|
4145
|
-
* HTML Attribute: `size`
|
|
4146
|
-
*/
|
|
4147
|
-
size?: CheckboxSize;
|
|
4148
3958
|
constructor();
|
|
4149
3959
|
/**
|
|
4150
3960
|
* Sets the ARIA checked state. If the `indeterminate` flag is true, the value will be 'mixed'.
|
|
@@ -6922,27 +6732,13 @@ export declare function display(displayValue: CSSDisplayPropertyValue): string;
|
|
|
6922
6732
|
*
|
|
6923
6733
|
* @tag fluent-divider
|
|
6924
6734
|
*
|
|
6735
|
+
* @presentational {DividerAlignContent | undefined} align-content - Determines the alignment of the content within the divider. Select from start or end. When not specified, the content will be aligned to the center.
|
|
6736
|
+
* @presentational {DividerAppearance | undefined} appearance - A divider can have one of the preset appearances. Select from strong, brand, subtle. When not specified, the divider has its default appearance.
|
|
6737
|
+
* @presentational {boolean} inset - Adds padding to the beginning and end of the divider.
|
|
6738
|
+
*
|
|
6925
6739
|
* @public
|
|
6926
6740
|
*/
|
|
6927
6741
|
export declare class Divider extends BaseDivider {
|
|
6928
|
-
/**
|
|
6929
|
-
* @public
|
|
6930
|
-
* @remarks
|
|
6931
|
-
* Determines the alignment of the content within the divider. Select from start or end. When not specified, the content will be aligned to the center.
|
|
6932
|
-
*/
|
|
6933
|
-
alignContent?: DividerAlignContent;
|
|
6934
|
-
/**
|
|
6935
|
-
* @public
|
|
6936
|
-
* @remarks
|
|
6937
|
-
* A divider can have one of the preset appearances. Select from strong, brand, subtle. When not specified, the divider has its default appearance.
|
|
6938
|
-
*/
|
|
6939
|
-
appearance?: DividerAppearance;
|
|
6940
|
-
/**
|
|
6941
|
-
* @public
|
|
6942
|
-
* @remarks
|
|
6943
|
-
* Adds padding to the beginning and end of the divider.
|
|
6944
|
-
*/
|
|
6945
|
-
inset?: boolean;
|
|
6946
6742
|
}
|
|
6947
6743
|
|
|
6948
6744
|
/**
|
|
@@ -7039,11 +6835,12 @@ export declare const DividerTemplate: ElementViewTemplate<Divider>;
|
|
|
7039
6835
|
* @extends FASTElement
|
|
7040
6836
|
*
|
|
7041
6837
|
* @attr type - Determines whether the drawer should be displayed as modal, non-modal, or alert.
|
|
7042
|
-
* @attr position - Sets the position of the drawer (start/end).
|
|
7043
|
-
* @attr size - Sets the size of the drawer (small/medium/large).
|
|
7044
6838
|
* @attr ariaDescribedby - The ID of the element that describes the drawer.
|
|
7045
6839
|
* @attr ariaLabelledby - The ID of the element that labels the drawer.
|
|
7046
6840
|
*
|
|
6841
|
+
* @presentational {DrawerPosition} [position=start] - Sets the position of the drawer (start/end).
|
|
6842
|
+
* @presentational {DrawerSize} [size=medium] - Sets the size of the drawer (small/medium/large/full).
|
|
6843
|
+
*
|
|
7047
6844
|
* @csspart dialog - The dialog element of the drawer.
|
|
7048
6845
|
* @cssprop --drawer-width - Sets the width of the drawer to a custom value (e.g., 300px).
|
|
7049
6846
|
*
|
|
@@ -7081,20 +6878,7 @@ export declare class Drawer extends FASTElement {
|
|
|
7081
6878
|
* @public
|
|
7082
6879
|
*/
|
|
7083
6880
|
ariaDescribedby?: string;
|
|
7084
|
-
/**
|
|
7085
|
-
* Sets the position of the drawer (start/end).
|
|
7086
|
-
*
|
|
7087
|
-
* @public
|
|
7088
|
-
* @defaultValue start
|
|
7089
|
-
*/
|
|
7090
|
-
position: DrawerPosition;
|
|
7091
6881
|
role: string | null;
|
|
7092
|
-
/**
|
|
7093
|
-
* @public
|
|
7094
|
-
* @defaultValue medium
|
|
7095
|
-
* Sets the size of the drawer (small/medium/large).
|
|
7096
|
-
*/
|
|
7097
|
-
size: DrawerSize;
|
|
7098
6882
|
/**
|
|
7099
6883
|
* The dialog element.
|
|
7100
6884
|
*
|
|
@@ -7290,24 +7074,12 @@ export declare type DrawerType = ValuesOf<typeof DrawerType>;
|
|
|
7290
7074
|
* @slot indicator - The indicator slot.
|
|
7291
7075
|
* @slot control - The control slot. This slot is automatically populated and should not be manually manipulated.
|
|
7292
7076
|
*
|
|
7077
|
+
* @presentational {DropdownAppearance} [appearance=outline] - The appearance of the dropdown.
|
|
7078
|
+
* @presentational {DropdownSize} [size=medium] - The size of the dropdown.
|
|
7079
|
+
*
|
|
7293
7080
|
* @public
|
|
7294
7081
|
*/
|
|
7295
7082
|
export declare class Dropdown extends BaseDropdown {
|
|
7296
|
-
/**
|
|
7297
|
-
* The appearance of the dropdown.
|
|
7298
|
-
*
|
|
7299
|
-
* @public
|
|
7300
|
-
* @remarks
|
|
7301
|
-
* HTML Attribute: `appearance`
|
|
7302
|
-
*/
|
|
7303
|
-
appearance: DropdownAppearance;
|
|
7304
|
-
/**
|
|
7305
|
-
* The size of the dropdown.
|
|
7306
|
-
* @public
|
|
7307
|
-
* @remarks
|
|
7308
|
-
* HTML Attribute: `size`
|
|
7309
|
-
*/
|
|
7310
|
-
size?: DropdownSize;
|
|
7311
7083
|
}
|
|
7312
7084
|
|
|
7313
7085
|
/**
|
|
@@ -7315,10 +7087,10 @@ export declare class Dropdown extends BaseDropdown {
|
|
|
7315
7087
|
* @public
|
|
7316
7088
|
*/
|
|
7317
7089
|
export declare const DropdownAppearance: {
|
|
7318
|
-
filledDarker:
|
|
7319
|
-
filledLighter:
|
|
7320
|
-
outline:
|
|
7321
|
-
transparent:
|
|
7090
|
+
readonly filledDarker: "filled-darker";
|
|
7091
|
+
readonly filledLighter: "filled-lighter";
|
|
7092
|
+
readonly outline: "outline";
|
|
7093
|
+
readonly transparent: "transparent";
|
|
7322
7094
|
};
|
|
7323
7095
|
|
|
7324
7096
|
/** @public */
|
|
@@ -7368,6 +7140,8 @@ export declare const dropdownInputTemplate: ViewTemplate<BaseDropdown, any>;
|
|
|
7368
7140
|
* @csspart content - The wrapper for the option content.
|
|
7369
7141
|
* @csspart description - The wrapper for the option description.
|
|
7370
7142
|
*
|
|
7143
|
+
* @presentational {boolean} active - Indicates that the option is active.
|
|
7144
|
+
*
|
|
7371
7145
|
* @remarks
|
|
7372
7146
|
* To support single and multiple selection modes with the {@link (BaseDropdown:class)} element, the Option element
|
|
7373
7147
|
* itself handles form association and value submission, rather than its parent Dropdown element. In this way, the
|
|
@@ -7379,20 +7153,6 @@ export declare const dropdownInputTemplate: ViewTemplate<BaseDropdown, any>;
|
|
|
7379
7153
|
* @public
|
|
7380
7154
|
*/
|
|
7381
7155
|
export declare class DropdownOption extends FASTElement implements Start {
|
|
7382
|
-
/**
|
|
7383
|
-
* Indicates that the option is active.
|
|
7384
|
-
*
|
|
7385
|
-
* @public
|
|
7386
|
-
*/
|
|
7387
|
-
active: boolean;
|
|
7388
|
-
/**
|
|
7389
|
-
* Changes the active state of the option when the active property changes.
|
|
7390
|
-
*
|
|
7391
|
-
* @param prev - the previous active state
|
|
7392
|
-
* @param next - the current active state
|
|
7393
|
-
* @internal
|
|
7394
|
-
*/
|
|
7395
|
-
protected activeChanged(prev: boolean, next: boolean): void;
|
|
7396
7156
|
/**
|
|
7397
7157
|
* The current selected state of the option.
|
|
7398
7158
|
*
|
|
@@ -7785,17 +7545,11 @@ export declare function endSlotTemplate<TSource extends StartEnd = StartEnd, TPa
|
|
|
7785
7545
|
* @csspart input - The input slot container.
|
|
7786
7546
|
* @csspart message - The message slot container.
|
|
7787
7547
|
*
|
|
7548
|
+
* @presentational {LabelPosition} [label-position=above] - The position of the label relative to the input.
|
|
7549
|
+
*
|
|
7788
7550
|
* @public
|
|
7789
7551
|
*/
|
|
7790
7552
|
export declare class Field extends BaseField {
|
|
7791
|
-
/**
|
|
7792
|
-
* The position of the label relative to the input.
|
|
7793
|
-
*
|
|
7794
|
-
* @public
|
|
7795
|
-
* @remarks
|
|
7796
|
-
* HTML Attribute: `label-position`
|
|
7797
|
-
*/
|
|
7798
|
-
labelPosition: FieldLabelPosition;
|
|
7799
7553
|
}
|
|
7800
7554
|
|
|
7801
7555
|
/**
|
|
@@ -7956,49 +7710,15 @@ export declare const getDirection: (rootNode: HTMLElement) => Direction;
|
|
|
7956
7710
|
*
|
|
7957
7711
|
* @slot - The default slot. Accepts any `<img>`, `<picture>`, `<video>`, or `<canvas>` element.
|
|
7958
7712
|
*
|
|
7713
|
+
* @presentational {boolean} block - Image layout.
|
|
7714
|
+
* @presentational {boolean} bordered - Image border.
|
|
7715
|
+
* @presentational {boolean} shadow - Image shadow.
|
|
7716
|
+
* @presentational {ImageFit | undefined} fit - Image fit.
|
|
7717
|
+
* @presentational {ImageShape | undefined} shape - Image shape.
|
|
7718
|
+
*
|
|
7959
7719
|
* @public
|
|
7960
7720
|
*/
|
|
7961
7721
|
declare class Image_2 extends FASTElement {
|
|
7962
|
-
/**
|
|
7963
|
-
* Image layout
|
|
7964
|
-
*
|
|
7965
|
-
* @public
|
|
7966
|
-
* @remarks
|
|
7967
|
-
* HTML attribute: block.
|
|
7968
|
-
*/
|
|
7969
|
-
block?: boolean;
|
|
7970
|
-
/**
|
|
7971
|
-
* Image border
|
|
7972
|
-
*
|
|
7973
|
-
* @public
|
|
7974
|
-
* @remarks
|
|
7975
|
-
* HTML attribute: border.
|
|
7976
|
-
*/
|
|
7977
|
-
bordered?: boolean;
|
|
7978
|
-
/**
|
|
7979
|
-
* Image shadow
|
|
7980
|
-
*
|
|
7981
|
-
* @public
|
|
7982
|
-
* @remarks
|
|
7983
|
-
* HTML attribute: shadow.
|
|
7984
|
-
*/
|
|
7985
|
-
shadow?: boolean;
|
|
7986
|
-
/**
|
|
7987
|
-
* Image fit
|
|
7988
|
-
*
|
|
7989
|
-
* @public
|
|
7990
|
-
* @remarks
|
|
7991
|
-
* HTML attribute: fit.
|
|
7992
|
-
*/
|
|
7993
|
-
fit?: ImageFit;
|
|
7994
|
-
/**
|
|
7995
|
-
* Image shape
|
|
7996
|
-
*
|
|
7997
|
-
* @public
|
|
7998
|
-
* @remarks
|
|
7999
|
-
* HTML attribute: shape.
|
|
8000
|
-
*/
|
|
8001
|
-
shape?: ImageShape;
|
|
8002
7722
|
}
|
|
8003
7723
|
export { Image_2 as Image }
|
|
8004
7724
|
|
|
@@ -8118,33 +7838,13 @@ export declare function isTreeItem(element?: Node | null, tagName?: string): ele
|
|
|
8118
7838
|
* @slot - The default slot. Accepts the content of the label.
|
|
8119
7839
|
* @csspart asterisk - The required-field asterisk indicator.
|
|
8120
7840
|
*
|
|
7841
|
+
* @presentational {LabelSize | undefined} size - Specifies the font size of the label.
|
|
7842
|
+
* @presentational {LabelWeight | undefined} weight - Specifies the font weight of the label.
|
|
7843
|
+
* @presentational {boolean} disabled - Specifies styles for the label when its associated input is disabled.
|
|
7844
|
+
*
|
|
8121
7845
|
* @public
|
|
8122
7846
|
*/
|
|
8123
7847
|
export declare class Label extends FASTElement {
|
|
8124
|
-
/**
|
|
8125
|
-
* Specifies font size of a label
|
|
8126
|
-
*
|
|
8127
|
-
* @public
|
|
8128
|
-
* @remarks
|
|
8129
|
-
* HTML Attribute: size
|
|
8130
|
-
*/
|
|
8131
|
-
size?: LabelSize;
|
|
8132
|
-
/**
|
|
8133
|
-
* Specifies font weight of a label
|
|
8134
|
-
*
|
|
8135
|
-
* @public
|
|
8136
|
-
* @remarks
|
|
8137
|
-
* HTML Attribute: weight
|
|
8138
|
-
*/
|
|
8139
|
-
weight?: LabelWeight;
|
|
8140
|
-
/**
|
|
8141
|
-
* Specifies styles for label when associated input is disabled
|
|
8142
|
-
*
|
|
8143
|
-
* @public
|
|
8144
|
-
* @remarks
|
|
8145
|
-
* HTML Attribute: disabled
|
|
8146
|
-
*/
|
|
8147
|
-
disabled: boolean;
|
|
8148
7848
|
/**
|
|
8149
7849
|
* Specifies styles for label when associated input is a required field
|
|
8150
7850
|
*
|
|
@@ -8268,28 +7968,12 @@ export declare const lineHeightHero900 = "var(--lineHeightHero900)";
|
|
|
8268
7968
|
* @slot end - Content which can be provided after the link content
|
|
8269
7969
|
* @slot - The default slot for link content
|
|
8270
7970
|
*
|
|
7971
|
+
* @presentational {LinkAppearance | undefined} appearance - The appearance the link should have.
|
|
7972
|
+
* @presentational {boolean} inline - The link is inline with text. In chromium browsers, if the link is contained within a semantic text element (`h1`, `h2`, `h3`, `h4`, `h5`, `h6`, `p`) or `fluent-text`, `:host-context()` ensures inline links are styled appropriately.
|
|
7973
|
+
*
|
|
8271
7974
|
* @public
|
|
8272
7975
|
*/
|
|
8273
7976
|
export declare class Link extends BaseAnchor {
|
|
8274
|
-
/**
|
|
8275
|
-
* The appearance the link should have.
|
|
8276
|
-
*
|
|
8277
|
-
* @public
|
|
8278
|
-
* @remarks
|
|
8279
|
-
* HTML Attribute: `appearance`
|
|
8280
|
-
*/
|
|
8281
|
-
appearance?: LinkAppearance | undefined;
|
|
8282
|
-
/**
|
|
8283
|
-
* The link is inline with text
|
|
8284
|
-
* In chromium browsers, if the link is contained within a semantic
|
|
8285
|
-
* text element (`h1`, `h2`, `h3`, `h4`, `h5`, `h6`, `p`) or `fluent-text`,
|
|
8286
|
-
* `:host-context()` ensures inline links are styled appropriately.
|
|
8287
|
-
*
|
|
8288
|
-
* @public
|
|
8289
|
-
* @remarks
|
|
8290
|
-
* HTML Attribute: `inline`
|
|
8291
|
-
*/
|
|
8292
|
-
inline: boolean;
|
|
8293
7977
|
}
|
|
8294
7978
|
|
|
8295
7979
|
/**
|
|
@@ -8509,7 +8193,7 @@ export declare function listboxTemplate<T extends Listbox>(): ElementViewTemplat
|
|
|
8509
8193
|
* @attr open-on-context - Determines if the menu should open on right click.
|
|
8510
8194
|
* @attr close-on-scroll - Determines if the menu should close on scroll.
|
|
8511
8195
|
* @attr persist-on-item-click - Determines if the menu open state should persist on click of menu item.
|
|
8512
|
-
* @
|
|
8196
|
+
* @presentational {boolean} split - Determines if the menu is in split state.
|
|
8513
8197
|
*
|
|
8514
8198
|
* @cssproperty --menu-max-height - The max-height of the menu.
|
|
8515
8199
|
*
|
|
@@ -8562,11 +8246,6 @@ export declare class Menu extends FASTElement {
|
|
|
8562
8246
|
* @public
|
|
8563
8247
|
*/
|
|
8564
8248
|
persistOnItemClick?: boolean;
|
|
8565
|
-
/**
|
|
8566
|
-
* Determines if the menu is in split state.
|
|
8567
|
-
* @public
|
|
8568
|
-
*/
|
|
8569
|
-
split?: boolean;
|
|
8570
8249
|
/**
|
|
8571
8250
|
* Holds the slotted menu list.
|
|
8572
8251
|
* @public
|
|
@@ -9050,6 +8729,9 @@ export declare const MenuTemplate: ElementViewTemplate<Menu>;
|
|
|
9050
8729
|
* @slot icon - Content that can be provided for the leading icon
|
|
9051
8730
|
* @slot - The default slot for the content
|
|
9052
8731
|
* @fires { CustomEvent } dismiss - Fired when the message bar is dismissed.
|
|
8732
|
+
* @presentational {MessageBarShape | undefined} shape - Sets the shape of the Message Bar.
|
|
8733
|
+
* @presentational {MessageBarLayout | undefined} layout - Sets the layout of the control.
|
|
8734
|
+
* @presentational {MessageBarIntent | undefined} intent - Sets the intent of the control.
|
|
9053
8735
|
* @public
|
|
9054
8736
|
*/
|
|
9055
8737
|
export declare class MessageBar extends FASTElement {
|
|
@@ -9060,30 +8742,6 @@ export declare class MessageBar extends FASTElement {
|
|
|
9060
8742
|
*/
|
|
9061
8743
|
elementInternals: ElementInternals;
|
|
9062
8744
|
constructor();
|
|
9063
|
-
/**
|
|
9064
|
-
* Sets the shape of the Message Bar.
|
|
9065
|
-
*
|
|
9066
|
-
* @public
|
|
9067
|
-
* @remarks
|
|
9068
|
-
* HTML Attribute: `shape`
|
|
9069
|
-
*/
|
|
9070
|
-
shape?: MessageBarShape;
|
|
9071
|
-
/**
|
|
9072
|
-
* Sets the layout of the control.
|
|
9073
|
-
*
|
|
9074
|
-
* @public
|
|
9075
|
-
* @remarks
|
|
9076
|
-
* HTML Attribute: `layout`
|
|
9077
|
-
*/
|
|
9078
|
-
layout?: MessageBarLayout;
|
|
9079
|
-
/**
|
|
9080
|
-
* Sets the intent of the control.
|
|
9081
|
-
*
|
|
9082
|
-
* @public
|
|
9083
|
-
* @remarks
|
|
9084
|
-
* HTML Attribute: `intent`
|
|
9085
|
-
*/
|
|
9086
|
-
intent?: MessageBarIntent;
|
|
9087
8745
|
/**
|
|
9088
8746
|
* Method to emit a `dismiss` event when the message bar is dismissed
|
|
9089
8747
|
*
|
|
@@ -9171,29 +8829,12 @@ export declare type Orientation = (typeof Orientation)[keyof typeof Orientation]
|
|
|
9171
8829
|
*
|
|
9172
8830
|
* @tag fluent-progress-bar
|
|
9173
8831
|
* @csspart indicator - The internal progress indicator element.
|
|
8832
|
+
* @presentational {ProgressBarThickness | undefined} thickness - The thickness of the progress bar.
|
|
8833
|
+
* @presentational {ProgressBarShape | undefined} shape - The shape of the progress bar.
|
|
9174
8834
|
*
|
|
9175
8835
|
* @public
|
|
9176
8836
|
*/
|
|
9177
8837
|
export declare class ProgressBar extends BaseProgressBar {
|
|
9178
|
-
/**
|
|
9179
|
-
* The thickness of the progress bar
|
|
9180
|
-
*
|
|
9181
|
-
* The thickness of the progress bar
|
|
9182
|
-
*
|
|
9183
|
-
* HTML Attribute: `thickness`
|
|
9184
|
-
*
|
|
9185
|
-
* @public
|
|
9186
|
-
*/
|
|
9187
|
-
thickness?: ProgressBarThickness;
|
|
9188
|
-
/**
|
|
9189
|
-
* The shape of the progress bar
|
|
9190
|
-
* The shape of the progress bar
|
|
9191
|
-
*
|
|
9192
|
-
* HTML Attribute: `shape`
|
|
9193
|
-
*
|
|
9194
|
-
* @public
|
|
9195
|
-
*/
|
|
9196
|
-
shape?: ProgressBarShape;
|
|
9197
8838
|
}
|
|
9198
8839
|
|
|
9199
8840
|
/**
|
|
@@ -9408,35 +9049,13 @@ export declare const RadioTemplate: ElementViewTemplate<Radio>;
|
|
|
9408
9049
|
*
|
|
9409
9050
|
* @tag fluent-rating-display
|
|
9410
9051
|
*
|
|
9052
|
+
* @presentational {RatingDisplayColor} [color=marigold] - The color of the rating display icons.
|
|
9053
|
+
* @presentational {RatingDisplaySize} [size=medium] - The size of the component.
|
|
9054
|
+
* @presentational {boolean} compact - Renders a single filled icon with a label next to it.
|
|
9055
|
+
*
|
|
9411
9056
|
* @public
|
|
9412
9057
|
*/
|
|
9413
9058
|
export declare class RatingDisplay extends BaseRatingDisplay {
|
|
9414
|
-
/**
|
|
9415
|
-
* The color of the rating display icons.
|
|
9416
|
-
*
|
|
9417
|
-
* @public
|
|
9418
|
-
* @default `marigold`
|
|
9419
|
-
* @remarks
|
|
9420
|
-
* HTML Attribute: `color`
|
|
9421
|
-
*/
|
|
9422
|
-
color?: RatingDisplayColor;
|
|
9423
|
-
/**
|
|
9424
|
-
* The size of the component.
|
|
9425
|
-
*
|
|
9426
|
-
* @public
|
|
9427
|
-
* @default 'medium'
|
|
9428
|
-
* @remarks
|
|
9429
|
-
* HTML Attribute: `size`
|
|
9430
|
-
*/
|
|
9431
|
-
size?: RatingDisplaySize;
|
|
9432
|
-
/**
|
|
9433
|
-
* Renders a single filled icon with a label next to it.
|
|
9434
|
-
*
|
|
9435
|
-
* @public
|
|
9436
|
-
* @remarks
|
|
9437
|
-
* HTML Attribute: `compact`
|
|
9438
|
-
*/
|
|
9439
|
-
compact: boolean;
|
|
9440
9059
|
}
|
|
9441
9060
|
|
|
9442
9061
|
/**
|
|
@@ -9599,6 +9218,7 @@ export declare const shadow8Brand = "var(--shadow8Brand)";
|
|
|
9599
9218
|
* @csspart thumb-container - The container element of the thumb.
|
|
9600
9219
|
* @csspart track-container - The container element of the track.
|
|
9601
9220
|
* @fires { Event } change - Fires a custom 'change' event when the value changes.
|
|
9221
|
+
* @presentational {SliderSize | undefined} size - The size of the slider.
|
|
9602
9222
|
*
|
|
9603
9223
|
* @public
|
|
9604
9224
|
*/
|
|
@@ -9622,13 +9242,6 @@ export declare class Slider extends FASTElement implements SliderConfiguration {
|
|
|
9622
9242
|
* @public
|
|
9623
9243
|
*/
|
|
9624
9244
|
get labels(): ReadonlyArray<Node>;
|
|
9625
|
-
/**
|
|
9626
|
-
* The size of the slider
|
|
9627
|
-
* @public
|
|
9628
|
-
* @remarks
|
|
9629
|
-
* HTML Attribute: size
|
|
9630
|
-
*/
|
|
9631
|
-
size?: SliderSize;
|
|
9632
9245
|
handleChange(_: any, propertyName: string): void;
|
|
9633
9246
|
private stepStyles?;
|
|
9634
9247
|
/**
|
|
@@ -10180,24 +9793,12 @@ export declare const spacingVerticalXXXL = "var(--spacingVerticalXXXL)";
|
|
|
10180
9793
|
*
|
|
10181
9794
|
* @tag fluent-spinner
|
|
10182
9795
|
*
|
|
9796
|
+
* @presentational {SpinnerAppearance | undefined} appearance - The appearance of the spinner.
|
|
9797
|
+
* @presentational {SpinnerSize | undefined} size - The size of the spinner.
|
|
9798
|
+
*
|
|
10183
9799
|
* @public
|
|
10184
9800
|
*/
|
|
10185
9801
|
export declare class Spinner extends BaseSpinner {
|
|
10186
|
-
/**
|
|
10187
|
-
* The size of the spinner
|
|
10188
|
-
*
|
|
10189
|
-
* @public
|
|
10190
|
-
* @remarks
|
|
10191
|
-
* HTML Attribute: size
|
|
10192
|
-
*/
|
|
10193
|
-
size?: SpinnerSize;
|
|
10194
|
-
/**
|
|
10195
|
-
* The appearance of the spinner
|
|
10196
|
-
* @public
|
|
10197
|
-
* @remarks
|
|
10198
|
-
* HTML Attribute: appearance
|
|
10199
|
-
*/
|
|
10200
|
-
appearance?: SpinnerAppearance;
|
|
10201
9802
|
}
|
|
10202
9803
|
|
|
10203
9804
|
/**
|
|
@@ -10418,21 +10019,12 @@ export declare const TabDefinition: PartialFASTElementDefinition;
|
|
|
10418
10019
|
*
|
|
10419
10020
|
* @tag fluent-tablist
|
|
10420
10021
|
* @fires { Event } change - Fired when the active tab changes.
|
|
10022
|
+
* @presentational {TablistAppearance | undefined} [appearance=transparent] - There are two modes of appearance: transparent and subtle.
|
|
10023
|
+
* @presentational {TablistSize | undefined} size - Defaults to medium. Used to set the size of all the tab controls, which effects text size and margins. Three sizes: small, medium and large.
|
|
10421
10024
|
*
|
|
10422
10025
|
* @public
|
|
10423
10026
|
*/
|
|
10424
10027
|
export declare class Tablist extends BaseTablist {
|
|
10425
|
-
/**
|
|
10426
|
-
* appearance
|
|
10427
|
-
* There are two modes of appearance: transparent and subtle.
|
|
10428
|
-
*/
|
|
10429
|
-
appearance?: TablistAppearance;
|
|
10430
|
-
/**
|
|
10431
|
-
* size
|
|
10432
|
-
* defaults to medium.
|
|
10433
|
-
* Used to set the size of all the tab controls, which effects text size and margins. Three sizes: small, medium and large.
|
|
10434
|
-
*/
|
|
10435
|
-
size?: TablistSize;
|
|
10436
10028
|
private fg?;
|
|
10437
10029
|
private fgItems?;
|
|
10438
10030
|
disconnectedCallback(): void;
|
|
@@ -10518,6 +10110,16 @@ export declare const TabTemplate: ElementViewTemplate<Tab, any>;
|
|
|
10518
10110
|
* @tag fluent-text
|
|
10519
10111
|
*
|
|
10520
10112
|
* @slot - The default slot for the text content of the component. Can be any valid HTML element, but is typically a semantic element such as a heading or paragraph.
|
|
10113
|
+
* @presentational {boolean} nowrap - The text will not wrap. In Fluent UI React v9 this is "wrap"; boolean attributes which default to true in HTML can't be switched off in the DOM.
|
|
10114
|
+
* @presentational {boolean} truncate - The text truncates.
|
|
10115
|
+
* @presentational {boolean} italic - The text style is italic.
|
|
10116
|
+
* @presentational {boolean} underline - The text style is underlined.
|
|
10117
|
+
* @presentational {boolean} strikethrough - The text style has a strikethrough.
|
|
10118
|
+
* @presentational {boolean} block - The text can take up the width of its container.
|
|
10119
|
+
* @presentational {TextSize | undefined} size - The text size.
|
|
10120
|
+
* @presentational {TextFont | undefined} font - The text font.
|
|
10121
|
+
* @presentational {TextWeight | undefined} weight - The text weight.
|
|
10122
|
+
* @presentational {TextAlign | undefined} align - The text alignment.
|
|
10521
10123
|
*
|
|
10522
10124
|
* @public
|
|
10523
10125
|
*/
|
|
@@ -10528,89 +10130,6 @@ declare class Text_2 extends FASTElement {
|
|
|
10528
10130
|
* @internal
|
|
10529
10131
|
*/
|
|
10530
10132
|
elementInternals: ElementInternals;
|
|
10531
|
-
/**
|
|
10532
|
-
* The text will not wrap
|
|
10533
|
-
* NOTE: In Fluent UI React v9 this is "wrap"
|
|
10534
|
-
* Boolean attributes which default to true in HTML can't be switched off in the DOM
|
|
10535
|
-
*
|
|
10536
|
-
* @public
|
|
10537
|
-
* @remarks
|
|
10538
|
-
* HTML Attribute: nowrap
|
|
10539
|
-
*/
|
|
10540
|
-
nowrap: boolean;
|
|
10541
|
-
/**
|
|
10542
|
-
* The text truncates
|
|
10543
|
-
*
|
|
10544
|
-
* @public
|
|
10545
|
-
* @remarks
|
|
10546
|
-
* HTML Attribute: truncate
|
|
10547
|
-
*/
|
|
10548
|
-
truncate: boolean;
|
|
10549
|
-
/**
|
|
10550
|
-
* The text style is italic
|
|
10551
|
-
*
|
|
10552
|
-
* @public
|
|
10553
|
-
* @remarks
|
|
10554
|
-
* HTML Attribute: italic
|
|
10555
|
-
*/
|
|
10556
|
-
italic: boolean;
|
|
10557
|
-
/**
|
|
10558
|
-
* The text style is underline
|
|
10559
|
-
*
|
|
10560
|
-
* @public
|
|
10561
|
-
* @remarks
|
|
10562
|
-
* HTML Attribute: underline
|
|
10563
|
-
*/
|
|
10564
|
-
underline: boolean;
|
|
10565
|
-
/**
|
|
10566
|
-
* The text style is strikethrough
|
|
10567
|
-
*
|
|
10568
|
-
* @public
|
|
10569
|
-
* @remarks
|
|
10570
|
-
* HTML Attribute: strikethrough
|
|
10571
|
-
*/
|
|
10572
|
-
strikethrough: boolean;
|
|
10573
|
-
/**
|
|
10574
|
-
* An text can take up the width of its container.
|
|
10575
|
-
*
|
|
10576
|
-
* @public
|
|
10577
|
-
* @remarks
|
|
10578
|
-
* HTML Attribute: block
|
|
10579
|
-
*/
|
|
10580
|
-
block: boolean;
|
|
10581
|
-
/**
|
|
10582
|
-
* THe Text size
|
|
10583
|
-
*
|
|
10584
|
-
* @public
|
|
10585
|
-
* @remarks
|
|
10586
|
-
* HTML Attribute: size
|
|
10587
|
-
*
|
|
10588
|
-
*/
|
|
10589
|
-
size?: TextSize;
|
|
10590
|
-
/**
|
|
10591
|
-
* THe Text font
|
|
10592
|
-
*
|
|
10593
|
-
* @public
|
|
10594
|
-
* @remarks
|
|
10595
|
-
* HTML Attribute: font
|
|
10596
|
-
*/
|
|
10597
|
-
font?: TextFont;
|
|
10598
|
-
/**
|
|
10599
|
-
* The Text weight
|
|
10600
|
-
*
|
|
10601
|
-
* @public
|
|
10602
|
-
* @remarks
|
|
10603
|
-
* HTML Attribute: weight
|
|
10604
|
-
*/
|
|
10605
|
-
weight?: TextWeight;
|
|
10606
|
-
/**
|
|
10607
|
-
* The Text alignment
|
|
10608
|
-
*
|
|
10609
|
-
* @public
|
|
10610
|
-
* @remarks
|
|
10611
|
-
* HTML Attribute: align
|
|
10612
|
-
*/
|
|
10613
|
-
align?: TextAlign;
|
|
10614
10133
|
}
|
|
10615
10134
|
export { Text_2 as Text }
|
|
10616
10135
|
|
|
@@ -10635,26 +10154,12 @@ export declare type TextAlign = ValuesOf<typeof TextAlign>;
|
|
|
10635
10154
|
* The Fluent TextArea Element.
|
|
10636
10155
|
*
|
|
10637
10156
|
* @tag fluent-text-area
|
|
10157
|
+
* @presentational {TextAreaAppearance} [appearance=outline] - Indicates the visual appearance of the element.
|
|
10158
|
+
* @presentational {boolean} block - Indicates whether the textarea should be a block-level element.
|
|
10638
10159
|
*
|
|
10639
10160
|
*/
|
|
10640
10161
|
export declare class TextArea extends BaseTextArea {
|
|
10641
10162
|
protected labelSlottedNodesChanged(): void;
|
|
10642
|
-
/**
|
|
10643
|
-
* Indicates the visual appearance of the element.
|
|
10644
|
-
*
|
|
10645
|
-
* @public
|
|
10646
|
-
* @remarks
|
|
10647
|
-
* HTML Attribute: `appearance`
|
|
10648
|
-
*/
|
|
10649
|
-
appearance: TextAreaAppearance;
|
|
10650
|
-
/**
|
|
10651
|
-
* Indicates whether the textarea should be a block-level element.
|
|
10652
|
-
*
|
|
10653
|
-
* @public
|
|
10654
|
-
* @remarks
|
|
10655
|
-
* HTML Attribute: `block`
|
|
10656
|
-
*/
|
|
10657
|
-
block: boolean;
|
|
10658
10163
|
/**
|
|
10659
10164
|
* Sets the size of the control.
|
|
10660
10165
|
*
|
|
@@ -10783,26 +10288,12 @@ export declare type TextFont = ValuesOf<typeof TextFont>;
|
|
|
10783
10288
|
* @tag fluent-text-input
|
|
10784
10289
|
* @fires { Event } change - Fired when the input value is committed via a change event.
|
|
10785
10290
|
* @fires { Event } select - Fires when the `select()` method is called.
|
|
10291
|
+
* @presentational {TextInputAppearance | undefined} appearance - Indicates the styled appearance of the element.
|
|
10292
|
+
* @presentational {TextInputControlSize | undefined} control-size - Sets the size of the control.
|
|
10786
10293
|
*
|
|
10787
10294
|
* @public
|
|
10788
10295
|
*/
|
|
10789
10296
|
export declare class TextInput extends BaseTextInput {
|
|
10790
|
-
/**
|
|
10791
|
-
* Indicates the styled appearance of the element.
|
|
10792
|
-
*
|
|
10793
|
-
* @public
|
|
10794
|
-
* @remarks
|
|
10795
|
-
* HTML Attribute: `appearance`
|
|
10796
|
-
*/
|
|
10797
|
-
appearance?: TextInputAppearance;
|
|
10798
|
-
/**
|
|
10799
|
-
* Sets the size of the control.
|
|
10800
|
-
*
|
|
10801
|
-
* @public
|
|
10802
|
-
* @remarks
|
|
10803
|
-
* HTML Attribute: `control-size`
|
|
10804
|
-
*/
|
|
10805
|
-
controlSize?: TextInputControlSize;
|
|
10806
10297
|
}
|
|
10807
10298
|
|
|
10808
10299
|
/**
|