@momentum-design/components 0.116.0 → 0.116.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.
- package/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +3 -3
- package/dist/custom-elements.json +1041 -1041
- package/dist/react/index.d.ts +1 -1
- package/dist/react/index.js +1 -1
- package/dist/utils/controllers/ElementStore.d.ts +21 -10
- package/dist/utils/controllers/ElementStore.js +9 -0
- package/package.json +1 -1
@@ -4478,44 +4478,22 @@
|
|
4478
4478
|
},
|
4479
4479
|
{
|
4480
4480
|
"kind": "javascript-module",
|
4481
|
-
"path": "components/
|
4481
|
+
"path": "components/buttonsimple/buttonsimple.component.js",
|
4482
4482
|
"declarations": [
|
4483
4483
|
{
|
4484
4484
|
"kind": "class",
|
4485
|
-
"description": "`mdc-
|
4486
|
-
"name": "
|
4487
|
-
"cssParts": [
|
4488
|
-
{
|
4489
|
-
"description": "The anchor element that wraps the buttonlink content.",
|
4490
|
-
"name": "anchor",
|
4491
|
-
"inheritedFrom": {
|
4492
|
-
"name": "Linksimple",
|
4493
|
-
"module": "src/components/linksimple/linksimple.component.ts"
|
4494
|
-
}
|
4495
|
-
},
|
4496
|
-
{
|
4497
|
-
"description": "The prefix icon element.",
|
4498
|
-
"name": "prefix-icon"
|
4499
|
-
},
|
4500
|
-
{
|
4501
|
-
"description": "The slot containing the buttonlink text.",
|
4502
|
-
"name": "button-text"
|
4503
|
-
},
|
4504
|
-
{
|
4505
|
-
"description": "The postfix icon element.",
|
4506
|
-
"name": "postfix-icon"
|
4507
|
-
}
|
4508
|
-
],
|
4485
|
+
"description": "`mdc-buttonsimple` is a component that can be configured in various ways to suit different use cases.\nIt is used as an internal component and is not intended to be used directly by consumers.\nConsumers should use the `mdc-button` component instead.",
|
4486
|
+
"name": "Buttonsimple",
|
4509
4487
|
"members": [
|
4510
4488
|
{
|
4511
4489
|
"kind": "field",
|
4512
|
-
"name": "
|
4490
|
+
"name": "active",
|
4513
4491
|
"type": {
|
4514
|
-
"text": "
|
4492
|
+
"text": "boolean | undefined"
|
4515
4493
|
},
|
4516
|
-
"description": "
|
4517
|
-
"default": "
|
4518
|
-
"attribute": "
|
4494
|
+
"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.",
|
4495
|
+
"default": "undefined",
|
4496
|
+
"attribute": "active",
|
4519
4497
|
"reflects": true
|
4520
4498
|
},
|
4521
4499
|
{
|
@@ -4524,724 +4502,827 @@
|
|
4524
4502
|
"type": {
|
4525
4503
|
"text": "boolean | undefined"
|
4526
4504
|
},
|
4527
|
-
"description": "Indicates whether the
|
4505
|
+
"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.",
|
4528
4506
|
"default": "undefined",
|
4529
4507
|
"attribute": "soft-disabled",
|
4530
4508
|
"reflects": true
|
4531
4509
|
},
|
4532
4510
|
{
|
4533
|
-
"kind": "
|
4534
|
-
"name": "
|
4535
|
-
"
|
4536
|
-
|
4537
|
-
|
4538
|
-
|
4539
|
-
|
4540
|
-
|
4541
|
-
|
4542
|
-
"description": "The buttonlink element."
|
4543
|
-
},
|
4544
|
-
{
|
4545
|
-
"name": "softDisabled",
|
4546
|
-
"optional": true,
|
4547
|
-
"type": {
|
4548
|
-
"text": "boolean"
|
4549
|
-
},
|
4550
|
-
"description": "The soft-disabled state."
|
4551
|
-
}
|
4552
|
-
],
|
4553
|
-
"description": "Sets the soft-disabled attribute for the buttonlink.\nWhen soft-disabled, the buttonlink looks to be disabled but remains focusable and clickable.\nAlso sets/removes aria-disabled attribute."
|
4511
|
+
"kind": "field",
|
4512
|
+
"name": "size",
|
4513
|
+
"type": {
|
4514
|
+
"text": "ButtonSize"
|
4515
|
+
},
|
4516
|
+
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
4517
|
+
"default": "32",
|
4518
|
+
"attribute": "size",
|
4519
|
+
"reflects": true
|
4554
4520
|
},
|
4555
4521
|
{
|
4556
|
-
"kind": "
|
4557
|
-
"name": "
|
4558
|
-
"
|
4522
|
+
"kind": "field",
|
4523
|
+
"name": "role",
|
4524
|
+
"type": {
|
4525
|
+
"text": "RoleType"
|
4526
|
+
},
|
4527
|
+
"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.",
|
4528
|
+
"default": "button",
|
4529
|
+
"attribute": "role",
|
4530
|
+
"reflects": true
|
4559
4531
|
},
|
4560
4532
|
{
|
4561
4533
|
"kind": "field",
|
4562
|
-
"name": "
|
4534
|
+
"name": "ariaStateKey",
|
4563
4535
|
"type": {
|
4564
|
-
"text": "
|
4536
|
+
"text": "string | undefined"
|
4565
4537
|
},
|
4566
|
-
"description": "
|
4567
|
-
"
|
4568
|
-
"
|
4569
|
-
"
|
4570
|
-
"name": "ButtonComponentMixin",
|
4571
|
-
"module": "utils/mixins/ButtonComponentMixin.js"
|
4572
|
-
}
|
4538
|
+
"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`",
|
4539
|
+
"default": "'aria-pressed' (when)",
|
4540
|
+
"attribute": "ariaStateKey",
|
4541
|
+
"reflects": true
|
4573
4542
|
},
|
4574
4543
|
{
|
4575
4544
|
"kind": "field",
|
4576
|
-
"name": "
|
4545
|
+
"name": "type",
|
4577
4546
|
"type": {
|
4578
|
-
"text": "
|
4547
|
+
"text": "ButtonType"
|
4579
4548
|
},
|
4580
|
-
"description": "
|
4581
|
-
"
|
4582
|
-
"
|
4583
|
-
"
|
4584
|
-
"name": "ButtonComponentMixin",
|
4585
|
-
"module": "utils/mixins/ButtonComponentMixin.js"
|
4586
|
-
}
|
4549
|
+
"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.",
|
4550
|
+
"default": "button",
|
4551
|
+
"attribute": "type",
|
4552
|
+
"reflects": true
|
4587
4553
|
},
|
4588
4554
|
{
|
4589
4555
|
"kind": "field",
|
4590
|
-
"name": "
|
4556
|
+
"name": "name",
|
4591
4557
|
"type": {
|
4592
|
-
"text": "
|
4558
|
+
"text": "string | undefined"
|
4593
4559
|
},
|
4594
|
-
"description": "
|
4595
|
-
"
|
4596
|
-
"
|
4597
|
-
"inheritedFrom": {
|
4598
|
-
"name": "ButtonComponentMixin",
|
4599
|
-
"module": "utils/mixins/ButtonComponentMixin.js"
|
4600
|
-
}
|
4560
|
+
"description": "The name of the button, submitted as a pair with the button's value as part of the form data,\nwhen that button is used to submit the form.",
|
4561
|
+
"attribute": "name",
|
4562
|
+
"reflects": true
|
4601
4563
|
},
|
4602
4564
|
{
|
4603
4565
|
"kind": "field",
|
4604
|
-
"name": "
|
4566
|
+
"name": "value",
|
4605
4567
|
"type": {
|
4606
|
-
"text": "
|
4568
|
+
"text": "string | undefined"
|
4607
4569
|
},
|
4608
|
-
"description": "
|
4609
|
-
"
|
4610
|
-
"
|
4611
|
-
"inheritedFrom": {
|
4612
|
-
"name": "ButtonComponentMixin",
|
4613
|
-
"module": "utils/mixins/ButtonComponentMixin.js"
|
4614
|
-
}
|
4570
|
+
"description": "Defines the value associated with the button's name when it's submitted with the form data.\nThis value is passed to the server in params when the form is submitted using this button.",
|
4571
|
+
"attribute": "value",
|
4572
|
+
"reflects": true
|
4615
4573
|
},
|
4616
4574
|
{
|
4617
4575
|
"kind": "method",
|
4618
|
-
"name": "
|
4576
|
+
"name": "executeAction",
|
4577
|
+
"privacy": "protected"
|
4578
|
+
},
|
4579
|
+
{
|
4580
|
+
"kind": "method",
|
4581
|
+
"name": "setActive",
|
4619
4582
|
"privacy": "protected",
|
4620
4583
|
"parameters": [
|
4621
4584
|
{
|
4622
|
-
"name": "
|
4585
|
+
"name": "element",
|
4623
4586
|
"type": {
|
4624
|
-
"text": "
|
4587
|
+
"text": "HTMLElement"
|
4625
4588
|
},
|
4626
|
-
"description": "The
|
4589
|
+
"description": "The button element"
|
4590
|
+
},
|
4591
|
+
{
|
4592
|
+
"name": "active",
|
4593
|
+
"optional": true,
|
4594
|
+
"type": {
|
4595
|
+
"text": "boolean"
|
4596
|
+
},
|
4597
|
+
"description": "The active state of the element"
|
4627
4598
|
}
|
4628
4599
|
],
|
4629
|
-
"description": "Sets the
|
4630
|
-
"inheritedFrom": {
|
4631
|
-
"name": "ButtonComponentMixin",
|
4632
|
-
"module": "utils/mixins/ButtonComponentMixin.js"
|
4633
|
-
}
|
4600
|
+
"description": "Sets the ariaStateKey attributes based on the active state of the button."
|
4634
4601
|
},
|
4635
4602
|
{
|
4636
4603
|
"kind": "method",
|
4637
|
-
"name": "
|
4638
|
-
"privacy": "
|
4604
|
+
"name": "setSoftDisabled",
|
4605
|
+
"privacy": "private",
|
4639
4606
|
"parameters": [
|
4640
4607
|
{
|
4641
|
-
"name": "
|
4608
|
+
"name": "element",
|
4642
4609
|
"type": {
|
4643
|
-
"text": "
|
4610
|
+
"text": "HTMLElement"
|
4644
4611
|
},
|
4645
|
-
"description": "The
|
4612
|
+
"description": "The button element."
|
4613
|
+
},
|
4614
|
+
{
|
4615
|
+
"name": "softDisabled",
|
4616
|
+
"optional": true,
|
4617
|
+
"type": {
|
4618
|
+
"text": "boolean"
|
4619
|
+
},
|
4620
|
+
"description": "The soft-disabled state."
|
4646
4621
|
}
|
4647
4622
|
],
|
4648
|
-
"description": "Sets the
|
4649
|
-
"inheritedFrom": {
|
4650
|
-
"name": "ButtonComponentMixin",
|
4651
|
-
"module": "utils/mixins/ButtonComponentMixin.js"
|
4652
|
-
}
|
4623
|
+
"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."
|
4653
4624
|
},
|
4654
4625
|
{
|
4655
4626
|
"kind": "method",
|
4656
|
-
"name": "
|
4657
|
-
"privacy": "
|
4627
|
+
"name": "setDisabled",
|
4628
|
+
"privacy": "private",
|
4658
4629
|
"parameters": [
|
4659
4630
|
{
|
4660
|
-
"name": "
|
4631
|
+
"name": "element",
|
4661
4632
|
"type": {
|
4662
|
-
"text": "
|
4633
|
+
"text": "HTMLElement"
|
4663
4634
|
},
|
4664
|
-
"description": "The
|
4635
|
+
"description": "The button element."
|
4636
|
+
},
|
4637
|
+
{
|
4638
|
+
"name": "disabled",
|
4639
|
+
"type": {
|
4640
|
+
"text": "boolean"
|
4641
|
+
},
|
4642
|
+
"description": "The disabled state."
|
4665
4643
|
}
|
4666
4644
|
],
|
4667
|
-
"description": "Sets the
|
4668
|
-
"inheritedFrom": {
|
4669
|
-
"name": "ButtonComponentMixin",
|
4670
|
-
"module": "utils/mixins/ButtonComponentMixin.js"
|
4671
|
-
}
|
4645
|
+
"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."
|
4672
4646
|
},
|
4673
4647
|
{
|
4674
4648
|
"kind": "method",
|
4675
|
-
"name": "
|
4676
|
-
"privacy": "
|
4677
|
-
|
4649
|
+
"name": "triggerClickEvent",
|
4650
|
+
"privacy": "private"
|
4651
|
+
},
|
4652
|
+
{
|
4653
|
+
"kind": "method",
|
4654
|
+
"name": "handleBlur",
|
4655
|
+
"privacy": "private",
|
4656
|
+
"description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed."
|
4657
|
+
},
|
4658
|
+
{
|
4659
|
+
"kind": "method",
|
4660
|
+
"name": "handleKeyDown",
|
4661
|
+
"privacy": "private",
|
4678
4662
|
"parameters": [
|
4679
4663
|
{
|
4680
|
-
"
|
4681
|
-
"
|
4664
|
+
"name": "event",
|
4665
|
+
"type": {
|
4666
|
+
"text": "KeyboardEvent"
|
4667
|
+
},
|
4668
|
+
"description": "The keyboard event."
|
4682
4669
|
}
|
4683
4670
|
],
|
4684
|
-
"
|
4685
|
-
"name": "ButtonComponentMixin",
|
4686
|
-
"module": "utils/mixins/ButtonComponentMixin.js"
|
4687
|
-
}
|
4671
|
+
"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."
|
4688
4672
|
},
|
4689
4673
|
{
|
4690
|
-
"kind": "
|
4691
|
-
"name": "
|
4692
|
-
"
|
4693
|
-
|
4694
|
-
|
4695
|
-
|
4696
|
-
|
4697
|
-
|
4698
|
-
|
4699
|
-
|
4700
|
-
|
4701
|
-
|
4702
|
-
|
4703
|
-
},
|
4704
|
-
{
|
4705
|
-
"kind": "field",
|
4706
|
-
"name": "disabled",
|
4707
|
-
"type": {
|
4708
|
-
"text": "boolean | undefined"
|
4709
|
-
},
|
4710
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
4711
|
-
"default": "undefined",
|
4712
|
-
"attribute": "disabled",
|
4713
|
-
"reflects": true,
|
4714
|
-
"inheritedFrom": {
|
4715
|
-
"name": "DisabledMixin",
|
4716
|
-
"module": "utils/mixins/DisabledMixin.js"
|
4717
|
-
}
|
4674
|
+
"kind": "method",
|
4675
|
+
"name": "handleKeyUp",
|
4676
|
+
"privacy": "private",
|
4677
|
+
"parameters": [
|
4678
|
+
{
|
4679
|
+
"name": "event",
|
4680
|
+
"type": {
|
4681
|
+
"text": "KeyboardEvent"
|
4682
|
+
},
|
4683
|
+
"description": "The keyboard event."
|
4684
|
+
}
|
4685
|
+
],
|
4686
|
+
"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."
|
4718
4687
|
},
|
4719
4688
|
{
|
4720
4689
|
"kind": "field",
|
4721
|
-
"name": "
|
4690
|
+
"name": "autoFocusOnMount",
|
4722
4691
|
"type": {
|
4723
4692
|
"text": "boolean"
|
4724
4693
|
},
|
4725
|
-
"description": "The link can be inline or standalone.",
|
4726
4694
|
"default": "false",
|
4727
|
-
"
|
4695
|
+
"description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
|
4696
|
+
"attribute": "auto-focus-on-mount",
|
4728
4697
|
"reflects": true,
|
4729
4698
|
"inheritedFrom": {
|
4730
|
-
"name": "
|
4731
|
-
"module": "
|
4699
|
+
"name": "AutoFocusOnMountMixin",
|
4700
|
+
"module": "utils/mixins/AutoFocusOnMountMixin.js"
|
4732
4701
|
}
|
4733
4702
|
},
|
4734
4703
|
{
|
4735
4704
|
"kind": "field",
|
4736
|
-
"name": "
|
4705
|
+
"name": "tabIndex",
|
4737
4706
|
"type": {
|
4738
|
-
"text": "
|
4707
|
+
"text": "number"
|
4739
4708
|
},
|
4740
|
-
"
|
4741
|
-
"
|
4742
|
-
"attribute": "
|
4709
|
+
"default": "0",
|
4710
|
+
"description": "This property specifies the tab order of the element.",
|
4711
|
+
"attribute": "tabIndex",
|
4743
4712
|
"reflects": true,
|
4744
4713
|
"inheritedFrom": {
|
4745
|
-
"name": "
|
4746
|
-
"module": "
|
4714
|
+
"name": "TabIndexMixin",
|
4715
|
+
"module": "utils/mixins/TabIndexMixin.js"
|
4747
4716
|
}
|
4748
4717
|
},
|
4749
4718
|
{
|
4750
4719
|
"kind": "field",
|
4751
|
-
"name": "
|
4720
|
+
"name": "disabled",
|
4752
4721
|
"type": {
|
4753
|
-
"text": "
|
4722
|
+
"text": "boolean | undefined"
|
4754
4723
|
},
|
4755
|
-
"description": "
|
4756
|
-
"
|
4724
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
4725
|
+
"default": "undefined",
|
4726
|
+
"attribute": "disabled",
|
4757
4727
|
"reflects": true,
|
4758
4728
|
"inheritedFrom": {
|
4759
|
-
"name": "
|
4760
|
-
"module": "
|
4729
|
+
"name": "DisabledMixin",
|
4730
|
+
"module": "utils/mixins/DisabledMixin.js"
|
4761
4731
|
}
|
4732
|
+
}
|
4733
|
+
],
|
4734
|
+
"events": [
|
4735
|
+
{
|
4736
|
+
"description": "(React: onClick) This event is dispatched when the button is clicked.",
|
4737
|
+
"name": "click",
|
4738
|
+
"reactName": "onClick"
|
4762
4739
|
},
|
4763
4740
|
{
|
4764
|
-
"
|
4765
|
-
"name": "
|
4741
|
+
"description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the button.",
|
4742
|
+
"name": "keydown",
|
4743
|
+
"reactName": "onKeyDown"
|
4744
|
+
},
|
4745
|
+
{
|
4746
|
+
"description": "(React: onKeyUp) This event is dispatched when a key is released on the button.",
|
4747
|
+
"name": "keyup",
|
4748
|
+
"reactName": "onKeyUp"
|
4749
|
+
},
|
4750
|
+
{
|
4751
|
+
"description": "(React: onFocus) This event is dispatched when the button receives focus.",
|
4752
|
+
"name": "focus",
|
4753
|
+
"reactName": "onFocus"
|
4754
|
+
}
|
4755
|
+
],
|
4756
|
+
"attributes": [
|
4757
|
+
{
|
4758
|
+
"name": "active",
|
4766
4759
|
"type": {
|
4767
|
-
"text": "
|
4760
|
+
"text": "boolean | undefined"
|
4768
4761
|
},
|
4769
|
-
"
|
4770
|
-
"
|
4771
|
-
"
|
4772
|
-
"reflects": true,
|
4773
|
-
"inheritedFrom": {
|
4774
|
-
"name": "Linksimple",
|
4775
|
-
"module": "components/linksimple/linksimple.component.js"
|
4776
|
-
}
|
4762
|
+
"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.",
|
4763
|
+
"default": "undefined",
|
4764
|
+
"fieldName": "active"
|
4777
4765
|
},
|
4778
4766
|
{
|
4779
|
-
"
|
4780
|
-
"name": "rel",
|
4767
|
+
"name": "soft-disabled",
|
4781
4768
|
"type": {
|
4782
|
-
"text": "
|
4769
|
+
"text": "boolean | undefined"
|
4783
4770
|
},
|
4784
|
-
"description": "
|
4785
|
-
"
|
4786
|
-
"
|
4787
|
-
"inheritedFrom": {
|
4788
|
-
"name": "Linksimple",
|
4789
|
-
"module": "components/linksimple/linksimple.component.js"
|
4790
|
-
}
|
4771
|
+
"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.",
|
4772
|
+
"default": "undefined",
|
4773
|
+
"fieldName": "softDisabled"
|
4791
4774
|
},
|
4792
4775
|
{
|
4793
|
-
"
|
4794
|
-
"name": "download",
|
4776
|
+
"name": "size",
|
4795
4777
|
"type": {
|
4796
|
-
"text": "
|
4778
|
+
"text": "ButtonSize"
|
4797
4779
|
},
|
4798
|
-
"description": "
|
4799
|
-
"
|
4800
|
-
"
|
4801
|
-
"inheritedFrom": {
|
4802
|
-
"name": "Linksimple",
|
4803
|
-
"module": "components/linksimple/linksimple.component.js"
|
4804
|
-
}
|
4780
|
+
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
4781
|
+
"default": "32",
|
4782
|
+
"fieldName": "size"
|
4805
4783
|
},
|
4806
4784
|
{
|
4807
|
-
"
|
4808
|
-
"name": "ping",
|
4785
|
+
"name": "role",
|
4809
4786
|
"type": {
|
4810
|
-
"text": "
|
4787
|
+
"text": "RoleType"
|
4811
4788
|
},
|
4812
|
-
"description": "
|
4813
|
-
"
|
4814
|
-
"
|
4815
|
-
"inheritedFrom": {
|
4816
|
-
"name": "Linksimple",
|
4817
|
-
"module": "components/linksimple/linksimple.component.js"
|
4818
|
-
}
|
4789
|
+
"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.",
|
4790
|
+
"default": "button",
|
4791
|
+
"fieldName": "role"
|
4819
4792
|
},
|
4820
4793
|
{
|
4821
|
-
"
|
4822
|
-
"name": "hreflang",
|
4794
|
+
"name": "ariaStateKey",
|
4823
4795
|
"type": {
|
4824
4796
|
"text": "string | undefined"
|
4825
4797
|
},
|
4826
|
-
"description": "
|
4827
|
-
"
|
4828
|
-
"
|
4829
|
-
"inheritedFrom": {
|
4830
|
-
"name": "Linksimple",
|
4831
|
-
"module": "components/linksimple/linksimple.component.js"
|
4832
|
-
}
|
4798
|
+
"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`",
|
4799
|
+
"default": "'aria-pressed' (when)",
|
4800
|
+
"fieldName": "ariaStateKey"
|
4833
4801
|
},
|
4834
4802
|
{
|
4835
|
-
"kind": "field",
|
4836
4803
|
"name": "type",
|
4804
|
+
"type": {
|
4805
|
+
"text": "ButtonType"
|
4806
|
+
},
|
4807
|
+
"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.",
|
4808
|
+
"default": "button",
|
4809
|
+
"fieldName": "type"
|
4810
|
+
},
|
4811
|
+
{
|
4812
|
+
"name": "name",
|
4837
4813
|
"type": {
|
4838
4814
|
"text": "string | undefined"
|
4839
4815
|
},
|
4840
|
-
"description": "
|
4841
|
-
"
|
4842
|
-
"reflects": true,
|
4843
|
-
"inheritedFrom": {
|
4844
|
-
"name": "Linksimple",
|
4845
|
-
"module": "components/linksimple/linksimple.component.js"
|
4846
|
-
}
|
4816
|
+
"description": "The name of the button, submitted as a pair with the button's value as part of the form data,\nwhen that button is used to submit the form.",
|
4817
|
+
"fieldName": "name"
|
4847
4818
|
},
|
4848
4819
|
{
|
4849
|
-
"
|
4850
|
-
"name": "referrerpolicy",
|
4820
|
+
"name": "value",
|
4851
4821
|
"type": {
|
4852
4822
|
"text": "string | undefined"
|
4853
4823
|
},
|
4854
|
-
"description": "
|
4855
|
-
"
|
4856
|
-
|
4824
|
+
"description": "Defines the value associated with the button's name when it's submitted with the form data.\nThis value is passed to the server in params when the form is submitted using this button.",
|
4825
|
+
"fieldName": "value"
|
4826
|
+
},
|
4827
|
+
{
|
4828
|
+
"name": "auto-focus-on-mount",
|
4829
|
+
"type": {
|
4830
|
+
"text": "boolean"
|
4831
|
+
},
|
4832
|
+
"default": "false",
|
4833
|
+
"description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
|
4834
|
+
"fieldName": "autoFocusOnMount",
|
4857
4835
|
"inheritedFrom": {
|
4858
|
-
"name": "
|
4859
|
-
"module": "
|
4836
|
+
"name": "AutoFocusOnMountMixin",
|
4837
|
+
"module": "src/utils/mixins/AutoFocusOnMountMixin.ts"
|
4860
4838
|
}
|
4861
4839
|
},
|
4862
4840
|
{
|
4863
|
-
"
|
4864
|
-
"
|
4865
|
-
|
4866
|
-
"return": {
|
4867
|
-
"type": {
|
4868
|
-
"text": "void"
|
4869
|
-
}
|
4841
|
+
"name": "tabIndex",
|
4842
|
+
"type": {
|
4843
|
+
"text": "number"
|
4870
4844
|
},
|
4871
|
-
"
|
4872
|
-
|
4873
|
-
|
4874
|
-
"type": {
|
4875
|
-
"text": "MouseEvent | KeyboardEvent"
|
4876
|
-
}
|
4877
|
-
}
|
4878
|
-
],
|
4845
|
+
"default": "0",
|
4846
|
+
"description": "This property specifies the tab order of the element.",
|
4847
|
+
"fieldName": "tabIndex",
|
4879
4848
|
"inheritedFrom": {
|
4880
|
-
"name": "
|
4881
|
-
"module": "
|
4849
|
+
"name": "TabIndexMixin",
|
4850
|
+
"module": "src/utils/mixins/TabIndexMixin.ts"
|
4882
4851
|
}
|
4883
4852
|
},
|
4884
4853
|
{
|
4885
|
-
"
|
4886
|
-
"
|
4887
|
-
|
4888
|
-
|
4889
|
-
|
4890
|
-
|
4891
|
-
|
4892
|
-
"text": "boolean"
|
4893
|
-
},
|
4894
|
-
"description": "Whether the element should be disabled"
|
4895
|
-
}
|
4896
|
-
],
|
4897
|
-
"description": "Sets or removes `aria-disabled` and updates `tabIndex` to reflect\nthe disabled state. When disabled, the element becomes unfocusable;\nwhen enabled, the previous `tabIndex` is restored.",
|
4854
|
+
"name": "disabled",
|
4855
|
+
"type": {
|
4856
|
+
"text": "boolean | undefined"
|
4857
|
+
},
|
4858
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
4859
|
+
"default": "undefined",
|
4860
|
+
"fieldName": "disabled",
|
4898
4861
|
"inheritedFrom": {
|
4899
|
-
"name": "
|
4900
|
-
"module": "
|
4862
|
+
"name": "DisabledMixin",
|
4863
|
+
"module": "src/utils/mixins/DisabledMixin.ts"
|
4901
4864
|
}
|
4902
4865
|
}
|
4903
4866
|
],
|
4904
|
-
"
|
4867
|
+
"mixins": [
|
4905
4868
|
{
|
4906
|
-
"
|
4907
|
-
"
|
4908
|
-
"reactName": "onClick",
|
4909
|
-
"inheritedFrom": {
|
4910
|
-
"name": "Linksimple",
|
4911
|
-
"module": "src/components/linksimple/linksimple.component.ts"
|
4912
|
-
}
|
4869
|
+
"name": "AutoFocusOnMountMixin",
|
4870
|
+
"module": "/src/utils/mixins/AutoFocusOnMountMixin"
|
4913
4871
|
},
|
4914
4872
|
{
|
4915
|
-
"
|
4916
|
-
"
|
4917
|
-
"reactName": "onKeyDown",
|
4918
|
-
"inheritedFrom": {
|
4919
|
-
"name": "Linksimple",
|
4920
|
-
"module": "src/components/linksimple/linksimple.component.ts"
|
4921
|
-
}
|
4873
|
+
"name": "TabIndexMixin",
|
4874
|
+
"module": "/src/utils/mixins/TabIndexMixin"
|
4922
4875
|
},
|
4923
4876
|
{
|
4924
|
-
"
|
4925
|
-
"
|
4926
|
-
|
4927
|
-
|
4928
|
-
|
4929
|
-
|
4930
|
-
|
4877
|
+
"name": "DisabledMixin",
|
4878
|
+
"module": "/src/utils/mixins/DisabledMixin"
|
4879
|
+
}
|
4880
|
+
],
|
4881
|
+
"superclass": {
|
4882
|
+
"name": "Component",
|
4883
|
+
"module": "/src/models"
|
4884
|
+
},
|
4885
|
+
"tagName": "mdc-buttonsimple",
|
4886
|
+
"jsDoc": "/**\n * `mdc-buttonsimple` is a component that can be configured in various ways to suit different use cases.\n * It is used as an internal component and is not intended to be used directly by consumers.\n * Consumers should use the `mdc-button` component instead.\n *\n * @event click - (React: onClick) This event is dispatched when the button is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the button.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the button.\n * @event focus - (React: onFocus) This event is dispatched when the button receives focus.\n *\n * @tagname mdc-buttonsimple\n */",
|
4887
|
+
"customElement": true
|
4888
|
+
}
|
4889
|
+
],
|
4890
|
+
"exports": [
|
4891
|
+
{
|
4892
|
+
"kind": "js",
|
4893
|
+
"name": "default",
|
4894
|
+
"declaration": {
|
4895
|
+
"name": "Buttonsimple",
|
4896
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
4897
|
+
}
|
4898
|
+
}
|
4899
|
+
]
|
4900
|
+
},
|
4901
|
+
{
|
4902
|
+
"kind": "javascript-module",
|
4903
|
+
"path": "components/card/card.component.js",
|
4904
|
+
"declarations": [
|
4905
|
+
{
|
4906
|
+
"kind": "class",
|
4907
|
+
"description": "The card component allows users to organize information in a structured and tangible\nformat that is visually appealing. `mdc-card` is a static component that supports\nthe following features:\n- Image\n- Header\n - Icon\n - Title\n - Subtitle\n- Body\n\nThe card can either be vertically or horizontally oriented. The vertical card has a min-width of 20rem and the horizontal card has a min-width of 40rem.\n\nThere are 2 variants for the card that represent the border styling - 'border' and 'ghost'.\n\nTo make this card interactive, use the following slots:\n- `icon-button`: This slot supports action icon buttons in the header section (maximum of 3 buttons).\n- `footer-link`: This slot is for passing `mdc-link` component within the footer section.\n- `footer-button-primary`: This slot is for passing primary variant of `mdc-button` component within the footer section.\n- `footer-button-secondary`: This slot is for passing secondary variant of `mdc-button` component\nwithin the footer section.\n\nInteractive card additionally supports 'promotional' variant that represents the border styling - 'promotional'.",
|
4908
|
+
"name": "Card",
|
4909
|
+
"cssProperties": [
|
4910
|
+
{
|
4911
|
+
"description": "The width of the card",
|
4912
|
+
"name": "--mdc-card-width"
|
4913
|
+
}
|
4914
|
+
],
|
4915
|
+
"cssParts": [
|
4916
|
+
{
|
4917
|
+
"description": "The header part of the card",
|
4918
|
+
"name": "header"
|
4931
4919
|
},
|
4932
4920
|
{
|
4933
|
-
"description": "
|
4934
|
-
"name": "
|
4935
|
-
|
4936
|
-
|
4937
|
-
|
4938
|
-
|
4939
|
-
|
4921
|
+
"description": "The icon part of the card header",
|
4922
|
+
"name": "icon"
|
4923
|
+
},
|
4924
|
+
{
|
4925
|
+
"description": "The body part of the card",
|
4926
|
+
"name": "body"
|
4927
|
+
},
|
4928
|
+
{
|
4929
|
+
"description": "The image part of the card",
|
4930
|
+
"name": "image"
|
4931
|
+
},
|
4932
|
+
{
|
4933
|
+
"description": "The footer part of the card",
|
4934
|
+
"name": "footer"
|
4935
|
+
},
|
4936
|
+
{
|
4937
|
+
"description": "The link part of the card footer",
|
4938
|
+
"name": "footer-link"
|
4939
|
+
},
|
4940
|
+
{
|
4941
|
+
"description": "The primary button part of the card footer",
|
4942
|
+
"name": "footer-button-primary"
|
4943
|
+
},
|
4944
|
+
{
|
4945
|
+
"description": "The secondary button part of the card footer",
|
4946
|
+
"name": "footer-button-secondary"
|
4947
|
+
},
|
4948
|
+
{
|
4949
|
+
"description": "The icon button part of the card header",
|
4950
|
+
"name": "icon-button"
|
4951
|
+
},
|
4952
|
+
{
|
4953
|
+
"description": "The text part of the card",
|
4954
|
+
"name": "text"
|
4940
4955
|
}
|
4941
4956
|
],
|
4942
|
-
"
|
4957
|
+
"slots": [
|
4943
4958
|
{
|
4944
|
-
"
|
4945
|
-
"
|
4946
|
-
"text": "PillButtonSize | IconButtonSize"
|
4947
|
-
},
|
4948
|
-
"description": "ButtonLink sizing is based on the buttonlink type.\n- **Pill buttonlink**: 40, 32, 28, 24.\n- **Icon buttonlink**: 64, 52, 40, 32, 28, 24.\n- Tertiary icon buttonlink can also be 20.",
|
4949
|
-
"default": "32",
|
4950
|
-
"fieldName": "size"
|
4959
|
+
"description": "This slot is for passing the content before the body",
|
4960
|
+
"name": "before-body"
|
4951
4961
|
},
|
4952
4962
|
{
|
4953
|
-
"
|
4954
|
-
"
|
4955
|
-
"text": "boolean | undefined"
|
4956
|
-
},
|
4957
|
-
"description": "Indicates whether the buttonlink is soft disabled.\nWhen set to `true`, the buttonlink 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 buttonlink behaves like a disabled buttonlink, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
|
4958
|
-
"default": "undefined",
|
4959
|
-
"fieldName": "softDisabled"
|
4963
|
+
"description": "This slot is for passing the text content for the card",
|
4964
|
+
"name": "body"
|
4960
4965
|
},
|
4961
4966
|
{
|
4962
|
-
"
|
4963
|
-
"
|
4964
|
-
"text": "IconNames | undefined"
|
4965
|
-
},
|
4966
|
-
"description": "The name of the icon to display as a prefix.\nThe icon is displayed on the left side of the button.",
|
4967
|
-
"fieldName": "prefixIcon",
|
4968
|
-
"inheritedFrom": {
|
4969
|
-
"name": "ButtonComponentMixin",
|
4970
|
-
"module": "src/utils/mixins/ButtonComponentMixin.ts"
|
4971
|
-
}
|
4967
|
+
"description": "This slot is for passing the content after the body",
|
4968
|
+
"name": "after-body"
|
4972
4969
|
},
|
4973
4970
|
{
|
4974
|
-
"
|
4975
|
-
"
|
4976
|
-
"text": "IconNames | undefined"
|
4977
|
-
},
|
4978
|
-
"description": "The name of the icon to display as a postfix.\nThe icon is displayed on the right side of the button.",
|
4979
|
-
"fieldName": "postfixIcon",
|
4980
|
-
"inheritedFrom": {
|
4981
|
-
"name": "ButtonComponentMixin",
|
4982
|
-
"module": "src/utils/mixins/ButtonComponentMixin.ts"
|
4983
|
-
}
|
4971
|
+
"description": "This slot is for passing `mdc-link` component within the footer section.",
|
4972
|
+
"name": "footer-link"
|
4984
4973
|
},
|
4985
4974
|
{
|
4986
|
-
"
|
4987
|
-
"
|
4988
|
-
|
4989
|
-
|
4990
|
-
"description": "
|
4991
|
-
"
|
4992
|
-
|
4993
|
-
|
4994
|
-
|
4995
|
-
|
4975
|
+
"description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
|
4976
|
+
"name": "footer-button-primary"
|
4977
|
+
},
|
4978
|
+
{
|
4979
|
+
"description": "This slot is for passing secondary variant of `mdc-button` component within the footer section.",
|
4980
|
+
"name": "footer-button-secondary"
|
4981
|
+
},
|
4982
|
+
{
|
4983
|
+
"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.",
|
4984
|
+
"name": "footer"
|
4985
|
+
}
|
4986
|
+
],
|
4987
|
+
"members": [
|
4988
|
+
{
|
4989
|
+
"kind": "method",
|
4990
|
+
"name": "renderHeader",
|
4991
|
+
"privacy": "protected",
|
4992
|
+
"description": "Renders the header of the card if title is provided",
|
4993
|
+
"return": {
|
4994
|
+
"type": {
|
4995
|
+
"text": ""
|
4996
|
+
}
|
4996
4997
|
}
|
4997
4998
|
},
|
4998
4999
|
{
|
4999
|
-
"
|
5000
|
+
"kind": "field",
|
5001
|
+
"name": "cardTitle",
|
5000
5002
|
"type": {
|
5001
|
-
"text": "
|
5003
|
+
"text": "string"
|
5002
5004
|
},
|
5003
|
-
"
|
5004
|
-
"
|
5005
|
-
"
|
5005
|
+
"default": "''",
|
5006
|
+
"description": "The title of the card - part of header section",
|
5007
|
+
"attribute": "card-title",
|
5008
|
+
"reflects": true,
|
5006
5009
|
"inheritedFrom": {
|
5007
|
-
"name": "
|
5008
|
-
"module": "
|
5010
|
+
"name": "CardComponentMixin",
|
5011
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
5009
5012
|
}
|
5010
5013
|
},
|
5011
5014
|
{
|
5012
|
-
"
|
5015
|
+
"kind": "field",
|
5016
|
+
"name": "subtitle",
|
5013
5017
|
"type": {
|
5014
|
-
"text": "string
|
5018
|
+
"text": "string"
|
5015
5019
|
},
|
5016
|
-
"default": "
|
5017
|
-
"description": "
|
5018
|
-
"
|
5020
|
+
"default": "''",
|
5021
|
+
"description": "The subtitle of the card - part of header section",
|
5022
|
+
"attribute": "subtitle",
|
5023
|
+
"reflects": true,
|
5019
5024
|
"inheritedFrom": {
|
5020
|
-
"name": "
|
5021
|
-
"module": "
|
5025
|
+
"name": "CardComponentMixin",
|
5026
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
5022
5027
|
}
|
5023
5028
|
},
|
5024
5029
|
{
|
5025
|
-
"
|
5030
|
+
"kind": "field",
|
5031
|
+
"name": "imageSrc",
|
5026
5032
|
"type": {
|
5027
|
-
"text": "
|
5033
|
+
"text": "string"
|
5028
5034
|
},
|
5029
|
-
"
|
5030
|
-
"
|
5031
|
-
"
|
5035
|
+
"default": "''",
|
5036
|
+
"description": "The image source URL to render on the card",
|
5037
|
+
"attribute": "image-src",
|
5038
|
+
"reflects": true,
|
5032
5039
|
"inheritedFrom": {
|
5033
|
-
"name": "
|
5034
|
-
"module": "
|
5040
|
+
"name": "CardComponentMixin",
|
5041
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
5035
5042
|
}
|
5036
5043
|
},
|
5037
5044
|
{
|
5038
|
-
"
|
5045
|
+
"kind": "field",
|
5046
|
+
"name": "imageAlt",
|
5039
5047
|
"type": {
|
5040
|
-
"text": "
|
5048
|
+
"text": "string"
|
5041
5049
|
},
|
5042
|
-
"
|
5043
|
-
"
|
5044
|
-
"
|
5050
|
+
"default": "''",
|
5051
|
+
"description": "The image alt for accessibility support",
|
5052
|
+
"attribute": "image-alt",
|
5053
|
+
"reflects": true,
|
5045
5054
|
"inheritedFrom": {
|
5046
|
-
"name": "
|
5047
|
-
"module": "
|
5055
|
+
"name": "CardComponentMixin",
|
5056
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
5048
5057
|
}
|
5049
5058
|
},
|
5050
5059
|
{
|
5051
|
-
"
|
5060
|
+
"kind": "field",
|
5061
|
+
"name": "variant",
|
5052
5062
|
"type": {
|
5053
|
-
"text": "
|
5063
|
+
"text": "CardVariant"
|
5054
5064
|
},
|
5055
|
-
"description": "The
|
5056
|
-
"default": "
|
5057
|
-
"
|
5065
|
+
"description": "The variant of the card. It can either be set to 'border' or 'ghost'",
|
5066
|
+
"default": "'border'",
|
5067
|
+
"attribute": "variant",
|
5068
|
+
"reflects": true,
|
5058
5069
|
"inheritedFrom": {
|
5059
|
-
"name": "
|
5060
|
-
"module": "
|
5070
|
+
"name": "CardComponentMixin",
|
5071
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
5061
5072
|
}
|
5062
5073
|
},
|
5063
5074
|
{
|
5064
|
-
"
|
5075
|
+
"kind": "field",
|
5076
|
+
"name": "orientation",
|
5065
5077
|
"type": {
|
5066
|
-
"text": "
|
5078
|
+
"text": "CardOrientation"
|
5067
5079
|
},
|
5068
|
-
"description": "
|
5069
|
-
"
|
5080
|
+
"description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
|
5081
|
+
"default": "'vertical'",
|
5082
|
+
"attribute": "orientation",
|
5083
|
+
"reflects": true,
|
5070
5084
|
"inheritedFrom": {
|
5071
|
-
"name": "
|
5072
|
-
"module": "
|
5085
|
+
"name": "CardComponentMixin",
|
5086
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
5073
5087
|
}
|
5074
5088
|
},
|
5075
5089
|
{
|
5076
|
-
"
|
5090
|
+
"kind": "field",
|
5091
|
+
"name": "titleTagName",
|
5077
5092
|
"type": {
|
5078
|
-
"text": "
|
5093
|
+
"text": "TagNameType"
|
5079
5094
|
},
|
5080
|
-
"
|
5081
|
-
"
|
5082
|
-
"
|
5095
|
+
"description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
|
5096
|
+
"default": "'span'",
|
5097
|
+
"attribute": "title-tag-name",
|
5098
|
+
"reflects": true,
|
5083
5099
|
"inheritedFrom": {
|
5084
|
-
"name": "
|
5085
|
-
"module": "
|
5100
|
+
"name": "CardComponentMixin",
|
5101
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
5086
5102
|
}
|
5087
5103
|
},
|
5088
5104
|
{
|
5089
|
-
"
|
5105
|
+
"kind": "field",
|
5106
|
+
"name": "subtitleTagName",
|
5090
5107
|
"type": {
|
5091
|
-
"text": "
|
5108
|
+
"text": "TagNameType"
|
5092
5109
|
},
|
5093
|
-
"description": "
|
5094
|
-
"
|
5110
|
+
"description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
|
5111
|
+
"default": "'span'",
|
5112
|
+
"attribute": "subtitle-tag-name",
|
5113
|
+
"reflects": true,
|
5095
5114
|
"inheritedFrom": {
|
5096
|
-
"name": "
|
5097
|
-
"module": "
|
5115
|
+
"name": "CardComponentMixin",
|
5116
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
5098
5117
|
}
|
5099
5118
|
},
|
5100
5119
|
{
|
5101
|
-
"
|
5120
|
+
"kind": "field",
|
5121
|
+
"name": "iconName",
|
5102
5122
|
"type": {
|
5103
|
-
"text": "
|
5123
|
+
"text": "IconNames | undefined"
|
5104
5124
|
},
|
5105
|
-
"description": "
|
5106
|
-
"
|
5125
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
5126
|
+
"attribute": "icon-name",
|
5127
|
+
"reflects": true,
|
5107
5128
|
"inheritedFrom": {
|
5108
|
-
"name": "
|
5109
|
-
"module": "
|
5129
|
+
"name": "CardComponentMixin",
|
5130
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
5110
5131
|
}
|
5111
5132
|
},
|
5112
5133
|
{
|
5113
|
-
"
|
5114
|
-
"
|
5115
|
-
|
5134
|
+
"kind": "method",
|
5135
|
+
"name": "renderImage",
|
5136
|
+
"privacy": "protected",
|
5137
|
+
"description": "Renders the image on the card if image source is provided",
|
5138
|
+
"return": {
|
5139
|
+
"type": {
|
5140
|
+
"text": ""
|
5141
|
+
}
|
5116
5142
|
},
|
5117
|
-
"description": "Optional ping attribute that defines a space-separated list of URLs to be notified if the link is followed.",
|
5118
|
-
"fieldName": "ping",
|
5119
5143
|
"inheritedFrom": {
|
5120
|
-
"name": "
|
5121
|
-
"module": "
|
5144
|
+
"name": "CardComponentMixin",
|
5145
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
5122
5146
|
}
|
5123
5147
|
},
|
5124
5148
|
{
|
5125
|
-
"
|
5126
|
-
"
|
5127
|
-
|
5149
|
+
"kind": "method",
|
5150
|
+
"name": "renderIcon",
|
5151
|
+
"privacy": "protected",
|
5152
|
+
"description": "Renders the icon on the card if icon name is provided",
|
5153
|
+
"return": {
|
5154
|
+
"type": {
|
5155
|
+
"text": ""
|
5156
|
+
}
|
5128
5157
|
},
|
5129
|
-
"description": "Optional hreflang attribute specifying the language of the linked resource.",
|
5130
|
-
"fieldName": "hreflang",
|
5131
5158
|
"inheritedFrom": {
|
5132
|
-
"name": "
|
5133
|
-
"module": "
|
5159
|
+
"name": "CardComponentMixin",
|
5160
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
5134
5161
|
}
|
5135
5162
|
},
|
5136
5163
|
{
|
5137
|
-
"
|
5138
|
-
"
|
5139
|
-
|
5164
|
+
"kind": "method",
|
5165
|
+
"name": "renderTitle",
|
5166
|
+
"privacy": "protected",
|
5167
|
+
"description": "Renders the title and subtitle on the card",
|
5168
|
+
"return": {
|
5169
|
+
"type": {
|
5170
|
+
"text": ""
|
5171
|
+
}
|
5140
5172
|
},
|
5141
|
-
"description": "Optional type attribute indicating the MIME type of the linked resource.",
|
5142
|
-
"fieldName": "type",
|
5143
5173
|
"inheritedFrom": {
|
5144
|
-
"name": "
|
5145
|
-
"module": "
|
5174
|
+
"name": "CardComponentMixin",
|
5175
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
5146
5176
|
}
|
5147
5177
|
},
|
5148
5178
|
{
|
5149
|
-
"
|
5150
|
-
"
|
5151
|
-
|
5179
|
+
"kind": "method",
|
5180
|
+
"name": "renderFooter",
|
5181
|
+
"privacy": "protected",
|
5182
|
+
"description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
|
5183
|
+
"return": {
|
5184
|
+
"type": {
|
5185
|
+
"text": ""
|
5186
|
+
}
|
5152
5187
|
},
|
5153
|
-
"description": "Optional referrerpolicy attribute specifying how much referrer information to send.",
|
5154
|
-
"fieldName": "referrerpolicy",
|
5155
5188
|
"inheritedFrom": {
|
5156
|
-
"name": "
|
5157
|
-
"module": "
|
5189
|
+
"name": "FooterMixin",
|
5190
|
+
"module": "utils/mixins/FooterMixin.js"
|
5158
5191
|
}
|
5159
5192
|
}
|
5160
5193
|
],
|
5161
5194
|
"mixins": [
|
5162
5195
|
{
|
5163
|
-
"name": "
|
5164
|
-
"module": "/src/utils/mixins/
|
5196
|
+
"name": "CardComponentMixin",
|
5197
|
+
"module": "/src/utils/mixins/CardComponentMixin"
|
5198
|
+
},
|
5199
|
+
{
|
5200
|
+
"name": "FooterMixin",
|
5201
|
+
"module": "/src/utils/mixins/FooterMixin"
|
5165
5202
|
}
|
5166
5203
|
],
|
5167
5204
|
"superclass": {
|
5168
|
-
"name": "
|
5169
|
-
"module": "/src/
|
5205
|
+
"name": "Component",
|
5206
|
+
"module": "/src/models"
|
5170
5207
|
},
|
5171
|
-
"tagName": "mdc-
|
5172
|
-
"jsDoc": "/**\n *
|
5208
|
+
"tagName": "mdc-card",
|
5209
|
+
"jsDoc": "/**\n * The card component allows users to organize information in a structured and tangible\n * format that is visually appealing. `mdc-card` is a static component that supports\n * the following features:\n * - Image\n * - Header\n * - Icon\n * - Title\n * - Subtitle\n * - Body\n *\n * The card can either be vertically or horizontally oriented. The vertical card has a min-width of 20rem and the horizontal card has a min-width of 40rem.\n *\n * There are 2 variants for the card that represent the border styling - 'border' and 'ghost'.\n *\n * To make this card interactive, use the following slots:\n * - `icon-button`: This slot supports action icon buttons in the header section (maximum of 3 buttons).\n * - `footer-link`: This slot is for passing `mdc-link` component within the footer section.\n * - `footer-button-primary`: This slot is for passing primary variant of `mdc-button` component within the footer section.\n * - `footer-button-secondary`: This slot is for passing secondary variant of `mdc-button` component\n * within the footer section.\n *\n * Interactive card additionally supports 'promotional' variant that represents the border styling - 'promotional'.\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n * @slot footer-link - This slot is for passing `mdc-link` component within the footer section.\n * @slot footer-button-primary - This slot is for passing primary variant of\n * `mdc-button` component within the footer section.\n * @slot footer-button-secondary - This slot is for passing secondary variant of `mdc-button` component\n * within the footer section.\n * @slot footer - This slot is for passing custom footer content. Only use this if really needed,\n * using the footer-link and footer-button slots is preferred.\n *\n * @csspart header - The header part of the card\n * @csspart icon - The icon part of the card header\n * @csspart body - The body part of the card\n * @csspart image - The image part of the card\n * @csspart footer - The footer part of the card\n * @csspart footer-link - The link part of the card footer\n * @csspart footer-button-primary - The primary button part of the card footer\n * @csspart footer-button-secondary - The secondary button part of the card footer\n * @csspart icon-button - The icon button part of the card header\n * @csspart text - The text part of the card\n *\n * @tagname mdc-card\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @cssproperty --mdc-card-width - The width of the card\n *\n */",
|
5173
5210
|
"customElement": true,
|
5174
|
-
"
|
5211
|
+
"attributes": [
|
5175
5212
|
{
|
5176
|
-
"
|
5177
|
-
"
|
5213
|
+
"name": "card-title",
|
5214
|
+
"type": {
|
5215
|
+
"text": "string"
|
5216
|
+
},
|
5217
|
+
"default": "''",
|
5218
|
+
"description": "The title of the card - part of header section",
|
5219
|
+
"fieldName": "cardTitle",
|
5178
5220
|
"inheritedFrom": {
|
5179
|
-
"name": "
|
5180
|
-
"module": "src/
|
5221
|
+
"name": "CardComponentMixin",
|
5222
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
5181
5223
|
}
|
5182
5224
|
},
|
5183
5225
|
{
|
5184
|
-
"
|
5185
|
-
"
|
5226
|
+
"name": "subtitle",
|
5227
|
+
"type": {
|
5228
|
+
"text": "string"
|
5229
|
+
},
|
5230
|
+
"default": "''",
|
5231
|
+
"description": "The subtitle of the card - part of header section",
|
5232
|
+
"fieldName": "subtitle",
|
5186
5233
|
"inheritedFrom": {
|
5187
|
-
"name": "
|
5188
|
-
"module": "src/
|
5234
|
+
"name": "CardComponentMixin",
|
5235
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
5189
5236
|
}
|
5190
5237
|
},
|
5191
5238
|
{
|
5192
|
-
"
|
5193
|
-
"
|
5239
|
+
"name": "image-src",
|
5240
|
+
"type": {
|
5241
|
+
"text": "string"
|
5242
|
+
},
|
5243
|
+
"default": "''",
|
5244
|
+
"description": "The image source URL to render on the card",
|
5245
|
+
"fieldName": "imageSrc",
|
5194
5246
|
"inheritedFrom": {
|
5195
|
-
"name": "
|
5196
|
-
"module": "src/
|
5247
|
+
"name": "CardComponentMixin",
|
5248
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
5197
5249
|
}
|
5198
5250
|
},
|
5199
5251
|
{
|
5200
|
-
"
|
5201
|
-
"
|
5252
|
+
"name": "image-alt",
|
5253
|
+
"type": {
|
5254
|
+
"text": "string"
|
5255
|
+
},
|
5256
|
+
"default": "''",
|
5257
|
+
"description": "The image alt for accessibility support",
|
5258
|
+
"fieldName": "imageAlt",
|
5202
5259
|
"inheritedFrom": {
|
5203
|
-
"name": "
|
5204
|
-
"module": "src/
|
5260
|
+
"name": "CardComponentMixin",
|
5261
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
5205
5262
|
}
|
5206
5263
|
},
|
5207
5264
|
{
|
5208
|
-
"
|
5209
|
-
"
|
5265
|
+
"name": "variant",
|
5266
|
+
"type": {
|
5267
|
+
"text": "CardVariant"
|
5268
|
+
},
|
5269
|
+
"description": "The variant of the card. It can either be set to 'border' or 'ghost'",
|
5270
|
+
"default": "'border'",
|
5271
|
+
"fieldName": "variant",
|
5210
5272
|
"inheritedFrom": {
|
5211
|
-
"name": "
|
5212
|
-
"module": "src/
|
5273
|
+
"name": "CardComponentMixin",
|
5274
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
5213
5275
|
}
|
5214
5276
|
},
|
5215
5277
|
{
|
5216
|
-
"
|
5217
|
-
"
|
5278
|
+
"name": "orientation",
|
5279
|
+
"type": {
|
5280
|
+
"text": "CardOrientation"
|
5281
|
+
},
|
5282
|
+
"description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
|
5283
|
+
"default": "'vertical'",
|
5284
|
+
"fieldName": "orientation",
|
5218
5285
|
"inheritedFrom": {
|
5219
|
-
"name": "
|
5220
|
-
"module": "src/
|
5286
|
+
"name": "CardComponentMixin",
|
5287
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
5221
5288
|
}
|
5222
5289
|
},
|
5223
5290
|
{
|
5224
|
-
"
|
5225
|
-
"
|
5291
|
+
"name": "title-tag-name",
|
5292
|
+
"type": {
|
5293
|
+
"text": "TagNameType"
|
5294
|
+
},
|
5295
|
+
"description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
|
5296
|
+
"default": "'span'",
|
5297
|
+
"fieldName": "titleTagName",
|
5226
5298
|
"inheritedFrom": {
|
5227
|
-
"name": "
|
5228
|
-
"module": "src/
|
5299
|
+
"name": "CardComponentMixin",
|
5300
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
5229
5301
|
}
|
5230
5302
|
},
|
5231
5303
|
{
|
5232
|
-
"
|
5233
|
-
"
|
5304
|
+
"name": "subtitle-tag-name",
|
5305
|
+
"type": {
|
5306
|
+
"text": "TagNameType"
|
5307
|
+
},
|
5308
|
+
"description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
|
5309
|
+
"default": "'span'",
|
5310
|
+
"fieldName": "subtitleTagName",
|
5234
5311
|
"inheritedFrom": {
|
5235
|
-
"name": "
|
5236
|
-
"module": "src/
|
5312
|
+
"name": "CardComponentMixin",
|
5313
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
5237
5314
|
}
|
5238
5315
|
},
|
5239
5316
|
{
|
5240
|
-
"
|
5241
|
-
"
|
5317
|
+
"name": "icon-name",
|
5318
|
+
"type": {
|
5319
|
+
"text": "IconNames | undefined"
|
5320
|
+
},
|
5321
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
5322
|
+
"fieldName": "iconName",
|
5242
5323
|
"inheritedFrom": {
|
5243
|
-
"name": "
|
5244
|
-
"module": "src/
|
5324
|
+
"name": "CardComponentMixin",
|
5325
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
5245
5326
|
}
|
5246
5327
|
}
|
5247
5328
|
]
|
@@ -5252,30 +5333,52 @@
|
|
5252
5333
|
"kind": "js",
|
5253
5334
|
"name": "default",
|
5254
5335
|
"declaration": {
|
5255
|
-
"name": "
|
5256
|
-
"module": "components/
|
5336
|
+
"name": "Card",
|
5337
|
+
"module": "components/card/card.component.js"
|
5257
5338
|
}
|
5258
5339
|
}
|
5259
5340
|
]
|
5260
5341
|
},
|
5261
5342
|
{
|
5262
5343
|
"kind": "javascript-module",
|
5263
|
-
"path": "components/
|
5344
|
+
"path": "components/buttonlink/buttonlink.component.js",
|
5264
5345
|
"declarations": [
|
5265
5346
|
{
|
5266
5347
|
"kind": "class",
|
5267
|
-
"description": "`mdc-
|
5268
|
-
"name": "
|
5348
|
+
"description": "`mdc-buttonlink` combines the functional behavior of `mdc-linksimple` with the visual and structural\nfeatures of `mdc-button`. This includes support for variants, sizing, and optional\nprefix and postfix icons via slots.\n\n### Features:\n- Behaves like an link while visually resembling a button.\n- Supports slots for `prefix-icon` and `postfix-icon`.\n- Customizable size, color, and variant through attributes.\n- Inherits accessibility and keyboard interaction support from `mdc-linksimple`.",
|
5349
|
+
"name": "ButtonLink",
|
5350
|
+
"cssParts": [
|
5351
|
+
{
|
5352
|
+
"description": "The anchor element that wraps the buttonlink content.",
|
5353
|
+
"name": "anchor",
|
5354
|
+
"inheritedFrom": {
|
5355
|
+
"name": "Linksimple",
|
5356
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
5357
|
+
}
|
5358
|
+
},
|
5359
|
+
{
|
5360
|
+
"description": "The prefix icon element.",
|
5361
|
+
"name": "prefix-icon"
|
5362
|
+
},
|
5363
|
+
{
|
5364
|
+
"description": "The slot containing the buttonlink text.",
|
5365
|
+
"name": "button-text"
|
5366
|
+
},
|
5367
|
+
{
|
5368
|
+
"description": "The postfix icon element.",
|
5369
|
+
"name": "postfix-icon"
|
5370
|
+
}
|
5371
|
+
],
|
5269
5372
|
"members": [
|
5270
5373
|
{
|
5271
5374
|
"kind": "field",
|
5272
|
-
"name": "
|
5375
|
+
"name": "size",
|
5273
5376
|
"type": {
|
5274
|
-
"text": "
|
5377
|
+
"text": "PillButtonSize | IconButtonSize"
|
5275
5378
|
},
|
5276
|
-
"description": "
|
5277
|
-
"default": "
|
5278
|
-
"attribute": "
|
5379
|
+
"description": "ButtonLink sizing is based on the buttonlink type.\n- **Pill buttonlink**: 40, 32, 28, 24.\n- **Icon buttonlink**: 64, 52, 40, 32, 28, 24.\n- Tertiary icon buttonlink can also be 20.",
|
5380
|
+
"default": "32",
|
5381
|
+
"attribute": "size",
|
5279
5382
|
"reflects": true
|
5280
5383
|
},
|
5281
5384
|
{
|
@@ -5284,217 +5387,181 @@
|
|
5284
5387
|
"type": {
|
5285
5388
|
"text": "boolean | undefined"
|
5286
5389
|
},
|
5287
|
-
"description": "Indicates whether the
|
5390
|
+
"description": "Indicates whether the buttonlink is soft disabled.\nWhen set to `true`, the buttonlink 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 buttonlink behaves like a disabled buttonlink, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
|
5288
5391
|
"default": "undefined",
|
5289
5392
|
"attribute": "soft-disabled",
|
5290
5393
|
"reflects": true
|
5291
5394
|
},
|
5292
5395
|
{
|
5293
|
-
"kind": "
|
5294
|
-
"name": "
|
5295
|
-
"
|
5296
|
-
|
5297
|
-
|
5298
|
-
|
5299
|
-
|
5300
|
-
|
5301
|
-
|
5396
|
+
"kind": "method",
|
5397
|
+
"name": "setSoftDisabled",
|
5398
|
+
"privacy": "private",
|
5399
|
+
"parameters": [
|
5400
|
+
{
|
5401
|
+
"name": "element",
|
5402
|
+
"type": {
|
5403
|
+
"text": "HTMLElement"
|
5404
|
+
},
|
5405
|
+
"description": "The buttonlink element."
|
5406
|
+
},
|
5407
|
+
{
|
5408
|
+
"name": "softDisabled",
|
5409
|
+
"optional": true,
|
5410
|
+
"type": {
|
5411
|
+
"text": "boolean"
|
5412
|
+
},
|
5413
|
+
"description": "The soft-disabled state."
|
5414
|
+
}
|
5415
|
+
],
|
5416
|
+
"description": "Sets the soft-disabled attribute for the buttonlink.\nWhen soft-disabled, the buttonlink looks to be disabled but remains focusable and clickable.\nAlso sets/removes aria-disabled attribute."
|
5302
5417
|
},
|
5303
5418
|
{
|
5304
|
-
"kind": "
|
5305
|
-
"name": "
|
5306
|
-
"
|
5307
|
-
"text": "RoleType"
|
5308
|
-
},
|
5309
|
-
"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.",
|
5310
|
-
"default": "button",
|
5311
|
-
"attribute": "role",
|
5312
|
-
"reflects": true
|
5419
|
+
"kind": "method",
|
5420
|
+
"name": "renderAnchorContent",
|
5421
|
+
"privacy": "protected"
|
5313
5422
|
},
|
5314
5423
|
{
|
5315
5424
|
"kind": "field",
|
5316
|
-
"name": "
|
5425
|
+
"name": "prefixIcon",
|
5317
5426
|
"type": {
|
5318
|
-
"text": "
|
5427
|
+
"text": "IconNames | undefined"
|
5319
5428
|
},
|
5320
|
-
"description": "
|
5321
|
-
"
|
5322
|
-
"
|
5323
|
-
"
|
5429
|
+
"description": "The name of the icon to display as a prefix.\nThe icon is displayed on the left side of the button.",
|
5430
|
+
"attribute": "prefix-icon",
|
5431
|
+
"reflects": true,
|
5432
|
+
"inheritedFrom": {
|
5433
|
+
"name": "ButtonComponentMixin",
|
5434
|
+
"module": "utils/mixins/ButtonComponentMixin.js"
|
5435
|
+
}
|
5324
5436
|
},
|
5325
5437
|
{
|
5326
5438
|
"kind": "field",
|
5327
|
-
"name": "
|
5439
|
+
"name": "postfixIcon",
|
5328
5440
|
"type": {
|
5329
|
-
"text": "
|
5441
|
+
"text": "IconNames | undefined"
|
5330
5442
|
},
|
5331
|
-
"description": "
|
5332
|
-
"
|
5333
|
-
"
|
5334
|
-
"
|
5443
|
+
"description": "The name of the icon to display as a postfix.\nThe icon is displayed on the right side of the button.",
|
5444
|
+
"attribute": "postfix-icon",
|
5445
|
+
"reflects": true,
|
5446
|
+
"inheritedFrom": {
|
5447
|
+
"name": "ButtonComponentMixin",
|
5448
|
+
"module": "utils/mixins/ButtonComponentMixin.js"
|
5449
|
+
}
|
5335
5450
|
},
|
5336
5451
|
{
|
5337
5452
|
"kind": "field",
|
5338
|
-
"name": "
|
5453
|
+
"name": "variant",
|
5339
5454
|
"type": {
|
5340
|
-
"text": "
|
5455
|
+
"text": "ButtonVariant"
|
5341
5456
|
},
|
5342
|
-
"description": "
|
5343
|
-
"
|
5344
|
-
"
|
5457
|
+
"description": "There are 3 variants of button: primary, secondary, tertiary. They are styled differently.\n- **Primary**: Solid background color.\n- **Secondary**: Transparent background with a solid border.\n- **Tertiary**: No background or border, appears as plain text but retains all button functionalities.",
|
5458
|
+
"default": "primary",
|
5459
|
+
"attribute": "variant",
|
5460
|
+
"inheritedFrom": {
|
5461
|
+
"name": "ButtonComponentMixin",
|
5462
|
+
"module": "utils/mixins/ButtonComponentMixin.js"
|
5463
|
+
}
|
5345
5464
|
},
|
5346
5465
|
{
|
5347
5466
|
"kind": "field",
|
5348
|
-
"name": "
|
5467
|
+
"name": "color",
|
5349
5468
|
"type": {
|
5350
|
-
"text": "
|
5469
|
+
"text": "ButtonColor"
|
5351
5470
|
},
|
5352
|
-
"description": "
|
5353
|
-
"
|
5354
|
-
"
|
5355
|
-
|
5356
|
-
|
5357
|
-
|
5358
|
-
|
5359
|
-
"privacy": "protected"
|
5471
|
+
"description": "There are 5 colors for button: positive, negative, accent, promotional, default.",
|
5472
|
+
"default": "default",
|
5473
|
+
"attribute": "color",
|
5474
|
+
"inheritedFrom": {
|
5475
|
+
"name": "ButtonComponentMixin",
|
5476
|
+
"module": "utils/mixins/ButtonComponentMixin.js"
|
5477
|
+
}
|
5360
5478
|
},
|
5361
5479
|
{
|
5362
5480
|
"kind": "method",
|
5363
|
-
"name": "
|
5481
|
+
"name": "setVariant",
|
5364
5482
|
"privacy": "protected",
|
5365
5483
|
"parameters": [
|
5366
5484
|
{
|
5367
|
-
"name": "
|
5368
|
-
"type": {
|
5369
|
-
"text": "HTMLElement"
|
5370
|
-
},
|
5371
|
-
"description": "The button element"
|
5372
|
-
},
|
5373
|
-
{
|
5374
|
-
"name": "active",
|
5375
|
-
"optional": true,
|
5376
|
-
"type": {
|
5377
|
-
"text": "boolean"
|
5378
|
-
},
|
5379
|
-
"description": "The active state of the element"
|
5380
|
-
}
|
5381
|
-
],
|
5382
|
-
"description": "Sets the ariaStateKey attributes based on the active state of the button."
|
5383
|
-
},
|
5384
|
-
{
|
5385
|
-
"kind": "method",
|
5386
|
-
"name": "setSoftDisabled",
|
5387
|
-
"privacy": "private",
|
5388
|
-
"parameters": [
|
5389
|
-
{
|
5390
|
-
"name": "element",
|
5391
|
-
"type": {
|
5392
|
-
"text": "HTMLElement"
|
5393
|
-
},
|
5394
|
-
"description": "The button element."
|
5395
|
-
},
|
5396
|
-
{
|
5397
|
-
"name": "softDisabled",
|
5398
|
-
"optional": true,
|
5485
|
+
"name": "variant",
|
5399
5486
|
"type": {
|
5400
|
-
"text": "
|
5487
|
+
"text": "ButtonVariant"
|
5401
5488
|
},
|
5402
|
-
"description": "The
|
5489
|
+
"description": "The variant to set."
|
5403
5490
|
}
|
5404
5491
|
],
|
5405
|
-
"description": "Sets the
|
5492
|
+
"description": "Sets the variant attribute for the button component.\nIf the provided variant is not included in the BUTTON_VARIANTS,\nit defaults to the value specified in DEFAULTS.VARIANT.",
|
5493
|
+
"inheritedFrom": {
|
5494
|
+
"name": "ButtonComponentMixin",
|
5495
|
+
"module": "utils/mixins/ButtonComponentMixin.js"
|
5496
|
+
}
|
5406
5497
|
},
|
5407
5498
|
{
|
5408
5499
|
"kind": "method",
|
5409
|
-
"name": "
|
5410
|
-
"privacy": "
|
5500
|
+
"name": "setColor",
|
5501
|
+
"privacy": "protected",
|
5411
5502
|
"parameters": [
|
5412
5503
|
{
|
5413
|
-
"name": "
|
5414
|
-
"type": {
|
5415
|
-
"text": "HTMLElement"
|
5416
|
-
},
|
5417
|
-
"description": "The button element."
|
5418
|
-
},
|
5419
|
-
{
|
5420
|
-
"name": "disabled",
|
5504
|
+
"name": "color",
|
5421
5505
|
"type": {
|
5422
|
-
"text": "
|
5506
|
+
"text": "ButtonColor"
|
5423
5507
|
},
|
5424
|
-
"description": "The
|
5508
|
+
"description": "The color to set."
|
5425
5509
|
}
|
5426
5510
|
],
|
5427
|
-
"description": "Sets the
|
5428
|
-
|
5429
|
-
|
5430
|
-
|
5431
|
-
|
5432
|
-
"privacy": "private"
|
5433
|
-
},
|
5434
|
-
{
|
5435
|
-
"kind": "method",
|
5436
|
-
"name": "handleBlur",
|
5437
|
-
"privacy": "private",
|
5438
|
-
"description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed."
|
5511
|
+
"description": "Sets the color attribute for the button.\nDefaults to DEFAULTS.COLOR if invalid or for tertiary button.",
|
5512
|
+
"inheritedFrom": {
|
5513
|
+
"name": "ButtonComponentMixin",
|
5514
|
+
"module": "utils/mixins/ButtonComponentMixin.js"
|
5515
|
+
}
|
5439
5516
|
},
|
5440
5517
|
{
|
5441
5518
|
"kind": "method",
|
5442
|
-
"name": "
|
5443
|
-
"privacy": "
|
5519
|
+
"name": "setSize",
|
5520
|
+
"privacy": "protected",
|
5444
5521
|
"parameters": [
|
5445
5522
|
{
|
5446
|
-
"name": "
|
5523
|
+
"name": "size",
|
5447
5524
|
"type": {
|
5448
|
-
"text": "
|
5525
|
+
"text": "PillButtonSize | IconButtonSize"
|
5449
5526
|
},
|
5450
|
-
"description": "The
|
5527
|
+
"description": "The size to set."
|
5451
5528
|
}
|
5452
5529
|
],
|
5453
|
-
"description": "
|
5530
|
+
"description": "Sets the size attribute for the button component.\nValidates the size based on the button type (icon, pill, or tertiary).\nDefaults to DEFAULTS.SIZE if invalid.",
|
5531
|
+
"inheritedFrom": {
|
5532
|
+
"name": "ButtonComponentMixin",
|
5533
|
+
"module": "utils/mixins/ButtonComponentMixin.js"
|
5534
|
+
}
|
5454
5535
|
},
|
5455
5536
|
{
|
5456
5537
|
"kind": "method",
|
5457
|
-
"name": "
|
5458
|
-
"privacy": "
|
5538
|
+
"name": "inferButtonType",
|
5539
|
+
"privacy": "protected",
|
5540
|
+
"description": "Infers the type of button based on the presence of slot and/or prefix and postfix icons.",
|
5459
5541
|
"parameters": [
|
5460
5542
|
{
|
5461
|
-
"
|
5462
|
-
"
|
5463
|
-
"text": "KeyboardEvent"
|
5464
|
-
},
|
5465
|
-
"description": "The keyboard event."
|
5543
|
+
"description": "default slot of button",
|
5544
|
+
"name": "slot"
|
5466
5545
|
}
|
5467
5546
|
],
|
5468
|
-
"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."
|
5469
|
-
},
|
5470
|
-
{
|
5471
|
-
"kind": "field",
|
5472
|
-
"name": "autoFocusOnMount",
|
5473
|
-
"type": {
|
5474
|
-
"text": "boolean"
|
5475
|
-
},
|
5476
|
-
"default": "false",
|
5477
|
-
"description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
|
5478
|
-
"attribute": "auto-focus-on-mount",
|
5479
|
-
"reflects": true,
|
5480
5547
|
"inheritedFrom": {
|
5481
|
-
"name": "
|
5482
|
-
"module": "utils/mixins/
|
5548
|
+
"name": "ButtonComponentMixin",
|
5549
|
+
"module": "utils/mixins/ButtonComponentMixin.js"
|
5483
5550
|
}
|
5484
5551
|
},
|
5485
5552
|
{
|
5486
5553
|
"kind": "field",
|
5487
|
-
"name": "
|
5554
|
+
"name": "dataAriaLabel",
|
5488
5555
|
"type": {
|
5489
|
-
"text": "
|
5490
|
-
},
|
5491
|
-
"default": "
|
5492
|
-
"description": "
|
5493
|
-
"attribute": "
|
5556
|
+
"text": "string | null"
|
5557
|
+
},
|
5558
|
+
"default": "null",
|
5559
|
+
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
5560
|
+
"attribute": "data-aria-label",
|
5494
5561
|
"reflects": true,
|
5495
5562
|
"inheritedFrom": {
|
5496
|
-
"name": "
|
5497
|
-
"module": "utils/mixins/
|
5563
|
+
"name": "DataAriaLabelMixin",
|
5564
|
+
"module": "utils/mixins/DataAriaLabelMixin.js"
|
5498
5565
|
}
|
5499
5566
|
},
|
5500
5567
|
{
|
@@ -5511,600 +5578,533 @@
|
|
5511
5578
|
"name": "DisabledMixin",
|
5512
5579
|
"module": "utils/mixins/DisabledMixin.js"
|
5513
5580
|
}
|
5514
|
-
}
|
5515
|
-
],
|
5516
|
-
"events": [
|
5517
|
-
{
|
5518
|
-
"description": "(React: onClick) This event is dispatched when the button is clicked.",
|
5519
|
-
"name": "click",
|
5520
|
-
"reactName": "onClick"
|
5521
|
-
},
|
5522
|
-
{
|
5523
|
-
"description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the button.",
|
5524
|
-
"name": "keydown",
|
5525
|
-
"reactName": "onKeyDown"
|
5526
|
-
},
|
5527
|
-
{
|
5528
|
-
"description": "(React: onKeyUp) This event is dispatched when a key is released on the button.",
|
5529
|
-
"name": "keyup",
|
5530
|
-
"reactName": "onKeyUp"
|
5531
|
-
},
|
5532
|
-
{
|
5533
|
-
"description": "(React: onFocus) This event is dispatched when the button receives focus.",
|
5534
|
-
"name": "focus",
|
5535
|
-
"reactName": "onFocus"
|
5536
|
-
}
|
5537
|
-
],
|
5538
|
-
"attributes": [
|
5539
|
-
{
|
5540
|
-
"name": "active",
|
5541
|
-
"type": {
|
5542
|
-
"text": "boolean | undefined"
|
5543
|
-
},
|
5544
|
-
"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.",
|
5545
|
-
"default": "undefined",
|
5546
|
-
"fieldName": "active"
|
5547
|
-
},
|
5548
|
-
{
|
5549
|
-
"name": "soft-disabled",
|
5550
|
-
"type": {
|
5551
|
-
"text": "boolean | undefined"
|
5552
|
-
},
|
5553
|
-
"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.",
|
5554
|
-
"default": "undefined",
|
5555
|
-
"fieldName": "softDisabled"
|
5556
5581
|
},
|
5557
5582
|
{
|
5558
|
-
"
|
5583
|
+
"kind": "field",
|
5584
|
+
"name": "inline",
|
5559
5585
|
"type": {
|
5560
|
-
"text": "
|
5586
|
+
"text": "boolean"
|
5561
5587
|
},
|
5562
|
-
"description": "
|
5563
|
-
"default": "
|
5564
|
-
"
|
5588
|
+
"description": "The link can be inline or standalone.",
|
5589
|
+
"default": "false",
|
5590
|
+
"attribute": "inline",
|
5591
|
+
"reflects": true,
|
5592
|
+
"inheritedFrom": {
|
5593
|
+
"name": "Linksimple",
|
5594
|
+
"module": "components/linksimple/linksimple.component.js"
|
5595
|
+
}
|
5565
5596
|
},
|
5566
5597
|
{
|
5567
|
-
"
|
5598
|
+
"kind": "field",
|
5599
|
+
"name": "inverted",
|
5568
5600
|
"type": {
|
5569
|
-
"text": "
|
5601
|
+
"text": "boolean"
|
5570
5602
|
},
|
5571
|
-
"description": "
|
5572
|
-
"default": "
|
5573
|
-
"
|
5603
|
+
"description": "The link color can be inverted by setting the inverted attribute to true.",
|
5604
|
+
"default": "false",
|
5605
|
+
"attribute": "inverted",
|
5606
|
+
"reflects": true,
|
5607
|
+
"inheritedFrom": {
|
5608
|
+
"name": "Linksimple",
|
5609
|
+
"module": "components/linksimple/linksimple.component.js"
|
5610
|
+
}
|
5574
5611
|
},
|
5575
5612
|
{
|
5576
|
-
"
|
5613
|
+
"kind": "field",
|
5614
|
+
"name": "href",
|
5577
5615
|
"type": {
|
5578
5616
|
"text": "string | undefined"
|
5579
5617
|
},
|
5580
|
-
"description": "
|
5581
|
-
"
|
5582
|
-
"
|
5618
|
+
"description": "Href for navigation. The URL that the hyperlink points to",
|
5619
|
+
"attribute": "href",
|
5620
|
+
"reflects": true,
|
5621
|
+
"inheritedFrom": {
|
5622
|
+
"name": "Linksimple",
|
5623
|
+
"module": "components/linksimple/linksimple.component.js"
|
5624
|
+
}
|
5583
5625
|
},
|
5584
5626
|
{
|
5585
|
-
"
|
5627
|
+
"kind": "field",
|
5628
|
+
"name": "target",
|
5586
5629
|
"type": {
|
5587
|
-
"text": "
|
5630
|
+
"text": "string"
|
5588
5631
|
},
|
5589
|
-
"
|
5590
|
-
"
|
5591
|
-
"
|
5632
|
+
"default": "'_self'",
|
5633
|
+
"description": "Optional target: _blank, _self, _parent, _top and _unfencedTop",
|
5634
|
+
"attribute": "target",
|
5635
|
+
"reflects": true,
|
5636
|
+
"inheritedFrom": {
|
5637
|
+
"name": "Linksimple",
|
5638
|
+
"module": "components/linksimple/linksimple.component.js"
|
5639
|
+
}
|
5592
5640
|
},
|
5593
5641
|
{
|
5594
|
-
"
|
5642
|
+
"kind": "field",
|
5643
|
+
"name": "rel",
|
5595
5644
|
"type": {
|
5596
5645
|
"text": "string | undefined"
|
5597
5646
|
},
|
5598
|
-
"description": "
|
5599
|
-
"
|
5647
|
+
"description": "Optional rel attribute that defines the relationship of the linked URL as space-separated link types.",
|
5648
|
+
"attribute": "rel",
|
5649
|
+
"reflects": true,
|
5650
|
+
"inheritedFrom": {
|
5651
|
+
"name": "Linksimple",
|
5652
|
+
"module": "components/linksimple/linksimple.component.js"
|
5653
|
+
}
|
5600
5654
|
},
|
5601
5655
|
{
|
5602
|
-
"
|
5656
|
+
"kind": "field",
|
5657
|
+
"name": "download",
|
5603
5658
|
"type": {
|
5604
5659
|
"text": "string | undefined"
|
5605
5660
|
},
|
5606
|
-
"description": "
|
5607
|
-
"
|
5608
|
-
|
5609
|
-
{
|
5610
|
-
"name": "auto-focus-on-mount",
|
5611
|
-
"type": {
|
5612
|
-
"text": "boolean"
|
5613
|
-
},
|
5614
|
-
"default": "false",
|
5615
|
-
"description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
|
5616
|
-
"fieldName": "autoFocusOnMount",
|
5661
|
+
"description": "Optional download attribute to instruct browsers to download the linked resource.",
|
5662
|
+
"attribute": "download",
|
5663
|
+
"reflects": true,
|
5617
5664
|
"inheritedFrom": {
|
5618
|
-
"name": "
|
5619
|
-
"module": "
|
5665
|
+
"name": "Linksimple",
|
5666
|
+
"module": "components/linksimple/linksimple.component.js"
|
5620
5667
|
}
|
5621
5668
|
},
|
5622
5669
|
{
|
5623
|
-
"
|
5670
|
+
"kind": "field",
|
5671
|
+
"name": "ping",
|
5624
5672
|
"type": {
|
5625
|
-
"text": "
|
5673
|
+
"text": "string | undefined"
|
5626
5674
|
},
|
5627
|
-
"
|
5628
|
-
"
|
5629
|
-
"
|
5675
|
+
"description": "Optional ping attribute that defines a space-separated list of URLs to be notified if the link is followed.",
|
5676
|
+
"attribute": "ping",
|
5677
|
+
"reflects": true,
|
5630
5678
|
"inheritedFrom": {
|
5631
|
-
"name": "
|
5632
|
-
"module": "
|
5679
|
+
"name": "Linksimple",
|
5680
|
+
"module": "components/linksimple/linksimple.component.js"
|
5633
5681
|
}
|
5634
5682
|
},
|
5635
5683
|
{
|
5636
|
-
"
|
5684
|
+
"kind": "field",
|
5685
|
+
"name": "hreflang",
|
5637
5686
|
"type": {
|
5638
|
-
"text": "
|
5687
|
+
"text": "string | undefined"
|
5639
5688
|
},
|
5640
|
-
"description": "
|
5641
|
-
"
|
5642
|
-
"
|
5689
|
+
"description": "Optional hreflang attribute specifying the language of the linked resource.",
|
5690
|
+
"attribute": "hreflang",
|
5691
|
+
"reflects": true,
|
5643
5692
|
"inheritedFrom": {
|
5644
|
-
"name": "
|
5645
|
-
"module": "
|
5693
|
+
"name": "Linksimple",
|
5694
|
+
"module": "components/linksimple/linksimple.component.js"
|
5646
5695
|
}
|
5647
|
-
}
|
5648
|
-
],
|
5649
|
-
"mixins": [
|
5650
|
-
{
|
5651
|
-
"name": "AutoFocusOnMountMixin",
|
5652
|
-
"module": "/src/utils/mixins/AutoFocusOnMountMixin"
|
5653
|
-
},
|
5654
|
-
{
|
5655
|
-
"name": "TabIndexMixin",
|
5656
|
-
"module": "/src/utils/mixins/TabIndexMixin"
|
5657
|
-
},
|
5658
|
-
{
|
5659
|
-
"name": "DisabledMixin",
|
5660
|
-
"module": "/src/utils/mixins/DisabledMixin"
|
5661
|
-
}
|
5662
|
-
],
|
5663
|
-
"superclass": {
|
5664
|
-
"name": "Component",
|
5665
|
-
"module": "/src/models"
|
5666
|
-
},
|
5667
|
-
"tagName": "mdc-buttonsimple",
|
5668
|
-
"jsDoc": "/**\n * `mdc-buttonsimple` is a component that can be configured in various ways to suit different use cases.\n * It is used as an internal component and is not intended to be used directly by consumers.\n * Consumers should use the `mdc-button` component instead.\n *\n * @event click - (React: onClick) This event is dispatched when the button is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the button.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the button.\n * @event focus - (React: onFocus) This event is dispatched when the button receives focus.\n *\n * @tagname mdc-buttonsimple\n */",
|
5669
|
-
"customElement": true
|
5670
|
-
}
|
5671
|
-
],
|
5672
|
-
"exports": [
|
5673
|
-
{
|
5674
|
-
"kind": "js",
|
5675
|
-
"name": "default",
|
5676
|
-
"declaration": {
|
5677
|
-
"name": "Buttonsimple",
|
5678
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
5679
|
-
}
|
5680
|
-
}
|
5681
|
-
]
|
5682
|
-
},
|
5683
|
-
{
|
5684
|
-
"kind": "javascript-module",
|
5685
|
-
"path": "components/card/card.component.js",
|
5686
|
-
"declarations": [
|
5687
|
-
{
|
5688
|
-
"kind": "class",
|
5689
|
-
"description": "The card component allows users to organize information in a structured and tangible\nformat that is visually appealing. `mdc-card` is a static component that supports\nthe following features:\n- Image\n- Header\n - Icon\n - Title\n - Subtitle\n- Body\n\nThe card can either be vertically or horizontally oriented. The vertical card has a min-width of 20rem and the horizontal card has a min-width of 40rem.\n\nThere are 2 variants for the card that represent the border styling - 'border' and 'ghost'.\n\nTo make this card interactive, use the following slots:\n- `icon-button`: This slot supports action icon buttons in the header section (maximum of 3 buttons).\n- `footer-link`: This slot is for passing `mdc-link` component within the footer section.\n- `footer-button-primary`: This slot is for passing primary variant of `mdc-button` component within the footer section.\n- `footer-button-secondary`: This slot is for passing secondary variant of `mdc-button` component\nwithin the footer section.\n\nInteractive card additionally supports 'promotional' variant that represents the border styling - 'promotional'.",
|
5690
|
-
"name": "Card",
|
5691
|
-
"cssProperties": [
|
5692
|
-
{
|
5693
|
-
"description": "The width of the card",
|
5694
|
-
"name": "--mdc-card-width"
|
5695
|
-
}
|
5696
|
-
],
|
5697
|
-
"cssParts": [
|
5698
|
-
{
|
5699
|
-
"description": "The header part of the card",
|
5700
|
-
"name": "header"
|
5701
|
-
},
|
5702
|
-
{
|
5703
|
-
"description": "The icon part of the card header",
|
5704
|
-
"name": "icon"
|
5705
|
-
},
|
5706
|
-
{
|
5707
|
-
"description": "The body part of the card",
|
5708
|
-
"name": "body"
|
5709
|
-
},
|
5710
|
-
{
|
5711
|
-
"description": "The image part of the card",
|
5712
|
-
"name": "image"
|
5713
|
-
},
|
5714
|
-
{
|
5715
|
-
"description": "The footer part of the card",
|
5716
|
-
"name": "footer"
|
5717
|
-
},
|
5718
|
-
{
|
5719
|
-
"description": "The link part of the card footer",
|
5720
|
-
"name": "footer-link"
|
5721
5696
|
},
|
5722
5697
|
{
|
5723
|
-
"
|
5724
|
-
"name": "
|
5698
|
+
"kind": "field",
|
5699
|
+
"name": "type",
|
5700
|
+
"type": {
|
5701
|
+
"text": "string | undefined"
|
5702
|
+
},
|
5703
|
+
"description": "Optional type attribute indicating the MIME type of the linked resource.",
|
5704
|
+
"attribute": "type",
|
5705
|
+
"reflects": true,
|
5706
|
+
"inheritedFrom": {
|
5707
|
+
"name": "Linksimple",
|
5708
|
+
"module": "components/linksimple/linksimple.component.js"
|
5709
|
+
}
|
5725
5710
|
},
|
5726
5711
|
{
|
5727
|
-
"
|
5728
|
-
"name": "
|
5712
|
+
"kind": "field",
|
5713
|
+
"name": "referrerpolicy",
|
5714
|
+
"type": {
|
5715
|
+
"text": "string | undefined"
|
5716
|
+
},
|
5717
|
+
"description": "Optional referrerpolicy attribute specifying how much referrer information to send.",
|
5718
|
+
"attribute": "referrerpolicy",
|
5719
|
+
"reflects": true,
|
5720
|
+
"inheritedFrom": {
|
5721
|
+
"name": "Linksimple",
|
5722
|
+
"module": "components/linksimple/linksimple.component.js"
|
5723
|
+
}
|
5729
5724
|
},
|
5730
5725
|
{
|
5731
|
-
"
|
5732
|
-
"name": "
|
5726
|
+
"kind": "method",
|
5727
|
+
"name": "handleNavigation",
|
5728
|
+
"privacy": "protected",
|
5729
|
+
"return": {
|
5730
|
+
"type": {
|
5731
|
+
"text": "void"
|
5732
|
+
}
|
5733
|
+
},
|
5734
|
+
"parameters": [
|
5735
|
+
{
|
5736
|
+
"name": "e",
|
5737
|
+
"type": {
|
5738
|
+
"text": "MouseEvent | KeyboardEvent"
|
5739
|
+
}
|
5740
|
+
}
|
5741
|
+
],
|
5742
|
+
"inheritedFrom": {
|
5743
|
+
"name": "Linksimple",
|
5744
|
+
"module": "components/linksimple/linksimple.component.js"
|
5745
|
+
}
|
5733
5746
|
},
|
5734
5747
|
{
|
5735
|
-
"
|
5736
|
-
"name": "
|
5748
|
+
"kind": "method",
|
5749
|
+
"name": "setDisabled",
|
5750
|
+
"privacy": "private",
|
5751
|
+
"parameters": [
|
5752
|
+
{
|
5753
|
+
"name": "disabled",
|
5754
|
+
"type": {
|
5755
|
+
"text": "boolean"
|
5756
|
+
},
|
5757
|
+
"description": "Whether the element should be disabled"
|
5758
|
+
}
|
5759
|
+
],
|
5760
|
+
"description": "Sets or removes `aria-disabled` and updates `tabIndex` to reflect\nthe disabled state. When disabled, the element becomes unfocusable;\nwhen enabled, the previous `tabIndex` is restored.",
|
5761
|
+
"inheritedFrom": {
|
5762
|
+
"name": "Linksimple",
|
5763
|
+
"module": "components/linksimple/linksimple.component.js"
|
5764
|
+
}
|
5737
5765
|
}
|
5738
5766
|
],
|
5739
|
-
"
|
5767
|
+
"events": [
|
5740
5768
|
{
|
5741
|
-
"description": "
|
5742
|
-
"name": "
|
5769
|
+
"description": "(React: onClick) Fired when the user activates the buttonLink using a mouse or assistive technology.",
|
5770
|
+
"name": "click",
|
5771
|
+
"reactName": "onClick",
|
5772
|
+
"inheritedFrom": {
|
5773
|
+
"name": "Linksimple",
|
5774
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
5775
|
+
}
|
5743
5776
|
},
|
5744
5777
|
{
|
5745
|
-
"description": "
|
5746
|
-
"name": "
|
5778
|
+
"description": "(React: onKeyDown) Fired when the user presses a key while the buttonLink has focus.",
|
5779
|
+
"name": "keydown",
|
5780
|
+
"reactName": "onKeyDown",
|
5781
|
+
"inheritedFrom": {
|
5782
|
+
"name": "Linksimple",
|
5783
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
5784
|
+
}
|
5747
5785
|
},
|
5748
5786
|
{
|
5749
|
-
"description": "
|
5750
|
-
"name": "
|
5787
|
+
"description": "(React: onFocus) Fired when the buttonLink receives keyboard or mouse focus.",
|
5788
|
+
"name": "focus",
|
5789
|
+
"reactName": "onFocus",
|
5790
|
+
"inheritedFrom": {
|
5791
|
+
"name": "Linksimple",
|
5792
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
5793
|
+
}
|
5751
5794
|
},
|
5752
5795
|
{
|
5753
|
-
"description": "
|
5754
|
-
"name": "
|
5796
|
+
"description": "(React: onBlur) Fired when the buttonLink loses keyboard or mouse focus.",
|
5797
|
+
"name": "blur",
|
5798
|
+
"reactName": "onBlur",
|
5799
|
+
"inheritedFrom": {
|
5800
|
+
"name": "Linksimple",
|
5801
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
5802
|
+
}
|
5803
|
+
}
|
5804
|
+
],
|
5805
|
+
"attributes": [
|
5806
|
+
{
|
5807
|
+
"name": "size",
|
5808
|
+
"type": {
|
5809
|
+
"text": "PillButtonSize | IconButtonSize"
|
5810
|
+
},
|
5811
|
+
"description": "ButtonLink sizing is based on the buttonlink type.\n- **Pill buttonlink**: 40, 32, 28, 24.\n- **Icon buttonlink**: 64, 52, 40, 32, 28, 24.\n- Tertiary icon buttonlink can also be 20.",
|
5812
|
+
"default": "32",
|
5813
|
+
"fieldName": "size"
|
5755
5814
|
},
|
5756
5815
|
{
|
5757
|
-
"
|
5758
|
-
"
|
5816
|
+
"name": "soft-disabled",
|
5817
|
+
"type": {
|
5818
|
+
"text": "boolean | undefined"
|
5819
|
+
},
|
5820
|
+
"description": "Indicates whether the buttonlink is soft disabled.\nWhen set to `true`, the buttonlink 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 buttonlink behaves like a disabled buttonlink, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
|
5821
|
+
"default": "undefined",
|
5822
|
+
"fieldName": "softDisabled"
|
5759
5823
|
},
|
5760
5824
|
{
|
5761
|
-
"
|
5762
|
-
"
|
5825
|
+
"name": "prefix-icon",
|
5826
|
+
"type": {
|
5827
|
+
"text": "IconNames | undefined"
|
5828
|
+
},
|
5829
|
+
"description": "The name of the icon to display as a prefix.\nThe icon is displayed on the left side of the button.",
|
5830
|
+
"fieldName": "prefixIcon",
|
5831
|
+
"inheritedFrom": {
|
5832
|
+
"name": "ButtonComponentMixin",
|
5833
|
+
"module": "src/utils/mixins/ButtonComponentMixin.ts"
|
5834
|
+
}
|
5763
5835
|
},
|
5764
5836
|
{
|
5765
|
-
"
|
5766
|
-
"
|
5767
|
-
|
5768
|
-
|
5769
|
-
|
5837
|
+
"name": "postfix-icon",
|
5838
|
+
"type": {
|
5839
|
+
"text": "IconNames | undefined"
|
5840
|
+
},
|
5841
|
+
"description": "The name of the icon to display as a postfix.\nThe icon is displayed on the right side of the button.",
|
5842
|
+
"fieldName": "postfixIcon",
|
5843
|
+
"inheritedFrom": {
|
5844
|
+
"name": "ButtonComponentMixin",
|
5845
|
+
"module": "src/utils/mixins/ButtonComponentMixin.ts"
|
5846
|
+
}
|
5847
|
+
},
|
5770
5848
|
{
|
5771
|
-
"
|
5772
|
-
"
|
5773
|
-
|
5774
|
-
|
5775
|
-
"
|
5776
|
-
|
5777
|
-
|
5778
|
-
|
5849
|
+
"name": "variant",
|
5850
|
+
"type": {
|
5851
|
+
"text": "ButtonVariant"
|
5852
|
+
},
|
5853
|
+
"description": "There are 3 variants of button: primary, secondary, tertiary. They are styled differently.\n- **Primary**: Solid background color.\n- **Secondary**: Transparent background with a solid border.\n- **Tertiary**: No background or border, appears as plain text but retains all button functionalities.",
|
5854
|
+
"default": "primary",
|
5855
|
+
"fieldName": "variant",
|
5856
|
+
"inheritedFrom": {
|
5857
|
+
"name": "ButtonComponentMixin",
|
5858
|
+
"module": "src/utils/mixins/ButtonComponentMixin.ts"
|
5779
5859
|
}
|
5780
5860
|
},
|
5781
5861
|
{
|
5782
|
-
"
|
5783
|
-
"name": "cardTitle",
|
5862
|
+
"name": "color",
|
5784
5863
|
"type": {
|
5785
|
-
"text": "
|
5864
|
+
"text": "ButtonColor"
|
5786
5865
|
},
|
5787
|
-
"
|
5788
|
-
"
|
5789
|
-
"
|
5790
|
-
"reflects": true,
|
5866
|
+
"description": "There are 5 colors for button: positive, negative, accent, promotional, default.",
|
5867
|
+
"default": "default",
|
5868
|
+
"fieldName": "color",
|
5791
5869
|
"inheritedFrom": {
|
5792
|
-
"name": "
|
5793
|
-
"module": "utils/mixins/
|
5870
|
+
"name": "ButtonComponentMixin",
|
5871
|
+
"module": "src/utils/mixins/ButtonComponentMixin.ts"
|
5794
5872
|
}
|
5795
5873
|
},
|
5796
5874
|
{
|
5797
|
-
"
|
5798
|
-
"name": "subtitle",
|
5875
|
+
"name": "data-aria-label",
|
5799
5876
|
"type": {
|
5800
|
-
"text": "string"
|
5877
|
+
"text": "string | null"
|
5801
5878
|
},
|
5802
|
-
"default": "
|
5803
|
-
"description": "
|
5804
|
-
"
|
5805
|
-
"reflects": true,
|
5879
|
+
"default": "null",
|
5880
|
+
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
5881
|
+
"fieldName": "dataAriaLabel",
|
5806
5882
|
"inheritedFrom": {
|
5807
|
-
"name": "
|
5808
|
-
"module": "utils/mixins/
|
5883
|
+
"name": "DataAriaLabelMixin",
|
5884
|
+
"module": "src/utils/mixins/DataAriaLabelMixin.ts"
|
5809
5885
|
}
|
5810
5886
|
},
|
5811
5887
|
{
|
5812
|
-
"
|
5813
|
-
"name": "imageSrc",
|
5888
|
+
"name": "disabled",
|
5814
5889
|
"type": {
|
5815
|
-
"text": "
|
5890
|
+
"text": "boolean | undefined"
|
5816
5891
|
},
|
5817
|
-
"
|
5818
|
-
"
|
5819
|
-
"
|
5820
|
-
"reflects": true,
|
5892
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
5893
|
+
"default": "undefined",
|
5894
|
+
"fieldName": "disabled",
|
5821
5895
|
"inheritedFrom": {
|
5822
|
-
"name": "
|
5823
|
-
"module": "utils/mixins/
|
5896
|
+
"name": "DisabledMixin",
|
5897
|
+
"module": "src/utils/mixins/DisabledMixin.ts"
|
5824
5898
|
}
|
5825
5899
|
},
|
5826
5900
|
{
|
5827
|
-
"
|
5828
|
-
"name": "imageAlt",
|
5901
|
+
"name": "inline",
|
5829
5902
|
"type": {
|
5830
|
-
"text": "
|
5903
|
+
"text": "boolean"
|
5831
5904
|
},
|
5832
|
-
"
|
5833
|
-
"
|
5834
|
-
"
|
5835
|
-
"reflects": true,
|
5905
|
+
"description": "The link can be inline or standalone.",
|
5906
|
+
"default": "false",
|
5907
|
+
"fieldName": "inline",
|
5836
5908
|
"inheritedFrom": {
|
5837
|
-
"name": "
|
5838
|
-
"module": "
|
5909
|
+
"name": "Linksimple",
|
5910
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
5839
5911
|
}
|
5840
5912
|
},
|
5841
5913
|
{
|
5842
|
-
"
|
5843
|
-
"name": "variant",
|
5914
|
+
"name": "inverted",
|
5844
5915
|
"type": {
|
5845
|
-
"text": "
|
5916
|
+
"text": "boolean"
|
5846
5917
|
},
|
5847
|
-
"description": "The
|
5848
|
-
"default": "
|
5849
|
-
"
|
5850
|
-
"reflects": true,
|
5918
|
+
"description": "The link color can be inverted by setting the inverted attribute to true.",
|
5919
|
+
"default": "false",
|
5920
|
+
"fieldName": "inverted",
|
5851
5921
|
"inheritedFrom": {
|
5852
|
-
"name": "
|
5853
|
-
"module": "
|
5922
|
+
"name": "Linksimple",
|
5923
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
5854
5924
|
}
|
5855
5925
|
},
|
5856
5926
|
{
|
5857
|
-
"
|
5858
|
-
"name": "orientation",
|
5927
|
+
"name": "href",
|
5859
5928
|
"type": {
|
5860
|
-
"text": "
|
5929
|
+
"text": "string | undefined"
|
5861
5930
|
},
|
5862
|
-
"description": "
|
5863
|
-
"
|
5864
|
-
"attribute": "orientation",
|
5865
|
-
"reflects": true,
|
5931
|
+
"description": "Href for navigation. The URL that the hyperlink points to",
|
5932
|
+
"fieldName": "href",
|
5866
5933
|
"inheritedFrom": {
|
5867
|
-
"name": "
|
5868
|
-
"module": "
|
5934
|
+
"name": "Linksimple",
|
5935
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
5869
5936
|
}
|
5870
5937
|
},
|
5871
5938
|
{
|
5872
|
-
"
|
5873
|
-
"name": "titleTagName",
|
5939
|
+
"name": "target",
|
5874
5940
|
"type": {
|
5875
|
-
"text": "
|
5941
|
+
"text": "string"
|
5876
5942
|
},
|
5877
|
-
"
|
5878
|
-
"
|
5879
|
-
"
|
5880
|
-
"reflects": true,
|
5943
|
+
"default": "'_self'",
|
5944
|
+
"description": "Optional target: _blank, _self, _parent, _top and _unfencedTop",
|
5945
|
+
"fieldName": "target",
|
5881
5946
|
"inheritedFrom": {
|
5882
|
-
"name": "
|
5883
|
-
"module": "
|
5947
|
+
"name": "Linksimple",
|
5948
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
5884
5949
|
}
|
5885
5950
|
},
|
5886
5951
|
{
|
5887
|
-
"
|
5888
|
-
"name": "subtitleTagName",
|
5952
|
+
"name": "rel",
|
5889
5953
|
"type": {
|
5890
|
-
"text": "
|
5954
|
+
"text": "string | undefined"
|
5891
5955
|
},
|
5892
|
-
"description": "
|
5893
|
-
"
|
5894
|
-
"attribute": "subtitle-tag-name",
|
5895
|
-
"reflects": true,
|
5956
|
+
"description": "Optional rel attribute that defines the relationship of the linked URL as space-separated link types.",
|
5957
|
+
"fieldName": "rel",
|
5896
5958
|
"inheritedFrom": {
|
5897
|
-
"name": "
|
5898
|
-
"module": "
|
5959
|
+
"name": "Linksimple",
|
5960
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
5899
5961
|
}
|
5900
5962
|
},
|
5901
5963
|
{
|
5902
|
-
"
|
5903
|
-
"name": "iconName",
|
5964
|
+
"name": "download",
|
5904
5965
|
"type": {
|
5905
|
-
"text": "
|
5966
|
+
"text": "string | undefined"
|
5906
5967
|
},
|
5907
|
-
"description": "
|
5908
|
-
"
|
5909
|
-
"reflects": true,
|
5968
|
+
"description": "Optional download attribute to instruct browsers to download the linked resource.",
|
5969
|
+
"fieldName": "download",
|
5910
5970
|
"inheritedFrom": {
|
5911
|
-
"name": "
|
5912
|
-
"module": "
|
5971
|
+
"name": "Linksimple",
|
5972
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
5913
5973
|
}
|
5914
5974
|
},
|
5915
5975
|
{
|
5916
|
-
"
|
5917
|
-
"
|
5918
|
-
|
5919
|
-
"description": "Renders the image on the card if image source is provided",
|
5920
|
-
"return": {
|
5921
|
-
"type": {
|
5922
|
-
"text": ""
|
5923
|
-
}
|
5976
|
+
"name": "ping",
|
5977
|
+
"type": {
|
5978
|
+
"text": "string | undefined"
|
5924
5979
|
},
|
5980
|
+
"description": "Optional ping attribute that defines a space-separated list of URLs to be notified if the link is followed.",
|
5981
|
+
"fieldName": "ping",
|
5925
5982
|
"inheritedFrom": {
|
5926
|
-
"name": "
|
5927
|
-
"module": "
|
5983
|
+
"name": "Linksimple",
|
5984
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
5928
5985
|
}
|
5929
5986
|
},
|
5930
5987
|
{
|
5931
|
-
"
|
5932
|
-
"
|
5933
|
-
|
5934
|
-
"description": "Renders the icon on the card if icon name is provided",
|
5935
|
-
"return": {
|
5936
|
-
"type": {
|
5937
|
-
"text": ""
|
5938
|
-
}
|
5988
|
+
"name": "hreflang",
|
5989
|
+
"type": {
|
5990
|
+
"text": "string | undefined"
|
5939
5991
|
},
|
5992
|
+
"description": "Optional hreflang attribute specifying the language of the linked resource.",
|
5993
|
+
"fieldName": "hreflang",
|
5940
5994
|
"inheritedFrom": {
|
5941
|
-
"name": "
|
5942
|
-
"module": "
|
5995
|
+
"name": "Linksimple",
|
5996
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
5943
5997
|
}
|
5944
5998
|
},
|
5945
5999
|
{
|
5946
|
-
"
|
5947
|
-
"
|
5948
|
-
|
5949
|
-
"description": "Renders the title and subtitle on the card",
|
5950
|
-
"return": {
|
5951
|
-
"type": {
|
5952
|
-
"text": ""
|
5953
|
-
}
|
6000
|
+
"name": "type",
|
6001
|
+
"type": {
|
6002
|
+
"text": "string | undefined"
|
5954
6003
|
},
|
6004
|
+
"description": "Optional type attribute indicating the MIME type of the linked resource.",
|
6005
|
+
"fieldName": "type",
|
5955
6006
|
"inheritedFrom": {
|
5956
|
-
"name": "
|
5957
|
-
"module": "
|
6007
|
+
"name": "Linksimple",
|
6008
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
5958
6009
|
}
|
5959
6010
|
},
|
5960
6011
|
{
|
5961
|
-
"
|
5962
|
-
"
|
5963
|
-
|
5964
|
-
"description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
|
5965
|
-
"return": {
|
5966
|
-
"type": {
|
5967
|
-
"text": ""
|
5968
|
-
}
|
6012
|
+
"name": "referrerpolicy",
|
6013
|
+
"type": {
|
6014
|
+
"text": "string | undefined"
|
5969
6015
|
},
|
6016
|
+
"description": "Optional referrerpolicy attribute specifying how much referrer information to send.",
|
6017
|
+
"fieldName": "referrerpolicy",
|
5970
6018
|
"inheritedFrom": {
|
5971
|
-
"name": "
|
5972
|
-
"module": "
|
6019
|
+
"name": "Linksimple",
|
6020
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
5973
6021
|
}
|
5974
6022
|
}
|
5975
6023
|
],
|
5976
6024
|
"mixins": [
|
5977
6025
|
{
|
5978
|
-
"name": "
|
5979
|
-
"module": "/src/utils/mixins/
|
5980
|
-
},
|
5981
|
-
{
|
5982
|
-
"name": "FooterMixin",
|
5983
|
-
"module": "/src/utils/mixins/FooterMixin"
|
6026
|
+
"name": "ButtonComponentMixin",
|
6027
|
+
"module": "/src/utils/mixins/ButtonComponentMixin"
|
5984
6028
|
}
|
5985
6029
|
],
|
5986
6030
|
"superclass": {
|
5987
|
-
"name": "
|
5988
|
-
"module": "/src/
|
6031
|
+
"name": "Linksimple",
|
6032
|
+
"module": "/src/components/linksimple/linksimple.component"
|
5989
6033
|
},
|
5990
|
-
"tagName": "mdc-
|
5991
|
-
"jsDoc": "/**\n *
|
6034
|
+
"tagName": "mdc-buttonlink",
|
6035
|
+
"jsDoc": "/**\n * `mdc-buttonlink` combines the functional behavior of `mdc-linksimple` with the visual and structural\n * features of `mdc-button`. This includes support for variants, sizing, and optional\n * prefix and postfix icons via slots.\n *\n * ### Features:\n * - Behaves like an link while visually resembling a button.\n * - Supports slots for `prefix-icon` and `postfix-icon`.\n * - Customizable size, color, and variant through attributes.\n * - Inherits accessibility and keyboard interaction support from `mdc-linksimple`.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-buttonlink\n *\n * @event click - (React: onClick) Fired when the user activates the buttonLink using a mouse or assistive technology.\n * @event keydown - (React: onKeyDown) Fired when the user presses a key while the buttonLink has focus.\n * @event focus - (React: onFocus) Fired when the buttonLink receives keyboard or mouse focus.\n * @event blur - (React: onBlur) Fired when the buttonLink loses keyboard or mouse focus.\n *\n * @csspart anchor - The anchor element that wraps the buttonlink content.\n * @csspart prefix-icon - The prefix icon element.\n * @csspart button-text - The slot containing the buttonlink text.\n * @csspart postfix-icon - The postfix icon element.\n *\n */",
|
5992
6036
|
"customElement": true,
|
5993
|
-
"
|
6037
|
+
"cssProperties": [
|
5994
6038
|
{
|
5995
|
-
"
|
5996
|
-
"
|
5997
|
-
"text": "string"
|
5998
|
-
},
|
5999
|
-
"default": "''",
|
6000
|
-
"description": "The title of the card - part of header section",
|
6001
|
-
"fieldName": "cardTitle",
|
6039
|
+
"description": "Border radius of the link.",
|
6040
|
+
"name": "--mdc-link-border-radius",
|
6002
6041
|
"inheritedFrom": {
|
6003
|
-
"name": "
|
6004
|
-
"module": "src/
|
6042
|
+
"name": "Linksimple",
|
6043
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
6005
6044
|
}
|
6006
6045
|
},
|
6007
6046
|
{
|
6008
|
-
"
|
6009
|
-
"
|
6010
|
-
"text": "string"
|
6011
|
-
},
|
6012
|
-
"default": "''",
|
6013
|
-
"description": "The subtitle of the card - part of header section",
|
6014
|
-
"fieldName": "subtitle",
|
6047
|
+
"description": "Color of the link’s child content in the active state.",
|
6048
|
+
"name": "--mdc-link-color-active",
|
6015
6049
|
"inheritedFrom": {
|
6016
|
-
"name": "
|
6017
|
-
"module": "src/
|
6050
|
+
"name": "Linksimple",
|
6051
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
6018
6052
|
}
|
6019
6053
|
},
|
6020
6054
|
{
|
6021
|
-
"
|
6022
|
-
"
|
6023
|
-
"text": "string"
|
6024
|
-
},
|
6025
|
-
"default": "''",
|
6026
|
-
"description": "The image source URL to render on the card",
|
6027
|
-
"fieldName": "imageSrc",
|
6055
|
+
"description": "Color of the link’s child content in the disabled state.",
|
6056
|
+
"name": "--mdc-link-color-disabled",
|
6028
6057
|
"inheritedFrom": {
|
6029
|
-
"name": "
|
6030
|
-
"module": "src/
|
6058
|
+
"name": "Linksimple",
|
6059
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
6031
6060
|
}
|
6032
6061
|
},
|
6033
6062
|
{
|
6034
|
-
"
|
6035
|
-
"
|
6036
|
-
"text": "string"
|
6037
|
-
},
|
6038
|
-
"default": "''",
|
6039
|
-
"description": "The image alt for accessibility support",
|
6040
|
-
"fieldName": "imageAlt",
|
6063
|
+
"description": "Color of the link’s child content in the hover state.",
|
6064
|
+
"name": "--mdc-link-color-hover",
|
6041
6065
|
"inheritedFrom": {
|
6042
|
-
"name": "
|
6043
|
-
"module": "src/
|
6066
|
+
"name": "Linksimple",
|
6067
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
6044
6068
|
}
|
6045
6069
|
},
|
6046
6070
|
{
|
6047
|
-
"
|
6048
|
-
"
|
6049
|
-
"text": "CardVariant"
|
6050
|
-
},
|
6051
|
-
"description": "The variant of the card. It can either be set to 'border' or 'ghost'",
|
6052
|
-
"default": "'border'",
|
6053
|
-
"fieldName": "variant",
|
6071
|
+
"description": "Color of the link’s child content in the normal state.",
|
6072
|
+
"name": "--mdc-link-color-normal",
|
6054
6073
|
"inheritedFrom": {
|
6055
|
-
"name": "
|
6056
|
-
"module": "src/
|
6074
|
+
"name": "Linksimple",
|
6075
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
6057
6076
|
}
|
6058
6077
|
},
|
6059
6078
|
{
|
6060
|
-
"
|
6061
|
-
"
|
6062
|
-
"text": "CardOrientation"
|
6063
|
-
},
|
6064
|
-
"description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
|
6065
|
-
"default": "'vertical'",
|
6066
|
-
"fieldName": "orientation",
|
6079
|
+
"description": "Color of the inverted link’s child content in the active state.",
|
6080
|
+
"name": "--mdc-link-inverted-color-active",
|
6067
6081
|
"inheritedFrom": {
|
6068
|
-
"name": "
|
6069
|
-
"module": "src/
|
6082
|
+
"name": "Linksimple",
|
6083
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
6070
6084
|
}
|
6071
6085
|
},
|
6072
6086
|
{
|
6073
|
-
"
|
6074
|
-
"
|
6075
|
-
"text": "TagNameType"
|
6076
|
-
},
|
6077
|
-
"description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
|
6078
|
-
"default": "'span'",
|
6079
|
-
"fieldName": "titleTagName",
|
6087
|
+
"description": "Color of the inverted link’s child content in the disabled state.",
|
6088
|
+
"name": "--mdc-link-inverted-color-disabled",
|
6080
6089
|
"inheritedFrom": {
|
6081
|
-
"name": "
|
6082
|
-
"module": "src/
|
6090
|
+
"name": "Linksimple",
|
6091
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
6083
6092
|
}
|
6084
6093
|
},
|
6085
6094
|
{
|
6086
|
-
"
|
6087
|
-
"
|
6088
|
-
"text": "TagNameType"
|
6089
|
-
},
|
6090
|
-
"description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
|
6091
|
-
"default": "'span'",
|
6092
|
-
"fieldName": "subtitleTagName",
|
6095
|
+
"description": "Color of the inverted link’s child content in the hover state.",
|
6096
|
+
"name": "--mdc-link-inverted-color-hover",
|
6093
6097
|
"inheritedFrom": {
|
6094
|
-
"name": "
|
6095
|
-
"module": "src/
|
6098
|
+
"name": "Linksimple",
|
6099
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
6096
6100
|
}
|
6097
6101
|
},
|
6098
6102
|
{
|
6099
|
-
"
|
6100
|
-
"
|
6101
|
-
"text": "IconNames | undefined"
|
6102
|
-
},
|
6103
|
-
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
6104
|
-
"fieldName": "iconName",
|
6103
|
+
"description": "Color of the inverted link’s child content in the normal state.",
|
6104
|
+
"name": "--mdc-link-inverted-color-normal",
|
6105
6105
|
"inheritedFrom": {
|
6106
|
-
"name": "
|
6107
|
-
"module": "src/
|
6106
|
+
"name": "Linksimple",
|
6107
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
6108
6108
|
}
|
6109
6109
|
}
|
6110
6110
|
]
|
@@ -6115,8 +6115,8 @@
|
|
6115
6115
|
"kind": "js",
|
6116
6116
|
"name": "default",
|
6117
6117
|
"declaration": {
|
6118
|
-
"name": "
|
6119
|
-
"module": "components/
|
6118
|
+
"name": "ButtonLink",
|
6119
|
+
"module": "components/buttonlink/buttonlink.component.js"
|
6120
6120
|
}
|
6121
6121
|
}
|
6122
6122
|
]
|