@momentum-design/components 0.85.6 → 0.85.7
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 +225 -201
- package/dist/browser/index.js.map +4 -4
- package/dist/components/menuitem/menuitem.component.d.ts +21 -1
- package/dist/components/menuitem/menuitem.component.js +29 -1
- package/dist/components/menuitemcheckbox/menuitemcheckbox.component.d.ts +26 -15
- package/dist/components/menuitemcheckbox/menuitemcheckbox.component.js +42 -25
- package/dist/components/menuitemcheckbox/menuitemcheckbox.constants.d.ts +1 -1
- package/dist/components/menuitemcheckbox/menuitemcheckbox.constants.js +1 -2
- package/dist/components/menuitemcheckbox/menuitemcheckbox.styles.js +0 -6
- package/dist/components/menuitemradio/menuitemradio.component.d.ts +61 -12
- package/dist/components/menuitemradio/menuitemradio.component.js +125 -40
- package/dist/components/menuitemradio/menuitemradio.constants.d.ts +9 -1
- package/dist/components/menuitemradio/menuitemradio.constants.js +9 -1
- package/dist/components/menuitemradio/menuitemradio.styles.d.ts +2 -0
- package/dist/components/menuitemradio/menuitemradio.styles.js +7 -0
- package/dist/components/menuitemradio/menuitemradio.types.d.ts +4 -1
- package/dist/components/menupopover/menupopover.component.d.ts +6 -0
- package/dist/components/menupopover/menupopover.component.js +11 -3
- package/dist/components/menupopover/menupopover.styles.js +4 -0
- package/dist/components/menupopover/menupopover.types.d.ts +11 -0
- package/dist/components/menupopover/menupopover.types.js +1 -0
- package/dist/components/menupopover/menupopover.utils.d.ts +4 -2
- package/dist/components/menupopover/menupopover.utils.js +1 -1
- package/dist/components/menusection/menusection.component.d.ts +15 -2
- package/dist/components/menusection/menusection.component.js +55 -4
- package/dist/components/menusection/menusection.constants.d.ts +1 -5
- package/dist/components/menusection/menusection.constants.js +1 -5
- package/dist/components/menusection/menusection.styles.d.ts +2 -0
- package/dist/components/menusection/menusection.styles.js +11 -0
- package/dist/components/menusection/menusection.types.d.ts +7 -4
- package/dist/custom-elements.json +611 -293
- package/dist/index.d.ts +3 -1
- package/dist/react/menuitem/index.d.ts +12 -1
- package/dist/react/menuitem/index.js +12 -1
- package/dist/react/menuitemcheckbox/index.d.ts +18 -7
- package/dist/react/menuitemcheckbox/index.js +18 -7
- package/dist/react/menuitemradio/index.d.ts +25 -2
- package/dist/react/menuitemradio/index.js +25 -2
- package/dist/react/menupopover/index.d.ts +8 -0
- package/dist/react/menupopover/index.js +8 -0
- package/dist/react/menusection/index.d.ts +6 -1
- package/dist/react/menusection/index.js +5 -1
- package/dist/utils/types.d.ts +10 -0
- package/package.json +1 -1
@@ -15531,8 +15531,66 @@
|
|
15531
15531
|
"declarations": [
|
15532
15532
|
{
|
15533
15533
|
"kind": "class",
|
15534
|
-
"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
|
15534
|
+
"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.",
|
15535
15535
|
"name": "MenuItem",
|
15536
|
+
"slots": [
|
15537
|
+
{
|
15538
|
+
"description": "slot for menu item controls to appear of leading end.",
|
15539
|
+
"name": "leading-controls",
|
15540
|
+
"inheritedFrom": {
|
15541
|
+
"name": "ListItem",
|
15542
|
+
"module": "src/components/listitem/listitem.component.ts"
|
15543
|
+
}
|
15544
|
+
},
|
15545
|
+
{
|
15546
|
+
"description": "slot for menu item primary label.",
|
15547
|
+
"name": "leading-text-primary-label",
|
15548
|
+
"inheritedFrom": {
|
15549
|
+
"name": "ListItem",
|
15550
|
+
"module": "src/components/listitem/listitem.component.ts"
|
15551
|
+
}
|
15552
|
+
},
|
15553
|
+
{
|
15554
|
+
"description": "slot for menu item secondary label.",
|
15555
|
+
"name": "leading-text-secondary-label",
|
15556
|
+
"inheritedFrom": {
|
15557
|
+
"name": "ListItem",
|
15558
|
+
"module": "src/components/listitem/listitem.component.ts"
|
15559
|
+
}
|
15560
|
+
},
|
15561
|
+
{
|
15562
|
+
"description": "slot for menu item tertiary label.",
|
15563
|
+
"name": "leading-text-tertiary-label",
|
15564
|
+
"inheritedFrom": {
|
15565
|
+
"name": "ListItem",
|
15566
|
+
"module": "src/components/listitem/listitem.component.ts"
|
15567
|
+
}
|
15568
|
+
},
|
15569
|
+
{
|
15570
|
+
"description": "slot for menu item side header text.",
|
15571
|
+
"name": "trailing-text-side-header",
|
15572
|
+
"inheritedFrom": {
|
15573
|
+
"name": "ListItem",
|
15574
|
+
"module": "src/components/listitem/listitem.component.ts"
|
15575
|
+
}
|
15576
|
+
},
|
15577
|
+
{
|
15578
|
+
"description": "slot for menu item subline text.",
|
15579
|
+
"name": "trailing-text-subline",
|
15580
|
+
"inheritedFrom": {
|
15581
|
+
"name": "ListItem",
|
15582
|
+
"module": "src/components/listitem/listitem.component.ts"
|
15583
|
+
}
|
15584
|
+
},
|
15585
|
+
{
|
15586
|
+
"description": "slot for menu item controls to appear of trailing end.",
|
15587
|
+
"name": "trailing-controls",
|
15588
|
+
"inheritedFrom": {
|
15589
|
+
"name": "ListItem",
|
15590
|
+
"module": "src/components/listitem/listitem.component.ts"
|
15591
|
+
}
|
15592
|
+
}
|
15593
|
+
],
|
15536
15594
|
"members": [
|
15537
15595
|
{
|
15538
15596
|
"kind": "field",
|
@@ -15554,6 +15612,28 @@
|
|
15554
15612
|
"attribute": "arrow-direction",
|
15555
15613
|
"reflects": true
|
15556
15614
|
},
|
15615
|
+
{
|
15616
|
+
"kind": "field",
|
15617
|
+
"name": "name",
|
15618
|
+
"type": {
|
15619
|
+
"text": "undefined | string | undefined"
|
15620
|
+
},
|
15621
|
+
"default": "undefined",
|
15622
|
+
"description": "The name attribute is used to identify the menu item when it is selected.",
|
15623
|
+
"attribute": "name",
|
15624
|
+
"reflects": true
|
15625
|
+
},
|
15626
|
+
{
|
15627
|
+
"kind": "field",
|
15628
|
+
"name": "value",
|
15629
|
+
"type": {
|
15630
|
+
"text": "undefined | string | undefined"
|
15631
|
+
},
|
15632
|
+
"default": "undefined",
|
15633
|
+
"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.",
|
15634
|
+
"attribute": "value",
|
15635
|
+
"reflects": true
|
15636
|
+
},
|
15557
15637
|
{
|
15558
15638
|
"kind": "method",
|
15559
15639
|
"name": "handleKeyDown",
|
@@ -15986,6 +16066,24 @@
|
|
15986
16066
|
"description": "Defines the direction the arrow icon points.\n- `'positive'`: Arrow points toward the trailing side.\n- `'negative'`: Arrow points toward the leading side.",
|
15987
16067
|
"fieldName": "arrowDirection"
|
15988
16068
|
},
|
16069
|
+
{
|
16070
|
+
"name": "name",
|
16071
|
+
"type": {
|
16072
|
+
"text": "undefined | string | undefined"
|
16073
|
+
},
|
16074
|
+
"default": "undefined",
|
16075
|
+
"description": "The name attribute is used to identify the menu item when it is selected.",
|
16076
|
+
"fieldName": "name"
|
16077
|
+
},
|
16078
|
+
{
|
16079
|
+
"name": "value",
|
16080
|
+
"type": {
|
16081
|
+
"text": "undefined | string | undefined"
|
16082
|
+
},
|
16083
|
+
"default": "undefined",
|
16084
|
+
"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.",
|
16085
|
+
"fieldName": "value"
|
16086
|
+
},
|
15989
16087
|
{
|
15990
16088
|
"name": "disabled",
|
15991
16089
|
"type": {
|
@@ -16129,66 +16227,8 @@
|
|
16129
16227
|
"module": "/src/components/listitem/listitem.component"
|
16130
16228
|
},
|
16131
16229
|
"tagName": "mdc-menuitem",
|
16132
|
-
"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
|
16230
|
+
"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 */",
|
16133
16231
|
"customElement": true,
|
16134
|
-
"slots": [
|
16135
|
-
{
|
16136
|
-
"description": "slot for list item controls to appear of leading end.",
|
16137
|
-
"name": "leading-controls",
|
16138
|
-
"inheritedFrom": {
|
16139
|
-
"name": "ListItem",
|
16140
|
-
"module": "src/components/listitem/listitem.component.ts"
|
16141
|
-
}
|
16142
|
-
},
|
16143
|
-
{
|
16144
|
-
"description": "slot for list item primary label.",
|
16145
|
-
"name": "leading-text-primary-label",
|
16146
|
-
"inheritedFrom": {
|
16147
|
-
"name": "ListItem",
|
16148
|
-
"module": "src/components/listitem/listitem.component.ts"
|
16149
|
-
}
|
16150
|
-
},
|
16151
|
-
{
|
16152
|
-
"description": "slot for list item secondary label.",
|
16153
|
-
"name": "leading-text-secondary-label",
|
16154
|
-
"inheritedFrom": {
|
16155
|
-
"name": "ListItem",
|
16156
|
-
"module": "src/components/listitem/listitem.component.ts"
|
16157
|
-
}
|
16158
|
-
},
|
16159
|
-
{
|
16160
|
-
"description": "slot for list item tertiary label.",
|
16161
|
-
"name": "leading-text-tertiary-label",
|
16162
|
-
"inheritedFrom": {
|
16163
|
-
"name": "ListItem",
|
16164
|
-
"module": "src/components/listitem/listitem.component.ts"
|
16165
|
-
}
|
16166
|
-
},
|
16167
|
-
{
|
16168
|
-
"description": "slot for list item side header text.",
|
16169
|
-
"name": "trailing-text-side-header",
|
16170
|
-
"inheritedFrom": {
|
16171
|
-
"name": "ListItem",
|
16172
|
-
"module": "src/components/listitem/listitem.component.ts"
|
16173
|
-
}
|
16174
|
-
},
|
16175
|
-
{
|
16176
|
-
"description": "slot for list item subline text.",
|
16177
|
-
"name": "trailing-text-subline",
|
16178
|
-
"inheritedFrom": {
|
16179
|
-
"name": "ListItem",
|
16180
|
-
"module": "src/components/listitem/listitem.component.ts"
|
16181
|
-
}
|
16182
|
-
},
|
16183
|
-
{
|
16184
|
-
"description": "slot for list item controls to appear of trailing end.",
|
16185
|
-
"name": "trailing-controls",
|
16186
|
-
"inheritedFrom": {
|
16187
|
-
"name": "ListItem",
|
16188
|
-
"module": "src/components/listitem/listitem.component.ts"
|
16189
|
-
}
|
16190
|
-
}
|
16191
|
-
],
|
16192
16232
|
"cssProperties": [
|
16193
16233
|
{
|
16194
16234
|
"description": "Allows customization of the default background color.",
|
@@ -16274,72 +16314,60 @@
|
|
16274
16314
|
"declarations": [
|
16275
16315
|
{
|
16276
16316
|
"kind": "class",
|
16277
|
-
"description": "A menuitemcheckbox component is a checkable menuitem.\nThere should be no focusable descendants inside this menuitemcheckbox component.\n\nThe `
|
16317
|
+
"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.",
|
16278
16318
|
"name": "MenuItemCheckbox",
|
16279
|
-
"
|
16280
|
-
{
|
16281
|
-
"description": "Allows customization of the checkmark indicator color",
|
16282
|
-
"name": "--mdc-checkmark-indicator-color"
|
16283
|
-
},
|
16284
|
-
{
|
16285
|
-
"description": "Allows customization of the default background color.",
|
16286
|
-
"name": "--mdc-listitem-default-background-color",
|
16287
|
-
"inheritedFrom": {
|
16288
|
-
"name": "ListItem",
|
16289
|
-
"module": "src/components/listitem/listitem.component.ts"
|
16290
|
-
}
|
16291
|
-
},
|
16319
|
+
"slots": [
|
16292
16320
|
{
|
16293
|
-
"description": "
|
16294
|
-
"name": "
|
16321
|
+
"description": "slot for menu item checkbox controls to appear of leading end.",
|
16322
|
+
"name": "leading-controls",
|
16295
16323
|
"inheritedFrom": {
|
16296
16324
|
"name": "ListItem",
|
16297
16325
|
"module": "src/components/listitem/listitem.component.ts"
|
16298
16326
|
}
|
16299
16327
|
},
|
16300
16328
|
{
|
16301
|
-
"description": "
|
16302
|
-
"name": "
|
16329
|
+
"description": "slot for menu item checkbox primary label.",
|
16330
|
+
"name": "leading-text-primary-label",
|
16303
16331
|
"inheritedFrom": {
|
16304
16332
|
"name": "ListItem",
|
16305
16333
|
"module": "src/components/listitem/listitem.component.ts"
|
16306
16334
|
}
|
16307
16335
|
},
|
16308
16336
|
{
|
16309
|
-
"description": "
|
16310
|
-
"name": "
|
16337
|
+
"description": "slot for menu item checkbox secondary label.",
|
16338
|
+
"name": "leading-text-secondary-label",
|
16311
16339
|
"inheritedFrom": {
|
16312
16340
|
"name": "ListItem",
|
16313
16341
|
"module": "src/components/listitem/listitem.component.ts"
|
16314
16342
|
}
|
16315
16343
|
},
|
16316
16344
|
{
|
16317
|
-
"description": "
|
16318
|
-
"name": "
|
16345
|
+
"description": "slot for menu item checkbox tertiary label.",
|
16346
|
+
"name": "leading-text-tertiary-label",
|
16319
16347
|
"inheritedFrom": {
|
16320
16348
|
"name": "ListItem",
|
16321
16349
|
"module": "src/components/listitem/listitem.component.ts"
|
16322
16350
|
}
|
16323
16351
|
},
|
16324
16352
|
{
|
16325
|
-
"description": "
|
16326
|
-
"name": "
|
16353
|
+
"description": "slot for menu item checkbox side header text.",
|
16354
|
+
"name": "trailing-text-side-header",
|
16327
16355
|
"inheritedFrom": {
|
16328
16356
|
"name": "ListItem",
|
16329
16357
|
"module": "src/components/listitem/listitem.component.ts"
|
16330
16358
|
}
|
16331
16359
|
},
|
16332
16360
|
{
|
16333
|
-
"description": "
|
16334
|
-
"name": "
|
16361
|
+
"description": "slot for menu item checkbox subline text.",
|
16362
|
+
"name": "trailing-text-subline",
|
16335
16363
|
"inheritedFrom": {
|
16336
16364
|
"name": "ListItem",
|
16337
16365
|
"module": "src/components/listitem/listitem.component.ts"
|
16338
16366
|
}
|
16339
16367
|
},
|
16340
16368
|
{
|
16341
|
-
"description": "
|
16342
|
-
"name": "
|
16369
|
+
"description": "slot for menu item checkbox controls to appear of trailing end.",
|
16370
|
+
"name": "trailing-controls",
|
16343
16371
|
"inheritedFrom": {
|
16344
16372
|
"name": "ListItem",
|
16345
16373
|
"module": "src/components/listitem/listitem.component.ts"
|
@@ -16349,13 +16377,13 @@
|
|
16349
16377
|
"members": [
|
16350
16378
|
{
|
16351
16379
|
"kind": "field",
|
16352
|
-
"name": "
|
16380
|
+
"name": "checked",
|
16353
16381
|
"type": {
|
16354
|
-
"text": "
|
16382
|
+
"text": "boolean"
|
16355
16383
|
},
|
16356
|
-
"
|
16357
|
-
"
|
16358
|
-
"attribute": "
|
16384
|
+
"default": "false",
|
16385
|
+
"description": "The checked attribute is used to indicate that the menuitemcheckbox is checked or not.",
|
16386
|
+
"attribute": "checked",
|
16359
16387
|
"reflects": true
|
16360
16388
|
},
|
16361
16389
|
{
|
@@ -16373,7 +16401,7 @@
|
|
16373
16401
|
"kind": "field",
|
16374
16402
|
"name": "menuitemcheckboxHandleClick",
|
16375
16403
|
"privacy": "private",
|
16376
|
-
"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 `
|
16404
|
+
"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`."
|
16377
16405
|
},
|
16378
16406
|
{
|
16379
16407
|
"kind": "method",
|
@@ -16406,7 +16434,7 @@
|
|
16406
16434
|
"text": ""
|
16407
16435
|
}
|
16408
16436
|
},
|
16409
|
-
"description": "Returns a checkmark icon if the indicator is set to checkmark and the
|
16437
|
+
"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."
|
16410
16438
|
},
|
16411
16439
|
{
|
16412
16440
|
"kind": "field",
|
@@ -16436,6 +16464,36 @@
|
|
16436
16464
|
"module": "components/menuitem/menuitem.component.js"
|
16437
16465
|
}
|
16438
16466
|
},
|
16467
|
+
{
|
16468
|
+
"kind": "field",
|
16469
|
+
"name": "name",
|
16470
|
+
"type": {
|
16471
|
+
"text": "undefined | string | undefined"
|
16472
|
+
},
|
16473
|
+
"default": "undefined",
|
16474
|
+
"description": "The name attribute is used to identify the menu item when it is selected.",
|
16475
|
+
"attribute": "name",
|
16476
|
+
"reflects": true,
|
16477
|
+
"inheritedFrom": {
|
16478
|
+
"name": "MenuItem",
|
16479
|
+
"module": "components/menuitem/menuitem.component.js"
|
16480
|
+
}
|
16481
|
+
},
|
16482
|
+
{
|
16483
|
+
"kind": "field",
|
16484
|
+
"name": "value",
|
16485
|
+
"type": {
|
16486
|
+
"text": "undefined | string | undefined"
|
16487
|
+
},
|
16488
|
+
"default": "undefined",
|
16489
|
+
"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.",
|
16490
|
+
"attribute": "value",
|
16491
|
+
"reflects": true,
|
16492
|
+
"inheritedFrom": {
|
16493
|
+
"name": "MenuItem",
|
16494
|
+
"module": "components/menuitem/menuitem.component.js"
|
16495
|
+
}
|
16496
|
+
},
|
16439
16497
|
{
|
16440
16498
|
"kind": "method",
|
16441
16499
|
"name": "handleKeyDown",
|
@@ -16862,13 +16920,13 @@
|
|
16862
16920
|
],
|
16863
16921
|
"attributes": [
|
16864
16922
|
{
|
16865
|
-
"name": "
|
16923
|
+
"name": "checked",
|
16866
16924
|
"type": {
|
16867
|
-
"text": "
|
16925
|
+
"text": "boolean"
|
16868
16926
|
},
|
16869
|
-
"
|
16870
|
-
"
|
16871
|
-
"fieldName": "
|
16927
|
+
"default": "false",
|
16928
|
+
"description": "The checked attribute is used to indicate that the menuitemcheckbox is checked or not.",
|
16929
|
+
"fieldName": "checked"
|
16872
16930
|
},
|
16873
16931
|
{
|
16874
16932
|
"name": "indicator",
|
@@ -16903,6 +16961,32 @@
|
|
16903
16961
|
"module": "src/components/menuitem/menuitem.component.ts"
|
16904
16962
|
}
|
16905
16963
|
},
|
16964
|
+
{
|
16965
|
+
"name": "name",
|
16966
|
+
"type": {
|
16967
|
+
"text": "undefined | string | undefined"
|
16968
|
+
},
|
16969
|
+
"default": "undefined",
|
16970
|
+
"description": "The name attribute is used to identify the menu item when it is selected.",
|
16971
|
+
"fieldName": "name",
|
16972
|
+
"inheritedFrom": {
|
16973
|
+
"name": "MenuItem",
|
16974
|
+
"module": "src/components/menuitem/menuitem.component.ts"
|
16975
|
+
}
|
16976
|
+
},
|
16977
|
+
{
|
16978
|
+
"name": "value",
|
16979
|
+
"type": {
|
16980
|
+
"text": "undefined | string | undefined"
|
16981
|
+
},
|
16982
|
+
"default": "undefined",
|
16983
|
+
"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.",
|
16984
|
+
"fieldName": "value",
|
16985
|
+
"inheritedFrom": {
|
16986
|
+
"name": "MenuItem",
|
16987
|
+
"module": "src/components/menuitem/menuitem.component.ts"
|
16988
|
+
}
|
16989
|
+
},
|
16906
16990
|
{
|
16907
16991
|
"name": "disabled",
|
16908
16992
|
"type": {
|
@@ -17046,60 +17130,68 @@
|
|
17046
17130
|
"module": "/src/components/menuitem/menuitem.component"
|
17047
17131
|
},
|
17048
17132
|
"tagName": "mdc-menuitemcheckbox",
|
17049
|
-
"jsDoc": "/**\n * A menuitemcheckbox component is a checkable menuitem.\n * There should be no focusable descendants inside this menuitemcheckbox component.\n *\n * The `
|
17133
|
+
"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 */",
|
17050
17134
|
"customElement": true,
|
17051
|
-
"
|
17135
|
+
"cssProperties": [
|
17052
17136
|
{
|
17053
|
-
"description": "
|
17054
|
-
"name": "
|
17137
|
+
"description": "Allows customization of the default background color.",
|
17138
|
+
"name": "--mdc-listitem-default-background-color",
|
17055
17139
|
"inheritedFrom": {
|
17056
17140
|
"name": "ListItem",
|
17057
17141
|
"module": "src/components/listitem/listitem.component.ts"
|
17058
17142
|
}
|
17059
17143
|
},
|
17060
17144
|
{
|
17061
|
-
"description": "
|
17062
|
-
"name": "
|
17145
|
+
"description": "Allows customization of the background color on hover.",
|
17146
|
+
"name": "--mdc-listitem-background-color-hover",
|
17063
17147
|
"inheritedFrom": {
|
17064
17148
|
"name": "ListItem",
|
17065
17149
|
"module": "src/components/listitem/listitem.component.ts"
|
17066
17150
|
}
|
17067
17151
|
},
|
17068
17152
|
{
|
17069
|
-
"description": "
|
17070
|
-
"name": "
|
17153
|
+
"description": "Allows customization of the background color when pressed.",
|
17154
|
+
"name": "--mdc-listitem-background-color-active",
|
17071
17155
|
"inheritedFrom": {
|
17072
17156
|
"name": "ListItem",
|
17073
17157
|
"module": "src/components/listitem/listitem.component.ts"
|
17074
17158
|
}
|
17075
17159
|
},
|
17076
17160
|
{
|
17077
|
-
"description": "
|
17078
|
-
"name": "
|
17161
|
+
"description": "Allows customization of the primary label, side header and subline text slot color.",
|
17162
|
+
"name": "--mdc-listitem-primary-label-color",
|
17079
17163
|
"inheritedFrom": {
|
17080
17164
|
"name": "ListItem",
|
17081
17165
|
"module": "src/components/listitem/listitem.component.ts"
|
17082
17166
|
}
|
17083
17167
|
},
|
17084
17168
|
{
|
17085
|
-
"description": "
|
17086
|
-
"name": "
|
17169
|
+
"description": "Allows customization of the secondary and tertiary label text slot color.",
|
17170
|
+
"name": "--mdc-listitem-secondary-label-color",
|
17087
17171
|
"inheritedFrom": {
|
17088
17172
|
"name": "ListItem",
|
17089
17173
|
"module": "src/components/listitem/listitem.component.ts"
|
17090
17174
|
}
|
17091
17175
|
},
|
17092
17176
|
{
|
17093
|
-
"description": "
|
17094
|
-
"name": "
|
17177
|
+
"description": "Allows customization of the disabled color.",
|
17178
|
+
"name": "--mdc-listitem-disabled-color",
|
17095
17179
|
"inheritedFrom": {
|
17096
17180
|
"name": "ListItem",
|
17097
17181
|
"module": "src/components/listitem/listitem.component.ts"
|
17098
17182
|
}
|
17099
17183
|
},
|
17100
17184
|
{
|
17101
|
-
"description": "
|
17102
|
-
"name": "
|
17185
|
+
"description": "Allows customization of column gap.",
|
17186
|
+
"name": "--mdc-listitem-column-gap",
|
17187
|
+
"inheritedFrom": {
|
17188
|
+
"name": "ListItem",
|
17189
|
+
"module": "src/components/listitem/listitem.component.ts"
|
17190
|
+
}
|
17191
|
+
},
|
17192
|
+
{
|
17193
|
+
"description": "Allows customization of padding left and right.",
|
17194
|
+
"name": "--mdc-listitem-padding-left-and-right",
|
17103
17195
|
"inheritedFrom": {
|
17104
17196
|
"name": "ListItem",
|
17105
17197
|
"module": "src/components/listitem/listitem.component.ts"
|
@@ -17125,36 +17217,138 @@
|
|
17125
17217
|
"declarations": [
|
17126
17218
|
{
|
17127
17219
|
"kind": "class",
|
17128
|
-
"description": "A menuitemradio component is a checkable menuitem that is used in a menu.\nA menuitemradio should be checked only one at a time. <br/>\nThere should be no focusable descendants inside this menuitemradio component.\n\nThe `
|
17220
|
+
"description": "A menuitemradio component is a checkable menuitem that is used in a menu.\nA menuitemradio should be checked only one at a time. <br/>\nThere should be no focusable descendants inside this menuitemradio component.\n\nThe `checked` menuitemradio attribute is used to indicate that the menuitemradio is checked or not.\n\nMenu item radio has `name` and `value` attribute that can be used to identify the menu item when it is selected.\n\nIf you want more than one item in a group to be checked, consider using menuitemcheckbox component.\n\nThe `indicator` attribute is used to differentiate between <b>radio</b>, <b>checkmark</b> and <b>none</b>.\nBy default, the `indicator` is set to <b>radio</b>.<br/>\n\nThe checkbox will always be positioned on the leading side of the menuitem label and\nthe checkmark will always be positioned on the trailing side.\n\nThe radio 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 third 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.",
|
17129
17221
|
"name": "MenuItemRadio",
|
17222
|
+
"slots": [
|
17223
|
+
{
|
17224
|
+
"description": "slot for menu item radio controls to appear of leading end.",
|
17225
|
+
"name": "leading-controls",
|
17226
|
+
"inheritedFrom": {
|
17227
|
+
"name": "ListItem",
|
17228
|
+
"module": "src/components/listitem/listitem.component.ts"
|
17229
|
+
}
|
17230
|
+
},
|
17231
|
+
{
|
17232
|
+
"description": "slot for menu item radio primary label.",
|
17233
|
+
"name": "leading-text-primary-label",
|
17234
|
+
"inheritedFrom": {
|
17235
|
+
"name": "ListItem",
|
17236
|
+
"module": "src/components/listitem/listitem.component.ts"
|
17237
|
+
}
|
17238
|
+
},
|
17239
|
+
{
|
17240
|
+
"description": "slot for menu item radio secondary label.",
|
17241
|
+
"name": "leading-text-secondary-label",
|
17242
|
+
"inheritedFrom": {
|
17243
|
+
"name": "ListItem",
|
17244
|
+
"module": "src/components/listitem/listitem.component.ts"
|
17245
|
+
}
|
17246
|
+
},
|
17247
|
+
{
|
17248
|
+
"description": "slot for menu item radio tertiary label.",
|
17249
|
+
"name": "leading-text-tertiary-label",
|
17250
|
+
"inheritedFrom": {
|
17251
|
+
"name": "ListItem",
|
17252
|
+
"module": "src/components/listitem/listitem.component.ts"
|
17253
|
+
}
|
17254
|
+
},
|
17255
|
+
{
|
17256
|
+
"description": "slot for menu item radio side header text.",
|
17257
|
+
"name": "trailing-text-side-header",
|
17258
|
+
"inheritedFrom": {
|
17259
|
+
"name": "ListItem",
|
17260
|
+
"module": "src/components/listitem/listitem.component.ts"
|
17261
|
+
}
|
17262
|
+
},
|
17263
|
+
{
|
17264
|
+
"description": "slot for menu item radio subline text.",
|
17265
|
+
"name": "trailing-text-subline",
|
17266
|
+
"inheritedFrom": {
|
17267
|
+
"name": "ListItem",
|
17268
|
+
"module": "src/components/listitem/listitem.component.ts"
|
17269
|
+
}
|
17270
|
+
},
|
17271
|
+
{
|
17272
|
+
"description": "slot for menu item radio controls to appear of trailing end.",
|
17273
|
+
"name": "trailing-controls",
|
17274
|
+
"inheritedFrom": {
|
17275
|
+
"name": "ListItem",
|
17276
|
+
"module": "src/components/listitem/listitem.component.ts"
|
17277
|
+
}
|
17278
|
+
}
|
17279
|
+
],
|
17130
17280
|
"members": [
|
17131
17281
|
{
|
17132
17282
|
"kind": "field",
|
17133
|
-
"name": "
|
17283
|
+
"name": "checked",
|
17134
17284
|
"type": {
|
17135
|
-
"text": "
|
17285
|
+
"text": "boolean"
|
17136
17286
|
},
|
17287
|
+
"default": "false",
|
17137
17288
|
"description": "The aria-checked attribute is used to indicate that the menuitemradio is checked or not.",
|
17138
|
-
"
|
17139
|
-
"attribute": "aria-checked",
|
17289
|
+
"attribute": "checked",
|
17140
17290
|
"reflects": true
|
17141
17291
|
},
|
17142
17292
|
{
|
17143
17293
|
"kind": "field",
|
17144
|
-
"name": "
|
17294
|
+
"name": "indicator",
|
17145
17295
|
"type": {
|
17146
|
-
"text": "
|
17296
|
+
"text": "Indicator"
|
17147
17297
|
},
|
17148
|
-
"
|
17149
|
-
"
|
17150
|
-
"attribute": "
|
17298
|
+
"description": "The indicator attribute is used to differentiate between <b>radio</b>, <b>checkmark</b> and <b>none</b>.",
|
17299
|
+
"default": "'radio'",
|
17300
|
+
"attribute": "indicator",
|
17151
17301
|
"reflects": true
|
17152
17302
|
},
|
17303
|
+
{
|
17304
|
+
"kind": "method",
|
17305
|
+
"name": "getAllRadiosWithinSameGroup",
|
17306
|
+
"privacy": "private",
|
17307
|
+
"return": {
|
17308
|
+
"type": {
|
17309
|
+
"text": "MenuItemRadio[]"
|
17310
|
+
}
|
17311
|
+
},
|
17312
|
+
"description": "Returns all radios within the same group (name)."
|
17313
|
+
},
|
17314
|
+
{
|
17315
|
+
"kind": "method",
|
17316
|
+
"name": "updateOtherRadiosCheckedState",
|
17317
|
+
"privacy": "private",
|
17318
|
+
"return": {
|
17319
|
+
"type": {
|
17320
|
+
"text": "void"
|
17321
|
+
}
|
17322
|
+
},
|
17323
|
+
"description": "Updates the checked state of all other radios in the same group.\nThis method is called when a radio is clicked to ensure that only one radio in the group can be checked at a time.\nIt sets the `checked` property of all other radios in the same group to `false`."
|
17324
|
+
},
|
17153
17325
|
{
|
17154
17326
|
"kind": "field",
|
17155
|
-
"name": "
|
17327
|
+
"name": "radioHandleClick",
|
17328
|
+
"privacy": "private",
|
17329
|
+
"description": "Handles click events to set checked state and uncheck siblings in the same group and container.\nIf the menuitemradio is not checked, it sets its checked state to `true`\nand sets all other menuitemradio elements of the same group with checked state to `false`."
|
17330
|
+
},
|
17331
|
+
{
|
17332
|
+
"kind": "method",
|
17333
|
+
"name": "renderStaticRadio",
|
17334
|
+
"privacy": "private",
|
17335
|
+
"return": {
|
17336
|
+
"type": {
|
17337
|
+
"text": ""
|
17338
|
+
}
|
17339
|
+
},
|
17340
|
+
"description": "Returns a static checkbox element if the indicator is set to checkbox.\nIf the indicator is not set to checkbox, it returns nothing."
|
17341
|
+
},
|
17342
|
+
{
|
17343
|
+
"kind": "method",
|
17344
|
+
"name": "renderCheckmarkIcon",
|
17156
17345
|
"privacy": "private",
|
17157
|
-
"
|
17346
|
+
"return": {
|
17347
|
+
"type": {
|
17348
|
+
"text": ""
|
17349
|
+
}
|
17350
|
+
},
|
17351
|
+
"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."
|
17158
17352
|
},
|
17159
17353
|
{
|
17160
17354
|
"kind": "field",
|
@@ -17184,6 +17378,36 @@
|
|
17184
17378
|
"module": "components/menuitem/menuitem.component.js"
|
17185
17379
|
}
|
17186
17380
|
},
|
17381
|
+
{
|
17382
|
+
"kind": "field",
|
17383
|
+
"name": "name",
|
17384
|
+
"type": {
|
17385
|
+
"text": "undefined | string | undefined"
|
17386
|
+
},
|
17387
|
+
"default": "undefined",
|
17388
|
+
"description": "The name attribute is used to identify the menu item when it is selected.",
|
17389
|
+
"attribute": "name",
|
17390
|
+
"reflects": true,
|
17391
|
+
"inheritedFrom": {
|
17392
|
+
"name": "MenuItem",
|
17393
|
+
"module": "components/menuitem/menuitem.component.js"
|
17394
|
+
}
|
17395
|
+
},
|
17396
|
+
{
|
17397
|
+
"kind": "field",
|
17398
|
+
"name": "value",
|
17399
|
+
"type": {
|
17400
|
+
"text": "undefined | string | undefined"
|
17401
|
+
},
|
17402
|
+
"default": "undefined",
|
17403
|
+
"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.",
|
17404
|
+
"attribute": "value",
|
17405
|
+
"reflects": true,
|
17406
|
+
"inheritedFrom": {
|
17407
|
+
"name": "MenuItem",
|
17408
|
+
"module": "components/menuitem/menuitem.component.js"
|
17409
|
+
}
|
17410
|
+
},
|
17187
17411
|
{
|
17188
17412
|
"kind": "method",
|
17189
17413
|
"name": "handleKeyDown",
|
@@ -17610,22 +17834,22 @@
|
|
17610
17834
|
],
|
17611
17835
|
"attributes": [
|
17612
17836
|
{
|
17613
|
-
"name": "
|
17837
|
+
"name": "checked",
|
17614
17838
|
"type": {
|
17615
|
-
"text": "
|
17839
|
+
"text": "boolean"
|
17616
17840
|
},
|
17841
|
+
"default": "false",
|
17617
17842
|
"description": "The aria-checked attribute is used to indicate that the menuitemradio is checked or not.",
|
17618
|
-
"
|
17619
|
-
"fieldName": "ariaChecked"
|
17843
|
+
"fieldName": "checked"
|
17620
17844
|
},
|
17621
17845
|
{
|
17622
|
-
"name": "
|
17846
|
+
"name": "indicator",
|
17623
17847
|
"type": {
|
17624
|
-
"text": "
|
17848
|
+
"text": "Indicator"
|
17625
17849
|
},
|
17626
|
-
"
|
17627
|
-
"
|
17628
|
-
"fieldName": "
|
17850
|
+
"description": "The indicator attribute is used to differentiate between <b>radio</b>, <b>checkmark</b> and <b>none</b>.",
|
17851
|
+
"default": "'radio'",
|
17852
|
+
"fieldName": "indicator"
|
17629
17853
|
},
|
17630
17854
|
{
|
17631
17855
|
"name": "arrow-position",
|
@@ -17651,6 +17875,32 @@
|
|
17651
17875
|
"module": "src/components/menuitem/menuitem.component.ts"
|
17652
17876
|
}
|
17653
17877
|
},
|
17878
|
+
{
|
17879
|
+
"name": "name",
|
17880
|
+
"type": {
|
17881
|
+
"text": "undefined | string | undefined"
|
17882
|
+
},
|
17883
|
+
"default": "undefined",
|
17884
|
+
"description": "The name attribute is used to identify the menu item when it is selected.",
|
17885
|
+
"fieldName": "name",
|
17886
|
+
"inheritedFrom": {
|
17887
|
+
"name": "MenuItem",
|
17888
|
+
"module": "src/components/menuitem/menuitem.component.ts"
|
17889
|
+
}
|
17890
|
+
},
|
17891
|
+
{
|
17892
|
+
"name": "value",
|
17893
|
+
"type": {
|
17894
|
+
"text": "undefined | string | undefined"
|
17895
|
+
},
|
17896
|
+
"default": "undefined",
|
17897
|
+
"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.",
|
17898
|
+
"fieldName": "value",
|
17899
|
+
"inheritedFrom": {
|
17900
|
+
"name": "MenuItem",
|
17901
|
+
"module": "src/components/menuitem/menuitem.component.ts"
|
17902
|
+
}
|
17903
|
+
},
|
17654
17904
|
{
|
17655
17905
|
"name": "disabled",
|
17656
17906
|
"type": {
|
@@ -17715,145 +17965,87 @@
|
|
17715
17965
|
}
|
17716
17966
|
},
|
17717
17967
|
{
|
17718
|
-
"name": "tertiary-label",
|
17719
|
-
"type": {
|
17720
|
-
"text": "string | undefined"
|
17721
|
-
},
|
17722
|
-
"description": "The tertiary label of the list item.\nThis appears on the leading side of the list item.",
|
17723
|
-
"fieldName": "tertiaryLabel",
|
17724
|
-
"inheritedFrom": {
|
17725
|
-
"name": "ListItem",
|
17726
|
-
"module": "src/components/listitem/listitem.component.ts"
|
17727
|
-
}
|
17728
|
-
},
|
17729
|
-
{
|
17730
|
-
"name": "side-header-text",
|
17731
|
-
"type": {
|
17732
|
-
"text": "string | undefined"
|
17733
|
-
},
|
17734
|
-
"description": "The header text of the list item.\nThis appears on the trailing side of the list item.",
|
17735
|
-
"fieldName": "sideHeaderText",
|
17736
|
-
"inheritedFrom": {
|
17737
|
-
"name": "ListItem",
|
17738
|
-
"module": "src/components/listitem/listitem.component.ts"
|
17739
|
-
}
|
17740
|
-
},
|
17741
|
-
{
|
17742
|
-
"name": "subline-text",
|
17743
|
-
"type": {
|
17744
|
-
"text": "string | undefined"
|
17745
|
-
},
|
17746
|
-
"description": "The subline text of the list item.\nThis appears on the trailing side of the list item.",
|
17747
|
-
"fieldName": "sublineText",
|
17748
|
-
"inheritedFrom": {
|
17749
|
-
"name": "ListItem",
|
17750
|
-
"module": "src/components/listitem/listitem.component.ts"
|
17751
|
-
}
|
17752
|
-
},
|
17753
|
-
{
|
17754
|
-
"name": "soft-disabled",
|
17755
|
-
"type": {
|
17756
|
-
"text": "boolean | undefined"
|
17757
|
-
},
|
17758
|
-
"description": "Indicates whether the element is soft disabled.\nWhen set to `true`, the element appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe element behaves like a disabled element, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
|
17759
|
-
"default": "undefined",
|
17760
|
-
"fieldName": "softDisabled",
|
17761
|
-
"inheritedFrom": {
|
17762
|
-
"name": "ListItem",
|
17763
|
-
"module": "src/components/listitem/listitem.component.ts"
|
17764
|
-
}
|
17765
|
-
},
|
17766
|
-
{
|
17767
|
-
"name": "tooltip-text",
|
17768
|
-
"type": {
|
17769
|
-
"text": "string | undefined"
|
17770
|
-
},
|
17771
|
-
"description": "The tooltip text is displayed on hover of the list item.",
|
17772
|
-
"fieldName": "tooltipText",
|
17773
|
-
"inheritedFrom": {
|
17774
|
-
"name": "ListItem",
|
17775
|
-
"module": "src/components/listitem/listitem.component.ts"
|
17776
|
-
}
|
17777
|
-
},
|
17778
|
-
{
|
17779
|
-
"name": "tooltip-placement",
|
17780
|
-
"type": {
|
17781
|
-
"text": "PopoverPlacement"
|
17782
|
-
},
|
17783
|
-
"description": "The tooltip placement of the list item. If the tooltip text is present,\nthen this tooltip placement will be applied.",
|
17784
|
-
"default": "'top'",
|
17785
|
-
"fieldName": "tooltipPlacement",
|
17786
|
-
"inheritedFrom": {
|
17787
|
-
"name": "ListItem",
|
17788
|
-
"module": "src/components/listitem/listitem.component.ts"
|
17789
|
-
}
|
17790
|
-
}
|
17791
|
-
],
|
17792
|
-
"superclass": {
|
17793
|
-
"name": "MenuItem",
|
17794
|
-
"module": "/src/components/menuitem/menuitem.component"
|
17795
|
-
},
|
17796
|
-
"tagName": "mdc-menuitemradio",
|
17797
|
-
"jsDoc": "/**\n * A menuitemradio component is a checkable menuitem that is used in a menu.\n * A menuitemradio should be checked only one at a time. <br/>\n * There should be no focusable descendants inside this menuitemradio component.\n *\n * The `aria-checked` menuitemradio attribute is used to indicate that the menuitemradio is checked or not.\n *\n * If you want more than one item in a group to be checked, consider using menuitemcheckbox component.\n *\n * If a menuitemradio is disabled, then the `aria-disabled` attribute is set to `true`.\n *\n * @dependency mdc-staticradio\n * @dependency mdc-text\n *\n * @tagname mdc-menuitemradio\n *\n * @event change - (React: onChange) This event is dispatched when the menuitemradio changes.\n * @event click - (React: onClick) This event is dispatched when the menuitemradio is clicked.\n * @event focus - (React: onFocus) This event is dispatched when the menuitemradio receives focus.\n */",
|
17798
|
-
"customElement": true,
|
17799
|
-
"slots": [
|
17800
|
-
{
|
17801
|
-
"description": "slot for list item controls to appear of leading end.",
|
17802
|
-
"name": "leading-controls",
|
17803
|
-
"inheritedFrom": {
|
17804
|
-
"name": "ListItem",
|
17805
|
-
"module": "src/components/listitem/listitem.component.ts"
|
17806
|
-
}
|
17807
|
-
},
|
17808
|
-
{
|
17809
|
-
"description": "slot for list item primary label.",
|
17810
|
-
"name": "leading-text-primary-label",
|
17968
|
+
"name": "tertiary-label",
|
17969
|
+
"type": {
|
17970
|
+
"text": "string | undefined"
|
17971
|
+
},
|
17972
|
+
"description": "The tertiary label of the list item.\nThis appears on the leading side of the list item.",
|
17973
|
+
"fieldName": "tertiaryLabel",
|
17811
17974
|
"inheritedFrom": {
|
17812
17975
|
"name": "ListItem",
|
17813
17976
|
"module": "src/components/listitem/listitem.component.ts"
|
17814
17977
|
}
|
17815
17978
|
},
|
17816
17979
|
{
|
17817
|
-
"
|
17818
|
-
"
|
17980
|
+
"name": "side-header-text",
|
17981
|
+
"type": {
|
17982
|
+
"text": "string | undefined"
|
17983
|
+
},
|
17984
|
+
"description": "The header text of the list item.\nThis appears on the trailing side of the list item.",
|
17985
|
+
"fieldName": "sideHeaderText",
|
17819
17986
|
"inheritedFrom": {
|
17820
17987
|
"name": "ListItem",
|
17821
17988
|
"module": "src/components/listitem/listitem.component.ts"
|
17822
17989
|
}
|
17823
17990
|
},
|
17824
17991
|
{
|
17825
|
-
"
|
17826
|
-
"
|
17992
|
+
"name": "subline-text",
|
17993
|
+
"type": {
|
17994
|
+
"text": "string | undefined"
|
17995
|
+
},
|
17996
|
+
"description": "The subline text of the list item.\nThis appears on the trailing side of the list item.",
|
17997
|
+
"fieldName": "sublineText",
|
17827
17998
|
"inheritedFrom": {
|
17828
17999
|
"name": "ListItem",
|
17829
18000
|
"module": "src/components/listitem/listitem.component.ts"
|
17830
18001
|
}
|
17831
18002
|
},
|
17832
18003
|
{
|
17833
|
-
"
|
17834
|
-
"
|
18004
|
+
"name": "soft-disabled",
|
18005
|
+
"type": {
|
18006
|
+
"text": "boolean | undefined"
|
18007
|
+
},
|
18008
|
+
"description": "Indicates whether the element is soft disabled.\nWhen set to `true`, the element appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe element behaves like a disabled element, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
|
18009
|
+
"default": "undefined",
|
18010
|
+
"fieldName": "softDisabled",
|
17835
18011
|
"inheritedFrom": {
|
17836
18012
|
"name": "ListItem",
|
17837
18013
|
"module": "src/components/listitem/listitem.component.ts"
|
17838
18014
|
}
|
17839
18015
|
},
|
17840
18016
|
{
|
17841
|
-
"
|
17842
|
-
"
|
18017
|
+
"name": "tooltip-text",
|
18018
|
+
"type": {
|
18019
|
+
"text": "string | undefined"
|
18020
|
+
},
|
18021
|
+
"description": "The tooltip text is displayed on hover of the list item.",
|
18022
|
+
"fieldName": "tooltipText",
|
17843
18023
|
"inheritedFrom": {
|
17844
18024
|
"name": "ListItem",
|
17845
18025
|
"module": "src/components/listitem/listitem.component.ts"
|
17846
18026
|
}
|
17847
18027
|
},
|
17848
18028
|
{
|
17849
|
-
"
|
17850
|
-
"
|
18029
|
+
"name": "tooltip-placement",
|
18030
|
+
"type": {
|
18031
|
+
"text": "PopoverPlacement"
|
18032
|
+
},
|
18033
|
+
"description": "The tooltip placement of the list item. If the tooltip text is present,\nthen this tooltip placement will be applied.",
|
18034
|
+
"default": "'top'",
|
18035
|
+
"fieldName": "tooltipPlacement",
|
17851
18036
|
"inheritedFrom": {
|
17852
18037
|
"name": "ListItem",
|
17853
18038
|
"module": "src/components/listitem/listitem.component.ts"
|
17854
18039
|
}
|
17855
18040
|
}
|
17856
18041
|
],
|
18042
|
+
"superclass": {
|
18043
|
+
"name": "MenuItem",
|
18044
|
+
"module": "/src/components/menuitem/menuitem.component"
|
18045
|
+
},
|
18046
|
+
"tagName": "mdc-menuitemradio",
|
18047
|
+
"jsDoc": "/**\n * A menuitemradio component is a checkable menuitem that is used in a menu.\n * A menuitemradio should be checked only one at a time. <br/>\n * There should be no focusable descendants inside this menuitemradio component.\n *\n * The `checked` menuitemradio attribute is used to indicate that the menuitemradio is checked or not.\n *\n * Menu item radio has `name` and `value` attribute that can be used to identify the menu item when it is selected.\n *\n * If you want more than one item in a group to be checked, consider using menuitemcheckbox component.\n *\n * The `indicator` attribute is used to differentiate between <b>radio</b>, <b>checkmark</b> and <b>none</b>.\n * By default, the `indicator` is set to <b>radio</b>.<br/>\n *\n * The checkbox will always be positioned on the leading side of the menuitem label and\n * the checkmark will always be positioned on the trailing side.\n *\n * The radio 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 third 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 * @dependency mdc-staticradio\n * @dependency mdc-text\n *\n * @tagname mdc-menuitemradio\n *\n * @slot leading-controls - slot for menu item radio controls to appear of leading end.\n * @slot leading-text-primary-label - slot for menu item radio primary label.\n * @slot leading-text-secondary-label - slot for menu item radio secondary label.\n * @slot leading-text-tertiary-label - slot for menu item radio tertiary label.\n * @slot trailing-text-side-header - slot for menu item radio side header text.\n * @slot trailing-text-subline - slot for menu item radio subline text.\n * @slot trailing-controls - slot for menu item radio controls to appear of trailing end.\n *\n * @event change - (React: onChange) This event is dispatched when the menuitemradio changes.\n * @event click - (React: onClick) This event is dispatched when the menuitemradio is clicked.\n * @event focus - (React: onFocus) This event is dispatched when the menuitemradio receives focus.\n */",
|
18048
|
+
"customElement": true,
|
17857
18049
|
"cssProperties": [
|
17858
18050
|
{
|
17859
18051
|
"description": "Allows customization of the default background color.",
|
@@ -17943,16 +18135,16 @@
|
|
17943
18135
|
"name": "MenuPopover",
|
17944
18136
|
"slots": [
|
17945
18137
|
{
|
17946
|
-
"description": "
|
17947
|
-
"name": "default"
|
17948
|
-
},
|
17949
|
-
{
|
17950
|
-
"description": "Default slot for the popover content",
|
18138
|
+
"description": "Default slot for the menu popover content",
|
17951
18139
|
"name": "",
|
17952
18140
|
"inheritedFrom": {
|
17953
18141
|
"name": "Popover",
|
17954
18142
|
"module": "src/components/popover/popover.component.ts"
|
17955
18143
|
}
|
18144
|
+
},
|
18145
|
+
{
|
18146
|
+
"description": "Contains the menu items to be displayed in the popover",
|
18147
|
+
"name": "default"
|
17956
18148
|
}
|
17957
18149
|
],
|
17958
18150
|
"members": [
|
@@ -18022,6 +18214,11 @@
|
|
18022
18214
|
"kind": "method",
|
18023
18215
|
"name": "closeAllMenuPopovers",
|
18024
18216
|
"privacy": "private",
|
18217
|
+
"return": {
|
18218
|
+
"type": {
|
18219
|
+
"text": "void"
|
18220
|
+
}
|
18221
|
+
},
|
18025
18222
|
"parameters": [
|
18026
18223
|
{
|
18027
18224
|
"name": "until",
|
@@ -19277,6 +19474,54 @@
|
|
19277
19474
|
}
|
19278
19475
|
}
|
19279
19476
|
],
|
19477
|
+
"events": [
|
19478
|
+
{
|
19479
|
+
"description": "(React: onChange) This event is dispatched when a `menuitemcheckbox`, or `menuitemradio` changes.",
|
19480
|
+
"name": "change",
|
19481
|
+
"reactName": "onChange"
|
19482
|
+
},
|
19483
|
+
{
|
19484
|
+
"description": "(React: onAction) This event is dispatched when a menuItem selected and the menu closes.",
|
19485
|
+
"name": "action",
|
19486
|
+
"reactName": "onAction"
|
19487
|
+
},
|
19488
|
+
{
|
19489
|
+
"description": "(React: onShown) This event is dispatched when the popover is shown",
|
19490
|
+
"name": "shown",
|
19491
|
+
"reactName": "onShown",
|
19492
|
+
"inheritedFrom": {
|
19493
|
+
"name": "Popover",
|
19494
|
+
"module": "src/components/popover/popover.component.ts"
|
19495
|
+
}
|
19496
|
+
},
|
19497
|
+
{
|
19498
|
+
"description": "(React: onHidden) This event is dispatched when the popover is hidden",
|
19499
|
+
"name": "hidden",
|
19500
|
+
"reactName": "onHidden",
|
19501
|
+
"inheritedFrom": {
|
19502
|
+
"name": "Popover",
|
19503
|
+
"module": "src/components/popover/popover.component.ts"
|
19504
|
+
}
|
19505
|
+
},
|
19506
|
+
{
|
19507
|
+
"description": "(React: onCreated) This event is dispatched when the popover is created (added to the DOM)",
|
19508
|
+
"name": "created",
|
19509
|
+
"reactName": "onCreated",
|
19510
|
+
"inheritedFrom": {
|
19511
|
+
"name": "Popover",
|
19512
|
+
"module": "src/components/popover/popover.component.ts"
|
19513
|
+
}
|
19514
|
+
},
|
19515
|
+
{
|
19516
|
+
"description": "(React: onDestroyed) This event is dispatched when the popover is destroyed (removed from the DOM)",
|
19517
|
+
"name": "destroyed",
|
19518
|
+
"reactName": "onDestroyed",
|
19519
|
+
"inheritedFrom": {
|
19520
|
+
"name": "Popover",
|
19521
|
+
"module": "src/components/popover/popover.component.ts"
|
19522
|
+
}
|
19523
|
+
}
|
19524
|
+
],
|
19280
19525
|
"attributes": [
|
19281
19526
|
{
|
19282
19527
|
"name": "placement",
|
@@ -19674,7 +19919,7 @@
|
|
19674
19919
|
"module": "/src/components/popover/popover.component"
|
19675
19920
|
},
|
19676
19921
|
"tagName": "mdc-menupopover",
|
19677
|
-
"jsDoc": "/**\n * A popover menu component that displays a list of menu items in a floating container.\n * It's designed to work in conjunction with `mdc-menubar` and `mdc-menuitem` to create\n * accessible, 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 *\n * The component extends `mdc-popover` and adds menu-specific behaviors and styling.\n * When nested within another `mdc-menupopover`, it automatically adjusts its behavior\n * to work as a submenu (right-aligned, shows on hover).\n *\n * The orientation of the menu popover is always set to `vertical`.\n *\n * @tagname mdc-menupopover\n * @slot default - Contains the menu items to be displayed in the popover\n */",
|
19922
|
+
"jsDoc": "/**\n * A popover menu component that displays a list of menu items in a floating container.\n * It's designed to work in conjunction with `mdc-menubar` and `mdc-menuitem` to create\n * accessible, 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 *\n * The component extends `mdc-popover` and adds menu-specific behaviors and styling.\n * When nested within another `mdc-menupopover`, it automatically adjusts its behavior\n * to work as a submenu (right-aligned, shows on hover).\n *\n * The orientation of the menu popover is always set to `vertical`.\n *\n * @tagname mdc-menupopover\n *\n * @slot - Default slot for the menu popover content\n *\n * @event change - (React: onChange) This event is dispatched when a `menuitemcheckbox`, or `menuitemradio` changes.\n * @event action - (React: onAction) This event is dispatched when a menuItem selected and the menu closes.\n *\n * @slot default - Contains the menu items to be displayed in the popover\n */",
|
19678
19923
|
"customElement": true,
|
19679
19924
|
"cssProperties": [
|
19680
19925
|
{
|
@@ -19757,44 +20002,6 @@
|
|
19757
20002
|
"module": "src/components/popover/popover.component.ts"
|
19758
20003
|
}
|
19759
20004
|
}
|
19760
|
-
],
|
19761
|
-
"events": [
|
19762
|
-
{
|
19763
|
-
"description": "(React: onShown) This event is dispatched when the popover is shown",
|
19764
|
-
"name": "shown",
|
19765
|
-
"reactName": "onShown",
|
19766
|
-
"inheritedFrom": {
|
19767
|
-
"name": "Popover",
|
19768
|
-
"module": "src/components/popover/popover.component.ts"
|
19769
|
-
}
|
19770
|
-
},
|
19771
|
-
{
|
19772
|
-
"description": "(React: onHidden) This event is dispatched when the popover is hidden",
|
19773
|
-
"name": "hidden",
|
19774
|
-
"reactName": "onHidden",
|
19775
|
-
"inheritedFrom": {
|
19776
|
-
"name": "Popover",
|
19777
|
-
"module": "src/components/popover/popover.component.ts"
|
19778
|
-
}
|
19779
|
-
},
|
19780
|
-
{
|
19781
|
-
"description": "(React: onCreated) This event is dispatched when the popover is created (added to the DOM)",
|
19782
|
-
"name": "created",
|
19783
|
-
"reactName": "onCreated",
|
19784
|
-
"inheritedFrom": {
|
19785
|
-
"name": "Popover",
|
19786
|
-
"module": "src/components/popover/popover.component.ts"
|
19787
|
-
}
|
19788
|
-
},
|
19789
|
-
{
|
19790
|
-
"description": "(React: onDestroyed) This event is dispatched when the popover is destroyed (removed from the DOM)",
|
19791
|
-
"name": "destroyed",
|
19792
|
-
"reactName": "onDestroyed",
|
19793
|
-
"inheritedFrom": {
|
19794
|
-
"name": "Popover",
|
19795
|
-
"module": "src/components/popover/popover.component.ts"
|
19796
|
-
}
|
19797
|
-
}
|
19798
20005
|
]
|
19799
20006
|
}
|
19800
20007
|
],
|
@@ -19823,13 +20030,68 @@
|
|
19823
20030
|
"name": ""
|
19824
20031
|
}
|
19825
20032
|
],
|
19826
|
-
"members": [
|
20033
|
+
"members": [
|
20034
|
+
{
|
20035
|
+
"kind": "field",
|
20036
|
+
"name": "ariaLabel",
|
20037
|
+
"type": {
|
20038
|
+
"text": "string | null"
|
20039
|
+
},
|
20040
|
+
"default": "null",
|
20041
|
+
"description": "The primary headerText of the list item.\nThis appears on the leading side of the list item.",
|
20042
|
+
"attribute": "aria-label",
|
20043
|
+
"reflects": true
|
20044
|
+
},
|
20045
|
+
{
|
20046
|
+
"kind": "field",
|
20047
|
+
"name": "headerText",
|
20048
|
+
"type": {
|
20049
|
+
"text": "string | null"
|
20050
|
+
},
|
20051
|
+
"default": "null",
|
20052
|
+
"description": "The primary headerText of the list item.\nThis appears on the leading side of the list item.",
|
20053
|
+
"attribute": "headerText",
|
20054
|
+
"reflects": true
|
20055
|
+
},
|
20056
|
+
{
|
20057
|
+
"kind": "method",
|
20058
|
+
"name": "renderLabel",
|
20059
|
+
"privacy": "private"
|
20060
|
+
}
|
20061
|
+
],
|
20062
|
+
"events": [
|
20063
|
+
{
|
20064
|
+
"description": "(React: onChange) This event is dispatched when a `menuitemcheckbox`, or `menuitemradio` changes.",
|
20065
|
+
"name": "change",
|
20066
|
+
"reactName": "onChange"
|
20067
|
+
}
|
20068
|
+
],
|
20069
|
+
"attributes": [
|
20070
|
+
{
|
20071
|
+
"name": "aria-label",
|
20072
|
+
"type": {
|
20073
|
+
"text": "string | null"
|
20074
|
+
},
|
20075
|
+
"default": "null",
|
20076
|
+
"description": "The primary headerText of the list item.\nThis appears on the leading side of the list item.",
|
20077
|
+
"fieldName": "ariaLabel"
|
20078
|
+
},
|
20079
|
+
{
|
20080
|
+
"name": "headerText",
|
20081
|
+
"type": {
|
20082
|
+
"text": "string | null"
|
20083
|
+
},
|
20084
|
+
"default": "null",
|
20085
|
+
"description": "The primary headerText of the list item.\nThis appears on the leading side of the list item.",
|
20086
|
+
"fieldName": "headerText"
|
20087
|
+
}
|
20088
|
+
],
|
19827
20089
|
"superclass": {
|
19828
20090
|
"name": "Component",
|
19829
20091
|
"module": "/src/models"
|
19830
20092
|
},
|
19831
20093
|
"tagName": "mdc-menusection",
|
19832
|
-
"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 */",
|
20094
|
+
"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 */",
|
19833
20095
|
"customElement": true
|
19834
20096
|
}
|
19835
20097
|
],
|
@@ -20137,6 +20399,36 @@
|
|
20137
20399
|
"module": "components/menuitem/menuitem.component.js"
|
20138
20400
|
}
|
20139
20401
|
},
|
20402
|
+
{
|
20403
|
+
"kind": "field",
|
20404
|
+
"name": "name",
|
20405
|
+
"type": {
|
20406
|
+
"text": "undefined | string | undefined"
|
20407
|
+
},
|
20408
|
+
"default": "undefined",
|
20409
|
+
"description": "The name attribute is used to identify the menu item when it is selected.",
|
20410
|
+
"attribute": "name",
|
20411
|
+
"reflects": true,
|
20412
|
+
"inheritedFrom": {
|
20413
|
+
"name": "MenuItem",
|
20414
|
+
"module": "components/menuitem/menuitem.component.js"
|
20415
|
+
}
|
20416
|
+
},
|
20417
|
+
{
|
20418
|
+
"kind": "field",
|
20419
|
+
"name": "value",
|
20420
|
+
"type": {
|
20421
|
+
"text": "undefined | string | undefined"
|
20422
|
+
},
|
20423
|
+
"default": "undefined",
|
20424
|
+
"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.",
|
20425
|
+
"attribute": "value",
|
20426
|
+
"reflects": true,
|
20427
|
+
"inheritedFrom": {
|
20428
|
+
"name": "MenuItem",
|
20429
|
+
"module": "components/menuitem/menuitem.component.js"
|
20430
|
+
}
|
20431
|
+
},
|
20140
20432
|
{
|
20141
20433
|
"kind": "method",
|
20142
20434
|
"name": "handleKeyDown",
|
@@ -20658,6 +20950,32 @@
|
|
20658
20950
|
"module": "src/components/menuitem/menuitem.component.ts"
|
20659
20951
|
}
|
20660
20952
|
},
|
20953
|
+
{
|
20954
|
+
"name": "name",
|
20955
|
+
"type": {
|
20956
|
+
"text": "undefined | string | undefined"
|
20957
|
+
},
|
20958
|
+
"default": "undefined",
|
20959
|
+
"description": "The name attribute is used to identify the menu item when it is selected.",
|
20960
|
+
"fieldName": "name",
|
20961
|
+
"inheritedFrom": {
|
20962
|
+
"name": "MenuItem",
|
20963
|
+
"module": "src/components/menuitem/menuitem.component.ts"
|
20964
|
+
}
|
20965
|
+
},
|
20966
|
+
{
|
20967
|
+
"name": "value",
|
20968
|
+
"type": {
|
20969
|
+
"text": "undefined | string | undefined"
|
20970
|
+
},
|
20971
|
+
"default": "undefined",
|
20972
|
+
"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.",
|
20973
|
+
"fieldName": "value",
|
20974
|
+
"inheritedFrom": {
|
20975
|
+
"name": "MenuItem",
|
20976
|
+
"module": "src/components/menuitem/menuitem.component.ts"
|
20977
|
+
}
|
20978
|
+
},
|
20661
20979
|
{
|
20662
20980
|
"name": "disabled",
|
20663
20981
|
"type": {
|
@@ -20811,7 +21129,7 @@
|
|
20811
21129
|
"customElement": true,
|
20812
21130
|
"slots": [
|
20813
21131
|
{
|
20814
|
-
"description": "slot for
|
21132
|
+
"description": "slot for menu item controls to appear of leading end.",
|
20815
21133
|
"name": "leading-controls",
|
20816
21134
|
"inheritedFrom": {
|
20817
21135
|
"name": "ListItem",
|
@@ -20819,7 +21137,7 @@
|
|
20819
21137
|
}
|
20820
21138
|
},
|
20821
21139
|
{
|
20822
|
-
"description": "slot for
|
21140
|
+
"description": "slot for menu item primary label.",
|
20823
21141
|
"name": "leading-text-primary-label",
|
20824
21142
|
"inheritedFrom": {
|
20825
21143
|
"name": "ListItem",
|
@@ -20827,7 +21145,7 @@
|
|
20827
21145
|
}
|
20828
21146
|
},
|
20829
21147
|
{
|
20830
|
-
"description": "slot for
|
21148
|
+
"description": "slot for menu item secondary label.",
|
20831
21149
|
"name": "leading-text-secondary-label",
|
20832
21150
|
"inheritedFrom": {
|
20833
21151
|
"name": "ListItem",
|
@@ -20835,7 +21153,7 @@
|
|
20835
21153
|
}
|
20836
21154
|
},
|
20837
21155
|
{
|
20838
|
-
"description": "slot for
|
21156
|
+
"description": "slot for menu item tertiary label.",
|
20839
21157
|
"name": "leading-text-tertiary-label",
|
20840
21158
|
"inheritedFrom": {
|
20841
21159
|
"name": "ListItem",
|
@@ -20843,7 +21161,7 @@
|
|
20843
21161
|
}
|
20844
21162
|
},
|
20845
21163
|
{
|
20846
|
-
"description": "slot for
|
21164
|
+
"description": "slot for menu item side header text.",
|
20847
21165
|
"name": "trailing-text-side-header",
|
20848
21166
|
"inheritedFrom": {
|
20849
21167
|
"name": "ListItem",
|
@@ -20851,7 +21169,7 @@
|
|
20851
21169
|
}
|
20852
21170
|
},
|
20853
21171
|
{
|
20854
|
-
"description": "slot for
|
21172
|
+
"description": "slot for menu item subline text.",
|
20855
21173
|
"name": "trailing-text-subline",
|
20856
21174
|
"inheritedFrom": {
|
20857
21175
|
"name": "ListItem",
|
@@ -20859,7 +21177,7 @@
|
|
20859
21177
|
}
|
20860
21178
|
},
|
20861
21179
|
{
|
20862
|
-
"description": "slot for
|
21180
|
+
"description": "slot for menu item controls to appear of trailing end.",
|
20863
21181
|
"name": "trailing-controls",
|
20864
21182
|
"inheritedFrom": {
|
20865
21183
|
"name": "ListItem",
|