@momentum-design/components 0.70.2 → 0.70.3
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 +84 -79
- package/dist/browser/index.js.map +2 -2
- package/dist/components/select/select.component.d.ts +3 -0
- package/dist/components/select/select.component.js +9 -0
- package/dist/components/select/select.styles.js +4 -0
- package/dist/custom-elements.json +1004 -1004
- package/dist/react/index.d.ts +3 -3
- package/dist/react/index.js +3 -3
- package/package.json +1 -1
@@ -1439,6 +1439,110 @@
|
|
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
|
+
},
|
1442
1546
|
{
|
1443
1547
|
"kind": "javascript-module",
|
1444
1548
|
"path": "components/badge/badge.component.js",
|
@@ -1760,110 +1864,6 @@
|
|
1760
1864
|
}
|
1761
1865
|
]
|
1762
1866
|
},
|
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",
|
@@ -3566,13 +3566,37 @@
|
|
3566
3566
|
},
|
3567
3567
|
{
|
3568
3568
|
"kind": "javascript-module",
|
3569
|
-
"path": "components/
|
3569
|
+
"path": "components/card/card.component.js",
|
3570
3570
|
"declarations": [
|
3571
3571
|
{
|
3572
3572
|
"kind": "class",
|
3573
|
-
"description": "
|
3574
|
-
"name": "
|
3573
|
+
"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.\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\n`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'.",
|
3574
|
+
"name": "Card",
|
3575
3575
|
"slots": [
|
3576
|
+
{
|
3577
|
+
"description": "This slot is for passing the content before the body",
|
3578
|
+
"name": "before-body"
|
3579
|
+
},
|
3580
|
+
{
|
3581
|
+
"description": "This slot is for passing the text content for the card",
|
3582
|
+
"name": "body"
|
3583
|
+
},
|
3584
|
+
{
|
3585
|
+
"description": "This slot is for passing the content after the body",
|
3586
|
+
"name": "after-body"
|
3587
|
+
},
|
3588
|
+
{
|
3589
|
+
"description": "This slot is for passing `mdc-link` component within the footer section.",
|
3590
|
+
"name": "footer-link"
|
3591
|
+
},
|
3592
|
+
{
|
3593
|
+
"description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
|
3594
|
+
"name": "footer-button-primary"
|
3595
|
+
},
|
3596
|
+
{
|
3597
|
+
"description": "This slot is for passing secondary variant of `mdc-button` component within the footer section.",
|
3598
|
+
"name": "footer-button-secondary"
|
3599
|
+
},
|
3576
3600
|
{
|
3577
3601
|
"description": "This slot is for passing the content before the body",
|
3578
3602
|
"name": "before-body"
|
@@ -3770,794 +3794,673 @@
|
|
3770
3794
|
}
|
3771
3795
|
},
|
3772
3796
|
{
|
3773
|
-
"kind": "
|
3774
|
-
"name": "
|
3775
|
-
"
|
3776
|
-
|
3797
|
+
"kind": "method",
|
3798
|
+
"name": "renderFooter",
|
3799
|
+
"privacy": "protected",
|
3800
|
+
"description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
|
3801
|
+
"return": {
|
3802
|
+
"type": {
|
3803
|
+
"text": ""
|
3804
|
+
}
|
3777
3805
|
},
|
3778
|
-
"default": "0",
|
3779
|
-
"description": "This property specifies the tab order of the element.",
|
3780
|
-
"attribute": "tabIndex",
|
3781
|
-
"reflects": true,
|
3782
3806
|
"inheritedFrom": {
|
3783
|
-
"name": "
|
3784
|
-
"module": "
|
3807
|
+
"name": "CardAndDialogFooterMixin",
|
3808
|
+
"module": "utils/mixins/CardAndDialogFooterMixin.js"
|
3785
3809
|
}
|
3810
|
+
}
|
3811
|
+
],
|
3812
|
+
"mixins": [
|
3813
|
+
{
|
3814
|
+
"name": "CardComponentMixin",
|
3815
|
+
"module": "/src/utils/mixins/CardComponentMixin"
|
3786
3816
|
},
|
3787
3817
|
{
|
3788
|
-
"
|
3789
|
-
"
|
3818
|
+
"name": "CardAndDialogFooterMixin",
|
3819
|
+
"module": "/src/utils/mixins/CardAndDialogFooterMixin"
|
3820
|
+
}
|
3821
|
+
],
|
3822
|
+
"superclass": {
|
3823
|
+
"name": "Component",
|
3824
|
+
"module": "/src/models"
|
3825
|
+
},
|
3826
|
+
"tagName": "mdc-card",
|
3827
|
+
"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.\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\n * `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 *\n * @tagname mdc-card\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n *\n */",
|
3828
|
+
"customElement": true,
|
3829
|
+
"attributes": [
|
3830
|
+
{
|
3831
|
+
"name": "card-title",
|
3790
3832
|
"type": {
|
3791
|
-
"text": "
|
3833
|
+
"text": "string"
|
3792
3834
|
},
|
3793
|
-
"
|
3794
|
-
"
|
3795
|
-
"
|
3796
|
-
"reflects": true,
|
3835
|
+
"default": "''",
|
3836
|
+
"description": "The title of the card - part of header section",
|
3837
|
+
"fieldName": "cardTitle",
|
3797
3838
|
"inheritedFrom": {
|
3798
|
-
"name": "
|
3799
|
-
"module": "
|
3839
|
+
"name": "CardComponentMixin",
|
3840
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
3800
3841
|
}
|
3801
3842
|
},
|
3802
3843
|
{
|
3803
|
-
"
|
3804
|
-
"name": "active",
|
3844
|
+
"name": "subtitle",
|
3805
3845
|
"type": {
|
3806
|
-
"text": "
|
3846
|
+
"text": "string"
|
3807
3847
|
},
|
3808
|
-
"
|
3809
|
-
"
|
3810
|
-
"
|
3811
|
-
"reflects": true,
|
3848
|
+
"default": "''",
|
3849
|
+
"description": "The subtitle of the card - part of header section",
|
3850
|
+
"fieldName": "subtitle",
|
3812
3851
|
"inheritedFrom": {
|
3813
|
-
"name": "
|
3814
|
-
"module": "
|
3852
|
+
"name": "CardComponentMixin",
|
3853
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
3815
3854
|
}
|
3816
3855
|
},
|
3817
3856
|
{
|
3818
|
-
"
|
3819
|
-
"name": "softDisabled",
|
3857
|
+
"name": "image-src",
|
3820
3858
|
"type": {
|
3821
|
-
"text": "
|
3859
|
+
"text": "string"
|
3822
3860
|
},
|
3823
|
-
"
|
3824
|
-
"
|
3825
|
-
"
|
3826
|
-
"reflects": true,
|
3861
|
+
"default": "''",
|
3862
|
+
"description": "The image source URL to render on the card",
|
3863
|
+
"fieldName": "imageSrc",
|
3827
3864
|
"inheritedFrom": {
|
3828
|
-
"name": "
|
3829
|
-
"module": "
|
3865
|
+
"name": "CardComponentMixin",
|
3866
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
3830
3867
|
}
|
3831
3868
|
},
|
3832
3869
|
{
|
3833
|
-
"
|
3834
|
-
"name": "size",
|
3870
|
+
"name": "image-alt",
|
3835
3871
|
"type": {
|
3836
|
-
"text": "
|
3872
|
+
"text": "string"
|
3837
3873
|
},
|
3838
|
-
"
|
3839
|
-
"
|
3840
|
-
"
|
3841
|
-
"reflects": true,
|
3842
|
-
"inheritedFrom": {
|
3843
|
-
"name": "Buttonsimple",
|
3844
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
3845
|
-
}
|
3846
|
-
},
|
3847
|
-
{
|
3848
|
-
"kind": "field",
|
3849
|
-
"name": "role",
|
3850
|
-
"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.",
|
3851
|
-
"default": "button",
|
3852
|
-
"attribute": "role",
|
3853
|
-
"reflects": true,
|
3874
|
+
"default": "''",
|
3875
|
+
"description": "The image alt for accessibility support",
|
3876
|
+
"fieldName": "imageAlt",
|
3854
3877
|
"inheritedFrom": {
|
3855
|
-
"name": "
|
3856
|
-
"module": "
|
3878
|
+
"name": "CardComponentMixin",
|
3879
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
3857
3880
|
}
|
3858
3881
|
},
|
3859
3882
|
{
|
3860
|
-
"
|
3861
|
-
"name": "ariaStateKey",
|
3883
|
+
"name": "variant",
|
3862
3884
|
"type": {
|
3863
|
-
"text": "
|
3885
|
+
"text": "CardVariant"
|
3864
3886
|
},
|
3865
|
-
"description": "
|
3866
|
-
"default": "'
|
3867
|
-
"
|
3868
|
-
"reflects": true,
|
3887
|
+
"description": "The variant of the card. It can either be set to 'border' or 'ghost'",
|
3888
|
+
"default": "'border'",
|
3889
|
+
"fieldName": "variant",
|
3869
3890
|
"inheritedFrom": {
|
3870
|
-
"name": "
|
3871
|
-
"module": "
|
3891
|
+
"name": "CardComponentMixin",
|
3892
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
3872
3893
|
}
|
3873
3894
|
},
|
3874
3895
|
{
|
3875
|
-
"
|
3876
|
-
"name": "type",
|
3896
|
+
"name": "orientation",
|
3877
3897
|
"type": {
|
3878
|
-
"text": "
|
3898
|
+
"text": "CardOrientation"
|
3879
3899
|
},
|
3880
|
-
"description": "
|
3881
|
-
"default": "
|
3882
|
-
"
|
3883
|
-
"reflects": true,
|
3884
|
-
"inheritedFrom": {
|
3885
|
-
"name": "Buttonsimple",
|
3886
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
3887
|
-
}
|
3888
|
-
},
|
3889
|
-
{
|
3890
|
-
"kind": "method",
|
3891
|
-
"name": "executeAction",
|
3892
|
-
"privacy": "protected",
|
3893
|
-
"inheritedFrom": {
|
3894
|
-
"name": "Buttonsimple",
|
3895
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
3896
|
-
}
|
3897
|
-
},
|
3898
|
-
{
|
3899
|
-
"kind": "method",
|
3900
|
-
"name": "setActive",
|
3901
|
-
"privacy": "protected",
|
3902
|
-
"parameters": [
|
3903
|
-
{
|
3904
|
-
"name": "element",
|
3905
|
-
"type": {
|
3906
|
-
"text": "HTMLElement"
|
3907
|
-
},
|
3908
|
-
"description": "The button element"
|
3909
|
-
},
|
3910
|
-
{
|
3911
|
-
"name": "active",
|
3912
|
-
"optional": true,
|
3913
|
-
"type": {
|
3914
|
-
"text": "boolean"
|
3915
|
-
},
|
3916
|
-
"description": "The active state of the element"
|
3917
|
-
}
|
3918
|
-
],
|
3919
|
-
"description": "Sets the ariaStateKey attributes based on the active state of the button.",
|
3900
|
+
"description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
|
3901
|
+
"default": "'vertical'",
|
3902
|
+
"fieldName": "orientation",
|
3920
3903
|
"inheritedFrom": {
|
3921
|
-
"name": "
|
3922
|
-
"module": "
|
3904
|
+
"name": "CardComponentMixin",
|
3905
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
3923
3906
|
}
|
3924
3907
|
},
|
3925
3908
|
{
|
3926
|
-
"
|
3927
|
-
"
|
3928
|
-
|
3929
|
-
|
3930
|
-
|
3931
|
-
|
3932
|
-
|
3933
|
-
"text": "HTMLElement"
|
3934
|
-
},
|
3935
|
-
"description": "The button element."
|
3936
|
-
},
|
3937
|
-
{
|
3938
|
-
"name": "softDisabled",
|
3939
|
-
"optional": true,
|
3940
|
-
"type": {
|
3941
|
-
"text": "boolean"
|
3942
|
-
},
|
3943
|
-
"description": "The soft-disabled state."
|
3944
|
-
}
|
3945
|
-
],
|
3946
|
-
"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.",
|
3909
|
+
"name": "title-tag-name",
|
3910
|
+
"type": {
|
3911
|
+
"text": "TagNameType"
|
3912
|
+
},
|
3913
|
+
"description": "The tag name for the card title. It supports all the types that `msc-text` supports",
|
3914
|
+
"default": "'span'",
|
3915
|
+
"fieldName": "titleTagName",
|
3947
3916
|
"inheritedFrom": {
|
3948
|
-
"name": "
|
3949
|
-
"module": "
|
3917
|
+
"name": "CardComponentMixin",
|
3918
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
3950
3919
|
}
|
3951
3920
|
},
|
3952
3921
|
{
|
3953
|
-
"
|
3954
|
-
"
|
3955
|
-
|
3956
|
-
|
3957
|
-
|
3958
|
-
|
3959
|
-
|
3960
|
-
"text": "HTMLElement"
|
3961
|
-
},
|
3962
|
-
"description": "The button element."
|
3963
|
-
},
|
3964
|
-
{
|
3965
|
-
"name": "disabled",
|
3966
|
-
"type": {
|
3967
|
-
"text": "boolean"
|
3968
|
-
},
|
3969
|
-
"description": "The disabled state."
|
3970
|
-
}
|
3971
|
-
],
|
3972
|
-
"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.",
|
3922
|
+
"name": "subtitle-tag-name",
|
3923
|
+
"type": {
|
3924
|
+
"text": "TagNameType"
|
3925
|
+
},
|
3926
|
+
"description": "The tag name for the subtitle. It supports all the types that `msc-text` supports",
|
3927
|
+
"default": "'span'",
|
3928
|
+
"fieldName": "subtitleTagName",
|
3973
3929
|
"inheritedFrom": {
|
3974
|
-
"name": "
|
3975
|
-
"module": "
|
3930
|
+
"name": "CardComponentMixin",
|
3931
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
3976
3932
|
}
|
3977
3933
|
},
|
3978
3934
|
{
|
3979
|
-
"
|
3980
|
-
"
|
3981
|
-
|
3935
|
+
"name": "icon-name",
|
3936
|
+
"type": {
|
3937
|
+
"text": "IconNames | undefined"
|
3938
|
+
},
|
3939
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
3940
|
+
"fieldName": "iconName",
|
3982
3941
|
"inheritedFrom": {
|
3983
|
-
"name": "
|
3984
|
-
"module": "
|
3942
|
+
"name": "CardComponentMixin",
|
3943
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
3985
3944
|
}
|
3986
|
-
}
|
3945
|
+
}
|
3946
|
+
]
|
3947
|
+
}
|
3948
|
+
],
|
3949
|
+
"exports": [
|
3950
|
+
{
|
3951
|
+
"kind": "js",
|
3952
|
+
"name": "default",
|
3953
|
+
"declaration": {
|
3954
|
+
"name": "Card",
|
3955
|
+
"module": "components/card/card.component.js"
|
3956
|
+
}
|
3957
|
+
}
|
3958
|
+
]
|
3959
|
+
},
|
3960
|
+
{
|
3961
|
+
"kind": "javascript-module",
|
3962
|
+
"path": "components/cardbutton/cardbutton.component.js",
|
3963
|
+
"declarations": [
|
3964
|
+
{
|
3965
|
+
"kind": "class",
|
3966
|
+
"description": "cardbutton component looks like a card and behaves as a button component.\n\n**Note**: This is a single selection card i.e. interacting anywhere on the card would trigger the click event.\nMake sure to pass only non-interactable elements within the slots.",
|
3967
|
+
"name": "CardButton",
|
3968
|
+
"slots": [
|
3987
3969
|
{
|
3988
|
-
"
|
3989
|
-
"name": "
|
3990
|
-
"privacy": "private",
|
3991
|
-
"description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed.",
|
3992
|
-
"inheritedFrom": {
|
3993
|
-
"name": "Buttonsimple",
|
3994
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
3995
|
-
}
|
3970
|
+
"description": "This slot is for passing the content before the body",
|
3971
|
+
"name": "before-body"
|
3996
3972
|
},
|
3997
3973
|
{
|
3998
|
-
"
|
3999
|
-
"name": "
|
4000
|
-
"privacy": "private",
|
4001
|
-
"parameters": [
|
4002
|
-
{
|
4003
|
-
"name": "event",
|
4004
|
-
"type": {
|
4005
|
-
"text": "KeyboardEvent"
|
4006
|
-
},
|
4007
|
-
"description": "The keyboard event."
|
4008
|
-
}
|
4009
|
-
],
|
4010
|
-
"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.",
|
4011
|
-
"inheritedFrom": {
|
4012
|
-
"name": "Buttonsimple",
|
4013
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
4014
|
-
}
|
3974
|
+
"description": "This slot is for passing the text content for the card",
|
3975
|
+
"name": "body"
|
4015
3976
|
},
|
4016
3977
|
{
|
4017
|
-
"
|
4018
|
-
"name": "
|
4019
|
-
"privacy": "private",
|
4020
|
-
"parameters": [
|
4021
|
-
{
|
4022
|
-
"name": "event",
|
4023
|
-
"type": {
|
4024
|
-
"text": "KeyboardEvent"
|
4025
|
-
},
|
4026
|
-
"description": "The keyboard event."
|
4027
|
-
}
|
4028
|
-
],
|
4029
|
-
"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.",
|
4030
|
-
"inheritedFrom": {
|
4031
|
-
"name": "Buttonsimple",
|
4032
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
4033
|
-
}
|
3978
|
+
"description": "This slot is for passing the content after the body",
|
3979
|
+
"name": "after-body"
|
4034
3980
|
}
|
4035
3981
|
],
|
4036
|
-
"
|
4037
|
-
{
|
4038
|
-
"description": "(React: onClick) Event that gets dispatched when the card is clicked.",
|
4039
|
-
"name": "click",
|
4040
|
-
"reactName": "onClick",
|
4041
|
-
"inheritedFrom": {
|
4042
|
-
"name": "Buttonsimple",
|
4043
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
4044
|
-
}
|
4045
|
-
},
|
4046
|
-
{
|
4047
|
-
"description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the card. It fires the click event when enter key is used.",
|
4048
|
-
"name": "keydown",
|
4049
|
-
"reactName": "onKeyDown",
|
4050
|
-
"inheritedFrom": {
|
4051
|
-
"name": "Buttonsimple",
|
4052
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
4053
|
-
}
|
4054
|
-
},
|
3982
|
+
"members": [
|
4055
3983
|
{
|
4056
|
-
"
|
4057
|
-
"name": "
|
4058
|
-
"
|
4059
|
-
"
|
4060
|
-
|
4061
|
-
"
|
3984
|
+
"kind": "method",
|
3985
|
+
"name": "renderHeader",
|
3986
|
+
"privacy": "protected",
|
3987
|
+
"description": "Renders the header of the card if title is provided",
|
3988
|
+
"return": {
|
3989
|
+
"type": {
|
3990
|
+
"text": ""
|
3991
|
+
}
|
4062
3992
|
}
|
4063
3993
|
},
|
4064
3994
|
{
|
4065
|
-
"
|
4066
|
-
"name": "
|
4067
|
-
"reactName": "onFocus",
|
4068
|
-
"inheritedFrom": {
|
4069
|
-
"name": "Buttonsimple",
|
4070
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
4071
|
-
}
|
4072
|
-
}
|
4073
|
-
],
|
4074
|
-
"mixins": [
|
4075
|
-
{
|
4076
|
-
"name": "CardComponentMixin",
|
4077
|
-
"module": "/src/utils/mixins/CardComponentMixin"
|
4078
|
-
}
|
4079
|
-
],
|
4080
|
-
"superclass": {
|
4081
|
-
"name": "Buttonsimple",
|
4082
|
-
"module": "/src/components/buttonsimple/buttonsimple.component"
|
4083
|
-
},
|
4084
|
-
"tagName": "mdc-cardbutton",
|
4085
|
-
"jsDoc": "/**\n * cardbutton component looks like a card and behaves as a button component.\n *\n * **Note**: This is a single selection card i.e. interacting anywhere on the card would trigger the click event.\n * Make sure to pass only non-interactable elements within the slots.\n *\n * @tagname mdc-cardbutton\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n *\n * @event click - (React: onClick) Event that gets dispatched when the card is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the card.\n * It fires the click event when enter key is used.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the card.\n * It fires the click event when space key is used.\n * @event focus - (React: onFocus) Event that gets dispatched when the card receives focus.\n *\n */",
|
4086
|
-
"customElement": true,
|
4087
|
-
"attributes": [
|
4088
|
-
{
|
4089
|
-
"name": "card-title",
|
3995
|
+
"kind": "field",
|
3996
|
+
"name": "cardTitle",
|
4090
3997
|
"type": {
|
4091
3998
|
"text": "string"
|
4092
3999
|
},
|
4093
4000
|
"default": "''",
|
4094
4001
|
"description": "The title of the card - part of header section",
|
4095
|
-
"
|
4002
|
+
"attribute": "card-title",
|
4096
4003
|
"inheritedFrom": {
|
4097
4004
|
"name": "CardComponentMixin",
|
4098
|
-
"module": "
|
4005
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
4099
4006
|
}
|
4100
4007
|
},
|
4101
4008
|
{
|
4009
|
+
"kind": "field",
|
4102
4010
|
"name": "subtitle",
|
4103
4011
|
"type": {
|
4104
4012
|
"text": "string"
|
4105
4013
|
},
|
4106
4014
|
"default": "''",
|
4107
4015
|
"description": "The subtitle of the card - part of header section",
|
4108
|
-
"
|
4016
|
+
"attribute": "subtitle",
|
4109
4017
|
"inheritedFrom": {
|
4110
4018
|
"name": "CardComponentMixin",
|
4111
|
-
"module": "
|
4019
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
4112
4020
|
}
|
4113
4021
|
},
|
4114
4022
|
{
|
4115
|
-
"
|
4023
|
+
"kind": "field",
|
4024
|
+
"name": "imageSrc",
|
4116
4025
|
"type": {
|
4117
4026
|
"text": "string"
|
4118
4027
|
},
|
4119
4028
|
"default": "''",
|
4120
4029
|
"description": "The image source URL to render on the card",
|
4121
|
-
"
|
4030
|
+
"attribute": "image-src",
|
4122
4031
|
"inheritedFrom": {
|
4123
4032
|
"name": "CardComponentMixin",
|
4124
|
-
"module": "
|
4033
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
4125
4034
|
}
|
4126
4035
|
},
|
4127
4036
|
{
|
4128
|
-
"
|
4037
|
+
"kind": "field",
|
4038
|
+
"name": "imageAlt",
|
4129
4039
|
"type": {
|
4130
4040
|
"text": "string"
|
4131
4041
|
},
|
4132
4042
|
"default": "''",
|
4133
4043
|
"description": "The image alt for accessibility support",
|
4134
|
-
"
|
4044
|
+
"attribute": "image-alt",
|
4135
4045
|
"inheritedFrom": {
|
4136
4046
|
"name": "CardComponentMixin",
|
4137
|
-
"module": "
|
4047
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
4138
4048
|
}
|
4139
4049
|
},
|
4140
4050
|
{
|
4051
|
+
"kind": "field",
|
4141
4052
|
"name": "variant",
|
4142
4053
|
"type": {
|
4143
4054
|
"text": "CardVariant"
|
4144
4055
|
},
|
4145
4056
|
"description": "The variant of the card. It can either be set to 'border' or 'ghost'",
|
4146
4057
|
"default": "'border'",
|
4147
|
-
"
|
4058
|
+
"attribute": "variant",
|
4148
4059
|
"inheritedFrom": {
|
4149
4060
|
"name": "CardComponentMixin",
|
4150
|
-
"module": "
|
4061
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
4151
4062
|
}
|
4152
4063
|
},
|
4153
4064
|
{
|
4065
|
+
"kind": "field",
|
4154
4066
|
"name": "orientation",
|
4155
4067
|
"type": {
|
4156
4068
|
"text": "CardOrientation"
|
4157
4069
|
},
|
4158
4070
|
"description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
|
4159
4071
|
"default": "'vertical'",
|
4160
|
-
"
|
4072
|
+
"attribute": "orientation",
|
4073
|
+
"reflects": true,
|
4161
4074
|
"inheritedFrom": {
|
4162
4075
|
"name": "CardComponentMixin",
|
4163
|
-
"module": "
|
4076
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
4164
4077
|
}
|
4165
4078
|
},
|
4166
4079
|
{
|
4167
|
-
"
|
4080
|
+
"kind": "field",
|
4081
|
+
"name": "titleTagName",
|
4168
4082
|
"type": {
|
4169
4083
|
"text": "TagNameType"
|
4170
4084
|
},
|
4171
4085
|
"description": "The tag name for the card title. It supports all the types that `msc-text` supports",
|
4172
4086
|
"default": "'span'",
|
4173
|
-
"
|
4087
|
+
"attribute": "title-tag-name",
|
4174
4088
|
"inheritedFrom": {
|
4175
4089
|
"name": "CardComponentMixin",
|
4176
|
-
"module": "
|
4090
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
4177
4091
|
}
|
4178
4092
|
},
|
4179
4093
|
{
|
4180
|
-
"
|
4094
|
+
"kind": "field",
|
4095
|
+
"name": "subtitleTagName",
|
4181
4096
|
"type": {
|
4182
4097
|
"text": "TagNameType"
|
4183
4098
|
},
|
4184
4099
|
"description": "The tag name for the subtitle. It supports all the types that `msc-text` supports",
|
4185
4100
|
"default": "'span'",
|
4186
|
-
"
|
4101
|
+
"attribute": "subtitle-tag-name",
|
4187
4102
|
"inheritedFrom": {
|
4188
4103
|
"name": "CardComponentMixin",
|
4189
|
-
"module": "
|
4104
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
4190
4105
|
}
|
4191
4106
|
},
|
4192
4107
|
{
|
4193
|
-
"
|
4108
|
+
"kind": "field",
|
4109
|
+
"name": "iconName",
|
4194
4110
|
"type": {
|
4195
4111
|
"text": "IconNames | undefined"
|
4196
4112
|
},
|
4197
|
-
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
4198
|
-
"
|
4113
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
4114
|
+
"attribute": "icon-name",
|
4115
|
+
"inheritedFrom": {
|
4116
|
+
"name": "CardComponentMixin",
|
4117
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
4118
|
+
}
|
4119
|
+
},
|
4120
|
+
{
|
4121
|
+
"kind": "method",
|
4122
|
+
"name": "renderImage",
|
4123
|
+
"privacy": "protected",
|
4124
|
+
"description": "Renders the image on the card if image source is provided",
|
4125
|
+
"return": {
|
4126
|
+
"type": {
|
4127
|
+
"text": ""
|
4128
|
+
}
|
4129
|
+
},
|
4130
|
+
"inheritedFrom": {
|
4131
|
+
"name": "CardComponentMixin",
|
4132
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
4133
|
+
}
|
4134
|
+
},
|
4135
|
+
{
|
4136
|
+
"kind": "method",
|
4137
|
+
"name": "renderIcon",
|
4138
|
+
"privacy": "protected",
|
4139
|
+
"description": "Renders the icon on the card if icon name is provided",
|
4140
|
+
"return": {
|
4141
|
+
"type": {
|
4142
|
+
"text": ""
|
4143
|
+
}
|
4144
|
+
},
|
4145
|
+
"inheritedFrom": {
|
4146
|
+
"name": "CardComponentMixin",
|
4147
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
4148
|
+
}
|
4149
|
+
},
|
4150
|
+
{
|
4151
|
+
"kind": "method",
|
4152
|
+
"name": "renderTitle",
|
4153
|
+
"privacy": "protected",
|
4154
|
+
"description": "Renders the title and subtitle on the card",
|
4155
|
+
"return": {
|
4156
|
+
"type": {
|
4157
|
+
"text": ""
|
4158
|
+
}
|
4159
|
+
},
|
4199
4160
|
"inheritedFrom": {
|
4200
4161
|
"name": "CardComponentMixin",
|
4201
|
-
"module": "
|
4162
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
4202
4163
|
}
|
4203
4164
|
},
|
4204
4165
|
{
|
4166
|
+
"kind": "field",
|
4205
4167
|
"name": "tabIndex",
|
4206
4168
|
"type": {
|
4207
4169
|
"text": "number"
|
4208
4170
|
},
|
4209
4171
|
"default": "0",
|
4210
4172
|
"description": "This property specifies the tab order of the element.",
|
4211
|
-
"
|
4173
|
+
"attribute": "tabIndex",
|
4174
|
+
"reflects": true,
|
4212
4175
|
"inheritedFrom": {
|
4213
4176
|
"name": "Buttonsimple",
|
4214
|
-
"module": "
|
4177
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
4215
4178
|
}
|
4216
4179
|
},
|
4217
4180
|
{
|
4181
|
+
"kind": "field",
|
4218
4182
|
"name": "disabled",
|
4219
4183
|
"type": {
|
4220
4184
|
"text": "boolean | undefined"
|
4221
4185
|
},
|
4222
4186
|
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
4223
4187
|
"default": "undefined",
|
4224
|
-
"
|
4188
|
+
"attribute": "disabled",
|
4189
|
+
"reflects": true,
|
4225
4190
|
"inheritedFrom": {
|
4226
4191
|
"name": "Buttonsimple",
|
4227
|
-
"module": "
|
4192
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
4228
4193
|
}
|
4229
4194
|
},
|
4230
4195
|
{
|
4196
|
+
"kind": "field",
|
4231
4197
|
"name": "active",
|
4232
4198
|
"type": {
|
4233
4199
|
"text": "boolean | undefined"
|
4234
4200
|
},
|
4235
4201
|
"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.",
|
4236
4202
|
"default": "undefined",
|
4237
|
-
"
|
4203
|
+
"attribute": "active",
|
4204
|
+
"reflects": true,
|
4238
4205
|
"inheritedFrom": {
|
4239
4206
|
"name": "Buttonsimple",
|
4240
|
-
"module": "
|
4207
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
4241
4208
|
}
|
4242
4209
|
},
|
4243
4210
|
{
|
4244
|
-
"
|
4211
|
+
"kind": "field",
|
4212
|
+
"name": "softDisabled",
|
4245
4213
|
"type": {
|
4246
4214
|
"text": "boolean | undefined"
|
4247
4215
|
},
|
4248
4216
|
"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.",
|
4249
4217
|
"default": "undefined",
|
4250
|
-
"
|
4218
|
+
"attribute": "soft-disabled",
|
4219
|
+
"reflects": true,
|
4251
4220
|
"inheritedFrom": {
|
4252
4221
|
"name": "Buttonsimple",
|
4253
|
-
"module": "
|
4222
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
4254
4223
|
}
|
4255
4224
|
},
|
4256
4225
|
{
|
4226
|
+
"kind": "field",
|
4257
4227
|
"name": "size",
|
4258
4228
|
"type": {
|
4259
4229
|
"text": "ButtonSize"
|
4260
4230
|
},
|
4261
4231
|
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
4262
4232
|
"default": "32",
|
4263
|
-
"
|
4233
|
+
"attribute": "size",
|
4234
|
+
"reflects": true,
|
4264
4235
|
"inheritedFrom": {
|
4265
4236
|
"name": "Buttonsimple",
|
4266
|
-
"module": "
|
4237
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
4267
4238
|
}
|
4268
4239
|
},
|
4269
4240
|
{
|
4241
|
+
"kind": "field",
|
4270
4242
|
"name": "role",
|
4271
4243
|
"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.",
|
4272
4244
|
"default": "button",
|
4273
|
-
"
|
4245
|
+
"attribute": "role",
|
4246
|
+
"reflects": true,
|
4274
4247
|
"inheritedFrom": {
|
4275
4248
|
"name": "Buttonsimple",
|
4276
|
-
"module": "
|
4249
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
4277
4250
|
}
|
4278
4251
|
},
|
4279
4252
|
{
|
4253
|
+
"kind": "field",
|
4280
4254
|
"name": "ariaStateKey",
|
4281
4255
|
"type": {
|
4282
4256
|
"text": "string | undefined"
|
4283
4257
|
},
|
4284
4258
|
"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`",
|
4285
4259
|
"default": "'aria-pressed' (when)",
|
4286
|
-
"
|
4260
|
+
"attribute": "ariaStateKey",
|
4261
|
+
"reflects": true,
|
4287
4262
|
"inheritedFrom": {
|
4288
4263
|
"name": "Buttonsimple",
|
4289
|
-
"module": "
|
4264
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
4290
4265
|
}
|
4291
4266
|
},
|
4292
4267
|
{
|
4268
|
+
"kind": "field",
|
4293
4269
|
"name": "type",
|
4294
4270
|
"type": {
|
4295
4271
|
"text": "ButtonType"
|
4296
4272
|
},
|
4297
4273
|
"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.",
|
4298
4274
|
"default": "button",
|
4299
|
-
"
|
4275
|
+
"attribute": "type",
|
4276
|
+
"reflects": true,
|
4300
4277
|
"inheritedFrom": {
|
4301
4278
|
"name": "Buttonsimple",
|
4302
|
-
"module": "
|
4279
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
4303
4280
|
}
|
4304
|
-
}
|
4305
|
-
]
|
4306
|
-
}
|
4307
|
-
],
|
4308
|
-
"exports": [
|
4309
|
-
{
|
4310
|
-
"kind": "js",
|
4311
|
-
"name": "default",
|
4312
|
-
"declaration": {
|
4313
|
-
"name": "CardButton",
|
4314
|
-
"module": "components/cardbutton/cardbutton.component.js"
|
4315
|
-
}
|
4316
|
-
}
|
4317
|
-
]
|
4318
|
-
},
|
4319
|
-
{
|
4320
|
-
"kind": "javascript-module",
|
4321
|
-
"path": "components/card/card.component.js",
|
4322
|
-
"declarations": [
|
4323
|
-
{
|
4324
|
-
"kind": "class",
|
4325
|
-
"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.\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\n`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'.",
|
4326
|
-
"name": "Card",
|
4327
|
-
"slots": [
|
4328
|
-
{
|
4329
|
-
"description": "This slot is for passing the content before the body",
|
4330
|
-
"name": "before-body"
|
4331
|
-
},
|
4332
|
-
{
|
4333
|
-
"description": "This slot is for passing the text content for the card",
|
4334
|
-
"name": "body"
|
4335
|
-
},
|
4336
|
-
{
|
4337
|
-
"description": "This slot is for passing the content after the body",
|
4338
|
-
"name": "after-body"
|
4339
|
-
},
|
4340
|
-
{
|
4341
|
-
"description": "This slot is for passing `mdc-link` component within the footer section.",
|
4342
|
-
"name": "footer-link"
|
4343
|
-
},
|
4344
|
-
{
|
4345
|
-
"description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
|
4346
|
-
"name": "footer-button-primary"
|
4347
|
-
},
|
4348
|
-
{
|
4349
|
-
"description": "This slot is for passing secondary variant of `mdc-button` component within the footer section.",
|
4350
|
-
"name": "footer-button-secondary"
|
4351
|
-
},
|
4352
|
-
{
|
4353
|
-
"description": "This slot is for passing the content before the body",
|
4354
|
-
"name": "before-body"
|
4355
|
-
},
|
4356
|
-
{
|
4357
|
-
"description": "This slot is for passing the text content for the card",
|
4358
|
-
"name": "body"
|
4359
4281
|
},
|
4360
|
-
{
|
4361
|
-
"description": "This slot is for passing the content after the body",
|
4362
|
-
"name": "after-body"
|
4363
|
-
}
|
4364
|
-
],
|
4365
|
-
"members": [
|
4366
4282
|
{
|
4367
4283
|
"kind": "method",
|
4368
|
-
"name": "
|
4284
|
+
"name": "executeAction",
|
4369
4285
|
"privacy": "protected",
|
4370
|
-
"description": "Renders the header of the card if title is provided",
|
4371
|
-
"return": {
|
4372
|
-
"type": {
|
4373
|
-
"text": ""
|
4374
|
-
}
|
4375
|
-
}
|
4376
|
-
},
|
4377
|
-
{
|
4378
|
-
"kind": "field",
|
4379
|
-
"name": "cardTitle",
|
4380
|
-
"type": {
|
4381
|
-
"text": "string"
|
4382
|
-
},
|
4383
|
-
"default": "''",
|
4384
|
-
"description": "The title of the card - part of header section",
|
4385
|
-
"attribute": "card-title",
|
4386
|
-
"inheritedFrom": {
|
4387
|
-
"name": "CardComponentMixin",
|
4388
|
-
"module": "utils/mixins/CardComponentMixin.js"
|
4389
|
-
}
|
4390
|
-
},
|
4391
|
-
{
|
4392
|
-
"kind": "field",
|
4393
|
-
"name": "subtitle",
|
4394
|
-
"type": {
|
4395
|
-
"text": "string"
|
4396
|
-
},
|
4397
|
-
"default": "''",
|
4398
|
-
"description": "The subtitle of the card - part of header section",
|
4399
|
-
"attribute": "subtitle",
|
4400
|
-
"inheritedFrom": {
|
4401
|
-
"name": "CardComponentMixin",
|
4402
|
-
"module": "utils/mixins/CardComponentMixin.js"
|
4403
|
-
}
|
4404
|
-
},
|
4405
|
-
{
|
4406
|
-
"kind": "field",
|
4407
|
-
"name": "imageSrc",
|
4408
|
-
"type": {
|
4409
|
-
"text": "string"
|
4410
|
-
},
|
4411
|
-
"default": "''",
|
4412
|
-
"description": "The image source URL to render on the card",
|
4413
|
-
"attribute": "image-src",
|
4414
4286
|
"inheritedFrom": {
|
4415
|
-
"name": "
|
4416
|
-
"module": "
|
4287
|
+
"name": "Buttonsimple",
|
4288
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
4417
4289
|
}
|
4418
4290
|
},
|
4419
4291
|
{
|
4420
|
-
"kind": "
|
4421
|
-
"name": "
|
4422
|
-
"
|
4423
|
-
|
4424
|
-
|
4425
|
-
|
4426
|
-
|
4427
|
-
|
4292
|
+
"kind": "method",
|
4293
|
+
"name": "setActive",
|
4294
|
+
"privacy": "protected",
|
4295
|
+
"parameters": [
|
4296
|
+
{
|
4297
|
+
"name": "element",
|
4298
|
+
"type": {
|
4299
|
+
"text": "HTMLElement"
|
4300
|
+
},
|
4301
|
+
"description": "The button element"
|
4302
|
+
},
|
4303
|
+
{
|
4304
|
+
"name": "active",
|
4305
|
+
"optional": true,
|
4306
|
+
"type": {
|
4307
|
+
"text": "boolean"
|
4308
|
+
},
|
4309
|
+
"description": "The active state of the element"
|
4310
|
+
}
|
4311
|
+
],
|
4312
|
+
"description": "Sets the ariaStateKey attributes based on the active state of the button.",
|
4428
4313
|
"inheritedFrom": {
|
4429
|
-
"name": "
|
4430
|
-
"module": "
|
4314
|
+
"name": "Buttonsimple",
|
4315
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
4431
4316
|
}
|
4432
4317
|
},
|
4433
4318
|
{
|
4434
|
-
"kind": "
|
4435
|
-
"name": "
|
4436
|
-
"
|
4437
|
-
|
4438
|
-
|
4439
|
-
|
4440
|
-
|
4441
|
-
|
4319
|
+
"kind": "method",
|
4320
|
+
"name": "setSoftDisabled",
|
4321
|
+
"privacy": "private",
|
4322
|
+
"parameters": [
|
4323
|
+
{
|
4324
|
+
"name": "element",
|
4325
|
+
"type": {
|
4326
|
+
"text": "HTMLElement"
|
4327
|
+
},
|
4328
|
+
"description": "The button element."
|
4329
|
+
},
|
4330
|
+
{
|
4331
|
+
"name": "softDisabled",
|
4332
|
+
"optional": true,
|
4333
|
+
"type": {
|
4334
|
+
"text": "boolean"
|
4335
|
+
},
|
4336
|
+
"description": "The soft-disabled state."
|
4337
|
+
}
|
4338
|
+
],
|
4339
|
+
"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.",
|
4442
4340
|
"inheritedFrom": {
|
4443
|
-
"name": "
|
4444
|
-
"module": "
|
4341
|
+
"name": "Buttonsimple",
|
4342
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
4445
4343
|
}
|
4446
4344
|
},
|
4447
4345
|
{
|
4448
|
-
"kind": "
|
4449
|
-
"name": "
|
4450
|
-
"
|
4451
|
-
|
4452
|
-
|
4453
|
-
|
4454
|
-
|
4455
|
-
|
4456
|
-
|
4346
|
+
"kind": "method",
|
4347
|
+
"name": "setDisabled",
|
4348
|
+
"privacy": "private",
|
4349
|
+
"parameters": [
|
4350
|
+
{
|
4351
|
+
"name": "element",
|
4352
|
+
"type": {
|
4353
|
+
"text": "HTMLElement"
|
4354
|
+
},
|
4355
|
+
"description": "The button element."
|
4356
|
+
},
|
4357
|
+
{
|
4358
|
+
"name": "disabled",
|
4359
|
+
"type": {
|
4360
|
+
"text": "boolean"
|
4361
|
+
},
|
4362
|
+
"description": "The disabled state."
|
4363
|
+
}
|
4364
|
+
],
|
4365
|
+
"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.",
|
4457
4366
|
"inheritedFrom": {
|
4458
|
-
"name": "
|
4459
|
-
"module": "
|
4367
|
+
"name": "Buttonsimple",
|
4368
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
4460
4369
|
}
|
4461
4370
|
},
|
4462
4371
|
{
|
4463
|
-
"kind": "
|
4464
|
-
"name": "
|
4465
|
-
"
|
4466
|
-
"text": "TagNameType"
|
4467
|
-
},
|
4468
|
-
"description": "The tag name for the card title. It supports all the types that `msc-text` supports",
|
4469
|
-
"default": "'span'",
|
4470
|
-
"attribute": "title-tag-name",
|
4372
|
+
"kind": "method",
|
4373
|
+
"name": "triggerClickEvent",
|
4374
|
+
"privacy": "private",
|
4471
4375
|
"inheritedFrom": {
|
4472
|
-
"name": "
|
4473
|
-
"module": "
|
4376
|
+
"name": "Buttonsimple",
|
4377
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
4474
4378
|
}
|
4475
4379
|
},
|
4476
4380
|
{
|
4477
|
-
"kind": "
|
4478
|
-
"name": "
|
4479
|
-
"
|
4480
|
-
|
4481
|
-
},
|
4482
|
-
"description": "The tag name for the subtitle. It supports all the types that `msc-text` supports",
|
4483
|
-
"default": "'span'",
|
4484
|
-
"attribute": "subtitle-tag-name",
|
4381
|
+
"kind": "method",
|
4382
|
+
"name": "handleBlur",
|
4383
|
+
"privacy": "private",
|
4384
|
+
"description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed.",
|
4485
4385
|
"inheritedFrom": {
|
4486
|
-
"name": "
|
4487
|
-
"module": "
|
4386
|
+
"name": "Buttonsimple",
|
4387
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
4488
4388
|
}
|
4489
4389
|
},
|
4490
4390
|
{
|
4491
|
-
"kind": "
|
4492
|
-
"name": "
|
4493
|
-
"
|
4494
|
-
|
4495
|
-
|
4496
|
-
|
4497
|
-
|
4391
|
+
"kind": "method",
|
4392
|
+
"name": "handleKeyDown",
|
4393
|
+
"privacy": "private",
|
4394
|
+
"parameters": [
|
4395
|
+
{
|
4396
|
+
"name": "event",
|
4397
|
+
"type": {
|
4398
|
+
"text": "KeyboardEvent"
|
4399
|
+
},
|
4400
|
+
"description": "The keyboard event."
|
4401
|
+
}
|
4402
|
+
],
|
4403
|
+
"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.",
|
4498
4404
|
"inheritedFrom": {
|
4499
|
-
"name": "
|
4500
|
-
"module": "
|
4405
|
+
"name": "Buttonsimple",
|
4406
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
4501
4407
|
}
|
4502
4408
|
},
|
4503
4409
|
{
|
4504
4410
|
"kind": "method",
|
4505
|
-
"name": "
|
4506
|
-
"privacy": "
|
4507
|
-
"
|
4508
|
-
|
4509
|
-
|
4510
|
-
"
|
4411
|
+
"name": "handleKeyUp",
|
4412
|
+
"privacy": "private",
|
4413
|
+
"parameters": [
|
4414
|
+
{
|
4415
|
+
"name": "event",
|
4416
|
+
"type": {
|
4417
|
+
"text": "KeyboardEvent"
|
4418
|
+
},
|
4419
|
+
"description": "The keyboard event."
|
4511
4420
|
}
|
4512
|
-
|
4421
|
+
],
|
4422
|
+
"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.",
|
4513
4423
|
"inheritedFrom": {
|
4514
|
-
"name": "
|
4515
|
-
"module": "
|
4424
|
+
"name": "Buttonsimple",
|
4425
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
4426
|
+
}
|
4427
|
+
}
|
4428
|
+
],
|
4429
|
+
"events": [
|
4430
|
+
{
|
4431
|
+
"description": "(React: onClick) Event that gets dispatched when the card is clicked.",
|
4432
|
+
"name": "click",
|
4433
|
+
"reactName": "onClick",
|
4434
|
+
"inheritedFrom": {
|
4435
|
+
"name": "Buttonsimple",
|
4436
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
4516
4437
|
}
|
4517
4438
|
},
|
4518
4439
|
{
|
4519
|
-
"
|
4520
|
-
"name": "
|
4521
|
-
"
|
4522
|
-
"description": "Renders the icon on the card if icon name is provided",
|
4523
|
-
"return": {
|
4524
|
-
"type": {
|
4525
|
-
"text": ""
|
4526
|
-
}
|
4527
|
-
},
|
4440
|
+
"description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the card. It fires the click event when enter key is used.",
|
4441
|
+
"name": "keydown",
|
4442
|
+
"reactName": "onKeyDown",
|
4528
4443
|
"inheritedFrom": {
|
4529
|
-
"name": "
|
4530
|
-
"module": "
|
4444
|
+
"name": "Buttonsimple",
|
4445
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
4531
4446
|
}
|
4532
4447
|
},
|
4533
4448
|
{
|
4534
|
-
"
|
4535
|
-
"name": "
|
4536
|
-
"
|
4537
|
-
"description": "Renders the title and subtitle on the card",
|
4538
|
-
"return": {
|
4539
|
-
"type": {
|
4540
|
-
"text": ""
|
4541
|
-
}
|
4542
|
-
},
|
4449
|
+
"description": "(React: onKeyUp) This event is dispatched when a key is released on the card. It fires the click event when space key is used.",
|
4450
|
+
"name": "keyup",
|
4451
|
+
"reactName": "onKeyUp",
|
4543
4452
|
"inheritedFrom": {
|
4544
|
-
"name": "
|
4545
|
-
"module": "
|
4453
|
+
"name": "Buttonsimple",
|
4454
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
4546
4455
|
}
|
4547
4456
|
},
|
4548
4457
|
{
|
4549
|
-
"
|
4550
|
-
"name": "
|
4551
|
-
"
|
4552
|
-
"description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
|
4553
|
-
"return": {
|
4554
|
-
"type": {
|
4555
|
-
"text": ""
|
4556
|
-
}
|
4557
|
-
},
|
4458
|
+
"description": "(React: onFocus) Event that gets dispatched when the card receives focus.",
|
4459
|
+
"name": "focus",
|
4460
|
+
"reactName": "onFocus",
|
4558
4461
|
"inheritedFrom": {
|
4559
|
-
"name": "
|
4560
|
-
"module": "
|
4462
|
+
"name": "Buttonsimple",
|
4463
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
4561
4464
|
}
|
4562
4465
|
}
|
4563
4466
|
],
|
@@ -4565,18 +4468,14 @@
|
|
4565
4468
|
{
|
4566
4469
|
"name": "CardComponentMixin",
|
4567
4470
|
"module": "/src/utils/mixins/CardComponentMixin"
|
4568
|
-
},
|
4569
|
-
{
|
4570
|
-
"name": "CardAndDialogFooterMixin",
|
4571
|
-
"module": "/src/utils/mixins/CardAndDialogFooterMixin"
|
4572
4471
|
}
|
4573
4472
|
],
|
4574
4473
|
"superclass": {
|
4575
|
-
"name": "
|
4576
|
-
"module": "/src/
|
4474
|
+
"name": "Buttonsimple",
|
4475
|
+
"module": "/src/components/buttonsimple/buttonsimple.component"
|
4577
4476
|
},
|
4578
|
-
"tagName": "mdc-
|
4579
|
-
"jsDoc": "/**\n *
|
4477
|
+
"tagName": "mdc-cardbutton",
|
4478
|
+
"jsDoc": "/**\n * cardbutton component looks like a card and behaves as a button component.\n *\n * **Note**: This is a single selection card i.e. interacting anywhere on the card would trigger the click event.\n * Make sure to pass only non-interactable elements within the slots.\n *\n * @tagname mdc-cardbutton\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n *\n * @event click - (React: onClick) Event that gets dispatched when the card is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the card.\n * It fires the click event when enter key is used.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the card.\n * It fires the click event when space key is used.\n * @event focus - (React: onFocus) Event that gets dispatched when the card receives focus.\n *\n */",
|
4580
4479
|
"customElement": true,
|
4581
4480
|
"attributes": [
|
4582
4481
|
{
|
@@ -4688,11 +4587,112 @@
|
|
4688
4587
|
"type": {
|
4689
4588
|
"text": "IconNames | undefined"
|
4690
4589
|
},
|
4691
|
-
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
4692
|
-
"fieldName": "iconName",
|
4590
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
4591
|
+
"fieldName": "iconName",
|
4592
|
+
"inheritedFrom": {
|
4593
|
+
"name": "CardComponentMixin",
|
4594
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
4595
|
+
}
|
4596
|
+
},
|
4597
|
+
{
|
4598
|
+
"name": "tabIndex",
|
4599
|
+
"type": {
|
4600
|
+
"text": "number"
|
4601
|
+
},
|
4602
|
+
"default": "0",
|
4603
|
+
"description": "This property specifies the tab order of the element.",
|
4604
|
+
"fieldName": "tabIndex",
|
4605
|
+
"inheritedFrom": {
|
4606
|
+
"name": "Buttonsimple",
|
4607
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
4608
|
+
}
|
4609
|
+
},
|
4610
|
+
{
|
4611
|
+
"name": "disabled",
|
4612
|
+
"type": {
|
4613
|
+
"text": "boolean | undefined"
|
4614
|
+
},
|
4615
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
4616
|
+
"default": "undefined",
|
4617
|
+
"fieldName": "disabled",
|
4618
|
+
"inheritedFrom": {
|
4619
|
+
"name": "Buttonsimple",
|
4620
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
4621
|
+
}
|
4622
|
+
},
|
4623
|
+
{
|
4624
|
+
"name": "active",
|
4625
|
+
"type": {
|
4626
|
+
"text": "boolean | undefined"
|
4627
|
+
},
|
4628
|
+
"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.",
|
4629
|
+
"default": "undefined",
|
4630
|
+
"fieldName": "active",
|
4631
|
+
"inheritedFrom": {
|
4632
|
+
"name": "Buttonsimple",
|
4633
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
4634
|
+
}
|
4635
|
+
},
|
4636
|
+
{
|
4637
|
+
"name": "soft-disabled",
|
4638
|
+
"type": {
|
4639
|
+
"text": "boolean | undefined"
|
4640
|
+
},
|
4641
|
+
"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.",
|
4642
|
+
"default": "undefined",
|
4643
|
+
"fieldName": "softDisabled",
|
4644
|
+
"inheritedFrom": {
|
4645
|
+
"name": "Buttonsimple",
|
4646
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
4647
|
+
}
|
4648
|
+
},
|
4649
|
+
{
|
4650
|
+
"name": "size",
|
4651
|
+
"type": {
|
4652
|
+
"text": "ButtonSize"
|
4653
|
+
},
|
4654
|
+
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
4655
|
+
"default": "32",
|
4656
|
+
"fieldName": "size",
|
4657
|
+
"inheritedFrom": {
|
4658
|
+
"name": "Buttonsimple",
|
4659
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
4660
|
+
}
|
4661
|
+
},
|
4662
|
+
{
|
4663
|
+
"name": "role",
|
4664
|
+
"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.",
|
4665
|
+
"default": "button",
|
4666
|
+
"fieldName": "role",
|
4667
|
+
"inheritedFrom": {
|
4668
|
+
"name": "Buttonsimple",
|
4669
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
4670
|
+
}
|
4671
|
+
},
|
4672
|
+
{
|
4673
|
+
"name": "ariaStateKey",
|
4674
|
+
"type": {
|
4675
|
+
"text": "string | undefined"
|
4676
|
+
},
|
4677
|
+
"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`",
|
4678
|
+
"default": "'aria-pressed' (when)",
|
4679
|
+
"fieldName": "ariaStateKey",
|
4680
|
+
"inheritedFrom": {
|
4681
|
+
"name": "Buttonsimple",
|
4682
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
4683
|
+
}
|
4684
|
+
},
|
4685
|
+
{
|
4686
|
+
"name": "type",
|
4687
|
+
"type": {
|
4688
|
+
"text": "ButtonType"
|
4689
|
+
},
|
4690
|
+
"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.",
|
4691
|
+
"default": "button",
|
4692
|
+
"fieldName": "type",
|
4693
4693
|
"inheritedFrom": {
|
4694
|
-
"name": "
|
4695
|
-
"module": "src/
|
4694
|
+
"name": "Buttonsimple",
|
4695
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
4696
4696
|
}
|
4697
4697
|
}
|
4698
4698
|
]
|
@@ -4703,8 +4703,8 @@
|
|
4703
4703
|
"kind": "js",
|
4704
4704
|
"name": "default",
|
4705
4705
|
"declaration": {
|
4706
|
-
"name": "
|
4707
|
-
"module": "components/
|
4706
|
+
"name": "CardButton",
|
4707
|
+
"module": "components/cardbutton/cardbutton.component.js"
|
4708
4708
|
}
|
4709
4709
|
}
|
4710
4710
|
]
|
@@ -12536,78 +12536,51 @@
|
|
12536
12536
|
},
|
12537
12537
|
{
|
12538
12538
|
"kind": "javascript-module",
|
12539
|
-
"path": "components/
|
12539
|
+
"path": "components/linksimple/linksimple.component.js",
|
12540
12540
|
"declarations": [
|
12541
12541
|
{
|
12542
12542
|
"kind": "class",
|
12543
|
-
"description": "`mdc-
|
12544
|
-
"name": "
|
12545
|
-
"
|
12543
|
+
"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.",
|
12544
|
+
"name": "Linksimple",
|
12545
|
+
"cssProperties": [
|
12546
12546
|
{
|
12547
|
-
"
|
12548
|
-
"name": "
|
12549
|
-
"type": {
|
12550
|
-
"text": "LinkSize"
|
12551
|
-
},
|
12552
|
-
"description": "Size of the link.\nAcceptable values include:\n\n- 'small'\n- 'midsize'\n- 'large'",
|
12553
|
-
"default": "large",
|
12554
|
-
"attribute": "size",
|
12555
|
-
"reflects": true
|
12547
|
+
"description": "Border radius of the link.",
|
12548
|
+
"name": "--mdc-link-border-radius"
|
12556
12549
|
},
|
12557
12550
|
{
|
12558
|
-
"
|
12559
|
-
"name": "
|
12560
|
-
"privacy": "private",
|
12561
|
-
"return": {
|
12562
|
-
"type": {
|
12563
|
-
"text": ""
|
12564
|
-
}
|
12565
|
-
},
|
12566
|
-
"description": "Method to get the size of the trailing icon based on the link size."
|
12551
|
+
"description": "Color of the link’s child content in the active state.",
|
12552
|
+
"name": "--mdc-link-color-active"
|
12567
12553
|
},
|
12568
12554
|
{
|
12569
|
-
"
|
12570
|
-
"name": "
|
12571
|
-
"type": {
|
12572
|
-
"text": "IconNames | undefined"
|
12573
|
-
},
|
12574
|
-
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
12575
|
-
"attribute": "icon-name",
|
12576
|
-
"inheritedFrom": {
|
12577
|
-
"name": "IconNameMixin",
|
12578
|
-
"module": "utils/mixins/IconNameMixin.js"
|
12579
|
-
}
|
12555
|
+
"description": "Color of the link’s child content in the disabled state.",
|
12556
|
+
"name": "--mdc-link-color-disabled"
|
12580
12557
|
},
|
12581
12558
|
{
|
12582
|
-
"
|
12583
|
-
"name": "
|
12584
|
-
"type": {
|
12585
|
-
"text": "boolean | undefined"
|
12586
|
-
},
|
12587
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
12588
|
-
"default": "undefined",
|
12589
|
-
"attribute": "disabled",
|
12590
|
-
"reflects": true,
|
12591
|
-
"inheritedFrom": {
|
12592
|
-
"name": "DisabledMixin",
|
12593
|
-
"module": "utils/mixins/DisabledMixin.js"
|
12594
|
-
}
|
12559
|
+
"description": "Color of the link’s child content in the hover state.",
|
12560
|
+
"name": "--mdc-link-color-hover"
|
12595
12561
|
},
|
12596
12562
|
{
|
12597
|
-
"
|
12598
|
-
"name": "
|
12599
|
-
|
12600
|
-
|
12601
|
-
|
12602
|
-
"
|
12603
|
-
|
12604
|
-
|
12605
|
-
"
|
12606
|
-
"
|
12607
|
-
|
12608
|
-
|
12609
|
-
|
12563
|
+
"description": "Color of the link’s child content in the normal state.",
|
12564
|
+
"name": "--mdc-link-color-normal"
|
12565
|
+
},
|
12566
|
+
{
|
12567
|
+
"description": "Color of the inverted link’s child content in the active state.",
|
12568
|
+
"name": "--mdc-link-inverted-color-active"
|
12569
|
+
},
|
12570
|
+
{
|
12571
|
+
"description": "Color of the inverted link’s child content in the disabled state.",
|
12572
|
+
"name": "--mdc-link-inverted-color-disabled"
|
12573
|
+
},
|
12574
|
+
{
|
12575
|
+
"description": "Color of the inverted link’s child content in the hover state.",
|
12576
|
+
"name": "--mdc-link-inverted-color-hover"
|
12610
12577
|
},
|
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": [
|
12611
12584
|
{
|
12612
12585
|
"kind": "field",
|
12613
12586
|
"name": "inline",
|
@@ -12617,11 +12590,7 @@
|
|
12617
12590
|
"description": "The link can be inline or standalone.",
|
12618
12591
|
"default": "false",
|
12619
12592
|
"attribute": "inline",
|
12620
|
-
"reflects": true
|
12621
|
-
"inheritedFrom": {
|
12622
|
-
"name": "Linksimple",
|
12623
|
-
"module": "components/linksimple/linksimple.component.js"
|
12624
|
-
}
|
12593
|
+
"reflects": true
|
12625
12594
|
},
|
12626
12595
|
{
|
12627
12596
|
"kind": "field",
|
@@ -12632,11 +12601,7 @@
|
|
12632
12601
|
"description": "The link color can be inverted by setting the inverted attribute to true.",
|
12633
12602
|
"default": "false",
|
12634
12603
|
"attribute": "inverted",
|
12635
|
-
"reflects": true
|
12636
|
-
"inheritedFrom": {
|
12637
|
-
"name": "Linksimple",
|
12638
|
-
"module": "components/linksimple/linksimple.component.js"
|
12639
|
-
}
|
12604
|
+
"reflects": true
|
12640
12605
|
},
|
12641
12606
|
{
|
12642
12607
|
"kind": "field",
|
@@ -12647,11 +12612,7 @@
|
|
12647
12612
|
"default": "'#'",
|
12648
12613
|
"description": "Href for navigation. The URL that the hyperlink points to",
|
12649
12614
|
"attribute": "href",
|
12650
|
-
"reflects": true
|
12651
|
-
"inheritedFrom": {
|
12652
|
-
"name": "Linksimple",
|
12653
|
-
"module": "components/linksimple/linksimple.component.js"
|
12654
|
-
}
|
12615
|
+
"reflects": true
|
12655
12616
|
},
|
12656
12617
|
{
|
12657
12618
|
"kind": "field",
|
@@ -12662,11 +12623,7 @@
|
|
12662
12623
|
"default": "'_self'",
|
12663
12624
|
"description": "Optional target: _blank, _self, _parent, _top and _unfencedTop",
|
12664
12625
|
"attribute": "target",
|
12665
|
-
"reflects": true
|
12666
|
-
"inheritedFrom": {
|
12667
|
-
"name": "Linksimple",
|
12668
|
-
"module": "components/linksimple/linksimple.component.js"
|
12669
|
-
}
|
12626
|
+
"reflects": true
|
12670
12627
|
},
|
12671
12628
|
{
|
12672
12629
|
"kind": "field",
|
@@ -12676,20 +12633,12 @@
|
|
12676
12633
|
},
|
12677
12634
|
"description": "Optional rel attribute that defines the relationship of the linked URL as space-separated link types.",
|
12678
12635
|
"attribute": "rel",
|
12679
|
-
"reflects": true
|
12680
|
-
"inheritedFrom": {
|
12681
|
-
"name": "Linksimple",
|
12682
|
-
"module": "components/linksimple/linksimple.component.js"
|
12683
|
-
}
|
12636
|
+
"reflects": true
|
12684
12637
|
},
|
12685
12638
|
{
|
12686
12639
|
"kind": "field",
|
12687
12640
|
"name": "handleNavigation",
|
12688
|
-
"privacy": "private"
|
12689
|
-
"inheritedFrom": {
|
12690
|
-
"name": "Linksimple",
|
12691
|
-
"module": "components/linksimple/linksimple.component.js"
|
12692
|
-
}
|
12641
|
+
"privacy": "private"
|
12693
12642
|
},
|
12694
12643
|
{
|
12695
12644
|
"kind": "method",
|
@@ -12704,99 +12653,62 @@
|
|
12704
12653
|
"description": "Whether the element should be disabled"
|
12705
12654
|
}
|
12706
12655
|
],
|
12707
|
-
"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."
|
12708
|
-
"inheritedFrom": {
|
12709
|
-
"name": "Linksimple",
|
12710
|
-
"module": "components/linksimple/linksimple.component.js"
|
12711
|
-
}
|
12712
|
-
}
|
12713
|
-
],
|
12714
|
-
"events": [
|
12715
|
-
{
|
12716
|
-
"description": "(React: onClick) Fired when the user activates the Link using a mouse or assistive technology.",
|
12717
|
-
"name": "click",
|
12718
|
-
"reactName": "onClick",
|
12719
|
-
"inheritedFrom": {
|
12720
|
-
"name": "Linksimple",
|
12721
|
-
"module": "src/components/linksimple/linksimple.component.ts"
|
12722
|
-
}
|
12723
|
-
},
|
12724
|
-
{
|
12725
|
-
"description": "(React: onKeyDown) Fired when the user presses a key while the Link has focus.",
|
12726
|
-
"name": "keydown",
|
12727
|
-
"reactName": "onKeyDown",
|
12728
|
-
"inheritedFrom": {
|
12729
|
-
"name": "Linksimple",
|
12730
|
-
"module": "src/components/linksimple/linksimple.component.ts"
|
12731
|
-
}
|
12732
|
-
},
|
12733
|
-
{
|
12734
|
-
"description": "(React: onFocus) Fired when the Link receives keyboard or mouse focus.",
|
12735
|
-
"name": "focus",
|
12736
|
-
"reactName": "onFocus",
|
12737
|
-
"inheritedFrom": {
|
12738
|
-
"name": "Linksimple",
|
12739
|
-
"module": "src/components/linksimple/linksimple.component.ts"
|
12740
|
-
}
|
12741
|
-
},
|
12742
|
-
{
|
12743
|
-
"description": "(React: onBlur) Fired when the Link loses keyboard or mouse focus.",
|
12744
|
-
"name": "blur",
|
12745
|
-
"reactName": "onBlur",
|
12746
|
-
"inheritedFrom": {
|
12747
|
-
"name": "Linksimple",
|
12748
|
-
"module": "src/components/linksimple/linksimple.component.ts"
|
12749
|
-
}
|
12750
|
-
}
|
12751
|
-
],
|
12752
|
-
"attributes": [
|
12753
|
-
{
|
12754
|
-
"name": "size",
|
12755
|
-
"type": {
|
12756
|
-
"text": "LinkSize"
|
12757
|
-
},
|
12758
|
-
"description": "Size of the link.\nAcceptable values include:\n\n- 'small'\n- 'midsize'\n- 'large'",
|
12759
|
-
"default": "large",
|
12760
|
-
"fieldName": "size"
|
12761
|
-
},
|
12762
|
-
{
|
12763
|
-
"name": "icon-name",
|
12764
|
-
"type": {
|
12765
|
-
"text": "IconNames | undefined"
|
12766
|
-
},
|
12767
|
-
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
12768
|
-
"fieldName": "iconName",
|
12769
|
-
"inheritedFrom": {
|
12770
|
-
"name": "IconNameMixin",
|
12771
|
-
"module": "src/utils/mixins/IconNameMixin.ts"
|
12772
|
-
}
|
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."
|
12773
12657
|
},
|
12774
12658
|
{
|
12659
|
+
"kind": "field",
|
12775
12660
|
"name": "disabled",
|
12776
12661
|
"type": {
|
12777
12662
|
"text": "boolean | undefined"
|
12778
12663
|
},
|
12779
12664
|
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
12780
12665
|
"default": "undefined",
|
12781
|
-
"
|
12666
|
+
"attribute": "disabled",
|
12667
|
+
"reflects": true,
|
12782
12668
|
"inheritedFrom": {
|
12783
12669
|
"name": "DisabledMixin",
|
12784
|
-
"module": "
|
12670
|
+
"module": "utils/mixins/DisabledMixin.js"
|
12785
12671
|
}
|
12786
12672
|
},
|
12787
12673
|
{
|
12674
|
+
"kind": "field",
|
12788
12675
|
"name": "tabIndex",
|
12789
12676
|
"type": {
|
12790
12677
|
"text": "number"
|
12791
12678
|
},
|
12792
12679
|
"default": "0",
|
12793
12680
|
"description": "This property specifies the tab order of the element.",
|
12794
|
-
"
|
12681
|
+
"attribute": "tabIndex",
|
12682
|
+
"reflects": true,
|
12795
12683
|
"inheritedFrom": {
|
12796
12684
|
"name": "TabIndexMixin",
|
12797
|
-
"module": "
|
12685
|
+
"module": "utils/mixins/TabIndexMixin.js"
|
12798
12686
|
}
|
12687
|
+
}
|
12688
|
+
],
|
12689
|
+
"events": [
|
12690
|
+
{
|
12691
|
+
"description": "(React: onClick) Fired when the user activates the buttonLink using a mouse or assistive technology.",
|
12692
|
+
"name": "click",
|
12693
|
+
"reactName": "onClick"
|
12694
|
+
},
|
12695
|
+
{
|
12696
|
+
"description": "(React: onKeyDown) Fired when the user presses a key while the buttonLink has focus.",
|
12697
|
+
"name": "keydown",
|
12698
|
+
"reactName": "onKeyDown"
|
12799
12699
|
},
|
12700
|
+
{
|
12701
|
+
"description": "(React: onFocus) Fired when the buttonLink receives keyboard or mouse focus.",
|
12702
|
+
"name": "focus",
|
12703
|
+
"reactName": "onFocus"
|
12704
|
+
},
|
12705
|
+
{
|
12706
|
+
"description": "(React: onBlur) Fired when the buttonLink loses keyboard or mouse focus.",
|
12707
|
+
"name": "blur",
|
12708
|
+
"reactName": "onBlur"
|
12709
|
+
}
|
12710
|
+
],
|
12711
|
+
"attributes": [
|
12800
12712
|
{
|
12801
12713
|
"name": "inline",
|
12802
12714
|
"type": {
|
@@ -12804,11 +12716,7 @@
|
|
12804
12716
|
},
|
12805
12717
|
"description": "The link can be inline or standalone.",
|
12806
12718
|
"default": "false",
|
12807
|
-
"fieldName": "inline"
|
12808
|
-
"inheritedFrom": {
|
12809
|
-
"name": "Linksimple",
|
12810
|
-
"module": "src/components/linksimple/linksimple.component.ts"
|
12811
|
-
}
|
12719
|
+
"fieldName": "inline"
|
12812
12720
|
},
|
12813
12721
|
{
|
12814
12722
|
"name": "inverted",
|
@@ -12816,12 +12724,8 @@
|
|
12816
12724
|
"text": "boolean"
|
12817
12725
|
},
|
12818
12726
|
"description": "The link color can be inverted by setting the inverted attribute to true.",
|
12819
|
-
"default": "false",
|
12820
|
-
"fieldName": "inverted"
|
12821
|
-
"inheritedFrom": {
|
12822
|
-
"name": "Linksimple",
|
12823
|
-
"module": "src/components/linksimple/linksimple.component.ts"
|
12824
|
-
}
|
12727
|
+
"default": "false",
|
12728
|
+
"fieldName": "inverted"
|
12825
12729
|
},
|
12826
12730
|
{
|
12827
12731
|
"name": "href",
|
@@ -12830,11 +12734,7 @@
|
|
12830
12734
|
},
|
12831
12735
|
"default": "'#'",
|
12832
12736
|
"description": "Href for navigation. The URL that the hyperlink points to",
|
12833
|
-
"fieldName": "href"
|
12834
|
-
"inheritedFrom": {
|
12835
|
-
"name": "Linksimple",
|
12836
|
-
"module": "src/components/linksimple/linksimple.component.ts"
|
12837
|
-
}
|
12737
|
+
"fieldName": "href"
|
12838
12738
|
},
|
12839
12739
|
{
|
12840
12740
|
"name": "target",
|
@@ -12843,11 +12743,7 @@
|
|
12843
12743
|
},
|
12844
12744
|
"default": "'_self'",
|
12845
12745
|
"description": "Optional target: _blank, _self, _parent, _top and _unfencedTop",
|
12846
|
-
"fieldName": "target"
|
12847
|
-
"inheritedFrom": {
|
12848
|
-
"name": "Linksimple",
|
12849
|
-
"module": "src/components/linksimple/linksimple.component.ts"
|
12850
|
-
}
|
12746
|
+
"fieldName": "target"
|
12851
12747
|
},
|
12852
12748
|
{
|
12853
12749
|
"name": "rel",
|
@@ -12855,100 +12751,52 @@
|
|
12855
12751
|
"text": "string | undefined"
|
12856
12752
|
},
|
12857
12753
|
"description": "Optional rel attribute that defines the relationship of the linked URL as space-separated link types.",
|
12858
|
-
"fieldName": "rel"
|
12859
|
-
"inheritedFrom": {
|
12860
|
-
"name": "Linksimple",
|
12861
|
-
"module": "src/components/linksimple/linksimple.component.ts"
|
12862
|
-
}
|
12863
|
-
}
|
12864
|
-
],
|
12865
|
-
"mixins": [
|
12866
|
-
{
|
12867
|
-
"name": "IconNameMixin",
|
12868
|
-
"module": "/src/utils/mixins/IconNameMixin"
|
12869
|
-
}
|
12870
|
-
],
|
12871
|
-
"superclass": {
|
12872
|
-
"name": "Linksimple",
|
12873
|
-
"module": "/src/components/linksimple/linksimple.component"
|
12874
|
-
},
|
12875
|
-
"tagName": "mdc-link",
|
12876
|
-
"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 */",
|
12877
|
-
"customElement": true,
|
12878
|
-
"cssProperties": [
|
12879
|
-
{
|
12880
|
-
"description": "Border radius of the link.",
|
12881
|
-
"name": "--mdc-link-border-radius",
|
12882
|
-
"inheritedFrom": {
|
12883
|
-
"name": "Linksimple",
|
12884
|
-
"module": "src/components/linksimple/linksimple.component.ts"
|
12885
|
-
}
|
12886
|
-
},
|
12887
|
-
{
|
12888
|
-
"description": "Color of the link’s child content in the active state.",
|
12889
|
-
"name": "--mdc-link-color-active",
|
12890
|
-
"inheritedFrom": {
|
12891
|
-
"name": "Linksimple",
|
12892
|
-
"module": "src/components/linksimple/linksimple.component.ts"
|
12893
|
-
}
|
12894
|
-
},
|
12895
|
-
{
|
12896
|
-
"description": "Color of the link’s child content in the disabled state.",
|
12897
|
-
"name": "--mdc-link-color-disabled",
|
12898
|
-
"inheritedFrom": {
|
12899
|
-
"name": "Linksimple",
|
12900
|
-
"module": "src/components/linksimple/linksimple.component.ts"
|
12901
|
-
}
|
12902
|
-
},
|
12903
|
-
{
|
12904
|
-
"description": "Color of the link’s child content in the hover state.",
|
12905
|
-
"name": "--mdc-link-color-hover",
|
12906
|
-
"inheritedFrom": {
|
12907
|
-
"name": "Linksimple",
|
12908
|
-
"module": "src/components/linksimple/linksimple.component.ts"
|
12909
|
-
}
|
12910
|
-
},
|
12911
|
-
{
|
12912
|
-
"description": "Color of the link’s child content in the normal state.",
|
12913
|
-
"name": "--mdc-link-color-normal",
|
12914
|
-
"inheritedFrom": {
|
12915
|
-
"name": "Linksimple",
|
12916
|
-
"module": "src/components/linksimple/linksimple.component.ts"
|
12917
|
-
}
|
12754
|
+
"fieldName": "rel"
|
12918
12755
|
},
|
12919
12756
|
{
|
12920
|
-
"
|
12921
|
-
"
|
12757
|
+
"name": "disabled",
|
12758
|
+
"type": {
|
12759
|
+
"text": "boolean | undefined"
|
12760
|
+
},
|
12761
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
12762
|
+
"default": "undefined",
|
12763
|
+
"fieldName": "disabled",
|
12922
12764
|
"inheritedFrom": {
|
12923
|
-
"name": "
|
12924
|
-
"module": "src/
|
12765
|
+
"name": "DisabledMixin",
|
12766
|
+
"module": "src/utils/mixins/DisabledMixin.ts"
|
12925
12767
|
}
|
12926
12768
|
},
|
12927
12769
|
{
|
12928
|
-
"
|
12929
|
-
"
|
12770
|
+
"name": "tabIndex",
|
12771
|
+
"type": {
|
12772
|
+
"text": "number"
|
12773
|
+
},
|
12774
|
+
"default": "0",
|
12775
|
+
"description": "This property specifies the tab order of the element.",
|
12776
|
+
"fieldName": "tabIndex",
|
12930
12777
|
"inheritedFrom": {
|
12931
|
-
"name": "
|
12932
|
-
"module": "src/
|
12778
|
+
"name": "TabIndexMixin",
|
12779
|
+
"module": "src/utils/mixins/TabIndexMixin.ts"
|
12933
12780
|
}
|
12934
|
-
}
|
12781
|
+
}
|
12782
|
+
],
|
12783
|
+
"mixins": [
|
12935
12784
|
{
|
12936
|
-
"
|
12937
|
-
"
|
12938
|
-
"inheritedFrom": {
|
12939
|
-
"name": "Linksimple",
|
12940
|
-
"module": "src/components/linksimple/linksimple.component.ts"
|
12941
|
-
}
|
12785
|
+
"name": "DisabledMixin",
|
12786
|
+
"module": "/src/utils/mixins/DisabledMixin"
|
12942
12787
|
},
|
12943
12788
|
{
|
12944
|
-
"
|
12945
|
-
"
|
12946
|
-
"inheritedFrom": {
|
12947
|
-
"name": "Linksimple",
|
12948
|
-
"module": "src/components/linksimple/linksimple.component.ts"
|
12949
|
-
}
|
12789
|
+
"name": "TabIndexMixin",
|
12790
|
+
"module": "/src/utils/mixins/TabIndexMixin"
|
12950
12791
|
}
|
12951
|
-
]
|
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
|
12952
12800
|
}
|
12953
12801
|
],
|
12954
12802
|
"exports": [
|
@@ -12956,59 +12804,86 @@
|
|
12956
12804
|
"kind": "js",
|
12957
12805
|
"name": "default",
|
12958
12806
|
"declaration": {
|
12959
|
-
"name": "
|
12960
|
-
"module": "components/
|
12807
|
+
"name": "Linksimple",
|
12808
|
+
"module": "components/linksimple/linksimple.component.js"
|
12961
12809
|
}
|
12962
12810
|
}
|
12963
12811
|
]
|
12964
12812
|
},
|
12965
12813
|
{
|
12966
12814
|
"kind": "javascript-module",
|
12967
|
-
"path": "components/
|
12815
|
+
"path": "components/link/link.component.js",
|
12968
12816
|
"declarations": [
|
12969
12817
|
{
|
12970
12818
|
"kind": "class",
|
12971
|
-
"description": "`mdc-
|
12972
|
-
"name": "
|
12973
|
-
"
|
12974
|
-
{
|
12975
|
-
"description": "Border radius of the link.",
|
12976
|
-
"name": "--mdc-link-border-radius"
|
12977
|
-
},
|
12978
|
-
{
|
12979
|
-
"description": "Color of the link’s child content in the active state.",
|
12980
|
-
"name": "--mdc-link-color-active"
|
12981
|
-
},
|
12982
|
-
{
|
12983
|
-
"description": "Color of the link’s child content in the disabled state.",
|
12984
|
-
"name": "--mdc-link-color-disabled"
|
12985
|
-
},
|
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": [
|
12986
12822
|
{
|
12987
|
-
"
|
12988
|
-
"name": "
|
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
|
12989
12832
|
},
|
12990
12833
|
{
|
12991
|
-
"
|
12992
|
-
"name": "
|
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."
|
12993
12843
|
},
|
12994
12844
|
{
|
12995
|
-
"
|
12996
|
-
"name": "
|
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
|
+
}
|
12997
12856
|
},
|
12998
12857
|
{
|
12999
|
-
"
|
13000
|
-
"name": "
|
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
|
+
}
|
13001
12871
|
},
|
13002
12872
|
{
|
13003
|
-
"
|
13004
|
-
"name": "
|
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
|
+
}
|
13005
12886
|
},
|
13006
|
-
{
|
13007
|
-
"description": "Color of the inverted link’s child content in the normal state.",
|
13008
|
-
"name": "--mdc-link-inverted-color-normal"
|
13009
|
-
}
|
13010
|
-
],
|
13011
|
-
"members": [
|
13012
12887
|
{
|
13013
12888
|
"kind": "field",
|
13014
12889
|
"name": "inline",
|
@@ -13018,7 +12893,11 @@
|
|
13018
12893
|
"description": "The link can be inline or standalone.",
|
13019
12894
|
"default": "false",
|
13020
12895
|
"attribute": "inline",
|
13021
|
-
"reflects": true
|
12896
|
+
"reflects": true,
|
12897
|
+
"inheritedFrom": {
|
12898
|
+
"name": "Linksimple",
|
12899
|
+
"module": "components/linksimple/linksimple.component.js"
|
12900
|
+
}
|
13022
12901
|
},
|
13023
12902
|
{
|
13024
12903
|
"kind": "field",
|
@@ -13029,7 +12908,11 @@
|
|
13029
12908
|
"description": "The link color can be inverted by setting the inverted attribute to true.",
|
13030
12909
|
"default": "false",
|
13031
12910
|
"attribute": "inverted",
|
13032
|
-
"reflects": true
|
12911
|
+
"reflects": true,
|
12912
|
+
"inheritedFrom": {
|
12913
|
+
"name": "Linksimple",
|
12914
|
+
"module": "components/linksimple/linksimple.component.js"
|
12915
|
+
}
|
13033
12916
|
},
|
13034
12917
|
{
|
13035
12918
|
"kind": "field",
|
@@ -13040,7 +12923,11 @@
|
|
13040
12923
|
"default": "'#'",
|
13041
12924
|
"description": "Href for navigation. The URL that the hyperlink points to",
|
13042
12925
|
"attribute": "href",
|
13043
|
-
"reflects": true
|
12926
|
+
"reflects": true,
|
12927
|
+
"inheritedFrom": {
|
12928
|
+
"name": "Linksimple",
|
12929
|
+
"module": "components/linksimple/linksimple.component.js"
|
12930
|
+
}
|
13044
12931
|
},
|
13045
12932
|
{
|
13046
12933
|
"kind": "field",
|
@@ -13051,7 +12938,11 @@
|
|
13051
12938
|
"default": "'_self'",
|
13052
12939
|
"description": "Optional target: _blank, _self, _parent, _top and _unfencedTop",
|
13053
12940
|
"attribute": "target",
|
13054
|
-
"reflects": true
|
12941
|
+
"reflects": true,
|
12942
|
+
"inheritedFrom": {
|
12943
|
+
"name": "Linksimple",
|
12944
|
+
"module": "components/linksimple/linksimple.component.js"
|
12945
|
+
}
|
13055
12946
|
},
|
13056
12947
|
{
|
13057
12948
|
"kind": "field",
|
@@ -13061,12 +12952,20 @@
|
|
13061
12952
|
},
|
13062
12953
|
"description": "Optional rel attribute that defines the relationship of the linked URL as space-separated link types.",
|
13063
12954
|
"attribute": "rel",
|
13064
|
-
"reflects": true
|
12955
|
+
"reflects": true,
|
12956
|
+
"inheritedFrom": {
|
12957
|
+
"name": "Linksimple",
|
12958
|
+
"module": "components/linksimple/linksimple.component.js"
|
12959
|
+
}
|
13065
12960
|
},
|
13066
12961
|
{
|
13067
12962
|
"kind": "field",
|
13068
12963
|
"name": "handleNavigation",
|
13069
|
-
"privacy": "private"
|
12964
|
+
"privacy": "private",
|
12965
|
+
"inheritedFrom": {
|
12966
|
+
"name": "Linksimple",
|
12967
|
+
"module": "components/linksimple/linksimple.component.js"
|
12968
|
+
}
|
13070
12969
|
},
|
13071
12970
|
{
|
13072
12971
|
"kind": "method",
|
@@ -13081,62 +12980,99 @@
|
|
13081
12980
|
"description": "Whether the element should be disabled"
|
13082
12981
|
}
|
13083
12982
|
],
|
13084
|
-
"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."
|
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.",
|
12984
|
+
"inheritedFrom": {
|
12985
|
+
"name": "Linksimple",
|
12986
|
+
"module": "components/linksimple/linksimple.component.js"
|
12987
|
+
}
|
12988
|
+
}
|
12989
|
+
],
|
12990
|
+
"events": [
|
12991
|
+
{
|
12992
|
+
"description": "(React: onClick) Fired when the user activates the Link using a mouse or assistive technology.",
|
12993
|
+
"name": "click",
|
12994
|
+
"reactName": "onClick",
|
12995
|
+
"inheritedFrom": {
|
12996
|
+
"name": "Linksimple",
|
12997
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
12998
|
+
}
|
12999
|
+
},
|
13000
|
+
{
|
13001
|
+
"description": "(React: onKeyDown) Fired when the user presses a key while the Link has focus.",
|
13002
|
+
"name": "keydown",
|
13003
|
+
"reactName": "onKeyDown",
|
13004
|
+
"inheritedFrom": {
|
13005
|
+
"name": "Linksimple",
|
13006
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
13007
|
+
}
|
13008
|
+
},
|
13009
|
+
{
|
13010
|
+
"description": "(React: onFocus) Fired when the Link receives keyboard or mouse focus.",
|
13011
|
+
"name": "focus",
|
13012
|
+
"reactName": "onFocus",
|
13013
|
+
"inheritedFrom": {
|
13014
|
+
"name": "Linksimple",
|
13015
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
13016
|
+
}
|
13017
|
+
},
|
13018
|
+
{
|
13019
|
+
"description": "(React: onBlur) Fired when the Link loses keyboard or mouse focus.",
|
13020
|
+
"name": "blur",
|
13021
|
+
"reactName": "onBlur",
|
13022
|
+
"inheritedFrom": {
|
13023
|
+
"name": "Linksimple",
|
13024
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
13025
|
+
}
|
13026
|
+
}
|
13027
|
+
],
|
13028
|
+
"attributes": [
|
13029
|
+
{
|
13030
|
+
"name": "size",
|
13031
|
+
"type": {
|
13032
|
+
"text": "LinkSize"
|
13033
|
+
},
|
13034
|
+
"description": "Size of the link.\nAcceptable values include:\n\n- 'small'\n- 'midsize'\n- 'large'",
|
13035
|
+
"default": "large",
|
13036
|
+
"fieldName": "size"
|
13037
|
+
},
|
13038
|
+
{
|
13039
|
+
"name": "icon-name",
|
13040
|
+
"type": {
|
13041
|
+
"text": "IconNames | undefined"
|
13042
|
+
},
|
13043
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
13044
|
+
"fieldName": "iconName",
|
13045
|
+
"inheritedFrom": {
|
13046
|
+
"name": "IconNameMixin",
|
13047
|
+
"module": "src/utils/mixins/IconNameMixin.ts"
|
13048
|
+
}
|
13085
13049
|
},
|
13086
13050
|
{
|
13087
|
-
"kind": "field",
|
13088
13051
|
"name": "disabled",
|
13089
13052
|
"type": {
|
13090
13053
|
"text": "boolean | undefined"
|
13091
13054
|
},
|
13092
13055
|
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
13093
13056
|
"default": "undefined",
|
13094
|
-
"
|
13095
|
-
"reflects": true,
|
13057
|
+
"fieldName": "disabled",
|
13096
13058
|
"inheritedFrom": {
|
13097
|
-
"name": "
|
13098
|
-
"module": "
|
13059
|
+
"name": "Linksimple",
|
13060
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
13099
13061
|
}
|
13100
13062
|
},
|
13101
13063
|
{
|
13102
|
-
"kind": "field",
|
13103
13064
|
"name": "tabIndex",
|
13104
13065
|
"type": {
|
13105
13066
|
"text": "number"
|
13106
13067
|
},
|
13107
13068
|
"default": "0",
|
13108
13069
|
"description": "This property specifies the tab order of the element.",
|
13109
|
-
"
|
13110
|
-
"reflects": true,
|
13070
|
+
"fieldName": "tabIndex",
|
13111
13071
|
"inheritedFrom": {
|
13112
|
-
"name": "
|
13113
|
-
"module": "
|
13072
|
+
"name": "Linksimple",
|
13073
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
13114
13074
|
}
|
13115
|
-
}
|
13116
|
-
],
|
13117
|
-
"events": [
|
13118
|
-
{
|
13119
|
-
"description": "(React: onClick) Fired when the user activates the buttonLink using a mouse or assistive technology.",
|
13120
|
-
"name": "click",
|
13121
|
-
"reactName": "onClick"
|
13122
|
-
},
|
13123
|
-
{
|
13124
|
-
"description": "(React: onKeyDown) Fired when the user presses a key while the buttonLink has focus.",
|
13125
|
-
"name": "keydown",
|
13126
|
-
"reactName": "onKeyDown"
|
13127
|
-
},
|
13128
|
-
{
|
13129
|
-
"description": "(React: onFocus) Fired when the buttonLink receives keyboard or mouse focus.",
|
13130
|
-
"name": "focus",
|
13131
|
-
"reactName": "onFocus"
|
13132
13075
|
},
|
13133
|
-
{
|
13134
|
-
"description": "(React: onBlur) Fired when the buttonLink loses keyboard or mouse focus.",
|
13135
|
-
"name": "blur",
|
13136
|
-
"reactName": "onBlur"
|
13137
|
-
}
|
13138
|
-
],
|
13139
|
-
"attributes": [
|
13140
13076
|
{
|
13141
13077
|
"name": "inline",
|
13142
13078
|
"type": {
|
@@ -13144,7 +13080,11 @@
|
|
13144
13080
|
},
|
13145
13081
|
"description": "The link can be inline or standalone.",
|
13146
13082
|
"default": "false",
|
13147
|
-
"fieldName": "inline"
|
13083
|
+
"fieldName": "inline",
|
13084
|
+
"inheritedFrom": {
|
13085
|
+
"name": "Linksimple",
|
13086
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
13087
|
+
}
|
13148
13088
|
},
|
13149
13089
|
{
|
13150
13090
|
"name": "inverted",
|
@@ -13153,7 +13093,11 @@
|
|
13153
13093
|
},
|
13154
13094
|
"description": "The link color can be inverted by setting the inverted attribute to true.",
|
13155
13095
|
"default": "false",
|
13156
|
-
"fieldName": "inverted"
|
13096
|
+
"fieldName": "inverted",
|
13097
|
+
"inheritedFrom": {
|
13098
|
+
"name": "Linksimple",
|
13099
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
13100
|
+
}
|
13157
13101
|
},
|
13158
13102
|
{
|
13159
13103
|
"name": "href",
|
@@ -13162,7 +13106,11 @@
|
|
13162
13106
|
},
|
13163
13107
|
"default": "'#'",
|
13164
13108
|
"description": "Href for navigation. The URL that the hyperlink points to",
|
13165
|
-
"fieldName": "href"
|
13109
|
+
"fieldName": "href",
|
13110
|
+
"inheritedFrom": {
|
13111
|
+
"name": "Linksimple",
|
13112
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
13113
|
+
}
|
13166
13114
|
},
|
13167
13115
|
{
|
13168
13116
|
"name": "target",
|
@@ -13171,7 +13119,11 @@
|
|
13171
13119
|
},
|
13172
13120
|
"default": "'_self'",
|
13173
13121
|
"description": "Optional target: _blank, _self, _parent, _top and _unfencedTop",
|
13174
|
-
"fieldName": "target"
|
13122
|
+
"fieldName": "target",
|
13123
|
+
"inheritedFrom": {
|
13124
|
+
"name": "Linksimple",
|
13125
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
13126
|
+
}
|
13175
13127
|
},
|
13176
13128
|
{
|
13177
13129
|
"name": "rel",
|
@@ -13179,52 +13131,100 @@
|
|
13179
13131
|
"text": "string | undefined"
|
13180
13132
|
},
|
13181
13133
|
"description": "Optional rel attribute that defines the relationship of the linked URL as space-separated link types.",
|
13182
|
-
"fieldName": "rel"
|
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
|
+
}
|
13183
13162
|
},
|
13184
13163
|
{
|
13185
|
-
"
|
13186
|
-
"
|
13187
|
-
"text": "boolean | undefined"
|
13188
|
-
},
|
13189
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
13190
|
-
"default": "undefined",
|
13191
|
-
"fieldName": "disabled",
|
13164
|
+
"description": "Color of the link’s child content in the active state.",
|
13165
|
+
"name": "--mdc-link-color-active",
|
13192
13166
|
"inheritedFrom": {
|
13193
|
-
"name": "
|
13194
|
-
"module": "src/
|
13167
|
+
"name": "Linksimple",
|
13168
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
13195
13169
|
}
|
13196
13170
|
},
|
13197
13171
|
{
|
13198
|
-
"
|
13199
|
-
"
|
13200
|
-
"text": "number"
|
13201
|
-
},
|
13202
|
-
"default": "0",
|
13203
|
-
"description": "This property specifies the tab order of the element.",
|
13204
|
-
"fieldName": "tabIndex",
|
13172
|
+
"description": "Color of the link’s child content in the disabled state.",
|
13173
|
+
"name": "--mdc-link-color-disabled",
|
13205
13174
|
"inheritedFrom": {
|
13206
|
-
"name": "
|
13207
|
-
"module": "src/
|
13175
|
+
"name": "Linksimple",
|
13176
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
13208
13177
|
}
|
13209
|
-
}
|
13210
|
-
],
|
13211
|
-
"mixins": [
|
13178
|
+
},
|
13212
13179
|
{
|
13213
|
-
"
|
13214
|
-
"
|
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
|
+
}
|
13215
13186
|
},
|
13216
13187
|
{
|
13217
|
-
"
|
13218
|
-
"
|
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
|
+
}
|
13194
|
+
},
|
13195
|
+
{
|
13196
|
+
"description": "Color of the inverted link’s child content in the active state.",
|
13197
|
+
"name": "--mdc-link-inverted-color-active",
|
13198
|
+
"inheritedFrom": {
|
13199
|
+
"name": "Linksimple",
|
13200
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
13201
|
+
}
|
13202
|
+
},
|
13203
|
+
{
|
13204
|
+
"description": "Color of the inverted link’s child content in the disabled state.",
|
13205
|
+
"name": "--mdc-link-inverted-color-disabled",
|
13206
|
+
"inheritedFrom": {
|
13207
|
+
"name": "Linksimple",
|
13208
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
13209
|
+
}
|
13210
|
+
},
|
13211
|
+
{
|
13212
|
+
"description": "Color of the inverted link’s child content in the hover state.",
|
13213
|
+
"name": "--mdc-link-inverted-color-hover",
|
13214
|
+
"inheritedFrom": {
|
13215
|
+
"name": "Linksimple",
|
13216
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
13217
|
+
}
|
13218
|
+
},
|
13219
|
+
{
|
13220
|
+
"description": "Color of the inverted link’s child content in the normal state.",
|
13221
|
+
"name": "--mdc-link-inverted-color-normal",
|
13222
|
+
"inheritedFrom": {
|
13223
|
+
"name": "Linksimple",
|
13224
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
13225
|
+
}
|
13219
13226
|
}
|
13220
|
-
]
|
13221
|
-
"superclass": {
|
13222
|
-
"name": "Component",
|
13223
|
-
"module": "/src/models"
|
13224
|
-
},
|
13225
|
-
"tagName": "mdc-linksimple",
|
13226
|
-
"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 */",
|
13227
|
-
"customElement": true
|
13227
|
+
]
|
13228
13228
|
}
|
13229
13229
|
],
|
13230
13230
|
"exports": [
|
@@ -13232,8 +13232,8 @@
|
|
13232
13232
|
"kind": "js",
|
13233
13233
|
"name": "default",
|
13234
13234
|
"declaration": {
|
13235
|
-
"name": "
|
13236
|
-
"module": "components/
|
13235
|
+
"name": "Link",
|
13236
|
+
"module": "components/link/link.component.js"
|
13237
13237
|
}
|
13238
13238
|
}
|
13239
13239
|
]
|