@momentum-design/components 0.87.0 → 0.87.2

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.
@@ -4489,183 +4489,36 @@
4489
4489
  },
4490
4490
  {
4491
4491
  "kind": "javascript-module",
4492
- "path": "components/cardcheckbox/cardcheckbox.component.js",
4492
+ "path": "components/cardbutton/cardbutton.component.js",
4493
4493
  "declarations": [
4494
4494
  {
4495
4495
  "kind": "class",
4496
- "description": "cardcheckbox component extends `mdc-card` and supports checkbox selection interaction addtionally.\n\nWhile using this component within a form or group of cards, make sure cards are in a role = \"checkbox-group\".\nThis card would have events for selected and unselected (similar to checkbox)\n\n**Note**: This is a single selection card i.e. interacting anywhere on the card would toggle the checked state.\nMake sure to pass only non-interactable elements within the slots.\n\nMake sure to pass the `card-title` mandatorily for this card.",
4497
- "name": "CardCheckbox",
4496
+ "description": "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.\nMake sure to pass only non-interactable elements within the slots.",
4497
+ "name": "CardButton",
4498
4498
  "slots": [
4499
4499
  {
4500
4500
  "description": "This slot is for passing the content before the body",
4501
- "name": "before-body",
4502
- "inheritedFrom": {
4503
- "name": "Card",
4504
- "module": "src/components/card/card.component.ts"
4505
- }
4501
+ "name": "before-body"
4506
4502
  },
4507
4503
  {
4508
4504
  "description": "This slot is for passing the text content for the card",
4509
- "name": "body",
4510
- "inheritedFrom": {
4511
- "name": "Card",
4512
- "module": "src/components/card/card.component.ts"
4513
- }
4505
+ "name": "body"
4514
4506
  },
4515
4507
  {
4516
4508
  "description": "This slot is for passing the content after the body",
4517
- "name": "after-body",
4518
- "inheritedFrom": {
4519
- "name": "Card",
4520
- "module": "src/components/card/card.component.ts"
4521
- }
4522
- },
4523
- {
4524
- "description": "This slot is for passing `mdc-link` component within the footer section.",
4525
- "name": "footer-link",
4526
- "inheritedFrom": {
4527
- "name": "Card",
4528
- "module": "src/components/card/card.component.ts"
4529
- }
4530
- },
4531
- {
4532
- "description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
4533
- "name": "footer-button-primary",
4534
- "inheritedFrom": {
4535
- "name": "Card",
4536
- "module": "src/components/card/card.component.ts"
4537
- }
4538
- },
4539
- {
4540
- "description": "This slot is for passing secondary variant of `mdc-button` component within the footer section.",
4541
- "name": "footer-button-secondary",
4542
- "inheritedFrom": {
4543
- "name": "Card",
4544
- "module": "src/components/card/card.component.ts"
4545
- }
4546
- },
4547
- {
4548
- "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.",
4549
- "name": "footer",
4550
- "inheritedFrom": {
4551
- "name": "Card",
4552
- "module": "src/components/card/card.component.ts"
4553
- }
4509
+ "name": "after-body"
4554
4510
  }
4555
4511
  ],
4556
4512
  "members": [
4557
- {
4558
- "kind": "field",
4559
- "name": "checked",
4560
- "type": {
4561
- "text": "boolean"
4562
- },
4563
- "default": "false",
4564
- "description": "The checked state of the card",
4565
- "attribute": "checked",
4566
- "reflects": true
4567
- },
4568
- {
4569
- "kind": "field",
4570
- "name": "selectionType",
4571
- "type": {
4572
- "text": "SelectionType"
4573
- },
4574
- "description": "The selection type of the card. It can either be set to 'check' or 'checkbox'",
4575
- "default": "'check'",
4576
- "attribute": "selection-type",
4577
- "reflects": true
4578
- },
4579
- {
4580
- "kind": "method",
4581
- "name": "toggleChecked",
4582
- "privacy": "private",
4583
- "description": "Toggles the checked state"
4584
- },
4585
- {
4586
- "kind": "method",
4587
- "name": "toggleOnEnter",
4588
- "privacy": "private",
4589
- "parameters": [
4590
- {
4591
- "name": "event",
4592
- "type": {
4593
- "text": "KeyboardEvent"
4594
- },
4595
- "description": "The keyboard event"
4596
- }
4597
- ],
4598
- "description": "Toggles the checked state when enter key is used"
4599
- },
4600
- {
4601
- "kind": "method",
4602
- "name": "toggleOnSpace",
4603
- "privacy": "private",
4604
- "parameters": [
4605
- {
4606
- "name": "event",
4607
- "type": {
4608
- "text": "KeyboardEvent"
4609
- },
4610
- "description": "The keyboard event"
4611
- }
4612
- ],
4613
- "description": "Toggles the checked state when space key is used"
4614
- },
4615
- {
4616
- "kind": "method",
4617
- "name": "renderSelection",
4618
- "privacy": "private",
4619
- "description": "Renders the selection icon or checkbox based on the selection type",
4620
- "return": {
4621
- "type": {
4622
- "text": ""
4623
- }
4624
- }
4625
- },
4626
4513
  {
4627
4514
  "kind": "method",
4628
4515
  "name": "renderHeader",
4629
4516
  "privacy": "protected",
4630
- "description": "Renders the header of the card",
4517
+ "description": "Renders the header of the card if title is provided",
4631
4518
  "return": {
4632
4519
  "type": {
4633
4520
  "text": ""
4634
4521
  }
4635
- },
4636
- "inheritedFrom": {
4637
- "name": "Card",
4638
- "module": "components/card/card.component.js"
4639
- }
4640
- },
4641
- {
4642
- "kind": "field",
4643
- "name": "disabled",
4644
- "type": {
4645
- "text": "boolean | undefined"
4646
- },
4647
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
4648
- "default": "undefined",
4649
- "attribute": "disabled",
4650
- "reflects": true,
4651
- "inheritedFrom": {
4652
- "name": "DisabledMixin",
4653
- "module": "utils/mixins/DisabledMixin.js"
4654
- }
4655
- },
4656
- {
4657
- "kind": "field",
4658
- "name": "tabIndex",
4659
- "type": {
4660
- "text": "number"
4661
- },
4662
- "default": "0",
4663
- "description": "This property specifies the tab order of the element.",
4664
- "attribute": "tabIndex",
4665
- "reflects": true,
4666
- "inheritedFrom": {
4667
- "name": "TabIndexMixin",
4668
- "module": "utils/mixins/TabIndexMixin.js"
4669
4522
  }
4670
4523
  },
4671
4524
  {
@@ -4679,8 +4532,8 @@
4679
4532
  "attribute": "card-title",
4680
4533
  "reflects": true,
4681
4534
  "inheritedFrom": {
4682
- "name": "Card",
4683
- "module": "components/card/card.component.js"
4535
+ "name": "CardComponentMixin",
4536
+ "module": "utils/mixins/CardComponentMixin.js"
4684
4537
  }
4685
4538
  },
4686
4539
  {
@@ -4694,8 +4547,8 @@
4694
4547
  "attribute": "subtitle",
4695
4548
  "reflects": true,
4696
4549
  "inheritedFrom": {
4697
- "name": "Card",
4698
- "module": "components/card/card.component.js"
4550
+ "name": "CardComponentMixin",
4551
+ "module": "utils/mixins/CardComponentMixin.js"
4699
4552
  }
4700
4553
  },
4701
4554
  {
@@ -4709,8 +4562,8 @@
4709
4562
  "attribute": "image-src",
4710
4563
  "reflects": true,
4711
4564
  "inheritedFrom": {
4712
- "name": "Card",
4713
- "module": "components/card/card.component.js"
4565
+ "name": "CardComponentMixin",
4566
+ "module": "utils/mixins/CardComponentMixin.js"
4714
4567
  }
4715
4568
  },
4716
4569
  {
@@ -4724,8 +4577,8 @@
4724
4577
  "attribute": "image-alt",
4725
4578
  "reflects": true,
4726
4579
  "inheritedFrom": {
4727
- "name": "Card",
4728
- "module": "components/card/card.component.js"
4580
+ "name": "CardComponentMixin",
4581
+ "module": "utils/mixins/CardComponentMixin.js"
4729
4582
  }
4730
4583
  },
4731
4584
  {
@@ -4739,8 +4592,8 @@
4739
4592
  "attribute": "variant",
4740
4593
  "reflects": true,
4741
4594
  "inheritedFrom": {
4742
- "name": "Card",
4743
- "module": "components/card/card.component.js"
4595
+ "name": "CardComponentMixin",
4596
+ "module": "utils/mixins/CardComponentMixin.js"
4744
4597
  }
4745
4598
  },
4746
4599
  {
@@ -4754,8 +4607,8 @@
4754
4607
  "attribute": "orientation",
4755
4608
  "reflects": true,
4756
4609
  "inheritedFrom": {
4757
- "name": "Card",
4758
- "module": "components/card/card.component.js"
4610
+ "name": "CardComponentMixin",
4611
+ "module": "utils/mixins/CardComponentMixin.js"
4759
4612
  }
4760
4613
  },
4761
4614
  {
@@ -4769,8 +4622,8 @@
4769
4622
  "attribute": "title-tag-name",
4770
4623
  "reflects": true,
4771
4624
  "inheritedFrom": {
4772
- "name": "Card",
4773
- "module": "components/card/card.component.js"
4625
+ "name": "CardComponentMixin",
4626
+ "module": "utils/mixins/CardComponentMixin.js"
4774
4627
  }
4775
4628
  },
4776
4629
  {
@@ -4784,8 +4637,8 @@
4784
4637
  "attribute": "subtitle-tag-name",
4785
4638
  "reflects": true,
4786
4639
  "inheritedFrom": {
4787
- "name": "Card",
4788
- "module": "components/card/card.component.js"
4640
+ "name": "CardComponentMixin",
4641
+ "module": "utils/mixins/CardComponentMixin.js"
4789
4642
  }
4790
4643
  },
4791
4644
  {
@@ -4798,8 +4651,8 @@
4798
4651
  "attribute": "icon-name",
4799
4652
  "reflects": true,
4800
4653
  "inheritedFrom": {
4801
- "name": "Card",
4802
- "module": "components/card/card.component.js"
4654
+ "name": "CardComponentMixin",
4655
+ "module": "utils/mixins/CardComponentMixin.js"
4803
4656
  }
4804
4657
  },
4805
4658
  {
@@ -4813,8 +4666,8 @@
4813
4666
  }
4814
4667
  },
4815
4668
  "inheritedFrom": {
4816
- "name": "Card",
4817
- "module": "components/card/card.component.js"
4669
+ "name": "CardComponentMixin",
4670
+ "module": "utils/mixins/CardComponentMixin.js"
4818
4671
  }
4819
4672
  },
4820
4673
  {
@@ -4828,8 +4681,8 @@
4828
4681
  }
4829
4682
  },
4830
4683
  "inheritedFrom": {
4831
- "name": "Card",
4832
- "module": "components/card/card.component.js"
4684
+ "name": "CardComponentMixin",
4685
+ "module": "utils/mixins/CardComponentMixin.js"
4833
4686
  }
4834
4687
  },
4835
4688
  {
@@ -4843,98 +4696,341 @@
4843
4696
  }
4844
4697
  },
4845
4698
  "inheritedFrom": {
4846
- "name": "Card",
4847
- "module": "components/card/card.component.js"
4699
+ "name": "CardComponentMixin",
4700
+ "module": "utils/mixins/CardComponentMixin.js"
4848
4701
  }
4849
4702
  },
4850
4703
  {
4851
- "kind": "method",
4852
- "name": "renderFooter",
4853
- "privacy": "protected",
4854
- "description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
4855
- "return": {
4856
- "type": {
4857
- "text": ""
4858
- }
4704
+ "kind": "field",
4705
+ "name": "autofocus",
4706
+ "type": {
4707
+ "text": "boolean"
4859
4708
  },
4709
+ "default": "false",
4710
+ "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
4711
+ "attribute": "autofocus",
4712
+ "reflects": true,
4860
4713
  "inheritedFrom": {
4861
- "name": "Card",
4862
- "module": "components/card/card.component.js"
4714
+ "name": "Buttonsimple",
4715
+ "module": "components/buttonsimple/buttonsimple.component.js"
4863
4716
  }
4864
- }
4865
- ],
4866
- "events": [
4867
- {
4868
- "description": "(React: onClick) Event that gets dispatched when the card is clicked. It toggles the checked state.",
4869
- "name": "click",
4870
- "reactName": "onClick"
4871
4717
  },
4872
4718
  {
4873
- "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the card. It toggles the checked state when enter key is used.",
4874
- "name": "keydown",
4875
- "reactName": "onKeyDown"
4719
+ "kind": "field",
4720
+ "name": "tabIndex",
4721
+ "type": {
4722
+ "text": "number"
4723
+ },
4724
+ "default": "0",
4725
+ "description": "This property specifies the tab order of the element.",
4726
+ "attribute": "tabIndex",
4727
+ "reflects": true,
4728
+ "inheritedFrom": {
4729
+ "name": "Buttonsimple",
4730
+ "module": "components/buttonsimple/buttonsimple.component.js"
4731
+ }
4876
4732
  },
4877
4733
  {
4878
- "description": "(React: onKeyUp) This event is dispatched when a key is released on the card. It toggles the checked state when space key is used.",
4879
- "name": "keyup",
4880
- "reactName": "onKeyUp"
4734
+ "kind": "field",
4735
+ "name": "disabled",
4736
+ "type": {
4737
+ "text": "boolean | undefined"
4738
+ },
4739
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
4740
+ "default": "undefined",
4741
+ "attribute": "disabled",
4742
+ "reflects": true,
4743
+ "inheritedFrom": {
4744
+ "name": "Buttonsimple",
4745
+ "module": "components/buttonsimple/buttonsimple.component.js"
4746
+ }
4881
4747
  },
4882
4748
  {
4883
- "description": "(React: onChange) Event that gets dispatched when the card state changes.",
4884
- "name": "change",
4885
- "reactName": "onChange"
4749
+ "kind": "field",
4750
+ "name": "active",
4751
+ "type": {
4752
+ "text": "boolean | undefined"
4753
+ },
4754
+ "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.",
4755
+ "default": "undefined",
4756
+ "attribute": "active",
4757
+ "reflects": true,
4758
+ "inheritedFrom": {
4759
+ "name": "Buttonsimple",
4760
+ "module": "components/buttonsimple/buttonsimple.component.js"
4761
+ }
4886
4762
  },
4887
4763
  {
4888
- "description": "(React: onFocus) Event that gets dispatched when the card receives focus.",
4889
- "name": "focus",
4890
- "reactName": "onFocus"
4891
- }
4892
- ],
4893
- "attributes": [
4894
- {
4895
- "name": "checked",
4764
+ "kind": "field",
4765
+ "name": "softDisabled",
4896
4766
  "type": {
4897
- "text": "boolean"
4767
+ "text": "boolean | undefined"
4898
4768
  },
4899
- "default": "false",
4900
- "description": "The checked state of the card",
4901
- "fieldName": "checked"
4769
+ "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.",
4770
+ "default": "undefined",
4771
+ "attribute": "soft-disabled",
4772
+ "reflects": true,
4773
+ "inheritedFrom": {
4774
+ "name": "Buttonsimple",
4775
+ "module": "components/buttonsimple/buttonsimple.component.js"
4776
+ }
4902
4777
  },
4903
4778
  {
4904
- "name": "selection-type",
4779
+ "kind": "field",
4780
+ "name": "size",
4905
4781
  "type": {
4906
- "text": "SelectionType"
4782
+ "text": "ButtonSize"
4907
4783
  },
4908
- "description": "The selection type of the card. It can either be set to 'check' or 'checkbox'",
4909
- "default": "'check'",
4910
- "fieldName": "selectionType"
4784
+ "description": "Simplebutton size is a super set of all the sizes supported by children components.",
4785
+ "default": "32",
4786
+ "attribute": "size",
4787
+ "reflects": true,
4788
+ "inheritedFrom": {
4789
+ "name": "Buttonsimple",
4790
+ "module": "components/buttonsimple/buttonsimple.component.js"
4791
+ }
4911
4792
  },
4912
4793
  {
4913
- "name": "disabled",
4794
+ "kind": "field",
4795
+ "name": "role",
4796
+ "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.",
4797
+ "default": "button",
4798
+ "attribute": "role",
4799
+ "reflects": true,
4800
+ "inheritedFrom": {
4801
+ "name": "Buttonsimple",
4802
+ "module": "components/buttonsimple/buttonsimple.component.js"
4803
+ }
4804
+ },
4805
+ {
4806
+ "kind": "field",
4807
+ "name": "ariaStateKey",
4914
4808
  "type": {
4915
- "text": "boolean | undefined"
4809
+ "text": "string | undefined"
4916
4810
  },
4917
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
4918
- "default": "undefined",
4919
- "fieldName": "disabled",
4811
+ "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`",
4812
+ "default": "'aria-pressed' (when)",
4813
+ "attribute": "ariaStateKey",
4814
+ "reflects": true,
4920
4815
  "inheritedFrom": {
4921
- "name": "DisabledMixin",
4922
- "module": "src/utils/mixins/DisabledMixin.ts"
4816
+ "name": "Buttonsimple",
4817
+ "module": "components/buttonsimple/buttonsimple.component.js"
4923
4818
  }
4924
4819
  },
4925
4820
  {
4926
- "name": "tabIndex",
4821
+ "kind": "field",
4822
+ "name": "type",
4927
4823
  "type": {
4928
- "text": "number"
4824
+ "text": "ButtonType"
4929
4825
  },
4930
- "default": "0",
4931
- "description": "This property specifies the tab order of the element.",
4932
- "fieldName": "tabIndex",
4826
+ "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.",
4827
+ "default": "button",
4828
+ "attribute": "type",
4829
+ "reflects": true,
4933
4830
  "inheritedFrom": {
4934
- "name": "TabIndexMixin",
4935
- "module": "src/utils/mixins/TabIndexMixin.ts"
4831
+ "name": "Buttonsimple",
4832
+ "module": "components/buttonsimple/buttonsimple.component.js"
4833
+ }
4834
+ },
4835
+ {
4836
+ "kind": "method",
4837
+ "name": "executeAction",
4838
+ "privacy": "protected",
4839
+ "inheritedFrom": {
4840
+ "name": "Buttonsimple",
4841
+ "module": "components/buttonsimple/buttonsimple.component.js"
4842
+ }
4843
+ },
4844
+ {
4845
+ "kind": "method",
4846
+ "name": "setActive",
4847
+ "privacy": "protected",
4848
+ "parameters": [
4849
+ {
4850
+ "name": "element",
4851
+ "type": {
4852
+ "text": "HTMLElement"
4853
+ },
4854
+ "description": "The button element"
4855
+ },
4856
+ {
4857
+ "name": "active",
4858
+ "optional": true,
4859
+ "type": {
4860
+ "text": "boolean"
4861
+ },
4862
+ "description": "The active state of the element"
4863
+ }
4864
+ ],
4865
+ "description": "Sets the ariaStateKey attributes based on the active state of the button.",
4866
+ "inheritedFrom": {
4867
+ "name": "Buttonsimple",
4868
+ "module": "components/buttonsimple/buttonsimple.component.js"
4869
+ }
4870
+ },
4871
+ {
4872
+ "kind": "method",
4873
+ "name": "setSoftDisabled",
4874
+ "privacy": "private",
4875
+ "parameters": [
4876
+ {
4877
+ "name": "element",
4878
+ "type": {
4879
+ "text": "HTMLElement"
4880
+ },
4881
+ "description": "The button element."
4882
+ },
4883
+ {
4884
+ "name": "softDisabled",
4885
+ "optional": true,
4886
+ "type": {
4887
+ "text": "boolean"
4888
+ },
4889
+ "description": "The soft-disabled state."
4890
+ }
4891
+ ],
4892
+ "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.",
4893
+ "inheritedFrom": {
4894
+ "name": "Buttonsimple",
4895
+ "module": "components/buttonsimple/buttonsimple.component.js"
4896
+ }
4897
+ },
4898
+ {
4899
+ "kind": "method",
4900
+ "name": "setDisabled",
4901
+ "privacy": "private",
4902
+ "parameters": [
4903
+ {
4904
+ "name": "element",
4905
+ "type": {
4906
+ "text": "HTMLElement"
4907
+ },
4908
+ "description": "The button element."
4909
+ },
4910
+ {
4911
+ "name": "disabled",
4912
+ "type": {
4913
+ "text": "boolean"
4914
+ },
4915
+ "description": "The disabled state."
4916
+ }
4917
+ ],
4918
+ "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.",
4919
+ "inheritedFrom": {
4920
+ "name": "Buttonsimple",
4921
+ "module": "components/buttonsimple/buttonsimple.component.js"
4922
+ }
4923
+ },
4924
+ {
4925
+ "kind": "method",
4926
+ "name": "triggerClickEvent",
4927
+ "privacy": "private",
4928
+ "inheritedFrom": {
4929
+ "name": "Buttonsimple",
4930
+ "module": "components/buttonsimple/buttonsimple.component.js"
4931
+ }
4932
+ },
4933
+ {
4934
+ "kind": "method",
4935
+ "name": "handleBlur",
4936
+ "privacy": "private",
4937
+ "description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed.",
4938
+ "inheritedFrom": {
4939
+ "name": "Buttonsimple",
4940
+ "module": "components/buttonsimple/buttonsimple.component.js"
4936
4941
  }
4937
4942
  },
4943
+ {
4944
+ "kind": "method",
4945
+ "name": "handleKeyDown",
4946
+ "privacy": "private",
4947
+ "parameters": [
4948
+ {
4949
+ "name": "event",
4950
+ "type": {
4951
+ "text": "KeyboardEvent"
4952
+ },
4953
+ "description": "The keyboard event."
4954
+ }
4955
+ ],
4956
+ "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.",
4957
+ "inheritedFrom": {
4958
+ "name": "Buttonsimple",
4959
+ "module": "components/buttonsimple/buttonsimple.component.js"
4960
+ }
4961
+ },
4962
+ {
4963
+ "kind": "method",
4964
+ "name": "handleKeyUp",
4965
+ "privacy": "private",
4966
+ "parameters": [
4967
+ {
4968
+ "name": "event",
4969
+ "type": {
4970
+ "text": "KeyboardEvent"
4971
+ },
4972
+ "description": "The keyboard event."
4973
+ }
4974
+ ],
4975
+ "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.",
4976
+ "inheritedFrom": {
4977
+ "name": "Buttonsimple",
4978
+ "module": "components/buttonsimple/buttonsimple.component.js"
4979
+ }
4980
+ }
4981
+ ],
4982
+ "events": [
4983
+ {
4984
+ "description": "(React: onClick) Event that gets dispatched when the card is clicked.",
4985
+ "name": "click",
4986
+ "reactName": "onClick",
4987
+ "inheritedFrom": {
4988
+ "name": "Buttonsimple",
4989
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
4990
+ }
4991
+ },
4992
+ {
4993
+ "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.",
4994
+ "name": "keydown",
4995
+ "reactName": "onKeyDown",
4996
+ "inheritedFrom": {
4997
+ "name": "Buttonsimple",
4998
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
4999
+ }
5000
+ },
5001
+ {
5002
+ "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.",
5003
+ "name": "keyup",
5004
+ "reactName": "onKeyUp",
5005
+ "inheritedFrom": {
5006
+ "name": "Buttonsimple",
5007
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
5008
+ }
5009
+ },
5010
+ {
5011
+ "description": "(React: onFocus) Event that gets dispatched when the card receives focus.",
5012
+ "name": "focus",
5013
+ "reactName": "onFocus",
5014
+ "inheritedFrom": {
5015
+ "name": "Buttonsimple",
5016
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
5017
+ }
5018
+ }
5019
+ ],
5020
+ "mixins": [
5021
+ {
5022
+ "name": "CardComponentMixin",
5023
+ "module": "/src/utils/mixins/CardComponentMixin"
5024
+ }
5025
+ ],
5026
+ "superclass": {
5027
+ "name": "Buttonsimple",
5028
+ "module": "/src/components/buttonsimple/buttonsimple.component"
5029
+ },
5030
+ "tagName": "mdc-cardbutton",
5031
+ "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 * @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 *\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 */",
5032
+ "customElement": true,
5033
+ "attributes": [
4938
5034
  {
4939
5035
  "name": "card-title",
4940
5036
  "type": {
@@ -4944,8 +5040,8 @@
4944
5040
  "description": "The title of the card - part of header section",
4945
5041
  "fieldName": "cardTitle",
4946
5042
  "inheritedFrom": {
4947
- "name": "Card",
4948
- "module": "src/components/card/card.component.ts"
5043
+ "name": "CardComponentMixin",
5044
+ "module": "src/utils/mixins/CardComponentMixin.ts"
4949
5045
  }
4950
5046
  },
4951
5047
  {
@@ -4957,8 +5053,8 @@
4957
5053
  "description": "The subtitle of the card - part of header section",
4958
5054
  "fieldName": "subtitle",
4959
5055
  "inheritedFrom": {
4960
- "name": "Card",
4961
- "module": "src/components/card/card.component.ts"
5056
+ "name": "CardComponentMixin",
5057
+ "module": "src/utils/mixins/CardComponentMixin.ts"
4962
5058
  }
4963
5059
  },
4964
5060
  {
@@ -4970,8 +5066,8 @@
4970
5066
  "description": "The image source URL to render on the card",
4971
5067
  "fieldName": "imageSrc",
4972
5068
  "inheritedFrom": {
4973
- "name": "Card",
4974
- "module": "src/components/card/card.component.ts"
5069
+ "name": "CardComponentMixin",
5070
+ "module": "src/utils/mixins/CardComponentMixin.ts"
4975
5071
  }
4976
5072
  },
4977
5073
  {
@@ -4983,8 +5079,8 @@
4983
5079
  "description": "The image alt for accessibility support",
4984
5080
  "fieldName": "imageAlt",
4985
5081
  "inheritedFrom": {
4986
- "name": "Card",
4987
- "module": "src/components/card/card.component.ts"
5082
+ "name": "CardComponentMixin",
5083
+ "module": "src/utils/mixins/CardComponentMixin.ts"
4988
5084
  }
4989
5085
  },
4990
5086
  {
@@ -4996,8 +5092,8 @@
4996
5092
  "default": "'border'",
4997
5093
  "fieldName": "variant",
4998
5094
  "inheritedFrom": {
4999
- "name": "Card",
5000
- "module": "src/components/card/card.component.ts"
5095
+ "name": "CardComponentMixin",
5096
+ "module": "src/utils/mixins/CardComponentMixin.ts"
5001
5097
  }
5002
5098
  },
5003
5099
  {
@@ -5009,8 +5105,8 @@
5009
5105
  "default": "'vertical'",
5010
5106
  "fieldName": "orientation",
5011
5107
  "inheritedFrom": {
5012
- "name": "Card",
5013
- "module": "src/components/card/card.component.ts"
5108
+ "name": "CardComponentMixin",
5109
+ "module": "src/utils/mixins/CardComponentMixin.ts"
5014
5110
  }
5015
5111
  },
5016
5112
  {
@@ -5022,8 +5118,8 @@
5022
5118
  "default": "'span'",
5023
5119
  "fieldName": "titleTagName",
5024
5120
  "inheritedFrom": {
5025
- "name": "Card",
5026
- "module": "src/components/card/card.component.ts"
5121
+ "name": "CardComponentMixin",
5122
+ "module": "src/utils/mixins/CardComponentMixin.ts"
5027
5123
  }
5028
5124
  },
5029
5125
  {
@@ -5035,8 +5131,8 @@
5035
5131
  "default": "'span'",
5036
5132
  "fieldName": "subtitleTagName",
5037
5133
  "inheritedFrom": {
5038
- "name": "Card",
5039
- "module": "src/components/card/card.component.ts"
5134
+ "name": "CardComponentMixin",
5135
+ "module": "src/utils/mixins/CardComponentMixin.ts"
5040
5136
  }
5041
5137
  },
5042
5138
  {
@@ -5047,28 +5143,125 @@
5047
5143
  "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
5048
5144
  "fieldName": "iconName",
5049
5145
  "inheritedFrom": {
5050
- "name": "Card",
5051
- "module": "src/components/card/card.component.ts"
5146
+ "name": "CardComponentMixin",
5147
+ "module": "src/utils/mixins/CardComponentMixin.ts"
5052
5148
  }
5053
- }
5054
- ],
5055
- "mixins": [
5149
+ },
5056
5150
  {
5057
- "name": "DisabledMixin",
5058
- "module": "/src/utils/mixins/DisabledMixin"
5151
+ "name": "autofocus",
5152
+ "type": {
5153
+ "text": "boolean"
5154
+ },
5155
+ "default": "false",
5156
+ "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
5157
+ "fieldName": "autofocus",
5158
+ "inheritedFrom": {
5159
+ "name": "Buttonsimple",
5160
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
5161
+ }
5059
5162
  },
5060
5163
  {
5061
- "name": "TabIndexMixin",
5062
- "module": "/src/utils/mixins/TabIndexMixin"
5164
+ "name": "tabIndex",
5165
+ "type": {
5166
+ "text": "number"
5167
+ },
5168
+ "default": "0",
5169
+ "description": "This property specifies the tab order of the element.",
5170
+ "fieldName": "tabIndex",
5171
+ "inheritedFrom": {
5172
+ "name": "Buttonsimple",
5173
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
5174
+ }
5175
+ },
5176
+ {
5177
+ "name": "disabled",
5178
+ "type": {
5179
+ "text": "boolean | undefined"
5180
+ },
5181
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
5182
+ "default": "undefined",
5183
+ "fieldName": "disabled",
5184
+ "inheritedFrom": {
5185
+ "name": "Buttonsimple",
5186
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
5187
+ }
5188
+ },
5189
+ {
5190
+ "name": "active",
5191
+ "type": {
5192
+ "text": "boolean | undefined"
5193
+ },
5194
+ "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.",
5195
+ "default": "undefined",
5196
+ "fieldName": "active",
5197
+ "inheritedFrom": {
5198
+ "name": "Buttonsimple",
5199
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
5200
+ }
5201
+ },
5202
+ {
5203
+ "name": "soft-disabled",
5204
+ "type": {
5205
+ "text": "boolean | undefined"
5206
+ },
5207
+ "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.",
5208
+ "default": "undefined",
5209
+ "fieldName": "softDisabled",
5210
+ "inheritedFrom": {
5211
+ "name": "Buttonsimple",
5212
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
5213
+ }
5214
+ },
5215
+ {
5216
+ "name": "size",
5217
+ "type": {
5218
+ "text": "ButtonSize"
5219
+ },
5220
+ "description": "Simplebutton size is a super set of all the sizes supported by children components.",
5221
+ "default": "32",
5222
+ "fieldName": "size",
5223
+ "inheritedFrom": {
5224
+ "name": "Buttonsimple",
5225
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
5226
+ }
5227
+ },
5228
+ {
5229
+ "name": "role",
5230
+ "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.",
5231
+ "default": "button",
5232
+ "fieldName": "role",
5233
+ "inheritedFrom": {
5234
+ "name": "Buttonsimple",
5235
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
5236
+ }
5237
+ },
5238
+ {
5239
+ "name": "ariaStateKey",
5240
+ "type": {
5241
+ "text": "string | undefined"
5242
+ },
5243
+ "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`",
5244
+ "default": "'aria-pressed' (when)",
5245
+ "fieldName": "ariaStateKey",
5246
+ "inheritedFrom": {
5247
+ "name": "Buttonsimple",
5248
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
5249
+ }
5250
+ },
5251
+ {
5252
+ "name": "type",
5253
+ "type": {
5254
+ "text": "ButtonType"
5255
+ },
5256
+ "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.",
5257
+ "default": "button",
5258
+ "fieldName": "type",
5259
+ "inheritedFrom": {
5260
+ "name": "Buttonsimple",
5261
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
5262
+ }
5063
5263
  }
5064
- ],
5065
- "superclass": {
5066
- "name": "Card",
5067
- "module": "/src/components/card/card.component"
5068
- },
5069
- "tagName": "mdc-cardcheckbox",
5070
- "jsDoc": "/**\n * cardcheckbox component extends `mdc-card` and supports checkbox selection interaction addtionally.\n *\n * While using this component within a form or group of cards, make sure cards are in a role = \"checkbox-group\".\n * This card would have events for selected and unselected (similar to checkbox)\n *\n * **Note**: This is a single selection card i.e. interacting anywhere on the card would toggle the checked state.\n * Make sure to pass only non-interactable elements within the slots.\n *\n * Make sure to pass the `card-title` mandatorily for this card.\n *\n * @tagname mdc-cardcheckbox\n *\n * @dependency mdc-icon\n * @dependency mdc-staticcheckbox\n * @dependency mdc-text\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 *\n * @event click - (React: onClick) Event that gets dispatched when the card is clicked. It toggles the checked state.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the card.\n * It toggles the checked state when enter key is used.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the card.\n * It toggles the checked state when space key is used.\n * @event change - (React: onChange) Event that gets dispatched when the card state changes.\n * @event focus - (React: onFocus) Event that gets dispatched when the card receives focus.\n *\n */",
5071
- "customElement": true
5264
+ ]
5072
5265
  }
5073
5266
  ],
5074
5267
  "exports": [
@@ -5076,20 +5269,20 @@
5076
5269
  "kind": "js",
5077
5270
  "name": "default",
5078
5271
  "declaration": {
5079
- "name": "CardCheckbox",
5080
- "module": "components/cardcheckbox/cardcheckbox.component.js"
5272
+ "name": "CardButton",
5273
+ "module": "components/cardbutton/cardbutton.component.js"
5081
5274
  }
5082
5275
  }
5083
5276
  ]
5084
5277
  },
5085
5278
  {
5086
5279
  "kind": "javascript-module",
5087
- "path": "components/cardradio/cardradio.component.js",
5280
+ "path": "components/cardcheckbox/cardcheckbox.component.js",
5088
5281
  "declarations": [
5089
5282
  {
5090
5283
  "kind": "class",
5091
- "description": "cardradio component extends `mdc-card` and supports radio selection interaction addtionally.\n\nWhile using this component within a form or group of cards, make sure cards are in a role = \"radio-group\".\nThis card would have events for selected and unselected (similar to radio)\n\n**Note**: This is a single selection card i.e. interacting anywhere on the card would toggle the checked state.\nMake sure to pass only non-interactable elements within the slots.\n\nMake sure to pass the `card-title` mandatorily for this card.",
5092
- "name": "CardRadio",
5284
+ "description": "cardcheckbox component extends `mdc-card` and supports checkbox selection interaction addtionally.\n\nWhile using this component within a form or group of cards, make sure cards are in a role = \"checkbox-group\".\nThis card would have events for selected and unselected (similar to checkbox)\n\n**Note**: This is a single selection card i.e. interacting anywhere on the card would toggle the checked state.\nMake sure to pass only non-interactable elements within the slots.\n\nMake sure to pass the `card-title` mandatorily for this card.",
5285
+ "name": "CardCheckbox",
5093
5286
  "slots": [
5094
5287
  {
5095
5288
  "description": "This slot is for passing the content before the body",
@@ -5161,79 +5354,23 @@
5161
5354
  "reflects": true
5162
5355
  },
5163
5356
  {
5164
- "kind": "field",
5165
- "name": "name",
5166
- "type": {
5167
- "text": "string"
5168
- },
5169
- "default": "''",
5170
- "description": "The name of the radio.",
5171
- "attribute": "name"
5172
- },
5173
- {
5174
- "kind": "method",
5175
- "name": "getAllCardsWithinSameGroup",
5176
- "privacy": "private",
5177
- "return": {
5178
- "type": {
5179
- "text": "CardRadio[]"
5180
- }
5181
- },
5182
- "description": "Returns all cards within the same group (name)."
5183
- },
5184
- {
5185
- "kind": "method",
5186
- "name": "toggleChecked",
5187
- "privacy": "private",
5188
- "return": {
5189
- "type": {
5190
- "text": "void"
5191
- }
5192
- },
5193
- "description": "Handles the change event on the radio element.\nThis will toggle the state of the radio element.\nDispatches the change event."
5194
- },
5195
- {
5196
- "kind": "method",
5197
- "name": "setDisabled",
5198
- "return": {
5199
- "type": {
5200
- "text": "void"
5201
- }
5202
- },
5203
- "parameters": [
5204
- {
5205
- "name": "disabled",
5206
- "type": {
5207
- "text": "boolean"
5208
- }
5209
- }
5210
- ]
5211
- },
5212
- {
5213
- "kind": "method",
5214
- "name": "updateCardRadio",
5215
- "privacy": "private",
5216
- "return": {
5217
- "type": {
5218
- "text": "void"
5219
- }
5220
- },
5221
- "parameters": [
5222
- {
5223
- "name": "cards",
5224
- "type": {
5225
- "text": "CardRadio[]"
5226
- }
5227
- },
5228
- {
5229
- "name": "index",
5230
- "type": {
5231
- "text": "number"
5232
- }
5233
- }
5234
- ]
5235
- },
5236
- {
5357
+ "kind": "field",
5358
+ "name": "selectionType",
5359
+ "type": {
5360
+ "text": "SelectionType"
5361
+ },
5362
+ "description": "The selection type of the card. It can either be set to 'check' or 'checkbox'",
5363
+ "default": "'check'",
5364
+ "attribute": "selection-type",
5365
+ "reflects": true
5366
+ },
5367
+ {
5368
+ "kind": "method",
5369
+ "name": "toggleChecked",
5370
+ "privacy": "private",
5371
+ "description": "Toggles the checked state"
5372
+ },
5373
+ {
5237
5374
  "kind": "method",
5238
5375
  "name": "toggleOnEnter",
5239
5376
  "privacy": "private",
@@ -5263,6 +5400,17 @@
5263
5400
  ],
5264
5401
  "description": "Toggles the checked state when space key is used"
5265
5402
  },
5403
+ {
5404
+ "kind": "method",
5405
+ "name": "renderSelection",
5406
+ "privacy": "private",
5407
+ "description": "Renders the selection icon or checkbox based on the selection type",
5408
+ "return": {
5409
+ "type": {
5410
+ "text": ""
5411
+ }
5412
+ }
5413
+ },
5266
5414
  {
5267
5415
  "kind": "method",
5268
5416
  "name": "renderHeader",
@@ -5541,13 +5689,13 @@
5541
5689
  "fieldName": "checked"
5542
5690
  },
5543
5691
  {
5544
- "name": "name",
5692
+ "name": "selection-type",
5545
5693
  "type": {
5546
- "text": "string"
5694
+ "text": "SelectionType"
5547
5695
  },
5548
- "default": "''",
5549
- "description": "The name of the radio.",
5550
- "fieldName": "name"
5696
+ "description": "The selection type of the card. It can either be set to 'check' or 'checkbox'",
5697
+ "default": "'check'",
5698
+ "fieldName": "selectionType"
5551
5699
  },
5552
5700
  {
5553
5701
  "name": "disabled",
@@ -5706,8 +5854,8 @@
5706
5854
  "name": "Card",
5707
5855
  "module": "/src/components/card/card.component"
5708
5856
  },
5709
- "tagName": "mdc-cardradio",
5710
- "jsDoc": "/**\n * cardradio component extends `mdc-card` and supports radio selection interaction addtionally.\n *\n * While using this component within a form or group of cards, make sure cards are in a role = \"radio-group\".\n * This card would have events for selected and unselected (similar to radio)\n *\n * **Note**: This is a single selection card i.e. interacting anywhere on the card would toggle the checked state.\n * Make sure to pass only non-interactable elements within the slots.\n *\n * Make sure to pass the `card-title` mandatorily for this card.\n *\n * @tagname mdc-cardradio\n *\n * @dependency mdc-icon\n * @dependency mdc-staticradio\n * @dependency mdc-text\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 *\n * @event click - (React: onClick) Event that gets dispatched when the card is clicked. It toggles the checked state.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the card.\n * It toggles the checked state when enter key is used.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the card.\n * It toggles the checked state when space key is used.\n * @event change - (React: onChange) Event that gets dispatched when the card state changes.\n * @event focus - (React: onFocus) Event that gets dispatched when the card receives focus.\n *\n */",
5857
+ "tagName": "mdc-cardcheckbox",
5858
+ "jsDoc": "/**\n * cardcheckbox component extends `mdc-card` and supports checkbox selection interaction addtionally.\n *\n * While using this component within a form or group of cards, make sure cards are in a role = \"checkbox-group\".\n * This card would have events for selected and unselected (similar to checkbox)\n *\n * **Note**: This is a single selection card i.e. interacting anywhere on the card would toggle the checked state.\n * Make sure to pass only non-interactable elements within the slots.\n *\n * Make sure to pass the `card-title` mandatorily for this card.\n *\n * @tagname mdc-cardcheckbox\n *\n * @dependency mdc-icon\n * @dependency mdc-staticcheckbox\n * @dependency mdc-text\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 *\n * @event click - (React: onClick) Event that gets dispatched when the card is clicked. It toggles the checked state.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the card.\n * It toggles the checked state when enter key is used.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the card.\n * It toggles the checked state when space key is used.\n * @event change - (React: onChange) Event that gets dispatched when the card state changes.\n * @event focus - (React: onFocus) Event that gets dispatched when the card receives focus.\n *\n */",
5711
5859
  "customElement": true
5712
5860
  }
5713
5861
  ],
@@ -5716,238 +5864,221 @@
5716
5864
  "kind": "js",
5717
5865
  "name": "default",
5718
5866
  "declaration": {
5719
- "name": "CardRadio",
5720
- "module": "components/cardradio/cardradio.component.js"
5867
+ "name": "CardCheckbox",
5868
+ "module": "components/cardcheckbox/cardcheckbox.component.js"
5721
5869
  }
5722
5870
  }
5723
5871
  ]
5724
5872
  },
5725
5873
  {
5726
5874
  "kind": "javascript-module",
5727
- "path": "components/cardbutton/cardbutton.component.js",
5875
+ "path": "components/cardradio/cardradio.component.js",
5728
5876
  "declarations": [
5729
5877
  {
5730
5878
  "kind": "class",
5731
- "description": "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.\nMake sure to pass only non-interactable elements within the slots.",
5732
- "name": "CardButton",
5879
+ "description": "cardradio component extends `mdc-card` and supports radio selection interaction addtionally.\n\nWhile using this component within a form or group of cards, make sure cards are in a role = \"radio-group\".\nThis card would have events for selected and unselected (similar to radio)\n\n**Note**: This is a single selection card i.e. interacting anywhere on the card would toggle the checked state.\nMake sure to pass only non-interactable elements within the slots.\n\nMake sure to pass the `card-title` mandatorily for this card.",
5880
+ "name": "CardRadio",
5733
5881
  "slots": [
5734
5882
  {
5735
5883
  "description": "This slot is for passing the content before the body",
5736
- "name": "before-body"
5884
+ "name": "before-body",
5885
+ "inheritedFrom": {
5886
+ "name": "Card",
5887
+ "module": "src/components/card/card.component.ts"
5888
+ }
5737
5889
  },
5738
5890
  {
5739
5891
  "description": "This slot is for passing the text content for the card",
5740
- "name": "body"
5741
- },
5742
- {
5743
- "description": "This slot is for passing the content after the body",
5744
- "name": "after-body"
5745
- }
5746
- ],
5747
- "members": [
5748
- {
5749
- "kind": "method",
5750
- "name": "renderHeader",
5751
- "privacy": "protected",
5752
- "description": "Renders the header of the card if title is provided",
5753
- "return": {
5754
- "type": {
5755
- "text": ""
5756
- }
5892
+ "name": "body",
5893
+ "inheritedFrom": {
5894
+ "name": "Card",
5895
+ "module": "src/components/card/card.component.ts"
5757
5896
  }
5758
5897
  },
5759
5898
  {
5760
- "kind": "field",
5761
- "name": "cardTitle",
5762
- "type": {
5763
- "text": "string"
5764
- },
5765
- "default": "''",
5766
- "description": "The title of the card - part of header section",
5767
- "attribute": "card-title",
5768
- "reflects": true,
5899
+ "description": "This slot is for passing the content after the body",
5900
+ "name": "after-body",
5769
5901
  "inheritedFrom": {
5770
- "name": "CardComponentMixin",
5771
- "module": "utils/mixins/CardComponentMixin.js"
5902
+ "name": "Card",
5903
+ "module": "src/components/card/card.component.ts"
5772
5904
  }
5773
5905
  },
5774
5906
  {
5775
- "kind": "field",
5776
- "name": "subtitle",
5777
- "type": {
5778
- "text": "string"
5779
- },
5780
- "default": "''",
5781
- "description": "The subtitle of the card - part of header section",
5782
- "attribute": "subtitle",
5783
- "reflects": true,
5907
+ "description": "This slot is for passing `mdc-link` component within the footer section.",
5908
+ "name": "footer-link",
5784
5909
  "inheritedFrom": {
5785
- "name": "CardComponentMixin",
5786
- "module": "utils/mixins/CardComponentMixin.js"
5910
+ "name": "Card",
5911
+ "module": "src/components/card/card.component.ts"
5787
5912
  }
5788
5913
  },
5789
5914
  {
5790
- "kind": "field",
5791
- "name": "imageSrc",
5792
- "type": {
5793
- "text": "string"
5794
- },
5795
- "default": "''",
5796
- "description": "The image source URL to render on the card",
5797
- "attribute": "image-src",
5798
- "reflects": true,
5915
+ "description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
5916
+ "name": "footer-button-primary",
5799
5917
  "inheritedFrom": {
5800
- "name": "CardComponentMixin",
5801
- "module": "utils/mixins/CardComponentMixin.js"
5918
+ "name": "Card",
5919
+ "module": "src/components/card/card.component.ts"
5802
5920
  }
5803
5921
  },
5804
5922
  {
5805
- "kind": "field",
5806
- "name": "imageAlt",
5807
- "type": {
5808
- "text": "string"
5809
- },
5810
- "default": "''",
5811
- "description": "The image alt for accessibility support",
5812
- "attribute": "image-alt",
5813
- "reflects": true,
5923
+ "description": "This slot is for passing secondary variant of `mdc-button` component within the footer section.",
5924
+ "name": "footer-button-secondary",
5814
5925
  "inheritedFrom": {
5815
- "name": "CardComponentMixin",
5816
- "module": "utils/mixins/CardComponentMixin.js"
5926
+ "name": "Card",
5927
+ "module": "src/components/card/card.component.ts"
5817
5928
  }
5818
5929
  },
5819
5930
  {
5820
- "kind": "field",
5821
- "name": "variant",
5822
- "type": {
5823
- "text": "CardVariant"
5824
- },
5825
- "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
5826
- "default": "'border'",
5827
- "attribute": "variant",
5828
- "reflects": true,
5931
+ "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.",
5932
+ "name": "footer",
5829
5933
  "inheritedFrom": {
5830
- "name": "CardComponentMixin",
5831
- "module": "utils/mixins/CardComponentMixin.js"
5934
+ "name": "Card",
5935
+ "module": "src/components/card/card.component.ts"
5832
5936
  }
5833
- },
5937
+ }
5938
+ ],
5939
+ "members": [
5834
5940
  {
5835
5941
  "kind": "field",
5836
- "name": "orientation",
5942
+ "name": "checked",
5837
5943
  "type": {
5838
- "text": "CardOrientation"
5944
+ "text": "boolean"
5839
5945
  },
5840
- "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
5841
- "default": "'vertical'",
5842
- "attribute": "orientation",
5843
- "reflects": true,
5844
- "inheritedFrom": {
5845
- "name": "CardComponentMixin",
5846
- "module": "utils/mixins/CardComponentMixin.js"
5847
- }
5946
+ "default": "false",
5947
+ "description": "The checked state of the card",
5948
+ "attribute": "checked",
5949
+ "reflects": true
5848
5950
  },
5849
5951
  {
5850
5952
  "kind": "field",
5851
- "name": "titleTagName",
5953
+ "name": "name",
5852
5954
  "type": {
5853
- "text": "TagNameType"
5955
+ "text": "string"
5854
5956
  },
5855
- "description": "The tag name for the card title. It supports all the types that `msc-text` supports",
5856
- "default": "'span'",
5857
- "attribute": "title-tag-name",
5858
- "reflects": true,
5859
- "inheritedFrom": {
5860
- "name": "CardComponentMixin",
5861
- "module": "utils/mixins/CardComponentMixin.js"
5862
- }
5957
+ "default": "''",
5958
+ "description": "The name of the radio.",
5959
+ "attribute": "name"
5863
5960
  },
5864
5961
  {
5865
- "kind": "field",
5866
- "name": "subtitleTagName",
5867
- "type": {
5868
- "text": "TagNameType"
5962
+ "kind": "method",
5963
+ "name": "getAllCardsWithinSameGroup",
5964
+ "privacy": "private",
5965
+ "return": {
5966
+ "type": {
5967
+ "text": "CardRadio[]"
5968
+ }
5869
5969
  },
5870
- "description": "The tag name for the subtitle. It supports all the types that `msc-text` supports",
5871
- "default": "'span'",
5872
- "attribute": "subtitle-tag-name",
5873
- "reflects": true,
5874
- "inheritedFrom": {
5875
- "name": "CardComponentMixin",
5876
- "module": "utils/mixins/CardComponentMixin.js"
5877
- }
5970
+ "description": "Returns all cards within the same group (name)."
5878
5971
  },
5879
5972
  {
5880
- "kind": "field",
5881
- "name": "iconName",
5882
- "type": {
5883
- "text": "IconNames | undefined"
5973
+ "kind": "method",
5974
+ "name": "toggleChecked",
5975
+ "privacy": "private",
5976
+ "return": {
5977
+ "type": {
5978
+ "text": "void"
5979
+ }
5884
5980
  },
5885
- "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
5886
- "attribute": "icon-name",
5887
- "reflects": true,
5888
- "inheritedFrom": {
5889
- "name": "CardComponentMixin",
5890
- "module": "utils/mixins/CardComponentMixin.js"
5891
- }
5981
+ "description": "Handles the change event on the radio element.\nThis will toggle the state of the radio element.\nDispatches the change event."
5892
5982
  },
5893
5983
  {
5894
5984
  "kind": "method",
5895
- "name": "renderImage",
5896
- "privacy": "protected",
5897
- "description": "Renders the image on the card if image source is provided",
5985
+ "name": "setDisabled",
5898
5986
  "return": {
5899
5987
  "type": {
5900
- "text": ""
5988
+ "text": "void"
5901
5989
  }
5902
5990
  },
5903
- "inheritedFrom": {
5904
- "name": "CardComponentMixin",
5905
- "module": "utils/mixins/CardComponentMixin.js"
5906
- }
5991
+ "parameters": [
5992
+ {
5993
+ "name": "disabled",
5994
+ "type": {
5995
+ "text": "boolean"
5996
+ }
5997
+ }
5998
+ ]
5907
5999
  },
5908
6000
  {
5909
6001
  "kind": "method",
5910
- "name": "renderIcon",
5911
- "privacy": "protected",
5912
- "description": "Renders the icon on the card if icon name is provided",
6002
+ "name": "updateCardRadio",
6003
+ "privacy": "private",
5913
6004
  "return": {
5914
6005
  "type": {
5915
- "text": ""
6006
+ "text": "void"
5916
6007
  }
5917
6008
  },
5918
- "inheritedFrom": {
5919
- "name": "CardComponentMixin",
5920
- "module": "utils/mixins/CardComponentMixin.js"
5921
- }
6009
+ "parameters": [
6010
+ {
6011
+ "name": "cards",
6012
+ "type": {
6013
+ "text": "CardRadio[]"
6014
+ }
6015
+ },
6016
+ {
6017
+ "name": "index",
6018
+ "type": {
6019
+ "text": "number"
6020
+ }
6021
+ }
6022
+ ]
5922
6023
  },
5923
6024
  {
5924
6025
  "kind": "method",
5925
- "name": "renderTitle",
6026
+ "name": "toggleOnEnter",
6027
+ "privacy": "private",
6028
+ "parameters": [
6029
+ {
6030
+ "name": "event",
6031
+ "type": {
6032
+ "text": "KeyboardEvent"
6033
+ },
6034
+ "description": "The keyboard event"
6035
+ }
6036
+ ],
6037
+ "description": "Toggles the checked state when enter key is used"
6038
+ },
6039
+ {
6040
+ "kind": "method",
6041
+ "name": "toggleOnSpace",
6042
+ "privacy": "private",
6043
+ "parameters": [
6044
+ {
6045
+ "name": "event",
6046
+ "type": {
6047
+ "text": "KeyboardEvent"
6048
+ },
6049
+ "description": "The keyboard event"
6050
+ }
6051
+ ],
6052
+ "description": "Toggles the checked state when space key is used"
6053
+ },
6054
+ {
6055
+ "kind": "method",
6056
+ "name": "renderHeader",
5926
6057
  "privacy": "protected",
5927
- "description": "Renders the title and subtitle on the card",
6058
+ "description": "Renders the header of the card",
5928
6059
  "return": {
5929
6060
  "type": {
5930
6061
  "text": ""
5931
6062
  }
5932
6063
  },
5933
6064
  "inheritedFrom": {
5934
- "name": "CardComponentMixin",
5935
- "module": "utils/mixins/CardComponentMixin.js"
6065
+ "name": "Card",
6066
+ "module": "components/card/card.component.js"
5936
6067
  }
5937
6068
  },
5938
6069
  {
5939
6070
  "kind": "field",
5940
- "name": "autofocus",
6071
+ "name": "disabled",
5941
6072
  "type": {
5942
- "text": "boolean"
6073
+ "text": "boolean | undefined"
5943
6074
  },
5944
- "default": "false",
5945
- "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
5946
- "attribute": "autofocus",
6075
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
6076
+ "default": "undefined",
6077
+ "attribute": "disabled",
5947
6078
  "reflects": true,
5948
6079
  "inheritedFrom": {
5949
- "name": "Buttonsimple",
5950
- "module": "components/buttonsimple/buttonsimple.component.js"
6080
+ "name": "DisabledMixin",
6081
+ "module": "utils/mixins/DisabledMixin.js"
5951
6082
  }
5952
6083
  },
5953
6084
  {
@@ -5961,311 +6092,277 @@
5961
6092
  "attribute": "tabIndex",
5962
6093
  "reflects": true,
5963
6094
  "inheritedFrom": {
5964
- "name": "Buttonsimple",
5965
- "module": "components/buttonsimple/buttonsimple.component.js"
6095
+ "name": "TabIndexMixin",
6096
+ "module": "utils/mixins/TabIndexMixin.js"
5966
6097
  }
5967
6098
  },
5968
6099
  {
5969
6100
  "kind": "field",
5970
- "name": "disabled",
6101
+ "name": "cardTitle",
5971
6102
  "type": {
5972
- "text": "boolean | undefined"
6103
+ "text": "string"
5973
6104
  },
5974
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
5975
- "default": "undefined",
5976
- "attribute": "disabled",
6105
+ "default": "''",
6106
+ "description": "The title of the card - part of header section",
6107
+ "attribute": "card-title",
5977
6108
  "reflects": true,
5978
6109
  "inheritedFrom": {
5979
- "name": "Buttonsimple",
5980
- "module": "components/buttonsimple/buttonsimple.component.js"
6110
+ "name": "Card",
6111
+ "module": "components/card/card.component.js"
5981
6112
  }
5982
6113
  },
5983
6114
  {
5984
6115
  "kind": "field",
5985
- "name": "active",
6116
+ "name": "subtitle",
5986
6117
  "type": {
5987
- "text": "boolean | undefined"
6118
+ "text": "string"
5988
6119
  },
5989
- "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.",
5990
- "default": "undefined",
5991
- "attribute": "active",
6120
+ "default": "''",
6121
+ "description": "The subtitle of the card - part of header section",
6122
+ "attribute": "subtitle",
5992
6123
  "reflects": true,
5993
6124
  "inheritedFrom": {
5994
- "name": "Buttonsimple",
5995
- "module": "components/buttonsimple/buttonsimple.component.js"
6125
+ "name": "Card",
6126
+ "module": "components/card/card.component.js"
5996
6127
  }
5997
6128
  },
5998
6129
  {
5999
6130
  "kind": "field",
6000
- "name": "softDisabled",
6131
+ "name": "imageSrc",
6001
6132
  "type": {
6002
- "text": "boolean | undefined"
6133
+ "text": "string"
6003
6134
  },
6004
- "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.",
6005
- "default": "undefined",
6006
- "attribute": "soft-disabled",
6135
+ "default": "''",
6136
+ "description": "The image source URL to render on the card",
6137
+ "attribute": "image-src",
6007
6138
  "reflects": true,
6008
6139
  "inheritedFrom": {
6009
- "name": "Buttonsimple",
6010
- "module": "components/buttonsimple/buttonsimple.component.js"
6140
+ "name": "Card",
6141
+ "module": "components/card/card.component.js"
6011
6142
  }
6012
6143
  },
6013
6144
  {
6014
6145
  "kind": "field",
6015
- "name": "size",
6146
+ "name": "imageAlt",
6016
6147
  "type": {
6017
- "text": "ButtonSize"
6148
+ "text": "string"
6018
6149
  },
6019
- "description": "Simplebutton size is a super set of all the sizes supported by children components.",
6020
- "default": "32",
6021
- "attribute": "size",
6150
+ "default": "''",
6151
+ "description": "The image alt for accessibility support",
6152
+ "attribute": "image-alt",
6022
6153
  "reflects": true,
6023
6154
  "inheritedFrom": {
6024
- "name": "Buttonsimple",
6025
- "module": "components/buttonsimple/buttonsimple.component.js"
6155
+ "name": "Card",
6156
+ "module": "components/card/card.component.js"
6026
6157
  }
6027
6158
  },
6028
6159
  {
6029
6160
  "kind": "field",
6030
- "name": "role",
6031
- "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.",
6032
- "default": "button",
6033
- "attribute": "role",
6161
+ "name": "variant",
6162
+ "type": {
6163
+ "text": "CardVariant"
6164
+ },
6165
+ "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
6166
+ "default": "'border'",
6167
+ "attribute": "variant",
6034
6168
  "reflects": true,
6035
6169
  "inheritedFrom": {
6036
- "name": "Buttonsimple",
6037
- "module": "components/buttonsimple/buttonsimple.component.js"
6170
+ "name": "Card",
6171
+ "module": "components/card/card.component.js"
6038
6172
  }
6039
6173
  },
6040
6174
  {
6041
6175
  "kind": "field",
6042
- "name": "ariaStateKey",
6176
+ "name": "orientation",
6043
6177
  "type": {
6044
- "text": "string | undefined"
6178
+ "text": "CardOrientation"
6045
6179
  },
6046
- "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`",
6047
- "default": "'aria-pressed' (when)",
6048
- "attribute": "ariaStateKey",
6180
+ "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
6181
+ "default": "'vertical'",
6182
+ "attribute": "orientation",
6049
6183
  "reflects": true,
6050
6184
  "inheritedFrom": {
6051
- "name": "Buttonsimple",
6052
- "module": "components/buttonsimple/buttonsimple.component.js"
6185
+ "name": "Card",
6186
+ "module": "components/card/card.component.js"
6053
6187
  }
6054
6188
  },
6055
6189
  {
6056
6190
  "kind": "field",
6057
- "name": "type",
6191
+ "name": "titleTagName",
6058
6192
  "type": {
6059
- "text": "ButtonType"
6193
+ "text": "TagNameType"
6060
6194
  },
6061
- "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.",
6062
- "default": "button",
6063
- "attribute": "type",
6195
+ "description": "The tag name for the card title. It supports all the types that `msc-text` supports",
6196
+ "default": "'span'",
6197
+ "attribute": "title-tag-name",
6064
6198
  "reflects": true,
6065
6199
  "inheritedFrom": {
6066
- "name": "Buttonsimple",
6067
- "module": "components/buttonsimple/buttonsimple.component.js"
6068
- }
6069
- },
6070
- {
6071
- "kind": "method",
6072
- "name": "executeAction",
6073
- "privacy": "protected",
6074
- "inheritedFrom": {
6075
- "name": "Buttonsimple",
6076
- "module": "components/buttonsimple/buttonsimple.component.js"
6077
- }
6078
- },
6079
- {
6080
- "kind": "method",
6081
- "name": "setActive",
6082
- "privacy": "protected",
6083
- "parameters": [
6084
- {
6085
- "name": "element",
6086
- "type": {
6087
- "text": "HTMLElement"
6088
- },
6089
- "description": "The button element"
6090
- },
6091
- {
6092
- "name": "active",
6093
- "optional": true,
6094
- "type": {
6095
- "text": "boolean"
6096
- },
6097
- "description": "The active state of the element"
6098
- }
6099
- ],
6100
- "description": "Sets the ariaStateKey attributes based on the active state of the button.",
6101
- "inheritedFrom": {
6102
- "name": "Buttonsimple",
6103
- "module": "components/buttonsimple/buttonsimple.component.js"
6104
- }
6105
- },
6106
- {
6107
- "kind": "method",
6108
- "name": "setSoftDisabled",
6109
- "privacy": "private",
6110
- "parameters": [
6111
- {
6112
- "name": "element",
6113
- "type": {
6114
- "text": "HTMLElement"
6115
- },
6116
- "description": "The button element."
6117
- },
6118
- {
6119
- "name": "softDisabled",
6120
- "optional": true,
6121
- "type": {
6122
- "text": "boolean"
6123
- },
6124
- "description": "The soft-disabled state."
6125
- }
6126
- ],
6127
- "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.",
6128
- "inheritedFrom": {
6129
- "name": "Buttonsimple",
6130
- "module": "components/buttonsimple/buttonsimple.component.js"
6200
+ "name": "Card",
6201
+ "module": "components/card/card.component.js"
6131
6202
  }
6132
6203
  },
6133
6204
  {
6134
- "kind": "method",
6135
- "name": "setDisabled",
6136
- "privacy": "private",
6137
- "parameters": [
6138
- {
6139
- "name": "element",
6140
- "type": {
6141
- "text": "HTMLElement"
6142
- },
6143
- "description": "The button element."
6144
- },
6145
- {
6146
- "name": "disabled",
6147
- "type": {
6148
- "text": "boolean"
6149
- },
6150
- "description": "The disabled state."
6151
- }
6152
- ],
6153
- "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.",
6205
+ "kind": "field",
6206
+ "name": "subtitleTagName",
6207
+ "type": {
6208
+ "text": "TagNameType"
6209
+ },
6210
+ "description": "The tag name for the subtitle. It supports all the types that `msc-text` supports",
6211
+ "default": "'span'",
6212
+ "attribute": "subtitle-tag-name",
6213
+ "reflects": true,
6154
6214
  "inheritedFrom": {
6155
- "name": "Buttonsimple",
6156
- "module": "components/buttonsimple/buttonsimple.component.js"
6215
+ "name": "Card",
6216
+ "module": "components/card/card.component.js"
6217
+ }
6218
+ },
6219
+ {
6220
+ "kind": "field",
6221
+ "name": "iconName",
6222
+ "type": {
6223
+ "text": "IconNames | undefined"
6224
+ },
6225
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
6226
+ "attribute": "icon-name",
6227
+ "reflects": true,
6228
+ "inheritedFrom": {
6229
+ "name": "Card",
6230
+ "module": "components/card/card.component.js"
6157
6231
  }
6158
6232
  },
6159
6233
  {
6160
6234
  "kind": "method",
6161
- "name": "triggerClickEvent",
6162
- "privacy": "private",
6235
+ "name": "renderImage",
6236
+ "privacy": "protected",
6237
+ "description": "Renders the image on the card if image source is provided",
6238
+ "return": {
6239
+ "type": {
6240
+ "text": ""
6241
+ }
6242
+ },
6163
6243
  "inheritedFrom": {
6164
- "name": "Buttonsimple",
6165
- "module": "components/buttonsimple/buttonsimple.component.js"
6244
+ "name": "Card",
6245
+ "module": "components/card/card.component.js"
6166
6246
  }
6167
6247
  },
6168
6248
  {
6169
6249
  "kind": "method",
6170
- "name": "handleBlur",
6171
- "privacy": "private",
6172
- "description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed.",
6250
+ "name": "renderIcon",
6251
+ "privacy": "protected",
6252
+ "description": "Renders the icon on the card if icon name is provided",
6253
+ "return": {
6254
+ "type": {
6255
+ "text": ""
6256
+ }
6257
+ },
6173
6258
  "inheritedFrom": {
6174
- "name": "Buttonsimple",
6175
- "module": "components/buttonsimple/buttonsimple.component.js"
6259
+ "name": "Card",
6260
+ "module": "components/card/card.component.js"
6176
6261
  }
6177
6262
  },
6178
6263
  {
6179
6264
  "kind": "method",
6180
- "name": "handleKeyDown",
6181
- "privacy": "private",
6182
- "parameters": [
6183
- {
6184
- "name": "event",
6185
- "type": {
6186
- "text": "KeyboardEvent"
6187
- },
6188
- "description": "The keyboard event."
6265
+ "name": "renderTitle",
6266
+ "privacy": "protected",
6267
+ "description": "Renders the title and subtitle on the card",
6268
+ "return": {
6269
+ "type": {
6270
+ "text": ""
6189
6271
  }
6190
- ],
6191
- "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.",
6272
+ },
6192
6273
  "inheritedFrom": {
6193
- "name": "Buttonsimple",
6194
- "module": "components/buttonsimple/buttonsimple.component.js"
6274
+ "name": "Card",
6275
+ "module": "components/card/card.component.js"
6195
6276
  }
6196
6277
  },
6197
6278
  {
6198
6279
  "kind": "method",
6199
- "name": "handleKeyUp",
6200
- "privacy": "private",
6201
- "parameters": [
6202
- {
6203
- "name": "event",
6204
- "type": {
6205
- "text": "KeyboardEvent"
6206
- },
6207
- "description": "The keyboard event."
6280
+ "name": "renderFooter",
6281
+ "privacy": "protected",
6282
+ "description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
6283
+ "return": {
6284
+ "type": {
6285
+ "text": ""
6208
6286
  }
6209
- ],
6210
- "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.",
6287
+ },
6211
6288
  "inheritedFrom": {
6212
- "name": "Buttonsimple",
6213
- "module": "components/buttonsimple/buttonsimple.component.js"
6289
+ "name": "Card",
6290
+ "module": "components/card/card.component.js"
6214
6291
  }
6215
6292
  }
6216
6293
  ],
6217
6294
  "events": [
6218
6295
  {
6219
- "description": "(React: onClick) Event that gets dispatched when the card is clicked.",
6296
+ "description": "(React: onClick) Event that gets dispatched when the card is clicked. It toggles the checked state.",
6220
6297
  "name": "click",
6221
- "reactName": "onClick",
6222
- "inheritedFrom": {
6223
- "name": "Buttonsimple",
6224
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6225
- }
6298
+ "reactName": "onClick"
6226
6299
  },
6227
6300
  {
6228
- "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.",
6301
+ "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the card. It toggles the checked state when enter key is used.",
6229
6302
  "name": "keydown",
6230
- "reactName": "onKeyDown",
6231
- "inheritedFrom": {
6232
- "name": "Buttonsimple",
6233
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6234
- }
6303
+ "reactName": "onKeyDown"
6235
6304
  },
6236
6305
  {
6237
- "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.",
6306
+ "description": "(React: onKeyUp) This event is dispatched when a key is released on the card. It toggles the checked state when space key is used.",
6238
6307
  "name": "keyup",
6239
- "reactName": "onKeyUp",
6240
- "inheritedFrom": {
6241
- "name": "Buttonsimple",
6242
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6243
- }
6308
+ "reactName": "onKeyUp"
6309
+ },
6310
+ {
6311
+ "description": "(React: onChange) Event that gets dispatched when the card state changes.",
6312
+ "name": "change",
6313
+ "reactName": "onChange"
6244
6314
  },
6245
6315
  {
6246
6316
  "description": "(React: onFocus) Event that gets dispatched when the card receives focus.",
6247
6317
  "name": "focus",
6248
- "reactName": "onFocus",
6249
- "inheritedFrom": {
6250
- "name": "Buttonsimple",
6251
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6252
- }
6253
- }
6254
- ],
6255
- "mixins": [
6256
- {
6257
- "name": "CardComponentMixin",
6258
- "module": "/src/utils/mixins/CardComponentMixin"
6318
+ "reactName": "onFocus"
6259
6319
  }
6260
6320
  ],
6261
- "superclass": {
6262
- "name": "Buttonsimple",
6263
- "module": "/src/components/buttonsimple/buttonsimple.component"
6264
- },
6265
- "tagName": "mdc-cardbutton",
6266
- "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 * @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 *\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 */",
6267
- "customElement": true,
6268
6321
  "attributes": [
6322
+ {
6323
+ "name": "checked",
6324
+ "type": {
6325
+ "text": "boolean"
6326
+ },
6327
+ "default": "false",
6328
+ "description": "The checked state of the card",
6329
+ "fieldName": "checked"
6330
+ },
6331
+ {
6332
+ "name": "name",
6333
+ "type": {
6334
+ "text": "string"
6335
+ },
6336
+ "default": "''",
6337
+ "description": "The name of the radio.",
6338
+ "fieldName": "name"
6339
+ },
6340
+ {
6341
+ "name": "disabled",
6342
+ "type": {
6343
+ "text": "boolean | undefined"
6344
+ },
6345
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
6346
+ "default": "undefined",
6347
+ "fieldName": "disabled",
6348
+ "inheritedFrom": {
6349
+ "name": "DisabledMixin",
6350
+ "module": "src/utils/mixins/DisabledMixin.ts"
6351
+ }
6352
+ },
6353
+ {
6354
+ "name": "tabIndex",
6355
+ "type": {
6356
+ "text": "number"
6357
+ },
6358
+ "default": "0",
6359
+ "description": "This property specifies the tab order of the element.",
6360
+ "fieldName": "tabIndex",
6361
+ "inheritedFrom": {
6362
+ "name": "TabIndexMixin",
6363
+ "module": "src/utils/mixins/TabIndexMixin.ts"
6364
+ }
6365
+ },
6269
6366
  {
6270
6367
  "name": "card-title",
6271
6368
  "type": {
@@ -6275,8 +6372,8 @@
6275
6372
  "description": "The title of the card - part of header section",
6276
6373
  "fieldName": "cardTitle",
6277
6374
  "inheritedFrom": {
6278
- "name": "CardComponentMixin",
6279
- "module": "src/utils/mixins/CardComponentMixin.ts"
6375
+ "name": "Card",
6376
+ "module": "src/components/card/card.component.ts"
6280
6377
  }
6281
6378
  },
6282
6379
  {
@@ -6288,8 +6385,8 @@
6288
6385
  "description": "The subtitle of the card - part of header section",
6289
6386
  "fieldName": "subtitle",
6290
6387
  "inheritedFrom": {
6291
- "name": "CardComponentMixin",
6292
- "module": "src/utils/mixins/CardComponentMixin.ts"
6388
+ "name": "Card",
6389
+ "module": "src/components/card/card.component.ts"
6293
6390
  }
6294
6391
  },
6295
6392
  {
@@ -6301,8 +6398,8 @@
6301
6398
  "description": "The image source URL to render on the card",
6302
6399
  "fieldName": "imageSrc",
6303
6400
  "inheritedFrom": {
6304
- "name": "CardComponentMixin",
6305
- "module": "src/utils/mixins/CardComponentMixin.ts"
6401
+ "name": "Card",
6402
+ "module": "src/components/card/card.component.ts"
6306
6403
  }
6307
6404
  },
6308
6405
  {
@@ -6314,8 +6411,8 @@
6314
6411
  "description": "The image alt for accessibility support",
6315
6412
  "fieldName": "imageAlt",
6316
6413
  "inheritedFrom": {
6317
- "name": "CardComponentMixin",
6318
- "module": "src/utils/mixins/CardComponentMixin.ts"
6414
+ "name": "Card",
6415
+ "module": "src/components/card/card.component.ts"
6319
6416
  }
6320
6417
  },
6321
6418
  {
@@ -6327,8 +6424,8 @@
6327
6424
  "default": "'border'",
6328
6425
  "fieldName": "variant",
6329
6426
  "inheritedFrom": {
6330
- "name": "CardComponentMixin",
6331
- "module": "src/utils/mixins/CardComponentMixin.ts"
6427
+ "name": "Card",
6428
+ "module": "src/components/card/card.component.ts"
6332
6429
  }
6333
6430
  },
6334
6431
  {
@@ -6340,8 +6437,8 @@
6340
6437
  "default": "'vertical'",
6341
6438
  "fieldName": "orientation",
6342
6439
  "inheritedFrom": {
6343
- "name": "CardComponentMixin",
6344
- "module": "src/utils/mixins/CardComponentMixin.ts"
6440
+ "name": "Card",
6441
+ "module": "src/components/card/card.component.ts"
6345
6442
  }
6346
6443
  },
6347
6444
  {
@@ -6353,8 +6450,8 @@
6353
6450
  "default": "'span'",
6354
6451
  "fieldName": "titleTagName",
6355
6452
  "inheritedFrom": {
6356
- "name": "CardComponentMixin",
6357
- "module": "src/utils/mixins/CardComponentMixin.ts"
6453
+ "name": "Card",
6454
+ "module": "src/components/card/card.component.ts"
6358
6455
  }
6359
6456
  },
6360
6457
  {
@@ -6366,8 +6463,8 @@
6366
6463
  "default": "'span'",
6367
6464
  "fieldName": "subtitleTagName",
6368
6465
  "inheritedFrom": {
6369
- "name": "CardComponentMixin",
6370
- "module": "src/utils/mixins/CardComponentMixin.ts"
6466
+ "name": "Card",
6467
+ "module": "src/components/card/card.component.ts"
6371
6468
  }
6372
6469
  },
6373
6470
  {
@@ -6378,125 +6475,28 @@
6378
6475
  "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
6379
6476
  "fieldName": "iconName",
6380
6477
  "inheritedFrom": {
6381
- "name": "CardComponentMixin",
6382
- "module": "src/utils/mixins/CardComponentMixin.ts"
6383
- }
6384
- },
6385
- {
6386
- "name": "autofocus",
6387
- "type": {
6388
- "text": "boolean"
6389
- },
6390
- "default": "false",
6391
- "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
6392
- "fieldName": "autofocus",
6393
- "inheritedFrom": {
6394
- "name": "Buttonsimple",
6395
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6396
- }
6397
- },
6398
- {
6399
- "name": "tabIndex",
6400
- "type": {
6401
- "text": "number"
6402
- },
6403
- "default": "0",
6404
- "description": "This property specifies the tab order of the element.",
6405
- "fieldName": "tabIndex",
6406
- "inheritedFrom": {
6407
- "name": "Buttonsimple",
6408
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6409
- }
6410
- },
6411
- {
6412
- "name": "disabled",
6413
- "type": {
6414
- "text": "boolean | undefined"
6415
- },
6416
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
6417
- "default": "undefined",
6418
- "fieldName": "disabled",
6419
- "inheritedFrom": {
6420
- "name": "Buttonsimple",
6421
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6422
- }
6423
- },
6424
- {
6425
- "name": "active",
6426
- "type": {
6427
- "text": "boolean | undefined"
6428
- },
6429
- "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.",
6430
- "default": "undefined",
6431
- "fieldName": "active",
6432
- "inheritedFrom": {
6433
- "name": "Buttonsimple",
6434
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6435
- }
6436
- },
6437
- {
6438
- "name": "soft-disabled",
6439
- "type": {
6440
- "text": "boolean | undefined"
6441
- },
6442
- "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.",
6443
- "default": "undefined",
6444
- "fieldName": "softDisabled",
6445
- "inheritedFrom": {
6446
- "name": "Buttonsimple",
6447
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6448
- }
6449
- },
6450
- {
6451
- "name": "size",
6452
- "type": {
6453
- "text": "ButtonSize"
6454
- },
6455
- "description": "Simplebutton size is a super set of all the sizes supported by children components.",
6456
- "default": "32",
6457
- "fieldName": "size",
6458
- "inheritedFrom": {
6459
- "name": "Buttonsimple",
6460
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6461
- }
6462
- },
6463
- {
6464
- "name": "role",
6465
- "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.",
6466
- "default": "button",
6467
- "fieldName": "role",
6468
- "inheritedFrom": {
6469
- "name": "Buttonsimple",
6470
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6478
+ "name": "Card",
6479
+ "module": "src/components/card/card.component.ts"
6471
6480
  }
6472
- },
6481
+ }
6482
+ ],
6483
+ "mixins": [
6473
6484
  {
6474
- "name": "ariaStateKey",
6475
- "type": {
6476
- "text": "string | undefined"
6477
- },
6478
- "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`",
6479
- "default": "'aria-pressed' (when)",
6480
- "fieldName": "ariaStateKey",
6481
- "inheritedFrom": {
6482
- "name": "Buttonsimple",
6483
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6484
- }
6485
+ "name": "DisabledMixin",
6486
+ "module": "/src/utils/mixins/DisabledMixin"
6485
6487
  },
6486
6488
  {
6487
- "name": "type",
6488
- "type": {
6489
- "text": "ButtonType"
6490
- },
6491
- "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.",
6492
- "default": "button",
6493
- "fieldName": "type",
6494
- "inheritedFrom": {
6495
- "name": "Buttonsimple",
6496
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6497
- }
6489
+ "name": "TabIndexMixin",
6490
+ "module": "/src/utils/mixins/TabIndexMixin"
6498
6491
  }
6499
- ]
6492
+ ],
6493
+ "superclass": {
6494
+ "name": "Card",
6495
+ "module": "/src/components/card/card.component"
6496
+ },
6497
+ "tagName": "mdc-cardradio",
6498
+ "jsDoc": "/**\n * cardradio component extends `mdc-card` and supports radio selection interaction addtionally.\n *\n * While using this component within a form or group of cards, make sure cards are in a role = \"radio-group\".\n * This card would have events for selected and unselected (similar to radio)\n *\n * **Note**: This is a single selection card i.e. interacting anywhere on the card would toggle the checked state.\n * Make sure to pass only non-interactable elements within the slots.\n *\n * Make sure to pass the `card-title` mandatorily for this card.\n *\n * @tagname mdc-cardradio\n *\n * @dependency mdc-icon\n * @dependency mdc-staticradio\n * @dependency mdc-text\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 *\n * @event click - (React: onClick) Event that gets dispatched when the card is clicked. It toggles the checked state.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the card.\n * It toggles the checked state when enter key is used.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the card.\n * It toggles the checked state when space key is used.\n * @event change - (React: onChange) Event that gets dispatched when the card state changes.\n * @event focus - (React: onFocus) Event that gets dispatched when the card receives focus.\n *\n */",
6499
+ "customElement": true
6500
6500
  }
6501
6501
  ],
6502
6502
  "exports": [
@@ -6504,8 +6504,8 @@
6504
6504
  "kind": "js",
6505
6505
  "name": "default",
6506
6506
  "declaration": {
6507
- "name": "CardButton",
6508
- "module": "components/cardbutton/cardbutton.component.js"
6507
+ "name": "CardRadio",
6508
+ "module": "components/cardradio/cardradio.component.js"
6509
6509
  }
6510
6510
  }
6511
6511
  ]
@@ -29198,7 +29198,7 @@
29198
29198
  "declarations": [
29199
29199
  {
29200
29200
  "kind": "class",
29201
- "description": "The mdc-select component is a dropdown selection control that allows users to pick an option from a predefined list.\nIt is designed to work with `mdc-option` for individual options and `mdc-optgroup` for grouping related options.\nThe component ensures accessibility and usability while handling various use cases,\nincluding long text truncation with tooltip support.",
29201
+ "description": "The mdc-select component is a dropdown selection control that allows users to pick an option from a predefined list.\nIt is designed to work with `mdc-option` for individual options and `mdc-optgroup` for grouping related options.\nThe component ensures accessibility and usability while handling various use cases,\nincluding long text truncation with tooltip support.\n\nTo set a default option, use the `selected` attribute on the `mdc-option` element.",
29202
29202
  "name": "Select",
29203
29203
  "slots": [
29204
29204
  {
@@ -29341,6 +29341,24 @@
29341
29341
  }
29342
29342
  ]
29343
29343
  },
29344
+ {
29345
+ "kind": "method",
29346
+ "name": "dispatchInput",
29347
+ "privacy": "private",
29348
+ "return": {
29349
+ "type": {
29350
+ "text": "void"
29351
+ }
29352
+ },
29353
+ "parameters": [
29354
+ {
29355
+ "name": "value",
29356
+ "type": {
29357
+ "text": "string"
29358
+ }
29359
+ }
29360
+ ]
29361
+ },
29344
29362
  {
29345
29363
  "kind": "method",
29346
29364
  "name": "handlePopoverOnOpen",
@@ -29864,6 +29882,14 @@
29864
29882
  "description": "(React: onChange) This event is dispatched when the select is changed.",
29865
29883
  "reactName": "onChange"
29866
29884
  },
29885
+ {
29886
+ "name": "input",
29887
+ "type": {
29888
+ "text": "CustomEvent"
29889
+ },
29890
+ "description": "(React: onInput) This event is dispatched when the select is changed.",
29891
+ "reactName": "onInput"
29892
+ },
29867
29893
  {
29868
29894
  "description": "(React: onClick) This event is dispatched when the select is clicked.",
29869
29895
  "name": "click",
@@ -30086,7 +30112,7 @@
30086
30112
  "module": "/src/components/formfieldwrapper/formfieldwrapper.component"
30087
30113
  },
30088
30114
  "tagName": "mdc-select",
30089
- "jsDoc": "/**\n * The mdc-select component is a dropdown selection control that allows users to pick an option from a predefined list.\n * It is designed to work with `mdc-option` for individual options and `mdc-optgroup` for grouping related options.\n * The component ensures accessibility and usability while handling various use cases,\n * including long text truncation with tooltip support.\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-popover\n * @dependency mdc-text\n * @dependency mdc-toggletip\n *\n * @tagname mdc-select\n *\n * @slot default - This is a default/unnamed slot for options and/or option group.\n *\n * @event click - (React: onClick) This event is dispatched when the select is clicked.\n * @event change - (React: onChange) This event is dispatched when the select is changed.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the select.\n * @event focus - (React: onFocus) This event is dispatched when the select receives focus.\n */",
30115
+ "jsDoc": "/**\n * The mdc-select component is a dropdown selection control that allows users to pick an option from a predefined list.\n * It is designed to work with `mdc-option` for individual options and `mdc-optgroup` for grouping related options.\n * The component ensures accessibility and usability while handling various use cases,\n * including long text truncation with tooltip support.\n *\n * To set a default option, use the `selected` attribute on the `mdc-option` element.\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-popover\n * @dependency mdc-text\n * @dependency mdc-toggletip\n *\n * @tagname mdc-select\n *\n * @slot default - This is a default/unnamed slot for options and/or option group.\n *\n * @event click - (React: onClick) This event is dispatched when the select is clicked.\n * @event change - (React: onChange) This event is dispatched when the select is changed.\n * @event input - (React: onInput) This event is dispatched when the select is changed.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the select.\n * @event focus - (React: onFocus) This event is dispatched when the select receives focus.\n */",
30090
30116
  "customElement": true
30091
30117
  }
30092
30118
  ],
@@ -33689,24 +33715,28 @@
33689
33715
  },
33690
33716
  {
33691
33717
  "kind": "javascript-module",
33692
- "path": "components/toggletip/toggletip.component.js",
33718
+ "path": "components/tooltip/tooltip.component.js",
33693
33719
  "declarations": [
33694
33720
  {
33695
33721
  "kind": "class",
33696
- "description": "A toggletip is triggered by clicking a trigger element.\n\nIt can contain interactive content and can be closed by\nclicking outside the toggletip or pressing the escape key.\n\nIt can have optional close button to close the toggletip.\n\nToggletip component uses `mdc-screenreaderannouncer` internally to\nannounce the toggletip text content with screen readers when the toggletip is shown.\n\n`screenreader-announcer-identity` attribute can be used to provide ID of an element\nin DOM to which announcement elements are added. If not set, a visually hidden\ndiv element is created in DOM to which announcement elements are added.\n\nPlease refer to the `mdc-screenreaderannouncer` component for more details.",
33697
- "name": "ToggleTip",
33722
+ "description": "A tooltip is triggered by mouse hover or by keyboard focus\nand will disappear upon mouse exit or focus change.\n\nNote: Tooltips cannot contain content that can be focused or interacted with.",
33723
+ "name": "Tooltip",
33698
33724
  "cssProperties": [
33699
33725
  {
33700
- "description": "The maximum width of the toggletip.",
33701
- "name": "--mdc-toggletip-max-width"
33726
+ "description": "The maximum width of the tooltip.",
33727
+ "name": "--mdc-tooltip-max-width"
33702
33728
  },
33703
33729
  {
33704
- "description": "The text color of the toggletip.",
33705
- "name": "--mdc-toggletip-text-color"
33730
+ "description": "The padding of the tooltip.",
33731
+ "name": "--mdc-tooltip-padding"
33706
33732
  },
33707
33733
  {
33708
- "description": "The text color of the toggletip when the color is contrast.",
33709
- "name": "--mdc-toggletip-text-color-contrast"
33734
+ "description": "The text color of the tooltip.",
33735
+ "name": "--mdc-tooltip-text-color"
33736
+ },
33737
+ {
33738
+ "description": "The text color of the tooltip when the color is contrast.",
33739
+ "name": "--mdc-tooltip-text-color-contrast"
33710
33740
  },
33711
33741
  {
33712
33742
  "description": "radius of the arrow border",
@@ -33789,53 +33819,29 @@
33789
33819
  }
33790
33820
  }
33791
33821
  ],
33792
- "slots": [
33793
- {
33794
- "description": "Default slot for the toggletip content",
33795
- "name": "",
33796
- "inheritedFrom": {
33797
- "name": "Popover",
33798
- "module": "src/components/popover/popover.component.ts"
33799
- }
33800
- }
33801
- ],
33802
33822
  "members": [
33803
33823
  {
33804
33824
  "kind": "field",
33805
- "name": "defaultSlotNodes",
33806
- "type": {
33807
- "text": "Array<Node>"
33808
- },
33809
- "privacy": "private"
33810
- },
33811
- {
33812
- "kind": "field",
33813
- "name": "screenreaderAnnouncerIdentity",
33825
+ "name": "tooltipType",
33814
33826
  "type": {
33815
- "text": "string | undefined"
33827
+ "text": "TooltipType"
33816
33828
  },
33817
- "description": "Set this attribute with the id of the element in the DOM, to which announcement\nelements will be appended.\nIf an id is provided, the announcement elements will be appended to this element.\nIf id is not provided, a visually hidden div element will be created in the DOM.\n\nPlease refer to the `mdc-screenreaderannouncer` component for more details.",
33818
- "attribute": "screenreader-announcer-identity",
33829
+ "description": "The type of tooltip.\n- **description** sets aria-describedby on the trigger component which refers to the tooltip id.\n- **label** sets aria-labelledby on the trigger component which refers to the tooltip id.\n- **none** no aria props set on trigger component referring to the tooltip id.",
33830
+ "default": "'description'",
33831
+ "attribute": "tooltip-type",
33819
33832
  "reflects": true
33820
33833
  },
33821
33834
  {
33822
33835
  "kind": "field",
33823
- "name": "placement",
33836
+ "name": "defaultSlotNodes",
33824
33837
  "type": {
33825
- "text": "PopoverPlacement"
33838
+ "text": "Array<Node>"
33826
33839
  },
33827
- "description": "The placement of the popover.\n- **top**\n- **top-start**\n- **top-end**\n- **bottom**\n- **bottom-start**\n- **bottom-end**\n- **left**\n- **left-start**\n- **left-end**\n- **right**\n- **right-start**\n- **right-end**",
33828
- "default": "bottom",
33829
- "attribute": "placement",
33830
- "reflects": true,
33831
- "inheritedFrom": {
33832
- "name": "Popover",
33833
- "module": "components/popover/popover.component.js"
33834
- }
33840
+ "privacy": "private"
33835
33841
  },
33836
33842
  {
33837
33843
  "kind": "method",
33838
- "name": "getToggleTipText",
33844
+ "name": "getTooltipText",
33839
33845
  "privacy": "private",
33840
33846
  "return": {
33841
33847
  "type": {
@@ -33843,6 +33849,37 @@
33843
33849
  }
33844
33850
  }
33845
33851
  },
33852
+ {
33853
+ "kind": "method",
33854
+ "name": "setTooltipType",
33855
+ "privacy": "private",
33856
+ "return": {
33857
+ "type": {
33858
+ "text": "void"
33859
+ }
33860
+ },
33861
+ "parameters": [
33862
+ {
33863
+ "name": "type",
33864
+ "type": {
33865
+ "text": "TooltipType"
33866
+ },
33867
+ "description": "The type to set."
33868
+ }
33869
+ ],
33870
+ "description": "Sets the type attribute for the tooltip component.\nIf the provided type is not included in the TOOLTIP_TYPES,\nit defaults to the value specified in DEFAULTS.TOOLTIP_TYPE."
33871
+ },
33872
+ {
33873
+ "kind": "method",
33874
+ "name": "onIdUpdated",
33875
+ "privacy": "private",
33876
+ "return": {
33877
+ "type": {
33878
+ "text": "void"
33879
+ }
33880
+ },
33881
+ "description": "Updates the tooltip id if it is empty."
33882
+ },
33846
33883
  {
33847
33884
  "kind": "method",
33848
33885
  "name": "onPlacementUpdated",
@@ -33852,7 +33889,27 @@
33852
33889
  "text": "void"
33853
33890
  }
33854
33891
  },
33855
- "description": "Updates the placement attribute if it is not a valid placement.\nDefault placement for toggle tip is top."
33892
+ "description": "Updates the placement attribute if it is not a valid placement.\nOverriding the default from Popover"
33893
+ },
33894
+ {
33895
+ "kind": "method",
33896
+ "name": "onTooltipTypeUpdated",
33897
+ "privacy": "private",
33898
+ "return": {
33899
+ "type": {
33900
+ "text": "void"
33901
+ }
33902
+ },
33903
+ "parameters": [
33904
+ {
33905
+ "name": "changedProperties",
33906
+ "type": {
33907
+ "text": "PropertyValues"
33908
+ },
33909
+ "description": "The changed properties."
33910
+ }
33911
+ ],
33912
+ "description": "Updates the tooltip type attribute and sets the appropriate aria props on the trigger component."
33856
33913
  },
33857
33914
  {
33858
33915
  "kind": "field",
@@ -34445,6 +34502,21 @@
34445
34502
  "module": "components/popover/popover.component.js"
34446
34503
  }
34447
34504
  },
34505
+ {
34506
+ "kind": "field",
34507
+ "name": "placement",
34508
+ "type": {
34509
+ "text": "PopoverPlacement"
34510
+ },
34511
+ "description": "The placement of the popover.\n- **top**\n- **top-start**\n- **top-end**\n- **bottom**\n- **bottom-start**\n- **bottom-end**\n- **left**\n- **left-start**\n- **left-end**\n- **right**\n- **right-start**\n- **right-end**",
34512
+ "default": "bottom",
34513
+ "attribute": "placement",
34514
+ "reflects": true,
34515
+ "inheritedFrom": {
34516
+ "name": "Popover",
34517
+ "module": "components/popover/popover.component.js"
34518
+ }
34519
+ },
34448
34520
  {
34449
34521
  "kind": "field",
34450
34522
  "name": "color",
@@ -35012,7 +35084,7 @@
35012
35084
  ],
35013
35085
  "events": [
35014
35086
  {
35015
- "description": "(React: onShown) This event is dispatched when the toggletip is shown",
35087
+ "description": "(React: onShown) This event is dispatched when the tooltip is shown",
35016
35088
  "name": "shown",
35017
35089
  "reactName": "onShown",
35018
35090
  "inheritedFrom": {
@@ -35021,7 +35093,7 @@
35021
35093
  }
35022
35094
  },
35023
35095
  {
35024
- "description": "(React: onHidden) This event is dispatched when the toggletip is hidden",
35096
+ "description": "(React: onHidden) This event is dispatched when the tooltip is hidden",
35025
35097
  "name": "hidden",
35026
35098
  "reactName": "onHidden",
35027
35099
  "inheritedFrom": {
@@ -35030,7 +35102,7 @@
35030
35102
  }
35031
35103
  },
35032
35104
  {
35033
- "description": "(React: onCreated) This event is dispatched when the toggletip is created (added to the DOM)",
35105
+ "description": "(React: onCreated) This event is dispatched when the tooltip is created (added to the DOM)",
35034
35106
  "name": "created",
35035
35107
  "reactName": "onCreated",
35036
35108
  "inheritedFrom": {
@@ -35039,7 +35111,7 @@
35039
35111
  }
35040
35112
  },
35041
35113
  {
35042
- "description": "(React: onDestroyed) This event is dispatched when the toggletip is destroyed (removed from the DOM)",
35114
+ "description": "(React: onDestroyed) This event is dispatched when the tooltip is destroyed (removed from the DOM)",
35043
35115
  "name": "destroyed",
35044
35116
  "reactName": "onDestroyed",
35045
35117
  "inheritedFrom": {
@@ -35050,25 +35122,13 @@
35050
35122
  ],
35051
35123
  "attributes": [
35052
35124
  {
35053
- "name": "screenreader-announcer-identity",
35054
- "type": {
35055
- "text": "string | undefined"
35056
- },
35057
- "description": "Set this attribute with the id of the element in the DOM, to which announcement\nelements will be appended.\nIf an id is provided, the announcement elements will be appended to this element.\nIf id is not provided, a visually hidden div element will be created in the DOM.\n\nPlease refer to the `mdc-screenreaderannouncer` component for more details.",
35058
- "fieldName": "screenreaderAnnouncerIdentity"
35059
- },
35060
- {
35061
- "name": "placement",
35125
+ "name": "tooltip-type",
35062
35126
  "type": {
35063
- "text": "PopoverPlacement"
35127
+ "text": "TooltipType"
35064
35128
  },
35065
- "description": "The placement of the popover.\n- **top**\n- **top-start**\n- **top-end**\n- **bottom**\n- **bottom-start**\n- **bottom-end**\n- **left**\n- **left-start**\n- **left-end**\n- **right**\n- **right-start**\n- **right-end**",
35066
- "default": "bottom",
35067
- "fieldName": "placement",
35068
- "inheritedFrom": {
35069
- "name": "Popover",
35070
- "module": "src/components/popover/popover.component.ts"
35071
- }
35129
+ "description": "The type of tooltip.\n- **description** sets aria-describedby on the trigger component which refers to the tooltip id.\n- **label** sets aria-labelledby on the trigger component which refers to the tooltip id.\n- **none** no aria props set on trigger component referring to the tooltip id.",
35130
+ "default": "'description'",
35131
+ "fieldName": "tooltipType"
35072
35132
  },
35073
35133
  {
35074
35134
  "name": "should-focus-trap-wrap",
@@ -35122,6 +35182,19 @@
35122
35182
  "module": "src/components/popover/popover.component.ts"
35123
35183
  }
35124
35184
  },
35185
+ {
35186
+ "name": "placement",
35187
+ "type": {
35188
+ "text": "PopoverPlacement"
35189
+ },
35190
+ "description": "The placement of the popover.\n- **top**\n- **top-start**\n- **top-end**\n- **bottom**\n- **bottom-start**\n- **bottom-end**\n- **left**\n- **left-start**\n- **left-end**\n- **right**\n- **right-start**\n- **right-end**",
35191
+ "default": "bottom",
35192
+ "fieldName": "placement",
35193
+ "inheritedFrom": {
35194
+ "name": "Popover",
35195
+ "module": "src/components/popover/popover.component.ts"
35196
+ }
35197
+ },
35125
35198
  {
35126
35199
  "name": "color",
35127
35200
  "type": {
@@ -35452,9 +35525,19 @@
35452
35525
  "name": "Popover",
35453
35526
  "module": "/src/components/popover/popover.component"
35454
35527
  },
35455
- "tagName": "mdc-toggletip",
35456
- "jsDoc": "/**\n * A toggletip is triggered by clicking a trigger element.\n *\n * It can contain interactive content and can be closed by\n * clicking outside the toggletip or pressing the escape key.\n *\n * It can have optional close button to close the toggletip.\n *\n * Toggletip component uses `mdc-screenreaderannouncer` internally to\n * announce the toggletip text content with screen readers when the toggletip is shown.\n *\n * `screenreader-announcer-identity` attribute can be used to provide ID of an element\n * in DOM to which announcement elements are added. If not set, a visually hidden\n * div element is created in DOM to which announcement elements are added.\n *\n * Please refer to the `mdc-screenreaderannouncer` component for more details.\n *\n * @dependency mdc-screenreaderannouncer\n * @dependency mdc-button\n *\n * @tagname mdc-toggletip\n *\n * @event shown - (React: onShown) This event is dispatched when the toggletip is shown\n * @event hidden - (React: onHidden) This event is dispatched when the toggletip is hidden\n * @event created - (React: onCreated) This event is dispatched when the toggletip is created (added to the DOM)\n * @event destroyed - (React: onDestroyed) This event is dispatched when the toggletip\n * is destroyed (removed from the DOM)\n *\n * @cssproperty --mdc-toggletip-max-width - The maximum width of the toggletip.\n * @cssproperty --mdc-toggletip-text-color - The text color of the toggletip.\n * @cssproperty --mdc-toggletip-text-color-contrast - The text color of the toggletip\n * when the color is contrast.\n *\n * @slot - Default slot for the toggletip content\n */",
35457
- "customElement": true
35528
+ "tagName": "mdc-tooltip",
35529
+ "jsDoc": "/**\n * A tooltip is triggered by mouse hover or by keyboard focus\n * and will disappear upon mouse exit or focus change.\n *\n * Note: Tooltips cannot contain content that can be focused or interacted with.\n *\n * @tagname mdc-tooltip\n *\n * @event shown - (React: onShown) This event is dispatched when the tooltip is shown\n * @event hidden - (React: onHidden) This event is dispatched when the tooltip is hidden\n * @event created - (React: onCreated) This event is dispatched when the tooltip is created (added to the DOM)\n * @event destroyed - (React: onDestroyed) This event is dispatched when the tooltip is destroyed (removed from the DOM)\n *\n * @cssproperty --mdc-tooltip-max-width - The maximum width of the tooltip.\n * @cssproperty --mdc-tooltip-padding - The padding of the tooltip.\n * @cssproperty --mdc-tooltip-text-color - The text color of the tooltip.\n * @cssproperty --mdc-tooltip-text-color-contrast - The text color of the tooltip when the color is contrast.\n *\n */",
35530
+ "customElement": true,
35531
+ "slots": [
35532
+ {
35533
+ "description": "Default slot for the popover content",
35534
+ "name": "",
35535
+ "inheritedFrom": {
35536
+ "name": "Popover",
35537
+ "module": "src/components/popover/popover.component.ts"
35538
+ }
35539
+ }
35540
+ ]
35458
35541
  }
35459
35542
  ],
35460
35543
  "exports": [
@@ -35462,36 +35545,32 @@
35462
35545
  "kind": "js",
35463
35546
  "name": "default",
35464
35547
  "declaration": {
35465
- "name": "ToggleTip",
35466
- "module": "components/toggletip/toggletip.component.js"
35548
+ "name": "Tooltip",
35549
+ "module": "components/tooltip/tooltip.component.js"
35467
35550
  }
35468
35551
  }
35469
35552
  ]
35470
35553
  },
35471
35554
  {
35472
35555
  "kind": "javascript-module",
35473
- "path": "components/tooltip/tooltip.component.js",
35556
+ "path": "components/toggletip/toggletip.component.js",
35474
35557
  "declarations": [
35475
35558
  {
35476
35559
  "kind": "class",
35477
- "description": "A tooltip is triggered by mouse hover or by keyboard focus\nand will disappear upon mouse exit or focus change.\n\nNote: Tooltips cannot contain content that can be focused or interacted with.",
35478
- "name": "Tooltip",
35560
+ "description": "A toggletip is triggered by clicking a trigger element.\n\nIt can contain interactive content and can be closed by\nclicking outside the toggletip or pressing the escape key.\n\nIt can have optional close button to close the toggletip.\n\nToggletip component uses `mdc-screenreaderannouncer` internally to\nannounce the toggletip text content with screen readers when the toggletip is shown.\n\n`screenreader-announcer-identity` attribute can be used to provide ID of an element\nin DOM to which announcement elements are added. If not set, a visually hidden\ndiv element is created in DOM to which announcement elements are added.\n\nPlease refer to the `mdc-screenreaderannouncer` component for more details.",
35561
+ "name": "ToggleTip",
35479
35562
  "cssProperties": [
35480
35563
  {
35481
- "description": "The maximum width of the tooltip.",
35482
- "name": "--mdc-tooltip-max-width"
35483
- },
35484
- {
35485
- "description": "The padding of the tooltip.",
35486
- "name": "--mdc-tooltip-padding"
35564
+ "description": "The maximum width of the toggletip.",
35565
+ "name": "--mdc-toggletip-max-width"
35487
35566
  },
35488
35567
  {
35489
- "description": "The text color of the tooltip.",
35490
- "name": "--mdc-tooltip-text-color"
35568
+ "description": "The text color of the toggletip.",
35569
+ "name": "--mdc-toggletip-text-color"
35491
35570
  },
35492
35571
  {
35493
- "description": "The text color of the tooltip when the color is contrast.",
35494
- "name": "--mdc-tooltip-text-color-contrast"
35572
+ "description": "The text color of the toggletip when the color is contrast.",
35573
+ "name": "--mdc-toggletip-text-color-contrast"
35495
35574
  },
35496
35575
  {
35497
35576
  "description": "radius of the arrow border",
@@ -35574,18 +35653,17 @@
35574
35653
  }
35575
35654
  }
35576
35655
  ],
35577
- "members": [
35656
+ "slots": [
35578
35657
  {
35579
- "kind": "field",
35580
- "name": "tooltipType",
35581
- "type": {
35582
- "text": "TooltipType"
35583
- },
35584
- "description": "The type of tooltip.\n- **description** sets aria-describedby on the trigger component which refers to the tooltip id.\n- **label** sets aria-labelledby on the trigger component which refers to the tooltip id.\n- **none** no aria props set on trigger component referring to the tooltip id.",
35585
- "default": "'description'",
35586
- "attribute": "tooltip-type",
35587
- "reflects": true
35588
- },
35658
+ "description": "Default slot for the toggletip content",
35659
+ "name": "",
35660
+ "inheritedFrom": {
35661
+ "name": "Popover",
35662
+ "module": "src/components/popover/popover.component.ts"
35663
+ }
35664
+ }
35665
+ ],
35666
+ "members": [
35589
35667
  {
35590
35668
  "kind": "field",
35591
35669
  "name": "defaultSlotNodes",
@@ -35595,76 +35673,50 @@
35595
35673
  "privacy": "private"
35596
35674
  },
35597
35675
  {
35598
- "kind": "method",
35599
- "name": "getTooltipText",
35600
- "privacy": "private",
35601
- "return": {
35602
- "type": {
35603
- "text": ""
35604
- }
35605
- }
35606
- },
35607
- {
35608
- "kind": "method",
35609
- "name": "setTooltipType",
35610
- "privacy": "private",
35611
- "return": {
35612
- "type": {
35613
- "text": "void"
35614
- }
35676
+ "kind": "field",
35677
+ "name": "screenreaderAnnouncerIdentity",
35678
+ "type": {
35679
+ "text": "string | undefined"
35615
35680
  },
35616
- "parameters": [
35617
- {
35618
- "name": "type",
35619
- "type": {
35620
- "text": "TooltipType"
35621
- },
35622
- "description": "The type to set."
35623
- }
35624
- ],
35625
- "description": "Sets the type attribute for the tooltip component.\nIf the provided type is not included in the TOOLTIP_TYPES,\nit defaults to the value specified in DEFAULTS.TOOLTIP_TYPE."
35681
+ "description": "Set this attribute with the id of the element in the DOM, to which announcement\nelements will be appended.\nIf an id is provided, the announcement elements will be appended to this element.\nIf id is not provided, a visually hidden div element will be created in the DOM.\n\nPlease refer to the `mdc-screenreaderannouncer` component for more details.",
35682
+ "attribute": "screenreader-announcer-identity",
35683
+ "reflects": true
35626
35684
  },
35627
35685
  {
35628
- "kind": "method",
35629
- "name": "onIdUpdated",
35630
- "privacy": "private",
35631
- "return": {
35632
- "type": {
35633
- "text": "void"
35634
- }
35686
+ "kind": "field",
35687
+ "name": "placement",
35688
+ "type": {
35689
+ "text": "PopoverPlacement"
35635
35690
  },
35636
- "description": "Updates the tooltip id if it is empty."
35691
+ "description": "The placement of the popover.\n- **top**\n- **top-start**\n- **top-end**\n- **bottom**\n- **bottom-start**\n- **bottom-end**\n- **left**\n- **left-start**\n- **left-end**\n- **right**\n- **right-start**\n- **right-end**",
35692
+ "default": "bottom",
35693
+ "attribute": "placement",
35694
+ "reflects": true,
35695
+ "inheritedFrom": {
35696
+ "name": "Popover",
35697
+ "module": "components/popover/popover.component.js"
35698
+ }
35637
35699
  },
35638
35700
  {
35639
35701
  "kind": "method",
35640
- "name": "onPlacementUpdated",
35702
+ "name": "getToggleTipText",
35641
35703
  "privacy": "private",
35642
35704
  "return": {
35643
35705
  "type": {
35644
- "text": "void"
35706
+ "text": ""
35645
35707
  }
35646
- },
35647
- "description": "Updates the placement attribute if it is not a valid placement.\nOverriding the default from Popover"
35708
+ }
35648
35709
  },
35649
35710
  {
35650
35711
  "kind": "method",
35651
- "name": "onTooltipTypeUpdated",
35712
+ "name": "onPlacementUpdated",
35652
35713
  "privacy": "private",
35653
35714
  "return": {
35654
35715
  "type": {
35655
35716
  "text": "void"
35656
35717
  }
35657
35718
  },
35658
- "parameters": [
35659
- {
35660
- "name": "changedProperties",
35661
- "type": {
35662
- "text": "PropertyValues"
35663
- },
35664
- "description": "The changed properties."
35665
- }
35666
- ],
35667
- "description": "Updates the tooltip type attribute and sets the appropriate aria props on the trigger component."
35719
+ "description": "Updates the placement attribute if it is not a valid placement.\nDefault placement for toggle tip is top."
35668
35720
  },
35669
35721
  {
35670
35722
  "kind": "field",
@@ -36257,21 +36309,6 @@
36257
36309
  "module": "components/popover/popover.component.js"
36258
36310
  }
36259
36311
  },
36260
- {
36261
- "kind": "field",
36262
- "name": "placement",
36263
- "type": {
36264
- "text": "PopoverPlacement"
36265
- },
36266
- "description": "The placement of the popover.\n- **top**\n- **top-start**\n- **top-end**\n- **bottom**\n- **bottom-start**\n- **bottom-end**\n- **left**\n- **left-start**\n- **left-end**\n- **right**\n- **right-start**\n- **right-end**",
36267
- "default": "bottom",
36268
- "attribute": "placement",
36269
- "reflects": true,
36270
- "inheritedFrom": {
36271
- "name": "Popover",
36272
- "module": "components/popover/popover.component.js"
36273
- }
36274
- },
36275
36312
  {
36276
36313
  "kind": "field",
36277
36314
  "name": "color",
@@ -36839,7 +36876,7 @@
36839
36876
  ],
36840
36877
  "events": [
36841
36878
  {
36842
- "description": "(React: onShown) This event is dispatched when the tooltip is shown",
36879
+ "description": "(React: onShown) This event is dispatched when the toggletip is shown",
36843
36880
  "name": "shown",
36844
36881
  "reactName": "onShown",
36845
36882
  "inheritedFrom": {
@@ -36848,7 +36885,7 @@
36848
36885
  }
36849
36886
  },
36850
36887
  {
36851
- "description": "(React: onHidden) This event is dispatched when the tooltip is hidden",
36888
+ "description": "(React: onHidden) This event is dispatched when the toggletip is hidden",
36852
36889
  "name": "hidden",
36853
36890
  "reactName": "onHidden",
36854
36891
  "inheritedFrom": {
@@ -36857,7 +36894,7 @@
36857
36894
  }
36858
36895
  },
36859
36896
  {
36860
- "description": "(React: onCreated) This event is dispatched when the tooltip is created (added to the DOM)",
36897
+ "description": "(React: onCreated) This event is dispatched when the toggletip is created (added to the DOM)",
36861
36898
  "name": "created",
36862
36899
  "reactName": "onCreated",
36863
36900
  "inheritedFrom": {
@@ -36866,7 +36903,7 @@
36866
36903
  }
36867
36904
  },
36868
36905
  {
36869
- "description": "(React: onDestroyed) This event is dispatched when the tooltip is destroyed (removed from the DOM)",
36906
+ "description": "(React: onDestroyed) This event is dispatched when the toggletip is destroyed (removed from the DOM)",
36870
36907
  "name": "destroyed",
36871
36908
  "reactName": "onDestroyed",
36872
36909
  "inheritedFrom": {
@@ -36877,13 +36914,25 @@
36877
36914
  ],
36878
36915
  "attributes": [
36879
36916
  {
36880
- "name": "tooltip-type",
36917
+ "name": "screenreader-announcer-identity",
36881
36918
  "type": {
36882
- "text": "TooltipType"
36919
+ "text": "string | undefined"
36883
36920
  },
36884
- "description": "The type of tooltip.\n- **description** sets aria-describedby on the trigger component which refers to the tooltip id.\n- **label** sets aria-labelledby on the trigger component which refers to the tooltip id.\n- **none** no aria props set on trigger component referring to the tooltip id.",
36885
- "default": "'description'",
36886
- "fieldName": "tooltipType"
36921
+ "description": "Set this attribute with the id of the element in the DOM, to which announcement\nelements will be appended.\nIf an id is provided, the announcement elements will be appended to this element.\nIf id is not provided, a visually hidden div element will be created in the DOM.\n\nPlease refer to the `mdc-screenreaderannouncer` component for more details.",
36922
+ "fieldName": "screenreaderAnnouncerIdentity"
36923
+ },
36924
+ {
36925
+ "name": "placement",
36926
+ "type": {
36927
+ "text": "PopoverPlacement"
36928
+ },
36929
+ "description": "The placement of the popover.\n- **top**\n- **top-start**\n- **top-end**\n- **bottom**\n- **bottom-start**\n- **bottom-end**\n- **left**\n- **left-start**\n- **left-end**\n- **right**\n- **right-start**\n- **right-end**",
36930
+ "default": "bottom",
36931
+ "fieldName": "placement",
36932
+ "inheritedFrom": {
36933
+ "name": "Popover",
36934
+ "module": "src/components/popover/popover.component.ts"
36935
+ }
36887
36936
  },
36888
36937
  {
36889
36938
  "name": "should-focus-trap-wrap",
@@ -36937,19 +36986,6 @@
36937
36986
  "module": "src/components/popover/popover.component.ts"
36938
36987
  }
36939
36988
  },
36940
- {
36941
- "name": "placement",
36942
- "type": {
36943
- "text": "PopoverPlacement"
36944
- },
36945
- "description": "The placement of the popover.\n- **top**\n- **top-start**\n- **top-end**\n- **bottom**\n- **bottom-start**\n- **bottom-end**\n- **left**\n- **left-start**\n- **left-end**\n- **right**\n- **right-start**\n- **right-end**",
36946
- "default": "bottom",
36947
- "fieldName": "placement",
36948
- "inheritedFrom": {
36949
- "name": "Popover",
36950
- "module": "src/components/popover/popover.component.ts"
36951
- }
36952
- },
36953
36989
  {
36954
36990
  "name": "color",
36955
36991
  "type": {
@@ -37280,19 +37316,9 @@
37280
37316
  "name": "Popover",
37281
37317
  "module": "/src/components/popover/popover.component"
37282
37318
  },
37283
- "tagName": "mdc-tooltip",
37284
- "jsDoc": "/**\n * A tooltip is triggered by mouse hover or by keyboard focus\n * and will disappear upon mouse exit or focus change.\n *\n * Note: Tooltips cannot contain content that can be focused or interacted with.\n *\n * @tagname mdc-tooltip\n *\n * @event shown - (React: onShown) This event is dispatched when the tooltip is shown\n * @event hidden - (React: onHidden) This event is dispatched when the tooltip is hidden\n * @event created - (React: onCreated) This event is dispatched when the tooltip is created (added to the DOM)\n * @event destroyed - (React: onDestroyed) This event is dispatched when the tooltip is destroyed (removed from the DOM)\n *\n * @cssproperty --mdc-tooltip-max-width - The maximum width of the tooltip.\n * @cssproperty --mdc-tooltip-padding - The padding of the tooltip.\n * @cssproperty --mdc-tooltip-text-color - The text color of the tooltip.\n * @cssproperty --mdc-tooltip-text-color-contrast - The text color of the tooltip when the color is contrast.\n *\n */",
37285
- "customElement": true,
37286
- "slots": [
37287
- {
37288
- "description": "Default slot for the popover content",
37289
- "name": "",
37290
- "inheritedFrom": {
37291
- "name": "Popover",
37292
- "module": "src/components/popover/popover.component.ts"
37293
- }
37294
- }
37295
- ]
37319
+ "tagName": "mdc-toggletip",
37320
+ "jsDoc": "/**\n * A toggletip is triggered by clicking a trigger element.\n *\n * It can contain interactive content and can be closed by\n * clicking outside the toggletip or pressing the escape key.\n *\n * It can have optional close button to close the toggletip.\n *\n * Toggletip component uses `mdc-screenreaderannouncer` internally to\n * announce the toggletip text content with screen readers when the toggletip is shown.\n *\n * `screenreader-announcer-identity` attribute can be used to provide ID of an element\n * in DOM to which announcement elements are added. If not set, a visually hidden\n * div element is created in DOM to which announcement elements are added.\n *\n * Please refer to the `mdc-screenreaderannouncer` component for more details.\n *\n * @dependency mdc-screenreaderannouncer\n * @dependency mdc-button\n *\n * @tagname mdc-toggletip\n *\n * @event shown - (React: onShown) This event is dispatched when the toggletip is shown\n * @event hidden - (React: onHidden) This event is dispatched when the toggletip is hidden\n * @event created - (React: onCreated) This event is dispatched when the toggletip is created (added to the DOM)\n * @event destroyed - (React: onDestroyed) This event is dispatched when the toggletip\n * is destroyed (removed from the DOM)\n *\n * @cssproperty --mdc-toggletip-max-width - The maximum width of the toggletip.\n * @cssproperty --mdc-toggletip-text-color - The text color of the toggletip.\n * @cssproperty --mdc-toggletip-text-color-contrast - The text color of the toggletip\n * when the color is contrast.\n *\n * @slot - Default slot for the toggletip content\n */",
37321
+ "customElement": true
37296
37322
  }
37297
37323
  ],
37298
37324
  "exports": [
@@ -37300,8 +37326,8 @@
37300
37326
  "kind": "js",
37301
37327
  "name": "default",
37302
37328
  "declaration": {
37303
- "name": "Tooltip",
37304
- "module": "components/tooltip/tooltip.component.js"
37329
+ "name": "ToggleTip",
37330
+ "module": "components/toggletip/toggletip.component.js"
37305
37331
  }
37306
37332
  }
37307
37333
  ]