@fluentui/web-components 3.0.0-beta.27 → 3.0.0-beta.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/CHANGELOG.md +22 -2
  2. package/dist/dts/anchor-button/anchor-button.d.ts +88 -82
  3. package/dist/dts/anchor-button/anchor-button.options.d.ts +21 -0
  4. package/dist/dts/button/button.styles.d.ts +4 -0
  5. package/dist/dts/index-rollup.d.ts +1 -0
  6. package/dist/dts/index.d.ts +2 -3
  7. package/dist/dts/link/define.d.ts +1 -0
  8. package/dist/dts/link/index.d.ts +4 -0
  9. package/dist/dts/link/link.bench.d.ts +3 -0
  10. package/dist/dts/link/link.d.ts +33 -0
  11. package/dist/dts/link/link.definition.d.ts +7 -0
  12. package/dist/dts/link/link.options.d.ts +52 -0
  13. package/dist/dts/link/link.styles.d.ts +1 -0
  14. package/dist/dts/link/link.template.d.ts +12 -0
  15. package/dist/dts/progress-bar/index.d.ts +0 -1
  16. package/dist/dts/progress-bar/progress-bar.d.ts +56 -13
  17. package/dist/dts/progress-bar/progress-bar.options.d.ts +1 -10
  18. package/dist/dts/progress-bar/progress-bar.template.d.ts +1 -2
  19. package/dist/esm/anchor-button/anchor-button.definition.js +0 -3
  20. package/dist/esm/anchor-button/anchor-button.definition.js.map +1 -1
  21. package/dist/esm/anchor-button/anchor-button.js +97 -81
  22. package/dist/esm/anchor-button/anchor-button.js.map +1 -1
  23. package/dist/esm/anchor-button/anchor-button.options.js +15 -0
  24. package/dist/esm/anchor-button/anchor-button.options.js.map +1 -1
  25. package/dist/esm/anchor-button/anchor-button.styles.js +6 -258
  26. package/dist/esm/anchor-button/anchor-button.styles.js.map +1 -1
  27. package/dist/esm/anchor-button/anchor-button.template.js +7 -35
  28. package/dist/esm/anchor-button/anchor-button.template.js.map +1 -1
  29. package/dist/esm/button/button.styles.js +16 -5
  30. package/dist/esm/button/button.styles.js.map +1 -1
  31. package/dist/esm/index-rollup.js +1 -0
  32. package/dist/esm/index-rollup.js.map +1 -1
  33. package/dist/esm/index.js +2 -1
  34. package/dist/esm/index.js.map +1 -1
  35. package/dist/esm/link/define.js +4 -0
  36. package/dist/esm/link/define.js.map +1 -0
  37. package/dist/esm/link/index.js +5 -0
  38. package/dist/esm/link/index.js.map +1 -0
  39. package/dist/esm/link/link.bench.js +11 -0
  40. package/dist/esm/link/link.bench.js.map +1 -0
  41. package/dist/esm/link/link.definition.js +15 -0
  42. package/dist/esm/link/link.definition.js.map +1 -0
  43. package/dist/esm/link/link.js +36 -0
  44. package/dist/esm/link/link.js.map +1 -0
  45. package/dist/esm/link/link.options.js +21 -0
  46. package/dist/esm/link/link.options.js.map +1 -0
  47. package/dist/esm/link/link.styles.js +67 -0
  48. package/dist/esm/link/link.styles.js.map +1 -0
  49. package/dist/esm/link/link.template.js +22 -0
  50. package/dist/esm/link/link.template.js.map +1 -0
  51. package/dist/esm/progress-bar/index.js.map +1 -1
  52. package/dist/esm/progress-bar/progress-bar.js +62 -11
  53. package/dist/esm/progress-bar/progress-bar.js.map +1 -1
  54. package/dist/esm/progress-bar/progress-bar.styles.js +48 -127
  55. package/dist/esm/progress-bar/progress-bar.styles.js.map +1 -1
  56. package/dist/esm/progress-bar/progress-bar.template.js +8 -26
  57. package/dist/esm/progress-bar/progress-bar.template.js.map +1 -1
  58. package/dist/esm/theme/set-theme.js +8 -3
  59. package/dist/esm/theme/set-theme.js.map +1 -1
  60. package/dist/web-components.d.ts +271 -391
  61. package/dist/web-components.js +351 -265
  62. package/dist/web-components.min.js +240 -246
  63. package/package.json +6 -1
  64. package/dist/dts/progress-bar/base-progress.d.ts +0 -41
  65. package/dist/esm/progress-bar/base-progress.js +0 -56
  66. package/dist/esm/progress-bar/base-progress.js.map +0 -1
@@ -238,92 +238,13 @@ export declare const accordionStyles: ElementStyles;
238
238
 
239
239
  export declare const accordionTemplate: ElementViewTemplate<Accordion>;
240
240
 
241
- /**
242
- * An Anchor Custom HTML Element.
243
- * Based largely on the {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element }.
244
- *
245
- * @slot start - Content which can be provided before the anchor content
246
- * @slot end - Content which can be provided after the anchor content
247
- * @slot - The default slot for anchor content
248
- * @csspart control - The anchor element
249
- * @csspart content - The element wrapping anchor content
250
- *
251
- * @public
252
- */
253
- export declare class AnchorButton extends FASTElement {
254
- /**
255
- * Prompts the user to save the linked URL. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.
256
- * @public
257
- * @remarks
258
- * HTML Attribute: download
259
- */
260
- download: string;
261
- /**
262
- * The URL the hyperlink references. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.
263
- * @public
264
- * @remarks
265
- * HTML Attribute: href
266
- */
267
- href: string;
268
- /**
269
- * Hints at the language of the referenced resource. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.
270
- * @public
271
- * @remarks
272
- * HTML Attribute: hreflang
273
- */
274
- hreflang: string;
275
- /**
276
- * See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.
277
- * @public
278
- * @remarks
279
- * HTML Attribute: ping
280
- */
281
- ping: string;
282
- /**
283
- * See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.
284
- * @public
285
- * @remarks
286
- * HTML Attribute: referrerpolicy
287
- */
288
- referrerpolicy: string;
289
- /**
290
- * See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.
291
- * @public
292
- * @remarks
293
- * HTML Attribute: rel
294
- */
295
- rel: string;
296
- /**
297
- * See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.
298
- * @public
299
- * @remarks
300
- * HTML Attribute: target
301
- */
302
- target: AnchorTarget;
303
- /**
304
- * See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.
305
- * @public
306
- * @remarks
307
- * HTML Attribute: type
308
- */
309
- type: string;
310
- /**
311
- *
312
- * Default slotted content
313
- *
314
- * @internal
315
- */
316
- defaultSlottedContent: HTMLElement[];
317
- /**
318
- * References the root element
319
- */
320
- control: HTMLAnchorElement;
241
+ export declare class AnchorButton extends BaseAnchor {
321
242
  /**
322
243
  * The appearance the anchor button should have.
323
244
  *
324
245
  * @public
325
246
  * @remarks
326
- * HTML Attribute: appearance
247
+ * HTML Attribute: `appearance`
327
248
  */
328
249
  appearance?: AnchorButtonAppearance | undefined;
329
250
  /**
@@ -331,7 +252,7 @@ export declare class AnchorButton extends FASTElement {
331
252
  *
332
253
  * @public
333
254
  * @remarks
334
- * HTML Attribute: shape
255
+ * HTML Attribute: `shape`
335
256
  */
336
257
  shape?: AnchorButtonShape | undefined;
337
258
  /**
@@ -339,7 +260,7 @@ export declare class AnchorButton extends FASTElement {
339
260
  *
340
261
  * @public
341
262
  * @remarks
342
- * HTML Attribute: size
263
+ * HTML Attribute: `size`
343
264
  */
344
265
  size?: AnchorButtonSize;
345
266
  /**
@@ -347,33 +268,9 @@ export declare class AnchorButton extends FASTElement {
347
268
  *
348
269
  * @public
349
270
  * @remarks
350
- * HTML Attribute: icon-only
271
+ * HTML Attribute: `icon-only`
351
272
  */
352
273
  iconOnly: boolean;
353
- /**
354
- * The anchor button is disabled
355
- *
356
- * @public
357
- * @remarks
358
- * HTML Attribute: disabled-focusable
359
- */
360
- disabled?: boolean;
361
- protected disabledChanged(prev: boolean, next: boolean): void;
362
- /**
363
- * The anchor button is disabled but focusable
364
- *
365
- * @public
366
- * @remarks
367
- * HTML Attribute: disabled-focusable
368
- */
369
- disabledFocusable?: boolean;
370
- protected disabledFocusableChanged(prev: boolean, next: boolean): void;
371
- /**
372
- * Prevents disabledFocusable click events
373
- */
374
- private handleDisabledFocusableClick;
375
- connectedCallback(): void;
376
- disconnectedCallback(): void;
377
274
  }
378
275
 
379
276
  /**
@@ -382,7 +279,7 @@ export declare class AnchorButton extends FASTElement {
382
279
  * TODO: https://github.com/microsoft/fast/issues/3317
383
280
  * @internal
384
281
  */
385
- export declare interface AnchorButton extends StartEnd, DelegatesARIALink {
282
+ export declare interface AnchorButton extends StartEnd {
386
283
  }
387
284
 
388
285
  /**
@@ -410,12 +307,6 @@ export declare type AnchorButtonAppearance = ValuesOf<typeof AnchorButtonAppeara
410
307
  */
411
308
  export declare const AnchorButtonDefinition: FASTElementDefinition<typeof AnchorButton>;
412
309
 
413
- /**
414
- * Anchor configuration options
415
- * @public
416
- */
417
- export declare type AnchorButtonOptions = StartEndOptions<AnchorButton>;
418
-
419
310
  /**
420
311
  * An Anchor Button can be square, circular or rounded.
421
312
  * @public
@@ -473,196 +364,6 @@ export declare const AnchorTarget: {
473
364
  */
474
365
  export declare type AnchorTarget = ValuesOf<typeof AnchorTarget>;
475
366
 
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
367
  /**
667
368
  * The base class used for constructing a fluent-avatar custom element
668
369
  * @public
@@ -1064,6 +765,138 @@ export declare const BadgeStyles: ElementStyles;
1064
765
 
1065
766
  export declare const BadgeTemplate: ElementViewTemplate<Badge>;
1066
767
 
768
+ /**
769
+ * An Anchor Custom HTML Element.
770
+ * Based largely on the {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element }.
771
+ *
772
+ * @slot start - Content which can be provided before the anchor content
773
+ * @slot end - Content which can be provided after the anchor content
774
+ * @slot - The default slot for anchor content
775
+ * @csspart control - The anchor element
776
+ * @csspart content - The element wrapping anchor content
777
+ *
778
+ * @public
779
+ */
780
+ declare class BaseAnchor extends FASTElement {
781
+ /**
782
+ * The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
783
+ *
784
+ * @internal
785
+ */
786
+ protected elementInternals: ElementInternals;
787
+ /**
788
+ * The proxy anchor element
789
+ * @internal
790
+ */
791
+ private internalProxyAnchor;
792
+ /**
793
+ * Prompts the user to save the linked URL.
794
+ *
795
+ * @see The {@link https://developer.mozilla.org/docs/Web/HTML/Element/a#download | `download`} attribute
796
+ *
797
+ * @public
798
+ * @remarks
799
+ * HTML Attribute: `download`
800
+ */
801
+ download?: string;
802
+ /**
803
+ * The URL the hyperlink references.
804
+ * @see The {@link https://developer.mozilla.org/docs/Web/HTML/Element/a#href | `href`} attribute
805
+ *
806
+ * @public
807
+ * @remarks
808
+ * HTML Attribute: `href`
809
+ */
810
+ href?: string;
811
+ /**
812
+ * Hints at the language of the referenced resource.
813
+ * @see The {@link https://developer.mozilla.org/docs/Web/HTML/Element/a#hreflang | `hreflang`} attribute
814
+ *
815
+ * @public
816
+ * @remarks
817
+ * HTML Attribute: `hreflang`
818
+ */
819
+ hreflang?: string;
820
+ /**
821
+ * The ping attribute.
822
+ * @see The {@link https://developer.mozilla.org/docs/Web/HTML/Element/a#ping | `ping`} attribute
823
+ *
824
+ * @public
825
+ * @remarks
826
+ * HTML Attribute: `ping`
827
+ */
828
+ ping?: string;
829
+ /**
830
+ * The referrerpolicy attribute.
831
+ * See The {@link https://developer.mozilla.org/docs/Web/HTML/Element/a#referrerpolicy | `referrerpolicy`} attribute
832
+ *
833
+ * @public
834
+ * @remarks
835
+ * HTML Attribute: `referrerpolicy`
836
+ */
837
+ referrerpolicy?: string;
838
+ /**
839
+ * The rel attribute.
840
+ * See The {@link https://developer.mozilla.org/docs/Web/HTML/Element/a#rel | `rel`} attribute
841
+ *
842
+ * @public
843
+ * @remarks
844
+ * HTML Attribute: `rel`
845
+ */
846
+ rel: string;
847
+ /**
848
+ * The target attribute.
849
+ * @see The {@link https://developer.mozilla.org/docs/Web/HTML/Element/a#target | `target`} attribute
850
+ *
851
+ * @public
852
+ * @remarks
853
+ * HTML Attribute: `target`
854
+ */
855
+ target?: AnchorTarget;
856
+ /**
857
+ * The type attribute.
858
+ * @see The {@link https://developer.mozilla.org/docs/Web/HTML/Element/a#type | `type`} attribute
859
+ *
860
+ * @public
861
+ * @remarks
862
+ * HTML Attribute: `type`
863
+ */
864
+ type?: string;
865
+ constructor();
866
+ connectedCallback(): void;
867
+ disconnectedCallback(): void;
868
+ /**
869
+ * Handles changes to observable properties
870
+ * @internal
871
+ * @param source - the source of the change
872
+ * @param propertyName - the property name being changed
873
+ */
874
+ handleChange(source: any, propertyName: string): void;
875
+ /**
876
+ * Handles the anchor click event.
877
+ *
878
+ * @param e - The event object
879
+ * @internal
880
+ */
881
+ clickHandler(): boolean;
882
+ /**
883
+ * Handles keypress events for the anchor.
884
+ *
885
+ * @param e - the keyboard event
886
+ * @returns - the return value of the click handler
887
+ * @public
888
+ */
889
+ keypressHandler(e: KeyboardEvent): boolean | void;
890
+ /**
891
+ * A method for updating proxy attributes when attributes have changed
892
+ * @internal
893
+ * @param attribute - an attribute to set/remove
894
+ * @param value - the value of the attribute
895
+ */
896
+ private handleProxyAttributeChange;
897
+ private createProxyElement;
898
+ }
899
+
1067
900
  /**
1068
901
  * A Checkbox Custom HTML Element.
1069
902
  * Implements the {@link https://www.w3.org/TR/wai-aria-1.1/#checkbox | ARIA checkbox }.
@@ -1346,47 +1179,6 @@ declare class BaseCheckbox extends FASTElement {
1346
1179
  private toggleChecked;
1347
1180
  }
1348
1181
 
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
1182
  /**
1391
1183
  * A Tabs component that wraps a collection of tab and tab panel elements.
1392
1184
  *
@@ -4404,30 +4196,6 @@ export declare const curveLinear = "var(--curveLinear)";
4404
4196
  */
4405
4197
  export declare const darkModeStylesheetBehavior: (styles: ElementStyles) => MatchMediaStyleSheetBehavior;
4406
4198
 
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
4199
  /**
4432
4200
  * A Dialog Custom HTML Element.
4433
4201
  *
@@ -5340,6 +5108,84 @@ export declare const lineHeightHero800 = "var(--lineHeightHero800)";
5340
5108
  */
5341
5109
  export declare const lineHeightHero900 = "var(--lineHeightHero900)";
5342
5110
 
5111
+ /**
5112
+ * An Anchor Custom HTML Element.
5113
+ * Based largely on the {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element }.
5114
+ *
5115
+ * @slot start - Content which can be provided before the link content
5116
+ * @slot end - Content which can be provided after the link content
5117
+ * @slot - The default slot for link content
5118
+ *
5119
+ * @public
5120
+ */
5121
+ export declare class Link extends BaseAnchor {
5122
+ /**
5123
+ * The appearance the link should have.
5124
+ *
5125
+ * @public
5126
+ * @remarks
5127
+ * HTML Attribute: `appearance`
5128
+ */
5129
+ appearance?: LinkAppearance | undefined;
5130
+ /**
5131
+ * The link is inline with text
5132
+ * In chromium browsers, if the link is contained within a semantic
5133
+ * text element (`h1`, `h2`, `h3`, `h4`, `h5`, `h6`, `p`) or `fluent-text`,
5134
+ * `:host-context()` ensures inline links are styled appropriately.
5135
+ *
5136
+ * @public
5137
+ * @remarks
5138
+ * HTML Attribute: `inline`
5139
+ */
5140
+ inline: boolean;
5141
+ }
5142
+
5143
+ /**
5144
+ * Link Appearance constants
5145
+ * @public
5146
+ */
5147
+ export declare const LinkAppearance: {
5148
+ readonly subtle: "subtle";
5149
+ };
5150
+
5151
+ /**
5152
+ * An Link can be subtle or the default appearance
5153
+ * @public
5154
+ */
5155
+ export declare type LinkAppearance = ValuesOf<typeof LinkAppearance>;
5156
+
5157
+ /**
5158
+ * @public
5159
+ * @remarks
5160
+ * HTML Element: \<fluent-link\>
5161
+ */
5162
+ export declare const LinkDefinition: FASTElementDefinition<typeof Link>;
5163
+
5164
+ /**
5165
+ * Link target values.
5166
+ *
5167
+ * @public
5168
+ */
5169
+ export declare const LinkTarget: {
5170
+ readonly _self: "_self";
5171
+ readonly _blank: "_blank";
5172
+ readonly _parent: "_parent";
5173
+ readonly _top: "_top";
5174
+ };
5175
+
5176
+ /**
5177
+ * Type for link target values.
5178
+ *
5179
+ * @public
5180
+ */
5181
+ export declare type LinkTarget = ValuesOf<typeof AnchorTarget>;
5182
+
5183
+ /**
5184
+ * The template for the Link component.
5185
+ * @public
5186
+ */
5187
+ export declare const LinkTemplate: ElementViewTemplate<Link>;
5188
+
5343
5189
  /**
5344
5190
  * An abstract behavior to react to media queries. Implementations should implement
5345
5191
  * the `constructListener` method to perform some action based on media query changes.
@@ -6029,36 +5875,79 @@ export declare const MenuTemplate: ElementViewTemplate<Menu>;
6029
5875
  * An Progress HTML Element.
6030
5876
  * Implements the {@link https://www.w3.org/TR/wai-aria-1.1/#progressbar | ARIA progressbar }.
6031
5877
  *
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
5878
  * @public
6038
5879
  */
6039
- export declare class ProgressBar extends BaseProgress {
5880
+ export declare class ProgressBar extends FASTElement {
5881
+ /**
5882
+ * The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
5883
+ *
5884
+ * @internal
5885
+ */
5886
+ elementInternals: ElementInternals;
6040
5887
  /**
6041
5888
  * The thickness of the progress bar
6042
5889
  *
6043
5890
  * @public
6044
- * @remarks
6045
- * HTML Attribute: thickness
5891
+ * HTML Attribute: `thickness`
6046
5892
  */
6047
5893
  thickness?: ProgressBarThickness;
6048
5894
  /**
6049
5895
  * The shape of the progress bar
6050
5896
  * @public
6051
- * @remarks
6052
- * HTML Attribute: shape
5897
+ * HTML Attribute: `shape`
6053
5898
  */
6054
5899
  shape?: ProgressBarShape;
6055
5900
  /**
6056
5901
  * The validation state of the progress bar
6057
5902
  * @public
6058
- * @remarks
6059
- * HTML Attribute: validation-state
5903
+ * HTML Attribute: `validation-state`
6060
5904
  */
6061
5905
  validationState: ProgressBarValidationState | null;
5906
+ /**
5907
+ * The value of the progress
5908
+ * @internal
5909
+ * HTML Attribute: `value`
5910
+ */
5911
+ value?: number;
5912
+ /**
5913
+ * Updates the percent complete when the `value` property changes.
5914
+ *
5915
+ * @internal
5916
+ */
5917
+ protected valueChanged(prev: number | undefined, next: number | undefined): void;
5918
+ /**
5919
+ * The minimum value
5920
+ * @internal
5921
+ * HTML Attribute: `min`
5922
+ */
5923
+ min?: number;
5924
+ /**
5925
+ * Updates the percent complete when the `min` property changes.
5926
+ *
5927
+ * @param prev - The previous min value
5928
+ * @param next - The current min value
5929
+ */
5930
+ protected minChanged(prev: number | undefined, next: number | undefined): void;
5931
+ /**
5932
+ * The maximum value
5933
+ * @internal
5934
+ * HTML Attribute: `max`
5935
+ */
5936
+ max?: number;
5937
+ /**
5938
+ * Updates the percent complete when the `max` property changes.
5939
+ *
5940
+ * @param prev - The previous max value
5941
+ * @param next - The current max value
5942
+ * @internal
5943
+ */
5944
+ protected maxChanged(prev: number | undefined, next: number | undefined): void;
5945
+ /**
5946
+ * Indicates progress in %
5947
+ * @internal
5948
+ */
5949
+ get percentComplete(): number;
5950
+ constructor();
6062
5951
  }
6063
5952
 
6064
5953
  /**
@@ -6124,15 +6013,6 @@ export declare const ProgressBarValidationState: {
6124
6013
  */
6125
6014
  export declare type ProgressBarValidationState = ValuesOf<typeof ProgressBarValidationState>;
6126
6015
 
6127
- /**
6128
- * Progress configuration options
6129
- * @public
6130
- */
6131
- export declare type ProgressOptions = {
6132
- indeterminateIndicator1?: StaticallyComposableHTML<ProgressBar>;
6133
- indeterminateIndicator2?: StaticallyComposableHTML<ProgressBar>;
6134
- };
6135
-
6136
6016
  /**
6137
6017
  * A Radio Custom HTML Element.
6138
6018
  * Implements the {@link https://www.w3.org/TR/wai-aria-1.1/#radio | ARIA radio }.