@fluentui/web-components 3.0.0-beta.11 → 3.0.0-beta.13

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 (52) hide show
  1. package/CHANGELOG.md +20 -2
  2. package/dist/dts/button/button.d.ts +173 -90
  3. package/dist/dts/button/button.definition.d.ts +3 -1
  4. package/dist/dts/button/button.options.d.ts +16 -1
  5. package/dist/dts/button/button.styles.d.ts +5 -0
  6. package/dist/dts/button/button.template.d.ts +7 -1
  7. package/dist/dts/form-associated/form-associated.d.ts +0 -74
  8. package/dist/dts/toggle-button/toggle-button.d.ts +29 -26
  9. package/dist/dts/toggle-button/toggle-button.styles.d.ts +7 -0
  10. package/dist/esm/anchor-button/anchor-button.styles.js +254 -3
  11. package/dist/esm/anchor-button/anchor-button.styles.js.map +1 -1
  12. package/dist/esm/button/button.definition.js +3 -4
  13. package/dist/esm/button/button.definition.js.map +1 -1
  14. package/dist/esm/button/button.js +233 -126
  15. package/dist/esm/button/button.js.map +1 -1
  16. package/dist/esm/button/button.options.js +10 -0
  17. package/dist/esm/button/button.options.js.map +1 -1
  18. package/dist/esm/button/button.styles.js +52 -54
  19. package/dist/esm/button/button.styles.js.map +1 -1
  20. package/dist/esm/button/button.template.js +13 -39
  21. package/dist/esm/button/button.template.js.map +1 -1
  22. package/dist/esm/compound-button/compound-button.definition.js +0 -3
  23. package/dist/esm/compound-button/compound-button.definition.js.map +1 -1
  24. package/dist/esm/compound-button/compound-button.styles.js +7 -7
  25. package/dist/esm/compound-button/compound-button.template.js +3 -39
  26. package/dist/esm/compound-button/compound-button.template.js.map +1 -1
  27. package/dist/esm/form-associated/form-associated.js.map +1 -1
  28. package/dist/esm/menu-button/menu-button.definition.js +0 -3
  29. package/dist/esm/menu-button/menu-button.definition.js.map +1 -1
  30. package/dist/esm/menu-button/menu-button.template.js +5 -1
  31. package/dist/esm/menu-button/menu-button.template.js.map +1 -1
  32. package/dist/esm/toggle-button/toggle-button.definition.js +0 -3
  33. package/dist/esm/toggle-button/toggle-button.definition.js.map +1 -1
  34. package/dist/esm/toggle-button/toggle-button.js +42 -85
  35. package/dist/esm/toggle-button/toggle-button.js.map +1 -1
  36. package/dist/esm/toggle-button/toggle-button.styles.js +31 -26
  37. package/dist/esm/toggle-button/toggle-button.styles.js.map +1 -1
  38. package/dist/fluent-web-components.api.json +342 -673
  39. package/dist/storybook/iframe.html +1 -1
  40. package/dist/storybook/main.e73a6496.iframe.bundle.js +2 -0
  41. package/dist/storybook/project.json +1 -1
  42. package/dist/web-components.d.ts +250 -223
  43. package/dist/web-components.js +236 -229
  44. package/dist/web-components.min.js +51 -50
  45. package/docs/api-report.md +63 -79
  46. package/package.json +3 -2
  47. package/playwright.config.ts +2 -3
  48. package/dist/dts/button/button.form-associated.d.ts +0 -14
  49. package/dist/esm/button/button.form-associated.js +0 -14
  50. package/dist/esm/button/button.form-associated.js.map +0 -1
  51. package/dist/storybook/main.81e47c59.iframe.bundle.js +0 -2
  52. /package/dist/storybook/{main.81e47c59.iframe.bundle.js.LICENSE.txt → main.e73a6496.iframe.bundle.js.LICENSE.txt} +0 -0
@@ -3630,7 +3630,7 @@
3630
3630
  {
3631
3631
  "kind": "Class",
3632
3632
  "canonicalReference": "@fluentui/web-components!Button:class",
3633
- "docComment": "/**\n * A Button Custom HTML Element. Based largely on the {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element}.\n *\n * @slot start - Content which can be provided before the button content @slot end - Content which can be provided after the button content @slot - The default slot for button content @csspart control - The button element @csspart content - The element wrapping button content\n *\n * @public\n */\n",
3633
+ "docComment": "/**\n * A Button Custom HTML Element. Based largely on the {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | `<button>`} element.\n *\n * @slot start - Content which can be provided before the button content @slot end - Content which can be provided after the button content @slot - The default slot for button content @csspart content - The button content container\n *\n * @public\n */\n",
3634
3634
  "excerptTokens": [
3635
3635
  {
3636
3636
  "kind": "Content",
@@ -3638,8 +3638,8 @@
3638
3638
  },
3639
3639
  {
3640
3640
  "kind": "Reference",
3641
- "text": "FormAssociatedButton",
3642
- "canonicalReference": "@fluentui/web-components!~FormAssociatedButton:class"
3641
+ "text": "FASTElement",
3642
+ "canonicalReference": "@microsoft/fast-element!FASTElement:interface"
3643
3643
  },
3644
3644
  {
3645
3645
  "kind": "Content",
@@ -3650,10 +3650,25 @@
3650
3650
  "name": "Button",
3651
3651
  "preserveMemberOrder": false,
3652
3652
  "members": [
3653
+ {
3654
+ "kind": "Constructor",
3655
+ "canonicalReference": "@fluentui/web-components!Button:constructor(1)",
3656
+ "docComment": "/**\n * Constructs a new instance of the `Button` class\n */\n",
3657
+ "excerptTokens": [
3658
+ {
3659
+ "kind": "Content",
3660
+ "text": "constructor();"
3661
+ }
3662
+ ],
3663
+ "releaseTag": "Public",
3664
+ "isProtected": false,
3665
+ "overloadIndex": 1,
3666
+ "parameters": []
3667
+ },
3653
3668
  {
3654
3669
  "kind": "Property",
3655
3670
  "canonicalReference": "@fluentui/web-components!Button#appearance:member",
3656
- "docComment": "/**\n * The appearance the button should have.\n *\n * @remarks\n *\n * HTML Attribute: appearance\n *\n * @public\n */\n",
3671
+ "docComment": "/**\n * Indicates the styled appearance of the button.\n *\n * @remarks\n *\n * HTML Attribute: `appearance`\n *\n * @public\n */\n",
3657
3672
  "excerptTokens": [
3658
3673
  {
3659
3674
  "kind": "Content",
@@ -3664,10 +3679,6 @@
3664
3679
  "text": "ButtonAppearance",
3665
3680
  "canonicalReference": "@fluentui/web-components!ButtonAppearance:type"
3666
3681
  },
3667
- {
3668
- "kind": "Content",
3669
- "text": " | undefined"
3670
- },
3671
3682
  {
3672
3683
  "kind": "Content",
3673
3684
  "text": ";"
@@ -3679,7 +3690,7 @@
3679
3690
  "name": "appearance",
3680
3691
  "propertyTypeTokenRange": {
3681
3692
  "startIndex": 1,
3682
- "endIndex": 3
3693
+ "endIndex": 2
3683
3694
  },
3684
3695
  "isStatic": false,
3685
3696
  "isProtected": false
@@ -3687,7 +3698,7 @@
3687
3698
  {
3688
3699
  "kind": "Property",
3689
3700
  "canonicalReference": "@fluentui/web-components!Button#autofocus:member",
3690
- "docComment": "/**\n * Determines if the element should receive document focus on page load.\n *\n * @remarks\n *\n * HTML Attribute: autofocus\n *\n * @public\n */\n",
3701
+ "docComment": "/**\n * Indicates the button should be focused when the page is loaded.\n *\n * @remarks\n *\n * HTML Attribute: `autofocus`\n *\n * @see\n *\n * The {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#autofocus | `autofocus`} attribute\n *\n * @public\n */\n",
3691
3702
  "excerptTokens": [
3692
3703
  {
3693
3704
  "kind": "Content",
@@ -3714,39 +3725,39 @@
3714
3725
  "isProtected": false
3715
3726
  },
3716
3727
  {
3717
- "kind": "Property",
3718
- "canonicalReference": "@fluentui/web-components!Button#control:member",
3728
+ "kind": "Method",
3729
+ "canonicalReference": "@fluentui/web-components!Button#connectedCallback:member(1)",
3719
3730
  "docComment": "",
3720
3731
  "excerptTokens": [
3721
3732
  {
3722
3733
  "kind": "Content",
3723
- "text": "control: "
3734
+ "text": "connectedCallback(): "
3724
3735
  },
3725
3736
  {
3726
- "kind": "Reference",
3727
- "text": "HTMLButtonElement",
3728
- "canonicalReference": "!HTMLButtonElement:interface"
3737
+ "kind": "Content",
3738
+ "text": "void"
3729
3739
  },
3730
3740
  {
3731
3741
  "kind": "Content",
3732
3742
  "text": ";"
3733
3743
  }
3734
3744
  ],
3735
- "isReadonly": false,
3736
- "isOptional": false,
3737
- "releaseTag": "Public",
3738
- "name": "control",
3739
- "propertyTypeTokenRange": {
3745
+ "isStatic": false,
3746
+ "returnTypeTokenRange": {
3740
3747
  "startIndex": 1,
3741
3748
  "endIndex": 2
3742
3749
  },
3743
- "isStatic": false,
3744
- "isProtected": false
3750
+ "releaseTag": "Public",
3751
+ "isProtected": false,
3752
+ "overloadIndex": 1,
3753
+ "parameters": [],
3754
+ "isOptional": false,
3755
+ "name": "connectedCallback"
3745
3756
  },
3746
3757
  {
3747
3758
  "kind": "Property",
3748
3759
  "canonicalReference": "@fluentui/web-components!Button#defaultSlottedContent:member",
3749
- "docComment": "/**\n * Default slotted content\n *\n * @remarks\n *\n * @public\n */\n",
3760
+ "docComment": "/**\n * Default slotted content.\n *\n * @public\n */\n",
3750
3761
  "excerptTokens": [
3751
3762
  {
3752
3763
  "kind": "Content",
@@ -3779,12 +3790,12 @@
3779
3790
  },
3780
3791
  {
3781
3792
  "kind": "Property",
3782
- "canonicalReference": "@fluentui/web-components!Button#disabledFocusable:member",
3783
- "docComment": "/**\n * The button is disabled but focusable\n *\n * @remarks\n *\n * HTML Attribute: disabled-focusable\n *\n * @public\n */\n",
3793
+ "canonicalReference": "@fluentui/web-components!Button#disabled:member",
3794
+ "docComment": "/**\n * Sets the element's disabled state.\n *\n * @remarks\n *\n * HTML Attribute: `disabled`\n *\n * @see\n *\n * The {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#disabled | `disabled`} attribute\n *\n * @public\n */\n",
3784
3795
  "excerptTokens": [
3785
3796
  {
3786
3797
  "kind": "Content",
3787
- "text": "disabledFocusable?: "
3798
+ "text": "disabled?: "
3788
3799
  },
3789
3800
  {
3790
3801
  "kind": "Content",
@@ -3798,7 +3809,7 @@
3798
3809
  "isReadonly": false,
3799
3810
  "isOptional": true,
3800
3811
  "releaseTag": "Public",
3801
- "name": "disabledFocusable",
3812
+ "name": "disabled",
3802
3813
  "propertyTypeTokenRange": {
3803
3814
  "startIndex": 1,
3804
3815
  "endIndex": 2
@@ -3807,106 +3818,76 @@
3807
3818
  "isProtected": false
3808
3819
  },
3809
3820
  {
3810
- "kind": "Method",
3811
- "canonicalReference": "@fluentui/web-components!Button#disabledFocusableChanged:member(1)",
3812
- "docComment": "",
3821
+ "kind": "Property",
3822
+ "canonicalReference": "@fluentui/web-components!Button#disabledFocusable:member",
3823
+ "docComment": "/**\n * Indicates that the button is focusable while disabled.\n *\n * @remarks\n *\n * HTML Attribute: `disabled-focusable`\n *\n * @public\n */\n",
3813
3824
  "excerptTokens": [
3814
3825
  {
3815
3826
  "kind": "Content",
3816
- "text": "protected disabledFocusableChanged(prev: "
3817
- },
3818
- {
3819
- "kind": "Content",
3820
- "text": "boolean"
3821
- },
3822
- {
3823
- "kind": "Content",
3824
- "text": ", next: "
3827
+ "text": "disabledFocusable: "
3825
3828
  },
3826
3829
  {
3827
3830
  "kind": "Content",
3828
3831
  "text": "boolean"
3829
3832
  },
3830
- {
3831
- "kind": "Content",
3832
- "text": "): "
3833
- },
3834
- {
3835
- "kind": "Content",
3836
- "text": "void"
3837
- },
3838
3833
  {
3839
3834
  "kind": "Content",
3840
3835
  "text": ";"
3841
3836
  }
3842
3837
  ],
3843
- "isStatic": false,
3844
- "returnTypeTokenRange": {
3845
- "startIndex": 5,
3846
- "endIndex": 6
3847
- },
3848
- "releaseTag": "Public",
3849
- "isProtected": true,
3850
- "overloadIndex": 1,
3851
- "parameters": [
3852
- {
3853
- "parameterName": "prev",
3854
- "parameterTypeTokenRange": {
3855
- "startIndex": 1,
3856
- "endIndex": 2
3857
- },
3858
- "isOptional": false
3859
- },
3860
- {
3861
- "parameterName": "next",
3862
- "parameterTypeTokenRange": {
3863
- "startIndex": 3,
3864
- "endIndex": 4
3865
- },
3866
- "isOptional": false
3867
- }
3868
- ],
3838
+ "isReadonly": false,
3869
3839
  "isOptional": false,
3870
- "name": "disabledFocusableChanged"
3840
+ "releaseTag": "Public",
3841
+ "name": "disabledFocusable",
3842
+ "propertyTypeTokenRange": {
3843
+ "startIndex": 1,
3844
+ "endIndex": 2
3845
+ },
3846
+ "isStatic": false,
3847
+ "isProtected": false
3871
3848
  },
3872
3849
  {
3873
- "kind": "Method",
3874
- "canonicalReference": "@fluentui/web-components!Button#disconnectedCallback:member(1)",
3875
- "docComment": "",
3850
+ "kind": "Property",
3851
+ "canonicalReference": "@fluentui/web-components!Button#form:member",
3852
+ "docComment": "/**\n * The associated form element.\n *\n * @public\n */\n",
3876
3853
  "excerptTokens": [
3877
3854
  {
3878
3855
  "kind": "Content",
3879
- "text": "disconnectedCallback(): "
3856
+ "text": "get form(): "
3857
+ },
3858
+ {
3859
+ "kind": "Reference",
3860
+ "text": "HTMLFormElement",
3861
+ "canonicalReference": "!HTMLFormElement:interface"
3880
3862
  },
3881
3863
  {
3882
3864
  "kind": "Content",
3883
- "text": "void"
3865
+ "text": " | null"
3884
3866
  },
3885
3867
  {
3886
3868
  "kind": "Content",
3887
3869
  "text": ";"
3888
3870
  }
3889
3871
  ],
3890
- "isStatic": false,
3891
- "returnTypeTokenRange": {
3872
+ "isReadonly": true,
3873
+ "isOptional": false,
3874
+ "releaseTag": "Public",
3875
+ "name": "form",
3876
+ "propertyTypeTokenRange": {
3892
3877
  "startIndex": 1,
3893
- "endIndex": 2
3878
+ "endIndex": 3
3894
3879
  },
3895
- "releaseTag": "Public",
3896
- "isProtected": false,
3897
- "overloadIndex": 1,
3898
- "parameters": [],
3899
- "isOptional": false,
3900
- "name": "disconnectedCallback"
3880
+ "isStatic": false,
3881
+ "isProtected": false
3901
3882
  },
3902
3883
  {
3903
3884
  "kind": "Property",
3904
- "canonicalReference": "@fluentui/web-components!Button#formaction:member",
3905
- "docComment": "/**\n * See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element} for more details.\n *\n * @remarks\n *\n * HTML Attribute: formaction\n *\n * @public\n */\n",
3885
+ "canonicalReference": "@fluentui/web-components!Button#formAction:member",
3886
+ "docComment": "/**\n * The URL that processes the form submission.\n *\n * @remarks\n *\n * HTML Attribute: `formaction`\n *\n * @see\n *\n * The {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#formaction | `formaction`} attribute\n *\n * @public\n */\n",
3906
3887
  "excerptTokens": [
3907
3888
  {
3908
3889
  "kind": "Content",
3909
- "text": "formaction: "
3890
+ "text": "formAction?: "
3910
3891
  },
3911
3892
  {
3912
3893
  "kind": "Content",
@@ -3918,9 +3899,9 @@
3918
3899
  }
3919
3900
  ],
3920
3901
  "isReadonly": false,
3921
- "isOptional": false,
3902
+ "isOptional": true,
3922
3903
  "releaseTag": "Public",
3923
- "name": "formaction",
3904
+ "name": "formAction",
3924
3905
  "propertyTypeTokenRange": {
3925
3906
  "startIndex": 1,
3926
3907
  "endIndex": 2
@@ -3929,43 +3910,46 @@
3929
3910
  "isProtected": false
3930
3911
  },
3931
3912
  {
3932
- "kind": "Method",
3933
- "canonicalReference": "@fluentui/web-components!Button#formactionChanged:member(1)",
3934
- "docComment": "",
3913
+ "kind": "Property",
3914
+ "canonicalReference": "@fluentui/web-components!Button.formAssociated:member",
3915
+ "docComment": "/**\n * The form-associated flag.\n *\n * @see\n *\n * {@link https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements-face-example | Form-associated custom elements}\n *\n * @public\n */\n",
3935
3916
  "excerptTokens": [
3936
3917
  {
3937
3918
  "kind": "Content",
3938
- "text": "protected formactionChanged(): "
3919
+ "text": "static readonly formAssociated = "
3939
3920
  },
3940
3921
  {
3941
3922
  "kind": "Content",
3942
- "text": "void"
3923
+ "text": "true"
3943
3924
  },
3944
3925
  {
3945
3926
  "kind": "Content",
3946
3927
  "text": ";"
3947
3928
  }
3948
3929
  ],
3949
- "isStatic": false,
3950
- "returnTypeTokenRange": {
3930
+ "isReadonly": true,
3931
+ "isOptional": false,
3932
+ "releaseTag": "Public",
3933
+ "name": "formAssociated",
3934
+ "propertyTypeTokenRange": {
3935
+ "startIndex": 0,
3936
+ "endIndex": 0
3937
+ },
3938
+ "initializerTokenRange": {
3951
3939
  "startIndex": 1,
3952
3940
  "endIndex": 2
3953
3941
  },
3954
- "releaseTag": "Public",
3955
- "isProtected": true,
3956
- "overloadIndex": 1,
3957
- "parameters": [],
3958
- "isOptional": false,
3959
- "name": "formactionChanged"
3942
+ "isStatic": true,
3943
+ "isProtected": false
3960
3944
  },
3961
3945
  {
3962
3946
  "kind": "Property",
3963
- "canonicalReference": "@fluentui/web-components!Button#formenctype:member",
3964
- "docComment": "/**\n * See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element} for more details.\n *\n * @remarks\n *\n * HTML Attribute: formenctype\n *\n * @public\n */\n",
3947
+ "canonicalReference": "@fluentui/web-components!Button#formAttribute:member",
3948
+ "docComment": "/**\n * The id of a form to associate the element to.\n *\n * @remarks\n *\n * HTML Attribute: `form`\n *\n * @see\n *\n * The {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#form | `form`} attribute\n *\n * @public\n */\n",
3965
3949
  "excerptTokens": [
3966
3950
  {
3967
3951
  "kind": "Content",
3968
- "text": "formenctype: "
3952
+ "text": "formAttribute?: "
3969
3953
  },
3970
3954
  {
3971
3955
  "kind": "Content",
@@ -3977,9 +3961,9 @@
3977
3961
  }
3978
3962
  ],
3979
3963
  "isReadonly": false,
3980
- "isOptional": false,
3964
+ "isOptional": true,
3981
3965
  "releaseTag": "Public",
3982
- "name": "formenctype",
3966
+ "name": "formAttribute",
3983
3967
  "propertyTypeTokenRange": {
3984
3968
  "startIndex": 1,
3985
3969
  "endIndex": 2
@@ -3988,43 +3972,42 @@
3988
3972
  "isProtected": false
3989
3973
  },
3990
3974
  {
3991
- "kind": "Method",
3992
- "canonicalReference": "@fluentui/web-components!Button#formenctypeChanged:member(1)",
3993
- "docComment": "",
3975
+ "kind": "Property",
3976
+ "canonicalReference": "@fluentui/web-components!Button#formEnctype:member",
3977
+ "docComment": "/**\n * The encoding type for the form submission.\n *\n * @remarks\n *\n * HTML Attribute: `formenctype`\n *\n * @see\n *\n * The {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#formenctype | `formenctype`} attribute\n *\n * @public\n */\n",
3994
3978
  "excerptTokens": [
3995
3979
  {
3996
3980
  "kind": "Content",
3997
- "text": "protected formenctypeChanged(): "
3981
+ "text": "formEnctype?: "
3998
3982
  },
3999
3983
  {
4000
3984
  "kind": "Content",
4001
- "text": "void"
3985
+ "text": "string"
4002
3986
  },
4003
3987
  {
4004
3988
  "kind": "Content",
4005
3989
  "text": ";"
4006
3990
  }
4007
3991
  ],
4008
- "isStatic": false,
4009
- "returnTypeTokenRange": {
3992
+ "isReadonly": false,
3993
+ "isOptional": true,
3994
+ "releaseTag": "Public",
3995
+ "name": "formEnctype",
3996
+ "propertyTypeTokenRange": {
4010
3997
  "startIndex": 1,
4011
3998
  "endIndex": 2
4012
3999
  },
4013
- "releaseTag": "Public",
4014
- "isProtected": true,
4015
- "overloadIndex": 1,
4016
- "parameters": [],
4017
- "isOptional": false,
4018
- "name": "formenctypeChanged"
4000
+ "isStatic": false,
4001
+ "isProtected": false
4019
4002
  },
4020
4003
  {
4021
4004
  "kind": "Property",
4022
- "canonicalReference": "@fluentui/web-components!Button#formId:member",
4023
- "docComment": "/**\n * The id of a form to associate the element to.\n *\n * @remarks\n *\n * HTML Attribute: form\n *\n * @public\n */\n",
4005
+ "canonicalReference": "@fluentui/web-components!Button#formMethod:member",
4006
+ "docComment": "/**\n * The HTTP method that the browser uses to submit the form.\n *\n * @remarks\n *\n * HTML Attribute: `formmethod`\n *\n * @see\n *\n * The {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#formmethod | `formmethod`} attribute\n *\n * @public\n */\n",
4024
4007
  "excerptTokens": [
4025
4008
  {
4026
4009
  "kind": "Content",
4027
- "text": "formId: "
4010
+ "text": "formMethod?: "
4028
4011
  },
4029
4012
  {
4030
4013
  "kind": "Content",
@@ -4036,9 +4019,9 @@
4036
4019
  }
4037
4020
  ],
4038
4021
  "isReadonly": false,
4039
- "isOptional": false,
4022
+ "isOptional": true,
4040
4023
  "releaseTag": "Public",
4041
- "name": "formId",
4024
+ "name": "formMethod",
4042
4025
  "propertyTypeTokenRange": {
4043
4026
  "startIndex": 1,
4044
4027
  "endIndex": 2
@@ -4048,16 +4031,16 @@
4048
4031
  },
4049
4032
  {
4050
4033
  "kind": "Property",
4051
- "canonicalReference": "@fluentui/web-components!Button#formmethod:member",
4052
- "docComment": "/**\n * See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element} for more details.\n *\n * @remarks\n *\n * HTML Attribute: formmethod\n *\n * @public\n */\n",
4034
+ "canonicalReference": "@fluentui/web-components!Button#formNoValidate:member",
4035
+ "docComment": "/**\n * Indicates that the form will not be validated when submitted.\n *\n * @remarks\n *\n * HTML Attribute: `formnovalidate`\n *\n * @see\n *\n * The {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#formnovalidate | `formnovalidate`} attribute\n *\n * @public\n */\n",
4053
4036
  "excerptTokens": [
4054
4037
  {
4055
4038
  "kind": "Content",
4056
- "text": "formmethod: "
4039
+ "text": "formNoValidate?: "
4057
4040
  },
4058
4041
  {
4059
4042
  "kind": "Content",
4060
- "text": "string"
4043
+ "text": "boolean"
4061
4044
  },
4062
4045
  {
4063
4046
  "kind": "Content",
@@ -4065,9 +4048,9 @@
4065
4048
  }
4066
4049
  ],
4067
4050
  "isReadonly": false,
4068
- "isOptional": false,
4051
+ "isOptional": true,
4069
4052
  "releaseTag": "Public",
4070
- "name": "formmethod",
4053
+ "name": "formNoValidate",
4071
4054
  "propertyTypeTokenRange": {
4072
4055
  "startIndex": 1,
4073
4056
  "endIndex": 2
@@ -4076,43 +4059,43 @@
4076
4059
  "isProtected": false
4077
4060
  },
4078
4061
  {
4079
- "kind": "Method",
4080
- "canonicalReference": "@fluentui/web-components!Button#formmethodChanged:member(1)",
4081
- "docComment": "",
4062
+ "kind": "Property",
4063
+ "canonicalReference": "@fluentui/web-components!Button#formTarget:member",
4064
+ "docComment": "/**\n * The target frame or window to open the form submission in.\n *\n * @remarks\n *\n * HTML Attribute: `formtarget`\n *\n * @see\n *\n * The {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#formtarget | `formtarget`} attribute\n *\n * @public\n */\n",
4082
4065
  "excerptTokens": [
4083
4066
  {
4084
4067
  "kind": "Content",
4085
- "text": "protected formmethodChanged(): "
4068
+ "text": "formTarget?: "
4086
4069
  },
4087
4070
  {
4088
- "kind": "Content",
4089
- "text": "void"
4071
+ "kind": "Reference",
4072
+ "text": "ButtonFormTarget",
4073
+ "canonicalReference": "@fluentui/web-components!ButtonFormTarget:type"
4090
4074
  },
4091
4075
  {
4092
4076
  "kind": "Content",
4093
4077
  "text": ";"
4094
4078
  }
4095
4079
  ],
4096
- "isStatic": false,
4097
- "returnTypeTokenRange": {
4080
+ "isReadonly": false,
4081
+ "isOptional": true,
4082
+ "releaseTag": "Public",
4083
+ "name": "formTarget",
4084
+ "propertyTypeTokenRange": {
4098
4085
  "startIndex": 1,
4099
4086
  "endIndex": 2
4100
4087
  },
4101
- "releaseTag": "Public",
4102
- "isProtected": true,
4103
- "overloadIndex": 1,
4104
- "parameters": [],
4105
- "isOptional": false,
4106
- "name": "formmethodChanged"
4088
+ "isStatic": false,
4089
+ "isProtected": false
4107
4090
  },
4108
4091
  {
4109
4092
  "kind": "Property",
4110
- "canonicalReference": "@fluentui/web-components!Button#formnovalidate:member",
4111
- "docComment": "/**\n * See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element} for more details.\n *\n * @remarks\n *\n * HTML Attribute: formnovalidate\n *\n * @public\n */\n",
4093
+ "canonicalReference": "@fluentui/web-components!Button#iconOnly:member",
4094
+ "docComment": "/**\n * Indicates that the button should only display as an icon with no text content.\n *\n * @remarks\n *\n * HTML Attribute: `icon-only`\n *\n * @public\n */\n",
4112
4095
  "excerptTokens": [
4113
4096
  {
4114
4097
  "kind": "Content",
4115
- "text": "formnovalidate: "
4098
+ "text": "iconOnly: "
4116
4099
  },
4117
4100
  {
4118
4101
  "kind": "Content",
@@ -4126,7 +4109,7 @@
4126
4109
  "isReadonly": false,
4127
4110
  "isOptional": false,
4128
4111
  "releaseTag": "Public",
4129
- "name": "formnovalidate",
4112
+ "name": "iconOnly",
4130
4113
  "propertyTypeTokenRange": {
4131
4114
  "startIndex": 1,
4132
4115
  "endIndex": 2
@@ -4136,16 +4119,25 @@
4136
4119
  },
4137
4120
  {
4138
4121
  "kind": "Method",
4139
- "canonicalReference": "@fluentui/web-components!Button#formnovalidateChanged:member(1)",
4140
- "docComment": "",
4122
+ "canonicalReference": "@fluentui/web-components!Button#keypressHandler:member(1)",
4123
+ "docComment": "/**\n * Handles keypress events for the button.\n *\n * @param e - the keyboard event\n *\n * @returns - the return value of the click handler\n *\n * @public\n */\n",
4141
4124
  "excerptTokens": [
4142
4125
  {
4143
4126
  "kind": "Content",
4144
- "text": "protected formnovalidateChanged(): "
4127
+ "text": "keypressHandler(e: "
4128
+ },
4129
+ {
4130
+ "kind": "Reference",
4131
+ "text": "KeyboardEvent",
4132
+ "canonicalReference": "!KeyboardEvent:interface"
4145
4133
  },
4146
4134
  {
4147
4135
  "kind": "Content",
4148
- "text": "void"
4136
+ "text": "): "
4137
+ },
4138
+ {
4139
+ "kind": "Content",
4140
+ "text": "boolean | void"
4149
4141
  },
4150
4142
  {
4151
4143
  "kind": "Content",
@@ -4154,108 +4146,161 @@
4154
4146
  ],
4155
4147
  "isStatic": false,
4156
4148
  "returnTypeTokenRange": {
4157
- "startIndex": 1,
4158
- "endIndex": 2
4149
+ "startIndex": 3,
4150
+ "endIndex": 4
4159
4151
  },
4160
4152
  "releaseTag": "Public",
4161
- "isProtected": true,
4153
+ "isProtected": false,
4162
4154
  "overloadIndex": 1,
4163
- "parameters": [],
4155
+ "parameters": [
4156
+ {
4157
+ "parameterName": "e",
4158
+ "parameterTypeTokenRange": {
4159
+ "startIndex": 1,
4160
+ "endIndex": 2
4161
+ },
4162
+ "isOptional": false
4163
+ }
4164
+ ],
4164
4165
  "isOptional": false,
4165
- "name": "formnovalidateChanged"
4166
+ "name": "keypressHandler"
4166
4167
  },
4167
4168
  {
4168
4169
  "kind": "Property",
4169
- "canonicalReference": "@fluentui/web-components!Button#formtarget:member",
4170
- "docComment": "/**\n * See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element} for more details.\n *\n * @remarks\n *\n * HTML Attribute: formtarget\n *\n * @public\n */\n",
4170
+ "canonicalReference": "@fluentui/web-components!Button#labels:member",
4171
+ "docComment": "/**\n * A reference to all associated label elements.\n *\n * @public\n */\n",
4171
4172
  "excerptTokens": [
4172
4173
  {
4173
4174
  "kind": "Content",
4174
- "text": "formtarget: "
4175
+ "text": "get labels(): "
4176
+ },
4177
+ {
4178
+ "kind": "Reference",
4179
+ "text": "ReadonlyArray",
4180
+ "canonicalReference": "!ReadonlyArray:interface"
4181
+ },
4182
+ {
4183
+ "kind": "Content",
4184
+ "text": "<"
4185
+ },
4186
+ {
4187
+ "kind": "Reference",
4188
+ "text": "Node",
4189
+ "canonicalReference": "!Node:interface"
4175
4190
  },
4176
4191
  {
4177
4192
  "kind": "Content",
4178
- "text": "'_self' | '_blank' | '_parent' | '_top'"
4193
+ "text": ">"
4179
4194
  },
4180
4195
  {
4181
4196
  "kind": "Content",
4182
4197
  "text": ";"
4183
4198
  }
4184
4199
  ],
4185
- "isReadonly": false,
4200
+ "isReadonly": true,
4186
4201
  "isOptional": false,
4187
4202
  "releaseTag": "Public",
4188
- "name": "formtarget",
4203
+ "name": "labels",
4189
4204
  "propertyTypeTokenRange": {
4190
4205
  "startIndex": 1,
4191
- "endIndex": 2
4206
+ "endIndex": 5
4192
4207
  },
4193
4208
  "isStatic": false,
4194
4209
  "isProtected": false
4195
4210
  },
4196
4211
  {
4197
- "kind": "Method",
4198
- "canonicalReference": "@fluentui/web-components!Button#formtargetChanged:member(1)",
4199
- "docComment": "",
4212
+ "kind": "Property",
4213
+ "canonicalReference": "@fluentui/web-components!Button#name:member",
4214
+ "docComment": "/**\n * The name of the element. This element's value will be surfaced during form submission under the provided name.\n *\n * @remarks\n *\n * HTML Attribute: `name`\n *\n * @see\n *\n * The {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#name | `name`} attribute\n *\n * @public\n */\n",
4200
4215
  "excerptTokens": [
4201
4216
  {
4202
4217
  "kind": "Content",
4203
- "text": "protected formtargetChanged(): "
4218
+ "text": "name?: "
4204
4219
  },
4205
4220
  {
4206
4221
  "kind": "Content",
4207
- "text": "void"
4222
+ "text": "string"
4208
4223
  },
4209
4224
  {
4210
4225
  "kind": "Content",
4211
4226
  "text": ";"
4212
4227
  }
4213
4228
  ],
4214
- "isStatic": false,
4215
- "returnTypeTokenRange": {
4229
+ "isReadonly": false,
4230
+ "isOptional": true,
4231
+ "releaseTag": "Public",
4232
+ "name": "name",
4233
+ "propertyTypeTokenRange": {
4216
4234
  "startIndex": 1,
4217
4235
  "endIndex": 2
4218
4236
  },
4219
- "releaseTag": "Public",
4220
- "isProtected": true,
4237
+ "isStatic": false,
4238
+ "isProtected": false
4239
+ },
4240
+ {
4241
+ "kind": "Method",
4242
+ "canonicalReference": "@fluentui/web-components!Button#press:member(1)",
4243
+ "docComment": "/**\n * Presses the button.\n *\n * @public\n */\n",
4244
+ "excerptTokens": [
4245
+ {
4246
+ "kind": "Content",
4247
+ "text": "protected press(): "
4248
+ },
4249
+ {
4250
+ "kind": "Content",
4251
+ "text": "void"
4252
+ },
4253
+ {
4254
+ "kind": "Content",
4255
+ "text": ";"
4256
+ }
4257
+ ],
4258
+ "isStatic": false,
4259
+ "returnTypeTokenRange": {
4260
+ "startIndex": 1,
4261
+ "endIndex": 2
4262
+ },
4263
+ "releaseTag": "Public",
4264
+ "isProtected": true,
4221
4265
  "overloadIndex": 1,
4222
4266
  "parameters": [],
4223
4267
  "isOptional": false,
4224
- "name": "formtargetChanged"
4268
+ "name": "press"
4225
4269
  },
4226
4270
  {
4227
- "kind": "Property",
4228
- "canonicalReference": "@fluentui/web-components!Button#iconOnly:member",
4229
- "docComment": "/**\n * The button has an icon only, no text content\n *\n * @remarks\n *\n * HTML Attribute: icon-only\n *\n * @public\n */\n",
4271
+ "kind": "Method",
4272
+ "canonicalReference": "@fluentui/web-components!Button#resetForm:member(1)",
4273
+ "docComment": "/**\n * Resets the associated form.\n *\n * @public\n */\n",
4230
4274
  "excerptTokens": [
4231
4275
  {
4232
4276
  "kind": "Content",
4233
- "text": "iconOnly: "
4277
+ "text": "resetForm(): "
4234
4278
  },
4235
4279
  {
4236
4280
  "kind": "Content",
4237
- "text": "boolean"
4281
+ "text": "void"
4238
4282
  },
4239
4283
  {
4240
4284
  "kind": "Content",
4241
4285
  "text": ";"
4242
4286
  }
4243
4287
  ],
4244
- "isReadonly": false,
4245
- "isOptional": false,
4246
- "releaseTag": "Public",
4247
- "name": "iconOnly",
4248
- "propertyTypeTokenRange": {
4288
+ "isStatic": false,
4289
+ "returnTypeTokenRange": {
4249
4290
  "startIndex": 1,
4250
4291
  "endIndex": 2
4251
4292
  },
4252
- "isStatic": false,
4253
- "isProtected": false
4293
+ "releaseTag": "Public",
4294
+ "isProtected": false,
4295
+ "overloadIndex": 1,
4296
+ "parameters": [],
4297
+ "isOptional": false,
4298
+ "name": "resetForm"
4254
4299
  },
4255
4300
  {
4256
4301
  "kind": "Property",
4257
4302
  "canonicalReference": "@fluentui/web-components!Button#shape:member",
4258
- "docComment": "/**\n * The shape the button should have.\n *\n * @remarks\n *\n * HTML Attribute: shape\n *\n * @public\n */\n",
4303
+ "docComment": "/**\n * The shape of the button.\n *\n * @remarks\n *\n * HTML Attribute: `shape`\n *\n * @public\n */\n",
4259
4304
  "excerptTokens": [
4260
4305
  {
4261
4306
  "kind": "Content",
@@ -4266,10 +4311,6 @@
4266
4311
  "text": "ButtonShape",
4267
4312
  "canonicalReference": "@fluentui/web-components!ButtonShape:type"
4268
4313
  },
4269
- {
4270
- "kind": "Content",
4271
- "text": " | undefined"
4272
- },
4273
4314
  {
4274
4315
  "kind": "Content",
4275
4316
  "text": ";"
@@ -4281,7 +4322,7 @@
4281
4322
  "name": "shape",
4282
4323
  "propertyTypeTokenRange": {
4283
4324
  "startIndex": 1,
4284
- "endIndex": 3
4325
+ "endIndex": 2
4285
4326
  },
4286
4327
  "isStatic": false,
4287
4328
  "isProtected": false
@@ -4289,7 +4330,7 @@
4289
4330
  {
4290
4331
  "kind": "Property",
4291
4332
  "canonicalReference": "@fluentui/web-components!Button#size:member",
4292
- "docComment": "/**\n * The size the button should have.\n *\n * @remarks\n *\n * HTML Attribute: size\n *\n * @public\n */\n",
4333
+ "docComment": "/**\n * The size of the button.\n *\n * @remarks\n *\n * HTML Attribute: `size`\n *\n * @public\n */\n",
4293
4334
  "excerptTokens": [
4294
4335
  {
4295
4336
  "kind": "Content",
@@ -4319,7 +4360,7 @@
4319
4360
  {
4320
4361
  "kind": "Property",
4321
4362
  "canonicalReference": "@fluentui/web-components!Button#type:member",
4322
- "docComment": "/**\n * The button type.\n *\n * @remarks\n *\n * HTML Attribute: type\n *\n * @public\n */\n",
4363
+ "docComment": "/**\n * The button type.\n *\n * @remarks\n *\n * HTML Attribute: `type`\n *\n * @see\n *\n * The {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#type | `type`} attribute\n *\n * @public\n */\n",
4323
4364
  "excerptTokens": [
4324
4365
  {
4325
4366
  "kind": "Content",
@@ -4347,103 +4388,33 @@
4347
4388
  "isProtected": false
4348
4389
  },
4349
4390
  {
4350
- "kind": "Method",
4351
- "canonicalReference": "@fluentui/web-components!Button#typeChanged:member(1)",
4352
- "docComment": "",
4391
+ "kind": "Property",
4392
+ "canonicalReference": "@fluentui/web-components!Button#value:member",
4393
+ "docComment": "/**\n * The value attribute.\n *\n * @remarks\n *\n * HTML Attribute: `value`\n *\n * @see\n *\n * The {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#value | `value`} attribute\n *\n * @public\n */\n",
4353
4394
  "excerptTokens": [
4354
4395
  {
4355
4396
  "kind": "Content",
4356
- "text": "protected typeChanged(previous: "
4357
- },
4358
- {
4359
- "kind": "Reference",
4360
- "text": "ButtonType",
4361
- "canonicalReference": "@fluentui/web-components!ButtonType:type"
4362
- },
4363
- {
4364
- "kind": "Content",
4365
- "text": " | undefined"
4366
- },
4367
- {
4368
- "kind": "Content",
4369
- "text": ", next: "
4370
- },
4371
- {
4372
- "kind": "Reference",
4373
- "text": "ButtonType",
4374
- "canonicalReference": "@fluentui/web-components!ButtonType:type"
4375
- },
4376
- {
4377
- "kind": "Content",
4378
- "text": "): "
4397
+ "text": "value?: "
4379
4398
  },
4380
4399
  {
4381
4400
  "kind": "Content",
4382
- "text": "void"
4401
+ "text": "string"
4383
4402
  },
4384
4403
  {
4385
4404
  "kind": "Content",
4386
4405
  "text": ";"
4387
4406
  }
4388
4407
  ],
4389
- "isStatic": false,
4390
- "returnTypeTokenRange": {
4391
- "startIndex": 6,
4392
- "endIndex": 7
4393
- },
4408
+ "isReadonly": false,
4409
+ "isOptional": true,
4394
4410
  "releaseTag": "Public",
4395
- "isProtected": true,
4396
- "overloadIndex": 1,
4397
- "parameters": [
4398
- {
4399
- "parameterName": "previous",
4400
- "parameterTypeTokenRange": {
4401
- "startIndex": 1,
4402
- "endIndex": 3
4403
- },
4404
- "isOptional": false
4405
- },
4406
- {
4407
- "parameterName": "next",
4408
- "parameterTypeTokenRange": {
4409
- "startIndex": 4,
4410
- "endIndex": 5
4411
- },
4412
- "isOptional": false
4413
- }
4414
- ],
4415
- "isOptional": false,
4416
- "name": "typeChanged"
4417
- },
4418
- {
4419
- "kind": "Method",
4420
- "canonicalReference": "@fluentui/web-components!Button#validate:member(1)",
4421
- "docComment": "/**\n * {@inheritDoc (FormAssociated:interface).validate}\n */\n",
4422
- "excerptTokens": [
4423
- {
4424
- "kind": "Content",
4425
- "text": "validate(): "
4426
- },
4427
- {
4428
- "kind": "Content",
4429
- "text": "void"
4430
- },
4431
- {
4432
- "kind": "Content",
4433
- "text": ";"
4434
- }
4435
- ],
4436
- "isStatic": false,
4437
- "returnTypeTokenRange": {
4411
+ "name": "value",
4412
+ "propertyTypeTokenRange": {
4438
4413
  "startIndex": 1,
4439
4414
  "endIndex": 2
4440
4415
  },
4441
- "releaseTag": "Public",
4442
- "isProtected": false,
4443
- "overloadIndex": 1,
4444
- "parameters": [],
4445
- "isOptional": false,
4446
- "name": "validate"
4416
+ "isStatic": false,
4417
+ "isProtected": false
4447
4418
  }
4448
4419
  ],
4449
4420
  "extendsTokenRange": {
@@ -4516,7 +4487,7 @@
4516
4487
  {
4517
4488
  "kind": "Variable",
4518
4489
  "canonicalReference": "@fluentui/web-components!ButtonDefinition:var",
4519
- "docComment": "/**\n * @remarks\n *\n * HTML Element: \\<fluent-button\\>\n *\n * @public\n */\n",
4490
+ "docComment": "/**\n * The definition for the Fluent Button component.\n *\n * @remarks\n *\n * HTML Element: `<fluent-button>`\n *\n * @public\n */\n",
4520
4491
  "excerptTokens": [
4521
4492
  {
4522
4493
  "kind": "Content",
@@ -4553,10 +4524,71 @@
4553
4524
  "endIndex": 6
4554
4525
  }
4555
4526
  },
4527
+ {
4528
+ "kind": "TypeAlias",
4529
+ "canonicalReference": "@fluentui/web-components!ButtonFormTarget:type",
4530
+ "docComment": "/**\n * Types for the `formtarget` attribute values.\n *\n * @public\n */\n",
4531
+ "excerptTokens": [
4532
+ {
4533
+ "kind": "Content",
4534
+ "text": "export declare type ButtonFormTarget = "
4535
+ },
4536
+ {
4537
+ "kind": "Reference",
4538
+ "text": "ValuesOf",
4539
+ "canonicalReference": "@fluentui/web-components!~ValuesOf:type"
4540
+ },
4541
+ {
4542
+ "kind": "Content",
4543
+ "text": "<typeof "
4544
+ },
4545
+ {
4546
+ "kind": "Reference",
4547
+ "text": "ButtonFormTarget",
4548
+ "canonicalReference": "@fluentui/web-components!ButtonFormTarget:var"
4549
+ },
4550
+ {
4551
+ "kind": "Content",
4552
+ "text": ">"
4553
+ },
4554
+ {
4555
+ "kind": "Content",
4556
+ "text": ";"
4557
+ }
4558
+ ],
4559
+ "releaseTag": "Public",
4560
+ "name": "ButtonFormTarget",
4561
+ "typeTokenRange": {
4562
+ "startIndex": 1,
4563
+ "endIndex": 5
4564
+ }
4565
+ },
4566
+ {
4567
+ "kind": "Variable",
4568
+ "canonicalReference": "@fluentui/web-components!ButtonFormTarget:var",
4569
+ "docComment": "/**\n * Button `formtarget` attribute values.\n *\n * @public\n */\n",
4570
+ "excerptTokens": [
4571
+ {
4572
+ "kind": "Content",
4573
+ "text": "ButtonFormTarget: "
4574
+ },
4575
+ {
4576
+ "kind": "Content",
4577
+ "text": "{\n readonly blank: \"_blank\";\n readonly self: \"_self\";\n readonly parent: \"_parent\";\n readonly top: \"_top\";\n}"
4578
+ }
4579
+ ],
4580
+ "isReadonly": true,
4581
+ "releaseTag": "Public",
4582
+ "name": "ButtonFormTarget",
4583
+ "variableTypeTokenRange": {
4584
+ "startIndex": 1,
4585
+ "endIndex": 2
4586
+ }
4587
+ },
4556
4588
  {
4557
4589
  "kind": "TypeAlias",
4558
4590
  "canonicalReference": "@fluentui/web-components!ButtonOptions:type",
4559
- "docComment": "/**\n * Button configuration options\n *\n * @public\n */\n",
4591
+ "docComment": "/**\n * Button configuration options.\n *\n * @public\n */\n",
4560
4592
  "excerptTokens": [
4561
4593
  {
4562
4594
  "kind": "Content",
@@ -4717,7 +4749,7 @@
4717
4749
  {
4718
4750
  "kind": "Variable",
4719
4751
  "canonicalReference": "@fluentui/web-components!ButtonTemplate:var",
4720
- "docComment": "",
4752
+ "docComment": "/**\n * The template for the Button component.\n *\n * @public\n */\n",
4721
4753
  "excerptTokens": [
4722
4754
  {
4723
4755
  "kind": "Content",
@@ -14353,81 +14385,6 @@
14353
14385
  "endIndex": 5
14354
14386
  }
14355
14387
  },
14356
- {
14357
- "kind": "Class",
14358
- "canonicalReference": "@fluentui/web-components!DelegatesARIAButton:class",
14359
- "docComment": "/**\n * Includes ARIA states and properties relating to the ARIA button role\n *\n * @public\n */\n",
14360
- "excerptTokens": [
14361
- {
14362
- "kind": "Content",
14363
- "text": "export declare class DelegatesARIAButton "
14364
- }
14365
- ],
14366
- "releaseTag": "Public",
14367
- "name": "DelegatesARIAButton",
14368
- "preserveMemberOrder": false,
14369
- "members": [
14370
- {
14371
- "kind": "Property",
14372
- "canonicalReference": "@fluentui/web-components!DelegatesARIAButton#ariaExpanded:member",
14373
- "docComment": "/**\n * See {@link https://www.w3.org/WAI/PF/aria/roles#button} for more information\n *\n * @remarks\n *\n * HTML Attribute: aria-expanded\n *\n * @public\n */\n",
14374
- "excerptTokens": [
14375
- {
14376
- "kind": "Content",
14377
- "text": "ariaExpanded: "
14378
- },
14379
- {
14380
- "kind": "Content",
14381
- "text": "'true' | 'false' | string | null"
14382
- },
14383
- {
14384
- "kind": "Content",
14385
- "text": ";"
14386
- }
14387
- ],
14388
- "isReadonly": false,
14389
- "isOptional": false,
14390
- "releaseTag": "Public",
14391
- "name": "ariaExpanded",
14392
- "propertyTypeTokenRange": {
14393
- "startIndex": 1,
14394
- "endIndex": 2
14395
- },
14396
- "isStatic": false,
14397
- "isProtected": false
14398
- },
14399
- {
14400
- "kind": "Property",
14401
- "canonicalReference": "@fluentui/web-components!DelegatesARIAButton#ariaPressed:member",
14402
- "docComment": "/**\n * See {@link https://www.w3.org/WAI/PF/aria/roles#button} for more information\n *\n * @remarks\n *\n * HTML Attribute: aria-pressed\n *\n * @public\n */\n",
14403
- "excerptTokens": [
14404
- {
14405
- "kind": "Content",
14406
- "text": "ariaPressed: "
14407
- },
14408
- {
14409
- "kind": "Content",
14410
- "text": "'true' | 'false' | 'mixed' | string | null"
14411
- },
14412
- {
14413
- "kind": "Content",
14414
- "text": ";"
14415
- }
14416
- ],
14417
- "isReadonly": false,
14418
- "isOptional": false,
14419
- "releaseTag": "Public",
14420
- "name": "ariaPressed",
14421
- "propertyTypeTokenRange": {
14422
- "startIndex": 1,
14423
- "endIndex": 2
14424
- },
14425
- "isStatic": false,
14426
- "isProtected": false
14427
- }
14428
- ],
14429
- "implementsTokenRanges": []
14430
- },
14431
14388
  {
14432
14389
  "kind": "Class",
14433
14390
  "canonicalReference": "@fluentui/web-components!DelegatesARIALink:class",
@@ -20603,7 +20560,7 @@
20603
20560
  },
20604
20561
  {
20605
20562
  "kind": "Class",
20606
- "canonicalReference": "@fluentui/web-components!ProgressBar_2:class",
20563
+ "canonicalReference": "@fluentui/web-components!ProgressBar:class",
20607
20564
  "docComment": "/**\n * An Progress HTML Element. Implements the {@link https://www.w3.org/TR/wai-aria-1.1/#progressbar | ARIA progressbar}.\n *\n * @slot indeterminate - The slot for a custom indeterminate indicator @csspart progress - Represents the progress element @csspart determinate - The determinate indicator @csspart indeterminate - The indeterminate indicator\n *\n * @public\n */\n",
20608
20565
  "excerptTokens": [
20609
20566
  {
@@ -20621,12 +20578,12 @@
20621
20578
  }
20622
20579
  ],
20623
20580
  "releaseTag": "Public",
20624
- "name": "ProgressBar_2",
20581
+ "name": "ProgressBar",
20625
20582
  "preserveMemberOrder": false,
20626
20583
  "members": [
20627
20584
  {
20628
20585
  "kind": "Property",
20629
- "canonicalReference": "@fluentui/web-components!ProgressBar_2#shape:member",
20586
+ "canonicalReference": "@fluentui/web-components!ProgressBar#shape:member",
20630
20587
  "docComment": "/**\n * The shape of the progress bar\n *\n * @remarks\n *\n * HTML Attribute: shape\n *\n * @public\n */\n",
20631
20588
  "excerptTokens": [
20632
20589
  {
@@ -20656,7 +20613,7 @@
20656
20613
  },
20657
20614
  {
20658
20615
  "kind": "Property",
20659
- "canonicalReference": "@fluentui/web-components!ProgressBar_2#thickness:member",
20616
+ "canonicalReference": "@fluentui/web-components!ProgressBar#thickness:member",
20660
20617
  "docComment": "/**\n * The thickness of the progress bar\n *\n * @remarks\n *\n * HTML Attribute: thickness\n *\n * @public\n */\n",
20661
20618
  "excerptTokens": [
20662
20619
  {
@@ -20686,7 +20643,7 @@
20686
20643
  },
20687
20644
  {
20688
20645
  "kind": "Property",
20689
- "canonicalReference": "@fluentui/web-components!ProgressBar_2#validationState:member",
20646
+ "canonicalReference": "@fluentui/web-components!ProgressBar#validationState:member",
20690
20647
  "docComment": "/**\n * The validation state of the progress bar\n *\n * @remarks\n *\n * HTML Attribute: validation-state\n *\n * @public\n */\n",
20691
20648
  "excerptTokens": [
20692
20649
  {
@@ -20750,7 +20707,7 @@
20750
20707
  {
20751
20708
  "kind": "Reference",
20752
20709
  "text": "ProgressBar",
20753
- "canonicalReference": "@fluentui/web-components!ProgressBar_2:class"
20710
+ "canonicalReference": "@fluentui/web-components!ProgressBar:class"
20754
20711
  },
20755
20712
  {
20756
20713
  "kind": "Content",
@@ -20874,7 +20831,7 @@
20874
20831
  {
20875
20832
  "kind": "Reference",
20876
20833
  "text": "ProgressBar",
20877
- "canonicalReference": "@fluentui/web-components!ProgressBar_2:class"
20834
+ "canonicalReference": "@fluentui/web-components!ProgressBar:class"
20878
20835
  },
20879
20836
  {
20880
20837
  "kind": "Content",
@@ -21036,7 +20993,7 @@
21036
20993
  {
21037
20994
  "kind": "Reference",
21038
20995
  "text": "ProgressBar",
21039
- "canonicalReference": "@fluentui/web-components!ProgressBar_2:class"
20996
+ "canonicalReference": "@fluentui/web-components!ProgressBar:class"
21040
20997
  },
21041
20998
  {
21042
20999
  "kind": "Content",
@@ -21054,7 +21011,7 @@
21054
21011
  {
21055
21012
  "kind": "Reference",
21056
21013
  "text": "ProgressBar",
21057
- "canonicalReference": "@fluentui/web-components!ProgressBar_2:class"
21014
+ "canonicalReference": "@fluentui/web-components!ProgressBar:class"
21058
21015
  },
21059
21016
  {
21060
21017
  "kind": "Content",
@@ -24448,7 +24405,7 @@
24448
24405
  {
24449
24406
  "kind": "Variable",
24450
24407
  "canonicalReference": "@fluentui/web-components!styles:var",
24451
- "docComment": "",
24408
+ "docComment": "/**\n * The styles for the Button component.\n *\n * @public\n */\n",
24452
24409
  "excerptTokens": [
24453
24410
  {
24454
24411
  "kind": "Content",
@@ -27458,7 +27415,7 @@
27458
27415
  {
27459
27416
  "kind": "Class",
27460
27417
  "canonicalReference": "@fluentui/web-components!ToggleButton:class",
27461
- "docComment": "/**\n * The base class used for constructing a fluent-toggle-button custom element\n *\n * @public\n */\n",
27418
+ "docComment": "/**\n * The base class used for constructing a `<fluent-toggle-button>` custom element.\n *\n * @public\n */\n",
27462
27419
  "excerptTokens": [
27463
27420
  {
27464
27421
  "kind": "Content",
@@ -27478,172 +27435,6 @@
27478
27435
  "name": "ToggleButton",
27479
27436
  "preserveMemberOrder": false,
27480
27437
  "members": [
27481
- {
27482
- "kind": "Constructor",
27483
- "canonicalReference": "@fluentui/web-components!ToggleButton:constructor(1)",
27484
- "docComment": "/**\n * Constructs a new instance of the `ToggleButton` class\n */\n",
27485
- "excerptTokens": [
27486
- {
27487
- "kind": "Content",
27488
- "text": "constructor();"
27489
- }
27490
- ],
27491
- "releaseTag": "Public",
27492
- "isProtected": false,
27493
- "overloadIndex": 1,
27494
- "parameters": []
27495
- },
27496
- {
27497
- "kind": "Property",
27498
- "canonicalReference": "@fluentui/web-components!ToggleButton#checked:member",
27499
- "docComment": "/**\n * The checked state of the control.\n *\n * @public\n */\n",
27500
- "excerptTokens": [
27501
- {
27502
- "kind": "Content",
27503
- "text": "checked: "
27504
- },
27505
- {
27506
- "kind": "Content",
27507
- "text": "boolean"
27508
- },
27509
- {
27510
- "kind": "Content",
27511
- "text": ";"
27512
- }
27513
- ],
27514
- "isReadonly": false,
27515
- "isOptional": false,
27516
- "releaseTag": "Public",
27517
- "name": "checked",
27518
- "propertyTypeTokenRange": {
27519
- "startIndex": 1,
27520
- "endIndex": 2
27521
- },
27522
- "isStatic": false,
27523
- "isProtected": false
27524
- },
27525
- {
27526
- "kind": "Property",
27527
- "canonicalReference": "@fluentui/web-components!ToggleButton#checkedAttribute:member",
27528
- "docComment": "/**\n * Provides the default checkedness of the input element Passed down to proxy\n *\n * @remarks\n *\n * HTML Attribute: checked\n *\n * @public\n */\n",
27529
- "excerptTokens": [
27530
- {
27531
- "kind": "Content",
27532
- "text": "checkedAttribute: "
27533
- },
27534
- {
27535
- "kind": "Content",
27536
- "text": "boolean"
27537
- },
27538
- {
27539
- "kind": "Content",
27540
- "text": ";"
27541
- }
27542
- ],
27543
- "isReadonly": false,
27544
- "isOptional": false,
27545
- "releaseTag": "Public",
27546
- "name": "checkedAttribute",
27547
- "propertyTypeTokenRange": {
27548
- "startIndex": 1,
27549
- "endIndex": 2
27550
- },
27551
- "isStatic": false,
27552
- "isProtected": false
27553
- },
27554
- {
27555
- "kind": "Method",
27556
- "canonicalReference": "@fluentui/web-components!ToggleButton#checkedAttributeChanged:member(1)",
27557
- "docComment": "",
27558
- "excerptTokens": [
27559
- {
27560
- "kind": "Content",
27561
- "text": "protected checkedAttributeChanged(): "
27562
- },
27563
- {
27564
- "kind": "Content",
27565
- "text": "void"
27566
- },
27567
- {
27568
- "kind": "Content",
27569
- "text": ";"
27570
- }
27571
- ],
27572
- "isStatic": false,
27573
- "returnTypeTokenRange": {
27574
- "startIndex": 1,
27575
- "endIndex": 2
27576
- },
27577
- "releaseTag": "Public",
27578
- "isProtected": true,
27579
- "overloadIndex": 1,
27580
- "parameters": [],
27581
- "isOptional": false,
27582
- "name": "checkedAttributeChanged"
27583
- },
27584
- {
27585
- "kind": "Method",
27586
- "canonicalReference": "@fluentui/web-components!ToggleButton#checkedChanged:member(1)",
27587
- "docComment": "",
27588
- "excerptTokens": [
27589
- {
27590
- "kind": "Content",
27591
- "text": "protected checkedChanged(prev: "
27592
- },
27593
- {
27594
- "kind": "Content",
27595
- "text": "boolean | undefined"
27596
- },
27597
- {
27598
- "kind": "Content",
27599
- "text": ", next: "
27600
- },
27601
- {
27602
- "kind": "Content",
27603
- "text": "boolean"
27604
- },
27605
- {
27606
- "kind": "Content",
27607
- "text": "): "
27608
- },
27609
- {
27610
- "kind": "Content",
27611
- "text": "void"
27612
- },
27613
- {
27614
- "kind": "Content",
27615
- "text": ";"
27616
- }
27617
- ],
27618
- "isStatic": false,
27619
- "returnTypeTokenRange": {
27620
- "startIndex": 5,
27621
- "endIndex": 6
27622
- },
27623
- "releaseTag": "Public",
27624
- "isProtected": true,
27625
- "overloadIndex": 1,
27626
- "parameters": [
27627
- {
27628
- "parameterName": "prev",
27629
- "parameterTypeTokenRange": {
27630
- "startIndex": 1,
27631
- "endIndex": 2
27632
- },
27633
- "isOptional": false
27634
- },
27635
- {
27636
- "parameterName": "next",
27637
- "parameterTypeTokenRange": {
27638
- "startIndex": 3,
27639
- "endIndex": 4
27640
- },
27641
- "isOptional": false
27642
- }
27643
- ],
27644
- "isOptional": false,
27645
- "name": "checkedChanged"
27646
- },
27647
27438
  {
27648
27439
  "kind": "Method",
27649
27440
  "canonicalReference": "@fluentui/web-components!ToggleButton#connectedCallback:member(1)",
@@ -27676,12 +27467,12 @@
27676
27467
  },
27677
27468
  {
27678
27469
  "kind": "Property",
27679
- "canonicalReference": "@fluentui/web-components!ToggleButton#currentChecked:member",
27680
- "docComment": "/**\n * The current checkedness of the element. This property serves as a mechanism to set the `checked` property through both property assignment and the .setAttribute() method. This is useful for setting the field's checkedness in UI libraries that bind data through the .setAttribute() API and don't support IDL attribute binding.\n */\n",
27470
+ "canonicalReference": "@fluentui/web-components!ToggleButton#mixed:member",
27471
+ "docComment": "/**\n * Indicates the mixed state of the control. This property takes precedence over `pressed`.\n *\n * @remarks\n *\n * HTML Attribute: `mixed`\n *\n * @public\n */\n",
27681
27472
  "excerptTokens": [
27682
27473
  {
27683
27474
  "kind": "Content",
27684
- "text": "currentChecked: "
27475
+ "text": "mixed?: "
27685
27476
  },
27686
27477
  {
27687
27478
  "kind": "Content",
@@ -27693,101 +27484,9 @@
27693
27484
  }
27694
27485
  ],
27695
27486
  "isReadonly": false,
27696
- "isOptional": false,
27697
- "releaseTag": "Public",
27698
- "name": "currentChecked",
27699
- "propertyTypeTokenRange": {
27700
- "startIndex": 1,
27701
- "endIndex": 2
27702
- },
27703
- "isStatic": false,
27704
- "isProtected": false
27705
- },
27706
- {
27707
- "kind": "Method",
27708
- "canonicalReference": "@fluentui/web-components!ToggleButton#currentCheckedChanged:member(1)",
27709
- "docComment": "",
27710
- "excerptTokens": [
27711
- {
27712
- "kind": "Content",
27713
- "text": "currentCheckedChanged(prev: "
27714
- },
27715
- {
27716
- "kind": "Content",
27717
- "text": "boolean | undefined"
27718
- },
27719
- {
27720
- "kind": "Content",
27721
- "text": ", next: "
27722
- },
27723
- {
27724
- "kind": "Content",
27725
- "text": "boolean"
27726
- },
27727
- {
27728
- "kind": "Content",
27729
- "text": "): "
27730
- },
27731
- {
27732
- "kind": "Content",
27733
- "text": "void"
27734
- },
27735
- {
27736
- "kind": "Content",
27737
- "text": ";"
27738
- }
27739
- ],
27740
- "isStatic": false,
27741
- "returnTypeTokenRange": {
27742
- "startIndex": 5,
27743
- "endIndex": 6
27744
- },
27745
- "releaseTag": "Public",
27746
- "isProtected": false,
27747
- "overloadIndex": 1,
27748
- "parameters": [
27749
- {
27750
- "parameterName": "prev",
27751
- "parameterTypeTokenRange": {
27752
- "startIndex": 1,
27753
- "endIndex": 2
27754
- },
27755
- "isOptional": false
27756
- },
27757
- {
27758
- "parameterName": "next",
27759
- "parameterTypeTokenRange": {
27760
- "startIndex": 3,
27761
- "endIndex": 4
27762
- },
27763
- "isOptional": false
27764
- }
27765
- ],
27766
- "isOptional": false,
27767
- "name": "currentCheckedChanged"
27768
- },
27769
- {
27770
- "kind": "Property",
27771
- "canonicalReference": "@fluentui/web-components!ToggleButton#defaultChecked:member",
27772
- "docComment": "",
27773
- "excerptTokens": [
27774
- {
27775
- "kind": "Content",
27776
- "text": "defaultChecked: "
27777
- },
27778
- {
27779
- "kind": "Content",
27780
- "text": "boolean"
27781
- },
27782
- {
27783
- "kind": "Content",
27784
- "text": ";"
27785
- }
27786
- ],
27787
- "isReadonly": false,
27788
- "isOptional": false,
27487
+ "isOptional": true,
27789
27488
  "releaseTag": "Public",
27790
- "name": "defaultChecked",
27489
+ "name": "mixed",
27791
27490
  "propertyTypeTokenRange": {
27792
27491
  "startIndex": 1,
27793
27492
  "endIndex": 2
@@ -27797,12 +27496,12 @@
27797
27496
  },
27798
27497
  {
27799
27498
  "kind": "Method",
27800
- "canonicalReference": "@fluentui/web-components!ToggleButton#defaultCheckedChanged:member(1)",
27801
- "docComment": "",
27499
+ "canonicalReference": "@fluentui/web-components!ToggleButton#press:member(1)",
27500
+ "docComment": "/**\n * Toggles the pressed state of the button.\n *\n * @override\n */\n",
27802
27501
  "excerptTokens": [
27803
27502
  {
27804
27503
  "kind": "Content",
27805
- "text": "protected defaultCheckedChanged(): "
27504
+ "text": "protected press(): "
27806
27505
  },
27807
27506
  {
27808
27507
  "kind": "Content",
@@ -27823,16 +27522,16 @@
27823
27522
  "overloadIndex": 1,
27824
27523
  "parameters": [],
27825
27524
  "isOptional": false,
27826
- "name": "defaultCheckedChanged"
27525
+ "name": "press"
27827
27526
  },
27828
27527
  {
27829
27528
  "kind": "Property",
27830
- "canonicalReference": "@fluentui/web-components!ToggleButton#dirtyChecked:member",
27831
- "docComment": "/**\n * Tracks whether the \"checked\" property has been changed. This is necessary to provide consistent behavior with normal input checkboxes\n */\n",
27529
+ "canonicalReference": "@fluentui/web-components!ToggleButton#pressed:member",
27530
+ "docComment": "/**\n * Indicates the pressed state of the control.\n *\n * @remarks\n *\n * HTML Attribute: `pressed`\n *\n * @public\n */\n",
27832
27531
  "excerptTokens": [
27833
27532
  {
27834
27533
  "kind": "Content",
27835
- "text": "protected dirtyChecked: "
27534
+ "text": "pressed: "
27836
27535
  },
27837
27536
  {
27838
27537
  "kind": "Content",
@@ -27846,43 +27545,13 @@
27846
27545
  "isReadonly": false,
27847
27546
  "isOptional": false,
27848
27547
  "releaseTag": "Public",
27849
- "name": "dirtyChecked",
27548
+ "name": "pressed",
27850
27549
  "propertyTypeTokenRange": {
27851
27550
  "startIndex": 1,
27852
27551
  "endIndex": 2
27853
27552
  },
27854
27553
  "isStatic": false,
27855
- "isProtected": true
27856
- },
27857
- {
27858
- "kind": "Method",
27859
- "canonicalReference": "@fluentui/web-components!ToggleButton#disconnectedCallback:member(1)",
27860
- "docComment": "",
27861
- "excerptTokens": [
27862
- {
27863
- "kind": "Content",
27864
- "text": "disconnectedCallback(): "
27865
- },
27866
- {
27867
- "kind": "Content",
27868
- "text": "void"
27869
- },
27870
- {
27871
- "kind": "Content",
27872
- "text": ";"
27873
- }
27874
- ],
27875
- "isStatic": false,
27876
- "returnTypeTokenRange": {
27877
- "startIndex": 1,
27878
- "endIndex": 2
27879
- },
27880
- "releaseTag": "Public",
27881
- "isProtected": false,
27882
- "overloadIndex": 1,
27883
- "parameters": [],
27884
- "isOptional": false,
27885
- "name": "disconnectedCallback"
27554
+ "isProtected": false
27886
27555
  }
27887
27556
  ],
27888
27557
  "extendsTokenRange": {
@@ -28117,7 +27786,7 @@
28117
27786
  {
28118
27787
  "kind": "Variable",
28119
27788
  "canonicalReference": "@fluentui/web-components!ToggleButtonStyles:var",
28120
- "docComment": "",
27789
+ "docComment": "/**\n * The styles for the ToggleButton component.\n *\n * @public\n */\n",
28121
27790
  "excerptTokens": [
28122
27791
  {
28123
27792
  "kind": "Content",