@momentum-design/components 0.102.0 → 0.102.1

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.
@@ -1502,6 +1502,67 @@
1502
1502
  }
1503
1503
  ]
1504
1504
  },
1505
+ {
1506
+ "kind": "javascript-module",
1507
+ "path": "components/appheader/appheader.component.js",
1508
+ "declarations": [
1509
+ {
1510
+ "kind": "class",
1511
+ "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**.",
1512
+ "name": "Appheader",
1513
+ "cssParts": [
1514
+ {
1515
+ "description": "The main container for styling the header.",
1516
+ "name": "container"
1517
+ },
1518
+ {
1519
+ "description": "The leading section of the header.",
1520
+ "name": "leading-section"
1521
+ },
1522
+ {
1523
+ "description": "The center section of the header.",
1524
+ "name": "center-section"
1525
+ },
1526
+ {
1527
+ "description": "The trailing section of the header.",
1528
+ "name": "trailing-section"
1529
+ }
1530
+ ],
1531
+ "slots": [
1532
+ {
1533
+ "description": "Slot for the leading section (e.g., brand logo, brand name).",
1534
+ "name": "leading"
1535
+ },
1536
+ {
1537
+ "description": "Slot for the center section (e.g., search bar, icons).",
1538
+ "name": "center"
1539
+ },
1540
+ {
1541
+ "description": "Slot for the trailing section (e.g., profile avatar, icons).",
1542
+ "name": "trailing"
1543
+ }
1544
+ ],
1545
+ "members": [],
1546
+ "superclass": {
1547
+ "name": "Component",
1548
+ "module": "/src/models"
1549
+ },
1550
+ "tagName": "mdc-appheader",
1551
+ "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 */",
1552
+ "customElement": true
1553
+ }
1554
+ ],
1555
+ "exports": [
1556
+ {
1557
+ "kind": "js",
1558
+ "name": "default",
1559
+ "declaration": {
1560
+ "name": "Appheader",
1561
+ "module": "components/appheader/appheader.component.js"
1562
+ }
1563
+ }
1564
+ ]
1565
+ },
1505
1566
  {
1506
1567
  "kind": "javascript-module",
1507
1568
  "path": "components/animation/animation.component.js",
@@ -1714,67 +1775,6 @@
1714
1775
  }
1715
1776
  ]
1716
1777
  },
1717
- {
1718
- "kind": "javascript-module",
1719
- "path": "components/appheader/appheader.component.js",
1720
- "declarations": [
1721
- {
1722
- "kind": "class",
1723
- "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**.",
1724
- "name": "Appheader",
1725
- "cssParts": [
1726
- {
1727
- "description": "The main container for styling the header.",
1728
- "name": "container"
1729
- },
1730
- {
1731
- "description": "The leading section of the header.",
1732
- "name": "leading-section"
1733
- },
1734
- {
1735
- "description": "The center section of the header.",
1736
- "name": "center-section"
1737
- },
1738
- {
1739
- "description": "The trailing section of the header.",
1740
- "name": "trailing-section"
1741
- }
1742
- ],
1743
- "slots": [
1744
- {
1745
- "description": "Slot for the leading section (e.g., brand logo, brand name).",
1746
- "name": "leading"
1747
- },
1748
- {
1749
- "description": "Slot for the center section (e.g., search bar, icons).",
1750
- "name": "center"
1751
- },
1752
- {
1753
- "description": "Slot for the trailing section (e.g., profile avatar, icons).",
1754
- "name": "trailing"
1755
- }
1756
- ],
1757
- "members": [],
1758
- "superclass": {
1759
- "name": "Component",
1760
- "module": "/src/models"
1761
- },
1762
- "tagName": "mdc-appheader",
1763
- "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 */",
1764
- "customElement": true
1765
- }
1766
- ],
1767
- "exports": [
1768
- {
1769
- "kind": "js",
1770
- "name": "default",
1771
- "declaration": {
1772
- "name": "Appheader",
1773
- "module": "components/appheader/appheader.component.js"
1774
- }
1775
- }
1776
- ]
1777
- },
1778
1778
  {
1779
1779
  "kind": "javascript-module",
1780
1780
  "path": "components/avatar/avatar.component.js",
@@ -16882,7 +16882,23 @@
16882
16882
  },
16883
16883
  {
16884
16884
  "description": "Allows customization of padding left and right.",
16885
- "name": "--mdc-listitem-padding-left-and-right"
16885
+ "name": "--mdc-listitem-padding-left-right"
16886
+ },
16887
+ {
16888
+ "description": "Allows customization of padding top and bottom.",
16889
+ "name": "--mdc-listitem-padding-top-bottom"
16890
+ },
16891
+ {
16892
+ "description": "Allows customization of the cursor.",
16893
+ "name": "--mdc-listitem-cursor"
16894
+ },
16895
+ {
16896
+ "description": "Allows customization of the width of the list item.",
16897
+ "name": "--mdc-listitem-width"
16898
+ },
16899
+ {
16900
+ "description": "Allows customization of the height of the list item.",
16901
+ "name": "--mdc-listitem-height"
16886
16902
  }
16887
16903
  ],
16888
16904
  "slots": [
@@ -16913,6 +16929,10 @@
16913
16929
  {
16914
16930
  "description": "slot for list item controls to appear of trailing end.",
16915
16931
  "name": "trailing-controls"
16932
+ },
16933
+ {
16934
+ "description": "content slot can be used to override the content completely. Be aware that this will override the default content of the list item.",
16935
+ "name": "content"
16916
16936
  }
16917
16937
  ],
16918
16938
  "members": [
@@ -17357,7 +17377,7 @@
17357
17377
  "module": "/src/models"
17358
17378
  },
17359
17379
  "tagName": "mdc-listitem",
17360
- "jsDoc": "/**\n * mdc-listitem component is used to display a label with different types of controls.\n * There can be three types of controls, a radio button, a checkbox on the\n * leading side and a toggle on the trailing side.\n * The list item can contain an avatar on the leading side and a badge on the trailing side.\n * Additionally, the list item can contain a side header and a subline text.\n *\n * The leading and trailing slots can be used to display controls and text. <br/>\n * Based on the leading/trailing slot, the position of the controls and text can be adjusted. <br/>\n * Please use mdc-list as a parent element even when there is only listitem for a11y purpose.\n *\n * By providing the tooltip-text attribute, a tooltip will be displayed on hover of the listitem.\n * The placement of the tooltip can be adjusted using the tooltip-placement attribute.\n * This will be helpful when the listitem text is truncated or\n * when you want to display additional information about the listitem.\n *\n * @tagname mdc-listitem\n *\n * @dependency mdc-text\n * @dependency mdc-tooltip\n *\n * @slot leading-controls - slot for list item controls to appear of leading end.\n * @slot leading-text-primary-label - slot for list item primary label.\n * @slot leading-text-secondary-label - slot for list item secondary label.\n * @slot leading-text-tertiary-label - slot for list item tertiary label.\n * @slot trailing-text-side-header - slot for list item side header text.\n * @slot trailing-text-subline - slot for list item subline text.\n * @slot trailing-controls - slot for list item controls to appear of trailing end.\n *\n * @cssproperty --mdc-listitem-default-background-color - Allows customization of the default background color.\n * @cssproperty --mdc-listitem-background-color-hover - Allows customization of the background color on hover.\n * @cssproperty --mdc-listitem-background-color-active - Allows customization of the background color when pressed.\n * @cssproperty --mdc-listitem-primary-label-color\n * - Allows customization of the primary label, side header and subline text slot color.\n * @cssproperty --mdc-listitem-secondary-label-color\n * - Allows customization of the secondary and tertiary label text slot color.\n * @cssproperty --mdc-listitem-disabled-color - Allows customization of the disabled color.\n * @cssproperty --mdc-listitem-column-gap - Allows customization of column gap.\n * @cssproperty --mdc-listitem-padding-left-and-right - Allows customization of padding left and right.\n *\n * @event click - (React: onClick) This event is dispatched when the listitem is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the listitem.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the listitem.\n * @event focus - (React: onFocus) This event is dispatched when the listitem receives focus.\n * @event enabled - (React: onEnabled) This event is dispatched after the listitem is enabled\n * @event disabled - (React: onDisabled) This event is dispatched after the listitem is disabled\n * @event created - (React: onCreated) This event is dispatched after the listitem is created (added to the DOM)\n * @event destroyed - (React: onDestroyed) This event is dispatched after the listitem is destroyed (removed from the DOM)\n */",
17380
+ "jsDoc": "/**\n * mdc-listitem component is used to display a label with different types of controls.\n * There can be three types of controls, a radio button, a checkbox on the\n * leading side and a toggle on the trailing side.\n * The list item can contain an avatar on the leading side and a badge on the trailing side.\n * Additionally, the list item can contain a side header and a subline text.\n *\n * The leading and trailing slots can be used to display controls and text. <br/>\n * Based on the leading/trailing slot, the position of the controls and text can be adjusted. <br/>\n * Please use mdc-list as a parent element even when there is only listitem for a11y purpose.\n *\n * By providing the tooltip-text attribute, a tooltip will be displayed on hover of the listitem.\n * The placement of the tooltip can be adjusted using the tooltip-placement attribute.\n * This will be helpful when the listitem text is truncated or\n * when you want to display additional information about the listitem.\n *\n * @tagname mdc-listitem\n *\n * @dependency mdc-text\n * @dependency mdc-tooltip\n *\n * @slot leading-controls - slot for list item controls to appear of leading end.\n * @slot leading-text-primary-label - slot for list item primary label.\n * @slot leading-text-secondary-label - slot for list item secondary label.\n * @slot leading-text-tertiary-label - slot for list item tertiary label.\n * @slot trailing-text-side-header - slot for list item side header text.\n * @slot trailing-text-subline - slot for list item subline text.\n * @slot trailing-controls - slot for list item controls to appear of trailing end.\n * @slot content - content slot can be used to override the content completely. Be aware that\n * this will override the default content of the list item.\n *\n * @cssproperty --mdc-listitem-default-background-color - Allows customization of the default background color.\n * @cssproperty --mdc-listitem-background-color-hover - Allows customization of the background color on hover.\n * @cssproperty --mdc-listitem-background-color-active - Allows customization of the background color when pressed.\n * @cssproperty --mdc-listitem-primary-label-color\n * - Allows customization of the primary label, side header and subline text slot color.\n * @cssproperty --mdc-listitem-secondary-label-color\n * - Allows customization of the secondary and tertiary label text slot color.\n * @cssproperty --mdc-listitem-disabled-color - Allows customization of the disabled color.\n * @cssproperty --mdc-listitem-column-gap - Allows customization of column gap.\n * @cssproperty --mdc-listitem-padding-left-right - Allows customization of padding left and right.\n * @cssproperty --mdc-listitem-padding-top-bottom - Allows customization of padding top and bottom.\n * @cssproperty --mdc-listitem-cursor - Allows customization of the cursor.\n * @cssproperty --mdc-listitem-width - Allows customization of the width of the list item.\n * @cssproperty --mdc-listitem-height - Allows customization of the height of the list item.\n *\n * @event click - (React: onClick) This event is dispatched when the listitem is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the listitem.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the listitem.\n * @event focus - (React: onFocus) This event is dispatched when the listitem receives focus.\n * @event enabled - (React: onEnabled) This event is dispatched after the listitem is enabled\n * @event disabled - (React: onDisabled) This event is dispatched after the listitem is disabled\n * @event created - (React: onCreated) This event is dispatched after the listitem is created (added to the DOM)\n * @event destroyed - (React: onDestroyed) This event is dispatched after the listitem is destroyed (removed from the DOM)\n */",
17361
17381
  "customElement": true
17362
17382
  }
17363
17383
  ],
@@ -17803,15 +17823,15 @@
17803
17823
  },
17804
17824
  {
17805
17825
  "kind": "javascript-module",
17806
- "path": "components/menuitemcheckbox/menuitemcheckbox.component.js",
17826
+ "path": "components/menuitem/menuitem.component.js",
17807
17827
  "declarations": [
17808
17828
  {
17809
17829
  "kind": "class",
17810
- "description": "A menuitemcheckbox component is a checkable menuitem.\nThere should be no focusable descendants inside this menuitemcheckbox component.\n\nThe `checked` attribute indicates whether the menuitemcheckbox is checked or not.\n\nMenu item checkbox has `name` and `value` attribute that can be used to identify the menu item when it is selected.\n\nThe `indicator` attribute is used to differentiate between <b>checkbox</b>, <b>checkmark</b>, <b>toggle</b> and <b>none</b>.\nBy default, the `indicator` is set to <b>checkbox</b>.<br/>\n\nThe checkbox will always be positioned on the leading side of the menuitem label and\nthe toggle and checkmark will always be positioned on the trailing side.\n\nThe checkbox will have the possible states of `true` or `false`.\nIf the indicator is set to <b>checkmark</b> and if the `checked` attribute is set to `true`,\nthen the checkmark will be displayed. if not, then no indicator will be displayed.\n\nThe forth options for the `indicator` is <b>none</b>, which will not display any indicator at all.\nIt is intended to be used for customised menu items where the indicator is implemented differently.\nFor example, you can use a custom icon or a different visual element to indicate the state of the menu item.\nMake sure the new indicator is accessible.\n\nIf you want only one item in a group to be checked, consider using menuitemradio component.",
17811
- "name": "MenuItemCheckbox",
17830
+ "description": "menuitem component is inherited by listitem component with the role set `menuitem`.<br/>\nA menu item can contain an icon on the leading or trailing side.\n\nThe leading and trailing slots can be used to display controls and text.<br/>\nBased on the leading/trailing slot, the position of the controls and text can be adjusted.\n\nPlease use element with role=menu as a parent element even when there is only menuitem for a11y purpose.\nFor example mdc-menupopover or mdc-menubar.\n\nMenu item has `name` and `value` attribute that can be used to identify the menu item when it is selected.",
17831
+ "name": "MenuItem",
17812
17832
  "slots": [
17813
17833
  {
17814
- "description": "slot for menu item checkbox controls to appear of leading end.",
17834
+ "description": "slot for menu item controls to appear of leading end.",
17815
17835
  "name": "leading-controls",
17816
17836
  "inheritedFrom": {
17817
17837
  "name": "ListItem",
@@ -17819,7 +17839,7 @@
17819
17839
  }
17820
17840
  },
17821
17841
  {
17822
- "description": "slot for menu item checkbox primary label.",
17842
+ "description": "slot for menu item primary label.",
17823
17843
  "name": "leading-text-primary-label",
17824
17844
  "inheritedFrom": {
17825
17845
  "name": "ListItem",
@@ -17827,7 +17847,7 @@
17827
17847
  }
17828
17848
  },
17829
17849
  {
17830
- "description": "slot for menu item checkbox secondary label.",
17850
+ "description": "slot for menu item secondary label.",
17831
17851
  "name": "leading-text-secondary-label",
17832
17852
  "inheritedFrom": {
17833
17853
  "name": "ListItem",
@@ -17835,7 +17855,7 @@
17835
17855
  }
17836
17856
  },
17837
17857
  {
17838
- "description": "slot for menu item checkbox tertiary label.",
17858
+ "description": "slot for menu item tertiary label.",
17839
17859
  "name": "leading-text-tertiary-label",
17840
17860
  "inheritedFrom": {
17841
17861
  "name": "ListItem",
@@ -17843,7 +17863,7 @@
17843
17863
  }
17844
17864
  },
17845
17865
  {
17846
- "description": "slot for menu item checkbox side header text.",
17866
+ "description": "slot for menu item side header text.",
17847
17867
  "name": "trailing-text-side-header",
17848
17868
  "inheritedFrom": {
17849
17869
  "name": "ListItem",
@@ -17851,7 +17871,7 @@
17851
17871
  }
17852
17872
  },
17853
17873
  {
17854
- "description": "slot for menu item checkbox subline text.",
17874
+ "description": "slot for menu item subline text.",
17855
17875
  "name": "trailing-text-subline",
17856
17876
  "inheritedFrom": {
17857
17877
  "name": "ListItem",
@@ -17859,76 +17879,23 @@
17859
17879
  }
17860
17880
  },
17861
17881
  {
17862
- "description": "slot for menu item checkbox controls to appear of trailing end.",
17882
+ "description": "slot for menu item controls to appear of trailing end.",
17863
17883
  "name": "trailing-controls",
17864
17884
  "inheritedFrom": {
17865
17885
  "name": "ListItem",
17866
17886
  "module": "src/components/listitem/listitem.component.ts"
17867
17887
  }
17888
+ },
17889
+ {
17890
+ "description": "content slot can be used to override the content completely. Be aware that this will override the default content of the list item.",
17891
+ "name": "content",
17892
+ "inheritedFrom": {
17893
+ "name": "ListItem",
17894
+ "module": "src/components/listitem/listitem.component.ts"
17895
+ }
17868
17896
  }
17869
17897
  ],
17870
17898
  "members": [
17871
- {
17872
- "kind": "field",
17873
- "name": "checked",
17874
- "type": {
17875
- "text": "boolean"
17876
- },
17877
- "default": "false",
17878
- "description": "The checked attribute is used to indicate that the menuitemcheckbox is checked or not.",
17879
- "attribute": "checked",
17880
- "reflects": true
17881
- },
17882
- {
17883
- "kind": "field",
17884
- "name": "indicator",
17885
- "type": {
17886
- "text": "Indicator"
17887
- },
17888
- "description": "The indicator attribute is used to differentiate between <b>checkbox</b> and <b>toggle</b>.",
17889
- "default": "'checkbox'",
17890
- "attribute": "indicator",
17891
- "reflects": true
17892
- },
17893
- {
17894
- "kind": "method",
17895
- "name": "handleMouseClick",
17896
- "privacy": "private",
17897
- "description": "Handles click events to toggle checked state\nIf the menuitemcheckbox is disabled, it does nothing.\nIf the menuitemcheckbox is not disabled, it toggles the `checked` state between `true` and `false`."
17898
- },
17899
- {
17900
- "kind": "method",
17901
- "name": "staticCheckbox",
17902
- "privacy": "private",
17903
- "return": {
17904
- "type": {
17905
- "text": ""
17906
- }
17907
- },
17908
- "description": "Returns a static checkbox element if the indicator is set to checkbox.\nIf the indicator is not set to checkbox, it returns nothing."
17909
- },
17910
- {
17911
- "kind": "method",
17912
- "name": "staticToggle",
17913
- "privacy": "private",
17914
- "return": {
17915
- "type": {
17916
- "text": ""
17917
- }
17918
- },
17919
- "description": "Returns a static toggle element if the indicator is set to toggle.\nIf the indicator is not set to toggle, it returns nothing.\n\nThe toggle will always be positioned on the trailing side of the menuitem label."
17920
- },
17921
- {
17922
- "kind": "method",
17923
- "name": "getCheckmarkIcon",
17924
- "privacy": "private",
17925
- "return": {
17926
- "type": {
17927
- "text": ""
17928
- }
17929
- },
17930
- "description": "Returns a checkmark icon if the indicator is set to checkmark and the checked state is true.\nIf the indicator is not set to checkmark or the checked state is false, it returns nothing.\n\nThe checkmark icon will always be positioned on the trailing side of the menuitem label."
17931
- },
17932
17899
  {
17933
17900
  "kind": "field",
17934
17901
  "name": "arrowPosition",
@@ -17937,11 +17904,7 @@
17937
17904
  },
17938
17905
  "description": "Defines where the arrow icon will appear.\n- `'leading'`: Icon appears on the leading edge (start).\n- `'trailing'`: Icon appears on the trailing edge (end).\n\nIf not set, no arrow is displayed.",
17939
17906
  "attribute": "arrow-position",
17940
- "reflects": true,
17941
- "inheritedFrom": {
17942
- "name": "MenuItem",
17943
- "module": "components/menuitem/menuitem.component.js"
17944
- }
17907
+ "reflects": true
17945
17908
  },
17946
17909
  {
17947
17910
  "kind": "field",
@@ -17951,11 +17914,7 @@
17951
17914
  },
17952
17915
  "description": "Defines the direction the arrow icon points.\n- `'positive'`: Arrow points toward the trailing side.\n- `'negative'`: Arrow points toward the leading side.",
17953
17916
  "attribute": "arrow-direction",
17954
- "reflects": true,
17955
- "inheritedFrom": {
17956
- "name": "MenuItem",
17957
- "module": "components/menuitem/menuitem.component.js"
17958
- }
17917
+ "reflects": true
17959
17918
  },
17960
17919
  {
17961
17920
  "kind": "field",
@@ -17966,11 +17925,7 @@
17966
17925
  "default": "undefined",
17967
17926
  "description": "The name attribute is used to identify the menu item when it is selected.",
17968
17927
  "attribute": "name",
17969
- "reflects": true,
17970
- "inheritedFrom": {
17971
- "name": "MenuItem",
17972
- "module": "components/menuitem/menuitem.component.js"
17973
- }
17928
+ "reflects": true
17974
17929
  },
17975
17930
  {
17976
17931
  "kind": "field",
@@ -17981,11 +17936,7 @@
17981
17936
  "default": "undefined",
17982
17937
  "description": "The value attribute is used to represent a value when the menu item is selected.\nIt is typically used with checkbox and radio menu items, but can be handy for any menu item.",
17983
17938
  "attribute": "value",
17984
- "reflects": true,
17985
- "inheritedFrom": {
17986
- "name": "MenuItem",
17987
- "module": "components/menuitem/menuitem.component.js"
17988
- }
17939
+ "reflects": true
17989
17940
  },
17990
17941
  {
17991
17942
  "kind": "method",
@@ -18029,11 +17980,7 @@
18029
17980
  "description": "The keyboard event that triggered the action."
18030
17981
  }
18031
17982
  ],
18032
- "description": "Handles the keyup event for the menu item.\nIf the Space key is released, it triggers a click event on the menu item.\nThis allows keyboard users to activate the menu item using the Space key.\nIt also prevents the default action of the Space key to avoid scrolling the page.\n\nThis follows the native behaviour, actionable element can be triggered by Space\nkey on the keyup event.\n\nNote: Action triggered by Enter on the keydown event.",
18033
- "inheritedFrom": {
18034
- "name": "MenuItem",
18035
- "module": "components/menuitem/menuitem.component.js"
18036
- }
17983
+ "description": "Handles the keyup event for the menu item.\nIf the Space key is released, it triggers a click event on the menu item.\nThis allows keyboard users to activate the menu item using the Space key.\nIt also prevents the default action of the Space key to avoid scrolling the page.\n\nThis follows the native behaviour, actionable element can be triggered by Space\nkey on the keyup event.\n\nNote: Action triggered by Enter on the keydown event."
18037
17984
  },
18038
17985
  {
18039
17986
  "kind": "method",
@@ -18370,15 +18317,7 @@
18370
18317
  ],
18371
18318
  "events": [
18372
18319
  {
18373
- "name": "change",
18374
- "type": {
18375
- "text": "Event"
18376
- },
18377
- "description": "(React: onChange) This event is dispatched when the menuitemcheckbox changes.",
18378
- "reactName": "onChange"
18379
- },
18380
- {
18381
- "description": "(React: onClick) This event is dispatched when the menuitemcheckbox is clicked.",
18320
+ "description": "(React: onClick) This event is dispatched when the menuitem is clicked.",
18382
18321
  "name": "click",
18383
18322
  "reactName": "onClick",
18384
18323
  "inheritedFrom": {
@@ -18386,15 +18325,6 @@
18386
18325
  "module": "src/components/listitem/listitem.component.ts"
18387
18326
  }
18388
18327
  },
18389
- {
18390
- "description": "(React: onFocus) This event is dispatched when the menuitemcheckbox receives focus.",
18391
- "name": "focus",
18392
- "reactName": "onFocus",
18393
- "inheritedFrom": {
18394
- "name": "ListItem",
18395
- "module": "src/components/listitem/listitem.component.ts"
18396
- }
18397
- },
18398
18328
  {
18399
18329
  "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the menuitem.",
18400
18330
  "name": "keydown",
@@ -18413,6 +18343,15 @@
18413
18343
  "module": "src/components/listitem/listitem.component.ts"
18414
18344
  }
18415
18345
  },
18346
+ {
18347
+ "description": "(React: onFocus) This event is dispatched when the menuitem receives focus.",
18348
+ "name": "focus",
18349
+ "reactName": "onFocus",
18350
+ "inheritedFrom": {
18351
+ "name": "ListItem",
18352
+ "module": "src/components/listitem/listitem.component.ts"
18353
+ }
18354
+ },
18416
18355
  {
18417
18356
  "description": "(React: onEnabled) This event is dispatched after the listitem is enabled",
18418
18357
  "name": "enabled",
@@ -18451,35 +18390,13 @@
18451
18390
  }
18452
18391
  ],
18453
18392
  "attributes": [
18454
- {
18455
- "name": "checked",
18456
- "type": {
18457
- "text": "boolean"
18458
- },
18459
- "default": "false",
18460
- "description": "The checked attribute is used to indicate that the menuitemcheckbox is checked or not.",
18461
- "fieldName": "checked"
18462
- },
18463
- {
18464
- "name": "indicator",
18465
- "type": {
18466
- "text": "Indicator"
18467
- },
18468
- "description": "The indicator attribute is used to differentiate between <b>checkbox</b> and <b>toggle</b>.",
18469
- "default": "'checkbox'",
18470
- "fieldName": "indicator"
18471
- },
18472
18393
  {
18473
18394
  "name": "arrow-position",
18474
18395
  "type": {
18475
18396
  "text": "ArrowPositions | undefined"
18476
18397
  },
18477
18398
  "description": "Defines where the arrow icon will appear.\n- `'leading'`: Icon appears on the leading edge (start).\n- `'trailing'`: Icon appears on the trailing edge (end).\n\nIf not set, no arrow is displayed.",
18478
- "fieldName": "arrowPosition",
18479
- "inheritedFrom": {
18480
- "name": "MenuItem",
18481
- "module": "src/components/menuitem/menuitem.component.ts"
18482
- }
18399
+ "fieldName": "arrowPosition"
18483
18400
  },
18484
18401
  {
18485
18402
  "name": "arrow-direction",
@@ -18487,11 +18404,7 @@
18487
18404
  "text": "ArrowDirections | undefined"
18488
18405
  },
18489
18406
  "description": "Defines the direction the arrow icon points.\n- `'positive'`: Arrow points toward the trailing side.\n- `'negative'`: Arrow points toward the leading side.",
18490
- "fieldName": "arrowDirection",
18491
- "inheritedFrom": {
18492
- "name": "MenuItem",
18493
- "module": "src/components/menuitem/menuitem.component.ts"
18494
- }
18407
+ "fieldName": "arrowDirection"
18495
18408
  },
18496
18409
  {
18497
18410
  "name": "name",
@@ -18500,11 +18413,7 @@
18500
18413
  },
18501
18414
  "default": "undefined",
18502
18415
  "description": "The name attribute is used to identify the menu item when it is selected.",
18503
- "fieldName": "name",
18504
- "inheritedFrom": {
18505
- "name": "MenuItem",
18506
- "module": "src/components/menuitem/menuitem.component.ts"
18507
- }
18416
+ "fieldName": "name"
18508
18417
  },
18509
18418
  {
18510
18419
  "name": "value",
@@ -18513,11 +18422,7 @@
18513
18422
  },
18514
18423
  "default": "undefined",
18515
18424
  "description": "The value attribute is used to represent a value when the menu item is selected.\nIt is typically used with checkbox and radio menu items, but can be handy for any menu item.",
18516
- "fieldName": "value",
18517
- "inheritedFrom": {
18518
- "name": "MenuItem",
18519
- "module": "src/components/menuitem/menuitem.component.ts"
18520
- }
18425
+ "fieldName": "value"
18521
18426
  },
18522
18427
  {
18523
18428
  "name": "disabled",
@@ -18658,11 +18563,11 @@
18658
18563
  }
18659
18564
  ],
18660
18565
  "superclass": {
18661
- "name": "MenuItem",
18662
- "module": "/src/components/menuitem/menuitem.component"
18566
+ "name": "ListItem",
18567
+ "module": "/src/components/listitem/listitem.component"
18663
18568
  },
18664
- "tagName": "mdc-menuitemcheckbox",
18665
- "jsDoc": "/**\n * A menuitemcheckbox component is a checkable menuitem.\n * There should be no focusable descendants inside this menuitemcheckbox component.\n *\n * The `checked` attribute indicates whether the menuitemcheckbox is checked or not.\n *\n * Menu item checkbox has `name` and `value` attribute that can be used to identify the menu item when it is selected.\n *\n * The `indicator` attribute is used to differentiate between <b>checkbox</b>, <b>checkmark</b>, <b>toggle</b> and <b>none</b>.\n * By default, the `indicator` is set to <b>checkbox</b>.<br/>\n *\n * The checkbox will always be positioned on the leading side of the menuitem label and\n * the toggle and checkmark will always be positioned on the trailing side.\n *\n * The checkbox will have the possible states of `true` or `false`.\n * If the indicator is set to <b>checkmark</b> and if the `checked` attribute is set to `true`,\n * then the checkmark will be displayed. if not, then no indicator will be displayed.\n *\n * The forth options for the `indicator` is <b>none</b>, which will not display any indicator at all.\n * It is intended to be used for customised menu items where the indicator is implemented differently.\n * For example, you can use a custom icon or a different visual element to indicate the state of the menu item.\n * Make sure the new indicator is accessible.\n *\n * If you want only one item in a group to be checked, consider using menuitemradio component.\n *\n * @dependency mdc-staticcheckbox\n * @dependency mdc-statictoggle\n * @dependency mdc-icon\n *\n * @tagname mdc-menuitemcheckbox\n *\n * @slot leading-controls - slot for menu item checkbox controls to appear of leading end.\n * @slot leading-text-primary-label - slot for menu item checkbox primary label.\n * @slot leading-text-secondary-label - slot for menu item checkbox secondary label.\n * @slot leading-text-tertiary-label - slot for menu item checkbox tertiary label.\n * @slot trailing-text-side-header - slot for menu item checkbox side header text.\n * @slot trailing-text-subline - slot for menu item checkbox subline text.\n * @slot trailing-controls - slot for menu item checkbox controls to appear of trailing end.\n *\n * @event change - (React: onChange) This event is dispatched when the menuitemcheckbox changes.\n * @event click - (React: onClick) This event is dispatched when the menuitemcheckbox is clicked.\n * @event focus - (React: onFocus) This event is dispatched when the menuitemcheckbox receives focus.\n */",
18569
+ "tagName": "mdc-menuitem",
18570
+ "jsDoc": "/**\n * menuitem component is inherited by listitem component with the role set `menuitem`.<br/>\n * A menu item can contain an icon on the leading or trailing side.\n *\n * The leading and trailing slots can be used to display controls and text.<br/>\n * Based on the leading/trailing slot, the position of the controls and text can be adjusted.\n *\n * Please use element with role=menu as a parent element even when there is only menuitem for a11y purpose.\n * For example mdc-menupopover or mdc-menubar.\n *\n * Menu item has `name` and `value` attribute that can be used to identify the menu item when it is selected.\n *\n * @dependency mdc-text\n * @dependency mdc-icon\n * @dependency mdc-tooltip\n *\n * @tagname mdc-menuitem\n *\n * @slot leading-controls - slot for menu item controls to appear of leading end.\n * @slot leading-text-primary-label - slot for menu item primary label.\n * @slot leading-text-secondary-label - slot for menu item secondary label.\n * @slot leading-text-tertiary-label - slot for menu item tertiary label.\n * @slot trailing-text-side-header - slot for menu item side header text.\n * @slot trailing-text-subline - slot for menu item subline text.\n * @slot trailing-controls - slot for menu item controls to appear of trailing end.\n *\n * @event click - (React: onClick) This event is dispatched when the menuitem is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the menuitem.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the menuitem.\n * @event focus - (React: onFocus) This event is dispatched when the menuitem receives focus.\n */",
18666
18571
  "customElement": true,
18667
18572
  "cssProperties": [
18668
18573
  {
@@ -18723,7 +18628,39 @@
18723
18628
  },
18724
18629
  {
18725
18630
  "description": "Allows customization of padding left and right.",
18726
- "name": "--mdc-listitem-padding-left-and-right",
18631
+ "name": "--mdc-listitem-padding-left-right",
18632
+ "inheritedFrom": {
18633
+ "name": "ListItem",
18634
+ "module": "src/components/listitem/listitem.component.ts"
18635
+ }
18636
+ },
18637
+ {
18638
+ "description": "Allows customization of padding top and bottom.",
18639
+ "name": "--mdc-listitem-padding-top-bottom",
18640
+ "inheritedFrom": {
18641
+ "name": "ListItem",
18642
+ "module": "src/components/listitem/listitem.component.ts"
18643
+ }
18644
+ },
18645
+ {
18646
+ "description": "Allows customization of the cursor.",
18647
+ "name": "--mdc-listitem-cursor",
18648
+ "inheritedFrom": {
18649
+ "name": "ListItem",
18650
+ "module": "src/components/listitem/listitem.component.ts"
18651
+ }
18652
+ },
18653
+ {
18654
+ "description": "Allows customization of the width of the list item.",
18655
+ "name": "--mdc-listitem-width",
18656
+ "inheritedFrom": {
18657
+ "name": "ListItem",
18658
+ "module": "src/components/listitem/listitem.component.ts"
18659
+ }
18660
+ },
18661
+ {
18662
+ "description": "Allows customization of the height of the list item.",
18663
+ "name": "--mdc-listitem-height",
18727
18664
  "inheritedFrom": {
18728
18665
  "name": "ListItem",
18729
18666
  "module": "src/components/listitem/listitem.component.ts"
@@ -18737,23 +18674,23 @@
18737
18674
  "kind": "js",
18738
18675
  "name": "default",
18739
18676
  "declaration": {
18740
- "name": "MenuItemCheckbox",
18741
- "module": "components/menuitemcheckbox/menuitemcheckbox.component.js"
18677
+ "name": "MenuItem",
18678
+ "module": "components/menuitem/menuitem.component.js"
18742
18679
  }
18743
18680
  }
18744
18681
  ]
18745
18682
  },
18746
18683
  {
18747
18684
  "kind": "javascript-module",
18748
- "path": "components/menuitem/menuitem.component.js",
18685
+ "path": "components/menuitemcheckbox/menuitemcheckbox.component.js",
18749
18686
  "declarations": [
18750
18687
  {
18751
18688
  "kind": "class",
18752
- "description": "menuitem component is inherited by listitem component with the role set `menuitem`.<br/>\nA menu item can contain an icon on the leading or trailing side.\n\nThe leading and trailing slots can be used to display controls and text.<br/>\nBased on the leading/trailing slot, the position of the controls and text can be adjusted.\n\nPlease use element with role=menu as a parent element even when there is only menuitem for a11y purpose.\nFor example mdc-menupopover or mdc-menubar.\n\nMenu item has `name` and `value` attribute that can be used to identify the menu item when it is selected.",
18753
- "name": "MenuItem",
18689
+ "description": "A menuitemcheckbox component is a checkable menuitem.\nThere should be no focusable descendants inside this menuitemcheckbox component.\n\nThe `checked` attribute indicates whether the menuitemcheckbox is checked or not.\n\nMenu item checkbox has `name` and `value` attribute that can be used to identify the menu item when it is selected.\n\nThe `indicator` attribute is used to differentiate between <b>checkbox</b>, <b>checkmark</b>, <b>toggle</b> and <b>none</b>.\nBy default, the `indicator` is set to <b>checkbox</b>.<br/>\n\nThe checkbox will always be positioned on the leading side of the menuitem label and\nthe toggle and checkmark will always be positioned on the trailing side.\n\nThe checkbox will have the possible states of `true` or `false`.\nIf the indicator is set to <b>checkmark</b> and if the `checked` attribute is set to `true`,\nthen the checkmark will be displayed. if not, then no indicator will be displayed.\n\nThe forth options for the `indicator` is <b>none</b>, which will not display any indicator at all.\nIt is intended to be used for customised menu items where the indicator is implemented differently.\nFor example, you can use a custom icon or a different visual element to indicate the state of the menu item.\nMake sure the new indicator is accessible.\n\nIf you want only one item in a group to be checked, consider using menuitemradio component.",
18690
+ "name": "MenuItemCheckbox",
18754
18691
  "slots": [
18755
18692
  {
18756
- "description": "slot for menu item controls to appear of leading end.",
18693
+ "description": "slot for menu item checkbox controls to appear of leading end.",
18757
18694
  "name": "leading-controls",
18758
18695
  "inheritedFrom": {
18759
18696
  "name": "ListItem",
@@ -18761,7 +18698,7 @@
18761
18698
  }
18762
18699
  },
18763
18700
  {
18764
- "description": "slot for menu item primary label.",
18701
+ "description": "slot for menu item checkbox primary label.",
18765
18702
  "name": "leading-text-primary-label",
18766
18703
  "inheritedFrom": {
18767
18704
  "name": "ListItem",
@@ -18769,7 +18706,7 @@
18769
18706
  }
18770
18707
  },
18771
18708
  {
18772
- "description": "slot for menu item secondary label.",
18709
+ "description": "slot for menu item checkbox secondary label.",
18773
18710
  "name": "leading-text-secondary-label",
18774
18711
  "inheritedFrom": {
18775
18712
  "name": "ListItem",
@@ -18777,7 +18714,7 @@
18777
18714
  }
18778
18715
  },
18779
18716
  {
18780
- "description": "slot for menu item tertiary label.",
18717
+ "description": "slot for menu item checkbox tertiary label.",
18781
18718
  "name": "leading-text-tertiary-label",
18782
18719
  "inheritedFrom": {
18783
18720
  "name": "ListItem",
@@ -18785,7 +18722,7 @@
18785
18722
  }
18786
18723
  },
18787
18724
  {
18788
- "description": "slot for menu item side header text.",
18725
+ "description": "slot for menu item checkbox side header text.",
18789
18726
  "name": "trailing-text-side-header",
18790
18727
  "inheritedFrom": {
18791
18728
  "name": "ListItem",
@@ -18793,7 +18730,7 @@
18793
18730
  }
18794
18731
  },
18795
18732
  {
18796
- "description": "slot for menu item subline text.",
18733
+ "description": "slot for menu item checkbox subline text.",
18797
18734
  "name": "trailing-text-subline",
18798
18735
  "inheritedFrom": {
18799
18736
  "name": "ListItem",
@@ -18801,15 +18738,84 @@
18801
18738
  }
18802
18739
  },
18803
18740
  {
18804
- "description": "slot for menu item controls to appear of trailing end.",
18741
+ "description": "slot for menu item checkbox controls to appear of trailing end.",
18805
18742
  "name": "trailing-controls",
18806
18743
  "inheritedFrom": {
18807
18744
  "name": "ListItem",
18808
18745
  "module": "src/components/listitem/listitem.component.ts"
18809
18746
  }
18747
+ },
18748
+ {
18749
+ "description": "content slot can be used to override the content completely. Be aware that this will override the default content of the list item.",
18750
+ "name": "content",
18751
+ "inheritedFrom": {
18752
+ "name": "ListItem",
18753
+ "module": "src/components/listitem/listitem.component.ts"
18754
+ }
18810
18755
  }
18811
18756
  ],
18812
18757
  "members": [
18758
+ {
18759
+ "kind": "field",
18760
+ "name": "checked",
18761
+ "type": {
18762
+ "text": "boolean"
18763
+ },
18764
+ "default": "false",
18765
+ "description": "The checked attribute is used to indicate that the menuitemcheckbox is checked or not.",
18766
+ "attribute": "checked",
18767
+ "reflects": true
18768
+ },
18769
+ {
18770
+ "kind": "field",
18771
+ "name": "indicator",
18772
+ "type": {
18773
+ "text": "Indicator"
18774
+ },
18775
+ "description": "The indicator attribute is used to differentiate between <b>checkbox</b> and <b>toggle</b>.",
18776
+ "default": "'checkbox'",
18777
+ "attribute": "indicator",
18778
+ "reflects": true
18779
+ },
18780
+ {
18781
+ "kind": "method",
18782
+ "name": "handleMouseClick",
18783
+ "privacy": "private",
18784
+ "description": "Handles click events to toggle checked state\nIf the menuitemcheckbox is disabled, it does nothing.\nIf the menuitemcheckbox is not disabled, it toggles the `checked` state between `true` and `false`."
18785
+ },
18786
+ {
18787
+ "kind": "method",
18788
+ "name": "staticCheckbox",
18789
+ "privacy": "private",
18790
+ "return": {
18791
+ "type": {
18792
+ "text": ""
18793
+ }
18794
+ },
18795
+ "description": "Returns a static checkbox element if the indicator is set to checkbox.\nIf the indicator is not set to checkbox, it returns nothing."
18796
+ },
18797
+ {
18798
+ "kind": "method",
18799
+ "name": "staticToggle",
18800
+ "privacy": "private",
18801
+ "return": {
18802
+ "type": {
18803
+ "text": ""
18804
+ }
18805
+ },
18806
+ "description": "Returns a static toggle element if the indicator is set to toggle.\nIf the indicator is not set to toggle, it returns nothing.\n\nThe toggle will always be positioned on the trailing side of the menuitem label."
18807
+ },
18808
+ {
18809
+ "kind": "method",
18810
+ "name": "getCheckmarkIcon",
18811
+ "privacy": "private",
18812
+ "return": {
18813
+ "type": {
18814
+ "text": ""
18815
+ }
18816
+ },
18817
+ "description": "Returns a checkmark icon if the indicator is set to checkmark and the checked state is true.\nIf the indicator is not set to checkmark or the checked state is false, it returns nothing.\n\nThe checkmark icon will always be positioned on the trailing side of the menuitem label."
18818
+ },
18813
18819
  {
18814
18820
  "kind": "field",
18815
18821
  "name": "arrowPosition",
@@ -18818,7 +18824,11 @@
18818
18824
  },
18819
18825
  "description": "Defines where the arrow icon will appear.\n- `'leading'`: Icon appears on the leading edge (start).\n- `'trailing'`: Icon appears on the trailing edge (end).\n\nIf not set, no arrow is displayed.",
18820
18826
  "attribute": "arrow-position",
18821
- "reflects": true
18827
+ "reflects": true,
18828
+ "inheritedFrom": {
18829
+ "name": "MenuItem",
18830
+ "module": "components/menuitem/menuitem.component.js"
18831
+ }
18822
18832
  },
18823
18833
  {
18824
18834
  "kind": "field",
@@ -18828,7 +18838,11 @@
18828
18838
  },
18829
18839
  "description": "Defines the direction the arrow icon points.\n- `'positive'`: Arrow points toward the trailing side.\n- `'negative'`: Arrow points toward the leading side.",
18830
18840
  "attribute": "arrow-direction",
18831
- "reflects": true
18841
+ "reflects": true,
18842
+ "inheritedFrom": {
18843
+ "name": "MenuItem",
18844
+ "module": "components/menuitem/menuitem.component.js"
18845
+ }
18832
18846
  },
18833
18847
  {
18834
18848
  "kind": "field",
@@ -18839,7 +18853,11 @@
18839
18853
  "default": "undefined",
18840
18854
  "description": "The name attribute is used to identify the menu item when it is selected.",
18841
18855
  "attribute": "name",
18842
- "reflects": true
18856
+ "reflects": true,
18857
+ "inheritedFrom": {
18858
+ "name": "MenuItem",
18859
+ "module": "components/menuitem/menuitem.component.js"
18860
+ }
18843
18861
  },
18844
18862
  {
18845
18863
  "kind": "field",
@@ -18850,7 +18868,11 @@
18850
18868
  "default": "undefined",
18851
18869
  "description": "The value attribute is used to represent a value when the menu item is selected.\nIt is typically used with checkbox and radio menu items, but can be handy for any menu item.",
18852
18870
  "attribute": "value",
18853
- "reflects": true
18871
+ "reflects": true,
18872
+ "inheritedFrom": {
18873
+ "name": "MenuItem",
18874
+ "module": "components/menuitem/menuitem.component.js"
18875
+ }
18854
18876
  },
18855
18877
  {
18856
18878
  "kind": "method",
@@ -18894,7 +18916,11 @@
18894
18916
  "description": "The keyboard event that triggered the action."
18895
18917
  }
18896
18918
  ],
18897
- "description": "Handles the keyup event for the menu item.\nIf the Space key is released, it triggers a click event on the menu item.\nThis allows keyboard users to activate the menu item using the Space key.\nIt also prevents the default action of the Space key to avoid scrolling the page.\n\nThis follows the native behaviour, actionable element can be triggered by Space\nkey on the keyup event.\n\nNote: Action triggered by Enter on the keydown event."
18919
+ "description": "Handles the keyup event for the menu item.\nIf the Space key is released, it triggers a click event on the menu item.\nThis allows keyboard users to activate the menu item using the Space key.\nIt also prevents the default action of the Space key to avoid scrolling the page.\n\nThis follows the native behaviour, actionable element can be triggered by Space\nkey on the keyup event.\n\nNote: Action triggered by Enter on the keydown event.",
18920
+ "inheritedFrom": {
18921
+ "name": "MenuItem",
18922
+ "module": "components/menuitem/menuitem.component.js"
18923
+ }
18898
18924
  },
18899
18925
  {
18900
18926
  "kind": "method",
@@ -19231,7 +19257,15 @@
19231
19257
  ],
19232
19258
  "events": [
19233
19259
  {
19234
- "description": "(React: onClick) This event is dispatched when the menuitem is clicked.",
19260
+ "name": "change",
19261
+ "type": {
19262
+ "text": "Event"
19263
+ },
19264
+ "description": "(React: onChange) This event is dispatched when the menuitemcheckbox changes.",
19265
+ "reactName": "onChange"
19266
+ },
19267
+ {
19268
+ "description": "(React: onClick) This event is dispatched when the menuitemcheckbox is clicked.",
19235
19269
  "name": "click",
19236
19270
  "reactName": "onClick",
19237
19271
  "inheritedFrom": {
@@ -19240,27 +19274,27 @@
19240
19274
  }
19241
19275
  },
19242
19276
  {
19243
- "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the menuitem.",
19244
- "name": "keydown",
19245
- "reactName": "onKeyDown",
19277
+ "description": "(React: onFocus) This event is dispatched when the menuitemcheckbox receives focus.",
19278
+ "name": "focus",
19279
+ "reactName": "onFocus",
19246
19280
  "inheritedFrom": {
19247
19281
  "name": "ListItem",
19248
19282
  "module": "src/components/listitem/listitem.component.ts"
19249
19283
  }
19250
19284
  },
19251
19285
  {
19252
- "description": "(React: onKeyUp) This event is dispatched when a key is released on the menuitem.",
19253
- "name": "keyup",
19254
- "reactName": "onKeyUp",
19286
+ "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the menuitem.",
19287
+ "name": "keydown",
19288
+ "reactName": "onKeyDown",
19255
19289
  "inheritedFrom": {
19256
19290
  "name": "ListItem",
19257
19291
  "module": "src/components/listitem/listitem.component.ts"
19258
19292
  }
19259
19293
  },
19260
19294
  {
19261
- "description": "(React: onFocus) This event is dispatched when the menuitem receives focus.",
19262
- "name": "focus",
19263
- "reactName": "onFocus",
19295
+ "description": "(React: onKeyUp) This event is dispatched when a key is released on the menuitem.",
19296
+ "name": "keyup",
19297
+ "reactName": "onKeyUp",
19264
19298
  "inheritedFrom": {
19265
19299
  "name": "ListItem",
19266
19300
  "module": "src/components/listitem/listitem.component.ts"
@@ -19305,20 +19339,46 @@
19305
19339
  ],
19306
19340
  "attributes": [
19307
19341
  {
19308
- "name": "arrow-position",
19342
+ "name": "checked",
19309
19343
  "type": {
19310
- "text": "ArrowPositions | undefined"
19344
+ "text": "boolean"
19311
19345
  },
19312
- "description": "Defines where the arrow icon will appear.\n- `'leading'`: Icon appears on the leading edge (start).\n- `'trailing'`: Icon appears on the trailing edge (end).\n\nIf not set, no arrow is displayed.",
19313
- "fieldName": "arrowPosition"
19346
+ "default": "false",
19347
+ "description": "The checked attribute is used to indicate that the menuitemcheckbox is checked or not.",
19348
+ "fieldName": "checked"
19314
19349
  },
19315
19350
  {
19316
- "name": "arrow-direction",
19351
+ "name": "indicator",
19352
+ "type": {
19353
+ "text": "Indicator"
19354
+ },
19355
+ "description": "The indicator attribute is used to differentiate between <b>checkbox</b> and <b>toggle</b>.",
19356
+ "default": "'checkbox'",
19357
+ "fieldName": "indicator"
19358
+ },
19359
+ {
19360
+ "name": "arrow-position",
19361
+ "type": {
19362
+ "text": "ArrowPositions | undefined"
19363
+ },
19364
+ "description": "Defines where the arrow icon will appear.\n- `'leading'`: Icon appears on the leading edge (start).\n- `'trailing'`: Icon appears on the trailing edge (end).\n\nIf not set, no arrow is displayed.",
19365
+ "fieldName": "arrowPosition",
19366
+ "inheritedFrom": {
19367
+ "name": "MenuItem",
19368
+ "module": "src/components/menuitem/menuitem.component.ts"
19369
+ }
19370
+ },
19371
+ {
19372
+ "name": "arrow-direction",
19317
19373
  "type": {
19318
19374
  "text": "ArrowDirections | undefined"
19319
19375
  },
19320
19376
  "description": "Defines the direction the arrow icon points.\n- `'positive'`: Arrow points toward the trailing side.\n- `'negative'`: Arrow points toward the leading side.",
19321
- "fieldName": "arrowDirection"
19377
+ "fieldName": "arrowDirection",
19378
+ "inheritedFrom": {
19379
+ "name": "MenuItem",
19380
+ "module": "src/components/menuitem/menuitem.component.ts"
19381
+ }
19322
19382
  },
19323
19383
  {
19324
19384
  "name": "name",
@@ -19327,7 +19387,11 @@
19327
19387
  },
19328
19388
  "default": "undefined",
19329
19389
  "description": "The name attribute is used to identify the menu item when it is selected.",
19330
- "fieldName": "name"
19390
+ "fieldName": "name",
19391
+ "inheritedFrom": {
19392
+ "name": "MenuItem",
19393
+ "module": "src/components/menuitem/menuitem.component.ts"
19394
+ }
19331
19395
  },
19332
19396
  {
19333
19397
  "name": "value",
@@ -19336,7 +19400,11 @@
19336
19400
  },
19337
19401
  "default": "undefined",
19338
19402
  "description": "The value attribute is used to represent a value when the menu item is selected.\nIt is typically used with checkbox and radio menu items, but can be handy for any menu item.",
19339
- "fieldName": "value"
19403
+ "fieldName": "value",
19404
+ "inheritedFrom": {
19405
+ "name": "MenuItem",
19406
+ "module": "src/components/menuitem/menuitem.component.ts"
19407
+ }
19340
19408
  },
19341
19409
  {
19342
19410
  "name": "disabled",
@@ -19477,11 +19545,11 @@
19477
19545
  }
19478
19546
  ],
19479
19547
  "superclass": {
19480
- "name": "ListItem",
19481
- "module": "/src/components/listitem/listitem.component"
19548
+ "name": "MenuItem",
19549
+ "module": "/src/components/menuitem/menuitem.component"
19482
19550
  },
19483
- "tagName": "mdc-menuitem",
19484
- "jsDoc": "/**\n * menuitem component is inherited by listitem component with the role set `menuitem`.<br/>\n * A menu item can contain an icon on the leading or trailing side.\n *\n * The leading and trailing slots can be used to display controls and text.<br/>\n * Based on the leading/trailing slot, the position of the controls and text can be adjusted.\n *\n * Please use element with role=menu as a parent element even when there is only menuitem for a11y purpose.\n * For example mdc-menupopover or mdc-menubar.\n *\n * Menu item has `name` and `value` attribute that can be used to identify the menu item when it is selected.\n *\n * @dependency mdc-text\n * @dependency mdc-icon\n * @dependency mdc-tooltip\n *\n * @tagname mdc-menuitem\n *\n * @slot leading-controls - slot for menu item controls to appear of leading end.\n * @slot leading-text-primary-label - slot for menu item primary label.\n * @slot leading-text-secondary-label - slot for menu item secondary label.\n * @slot leading-text-tertiary-label - slot for menu item tertiary label.\n * @slot trailing-text-side-header - slot for menu item side header text.\n * @slot trailing-text-subline - slot for menu item subline text.\n * @slot trailing-controls - slot for menu item controls to appear of trailing end.\n *\n * @event click - (React: onClick) This event is dispatched when the menuitem is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the menuitem.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the menuitem.\n * @event focus - (React: onFocus) This event is dispatched when the menuitem receives focus.\n */",
19551
+ "tagName": "mdc-menuitemcheckbox",
19552
+ "jsDoc": "/**\n * A menuitemcheckbox component is a checkable menuitem.\n * There should be no focusable descendants inside this menuitemcheckbox component.\n *\n * The `checked` attribute indicates whether the menuitemcheckbox is checked or not.\n *\n * Menu item checkbox has `name` and `value` attribute that can be used to identify the menu item when it is selected.\n *\n * The `indicator` attribute is used to differentiate between <b>checkbox</b>, <b>checkmark</b>, <b>toggle</b> and <b>none</b>.\n * By default, the `indicator` is set to <b>checkbox</b>.<br/>\n *\n * The checkbox will always be positioned on the leading side of the menuitem label and\n * the toggle and checkmark will always be positioned on the trailing side.\n *\n * The checkbox will have the possible states of `true` or `false`.\n * If the indicator is set to <b>checkmark</b> and if the `checked` attribute is set to `true`,\n * then the checkmark will be displayed. if not, then no indicator will be displayed.\n *\n * The forth options for the `indicator` is <b>none</b>, which will not display any indicator at all.\n * It is intended to be used for customised menu items where the indicator is implemented differently.\n * For example, you can use a custom icon or a different visual element to indicate the state of the menu item.\n * Make sure the new indicator is accessible.\n *\n * If you want only one item in a group to be checked, consider using menuitemradio component.\n *\n * @dependency mdc-staticcheckbox\n * @dependency mdc-statictoggle\n * @dependency mdc-icon\n *\n * @tagname mdc-menuitemcheckbox\n *\n * @slot leading-controls - slot for menu item checkbox controls to appear of leading end.\n * @slot leading-text-primary-label - slot for menu item checkbox primary label.\n * @slot leading-text-secondary-label - slot for menu item checkbox secondary label.\n * @slot leading-text-tertiary-label - slot for menu item checkbox tertiary label.\n * @slot trailing-text-side-header - slot for menu item checkbox side header text.\n * @slot trailing-text-subline - slot for menu item checkbox subline text.\n * @slot trailing-controls - slot for menu item checkbox controls to appear of trailing end.\n *\n * @event change - (React: onChange) This event is dispatched when the menuitemcheckbox changes.\n * @event click - (React: onClick) This event is dispatched when the menuitemcheckbox is clicked.\n * @event focus - (React: onFocus) This event is dispatched when the menuitemcheckbox receives focus.\n */",
19485
19553
  "customElement": true,
19486
19554
  "cssProperties": [
19487
19555
  {
@@ -19542,7 +19610,39 @@
19542
19610
  },
19543
19611
  {
19544
19612
  "description": "Allows customization of padding left and right.",
19545
- "name": "--mdc-listitem-padding-left-and-right",
19613
+ "name": "--mdc-listitem-padding-left-right",
19614
+ "inheritedFrom": {
19615
+ "name": "ListItem",
19616
+ "module": "src/components/listitem/listitem.component.ts"
19617
+ }
19618
+ },
19619
+ {
19620
+ "description": "Allows customization of padding top and bottom.",
19621
+ "name": "--mdc-listitem-padding-top-bottom",
19622
+ "inheritedFrom": {
19623
+ "name": "ListItem",
19624
+ "module": "src/components/listitem/listitem.component.ts"
19625
+ }
19626
+ },
19627
+ {
19628
+ "description": "Allows customization of the cursor.",
19629
+ "name": "--mdc-listitem-cursor",
19630
+ "inheritedFrom": {
19631
+ "name": "ListItem",
19632
+ "module": "src/components/listitem/listitem.component.ts"
19633
+ }
19634
+ },
19635
+ {
19636
+ "description": "Allows customization of the width of the list item.",
19637
+ "name": "--mdc-listitem-width",
19638
+ "inheritedFrom": {
19639
+ "name": "ListItem",
19640
+ "module": "src/components/listitem/listitem.component.ts"
19641
+ }
19642
+ },
19643
+ {
19644
+ "description": "Allows customization of the height of the list item.",
19645
+ "name": "--mdc-listitem-height",
19546
19646
  "inheritedFrom": {
19547
19647
  "name": "ListItem",
19548
19648
  "module": "src/components/listitem/listitem.component.ts"
@@ -19556,8 +19656,8 @@
19556
19656
  "kind": "js",
19557
19657
  "name": "default",
19558
19658
  "declaration": {
19559
- "name": "MenuItem",
19560
- "module": "components/menuitem/menuitem.component.js"
19659
+ "name": "MenuItemCheckbox",
19660
+ "module": "components/menuitemcheckbox/menuitemcheckbox.component.js"
19561
19661
  }
19562
19662
  }
19563
19663
  ]
@@ -19626,6 +19726,14 @@
19626
19726
  "name": "ListItem",
19627
19727
  "module": "src/components/listitem/listitem.component.ts"
19628
19728
  }
19729
+ },
19730
+ {
19731
+ "description": "content slot can be used to override the content completely. Be aware that this will override the default content of the list item.",
19732
+ "name": "content",
19733
+ "inheritedFrom": {
19734
+ "name": "ListItem",
19735
+ "module": "src/components/listitem/listitem.component.ts"
19736
+ }
19629
19737
  }
19630
19738
  ],
19631
19739
  "members": [
@@ -20495,154 +20603,45 @@
20495
20603
  },
20496
20604
  {
20497
20605
  "description": "Allows customization of padding left and right.",
20498
- "name": "--mdc-listitem-padding-left-and-right",
20606
+ "name": "--mdc-listitem-padding-left-right",
20499
20607
  "inheritedFrom": {
20500
20608
  "name": "ListItem",
20501
20609
  "module": "src/components/listitem/listitem.component.ts"
20502
20610
  }
20503
- }
20504
- ]
20505
- }
20506
- ],
20507
- "exports": [
20508
- {
20509
- "kind": "js",
20510
- "name": "default",
20511
- "declaration": {
20512
- "name": "MenuItemRadio",
20513
- "module": "components/menuitemradio/menuitemradio.component.js"
20514
- }
20515
- }
20516
- ]
20517
- },
20518
- {
20519
- "kind": "javascript-module",
20520
- "path": "components/menusection/menusection.component.js",
20521
- "declarations": [
20522
- {
20523
- "kind": "class",
20524
- "description": "`mdc-menusection` is a container element used to group a set of menu items.\n\nThis component supports a mix of `menuitem`, `menuitemcheckbox`, and `menuitemradio` components.\n\n- If multiple `menuitemradio` components are slotted into the section, the group enforces a single-selection rule:\n only one radio item can be selected at a time.\n- If `menuitemcheckbox` components are included, their checked state can be toggled independently.",
20525
- "name": "MenuSection",
20526
- "slots": [
20527
- {
20528
- "description": "Default slot for inserting `menuitem`, `menuitemcheckbox`, or `menuitemradio`",
20529
- "name": ""
20530
- }
20531
- ],
20532
- "members": [
20533
- {
20534
- "kind": "field",
20535
- "name": "ariaLabel",
20536
- "type": {
20537
- "text": "string | null"
20538
- },
20539
- "default": "null",
20540
- "description": "The aria-label for the section.\nThis is used for accessibility purposes to describe the section.\nIf not provided, it defaults to the `headerText`.",
20541
- "attribute": "aria-label",
20542
- "reflects": true
20543
- },
20544
- {
20545
- "kind": "field",
20546
- "name": "headerText",
20547
- "type": {
20548
- "text": "string | null"
20549
- },
20550
- "default": "null",
20551
- "description": "The primary headerText of the list item.\nThis appears on the leading side of the list item.",
20552
- "attribute": "header-text",
20553
- "reflects": true
20554
- },
20555
- {
20556
- "kind": "field",
20557
- "name": "prefixIcon",
20558
- "type": {
20559
- "text": "IconNames | undefined"
20560
- },
20561
- "description": "Name of the icon rendered before the text\n\nIf not provided, no icon will be rendered and text will be aligned to the start.",
20562
- "attribute": "prefix-icon"
20563
- },
20564
- {
20565
- "kind": "field",
20566
- "name": "showDivider",
20567
- "type": {
20568
- "text": "boolean"
20569
- },
20570
- "default": "false",
20571
- "description": "Whether to show a divider below the section header.\nThis is useful for visually separating sections in the menu.",
20572
- "attribute": "show-divider",
20573
- "reflects": true
20574
- },
20575
- {
20576
- "kind": "field",
20577
- "name": "dividerVariant",
20578
- "description": "The variant of the divider.\nCan be set to 'solid' or 'gradient'.\n\nKeep 'solid' if used in MenuPopovers, as it is the default style.",
20579
- "default": "'solid'",
20580
- "attribute": "divider-variant",
20581
- "reflects": true
20582
20611
  },
20583
20612
  {
20584
- "kind": "method",
20585
- "name": "renderHeader",
20586
- "privacy": "private"
20587
- }
20588
- ],
20589
- "events": [
20590
- {
20591
- "description": "(React: onChange) This event is dispatched when a `menuitemcheckbox`, or `menuitemradio` changes.",
20592
- "name": "change",
20593
- "reactName": "onChange"
20594
- }
20595
- ],
20596
- "attributes": [
20597
- {
20598
- "name": "aria-label",
20599
- "type": {
20600
- "text": "string | null"
20601
- },
20602
- "default": "null",
20603
- "description": "The aria-label for the section.\nThis is used for accessibility purposes to describe the section.\nIf not provided, it defaults to the `headerText`.",
20604
- "fieldName": "ariaLabel"
20605
- },
20606
- {
20607
- "name": "header-text",
20608
- "type": {
20609
- "text": "string | null"
20610
- },
20611
- "default": "null",
20612
- "description": "The primary headerText of the list item.\nThis appears on the leading side of the list item.",
20613
- "fieldName": "headerText"
20613
+ "description": "Allows customization of padding top and bottom.",
20614
+ "name": "--mdc-listitem-padding-top-bottom",
20615
+ "inheritedFrom": {
20616
+ "name": "ListItem",
20617
+ "module": "src/components/listitem/listitem.component.ts"
20618
+ }
20614
20619
  },
20615
20620
  {
20616
- "name": "prefix-icon",
20617
- "type": {
20618
- "text": "IconNames | undefined"
20619
- },
20620
- "description": "Name of the icon rendered before the text\n\nIf not provided, no icon will be rendered and text will be aligned to the start.",
20621
- "fieldName": "prefixIcon"
20621
+ "description": "Allows customization of the cursor.",
20622
+ "name": "--mdc-listitem-cursor",
20623
+ "inheritedFrom": {
20624
+ "name": "ListItem",
20625
+ "module": "src/components/listitem/listitem.component.ts"
20626
+ }
20622
20627
  },
20623
20628
  {
20624
- "name": "show-divider",
20625
- "type": {
20626
- "text": "boolean"
20627
- },
20628
- "default": "false",
20629
- "description": "Whether to show a divider below the section header.\nThis is useful for visually separating sections in the menu.",
20630
- "fieldName": "showDivider"
20629
+ "description": "Allows customization of the width of the list item.",
20630
+ "name": "--mdc-listitem-width",
20631
+ "inheritedFrom": {
20632
+ "name": "ListItem",
20633
+ "module": "src/components/listitem/listitem.component.ts"
20634
+ }
20631
20635
  },
20632
20636
  {
20633
- "name": "divider-variant",
20634
- "description": "The variant of the divider.\nCan be set to 'solid' or 'gradient'.\n\nKeep 'solid' if used in MenuPopovers, as it is the default style.",
20635
- "default": "'solid'",
20636
- "fieldName": "dividerVariant"
20637
+ "description": "Allows customization of the height of the list item.",
20638
+ "name": "--mdc-listitem-height",
20639
+ "inheritedFrom": {
20640
+ "name": "ListItem",
20641
+ "module": "src/components/listitem/listitem.component.ts"
20642
+ }
20637
20643
  }
20638
- ],
20639
- "superclass": {
20640
- "name": "Component",
20641
- "module": "/src/models"
20642
- },
20643
- "tagName": "mdc-menusection",
20644
- "jsDoc": "/**\n * `mdc-menusection` is a container element used to group a set of menu items.\n *\n * This component supports a mix of `menuitem`, `menuitemcheckbox`, and `menuitemradio` components.\n *\n * - If multiple `menuitemradio` components are slotted into the section, the group enforces a single-selection rule:\n * only one radio item can be selected at a time.\n * - If `menuitemcheckbox` components are included, their checked state can be toggled independently.\n *\n * @tagname mdc-menusection\n *\n * @slot - Default slot for inserting `menuitem`, `menuitemcheckbox`, or `menuitemradio`\n *\n * @event change - (React: onChange) This event is dispatched when a `menuitemcheckbox`, or `menuitemradio` changes.\n */",
20645
- "customElement": true
20644
+ ]
20646
20645
  }
20647
20646
  ],
20648
20647
  "exports": [
@@ -20650,8 +20649,8 @@
20650
20649
  "kind": "js",
20651
20650
  "name": "default",
20652
20651
  "declaration": {
20653
- "name": "MenuSection",
20654
- "module": "components/menusection/menusection.component.js"
20652
+ "name": "MenuItemRadio",
20653
+ "module": "components/menuitemradio/menuitemradio.component.js"
20655
20654
  }
20656
20655
  }
20657
20656
  ]
@@ -22802,21 +22801,162 @@
22802
22801
  },
22803
22802
  {
22804
22803
  "kind": "javascript-module",
22805
- "path": "components/navmenuitem/navmenuitem.component.js",
22804
+ "path": "components/menusection/menusection.component.js",
22806
22805
  "declarations": [
22807
22806
  {
22808
22807
  "kind": "class",
22809
- "description": "`mdc-navmenuitem` is a menuitem styled to work as a navigation tab.\nIt supports a leading icon, optional badge and dynamic text rendering.\n\nNote: `mdc-navmenuitem` is intended to be used inside `mdc-menubar` as part of the sideNavigation\ncomponent. Its structure, spacing, and interactions are designed to align with\nthe visual and functional requirements of side navigation layouts.",
22810
- "name": "NavMenuItem",
22811
- "cssProperties": [
22812
- {
22813
- "description": "Text color of the navmenuitem in its normal state.",
22814
- "name": "--mdc-navmenuitem-color"
22815
- },
22808
+ "description": "`mdc-menusection` is a container element used to group a set of menu items.\n\nThis component supports a mix of `menuitem`, `menuitemcheckbox`, and `menuitemradio` components.\n\n- If multiple `menuitemradio` components are slotted into the section, the group enforces a single-selection rule:\n only one radio item can be selected at a time.\n- If `menuitemcheckbox` components are included, their checked state can be toggled independently.",
22809
+ "name": "MenuSection",
22810
+ "slots": [
22816
22811
  {
22817
- "description": "Border color of the navmenuitem in its normal state.",
22818
- "name": "--mdc-navmenuitem-border-color"
22819
- },
22812
+ "description": "Default slot for inserting `menuitem`, `menuitemcheckbox`, or `menuitemradio`",
22813
+ "name": ""
22814
+ }
22815
+ ],
22816
+ "members": [
22817
+ {
22818
+ "kind": "field",
22819
+ "name": "ariaLabel",
22820
+ "type": {
22821
+ "text": "string | null"
22822
+ },
22823
+ "default": "null",
22824
+ "description": "The aria-label for the section.\nThis is used for accessibility purposes to describe the section.\nIf not provided, it defaults to the `headerText`.",
22825
+ "attribute": "aria-label",
22826
+ "reflects": true
22827
+ },
22828
+ {
22829
+ "kind": "field",
22830
+ "name": "headerText",
22831
+ "type": {
22832
+ "text": "string | null"
22833
+ },
22834
+ "default": "null",
22835
+ "description": "The primary headerText of the list item.\nThis appears on the leading side of the list item.",
22836
+ "attribute": "header-text",
22837
+ "reflects": true
22838
+ },
22839
+ {
22840
+ "kind": "field",
22841
+ "name": "prefixIcon",
22842
+ "type": {
22843
+ "text": "IconNames | undefined"
22844
+ },
22845
+ "description": "Name of the icon rendered before the text\n\nIf not provided, no icon will be rendered and text will be aligned to the start.",
22846
+ "attribute": "prefix-icon"
22847
+ },
22848
+ {
22849
+ "kind": "field",
22850
+ "name": "showDivider",
22851
+ "type": {
22852
+ "text": "boolean"
22853
+ },
22854
+ "default": "false",
22855
+ "description": "Whether to show a divider below the section header.\nThis is useful for visually separating sections in the menu.",
22856
+ "attribute": "show-divider",
22857
+ "reflects": true
22858
+ },
22859
+ {
22860
+ "kind": "field",
22861
+ "name": "dividerVariant",
22862
+ "description": "The variant of the divider.\nCan be set to 'solid' or 'gradient'.\n\nKeep 'solid' if used in MenuPopovers, as it is the default style.",
22863
+ "default": "'solid'",
22864
+ "attribute": "divider-variant",
22865
+ "reflects": true
22866
+ },
22867
+ {
22868
+ "kind": "method",
22869
+ "name": "renderHeader",
22870
+ "privacy": "private"
22871
+ }
22872
+ ],
22873
+ "events": [
22874
+ {
22875
+ "description": "(React: onChange) This event is dispatched when a `menuitemcheckbox`, or `menuitemradio` changes.",
22876
+ "name": "change",
22877
+ "reactName": "onChange"
22878
+ }
22879
+ ],
22880
+ "attributes": [
22881
+ {
22882
+ "name": "aria-label",
22883
+ "type": {
22884
+ "text": "string | null"
22885
+ },
22886
+ "default": "null",
22887
+ "description": "The aria-label for the section.\nThis is used for accessibility purposes to describe the section.\nIf not provided, it defaults to the `headerText`.",
22888
+ "fieldName": "ariaLabel"
22889
+ },
22890
+ {
22891
+ "name": "header-text",
22892
+ "type": {
22893
+ "text": "string | null"
22894
+ },
22895
+ "default": "null",
22896
+ "description": "The primary headerText of the list item.\nThis appears on the leading side of the list item.",
22897
+ "fieldName": "headerText"
22898
+ },
22899
+ {
22900
+ "name": "prefix-icon",
22901
+ "type": {
22902
+ "text": "IconNames | undefined"
22903
+ },
22904
+ "description": "Name of the icon rendered before the text\n\nIf not provided, no icon will be rendered and text will be aligned to the start.",
22905
+ "fieldName": "prefixIcon"
22906
+ },
22907
+ {
22908
+ "name": "show-divider",
22909
+ "type": {
22910
+ "text": "boolean"
22911
+ },
22912
+ "default": "false",
22913
+ "description": "Whether to show a divider below the section header.\nThis is useful for visually separating sections in the menu.",
22914
+ "fieldName": "showDivider"
22915
+ },
22916
+ {
22917
+ "name": "divider-variant",
22918
+ "description": "The variant of the divider.\nCan be set to 'solid' or 'gradient'.\n\nKeep 'solid' if used in MenuPopovers, as it is the default style.",
22919
+ "default": "'solid'",
22920
+ "fieldName": "dividerVariant"
22921
+ }
22922
+ ],
22923
+ "superclass": {
22924
+ "name": "Component",
22925
+ "module": "/src/models"
22926
+ },
22927
+ "tagName": "mdc-menusection",
22928
+ "jsDoc": "/**\n * `mdc-menusection` is a container element used to group a set of menu items.\n *\n * This component supports a mix of `menuitem`, `menuitemcheckbox`, and `menuitemradio` components.\n *\n * - If multiple `menuitemradio` components are slotted into the section, the group enforces a single-selection rule:\n * only one radio item can be selected at a time.\n * - If `menuitemcheckbox` components are included, their checked state can be toggled independently.\n *\n * @tagname mdc-menusection\n *\n * @slot - Default slot for inserting `menuitem`, `menuitemcheckbox`, or `menuitemradio`\n *\n * @event change - (React: onChange) This event is dispatched when a `menuitemcheckbox`, or `menuitemradio` changes.\n */",
22929
+ "customElement": true
22930
+ }
22931
+ ],
22932
+ "exports": [
22933
+ {
22934
+ "kind": "js",
22935
+ "name": "default",
22936
+ "declaration": {
22937
+ "name": "MenuSection",
22938
+ "module": "components/menusection/menusection.component.js"
22939
+ }
22940
+ }
22941
+ ]
22942
+ },
22943
+ {
22944
+ "kind": "javascript-module",
22945
+ "path": "components/navmenuitem/navmenuitem.component.js",
22946
+ "declarations": [
22947
+ {
22948
+ "kind": "class",
22949
+ "description": "`mdc-navmenuitem` is a menuitem styled to work as a navigation tab.\nIt supports a leading icon, optional badge and dynamic text rendering.\n\nNote: `mdc-navmenuitem` is intended to be used inside `mdc-menubar` as part of the sideNavigation\ncomponent. Its structure, spacing, and interactions are designed to align with\nthe visual and functional requirements of side navigation layouts.",
22950
+ "name": "NavMenuItem",
22951
+ "cssProperties": [
22952
+ {
22953
+ "description": "Text color of the navmenuitem in its normal state.",
22954
+ "name": "--mdc-navmenuitem-color"
22955
+ },
22956
+ {
22957
+ "description": "Border color of the navmenuitem in its normal state.",
22958
+ "name": "--mdc-navmenuitem-border-color"
22959
+ },
22820
22960
  {
22821
22961
  "description": "Text color of the navmenuitem when disabled.",
22822
22962
  "name": "--mdc-navmenuitem-disabled-color"
@@ -22911,7 +23051,39 @@
22911
23051
  },
22912
23052
  {
22913
23053
  "description": "Allows customization of padding left and right.",
22914
- "name": "--mdc-listitem-padding-left-and-right",
23054
+ "name": "--mdc-listitem-padding-left-right",
23055
+ "inheritedFrom": {
23056
+ "name": "ListItem",
23057
+ "module": "src/components/listitem/listitem.component.ts"
23058
+ }
23059
+ },
23060
+ {
23061
+ "description": "Allows customization of padding top and bottom.",
23062
+ "name": "--mdc-listitem-padding-top-bottom",
23063
+ "inheritedFrom": {
23064
+ "name": "ListItem",
23065
+ "module": "src/components/listitem/listitem.component.ts"
23066
+ }
23067
+ },
23068
+ {
23069
+ "description": "Allows customization of the cursor.",
23070
+ "name": "--mdc-listitem-cursor",
23071
+ "inheritedFrom": {
23072
+ "name": "ListItem",
23073
+ "module": "src/components/listitem/listitem.component.ts"
23074
+ }
23075
+ },
23076
+ {
23077
+ "description": "Allows customization of the width of the list item.",
23078
+ "name": "--mdc-listitem-width",
23079
+ "inheritedFrom": {
23080
+ "name": "ListItem",
23081
+ "module": "src/components/listitem/listitem.component.ts"
23082
+ }
23083
+ },
23084
+ {
23085
+ "description": "Allows customization of the height of the list item.",
23086
+ "name": "--mdc-listitem-height",
22915
23087
  "inheritedFrom": {
22916
23088
  "name": "ListItem",
22917
23089
  "module": "src/components/listitem/listitem.component.ts"
@@ -23913,6 +24085,14 @@
23913
24085
  "name": "ListItem",
23914
24086
  "module": "src/components/listitem/listitem.component.ts"
23915
24087
  }
24088
+ },
24089
+ {
24090
+ "description": "content slot can be used to override the content completely. Be aware that this will override the default content of the list item.",
24091
+ "name": "content",
24092
+ "inheritedFrom": {
24093
+ "name": "ListItem",
24094
+ "module": "src/components/listitem/listitem.component.ts"
24095
+ }
23916
24096
  }
23917
24097
  ]
23918
24098
  }
@@ -24910,6 +25090,14 @@
24910
25090
  "name": "ListItem",
24911
25091
  "module": "src/components/listitem/listitem.component.ts"
24912
25092
  }
25093
+ },
25094
+ {
25095
+ "description": "content slot can be used to override the content completely. Be aware that this will override the default content of the list item.",
25096
+ "name": "content",
25097
+ "inheritedFrom": {
25098
+ "name": "ListItem",
25099
+ "module": "src/components/listitem/listitem.component.ts"
25100
+ }
24913
25101
  }
24914
25102
  ],
24915
25103
  "cssProperties": [
@@ -24971,7 +25159,39 @@
24971
25159
  },
24972
25160
  {
24973
25161
  "description": "Allows customization of padding left and right.",
24974
- "name": "--mdc-listitem-padding-left-and-right",
25162
+ "name": "--mdc-listitem-padding-left-right",
25163
+ "inheritedFrom": {
25164
+ "name": "ListItem",
25165
+ "module": "src/components/listitem/listitem.component.ts"
25166
+ }
25167
+ },
25168
+ {
25169
+ "description": "Allows customization of padding top and bottom.",
25170
+ "name": "--mdc-listitem-padding-top-bottom",
25171
+ "inheritedFrom": {
25172
+ "name": "ListItem",
25173
+ "module": "src/components/listitem/listitem.component.ts"
25174
+ }
25175
+ },
25176
+ {
25177
+ "description": "Allows customization of the cursor.",
25178
+ "name": "--mdc-listitem-cursor",
25179
+ "inheritedFrom": {
25180
+ "name": "ListItem",
25181
+ "module": "src/components/listitem/listitem.component.ts"
25182
+ }
25183
+ },
25184
+ {
25185
+ "description": "Allows customization of the width of the list item.",
25186
+ "name": "--mdc-listitem-width",
25187
+ "inheritedFrom": {
25188
+ "name": "ListItem",
25189
+ "module": "src/components/listitem/listitem.component.ts"
25190
+ }
25191
+ },
25192
+ {
25193
+ "description": "Allows customization of the height of the list item.",
25194
+ "name": "--mdc-listitem-height",
24975
25195
  "inheritedFrom": {
24976
25196
  "name": "ListItem",
24977
25197
  "module": "src/components/listitem/listitem.component.ts"
@@ -33295,213 +33515,28 @@
33295
33515
  },
33296
33516
  {
33297
33517
  "kind": "javascript-module",
33298
- "path": "components/stepper/stepper.component.js",
33518
+ "path": "components/statictoggle/statictoggle.component.js",
33299
33519
  "declarations": [
33300
33520
  {
33301
33521
  "kind": "class",
33302
- "description": "Stepper component, which orchestrates stepperitem and stepperconnector components, is a wrapper for the stepper functionality.\nIt provides the context for the stepper items and connectors, allowing them to adapt to the stepper's orientation and variant.",
33303
- "name": "Stepper",
33304
- "slots": [
33522
+ "description": "This is a decorative component that is styled to look as a toggle. <br/>\nIt has 3 properties - checked, size and disabled. <br/>\nWe are using the same styling that has been created for the `mdc-toggle` component.",
33523
+ "name": "StaticToggle",
33524
+ "cssProperties": [
33305
33525
  {
33306
- "description": "Pass the list of `mdc-stepperitem` and `mdc-stepperconnector` elements to be rendered inside the stepper.",
33307
- "name": "default"
33308
- }
33309
- ],
33310
- "members": [
33526
+ "description": "Width of the toggle",
33527
+ "name": "--mdc-statictoggle-width"
33528
+ },
33311
33529
  {
33312
- "kind": "field",
33313
- "name": "orientation",
33314
- "type": {
33315
- "text": "OrientationType"
33316
- },
33317
- "description": "The orientation of the stepperconnector (vertical or horizontal)",
33318
- "default": "\"horizontal\"",
33319
- "attribute": "orientation",
33320
- "reflects": true
33530
+ "description": "Height of the toggle",
33531
+ "name": "--mdc-statictoggle-height"
33321
33532
  },
33322
33533
  {
33323
- "kind": "field",
33324
- "name": "variant",
33325
- "type": {
33326
- "text": "VariantType"
33327
- },
33328
- "description": "The variant of the stepper item, which can be `inline` or `stacked`.",
33329
- "default": "'inline'",
33330
- "attribute": "variant",
33331
- "reflects": true
33534
+ "description": "Width of the toggle when it's size is compact",
33535
+ "name": "--mdc-statictoggle-width-compact"
33332
33536
  },
33333
33537
  {
33334
- "kind": "field",
33335
- "name": "Context",
33336
- "privacy": "public",
33337
- "static": true,
33338
- "description": "Get the context for the stepper component.\nThis context provides the orientation and variant for the stepper items and connectors.",
33339
- "readonly": true
33340
- },
33341
- {
33342
- "kind": "method",
33343
- "name": "updateContext",
33344
- "privacy": "protected",
33345
- "return": {
33346
- "type": {
33347
- "text": "void"
33348
- }
33349
- },
33350
- "description": "Update all observing components of this\nprovider to update the values\n\nIs called on every re-render, see Provider class"
33351
- }
33352
- ],
33353
- "attributes": [
33354
- {
33355
- "name": "orientation",
33356
- "type": {
33357
- "text": "OrientationType"
33358
- },
33359
- "description": "The orientation of the stepperconnector (vertical or horizontal)",
33360
- "default": "\"horizontal\"",
33361
- "fieldName": "orientation"
33362
- },
33363
- {
33364
- "name": "variant",
33365
- "type": {
33366
- "text": "VariantType"
33367
- },
33368
- "description": "The variant of the stepper item, which can be `inline` or `stacked`.",
33369
- "default": "'inline'",
33370
- "fieldName": "variant"
33371
- }
33372
- ],
33373
- "superclass": {
33374
- "name": "Provider",
33375
- "module": "/src/models"
33376
- },
33377
- "tagName": "mdc-stepper",
33378
- "jsDoc": "/**\n * Stepper component, which orchestrates stepperitem and stepperconnector components, is a wrapper for the stepper functionality.\n * It provides the context for the stepper items and connectors, allowing them to adapt to the stepper's orientation and variant.\n *\n * @tagname mdc-stepper\n *\n * @slot default - Pass the list of `mdc-stepperitem` and `mdc-stepperconnector` elements to be rendered inside the stepper.\n *\n */",
33379
- "customElement": true
33380
- }
33381
- ],
33382
- "exports": [
33383
- {
33384
- "kind": "js",
33385
- "name": "default",
33386
- "declaration": {
33387
- "name": "Stepper",
33388
- "module": "components/stepper/stepper.component.js"
33389
- }
33390
- }
33391
- ]
33392
- },
33393
- {
33394
- "kind": "javascript-module",
33395
- "path": "components/stepperconnector/stepperconnector.component.js",
33396
- "declarations": [
33397
- {
33398
- "kind": "class",
33399
- "description": "StepperConnector component visually represents the connection between two stepper items.\nIndicates whether the connection is complete or incomplete, and supports vertical or horizontal orientation.\nThey are used between 2 `mdc-stepperitem` components to visually connect them and wrapped in a `mdc-stepper` component.",
33400
- "name": "StepperConnector",
33401
- "cssProperties": [
33402
- {
33403
- "description": "Background color for the complete connector",
33404
- "name": "--mdc-stepperconnector-complete-background"
33405
- },
33406
- {
33407
- "description": "Background color for the incomplete connector",
33408
- "name": "--mdc-stepperconnector-incomplete-background"
33409
- }
33410
- ],
33411
- "cssParts": [
33412
- {
33413
- "description": "The main connector line between steps",
33414
- "name": "connector"
33415
- }
33416
- ],
33417
- "members": [
33418
- {
33419
- "kind": "field",
33420
- "name": "status",
33421
- "type": {
33422
- "text": "StatusType"
33423
- },
33424
- "description": "The status of the connector (complete or incomplete)",
33425
- "default": "\"incomplete\"",
33426
- "attribute": "status",
33427
- "reflects": true
33428
- },
33429
- {
33430
- "kind": "field",
33431
- "name": "orientation",
33432
- "type": {
33433
- "text": "OrientationType"
33434
- },
33435
- "description": "The orientation of the connector (vertical or horizontal)",
33436
- "default": "\"horizontal\"",
33437
- "attribute": "orientation",
33438
- "reflects": true
33439
- }
33440
- ],
33441
- "attributes": [
33442
- {
33443
- "name": "status",
33444
- "type": {
33445
- "text": "StatusType"
33446
- },
33447
- "description": "The status of the connector (complete or incomplete)",
33448
- "default": "\"incomplete\"",
33449
- "fieldName": "status"
33450
- },
33451
- {
33452
- "name": "orientation",
33453
- "type": {
33454
- "text": "OrientationType"
33455
- },
33456
- "description": "The orientation of the connector (vertical or horizontal)",
33457
- "default": "\"horizontal\"",
33458
- "fieldName": "orientation"
33459
- }
33460
- ],
33461
- "superclass": {
33462
- "name": "Component",
33463
- "module": "/src/models"
33464
- },
33465
- "tagName": "mdc-stepperconnector",
33466
- "jsDoc": "/**\n * StepperConnector component visually represents the connection between two stepper items.\n * Indicates whether the connection is complete or incomplete, and supports vertical or horizontal orientation.\n * They are used between 2 `mdc-stepperitem` components to visually connect them and wrapped in a `mdc-stepper` component.\n *\n * @tagname mdc-stepperconnector\n *\n * @csspart connector - The main connector line between steps\n *\n * @cssproperty --mdc-stepperconnector-complete-background - Background color for the complete connector\n * @cssproperty --mdc-stepperconnector-incomplete-background - Background color for the incomplete connector\n */",
33467
- "customElement": true
33468
- }
33469
- ],
33470
- "exports": [
33471
- {
33472
- "kind": "js",
33473
- "name": "default",
33474
- "declaration": {
33475
- "name": "StepperConnector",
33476
- "module": "components/stepperconnector/stepperconnector.component.js"
33477
- }
33478
- }
33479
- ]
33480
- },
33481
- {
33482
- "kind": "javascript-module",
33483
- "path": "components/statictoggle/statictoggle.component.js",
33484
- "declarations": [
33485
- {
33486
- "kind": "class",
33487
- "description": "This is a decorative component that is styled to look as a toggle. <br/>\nIt has 3 properties - checked, size and disabled. <br/>\nWe are using the same styling that has been created for the `mdc-toggle` component.",
33488
- "name": "StaticToggle",
33489
- "cssProperties": [
33490
- {
33491
- "description": "Width of the toggle",
33492
- "name": "--mdc-statictoggle-width"
33493
- },
33494
- {
33495
- "description": "Height of the toggle",
33496
- "name": "--mdc-statictoggle-height"
33497
- },
33498
- {
33499
- "description": "Width of the toggle when it's size is compact",
33500
- "name": "--mdc-statictoggle-width-compact"
33501
- },
33502
- {
33503
- "description": "Height of the toggle when it's size is compact",
33504
- "name": "--mdc-statictoggle-height-compact"
33538
+ "description": "Height of the toggle when it's size is compact",
33539
+ "name": "--mdc-statictoggle-height-compact"
33505
33540
  },
33506
33541
  {
33507
33542
  "description": "Border radius of the toggle",
@@ -33652,6 +33687,191 @@
33652
33687
  }
33653
33688
  ]
33654
33689
  },
33690
+ {
33691
+ "kind": "javascript-module",
33692
+ "path": "components/stepper/stepper.component.js",
33693
+ "declarations": [
33694
+ {
33695
+ "kind": "class",
33696
+ "description": "Stepper component, which orchestrates stepperitem and stepperconnector components, is a wrapper for the stepper functionality.\nIt provides the context for the stepper items and connectors, allowing them to adapt to the stepper's orientation and variant.",
33697
+ "name": "Stepper",
33698
+ "slots": [
33699
+ {
33700
+ "description": "Pass the list of `mdc-stepperitem` and `mdc-stepperconnector` elements to be rendered inside the stepper.",
33701
+ "name": "default"
33702
+ }
33703
+ ],
33704
+ "members": [
33705
+ {
33706
+ "kind": "field",
33707
+ "name": "orientation",
33708
+ "type": {
33709
+ "text": "OrientationType"
33710
+ },
33711
+ "description": "The orientation of the stepperconnector (vertical or horizontal)",
33712
+ "default": "\"horizontal\"",
33713
+ "attribute": "orientation",
33714
+ "reflects": true
33715
+ },
33716
+ {
33717
+ "kind": "field",
33718
+ "name": "variant",
33719
+ "type": {
33720
+ "text": "VariantType"
33721
+ },
33722
+ "description": "The variant of the stepper item, which can be `inline` or `stacked`.",
33723
+ "default": "'inline'",
33724
+ "attribute": "variant",
33725
+ "reflects": true
33726
+ },
33727
+ {
33728
+ "kind": "field",
33729
+ "name": "Context",
33730
+ "privacy": "public",
33731
+ "static": true,
33732
+ "description": "Get the context for the stepper component.\nThis context provides the orientation and variant for the stepper items and connectors.",
33733
+ "readonly": true
33734
+ },
33735
+ {
33736
+ "kind": "method",
33737
+ "name": "updateContext",
33738
+ "privacy": "protected",
33739
+ "return": {
33740
+ "type": {
33741
+ "text": "void"
33742
+ }
33743
+ },
33744
+ "description": "Update all observing components of this\nprovider to update the values\n\nIs called on every re-render, see Provider class"
33745
+ }
33746
+ ],
33747
+ "attributes": [
33748
+ {
33749
+ "name": "orientation",
33750
+ "type": {
33751
+ "text": "OrientationType"
33752
+ },
33753
+ "description": "The orientation of the stepperconnector (vertical or horizontal)",
33754
+ "default": "\"horizontal\"",
33755
+ "fieldName": "orientation"
33756
+ },
33757
+ {
33758
+ "name": "variant",
33759
+ "type": {
33760
+ "text": "VariantType"
33761
+ },
33762
+ "description": "The variant of the stepper item, which can be `inline` or `stacked`.",
33763
+ "default": "'inline'",
33764
+ "fieldName": "variant"
33765
+ }
33766
+ ],
33767
+ "superclass": {
33768
+ "name": "Provider",
33769
+ "module": "/src/models"
33770
+ },
33771
+ "tagName": "mdc-stepper",
33772
+ "jsDoc": "/**\n * Stepper component, which orchestrates stepperitem and stepperconnector components, is a wrapper for the stepper functionality.\n * It provides the context for the stepper items and connectors, allowing them to adapt to the stepper's orientation and variant.\n *\n * @tagname mdc-stepper\n *\n * @slot default - Pass the list of `mdc-stepperitem` and `mdc-stepperconnector` elements to be rendered inside the stepper.\n *\n */",
33773
+ "customElement": true
33774
+ }
33775
+ ],
33776
+ "exports": [
33777
+ {
33778
+ "kind": "js",
33779
+ "name": "default",
33780
+ "declaration": {
33781
+ "name": "Stepper",
33782
+ "module": "components/stepper/stepper.component.js"
33783
+ }
33784
+ }
33785
+ ]
33786
+ },
33787
+ {
33788
+ "kind": "javascript-module",
33789
+ "path": "components/stepperconnector/stepperconnector.component.js",
33790
+ "declarations": [
33791
+ {
33792
+ "kind": "class",
33793
+ "description": "StepperConnector component visually represents the connection between two stepper items.\nIndicates whether the connection is complete or incomplete, and supports vertical or horizontal orientation.\nThey are used between 2 `mdc-stepperitem` components to visually connect them and wrapped in a `mdc-stepper` component.",
33794
+ "name": "StepperConnector",
33795
+ "cssProperties": [
33796
+ {
33797
+ "description": "Background color for the complete connector",
33798
+ "name": "--mdc-stepperconnector-complete-background"
33799
+ },
33800
+ {
33801
+ "description": "Background color for the incomplete connector",
33802
+ "name": "--mdc-stepperconnector-incomplete-background"
33803
+ }
33804
+ ],
33805
+ "cssParts": [
33806
+ {
33807
+ "description": "The main connector line between steps",
33808
+ "name": "connector"
33809
+ }
33810
+ ],
33811
+ "members": [
33812
+ {
33813
+ "kind": "field",
33814
+ "name": "status",
33815
+ "type": {
33816
+ "text": "StatusType"
33817
+ },
33818
+ "description": "The status of the connector (complete or incomplete)",
33819
+ "default": "\"incomplete\"",
33820
+ "attribute": "status",
33821
+ "reflects": true
33822
+ },
33823
+ {
33824
+ "kind": "field",
33825
+ "name": "orientation",
33826
+ "type": {
33827
+ "text": "OrientationType"
33828
+ },
33829
+ "description": "The orientation of the connector (vertical or horizontal)",
33830
+ "default": "\"horizontal\"",
33831
+ "attribute": "orientation",
33832
+ "reflects": true
33833
+ }
33834
+ ],
33835
+ "attributes": [
33836
+ {
33837
+ "name": "status",
33838
+ "type": {
33839
+ "text": "StatusType"
33840
+ },
33841
+ "description": "The status of the connector (complete or incomplete)",
33842
+ "default": "\"incomplete\"",
33843
+ "fieldName": "status"
33844
+ },
33845
+ {
33846
+ "name": "orientation",
33847
+ "type": {
33848
+ "text": "OrientationType"
33849
+ },
33850
+ "description": "The orientation of the connector (vertical or horizontal)",
33851
+ "default": "\"horizontal\"",
33852
+ "fieldName": "orientation"
33853
+ }
33854
+ ],
33855
+ "superclass": {
33856
+ "name": "Component",
33857
+ "module": "/src/models"
33858
+ },
33859
+ "tagName": "mdc-stepperconnector",
33860
+ "jsDoc": "/**\n * StepperConnector component visually represents the connection between two stepper items.\n * Indicates whether the connection is complete or incomplete, and supports vertical or horizontal orientation.\n * They are used between 2 `mdc-stepperitem` components to visually connect them and wrapped in a `mdc-stepper` component.\n *\n * @tagname mdc-stepperconnector\n *\n * @csspart connector - The main connector line between steps\n *\n * @cssproperty --mdc-stepperconnector-complete-background - Background color for the complete connector\n * @cssproperty --mdc-stepperconnector-incomplete-background - Background color for the incomplete connector\n */",
33861
+ "customElement": true
33862
+ }
33863
+ ],
33864
+ "exports": [
33865
+ {
33866
+ "kind": "js",
33867
+ "name": "default",
33868
+ "declaration": {
33869
+ "name": "StepperConnector",
33870
+ "module": "components/stepperconnector/stepperconnector.component.js"
33871
+ }
33872
+ }
33873
+ ]
33874
+ },
33655
33875
  {
33656
33876
  "kind": "javascript-module",
33657
33877
  "path": "components/stepperitem/stepperitem.component.js",