@fluentui/web-components 3.0.0-beta.27 → 3.0.0-beta.28
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 +12 -2
- package/dist/dts/anchor-button/anchor-button.d.ts +82 -78
- package/dist/dts/anchor-button/anchor-button.options.d.ts +21 -0
- package/dist/dts/button/button.styles.d.ts +4 -0
- package/dist/dts/index.d.ts +0 -1
- package/dist/dts/progress-bar/index.d.ts +0 -1
- package/dist/dts/progress-bar/progress-bar.d.ts +56 -13
- package/dist/dts/progress-bar/progress-bar.options.d.ts +1 -10
- package/dist/dts/progress-bar/progress-bar.template.d.ts +1 -2
- package/dist/esm/anchor-button/anchor-button.definition.js +0 -3
- package/dist/esm/anchor-button/anchor-button.definition.js.map +1 -1
- package/dist/esm/anchor-button/anchor-button.js +78 -67
- package/dist/esm/anchor-button/anchor-button.js.map +1 -1
- package/dist/esm/anchor-button/anchor-button.options.js +15 -0
- package/dist/esm/anchor-button/anchor-button.options.js.map +1 -1
- package/dist/esm/anchor-button/anchor-button.styles.js +6 -258
- package/dist/esm/anchor-button/anchor-button.styles.js.map +1 -1
- package/dist/esm/anchor-button/anchor-button.template.js +7 -35
- package/dist/esm/anchor-button/anchor-button.template.js.map +1 -1
- package/dist/esm/button/button.styles.js +16 -5
- package/dist/esm/button/button.styles.js.map +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/progress-bar/index.js.map +1 -1
- package/dist/esm/progress-bar/progress-bar.js +62 -11
- package/dist/esm/progress-bar/progress-bar.js.map +1 -1
- package/dist/esm/progress-bar/progress-bar.styles.js +48 -127
- package/dist/esm/progress-bar/progress-bar.styles.js.map +1 -1
- package/dist/esm/progress-bar/progress-bar.template.js +8 -26
- package/dist/esm/progress-bar/progress-bar.template.js.map +1 -1
- package/dist/web-components.d.ts +135 -330
- package/dist/web-components.js +404 -367
- package/dist/web-components.min.js +214 -224
- package/package.json +1 -1
- package/dist/dts/progress-bar/base-progress.d.ts +0 -41
- package/dist/esm/progress-bar/base-progress.js +0 -56
- package/dist/esm/progress-bar/base-progress.js.map +0 -1
package/dist/web-components.d.ts
CHANGED
|
@@ -252,78 +252,95 @@ export declare const accordionTemplate: ElementViewTemplate<Accordion>;
|
|
|
252
252
|
*/
|
|
253
253
|
export declare class AnchorButton extends FASTElement {
|
|
254
254
|
/**
|
|
255
|
-
*
|
|
256
|
-
*
|
|
257
|
-
* @
|
|
258
|
-
* HTML Attribute: download
|
|
255
|
+
* The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
|
|
256
|
+
*
|
|
257
|
+
* @internal
|
|
259
258
|
*/
|
|
260
|
-
|
|
259
|
+
protected elementInternals: ElementInternals;
|
|
261
260
|
/**
|
|
262
|
-
* The
|
|
263
|
-
* @
|
|
264
|
-
* @remarks
|
|
265
|
-
* HTML Attribute: href
|
|
261
|
+
* The proxy anchor element
|
|
262
|
+
* @internal
|
|
266
263
|
*/
|
|
267
|
-
|
|
264
|
+
private internalProxyAnchor;
|
|
268
265
|
/**
|
|
269
|
-
*
|
|
266
|
+
* Prompts the user to save the linked URL.
|
|
267
|
+
*
|
|
268
|
+
* @see The {@link https://developer.mozilla.org/docs/Web/HTML/Element/a#download | `download`} attribute
|
|
269
|
+
*
|
|
270
270
|
* @public
|
|
271
271
|
* @remarks
|
|
272
|
-
* HTML Attribute:
|
|
272
|
+
* HTML Attribute: `download`
|
|
273
273
|
*/
|
|
274
|
-
|
|
274
|
+
download?: string;
|
|
275
275
|
/**
|
|
276
|
-
*
|
|
276
|
+
* The URL the hyperlink references.
|
|
277
|
+
* @see The {@link https://developer.mozilla.org/docs/Web/HTML/Element/a#href | `href`} attribute
|
|
278
|
+
*
|
|
277
279
|
* @public
|
|
278
280
|
* @remarks
|
|
279
|
-
* HTML Attribute:
|
|
281
|
+
* HTML Attribute: `href`
|
|
280
282
|
*/
|
|
281
|
-
|
|
283
|
+
href?: string;
|
|
282
284
|
/**
|
|
283
|
-
*
|
|
285
|
+
* Hints at the language of the referenced resource.
|
|
286
|
+
* @see The {@link https://developer.mozilla.org/docs/Web/HTML/Element/a#hreflang | `hreflang`} attribute
|
|
287
|
+
*
|
|
284
288
|
* @public
|
|
285
289
|
* @remarks
|
|
286
|
-
* HTML Attribute:
|
|
290
|
+
* HTML Attribute: `hreflang`
|
|
287
291
|
*/
|
|
288
|
-
|
|
292
|
+
hreflang?: string;
|
|
289
293
|
/**
|
|
290
|
-
*
|
|
294
|
+
* The ping attribute.
|
|
295
|
+
* @see The {@link https://developer.mozilla.org/docs/Web/HTML/Element/a#ping | `ping`} attribute
|
|
296
|
+
*
|
|
291
297
|
* @public
|
|
292
298
|
* @remarks
|
|
293
|
-
* HTML Attribute:
|
|
299
|
+
* HTML Attribute: `ping`
|
|
294
300
|
*/
|
|
295
|
-
|
|
301
|
+
ping?: string;
|
|
296
302
|
/**
|
|
297
|
-
*
|
|
303
|
+
* The referrerpolicy attribute.
|
|
304
|
+
* See The {@link https://developer.mozilla.org/docs/Web/HTML/Element/a#referrerpolicy | `referrerpolicy`} attribute
|
|
305
|
+
*
|
|
298
306
|
* @public
|
|
299
307
|
* @remarks
|
|
300
|
-
* HTML Attribute:
|
|
308
|
+
* HTML Attribute: `referrerpolicy`
|
|
301
309
|
*/
|
|
302
|
-
|
|
310
|
+
referrerpolicy?: string;
|
|
303
311
|
/**
|
|
304
|
-
*
|
|
312
|
+
* The rel attribute.
|
|
313
|
+
* See The {@link https://developer.mozilla.org/docs/Web/HTML/Element/a#rel | `rel`} attribute
|
|
314
|
+
*
|
|
305
315
|
* @public
|
|
306
316
|
* @remarks
|
|
307
|
-
* HTML Attribute:
|
|
317
|
+
* HTML Attribute: `rel`
|
|
308
318
|
*/
|
|
309
|
-
|
|
319
|
+
rel: string;
|
|
310
320
|
/**
|
|
321
|
+
* The target attribute.
|
|
322
|
+
* @see The {@link https://developer.mozilla.org/docs/Web/HTML/Element/a#target | `target`} attribute
|
|
311
323
|
*
|
|
312
|
-
*
|
|
313
|
-
*
|
|
314
|
-
*
|
|
324
|
+
* @public
|
|
325
|
+
* @remarks
|
|
326
|
+
* HTML Attribute: `target`
|
|
315
327
|
*/
|
|
316
|
-
|
|
328
|
+
target?: AnchorTarget;
|
|
317
329
|
/**
|
|
318
|
-
*
|
|
330
|
+
* The type attribute.
|
|
331
|
+
* @see The {@link https://developer.mozilla.org/docs/Web/HTML/Element/a#type | `type`} attribute
|
|
332
|
+
*
|
|
333
|
+
* @public
|
|
334
|
+
* @remarks
|
|
335
|
+
* HTML Attribute: `type`
|
|
319
336
|
*/
|
|
320
|
-
|
|
337
|
+
type?: string;
|
|
321
338
|
/**
|
|
322
339
|
* The appearance the anchor button should have.
|
|
323
340
|
*
|
|
324
341
|
* @public
|
|
325
342
|
* @remarks
|
|
326
|
-
* HTML Attribute: appearance
|
|
343
|
+
* HTML Attribute: `appearance`
|
|
327
344
|
*/
|
|
328
345
|
appearance?: AnchorButtonAppearance | undefined;
|
|
329
346
|
/**
|
|
@@ -331,7 +348,7 @@ export declare class AnchorButton extends FASTElement {
|
|
|
331
348
|
*
|
|
332
349
|
* @public
|
|
333
350
|
* @remarks
|
|
334
|
-
* HTML Attribute: shape
|
|
351
|
+
* HTML Attribute: `shape`
|
|
335
352
|
*/
|
|
336
353
|
shape?: AnchorButtonShape | undefined;
|
|
337
354
|
/**
|
|
@@ -339,7 +356,7 @@ export declare class AnchorButton extends FASTElement {
|
|
|
339
356
|
*
|
|
340
357
|
* @public
|
|
341
358
|
* @remarks
|
|
342
|
-
* HTML Attribute: size
|
|
359
|
+
* HTML Attribute: `size`
|
|
343
360
|
*/
|
|
344
361
|
size?: AnchorButtonSize;
|
|
345
362
|
/**
|
|
@@ -347,33 +364,42 @@ export declare class AnchorButton extends FASTElement {
|
|
|
347
364
|
*
|
|
348
365
|
* @public
|
|
349
366
|
* @remarks
|
|
350
|
-
* HTML Attribute: icon-only
|
|
367
|
+
* HTML Attribute: `icon-only`
|
|
351
368
|
*/
|
|
352
369
|
iconOnly: boolean;
|
|
370
|
+
constructor();
|
|
371
|
+
connectedCallback(): void;
|
|
372
|
+
disconnectedCallback(): void;
|
|
373
|
+
/**
|
|
374
|
+
* Handles changes to observable properties
|
|
375
|
+
* @internal
|
|
376
|
+
* @param source
|
|
377
|
+
* @param propertyName
|
|
378
|
+
*/
|
|
379
|
+
handleChange(source: any, propertyName: string): void;
|
|
353
380
|
/**
|
|
354
|
-
*
|
|
381
|
+
* Handles the anchor click event.
|
|
355
382
|
*
|
|
356
|
-
* @
|
|
357
|
-
* @
|
|
358
|
-
* HTML Attribute: disabled-focusable
|
|
383
|
+
* @param e - The event object
|
|
384
|
+
* @internal
|
|
359
385
|
*/
|
|
360
|
-
|
|
361
|
-
protected disabledChanged(prev: boolean, next: boolean): void;
|
|
386
|
+
clickHandler(): boolean;
|
|
362
387
|
/**
|
|
363
|
-
*
|
|
388
|
+
* Handles keypress events for the anchor.
|
|
364
389
|
*
|
|
390
|
+
* @param e - the keyboard event
|
|
391
|
+
* @returns - the return value of the click handler
|
|
365
392
|
* @public
|
|
366
|
-
* @remarks
|
|
367
|
-
* HTML Attribute: disabled-focusable
|
|
368
393
|
*/
|
|
369
|
-
|
|
370
|
-
protected disabledFocusableChanged(prev: boolean, next: boolean): void;
|
|
394
|
+
keypressHandler(e: KeyboardEvent): boolean | void;
|
|
371
395
|
/**
|
|
372
|
-
*
|
|
396
|
+
* A method for updating proxy attributes when attributes have changed
|
|
397
|
+
* @internal
|
|
398
|
+
* @param attribute
|
|
399
|
+
* @param value
|
|
373
400
|
*/
|
|
374
|
-
private
|
|
375
|
-
|
|
376
|
-
disconnectedCallback(): void;
|
|
401
|
+
private handleProxyAttributeChange;
|
|
402
|
+
private createProxyElement;
|
|
377
403
|
}
|
|
378
404
|
|
|
379
405
|
/**
|
|
@@ -382,7 +408,7 @@ export declare class AnchorButton extends FASTElement {
|
|
|
382
408
|
* TODO: https://github.com/microsoft/fast/issues/3317
|
|
383
409
|
* @internal
|
|
384
410
|
*/
|
|
385
|
-
export declare interface AnchorButton extends StartEnd
|
|
411
|
+
export declare interface AnchorButton extends StartEnd {
|
|
386
412
|
}
|
|
387
413
|
|
|
388
414
|
/**
|
|
@@ -473,196 +499,6 @@ export declare const AnchorTarget: {
|
|
|
473
499
|
*/
|
|
474
500
|
export declare type AnchorTarget = ValuesOf<typeof AnchorTarget>;
|
|
475
501
|
|
|
476
|
-
/**
|
|
477
|
-
* Some states and properties are applicable to all host language elements regardless of whether a role is applied.
|
|
478
|
-
* The following global states and properties are supported by all roles and by all base markup elements.
|
|
479
|
-
* {@link https://www.w3.org/TR/wai-aria-1.1/#global_states}
|
|
480
|
-
*
|
|
481
|
-
* This is intended to be used as a mixin. Be sure you extend FASTElement.
|
|
482
|
-
*
|
|
483
|
-
* @public
|
|
484
|
-
*/
|
|
485
|
-
declare class ARIAGlobalStatesAndProperties {
|
|
486
|
-
/**
|
|
487
|
-
* Indicates whether assistive technologies will present all, or only parts of,
|
|
488
|
-
* the changed region based on the change notifications defined by the aria-relevant attribute.
|
|
489
|
-
* {@link https://www.w3.org/TR/wai-aria-1.1/#aria-atomic}
|
|
490
|
-
*
|
|
491
|
-
* @public
|
|
492
|
-
* @remarks
|
|
493
|
-
* HTML Attribute: aria-atomic
|
|
494
|
-
*/
|
|
495
|
-
ariaAtomic: 'true' | 'false' | string | null;
|
|
496
|
-
/**
|
|
497
|
-
* Indicates an element is being modified and that assistive technologies MAY want to wait
|
|
498
|
-
* until the modifications are complete before exposing them to the user.
|
|
499
|
-
* {@link https://www.w3.org/TR/wai-aria-1.1/#aria-busy}
|
|
500
|
-
*
|
|
501
|
-
* @public
|
|
502
|
-
* @remarks
|
|
503
|
-
* HTML Attribute: aria-busy
|
|
504
|
-
*/
|
|
505
|
-
ariaBusy: 'true' | 'false' | string | null;
|
|
506
|
-
/**
|
|
507
|
-
* Identifies the element (or elements) whose contents or presence are controlled by the current element.
|
|
508
|
-
*
|
|
509
|
-
* {@link https://www.w3.org/TR/wai-aria-1.1/#aria-controls}
|
|
510
|
-
* @public
|
|
511
|
-
* @remarks
|
|
512
|
-
* HTML Attribute: aria-controls
|
|
513
|
-
*/
|
|
514
|
-
ariaControls: string | null;
|
|
515
|
-
/**
|
|
516
|
-
* Indicates the element that represents the current item within a container or set of related elements.
|
|
517
|
-
*
|
|
518
|
-
* {@link https://www.w3.org/TR/wai-aria-1.1/#aria-current}
|
|
519
|
-
* @public
|
|
520
|
-
* @remarks
|
|
521
|
-
* HTML Attribute: aria-current
|
|
522
|
-
*/
|
|
523
|
-
ariaCurrent: 'page' | 'step' | 'location' | 'date' | 'time' | 'true' | 'false' | string | null;
|
|
524
|
-
/**
|
|
525
|
-
* Identifies the element (or elements) that describes the object.
|
|
526
|
-
*
|
|
527
|
-
* {@link https://www.w3.org/TR/wai-aria-1.1/#aria-describedby}
|
|
528
|
-
* @public
|
|
529
|
-
* @remarks
|
|
530
|
-
* HTML Attribute: aria-describedby
|
|
531
|
-
*/
|
|
532
|
-
ariaDescribedby: string | null;
|
|
533
|
-
/**
|
|
534
|
-
* Identifies the element that provides a detailed, extended description for the object.
|
|
535
|
-
*
|
|
536
|
-
* {@link https://www.w3.org/TR/wai-aria-1.1/#aria-details}
|
|
537
|
-
* @public
|
|
538
|
-
* @remarks
|
|
539
|
-
* HTML Attribute: aria-details
|
|
540
|
-
*/
|
|
541
|
-
ariaDetails: string | null;
|
|
542
|
-
/**
|
|
543
|
-
* Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
|
|
544
|
-
*
|
|
545
|
-
* {@link https://www.w3.org/TR/wai-aria-1.1/#aria-disabled}
|
|
546
|
-
* @public
|
|
547
|
-
* @remarks
|
|
548
|
-
* HTML Attribute: aria-disabled
|
|
549
|
-
*/
|
|
550
|
-
ariaDisabled: 'true' | 'false' | string | null;
|
|
551
|
-
/**
|
|
552
|
-
* Identifies the element that provides an error message for the object.
|
|
553
|
-
*
|
|
554
|
-
* {@link https://www.w3.org/TR/wai-aria-1.1/#aria-errormessage}
|
|
555
|
-
* @public
|
|
556
|
-
* @remarks
|
|
557
|
-
* HTML Attribute: aria-errormessage
|
|
558
|
-
*/
|
|
559
|
-
ariaErrormessage: string | null;
|
|
560
|
-
/**
|
|
561
|
-
* Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion,
|
|
562
|
-
* allows assistive technology to override the general default of reading in document source order.
|
|
563
|
-
*
|
|
564
|
-
* {@link https://www.w3.org/TR/wai-aria-1.1/#aria-flowto}
|
|
565
|
-
* @public
|
|
566
|
-
* @remarks
|
|
567
|
-
* HTML Attribute: aria-flowto
|
|
568
|
-
*/
|
|
569
|
-
ariaFlowto: string | null;
|
|
570
|
-
/**
|
|
571
|
-
* Indicates the availability and type of interactive popup element,
|
|
572
|
-
* such as menu or dialog, that can be triggered by an element.
|
|
573
|
-
*
|
|
574
|
-
* {@link https://www.w3.org/TR/wai-aria-1.1/#aria-haspopup}
|
|
575
|
-
* @public
|
|
576
|
-
* @remarks
|
|
577
|
-
* HTML Attribute: aria-haspopup
|
|
578
|
-
*/
|
|
579
|
-
ariaHaspopup: 'false' | 'true' | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog' | string | null;
|
|
580
|
-
/**
|
|
581
|
-
* Indicates whether the element is exposed to an accessibility API
|
|
582
|
-
*
|
|
583
|
-
* {@link https://www.w3.org/TR/wai-aria-1.1/#aria-hidden}
|
|
584
|
-
* @public
|
|
585
|
-
* @remarks
|
|
586
|
-
* HTML Attribute: aria-hidden
|
|
587
|
-
*/
|
|
588
|
-
ariaHidden: 'false' | 'true' | string | null;
|
|
589
|
-
/**
|
|
590
|
-
* Indicates the entered value does not conform to the format expected by the application.
|
|
591
|
-
*
|
|
592
|
-
* {@link https://www.w3.org/TR/wai-aria-1.1/#aria-invalid}
|
|
593
|
-
* @public
|
|
594
|
-
* @remarks
|
|
595
|
-
* HTML Attribute: aria-invalid
|
|
596
|
-
*/
|
|
597
|
-
ariaInvalid: 'false' | 'true' | 'grammar' | 'spelling' | string | null;
|
|
598
|
-
/**
|
|
599
|
-
* Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.
|
|
600
|
-
*
|
|
601
|
-
* {@link https://www.w3.org/TR/wai-aria-1.1/#aria-keyshortcuts}
|
|
602
|
-
* @public
|
|
603
|
-
* @remarks
|
|
604
|
-
* HTML Attribute: aria-keyshortcuts
|
|
605
|
-
*/
|
|
606
|
-
ariaKeyshortcuts: string | null;
|
|
607
|
-
/**
|
|
608
|
-
* Defines a string value that labels the current element.
|
|
609
|
-
*
|
|
610
|
-
* {@link https://www.w3.org/TR/wai-aria-1.1/#aria-label}
|
|
611
|
-
* @public
|
|
612
|
-
* @remarks
|
|
613
|
-
* HTML Attribute: aria-label
|
|
614
|
-
*/
|
|
615
|
-
ariaLabel: string | null;
|
|
616
|
-
/**
|
|
617
|
-
* Identifies the element (or elements) that labels the current element.
|
|
618
|
-
*
|
|
619
|
-
* {@link https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby}
|
|
620
|
-
* @public
|
|
621
|
-
* @remarks
|
|
622
|
-
* HTML Attribute: aria-labelledby
|
|
623
|
-
*/
|
|
624
|
-
ariaLabelledby: string | null;
|
|
625
|
-
/**
|
|
626
|
-
* Indicates that an element will be updated, and describes the types of updates the user agents,
|
|
627
|
-
* assistive technologies, and user can expect from the live region.
|
|
628
|
-
*
|
|
629
|
-
* {@link https://www.w3.org/TR/wai-aria-1.1/#aria-live}
|
|
630
|
-
* @public
|
|
631
|
-
* @remarks
|
|
632
|
-
* HTML Attribute: aria-live
|
|
633
|
-
*/
|
|
634
|
-
ariaLive: 'assertive' | 'off' | 'polite' | string | null;
|
|
635
|
-
/**
|
|
636
|
-
* Identifies an element (or elements) in order to define a visual,
|
|
637
|
-
* functional, or contextual parent/child relationship between DOM elements
|
|
638
|
-
* where the DOM hierarchy cannot be used to represent the relationship.
|
|
639
|
-
*
|
|
640
|
-
* {@link https://www.w3.org/TR/wai-aria-1.1/#aria-owns}
|
|
641
|
-
* @public
|
|
642
|
-
* @remarks
|
|
643
|
-
* HTML Attribute: aria-owns
|
|
644
|
-
*/
|
|
645
|
-
ariaOwns: string | null;
|
|
646
|
-
/**
|
|
647
|
-
* Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.
|
|
648
|
-
*
|
|
649
|
-
* {@link https://www.w3.org/TR/wai-aria-1.1/#aria-relevant}
|
|
650
|
-
* @public
|
|
651
|
-
* @remarks
|
|
652
|
-
* HTML Attribute: aria-relevant
|
|
653
|
-
*/
|
|
654
|
-
ariaRelevant: 'additions' | 'additions text' | 'all' | 'removals' | 'text' | string | null;
|
|
655
|
-
/**
|
|
656
|
-
* Defines a human-readable, author-localized description for the role of an element.
|
|
657
|
-
*
|
|
658
|
-
* {@link https://www.w3.org/TR/wai-aria-1.1/#aria-roledescription}
|
|
659
|
-
* @public
|
|
660
|
-
* @remarks
|
|
661
|
-
* HTML Attribute: aria-roledescription
|
|
662
|
-
*/
|
|
663
|
-
ariaRoledescription: string | null;
|
|
664
|
-
}
|
|
665
|
-
|
|
666
502
|
/**
|
|
667
503
|
* The base class used for constructing a fluent-avatar custom element
|
|
668
504
|
* @public
|
|
@@ -1346,47 +1182,6 @@ declare class BaseCheckbox extends FASTElement {
|
|
|
1346
1182
|
private toggleChecked;
|
|
1347
1183
|
}
|
|
1348
1184
|
|
|
1349
|
-
/**
|
|
1350
|
-
* A base class for progress components.
|
|
1351
|
-
* @public
|
|
1352
|
-
*/
|
|
1353
|
-
declare class BaseProgress extends FASTElement {
|
|
1354
|
-
/**
|
|
1355
|
-
* The value of the progress
|
|
1356
|
-
* @public
|
|
1357
|
-
* @remarks
|
|
1358
|
-
* HTML Attribute: value
|
|
1359
|
-
*/
|
|
1360
|
-
value: number | null;
|
|
1361
|
-
protected valueChanged(): void;
|
|
1362
|
-
/**
|
|
1363
|
-
* The minimum value
|
|
1364
|
-
* @public
|
|
1365
|
-
* @remarks
|
|
1366
|
-
* HTML Attribute: min
|
|
1367
|
-
*/
|
|
1368
|
-
min: number;
|
|
1369
|
-
protected minChanged(): void;
|
|
1370
|
-
/**
|
|
1371
|
-
* The maximum value
|
|
1372
|
-
* @public
|
|
1373
|
-
* @remarks
|
|
1374
|
-
* HTML Attribute: max
|
|
1375
|
-
*/
|
|
1376
|
-
max: number;
|
|
1377
|
-
protected maxChanged(): void;
|
|
1378
|
-
/**
|
|
1379
|
-
* Indicates progress in %
|
|
1380
|
-
* @internal
|
|
1381
|
-
*/
|
|
1382
|
-
percentComplete: number;
|
|
1383
|
-
/**
|
|
1384
|
-
* @internal
|
|
1385
|
-
*/
|
|
1386
|
-
connectedCallback(): void;
|
|
1387
|
-
private updatePercentComplete;
|
|
1388
|
-
}
|
|
1389
|
-
|
|
1390
1185
|
/**
|
|
1391
1186
|
* A Tabs component that wraps a collection of tab and tab panel elements.
|
|
1392
1187
|
*
|
|
@@ -4404,30 +4199,6 @@ export declare const curveLinear = "var(--curveLinear)";
|
|
|
4404
4199
|
*/
|
|
4405
4200
|
export declare const darkModeStylesheetBehavior: (styles: ElementStyles) => MatchMediaStyleSheetBehavior;
|
|
4406
4201
|
|
|
4407
|
-
/**
|
|
4408
|
-
* Includes ARIA states and properties relating to the ARIA link role
|
|
4409
|
-
*
|
|
4410
|
-
* @public
|
|
4411
|
-
*/
|
|
4412
|
-
declare class DelegatesARIALink {
|
|
4413
|
-
/**
|
|
4414
|
-
* See {@link https://www.w3.org/WAI/PF/aria/roles#link} for more information
|
|
4415
|
-
* @public
|
|
4416
|
-
* @remarks
|
|
4417
|
-
* HTML Attribute: aria-expanded
|
|
4418
|
-
*/
|
|
4419
|
-
ariaExpanded: 'true' | 'false' | string | null;
|
|
4420
|
-
}
|
|
4421
|
-
|
|
4422
|
-
/**
|
|
4423
|
-
* Mark internal because exporting class and interface of the same name
|
|
4424
|
-
* confuses API documenter.
|
|
4425
|
-
* TODO: https://github.com/microsoft/fast/issues/3317
|
|
4426
|
-
* @internal
|
|
4427
|
-
*/
|
|
4428
|
-
declare interface DelegatesARIALink extends ARIAGlobalStatesAndProperties {
|
|
4429
|
-
}
|
|
4430
|
-
|
|
4431
4202
|
/**
|
|
4432
4203
|
* A Dialog Custom HTML Element.
|
|
4433
4204
|
*
|
|
@@ -6029,36 +5800,79 @@ export declare const MenuTemplate: ElementViewTemplate<Menu>;
|
|
|
6029
5800
|
* An Progress HTML Element.
|
|
6030
5801
|
* Implements the {@link https://www.w3.org/TR/wai-aria-1.1/#progressbar | ARIA progressbar }.
|
|
6031
5802
|
*
|
|
6032
|
-
* @slot indeterminate - The slot for a custom indeterminate indicator
|
|
6033
|
-
* @csspart progress - Represents the progress element
|
|
6034
|
-
* @csspart determinate - The determinate indicator
|
|
6035
|
-
* @csspart indeterminate - The indeterminate indicator
|
|
6036
|
-
*
|
|
6037
5803
|
* @public
|
|
6038
5804
|
*/
|
|
6039
|
-
export declare class ProgressBar extends
|
|
5805
|
+
export declare class ProgressBar extends FASTElement {
|
|
5806
|
+
/**
|
|
5807
|
+
* The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
|
|
5808
|
+
*
|
|
5809
|
+
* @internal
|
|
5810
|
+
*/
|
|
5811
|
+
elementInternals: ElementInternals;
|
|
6040
5812
|
/**
|
|
6041
5813
|
* The thickness of the progress bar
|
|
6042
5814
|
*
|
|
6043
5815
|
* @public
|
|
6044
|
-
*
|
|
6045
|
-
* HTML Attribute: thickness
|
|
5816
|
+
* HTML Attribute: `thickness`
|
|
6046
5817
|
*/
|
|
6047
5818
|
thickness?: ProgressBarThickness;
|
|
6048
5819
|
/**
|
|
6049
5820
|
* The shape of the progress bar
|
|
6050
5821
|
* @public
|
|
6051
|
-
*
|
|
6052
|
-
* HTML Attribute: shape
|
|
5822
|
+
* HTML Attribute: `shape`
|
|
6053
5823
|
*/
|
|
6054
5824
|
shape?: ProgressBarShape;
|
|
6055
5825
|
/**
|
|
6056
5826
|
* The validation state of the progress bar
|
|
6057
5827
|
* @public
|
|
6058
|
-
*
|
|
6059
|
-
* HTML Attribute: validation-state
|
|
5828
|
+
* HTML Attribute: `validation-state`
|
|
6060
5829
|
*/
|
|
6061
5830
|
validationState: ProgressBarValidationState | null;
|
|
5831
|
+
/**
|
|
5832
|
+
* The value of the progress
|
|
5833
|
+
* @internal
|
|
5834
|
+
* HTML Attribute: `value`
|
|
5835
|
+
*/
|
|
5836
|
+
value?: number;
|
|
5837
|
+
/**
|
|
5838
|
+
* Updates the percent complete when the `value` property changes.
|
|
5839
|
+
*
|
|
5840
|
+
* @internal
|
|
5841
|
+
*/
|
|
5842
|
+
protected valueChanged(prev: number | undefined, next: number | undefined): void;
|
|
5843
|
+
/**
|
|
5844
|
+
* The minimum value
|
|
5845
|
+
* @internal
|
|
5846
|
+
* HTML Attribute: `min`
|
|
5847
|
+
*/
|
|
5848
|
+
min?: number;
|
|
5849
|
+
/**
|
|
5850
|
+
* Updates the percent complete when the `min` property changes.
|
|
5851
|
+
*
|
|
5852
|
+
* @param prev - The previous min value
|
|
5853
|
+
* @param next - The current min value
|
|
5854
|
+
*/
|
|
5855
|
+
protected minChanged(prev: number | undefined, next: number | undefined): void;
|
|
5856
|
+
/**
|
|
5857
|
+
* The maximum value
|
|
5858
|
+
* @internal
|
|
5859
|
+
* HTML Attribute: `max`
|
|
5860
|
+
*/
|
|
5861
|
+
max?: number;
|
|
5862
|
+
/**
|
|
5863
|
+
* Updates the percent complete when the `max` property changes.
|
|
5864
|
+
*
|
|
5865
|
+
* @param prev - The previous max value
|
|
5866
|
+
* @param next - The current max value
|
|
5867
|
+
* @internal
|
|
5868
|
+
*/
|
|
5869
|
+
protected maxChanged(prev: number | undefined, next: number | undefined): void;
|
|
5870
|
+
/**
|
|
5871
|
+
* Indicates progress in %
|
|
5872
|
+
* @internal
|
|
5873
|
+
*/
|
|
5874
|
+
get percentComplete(): number;
|
|
5875
|
+
constructor();
|
|
6062
5876
|
}
|
|
6063
5877
|
|
|
6064
5878
|
/**
|
|
@@ -6124,15 +5938,6 @@ export declare const ProgressBarValidationState: {
|
|
|
6124
5938
|
*/
|
|
6125
5939
|
export declare type ProgressBarValidationState = ValuesOf<typeof ProgressBarValidationState>;
|
|
6126
5940
|
|
|
6127
|
-
/**
|
|
6128
|
-
* Progress configuration options
|
|
6129
|
-
* @public
|
|
6130
|
-
*/
|
|
6131
|
-
export declare type ProgressOptions = {
|
|
6132
|
-
indeterminateIndicator1?: StaticallyComposableHTML<ProgressBar>;
|
|
6133
|
-
indeterminateIndicator2?: StaticallyComposableHTML<ProgressBar>;
|
|
6134
|
-
};
|
|
6135
|
-
|
|
6136
5941
|
/**
|
|
6137
5942
|
* A Radio Custom HTML Element.
|
|
6138
5943
|
* Implements the {@link https://www.w3.org/TR/wai-aria-1.1/#radio | ARIA radio }.
|