@momentum-design/components 0.70.3 → 0.70.4
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 +137 -120
- package/dist/browser/index.js.map +4 -4
- package/dist/components/card/card.constants.js +1 -1
- package/dist/components/card/card.styles.js +12 -3
- package/dist/components/cardcheckbox/cardcheckbox.component.js +4 -2
- package/dist/components/cardcheckbox/cardcheckbox.styles.js +5 -1
- package/dist/components/cardradio/cardradio.component.d.ts +2 -0
- package/dist/components/cardradio/cardradio.component.js +26 -2
- package/dist/components/cardradio/cardradio.styles.js +5 -1
- package/dist/custom-elements.json +601 -519
- package/dist/react/index.d.ts +2 -2
- package/dist/react/index.js +2 -2
- package/dist/utils/mixins/CardComponentMixin.js +8 -8
- package/dist/utils/roles.d.ts +1 -0
- package/dist/utils/roles.js +1 -0
- package/package.json +1 -1
@@ -1439,110 +1439,6 @@
|
|
1439
1439
|
}
|
1440
1440
|
]
|
1441
1441
|
},
|
1442
|
-
{
|
1443
|
-
"kind": "javascript-module",
|
1444
|
-
"path": "components/brandvisual/brandvisual.component.js",
|
1445
|
-
"declarations": [
|
1446
|
-
{
|
1447
|
-
"kind": "class",
|
1448
|
-
"description": "The `mdc-brandvisual` component is responsible for rendering logos dynamically & ensures they are\ndisplayed correctly within applications.\n\nFeatures:\n- Dynamically loads brandvisuals based on the `name` attribute.\n- Emits a `load` event when the brandvisual is successfully fetched.\n- Emits an `error` event when the brandvisual import fails.\n- Supports accessibility best practices.\n- Used for brand representation within the design system.",
|
1449
|
-
"name": "Brandvisual",
|
1450
|
-
"members": [
|
1451
|
-
{
|
1452
|
-
"kind": "field",
|
1453
|
-
"name": "brandVisualData",
|
1454
|
-
"type": {
|
1455
|
-
"text": "HTMLElement | undefined"
|
1456
|
-
},
|
1457
|
-
"privacy": "private"
|
1458
|
-
},
|
1459
|
-
{
|
1460
|
-
"kind": "field",
|
1461
|
-
"name": "name",
|
1462
|
-
"type": {
|
1463
|
-
"text": "BrandVisualNames | undefined"
|
1464
|
-
},
|
1465
|
-
"description": "Name of the brandVisual (= filename)",
|
1466
|
-
"attribute": "name",
|
1467
|
-
"reflects": true
|
1468
|
-
},
|
1469
|
-
{
|
1470
|
-
"kind": "method",
|
1471
|
-
"name": "getBrandVisualData",
|
1472
|
-
"privacy": "private"
|
1473
|
-
},
|
1474
|
-
{
|
1475
|
-
"kind": "method",
|
1476
|
-
"name": "handleBrandVisualLoadedSuccess",
|
1477
|
-
"privacy": "private",
|
1478
|
-
"parameters": [
|
1479
|
-
{
|
1480
|
-
"name": "brandVisualHtml",
|
1481
|
-
"type": {
|
1482
|
-
"text": "HTMLElement"
|
1483
|
-
},
|
1484
|
-
"description": "The brandvisual html element which has been fetched from the brandvisual provider."
|
1485
|
-
}
|
1486
|
-
],
|
1487
|
-
"description": "Sets the brandVisualData state to the fetched brandvisual.\nDispatches a 'load' event on the component once the brandvisual has been successfully loaded."
|
1488
|
-
},
|
1489
|
-
{
|
1490
|
-
"kind": "method",
|
1491
|
-
"name": "handleBrandVisualLoadedFailure",
|
1492
|
-
"privacy": "private",
|
1493
|
-
"parameters": [
|
1494
|
-
{
|
1495
|
-
"name": "error",
|
1496
|
-
"type": {
|
1497
|
-
"text": "unknown"
|
1498
|
-
}
|
1499
|
-
}
|
1500
|
-
],
|
1501
|
-
"description": "Dispatches an 'error' event on the component when the brandvisual import has failed.\nThis event bubbles and is cancelable.\nThe error detail is set to the error object."
|
1502
|
-
}
|
1503
|
-
],
|
1504
|
-
"events": [
|
1505
|
-
{
|
1506
|
-
"description": "(React: onLoad) This event is dispatched when the brandvisual has been successfully loaded.",
|
1507
|
-
"name": "load",
|
1508
|
-
"reactName": "onLoad"
|
1509
|
-
},
|
1510
|
-
{
|
1511
|
-
"description": "(React: onError) This event is dispatched when the brandvisual fetching has failed.",
|
1512
|
-
"name": "error",
|
1513
|
-
"reactName": "onError"
|
1514
|
-
}
|
1515
|
-
],
|
1516
|
-
"attributes": [
|
1517
|
-
{
|
1518
|
-
"name": "name",
|
1519
|
-
"type": {
|
1520
|
-
"text": "BrandVisualNames | undefined"
|
1521
|
-
},
|
1522
|
-
"description": "Name of the brandVisual (= filename)",
|
1523
|
-
"fieldName": "name"
|
1524
|
-
}
|
1525
|
-
],
|
1526
|
-
"superclass": {
|
1527
|
-
"name": "Component",
|
1528
|
-
"module": "/src/models"
|
1529
|
-
},
|
1530
|
-
"tagName": "mdc-brandvisual",
|
1531
|
-
"jsDoc": "/**\n * The `mdc-brandvisual` component is responsible for rendering logos dynamically & ensures they are\n * displayed correctly within applications.\n *\n * Features:\n * - Dynamically loads brandvisuals based on the `name` attribute.\n * - Emits a `load` event when the brandvisual is successfully fetched.\n * - Emits an `error` event when the brandvisual import fails.\n * - Supports accessibility best practices.\n * - Used for brand representation within the design system.\n *\n * @tagname mdc-brandvisual\n *\n * @event load - (React: onLoad) This event is dispatched when the brandvisual has been successfully loaded.\n * @event error - (React: onError) This event is dispatched when the brandvisual fetching has failed.\n *\n */",
|
1532
|
-
"customElement": true
|
1533
|
-
}
|
1534
|
-
],
|
1535
|
-
"exports": [
|
1536
|
-
{
|
1537
|
-
"kind": "js",
|
1538
|
-
"name": "default",
|
1539
|
-
"declaration": {
|
1540
|
-
"name": "Brandvisual",
|
1541
|
-
"module": "components/brandvisual/brandvisual.component.js"
|
1542
|
-
}
|
1543
|
-
}
|
1544
|
-
]
|
1545
|
-
},
|
1546
1442
|
{
|
1547
1443
|
"kind": "javascript-module",
|
1548
1444
|
"path": "components/badge/badge.component.js",
|
@@ -1864,6 +1760,110 @@
|
|
1864
1760
|
}
|
1865
1761
|
]
|
1866
1762
|
},
|
1763
|
+
{
|
1764
|
+
"kind": "javascript-module",
|
1765
|
+
"path": "components/brandvisual/brandvisual.component.js",
|
1766
|
+
"declarations": [
|
1767
|
+
{
|
1768
|
+
"kind": "class",
|
1769
|
+
"description": "The `mdc-brandvisual` component is responsible for rendering logos dynamically & ensures they are\ndisplayed correctly within applications.\n\nFeatures:\n- Dynamically loads brandvisuals based on the `name` attribute.\n- Emits a `load` event when the brandvisual is successfully fetched.\n- Emits an `error` event when the brandvisual import fails.\n- Supports accessibility best practices.\n- Used for brand representation within the design system.",
|
1770
|
+
"name": "Brandvisual",
|
1771
|
+
"members": [
|
1772
|
+
{
|
1773
|
+
"kind": "field",
|
1774
|
+
"name": "brandVisualData",
|
1775
|
+
"type": {
|
1776
|
+
"text": "HTMLElement | undefined"
|
1777
|
+
},
|
1778
|
+
"privacy": "private"
|
1779
|
+
},
|
1780
|
+
{
|
1781
|
+
"kind": "field",
|
1782
|
+
"name": "name",
|
1783
|
+
"type": {
|
1784
|
+
"text": "BrandVisualNames | undefined"
|
1785
|
+
},
|
1786
|
+
"description": "Name of the brandVisual (= filename)",
|
1787
|
+
"attribute": "name",
|
1788
|
+
"reflects": true
|
1789
|
+
},
|
1790
|
+
{
|
1791
|
+
"kind": "method",
|
1792
|
+
"name": "getBrandVisualData",
|
1793
|
+
"privacy": "private"
|
1794
|
+
},
|
1795
|
+
{
|
1796
|
+
"kind": "method",
|
1797
|
+
"name": "handleBrandVisualLoadedSuccess",
|
1798
|
+
"privacy": "private",
|
1799
|
+
"parameters": [
|
1800
|
+
{
|
1801
|
+
"name": "brandVisualHtml",
|
1802
|
+
"type": {
|
1803
|
+
"text": "HTMLElement"
|
1804
|
+
},
|
1805
|
+
"description": "The brandvisual html element which has been fetched from the brandvisual provider."
|
1806
|
+
}
|
1807
|
+
],
|
1808
|
+
"description": "Sets the brandVisualData state to the fetched brandvisual.\nDispatches a 'load' event on the component once the brandvisual has been successfully loaded."
|
1809
|
+
},
|
1810
|
+
{
|
1811
|
+
"kind": "method",
|
1812
|
+
"name": "handleBrandVisualLoadedFailure",
|
1813
|
+
"privacy": "private",
|
1814
|
+
"parameters": [
|
1815
|
+
{
|
1816
|
+
"name": "error",
|
1817
|
+
"type": {
|
1818
|
+
"text": "unknown"
|
1819
|
+
}
|
1820
|
+
}
|
1821
|
+
],
|
1822
|
+
"description": "Dispatches an 'error' event on the component when the brandvisual import has failed.\nThis event bubbles and is cancelable.\nThe error detail is set to the error object."
|
1823
|
+
}
|
1824
|
+
],
|
1825
|
+
"events": [
|
1826
|
+
{
|
1827
|
+
"description": "(React: onLoad) This event is dispatched when the brandvisual has been successfully loaded.",
|
1828
|
+
"name": "load",
|
1829
|
+
"reactName": "onLoad"
|
1830
|
+
},
|
1831
|
+
{
|
1832
|
+
"description": "(React: onError) This event is dispatched when the brandvisual fetching has failed.",
|
1833
|
+
"name": "error",
|
1834
|
+
"reactName": "onError"
|
1835
|
+
}
|
1836
|
+
],
|
1837
|
+
"attributes": [
|
1838
|
+
{
|
1839
|
+
"name": "name",
|
1840
|
+
"type": {
|
1841
|
+
"text": "BrandVisualNames | undefined"
|
1842
|
+
},
|
1843
|
+
"description": "Name of the brandVisual (= filename)",
|
1844
|
+
"fieldName": "name"
|
1845
|
+
}
|
1846
|
+
],
|
1847
|
+
"superclass": {
|
1848
|
+
"name": "Component",
|
1849
|
+
"module": "/src/models"
|
1850
|
+
},
|
1851
|
+
"tagName": "mdc-brandvisual",
|
1852
|
+
"jsDoc": "/**\n * The `mdc-brandvisual` component is responsible for rendering logos dynamically & ensures they are\n * displayed correctly within applications.\n *\n * Features:\n * - Dynamically loads brandvisuals based on the `name` attribute.\n * - Emits a `load` event when the brandvisual is successfully fetched.\n * - Emits an `error` event when the brandvisual import fails.\n * - Supports accessibility best practices.\n * - Used for brand representation within the design system.\n *\n * @tagname mdc-brandvisual\n *\n * @event load - (React: onLoad) This event is dispatched when the brandvisual has been successfully loaded.\n * @event error - (React: onError) This event is dispatched when the brandvisual fetching has failed.\n *\n */",
|
1853
|
+
"customElement": true
|
1854
|
+
}
|
1855
|
+
],
|
1856
|
+
"exports": [
|
1857
|
+
{
|
1858
|
+
"kind": "js",
|
1859
|
+
"name": "default",
|
1860
|
+
"declaration": {
|
1861
|
+
"name": "Brandvisual",
|
1862
|
+
"module": "components/brandvisual/brandvisual.component.js"
|
1863
|
+
}
|
1864
|
+
}
|
1865
|
+
]
|
1866
|
+
},
|
1867
1867
|
{
|
1868
1868
|
"kind": "javascript-module",
|
1869
1869
|
"path": "components/bullet/bullet.component.js",
|
@@ -3631,6 +3631,7 @@
|
|
3631
3631
|
"default": "''",
|
3632
3632
|
"description": "The title of the card - part of header section",
|
3633
3633
|
"attribute": "card-title",
|
3634
|
+
"reflects": true,
|
3634
3635
|
"inheritedFrom": {
|
3635
3636
|
"name": "CardComponentMixin",
|
3636
3637
|
"module": "utils/mixins/CardComponentMixin.js"
|
@@ -3645,6 +3646,7 @@
|
|
3645
3646
|
"default": "''",
|
3646
3647
|
"description": "The subtitle of the card - part of header section",
|
3647
3648
|
"attribute": "subtitle",
|
3649
|
+
"reflects": true,
|
3648
3650
|
"inheritedFrom": {
|
3649
3651
|
"name": "CardComponentMixin",
|
3650
3652
|
"module": "utils/mixins/CardComponentMixin.js"
|
@@ -3659,6 +3661,7 @@
|
|
3659
3661
|
"default": "''",
|
3660
3662
|
"description": "The image source URL to render on the card",
|
3661
3663
|
"attribute": "image-src",
|
3664
|
+
"reflects": true,
|
3662
3665
|
"inheritedFrom": {
|
3663
3666
|
"name": "CardComponentMixin",
|
3664
3667
|
"module": "utils/mixins/CardComponentMixin.js"
|
@@ -3673,6 +3676,7 @@
|
|
3673
3676
|
"default": "''",
|
3674
3677
|
"description": "The image alt for accessibility support",
|
3675
3678
|
"attribute": "image-alt",
|
3679
|
+
"reflects": true,
|
3676
3680
|
"inheritedFrom": {
|
3677
3681
|
"name": "CardComponentMixin",
|
3678
3682
|
"module": "utils/mixins/CardComponentMixin.js"
|
@@ -3687,6 +3691,7 @@
|
|
3687
3691
|
"description": "The variant of the card. It can either be set to 'border' or 'ghost'",
|
3688
3692
|
"default": "'border'",
|
3689
3693
|
"attribute": "variant",
|
3694
|
+
"reflects": true,
|
3690
3695
|
"inheritedFrom": {
|
3691
3696
|
"name": "CardComponentMixin",
|
3692
3697
|
"module": "utils/mixins/CardComponentMixin.js"
|
@@ -3716,6 +3721,7 @@
|
|
3716
3721
|
"description": "The tag name for the card title. It supports all the types that `msc-text` supports",
|
3717
3722
|
"default": "'span'",
|
3718
3723
|
"attribute": "title-tag-name",
|
3724
|
+
"reflects": true,
|
3719
3725
|
"inheritedFrom": {
|
3720
3726
|
"name": "CardComponentMixin",
|
3721
3727
|
"module": "utils/mixins/CardComponentMixin.js"
|
@@ -3730,6 +3736,7 @@
|
|
3730
3736
|
"description": "The tag name for the subtitle. It supports all the types that `msc-text` supports",
|
3731
3737
|
"default": "'span'",
|
3732
3738
|
"attribute": "subtitle-tag-name",
|
3739
|
+
"reflects": true,
|
3733
3740
|
"inheritedFrom": {
|
3734
3741
|
"name": "CardComponentMixin",
|
3735
3742
|
"module": "utils/mixins/CardComponentMixin.js"
|
@@ -3743,6 +3750,7 @@
|
|
3743
3750
|
},
|
3744
3751
|
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
3745
3752
|
"attribute": "icon-name",
|
3753
|
+
"reflects": true,
|
3746
3754
|
"inheritedFrom": {
|
3747
3755
|
"name": "CardComponentMixin",
|
3748
3756
|
"module": "utils/mixins/CardComponentMixin.js"
|
@@ -4000,6 +4008,7 @@
|
|
4000
4008
|
"default": "''",
|
4001
4009
|
"description": "The title of the card - part of header section",
|
4002
4010
|
"attribute": "card-title",
|
4011
|
+
"reflects": true,
|
4003
4012
|
"inheritedFrom": {
|
4004
4013
|
"name": "CardComponentMixin",
|
4005
4014
|
"module": "utils/mixins/CardComponentMixin.js"
|
@@ -4014,6 +4023,7 @@
|
|
4014
4023
|
"default": "''",
|
4015
4024
|
"description": "The subtitle of the card - part of header section",
|
4016
4025
|
"attribute": "subtitle",
|
4026
|
+
"reflects": true,
|
4017
4027
|
"inheritedFrom": {
|
4018
4028
|
"name": "CardComponentMixin",
|
4019
4029
|
"module": "utils/mixins/CardComponentMixin.js"
|
@@ -4028,6 +4038,7 @@
|
|
4028
4038
|
"default": "''",
|
4029
4039
|
"description": "The image source URL to render on the card",
|
4030
4040
|
"attribute": "image-src",
|
4041
|
+
"reflects": true,
|
4031
4042
|
"inheritedFrom": {
|
4032
4043
|
"name": "CardComponentMixin",
|
4033
4044
|
"module": "utils/mixins/CardComponentMixin.js"
|
@@ -4042,6 +4053,7 @@
|
|
4042
4053
|
"default": "''",
|
4043
4054
|
"description": "The image alt for accessibility support",
|
4044
4055
|
"attribute": "image-alt",
|
4056
|
+
"reflects": true,
|
4045
4057
|
"inheritedFrom": {
|
4046
4058
|
"name": "CardComponentMixin",
|
4047
4059
|
"module": "utils/mixins/CardComponentMixin.js"
|
@@ -4056,6 +4068,7 @@
|
|
4056
4068
|
"description": "The variant of the card. It can either be set to 'border' or 'ghost'",
|
4057
4069
|
"default": "'border'",
|
4058
4070
|
"attribute": "variant",
|
4071
|
+
"reflects": true,
|
4059
4072
|
"inheritedFrom": {
|
4060
4073
|
"name": "CardComponentMixin",
|
4061
4074
|
"module": "utils/mixins/CardComponentMixin.js"
|
@@ -4085,6 +4098,7 @@
|
|
4085
4098
|
"description": "The tag name for the card title. It supports all the types that `msc-text` supports",
|
4086
4099
|
"default": "'span'",
|
4087
4100
|
"attribute": "title-tag-name",
|
4101
|
+
"reflects": true,
|
4088
4102
|
"inheritedFrom": {
|
4089
4103
|
"name": "CardComponentMixin",
|
4090
4104
|
"module": "utils/mixins/CardComponentMixin.js"
|
@@ -4099,6 +4113,7 @@
|
|
4099
4113
|
"description": "The tag name for the subtitle. It supports all the types that `msc-text` supports",
|
4100
4114
|
"default": "'span'",
|
4101
4115
|
"attribute": "subtitle-tag-name",
|
4116
|
+
"reflects": true,
|
4102
4117
|
"inheritedFrom": {
|
4103
4118
|
"name": "CardComponentMixin",
|
4104
4119
|
"module": "utils/mixins/CardComponentMixin.js"
|
@@ -4112,6 +4127,7 @@
|
|
4112
4127
|
},
|
4113
4128
|
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
4114
4129
|
"attribute": "icon-name",
|
4130
|
+
"reflects": true,
|
4115
4131
|
"inheritedFrom": {
|
4116
4132
|
"name": "CardComponentMixin",
|
4117
4133
|
"module": "utils/mixins/CardComponentMixin.js"
|
@@ -4787,7 +4803,8 @@
|
|
4787
4803
|
},
|
4788
4804
|
"description": "The selection type of the card. It can either be set to 'check' or 'checkbox'",
|
4789
4805
|
"default": "'check'",
|
4790
|
-
"attribute": "selection-type"
|
4806
|
+
"attribute": "selection-type",
|
4807
|
+
"reflects": true
|
4791
4808
|
},
|
4792
4809
|
{
|
4793
4810
|
"kind": "method",
|
@@ -4890,6 +4907,7 @@
|
|
4890
4907
|
"default": "''",
|
4891
4908
|
"description": "The title of the card - part of header section",
|
4892
4909
|
"attribute": "card-title",
|
4910
|
+
"reflects": true,
|
4893
4911
|
"inheritedFrom": {
|
4894
4912
|
"name": "Card",
|
4895
4913
|
"module": "components/card/card.component.js"
|
@@ -4904,6 +4922,7 @@
|
|
4904
4922
|
"default": "''",
|
4905
4923
|
"description": "The subtitle of the card - part of header section",
|
4906
4924
|
"attribute": "subtitle",
|
4925
|
+
"reflects": true,
|
4907
4926
|
"inheritedFrom": {
|
4908
4927
|
"name": "Card",
|
4909
4928
|
"module": "components/card/card.component.js"
|
@@ -4918,6 +4937,7 @@
|
|
4918
4937
|
"default": "''",
|
4919
4938
|
"description": "The image source URL to render on the card",
|
4920
4939
|
"attribute": "image-src",
|
4940
|
+
"reflects": true,
|
4921
4941
|
"inheritedFrom": {
|
4922
4942
|
"name": "Card",
|
4923
4943
|
"module": "components/card/card.component.js"
|
@@ -4932,6 +4952,7 @@
|
|
4932
4952
|
"default": "''",
|
4933
4953
|
"description": "The image alt for accessibility support",
|
4934
4954
|
"attribute": "image-alt",
|
4955
|
+
"reflects": true,
|
4935
4956
|
"inheritedFrom": {
|
4936
4957
|
"name": "Card",
|
4937
4958
|
"module": "components/card/card.component.js"
|
@@ -4946,6 +4967,7 @@
|
|
4946
4967
|
"description": "The variant of the card. It can either be set to 'border' or 'ghost'",
|
4947
4968
|
"default": "'border'",
|
4948
4969
|
"attribute": "variant",
|
4970
|
+
"reflects": true,
|
4949
4971
|
"inheritedFrom": {
|
4950
4972
|
"name": "Card",
|
4951
4973
|
"module": "components/card/card.component.js"
|
@@ -4975,6 +4997,7 @@
|
|
4975
4997
|
"description": "The tag name for the card title. It supports all the types that `msc-text` supports",
|
4976
4998
|
"default": "'span'",
|
4977
4999
|
"attribute": "title-tag-name",
|
5000
|
+
"reflects": true,
|
4978
5001
|
"inheritedFrom": {
|
4979
5002
|
"name": "Card",
|
4980
5003
|
"module": "components/card/card.component.js"
|
@@ -4989,6 +5012,7 @@
|
|
4989
5012
|
"description": "The tag name for the subtitle. It supports all the types that `msc-text` supports",
|
4990
5013
|
"default": "'span'",
|
4991
5014
|
"attribute": "subtitle-tag-name",
|
5015
|
+
"reflects": true,
|
4992
5016
|
"inheritedFrom": {
|
4993
5017
|
"name": "Card",
|
4994
5018
|
"module": "components/card/card.component.js"
|
@@ -5002,6 +5026,7 @@
|
|
5002
5026
|
},
|
5003
5027
|
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
5004
5028
|
"attribute": "icon-name",
|
5029
|
+
"reflects": true,
|
5005
5030
|
"inheritedFrom": {
|
5006
5031
|
"name": "Card",
|
5007
5032
|
"module": "components/card/card.component.js"
|
@@ -5391,27 +5416,68 @@
|
|
5391
5416
|
},
|
5392
5417
|
{
|
5393
5418
|
"kind": "method",
|
5394
|
-
"name": "
|
5395
|
-
"
|
5419
|
+
"name": "setDisabled",
|
5420
|
+
"return": {
|
5421
|
+
"type": {
|
5422
|
+
"text": "void"
|
5423
|
+
}
|
5424
|
+
},
|
5396
5425
|
"parameters": [
|
5397
5426
|
{
|
5398
|
-
"name": "
|
5427
|
+
"name": "disabled",
|
5399
5428
|
"type": {
|
5400
|
-
"text": "
|
5401
|
-
}
|
5402
|
-
"description": "The keyboard event"
|
5429
|
+
"text": "boolean"
|
5430
|
+
}
|
5403
5431
|
}
|
5404
|
-
]
|
5405
|
-
"description": "Toggles the checked state when enter key is used"
|
5432
|
+
]
|
5406
5433
|
},
|
5407
5434
|
{
|
5408
5435
|
"kind": "method",
|
5409
|
-
"name": "
|
5436
|
+
"name": "updateCardRadio",
|
5410
5437
|
"privacy": "private",
|
5411
|
-
"
|
5412
|
-
{
|
5413
|
-
"
|
5414
|
-
|
5438
|
+
"return": {
|
5439
|
+
"type": {
|
5440
|
+
"text": "void"
|
5441
|
+
}
|
5442
|
+
},
|
5443
|
+
"parameters": [
|
5444
|
+
{
|
5445
|
+
"name": "cards",
|
5446
|
+
"type": {
|
5447
|
+
"text": "CardRadio[]"
|
5448
|
+
}
|
5449
|
+
},
|
5450
|
+
{
|
5451
|
+
"name": "index",
|
5452
|
+
"type": {
|
5453
|
+
"text": "number"
|
5454
|
+
}
|
5455
|
+
}
|
5456
|
+
]
|
5457
|
+
},
|
5458
|
+
{
|
5459
|
+
"kind": "method",
|
5460
|
+
"name": "toggleOnEnter",
|
5461
|
+
"privacy": "private",
|
5462
|
+
"parameters": [
|
5463
|
+
{
|
5464
|
+
"name": "event",
|
5465
|
+
"type": {
|
5466
|
+
"text": "KeyboardEvent"
|
5467
|
+
},
|
5468
|
+
"description": "The keyboard event"
|
5469
|
+
}
|
5470
|
+
],
|
5471
|
+
"description": "Toggles the checked state when enter key is used"
|
5472
|
+
},
|
5473
|
+
{
|
5474
|
+
"kind": "method",
|
5475
|
+
"name": "toggleOnSpace",
|
5476
|
+
"privacy": "private",
|
5477
|
+
"parameters": [
|
5478
|
+
{
|
5479
|
+
"name": "event",
|
5480
|
+
"type": {
|
5415
5481
|
"text": "KeyboardEvent"
|
5416
5482
|
},
|
5417
5483
|
"description": "The keyboard event"
|
@@ -5473,6 +5539,7 @@
|
|
5473
5539
|
"default": "''",
|
5474
5540
|
"description": "The title of the card - part of header section",
|
5475
5541
|
"attribute": "card-title",
|
5542
|
+
"reflects": true,
|
5476
5543
|
"inheritedFrom": {
|
5477
5544
|
"name": "Card",
|
5478
5545
|
"module": "components/card/card.component.js"
|
@@ -5487,6 +5554,7 @@
|
|
5487
5554
|
"default": "''",
|
5488
5555
|
"description": "The subtitle of the card - part of header section",
|
5489
5556
|
"attribute": "subtitle",
|
5557
|
+
"reflects": true,
|
5490
5558
|
"inheritedFrom": {
|
5491
5559
|
"name": "Card",
|
5492
5560
|
"module": "components/card/card.component.js"
|
@@ -5501,6 +5569,7 @@
|
|
5501
5569
|
"default": "''",
|
5502
5570
|
"description": "The image source URL to render on the card",
|
5503
5571
|
"attribute": "image-src",
|
5572
|
+
"reflects": true,
|
5504
5573
|
"inheritedFrom": {
|
5505
5574
|
"name": "Card",
|
5506
5575
|
"module": "components/card/card.component.js"
|
@@ -5515,6 +5584,7 @@
|
|
5515
5584
|
"default": "''",
|
5516
5585
|
"description": "The image alt for accessibility support",
|
5517
5586
|
"attribute": "image-alt",
|
5587
|
+
"reflects": true,
|
5518
5588
|
"inheritedFrom": {
|
5519
5589
|
"name": "Card",
|
5520
5590
|
"module": "components/card/card.component.js"
|
@@ -5529,6 +5599,7 @@
|
|
5529
5599
|
"description": "The variant of the card. It can either be set to 'border' or 'ghost'",
|
5530
5600
|
"default": "'border'",
|
5531
5601
|
"attribute": "variant",
|
5602
|
+
"reflects": true,
|
5532
5603
|
"inheritedFrom": {
|
5533
5604
|
"name": "Card",
|
5534
5605
|
"module": "components/card/card.component.js"
|
@@ -5558,6 +5629,7 @@
|
|
5558
5629
|
"description": "The tag name for the card title. It supports all the types that `msc-text` supports",
|
5559
5630
|
"default": "'span'",
|
5560
5631
|
"attribute": "title-tag-name",
|
5632
|
+
"reflects": true,
|
5561
5633
|
"inheritedFrom": {
|
5562
5634
|
"name": "Card",
|
5563
5635
|
"module": "components/card/card.component.js"
|
@@ -5572,6 +5644,7 @@
|
|
5572
5644
|
"description": "The tag name for the subtitle. It supports all the types that `msc-text` supports",
|
5573
5645
|
"default": "'span'",
|
5574
5646
|
"attribute": "subtitle-tag-name",
|
5647
|
+
"reflects": true,
|
5575
5648
|
"inheritedFrom": {
|
5576
5649
|
"name": "Card",
|
5577
5650
|
"module": "components/card/card.component.js"
|
@@ -5585,6 +5658,7 @@
|
|
5585
5658
|
},
|
5586
5659
|
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
5587
5660
|
"attribute": "icon-name",
|
5661
|
+
"reflects": true,
|
5588
5662
|
"inheritedFrom": {
|
5589
5663
|
"name": "Card",
|
5590
5664
|
"module": "components/card/card.component.js"
|
@@ -12536,51 +12610,78 @@
|
|
12536
12610
|
},
|
12537
12611
|
{
|
12538
12612
|
"kind": "javascript-module",
|
12539
|
-
"path": "components/
|
12613
|
+
"path": "components/link/link.component.js",
|
12540
12614
|
"declarations": [
|
12541
12615
|
{
|
12542
12616
|
"kind": "class",
|
12543
|
-
"description": "`mdc-
|
12544
|
-
"name": "
|
12545
|
-
"
|
12546
|
-
{
|
12547
|
-
"description": "Border radius of the link.",
|
12548
|
-
"name": "--mdc-link-border-radius"
|
12549
|
-
},
|
12550
|
-
{
|
12551
|
-
"description": "Color of the link’s child content in the active state.",
|
12552
|
-
"name": "--mdc-link-color-active"
|
12553
|
-
},
|
12554
|
-
{
|
12555
|
-
"description": "Color of the link’s child content in the disabled state.",
|
12556
|
-
"name": "--mdc-link-color-disabled"
|
12557
|
-
},
|
12617
|
+
"description": "`mdc-link` component can be used to navigate to a different page\nwithin the application or to an external site. It can be used to link to\nemails or phone numbers.\n\nThe `children` of the link component is expected to be the text content.\n\nFor `icon`, the `mdc-icon` component is used to render the icon.",
|
12618
|
+
"name": "Link",
|
12619
|
+
"members": [
|
12558
12620
|
{
|
12559
|
-
"
|
12560
|
-
"name": "
|
12621
|
+
"kind": "field",
|
12622
|
+
"name": "size",
|
12623
|
+
"type": {
|
12624
|
+
"text": "LinkSize"
|
12625
|
+
},
|
12626
|
+
"description": "Size of the link.\nAcceptable values include:\n\n- 'small'\n- 'midsize'\n- 'large'",
|
12627
|
+
"default": "large",
|
12628
|
+
"attribute": "size",
|
12629
|
+
"reflects": true
|
12561
12630
|
},
|
12562
12631
|
{
|
12563
|
-
"
|
12564
|
-
"name": "
|
12632
|
+
"kind": "method",
|
12633
|
+
"name": "getIconSize",
|
12634
|
+
"privacy": "private",
|
12635
|
+
"return": {
|
12636
|
+
"type": {
|
12637
|
+
"text": ""
|
12638
|
+
}
|
12639
|
+
},
|
12640
|
+
"description": "Method to get the size of the trailing icon based on the link size."
|
12565
12641
|
},
|
12566
12642
|
{
|
12567
|
-
"
|
12568
|
-
"name": "
|
12643
|
+
"kind": "field",
|
12644
|
+
"name": "iconName",
|
12645
|
+
"type": {
|
12646
|
+
"text": "IconNames | undefined"
|
12647
|
+
},
|
12648
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
12649
|
+
"attribute": "icon-name",
|
12650
|
+
"inheritedFrom": {
|
12651
|
+
"name": "IconNameMixin",
|
12652
|
+
"module": "utils/mixins/IconNameMixin.js"
|
12653
|
+
}
|
12569
12654
|
},
|
12570
12655
|
{
|
12571
|
-
"
|
12572
|
-
"name": "
|
12656
|
+
"kind": "field",
|
12657
|
+
"name": "disabled",
|
12658
|
+
"type": {
|
12659
|
+
"text": "boolean | undefined"
|
12660
|
+
},
|
12661
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
12662
|
+
"default": "undefined",
|
12663
|
+
"attribute": "disabled",
|
12664
|
+
"reflects": true,
|
12665
|
+
"inheritedFrom": {
|
12666
|
+
"name": "DisabledMixin",
|
12667
|
+
"module": "utils/mixins/DisabledMixin.js"
|
12668
|
+
}
|
12573
12669
|
},
|
12574
12670
|
{
|
12575
|
-
"
|
12576
|
-
"name": "
|
12671
|
+
"kind": "field",
|
12672
|
+
"name": "tabIndex",
|
12673
|
+
"type": {
|
12674
|
+
"text": "number"
|
12675
|
+
},
|
12676
|
+
"default": "0",
|
12677
|
+
"description": "This property specifies the tab order of the element.",
|
12678
|
+
"attribute": "tabIndex",
|
12679
|
+
"reflects": true,
|
12680
|
+
"inheritedFrom": {
|
12681
|
+
"name": "TabIndexMixin",
|
12682
|
+
"module": "utils/mixins/TabIndexMixin.js"
|
12683
|
+
}
|
12577
12684
|
},
|
12578
|
-
{
|
12579
|
-
"description": "Color of the inverted link’s child content in the normal state.",
|
12580
|
-
"name": "--mdc-link-inverted-color-normal"
|
12581
|
-
}
|
12582
|
-
],
|
12583
|
-
"members": [
|
12584
12685
|
{
|
12585
12686
|
"kind": "field",
|
12586
12687
|
"name": "inline",
|
@@ -12590,7 +12691,11 @@
|
|
12590
12691
|
"description": "The link can be inline or standalone.",
|
12591
12692
|
"default": "false",
|
12592
12693
|
"attribute": "inline",
|
12593
|
-
"reflects": true
|
12694
|
+
"reflects": true,
|
12695
|
+
"inheritedFrom": {
|
12696
|
+
"name": "Linksimple",
|
12697
|
+
"module": "components/linksimple/linksimple.component.js"
|
12698
|
+
}
|
12594
12699
|
},
|
12595
12700
|
{
|
12596
12701
|
"kind": "field",
|
@@ -12601,7 +12706,11 @@
|
|
12601
12706
|
"description": "The link color can be inverted by setting the inverted attribute to true.",
|
12602
12707
|
"default": "false",
|
12603
12708
|
"attribute": "inverted",
|
12604
|
-
"reflects": true
|
12709
|
+
"reflects": true,
|
12710
|
+
"inheritedFrom": {
|
12711
|
+
"name": "Linksimple",
|
12712
|
+
"module": "components/linksimple/linksimple.component.js"
|
12713
|
+
}
|
12605
12714
|
},
|
12606
12715
|
{
|
12607
12716
|
"kind": "field",
|
@@ -12612,7 +12721,11 @@
|
|
12612
12721
|
"default": "'#'",
|
12613
12722
|
"description": "Href for navigation. The URL that the hyperlink points to",
|
12614
12723
|
"attribute": "href",
|
12615
|
-
"reflects": true
|
12724
|
+
"reflects": true,
|
12725
|
+
"inheritedFrom": {
|
12726
|
+
"name": "Linksimple",
|
12727
|
+
"module": "components/linksimple/linksimple.component.js"
|
12728
|
+
}
|
12616
12729
|
},
|
12617
12730
|
{
|
12618
12731
|
"kind": "field",
|
@@ -12623,7 +12736,11 @@
|
|
12623
12736
|
"default": "'_self'",
|
12624
12737
|
"description": "Optional target: _blank, _self, _parent, _top and _unfencedTop",
|
12625
12738
|
"attribute": "target",
|
12626
|
-
"reflects": true
|
12739
|
+
"reflects": true,
|
12740
|
+
"inheritedFrom": {
|
12741
|
+
"name": "Linksimple",
|
12742
|
+
"module": "components/linksimple/linksimple.component.js"
|
12743
|
+
}
|
12627
12744
|
},
|
12628
12745
|
{
|
12629
12746
|
"kind": "field",
|
@@ -12633,12 +12750,20 @@
|
|
12633
12750
|
},
|
12634
12751
|
"description": "Optional rel attribute that defines the relationship of the linked URL as space-separated link types.",
|
12635
12752
|
"attribute": "rel",
|
12636
|
-
"reflects": true
|
12753
|
+
"reflects": true,
|
12754
|
+
"inheritedFrom": {
|
12755
|
+
"name": "Linksimple",
|
12756
|
+
"module": "components/linksimple/linksimple.component.js"
|
12757
|
+
}
|
12637
12758
|
},
|
12638
12759
|
{
|
12639
12760
|
"kind": "field",
|
12640
12761
|
"name": "handleNavigation",
|
12641
|
-
"privacy": "private"
|
12762
|
+
"privacy": "private",
|
12763
|
+
"inheritedFrom": {
|
12764
|
+
"name": "Linksimple",
|
12765
|
+
"module": "components/linksimple/linksimple.component.js"
|
12766
|
+
}
|
12642
12767
|
},
|
12643
12768
|
{
|
12644
12769
|
"kind": "method",
|
@@ -12653,105 +12778,72 @@
|
|
12653
12778
|
"description": "Whether the element should be disabled"
|
12654
12779
|
}
|
12655
12780
|
],
|
12656
|
-
"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."
|
12657
|
-
},
|
12658
|
-
{
|
12659
|
-
"kind": "field",
|
12660
|
-
"name": "disabled",
|
12661
|
-
"type": {
|
12662
|
-
"text": "boolean | undefined"
|
12663
|
-
},
|
12664
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
12665
|
-
"default": "undefined",
|
12666
|
-
"attribute": "disabled",
|
12667
|
-
"reflects": true,
|
12668
|
-
"inheritedFrom": {
|
12669
|
-
"name": "DisabledMixin",
|
12670
|
-
"module": "utils/mixins/DisabledMixin.js"
|
12671
|
-
}
|
12672
|
-
},
|
12673
|
-
{
|
12674
|
-
"kind": "field",
|
12675
|
-
"name": "tabIndex",
|
12676
|
-
"type": {
|
12677
|
-
"text": "number"
|
12678
|
-
},
|
12679
|
-
"default": "0",
|
12680
|
-
"description": "This property specifies the tab order of the element.",
|
12681
|
-
"attribute": "tabIndex",
|
12682
|
-
"reflects": true,
|
12781
|
+
"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.",
|
12683
12782
|
"inheritedFrom": {
|
12684
|
-
"name": "
|
12685
|
-
"module": "
|
12783
|
+
"name": "Linksimple",
|
12784
|
+
"module": "components/linksimple/linksimple.component.js"
|
12686
12785
|
}
|
12687
12786
|
}
|
12688
12787
|
],
|
12689
12788
|
"events": [
|
12690
12789
|
{
|
12691
|
-
"description": "(React: onClick) Fired when the user activates the
|
12790
|
+
"description": "(React: onClick) Fired when the user activates the Link using a mouse or assistive technology.",
|
12692
12791
|
"name": "click",
|
12693
|
-
"reactName": "onClick"
|
12792
|
+
"reactName": "onClick",
|
12793
|
+
"inheritedFrom": {
|
12794
|
+
"name": "Linksimple",
|
12795
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
12796
|
+
}
|
12694
12797
|
},
|
12695
12798
|
{
|
12696
|
-
"description": "(React: onKeyDown) Fired when the user presses a key while the
|
12799
|
+
"description": "(React: onKeyDown) Fired when the user presses a key while the Link has focus.",
|
12697
12800
|
"name": "keydown",
|
12698
|
-
"reactName": "onKeyDown"
|
12801
|
+
"reactName": "onKeyDown",
|
12802
|
+
"inheritedFrom": {
|
12803
|
+
"name": "Linksimple",
|
12804
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
12805
|
+
}
|
12699
12806
|
},
|
12700
12807
|
{
|
12701
|
-
"description": "(React: onFocus) Fired when the
|
12808
|
+
"description": "(React: onFocus) Fired when the Link receives keyboard or mouse focus.",
|
12702
12809
|
"name": "focus",
|
12703
|
-
"reactName": "onFocus"
|
12810
|
+
"reactName": "onFocus",
|
12811
|
+
"inheritedFrom": {
|
12812
|
+
"name": "Linksimple",
|
12813
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
12814
|
+
}
|
12704
12815
|
},
|
12705
12816
|
{
|
12706
|
-
"description": "(React: onBlur) Fired when the
|
12817
|
+
"description": "(React: onBlur) Fired when the Link loses keyboard or mouse focus.",
|
12707
12818
|
"name": "blur",
|
12708
|
-
"reactName": "onBlur"
|
12819
|
+
"reactName": "onBlur",
|
12820
|
+
"inheritedFrom": {
|
12821
|
+
"name": "Linksimple",
|
12822
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
12823
|
+
}
|
12709
12824
|
}
|
12710
12825
|
],
|
12711
12826
|
"attributes": [
|
12712
12827
|
{
|
12713
|
-
"name": "
|
12828
|
+
"name": "size",
|
12714
12829
|
"type": {
|
12715
|
-
"text": "
|
12830
|
+
"text": "LinkSize"
|
12716
12831
|
},
|
12717
|
-
"description": "
|
12718
|
-
"default": "
|
12719
|
-
"fieldName": "
|
12832
|
+
"description": "Size of the link.\nAcceptable values include:\n\n- 'small'\n- 'midsize'\n- 'large'",
|
12833
|
+
"default": "large",
|
12834
|
+
"fieldName": "size"
|
12720
12835
|
},
|
12721
12836
|
{
|
12722
|
-
"name": "
|
12837
|
+
"name": "icon-name",
|
12723
12838
|
"type": {
|
12724
|
-
"text": "
|
12839
|
+
"text": "IconNames | undefined"
|
12725
12840
|
},
|
12726
|
-
"description": "
|
12727
|
-
"
|
12728
|
-
"
|
12729
|
-
|
12730
|
-
|
12731
|
-
|
12732
|
-
"type": {
|
12733
|
-
"text": "string"
|
12734
|
-
},
|
12735
|
-
"default": "'#'",
|
12736
|
-
"description": "Href for navigation. The URL that the hyperlink points to",
|
12737
|
-
"fieldName": "href"
|
12738
|
-
},
|
12739
|
-
{
|
12740
|
-
"name": "target",
|
12741
|
-
"type": {
|
12742
|
-
"text": "string"
|
12743
|
-
},
|
12744
|
-
"default": "'_self'",
|
12745
|
-
"description": "Optional target: _blank, _self, _parent, _top and _unfencedTop",
|
12746
|
-
"fieldName": "target"
|
12747
|
-
},
|
12748
|
-
{
|
12749
|
-
"name": "rel",
|
12750
|
-
"type": {
|
12751
|
-
"text": "string | undefined"
|
12752
|
-
},
|
12753
|
-
"description": "Optional rel attribute that defines the relationship of the linked URL as space-separated link types.",
|
12754
|
-
"fieldName": "rel"
|
12841
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
12842
|
+
"fieldName": "iconName",
|
12843
|
+
"inheritedFrom": {
|
12844
|
+
"name": "IconNameMixin",
|
12845
|
+
"module": "src/utils/mixins/IconNameMixin.ts"
|
12846
|
+
}
|
12755
12847
|
},
|
12756
12848
|
{
|
12757
12849
|
"name": "disabled",
|
@@ -12778,301 +12870,347 @@
|
|
12778
12870
|
"name": "TabIndexMixin",
|
12779
12871
|
"module": "src/utils/mixins/TabIndexMixin.ts"
|
12780
12872
|
}
|
12781
|
-
}
|
12782
|
-
],
|
12783
|
-
"mixins": [
|
12784
|
-
{
|
12785
|
-
"name": "DisabledMixin",
|
12786
|
-
"module": "/src/utils/mixins/DisabledMixin"
|
12787
|
-
},
|
12788
|
-
{
|
12789
|
-
"name": "TabIndexMixin",
|
12790
|
-
"module": "/src/utils/mixins/TabIndexMixin"
|
12791
|
-
}
|
12792
|
-
],
|
12793
|
-
"superclass": {
|
12794
|
-
"name": "Component",
|
12795
|
-
"module": "/src/models"
|
12796
|
-
},
|
12797
|
-
"tagName": "mdc-linksimple",
|
12798
|
-
"jsDoc": "/**\n * `mdc-linksimple` is a lightweight link component that can be used to navigate\n * within the application or to an external URL. It does not have any predefined default size.\n *\n * The `children` of the `mdc-linksimple` component can be customized to suit\n * different use cases, including text, icons, or other inline content. For the child to be an icon,\n * the `mdc-icon` component should be used to render.\n *\n * @tagname mdc-linksimple\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 * @cssproperty --mdc-link-border-radius - Border radius of the link.\n * @cssproperty --mdc-link-color-active - Color of the link’s child content in the active state.\n * @cssproperty --mdc-link-color-disabled - Color of the link’s child content in the disabled state.\n * @cssproperty --mdc-link-color-hover - Color of the link’s child content in the hover state.\n * @cssproperty --mdc-link-color-normal - Color of the link’s child content in the normal state.\n * @cssproperty --mdc-link-inverted-color-active - Color of the inverted link’s child content in the active state.\n * @cssproperty --mdc-link-inverted-color-disabled - Color of the inverted link’s child content in the disabled state.\n * @cssproperty --mdc-link-inverted-color-hover - Color of the inverted link’s child content in the hover state.\n * @cssproperty --mdc-link-inverted-color-normal - Color of the inverted link’s child content in the normal state.\n */",
|
12799
|
-
"customElement": true
|
12800
|
-
}
|
12801
|
-
],
|
12802
|
-
"exports": [
|
12803
|
-
{
|
12804
|
-
"kind": "js",
|
12805
|
-
"name": "default",
|
12806
|
-
"declaration": {
|
12807
|
-
"name": "Linksimple",
|
12808
|
-
"module": "components/linksimple/linksimple.component.js"
|
12809
|
-
}
|
12810
|
-
}
|
12811
|
-
]
|
12812
|
-
},
|
12813
|
-
{
|
12814
|
-
"kind": "javascript-module",
|
12815
|
-
"path": "components/link/link.component.js",
|
12816
|
-
"declarations": [
|
12817
|
-
{
|
12818
|
-
"kind": "class",
|
12819
|
-
"description": "`mdc-link` component can be used to navigate to a different page\nwithin the application or to an external site. It can be used to link to\nemails or phone numbers.\n\nThe `children` of the link component is expected to be the text content.\n\nFor `icon`, the `mdc-icon` component is used to render the icon.",
|
12820
|
-
"name": "Link",
|
12821
|
-
"members": [
|
12822
|
-
{
|
12823
|
-
"kind": "field",
|
12824
|
-
"name": "size",
|
12825
|
-
"type": {
|
12826
|
-
"text": "LinkSize"
|
12827
|
-
},
|
12828
|
-
"description": "Size of the link.\nAcceptable values include:\n\n- 'small'\n- 'midsize'\n- 'large'",
|
12829
|
-
"default": "large",
|
12830
|
-
"attribute": "size",
|
12831
|
-
"reflects": true
|
12832
12873
|
},
|
12833
12874
|
{
|
12834
|
-
"kind": "method",
|
12835
|
-
"name": "getIconSize",
|
12836
|
-
"privacy": "private",
|
12837
|
-
"return": {
|
12838
|
-
"type": {
|
12839
|
-
"text": ""
|
12840
|
-
}
|
12841
|
-
},
|
12842
|
-
"description": "Method to get the size of the trailing icon based on the link size."
|
12843
|
-
},
|
12844
|
-
{
|
12845
|
-
"kind": "field",
|
12846
|
-
"name": "iconName",
|
12847
|
-
"type": {
|
12848
|
-
"text": "IconNames | undefined"
|
12849
|
-
},
|
12850
|
-
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
12851
|
-
"attribute": "icon-name",
|
12852
|
-
"inheritedFrom": {
|
12853
|
-
"name": "IconNameMixin",
|
12854
|
-
"module": "utils/mixins/IconNameMixin.js"
|
12855
|
-
}
|
12856
|
-
},
|
12857
|
-
{
|
12858
|
-
"kind": "field",
|
12859
|
-
"name": "disabled",
|
12860
|
-
"type": {
|
12861
|
-
"text": "boolean | undefined"
|
12862
|
-
},
|
12863
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
12864
|
-
"default": "undefined",
|
12865
|
-
"attribute": "disabled",
|
12866
|
-
"reflects": true,
|
12867
|
-
"inheritedFrom": {
|
12868
|
-
"name": "Linksimple",
|
12869
|
-
"module": "components/linksimple/linksimple.component.js"
|
12870
|
-
}
|
12871
|
-
},
|
12872
|
-
{
|
12873
|
-
"kind": "field",
|
12874
|
-
"name": "tabIndex",
|
12875
|
-
"type": {
|
12876
|
-
"text": "number"
|
12877
|
-
},
|
12878
|
-
"default": "0",
|
12879
|
-
"description": "This property specifies the tab order of the element.",
|
12880
|
-
"attribute": "tabIndex",
|
12881
|
-
"reflects": true,
|
12882
|
-
"inheritedFrom": {
|
12883
|
-
"name": "Linksimple",
|
12884
|
-
"module": "components/linksimple/linksimple.component.js"
|
12885
|
-
}
|
12886
|
-
},
|
12887
|
-
{
|
12888
|
-
"kind": "field",
|
12889
12875
|
"name": "inline",
|
12890
12876
|
"type": {
|
12891
12877
|
"text": "boolean"
|
12892
12878
|
},
|
12893
12879
|
"description": "The link can be inline or standalone.",
|
12894
12880
|
"default": "false",
|
12895
|
-
"
|
12896
|
-
"reflects": true,
|
12881
|
+
"fieldName": "inline",
|
12897
12882
|
"inheritedFrom": {
|
12898
12883
|
"name": "Linksimple",
|
12899
|
-
"module": "components/linksimple/linksimple.component.
|
12884
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
12900
12885
|
}
|
12901
12886
|
},
|
12902
12887
|
{
|
12903
|
-
"kind": "field",
|
12904
12888
|
"name": "inverted",
|
12905
12889
|
"type": {
|
12906
12890
|
"text": "boolean"
|
12907
12891
|
},
|
12908
12892
|
"description": "The link color can be inverted by setting the inverted attribute to true.",
|
12909
12893
|
"default": "false",
|
12910
|
-
"
|
12911
|
-
"reflects": true,
|
12894
|
+
"fieldName": "inverted",
|
12912
12895
|
"inheritedFrom": {
|
12913
12896
|
"name": "Linksimple",
|
12914
|
-
"module": "components/linksimple/linksimple.component.
|
12897
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
12915
12898
|
}
|
12916
12899
|
},
|
12917
12900
|
{
|
12918
|
-
"kind": "field",
|
12919
12901
|
"name": "href",
|
12920
12902
|
"type": {
|
12921
12903
|
"text": "string"
|
12922
12904
|
},
|
12923
12905
|
"default": "'#'",
|
12924
12906
|
"description": "Href for navigation. The URL that the hyperlink points to",
|
12925
|
-
"
|
12926
|
-
"reflects": true,
|
12907
|
+
"fieldName": "href",
|
12927
12908
|
"inheritedFrom": {
|
12928
12909
|
"name": "Linksimple",
|
12929
|
-
"module": "components/linksimple/linksimple.component.
|
12910
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
12930
12911
|
}
|
12931
12912
|
},
|
12932
12913
|
{
|
12933
|
-
"kind": "field",
|
12934
12914
|
"name": "target",
|
12935
12915
|
"type": {
|
12936
12916
|
"text": "string"
|
12937
12917
|
},
|
12938
12918
|
"default": "'_self'",
|
12939
12919
|
"description": "Optional target: _blank, _self, _parent, _top and _unfencedTop",
|
12940
|
-
"
|
12941
|
-
"reflects": true,
|
12920
|
+
"fieldName": "target",
|
12942
12921
|
"inheritedFrom": {
|
12943
12922
|
"name": "Linksimple",
|
12944
|
-
"module": "components/linksimple/linksimple.component.
|
12923
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
12945
12924
|
}
|
12946
12925
|
},
|
12947
12926
|
{
|
12948
|
-
"kind": "field",
|
12949
12927
|
"name": "rel",
|
12950
12928
|
"type": {
|
12951
12929
|
"text": "string | undefined"
|
12952
12930
|
},
|
12953
12931
|
"description": "Optional rel attribute that defines the relationship of the linked URL as space-separated link types.",
|
12954
|
-
"
|
12955
|
-
"reflects": true,
|
12932
|
+
"fieldName": "rel",
|
12956
12933
|
"inheritedFrom": {
|
12957
12934
|
"name": "Linksimple",
|
12958
|
-
"module": "components/linksimple/linksimple.component.
|
12935
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
12936
|
+
}
|
12937
|
+
}
|
12938
|
+
],
|
12939
|
+
"mixins": [
|
12940
|
+
{
|
12941
|
+
"name": "IconNameMixin",
|
12942
|
+
"module": "/src/utils/mixins/IconNameMixin"
|
12943
|
+
}
|
12944
|
+
],
|
12945
|
+
"superclass": {
|
12946
|
+
"name": "Linksimple",
|
12947
|
+
"module": "/src/components/linksimple/linksimple.component"
|
12948
|
+
},
|
12949
|
+
"tagName": "mdc-link",
|
12950
|
+
"jsDoc": "/**\n * `mdc-link` component can be used to navigate to a different page\n * within the application or to an external site. It can be used to link to\n * emails or phone numbers.\n *\n * The `children` of the link component is expected to be the text content.\n *\n * For `icon`, the `mdc-icon` component is used to render the icon.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-link\n *\n * @event click - (React: onClick) Fired when the user activates the Link using a mouse or assistive technology.\n * @event keydown - (React: onKeyDown) Fired when the user presses a key while the Link has focus.\n * @event focus - (React: onFocus) Fired when the Link receives keyboard or mouse focus.\n * @event blur - (React: onBlur) Fired when the Link loses keyboard or mouse focus.\n */",
|
12951
|
+
"customElement": true,
|
12952
|
+
"cssProperties": [
|
12953
|
+
{
|
12954
|
+
"description": "Border radius of the link.",
|
12955
|
+
"name": "--mdc-link-border-radius",
|
12956
|
+
"inheritedFrom": {
|
12957
|
+
"name": "Linksimple",
|
12958
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
12959
12959
|
}
|
12960
12960
|
},
|
12961
12961
|
{
|
12962
|
-
"
|
12963
|
-
"name": "
|
12964
|
-
"privacy": "private",
|
12962
|
+
"description": "Color of the link’s child content in the active state.",
|
12963
|
+
"name": "--mdc-link-color-active",
|
12965
12964
|
"inheritedFrom": {
|
12966
12965
|
"name": "Linksimple",
|
12967
|
-
"module": "components/linksimple/linksimple.component.
|
12966
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
12968
12967
|
}
|
12969
12968
|
},
|
12970
12969
|
{
|
12971
|
-
"
|
12972
|
-
"name": "
|
12973
|
-
"privacy": "private",
|
12974
|
-
"parameters": [
|
12975
|
-
{
|
12976
|
-
"name": "disabled",
|
12977
|
-
"type": {
|
12978
|
-
"text": "boolean"
|
12979
|
-
},
|
12980
|
-
"description": "Whether the element should be disabled"
|
12981
|
-
}
|
12982
|
-
],
|
12983
|
-
"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.",
|
12970
|
+
"description": "Color of the link’s child content in the disabled state.",
|
12971
|
+
"name": "--mdc-link-color-disabled",
|
12984
12972
|
"inheritedFrom": {
|
12985
12973
|
"name": "Linksimple",
|
12986
|
-
"module": "components/linksimple/linksimple.component.
|
12974
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
12987
12975
|
}
|
12988
|
-
}
|
12989
|
-
],
|
12990
|
-
"events": [
|
12976
|
+
},
|
12991
12977
|
{
|
12992
|
-
"description": "
|
12993
|
-
"name": "
|
12994
|
-
"reactName": "onClick",
|
12978
|
+
"description": "Color of the link’s child content in the hover state.",
|
12979
|
+
"name": "--mdc-link-color-hover",
|
12995
12980
|
"inheritedFrom": {
|
12996
12981
|
"name": "Linksimple",
|
12997
12982
|
"module": "src/components/linksimple/linksimple.component.ts"
|
12998
12983
|
}
|
12999
12984
|
},
|
13000
12985
|
{
|
13001
|
-
"description": "
|
13002
|
-
"name": "
|
13003
|
-
"reactName": "onKeyDown",
|
12986
|
+
"description": "Color of the link’s child content in the normal state.",
|
12987
|
+
"name": "--mdc-link-color-normal",
|
13004
12988
|
"inheritedFrom": {
|
13005
12989
|
"name": "Linksimple",
|
13006
12990
|
"module": "src/components/linksimple/linksimple.component.ts"
|
13007
12991
|
}
|
13008
12992
|
},
|
13009
12993
|
{
|
13010
|
-
"description": "
|
13011
|
-
"name": "
|
13012
|
-
"reactName": "onFocus",
|
12994
|
+
"description": "Color of the inverted link’s child content in the active state.",
|
12995
|
+
"name": "--mdc-link-inverted-color-active",
|
13013
12996
|
"inheritedFrom": {
|
13014
12997
|
"name": "Linksimple",
|
13015
12998
|
"module": "src/components/linksimple/linksimple.component.ts"
|
13016
12999
|
}
|
13017
13000
|
},
|
13018
13001
|
{
|
13019
|
-
"description": "
|
13020
|
-
"name": "
|
13021
|
-
"reactName": "onBlur",
|
13002
|
+
"description": "Color of the inverted link’s child content in the disabled state.",
|
13003
|
+
"name": "--mdc-link-inverted-color-disabled",
|
13022
13004
|
"inheritedFrom": {
|
13023
13005
|
"name": "Linksimple",
|
13024
13006
|
"module": "src/components/linksimple/linksimple.component.ts"
|
13025
13007
|
}
|
13008
|
+
},
|
13009
|
+
{
|
13010
|
+
"description": "Color of the inverted link’s child content in the hover state.",
|
13011
|
+
"name": "--mdc-link-inverted-color-hover",
|
13012
|
+
"inheritedFrom": {
|
13013
|
+
"name": "Linksimple",
|
13014
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
13015
|
+
}
|
13016
|
+
},
|
13017
|
+
{
|
13018
|
+
"description": "Color of the inverted link’s child content in the normal state.",
|
13019
|
+
"name": "--mdc-link-inverted-color-normal",
|
13020
|
+
"inheritedFrom": {
|
13021
|
+
"name": "Linksimple",
|
13022
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
13023
|
+
}
|
13024
|
+
}
|
13025
|
+
]
|
13026
|
+
}
|
13027
|
+
],
|
13028
|
+
"exports": [
|
13029
|
+
{
|
13030
|
+
"kind": "js",
|
13031
|
+
"name": "default",
|
13032
|
+
"declaration": {
|
13033
|
+
"name": "Link",
|
13034
|
+
"module": "components/link/link.component.js"
|
13035
|
+
}
|
13036
|
+
}
|
13037
|
+
]
|
13038
|
+
},
|
13039
|
+
{
|
13040
|
+
"kind": "javascript-module",
|
13041
|
+
"path": "components/linksimple/linksimple.component.js",
|
13042
|
+
"declarations": [
|
13043
|
+
{
|
13044
|
+
"kind": "class",
|
13045
|
+
"description": "`mdc-linksimple` is a lightweight link component that can be used to navigate\nwithin the application or to an external URL. It does not have any predefined default size.\n\nThe `children` of the `mdc-linksimple` component can be customized to suit\ndifferent use cases, including text, icons, or other inline content. For the child to be an icon,\nthe `mdc-icon` component should be used to render.",
|
13046
|
+
"name": "Linksimple",
|
13047
|
+
"cssProperties": [
|
13048
|
+
{
|
13049
|
+
"description": "Border radius of the link.",
|
13050
|
+
"name": "--mdc-link-border-radius"
|
13051
|
+
},
|
13052
|
+
{
|
13053
|
+
"description": "Color of the link’s child content in the active state.",
|
13054
|
+
"name": "--mdc-link-color-active"
|
13055
|
+
},
|
13056
|
+
{
|
13057
|
+
"description": "Color of the link’s child content in the disabled state.",
|
13058
|
+
"name": "--mdc-link-color-disabled"
|
13059
|
+
},
|
13060
|
+
{
|
13061
|
+
"description": "Color of the link’s child content in the hover state.",
|
13062
|
+
"name": "--mdc-link-color-hover"
|
13063
|
+
},
|
13064
|
+
{
|
13065
|
+
"description": "Color of the link’s child content in the normal state.",
|
13066
|
+
"name": "--mdc-link-color-normal"
|
13067
|
+
},
|
13068
|
+
{
|
13069
|
+
"description": "Color of the inverted link’s child content in the active state.",
|
13070
|
+
"name": "--mdc-link-inverted-color-active"
|
13071
|
+
},
|
13072
|
+
{
|
13073
|
+
"description": "Color of the inverted link’s child content in the disabled state.",
|
13074
|
+
"name": "--mdc-link-inverted-color-disabled"
|
13075
|
+
},
|
13076
|
+
{
|
13077
|
+
"description": "Color of the inverted link’s child content in the hover state.",
|
13078
|
+
"name": "--mdc-link-inverted-color-hover"
|
13079
|
+
},
|
13080
|
+
{
|
13081
|
+
"description": "Color of the inverted link’s child content in the normal state.",
|
13082
|
+
"name": "--mdc-link-inverted-color-normal"
|
13026
13083
|
}
|
13027
13084
|
],
|
13028
|
-
"
|
13085
|
+
"members": [
|
13086
|
+
{
|
13087
|
+
"kind": "field",
|
13088
|
+
"name": "inline",
|
13089
|
+
"type": {
|
13090
|
+
"text": "boolean"
|
13091
|
+
},
|
13092
|
+
"description": "The link can be inline or standalone.",
|
13093
|
+
"default": "false",
|
13094
|
+
"attribute": "inline",
|
13095
|
+
"reflects": true
|
13096
|
+
},
|
13097
|
+
{
|
13098
|
+
"kind": "field",
|
13099
|
+
"name": "inverted",
|
13100
|
+
"type": {
|
13101
|
+
"text": "boolean"
|
13102
|
+
},
|
13103
|
+
"description": "The link color can be inverted by setting the inverted attribute to true.",
|
13104
|
+
"default": "false",
|
13105
|
+
"attribute": "inverted",
|
13106
|
+
"reflects": true
|
13107
|
+
},
|
13108
|
+
{
|
13109
|
+
"kind": "field",
|
13110
|
+
"name": "href",
|
13111
|
+
"type": {
|
13112
|
+
"text": "string"
|
13113
|
+
},
|
13114
|
+
"default": "'#'",
|
13115
|
+
"description": "Href for navigation. The URL that the hyperlink points to",
|
13116
|
+
"attribute": "href",
|
13117
|
+
"reflects": true
|
13118
|
+
},
|
13029
13119
|
{
|
13030
|
-
"
|
13120
|
+
"kind": "field",
|
13121
|
+
"name": "target",
|
13031
13122
|
"type": {
|
13032
|
-
"text": "
|
13123
|
+
"text": "string"
|
13033
13124
|
},
|
13034
|
-
"
|
13035
|
-
"
|
13036
|
-
"
|
13125
|
+
"default": "'_self'",
|
13126
|
+
"description": "Optional target: _blank, _self, _parent, _top and _unfencedTop",
|
13127
|
+
"attribute": "target",
|
13128
|
+
"reflects": true
|
13037
13129
|
},
|
13038
13130
|
{
|
13039
|
-
"
|
13131
|
+
"kind": "field",
|
13132
|
+
"name": "rel",
|
13040
13133
|
"type": {
|
13041
|
-
"text": "
|
13134
|
+
"text": "string | undefined"
|
13042
13135
|
},
|
13043
|
-
"description": "
|
13044
|
-
"
|
13045
|
-
"
|
13046
|
-
|
13047
|
-
|
13048
|
-
|
13136
|
+
"description": "Optional rel attribute that defines the relationship of the linked URL as space-separated link types.",
|
13137
|
+
"attribute": "rel",
|
13138
|
+
"reflects": true
|
13139
|
+
},
|
13140
|
+
{
|
13141
|
+
"kind": "field",
|
13142
|
+
"name": "handleNavigation",
|
13143
|
+
"privacy": "private"
|
13144
|
+
},
|
13145
|
+
{
|
13146
|
+
"kind": "method",
|
13147
|
+
"name": "setDisabled",
|
13148
|
+
"privacy": "private",
|
13149
|
+
"parameters": [
|
13150
|
+
{
|
13151
|
+
"name": "disabled",
|
13152
|
+
"type": {
|
13153
|
+
"text": "boolean"
|
13154
|
+
},
|
13155
|
+
"description": "Whether the element should be disabled"
|
13156
|
+
}
|
13157
|
+
],
|
13158
|
+
"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."
|
13049
13159
|
},
|
13050
13160
|
{
|
13161
|
+
"kind": "field",
|
13051
13162
|
"name": "disabled",
|
13052
13163
|
"type": {
|
13053
13164
|
"text": "boolean | undefined"
|
13054
13165
|
},
|
13055
13166
|
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
13056
13167
|
"default": "undefined",
|
13057
|
-
"
|
13168
|
+
"attribute": "disabled",
|
13169
|
+
"reflects": true,
|
13058
13170
|
"inheritedFrom": {
|
13059
|
-
"name": "
|
13060
|
-
"module": "
|
13171
|
+
"name": "DisabledMixin",
|
13172
|
+
"module": "utils/mixins/DisabledMixin.js"
|
13061
13173
|
}
|
13062
13174
|
},
|
13063
13175
|
{
|
13176
|
+
"kind": "field",
|
13064
13177
|
"name": "tabIndex",
|
13065
13178
|
"type": {
|
13066
13179
|
"text": "number"
|
13067
13180
|
},
|
13068
13181
|
"default": "0",
|
13069
13182
|
"description": "This property specifies the tab order of the element.",
|
13070
|
-
"
|
13183
|
+
"attribute": "tabIndex",
|
13184
|
+
"reflects": true,
|
13071
13185
|
"inheritedFrom": {
|
13072
|
-
"name": "
|
13073
|
-
"module": "
|
13186
|
+
"name": "TabIndexMixin",
|
13187
|
+
"module": "utils/mixins/TabIndexMixin.js"
|
13074
13188
|
}
|
13189
|
+
}
|
13190
|
+
],
|
13191
|
+
"events": [
|
13192
|
+
{
|
13193
|
+
"description": "(React: onClick) Fired when the user activates the buttonLink using a mouse or assistive technology.",
|
13194
|
+
"name": "click",
|
13195
|
+
"reactName": "onClick"
|
13196
|
+
},
|
13197
|
+
{
|
13198
|
+
"description": "(React: onKeyDown) Fired when the user presses a key while the buttonLink has focus.",
|
13199
|
+
"name": "keydown",
|
13200
|
+
"reactName": "onKeyDown"
|
13201
|
+
},
|
13202
|
+
{
|
13203
|
+
"description": "(React: onFocus) Fired when the buttonLink receives keyboard or mouse focus.",
|
13204
|
+
"name": "focus",
|
13205
|
+
"reactName": "onFocus"
|
13075
13206
|
},
|
13207
|
+
{
|
13208
|
+
"description": "(React: onBlur) Fired when the buttonLink loses keyboard or mouse focus.",
|
13209
|
+
"name": "blur",
|
13210
|
+
"reactName": "onBlur"
|
13211
|
+
}
|
13212
|
+
],
|
13213
|
+
"attributes": [
|
13076
13214
|
{
|
13077
13215
|
"name": "inline",
|
13078
13216
|
"type": {
|
@@ -13080,11 +13218,7 @@
|
|
13080
13218
|
},
|
13081
13219
|
"description": "The link can be inline or standalone.",
|
13082
13220
|
"default": "false",
|
13083
|
-
"fieldName": "inline"
|
13084
|
-
"inheritedFrom": {
|
13085
|
-
"name": "Linksimple",
|
13086
|
-
"module": "src/components/linksimple/linksimple.component.ts"
|
13087
|
-
}
|
13221
|
+
"fieldName": "inline"
|
13088
13222
|
},
|
13089
13223
|
{
|
13090
13224
|
"name": "inverted",
|
@@ -13093,11 +13227,7 @@
|
|
13093
13227
|
},
|
13094
13228
|
"description": "The link color can be inverted by setting the inverted attribute to true.",
|
13095
13229
|
"default": "false",
|
13096
|
-
"fieldName": "inverted"
|
13097
|
-
"inheritedFrom": {
|
13098
|
-
"name": "Linksimple",
|
13099
|
-
"module": "src/components/linksimple/linksimple.component.ts"
|
13100
|
-
}
|
13230
|
+
"fieldName": "inverted"
|
13101
13231
|
},
|
13102
13232
|
{
|
13103
13233
|
"name": "href",
|
@@ -13106,11 +13236,7 @@
|
|
13106
13236
|
},
|
13107
13237
|
"default": "'#'",
|
13108
13238
|
"description": "Href for navigation. The URL that the hyperlink points to",
|
13109
|
-
"fieldName": "href"
|
13110
|
-
"inheritedFrom": {
|
13111
|
-
"name": "Linksimple",
|
13112
|
-
"module": "src/components/linksimple/linksimple.component.ts"
|
13113
|
-
}
|
13239
|
+
"fieldName": "href"
|
13114
13240
|
},
|
13115
13241
|
{
|
13116
13242
|
"name": "target",
|
@@ -13119,11 +13245,7 @@
|
|
13119
13245
|
},
|
13120
13246
|
"default": "'_self'",
|
13121
13247
|
"description": "Optional target: _blank, _self, _parent, _top and _unfencedTop",
|
13122
|
-
"fieldName": "target"
|
13123
|
-
"inheritedFrom": {
|
13124
|
-
"name": "Linksimple",
|
13125
|
-
"module": "src/components/linksimple/linksimple.component.ts"
|
13126
|
-
}
|
13248
|
+
"fieldName": "target"
|
13127
13249
|
},
|
13128
13250
|
{
|
13129
13251
|
"name": "rel",
|
@@ -13131,100 +13253,52 @@
|
|
13131
13253
|
"text": "string | undefined"
|
13132
13254
|
},
|
13133
13255
|
"description": "Optional rel attribute that defines the relationship of the linked URL as space-separated link types.",
|
13134
|
-
"fieldName": "rel"
|
13135
|
-
"inheritedFrom": {
|
13136
|
-
"name": "Linksimple",
|
13137
|
-
"module": "src/components/linksimple/linksimple.component.ts"
|
13138
|
-
}
|
13139
|
-
}
|
13140
|
-
],
|
13141
|
-
"mixins": [
|
13142
|
-
{
|
13143
|
-
"name": "IconNameMixin",
|
13144
|
-
"module": "/src/utils/mixins/IconNameMixin"
|
13145
|
-
}
|
13146
|
-
],
|
13147
|
-
"superclass": {
|
13148
|
-
"name": "Linksimple",
|
13149
|
-
"module": "/src/components/linksimple/linksimple.component"
|
13150
|
-
},
|
13151
|
-
"tagName": "mdc-link",
|
13152
|
-
"jsDoc": "/**\n * `mdc-link` component can be used to navigate to a different page\n * within the application or to an external site. It can be used to link to\n * emails or phone numbers.\n *\n * The `children` of the link component is expected to be the text content.\n *\n * For `icon`, the `mdc-icon` component is used to render the icon.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-link\n *\n * @event click - (React: onClick) Fired when the user activates the Link using a mouse or assistive technology.\n * @event keydown - (React: onKeyDown) Fired when the user presses a key while the Link has focus.\n * @event focus - (React: onFocus) Fired when the Link receives keyboard or mouse focus.\n * @event blur - (React: onBlur) Fired when the Link loses keyboard or mouse focus.\n */",
|
13153
|
-
"customElement": true,
|
13154
|
-
"cssProperties": [
|
13155
|
-
{
|
13156
|
-
"description": "Border radius of the link.",
|
13157
|
-
"name": "--mdc-link-border-radius",
|
13158
|
-
"inheritedFrom": {
|
13159
|
-
"name": "Linksimple",
|
13160
|
-
"module": "src/components/linksimple/linksimple.component.ts"
|
13161
|
-
}
|
13162
|
-
},
|
13163
|
-
{
|
13164
|
-
"description": "Color of the link’s child content in the active state.",
|
13165
|
-
"name": "--mdc-link-color-active",
|
13166
|
-
"inheritedFrom": {
|
13167
|
-
"name": "Linksimple",
|
13168
|
-
"module": "src/components/linksimple/linksimple.component.ts"
|
13169
|
-
}
|
13170
|
-
},
|
13171
|
-
{
|
13172
|
-
"description": "Color of the link’s child content in the disabled state.",
|
13173
|
-
"name": "--mdc-link-color-disabled",
|
13174
|
-
"inheritedFrom": {
|
13175
|
-
"name": "Linksimple",
|
13176
|
-
"module": "src/components/linksimple/linksimple.component.ts"
|
13177
|
-
}
|
13178
|
-
},
|
13179
|
-
{
|
13180
|
-
"description": "Color of the link’s child content in the hover state.",
|
13181
|
-
"name": "--mdc-link-color-hover",
|
13182
|
-
"inheritedFrom": {
|
13183
|
-
"name": "Linksimple",
|
13184
|
-
"module": "src/components/linksimple/linksimple.component.ts"
|
13185
|
-
}
|
13186
|
-
},
|
13187
|
-
{
|
13188
|
-
"description": "Color of the link’s child content in the normal state.",
|
13189
|
-
"name": "--mdc-link-color-normal",
|
13190
|
-
"inheritedFrom": {
|
13191
|
-
"name": "Linksimple",
|
13192
|
-
"module": "src/components/linksimple/linksimple.component.ts"
|
13193
|
-
}
|
13256
|
+
"fieldName": "rel"
|
13194
13257
|
},
|
13195
13258
|
{
|
13196
|
-
"
|
13197
|
-
"
|
13259
|
+
"name": "disabled",
|
13260
|
+
"type": {
|
13261
|
+
"text": "boolean | undefined"
|
13262
|
+
},
|
13263
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
13264
|
+
"default": "undefined",
|
13265
|
+
"fieldName": "disabled",
|
13198
13266
|
"inheritedFrom": {
|
13199
|
-
"name": "
|
13200
|
-
"module": "src/
|
13267
|
+
"name": "DisabledMixin",
|
13268
|
+
"module": "src/utils/mixins/DisabledMixin.ts"
|
13201
13269
|
}
|
13202
13270
|
},
|
13203
13271
|
{
|
13204
|
-
"
|
13205
|
-
"
|
13272
|
+
"name": "tabIndex",
|
13273
|
+
"type": {
|
13274
|
+
"text": "number"
|
13275
|
+
},
|
13276
|
+
"default": "0",
|
13277
|
+
"description": "This property specifies the tab order of the element.",
|
13278
|
+
"fieldName": "tabIndex",
|
13206
13279
|
"inheritedFrom": {
|
13207
|
-
"name": "
|
13208
|
-
"module": "src/
|
13280
|
+
"name": "TabIndexMixin",
|
13281
|
+
"module": "src/utils/mixins/TabIndexMixin.ts"
|
13209
13282
|
}
|
13210
|
-
}
|
13283
|
+
}
|
13284
|
+
],
|
13285
|
+
"mixins": [
|
13211
13286
|
{
|
13212
|
-
"
|
13213
|
-
"
|
13214
|
-
"inheritedFrom": {
|
13215
|
-
"name": "Linksimple",
|
13216
|
-
"module": "src/components/linksimple/linksimple.component.ts"
|
13217
|
-
}
|
13287
|
+
"name": "DisabledMixin",
|
13288
|
+
"module": "/src/utils/mixins/DisabledMixin"
|
13218
13289
|
},
|
13219
13290
|
{
|
13220
|
-
"
|
13221
|
-
"
|
13222
|
-
"inheritedFrom": {
|
13223
|
-
"name": "Linksimple",
|
13224
|
-
"module": "src/components/linksimple/linksimple.component.ts"
|
13225
|
-
}
|
13291
|
+
"name": "TabIndexMixin",
|
13292
|
+
"module": "/src/utils/mixins/TabIndexMixin"
|
13226
13293
|
}
|
13227
|
-
]
|
13294
|
+
],
|
13295
|
+
"superclass": {
|
13296
|
+
"name": "Component",
|
13297
|
+
"module": "/src/models"
|
13298
|
+
},
|
13299
|
+
"tagName": "mdc-linksimple",
|
13300
|
+
"jsDoc": "/**\n * `mdc-linksimple` is a lightweight link component that can be used to navigate\n * within the application or to an external URL. It does not have any predefined default size.\n *\n * The `children` of the `mdc-linksimple` component can be customized to suit\n * different use cases, including text, icons, or other inline content. For the child to be an icon,\n * the `mdc-icon` component should be used to render.\n *\n * @tagname mdc-linksimple\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 * @cssproperty --mdc-link-border-radius - Border radius of the link.\n * @cssproperty --mdc-link-color-active - Color of the link’s child content in the active state.\n * @cssproperty --mdc-link-color-disabled - Color of the link’s child content in the disabled state.\n * @cssproperty --mdc-link-color-hover - Color of the link’s child content in the hover state.\n * @cssproperty --mdc-link-color-normal - Color of the link’s child content in the normal state.\n * @cssproperty --mdc-link-inverted-color-active - Color of the inverted link’s child content in the active state.\n * @cssproperty --mdc-link-inverted-color-disabled - Color of the inverted link’s child content in the disabled state.\n * @cssproperty --mdc-link-inverted-color-hover - Color of the inverted link’s child content in the hover state.\n * @cssproperty --mdc-link-inverted-color-normal - Color of the inverted link’s child content in the normal state.\n */",
|
13301
|
+
"customElement": true
|
13228
13302
|
}
|
13229
13303
|
],
|
13230
13304
|
"exports": [
|
@@ -13232,8 +13306,8 @@
|
|
13232
13306
|
"kind": "js",
|
13233
13307
|
"name": "default",
|
13234
13308
|
"declaration": {
|
13235
|
-
"name": "
|
13236
|
-
"module": "components/
|
13309
|
+
"name": "Linksimple",
|
13310
|
+
"module": "components/linksimple/linksimple.component.js"
|
13237
13311
|
}
|
13238
13312
|
}
|
13239
13313
|
]
|
@@ -29802,7 +29876,8 @@
|
|
29802
29876
|
},
|
29803
29877
|
"default": "''",
|
29804
29878
|
"description": "The title of the card - part of header section",
|
29805
|
-
"attribute": "card-title"
|
29879
|
+
"attribute": "card-title",
|
29880
|
+
"reflects": true
|
29806
29881
|
},
|
29807
29882
|
{
|
29808
29883
|
"kind": "field",
|
@@ -29812,7 +29887,8 @@
|
|
29812
29887
|
},
|
29813
29888
|
"default": "''",
|
29814
29889
|
"description": "The subtitle of the card - part of header section",
|
29815
|
-
"attribute": "subtitle"
|
29890
|
+
"attribute": "subtitle",
|
29891
|
+
"reflects": true
|
29816
29892
|
},
|
29817
29893
|
{
|
29818
29894
|
"kind": "field",
|
@@ -29822,7 +29898,8 @@
|
|
29822
29898
|
},
|
29823
29899
|
"default": "''",
|
29824
29900
|
"description": "The image source URL to render on the card",
|
29825
|
-
"attribute": "image-src"
|
29901
|
+
"attribute": "image-src",
|
29902
|
+
"reflects": true
|
29826
29903
|
},
|
29827
29904
|
{
|
29828
29905
|
"kind": "field",
|
@@ -29832,7 +29909,8 @@
|
|
29832
29909
|
},
|
29833
29910
|
"default": "''",
|
29834
29911
|
"description": "The image alt for accessibility support",
|
29835
|
-
"attribute": "image-alt"
|
29912
|
+
"attribute": "image-alt",
|
29913
|
+
"reflects": true
|
29836
29914
|
},
|
29837
29915
|
{
|
29838
29916
|
"kind": "field",
|
@@ -29842,7 +29920,8 @@
|
|
29842
29920
|
},
|
29843
29921
|
"description": "The variant of the card. It can either be set to 'border' or 'ghost'",
|
29844
29922
|
"default": "'border'",
|
29845
|
-
"attribute": "variant"
|
29923
|
+
"attribute": "variant",
|
29924
|
+
"reflects": true
|
29846
29925
|
},
|
29847
29926
|
{
|
29848
29927
|
"kind": "field",
|
@@ -29863,7 +29942,8 @@
|
|
29863
29942
|
},
|
29864
29943
|
"description": "The tag name for the card title. It supports all the types that `msc-text` supports",
|
29865
29944
|
"default": "'span'",
|
29866
|
-
"attribute": "title-tag-name"
|
29945
|
+
"attribute": "title-tag-name",
|
29946
|
+
"reflects": true
|
29867
29947
|
},
|
29868
29948
|
{
|
29869
29949
|
"kind": "field",
|
@@ -29873,7 +29953,8 @@
|
|
29873
29953
|
},
|
29874
29954
|
"description": "The tag name for the subtitle. It supports all the types that `msc-text` supports",
|
29875
29955
|
"default": "'span'",
|
29876
|
-
"attribute": "subtitle-tag-name"
|
29956
|
+
"attribute": "subtitle-tag-name",
|
29957
|
+
"reflects": true
|
29877
29958
|
},
|
29878
29959
|
{
|
29879
29960
|
"kind": "field",
|
@@ -29882,7 +29963,8 @@
|
|
29882
29963
|
"text": "IconNames | undefined"
|
29883
29964
|
},
|
29884
29965
|
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
29885
|
-
"attribute": "icon-name"
|
29966
|
+
"attribute": "icon-name",
|
29967
|
+
"reflects": true
|
29886
29968
|
},
|
29887
29969
|
{
|
29888
29970
|
"kind": "method",
|