@momentum-design/components 0.70.1 → 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 +85 -79
- package/dist/browser/index.js.map +2 -2
- package/dist/components/popover/popover.styles.js +1 -0
- 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 +482 -482
- package/dist/react/index.d.ts +2 -2
- package/dist/react/index.js +2 -2
- 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",
|
@@ -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"
|
12699
|
+
},
|
12700
|
+
{
|
12701
|
+
"description": "(React: onFocus) Fired when the buttonLink receives keyboard or mouse focus.",
|
12702
|
+
"name": "focus",
|
12703
|
+
"reactName": "onFocus"
|
12799
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",
|
@@ -12817,11 +12725,7 @@
|
|
12817
12725
|
},
|
12818
12726
|
"description": "The link color can be inverted by setting the inverted attribute to true.",
|
12819
12727
|
"default": "false",
|
12820
|
-
"fieldName": "inverted"
|
12821
|
-
"inheritedFrom": {
|
12822
|
-
"name": "Linksimple",
|
12823
|
-
"module": "src/components/linksimple/linksimple.component.ts"
|
12824
|
-
}
|
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"
|
12754
|
+
"fieldName": "rel"
|
12755
|
+
},
|
12756
|
+
{
|
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",
|
12859
12764
|
"inheritedFrom": {
|
12860
|
-
"name": "
|
12861
|
-
"module": "src/
|
12765
|
+
"name": "DisabledMixin",
|
12766
|
+
"module": "src/utils/mixins/DisabledMixin.ts"
|
12767
|
+
}
|
12768
|
+
},
|
12769
|
+
{
|
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",
|
12777
|
+
"inheritedFrom": {
|
12778
|
+
"name": "TabIndexMixin",
|
12779
|
+
"module": "src/utils/mixins/TabIndexMixin.ts"
|
12862
12780
|
}
|
12863
12781
|
}
|
12864
12782
|
],
|
12865
12783
|
"mixins": [
|
12866
12784
|
{
|
12867
|
-
"name": "
|
12868
|
-
"module": "/src/utils/mixins/
|
12785
|
+
"name": "DisabledMixin",
|
12786
|
+
"module": "/src/utils/mixins/DisabledMixin"
|
12787
|
+
},
|
12788
|
+
{
|
12789
|
+
"name": "TabIndexMixin",
|
12790
|
+
"module": "/src/utils/mixins/TabIndexMixin"
|
12869
12791
|
}
|
12870
12792
|
],
|
12871
12793
|
"superclass": {
|
12872
|
-
"name": "
|
12873
|
-
"module": "/src/
|
12794
|
+
"name": "Component",
|
12795
|
+
"module": "/src/models"
|
12874
12796
|
},
|
12875
|
-
"tagName": "mdc-
|
12876
|
-
"jsDoc": "/**\n * `mdc-
|
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
|
-
}
|
12918
|
-
},
|
12919
|
-
{
|
12920
|
-
"description": "Color of the inverted link’s child content in the active state.",
|
12921
|
-
"name": "--mdc-link-inverted-color-active",
|
12922
|
-
"inheritedFrom": {
|
12923
|
-
"name": "Linksimple",
|
12924
|
-
"module": "src/components/linksimple/linksimple.component.ts"
|
12925
|
-
}
|
12926
|
-
},
|
12927
|
-
{
|
12928
|
-
"description": "Color of the inverted link’s child content in the disabled state.",
|
12929
|
-
"name": "--mdc-link-inverted-color-disabled",
|
12930
|
-
"inheritedFrom": {
|
12931
|
-
"name": "Linksimple",
|
12932
|
-
"module": "src/components/linksimple/linksimple.component.ts"
|
12933
|
-
}
|
12934
|
-
},
|
12935
|
-
{
|
12936
|
-
"description": "Color of the inverted link’s child content in the hover state.",
|
12937
|
-
"name": "--mdc-link-inverted-color-hover",
|
12938
|
-
"inheritedFrom": {
|
12939
|
-
"name": "Linksimple",
|
12940
|
-
"module": "src/components/linksimple/linksimple.component.ts"
|
12941
|
-
}
|
12942
|
-
},
|
12943
|
-
{
|
12944
|
-
"description": "Color of the inverted link’s child content in the normal state.",
|
12945
|
-
"name": "--mdc-link-inverted-color-normal",
|
12946
|
-
"inheritedFrom": {
|
12947
|
-
"name": "Linksimple",
|
12948
|
-
"module": "src/components/linksimple/linksimple.component.ts"
|
12949
|
-
}
|
12950
|
-
}
|
12951
|
-
]
|
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
|
]
|