@momentum-design/components 0.105.4 → 0.106.1

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.
@@ -1160,6 +1160,34 @@
1160
1160
  "module": "components/buttonsimple/buttonsimple.component.js"
1161
1161
  }
1162
1162
  },
1163
+ {
1164
+ "kind": "field",
1165
+ "name": "name",
1166
+ "type": {
1167
+ "text": "string | undefined"
1168
+ },
1169
+ "description": "The name of the button, submitted as a pair with the button's value as part of the form data,\nwhen that button is used to submit the form.",
1170
+ "attribute": "name",
1171
+ "reflects": true,
1172
+ "inheritedFrom": {
1173
+ "name": "Buttonsimple",
1174
+ "module": "components/buttonsimple/buttonsimple.component.js"
1175
+ }
1176
+ },
1177
+ {
1178
+ "kind": "field",
1179
+ "name": "value",
1180
+ "type": {
1181
+ "text": "string | undefined"
1182
+ },
1183
+ "description": "Defines the value associated with the button's name when it's submitted with the form data.\nThis value is passed to the server in params when the form is submitted using this button.",
1184
+ "attribute": "value",
1185
+ "reflects": true,
1186
+ "inheritedFrom": {
1187
+ "name": "Buttonsimple",
1188
+ "module": "components/buttonsimple/buttonsimple.component.js"
1189
+ }
1190
+ },
1163
1191
  {
1164
1192
  "kind": "method",
1165
1193
  "name": "executeAction",
@@ -1442,6 +1470,30 @@
1442
1470
  "name": "Buttonsimple",
1443
1471
  "module": "src/components/buttonsimple/buttonsimple.component.ts"
1444
1472
  }
1473
+ },
1474
+ {
1475
+ "name": "name",
1476
+ "type": {
1477
+ "text": "string | undefined"
1478
+ },
1479
+ "description": "The name of the button, submitted as a pair with the button's value as part of the form data,\nwhen that button is used to submit the form.",
1480
+ "fieldName": "name",
1481
+ "inheritedFrom": {
1482
+ "name": "Buttonsimple",
1483
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
1484
+ }
1485
+ },
1486
+ {
1487
+ "name": "value",
1488
+ "type": {
1489
+ "text": "string | undefined"
1490
+ },
1491
+ "description": "Defines the value associated with the button's name when it's submitted with the form data.\nThis value is passed to the server in params when the form is submitted using this button.",
1492
+ "fieldName": "value",
1493
+ "inheritedFrom": {
1494
+ "name": "Buttonsimple",
1495
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
1496
+ }
1445
1497
  }
1446
1498
  ],
1447
1499
  "superclass": {
@@ -2327,6 +2379,34 @@
2327
2379
  "module": "components/buttonsimple/buttonsimple.component.js"
2328
2380
  }
2329
2381
  },
2382
+ {
2383
+ "kind": "field",
2384
+ "name": "name",
2385
+ "type": {
2386
+ "text": "string | undefined"
2387
+ },
2388
+ "description": "The name of the button, submitted as a pair with the button's value as part of the form data,\nwhen that button is used to submit the form.",
2389
+ "attribute": "name",
2390
+ "reflects": true,
2391
+ "inheritedFrom": {
2392
+ "name": "Buttonsimple",
2393
+ "module": "components/buttonsimple/buttonsimple.component.js"
2394
+ }
2395
+ },
2396
+ {
2397
+ "kind": "field",
2398
+ "name": "value",
2399
+ "type": {
2400
+ "text": "string | undefined"
2401
+ },
2402
+ "description": "Defines the value associated with the button's name when it's submitted with the form data.\nThis value is passed to the server in params when the form is submitted using this button.",
2403
+ "attribute": "value",
2404
+ "reflects": true,
2405
+ "inheritedFrom": {
2406
+ "name": "Buttonsimple",
2407
+ "module": "components/buttonsimple/buttonsimple.component.js"
2408
+ }
2409
+ },
2330
2410
  {
2331
2411
  "kind": "method",
2332
2412
  "name": "executeAction",
@@ -2711,6 +2791,30 @@
2711
2791
  "name": "Buttonsimple",
2712
2792
  "module": "src/components/buttonsimple/buttonsimple.component.ts"
2713
2793
  }
2794
+ },
2795
+ {
2796
+ "name": "name",
2797
+ "type": {
2798
+ "text": "string | undefined"
2799
+ },
2800
+ "description": "The name of the button, submitted as a pair with the button's value as part of the form data,\nwhen that button is used to submit the form.",
2801
+ "fieldName": "name",
2802
+ "inheritedFrom": {
2803
+ "name": "Buttonsimple",
2804
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
2805
+ }
2806
+ },
2807
+ {
2808
+ "name": "value",
2809
+ "type": {
2810
+ "text": "string | undefined"
2811
+ },
2812
+ "description": "Defines the value associated with the button's name when it's submitted with the form data.\nThis value is passed to the server in params when the form is submitted using this button.",
2813
+ "fieldName": "value",
2814
+ "inheritedFrom": {
2815
+ "name": "Buttonsimple",
2816
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
2817
+ }
2714
2818
  }
2715
2819
  ],
2716
2820
  "mixins": [
@@ -3567,6 +3671,34 @@
3567
3671
  "module": "components/buttonsimple/buttonsimple.component.js"
3568
3672
  }
3569
3673
  },
3674
+ {
3675
+ "kind": "field",
3676
+ "name": "name",
3677
+ "type": {
3678
+ "text": "string | undefined"
3679
+ },
3680
+ "description": "The name of the button, submitted as a pair with the button's value as part of the form data,\nwhen that button is used to submit the form.",
3681
+ "attribute": "name",
3682
+ "reflects": true,
3683
+ "inheritedFrom": {
3684
+ "name": "Buttonsimple",
3685
+ "module": "components/buttonsimple/buttonsimple.component.js"
3686
+ }
3687
+ },
3688
+ {
3689
+ "kind": "field",
3690
+ "name": "value",
3691
+ "type": {
3692
+ "text": "string | undefined"
3693
+ },
3694
+ "description": "Defines the value associated with the button's name when it's submitted with the form data.\nThis value is passed to the server in params when the form is submitted using this button.",
3695
+ "attribute": "value",
3696
+ "reflects": true,
3697
+ "inheritedFrom": {
3698
+ "name": "Buttonsimple",
3699
+ "module": "components/buttonsimple/buttonsimple.component.js"
3700
+ }
3701
+ },
3570
3702
  {
3571
3703
  "kind": "method",
3572
3704
  "name": "executeAction",
@@ -3890,6 +4022,30 @@
3890
4022
  "name": "Buttonsimple",
3891
4023
  "module": "src/components/buttonsimple/buttonsimple.component.ts"
3892
4024
  }
4025
+ },
4026
+ {
4027
+ "name": "name",
4028
+ "type": {
4029
+ "text": "string | undefined"
4030
+ },
4031
+ "description": "The name of the button, submitted as a pair with the button's value as part of the form data,\nwhen that button is used to submit the form.",
4032
+ "fieldName": "name",
4033
+ "inheritedFrom": {
4034
+ "name": "Buttonsimple",
4035
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
4036
+ }
4037
+ },
4038
+ {
4039
+ "name": "value",
4040
+ "type": {
4041
+ "text": "string | undefined"
4042
+ },
4043
+ "description": "Defines the value associated with the button's name when it's submitted with the form data.\nThis value is passed to the server in params when the form is submitted using this button.",
4044
+ "fieldName": "value",
4045
+ "inheritedFrom": {
4046
+ "name": "Buttonsimple",
4047
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
4048
+ }
3893
4049
  }
3894
4050
  ],
3895
4051
  "mixins": [
@@ -4717,613 +4873,227 @@
4717
4873
  },
4718
4874
  {
4719
4875
  "kind": "javascript-module",
4720
- "path": "components/buttonsimple/buttonsimple.component.js",
4876
+ "path": "components/card/card.component.js",
4721
4877
  "declarations": [
4722
4878
  {
4723
4879
  "kind": "class",
4724
- "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.",
4725
- "name": "Buttonsimple",
4726
- "members": [
4880
+ "description": "The card component allows users to organize information in a structured and tangible\nformat that is visually appealing. `mdc-card` is a static component that supports\nthe following features:\n- Image\n- Header\n - Icon\n - Title\n - Subtitle\n- Body\n\nThe card can either be vertically or horizontally oriented. The vertical card has a min-width of 20rem and the horizontal card has a min-width of 40rem.\n\nThere are 2 variants for the card that represent the border styling - 'border' and 'ghost'.\n\nTo make this card interactive, use the following slots:\n- `icon-button`: This slot supports action icon buttons in the header section (maximum of 3 buttons).\n- `footer-link`: This slot is for passing `mdc-link` component within the footer section.\n- `footer-button-primary`: This slot is for passing primary variant of `mdc-button` component within the footer section.\n- `footer-button-secondary`: This slot is for passing secondary variant of `mdc-button` component\nwithin the footer section.\n\nInteractive card additionally supports 'promotional' variant that represents the border styling - 'promotional'.",
4881
+ "name": "Card",
4882
+ "cssProperties": [
4727
4883
  {
4728
- "kind": "field",
4729
- "name": "active",
4730
- "type": {
4731
- "text": "boolean | undefined"
4732
- },
4733
- "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.",
4734
- "default": "undefined",
4735
- "attribute": "active",
4736
- "reflects": true
4884
+ "description": "The width of the card",
4885
+ "name": "--mdc-card-width"
4886
+ }
4887
+ ],
4888
+ "cssParts": [
4889
+ {
4890
+ "description": "The header part of the card",
4891
+ "name": "header"
4737
4892
  },
4738
4893
  {
4739
- "kind": "field",
4740
- "name": "softDisabled",
4741
- "type": {
4742
- "text": "boolean | undefined"
4743
- },
4744
- "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.",
4745
- "default": "undefined",
4746
- "attribute": "soft-disabled",
4747
- "reflects": true
4894
+ "description": "The icon part of the card header",
4895
+ "name": "icon"
4748
4896
  },
4749
4897
  {
4750
- "kind": "field",
4751
- "name": "size",
4752
- "type": {
4753
- "text": "ButtonSize"
4754
- },
4755
- "description": "Simplebutton size is a super set of all the sizes supported by children components.",
4756
- "default": "32",
4757
- "attribute": "size",
4758
- "reflects": true
4898
+ "description": "The body part of the card",
4899
+ "name": "body"
4759
4900
  },
4760
4901
  {
4761
- "kind": "field",
4762
- "name": "role",
4763
- "type": {
4764
- "text": "RoleType"
4765
- },
4766
- "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.",
4767
- "default": "button",
4768
- "attribute": "role",
4769
- "reflects": true
4902
+ "description": "The image part of the card",
4903
+ "name": "image"
4770
4904
  },
4771
4905
  {
4772
- "kind": "field",
4773
- "name": "ariaStateKey",
4774
- "type": {
4775
- "text": "string | undefined"
4776
- },
4777
- "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`",
4778
- "default": "'aria-pressed' (when)",
4779
- "attribute": "ariaStateKey",
4780
- "reflects": true
4906
+ "description": "The footer part of the card",
4907
+ "name": "footer"
4781
4908
  },
4782
4909
  {
4783
- "kind": "field",
4784
- "name": "type",
4785
- "type": {
4786
- "text": "ButtonType"
4787
- },
4788
- "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.",
4789
- "default": "button",
4790
- "attribute": "type",
4791
- "reflects": true
4910
+ "description": "The link part of the card footer",
4911
+ "name": "footer-link"
4792
4912
  },
4793
4913
  {
4794
- "kind": "method",
4795
- "name": "executeAction",
4796
- "privacy": "protected"
4914
+ "description": "The primary button part of the card footer",
4915
+ "name": "footer-button-primary"
4797
4916
  },
4798
4917
  {
4799
- "kind": "method",
4800
- "name": "setActive",
4801
- "privacy": "protected",
4802
- "parameters": [
4803
- {
4804
- "name": "element",
4805
- "type": {
4806
- "text": "HTMLElement"
4807
- },
4808
- "description": "The button element"
4809
- },
4810
- {
4811
- "name": "active",
4812
- "optional": true,
4813
- "type": {
4814
- "text": "boolean"
4815
- },
4816
- "description": "The active state of the element"
4817
- }
4818
- ],
4819
- "description": "Sets the ariaStateKey attributes based on the active state of the button."
4918
+ "description": "The secondary button part of the card footer",
4919
+ "name": "footer-button-secondary"
4820
4920
  },
4821
4921
  {
4822
- "kind": "method",
4823
- "name": "setSoftDisabled",
4824
- "privacy": "private",
4825
- "parameters": [
4826
- {
4827
- "name": "element",
4828
- "type": {
4829
- "text": "HTMLElement"
4830
- },
4831
- "description": "The button element."
4832
- },
4833
- {
4834
- "name": "softDisabled",
4835
- "optional": true,
4836
- "type": {
4837
- "text": "boolean"
4838
- },
4839
- "description": "The soft-disabled state."
4840
- }
4841
- ],
4842
- "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."
4922
+ "description": "The icon button part of the card header",
4923
+ "name": "icon-button"
4843
4924
  },
4844
4925
  {
4845
- "kind": "method",
4846
- "name": "setDisabled",
4847
- "privacy": "private",
4848
- "parameters": [
4849
- {
4850
- "name": "element",
4851
- "type": {
4852
- "text": "HTMLElement"
4853
- },
4854
- "description": "The button element."
4855
- },
4856
- {
4857
- "name": "disabled",
4858
- "type": {
4859
- "text": "boolean"
4860
- },
4861
- "description": "The disabled state."
4862
- }
4863
- ],
4864
- "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."
4926
+ "description": "The text part of the card",
4927
+ "name": "text"
4928
+ }
4929
+ ],
4930
+ "slots": [
4931
+ {
4932
+ "description": "This slot is for passing the content before the body",
4933
+ "name": "before-body"
4865
4934
  },
4866
4935
  {
4867
- "kind": "method",
4868
- "name": "triggerClickEvent",
4869
- "privacy": "private"
4936
+ "description": "This slot is for passing the text content for the card",
4937
+ "name": "body"
4870
4938
  },
4871
4939
  {
4872
- "kind": "method",
4873
- "name": "handleBlur",
4874
- "privacy": "private",
4875
- "description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed."
4940
+ "description": "This slot is for passing the content after the body",
4941
+ "name": "after-body"
4876
4942
  },
4877
4943
  {
4878
- "kind": "method",
4879
- "name": "handleKeyDown",
4880
- "privacy": "private",
4881
- "parameters": [
4882
- {
4883
- "name": "event",
4884
- "type": {
4885
- "text": "KeyboardEvent"
4886
- },
4887
- "description": "The keyboard event."
4888
- }
4889
- ],
4890
- "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."
4944
+ "description": "This slot is for passing `mdc-link` component within the footer section.",
4945
+ "name": "footer-link"
4946
+ },
4947
+ {
4948
+ "description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
4949
+ "name": "footer-button-primary"
4950
+ },
4951
+ {
4952
+ "description": "This slot is for passing secondary variant of `mdc-button` component within the footer section.",
4953
+ "name": "footer-button-secondary"
4891
4954
  },
4955
+ {
4956
+ "description": " This slot is for passing custom footer content. Only use this if really needed, using the footer-link and footer-button slots is preferred.",
4957
+ "name": "footer"
4958
+ }
4959
+ ],
4960
+ "members": [
4892
4961
  {
4893
4962
  "kind": "method",
4894
- "name": "handleKeyUp",
4895
- "privacy": "private",
4896
- "parameters": [
4897
- {
4898
- "name": "event",
4899
- "type": {
4900
- "text": "KeyboardEvent"
4901
- },
4902
- "description": "The keyboard event."
4963
+ "name": "renderHeader",
4964
+ "privacy": "protected",
4965
+ "description": "Renders the header of the card if title is provided",
4966
+ "return": {
4967
+ "type": {
4968
+ "text": ""
4903
4969
  }
4904
- ],
4905
- "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."
4970
+ }
4906
4971
  },
4907
4972
  {
4908
4973
  "kind": "field",
4909
- "name": "autoFocusOnMount",
4974
+ "name": "cardTitle",
4910
4975
  "type": {
4911
- "text": "boolean"
4976
+ "text": "string"
4912
4977
  },
4913
- "default": "false",
4914
- "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
4915
- "attribute": "auto-focus-on-mount",
4978
+ "default": "''",
4979
+ "description": "The title of the card - part of header section",
4980
+ "attribute": "card-title",
4916
4981
  "reflects": true,
4917
4982
  "inheritedFrom": {
4918
- "name": "AutoFocusOnMountMixin",
4919
- "module": "utils/mixins/AutoFocusOnMountMixin.js"
4983
+ "name": "CardComponentMixin",
4984
+ "module": "utils/mixins/CardComponentMixin.js"
4920
4985
  }
4921
4986
  },
4922
4987
  {
4923
4988
  "kind": "field",
4924
- "name": "tabIndex",
4989
+ "name": "subtitle",
4925
4990
  "type": {
4926
- "text": "number"
4991
+ "text": "string"
4927
4992
  },
4928
- "default": "0",
4929
- "description": "This property specifies the tab order of the element.",
4930
- "attribute": "tabIndex",
4993
+ "default": "''",
4994
+ "description": "The subtitle of the card - part of header section",
4995
+ "attribute": "subtitle",
4931
4996
  "reflects": true,
4932
4997
  "inheritedFrom": {
4933
- "name": "TabIndexMixin",
4934
- "module": "utils/mixins/TabIndexMixin.js"
4998
+ "name": "CardComponentMixin",
4999
+ "module": "utils/mixins/CardComponentMixin.js"
4935
5000
  }
4936
5001
  },
4937
5002
  {
4938
5003
  "kind": "field",
4939
- "name": "disabled",
5004
+ "name": "imageSrc",
4940
5005
  "type": {
4941
- "text": "boolean | undefined"
5006
+ "text": "string"
4942
5007
  },
4943
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
4944
- "default": "undefined",
4945
- "attribute": "disabled",
5008
+ "default": "''",
5009
+ "description": "The image source URL to render on the card",
5010
+ "attribute": "image-src",
4946
5011
  "reflects": true,
4947
5012
  "inheritedFrom": {
4948
- "name": "DisabledMixin",
4949
- "module": "utils/mixins/DisabledMixin.js"
5013
+ "name": "CardComponentMixin",
5014
+ "module": "utils/mixins/CardComponentMixin.js"
4950
5015
  }
4951
- }
4952
- ],
4953
- "events": [
4954
- {
4955
- "description": "(React: onClick) This event is dispatched when the button is clicked.",
4956
- "name": "click",
4957
- "reactName": "onClick"
4958
- },
4959
- {
4960
- "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the button.",
4961
- "name": "keydown",
4962
- "reactName": "onKeyDown"
4963
- },
4964
- {
4965
- "description": "(React: onKeyUp) This event is dispatched when a key is released on the button.",
4966
- "name": "keyup",
4967
- "reactName": "onKeyUp"
4968
5016
  },
4969
5017
  {
4970
- "description": "(React: onFocus) This event is dispatched when the button receives focus.",
4971
- "name": "focus",
4972
- "reactName": "onFocus"
4973
- }
4974
- ],
4975
- "attributes": [
4976
- {
4977
- "name": "active",
5018
+ "kind": "field",
5019
+ "name": "imageAlt",
4978
5020
  "type": {
4979
- "text": "boolean | undefined"
5021
+ "text": "string"
4980
5022
  },
4981
- "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.",
4982
- "default": "undefined",
4983
- "fieldName": "active"
5023
+ "default": "''",
5024
+ "description": "The image alt for accessibility support",
5025
+ "attribute": "image-alt",
5026
+ "reflects": true,
5027
+ "inheritedFrom": {
5028
+ "name": "CardComponentMixin",
5029
+ "module": "utils/mixins/CardComponentMixin.js"
5030
+ }
4984
5031
  },
4985
5032
  {
4986
- "name": "soft-disabled",
5033
+ "kind": "field",
5034
+ "name": "variant",
4987
5035
  "type": {
4988
- "text": "boolean | undefined"
5036
+ "text": "CardVariant"
4989
5037
  },
4990
- "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.",
4991
- "default": "undefined",
4992
- "fieldName": "softDisabled"
5038
+ "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
5039
+ "default": "'border'",
5040
+ "attribute": "variant",
5041
+ "reflects": true,
5042
+ "inheritedFrom": {
5043
+ "name": "CardComponentMixin",
5044
+ "module": "utils/mixins/CardComponentMixin.js"
5045
+ }
4993
5046
  },
4994
5047
  {
4995
- "name": "size",
5048
+ "kind": "field",
5049
+ "name": "orientation",
4996
5050
  "type": {
4997
- "text": "ButtonSize"
5051
+ "text": "CardOrientation"
4998
5052
  },
4999
- "description": "Simplebutton size is a super set of all the sizes supported by children components.",
5000
- "default": "32",
5001
- "fieldName": "size"
5053
+ "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
5054
+ "default": "'vertical'",
5055
+ "attribute": "orientation",
5056
+ "reflects": true,
5057
+ "inheritedFrom": {
5058
+ "name": "CardComponentMixin",
5059
+ "module": "utils/mixins/CardComponentMixin.js"
5060
+ }
5002
5061
  },
5003
5062
  {
5004
- "name": "role",
5063
+ "kind": "field",
5064
+ "name": "titleTagName",
5005
5065
  "type": {
5006
- "text": "RoleType"
5066
+ "text": "TagNameType"
5007
5067
  },
5008
- "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.",
5009
- "default": "button",
5010
- "fieldName": "role"
5068
+ "description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
5069
+ "default": "'span'",
5070
+ "attribute": "title-tag-name",
5071
+ "reflects": true,
5072
+ "inheritedFrom": {
5073
+ "name": "CardComponentMixin",
5074
+ "module": "utils/mixins/CardComponentMixin.js"
5075
+ }
5011
5076
  },
5012
5077
  {
5013
- "name": "ariaStateKey",
5078
+ "kind": "field",
5079
+ "name": "subtitleTagName",
5014
5080
  "type": {
5015
- "text": "string | undefined"
5081
+ "text": "TagNameType"
5016
5082
  },
5017
- "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`",
5018
- "default": "'aria-pressed' (when)",
5019
- "fieldName": "ariaStateKey"
5083
+ "description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
5084
+ "default": "'span'",
5085
+ "attribute": "subtitle-tag-name",
5086
+ "reflects": true,
5087
+ "inheritedFrom": {
5088
+ "name": "CardComponentMixin",
5089
+ "module": "utils/mixins/CardComponentMixin.js"
5090
+ }
5020
5091
  },
5021
5092
  {
5022
- "name": "type",
5093
+ "kind": "field",
5094
+ "name": "iconName",
5023
5095
  "type": {
5024
- "text": "ButtonType"
5025
- },
5026
- "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.",
5027
- "default": "button",
5028
- "fieldName": "type"
5029
- },
5030
- {
5031
- "name": "auto-focus-on-mount",
5032
- "type": {
5033
- "text": "boolean"
5034
- },
5035
- "default": "false",
5036
- "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
5037
- "fieldName": "autoFocusOnMount",
5038
- "inheritedFrom": {
5039
- "name": "AutoFocusOnMountMixin",
5040
- "module": "src/utils/mixins/AutoFocusOnMountMixin.ts"
5041
- }
5042
- },
5043
- {
5044
- "name": "tabIndex",
5045
- "type": {
5046
- "text": "number"
5047
- },
5048
- "default": "0",
5049
- "description": "This property specifies the tab order of the element.",
5050
- "fieldName": "tabIndex",
5051
- "inheritedFrom": {
5052
- "name": "TabIndexMixin",
5053
- "module": "src/utils/mixins/TabIndexMixin.ts"
5054
- }
5055
- },
5056
- {
5057
- "name": "disabled",
5058
- "type": {
5059
- "text": "boolean | undefined"
5060
- },
5061
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
5062
- "default": "undefined",
5063
- "fieldName": "disabled",
5064
- "inheritedFrom": {
5065
- "name": "DisabledMixin",
5066
- "module": "src/utils/mixins/DisabledMixin.ts"
5067
- }
5068
- }
5069
- ],
5070
- "mixins": [
5071
- {
5072
- "name": "AutoFocusOnMountMixin",
5073
- "module": "/src/utils/mixins/AutoFocusOnMountMixin"
5074
- },
5075
- {
5076
- "name": "TabIndexMixin",
5077
- "module": "/src/utils/mixins/TabIndexMixin"
5078
- },
5079
- {
5080
- "name": "DisabledMixin",
5081
- "module": "/src/utils/mixins/DisabledMixin"
5082
- }
5083
- ],
5084
- "superclass": {
5085
- "name": "Component",
5086
- "module": "/src/models"
5087
- },
5088
- "tagName": "mdc-buttonsimple",
5089
- "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 */",
5090
- "customElement": true
5091
- }
5092
- ],
5093
- "exports": [
5094
- {
5095
- "kind": "js",
5096
- "name": "default",
5097
- "declaration": {
5098
- "name": "Buttonsimple",
5099
- "module": "components/buttonsimple/buttonsimple.component.js"
5100
- }
5101
- }
5102
- ]
5103
- },
5104
- {
5105
- "kind": "javascript-module",
5106
- "path": "components/card/card.component.js",
5107
- "declarations": [
5108
- {
5109
- "kind": "class",
5110
- "description": "The card component allows users to organize information in a structured and tangible\nformat that is visually appealing. `mdc-card` is a static component that supports\nthe following features:\n- Image\n- Header\n - Icon\n - Title\n - Subtitle\n- Body\n\nThe card can either be vertically or horizontally oriented. The vertical card has a min-width of 20rem and the horizontal card has a min-width of 40rem.\n\nThere are 2 variants for the card that represent the border styling - 'border' and 'ghost'.\n\nTo make this card interactive, use the following slots:\n- `icon-button`: This slot supports action icon buttons in the header section (maximum of 3 buttons).\n- `footer-link`: This slot is for passing `mdc-link` component within the footer section.\n- `footer-button-primary`: This slot is for passing primary variant of `mdc-button` component within the footer section.\n- `footer-button-secondary`: This slot is for passing secondary variant of `mdc-button` component\nwithin the footer section.\n\nInteractive card additionally supports 'promotional' variant that represents the border styling - 'promotional'.",
5111
- "name": "Card",
5112
- "cssProperties": [
5113
- {
5114
- "description": "The width of the card",
5115
- "name": "--mdc-card-width"
5116
- }
5117
- ],
5118
- "cssParts": [
5119
- {
5120
- "description": "The header part of the card",
5121
- "name": "header"
5122
- },
5123
- {
5124
- "description": "The icon part of the card header",
5125
- "name": "icon"
5126
- },
5127
- {
5128
- "description": "The body part of the card",
5129
- "name": "body"
5130
- },
5131
- {
5132
- "description": "The image part of the card",
5133
- "name": "image"
5134
- },
5135
- {
5136
- "description": "The footer part of the card",
5137
- "name": "footer"
5138
- },
5139
- {
5140
- "description": "The link part of the card footer",
5141
- "name": "footer-link"
5142
- },
5143
- {
5144
- "description": "The primary button part of the card footer",
5145
- "name": "footer-button-primary"
5146
- },
5147
- {
5148
- "description": "The secondary button part of the card footer",
5149
- "name": "footer-button-secondary"
5150
- },
5151
- {
5152
- "description": "The icon button part of the card header",
5153
- "name": "icon-button"
5154
- },
5155
- {
5156
- "description": "The text part of the card",
5157
- "name": "text"
5158
- }
5159
- ],
5160
- "slots": [
5161
- {
5162
- "description": "This slot is for passing the content before the body",
5163
- "name": "before-body"
5164
- },
5165
- {
5166
- "description": "This slot is for passing the text content for the card",
5167
- "name": "body"
5168
- },
5169
- {
5170
- "description": "This slot is for passing the content after the body",
5171
- "name": "after-body"
5172
- },
5173
- {
5174
- "description": "This slot is for passing `mdc-link` component within the footer section.",
5175
- "name": "footer-link"
5176
- },
5177
- {
5178
- "description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
5179
- "name": "footer-button-primary"
5180
- },
5181
- {
5182
- "description": "This slot is for passing secondary variant of `mdc-button` component within the footer section.",
5183
- "name": "footer-button-secondary"
5184
- },
5185
- {
5186
- "description": " This slot is for passing custom footer content. Only use this if really needed, using the footer-link and footer-button slots is preferred.",
5187
- "name": "footer"
5188
- }
5189
- ],
5190
- "members": [
5191
- {
5192
- "kind": "method",
5193
- "name": "renderHeader",
5194
- "privacy": "protected",
5195
- "description": "Renders the header of the card if title is provided",
5196
- "return": {
5197
- "type": {
5198
- "text": ""
5199
- }
5200
- }
5201
- },
5202
- {
5203
- "kind": "field",
5204
- "name": "cardTitle",
5205
- "type": {
5206
- "text": "string"
5207
- },
5208
- "default": "''",
5209
- "description": "The title of the card - part of header section",
5210
- "attribute": "card-title",
5211
- "reflects": true,
5212
- "inheritedFrom": {
5213
- "name": "CardComponentMixin",
5214
- "module": "utils/mixins/CardComponentMixin.js"
5215
- }
5216
- },
5217
- {
5218
- "kind": "field",
5219
- "name": "subtitle",
5220
- "type": {
5221
- "text": "string"
5222
- },
5223
- "default": "''",
5224
- "description": "The subtitle of the card - part of header section",
5225
- "attribute": "subtitle",
5226
- "reflects": true,
5227
- "inheritedFrom": {
5228
- "name": "CardComponentMixin",
5229
- "module": "utils/mixins/CardComponentMixin.js"
5230
- }
5231
- },
5232
- {
5233
- "kind": "field",
5234
- "name": "imageSrc",
5235
- "type": {
5236
- "text": "string"
5237
- },
5238
- "default": "''",
5239
- "description": "The image source URL to render on the card",
5240
- "attribute": "image-src",
5241
- "reflects": true,
5242
- "inheritedFrom": {
5243
- "name": "CardComponentMixin",
5244
- "module": "utils/mixins/CardComponentMixin.js"
5245
- }
5246
- },
5247
- {
5248
- "kind": "field",
5249
- "name": "imageAlt",
5250
- "type": {
5251
- "text": "string"
5252
- },
5253
- "default": "''",
5254
- "description": "The image alt for accessibility support",
5255
- "attribute": "image-alt",
5256
- "reflects": true,
5257
- "inheritedFrom": {
5258
- "name": "CardComponentMixin",
5259
- "module": "utils/mixins/CardComponentMixin.js"
5260
- }
5261
- },
5262
- {
5263
- "kind": "field",
5264
- "name": "variant",
5265
- "type": {
5266
- "text": "CardVariant"
5267
- },
5268
- "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
5269
- "default": "'border'",
5270
- "attribute": "variant",
5271
- "reflects": true,
5272
- "inheritedFrom": {
5273
- "name": "CardComponentMixin",
5274
- "module": "utils/mixins/CardComponentMixin.js"
5275
- }
5276
- },
5277
- {
5278
- "kind": "field",
5279
- "name": "orientation",
5280
- "type": {
5281
- "text": "CardOrientation"
5282
- },
5283
- "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
5284
- "default": "'vertical'",
5285
- "attribute": "orientation",
5286
- "reflects": true,
5287
- "inheritedFrom": {
5288
- "name": "CardComponentMixin",
5289
- "module": "utils/mixins/CardComponentMixin.js"
5290
- }
5291
- },
5292
- {
5293
- "kind": "field",
5294
- "name": "titleTagName",
5295
- "type": {
5296
- "text": "TagNameType"
5297
- },
5298
- "description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
5299
- "default": "'span'",
5300
- "attribute": "title-tag-name",
5301
- "reflects": true,
5302
- "inheritedFrom": {
5303
- "name": "CardComponentMixin",
5304
- "module": "utils/mixins/CardComponentMixin.js"
5305
- }
5306
- },
5307
- {
5308
- "kind": "field",
5309
- "name": "subtitleTagName",
5310
- "type": {
5311
- "text": "TagNameType"
5312
- },
5313
- "description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
5314
- "default": "'span'",
5315
- "attribute": "subtitle-tag-name",
5316
- "reflects": true,
5317
- "inheritedFrom": {
5318
- "name": "CardComponentMixin",
5319
- "module": "utils/mixins/CardComponentMixin.js"
5320
- }
5321
- },
5322
- {
5323
- "kind": "field",
5324
- "name": "iconName",
5325
- "type": {
5326
- "text": "IconNames | undefined"
5096
+ "text": "IconNames | undefined"
5327
5097
  },
5328
5098
  "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
5329
5099
  "attribute": "icon-name",
@@ -5822,8 +5592,8 @@
5822
5592
  "attribute": "auto-focus-on-mount",
5823
5593
  "reflects": true,
5824
5594
  "inheritedFrom": {
5825
- "name": "Buttonsimple",
5826
- "module": "components/buttonsimple/buttonsimple.component.js"
5595
+ "name": "AutoFocusOnMountMixin",
5596
+ "module": "utils/mixins/AutoFocusOnMountMixin.js"
5827
5597
  }
5828
5598
  },
5829
5599
  {
@@ -5837,8 +5607,8 @@
5837
5607
  "attribute": "tabIndex",
5838
5608
  "reflects": true,
5839
5609
  "inheritedFrom": {
5840
- "name": "Buttonsimple",
5841
- "module": "components/buttonsimple/buttonsimple.component.js"
5610
+ "name": "TabIndexMixin",
5611
+ "module": "utils/mixins/TabIndexMixin.js"
5842
5612
  }
5843
5613
  },
5844
5614
  {
@@ -5852,8 +5622,8 @@
5852
5622
  "attribute": "disabled",
5853
5623
  "reflects": true,
5854
5624
  "inheritedFrom": {
5855
- "name": "Buttonsimple",
5856
- "module": "components/buttonsimple/buttonsimple.component.js"
5625
+ "name": "DisabledMixin",
5626
+ "module": "utils/mixins/DisabledMixin.js"
5857
5627
  }
5858
5628
  },
5859
5629
  {
@@ -5946,6 +5716,34 @@
5946
5716
  "module": "components/buttonsimple/buttonsimple.component.js"
5947
5717
  }
5948
5718
  },
5719
+ {
5720
+ "kind": "field",
5721
+ "name": "name",
5722
+ "type": {
5723
+ "text": "string | undefined"
5724
+ },
5725
+ "description": "The name of the button, submitted as a pair with the button's value as part of the form data,\nwhen that button is used to submit the form.",
5726
+ "attribute": "name",
5727
+ "reflects": true,
5728
+ "inheritedFrom": {
5729
+ "name": "Buttonsimple",
5730
+ "module": "components/buttonsimple/buttonsimple.component.js"
5731
+ }
5732
+ },
5733
+ {
5734
+ "kind": "field",
5735
+ "name": "value",
5736
+ "type": {
5737
+ "text": "string | undefined"
5738
+ },
5739
+ "description": "Defines the value associated with the button's name when it's submitted with the form data.\nThis value is passed to the server in params when the form is submitted using this button.",
5740
+ "attribute": "value",
5741
+ "reflects": true,
5742
+ "inheritedFrom": {
5743
+ "name": "Buttonsimple",
5744
+ "module": "components/buttonsimple/buttonsimple.component.js"
5745
+ }
5746
+ },
5949
5747
  {
5950
5748
  "kind": "method",
5951
5749
  "name": "executeAction",
@@ -6029,30 +5827,571 @@
6029
5827
  "description": "The disabled state."
6030
5828
  }
6031
5829
  ],
6032
- "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.",
6033
- "inheritedFrom": {
6034
- "name": "Buttonsimple",
6035
- "module": "components/buttonsimple/buttonsimple.component.js"
6036
- }
5830
+ "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.",
5831
+ "inheritedFrom": {
5832
+ "name": "Buttonsimple",
5833
+ "module": "components/buttonsimple/buttonsimple.component.js"
5834
+ }
5835
+ },
5836
+ {
5837
+ "kind": "method",
5838
+ "name": "triggerClickEvent",
5839
+ "privacy": "private",
5840
+ "inheritedFrom": {
5841
+ "name": "Buttonsimple",
5842
+ "module": "components/buttonsimple/buttonsimple.component.js"
5843
+ }
5844
+ },
5845
+ {
5846
+ "kind": "method",
5847
+ "name": "handleBlur",
5848
+ "privacy": "private",
5849
+ "description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed.",
5850
+ "inheritedFrom": {
5851
+ "name": "Buttonsimple",
5852
+ "module": "components/buttonsimple/buttonsimple.component.js"
5853
+ }
5854
+ },
5855
+ {
5856
+ "kind": "method",
5857
+ "name": "handleKeyDown",
5858
+ "privacy": "private",
5859
+ "parameters": [
5860
+ {
5861
+ "name": "event",
5862
+ "type": {
5863
+ "text": "KeyboardEvent"
5864
+ },
5865
+ "description": "The keyboard event."
5866
+ }
5867
+ ],
5868
+ "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.",
5869
+ "inheritedFrom": {
5870
+ "name": "Buttonsimple",
5871
+ "module": "components/buttonsimple/buttonsimple.component.js"
5872
+ }
5873
+ },
5874
+ {
5875
+ "kind": "method",
5876
+ "name": "handleKeyUp",
5877
+ "privacy": "private",
5878
+ "parameters": [
5879
+ {
5880
+ "name": "event",
5881
+ "type": {
5882
+ "text": "KeyboardEvent"
5883
+ },
5884
+ "description": "The keyboard event."
5885
+ }
5886
+ ],
5887
+ "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.",
5888
+ "inheritedFrom": {
5889
+ "name": "Buttonsimple",
5890
+ "module": "components/buttonsimple/buttonsimple.component.js"
5891
+ }
5892
+ }
5893
+ ],
5894
+ "events": [
5895
+ {
5896
+ "description": "(React: onClick) Event that gets dispatched when the card is clicked.",
5897
+ "name": "click",
5898
+ "reactName": "onClick",
5899
+ "inheritedFrom": {
5900
+ "name": "Buttonsimple",
5901
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
5902
+ }
5903
+ },
5904
+ {
5905
+ "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the card. It fires the click event when enter key is used.",
5906
+ "name": "keydown",
5907
+ "reactName": "onKeyDown",
5908
+ "inheritedFrom": {
5909
+ "name": "Buttonsimple",
5910
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
5911
+ }
5912
+ },
5913
+ {
5914
+ "description": "(React: onKeyUp) This event is dispatched when a key is released on the card. It fires the click event when space key is used.",
5915
+ "name": "keyup",
5916
+ "reactName": "onKeyUp",
5917
+ "inheritedFrom": {
5918
+ "name": "Buttonsimple",
5919
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
5920
+ }
5921
+ },
5922
+ {
5923
+ "description": "(React: onFocus) Event that gets dispatched when the card receives focus.",
5924
+ "name": "focus",
5925
+ "reactName": "onFocus",
5926
+ "inheritedFrom": {
5927
+ "name": "Buttonsimple",
5928
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
5929
+ }
5930
+ }
5931
+ ],
5932
+ "mixins": [
5933
+ {
5934
+ "name": "CardComponentMixin",
5935
+ "module": "/src/utils/mixins/CardComponentMixin"
5936
+ }
5937
+ ],
5938
+ "superclass": {
5939
+ "name": "Buttonsimple",
5940
+ "module": "/src/components/buttonsimple/buttonsimple.component"
5941
+ },
5942
+ "tagName": "mdc-cardbutton",
5943
+ "jsDoc": "/**\n * cardbutton component looks like a card and behaves as a button component.\n *\n * **Note**: This is a single selection card i.e. interacting anywhere on the card would trigger the click event.\n * Make sure to pass only non-interactable elements within the slots.\n *\n * @tagname mdc-cardbutton\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @event click - (React: onClick) Event that gets dispatched when the card is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the card.\n * It fires the click event when enter key is used.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the card.\n * It fires the click event when space key is used.\n * @event focus - (React: onFocus) Event that gets dispatched when the card receives focus.\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n * @slot footer-link - This slot is for passing `mdc-link` component within the footer section.\n * @slot footer-button-primary - This slot is for passing primary variant of `mdc-button` component within the footer section.\n *\n * @csspart header - The header part of the card\n * @csspart icon - The icon part of the card header\n * @csspart body - The body part of the card\n * @csspart image - The image part of the card\n * @csspart footer - The footer part of the card\n * @csspart footer-link - The link part of the card footer\n * @csspart footer-button-primary - The primary button part of the card footer\n * @csspart footer-button-secondary - The secondary button part of the card footer\n * @csspart icon-button - The icon button part of the card header\n * @csspart text - The text part of the card\n *\n * @cssproperty --mdc-card-width - The width of the card\n */",
5944
+ "customElement": true,
5945
+ "attributes": [
5946
+ {
5947
+ "name": "card-title",
5948
+ "type": {
5949
+ "text": "string"
5950
+ },
5951
+ "default": "''",
5952
+ "description": "The title of the card - part of header section",
5953
+ "fieldName": "cardTitle",
5954
+ "inheritedFrom": {
5955
+ "name": "CardComponentMixin",
5956
+ "module": "src/utils/mixins/CardComponentMixin.ts"
5957
+ }
5958
+ },
5959
+ {
5960
+ "name": "subtitle",
5961
+ "type": {
5962
+ "text": "string"
5963
+ },
5964
+ "default": "''",
5965
+ "description": "The subtitle of the card - part of header section",
5966
+ "fieldName": "subtitle",
5967
+ "inheritedFrom": {
5968
+ "name": "CardComponentMixin",
5969
+ "module": "src/utils/mixins/CardComponentMixin.ts"
5970
+ }
5971
+ },
5972
+ {
5973
+ "name": "image-src",
5974
+ "type": {
5975
+ "text": "string"
5976
+ },
5977
+ "default": "''",
5978
+ "description": "The image source URL to render on the card",
5979
+ "fieldName": "imageSrc",
5980
+ "inheritedFrom": {
5981
+ "name": "CardComponentMixin",
5982
+ "module": "src/utils/mixins/CardComponentMixin.ts"
5983
+ }
5984
+ },
5985
+ {
5986
+ "name": "image-alt",
5987
+ "type": {
5988
+ "text": "string"
5989
+ },
5990
+ "default": "''",
5991
+ "description": "The image alt for accessibility support",
5992
+ "fieldName": "imageAlt",
5993
+ "inheritedFrom": {
5994
+ "name": "CardComponentMixin",
5995
+ "module": "src/utils/mixins/CardComponentMixin.ts"
5996
+ }
5997
+ },
5998
+ {
5999
+ "name": "variant",
6000
+ "type": {
6001
+ "text": "CardVariant"
6002
+ },
6003
+ "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
6004
+ "default": "'border'",
6005
+ "fieldName": "variant",
6006
+ "inheritedFrom": {
6007
+ "name": "CardComponentMixin",
6008
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6009
+ }
6010
+ },
6011
+ {
6012
+ "name": "orientation",
6013
+ "type": {
6014
+ "text": "CardOrientation"
6015
+ },
6016
+ "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
6017
+ "default": "'vertical'",
6018
+ "fieldName": "orientation",
6019
+ "inheritedFrom": {
6020
+ "name": "CardComponentMixin",
6021
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6022
+ }
6023
+ },
6024
+ {
6025
+ "name": "title-tag-name",
6026
+ "type": {
6027
+ "text": "TagNameType"
6028
+ },
6029
+ "description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
6030
+ "default": "'span'",
6031
+ "fieldName": "titleTagName",
6032
+ "inheritedFrom": {
6033
+ "name": "CardComponentMixin",
6034
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6035
+ }
6036
+ },
6037
+ {
6038
+ "name": "subtitle-tag-name",
6039
+ "type": {
6040
+ "text": "TagNameType"
6041
+ },
6042
+ "description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
6043
+ "default": "'span'",
6044
+ "fieldName": "subtitleTagName",
6045
+ "inheritedFrom": {
6046
+ "name": "CardComponentMixin",
6047
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6048
+ }
6049
+ },
6050
+ {
6051
+ "name": "icon-name",
6052
+ "type": {
6053
+ "text": "IconNames | undefined"
6054
+ },
6055
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
6056
+ "fieldName": "iconName",
6057
+ "inheritedFrom": {
6058
+ "name": "CardComponentMixin",
6059
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6060
+ }
6061
+ },
6062
+ {
6063
+ "name": "auto-focus-on-mount",
6064
+ "type": {
6065
+ "text": "boolean"
6066
+ },
6067
+ "default": "false",
6068
+ "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
6069
+ "fieldName": "autoFocusOnMount",
6070
+ "inheritedFrom": {
6071
+ "name": "AutoFocusOnMountMixin",
6072
+ "module": "src/utils/mixins/AutoFocusOnMountMixin.ts"
6073
+ }
6074
+ },
6075
+ {
6076
+ "name": "tabIndex",
6077
+ "type": {
6078
+ "text": "number"
6079
+ },
6080
+ "default": "0",
6081
+ "description": "This property specifies the tab order of the element.",
6082
+ "fieldName": "tabIndex",
6083
+ "inheritedFrom": {
6084
+ "name": "TabIndexMixin",
6085
+ "module": "src/utils/mixins/TabIndexMixin.ts"
6086
+ }
6087
+ },
6088
+ {
6089
+ "name": "disabled",
6090
+ "type": {
6091
+ "text": "boolean | undefined"
6092
+ },
6093
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
6094
+ "default": "undefined",
6095
+ "fieldName": "disabled",
6096
+ "inheritedFrom": {
6097
+ "name": "DisabledMixin",
6098
+ "module": "src/utils/mixins/DisabledMixin.ts"
6099
+ }
6100
+ },
6101
+ {
6102
+ "name": "active",
6103
+ "type": {
6104
+ "text": "boolean | undefined"
6105
+ },
6106
+ "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.",
6107
+ "default": "undefined",
6108
+ "fieldName": "active",
6109
+ "inheritedFrom": {
6110
+ "name": "Buttonsimple",
6111
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
6112
+ }
6113
+ },
6114
+ {
6115
+ "name": "soft-disabled",
6116
+ "type": {
6117
+ "text": "boolean | undefined"
6118
+ },
6119
+ "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.",
6120
+ "default": "undefined",
6121
+ "fieldName": "softDisabled",
6122
+ "inheritedFrom": {
6123
+ "name": "Buttonsimple",
6124
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
6125
+ }
6126
+ },
6127
+ {
6128
+ "name": "size",
6129
+ "type": {
6130
+ "text": "ButtonSize"
6131
+ },
6132
+ "description": "Simplebutton size is a super set of all the sizes supported by children components.",
6133
+ "default": "32",
6134
+ "fieldName": "size",
6135
+ "inheritedFrom": {
6136
+ "name": "Buttonsimple",
6137
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
6138
+ }
6139
+ },
6140
+ {
6141
+ "name": "role",
6142
+ "type": {
6143
+ "text": "RoleType"
6144
+ },
6145
+ "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.",
6146
+ "default": "button",
6147
+ "fieldName": "role",
6148
+ "inheritedFrom": {
6149
+ "name": "Buttonsimple",
6150
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
6151
+ }
6152
+ },
6153
+ {
6154
+ "name": "ariaStateKey",
6155
+ "type": {
6156
+ "text": "string | undefined"
6157
+ },
6158
+ "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`",
6159
+ "default": "'aria-pressed' (when)",
6160
+ "fieldName": "ariaStateKey",
6161
+ "inheritedFrom": {
6162
+ "name": "Buttonsimple",
6163
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
6164
+ }
6165
+ },
6166
+ {
6167
+ "name": "type",
6168
+ "type": {
6169
+ "text": "ButtonType"
6170
+ },
6171
+ "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.",
6172
+ "default": "button",
6173
+ "fieldName": "type",
6174
+ "inheritedFrom": {
6175
+ "name": "Buttonsimple",
6176
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
6177
+ }
6178
+ },
6179
+ {
6180
+ "name": "name",
6181
+ "type": {
6182
+ "text": "string | undefined"
6183
+ },
6184
+ "description": "The name of the button, submitted as a pair with the button's value as part of the form data,\nwhen that button is used to submit the form.",
6185
+ "fieldName": "name",
6186
+ "inheritedFrom": {
6187
+ "name": "Buttonsimple",
6188
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
6189
+ }
6190
+ },
6191
+ {
6192
+ "name": "value",
6193
+ "type": {
6194
+ "text": "string | undefined"
6195
+ },
6196
+ "description": "Defines the value associated with the button's name when it's submitted with the form data.\nThis value is passed to the server in params when the form is submitted using this button.",
6197
+ "fieldName": "value",
6198
+ "inheritedFrom": {
6199
+ "name": "Buttonsimple",
6200
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
6201
+ }
6202
+ }
6203
+ ]
6204
+ }
6205
+ ],
6206
+ "exports": [
6207
+ {
6208
+ "kind": "js",
6209
+ "name": "default",
6210
+ "declaration": {
6211
+ "name": "CardButton",
6212
+ "module": "components/cardbutton/cardbutton.component.js"
6213
+ }
6214
+ }
6215
+ ]
6216
+ },
6217
+ {
6218
+ "kind": "javascript-module",
6219
+ "path": "components/buttonsimple/buttonsimple.component.js",
6220
+ "declarations": [
6221
+ {
6222
+ "kind": "class",
6223
+ "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.",
6224
+ "name": "Buttonsimple",
6225
+ "members": [
6226
+ {
6227
+ "kind": "field",
6228
+ "name": "active",
6229
+ "type": {
6230
+ "text": "boolean | undefined"
6231
+ },
6232
+ "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.",
6233
+ "default": "undefined",
6234
+ "attribute": "active",
6235
+ "reflects": true
6236
+ },
6237
+ {
6238
+ "kind": "field",
6239
+ "name": "softDisabled",
6240
+ "type": {
6241
+ "text": "boolean | undefined"
6242
+ },
6243
+ "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.",
6244
+ "default": "undefined",
6245
+ "attribute": "soft-disabled",
6246
+ "reflects": true
6247
+ },
6248
+ {
6249
+ "kind": "field",
6250
+ "name": "size",
6251
+ "type": {
6252
+ "text": "ButtonSize"
6253
+ },
6254
+ "description": "Simplebutton size is a super set of all the sizes supported by children components.",
6255
+ "default": "32",
6256
+ "attribute": "size",
6257
+ "reflects": true
6258
+ },
6259
+ {
6260
+ "kind": "field",
6261
+ "name": "role",
6262
+ "type": {
6263
+ "text": "RoleType"
6264
+ },
6265
+ "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.",
6266
+ "default": "button",
6267
+ "attribute": "role",
6268
+ "reflects": true
6269
+ },
6270
+ {
6271
+ "kind": "field",
6272
+ "name": "ariaStateKey",
6273
+ "type": {
6274
+ "text": "string | undefined"
6275
+ },
6276
+ "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`",
6277
+ "default": "'aria-pressed' (when)",
6278
+ "attribute": "ariaStateKey",
6279
+ "reflects": true
6280
+ },
6281
+ {
6282
+ "kind": "field",
6283
+ "name": "type",
6284
+ "type": {
6285
+ "text": "ButtonType"
6286
+ },
6287
+ "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.",
6288
+ "default": "button",
6289
+ "attribute": "type",
6290
+ "reflects": true
6291
+ },
6292
+ {
6293
+ "kind": "field",
6294
+ "name": "name",
6295
+ "type": {
6296
+ "text": "string | undefined"
6297
+ },
6298
+ "description": "The name of the button, submitted as a pair with the button's value as part of the form data,\nwhen that button is used to submit the form.",
6299
+ "attribute": "name",
6300
+ "reflects": true
6301
+ },
6302
+ {
6303
+ "kind": "field",
6304
+ "name": "value",
6305
+ "type": {
6306
+ "text": "string | undefined"
6307
+ },
6308
+ "description": "Defines the value associated with the button's name when it's submitted with the form data.\nThis value is passed to the server in params when the form is submitted using this button.",
6309
+ "attribute": "value",
6310
+ "reflects": true
6311
+ },
6312
+ {
6313
+ "kind": "method",
6314
+ "name": "executeAction",
6315
+ "privacy": "protected"
6316
+ },
6317
+ {
6318
+ "kind": "method",
6319
+ "name": "setActive",
6320
+ "privacy": "protected",
6321
+ "parameters": [
6322
+ {
6323
+ "name": "element",
6324
+ "type": {
6325
+ "text": "HTMLElement"
6326
+ },
6327
+ "description": "The button element"
6328
+ },
6329
+ {
6330
+ "name": "active",
6331
+ "optional": true,
6332
+ "type": {
6333
+ "text": "boolean"
6334
+ },
6335
+ "description": "The active state of the element"
6336
+ }
6337
+ ],
6338
+ "description": "Sets the ariaStateKey attributes based on the active state of the button."
6339
+ },
6340
+ {
6341
+ "kind": "method",
6342
+ "name": "setSoftDisabled",
6343
+ "privacy": "private",
6344
+ "parameters": [
6345
+ {
6346
+ "name": "element",
6347
+ "type": {
6348
+ "text": "HTMLElement"
6349
+ },
6350
+ "description": "The button element."
6351
+ },
6352
+ {
6353
+ "name": "softDisabled",
6354
+ "optional": true,
6355
+ "type": {
6356
+ "text": "boolean"
6357
+ },
6358
+ "description": "The soft-disabled state."
6359
+ }
6360
+ ],
6361
+ "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."
6362
+ },
6363
+ {
6364
+ "kind": "method",
6365
+ "name": "setDisabled",
6366
+ "privacy": "private",
6367
+ "parameters": [
6368
+ {
6369
+ "name": "element",
6370
+ "type": {
6371
+ "text": "HTMLElement"
6372
+ },
6373
+ "description": "The button element."
6374
+ },
6375
+ {
6376
+ "name": "disabled",
6377
+ "type": {
6378
+ "text": "boolean"
6379
+ },
6380
+ "description": "The disabled state."
6381
+ }
6382
+ ],
6383
+ "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."
6037
6384
  },
6038
6385
  {
6039
6386
  "kind": "method",
6040
6387
  "name": "triggerClickEvent",
6041
- "privacy": "private",
6042
- "inheritedFrom": {
6043
- "name": "Buttonsimple",
6044
- "module": "components/buttonsimple/buttonsimple.component.js"
6045
- }
6388
+ "privacy": "private"
6046
6389
  },
6047
6390
  {
6048
6391
  "kind": "method",
6049
6392
  "name": "handleBlur",
6050
6393
  "privacy": "private",
6051
- "description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed.",
6052
- "inheritedFrom": {
6053
- "name": "Buttonsimple",
6054
- "module": "components/buttonsimple/buttonsimple.component.js"
6055
- }
6394
+ "description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed."
6056
6395
  },
6057
6396
  {
6058
6397
  "kind": "method",
@@ -6067,11 +6406,7 @@
6067
6406
  "description": "The keyboard event."
6068
6407
  }
6069
6408
  ],
6070
- "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.",
6071
- "inheritedFrom": {
6072
- "name": "Buttonsimple",
6073
- "module": "components/buttonsimple/buttonsimple.component.js"
6074
- }
6409
+ "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."
6075
6410
  },
6076
6411
  {
6077
6412
  "kind": "method",
@@ -6086,180 +6421,146 @@
6086
6421
  "description": "The keyboard event."
6087
6422
  }
6088
6423
  ],
6089
- "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.",
6424
+ "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."
6425
+ },
6426
+ {
6427
+ "kind": "field",
6428
+ "name": "autoFocusOnMount",
6429
+ "type": {
6430
+ "text": "boolean"
6431
+ },
6432
+ "default": "false",
6433
+ "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
6434
+ "attribute": "auto-focus-on-mount",
6435
+ "reflects": true,
6090
6436
  "inheritedFrom": {
6091
- "name": "Buttonsimple",
6092
- "module": "components/buttonsimple/buttonsimple.component.js"
6437
+ "name": "AutoFocusOnMountMixin",
6438
+ "module": "utils/mixins/AutoFocusOnMountMixin.js"
6439
+ }
6440
+ },
6441
+ {
6442
+ "kind": "field",
6443
+ "name": "tabIndex",
6444
+ "type": {
6445
+ "text": "number"
6446
+ },
6447
+ "default": "0",
6448
+ "description": "This property specifies the tab order of the element.",
6449
+ "attribute": "tabIndex",
6450
+ "reflects": true,
6451
+ "inheritedFrom": {
6452
+ "name": "TabIndexMixin",
6453
+ "module": "utils/mixins/TabIndexMixin.js"
6454
+ }
6455
+ },
6456
+ {
6457
+ "kind": "field",
6458
+ "name": "disabled",
6459
+ "type": {
6460
+ "text": "boolean | undefined"
6461
+ },
6462
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
6463
+ "default": "undefined",
6464
+ "attribute": "disabled",
6465
+ "reflects": true,
6466
+ "inheritedFrom": {
6467
+ "name": "DisabledMixin",
6468
+ "module": "utils/mixins/DisabledMixin.js"
6093
6469
  }
6094
6470
  }
6095
6471
  ],
6096
6472
  "events": [
6097
6473
  {
6098
- "description": "(React: onClick) Event that gets dispatched when the card is clicked.",
6474
+ "description": "(React: onClick) This event is dispatched when the button is clicked.",
6099
6475
  "name": "click",
6100
- "reactName": "onClick",
6101
- "inheritedFrom": {
6102
- "name": "Buttonsimple",
6103
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6104
- }
6476
+ "reactName": "onClick"
6105
6477
  },
6106
6478
  {
6107
- "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the card. It fires the click event when enter key is used.",
6479
+ "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the button.",
6108
6480
  "name": "keydown",
6109
- "reactName": "onKeyDown",
6110
- "inheritedFrom": {
6111
- "name": "Buttonsimple",
6112
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6113
- }
6481
+ "reactName": "onKeyDown"
6114
6482
  },
6115
6483
  {
6116
- "description": "(React: onKeyUp) This event is dispatched when a key is released on the card. It fires the click event when space key is used.",
6484
+ "description": "(React: onKeyUp) This event is dispatched when a key is released on the button.",
6117
6485
  "name": "keyup",
6118
- "reactName": "onKeyUp",
6119
- "inheritedFrom": {
6120
- "name": "Buttonsimple",
6121
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6122
- }
6486
+ "reactName": "onKeyUp"
6123
6487
  },
6124
6488
  {
6125
- "description": "(React: onFocus) Event that gets dispatched when the card receives focus.",
6489
+ "description": "(React: onFocus) This event is dispatched when the button receives focus.",
6126
6490
  "name": "focus",
6127
- "reactName": "onFocus",
6128
- "inheritedFrom": {
6129
- "name": "Buttonsimple",
6130
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6131
- }
6132
- }
6133
- ],
6134
- "mixins": [
6135
- {
6136
- "name": "CardComponentMixin",
6137
- "module": "/src/utils/mixins/CardComponentMixin"
6491
+ "reactName": "onFocus"
6138
6492
  }
6139
6493
  ],
6140
- "superclass": {
6141
- "name": "Buttonsimple",
6142
- "module": "/src/components/buttonsimple/buttonsimple.component"
6143
- },
6144
- "tagName": "mdc-cardbutton",
6145
- "jsDoc": "/**\n * cardbutton component looks like a card and behaves as a button component.\n *\n * **Note**: This is a single selection card i.e. interacting anywhere on the card would trigger the click event.\n * Make sure to pass only non-interactable elements within the slots.\n *\n * @tagname mdc-cardbutton\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @event click - (React: onClick) Event that gets dispatched when the card is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the card.\n * It fires the click event when enter key is used.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the card.\n * It fires the click event when space key is used.\n * @event focus - (React: onFocus) Event that gets dispatched when the card receives focus.\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n * @slot footer-link - This slot is for passing `mdc-link` component within the footer section.\n * @slot footer-button-primary - This slot is for passing primary variant of `mdc-button` component within the footer section.\n *\n * @csspart header - The header part of the card\n * @csspart icon - The icon part of the card header\n * @csspart body - The body part of the card\n * @csspart image - The image part of the card\n * @csspart footer - The footer part of the card\n * @csspart footer-link - The link part of the card footer\n * @csspart footer-button-primary - The primary button part of the card footer\n * @csspart footer-button-secondary - The secondary button part of the card footer\n * @csspart icon-button - The icon button part of the card header\n * @csspart text - The text part of the card\n *\n * @cssproperty --mdc-card-width - The width of the card\n */",
6146
- "customElement": true,
6147
6494
  "attributes": [
6148
6495
  {
6149
- "name": "card-title",
6150
- "type": {
6151
- "text": "string"
6152
- },
6153
- "default": "''",
6154
- "description": "The title of the card - part of header section",
6155
- "fieldName": "cardTitle",
6156
- "inheritedFrom": {
6157
- "name": "CardComponentMixin",
6158
- "module": "src/utils/mixins/CardComponentMixin.ts"
6159
- }
6160
- },
6161
- {
6162
- "name": "subtitle",
6496
+ "name": "active",
6163
6497
  "type": {
6164
- "text": "string"
6498
+ "text": "boolean | undefined"
6165
6499
  },
6166
- "default": "''",
6167
- "description": "The subtitle of the card - part of header section",
6168
- "fieldName": "subtitle",
6169
- "inheritedFrom": {
6170
- "name": "CardComponentMixin",
6171
- "module": "src/utils/mixins/CardComponentMixin.ts"
6172
- }
6500
+ "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.",
6501
+ "default": "undefined",
6502
+ "fieldName": "active"
6173
6503
  },
6174
6504
  {
6175
- "name": "image-src",
6505
+ "name": "soft-disabled",
6176
6506
  "type": {
6177
- "text": "string"
6507
+ "text": "boolean | undefined"
6178
6508
  },
6179
- "default": "''",
6180
- "description": "The image source URL to render on the card",
6181
- "fieldName": "imageSrc",
6182
- "inheritedFrom": {
6183
- "name": "CardComponentMixin",
6184
- "module": "src/utils/mixins/CardComponentMixin.ts"
6185
- }
6509
+ "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.",
6510
+ "default": "undefined",
6511
+ "fieldName": "softDisabled"
6186
6512
  },
6187
6513
  {
6188
- "name": "image-alt",
6514
+ "name": "size",
6189
6515
  "type": {
6190
- "text": "string"
6516
+ "text": "ButtonSize"
6191
6517
  },
6192
- "default": "''",
6193
- "description": "The image alt for accessibility support",
6194
- "fieldName": "imageAlt",
6195
- "inheritedFrom": {
6196
- "name": "CardComponentMixin",
6197
- "module": "src/utils/mixins/CardComponentMixin.ts"
6198
- }
6518
+ "description": "Simplebutton size is a super set of all the sizes supported by children components.",
6519
+ "default": "32",
6520
+ "fieldName": "size"
6199
6521
  },
6200
6522
  {
6201
- "name": "variant",
6523
+ "name": "role",
6202
6524
  "type": {
6203
- "text": "CardVariant"
6525
+ "text": "RoleType"
6204
6526
  },
6205
- "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
6206
- "default": "'border'",
6207
- "fieldName": "variant",
6208
- "inheritedFrom": {
6209
- "name": "CardComponentMixin",
6210
- "module": "src/utils/mixins/CardComponentMixin.ts"
6211
- }
6527
+ "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.",
6528
+ "default": "button",
6529
+ "fieldName": "role"
6212
6530
  },
6213
6531
  {
6214
- "name": "orientation",
6532
+ "name": "ariaStateKey",
6215
6533
  "type": {
6216
- "text": "CardOrientation"
6534
+ "text": "string | undefined"
6217
6535
  },
6218
- "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
6219
- "default": "'vertical'",
6220
- "fieldName": "orientation",
6221
- "inheritedFrom": {
6222
- "name": "CardComponentMixin",
6223
- "module": "src/utils/mixins/CardComponentMixin.ts"
6224
- }
6536
+ "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`",
6537
+ "default": "'aria-pressed' (when)",
6538
+ "fieldName": "ariaStateKey"
6225
6539
  },
6226
6540
  {
6227
- "name": "title-tag-name",
6541
+ "name": "type",
6228
6542
  "type": {
6229
- "text": "TagNameType"
6543
+ "text": "ButtonType"
6230
6544
  },
6231
- "description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
6232
- "default": "'span'",
6233
- "fieldName": "titleTagName",
6234
- "inheritedFrom": {
6235
- "name": "CardComponentMixin",
6236
- "module": "src/utils/mixins/CardComponentMixin.ts"
6237
- }
6545
+ "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.",
6546
+ "default": "button",
6547
+ "fieldName": "type"
6238
6548
  },
6239
6549
  {
6240
- "name": "subtitle-tag-name",
6550
+ "name": "name",
6241
6551
  "type": {
6242
- "text": "TagNameType"
6552
+ "text": "string | undefined"
6243
6553
  },
6244
- "description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
6245
- "default": "'span'",
6246
- "fieldName": "subtitleTagName",
6247
- "inheritedFrom": {
6248
- "name": "CardComponentMixin",
6249
- "module": "src/utils/mixins/CardComponentMixin.ts"
6250
- }
6554
+ "description": "The name of the button, submitted as a pair with the button's value as part of the form data,\nwhen that button is used to submit the form.",
6555
+ "fieldName": "name"
6251
6556
  },
6252
6557
  {
6253
- "name": "icon-name",
6558
+ "name": "value",
6254
6559
  "type": {
6255
- "text": "IconNames | undefined"
6560
+ "text": "string | undefined"
6256
6561
  },
6257
- "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
6258
- "fieldName": "iconName",
6259
- "inheritedFrom": {
6260
- "name": "CardComponentMixin",
6261
- "module": "src/utils/mixins/CardComponentMixin.ts"
6262
- }
6562
+ "description": "Defines the value associated with the button's name when it's submitted with the form data.\nThis value is passed to the server in params when the form is submitted using this button.",
6563
+ "fieldName": "value"
6263
6564
  },
6264
6565
  {
6265
6566
  "name": "auto-focus-on-mount",
@@ -6270,8 +6571,8 @@
6270
6571
  "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
6271
6572
  "fieldName": "autoFocusOnMount",
6272
6573
  "inheritedFrom": {
6273
- "name": "Buttonsimple",
6274
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6574
+ "name": "AutoFocusOnMountMixin",
6575
+ "module": "src/utils/mixins/AutoFocusOnMountMixin.ts"
6275
6576
  }
6276
6577
  },
6277
6578
  {
@@ -6283,8 +6584,8 @@
6283
6584
  "description": "This property specifies the tab order of the element.",
6284
6585
  "fieldName": "tabIndex",
6285
6586
  "inheritedFrom": {
6286
- "name": "Buttonsimple",
6287
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6587
+ "name": "TabIndexMixin",
6588
+ "module": "src/utils/mixins/TabIndexMixin.ts"
6288
6589
  }
6289
6590
  },
6290
6591
  {
@@ -6296,89 +6597,32 @@
6296
6597
  "default": "undefined",
6297
6598
  "fieldName": "disabled",
6298
6599
  "inheritedFrom": {
6299
- "name": "Buttonsimple",
6300
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6301
- }
6302
- },
6303
- {
6304
- "name": "active",
6305
- "type": {
6306
- "text": "boolean | undefined"
6307
- },
6308
- "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.",
6309
- "default": "undefined",
6310
- "fieldName": "active",
6311
- "inheritedFrom": {
6312
- "name": "Buttonsimple",
6313
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6314
- }
6315
- },
6316
- {
6317
- "name": "soft-disabled",
6318
- "type": {
6319
- "text": "boolean | undefined"
6320
- },
6321
- "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.",
6322
- "default": "undefined",
6323
- "fieldName": "softDisabled",
6324
- "inheritedFrom": {
6325
- "name": "Buttonsimple",
6326
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6327
- }
6328
- },
6329
- {
6330
- "name": "size",
6331
- "type": {
6332
- "text": "ButtonSize"
6333
- },
6334
- "description": "Simplebutton size is a super set of all the sizes supported by children components.",
6335
- "default": "32",
6336
- "fieldName": "size",
6337
- "inheritedFrom": {
6338
- "name": "Buttonsimple",
6339
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6600
+ "name": "DisabledMixin",
6601
+ "module": "src/utils/mixins/DisabledMixin.ts"
6340
6602
  }
6341
- },
6603
+ }
6604
+ ],
6605
+ "mixins": [
6342
6606
  {
6343
- "name": "role",
6344
- "type": {
6345
- "text": "RoleType"
6346
- },
6347
- "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.",
6348
- "default": "button",
6349
- "fieldName": "role",
6350
- "inheritedFrom": {
6351
- "name": "Buttonsimple",
6352
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6353
- }
6607
+ "name": "AutoFocusOnMountMixin",
6608
+ "module": "/src/utils/mixins/AutoFocusOnMountMixin"
6354
6609
  },
6355
6610
  {
6356
- "name": "ariaStateKey",
6357
- "type": {
6358
- "text": "string | undefined"
6359
- },
6360
- "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`",
6361
- "default": "'aria-pressed' (when)",
6362
- "fieldName": "ariaStateKey",
6363
- "inheritedFrom": {
6364
- "name": "Buttonsimple",
6365
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6366
- }
6611
+ "name": "TabIndexMixin",
6612
+ "module": "/src/utils/mixins/TabIndexMixin"
6367
6613
  },
6368
6614
  {
6369
- "name": "type",
6370
- "type": {
6371
- "text": "ButtonType"
6372
- },
6373
- "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.",
6374
- "default": "button",
6375
- "fieldName": "type",
6376
- "inheritedFrom": {
6377
- "name": "Buttonsimple",
6378
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6379
- }
6615
+ "name": "DisabledMixin",
6616
+ "module": "/src/utils/mixins/DisabledMixin"
6380
6617
  }
6381
- ]
6618
+ ],
6619
+ "superclass": {
6620
+ "name": "Component",
6621
+ "module": "/src/models"
6622
+ },
6623
+ "tagName": "mdc-buttonsimple",
6624
+ "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 */",
6625
+ "customElement": true
6382
6626
  }
6383
6627
  ],
6384
6628
  "exports": [
@@ -6386,8 +6630,8 @@
6386
6630
  "kind": "js",
6387
6631
  "name": "default",
6388
6632
  "declaration": {
6389
- "name": "CardButton",
6390
- "module": "components/cardbutton/cardbutton.component.js"
6633
+ "name": "Buttonsimple",
6634
+ "module": "components/buttonsimple/buttonsimple.component.js"
6391
6635
  }
6392
6636
  }
6393
6637
  ]
@@ -8739,6 +8983,34 @@
8739
8983
  "module": "components/buttonsimple/buttonsimple.component.js"
8740
8984
  }
8741
8985
  },
8986
+ {
8987
+ "kind": "field",
8988
+ "name": "name",
8989
+ "type": {
8990
+ "text": "string | undefined"
8991
+ },
8992
+ "description": "The name of the button, submitted as a pair with the button's value as part of the form data,\nwhen that button is used to submit the form.",
8993
+ "attribute": "name",
8994
+ "reflects": true,
8995
+ "inheritedFrom": {
8996
+ "name": "Buttonsimple",
8997
+ "module": "components/buttonsimple/buttonsimple.component.js"
8998
+ }
8999
+ },
9000
+ {
9001
+ "kind": "field",
9002
+ "name": "value",
9003
+ "type": {
9004
+ "text": "string | undefined"
9005
+ },
9006
+ "description": "Defines the value associated with the button's name when it's submitted with the form data.\nThis value is passed to the server in params when the form is submitted using this button.",
9007
+ "attribute": "value",
9008
+ "reflects": true,
9009
+ "inheritedFrom": {
9010
+ "name": "Buttonsimple",
9011
+ "module": "components/buttonsimple/buttonsimple.component.js"
9012
+ }
9013
+ },
8742
9014
  {
8743
9015
  "kind": "method",
8744
9016
  "name": "executeAction",
@@ -9033,6 +9305,30 @@
9033
9305
  "name": "Buttonsimple",
9034
9306
  "module": "src/components/buttonsimple/buttonsimple.component.ts"
9035
9307
  }
9308
+ },
9309
+ {
9310
+ "name": "name",
9311
+ "type": {
9312
+ "text": "string | undefined"
9313
+ },
9314
+ "description": "The name of the button, submitted as a pair with the button's value as part of the form data,\nwhen that button is used to submit the form.",
9315
+ "fieldName": "name",
9316
+ "inheritedFrom": {
9317
+ "name": "Buttonsimple",
9318
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
9319
+ }
9320
+ },
9321
+ {
9322
+ "name": "value",
9323
+ "type": {
9324
+ "text": "string | undefined"
9325
+ },
9326
+ "description": "Defines the value associated with the button's name when it's submitted with the form data.\nThis value is passed to the server in params when the form is submitted using this button.",
9327
+ "fieldName": "value",
9328
+ "inheritedFrom": {
9329
+ "name": "Buttonsimple",
9330
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
9331
+ }
9036
9332
  }
9037
9333
  ],
9038
9334
  "mixins": [
@@ -12678,6 +12974,34 @@
12678
12974
  "module": "components/buttonsimple/buttonsimple.component.js"
12679
12975
  }
12680
12976
  },
12977
+ {
12978
+ "kind": "field",
12979
+ "name": "name",
12980
+ "type": {
12981
+ "text": "string | undefined"
12982
+ },
12983
+ "description": "The name of the button, submitted as a pair with the button's value as part of the form data,\nwhen that button is used to submit the form.",
12984
+ "attribute": "name",
12985
+ "reflects": true,
12986
+ "inheritedFrom": {
12987
+ "name": "Buttonsimple",
12988
+ "module": "components/buttonsimple/buttonsimple.component.js"
12989
+ }
12990
+ },
12991
+ {
12992
+ "kind": "field",
12993
+ "name": "value",
12994
+ "type": {
12995
+ "text": "string | undefined"
12996
+ },
12997
+ "description": "Defines the value associated with the button's name when it's submitted with the form data.\nThis value is passed to the server in params when the form is submitted using this button.",
12998
+ "attribute": "value",
12999
+ "reflects": true,
13000
+ "inheritedFrom": {
13001
+ "name": "Buttonsimple",
13002
+ "module": "components/buttonsimple/buttonsimple.component.js"
13003
+ }
13004
+ },
12681
13005
  {
12682
13006
  "kind": "method",
12683
13007
  "name": "setActive",
@@ -12980,6 +13304,30 @@
12980
13304
  "name": "Buttonsimple",
12981
13305
  "module": "src/components/buttonsimple/buttonsimple.component.ts"
12982
13306
  }
13307
+ },
13308
+ {
13309
+ "name": "name",
13310
+ "type": {
13311
+ "text": "string | undefined"
13312
+ },
13313
+ "description": "The name of the button, submitted as a pair with the button's value as part of the form data,\nwhen that button is used to submit the form.",
13314
+ "fieldName": "name",
13315
+ "inheritedFrom": {
13316
+ "name": "Buttonsimple",
13317
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
13318
+ }
13319
+ },
13320
+ {
13321
+ "name": "value",
13322
+ "type": {
13323
+ "text": "string | undefined"
13324
+ },
13325
+ "description": "Defines the value associated with the button's name when it's submitted with the form data.\nThis value is passed to the server in params when the form is submitted using this button.",
13326
+ "fieldName": "value",
13327
+ "inheritedFrom": {
13328
+ "name": "Buttonsimple",
13329
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
13330
+ }
12983
13331
  }
12984
13332
  ],
12985
13333
  "superclass": {
@@ -15996,6 +16344,34 @@
15996
16344
  "module": "components/buttonsimple/buttonsimple.component.js"
15997
16345
  }
15998
16346
  },
16347
+ {
16348
+ "kind": "field",
16349
+ "name": "name",
16350
+ "type": {
16351
+ "text": "string | undefined"
16352
+ },
16353
+ "description": "The name of the button, submitted as a pair with the button's value as part of the form data,\nwhen that button is used to submit the form.",
16354
+ "attribute": "name",
16355
+ "reflects": true,
16356
+ "inheritedFrom": {
16357
+ "name": "Buttonsimple",
16358
+ "module": "components/buttonsimple/buttonsimple.component.js"
16359
+ }
16360
+ },
16361
+ {
16362
+ "kind": "field",
16363
+ "name": "value",
16364
+ "type": {
16365
+ "text": "string | undefined"
16366
+ },
16367
+ "description": "Defines the value associated with the button's name when it's submitted with the form data.\nThis value is passed to the server in params when the form is submitted using this button.",
16368
+ "attribute": "value",
16369
+ "reflects": true,
16370
+ "inheritedFrom": {
16371
+ "name": "Buttonsimple",
16372
+ "module": "components/buttonsimple/buttonsimple.component.js"
16373
+ }
16374
+ },
15999
16375
  {
16000
16376
  "kind": "method",
16001
16377
  "name": "executeAction",
@@ -16328,6 +16704,30 @@
16328
16704
  "name": "Buttonsimple",
16329
16705
  "module": "src/components/buttonsimple/buttonsimple.component.ts"
16330
16706
  }
16707
+ },
16708
+ {
16709
+ "name": "name",
16710
+ "type": {
16711
+ "text": "string | undefined"
16712
+ },
16713
+ "description": "The name of the button, submitted as a pair with the button's value as part of the form data,\nwhen that button is used to submit the form.",
16714
+ "fieldName": "name",
16715
+ "inheritedFrom": {
16716
+ "name": "Buttonsimple",
16717
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
16718
+ }
16719
+ },
16720
+ {
16721
+ "name": "value",
16722
+ "type": {
16723
+ "text": "string | undefined"
16724
+ },
16725
+ "description": "Defines the value associated with the button's name when it's submitted with the form data.\nThis value is passed to the server in params when the form is submitted using this button.",
16726
+ "fieldName": "value",
16727
+ "inheritedFrom": {
16728
+ "name": "Buttonsimple",
16729
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
16730
+ }
16331
16731
  }
16332
16732
  ],
16333
16733
  "mixins": [
@@ -18296,9 +18696,8 @@
18296
18696
  "kind": "field",
18297
18697
  "name": "name",
18298
18698
  "type": {
18299
- "text": "undefined | string | undefined"
18699
+ "text": "string | undefined"
18300
18700
  },
18301
- "default": "undefined",
18302
18701
  "description": "The name attribute is used to identify the menu item when it is selected.",
18303
18702
  "attribute": "name",
18304
18703
  "reflects": true
@@ -18307,9 +18706,8 @@
18307
18706
  "kind": "field",
18308
18707
  "name": "value",
18309
18708
  "type": {
18310
- "text": "undefined | string | undefined"
18709
+ "text": "string | undefined"
18311
18710
  },
18312
- "default": "undefined",
18313
18711
  "description": "The value attribute is used to represent a value when the menu item is selected.\nIt is typically used with checkbox and radio menu items, but can be handy for any menu item.",
18314
18712
  "attribute": "value",
18315
18713
  "reflects": true
@@ -18793,18 +19191,16 @@
18793
19191
  {
18794
19192
  "name": "name",
18795
19193
  "type": {
18796
- "text": "undefined | string | undefined"
19194
+ "text": "string | undefined"
18797
19195
  },
18798
- "default": "undefined",
18799
19196
  "description": "The name attribute is used to identify the menu item when it is selected.",
18800
19197
  "fieldName": "name"
18801
19198
  },
18802
19199
  {
18803
19200
  "name": "value",
18804
19201
  "type": {
18805
- "text": "undefined | string | undefined"
19202
+ "text": "string | undefined"
18806
19203
  },
18807
- "default": "undefined",
18808
19204
  "description": "The value attribute is used to represent a value when the menu item is selected.\nIt is typically used with checkbox and radio menu items, but can be handy for any menu item.",
18809
19205
  "fieldName": "value"
18810
19206
  },
@@ -19232,9 +19628,8 @@
19232
19628
  "kind": "field",
19233
19629
  "name": "name",
19234
19630
  "type": {
19235
- "text": "undefined | string | undefined"
19631
+ "text": "string | undefined"
19236
19632
  },
19237
- "default": "undefined",
19238
19633
  "description": "The name attribute is used to identify the menu item when it is selected.",
19239
19634
  "attribute": "name",
19240
19635
  "reflects": true,
@@ -19247,9 +19642,8 @@
19247
19642
  "kind": "field",
19248
19643
  "name": "value",
19249
19644
  "type": {
19250
- "text": "undefined | string | undefined"
19645
+ "text": "string | undefined"
19251
19646
  },
19252
- "default": "undefined",
19253
19647
  "description": "The value attribute is used to represent a value when the menu item is selected.\nIt is typically used with checkbox and radio menu items, but can be handy for any menu item.",
19254
19648
  "attribute": "value",
19255
19649
  "reflects": true,
@@ -19775,9 +20169,8 @@
19775
20169
  {
19776
20170
  "name": "name",
19777
20171
  "type": {
19778
- "text": "undefined | string | undefined"
20172
+ "text": "string | undefined"
19779
20173
  },
19780
- "default": "undefined",
19781
20174
  "description": "The name attribute is used to identify the menu item when it is selected.",
19782
20175
  "fieldName": "name",
19783
20176
  "inheritedFrom": {
@@ -19788,9 +20181,8 @@
19788
20181
  {
19789
20182
  "name": "value",
19790
20183
  "type": {
19791
- "text": "undefined | string | undefined"
20184
+ "text": "string | undefined"
19792
20185
  },
19793
- "default": "undefined",
19794
20186
  "description": "The value attribute is used to represent a value when the menu item is selected.\nIt is typically used with checkbox and radio menu items, but can be handy for any menu item.",
19795
20187
  "fieldName": "value",
19796
20188
  "inheritedFrom": {
@@ -20233,9 +20625,8 @@
20233
20625
  "kind": "field",
20234
20626
  "name": "name",
20235
20627
  "type": {
20236
- "text": "undefined | string | undefined"
20628
+ "text": "string | undefined"
20237
20629
  },
20238
- "default": "undefined",
20239
20630
  "description": "The name attribute is used to identify the menu item when it is selected.",
20240
20631
  "attribute": "name",
20241
20632
  "reflects": true,
@@ -20248,9 +20639,8 @@
20248
20639
  "kind": "field",
20249
20640
  "name": "value",
20250
20641
  "type": {
20251
- "text": "undefined | string | undefined"
20642
+ "text": "string | undefined"
20252
20643
  },
20253
- "default": "undefined",
20254
20644
  "description": "The value attribute is used to represent a value when the menu item is selected.\nIt is typically used with checkbox and radio menu items, but can be handy for any menu item.",
20255
20645
  "attribute": "value",
20256
20646
  "reflects": true,
@@ -20776,9 +21166,8 @@
20776
21166
  {
20777
21167
  "name": "name",
20778
21168
  "type": {
20779
- "text": "undefined | string | undefined"
21169
+ "text": "string | undefined"
20780
21170
  },
20781
- "default": "undefined",
20782
21171
  "description": "The name attribute is used to identify the menu item when it is selected.",
20783
21172
  "fieldName": "name",
20784
21173
  "inheritedFrom": {
@@ -20789,9 +21178,8 @@
20789
21178
  {
20790
21179
  "name": "value",
20791
21180
  "type": {
20792
- "text": "undefined | string | undefined"
21181
+ "text": "string | undefined"
20793
21182
  },
20794
- "default": "undefined",
20795
21183
  "description": "The value attribute is used to represent a value when the menu item is selected.\nIt is typically used with checkbox and radio menu items, but can be handy for any menu item.",
20796
21184
  "fieldName": "value",
20797
21185
  "inheritedFrom": {
@@ -23768,9 +24156,8 @@
23768
24156
  "kind": "field",
23769
24157
  "name": "name",
23770
24158
  "type": {
23771
- "text": "undefined | string | undefined"
24159
+ "text": "string | undefined"
23772
24160
  },
23773
- "default": "undefined",
23774
24161
  "description": "The name attribute is used to identify the menu item when it is selected.",
23775
24162
  "attribute": "name",
23776
24163
  "reflects": true,
@@ -23783,9 +24170,8 @@
23783
24170
  "kind": "field",
23784
24171
  "name": "value",
23785
24172
  "type": {
23786
- "text": "undefined | string | undefined"
24173
+ "text": "string | undefined"
23787
24174
  },
23788
- "default": "undefined",
23789
24175
  "description": "The value attribute is used to represent a value when the menu item is selected.\nIt is typically used with checkbox and radio menu items, but can be handy for any menu item.",
23790
24176
  "attribute": "value",
23791
24177
  "reflects": true,
@@ -24362,9 +24748,8 @@
24362
24748
  {
24363
24749
  "name": "name",
24364
24750
  "type": {
24365
- "text": "undefined | string | undefined"
24751
+ "text": "string | undefined"
24366
24752
  },
24367
- "default": "undefined",
24368
24753
  "description": "The name attribute is used to identify the menu item when it is selected.",
24369
24754
  "fieldName": "name",
24370
24755
  "inheritedFrom": {
@@ -24375,9 +24760,8 @@
24375
24760
  {
24376
24761
  "name": "value",
24377
24762
  "type": {
24378
- "text": "undefined | string | undefined"
24763
+ "text": "string | undefined"
24379
24764
  },
24380
- "default": "undefined",
24381
24765
  "description": "The value attribute is used to represent a value when the menu item is selected.\nIt is typically used with checkbox and radio menu items, but can be handy for any menu item.",
24382
24766
  "fieldName": "value",
24383
24767
  "inheritedFrom": {
@@ -34194,134 +34578,129 @@
34194
34578
  },
34195
34579
  {
34196
34580
  "kind": "javascript-module",
34197
- "path": "components/staticcheckbox/staticcheckbox.component.js",
34581
+ "path": "components/spinner/spinner.component.js",
34198
34582
  "declarations": [
34199
34583
  {
34200
34584
  "kind": "class",
34201
- "description": "This is a decorative component that is styled to look as a checkbox.\n\nIt has 3 properties - checked, indeterminate and disabled.\n\nWe are using the same styling that has been created for the `mdc-checkbox` component.",
34202
- "name": "StaticCheckbox",
34585
+ "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.",
34586
+ "name": "Spinner",
34203
34587
  "cssProperties": [
34204
34588
  {
34205
- "description": "Border color in high contrast.",
34206
- "name": "--mdc-staticcheckbox-border-color"
34207
- },
34208
- {
34209
- "description": "Background color for a selected checkbox.",
34210
- "name": "--mdc-staticcheckbox-checked-background-color"
34211
- },
34212
- {
34213
- "description": "Background color for a disabled checkbox.",
34214
- "name": "--mdc-staticcheckbox-disabled-background-color"
34215
- },
34216
- {
34217
- "description": "Border color for a disabled checkbox.",
34218
- "name": "--mdc-checkbox-disabled-border-color"
34589
+ "description": "Allows customization of the default spinner color.",
34590
+ "name": "--mdc-spinner-default-color"
34219
34591
  },
34220
34592
  {
34221
- "description": "Background color for a disabled, selected checkbox.",
34222
- "name": "--mdc-checkbox-disabled-checked-icon-color"
34593
+ "description": "Allows customization of the inverted spinner color.",
34594
+ "name": "--mdc-spinner-inverted-color"
34223
34595
  },
34224
34596
  {
34225
- "description": "Icon color for a disabled checkbox.",
34226
- "name": "--mdc-staticcheckbox-disabled-icon-color"
34597
+ "description": "Allows customization of the spinner Button variant color.",
34598
+ "name": "--mdc-spinner-button-variant-color"
34227
34599
  },
34228
34600
  {
34229
- "description": "Background color for an unselected checkbox.",
34230
- "name": "--mdc-staticcheckbox-icon-background-color"
34231
- },
34601
+ "description": "Allows customization of the spinner size.",
34602
+ "name": "--mdc-spinner-size"
34603
+ }
34604
+ ],
34605
+ "cssParts": [
34232
34606
  {
34233
- "description": "Default background color for an unselected checkbox.",
34234
- "name": "--mdc-staticcheckbox-icon-border-color"
34607
+ "description": "The svg which contains the circle spinner.",
34608
+ "name": "container"
34235
34609
  },
34236
34610
  {
34237
- "description": "Icon color for an unselected checkbox.",
34238
- "name": "--mdc-staticcheckbox-icon-color"
34611
+ "description": "The circle of the spinner.",
34612
+ "name": "circle"
34239
34613
  }
34240
34614
  ],
34241
34615
  "members": [
34242
34616
  {
34243
34617
  "kind": "field",
34244
- "name": "checked",
34618
+ "name": "inverted",
34245
34619
  "type": {
34246
- "text": "boolean"
34620
+ "text": "boolean | undefined"
34247
34621
  },
34622
+ "description": "The spinner color can be inverted by setting the inverted attribute to true.",
34248
34623
  "default": "false",
34249
- "description": "Determines whether the checkbox is selected or unselected.",
34250
- "attribute": "checked",
34624
+ "attribute": "inverted",
34251
34625
  "reflects": true
34252
34626
  },
34253
34627
  {
34254
34628
  "kind": "field",
34255
- "name": "indeterminate",
34629
+ "name": "size",
34256
34630
  "type": {
34257
- "text": "boolean"
34631
+ "text": "SpinnerSize | undefined"
34258
34632
  },
34259
- "default": "false",
34260
- "description": "Determines whether the checkbox is in an indeterminate state.",
34261
- "attribute": "indeterminate",
34633
+ "description": "Size of the spinner.\nAcceptable values include:\n\n- 'small'\n- 'midsize'\n- 'large'\n- 'undefined'",
34634
+ "default": "midsize",
34635
+ "attribute": "size",
34262
34636
  "reflects": true
34263
34637
  },
34264
34638
  {
34265
34639
  "kind": "field",
34266
- "name": "disabled",
34640
+ "name": "ariaLabel",
34267
34641
  "type": {
34268
- "text": "boolean | undefined"
34642
+ "text": "string | null"
34269
34643
  },
34270
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
34271
- "default": "undefined",
34272
- "attribute": "disabled",
34273
- "reflects": true,
34274
- "inheritedFrom": {
34275
- "name": "DisabledMixin",
34276
- "module": "utils/mixins/DisabledMixin.js"
34277
- }
34644
+ "default": "null",
34645
+ "description": "Aria-label attribute to be set for accessibility",
34646
+ "attribute": "aria-label"
34647
+ },
34648
+ {
34649
+ "kind": "field",
34650
+ "name": "variant",
34651
+ "type": {
34652
+ "text": "SpinnerVariant"
34653
+ },
34654
+ "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.",
34655
+ "default": "standalone",
34656
+ "attribute": "variant",
34657
+ "reflects": true
34278
34658
  }
34279
34659
  ],
34280
34660
  "attributes": [
34281
34661
  {
34282
- "name": "checked",
34662
+ "name": "inverted",
34283
34663
  "type": {
34284
- "text": "boolean"
34664
+ "text": "boolean | undefined"
34285
34665
  },
34666
+ "description": "The spinner color can be inverted by setting the inverted attribute to true.",
34286
34667
  "default": "false",
34287
- "description": "Determines whether the checkbox is selected or unselected.",
34288
- "fieldName": "checked"
34668
+ "fieldName": "inverted"
34289
34669
  },
34290
34670
  {
34291
- "name": "indeterminate",
34671
+ "name": "size",
34292
34672
  "type": {
34293
- "text": "boolean"
34673
+ "text": "SpinnerSize | undefined"
34294
34674
  },
34295
- "default": "false",
34296
- "description": "Determines whether the checkbox is in an indeterminate state.",
34297
- "fieldName": "indeterminate"
34675
+ "description": "Size of the spinner.\nAcceptable values include:\n\n- 'small'\n- 'midsize'\n- 'large'\n- 'undefined'",
34676
+ "default": "midsize",
34677
+ "fieldName": "size"
34298
34678
  },
34299
34679
  {
34300
- "name": "disabled",
34680
+ "name": "aria-label",
34301
34681
  "type": {
34302
- "text": "boolean | undefined"
34682
+ "text": "string | null"
34303
34683
  },
34304
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
34305
- "default": "undefined",
34306
- "fieldName": "disabled",
34307
- "inheritedFrom": {
34308
- "name": "DisabledMixin",
34309
- "module": "src/utils/mixins/DisabledMixin.ts"
34310
- }
34311
- }
34312
- ],
34313
- "mixins": [
34684
+ "default": "null",
34685
+ "description": "Aria-label attribute to be set for accessibility",
34686
+ "fieldName": "ariaLabel"
34687
+ },
34314
34688
  {
34315
- "name": "DisabledMixin",
34316
- "module": "/src/utils/mixins/DisabledMixin"
34689
+ "name": "variant",
34690
+ "type": {
34691
+ "text": "SpinnerVariant"
34692
+ },
34693
+ "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.",
34694
+ "default": "standalone",
34695
+ "fieldName": "variant"
34317
34696
  }
34318
34697
  ],
34319
34698
  "superclass": {
34320
34699
  "name": "Component",
34321
34700
  "module": "/src/models"
34322
34701
  },
34323
- "tagName": "mdc-staticcheckbox",
34324
- "jsDoc": "/**\n * This is a decorative component that is styled to look as a checkbox.\n *\n * It has 3 properties - checked, indeterminate and disabled.\n *\n * We are using the same styling that has been created for the `mdc-checkbox` component.\n *\n * @tagname mdc-staticcheckbox\n *\n * @dependency mdc-icon\n *\n * @cssproperty --mdc-staticcheckbox-border-color - Border color in high contrast.\n * @cssproperty --mdc-staticcheckbox-checked-background-color - Background color for a selected checkbox.\n * @cssproperty --mdc-staticcheckbox-disabled-background-color - Background color for a disabled checkbox.\n * @cssproperty --mdc-checkbox-disabled-border-color - Border color for a disabled checkbox.\n * @cssproperty --mdc-checkbox-disabled-checked-icon-color - Background color for a disabled, selected checkbox.\n * @cssproperty --mdc-staticcheckbox-disabled-icon-color - Icon color for a disabled checkbox.\n * @cssproperty --mdc-staticcheckbox-icon-background-color - Background color for an unselected checkbox.\n * @cssproperty --mdc-staticcheckbox-icon-border-color - Default background color for an unselected checkbox.\n * @cssproperty --mdc-staticcheckbox-icon-color - Icon color for an unselected checkbox.\n *\n */",
34702
+ "tagName": "mdc-spinner",
34703
+ "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 */",
34325
34704
  "customElement": true
34326
34705
  }
34327
34706
  ],
@@ -34330,60 +34709,56 @@
34330
34709
  "kind": "js",
34331
34710
  "name": "default",
34332
34711
  "declaration": {
34333
- "name": "StaticCheckbox",
34334
- "module": "components/staticcheckbox/staticcheckbox.component.js"
34712
+ "name": "Spinner",
34713
+ "module": "components/spinner/spinner.component.js"
34335
34714
  }
34336
34715
  }
34337
34716
  ]
34338
34717
  },
34339
34718
  {
34340
34719
  "kind": "javascript-module",
34341
- "path": "components/staticradio/staticradio.component.js",
34720
+ "path": "components/staticcheckbox/staticcheckbox.component.js",
34342
34721
  "declarations": [
34343
34722
  {
34344
34723
  "kind": "class",
34345
- "description": "This is a decorative component that is styled to look as a radio.\nIt has 2 properties - checked and disabled.\n\nWe are using the same styling that has been created for the `mdc-radio` component.",
34346
- "name": "StaticRadio",
34724
+ "description": "This is a decorative component that is styled to look as a checkbox.\n\nIt has 3 properties - checked, indeterminate and disabled.\n\nWe are using the same styling that has been created for the `mdc-checkbox` component.",
34725
+ "name": "StaticCheckbox",
34347
34726
  "cssProperties": [
34348
34727
  {
34349
- "description": "size of the inner circle",
34350
- "name": "--mdc-staticradio-inner-circle-size"
34351
- },
34352
- {
34353
- "description": "color of the label when disabled",
34354
- "name": "--mdc-staticradio-text-disabled-color"
34728
+ "description": "Border color in high contrast.",
34729
+ "name": "--mdc-staticcheckbox-border-color"
34355
34730
  },
34356
34731
  {
34357
- "description": "color of the radio button border when normal",
34358
- "name": "--mdc-staticradio-normal-border-color"
34732
+ "description": "Background color for a selected checkbox.",
34733
+ "name": "--mdc-staticcheckbox-checked-background-color"
34359
34734
  },
34360
34735
  {
34361
- "description": "color of the radio button border when disabled",
34362
- "name": "--mdc-staticradio-disabled-border-color"
34736
+ "description": "Background color for a disabled checkbox.",
34737
+ "name": "--mdc-staticcheckbox-disabled-background-color"
34363
34738
  },
34364
34739
  {
34365
- "description": "background color of the inner circle when normal",
34366
- "name": "--mdc-staticradio-inner-circle-normal-background"
34740
+ "description": "Border color for a disabled checkbox.",
34741
+ "name": "--mdc-checkbox-disabled-border-color"
34367
34742
  },
34368
34743
  {
34369
- "description": "background color of the inner circle when disabled",
34370
- "name": "--mdc-staticradio-inner-circle-disabled-background"
34744
+ "description": "Background color for a disabled, selected checkbox.",
34745
+ "name": "--mdc-checkbox-disabled-checked-icon-color"
34371
34746
  },
34372
34747
  {
34373
- "description": "color of the radio button when inactive",
34374
- "name": "--mdc-staticradio-control-inactive-color"
34748
+ "description": "Icon color for a disabled checkbox.",
34749
+ "name": "--mdc-staticcheckbox-disabled-icon-color"
34375
34750
  },
34376
34751
  {
34377
- "description": "background color of the radio button when inactive and disabled",
34378
- "name": "--mdc-staticradio-control-inactive-disabled-background"
34752
+ "description": "Background color for an unselected checkbox.",
34753
+ "name": "--mdc-staticcheckbox-icon-background-color"
34379
34754
  },
34380
34755
  {
34381
- "description": "color of the radio button when active",
34382
- "name": "--mdc-staticradio-control-active-color"
34756
+ "description": "Default background color for an unselected checkbox.",
34757
+ "name": "--mdc-staticcheckbox-icon-border-color"
34383
34758
  },
34384
34759
  {
34385
- "description": "background color of the radio button when active and disabled",
34386
- "name": "--mdc-staticradio-control-active-disabled-background"
34760
+ "description": "Icon color for an unselected checkbox.",
34761
+ "name": "--mdc-staticcheckbox-icon-color"
34387
34762
  }
34388
34763
  ],
34389
34764
  "members": [
@@ -34394,19 +34769,19 @@
34394
34769
  "text": "boolean"
34395
34770
  },
34396
34771
  "default": "false",
34397
- "description": "Determines whether the radio is selected or unselected.",
34772
+ "description": "Determines whether the checkbox is selected or unselected.",
34398
34773
  "attribute": "checked",
34399
34774
  "reflects": true
34400
34775
  },
34401
34776
  {
34402
34777
  "kind": "field",
34403
- "name": "readonly",
34778
+ "name": "indeterminate",
34404
34779
  "type": {
34405
34780
  "text": "boolean"
34406
34781
  },
34407
34782
  "default": "false",
34408
- "description": "Determines whether the radio is read-only.",
34409
- "attribute": "readonly",
34783
+ "description": "Determines whether the checkbox is in an indeterminate state.",
34784
+ "attribute": "indeterminate",
34410
34785
  "reflects": true
34411
34786
  },
34412
34787
  {
@@ -34432,17 +34807,17 @@
34432
34807
  "text": "boolean"
34433
34808
  },
34434
34809
  "default": "false",
34435
- "description": "Determines whether the radio is selected or unselected.",
34810
+ "description": "Determines whether the checkbox is selected or unselected.",
34436
34811
  "fieldName": "checked"
34437
34812
  },
34438
34813
  {
34439
- "name": "readonly",
34814
+ "name": "indeterminate",
34440
34815
  "type": {
34441
34816
  "text": "boolean"
34442
34817
  },
34443
34818
  "default": "false",
34444
- "description": "Determines whether the radio is read-only.",
34445
- "fieldName": "readonly"
34819
+ "description": "Determines whether the checkbox is in an indeterminate state.",
34820
+ "fieldName": "indeterminate"
34446
34821
  },
34447
34822
  {
34448
34823
  "name": "disabled",
@@ -34468,8 +34843,8 @@
34468
34843
  "name": "Component",
34469
34844
  "module": "/src/models"
34470
34845
  },
34471
- "tagName": "mdc-staticradio",
34472
- "jsDoc": "/**\n * This is a decorative component that is styled to look as a radio.\n * It has 2 properties - checked and disabled.\n *\n * We are using the same styling that has been created for the `mdc-radio` component.\n *\n * @tagname mdc-staticradio\n *\n * @cssproperty --mdc-staticradio-inner-circle-size - size of the inner circle\n * @cssproperty --mdc-staticradio-text-disabled-color - color of the label when disabled\n * @cssproperty --mdc-staticradio-normal-border-color - color of the radio button border when normal\n * @cssproperty --mdc-staticradio-disabled-border-color - color of the radio button border when disabled\n * @cssproperty --mdc-staticradio-inner-circle-normal-background - background color of the inner circle when normal\n * @cssproperty --mdc-staticradio-inner-circle-disabled-background - background color of the inner circle when disabled\n * @cssproperty --mdc-staticradio-control-inactive-color - color of the radio button when inactive\n * @cssproperty --mdc-staticradio-control-inactive-disabled-background - background color of the radio button when\n * inactive and disabled\n * @cssproperty --mdc-staticradio-control-active-color - color of the radio button when active\n * @cssproperty --mdc-staticradio-control-active-disabled-background - background color of the radio button\n * when active and disabled\n */",
34846
+ "tagName": "mdc-staticcheckbox",
34847
+ "jsDoc": "/**\n * This is a decorative component that is styled to look as a checkbox.\n *\n * It has 3 properties - checked, indeterminate and disabled.\n *\n * We are using the same styling that has been created for the `mdc-checkbox` component.\n *\n * @tagname mdc-staticcheckbox\n *\n * @dependency mdc-icon\n *\n * @cssproperty --mdc-staticcheckbox-border-color - Border color in high contrast.\n * @cssproperty --mdc-staticcheckbox-checked-background-color - Background color for a selected checkbox.\n * @cssproperty --mdc-staticcheckbox-disabled-background-color - Background color for a disabled checkbox.\n * @cssproperty --mdc-checkbox-disabled-border-color - Border color for a disabled checkbox.\n * @cssproperty --mdc-checkbox-disabled-checked-icon-color - Background color for a disabled, selected checkbox.\n * @cssproperty --mdc-staticcheckbox-disabled-icon-color - Icon color for a disabled checkbox.\n * @cssproperty --mdc-staticcheckbox-icon-background-color - Background color for an unselected checkbox.\n * @cssproperty --mdc-staticcheckbox-icon-border-color - Default background color for an unselected checkbox.\n * @cssproperty --mdc-staticcheckbox-icon-color - Icon color for an unselected checkbox.\n *\n */",
34473
34848
  "customElement": true
34474
34849
  }
34475
34850
  ],
@@ -34478,86 +34853,60 @@
34478
34853
  "kind": "js",
34479
34854
  "name": "default",
34480
34855
  "declaration": {
34481
- "name": "StaticRadio",
34482
- "module": "components/staticradio/staticradio.component.js"
34856
+ "name": "StaticCheckbox",
34857
+ "module": "components/staticcheckbox/staticcheckbox.component.js"
34483
34858
  }
34484
34859
  }
34485
34860
  ]
34486
34861
  },
34487
34862
  {
34488
34863
  "kind": "javascript-module",
34489
- "path": "components/statictoggle/statictoggle.component.js",
34864
+ "path": "components/staticradio/staticradio.component.js",
34490
34865
  "declarations": [
34491
34866
  {
34492
34867
  "kind": "class",
34493
- "description": "This is a decorative component that is styled to look as a toggle. <br/>\nIt has 3 properties - checked, size and disabled. <br/>\nWe are using the same styling that has been created for the `mdc-toggle` component.",
34494
- "name": "StaticToggle",
34868
+ "description": "This is a decorative component that is styled to look as a radio.\nIt has 2 properties - checked and disabled.\n\nWe are using the same styling that has been created for the `mdc-radio` component.",
34869
+ "name": "StaticRadio",
34495
34870
  "cssProperties": [
34496
34871
  {
34497
- "description": "Width of the toggle",
34498
- "name": "--mdc-statictoggle-width"
34499
- },
34500
- {
34501
- "description": "Height of the toggle",
34502
- "name": "--mdc-statictoggle-height"
34503
- },
34504
- {
34505
- "description": "Width of the toggle when it's size is compact",
34506
- "name": "--mdc-statictoggle-width-compact"
34507
- },
34508
- {
34509
- "description": "Height of the toggle when it's size is compact",
34510
- "name": "--mdc-statictoggle-height-compact"
34511
- },
34512
- {
34513
- "description": "Border radius of the toggle",
34514
- "name": "--mdc-statictoggle-border-radius"
34515
- },
34516
- {
34517
- "description": "Border radius of the toggle when it's size is compact",
34518
- "name": "--mdc-statictoggle-border-radius-compact"
34872
+ "description": "size of the inner circle",
34873
+ "name": "--mdc-staticradio-inner-circle-size"
34519
34874
  },
34520
34875
  {
34521
- "description": "Border of the toggle",
34522
- "name": "--mdc-statictoggle-border"
34876
+ "description": "color of the label when disabled",
34877
+ "name": "--mdc-staticradio-text-disabled-color"
34523
34878
  },
34524
34879
  {
34525
- "description": "Background color of the inactive toggle in rest state",
34526
- "name": "--mdc-statictoggle-inactive-rest-color"
34880
+ "description": "color of the radio button border when normal",
34881
+ "name": "--mdc-staticradio-normal-border-color"
34527
34882
  },
34528
34883
  {
34529
- "description": "Background color of the inactive toggle in disabled state",
34530
- "name": "--mdc-statictoggle-inactive-disabled-color"
34884
+ "description": "color of the radio button border when disabled",
34885
+ "name": "--mdc-staticradio-disabled-border-color"
34531
34886
  },
34532
34887
  {
34533
- "description": "Background color of the active toggle in rest state",
34534
- "name": "--mdc-statictoggle-active-rest-color"
34888
+ "description": "background color of the inner circle when normal",
34889
+ "name": "--mdc-staticradio-inner-circle-normal-background"
34535
34890
  },
34536
34891
  {
34537
- "description": "Background color of the active toggle in disabled state",
34538
- "name": "--mdc-statictoggle-active-disabled-color"
34892
+ "description": "background color of the inner circle when disabled",
34893
+ "name": "--mdc-staticradio-inner-circle-disabled-background"
34539
34894
  },
34540
34895
  {
34541
- "description": "Color of the icon in normal state",
34542
- "name": "--mdc-statictoggle-icon-color-normal"
34896
+ "description": "color of the radio button when inactive",
34897
+ "name": "--mdc-staticradio-control-inactive-color"
34543
34898
  },
34544
34899
  {
34545
- "description": "Color of the icon in disabled state",
34546
- "name": "--mdc-statictoggle-icon-color-disabled"
34900
+ "description": "background color of the radio button when inactive and disabled",
34901
+ "name": "--mdc-staticradio-control-inactive-disabled-background"
34547
34902
  },
34548
34903
  {
34549
- "description": "Background color of the icon in normal state",
34550
- "name": "--mdc-statictoggle-icon-background-color-normal"
34904
+ "description": "color of the radio button when active",
34905
+ "name": "--mdc-staticradio-control-active-color"
34551
34906
  },
34552
34907
  {
34553
- "description": "Background color of the icon in disabled state",
34554
- "name": "--mdc-statictoggle-icon-background-color-disabled"
34555
- }
34556
- ],
34557
- "slots": [
34558
- {
34559
- "description": "This is a default/unnamed slot",
34560
- "name": "default"
34908
+ "description": "background color of the radio button when active and disabled",
34909
+ "name": "--mdc-staticradio-control-active-disabled-background"
34561
34910
  }
34562
34911
  ],
34563
34912
  "members": [
@@ -34568,19 +34917,19 @@
34568
34917
  "text": "boolean"
34569
34918
  },
34570
34919
  "default": "false",
34571
- "description": "Determines whether the toggle is active or inactive.",
34920
+ "description": "Determines whether the radio is selected or unselected.",
34572
34921
  "attribute": "checked",
34573
34922
  "reflects": true
34574
34923
  },
34575
34924
  {
34576
34925
  "kind": "field",
34577
- "name": "size",
34926
+ "name": "readonly",
34578
34927
  "type": {
34579
- "text": "ToggleSize"
34928
+ "text": "boolean"
34580
34929
  },
34581
- "description": "Determines toggle size in rem (height is specified here).\n- **Default**: 1.5\n- **Compact**: 1",
34582
- "default": "default",
34583
- "attribute": "size",
34930
+ "default": "false",
34931
+ "description": "Determines whether the radio is read-only.",
34932
+ "attribute": "readonly",
34584
34933
  "reflects": true
34585
34934
  },
34586
34935
  {
@@ -34606,17 +34955,17 @@
34606
34955
  "text": "boolean"
34607
34956
  },
34608
34957
  "default": "false",
34609
- "description": "Determines whether the toggle is active or inactive.",
34958
+ "description": "Determines whether the radio is selected or unselected.",
34610
34959
  "fieldName": "checked"
34611
34960
  },
34612
34961
  {
34613
- "name": "size",
34962
+ "name": "readonly",
34614
34963
  "type": {
34615
- "text": "ToggleSize"
34964
+ "text": "boolean"
34616
34965
  },
34617
- "description": "Determines toggle size in rem (height is specified here).\n- **Default**: 1.5\n- **Compact**: 1",
34618
- "default": "default",
34619
- "fieldName": "size"
34966
+ "default": "false",
34967
+ "description": "Determines whether the radio is read-only.",
34968
+ "fieldName": "readonly"
34620
34969
  },
34621
34970
  {
34622
34971
  "name": "disabled",
@@ -34642,8 +34991,8 @@
34642
34991
  "name": "Component",
34643
34992
  "module": "/src/models"
34644
34993
  },
34645
- "tagName": "mdc-statictoggle",
34646
- "jsDoc": "/**\n * This is a decorative component that is styled to look as a toggle. <br/>\n * It has 3 properties - checked, size and disabled. <br/>\n * We are using the same styling that has been created for the `mdc-toggle` component.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-statictoggle\n *\n * @slot default - This is a default/unnamed slot\n *\n * @cssproperty --mdc-statictoggle-width - Width of the toggle\n * @cssproperty --mdc-statictoggle-height - Height of the toggle\n * @cssproperty --mdc-statictoggle-width-compact - Width of the toggle when it's size is compact\n * @cssproperty --mdc-statictoggle-height-compact - Height of the toggle when it's size is compact\n * @cssproperty --mdc-statictoggle-border-radius - Border radius of the toggle\n * @cssproperty --mdc-statictoggle-border-radius-compact - Border radius of the toggle when it's size is compact\n * @cssproperty --mdc-statictoggle-border - Border of the toggle\n * @cssproperty --mdc-statictoggle-inactive-rest-color - Background color of the inactive toggle in rest state\n * @cssproperty --mdc-statictoggle-inactive-disabled-color - Background color of the inactive toggle in disabled state\n * @cssproperty --mdc-statictoggle-active-rest-color - Background color of the active toggle in rest state\n * @cssproperty --mdc-statictoggle-active-disabled-color - Background color of the active toggle in disabled state\n * @cssproperty --mdc-statictoggle-icon-color-normal - Color of the icon in normal state\n * @cssproperty --mdc-statictoggle-icon-color-disabled - Color of the icon in disabled state\n * @cssproperty --mdc-statictoggle-icon-background-color-normal - Background color of the icon in normal state\n * @cssproperty --mdc-statictoggle-icon-background-color-disabled - Background color of the icon in disabled state\n */",
34994
+ "tagName": "mdc-staticradio",
34995
+ "jsDoc": "/**\n * This is a decorative component that is styled to look as a radio.\n * It has 2 properties - checked and disabled.\n *\n * We are using the same styling that has been created for the `mdc-radio` component.\n *\n * @tagname mdc-staticradio\n *\n * @cssproperty --mdc-staticradio-inner-circle-size - size of the inner circle\n * @cssproperty --mdc-staticradio-text-disabled-color - color of the label when disabled\n * @cssproperty --mdc-staticradio-normal-border-color - color of the radio button border when normal\n * @cssproperty --mdc-staticradio-disabled-border-color - color of the radio button border when disabled\n * @cssproperty --mdc-staticradio-inner-circle-normal-background - background color of the inner circle when normal\n * @cssproperty --mdc-staticradio-inner-circle-disabled-background - background color of the inner circle when disabled\n * @cssproperty --mdc-staticradio-control-inactive-color - color of the radio button when inactive\n * @cssproperty --mdc-staticradio-control-inactive-disabled-background - background color of the radio button when\n * inactive and disabled\n * @cssproperty --mdc-staticradio-control-active-color - color of the radio button when active\n * @cssproperty --mdc-staticradio-control-active-disabled-background - background color of the radio button\n * when active and disabled\n */",
34647
34996
  "customElement": true
34648
34997
  }
34649
34998
  ],
@@ -34652,137 +35001,172 @@
34652
35001
  "kind": "js",
34653
35002
  "name": "default",
34654
35003
  "declaration": {
34655
- "name": "StaticToggle",
34656
- "module": "components/statictoggle/statictoggle.component.js"
35004
+ "name": "StaticRadio",
35005
+ "module": "components/staticradio/staticradio.component.js"
34657
35006
  }
34658
35007
  }
34659
35008
  ]
34660
35009
  },
34661
35010
  {
34662
35011
  "kind": "javascript-module",
34663
- "path": "components/spinner/spinner.component.js",
35012
+ "path": "components/statictoggle/statictoggle.component.js",
34664
35013
  "declarations": [
34665
35014
  {
34666
35015
  "kind": "class",
34667
- "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.",
34668
- "name": "Spinner",
35016
+ "description": "This is a decorative component that is styled to look as a toggle. <br/>\nIt has 3 properties - checked, size and disabled. <br/>\nWe are using the same styling that has been created for the `mdc-toggle` component.",
35017
+ "name": "StaticToggle",
34669
35018
  "cssProperties": [
34670
35019
  {
34671
- "description": "Allows customization of the default spinner color.",
34672
- "name": "--mdc-spinner-default-color"
35020
+ "description": "Width of the toggle",
35021
+ "name": "--mdc-statictoggle-width"
34673
35022
  },
34674
35023
  {
34675
- "description": "Allows customization of the inverted spinner color.",
34676
- "name": "--mdc-spinner-inverted-color"
35024
+ "description": "Height of the toggle",
35025
+ "name": "--mdc-statictoggle-height"
34677
35026
  },
34678
35027
  {
34679
- "description": "Allows customization of the spinner Button variant color.",
34680
- "name": "--mdc-spinner-button-variant-color"
35028
+ "description": "Width of the toggle when it's size is compact",
35029
+ "name": "--mdc-statictoggle-width-compact"
34681
35030
  },
34682
35031
  {
34683
- "description": "Allows customization of the spinner size.",
34684
- "name": "--mdc-spinner-size"
34685
- }
34686
- ],
34687
- "cssParts": [
35032
+ "description": "Height of the toggle when it's size is compact",
35033
+ "name": "--mdc-statictoggle-height-compact"
35034
+ },
34688
35035
  {
34689
- "description": "The svg which contains the circle spinner.",
34690
- "name": "container"
35036
+ "description": "Border radius of the toggle",
35037
+ "name": "--mdc-statictoggle-border-radius"
34691
35038
  },
34692
35039
  {
34693
- "description": "The circle of the spinner.",
34694
- "name": "circle"
35040
+ "description": "Border radius of the toggle when it's size is compact",
35041
+ "name": "--mdc-statictoggle-border-radius-compact"
35042
+ },
35043
+ {
35044
+ "description": "Border of the toggle",
35045
+ "name": "--mdc-statictoggle-border"
35046
+ },
35047
+ {
35048
+ "description": "Background color of the inactive toggle in rest state",
35049
+ "name": "--mdc-statictoggle-inactive-rest-color"
35050
+ },
35051
+ {
35052
+ "description": "Background color of the inactive toggle in disabled state",
35053
+ "name": "--mdc-statictoggle-inactive-disabled-color"
35054
+ },
35055
+ {
35056
+ "description": "Background color of the active toggle in rest state",
35057
+ "name": "--mdc-statictoggle-active-rest-color"
35058
+ },
35059
+ {
35060
+ "description": "Background color of the active toggle in disabled state",
35061
+ "name": "--mdc-statictoggle-active-disabled-color"
35062
+ },
35063
+ {
35064
+ "description": "Color of the icon in normal state",
35065
+ "name": "--mdc-statictoggle-icon-color-normal"
35066
+ },
35067
+ {
35068
+ "description": "Color of the icon in disabled state",
35069
+ "name": "--mdc-statictoggle-icon-color-disabled"
35070
+ },
35071
+ {
35072
+ "description": "Background color of the icon in normal state",
35073
+ "name": "--mdc-statictoggle-icon-background-color-normal"
35074
+ },
35075
+ {
35076
+ "description": "Background color of the icon in disabled state",
35077
+ "name": "--mdc-statictoggle-icon-background-color-disabled"
35078
+ }
35079
+ ],
35080
+ "slots": [
35081
+ {
35082
+ "description": "This is a default/unnamed slot",
35083
+ "name": "default"
34695
35084
  }
34696
35085
  ],
34697
35086
  "members": [
34698
35087
  {
34699
35088
  "kind": "field",
34700
- "name": "inverted",
35089
+ "name": "checked",
34701
35090
  "type": {
34702
- "text": "boolean | undefined"
35091
+ "text": "boolean"
34703
35092
  },
34704
- "description": "The spinner color can be inverted by setting the inverted attribute to true.",
34705
35093
  "default": "false",
34706
- "attribute": "inverted",
35094
+ "description": "Determines whether the toggle is active or inactive.",
35095
+ "attribute": "checked",
34707
35096
  "reflects": true
34708
35097
  },
34709
35098
  {
34710
35099
  "kind": "field",
34711
35100
  "name": "size",
34712
35101
  "type": {
34713
- "text": "SpinnerSize | undefined"
35102
+ "text": "ToggleSize"
34714
35103
  },
34715
- "description": "Size of the spinner.\nAcceptable values include:\n\n- 'small'\n- 'midsize'\n- 'large'\n- 'undefined'",
34716
- "default": "midsize",
35104
+ "description": "Determines toggle size in rem (height is specified here).\n- **Default**: 1.5\n- **Compact**: 1",
35105
+ "default": "default",
34717
35106
  "attribute": "size",
34718
35107
  "reflects": true
34719
35108
  },
34720
35109
  {
34721
35110
  "kind": "field",
34722
- "name": "ariaLabel",
34723
- "type": {
34724
- "text": "string | null"
34725
- },
34726
- "default": "null",
34727
- "description": "Aria-label attribute to be set for accessibility",
34728
- "attribute": "aria-label"
34729
- },
34730
- {
34731
- "kind": "field",
34732
- "name": "variant",
35111
+ "name": "disabled",
34733
35112
  "type": {
34734
- "text": "SpinnerVariant"
35113
+ "text": "boolean | undefined"
34735
35114
  },
34736
- "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.",
34737
- "default": "standalone",
34738
- "attribute": "variant",
34739
- "reflects": true
35115
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
35116
+ "default": "undefined",
35117
+ "attribute": "disabled",
35118
+ "reflects": true,
35119
+ "inheritedFrom": {
35120
+ "name": "DisabledMixin",
35121
+ "module": "utils/mixins/DisabledMixin.js"
35122
+ }
34740
35123
  }
34741
35124
  ],
34742
35125
  "attributes": [
34743
35126
  {
34744
- "name": "inverted",
35127
+ "name": "checked",
34745
35128
  "type": {
34746
- "text": "boolean | undefined"
35129
+ "text": "boolean"
34747
35130
  },
34748
- "description": "The spinner color can be inverted by setting the inverted attribute to true.",
34749
35131
  "default": "false",
34750
- "fieldName": "inverted"
35132
+ "description": "Determines whether the toggle is active or inactive.",
35133
+ "fieldName": "checked"
34751
35134
  },
34752
35135
  {
34753
35136
  "name": "size",
34754
35137
  "type": {
34755
- "text": "SpinnerSize | undefined"
35138
+ "text": "ToggleSize"
34756
35139
  },
34757
- "description": "Size of the spinner.\nAcceptable values include:\n\n- 'small'\n- 'midsize'\n- 'large'\n- 'undefined'",
34758
- "default": "midsize",
35140
+ "description": "Determines toggle size in rem (height is specified here).\n- **Default**: 1.5\n- **Compact**: 1",
35141
+ "default": "default",
34759
35142
  "fieldName": "size"
34760
35143
  },
34761
35144
  {
34762
- "name": "aria-label",
35145
+ "name": "disabled",
34763
35146
  "type": {
34764
- "text": "string | null"
35147
+ "text": "boolean | undefined"
34765
35148
  },
34766
- "default": "null",
34767
- "description": "Aria-label attribute to be set for accessibility",
34768
- "fieldName": "ariaLabel"
34769
- },
35149
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
35150
+ "default": "undefined",
35151
+ "fieldName": "disabled",
35152
+ "inheritedFrom": {
35153
+ "name": "DisabledMixin",
35154
+ "module": "src/utils/mixins/DisabledMixin.ts"
35155
+ }
35156
+ }
35157
+ ],
35158
+ "mixins": [
34770
35159
  {
34771
- "name": "variant",
34772
- "type": {
34773
- "text": "SpinnerVariant"
34774
- },
34775
- "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.",
34776
- "default": "standalone",
34777
- "fieldName": "variant"
35160
+ "name": "DisabledMixin",
35161
+ "module": "/src/utils/mixins/DisabledMixin"
34778
35162
  }
34779
35163
  ],
34780
35164
  "superclass": {
34781
35165
  "name": "Component",
34782
35166
  "module": "/src/models"
34783
35167
  },
34784
- "tagName": "mdc-spinner",
34785
- "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 */",
35168
+ "tagName": "mdc-statictoggle",
35169
+ "jsDoc": "/**\n * This is a decorative component that is styled to look as a toggle. <br/>\n * It has 3 properties - checked, size and disabled. <br/>\n * We are using the same styling that has been created for the `mdc-toggle` component.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-statictoggle\n *\n * @slot default - This is a default/unnamed slot\n *\n * @cssproperty --mdc-statictoggle-width - Width of the toggle\n * @cssproperty --mdc-statictoggle-height - Height of the toggle\n * @cssproperty --mdc-statictoggle-width-compact - Width of the toggle when it's size is compact\n * @cssproperty --mdc-statictoggle-height-compact - Height of the toggle when it's size is compact\n * @cssproperty --mdc-statictoggle-border-radius - Border radius of the toggle\n * @cssproperty --mdc-statictoggle-border-radius-compact - Border radius of the toggle when it's size is compact\n * @cssproperty --mdc-statictoggle-border - Border of the toggle\n * @cssproperty --mdc-statictoggle-inactive-rest-color - Background color of the inactive toggle in rest state\n * @cssproperty --mdc-statictoggle-inactive-disabled-color - Background color of the inactive toggle in disabled state\n * @cssproperty --mdc-statictoggle-active-rest-color - Background color of the active toggle in rest state\n * @cssproperty --mdc-statictoggle-active-disabled-color - Background color of the active toggle in disabled state\n * @cssproperty --mdc-statictoggle-icon-color-normal - Color of the icon in normal state\n * @cssproperty --mdc-statictoggle-icon-color-disabled - Color of the icon in disabled state\n * @cssproperty --mdc-statictoggle-icon-background-color-normal - Background color of the icon in normal state\n * @cssproperty --mdc-statictoggle-icon-background-color-disabled - Background color of the icon in disabled state\n */",
34786
35170
  "customElement": true
34787
35171
  }
34788
35172
  ],
@@ -34791,8 +35175,8 @@
34791
35175
  "kind": "js",
34792
35176
  "name": "default",
34793
35177
  "declaration": {
34794
- "name": "Spinner",
34795
- "module": "components/spinner/spinner.component.js"
35178
+ "name": "StaticToggle",
35179
+ "module": "components/statictoggle/statictoggle.component.js"
34796
35180
  }
34797
35181
  }
34798
35182
  ]
@@ -35757,6 +36141,34 @@
35757
36141
  "module": "components/buttonsimple/buttonsimple.component.js"
35758
36142
  }
35759
36143
  },
36144
+ {
36145
+ "kind": "field",
36146
+ "name": "name",
36147
+ "type": {
36148
+ "text": "string | undefined"
36149
+ },
36150
+ "description": "The name of the button, submitted as a pair with the button's value as part of the form data,\nwhen that button is used to submit the form.",
36151
+ "attribute": "name",
36152
+ "reflects": true,
36153
+ "inheritedFrom": {
36154
+ "name": "Buttonsimple",
36155
+ "module": "components/buttonsimple/buttonsimple.component.js"
36156
+ }
36157
+ },
36158
+ {
36159
+ "kind": "field",
36160
+ "name": "value",
36161
+ "type": {
36162
+ "text": "string | undefined"
36163
+ },
36164
+ "description": "Defines the value associated with the button's name when it's submitted with the form data.\nThis value is passed to the server in params when the form is submitted using this button.",
36165
+ "attribute": "value",
36166
+ "reflects": true,
36167
+ "inheritedFrom": {
36168
+ "name": "Buttonsimple",
36169
+ "module": "components/buttonsimple/buttonsimple.component.js"
36170
+ }
36171
+ },
35760
36172
  {
35761
36173
  "kind": "method",
35762
36174
  "name": "setSoftDisabled",
@@ -36066,6 +36478,30 @@
36066
36478
  "name": "Buttonsimple",
36067
36479
  "module": "src/components/buttonsimple/buttonsimple.component.ts"
36068
36480
  }
36481
+ },
36482
+ {
36483
+ "name": "name",
36484
+ "type": {
36485
+ "text": "string | undefined"
36486
+ },
36487
+ "description": "The name of the button, submitted as a pair with the button's value as part of the form data,\nwhen that button is used to submit the form.",
36488
+ "fieldName": "name",
36489
+ "inheritedFrom": {
36490
+ "name": "Buttonsimple",
36491
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
36492
+ }
36493
+ },
36494
+ {
36495
+ "name": "value",
36496
+ "type": {
36497
+ "text": "string | undefined"
36498
+ },
36499
+ "description": "Defines the value associated with the button's name when it's submitted with the form data.\nThis value is passed to the server in params when the form is submitted using this button.",
36500
+ "fieldName": "value",
36501
+ "inheritedFrom": {
36502
+ "name": "Buttonsimple",
36503
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
36504
+ }
36069
36505
  }
36070
36506
  ],
36071
36507
  "mixins": [