@momentum-design/components 0.81.5 → 0.82.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -520,67 +520,6 @@
520
520
  }
521
521
  ]
522
522
  },
523
- {
524
- "kind": "javascript-module",
525
- "path": "components/appheader/appheader.component.js",
526
- "declarations": [
527
- {
528
- "kind": "class",
529
- "description": "The `mdc-appheader` component provides a structured and accessible app header layout.\nIt consists of three primary sections: leading, center, and trailing.\n\n- The **leading section** typically holds a **brand logo**, **brand name** or **menu icon**.\n- The **center section** can contain a **search bar**, **icons** or action controls.\n- The **trailing section** generally includes a **profile avatar**, **additional icons** or **action controls**.",
530
- "name": "Appheader",
531
- "cssParts": [
532
- {
533
- "description": "The main container for styling the header.",
534
- "name": "container"
535
- },
536
- {
537
- "description": "The leading section of the header.",
538
- "name": "leading-section"
539
- },
540
- {
541
- "description": "The center section of the header.",
542
- "name": "center-section"
543
- },
544
- {
545
- "description": "The trailing section of the header.",
546
- "name": "trailing-section"
547
- }
548
- ],
549
- "slots": [
550
- {
551
- "description": "Slot for the leading section (e.g., brand logo, brand name).",
552
- "name": "leading"
553
- },
554
- {
555
- "description": "Slot for the center section (e.g., search bar, icons).",
556
- "name": "center"
557
- },
558
- {
559
- "description": "Slot for the trailing section (e.g., profile avatar, icons).",
560
- "name": "trailing"
561
- }
562
- ],
563
- "members": [],
564
- "superclass": {
565
- "name": "Component",
566
- "module": "/src/models"
567
- },
568
- "tagName": "mdc-appheader",
569
- "jsDoc": "/**\n * The `mdc-appheader` component provides a structured and accessible app header layout.\n * It consists of three primary sections: leading, center, and trailing.\n *\n * - The **leading section** typically holds a **brand logo**, **brand name** or **menu icon**.\n * - The **center section** can contain a **search bar**, **icons** or action controls.\n * - The **trailing section** generally includes a **profile avatar**, **additional icons** or **action controls**.\n *\n * @tagname mdc-appheader\n *\n * @slot leading - Slot for the leading section (e.g., brand logo, brand name).\n * @slot center - Slot for the center section (e.g., search bar, icons).\n * @slot trailing - Slot for the trailing section (e.g., profile avatar, icons).\n *\n * @csspart container - The main container for styling the header.\n * @csspart leading-section - The leading section of the header.\n * @csspart center-section - The center section of the header.\n * @csspart trailing-section - The trailing section of the header.\n */",
570
- "customElement": true
571
- }
572
- ],
573
- "exports": [
574
- {
575
- "kind": "js",
576
- "name": "default",
577
- "declaration": {
578
- "name": "Appheader",
579
- "module": "components/appheader/appheader.component.js"
580
- }
581
- }
582
- ]
583
- },
584
523
  {
585
524
  "kind": "javascript-module",
586
525
  "path": "components/animation/animation.component.js",
@@ -793,6 +732,67 @@
793
732
  }
794
733
  ]
795
734
  },
735
+ {
736
+ "kind": "javascript-module",
737
+ "path": "components/appheader/appheader.component.js",
738
+ "declarations": [
739
+ {
740
+ "kind": "class",
741
+ "description": "The `mdc-appheader` component provides a structured and accessible app header layout.\nIt consists of three primary sections: leading, center, and trailing.\n\n- The **leading section** typically holds a **brand logo**, **brand name** or **menu icon**.\n- The **center section** can contain a **search bar**, **icons** or action controls.\n- The **trailing section** generally includes a **profile avatar**, **additional icons** or **action controls**.",
742
+ "name": "Appheader",
743
+ "cssParts": [
744
+ {
745
+ "description": "The main container for styling the header.",
746
+ "name": "container"
747
+ },
748
+ {
749
+ "description": "The leading section of the header.",
750
+ "name": "leading-section"
751
+ },
752
+ {
753
+ "description": "The center section of the header.",
754
+ "name": "center-section"
755
+ },
756
+ {
757
+ "description": "The trailing section of the header.",
758
+ "name": "trailing-section"
759
+ }
760
+ ],
761
+ "slots": [
762
+ {
763
+ "description": "Slot for the leading section (e.g., brand logo, brand name).",
764
+ "name": "leading"
765
+ },
766
+ {
767
+ "description": "Slot for the center section (e.g., search bar, icons).",
768
+ "name": "center"
769
+ },
770
+ {
771
+ "description": "Slot for the trailing section (e.g., profile avatar, icons).",
772
+ "name": "trailing"
773
+ }
774
+ ],
775
+ "members": [],
776
+ "superclass": {
777
+ "name": "Component",
778
+ "module": "/src/models"
779
+ },
780
+ "tagName": "mdc-appheader",
781
+ "jsDoc": "/**\n * The `mdc-appheader` component provides a structured and accessible app header layout.\n * It consists of three primary sections: leading, center, and trailing.\n *\n * - The **leading section** typically holds a **brand logo**, **brand name** or **menu icon**.\n * - The **center section** can contain a **search bar**, **icons** or action controls.\n * - The **trailing section** generally includes a **profile avatar**, **additional icons** or **action controls**.\n *\n * @tagname mdc-appheader\n *\n * @slot leading - Slot for the leading section (e.g., brand logo, brand name).\n * @slot center - Slot for the center section (e.g., search bar, icons).\n * @slot trailing - Slot for the trailing section (e.g., profile avatar, icons).\n *\n * @csspart container - The main container for styling the header.\n * @csspart leading-section - The leading section of the header.\n * @csspart center-section - The center section of the header.\n * @csspart trailing-section - The trailing section of the header.\n */",
782
+ "customElement": true
783
+ }
784
+ ],
785
+ "exports": [
786
+ {
787
+ "kind": "js",
788
+ "name": "default",
789
+ "declaration": {
790
+ "name": "Appheader",
791
+ "module": "components/appheader/appheader.component.js"
792
+ }
793
+ }
794
+ ]
795
+ },
796
796
  {
797
797
  "kind": "javascript-module",
798
798
  "path": "components/avatar/avatar.component.js",
@@ -3644,6 +3644,386 @@
3644
3644
  }
3645
3645
  ]
3646
3646
  },
3647
+ {
3648
+ "kind": "javascript-module",
3649
+ "path": "components/buttonsimple/buttonsimple.component.js",
3650
+ "declarations": [
3651
+ {
3652
+ "kind": "class",
3653
+ "description": "`mdc-buttonsimple` is a component that can be configured in various ways to suit different use cases.\nIt is used as an internal component and is not intended to be used directly by consumers.\nConsumers should use the `mdc-button` component instead.",
3654
+ "name": "Buttonsimple",
3655
+ "members": [
3656
+ {
3657
+ "kind": "field",
3658
+ "name": "active",
3659
+ "type": {
3660
+ "text": "boolean | undefined"
3661
+ },
3662
+ "description": "The button's active state indicates whether it is currently toggled on (active) or off (inactive).\nWhen the active state is true, the button is considered to be in an active state, meaning it is toggled on.\nConversely, when the active state is false, the button is in an inactive state, indicating it is toggled off.\n\nThis attribute is used to set the provided `ariaStateKey` to true or false.",
3663
+ "default": "undefined",
3664
+ "attribute": "active",
3665
+ "reflects": true
3666
+ },
3667
+ {
3668
+ "kind": "field",
3669
+ "name": "softDisabled",
3670
+ "type": {
3671
+ "text": "boolean | undefined"
3672
+ },
3673
+ "description": "Indicates whether the button is soft disabled.\nWhen set to `true`, the button appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe button behaves like a disabled button, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
3674
+ "default": "undefined",
3675
+ "attribute": "soft-disabled",
3676
+ "reflects": true
3677
+ },
3678
+ {
3679
+ "kind": "field",
3680
+ "name": "size",
3681
+ "type": {
3682
+ "text": "ButtonSize"
3683
+ },
3684
+ "description": "Simplebutton size is a super set of all the sizes supported by children components.",
3685
+ "default": "32",
3686
+ "attribute": "size",
3687
+ "reflects": true
3688
+ },
3689
+ {
3690
+ "kind": "field",
3691
+ "name": "role",
3692
+ "description": "This property defines the ARIA role for the element. By default, it is set to 'button'.\nConsumers should override this role when:\n- The element is being used in a context where a different role is more appropriate.\n- Custom behaviors are implemented that require a specific ARIA role for accessibility purposes.",
3693
+ "default": "button",
3694
+ "attribute": "role",
3695
+ "reflects": true
3696
+ },
3697
+ {
3698
+ "kind": "field",
3699
+ "name": "ariaStateKey",
3700
+ "type": {
3701
+ "text": "string | undefined"
3702
+ },
3703
+ "description": "This property defines the ARIA state key, which will be toggled when the\nButton is set to `active`.\nThe default value is 'aria-pressed', which is commonly used for toggle buttons.\n\nConsumers can override this property to use a different ARIA state key if needed.\nIn case multiple aria attributes should be toggled, they can be passed in as\na comma separated string.\nFor example: `aria-pressed,aria-expanded`",
3704
+ "default": "'aria-pressed' (when)",
3705
+ "attribute": "ariaStateKey",
3706
+ "reflects": true
3707
+ },
3708
+ {
3709
+ "kind": "field",
3710
+ "name": "type",
3711
+ "type": {
3712
+ "text": "ButtonType"
3713
+ },
3714
+ "description": "This property defines the type attribute for the button element.\nThe type attribute specifies the behavior of the button when it is clicked.\n- **submit**: The button submits the form data to the server.\n- **reset**: The button resets the form data to its initial state.\n- **button**: The button does nothing when clicked.",
3715
+ "default": "button",
3716
+ "attribute": "type",
3717
+ "reflects": true
3718
+ },
3719
+ {
3720
+ "kind": "method",
3721
+ "name": "executeAction",
3722
+ "privacy": "protected"
3723
+ },
3724
+ {
3725
+ "kind": "method",
3726
+ "name": "setActive",
3727
+ "privacy": "protected",
3728
+ "parameters": [
3729
+ {
3730
+ "name": "element",
3731
+ "type": {
3732
+ "text": "HTMLElement"
3733
+ },
3734
+ "description": "The button element"
3735
+ },
3736
+ {
3737
+ "name": "active",
3738
+ "optional": true,
3739
+ "type": {
3740
+ "text": "boolean"
3741
+ },
3742
+ "description": "The active state of the element"
3743
+ }
3744
+ ],
3745
+ "description": "Sets the ariaStateKey attributes based on the active state of the button."
3746
+ },
3747
+ {
3748
+ "kind": "method",
3749
+ "name": "setSoftDisabled",
3750
+ "privacy": "private",
3751
+ "parameters": [
3752
+ {
3753
+ "name": "element",
3754
+ "type": {
3755
+ "text": "HTMLElement"
3756
+ },
3757
+ "description": "The button element."
3758
+ },
3759
+ {
3760
+ "name": "softDisabled",
3761
+ "optional": true,
3762
+ "type": {
3763
+ "text": "boolean"
3764
+ },
3765
+ "description": "The soft-disabled state."
3766
+ }
3767
+ ],
3768
+ "description": "Sets the soft-disabled attribute for the button.\nWhen soft-disabled, the button looks to be disabled but remains focusable and clickable.\nAlso sets/removes aria-disabled attribute."
3769
+ },
3770
+ {
3771
+ "kind": "method",
3772
+ "name": "setDisabled",
3773
+ "privacy": "private",
3774
+ "parameters": [
3775
+ {
3776
+ "name": "element",
3777
+ "type": {
3778
+ "text": "HTMLElement"
3779
+ },
3780
+ "description": "The button element."
3781
+ },
3782
+ {
3783
+ "name": "disabled",
3784
+ "type": {
3785
+ "text": "boolean"
3786
+ },
3787
+ "description": "The disabled state."
3788
+ }
3789
+ ],
3790
+ "description": "Sets the disabled attribute for the button.\nWhen disabled, the button is not focusable or clickable, and tabindex is set to -1.\nThe previous tabindex is stored and restored when enabled.\nAlso sets/removes aria-disabled attribute."
3791
+ },
3792
+ {
3793
+ "kind": "method",
3794
+ "name": "triggerClickEvent",
3795
+ "privacy": "private"
3796
+ },
3797
+ {
3798
+ "kind": "method",
3799
+ "name": "handleBlur",
3800
+ "privacy": "private",
3801
+ "description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed."
3802
+ },
3803
+ {
3804
+ "kind": "method",
3805
+ "name": "handleKeyDown",
3806
+ "privacy": "private",
3807
+ "parameters": [
3808
+ {
3809
+ "name": "event",
3810
+ "type": {
3811
+ "text": "KeyboardEvent"
3812
+ },
3813
+ "description": "The keyboard event."
3814
+ }
3815
+ ],
3816
+ "description": "Handles the keydown event on the button.\nIf the key is 'Enter' or 'Space', the button is pressed.\nIf the key is 'Enter', the button is pressed. The native HTML button works in the same way.\nIf the key is 'Space', the button's default is prevent to avoid scrolling etc in the host application."
3817
+ },
3818
+ {
3819
+ "kind": "method",
3820
+ "name": "handleKeyUp",
3821
+ "privacy": "private",
3822
+ "parameters": [
3823
+ {
3824
+ "name": "event",
3825
+ "type": {
3826
+ "text": "KeyboardEvent"
3827
+ },
3828
+ "description": "The keyboard event."
3829
+ }
3830
+ ],
3831
+ "description": "Handles the keyup event on the button.\nIf the key is 'Enter' or 'Space', the button is clicked.\nIf the key is 'Space', the button is pressed. The native HTML button works in the same way."
3832
+ },
3833
+ {
3834
+ "kind": "field",
3835
+ "name": "autofocus",
3836
+ "type": {
3837
+ "text": "boolean"
3838
+ },
3839
+ "default": "false",
3840
+ "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
3841
+ "attribute": "autofocus",
3842
+ "reflects": true,
3843
+ "inheritedFrom": {
3844
+ "name": "AutoFocusMixin",
3845
+ "module": "utils/mixins/AutoFocusMixin.js"
3846
+ }
3847
+ },
3848
+ {
3849
+ "kind": "field",
3850
+ "name": "tabIndex",
3851
+ "type": {
3852
+ "text": "number"
3853
+ },
3854
+ "default": "0",
3855
+ "description": "This property specifies the tab order of the element.",
3856
+ "attribute": "tabIndex",
3857
+ "reflects": true,
3858
+ "inheritedFrom": {
3859
+ "name": "TabIndexMixin",
3860
+ "module": "utils/mixins/TabIndexMixin.js"
3861
+ }
3862
+ },
3863
+ {
3864
+ "kind": "field",
3865
+ "name": "disabled",
3866
+ "type": {
3867
+ "text": "boolean | undefined"
3868
+ },
3869
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
3870
+ "default": "undefined",
3871
+ "attribute": "disabled",
3872
+ "reflects": true,
3873
+ "inheritedFrom": {
3874
+ "name": "DisabledMixin",
3875
+ "module": "utils/mixins/DisabledMixin.js"
3876
+ }
3877
+ }
3878
+ ],
3879
+ "events": [
3880
+ {
3881
+ "description": "(React: onClick) This event is dispatched when the button is clicked.",
3882
+ "name": "click",
3883
+ "reactName": "onClick"
3884
+ },
3885
+ {
3886
+ "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the button.",
3887
+ "name": "keydown",
3888
+ "reactName": "onKeyDown"
3889
+ },
3890
+ {
3891
+ "description": "(React: onKeyUp) This event is dispatched when a key is released on the button.",
3892
+ "name": "keyup",
3893
+ "reactName": "onKeyUp"
3894
+ },
3895
+ {
3896
+ "description": "(React: onFocus) This event is dispatched when the button receives focus.",
3897
+ "name": "focus",
3898
+ "reactName": "onFocus"
3899
+ }
3900
+ ],
3901
+ "attributes": [
3902
+ {
3903
+ "name": "active",
3904
+ "type": {
3905
+ "text": "boolean | undefined"
3906
+ },
3907
+ "description": "The button's active state indicates whether it is currently toggled on (active) or off (inactive).\nWhen the active state is true, the button is considered to be in an active state, meaning it is toggled on.\nConversely, when the active state is false, the button is in an inactive state, indicating it is toggled off.\n\nThis attribute is used to set the provided `ariaStateKey` to true or false.",
3908
+ "default": "undefined",
3909
+ "fieldName": "active"
3910
+ },
3911
+ {
3912
+ "name": "soft-disabled",
3913
+ "type": {
3914
+ "text": "boolean | undefined"
3915
+ },
3916
+ "description": "Indicates whether the button is soft disabled.\nWhen set to `true`, the button appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe button behaves like a disabled button, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
3917
+ "default": "undefined",
3918
+ "fieldName": "softDisabled"
3919
+ },
3920
+ {
3921
+ "name": "size",
3922
+ "type": {
3923
+ "text": "ButtonSize"
3924
+ },
3925
+ "description": "Simplebutton size is a super set of all the sizes supported by children components.",
3926
+ "default": "32",
3927
+ "fieldName": "size"
3928
+ },
3929
+ {
3930
+ "name": "role",
3931
+ "description": "This property defines the ARIA role for the element. By default, it is set to 'button'.\nConsumers should override this role when:\n- The element is being used in a context where a different role is more appropriate.\n- Custom behaviors are implemented that require a specific ARIA role for accessibility purposes.",
3932
+ "default": "button",
3933
+ "fieldName": "role"
3934
+ },
3935
+ {
3936
+ "name": "ariaStateKey",
3937
+ "type": {
3938
+ "text": "string | undefined"
3939
+ },
3940
+ "description": "This property defines the ARIA state key, which will be toggled when the\nButton is set to `active`.\nThe default value is 'aria-pressed', which is commonly used for toggle buttons.\n\nConsumers can override this property to use a different ARIA state key if needed.\nIn case multiple aria attributes should be toggled, they can be passed in as\na comma separated string.\nFor example: `aria-pressed,aria-expanded`",
3941
+ "default": "'aria-pressed' (when)",
3942
+ "fieldName": "ariaStateKey"
3943
+ },
3944
+ {
3945
+ "name": "type",
3946
+ "type": {
3947
+ "text": "ButtonType"
3948
+ },
3949
+ "description": "This property defines the type attribute for the button element.\nThe type attribute specifies the behavior of the button when it is clicked.\n- **submit**: The button submits the form data to the server.\n- **reset**: The button resets the form data to its initial state.\n- **button**: The button does nothing when clicked.",
3950
+ "default": "button",
3951
+ "fieldName": "type"
3952
+ },
3953
+ {
3954
+ "name": "autofocus",
3955
+ "type": {
3956
+ "text": "boolean"
3957
+ },
3958
+ "default": "false",
3959
+ "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
3960
+ "fieldName": "autofocus",
3961
+ "inheritedFrom": {
3962
+ "name": "AutoFocusMixin",
3963
+ "module": "src/utils/mixins/AutoFocusMixin.ts"
3964
+ }
3965
+ },
3966
+ {
3967
+ "name": "tabIndex",
3968
+ "type": {
3969
+ "text": "number"
3970
+ },
3971
+ "default": "0",
3972
+ "description": "This property specifies the tab order of the element.",
3973
+ "fieldName": "tabIndex",
3974
+ "inheritedFrom": {
3975
+ "name": "TabIndexMixin",
3976
+ "module": "src/utils/mixins/TabIndexMixin.ts"
3977
+ }
3978
+ },
3979
+ {
3980
+ "name": "disabled",
3981
+ "type": {
3982
+ "text": "boolean | undefined"
3983
+ },
3984
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
3985
+ "default": "undefined",
3986
+ "fieldName": "disabled",
3987
+ "inheritedFrom": {
3988
+ "name": "DisabledMixin",
3989
+ "module": "src/utils/mixins/DisabledMixin.ts"
3990
+ }
3991
+ }
3992
+ ],
3993
+ "mixins": [
3994
+ {
3995
+ "name": "AutoFocusMixin",
3996
+ "module": "/src/utils/mixins/AutoFocusMixin"
3997
+ },
3998
+ {
3999
+ "name": "TabIndexMixin",
4000
+ "module": "/src/utils/mixins/TabIndexMixin"
4001
+ },
4002
+ {
4003
+ "name": "DisabledMixin",
4004
+ "module": "/src/utils/mixins/DisabledMixin"
4005
+ }
4006
+ ],
4007
+ "superclass": {
4008
+ "name": "Component",
4009
+ "module": "/src/models"
4010
+ },
4011
+ "tagName": "mdc-buttonsimple",
4012
+ "jsDoc": "/**\n * `mdc-buttonsimple` is a component that can be configured in various ways to suit different use cases.\n * It is used as an internal component and is not intended to be used directly by consumers.\n * Consumers should use the `mdc-button` component instead.\n *\n * @event click - (React: onClick) This event is dispatched when the button is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the button.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the button.\n * @event focus - (React: onFocus) This event is dispatched when the button receives focus.\n *\n * @tagname mdc-buttonsimple\n */",
4013
+ "customElement": true
4014
+ }
4015
+ ],
4016
+ "exports": [
4017
+ {
4018
+ "kind": "js",
4019
+ "name": "default",
4020
+ "declaration": {
4021
+ "name": "Buttonsimple",
4022
+ "module": "components/buttonsimple/buttonsimple.component.js"
4023
+ }
4024
+ }
4025
+ ]
4026
+ },
3647
4027
  {
3648
4028
  "kind": "javascript-module",
3649
4029
  "path": "components/card/card.component.js",
@@ -4045,386 +4425,6 @@
4045
4425
  }
4046
4426
  ]
4047
4427
  },
4048
- {
4049
- "kind": "javascript-module",
4050
- "path": "components/buttonsimple/buttonsimple.component.js",
4051
- "declarations": [
4052
- {
4053
- "kind": "class",
4054
- "description": "`mdc-buttonsimple` is a component that can be configured in various ways to suit different use cases.\nIt is used as an internal component and is not intended to be used directly by consumers.\nConsumers should use the `mdc-button` component instead.",
4055
- "name": "Buttonsimple",
4056
- "members": [
4057
- {
4058
- "kind": "field",
4059
- "name": "active",
4060
- "type": {
4061
- "text": "boolean | undefined"
4062
- },
4063
- "description": "The button's active state indicates whether it is currently toggled on (active) or off (inactive).\nWhen the active state is true, the button is considered to be in an active state, meaning it is toggled on.\nConversely, when the active state is false, the button is in an inactive state, indicating it is toggled off.\n\nThis attribute is used to set the provided `ariaStateKey` to true or false.",
4064
- "default": "undefined",
4065
- "attribute": "active",
4066
- "reflects": true
4067
- },
4068
- {
4069
- "kind": "field",
4070
- "name": "softDisabled",
4071
- "type": {
4072
- "text": "boolean | undefined"
4073
- },
4074
- "description": "Indicates whether the button is soft disabled.\nWhen set to `true`, the button appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe button behaves like a disabled button, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
4075
- "default": "undefined",
4076
- "attribute": "soft-disabled",
4077
- "reflects": true
4078
- },
4079
- {
4080
- "kind": "field",
4081
- "name": "size",
4082
- "type": {
4083
- "text": "ButtonSize"
4084
- },
4085
- "description": "Simplebutton size is a super set of all the sizes supported by children components.",
4086
- "default": "32",
4087
- "attribute": "size",
4088
- "reflects": true
4089
- },
4090
- {
4091
- "kind": "field",
4092
- "name": "role",
4093
- "description": "This property defines the ARIA role for the element. By default, it is set to 'button'.\nConsumers should override this role when:\n- The element is being used in a context where a different role is more appropriate.\n- Custom behaviors are implemented that require a specific ARIA role for accessibility purposes.",
4094
- "default": "button",
4095
- "attribute": "role",
4096
- "reflects": true
4097
- },
4098
- {
4099
- "kind": "field",
4100
- "name": "ariaStateKey",
4101
- "type": {
4102
- "text": "string | undefined"
4103
- },
4104
- "description": "This property defines the ARIA state key, which will be toggled when the\nButton is set to `active`.\nThe default value is 'aria-pressed', which is commonly used for toggle buttons.\n\nConsumers can override this property to use a different ARIA state key if needed.\nIn case multiple aria attributes should be toggled, they can be passed in as\na comma separated string.\nFor example: `aria-pressed,aria-expanded`",
4105
- "default": "'aria-pressed' (when)",
4106
- "attribute": "ariaStateKey",
4107
- "reflects": true
4108
- },
4109
- {
4110
- "kind": "field",
4111
- "name": "type",
4112
- "type": {
4113
- "text": "ButtonType"
4114
- },
4115
- "description": "This property defines the type attribute for the button element.\nThe type attribute specifies the behavior of the button when it is clicked.\n- **submit**: The button submits the form data to the server.\n- **reset**: The button resets the form data to its initial state.\n- **button**: The button does nothing when clicked.",
4116
- "default": "button",
4117
- "attribute": "type",
4118
- "reflects": true
4119
- },
4120
- {
4121
- "kind": "method",
4122
- "name": "executeAction",
4123
- "privacy": "protected"
4124
- },
4125
- {
4126
- "kind": "method",
4127
- "name": "setActive",
4128
- "privacy": "protected",
4129
- "parameters": [
4130
- {
4131
- "name": "element",
4132
- "type": {
4133
- "text": "HTMLElement"
4134
- },
4135
- "description": "The button element"
4136
- },
4137
- {
4138
- "name": "active",
4139
- "optional": true,
4140
- "type": {
4141
- "text": "boolean"
4142
- },
4143
- "description": "The active state of the element"
4144
- }
4145
- ],
4146
- "description": "Sets the ariaStateKey attributes based on the active state of the button."
4147
- },
4148
- {
4149
- "kind": "method",
4150
- "name": "setSoftDisabled",
4151
- "privacy": "private",
4152
- "parameters": [
4153
- {
4154
- "name": "element",
4155
- "type": {
4156
- "text": "HTMLElement"
4157
- },
4158
- "description": "The button element."
4159
- },
4160
- {
4161
- "name": "softDisabled",
4162
- "optional": true,
4163
- "type": {
4164
- "text": "boolean"
4165
- },
4166
- "description": "The soft-disabled state."
4167
- }
4168
- ],
4169
- "description": "Sets the soft-disabled attribute for the button.\nWhen soft-disabled, the button looks to be disabled but remains focusable and clickable.\nAlso sets/removes aria-disabled attribute."
4170
- },
4171
- {
4172
- "kind": "method",
4173
- "name": "setDisabled",
4174
- "privacy": "private",
4175
- "parameters": [
4176
- {
4177
- "name": "element",
4178
- "type": {
4179
- "text": "HTMLElement"
4180
- },
4181
- "description": "The button element."
4182
- },
4183
- {
4184
- "name": "disabled",
4185
- "type": {
4186
- "text": "boolean"
4187
- },
4188
- "description": "The disabled state."
4189
- }
4190
- ],
4191
- "description": "Sets the disabled attribute for the button.\nWhen disabled, the button is not focusable or clickable, and tabindex is set to -1.\nThe previous tabindex is stored and restored when enabled.\nAlso sets/removes aria-disabled attribute."
4192
- },
4193
- {
4194
- "kind": "method",
4195
- "name": "triggerClickEvent",
4196
- "privacy": "private"
4197
- },
4198
- {
4199
- "kind": "method",
4200
- "name": "handleBlur",
4201
- "privacy": "private",
4202
- "description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed."
4203
- },
4204
- {
4205
- "kind": "method",
4206
- "name": "handleKeyDown",
4207
- "privacy": "private",
4208
- "parameters": [
4209
- {
4210
- "name": "event",
4211
- "type": {
4212
- "text": "KeyboardEvent"
4213
- },
4214
- "description": "The keyboard event."
4215
- }
4216
- ],
4217
- "description": "Handles the keydown event on the button.\nIf the key is 'Enter' or 'Space', the button is pressed.\nIf the key is 'Enter', the button is pressed. The native HTML button works in the same way.\nIf the key is 'Space', the button's default is prevent to avoid scrolling etc in the host application."
4218
- },
4219
- {
4220
- "kind": "method",
4221
- "name": "handleKeyUp",
4222
- "privacy": "private",
4223
- "parameters": [
4224
- {
4225
- "name": "event",
4226
- "type": {
4227
- "text": "KeyboardEvent"
4228
- },
4229
- "description": "The keyboard event."
4230
- }
4231
- ],
4232
- "description": "Handles the keyup event on the button.\nIf the key is 'Enter' or 'Space', the button is clicked.\nIf the key is 'Space', the button is pressed. The native HTML button works in the same way."
4233
- },
4234
- {
4235
- "kind": "field",
4236
- "name": "autofocus",
4237
- "type": {
4238
- "text": "boolean"
4239
- },
4240
- "default": "false",
4241
- "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
4242
- "attribute": "autofocus",
4243
- "reflects": true,
4244
- "inheritedFrom": {
4245
- "name": "AutoFocusMixin",
4246
- "module": "utils/mixins/AutoFocusMixin.js"
4247
- }
4248
- },
4249
- {
4250
- "kind": "field",
4251
- "name": "tabIndex",
4252
- "type": {
4253
- "text": "number"
4254
- },
4255
- "default": "0",
4256
- "description": "This property specifies the tab order of the element.",
4257
- "attribute": "tabIndex",
4258
- "reflects": true,
4259
- "inheritedFrom": {
4260
- "name": "TabIndexMixin",
4261
- "module": "utils/mixins/TabIndexMixin.js"
4262
- }
4263
- },
4264
- {
4265
- "kind": "field",
4266
- "name": "disabled",
4267
- "type": {
4268
- "text": "boolean | undefined"
4269
- },
4270
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
4271
- "default": "undefined",
4272
- "attribute": "disabled",
4273
- "reflects": true,
4274
- "inheritedFrom": {
4275
- "name": "DisabledMixin",
4276
- "module": "utils/mixins/DisabledMixin.js"
4277
- }
4278
- }
4279
- ],
4280
- "events": [
4281
- {
4282
- "description": "(React: onClick) This event is dispatched when the button is clicked.",
4283
- "name": "click",
4284
- "reactName": "onClick"
4285
- },
4286
- {
4287
- "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the button.",
4288
- "name": "keydown",
4289
- "reactName": "onKeyDown"
4290
- },
4291
- {
4292
- "description": "(React: onKeyUp) This event is dispatched when a key is released on the button.",
4293
- "name": "keyup",
4294
- "reactName": "onKeyUp"
4295
- },
4296
- {
4297
- "description": "(React: onFocus) This event is dispatched when the button receives focus.",
4298
- "name": "focus",
4299
- "reactName": "onFocus"
4300
- }
4301
- ],
4302
- "attributes": [
4303
- {
4304
- "name": "active",
4305
- "type": {
4306
- "text": "boolean | undefined"
4307
- },
4308
- "description": "The button's active state indicates whether it is currently toggled on (active) or off (inactive).\nWhen the active state is true, the button is considered to be in an active state, meaning it is toggled on.\nConversely, when the active state is false, the button is in an inactive state, indicating it is toggled off.\n\nThis attribute is used to set the provided `ariaStateKey` to true or false.",
4309
- "default": "undefined",
4310
- "fieldName": "active"
4311
- },
4312
- {
4313
- "name": "soft-disabled",
4314
- "type": {
4315
- "text": "boolean | undefined"
4316
- },
4317
- "description": "Indicates whether the button is soft disabled.\nWhen set to `true`, the button appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe button behaves like a disabled button, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
4318
- "default": "undefined",
4319
- "fieldName": "softDisabled"
4320
- },
4321
- {
4322
- "name": "size",
4323
- "type": {
4324
- "text": "ButtonSize"
4325
- },
4326
- "description": "Simplebutton size is a super set of all the sizes supported by children components.",
4327
- "default": "32",
4328
- "fieldName": "size"
4329
- },
4330
- {
4331
- "name": "role",
4332
- "description": "This property defines the ARIA role for the element. By default, it is set to 'button'.\nConsumers should override this role when:\n- The element is being used in a context where a different role is more appropriate.\n- Custom behaviors are implemented that require a specific ARIA role for accessibility purposes.",
4333
- "default": "button",
4334
- "fieldName": "role"
4335
- },
4336
- {
4337
- "name": "ariaStateKey",
4338
- "type": {
4339
- "text": "string | undefined"
4340
- },
4341
- "description": "This property defines the ARIA state key, which will be toggled when the\nButton is set to `active`.\nThe default value is 'aria-pressed', which is commonly used for toggle buttons.\n\nConsumers can override this property to use a different ARIA state key if needed.\nIn case multiple aria attributes should be toggled, they can be passed in as\na comma separated string.\nFor example: `aria-pressed,aria-expanded`",
4342
- "default": "'aria-pressed' (when)",
4343
- "fieldName": "ariaStateKey"
4344
- },
4345
- {
4346
- "name": "type",
4347
- "type": {
4348
- "text": "ButtonType"
4349
- },
4350
- "description": "This property defines the type attribute for the button element.\nThe type attribute specifies the behavior of the button when it is clicked.\n- **submit**: The button submits the form data to the server.\n- **reset**: The button resets the form data to its initial state.\n- **button**: The button does nothing when clicked.",
4351
- "default": "button",
4352
- "fieldName": "type"
4353
- },
4354
- {
4355
- "name": "autofocus",
4356
- "type": {
4357
- "text": "boolean"
4358
- },
4359
- "default": "false",
4360
- "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
4361
- "fieldName": "autofocus",
4362
- "inheritedFrom": {
4363
- "name": "AutoFocusMixin",
4364
- "module": "src/utils/mixins/AutoFocusMixin.ts"
4365
- }
4366
- },
4367
- {
4368
- "name": "tabIndex",
4369
- "type": {
4370
- "text": "number"
4371
- },
4372
- "default": "0",
4373
- "description": "This property specifies the tab order of the element.",
4374
- "fieldName": "tabIndex",
4375
- "inheritedFrom": {
4376
- "name": "TabIndexMixin",
4377
- "module": "src/utils/mixins/TabIndexMixin.ts"
4378
- }
4379
- },
4380
- {
4381
- "name": "disabled",
4382
- "type": {
4383
- "text": "boolean | undefined"
4384
- },
4385
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
4386
- "default": "undefined",
4387
- "fieldName": "disabled",
4388
- "inheritedFrom": {
4389
- "name": "DisabledMixin",
4390
- "module": "src/utils/mixins/DisabledMixin.ts"
4391
- }
4392
- }
4393
- ],
4394
- "mixins": [
4395
- {
4396
- "name": "AutoFocusMixin",
4397
- "module": "/src/utils/mixins/AutoFocusMixin"
4398
- },
4399
- {
4400
- "name": "TabIndexMixin",
4401
- "module": "/src/utils/mixins/TabIndexMixin"
4402
- },
4403
- {
4404
- "name": "DisabledMixin",
4405
- "module": "/src/utils/mixins/DisabledMixin"
4406
- }
4407
- ],
4408
- "superclass": {
4409
- "name": "Component",
4410
- "module": "/src/models"
4411
- },
4412
- "tagName": "mdc-buttonsimple",
4413
- "jsDoc": "/**\n * `mdc-buttonsimple` is a component that can be configured in various ways to suit different use cases.\n * It is used as an internal component and is not intended to be used directly by consumers.\n * Consumers should use the `mdc-button` component instead.\n *\n * @event click - (React: onClick) This event is dispatched when the button is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the button.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the button.\n * @event focus - (React: onFocus) This event is dispatched when the button receives focus.\n *\n * @tagname mdc-buttonsimple\n */",
4414
- "customElement": true
4415
- }
4416
- ],
4417
- "exports": [
4418
- {
4419
- "kind": "js",
4420
- "name": "default",
4421
- "declaration": {
4422
- "name": "Buttonsimple",
4423
- "module": "components/buttonsimple/buttonsimple.component.js"
4424
- }
4425
- }
4426
- ]
4427
- },
4428
4428
  {
4429
4429
  "kind": "javascript-module",
4430
4430
  "path": "components/cardbutton/cardbutton.component.js",
@@ -29208,139 +29208,6 @@
29208
29208
  }
29209
29209
  ]
29210
29210
  },
29211
- {
29212
- "kind": "javascript-module",
29213
- "path": "components/spinner/spinner.component.js",
29214
- "declarations": [
29215
- {
29216
- "kind": "class",
29217
- "description": "`mdc-spinner` is loading spinner which is an indeterminate progress indicator, meaning\nit's best for cases where the progress or duration of a process is variable or unknown.\n\nSpinner Variants:\n- **Standalone (Default)**: Track has a blue color.\n- **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\nTo ensure a minimum 3:1 contrast ratio, the color is changed internally to be the same color as the button’s\nicon or label text.\n\nSpinner Sizes:\n- **Large (96px)**: Use when replacing entire regions or pages that are still loading\n- **MidSize (48px) (Default)**: Use for most use cases.\n- **Small (24px)**: Use for inline with loading text.\n\nCustomisation of the spinner size is allowed by setting the size to undefined and using the --mdc-spinner-size\nCSS property.\n\nSpinner Colors:\n- **Default**: Use for most use cases.\n- **Inverted**: Only to be used within inverted components, such as coachmarks.\n\nRegarding accessibility, if an aria-label is provided, the role will be set to 'img'; if it is absent, the role\nwill be unset\nand aria-hidden will be set to 'true' so the spinner will be ignored by screen readers.",
29218
- "name": "Spinner",
29219
- "cssProperties": [
29220
- {
29221
- "description": "Allows customization of the default spinner color.",
29222
- "name": "--mdc-spinner-default-color"
29223
- },
29224
- {
29225
- "description": "Allows customization of the inverted spinner color.",
29226
- "name": "--mdc-spinner-inverted-color"
29227
- },
29228
- {
29229
- "description": "Allows customization of the spinner Button variant color.",
29230
- "name": "--mdc-spinner-button-variant-color"
29231
- },
29232
- {
29233
- "description": "Allows customization of the spinner size.",
29234
- "name": "--mdc-spinner-size"
29235
- }
29236
- ],
29237
- "cssParts": [
29238
- {
29239
- "description": "The svg which contains the circle spinner.",
29240
- "name": "container"
29241
- },
29242
- {
29243
- "description": "The circle of the spinner.",
29244
- "name": "circle"
29245
- }
29246
- ],
29247
- "members": [
29248
- {
29249
- "kind": "field",
29250
- "name": "inverted",
29251
- "description": "The spinner color can be inverted by setting the inverted attribute to true.",
29252
- "default": "false",
29253
- "attribute": "inverted",
29254
- "reflects": true
29255
- },
29256
- {
29257
- "kind": "field",
29258
- "name": "size",
29259
- "type": {
29260
- "text": "SpinnerSize | undefined"
29261
- },
29262
- "description": "Size of the spinner.\nAcceptable values include:\n\n- 'small'\n- 'midsize'\n- 'large'\n- 'undefined'",
29263
- "default": "midsize",
29264
- "attribute": "size",
29265
- "reflects": true
29266
- },
29267
- {
29268
- "kind": "field",
29269
- "name": "ariaLabel",
29270
- "type": {
29271
- "text": "string | null"
29272
- },
29273
- "default": "null",
29274
- "description": "Aria-label attribute to be set for accessibility",
29275
- "attribute": "aria-label"
29276
- },
29277
- {
29278
- "kind": "field",
29279
- "name": "variant",
29280
- "type": {
29281
- "text": "SpinnerVariant"
29282
- },
29283
- "description": "There are 2 variants of spinner: default and button. Their coloring is different.\n- **Standalone (Default)**: Track has a blue color.\n- **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\nTo ensure a minimum 3:1 contrast ratio, change the active indicator color to be the same color as the button’s\nicon or label text.",
29284
- "default": "standalone",
29285
- "attribute": "variant",
29286
- "reflects": true
29287
- }
29288
- ],
29289
- "attributes": [
29290
- {
29291
- "name": "inverted",
29292
- "description": "The spinner color can be inverted by setting the inverted attribute to true.",
29293
- "default": "false",
29294
- "fieldName": "inverted"
29295
- },
29296
- {
29297
- "name": "size",
29298
- "type": {
29299
- "text": "SpinnerSize | undefined"
29300
- },
29301
- "description": "Size of the spinner.\nAcceptable values include:\n\n- 'small'\n- 'midsize'\n- 'large'\n- 'undefined'",
29302
- "default": "midsize",
29303
- "fieldName": "size"
29304
- },
29305
- {
29306
- "name": "aria-label",
29307
- "type": {
29308
- "text": "string | null"
29309
- },
29310
- "default": "null",
29311
- "description": "Aria-label attribute to be set for accessibility",
29312
- "fieldName": "ariaLabel"
29313
- },
29314
- {
29315
- "name": "variant",
29316
- "type": {
29317
- "text": "SpinnerVariant"
29318
- },
29319
- "description": "There are 2 variants of spinner: default and button. Their coloring is different.\n- **Standalone (Default)**: Track has a blue color.\n- **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\nTo ensure a minimum 3:1 contrast ratio, change the active indicator color to be the same color as the button’s\nicon or label text.",
29320
- "default": "standalone",
29321
- "fieldName": "variant"
29322
- }
29323
- ],
29324
- "superclass": {
29325
- "name": "Component",
29326
- "module": "/src/models"
29327
- },
29328
- "tagName": "mdc-spinner",
29329
- "jsDoc": "/**\n * `mdc-spinner` is loading spinner which is an indeterminate progress indicator, meaning\n * it's best for cases where the progress or duration of a process is variable or unknown.\n *\n * Spinner Variants:\n * - **Standalone (Default)**: Track has a blue color.\n * - **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\n * To ensure a minimum 3:1 contrast ratio, the color is changed internally to be the same color as the button’s\n * icon or label text.\n *\n * Spinner Sizes:\n * - **Large (96px)**: Use when replacing entire regions or pages that are still loading\n * - **MidSize (48px) (Default)**: Use for most use cases.\n * - **Small (24px)**: Use for inline with loading text.\n *\n * Customisation of the spinner size is allowed by setting the size to undefined and using the --mdc-spinner-size\n * CSS property.\n *\n * Spinner Colors:\n * - **Default**: Use for most use cases.\n * - **Inverted**: Only to be used within inverted components, such as coachmarks.\n *\n * Regarding accessibility, if an aria-label is provided, the role will be set to 'img'; if it is absent, the role\n * will be unset\n * and aria-hidden will be set to 'true' so the spinner will be ignored by screen readers.\n *\n * @tagname mdc-spinner\n *\n * @cssproperty --mdc-spinner-default-color - Allows customization of the default spinner color.\n * @cssproperty --mdc-spinner-inverted-color - Allows customization of the inverted spinner color.\n * @cssproperty --mdc-spinner-button-variant-color - Allows customization of the spinner Button variant color.\n * @cssproperty --mdc-spinner-size - Allows customization of the spinner size.\n *\n * @csspart container - The svg which contains the circle spinner.\n * @csspart circle - The circle of the spinner.\n */",
29330
- "customElement": true
29331
- }
29332
- ],
29333
- "exports": [
29334
- {
29335
- "kind": "js",
29336
- "name": "default",
29337
- "declaration": {
29338
- "name": "Spinner",
29339
- "module": "components/spinner/spinner.component.js"
29340
- }
29341
- }
29342
- ]
29343
- },
29344
29211
  {
29345
29212
  "kind": "javascript-module",
29346
29213
  "path": "components/staticcheckbox/staticcheckbox.component.js",
@@ -29807,6 +29674,139 @@
29807
29674
  }
29808
29675
  ]
29809
29676
  },
29677
+ {
29678
+ "kind": "javascript-module",
29679
+ "path": "components/spinner/spinner.component.js",
29680
+ "declarations": [
29681
+ {
29682
+ "kind": "class",
29683
+ "description": "`mdc-spinner` is loading spinner which is an indeterminate progress indicator, meaning\nit's best for cases where the progress or duration of a process is variable or unknown.\n\nSpinner Variants:\n- **Standalone (Default)**: Track has a blue color.\n- **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\nTo ensure a minimum 3:1 contrast ratio, the color is changed internally to be the same color as the button’s\nicon or label text.\n\nSpinner Sizes:\n- **Large (96px)**: Use when replacing entire regions or pages that are still loading\n- **MidSize (48px) (Default)**: Use for most use cases.\n- **Small (24px)**: Use for inline with loading text.\n\nCustomisation of the spinner size is allowed by setting the size to undefined and using the --mdc-spinner-size\nCSS property.\n\nSpinner Colors:\n- **Default**: Use for most use cases.\n- **Inverted**: Only to be used within inverted components, such as coachmarks.\n\nRegarding accessibility, if an aria-label is provided, the role will be set to 'img'; if it is absent, the role\nwill be unset\nand aria-hidden will be set to 'true' so the spinner will be ignored by screen readers.",
29684
+ "name": "Spinner",
29685
+ "cssProperties": [
29686
+ {
29687
+ "description": "Allows customization of the default spinner color.",
29688
+ "name": "--mdc-spinner-default-color"
29689
+ },
29690
+ {
29691
+ "description": "Allows customization of the inverted spinner color.",
29692
+ "name": "--mdc-spinner-inverted-color"
29693
+ },
29694
+ {
29695
+ "description": "Allows customization of the spinner Button variant color.",
29696
+ "name": "--mdc-spinner-button-variant-color"
29697
+ },
29698
+ {
29699
+ "description": "Allows customization of the spinner size.",
29700
+ "name": "--mdc-spinner-size"
29701
+ }
29702
+ ],
29703
+ "cssParts": [
29704
+ {
29705
+ "description": "The svg which contains the circle spinner.",
29706
+ "name": "container"
29707
+ },
29708
+ {
29709
+ "description": "The circle of the spinner.",
29710
+ "name": "circle"
29711
+ }
29712
+ ],
29713
+ "members": [
29714
+ {
29715
+ "kind": "field",
29716
+ "name": "inverted",
29717
+ "description": "The spinner color can be inverted by setting the inverted attribute to true.",
29718
+ "default": "false",
29719
+ "attribute": "inverted",
29720
+ "reflects": true
29721
+ },
29722
+ {
29723
+ "kind": "field",
29724
+ "name": "size",
29725
+ "type": {
29726
+ "text": "SpinnerSize | undefined"
29727
+ },
29728
+ "description": "Size of the spinner.\nAcceptable values include:\n\n- 'small'\n- 'midsize'\n- 'large'\n- 'undefined'",
29729
+ "default": "midsize",
29730
+ "attribute": "size",
29731
+ "reflects": true
29732
+ },
29733
+ {
29734
+ "kind": "field",
29735
+ "name": "ariaLabel",
29736
+ "type": {
29737
+ "text": "string | null"
29738
+ },
29739
+ "default": "null",
29740
+ "description": "Aria-label attribute to be set for accessibility",
29741
+ "attribute": "aria-label"
29742
+ },
29743
+ {
29744
+ "kind": "field",
29745
+ "name": "variant",
29746
+ "type": {
29747
+ "text": "SpinnerVariant"
29748
+ },
29749
+ "description": "There are 2 variants of spinner: default and button. Their coloring is different.\n- **Standalone (Default)**: Track has a blue color.\n- **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\nTo ensure a minimum 3:1 contrast ratio, change the active indicator color to be the same color as the button’s\nicon or label text.",
29750
+ "default": "standalone",
29751
+ "attribute": "variant",
29752
+ "reflects": true
29753
+ }
29754
+ ],
29755
+ "attributes": [
29756
+ {
29757
+ "name": "inverted",
29758
+ "description": "The spinner color can be inverted by setting the inverted attribute to true.",
29759
+ "default": "false",
29760
+ "fieldName": "inverted"
29761
+ },
29762
+ {
29763
+ "name": "size",
29764
+ "type": {
29765
+ "text": "SpinnerSize | undefined"
29766
+ },
29767
+ "description": "Size of the spinner.\nAcceptable values include:\n\n- 'small'\n- 'midsize'\n- 'large'\n- 'undefined'",
29768
+ "default": "midsize",
29769
+ "fieldName": "size"
29770
+ },
29771
+ {
29772
+ "name": "aria-label",
29773
+ "type": {
29774
+ "text": "string | null"
29775
+ },
29776
+ "default": "null",
29777
+ "description": "Aria-label attribute to be set for accessibility",
29778
+ "fieldName": "ariaLabel"
29779
+ },
29780
+ {
29781
+ "name": "variant",
29782
+ "type": {
29783
+ "text": "SpinnerVariant"
29784
+ },
29785
+ "description": "There are 2 variants of spinner: default and button. Their coloring is different.\n- **Standalone (Default)**: Track has a blue color.\n- **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\nTo ensure a minimum 3:1 contrast ratio, change the active indicator color to be the same color as the button’s\nicon or label text.",
29786
+ "default": "standalone",
29787
+ "fieldName": "variant"
29788
+ }
29789
+ ],
29790
+ "superclass": {
29791
+ "name": "Component",
29792
+ "module": "/src/models"
29793
+ },
29794
+ "tagName": "mdc-spinner",
29795
+ "jsDoc": "/**\n * `mdc-spinner` is loading spinner which is an indeterminate progress indicator, meaning\n * it's best for cases where the progress or duration of a process is variable or unknown.\n *\n * Spinner Variants:\n * - **Standalone (Default)**: Track has a blue color.\n * - **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\n * To ensure a minimum 3:1 contrast ratio, the color is changed internally to be the same color as the button’s\n * icon or label text.\n *\n * Spinner Sizes:\n * - **Large (96px)**: Use when replacing entire regions or pages that are still loading\n * - **MidSize (48px) (Default)**: Use for most use cases.\n * - **Small (24px)**: Use for inline with loading text.\n *\n * Customisation of the spinner size is allowed by setting the size to undefined and using the --mdc-spinner-size\n * CSS property.\n *\n * Spinner Colors:\n * - **Default**: Use for most use cases.\n * - **Inverted**: Only to be used within inverted components, such as coachmarks.\n *\n * Regarding accessibility, if an aria-label is provided, the role will be set to 'img'; if it is absent, the role\n * will be unset\n * and aria-hidden will be set to 'true' so the spinner will be ignored by screen readers.\n *\n * @tagname mdc-spinner\n *\n * @cssproperty --mdc-spinner-default-color - Allows customization of the default spinner color.\n * @cssproperty --mdc-spinner-inverted-color - Allows customization of the inverted spinner color.\n * @cssproperty --mdc-spinner-button-variant-color - Allows customization of the spinner Button variant color.\n * @cssproperty --mdc-spinner-size - Allows customization of the spinner size.\n *\n * @csspart container - The svg which contains the circle spinner.\n * @csspart circle - The circle of the spinner.\n */",
29796
+ "customElement": true
29797
+ }
29798
+ ],
29799
+ "exports": [
29800
+ {
29801
+ "kind": "js",
29802
+ "name": "default",
29803
+ "declaration": {
29804
+ "name": "Spinner",
29805
+ "module": "components/spinner/spinner.component.js"
29806
+ }
29807
+ }
29808
+ ]
29809
+ },
29810
29810
  {
29811
29811
  "kind": "javascript-module",
29812
29812
  "path": "components/tab/tab.component.js",
@@ -34250,140 +34250,6 @@
34250
34250
  }
34251
34251
  ]
34252
34252
  },
34253
- {
34254
- "kind": "javascript-module",
34255
- "path": "components/virtualizedlist/virtualizedlist.component.js",
34256
- "declarations": [
34257
- {
34258
- "kind": "class",
34259
- "description": "`mdc-virtualizedlist` component for creating custom virtualized lists.\nIMPORTANT: This component does not create it's own list/list items.\nUse the setlistdata callback prop to update client state in order to\nPass list/listitems as a child of this component, which this will virtuailze\nThis implementation handles dynamic lists as well as fixed sized lists.\nPlease refer to [Tanstack Virtual Docs](https://tanstack.com/virtual/latest) for more in depth documentation.",
34260
- "name": "VirtualizedList",
34261
- "slots": [
34262
- {
34263
- "description": "Client side List with nested list items.",
34264
- "name": ""
34265
- }
34266
- ],
34267
- "members": [
34268
- {
34269
- "kind": "field",
34270
- "name": "onscroll",
34271
- "type": {
34272
- "text": "((this: GlobalEventHandlers, ev: Event) => void) | null"
34273
- },
34274
- "description": "Callback that gets called when user scrolls inside of list. This gives access to the scroll container element\nas well via the event. Particularly useful for\nhandling logic related when the user scrolls to the top or bottom of a list.",
34275
- "default": "null",
34276
- "attribute": "onscroll"
34277
- },
34278
- {
34279
- "kind": "field",
34280
- "name": "virtualizerProps",
34281
- "type": {
34282
- "text": "VirtualizerProps"
34283
- },
34284
- "description": "Object that sets and updates the virtualizer with any relevant props.\nThere are two required object props in order to get virtualization to work properly.\ncount - The length of your list that you are virtualizing.\nAs your list grows/shrinks, this component must be updated with the appropriate value\n(Same with any other updated prop).\nestimateSize - A function that returns the estimated size of your items.\nIf your list is fixed, this will just be the size of your items.\nIf your list is dynamic, try to return approximate the size of each item.\n\nA full list of possible props can be in\n[Tanstack Virtualizer API Docs](https://tanstack.com/virtual/latest/docs/api/virtualizer)",
34285
- "attribute": "virtualizerprops"
34286
- },
34287
- {
34288
- "kind": "field",
34289
- "name": "setlistdata",
34290
- "type": {
34291
- "text": "(({ virtualItems, measureElement, listStyle }: SetListDataProps) => void) | null"
34292
- },
34293
- "description": "Callback that gets envoked when updates to the virtualizer interally occur.\nThis must be implemented in such a way that this function will trigger update to parent.\n\nvirtualItems - Array that will be what the client displays on screen. Use this to render\na List of your choosing with these items nested inside as your ListItems.\nmeasureElement - Ref to pass to each ListItem rendered client side.\nEach ListItem should also be be passed key and a data-index (which can be found on the virtualItem).\nlistStyle - This should be passed as the style attribute to your List.",
34294
- "default": "null",
34295
- "attribute": "setlistdata"
34296
- },
34297
- {
34298
- "kind": "field",
34299
- "name": "scrollElementRef",
34300
- "type": {
34301
- "text": "Ref<HTMLDivElement>"
34302
- },
34303
- "privacy": "public"
34304
- },
34305
- {
34306
- "kind": "field",
34307
- "name": "virtualizer",
34308
- "type": {
34309
- "text": "Virtualizer<Element, Element> | null"
34310
- },
34311
- "privacy": "public",
34312
- "default": "null"
34313
- },
34314
- {
34315
- "kind": "field",
34316
- "name": "virtualItems",
34317
- "type": {
34318
- "text": "Array<VirtualItem>"
34319
- },
34320
- "privacy": "public",
34321
- "default": "[]"
34322
- },
34323
- {
34324
- "kind": "field",
34325
- "name": "virtualizerController",
34326
- "type": {
34327
- "text": "null"
34328
- },
34329
- "default": "null"
34330
- }
34331
- ],
34332
- "events": [
34333
- {
34334
- "description": "(React: onScroll) Event that gets called when user scrolls inside of list.",
34335
- "name": "onscroll",
34336
- "reactName": "onScroll"
34337
- }
34338
- ],
34339
- "attributes": [
34340
- {
34341
- "name": "onscroll",
34342
- "type": {
34343
- "text": "((this: GlobalEventHandlers, ev: Event) => void) | null"
34344
- },
34345
- "description": "Callback that gets called when user scrolls inside of list. This gives access to the scroll container element\nas well via the event. Particularly useful for\nhandling logic related when the user scrolls to the top or bottom of a list.",
34346
- "default": "null",
34347
- "fieldName": "onscroll"
34348
- },
34349
- {
34350
- "name": "virtualizerprops",
34351
- "type": {
34352
- "text": "VirtualizerProps"
34353
- },
34354
- "description": "Object that sets and updates the virtualizer with any relevant props.\nThere are two required object props in order to get virtualization to work properly.\ncount - The length of your list that you are virtualizing.\nAs your list grows/shrinks, this component must be updated with the appropriate value\n(Same with any other updated prop).\nestimateSize - A function that returns the estimated size of your items.\nIf your list is fixed, this will just be the size of your items.\nIf your list is dynamic, try to return approximate the size of each item.\n\nA full list of possible props can be in\n[Tanstack Virtualizer API Docs](https://tanstack.com/virtual/latest/docs/api/virtualizer)",
34355
- "fieldName": "virtualizerProps"
34356
- },
34357
- {
34358
- "name": "setlistdata",
34359
- "type": {
34360
- "text": "(({ virtualItems, measureElement, listStyle }: SetListDataProps) => void) | null"
34361
- },
34362
- "description": "Callback that gets envoked when updates to the virtualizer interally occur.\nThis must be implemented in such a way that this function will trigger update to parent.\n\nvirtualItems - Array that will be what the client displays on screen. Use this to render\na List of your choosing with these items nested inside as your ListItems.\nmeasureElement - Ref to pass to each ListItem rendered client side.\nEach ListItem should also be be passed key and a data-index (which can be found on the virtualItem).\nlistStyle - This should be passed as the style attribute to your List.",
34363
- "default": "null",
34364
- "fieldName": "setlistdata"
34365
- }
34366
- ],
34367
- "superclass": {
34368
- "name": "Component",
34369
- "module": "/src/models"
34370
- },
34371
- "tagName": "mdc-virtualizedlist",
34372
- "jsDoc": "/**\n * `mdc-virtualizedlist` component for creating custom virtualized lists.\n * IMPORTANT: This component does not create it's own list/list items.\n * Use the setlistdata callback prop to update client state in order to\n * Pass list/listitems as a child of this component, which this will virtuailze\n * This implementation handles dynamic lists as well as fixed sized lists.\n * Please refer to [Tanstack Virtual Docs](https://tanstack.com/virtual/latest) for more in depth documentation.\n *\n * @tagname mdc-virtualizedlist\n *\n * @event onscroll - (React: onScroll) Event that gets called when user scrolls inside of list.\n *\n * @slot - Client side List with nested list items.\n */",
34373
- "customElement": true
34374
- }
34375
- ],
34376
- "exports": [
34377
- {
34378
- "kind": "js",
34379
- "name": "default",
34380
- "declaration": {
34381
- "name": "VirtualizedList",
34382
- "module": "components/virtualizedlist/virtualizedlist.component.js"
34383
- }
34384
- }
34385
- ]
34386
- },
34387
34253
  {
34388
34254
  "kind": "javascript-module",
34389
34255
  "path": "components/tooltip/tooltip.component.js",
@@ -36138,6 +36004,140 @@
36138
36004
  }
36139
36005
  ]
36140
36006
  },
36007
+ {
36008
+ "kind": "javascript-module",
36009
+ "path": "components/virtualizedlist/virtualizedlist.component.js",
36010
+ "declarations": [
36011
+ {
36012
+ "kind": "class",
36013
+ "description": "`mdc-virtualizedlist` component for creating custom virtualized lists.\nIMPORTANT: This component does not create it's own list/list items.\nUse the setlistdata callback prop to update client state in order to\nPass list/listitems as a child of this component, which this will virtuailze\nThis implementation handles dynamic lists as well as fixed sized lists.\nPlease refer to [Tanstack Virtual Docs](https://tanstack.com/virtual/latest) for more in depth documentation.",
36014
+ "name": "VirtualizedList",
36015
+ "slots": [
36016
+ {
36017
+ "description": "Client side List with nested list items.",
36018
+ "name": ""
36019
+ }
36020
+ ],
36021
+ "members": [
36022
+ {
36023
+ "kind": "field",
36024
+ "name": "onscroll",
36025
+ "type": {
36026
+ "text": "((this: GlobalEventHandlers, ev: Event) => void) | null"
36027
+ },
36028
+ "description": "Callback that gets called when user scrolls inside of list. This gives access to the scroll container element\nas well via the event. Particularly useful for\nhandling logic related when the user scrolls to the top or bottom of a list.",
36029
+ "default": "null",
36030
+ "attribute": "onscroll"
36031
+ },
36032
+ {
36033
+ "kind": "field",
36034
+ "name": "virtualizerProps",
36035
+ "type": {
36036
+ "text": "VirtualizerProps"
36037
+ },
36038
+ "description": "Object that sets and updates the virtualizer with any relevant props.\nThere are two required object props in order to get virtualization to work properly.\ncount - The length of your list that you are virtualizing.\nAs your list grows/shrinks, this component must be updated with the appropriate value\n(Same with any other updated prop).\nestimateSize - A function that returns the estimated size of your items.\nIf your list is fixed, this will just be the size of your items.\nIf your list is dynamic, try to return approximate the size of each item.\n\nA full list of possible props can be in\n[Tanstack Virtualizer API Docs](https://tanstack.com/virtual/latest/docs/api/virtualizer)",
36039
+ "attribute": "virtualizerprops"
36040
+ },
36041
+ {
36042
+ "kind": "field",
36043
+ "name": "setlistdata",
36044
+ "type": {
36045
+ "text": "(({ virtualItems, measureElement, listStyle }: SetListDataProps) => void) | null"
36046
+ },
36047
+ "description": "Callback that gets envoked when updates to the virtualizer interally occur.\nThis must be implemented in such a way that this function will trigger update to parent.\n\nvirtualItems - Array that will be what the client displays on screen. Use this to render\na List of your choosing with these items nested inside as your ListItems.\nmeasureElement - Ref to pass to each ListItem rendered client side.\nEach ListItem should also be be passed key and a data-index (which can be found on the virtualItem).\nlistStyle - This should be passed as the style attribute to your List.",
36048
+ "default": "null",
36049
+ "attribute": "setlistdata"
36050
+ },
36051
+ {
36052
+ "kind": "field",
36053
+ "name": "scrollElementRef",
36054
+ "type": {
36055
+ "text": "Ref<HTMLDivElement>"
36056
+ },
36057
+ "privacy": "public"
36058
+ },
36059
+ {
36060
+ "kind": "field",
36061
+ "name": "virtualizer",
36062
+ "type": {
36063
+ "text": "Virtualizer<Element, Element> | null"
36064
+ },
36065
+ "privacy": "public",
36066
+ "default": "null"
36067
+ },
36068
+ {
36069
+ "kind": "field",
36070
+ "name": "virtualItems",
36071
+ "type": {
36072
+ "text": "Array<VirtualItem>"
36073
+ },
36074
+ "privacy": "public",
36075
+ "default": "[]"
36076
+ },
36077
+ {
36078
+ "kind": "field",
36079
+ "name": "virtualizerController",
36080
+ "type": {
36081
+ "text": "null"
36082
+ },
36083
+ "default": "null"
36084
+ }
36085
+ ],
36086
+ "events": [
36087
+ {
36088
+ "description": "(React: onScroll) Event that gets called when user scrolls inside of list.",
36089
+ "name": "onscroll",
36090
+ "reactName": "onScroll"
36091
+ }
36092
+ ],
36093
+ "attributes": [
36094
+ {
36095
+ "name": "onscroll",
36096
+ "type": {
36097
+ "text": "((this: GlobalEventHandlers, ev: Event) => void) | null"
36098
+ },
36099
+ "description": "Callback that gets called when user scrolls inside of list. This gives access to the scroll container element\nas well via the event. Particularly useful for\nhandling logic related when the user scrolls to the top or bottom of a list.",
36100
+ "default": "null",
36101
+ "fieldName": "onscroll"
36102
+ },
36103
+ {
36104
+ "name": "virtualizerprops",
36105
+ "type": {
36106
+ "text": "VirtualizerProps"
36107
+ },
36108
+ "description": "Object that sets and updates the virtualizer with any relevant props.\nThere are two required object props in order to get virtualization to work properly.\ncount - The length of your list that you are virtualizing.\nAs your list grows/shrinks, this component must be updated with the appropriate value\n(Same with any other updated prop).\nestimateSize - A function that returns the estimated size of your items.\nIf your list is fixed, this will just be the size of your items.\nIf your list is dynamic, try to return approximate the size of each item.\n\nA full list of possible props can be in\n[Tanstack Virtualizer API Docs](https://tanstack.com/virtual/latest/docs/api/virtualizer)",
36109
+ "fieldName": "virtualizerProps"
36110
+ },
36111
+ {
36112
+ "name": "setlistdata",
36113
+ "type": {
36114
+ "text": "(({ virtualItems, measureElement, listStyle }: SetListDataProps) => void) | null"
36115
+ },
36116
+ "description": "Callback that gets envoked when updates to the virtualizer interally occur.\nThis must be implemented in such a way that this function will trigger update to parent.\n\nvirtualItems - Array that will be what the client displays on screen. Use this to render\na List of your choosing with these items nested inside as your ListItems.\nmeasureElement - Ref to pass to each ListItem rendered client side.\nEach ListItem should also be be passed key and a data-index (which can be found on the virtualItem).\nlistStyle - This should be passed as the style attribute to your List.",
36117
+ "default": "null",
36118
+ "fieldName": "setlistdata"
36119
+ }
36120
+ ],
36121
+ "superclass": {
36122
+ "name": "Component",
36123
+ "module": "/src/models"
36124
+ },
36125
+ "tagName": "mdc-virtualizedlist",
36126
+ "jsDoc": "/**\n * `mdc-virtualizedlist` component for creating custom virtualized lists.\n * IMPORTANT: This component does not create it's own list/list items.\n * Use the setlistdata callback prop to update client state in order to\n * Pass list/listitems as a child of this component, which this will virtuailze\n * This implementation handles dynamic lists as well as fixed sized lists.\n * Please refer to [Tanstack Virtual Docs](https://tanstack.com/virtual/latest) for more in depth documentation.\n *\n * @tagname mdc-virtualizedlist\n *\n * @event onscroll - (React: onScroll) Event that gets called when user scrolls inside of list.\n *\n * @slot - Client side List with nested list items.\n */",
36127
+ "customElement": true
36128
+ }
36129
+ ],
36130
+ "exports": [
36131
+ {
36132
+ "kind": "js",
36133
+ "name": "default",
36134
+ "declaration": {
36135
+ "name": "VirtualizedList",
36136
+ "module": "components/virtualizedlist/virtualizedlist.component.js"
36137
+ }
36138
+ }
36139
+ ]
36140
+ },
36141
36141
  {
36142
36142
  "kind": "javascript-module",
36143
36143
  "path": "utils/mixins/AutoFocusMixin.js",