@momentum-design/components 0.53.6 → 0.53.8
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 +7 -7
- package/dist/browser/index.js.map +2 -2
- package/dist/components/button/button.styles.js +6 -6
- package/dist/components/buttonsimple/buttonsimple.component.d.ts +2 -2
- package/dist/components/buttonsimple/buttonsimple.component.js +5 -14
- package/dist/custom-elements.json +911 -869
- package/dist/react/index.d.ts +3 -3
- package/dist/react/index.js +3 -3
- package/package.json +1 -1
@@ -138,8 +138,11 @@
|
|
138
138
|
{
|
139
139
|
"kind": "field",
|
140
140
|
"name": "ariaStateKey",
|
141
|
+
"type": {
|
142
|
+
"text": "string | undefined"
|
143
|
+
},
|
141
144
|
"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`",
|
142
|
-
"default": "'aria-pressed'",
|
145
|
+
"default": "'aria-pressed' (when)",
|
143
146
|
"attribute": "ariaStateKey",
|
144
147
|
"reflects": true,
|
145
148
|
"inheritedFrom": {
|
@@ -405,8 +408,11 @@
|
|
405
408
|
},
|
406
409
|
{
|
407
410
|
"name": "ariaStateKey",
|
411
|
+
"type": {
|
412
|
+
"text": "string | undefined"
|
413
|
+
},
|
408
414
|
"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`",
|
409
|
-
"default": "'aria-pressed'",
|
415
|
+
"default": "'aria-pressed' (when)",
|
410
416
|
"fieldName": "ariaStateKey",
|
411
417
|
"inheritedFrom": {
|
412
418
|
"name": "Buttonsimple",
|
@@ -485,67 +491,6 @@
|
|
485
491
|
}
|
486
492
|
]
|
487
493
|
},
|
488
|
-
{
|
489
|
-
"kind": "javascript-module",
|
490
|
-
"path": "components/appheader/appheader.component.js",
|
491
|
-
"declarations": [
|
492
|
-
{
|
493
|
-
"kind": "class",
|
494
|
-
"description": "The `mdc-appheader` component provides a structured and accessible app header layout.\nIt consists of three primary sections: leading, center, and trailing.\n\n- The **leading section** typically holds a **brand logo**, **brand name** or **menu icon**.\n- The **center section** can contain a **search bar**, **icons** or action controls.\n- The **trailing section** generally includes a **profile avatar**, **additional icons** or **action controls**.",
|
495
|
-
"name": "Appheader",
|
496
|
-
"cssParts": [
|
497
|
-
{
|
498
|
-
"description": "The main container for styling the header.",
|
499
|
-
"name": "container"
|
500
|
-
},
|
501
|
-
{
|
502
|
-
"description": "The leading section of the header.",
|
503
|
-
"name": "leading-section"
|
504
|
-
},
|
505
|
-
{
|
506
|
-
"description": "The center section of the header.",
|
507
|
-
"name": "center-section"
|
508
|
-
},
|
509
|
-
{
|
510
|
-
"description": "The trailing section of the header.",
|
511
|
-
"name": "trailing-section"
|
512
|
-
}
|
513
|
-
],
|
514
|
-
"slots": [
|
515
|
-
{
|
516
|
-
"description": "Slot for the leading section (e.g., brand logo, brand name).",
|
517
|
-
"name": "leading"
|
518
|
-
},
|
519
|
-
{
|
520
|
-
"description": "Slot for the center section (e.g., search bar, icons).",
|
521
|
-
"name": "center"
|
522
|
-
},
|
523
|
-
{
|
524
|
-
"description": "Slot for the trailing section (e.g., profile avatar, icons).",
|
525
|
-
"name": "trailing"
|
526
|
-
}
|
527
|
-
],
|
528
|
-
"members": [],
|
529
|
-
"superclass": {
|
530
|
-
"name": "Component",
|
531
|
-
"module": "/src/models"
|
532
|
-
},
|
533
|
-
"tagName": "mdc-appheader",
|
534
|
-
"jsDoc": "/**\n * The `mdc-appheader` component provides a structured and accessible app header layout.\n * It consists of three primary sections: leading, center, and trailing.\n *\n * - The **leading section** typically holds a **brand logo**, **brand name** or **menu icon**.\n * - The **center section** can contain a **search bar**, **icons** or action controls.\n * - The **trailing section** generally includes a **profile avatar**, **additional icons** or **action controls**.\n *\n * @tagname mdc-appheader\n *\n * @slot leading - Slot for the leading section (e.g., brand logo, brand name).\n * @slot center - Slot for the center section (e.g., search bar, icons).\n * @slot trailing - Slot for the trailing section (e.g., profile avatar, icons).\n *\n * @csspart container - The main container for styling the header.\n * @csspart leading-section - The leading section of the header.\n * @csspart center-section - The center section of the header.\n * @csspart trailing-section - The trailing section of the header.\n */",
|
535
|
-
"customElement": true
|
536
|
-
}
|
537
|
-
],
|
538
|
-
"exports": [
|
539
|
-
{
|
540
|
-
"kind": "js",
|
541
|
-
"name": "default",
|
542
|
-
"declaration": {
|
543
|
-
"name": "Appheader",
|
544
|
-
"module": "components/appheader/appheader.component.js"
|
545
|
-
}
|
546
|
-
}
|
547
|
-
]
|
548
|
-
},
|
549
494
|
{
|
550
495
|
"kind": "javascript-module",
|
551
496
|
"path": "components/avatar/avatar.component.js",
|
@@ -1004,8 +949,11 @@
|
|
1004
949
|
{
|
1005
950
|
"kind": "field",
|
1006
951
|
"name": "ariaStateKey",
|
952
|
+
"type": {
|
953
|
+
"text": "string | undefined"
|
954
|
+
},
|
1007
955
|
"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`",
|
1008
|
-
"default": "'aria-pressed'",
|
956
|
+
"default": "'aria-pressed' (when)",
|
1009
957
|
"attribute": "ariaStateKey",
|
1010
958
|
"reflects": true,
|
1011
959
|
"inheritedFrom": {
|
@@ -1373,8 +1321,11 @@
|
|
1373
1321
|
},
|
1374
1322
|
{
|
1375
1323
|
"name": "ariaStateKey",
|
1324
|
+
"type": {
|
1325
|
+
"text": "string | undefined"
|
1326
|
+
},
|
1376
1327
|
"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`",
|
1377
|
-
"default": "'aria-pressed'",
|
1328
|
+
"default": "'aria-pressed' (when)",
|
1378
1329
|
"fieldName": "ariaStateKey",
|
1379
1330
|
"inheritedFrom": {
|
1380
1331
|
"name": "Buttonsimple",
|
@@ -1425,110 +1376,6 @@
|
|
1425
1376
|
}
|
1426
1377
|
]
|
1427
1378
|
},
|
1428
|
-
{
|
1429
|
-
"kind": "javascript-module",
|
1430
|
-
"path": "components/brandvisual/brandvisual.component.js",
|
1431
|
-
"declarations": [
|
1432
|
-
{
|
1433
|
-
"kind": "class",
|
1434
|
-
"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.",
|
1435
|
-
"name": "Brandvisual",
|
1436
|
-
"members": [
|
1437
|
-
{
|
1438
|
-
"kind": "field",
|
1439
|
-
"name": "brandVisualData",
|
1440
|
-
"type": {
|
1441
|
-
"text": "HTMLElement | undefined"
|
1442
|
-
},
|
1443
|
-
"privacy": "private"
|
1444
|
-
},
|
1445
|
-
{
|
1446
|
-
"kind": "field",
|
1447
|
-
"name": "name",
|
1448
|
-
"type": {
|
1449
|
-
"text": "BrandVisualNames | undefined"
|
1450
|
-
},
|
1451
|
-
"description": "Name of the brandVisual (= filename)",
|
1452
|
-
"attribute": "name",
|
1453
|
-
"reflects": true
|
1454
|
-
},
|
1455
|
-
{
|
1456
|
-
"kind": "method",
|
1457
|
-
"name": "getBrandVisualData",
|
1458
|
-
"privacy": "private"
|
1459
|
-
},
|
1460
|
-
{
|
1461
|
-
"kind": "method",
|
1462
|
-
"name": "handleBrandVisualLoadedSuccess",
|
1463
|
-
"privacy": "private",
|
1464
|
-
"parameters": [
|
1465
|
-
{
|
1466
|
-
"name": "brandVisualHtml",
|
1467
|
-
"type": {
|
1468
|
-
"text": "HTMLElement"
|
1469
|
-
},
|
1470
|
-
"description": "The brandvisual html element which has been fetched from the brandvisual provider."
|
1471
|
-
}
|
1472
|
-
],
|
1473
|
-
"description": "Sets the brandVisualData state to the fetched brandvisual.\nDispatches a 'load' event on the component once the brandvisual has been successfully loaded."
|
1474
|
-
},
|
1475
|
-
{
|
1476
|
-
"kind": "method",
|
1477
|
-
"name": "handleBrandVisualLoadedFailure",
|
1478
|
-
"privacy": "private",
|
1479
|
-
"parameters": [
|
1480
|
-
{
|
1481
|
-
"name": "error",
|
1482
|
-
"type": {
|
1483
|
-
"text": "unknown"
|
1484
|
-
}
|
1485
|
-
}
|
1486
|
-
],
|
1487
|
-
"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."
|
1488
|
-
}
|
1489
|
-
],
|
1490
|
-
"events": [
|
1491
|
-
{
|
1492
|
-
"description": "(React: onLoad) This event is dispatched when the brandvisual has been successfully loaded.",
|
1493
|
-
"name": "load",
|
1494
|
-
"reactName": "onLoad"
|
1495
|
-
},
|
1496
|
-
{
|
1497
|
-
"description": "(React: onError) This event is dispatched when the brandvisual fetching has failed.",
|
1498
|
-
"name": "error",
|
1499
|
-
"reactName": "onError"
|
1500
|
-
}
|
1501
|
-
],
|
1502
|
-
"attributes": [
|
1503
|
-
{
|
1504
|
-
"name": "name",
|
1505
|
-
"type": {
|
1506
|
-
"text": "BrandVisualNames | undefined"
|
1507
|
-
},
|
1508
|
-
"description": "Name of the brandVisual (= filename)",
|
1509
|
-
"fieldName": "name"
|
1510
|
-
}
|
1511
|
-
],
|
1512
|
-
"superclass": {
|
1513
|
-
"name": "Component",
|
1514
|
-
"module": "/src/models"
|
1515
|
-
},
|
1516
|
-
"tagName": "mdc-brandvisual",
|
1517
|
-
"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 */",
|
1518
|
-
"customElement": true
|
1519
|
-
}
|
1520
|
-
],
|
1521
|
-
"exports": [
|
1522
|
-
{
|
1523
|
-
"kind": "js",
|
1524
|
-
"name": "default",
|
1525
|
-
"declaration": {
|
1526
|
-
"name": "Brandvisual",
|
1527
|
-
"module": "components/brandvisual/brandvisual.component.js"
|
1528
|
-
}
|
1529
|
-
}
|
1530
|
-
]
|
1531
|
-
},
|
1532
1379
|
{
|
1533
1380
|
"kind": "javascript-module",
|
1534
1381
|
"path": "components/badge/badge.component.js",
|
@@ -1852,61 +1699,51 @@
|
|
1852
1699
|
},
|
1853
1700
|
{
|
1854
1701
|
"kind": "javascript-module",
|
1855
|
-
"path": "components/
|
1702
|
+
"path": "components/appheader/appheader.component.js",
|
1856
1703
|
"declarations": [
|
1857
1704
|
{
|
1858
1705
|
"kind": "class",
|
1859
|
-
"description": "
|
1860
|
-
"name": "
|
1861
|
-
"
|
1706
|
+
"description": "The `mdc-appheader` component provides a structured and accessible app header layout.\nIt consists of three primary sections: leading, center, and trailing.\n\n- The **leading section** typically holds a **brand logo**, **brand name** or **menu icon**.\n- The **center section** can contain a **search bar**, **icons** or action controls.\n- The **trailing section** generally includes a **profile avatar**, **additional icons** or **action controls**.",
|
1707
|
+
"name": "Appheader",
|
1708
|
+
"cssParts": [
|
1862
1709
|
{
|
1863
|
-
"description": "
|
1864
|
-
"name": "
|
1710
|
+
"description": "The main container for styling the header.",
|
1711
|
+
"name": "container"
|
1865
1712
|
},
|
1866
1713
|
{
|
1867
|
-
"description": "
|
1868
|
-
"name": "
|
1714
|
+
"description": "The leading section of the header.",
|
1715
|
+
"name": "leading-section"
|
1869
1716
|
},
|
1870
1717
|
{
|
1871
|
-
"description": "
|
1872
|
-
"name": "
|
1718
|
+
"description": "The center section of the header.",
|
1719
|
+
"name": "center-section"
|
1873
1720
|
},
|
1874
1721
|
{
|
1875
|
-
"description": "
|
1876
|
-
"name": "
|
1722
|
+
"description": "The trailing section of the header.",
|
1723
|
+
"name": "trailing-section"
|
1877
1724
|
}
|
1878
1725
|
],
|
1879
|
-
"
|
1726
|
+
"slots": [
|
1880
1727
|
{
|
1881
|
-
"
|
1882
|
-
"name": "
|
1883
|
-
|
1884
|
-
"text": "Size"
|
1885
|
-
},
|
1886
|
-
"privacy": "public",
|
1887
|
-
"description": "Size of the bullet\n\nPossible values: 'small', 'medium', 'large'",
|
1888
|
-
"default": "small",
|
1889
|
-
"attribute": "size",
|
1890
|
-
"reflects": true
|
1891
|
-
}
|
1892
|
-
],
|
1893
|
-
"attributes": [
|
1728
|
+
"description": "Slot for the leading section (e.g., brand logo, brand name).",
|
1729
|
+
"name": "leading"
|
1730
|
+
},
|
1894
1731
|
{
|
1895
|
-
"
|
1896
|
-
"
|
1897
|
-
|
1898
|
-
|
1899
|
-
"description": "
|
1900
|
-
"
|
1901
|
-
"fieldName": "size"
|
1732
|
+
"description": "Slot for the center section (e.g., search bar, icons).",
|
1733
|
+
"name": "center"
|
1734
|
+
},
|
1735
|
+
{
|
1736
|
+
"description": "Slot for the trailing section (e.g., profile avatar, icons).",
|
1737
|
+
"name": "trailing"
|
1902
1738
|
}
|
1903
1739
|
],
|
1740
|
+
"members": [],
|
1904
1741
|
"superclass": {
|
1905
1742
|
"name": "Component",
|
1906
1743
|
"module": "/src/models"
|
1907
1744
|
},
|
1908
|
-
"tagName": "mdc-
|
1909
|
-
"jsDoc": "/**\n *
|
1745
|
+
"tagName": "mdc-appheader",
|
1746
|
+
"jsDoc": "/**\n * The `mdc-appheader` component provides a structured and accessible app header layout.\n * It consists of three primary sections: leading, center, and trailing.\n *\n * - The **leading section** typically holds a **brand logo**, **brand name** or **menu icon**.\n * - The **center section** can contain a **search bar**, **icons** or action controls.\n * - The **trailing section** generally includes a **profile avatar**, **additional icons** or **action controls**.\n *\n * @tagname mdc-appheader\n *\n * @slot leading - Slot for the leading section (e.g., brand logo, brand name).\n * @slot center - Slot for the center section (e.g., search bar, icons).\n * @slot trailing - Slot for the trailing section (e.g., profile avatar, icons).\n *\n * @csspart container - The main container for styling the header.\n * @csspart leading-section - The leading section of the header.\n * @csspart center-section - The center section of the header.\n * @csspart trailing-section - The trailing section of the header.\n */",
|
1910
1747
|
"customElement": true
|
1911
1748
|
}
|
1912
1749
|
],
|
@@ -1915,32 +1752,207 @@
|
|
1915
1752
|
"kind": "js",
|
1916
1753
|
"name": "default",
|
1917
1754
|
"declaration": {
|
1918
|
-
"name": "
|
1919
|
-
"module": "components/
|
1755
|
+
"name": "Appheader",
|
1756
|
+
"module": "components/appheader/appheader.component.js"
|
1920
1757
|
}
|
1921
1758
|
}
|
1922
1759
|
]
|
1923
1760
|
},
|
1924
1761
|
{
|
1925
1762
|
"kind": "javascript-module",
|
1926
|
-
"path": "components/
|
1763
|
+
"path": "components/brandvisual/brandvisual.component.js",
|
1927
1764
|
"declarations": [
|
1928
1765
|
{
|
1929
1766
|
"kind": "class",
|
1930
|
-
"description": "`mdc-
|
1931
|
-
"name": "
|
1932
|
-
"slots": [
|
1933
|
-
{
|
1934
|
-
"description": "Text label of the button.",
|
1935
|
-
"name": ""
|
1936
|
-
}
|
1937
|
-
],
|
1767
|
+
"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.",
|
1768
|
+
"name": "Brandvisual",
|
1938
1769
|
"members": [
|
1939
1770
|
{
|
1940
1771
|
"kind": "field",
|
1941
|
-
"name": "
|
1772
|
+
"name": "brandVisualData",
|
1942
1773
|
"type": {
|
1943
|
-
"text": "
|
1774
|
+
"text": "HTMLElement | undefined"
|
1775
|
+
},
|
1776
|
+
"privacy": "private"
|
1777
|
+
},
|
1778
|
+
{
|
1779
|
+
"kind": "field",
|
1780
|
+
"name": "name",
|
1781
|
+
"type": {
|
1782
|
+
"text": "BrandVisualNames | undefined"
|
1783
|
+
},
|
1784
|
+
"description": "Name of the brandVisual (= filename)",
|
1785
|
+
"attribute": "name",
|
1786
|
+
"reflects": true
|
1787
|
+
},
|
1788
|
+
{
|
1789
|
+
"kind": "method",
|
1790
|
+
"name": "getBrandVisualData",
|
1791
|
+
"privacy": "private"
|
1792
|
+
},
|
1793
|
+
{
|
1794
|
+
"kind": "method",
|
1795
|
+
"name": "handleBrandVisualLoadedSuccess",
|
1796
|
+
"privacy": "private",
|
1797
|
+
"parameters": [
|
1798
|
+
{
|
1799
|
+
"name": "brandVisualHtml",
|
1800
|
+
"type": {
|
1801
|
+
"text": "HTMLElement"
|
1802
|
+
},
|
1803
|
+
"description": "The brandvisual html element which has been fetched from the brandvisual provider."
|
1804
|
+
}
|
1805
|
+
],
|
1806
|
+
"description": "Sets the brandVisualData state to the fetched brandvisual.\nDispatches a 'load' event on the component once the brandvisual has been successfully loaded."
|
1807
|
+
},
|
1808
|
+
{
|
1809
|
+
"kind": "method",
|
1810
|
+
"name": "handleBrandVisualLoadedFailure",
|
1811
|
+
"privacy": "private",
|
1812
|
+
"parameters": [
|
1813
|
+
{
|
1814
|
+
"name": "error",
|
1815
|
+
"type": {
|
1816
|
+
"text": "unknown"
|
1817
|
+
}
|
1818
|
+
}
|
1819
|
+
],
|
1820
|
+
"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."
|
1821
|
+
}
|
1822
|
+
],
|
1823
|
+
"events": [
|
1824
|
+
{
|
1825
|
+
"description": "(React: onLoad) This event is dispatched when the brandvisual has been successfully loaded.",
|
1826
|
+
"name": "load",
|
1827
|
+
"reactName": "onLoad"
|
1828
|
+
},
|
1829
|
+
{
|
1830
|
+
"description": "(React: onError) This event is dispatched when the brandvisual fetching has failed.",
|
1831
|
+
"name": "error",
|
1832
|
+
"reactName": "onError"
|
1833
|
+
}
|
1834
|
+
],
|
1835
|
+
"attributes": [
|
1836
|
+
{
|
1837
|
+
"name": "name",
|
1838
|
+
"type": {
|
1839
|
+
"text": "BrandVisualNames | undefined"
|
1840
|
+
},
|
1841
|
+
"description": "Name of the brandVisual (= filename)",
|
1842
|
+
"fieldName": "name"
|
1843
|
+
}
|
1844
|
+
],
|
1845
|
+
"superclass": {
|
1846
|
+
"name": "Component",
|
1847
|
+
"module": "/src/models"
|
1848
|
+
},
|
1849
|
+
"tagName": "mdc-brandvisual",
|
1850
|
+
"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 */",
|
1851
|
+
"customElement": true
|
1852
|
+
}
|
1853
|
+
],
|
1854
|
+
"exports": [
|
1855
|
+
{
|
1856
|
+
"kind": "js",
|
1857
|
+
"name": "default",
|
1858
|
+
"declaration": {
|
1859
|
+
"name": "Brandvisual",
|
1860
|
+
"module": "components/brandvisual/brandvisual.component.js"
|
1861
|
+
}
|
1862
|
+
}
|
1863
|
+
]
|
1864
|
+
},
|
1865
|
+
{
|
1866
|
+
"kind": "javascript-module",
|
1867
|
+
"path": "components/bullet/bullet.component.js",
|
1868
|
+
"declarations": [
|
1869
|
+
{
|
1870
|
+
"kind": "class",
|
1871
|
+
"description": "Bullet component, which is a visual marker\nand be used to organize and present items in a list format.",
|
1872
|
+
"name": "Bullet",
|
1873
|
+
"cssProperties": [
|
1874
|
+
{
|
1875
|
+
"description": "background color of the bullet",
|
1876
|
+
"name": "--mdc-bullet-background-color"
|
1877
|
+
},
|
1878
|
+
{
|
1879
|
+
"description": "small size value of the bullet",
|
1880
|
+
"name": "--mdc-bullet-size-small"
|
1881
|
+
},
|
1882
|
+
{
|
1883
|
+
"description": "medium size value of the bullet",
|
1884
|
+
"name": "--mdc-bullet-size-medium"
|
1885
|
+
},
|
1886
|
+
{
|
1887
|
+
"description": "large size value of the bullet",
|
1888
|
+
"name": "--mdc-bullet-size-large"
|
1889
|
+
}
|
1890
|
+
],
|
1891
|
+
"members": [
|
1892
|
+
{
|
1893
|
+
"kind": "field",
|
1894
|
+
"name": "size",
|
1895
|
+
"type": {
|
1896
|
+
"text": "Size"
|
1897
|
+
},
|
1898
|
+
"privacy": "public",
|
1899
|
+
"description": "Size of the bullet\n\nPossible values: 'small', 'medium', 'large'",
|
1900
|
+
"default": "small",
|
1901
|
+
"attribute": "size",
|
1902
|
+
"reflects": true
|
1903
|
+
}
|
1904
|
+
],
|
1905
|
+
"attributes": [
|
1906
|
+
{
|
1907
|
+
"name": "size",
|
1908
|
+
"type": {
|
1909
|
+
"text": "Size"
|
1910
|
+
},
|
1911
|
+
"description": "Size of the bullet\n\nPossible values: 'small', 'medium', 'large'",
|
1912
|
+
"default": "small",
|
1913
|
+
"fieldName": "size"
|
1914
|
+
}
|
1915
|
+
],
|
1916
|
+
"superclass": {
|
1917
|
+
"name": "Component",
|
1918
|
+
"module": "/src/models"
|
1919
|
+
},
|
1920
|
+
"tagName": "mdc-bullet",
|
1921
|
+
"jsDoc": "/**\n * Bullet component, which is a visual marker\n * and be used to organize and present items in a list format.\n *\n * @tagname mdc-bullet\n *\n * @cssproperty --mdc-bullet-background-color - background color of the bullet\n * @cssproperty --mdc-bullet-size-small - small size value of the bullet\n * @cssproperty --mdc-bullet-size-medium - medium size value of the bullet\n * @cssproperty --mdc-bullet-size-large - large size value of the bullet\n*/",
|
1922
|
+
"customElement": true
|
1923
|
+
}
|
1924
|
+
],
|
1925
|
+
"exports": [
|
1926
|
+
{
|
1927
|
+
"kind": "js",
|
1928
|
+
"name": "default",
|
1929
|
+
"declaration": {
|
1930
|
+
"name": "Bullet",
|
1931
|
+
"module": "components/bullet/bullet.component.js"
|
1932
|
+
}
|
1933
|
+
}
|
1934
|
+
]
|
1935
|
+
},
|
1936
|
+
{
|
1937
|
+
"kind": "javascript-module",
|
1938
|
+
"path": "components/button/button.component.js",
|
1939
|
+
"declarations": [
|
1940
|
+
{
|
1941
|
+
"kind": "class",
|
1942
|
+
"description": "`mdc-button` is a component that can be configured in various ways to suit different use cases.\n\nButton Variants:\n- **Primary**: Solid background color.\n- **Secondary**: Transparent background with a solid border.\n- **Tertiary**: No background or border, appears as plain text but retains all button functionalities.\n\nButton Colors:\n- **Positive**: Green color.\n- **Negative**: Red color.\n- **Accent**: Blue color.\n- **Promotional**: Purple color.\n- **Default**: White color.\n\nButton Sizes (in REM units):\n- **Pill button**: 40, 32, 28, 24.\n- **Icon button**: 64, 52, 40, 32, 28, 24.\n- **Tertiary icon button**: 20.\n\nButton Types:\n- **Pill button**: A button that contains text value. Commonly used for call to action, tags, or filters.\n- **Pill button with icons**: A button containing an icon either on the left or right side of the button.\n- **Icon button**: A button represented by just an icon without any text.\nThe type of button is inferred based on the presence of slot and/or prefix and postfix icons.",
|
1943
|
+
"name": "Button",
|
1944
|
+
"slots": [
|
1945
|
+
{
|
1946
|
+
"description": "Text label of the button.",
|
1947
|
+
"name": ""
|
1948
|
+
}
|
1949
|
+
],
|
1950
|
+
"members": [
|
1951
|
+
{
|
1952
|
+
"kind": "field",
|
1953
|
+
"name": "prefixIcon",
|
1954
|
+
"type": {
|
1955
|
+
"text": "IconNames | undefined"
|
1944
1956
|
},
|
1945
1957
|
"description": "The name of the icon to display as a prefix.\nThe icon is displayed on the left side of the button.",
|
1946
1958
|
"attribute": "prefix-icon",
|
@@ -2141,8 +2153,11 @@
|
|
2141
2153
|
{
|
2142
2154
|
"kind": "field",
|
2143
2155
|
"name": "ariaStateKey",
|
2156
|
+
"type": {
|
2157
|
+
"text": "string | undefined"
|
2158
|
+
},
|
2144
2159
|
"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`",
|
2145
|
-
"default": "'aria-pressed'",
|
2160
|
+
"default": "'aria-pressed' (when)",
|
2146
2161
|
"attribute": "ariaStateKey",
|
2147
2162
|
"reflects": true,
|
2148
2163
|
"inheritedFrom": {
|
@@ -2427,8 +2442,11 @@
|
|
2427
2442
|
},
|
2428
2443
|
{
|
2429
2444
|
"name": "ariaStateKey",
|
2445
|
+
"type": {
|
2446
|
+
"text": "string | undefined"
|
2447
|
+
},
|
2430
2448
|
"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`",
|
2431
|
-
"default": "'aria-pressed'",
|
2449
|
+
"default": "'aria-pressed' (when)",
|
2432
2450
|
"fieldName": "ariaStateKey",
|
2433
2451
|
"inheritedFrom": {
|
2434
2452
|
"name": "Buttonsimple",
|
@@ -2509,160 +2527,132 @@
|
|
2509
2527
|
},
|
2510
2528
|
{
|
2511
2529
|
"kind": "javascript-module",
|
2512
|
-
"path": "components/
|
2530
|
+
"path": "components/checkbox/checkbox.component.js",
|
2513
2531
|
"declarations": [
|
2514
2532
|
{
|
2515
2533
|
"kind": "class",
|
2516
|
-
"description": "
|
2517
|
-
"name": "
|
2518
|
-
"
|
2534
|
+
"description": "Checkboxes allow users to select multiple options from a list or turn an item/feature on or off.\nThese are often used in forms, settings, and selections in lists.\n\nA checkbox component contains an optional label and an optional helper text.\n\nTo create a group of checkboxes, use the FormFieldGroup component.",
|
2535
|
+
"name": "Checkbox",
|
2536
|
+
"cssProperties": [
|
2519
2537
|
{
|
2520
|
-
"
|
2521
|
-
"name": "
|
2522
|
-
"type": {
|
2523
|
-
"text": "boolean | undefined"
|
2524
|
-
},
|
2525
|
-
"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.",
|
2526
|
-
"default": "undefined",
|
2527
|
-
"attribute": "active",
|
2528
|
-
"reflects": true
|
2538
|
+
"description": "Allows customization of the background color on hover.",
|
2539
|
+
"name": "--mdc-checkbox-background-color-hover"
|
2529
2540
|
},
|
2530
2541
|
{
|
2531
|
-
"
|
2532
|
-
"name": "
|
2533
|
-
"type": {
|
2534
|
-
"text": "boolean | undefined"
|
2535
|
-
},
|
2536
|
-
"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.",
|
2537
|
-
"default": "undefined",
|
2538
|
-
"attribute": "soft-disabled"
|
2542
|
+
"description": "Border color in high contrast.",
|
2543
|
+
"name": "--mdc-checkbox-border-color"
|
2539
2544
|
},
|
2540
2545
|
{
|
2541
|
-
"
|
2542
|
-
"name": "
|
2543
|
-
"type": {
|
2544
|
-
"text": "ButtonSize"
|
2545
|
-
},
|
2546
|
-
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
2547
|
-
"default": "32",
|
2548
|
-
"attribute": "size",
|
2549
|
-
"reflects": true
|
2546
|
+
"description": "Background color for a selected checkbox.",
|
2547
|
+
"name": "--mdc-checkbox-checked-background-color"
|
2550
2548
|
},
|
2551
2549
|
{
|
2552
|
-
"
|
2553
|
-
"name": "
|
2554
|
-
"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.",
|
2555
|
-
"default": "button",
|
2556
|
-
"attribute": "role",
|
2557
|
-
"reflects": true
|
2550
|
+
"description": "Background color for a selected checkbox when hovered.",
|
2551
|
+
"name": "--mdc-checkbox-checked-background-color-hover"
|
2558
2552
|
},
|
2559
2553
|
{
|
2560
|
-
"
|
2561
|
-
"name": "
|
2562
|
-
"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`",
|
2563
|
-
"default": "'aria-pressed'",
|
2564
|
-
"attribute": "ariaStateKey",
|
2565
|
-
"reflects": true
|
2554
|
+
"description": "Background color for a selected checkbox when pressed.",
|
2555
|
+
"name": "--mdc-checkbox-checked-pressed-icon-color"
|
2566
2556
|
},
|
2567
2557
|
{
|
2568
|
-
"
|
2569
|
-
"name": "
|
2570
|
-
"type": {
|
2571
|
-
"text": "ButtonType"
|
2572
|
-
},
|
2573
|
-
"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.",
|
2574
|
-
"default": "button",
|
2575
|
-
"attribute": "type",
|
2576
|
-
"reflects": true
|
2558
|
+
"description": "Background color for a disabled checkbox.",
|
2559
|
+
"name": "--mdc-checkbox-disabled-background-color"
|
2577
2560
|
},
|
2578
2561
|
{
|
2579
|
-
"
|
2580
|
-
"name": "
|
2581
|
-
"privacy": "protected"
|
2562
|
+
"description": "Border color for a disabled checkbox.",
|
2563
|
+
"name": "--mdc-checkbox-disabled-border-color"
|
2582
2564
|
},
|
2583
2565
|
{
|
2584
|
-
"
|
2585
|
-
"name": "
|
2586
|
-
"privacy": "protected",
|
2587
|
-
"parameters": [
|
2588
|
-
{
|
2589
|
-
"name": "element",
|
2590
|
-
"type": {
|
2591
|
-
"text": "HTMLElement"
|
2592
|
-
},
|
2593
|
-
"description": "The button element"
|
2594
|
-
},
|
2595
|
-
{
|
2596
|
-
"name": "active",
|
2597
|
-
"optional": true,
|
2598
|
-
"type": {
|
2599
|
-
"text": "boolean"
|
2600
|
-
},
|
2601
|
-
"description": "The active state of the element"
|
2602
|
-
}
|
2603
|
-
],
|
2604
|
-
"description": "Sets the ariaStateKey attributes based on the active state of the button."
|
2566
|
+
"description": "Background color for a disabled, selected checkbox.",
|
2567
|
+
"name": "--mdc-checkbox-disabled-checked-icon-color"
|
2605
2568
|
},
|
2606
2569
|
{
|
2607
|
-
"
|
2608
|
-
"name": "
|
2609
|
-
|
2610
|
-
|
2611
|
-
|
2612
|
-
|
2613
|
-
|
2614
|
-
|
2615
|
-
|
2616
|
-
|
2617
|
-
|
2618
|
-
|
2619
|
-
|
2620
|
-
|
2621
|
-
|
2622
|
-
|
2623
|
-
|
2624
|
-
|
2625
|
-
|
2626
|
-
|
2627
|
-
|
2570
|
+
"description": "Icon color for a disabled checkbox.",
|
2571
|
+
"name": "--mdc-checkbox-disabled-icon-color"
|
2572
|
+
},
|
2573
|
+
{
|
2574
|
+
"description": "Background color for an unselected checkbox.",
|
2575
|
+
"name": "--mdc-checkbox-icon-background-color"
|
2576
|
+
},
|
2577
|
+
{
|
2578
|
+
"description": "Default background color for an unselected checkbox.",
|
2579
|
+
"name": "--mdc-checkbox-icon-border-color"
|
2580
|
+
},
|
2581
|
+
{
|
2582
|
+
"description": "Icon color for an unselected checkbox.",
|
2583
|
+
"name": "--mdc-checkbox-icon-color"
|
2584
|
+
},
|
2585
|
+
{
|
2586
|
+
"description": "Background color for a selected checkbox when pressed.",
|
2587
|
+
"name": "--mdc-checkbox-pressed-icon-color"
|
2588
|
+
}
|
2589
|
+
],
|
2590
|
+
"members": [
|
2591
|
+
{
|
2592
|
+
"kind": "field",
|
2593
|
+
"name": "checked",
|
2594
|
+
"type": {
|
2595
|
+
"text": "boolean"
|
2596
|
+
},
|
2597
|
+
"default": "false",
|
2598
|
+
"description": "Determines whether the checkbox is selected or unselected.",
|
2599
|
+
"attribute": "checked",
|
2600
|
+
"reflects": true
|
2601
|
+
},
|
2602
|
+
{
|
2603
|
+
"kind": "field",
|
2604
|
+
"name": "indeterminate",
|
2605
|
+
"type": {
|
2606
|
+
"text": "boolean"
|
2607
|
+
},
|
2608
|
+
"default": "false",
|
2609
|
+
"description": "This property is used to determine the parent checkbox in a nested checkbox group.\nIf any one of the children is unselected, then the parent checkbox will be indeterminate.\nIf all children are either selected or unselected, then the parent checkbox will not be indeterminate.",
|
2610
|
+
"attribute": "indeterminate",
|
2611
|
+
"reflects": true
|
2612
|
+
},
|
2613
|
+
{
|
2614
|
+
"kind": "field",
|
2615
|
+
"name": "autofocus",
|
2616
|
+
"type": {
|
2617
|
+
"text": "boolean"
|
2618
|
+
},
|
2619
|
+
"default": "false",
|
2620
|
+
"description": "Automatically focus on the element when the page loads.\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)",
|
2621
|
+
"attribute": "autofocus",
|
2622
|
+
"reflects": true
|
2628
2623
|
},
|
2629
2624
|
{
|
2630
2625
|
"kind": "method",
|
2631
|
-
"name": "
|
2626
|
+
"name": "setFormValue",
|
2632
2627
|
"privacy": "private",
|
2633
|
-
"
|
2634
|
-
{
|
2635
|
-
"name": "element",
|
2636
|
-
"type": {
|
2637
|
-
"text": "HTMLElement"
|
2638
|
-
},
|
2639
|
-
"description": "The button element."
|
2640
|
-
},
|
2641
|
-
{
|
2642
|
-
"name": "disabled",
|
2643
|
-
"type": {
|
2644
|
-
"text": "boolean"
|
2645
|
-
},
|
2646
|
-
"description": "The disabled state."
|
2647
|
-
}
|
2648
|
-
],
|
2649
|
-
"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."
|
2628
|
+
"description": "Updates the form value to reflect the current state of the checkbox.\nIf checked, the value is set to either the user-provided value or 'on' if no value is provided.\nIf unchecked, the value is set to null."
|
2650
2629
|
},
|
2651
2630
|
{
|
2652
2631
|
"kind": "method",
|
2653
|
-
"name": "
|
2654
|
-
"privacy": "private"
|
2632
|
+
"name": "manageRequired",
|
2633
|
+
"privacy": "private",
|
2634
|
+
"description": "Manages the required state of the checkbox.\nIf the checkbox is not checked and the requiredLabel property is set, then the checkbox is invalid."
|
2655
2635
|
},
|
2656
2636
|
{
|
2657
2637
|
"kind": "method",
|
2658
|
-
"name": "
|
2638
|
+
"name": "toggleState",
|
2659
2639
|
"privacy": "private",
|
2660
|
-
"
|
2640
|
+
"return": {
|
2641
|
+
"type": {
|
2642
|
+
"text": "void"
|
2643
|
+
}
|
2644
|
+
},
|
2645
|
+
"description": "Toggles the state of the checkbox element.\nIf the element is not disabled, then\nthe checked property is toggled and the indeterminate property is set to false."
|
2661
2646
|
},
|
2662
2647
|
{
|
2663
2648
|
"kind": "method",
|
2664
2649
|
"name": "handleKeyDown",
|
2665
2650
|
"privacy": "private",
|
2651
|
+
"return": {
|
2652
|
+
"type": {
|
2653
|
+
"text": "void"
|
2654
|
+
}
|
2655
|
+
},
|
2666
2656
|
"parameters": [
|
2667
2657
|
{
|
2668
2658
|
"name": "event",
|
@@ -2672,724 +2662,829 @@
|
|
2672
2662
|
"description": "The keyboard event."
|
2673
2663
|
}
|
2674
2664
|
],
|
2675
|
-
"description": "Handles the keydown event on the
|
2665
|
+
"description": "Handles the keydown event on the checkbox.\nWhen the user presses Enter, the form is submitted."
|
2676
2666
|
},
|
2677
2667
|
{
|
2678
2668
|
"kind": "method",
|
2679
|
-
"name": "
|
2680
|
-
"privacy": "
|
2669
|
+
"name": "handleChange",
|
2670
|
+
"privacy": "public",
|
2671
|
+
"return": {
|
2672
|
+
"type": {
|
2673
|
+
"text": "void"
|
2674
|
+
}
|
2675
|
+
},
|
2681
2676
|
"parameters": [
|
2682
2677
|
{
|
2683
2678
|
"name": "event",
|
2684
2679
|
"type": {
|
2685
|
-
"text": "
|
2686
|
-
}
|
2687
|
-
"description": "The keyboard event."
|
2680
|
+
"text": "Event"
|
2681
|
+
}
|
2688
2682
|
}
|
2689
2683
|
],
|
2690
|
-
"description": "
|
2684
|
+
"description": "Toggles the state of the checkbox element.\nand dispatch the new change event."
|
2691
2685
|
},
|
2692
2686
|
{
|
2693
2687
|
"kind": "field",
|
2694
|
-
"name": "
|
2688
|
+
"name": "renderLabelAndHelperText",
|
2689
|
+
"privacy": "private"
|
2690
|
+
},
|
2691
|
+
{
|
2692
|
+
"kind": "field",
|
2693
|
+
"name": "name",
|
2695
2694
|
"type": {
|
2696
|
-
"text": "
|
2695
|
+
"text": "string"
|
2697
2696
|
},
|
2698
|
-
"default": "
|
2699
|
-
"description": "
|
2700
|
-
"attribute": "
|
2697
|
+
"default": "''",
|
2698
|
+
"description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
|
2699
|
+
"attribute": "name",
|
2701
2700
|
"reflects": true,
|
2702
2701
|
"inheritedFrom": {
|
2703
|
-
"name": "
|
2704
|
-
"module": "utils/mixins/
|
2702
|
+
"name": "FormInternalsMixin",
|
2703
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
2705
2704
|
}
|
2706
2705
|
},
|
2707
2706
|
{
|
2708
2707
|
"kind": "field",
|
2709
|
-
"name": "
|
2708
|
+
"name": "value",
|
2710
2709
|
"type": {
|
2711
|
-
"text": "
|
2710
|
+
"text": "string"
|
2712
2711
|
},
|
2713
|
-
"
|
2714
|
-
"
|
2715
|
-
"attribute": "
|
2712
|
+
"default": "''",
|
2713
|
+
"description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
|
2714
|
+
"attribute": "value",
|
2716
2715
|
"reflects": true,
|
2717
2716
|
"inheritedFrom": {
|
2718
|
-
"name": "
|
2719
|
-
"module": "utils/mixins/
|
2717
|
+
"name": "FormInternalsMixin",
|
2718
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
2720
2719
|
}
|
2721
|
-
}
|
2722
|
-
],
|
2723
|
-
"events": [
|
2724
|
-
{
|
2725
|
-
"description": "(React: onClick) This event is dispatched when the button is clicked.",
|
2726
|
-
"name": "click",
|
2727
|
-
"reactName": "onClick"
|
2728
|
-
},
|
2729
|
-
{
|
2730
|
-
"description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the button.",
|
2731
|
-
"name": "keydown",
|
2732
|
-
"reactName": "onKeyDown"
|
2733
|
-
},
|
2734
|
-
{
|
2735
|
-
"description": "(React: onKeyUp) This event is dispatched when a key is released on the button.",
|
2736
|
-
"name": "keyup",
|
2737
|
-
"reactName": "onKeyUp"
|
2738
2720
|
},
|
2739
2721
|
{
|
2740
|
-
"
|
2741
|
-
"name": "
|
2742
|
-
"reactName": "onFocus"
|
2743
|
-
}
|
2744
|
-
],
|
2745
|
-
"attributes": [
|
2746
|
-
{
|
2747
|
-
"name": "active",
|
2722
|
+
"kind": "field",
|
2723
|
+
"name": "validationMessage",
|
2748
2724
|
"type": {
|
2749
|
-
"text": "
|
2725
|
+
"text": "string | undefined"
|
2750
2726
|
},
|
2751
|
-
"description": "
|
2752
|
-
"
|
2753
|
-
"
|
2727
|
+
"description": "Custom validation message that will override the default message and displayed when the input is invalid.",
|
2728
|
+
"attribute": "validation-message",
|
2729
|
+
"reflects": true,
|
2730
|
+
"inheritedFrom": {
|
2731
|
+
"name": "FormInternalsMixin",
|
2732
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
2733
|
+
}
|
2754
2734
|
},
|
2755
2735
|
{
|
2756
|
-
"
|
2736
|
+
"kind": "field",
|
2737
|
+
"name": "validity",
|
2757
2738
|
"type": {
|
2758
|
-
"text": "
|
2739
|
+
"text": "ValidityState"
|
2759
2740
|
},
|
2760
|
-
"
|
2761
|
-
"
|
2762
|
-
|
2741
|
+
"readonly": true,
|
2742
|
+
"inheritedFrom": {
|
2743
|
+
"name": "FormInternalsMixin",
|
2744
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
2745
|
+
}
|
2763
2746
|
},
|
2764
2747
|
{
|
2765
|
-
"
|
2766
|
-
"
|
2767
|
-
|
2768
|
-
|
2769
|
-
|
2770
|
-
|
2771
|
-
|
2748
|
+
"kind": "field",
|
2749
|
+
"name": "willValidate",
|
2750
|
+
"readonly": true,
|
2751
|
+
"inheritedFrom": {
|
2752
|
+
"name": "FormInternalsMixin",
|
2753
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
2754
|
+
}
|
2772
2755
|
},
|
2773
2756
|
{
|
2774
|
-
"
|
2775
|
-
"
|
2776
|
-
"
|
2777
|
-
"
|
2757
|
+
"kind": "method",
|
2758
|
+
"name": "setValidity",
|
2759
|
+
"description": "Sets the validity of the input field based on the input field's validity.",
|
2760
|
+
"return": {
|
2761
|
+
"type": {
|
2762
|
+
"text": ""
|
2763
|
+
}
|
2764
|
+
},
|
2765
|
+
"inheritedFrom": {
|
2766
|
+
"name": "FormInternalsMixin",
|
2767
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
2768
|
+
}
|
2778
2769
|
},
|
2779
2770
|
{
|
2780
|
-
"
|
2781
|
-
"
|
2782
|
-
"
|
2783
|
-
|
2771
|
+
"kind": "method",
|
2772
|
+
"name": "checkValidity",
|
2773
|
+
"return": {
|
2774
|
+
"type": {
|
2775
|
+
"text": "boolean"
|
2776
|
+
}
|
2777
|
+
},
|
2778
|
+
"inheritedFrom": {
|
2779
|
+
"name": "FormInternalsMixin",
|
2780
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
2781
|
+
}
|
2784
2782
|
},
|
2785
2783
|
{
|
2786
|
-
"
|
2787
|
-
"
|
2788
|
-
|
2789
|
-
|
2790
|
-
|
2791
|
-
|
2792
|
-
"fieldName": "type"
|
2784
|
+
"kind": "method",
|
2785
|
+
"name": "reportValidity",
|
2786
|
+
"inheritedFrom": {
|
2787
|
+
"name": "FormInternalsMixin",
|
2788
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
2789
|
+
}
|
2793
2790
|
},
|
2794
2791
|
{
|
2795
|
-
"
|
2792
|
+
"kind": "field",
|
2793
|
+
"name": "dataAriaLabel",
|
2796
2794
|
"type": {
|
2797
|
-
"text": "
|
2795
|
+
"text": "string | null"
|
2798
2796
|
},
|
2799
|
-
"default": "
|
2800
|
-
"description": "
|
2801
|
-
"
|
2797
|
+
"default": "null",
|
2798
|
+
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
2799
|
+
"attribute": "data-aria-label",
|
2800
|
+
"reflects": true,
|
2802
2801
|
"inheritedFrom": {
|
2803
|
-
"name": "
|
2804
|
-
"module": "
|
2802
|
+
"name": "DataAriaLabelMixin",
|
2803
|
+
"module": "utils/mixins/DataAriaLabelMixin.js"
|
2805
2804
|
}
|
2806
2805
|
},
|
2807
2806
|
{
|
2807
|
+
"kind": "field",
|
2808
2808
|
"name": "disabled",
|
2809
2809
|
"type": {
|
2810
2810
|
"text": "boolean | undefined"
|
2811
2811
|
},
|
2812
2812
|
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
2813
2813
|
"default": "undefined",
|
2814
|
-
"
|
2814
|
+
"attribute": "disabled",
|
2815
|
+
"reflects": true,
|
2815
2816
|
"inheritedFrom": {
|
2816
2817
|
"name": "DisabledMixin",
|
2817
|
-
"module": "
|
2818
|
+
"module": "utils/mixins/DisabledMixin.js"
|
2818
2819
|
}
|
2819
|
-
}
|
2820
|
-
],
|
2821
|
-
"mixins": [
|
2822
|
-
{
|
2823
|
-
"name": "TabIndexMixin",
|
2824
|
-
"module": "/src/utils/mixins/TabIndexMixin"
|
2825
|
-
},
|
2826
|
-
{
|
2827
|
-
"name": "DisabledMixin",
|
2828
|
-
"module": "/src/utils/mixins/DisabledMixin"
|
2829
|
-
}
|
2830
|
-
],
|
2831
|
-
"superclass": {
|
2832
|
-
"name": "Component",
|
2833
|
-
"module": "/src/models"
|
2834
|
-
},
|
2835
|
-
"tagName": "mdc-buttonsimple",
|
2836
|
-
"jsDoc": "/**\n * `mdc-buttonsimple` is a component that can be configured in various ways to suit different use cases.\n * It is used as an internal component and is not intended to be used directly by consumers.\n * Consumers should use the `mdc-button` component instead.\n *\n * @event click - (React: onClick) This event is dispatched when the button is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the button.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the button.\n * @event focus - (React: onFocus) This event is dispatched when the button receives focus.\n *\n * @tagname mdc-buttonsimple\n */",
|
2837
|
-
"customElement": true
|
2838
|
-
}
|
2839
|
-
],
|
2840
|
-
"exports": [
|
2841
|
-
{
|
2842
|
-
"kind": "js",
|
2843
|
-
"name": "default",
|
2844
|
-
"declaration": {
|
2845
|
-
"name": "Buttonsimple",
|
2846
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
2847
|
-
}
|
2848
|
-
}
|
2849
|
-
]
|
2850
|
-
},
|
2851
|
-
{
|
2852
|
-
"kind": "javascript-module",
|
2853
|
-
"path": "components/checkbox/checkbox.component.js",
|
2854
|
-
"declarations": [
|
2855
|
-
{
|
2856
|
-
"kind": "class",
|
2857
|
-
"description": "Checkboxes allow users to select multiple options from a list or turn an item/feature on or off.\nThese are often used in forms, settings, and selections in lists.\n\nA checkbox component contains an optional label and an optional helper text.\n\nTo create a group of checkboxes, use the FormFieldGroup component.",
|
2858
|
-
"name": "Checkbox",
|
2859
|
-
"cssProperties": [
|
2860
|
-
{
|
2861
|
-
"description": "Allows customization of the background color on hover.",
|
2862
|
-
"name": "--mdc-checkbox-background-color-hover"
|
2863
|
-
},
|
2864
|
-
{
|
2865
|
-
"description": "Border color in high contrast.",
|
2866
|
-
"name": "--mdc-checkbox-border-color"
|
2867
|
-
},
|
2868
|
-
{
|
2869
|
-
"description": "Background color for a selected checkbox.",
|
2870
|
-
"name": "--mdc-checkbox-checked-background-color"
|
2871
|
-
},
|
2872
|
-
{
|
2873
|
-
"description": "Background color for a selected checkbox when hovered.",
|
2874
|
-
"name": "--mdc-checkbox-checked-background-color-hover"
|
2875
|
-
},
|
2876
|
-
{
|
2877
|
-
"description": "Background color for a selected checkbox when pressed.",
|
2878
|
-
"name": "--mdc-checkbox-checked-pressed-icon-color"
|
2879
|
-
},
|
2880
|
-
{
|
2881
|
-
"description": "Background color for a disabled checkbox.",
|
2882
|
-
"name": "--mdc-checkbox-disabled-background-color"
|
2883
|
-
},
|
2884
|
-
{
|
2885
|
-
"description": "Border color for a disabled checkbox.",
|
2886
|
-
"name": "--mdc-checkbox-disabled-border-color"
|
2887
|
-
},
|
2888
|
-
{
|
2889
|
-
"description": "Background color for a disabled, selected checkbox.",
|
2890
|
-
"name": "--mdc-checkbox-disabled-checked-icon-color"
|
2891
|
-
},
|
2892
|
-
{
|
2893
|
-
"description": "Icon color for a disabled checkbox.",
|
2894
|
-
"name": "--mdc-checkbox-disabled-icon-color"
|
2895
|
-
},
|
2896
|
-
{
|
2897
|
-
"description": "Background color for an unselected checkbox.",
|
2898
|
-
"name": "--mdc-checkbox-icon-background-color"
|
2899
2820
|
},
|
2900
2821
|
{
|
2901
|
-
"
|
2902
|
-
"name": "
|
2822
|
+
"kind": "field",
|
2823
|
+
"name": "label",
|
2824
|
+
"type": {
|
2825
|
+
"text": "string | undefined"
|
2826
|
+
},
|
2827
|
+
"description": "The label of the input field. It is linked to the input field using the `for` attribute.",
|
2828
|
+
"attribute": "label",
|
2829
|
+
"reflects": true,
|
2830
|
+
"inheritedFrom": {
|
2831
|
+
"name": "FormfieldWrapper",
|
2832
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
2833
|
+
}
|
2903
2834
|
},
|
2904
2835
|
{
|
2905
|
-
"
|
2906
|
-
"name": "
|
2836
|
+
"kind": "field",
|
2837
|
+
"name": "requiredLabel",
|
2838
|
+
"type": {
|
2839
|
+
"text": "string | undefined"
|
2840
|
+
},
|
2841
|
+
"description": "The required label of the input field.\nWhen an appropriate string value is set,\nthe input field is marked as required and the label is appended with this text.",
|
2842
|
+
"attribute": "required-label",
|
2843
|
+
"reflects": true,
|
2844
|
+
"inheritedFrom": {
|
2845
|
+
"name": "FormfieldWrapper",
|
2846
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
2847
|
+
}
|
2907
2848
|
},
|
2908
|
-
{
|
2909
|
-
"description": "Background color for a selected checkbox when pressed.",
|
2910
|
-
"name": "--mdc-checkbox-pressed-icon-color"
|
2911
|
-
}
|
2912
|
-
],
|
2913
|
-
"members": [
|
2914
2849
|
{
|
2915
2850
|
"kind": "field",
|
2916
|
-
"name": "
|
2851
|
+
"name": "id",
|
2917
2852
|
"type": {
|
2918
|
-
"text": "
|
2853
|
+
"text": "string"
|
2919
2854
|
},
|
2920
|
-
"default": "
|
2921
|
-
"description": "
|
2922
|
-
"attribute": "
|
2923
|
-
"
|
2855
|
+
"default": "''",
|
2856
|
+
"description": "The unique id of the input field. It is used to link the input field with the label.",
|
2857
|
+
"attribute": "id",
|
2858
|
+
"inheritedFrom": {
|
2859
|
+
"name": "FormfieldWrapper",
|
2860
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
2861
|
+
}
|
2924
2862
|
},
|
2925
2863
|
{
|
2926
2864
|
"kind": "field",
|
2927
|
-
"name": "
|
2865
|
+
"name": "helpTextType",
|
2928
2866
|
"type": {
|
2929
|
-
"text": "
|
2867
|
+
"text": "ValidationType"
|
2930
2868
|
},
|
2931
|
-
"
|
2932
|
-
"
|
2933
|
-
"
|
2934
|
-
"
|
2869
|
+
"description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
|
2870
|
+
"attribute": "help-text-type",
|
2871
|
+
"reflects": true,
|
2872
|
+
"inheritedFrom": {
|
2873
|
+
"name": "FormfieldWrapper",
|
2874
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
2875
|
+
}
|
2935
2876
|
},
|
2936
2877
|
{
|
2937
2878
|
"kind": "field",
|
2938
|
-
"name": "
|
2879
|
+
"name": "helpText",
|
2939
2880
|
"type": {
|
2940
|
-
"text": "
|
2881
|
+
"text": "string | undefined"
|
2941
2882
|
},
|
2942
|
-
"
|
2943
|
-
"
|
2944
|
-
"
|
2945
|
-
"
|
2883
|
+
"description": "The help text that is displayed below the input field.",
|
2884
|
+
"attribute": "help-text",
|
2885
|
+
"reflects": true,
|
2886
|
+
"inheritedFrom": {
|
2887
|
+
"name": "FormfieldWrapper",
|
2888
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
2889
|
+
}
|
2946
2890
|
},
|
2947
2891
|
{
|
2948
2892
|
"kind": "method",
|
2949
|
-
"name": "
|
2950
|
-
"privacy": "
|
2951
|
-
"description": "
|
2893
|
+
"name": "renderLabelElement",
|
2894
|
+
"privacy": "protected",
|
2895
|
+
"description": "creates the label element when the label property is set.\nid is used to link the label with the input field.",
|
2896
|
+
"return": {
|
2897
|
+
"type": {
|
2898
|
+
"text": ""
|
2899
|
+
}
|
2900
|
+
},
|
2901
|
+
"inheritedFrom": {
|
2902
|
+
"name": "FormfieldWrapper",
|
2903
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
2904
|
+
}
|
2952
2905
|
},
|
2953
2906
|
{
|
2954
2907
|
"kind": "method",
|
2955
|
-
"name": "
|
2956
|
-
"privacy": "
|
2957
|
-
"
|
2908
|
+
"name": "renderRequiredLabel",
|
2909
|
+
"privacy": "protected",
|
2910
|
+
"inheritedFrom": {
|
2911
|
+
"name": "FormfieldWrapper",
|
2912
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
2913
|
+
}
|
2958
2914
|
},
|
2959
2915
|
{
|
2960
2916
|
"kind": "method",
|
2961
|
-
"name": "
|
2962
|
-
"privacy": "
|
2917
|
+
"name": "renderHelpTextIcon",
|
2918
|
+
"privacy": "protected",
|
2919
|
+
"description": "creates the helpertext icon based on the helpTextType for validation.\nIf the helpTextType is not set, it defaults to 'default' and it doesn't display any icon.",
|
2963
2920
|
"return": {
|
2964
2921
|
"type": {
|
2965
|
-
"text": "
|
2922
|
+
"text": ""
|
2966
2923
|
}
|
2967
2924
|
},
|
2968
|
-
"
|
2925
|
+
"inheritedFrom": {
|
2926
|
+
"name": "FormfieldWrapper",
|
2927
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
2928
|
+
}
|
2969
2929
|
},
|
2970
2930
|
{
|
2971
2931
|
"kind": "method",
|
2972
|
-
"name": "
|
2973
|
-
"privacy": "
|
2932
|
+
"name": "renderHelpText",
|
2933
|
+
"privacy": "protected",
|
2934
|
+
"description": "creates the helper text component when the helpertext value is set.\nIt is also used to display the validation message based on the helpTextType.",
|
2974
2935
|
"return": {
|
2975
2936
|
"type": {
|
2976
|
-
"text": "
|
2937
|
+
"text": ""
|
2977
2938
|
}
|
2978
2939
|
},
|
2979
|
-
"
|
2980
|
-
|
2981
|
-
|
2982
|
-
|
2983
|
-
"text": "KeyboardEvent"
|
2984
|
-
},
|
2985
|
-
"description": "The keyboard event."
|
2986
|
-
}
|
2987
|
-
],
|
2988
|
-
"description": "Handles the keydown event on the checkbox.\nWhen the user presses Enter, the form is submitted."
|
2940
|
+
"inheritedFrom": {
|
2941
|
+
"name": "FormfieldWrapper",
|
2942
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
2943
|
+
}
|
2989
2944
|
},
|
2990
2945
|
{
|
2991
2946
|
"kind": "method",
|
2992
|
-
"name": "
|
2993
|
-
"privacy": "
|
2947
|
+
"name": "renderLabel",
|
2948
|
+
"privacy": "protected",
|
2949
|
+
"description": "renders the mdc-label-text container that contains the label and labelInfoToggleTip.",
|
2994
2950
|
"return": {
|
2995
2951
|
"type": {
|
2996
|
-
"text": "
|
2952
|
+
"text": ""
|
2997
2953
|
}
|
2998
2954
|
},
|
2999
|
-
"
|
3000
|
-
|
3001
|
-
|
3002
|
-
|
3003
|
-
"text": "Event"
|
3004
|
-
}
|
3005
|
-
}
|
3006
|
-
],
|
3007
|
-
"description": "Toggles the state of the checkbox element.\nand dispatch the new change event."
|
3008
|
-
},
|
3009
|
-
{
|
3010
|
-
"kind": "field",
|
3011
|
-
"name": "renderLabelAndHelperText",
|
3012
|
-
"privacy": "private"
|
2955
|
+
"inheritedFrom": {
|
2956
|
+
"name": "FormfieldWrapper",
|
2957
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
2958
|
+
}
|
3013
2959
|
},
|
3014
2960
|
{
|
3015
|
-
"kind": "
|
3016
|
-
"name": "
|
3017
|
-
"
|
3018
|
-
|
2961
|
+
"kind": "method",
|
2962
|
+
"name": "renderHelperText",
|
2963
|
+
"privacy": "protected",
|
2964
|
+
"description": "renders the mdc-help-text container that contains the helpertext icon and helpertext.",
|
2965
|
+
"return": {
|
2966
|
+
"type": {
|
2967
|
+
"text": ""
|
2968
|
+
}
|
3019
2969
|
},
|
3020
|
-
"default": "''",
|
3021
|
-
"description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
|
3022
|
-
"attribute": "name",
|
3023
|
-
"reflects": true,
|
3024
2970
|
"inheritedFrom": {
|
3025
|
-
"name": "
|
3026
|
-
"module": "
|
2971
|
+
"name": "FormfieldWrapper",
|
2972
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
3027
2973
|
}
|
3028
|
-
}
|
2974
|
+
}
|
2975
|
+
],
|
2976
|
+
"events": [
|
3029
2977
|
{
|
3030
|
-
"kind": "field",
|
3031
|
-
"name": "value",
|
3032
2978
|
"type": {
|
3033
|
-
"text": "
|
3034
|
-
},
|
3035
|
-
"default": "''",
|
3036
|
-
"description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
|
3037
|
-
"attribute": "value",
|
3038
|
-
"reflects": true,
|
3039
|
-
"inheritedFrom": {
|
3040
|
-
"name": "FormInternalsMixin",
|
3041
|
-
"module": "utils/mixins/FormInternalsMixin.js"
|
2979
|
+
"text": "EventConstructor"
|
3042
2980
|
}
|
3043
2981
|
},
|
3044
2982
|
{
|
3045
|
-
"
|
3046
|
-
"name": "
|
2983
|
+
"description": "(React: onChange) Event that gets dispatched when the checkbox state changes.",
|
2984
|
+
"name": "change",
|
2985
|
+
"reactName": "onChange"
|
2986
|
+
},
|
2987
|
+
{
|
2988
|
+
"description": "(React: onFocus) Event that gets dispatched when the checkbox receives focus.",
|
2989
|
+
"name": "focus",
|
2990
|
+
"reactName": "onFocus"
|
2991
|
+
}
|
2992
|
+
],
|
2993
|
+
"attributes": [
|
2994
|
+
{
|
2995
|
+
"name": "checked",
|
3047
2996
|
"type": {
|
3048
|
-
"text": "
|
2997
|
+
"text": "boolean"
|
3049
2998
|
},
|
3050
|
-
"
|
3051
|
-
"
|
3052
|
-
"
|
3053
|
-
"inheritedFrom": {
|
3054
|
-
"name": "FormInternalsMixin",
|
3055
|
-
"module": "utils/mixins/FormInternalsMixin.js"
|
3056
|
-
}
|
2999
|
+
"default": "false",
|
3000
|
+
"description": "Determines whether the checkbox is selected or unselected.",
|
3001
|
+
"fieldName": "checked"
|
3057
3002
|
},
|
3058
3003
|
{
|
3059
|
-
"
|
3060
|
-
"name": "validity",
|
3004
|
+
"name": "indeterminate",
|
3061
3005
|
"type": {
|
3062
|
-
"text": "
|
3006
|
+
"text": "boolean"
|
3063
3007
|
},
|
3064
|
-
"
|
3065
|
-
"
|
3066
|
-
|
3067
|
-
"module": "utils/mixins/FormInternalsMixin.js"
|
3068
|
-
}
|
3008
|
+
"default": "false",
|
3009
|
+
"description": "This property is used to determine the parent checkbox in a nested checkbox group.\nIf any one of the children is unselected, then the parent checkbox will be indeterminate.\nIf all children are either selected or unselected, then the parent checkbox will not be indeterminate.",
|
3010
|
+
"fieldName": "indeterminate"
|
3069
3011
|
},
|
3070
3012
|
{
|
3071
|
-
"
|
3072
|
-
"
|
3073
|
-
|
3074
|
-
|
3075
|
-
|
3076
|
-
|
3077
|
-
|
3013
|
+
"name": "autofocus",
|
3014
|
+
"type": {
|
3015
|
+
"text": "boolean"
|
3016
|
+
},
|
3017
|
+
"default": "false",
|
3018
|
+
"description": "Automatically focus on the element when the page loads.\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)",
|
3019
|
+
"fieldName": "autofocus"
|
3078
3020
|
},
|
3079
3021
|
{
|
3080
|
-
"
|
3081
|
-
"
|
3082
|
-
|
3083
|
-
"return": {
|
3084
|
-
"type": {
|
3085
|
-
"text": ""
|
3086
|
-
}
|
3022
|
+
"name": "name",
|
3023
|
+
"type": {
|
3024
|
+
"text": "string"
|
3087
3025
|
},
|
3026
|
+
"default": "''",
|
3027
|
+
"description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
|
3028
|
+
"fieldName": "name",
|
3088
3029
|
"inheritedFrom": {
|
3089
3030
|
"name": "FormInternalsMixin",
|
3090
|
-
"module": "utils/mixins/FormInternalsMixin.
|
3031
|
+
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
3091
3032
|
}
|
3092
3033
|
},
|
3093
3034
|
{
|
3094
|
-
"
|
3095
|
-
"
|
3096
|
-
|
3097
|
-
"type": {
|
3098
|
-
"text": "boolean"
|
3099
|
-
}
|
3035
|
+
"name": "value",
|
3036
|
+
"type": {
|
3037
|
+
"text": "string"
|
3100
3038
|
},
|
3039
|
+
"default": "''",
|
3040
|
+
"description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
|
3041
|
+
"fieldName": "value",
|
3101
3042
|
"inheritedFrom": {
|
3102
3043
|
"name": "FormInternalsMixin",
|
3103
|
-
"module": "utils/mixins/FormInternalsMixin.
|
3044
|
+
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
3104
3045
|
}
|
3105
3046
|
},
|
3106
3047
|
{
|
3107
|
-
"
|
3108
|
-
"
|
3048
|
+
"name": "validation-message",
|
3049
|
+
"type": {
|
3050
|
+
"text": "string | undefined"
|
3051
|
+
},
|
3052
|
+
"description": "Custom validation message that will override the default message and displayed when the input is invalid.",
|
3053
|
+
"fieldName": "validationMessage",
|
3109
3054
|
"inheritedFrom": {
|
3110
3055
|
"name": "FormInternalsMixin",
|
3111
|
-
"module": "utils/mixins/FormInternalsMixin.
|
3056
|
+
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
3112
3057
|
}
|
3113
3058
|
},
|
3114
3059
|
{
|
3115
|
-
"
|
3116
|
-
"name": "dataAriaLabel",
|
3060
|
+
"name": "data-aria-label",
|
3117
3061
|
"type": {
|
3118
3062
|
"text": "string | null"
|
3119
3063
|
},
|
3120
3064
|
"default": "null",
|
3121
3065
|
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
3122
|
-
"
|
3123
|
-
"reflects": true,
|
3066
|
+
"fieldName": "dataAriaLabel",
|
3124
3067
|
"inheritedFrom": {
|
3125
3068
|
"name": "DataAriaLabelMixin",
|
3126
|
-
"module": "utils/mixins/DataAriaLabelMixin.
|
3069
|
+
"module": "src/utils/mixins/DataAriaLabelMixin.ts"
|
3127
3070
|
}
|
3128
3071
|
},
|
3129
3072
|
{
|
3130
|
-
"kind": "field",
|
3131
3073
|
"name": "disabled",
|
3132
3074
|
"type": {
|
3133
3075
|
"text": "boolean | undefined"
|
3134
3076
|
},
|
3135
3077
|
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
3136
3078
|
"default": "undefined",
|
3137
|
-
"
|
3138
|
-
"reflects": true,
|
3079
|
+
"fieldName": "disabled",
|
3139
3080
|
"inheritedFrom": {
|
3140
3081
|
"name": "DisabledMixin",
|
3141
|
-
"module": "utils/mixins/DisabledMixin.
|
3082
|
+
"module": "src/utils/mixins/DisabledMixin.ts"
|
3142
3083
|
}
|
3143
3084
|
},
|
3144
3085
|
{
|
3145
|
-
"kind": "field",
|
3146
3086
|
"name": "label",
|
3147
3087
|
"type": {
|
3148
3088
|
"text": "string | undefined"
|
3149
3089
|
},
|
3150
3090
|
"description": "The label of the input field. It is linked to the input field using the `for` attribute.",
|
3151
|
-
"
|
3152
|
-
"reflects": true,
|
3091
|
+
"fieldName": "label",
|
3153
3092
|
"inheritedFrom": {
|
3154
3093
|
"name": "FormfieldWrapper",
|
3155
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.
|
3094
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
3156
3095
|
}
|
3157
3096
|
},
|
3158
3097
|
{
|
3159
|
-
"
|
3160
|
-
"name": "requiredLabel",
|
3098
|
+
"name": "required-label",
|
3161
3099
|
"type": {
|
3162
3100
|
"text": "string | undefined"
|
3163
3101
|
},
|
3164
3102
|
"description": "The required label of the input field.\nWhen an appropriate string value is set,\nthe input field is marked as required and the label is appended with this text.",
|
3165
|
-
"
|
3166
|
-
"reflects": true,
|
3103
|
+
"fieldName": "requiredLabel",
|
3167
3104
|
"inheritedFrom": {
|
3168
3105
|
"name": "FormfieldWrapper",
|
3169
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.
|
3106
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
3170
3107
|
}
|
3171
3108
|
},
|
3172
3109
|
{
|
3173
|
-
"kind": "field",
|
3174
3110
|
"name": "id",
|
3175
3111
|
"type": {
|
3176
3112
|
"text": "string"
|
3177
3113
|
},
|
3178
3114
|
"default": "''",
|
3179
3115
|
"description": "The unique id of the input field. It is used to link the input field with the label.",
|
3180
|
-
"
|
3116
|
+
"fieldName": "id",
|
3181
3117
|
"inheritedFrom": {
|
3182
3118
|
"name": "FormfieldWrapper",
|
3183
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.
|
3119
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
3184
3120
|
}
|
3185
3121
|
},
|
3186
3122
|
{
|
3187
|
-
"
|
3188
|
-
"name": "helpTextType",
|
3123
|
+
"name": "help-text-type",
|
3189
3124
|
"type": {
|
3190
3125
|
"text": "ValidationType"
|
3191
3126
|
},
|
3192
3127
|
"description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
|
3193
|
-
"
|
3194
|
-
"reflects": true,
|
3128
|
+
"fieldName": "helpTextType",
|
3195
3129
|
"inheritedFrom": {
|
3196
3130
|
"name": "FormfieldWrapper",
|
3197
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.
|
3131
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
3198
3132
|
}
|
3199
3133
|
},
|
3200
3134
|
{
|
3201
|
-
"
|
3202
|
-
"name": "helpText",
|
3135
|
+
"name": "help-text",
|
3203
3136
|
"type": {
|
3204
3137
|
"text": "string | undefined"
|
3205
3138
|
},
|
3206
3139
|
"description": "The help text that is displayed below the input field.",
|
3207
|
-
"
|
3208
|
-
"reflects": true,
|
3140
|
+
"fieldName": "helpText",
|
3209
3141
|
"inheritedFrom": {
|
3210
3142
|
"name": "FormfieldWrapper",
|
3211
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.
|
3143
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
3212
3144
|
}
|
3145
|
+
}
|
3146
|
+
],
|
3147
|
+
"mixins": [
|
3148
|
+
{
|
3149
|
+
"name": "FormInternalsMixin",
|
3150
|
+
"module": "/src/utils/mixins/FormInternalsMixin"
|
3213
3151
|
},
|
3214
3152
|
{
|
3215
|
-
"
|
3216
|
-
"
|
3217
|
-
|
3218
|
-
|
3219
|
-
|
3220
|
-
|
3221
|
-
|
3222
|
-
|
3223
|
-
|
3153
|
+
"name": "DataAriaLabelMixin",
|
3154
|
+
"module": "/src/utils/mixins/DataAriaLabelMixin"
|
3155
|
+
}
|
3156
|
+
],
|
3157
|
+
"superclass": {
|
3158
|
+
"name": "FormfieldWrapper",
|
3159
|
+
"module": "/src/components/formfieldwrapper/formfieldwrapper.component"
|
3160
|
+
},
|
3161
|
+
"tagName": "mdc-checkbox",
|
3162
|
+
"jsDoc": "/**\n * Checkboxes allow users to select multiple options from a list or turn an item/feature on or off.\n * These are often used in forms, settings, and selections in lists.\n *\n * A checkbox component contains an optional label and an optional helper text.\n *\n * To create a group of checkboxes, use the FormFieldGroup component.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-checkbox\n *\n * @event change - (React: onChange) Event that gets dispatched when the checkbox state changes.\n * @event focus - (React: onFocus) Event that gets dispatched when the checkbox receives focus.\n *\n * @cssproperty --mdc-checkbox-background-color-hover - Allows customization of the background color on hover.\n * @cssproperty --mdc-checkbox-border-color - Border color in high contrast.\n * @cssproperty --mdc-checkbox-checked-background-color - Background color for a selected checkbox.\n * @cssproperty --mdc-checkbox-checked-background-color-hover - Background color for a selected checkbox when hovered.\n * @cssproperty --mdc-checkbox-checked-pressed-icon-color - Background color for a selected checkbox when pressed.\n * @cssproperty --mdc-checkbox-disabled-background-color - Background color for a disabled checkbox.\n * @cssproperty --mdc-checkbox-disabled-border-color - Border color for a disabled checkbox.\n * @cssproperty --mdc-checkbox-disabled-checked-icon-color - Background color for a disabled, selected checkbox.\n * @cssproperty --mdc-checkbox-disabled-icon-color - Icon color for a disabled checkbox.\n * @cssproperty --mdc-checkbox-icon-background-color - Background color for an unselected checkbox.\n * @cssproperty --mdc-checkbox-icon-border-color - Default background color for an unselected checkbox.\n * @cssproperty --mdc-checkbox-icon-color - Icon color for an unselected checkbox.\n * @cssproperty --mdc-checkbox-pressed-icon-color - Background color for a selected checkbox when pressed.\n */",
|
3163
|
+
"customElement": true,
|
3164
|
+
"slots": [
|
3165
|
+
{
|
3166
|
+
"description": "slot to add the label info icon",
|
3167
|
+
"name": "label-info",
|
3224
3168
|
"inheritedFrom": {
|
3225
3169
|
"name": "FormfieldWrapper",
|
3226
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.
|
3170
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
3227
3171
|
}
|
3172
|
+
}
|
3173
|
+
]
|
3174
|
+
}
|
3175
|
+
],
|
3176
|
+
"exports": [
|
3177
|
+
{
|
3178
|
+
"kind": "js",
|
3179
|
+
"name": "default",
|
3180
|
+
"declaration": {
|
3181
|
+
"name": "Checkbox",
|
3182
|
+
"module": "components/checkbox/checkbox.component.js"
|
3183
|
+
}
|
3184
|
+
}
|
3185
|
+
]
|
3186
|
+
},
|
3187
|
+
{
|
3188
|
+
"kind": "javascript-module",
|
3189
|
+
"path": "components/buttonsimple/buttonsimple.component.js",
|
3190
|
+
"declarations": [
|
3191
|
+
{
|
3192
|
+
"kind": "class",
|
3193
|
+
"description": "`mdc-buttonsimple` is a component that can be configured in various ways to suit different use cases.\nIt is used as an internal component and is not intended to be used directly by consumers.\nConsumers should use the `mdc-button` component instead.",
|
3194
|
+
"name": "Buttonsimple",
|
3195
|
+
"members": [
|
3196
|
+
{
|
3197
|
+
"kind": "field",
|
3198
|
+
"name": "active",
|
3199
|
+
"type": {
|
3200
|
+
"text": "boolean | undefined"
|
3201
|
+
},
|
3202
|
+
"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.",
|
3203
|
+
"default": "undefined",
|
3204
|
+
"attribute": "active",
|
3205
|
+
"reflects": true
|
3206
|
+
},
|
3207
|
+
{
|
3208
|
+
"kind": "field",
|
3209
|
+
"name": "softDisabled",
|
3210
|
+
"type": {
|
3211
|
+
"text": "boolean | undefined"
|
3212
|
+
},
|
3213
|
+
"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.",
|
3214
|
+
"default": "undefined",
|
3215
|
+
"attribute": "soft-disabled"
|
3216
|
+
},
|
3217
|
+
{
|
3218
|
+
"kind": "field",
|
3219
|
+
"name": "size",
|
3220
|
+
"type": {
|
3221
|
+
"text": "ButtonSize"
|
3222
|
+
},
|
3223
|
+
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
3224
|
+
"default": "32",
|
3225
|
+
"attribute": "size",
|
3226
|
+
"reflects": true
|
3227
|
+
},
|
3228
|
+
{
|
3229
|
+
"kind": "field",
|
3230
|
+
"name": "role",
|
3231
|
+
"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.",
|
3232
|
+
"default": "button",
|
3233
|
+
"attribute": "role",
|
3234
|
+
"reflects": true
|
3235
|
+
},
|
3236
|
+
{
|
3237
|
+
"kind": "field",
|
3238
|
+
"name": "ariaStateKey",
|
3239
|
+
"type": {
|
3240
|
+
"text": "string | undefined"
|
3241
|
+
},
|
3242
|
+
"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`",
|
3243
|
+
"default": "'aria-pressed' (when)",
|
3244
|
+
"attribute": "ariaStateKey",
|
3245
|
+
"reflects": true
|
3246
|
+
},
|
3247
|
+
{
|
3248
|
+
"kind": "field",
|
3249
|
+
"name": "type",
|
3250
|
+
"type": {
|
3251
|
+
"text": "ButtonType"
|
3252
|
+
},
|
3253
|
+
"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.",
|
3254
|
+
"default": "button",
|
3255
|
+
"attribute": "type",
|
3256
|
+
"reflects": true
|
3228
3257
|
},
|
3229
3258
|
{
|
3230
3259
|
"kind": "method",
|
3231
|
-
"name": "
|
3232
|
-
"privacy": "protected"
|
3233
|
-
"inheritedFrom": {
|
3234
|
-
"name": "FormfieldWrapper",
|
3235
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
3236
|
-
}
|
3260
|
+
"name": "executeAction",
|
3261
|
+
"privacy": "protected"
|
3237
3262
|
},
|
3238
3263
|
{
|
3239
3264
|
"kind": "method",
|
3240
|
-
"name": "
|
3265
|
+
"name": "setActive",
|
3241
3266
|
"privacy": "protected",
|
3242
|
-
"
|
3243
|
-
|
3244
|
-
|
3245
|
-
"
|
3267
|
+
"parameters": [
|
3268
|
+
{
|
3269
|
+
"name": "element",
|
3270
|
+
"type": {
|
3271
|
+
"text": "HTMLElement"
|
3272
|
+
},
|
3273
|
+
"description": "The button element"
|
3274
|
+
},
|
3275
|
+
{
|
3276
|
+
"name": "active",
|
3277
|
+
"optional": true,
|
3278
|
+
"type": {
|
3279
|
+
"text": "boolean"
|
3280
|
+
},
|
3281
|
+
"description": "The active state of the element"
|
3246
3282
|
}
|
3247
|
-
|
3248
|
-
"
|
3249
|
-
"name": "FormfieldWrapper",
|
3250
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
3251
|
-
}
|
3283
|
+
],
|
3284
|
+
"description": "Sets the ariaStateKey attributes based on the active state of the button."
|
3252
3285
|
},
|
3253
3286
|
{
|
3254
3287
|
"kind": "method",
|
3255
|
-
"name": "
|
3256
|
-
"privacy": "
|
3257
|
-
"
|
3258
|
-
|
3259
|
-
|
3260
|
-
"
|
3288
|
+
"name": "setSoftDisabled",
|
3289
|
+
"privacy": "private",
|
3290
|
+
"parameters": [
|
3291
|
+
{
|
3292
|
+
"name": "element",
|
3293
|
+
"type": {
|
3294
|
+
"text": "HTMLElement"
|
3295
|
+
},
|
3296
|
+
"description": "The button element."
|
3297
|
+
},
|
3298
|
+
{
|
3299
|
+
"name": "softDisabled",
|
3300
|
+
"optional": true,
|
3301
|
+
"type": {
|
3302
|
+
"text": "boolean"
|
3303
|
+
},
|
3304
|
+
"description": "The soft-disabled state."
|
3261
3305
|
}
|
3262
|
-
|
3263
|
-
"
|
3264
|
-
|
3265
|
-
|
3266
|
-
|
3306
|
+
],
|
3307
|
+
"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."
|
3308
|
+
},
|
3309
|
+
{
|
3310
|
+
"kind": "method",
|
3311
|
+
"name": "setDisabled",
|
3312
|
+
"privacy": "private",
|
3313
|
+
"parameters": [
|
3314
|
+
{
|
3315
|
+
"name": "element",
|
3316
|
+
"type": {
|
3317
|
+
"text": "HTMLElement"
|
3318
|
+
},
|
3319
|
+
"description": "The button element."
|
3320
|
+
},
|
3321
|
+
{
|
3322
|
+
"name": "disabled",
|
3323
|
+
"type": {
|
3324
|
+
"text": "boolean"
|
3325
|
+
},
|
3326
|
+
"description": "The disabled state."
|
3327
|
+
}
|
3328
|
+
],
|
3329
|
+
"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."
|
3330
|
+
},
|
3331
|
+
{
|
3332
|
+
"kind": "method",
|
3333
|
+
"name": "triggerClickEvent",
|
3334
|
+
"privacy": "private"
|
3335
|
+
},
|
3336
|
+
{
|
3337
|
+
"kind": "method",
|
3338
|
+
"name": "handleBlur",
|
3339
|
+
"privacy": "private",
|
3340
|
+
"description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed."
|
3341
|
+
},
|
3342
|
+
{
|
3343
|
+
"kind": "method",
|
3344
|
+
"name": "handleKeyDown",
|
3345
|
+
"privacy": "private",
|
3346
|
+
"parameters": [
|
3347
|
+
{
|
3348
|
+
"name": "event",
|
3349
|
+
"type": {
|
3350
|
+
"text": "KeyboardEvent"
|
3351
|
+
},
|
3352
|
+
"description": "The keyboard event."
|
3353
|
+
}
|
3354
|
+
],
|
3355
|
+
"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."
|
3356
|
+
},
|
3357
|
+
{
|
3358
|
+
"kind": "method",
|
3359
|
+
"name": "handleKeyUp",
|
3360
|
+
"privacy": "private",
|
3361
|
+
"parameters": [
|
3362
|
+
{
|
3363
|
+
"name": "event",
|
3364
|
+
"type": {
|
3365
|
+
"text": "KeyboardEvent"
|
3366
|
+
},
|
3367
|
+
"description": "The keyboard event."
|
3368
|
+
}
|
3369
|
+
],
|
3370
|
+
"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."
|
3267
3371
|
},
|
3268
3372
|
{
|
3269
|
-
"kind": "
|
3270
|
-
"name": "
|
3271
|
-
"
|
3272
|
-
|
3273
|
-
"return": {
|
3274
|
-
"type": {
|
3275
|
-
"text": ""
|
3276
|
-
}
|
3373
|
+
"kind": "field",
|
3374
|
+
"name": "tabIndex",
|
3375
|
+
"type": {
|
3376
|
+
"text": "number"
|
3277
3377
|
},
|
3378
|
+
"default": "0",
|
3379
|
+
"description": "This property specifies the tab order of the element.",
|
3380
|
+
"attribute": "tabIndex",
|
3381
|
+
"reflects": true,
|
3278
3382
|
"inheritedFrom": {
|
3279
|
-
"name": "
|
3280
|
-
"module": "
|
3383
|
+
"name": "TabIndexMixin",
|
3384
|
+
"module": "utils/mixins/TabIndexMixin.js"
|
3281
3385
|
}
|
3282
3386
|
},
|
3283
3387
|
{
|
3284
|
-
"kind": "
|
3285
|
-
"name": "
|
3286
|
-
"
|
3287
|
-
|
3288
|
-
"return": {
|
3289
|
-
"type": {
|
3290
|
-
"text": ""
|
3291
|
-
}
|
3388
|
+
"kind": "field",
|
3389
|
+
"name": "disabled",
|
3390
|
+
"type": {
|
3391
|
+
"text": "boolean | undefined"
|
3292
3392
|
},
|
3393
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
3394
|
+
"default": "undefined",
|
3395
|
+
"attribute": "disabled",
|
3396
|
+
"reflects": true,
|
3293
3397
|
"inheritedFrom": {
|
3294
|
-
"name": "
|
3295
|
-
"module": "
|
3398
|
+
"name": "DisabledMixin",
|
3399
|
+
"module": "utils/mixins/DisabledMixin.js"
|
3296
3400
|
}
|
3297
3401
|
}
|
3298
3402
|
],
|
3299
3403
|
"events": [
|
3300
3404
|
{
|
3301
|
-
"
|
3302
|
-
|
3303
|
-
|
3405
|
+
"description": "(React: onClick) This event is dispatched when the button is clicked.",
|
3406
|
+
"name": "click",
|
3407
|
+
"reactName": "onClick"
|
3304
3408
|
},
|
3305
3409
|
{
|
3306
|
-
"description": "(React:
|
3307
|
-
"name": "
|
3308
|
-
"reactName": "
|
3410
|
+
"description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the button.",
|
3411
|
+
"name": "keydown",
|
3412
|
+
"reactName": "onKeyDown"
|
3309
3413
|
},
|
3310
3414
|
{
|
3311
|
-
"description": "(React:
|
3415
|
+
"description": "(React: onKeyUp) This event is dispatched when a key is released on the button.",
|
3416
|
+
"name": "keyup",
|
3417
|
+
"reactName": "onKeyUp"
|
3418
|
+
},
|
3419
|
+
{
|
3420
|
+
"description": "(React: onFocus) This event is dispatched when the button receives focus.",
|
3312
3421
|
"name": "focus",
|
3313
3422
|
"reactName": "onFocus"
|
3314
3423
|
}
|
3315
3424
|
],
|
3316
3425
|
"attributes": [
|
3317
3426
|
{
|
3318
|
-
"name": "
|
3427
|
+
"name": "active",
|
3319
3428
|
"type": {
|
3320
|
-
"text": "boolean"
|
3429
|
+
"text": "boolean | undefined"
|
3321
3430
|
},
|
3322
|
-
"
|
3323
|
-
"
|
3324
|
-
"fieldName": "
|
3431
|
+
"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.",
|
3432
|
+
"default": "undefined",
|
3433
|
+
"fieldName": "active"
|
3325
3434
|
},
|
3326
3435
|
{
|
3327
|
-
"name": "
|
3436
|
+
"name": "soft-disabled",
|
3328
3437
|
"type": {
|
3329
|
-
"text": "boolean"
|
3438
|
+
"text": "boolean | undefined"
|
3330
3439
|
},
|
3331
|
-
"
|
3332
|
-
"
|
3333
|
-
"fieldName": "
|
3440
|
+
"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.",
|
3441
|
+
"default": "undefined",
|
3442
|
+
"fieldName": "softDisabled"
|
3334
3443
|
},
|
3335
3444
|
{
|
3336
|
-
"name": "
|
3445
|
+
"name": "size",
|
3337
3446
|
"type": {
|
3338
|
-
"text": "
|
3447
|
+
"text": "ButtonSize"
|
3339
3448
|
},
|
3340
|
-
"
|
3341
|
-
"
|
3342
|
-
"fieldName": "
|
3449
|
+
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
3450
|
+
"default": "32",
|
3451
|
+
"fieldName": "size"
|
3343
3452
|
},
|
3344
3453
|
{
|
3345
|
-
"name": "
|
3346
|
-
"
|
3347
|
-
|
3348
|
-
|
3349
|
-
"default": "''",
|
3350
|
-
"description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
|
3351
|
-
"fieldName": "name",
|
3352
|
-
"inheritedFrom": {
|
3353
|
-
"name": "FormInternalsMixin",
|
3354
|
-
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
3355
|
-
}
|
3454
|
+
"name": "role",
|
3455
|
+
"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.",
|
3456
|
+
"default": "button",
|
3457
|
+
"fieldName": "role"
|
3356
3458
|
},
|
3357
3459
|
{
|
3358
|
-
"name": "
|
3460
|
+
"name": "ariaStateKey",
|
3359
3461
|
"type": {
|
3360
|
-
"text": "string"
|
3462
|
+
"text": "string | undefined"
|
3361
3463
|
},
|
3362
|
-
"
|
3363
|
-
"
|
3364
|
-
"fieldName": "
|
3365
|
-
"inheritedFrom": {
|
3366
|
-
"name": "FormInternalsMixin",
|
3367
|
-
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
3368
|
-
}
|
3464
|
+
"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`",
|
3465
|
+
"default": "'aria-pressed' (when)",
|
3466
|
+
"fieldName": "ariaStateKey"
|
3369
3467
|
},
|
3370
3468
|
{
|
3371
|
-
"name": "
|
3469
|
+
"name": "type",
|
3372
3470
|
"type": {
|
3373
|
-
"text": "
|
3471
|
+
"text": "ButtonType"
|
3374
3472
|
},
|
3375
|
-
"description": "
|
3376
|
-
"
|
3377
|
-
"
|
3378
|
-
"name": "FormInternalsMixin",
|
3379
|
-
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
3380
|
-
}
|
3473
|
+
"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.",
|
3474
|
+
"default": "button",
|
3475
|
+
"fieldName": "type"
|
3381
3476
|
},
|
3382
3477
|
{
|
3383
|
-
"name": "
|
3478
|
+
"name": "tabIndex",
|
3384
3479
|
"type": {
|
3385
|
-
"text": "
|
3480
|
+
"text": "number"
|
3386
3481
|
},
|
3387
|
-
"default": "
|
3388
|
-
"description": "
|
3389
|
-
"fieldName": "
|
3482
|
+
"default": "0",
|
3483
|
+
"description": "This property specifies the tab order of the element.",
|
3484
|
+
"fieldName": "tabIndex",
|
3390
3485
|
"inheritedFrom": {
|
3391
|
-
"name": "
|
3392
|
-
"module": "src/utils/mixins/
|
3486
|
+
"name": "TabIndexMixin",
|
3487
|
+
"module": "src/utils/mixins/TabIndexMixin.ts"
|
3393
3488
|
}
|
3394
3489
|
},
|
3395
3490
|
{
|
@@ -3404,96 +3499,25 @@
|
|
3404
3499
|
"name": "DisabledMixin",
|
3405
3500
|
"module": "src/utils/mixins/DisabledMixin.ts"
|
3406
3501
|
}
|
3407
|
-
},
|
3408
|
-
{
|
3409
|
-
"name": "label",
|
3410
|
-
"type": {
|
3411
|
-
"text": "string | undefined"
|
3412
|
-
},
|
3413
|
-
"description": "The label of the input field. It is linked to the input field using the `for` attribute.",
|
3414
|
-
"fieldName": "label",
|
3415
|
-
"inheritedFrom": {
|
3416
|
-
"name": "FormfieldWrapper",
|
3417
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
3418
|
-
}
|
3419
|
-
},
|
3420
|
-
{
|
3421
|
-
"name": "required-label",
|
3422
|
-
"type": {
|
3423
|
-
"text": "string | undefined"
|
3424
|
-
},
|
3425
|
-
"description": "The required label of the input field.\nWhen an appropriate string value is set,\nthe input field is marked as required and the label is appended with this text.",
|
3426
|
-
"fieldName": "requiredLabel",
|
3427
|
-
"inheritedFrom": {
|
3428
|
-
"name": "FormfieldWrapper",
|
3429
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
3430
|
-
}
|
3431
|
-
},
|
3432
|
-
{
|
3433
|
-
"name": "id",
|
3434
|
-
"type": {
|
3435
|
-
"text": "string"
|
3436
|
-
},
|
3437
|
-
"default": "''",
|
3438
|
-
"description": "The unique id of the input field. It is used to link the input field with the label.",
|
3439
|
-
"fieldName": "id",
|
3440
|
-
"inheritedFrom": {
|
3441
|
-
"name": "FormfieldWrapper",
|
3442
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
3443
|
-
}
|
3444
|
-
},
|
3445
|
-
{
|
3446
|
-
"name": "help-text-type",
|
3447
|
-
"type": {
|
3448
|
-
"text": "ValidationType"
|
3449
|
-
},
|
3450
|
-
"description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
|
3451
|
-
"fieldName": "helpTextType",
|
3452
|
-
"inheritedFrom": {
|
3453
|
-
"name": "FormfieldWrapper",
|
3454
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
3455
|
-
}
|
3456
|
-
},
|
3457
|
-
{
|
3458
|
-
"name": "help-text",
|
3459
|
-
"type": {
|
3460
|
-
"text": "string | undefined"
|
3461
|
-
},
|
3462
|
-
"description": "The help text that is displayed below the input field.",
|
3463
|
-
"fieldName": "helpText",
|
3464
|
-
"inheritedFrom": {
|
3465
|
-
"name": "FormfieldWrapper",
|
3466
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
3467
|
-
}
|
3468
3502
|
}
|
3469
3503
|
],
|
3470
3504
|
"mixins": [
|
3471
3505
|
{
|
3472
|
-
"name": "
|
3473
|
-
"module": "/src/utils/mixins/
|
3506
|
+
"name": "TabIndexMixin",
|
3507
|
+
"module": "/src/utils/mixins/TabIndexMixin"
|
3474
3508
|
},
|
3475
3509
|
{
|
3476
|
-
"name": "
|
3477
|
-
"module": "/src/utils/mixins/
|
3510
|
+
"name": "DisabledMixin",
|
3511
|
+
"module": "/src/utils/mixins/DisabledMixin"
|
3478
3512
|
}
|
3479
3513
|
],
|
3480
3514
|
"superclass": {
|
3481
|
-
"name": "
|
3482
|
-
"module": "/src/
|
3515
|
+
"name": "Component",
|
3516
|
+
"module": "/src/models"
|
3483
3517
|
},
|
3484
|
-
"tagName": "mdc-
|
3485
|
-
"jsDoc": "/**\n *
|
3486
|
-
"customElement": true
|
3487
|
-
"slots": [
|
3488
|
-
{
|
3489
|
-
"description": "slot to add the label info icon",
|
3490
|
-
"name": "label-info",
|
3491
|
-
"inheritedFrom": {
|
3492
|
-
"name": "FormfieldWrapper",
|
3493
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
3494
|
-
}
|
3495
|
-
}
|
3496
|
-
]
|
3518
|
+
"tagName": "mdc-buttonsimple",
|
3519
|
+
"jsDoc": "/**\n * `mdc-buttonsimple` is a component that can be configured in various ways to suit different use cases.\n * It is used as an internal component and is not intended to be used directly by consumers.\n * Consumers should use the `mdc-button` component instead.\n *\n * @event click - (React: onClick) This event is dispatched when the button is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the button.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the button.\n * @event focus - (React: onFocus) This event is dispatched when the button receives focus.\n *\n * @tagname mdc-buttonsimple\n */",
|
3520
|
+
"customElement": true
|
3497
3521
|
}
|
3498
3522
|
],
|
3499
3523
|
"exports": [
|
@@ -3501,8 +3525,8 @@
|
|
3501
3525
|
"kind": "js",
|
3502
3526
|
"name": "default",
|
3503
3527
|
"declaration": {
|
3504
|
-
"name": "
|
3505
|
-
"module": "components/
|
3528
|
+
"name": "Buttonsimple",
|
3529
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
3506
3530
|
}
|
3507
3531
|
}
|
3508
3532
|
]
|
@@ -3664,8 +3688,11 @@
|
|
3664
3688
|
{
|
3665
3689
|
"kind": "field",
|
3666
3690
|
"name": "ariaStateKey",
|
3691
|
+
"type": {
|
3692
|
+
"text": "string | undefined"
|
3693
|
+
},
|
3667
3694
|
"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`",
|
3668
|
-
"default": "'aria-pressed'",
|
3695
|
+
"default": "'aria-pressed' (when)",
|
3669
3696
|
"attribute": "ariaStateKey",
|
3670
3697
|
"reflects": true,
|
3671
3698
|
"inheritedFrom": {
|
@@ -3943,8 +3970,11 @@
|
|
3943
3970
|
},
|
3944
3971
|
{
|
3945
3972
|
"name": "ariaStateKey",
|
3973
|
+
"type": {
|
3974
|
+
"text": "string | undefined"
|
3975
|
+
},
|
3946
3976
|
"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`",
|
3947
|
-
"default": "'aria-pressed'",
|
3977
|
+
"default": "'aria-pressed' (when)",
|
3948
3978
|
"fieldName": "ariaStateKey",
|
3949
3979
|
"inheritedFrom": {
|
3950
3980
|
"name": "Buttonsimple",
|
@@ -6077,8 +6107,11 @@
|
|
6077
6107
|
{
|
6078
6108
|
"kind": "field",
|
6079
6109
|
"name": "ariaStateKey",
|
6110
|
+
"type": {
|
6111
|
+
"text": "string | undefined"
|
6112
|
+
},
|
6080
6113
|
"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`",
|
6081
|
-
"default": "'aria-pressed'",
|
6114
|
+
"default": "'aria-pressed' (when)",
|
6082
6115
|
"attribute": "ariaStateKey",
|
6083
6116
|
"reflects": true,
|
6084
6117
|
"inheritedFrom": {
|
@@ -6364,8 +6397,11 @@
|
|
6364
6397
|
},
|
6365
6398
|
{
|
6366
6399
|
"name": "ariaStateKey",
|
6400
|
+
"type": {
|
6401
|
+
"text": "string | undefined"
|
6402
|
+
},
|
6367
6403
|
"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`",
|
6368
|
-
"default": "'aria-pressed'",
|
6404
|
+
"default": "'aria-pressed' (when)",
|
6369
6405
|
"fieldName": "ariaStateKey",
|
6370
6406
|
"inheritedFrom": {
|
6371
6407
|
"name": "Buttonsimple",
|
@@ -16722,8 +16758,11 @@
|
|
16722
16758
|
{
|
16723
16759
|
"kind": "field",
|
16724
16760
|
"name": "ariaStateKey",
|
16761
|
+
"type": {
|
16762
|
+
"text": "string | undefined"
|
16763
|
+
},
|
16725
16764
|
"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`",
|
16726
|
-
"default": "'aria-pressed'",
|
16765
|
+
"default": "'aria-pressed' (when)",
|
16727
16766
|
"attribute": "ariaStateKey",
|
16728
16767
|
"reflects": true,
|
16729
16768
|
"inheritedFrom": {
|
@@ -17016,8 +17055,11 @@
|
|
17016
17055
|
},
|
17017
17056
|
{
|
17018
17057
|
"name": "ariaStateKey",
|
17058
|
+
"type": {
|
17059
|
+
"text": "string | undefined"
|
17060
|
+
},
|
17019
17061
|
"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`",
|
17020
|
-
"default": "'aria-pressed'",
|
17062
|
+
"default": "'aria-pressed' (when)",
|
17021
17063
|
"fieldName": "ariaStateKey",
|
17022
17064
|
"inheritedFrom": {
|
17023
17065
|
"name": "Buttonsimple",
|