@momentum-design/components 0.102.0 → 0.102.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/index.js +25 -18
- package/dist/browser/index.js.map +2 -2
- package/dist/components/listitem/listitem.component.d.ts +7 -1
- package/dist/components/listitem/listitem.component.js +22 -14
- package/dist/components/listitem/listitem.styles.js +10 -5
- package/dist/custom-elements.json +777 -557
- package/dist/react/index.d.ts +3 -3
- package/dist/react/index.js +3 -3
- package/dist/react/listitem/index.d.ts +7 -1
- package/dist/react/listitem/index.js +7 -1
- package/package.json +1 -1
@@ -16882,7 +16882,23 @@
|
|
16882
16882
|
},
|
16883
16883
|
{
|
16884
16884
|
"description": "Allows customization of padding left and right.",
|
16885
|
-
"name": "--mdc-listitem-padding-left-
|
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-
|
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/
|
17826
|
+
"path": "components/menuitem/menuitem.component.js",
|
17807
17827
|
"declarations": [
|
17808
17828
|
{
|
17809
17829
|
"kind": "class",
|
17810
|
-
"description": "
|
17811
|
-
"name": "
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
-
"
|
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": "
|
18662
|
-
"module": "/src/components/
|
18566
|
+
"name": "ListItem",
|
18567
|
+
"module": "/src/components/listitem/listitem.component"
|
18663
18568
|
},
|
18664
|
-
"tagName": "mdc-
|
18665
|
-
"jsDoc": "/**\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-
|
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": "
|
18741
|
-
"module": "components/
|
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/
|
18685
|
+
"path": "components/menuitemcheckbox/menuitemcheckbox.component.js",
|
18749
18686
|
"declarations": [
|
18750
18687
|
{
|
18751
18688
|
"kind": "class",
|
18752
|
-
"description": "
|
18753
|
-
"name": "
|
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
|
}
|
18810
|
-
}
|
18811
|
-
|
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
|
+
}
|
18755
|
+
}
|
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
|
-
"
|
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:
|
19244
|
-
"name": "
|
19245
|
-
"reactName": "
|
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:
|
19253
|
-
"name": "
|
19254
|
-
"reactName": "
|
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:
|
19262
|
-
"name": "
|
19263
|
-
"reactName": "
|
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"
|
@@ -19304,13 +19338,35 @@
|
|
19304
19338
|
}
|
19305
19339
|
],
|
19306
19340
|
"attributes": [
|
19341
|
+
{
|
19342
|
+
"name": "checked",
|
19343
|
+
"type": {
|
19344
|
+
"text": "boolean"
|
19345
|
+
},
|
19346
|
+
"default": "false",
|
19347
|
+
"description": "The checked attribute is used to indicate that the menuitemcheckbox is checked or not.",
|
19348
|
+
"fieldName": "checked"
|
19349
|
+
},
|
19350
|
+
{
|
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
|
+
},
|
19307
19359
|
{
|
19308
19360
|
"name": "arrow-position",
|
19309
19361
|
"type": {
|
19310
19362
|
"text": "ArrowPositions | undefined"
|
19311
19363
|
},
|
19312
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.",
|
19313
|
-
"fieldName": "arrowPosition"
|
19365
|
+
"fieldName": "arrowPosition",
|
19366
|
+
"inheritedFrom": {
|
19367
|
+
"name": "MenuItem",
|
19368
|
+
"module": "src/components/menuitem/menuitem.component.ts"
|
19369
|
+
}
|
19314
19370
|
},
|
19315
19371
|
{
|
19316
19372
|
"name": "arrow-direction",
|
@@ -19318,7 +19374,11 @@
|
|
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": "
|
19481
|
-
"module": "/src/components/
|
19548
|
+
"name": "MenuItem",
|
19549
|
+
"module": "/src/components/menuitem/menuitem.component"
|
19482
19550
|
},
|
19483
|
-
"tagName": "mdc-
|
19484
|
-
"jsDoc": "/**\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-
|
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": "
|
19560
|
-
"module": "components/
|
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,7 +20603,39 @@
|
|
20495
20603
|
},
|
20496
20604
|
{
|
20497
20605
|
"description": "Allows customization of padding left and right.",
|
20498
|
-
"name": "--mdc-listitem-padding-left-
|
20606
|
+
"name": "--mdc-listitem-padding-left-right",
|
20607
|
+
"inheritedFrom": {
|
20608
|
+
"name": "ListItem",
|
20609
|
+
"module": "src/components/listitem/listitem.component.ts"
|
20610
|
+
}
|
20611
|
+
},
|
20612
|
+
{
|
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
|
+
}
|
20619
|
+
},
|
20620
|
+
{
|
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
|
+
}
|
20627
|
+
},
|
20628
|
+
{
|
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
|
+
}
|
20635
|
+
},
|
20636
|
+
{
|
20637
|
+
"description": "Allows customization of the height of the list item.",
|
20638
|
+
"name": "--mdc-listitem-height",
|
20499
20639
|
"inheritedFrom": {
|
20500
20640
|
"name": "ListItem",
|
20501
20641
|
"module": "src/components/listitem/listitem.component.ts"
|
@@ -20517,171 +20657,30 @@
|
|
20517
20657
|
},
|
20518
20658
|
{
|
20519
20659
|
"kind": "javascript-module",
|
20520
|
-
"path": "components/
|
20660
|
+
"path": "components/menupopover/menupopover.component.js",
|
20521
20661
|
"declarations": [
|
20522
20662
|
{
|
20523
20663
|
"kind": "class",
|
20524
|
-
"description": "
|
20525
|
-
"name": "
|
20664
|
+
"description": "A popover menu component that displays a list of menu items in a floating container.\nIt's designed to work in conjunction with `mdc-menubar` and `mdc-menuitem` to create\naccessible, nested menu structures with the following features:\n- Appears adjacent to the triggering menu item\n- Supports keyboard navigation (arrow keys, Home, End)\n- Manages focus trapping when open\n- Closes on Escape key or outside click\n- Supports both mouse and keyboard interactions\n- Automatically handles ARIA attributes for accessibility\n\nThe component extends `mdc-popover` and adds menu-specific behaviors and styling.\nWhen nested within another `mdc-menupopover`, it automatically adjusts its behavior\nto work as a submenu (right-aligned, shows on hover).\n\nThe orientation of the menu popover is always set to `vertical`.\n\nSubmenu opens when:\n- Clicked on a menu item with a submenu\n- Enter or Space key pressed on a menu item with a submenu\n\nMenu closes completely (with all sub menus) when:\n- A menu item is clicked that does not have a submenu\n- Enter key pressed on a menu item (not a submenu trigger), menu item radio or menu item checkbox\n- Click outside the menu popover (on the backdrop)\n\nClose submenus when:\n- Esc key pressed, only the current submenu closed\n- Arrow Left key pressed, only the current submenu closed\n- Open another submenu with Click, Enter or Space key,\n closes recursively all submenus until the selected item's submenu\n\nMenu does not close when:\n- Space key pressed on a menu item radio or menu item checkbox",
|
20665
|
+
"name": "MenuPopover",
|
20526
20666
|
"slots": [
|
20527
20667
|
{
|
20528
|
-
"description": "Default slot for
|
20529
|
-
"name": ""
|
20668
|
+
"description": "Default slot for the menu popover content",
|
20669
|
+
"name": "",
|
20670
|
+
"inheritedFrom": {
|
20671
|
+
"name": "Popover",
|
20672
|
+
"module": "src/components/popover/popover.component.ts"
|
20673
|
+
}
|
20674
|
+
},
|
20675
|
+
{
|
20676
|
+
"description": "Contains the menu items to be displayed in the popover",
|
20677
|
+
"name": "default"
|
20530
20678
|
}
|
20531
20679
|
],
|
20532
20680
|
"members": [
|
20533
20681
|
{
|
20534
20682
|
"kind": "field",
|
20535
|
-
"name": "
|
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
|
-
},
|
20583
|
-
{
|
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"
|
20614
|
-
},
|
20615
|
-
{
|
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"
|
20622
|
-
},
|
20623
|
-
{
|
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"
|
20631
|
-
},
|
20632
|
-
{
|
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
|
-
}
|
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
|
20646
|
-
}
|
20647
|
-
],
|
20648
|
-
"exports": [
|
20649
|
-
{
|
20650
|
-
"kind": "js",
|
20651
|
-
"name": "default",
|
20652
|
-
"declaration": {
|
20653
|
-
"name": "MenuSection",
|
20654
|
-
"module": "components/menusection/menusection.component.js"
|
20655
|
-
}
|
20656
|
-
}
|
20657
|
-
]
|
20658
|
-
},
|
20659
|
-
{
|
20660
|
-
"kind": "javascript-module",
|
20661
|
-
"path": "components/menupopover/menupopover.component.js",
|
20662
|
-
"declarations": [
|
20663
|
-
{
|
20664
|
-
"kind": "class",
|
20665
|
-
"description": "A popover menu component that displays a list of menu items in a floating container.\nIt's designed to work in conjunction with `mdc-menubar` and `mdc-menuitem` to create\naccessible, nested menu structures with the following features:\n- Appears adjacent to the triggering menu item\n- Supports keyboard navigation (arrow keys, Home, End)\n- Manages focus trapping when open\n- Closes on Escape key or outside click\n- Supports both mouse and keyboard interactions\n- Automatically handles ARIA attributes for accessibility\n\nThe component extends `mdc-popover` and adds menu-specific behaviors and styling.\nWhen nested within another `mdc-menupopover`, it automatically adjusts its behavior\nto work as a submenu (right-aligned, shows on hover).\n\nThe orientation of the menu popover is always set to `vertical`.\n\nSubmenu opens when:\n- Clicked on a menu item with a submenu\n- Enter or Space key pressed on a menu item with a submenu\n\nMenu closes completely (with all sub menus) when:\n- A menu item is clicked that does not have a submenu\n- Enter key pressed on a menu item (not a submenu trigger), menu item radio or menu item checkbox\n- Click outside the menu popover (on the backdrop)\n\nClose submenus when:\n- Esc key pressed, only the current submenu closed\n- Arrow Left key pressed, only the current submenu closed\n- Open another submenu with Click, Enter or Space key,\n closes recursively all submenus until the selected item's submenu\n\nMenu does not close when:\n- Space key pressed on a menu item radio or menu item checkbox",
|
20666
|
-
"name": "MenuPopover",
|
20667
|
-
"slots": [
|
20668
|
-
{
|
20669
|
-
"description": "Default slot for the menu popover content",
|
20670
|
-
"name": "",
|
20671
|
-
"inheritedFrom": {
|
20672
|
-
"name": "Popover",
|
20673
|
-
"module": "src/components/popover/popover.component.ts"
|
20674
|
-
}
|
20675
|
-
},
|
20676
|
-
{
|
20677
|
-
"description": "Contains the menu items to be displayed in the popover",
|
20678
|
-
"name": "default"
|
20679
|
-
}
|
20680
|
-
],
|
20681
|
-
"members": [
|
20682
|
-
{
|
20683
|
-
"kind": "field",
|
20684
|
-
"name": "placement",
|
20683
|
+
"name": "placement",
|
20685
20684
|
"type": {
|
20686
20685
|
"text": "PopoverPlacement"
|
20687
20686
|
},
|
@@ -22802,52 +22801,193 @@
|
|
22802
22801
|
},
|
22803
22802
|
{
|
22804
22803
|
"kind": "javascript-module",
|
22805
|
-
"path": "components/
|
22804
|
+
"path": "components/menusection/menusection.component.js",
|
22806
22805
|
"declarations": [
|
22807
22806
|
{
|
22808
22807
|
"kind": "class",
|
22809
|
-
"description": "`mdc-
|
22810
|
-
"name": "
|
22811
|
-
"
|
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": [
|
22812
22811
|
{
|
22813
|
-
"description": "
|
22814
|
-
"name": "
|
22815
|
-
}
|
22812
|
+
"description": "Default slot for inserting `menuitem`, `menuitemcheckbox`, or `menuitemradio`",
|
22813
|
+
"name": ""
|
22814
|
+
}
|
22815
|
+
],
|
22816
|
+
"members": [
|
22816
22817
|
{
|
22817
|
-
"
|
22818
|
-
"name": "
|
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
|
22819
22827
|
},
|
22820
22828
|
{
|
22821
|
-
"
|
22822
|
-
"name": "
|
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
|
22823
22838
|
},
|
22824
22839
|
{
|
22825
|
-
"
|
22826
|
-
"name": "
|
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"
|
22827
22847
|
},
|
22828
22848
|
{
|
22829
|
-
"
|
22830
|
-
"name": "
|
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
|
22831
22858
|
},
|
22832
22859
|
{
|
22833
|
-
"
|
22834
|
-
"name": "
|
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
|
22835
22866
|
},
|
22836
22867
|
{
|
22837
|
-
"
|
22838
|
-
"name": "
|
22839
|
-
|
22868
|
+
"kind": "method",
|
22869
|
+
"name": "renderHeader",
|
22870
|
+
"privacy": "private"
|
22871
|
+
}
|
22872
|
+
],
|
22873
|
+
"events": [
|
22840
22874
|
{
|
22841
|
-
"description": "
|
22842
|
-
"name": "
|
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"
|
22843
22889
|
},
|
22844
22890
|
{
|
22845
|
-
"
|
22846
|
-
"
|
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"
|
22847
22898
|
},
|
22848
22899
|
{
|
22849
|
-
"
|
22850
|
-
"
|
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
|
+
},
|
22960
|
+
{
|
22961
|
+
"description": "Text color of the navmenuitem when disabled.",
|
22962
|
+
"name": "--mdc-navmenuitem-disabled-color"
|
22963
|
+
},
|
22964
|
+
{
|
22965
|
+
"description": "Width of the navmenuitem when expanded.",
|
22966
|
+
"name": "--mdc-navmenuitem-expanded-width"
|
22967
|
+
},
|
22968
|
+
{
|
22969
|
+
"description": "Background color of the navmenuitem when hovered.",
|
22970
|
+
"name": "--mdc-navmenuitem-hover-background-color"
|
22971
|
+
},
|
22972
|
+
{
|
22973
|
+
"description": "Background color of the active navmenuitem when hovered.",
|
22974
|
+
"name": "--mdc-navmenuitem-hover-active-background-color"
|
22975
|
+
},
|
22976
|
+
{
|
22977
|
+
"description": "Background color of the navmenuitem when pressed.",
|
22978
|
+
"name": "--mdc-navmenuitem-pressed-background-color"
|
22979
|
+
},
|
22980
|
+
{
|
22981
|
+
"description": "Background color of the active navmenuitem when pressed.",
|
22982
|
+
"name": "--mdc-navmenuitem-pressed-active-background-color"
|
22983
|
+
},
|
22984
|
+
{
|
22985
|
+
"description": "Background color of the navmenuitem when disabled.",
|
22986
|
+
"name": "--mdc-navmenuitem-disabled-background-color"
|
22987
|
+
},
|
22988
|
+
{
|
22989
|
+
"description": "Background color of the active navmenuitem when disabled.",
|
22990
|
+
"name": "--mdc-navmenuitem-disabled-active-background-color"
|
22851
22991
|
},
|
22852
22992
|
{
|
22853
22993
|
"description": "Background color of the active nav item in its rest state.",
|
@@ -22911,7 +23051,39 @@
|
|
22911
23051
|
},
|
22912
23052
|
{
|
22913
23053
|
"description": "Allows customization of padding left and right.",
|
22914
|
-
"name": "--mdc-listitem-padding-left-
|
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-
|
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"
|
@@ -33293,6 +33513,180 @@
|
|
33293
33513
|
}
|
33294
33514
|
]
|
33295
33515
|
},
|
33516
|
+
{
|
33517
|
+
"kind": "javascript-module",
|
33518
|
+
"path": "components/statictoggle/statictoggle.component.js",
|
33519
|
+
"declarations": [
|
33520
|
+
{
|
33521
|
+
"kind": "class",
|
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": [
|
33525
|
+
{
|
33526
|
+
"description": "Width of the toggle",
|
33527
|
+
"name": "--mdc-statictoggle-width"
|
33528
|
+
},
|
33529
|
+
{
|
33530
|
+
"description": "Height of the toggle",
|
33531
|
+
"name": "--mdc-statictoggle-height"
|
33532
|
+
},
|
33533
|
+
{
|
33534
|
+
"description": "Width of the toggle when it's size is compact",
|
33535
|
+
"name": "--mdc-statictoggle-width-compact"
|
33536
|
+
},
|
33537
|
+
{
|
33538
|
+
"description": "Height of the toggle when it's size is compact",
|
33539
|
+
"name": "--mdc-statictoggle-height-compact"
|
33540
|
+
},
|
33541
|
+
{
|
33542
|
+
"description": "Border radius of the toggle",
|
33543
|
+
"name": "--mdc-statictoggle-border-radius"
|
33544
|
+
},
|
33545
|
+
{
|
33546
|
+
"description": "Border radius of the toggle when it's size is compact",
|
33547
|
+
"name": "--mdc-statictoggle-border-radius-compact"
|
33548
|
+
},
|
33549
|
+
{
|
33550
|
+
"description": "Border of the toggle",
|
33551
|
+
"name": "--mdc-statictoggle-border"
|
33552
|
+
},
|
33553
|
+
{
|
33554
|
+
"description": "Background color of the inactive toggle in rest state",
|
33555
|
+
"name": "--mdc-statictoggle-inactive-rest-color"
|
33556
|
+
},
|
33557
|
+
{
|
33558
|
+
"description": "Background color of the inactive toggle in disabled state",
|
33559
|
+
"name": "--mdc-statictoggle-inactive-disabled-color"
|
33560
|
+
},
|
33561
|
+
{
|
33562
|
+
"description": "Background color of the active toggle in rest state",
|
33563
|
+
"name": "--mdc-statictoggle-active-rest-color"
|
33564
|
+
},
|
33565
|
+
{
|
33566
|
+
"description": "Background color of the active toggle in disabled state",
|
33567
|
+
"name": "--mdc-statictoggle-active-disabled-color"
|
33568
|
+
},
|
33569
|
+
{
|
33570
|
+
"description": "Color of the icon in normal state",
|
33571
|
+
"name": "--mdc-statictoggle-icon-color-normal"
|
33572
|
+
},
|
33573
|
+
{
|
33574
|
+
"description": "Color of the icon in disabled state",
|
33575
|
+
"name": "--mdc-statictoggle-icon-color-disabled"
|
33576
|
+
},
|
33577
|
+
{
|
33578
|
+
"description": "Background color of the icon in normal state",
|
33579
|
+
"name": "--mdc-statictoggle-icon-background-color-normal"
|
33580
|
+
},
|
33581
|
+
{
|
33582
|
+
"description": "Background color of the icon in disabled state",
|
33583
|
+
"name": "--mdc-statictoggle-icon-background-color-disabled"
|
33584
|
+
}
|
33585
|
+
],
|
33586
|
+
"slots": [
|
33587
|
+
{
|
33588
|
+
"description": "This is a default/unnamed slot",
|
33589
|
+
"name": "default"
|
33590
|
+
}
|
33591
|
+
],
|
33592
|
+
"members": [
|
33593
|
+
{
|
33594
|
+
"kind": "field",
|
33595
|
+
"name": "checked",
|
33596
|
+
"type": {
|
33597
|
+
"text": "boolean"
|
33598
|
+
},
|
33599
|
+
"default": "false",
|
33600
|
+
"description": "Determines whether the toggle is active or inactive.",
|
33601
|
+
"attribute": "checked",
|
33602
|
+
"reflects": true
|
33603
|
+
},
|
33604
|
+
{
|
33605
|
+
"kind": "field",
|
33606
|
+
"name": "size",
|
33607
|
+
"type": {
|
33608
|
+
"text": "ToggleSize"
|
33609
|
+
},
|
33610
|
+
"description": "Determines toggle size in rem (height is specified here).\n- **Default**: 1.5\n- **Compact**: 1",
|
33611
|
+
"default": "default",
|
33612
|
+
"attribute": "size",
|
33613
|
+
"reflects": true
|
33614
|
+
},
|
33615
|
+
{
|
33616
|
+
"kind": "field",
|
33617
|
+
"name": "disabled",
|
33618
|
+
"type": {
|
33619
|
+
"text": "boolean | undefined"
|
33620
|
+
},
|
33621
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
33622
|
+
"default": "undefined",
|
33623
|
+
"attribute": "disabled",
|
33624
|
+
"reflects": true,
|
33625
|
+
"inheritedFrom": {
|
33626
|
+
"name": "DisabledMixin",
|
33627
|
+
"module": "utils/mixins/DisabledMixin.js"
|
33628
|
+
}
|
33629
|
+
}
|
33630
|
+
],
|
33631
|
+
"attributes": [
|
33632
|
+
{
|
33633
|
+
"name": "checked",
|
33634
|
+
"type": {
|
33635
|
+
"text": "boolean"
|
33636
|
+
},
|
33637
|
+
"default": "false",
|
33638
|
+
"description": "Determines whether the toggle is active or inactive.",
|
33639
|
+
"fieldName": "checked"
|
33640
|
+
},
|
33641
|
+
{
|
33642
|
+
"name": "size",
|
33643
|
+
"type": {
|
33644
|
+
"text": "ToggleSize"
|
33645
|
+
},
|
33646
|
+
"description": "Determines toggle size in rem (height is specified here).\n- **Default**: 1.5\n- **Compact**: 1",
|
33647
|
+
"default": "default",
|
33648
|
+
"fieldName": "size"
|
33649
|
+
},
|
33650
|
+
{
|
33651
|
+
"name": "disabled",
|
33652
|
+
"type": {
|
33653
|
+
"text": "boolean | undefined"
|
33654
|
+
},
|
33655
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
33656
|
+
"default": "undefined",
|
33657
|
+
"fieldName": "disabled",
|
33658
|
+
"inheritedFrom": {
|
33659
|
+
"name": "DisabledMixin",
|
33660
|
+
"module": "src/utils/mixins/DisabledMixin.ts"
|
33661
|
+
}
|
33662
|
+
}
|
33663
|
+
],
|
33664
|
+
"mixins": [
|
33665
|
+
{
|
33666
|
+
"name": "DisabledMixin",
|
33667
|
+
"module": "/src/utils/mixins/DisabledMixin"
|
33668
|
+
}
|
33669
|
+
],
|
33670
|
+
"superclass": {
|
33671
|
+
"name": "Component",
|
33672
|
+
"module": "/src/models"
|
33673
|
+
},
|
33674
|
+
"tagName": "mdc-statictoggle",
|
33675
|
+
"jsDoc": "/**\n * This is a decorative component that is styled to look as a toggle. <br/>\n * It has 3 properties - checked, size and disabled. <br/>\n * We are using the same styling that has been created for the `mdc-toggle` component.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-statictoggle\n *\n * @slot default - This is a default/unnamed slot\n *\n * @cssproperty --mdc-statictoggle-width - Width of the toggle\n * @cssproperty --mdc-statictoggle-height - Height of the toggle\n * @cssproperty --mdc-statictoggle-width-compact - Width of the toggle when it's size is compact\n * @cssproperty --mdc-statictoggle-height-compact - Height of the toggle when it's size is compact\n * @cssproperty --mdc-statictoggle-border-radius - Border radius of the toggle\n * @cssproperty --mdc-statictoggle-border-radius-compact - Border radius of the toggle when it's size is compact\n * @cssproperty --mdc-statictoggle-border - Border of the toggle\n * @cssproperty --mdc-statictoggle-inactive-rest-color - Background color of the inactive toggle in rest state\n * @cssproperty --mdc-statictoggle-inactive-disabled-color - Background color of the inactive toggle in disabled state\n * @cssproperty --mdc-statictoggle-active-rest-color - Background color of the active toggle in rest state\n * @cssproperty --mdc-statictoggle-active-disabled-color - Background color of the active toggle in disabled state\n * @cssproperty --mdc-statictoggle-icon-color-normal - Color of the icon in normal state\n * @cssproperty --mdc-statictoggle-icon-color-disabled - Color of the icon in disabled state\n * @cssproperty --mdc-statictoggle-icon-background-color-normal - Background color of the icon in normal state\n * @cssproperty --mdc-statictoggle-icon-background-color-disabled - Background color of the icon in disabled state\n */",
|
33676
|
+
"customElement": true
|
33677
|
+
}
|
33678
|
+
],
|
33679
|
+
"exports": [
|
33680
|
+
{
|
33681
|
+
"kind": "js",
|
33682
|
+
"name": "default",
|
33683
|
+
"declaration": {
|
33684
|
+
"name": "StaticToggle",
|
33685
|
+
"module": "components/statictoggle/statictoggle.component.js"
|
33686
|
+
}
|
33687
|
+
}
|
33688
|
+
]
|
33689
|
+
},
|
33296
33690
|
{
|
33297
33691
|
"kind": "javascript-module",
|
33298
33692
|
"path": "components/stepper/stepper.component.js",
|
@@ -33478,180 +33872,6 @@
|
|
33478
33872
|
}
|
33479
33873
|
]
|
33480
33874
|
},
|
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"
|
33505
|
-
},
|
33506
|
-
{
|
33507
|
-
"description": "Border radius of the toggle",
|
33508
|
-
"name": "--mdc-statictoggle-border-radius"
|
33509
|
-
},
|
33510
|
-
{
|
33511
|
-
"description": "Border radius of the toggle when it's size is compact",
|
33512
|
-
"name": "--mdc-statictoggle-border-radius-compact"
|
33513
|
-
},
|
33514
|
-
{
|
33515
|
-
"description": "Border of the toggle",
|
33516
|
-
"name": "--mdc-statictoggle-border"
|
33517
|
-
},
|
33518
|
-
{
|
33519
|
-
"description": "Background color of the inactive toggle in rest state",
|
33520
|
-
"name": "--mdc-statictoggle-inactive-rest-color"
|
33521
|
-
},
|
33522
|
-
{
|
33523
|
-
"description": "Background color of the inactive toggle in disabled state",
|
33524
|
-
"name": "--mdc-statictoggle-inactive-disabled-color"
|
33525
|
-
},
|
33526
|
-
{
|
33527
|
-
"description": "Background color of the active toggle in rest state",
|
33528
|
-
"name": "--mdc-statictoggle-active-rest-color"
|
33529
|
-
},
|
33530
|
-
{
|
33531
|
-
"description": "Background color of the active toggle in disabled state",
|
33532
|
-
"name": "--mdc-statictoggle-active-disabled-color"
|
33533
|
-
},
|
33534
|
-
{
|
33535
|
-
"description": "Color of the icon in normal state",
|
33536
|
-
"name": "--mdc-statictoggle-icon-color-normal"
|
33537
|
-
},
|
33538
|
-
{
|
33539
|
-
"description": "Color of the icon in disabled state",
|
33540
|
-
"name": "--mdc-statictoggle-icon-color-disabled"
|
33541
|
-
},
|
33542
|
-
{
|
33543
|
-
"description": "Background color of the icon in normal state",
|
33544
|
-
"name": "--mdc-statictoggle-icon-background-color-normal"
|
33545
|
-
},
|
33546
|
-
{
|
33547
|
-
"description": "Background color of the icon in disabled state",
|
33548
|
-
"name": "--mdc-statictoggle-icon-background-color-disabled"
|
33549
|
-
}
|
33550
|
-
],
|
33551
|
-
"slots": [
|
33552
|
-
{
|
33553
|
-
"description": "This is a default/unnamed slot",
|
33554
|
-
"name": "default"
|
33555
|
-
}
|
33556
|
-
],
|
33557
|
-
"members": [
|
33558
|
-
{
|
33559
|
-
"kind": "field",
|
33560
|
-
"name": "checked",
|
33561
|
-
"type": {
|
33562
|
-
"text": "boolean"
|
33563
|
-
},
|
33564
|
-
"default": "false",
|
33565
|
-
"description": "Determines whether the toggle is active or inactive.",
|
33566
|
-
"attribute": "checked",
|
33567
|
-
"reflects": true
|
33568
|
-
},
|
33569
|
-
{
|
33570
|
-
"kind": "field",
|
33571
|
-
"name": "size",
|
33572
|
-
"type": {
|
33573
|
-
"text": "ToggleSize"
|
33574
|
-
},
|
33575
|
-
"description": "Determines toggle size in rem (height is specified here).\n- **Default**: 1.5\n- **Compact**: 1",
|
33576
|
-
"default": "default",
|
33577
|
-
"attribute": "size",
|
33578
|
-
"reflects": true
|
33579
|
-
},
|
33580
|
-
{
|
33581
|
-
"kind": "field",
|
33582
|
-
"name": "disabled",
|
33583
|
-
"type": {
|
33584
|
-
"text": "boolean | undefined"
|
33585
|
-
},
|
33586
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
33587
|
-
"default": "undefined",
|
33588
|
-
"attribute": "disabled",
|
33589
|
-
"reflects": true,
|
33590
|
-
"inheritedFrom": {
|
33591
|
-
"name": "DisabledMixin",
|
33592
|
-
"module": "utils/mixins/DisabledMixin.js"
|
33593
|
-
}
|
33594
|
-
}
|
33595
|
-
],
|
33596
|
-
"attributes": [
|
33597
|
-
{
|
33598
|
-
"name": "checked",
|
33599
|
-
"type": {
|
33600
|
-
"text": "boolean"
|
33601
|
-
},
|
33602
|
-
"default": "false",
|
33603
|
-
"description": "Determines whether the toggle is active or inactive.",
|
33604
|
-
"fieldName": "checked"
|
33605
|
-
},
|
33606
|
-
{
|
33607
|
-
"name": "size",
|
33608
|
-
"type": {
|
33609
|
-
"text": "ToggleSize"
|
33610
|
-
},
|
33611
|
-
"description": "Determines toggle size in rem (height is specified here).\n- **Default**: 1.5\n- **Compact**: 1",
|
33612
|
-
"default": "default",
|
33613
|
-
"fieldName": "size"
|
33614
|
-
},
|
33615
|
-
{
|
33616
|
-
"name": "disabled",
|
33617
|
-
"type": {
|
33618
|
-
"text": "boolean | undefined"
|
33619
|
-
},
|
33620
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
33621
|
-
"default": "undefined",
|
33622
|
-
"fieldName": "disabled",
|
33623
|
-
"inheritedFrom": {
|
33624
|
-
"name": "DisabledMixin",
|
33625
|
-
"module": "src/utils/mixins/DisabledMixin.ts"
|
33626
|
-
}
|
33627
|
-
}
|
33628
|
-
],
|
33629
|
-
"mixins": [
|
33630
|
-
{
|
33631
|
-
"name": "DisabledMixin",
|
33632
|
-
"module": "/src/utils/mixins/DisabledMixin"
|
33633
|
-
}
|
33634
|
-
],
|
33635
|
-
"superclass": {
|
33636
|
-
"name": "Component",
|
33637
|
-
"module": "/src/models"
|
33638
|
-
},
|
33639
|
-
"tagName": "mdc-statictoggle",
|
33640
|
-
"jsDoc": "/**\n * This is a decorative component that is styled to look as a toggle. <br/>\n * It has 3 properties - checked, size and disabled. <br/>\n * We are using the same styling that has been created for the `mdc-toggle` component.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-statictoggle\n *\n * @slot default - This is a default/unnamed slot\n *\n * @cssproperty --mdc-statictoggle-width - Width of the toggle\n * @cssproperty --mdc-statictoggle-height - Height of the toggle\n * @cssproperty --mdc-statictoggle-width-compact - Width of the toggle when it's size is compact\n * @cssproperty --mdc-statictoggle-height-compact - Height of the toggle when it's size is compact\n * @cssproperty --mdc-statictoggle-border-radius - Border radius of the toggle\n * @cssproperty --mdc-statictoggle-border-radius-compact - Border radius of the toggle when it's size is compact\n * @cssproperty --mdc-statictoggle-border - Border of the toggle\n * @cssproperty --mdc-statictoggle-inactive-rest-color - Background color of the inactive toggle in rest state\n * @cssproperty --mdc-statictoggle-inactive-disabled-color - Background color of the inactive toggle in disabled state\n * @cssproperty --mdc-statictoggle-active-rest-color - Background color of the active toggle in rest state\n * @cssproperty --mdc-statictoggle-active-disabled-color - Background color of the active toggle in disabled state\n * @cssproperty --mdc-statictoggle-icon-color-normal - Color of the icon in normal state\n * @cssproperty --mdc-statictoggle-icon-color-disabled - Color of the icon in disabled state\n * @cssproperty --mdc-statictoggle-icon-background-color-normal - Background color of the icon in normal state\n * @cssproperty --mdc-statictoggle-icon-background-color-disabled - Background color of the icon in disabled state\n */",
|
33641
|
-
"customElement": true
|
33642
|
-
}
|
33643
|
-
],
|
33644
|
-
"exports": [
|
33645
|
-
{
|
33646
|
-
"kind": "js",
|
33647
|
-
"name": "default",
|
33648
|
-
"declaration": {
|
33649
|
-
"name": "StaticToggle",
|
33650
|
-
"module": "components/statictoggle/statictoggle.component.js"
|
33651
|
-
}
|
33652
|
-
}
|
33653
|
-
]
|
33654
|
-
},
|
33655
33875
|
{
|
33656
33876
|
"kind": "javascript-module",
|
33657
33877
|
"path": "components/stepperitem/stepperitem.component.js",
|