@momentum-design/components 0.81.1 → 0.81.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 +168 -168
- package/dist/browser/index.js.map +4 -4
- package/dist/custom-elements.json +581 -806
- package/dist/index.d.ts +1 -2
- package/dist/index.js +1 -2
- package/dist/react/index.d.ts +3 -4
- package/dist/react/index.js +3 -4
- package/dist/utils/mixins/MenuMixin.js +1 -3
- package/package.json +1 -1
- package/dist/components/menu/index.d.ts +0 -8
- package/dist/components/menu/index.js +0 -5
- package/dist/components/menu/menu.component.d.ts +0 -19
- package/dist/components/menu/menu.component.js +0 -35
- package/dist/components/menu/menu.constants.d.ts +0 -2
- package/dist/components/menu/menu.constants.js +0 -3
- package/dist/react/menu/index.d.ts +0 -13
- package/dist/react/menu/index.js +0 -22
|
@@ -14941,231 +14941,6 @@
|
|
|
14941
14941
|
}
|
|
14942
14942
|
]
|
|
14943
14943
|
},
|
|
14944
|
-
{
|
|
14945
|
-
"kind": "javascript-module",
|
|
14946
|
-
"path": "components/menu/menu.component.js",
|
|
14947
|
-
"declarations": [
|
|
14948
|
-
{
|
|
14949
|
-
"kind": "class",
|
|
14950
|
-
"description": "mdc-menu component is used to display a group of menu items. It is used as a container to wrap menu items.\nIt contains the menu header component.",
|
|
14951
|
-
"name": "Menu",
|
|
14952
|
-
"slots": [
|
|
14953
|
-
{
|
|
14954
|
-
"description": "This is a default/unnamed slot",
|
|
14955
|
-
"name": "default",
|
|
14956
|
-
"inheritedFrom": {
|
|
14957
|
-
"name": "List",
|
|
14958
|
-
"module": "src/components/list/list.component.ts"
|
|
14959
|
-
}
|
|
14960
|
-
}
|
|
14961
|
-
],
|
|
14962
|
-
"members": [
|
|
14963
|
-
{
|
|
14964
|
-
"kind": "field",
|
|
14965
|
-
"name": "dataAriaLabel",
|
|
14966
|
-
"type": {
|
|
14967
|
-
"text": "string | null"
|
|
14968
|
-
},
|
|
14969
|
-
"default": "null",
|
|
14970
|
-
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
|
14971
|
-
"attribute": "data-aria-label",
|
|
14972
|
-
"reflects": true,
|
|
14973
|
-
"inheritedFrom": {
|
|
14974
|
-
"name": "List",
|
|
14975
|
-
"module": "components/list/list.component.js"
|
|
14976
|
-
}
|
|
14977
|
-
},
|
|
14978
|
-
{
|
|
14979
|
-
"kind": "field",
|
|
14980
|
-
"name": "headerText",
|
|
14981
|
-
"type": {
|
|
14982
|
-
"text": "string | undefined"
|
|
14983
|
-
},
|
|
14984
|
-
"description": "The header text of the list.",
|
|
14985
|
-
"attribute": "header-text",
|
|
14986
|
-
"reflects": true,
|
|
14987
|
-
"inheritedFrom": {
|
|
14988
|
-
"name": "List",
|
|
14989
|
-
"module": "components/list/list.component.js"
|
|
14990
|
-
}
|
|
14991
|
-
},
|
|
14992
|
-
{
|
|
14993
|
-
"kind": "method",
|
|
14994
|
-
"name": "handleKeyDown",
|
|
14995
|
-
"privacy": "private",
|
|
14996
|
-
"return": {
|
|
14997
|
-
"type": {
|
|
14998
|
-
"text": "void"
|
|
14999
|
-
}
|
|
15000
|
-
},
|
|
15001
|
-
"parameters": [
|
|
15002
|
-
{
|
|
15003
|
-
"name": "event",
|
|
15004
|
-
"type": {
|
|
15005
|
-
"text": "KeyboardEvent"
|
|
15006
|
-
},
|
|
15007
|
-
"description": "The keyboard event."
|
|
15008
|
-
}
|
|
15009
|
-
],
|
|
15010
|
-
"description": "Handles the keydown event on the list element.\nIf the key is 'ArrowUp' or 'ArrowDown', it focuses to the previous or next list item\nand sets the active tabindex of the list item.\nPrevents the default event behavior.",
|
|
15011
|
-
"inheritedFrom": {
|
|
15012
|
-
"name": "List",
|
|
15013
|
-
"module": "components/list/list.component.js"
|
|
15014
|
-
}
|
|
15015
|
-
},
|
|
15016
|
-
{
|
|
15017
|
-
"kind": "method",
|
|
15018
|
-
"name": "getCurrentIndex",
|
|
15019
|
-
"privacy": "private",
|
|
15020
|
-
"return": {
|
|
15021
|
-
"type": {
|
|
15022
|
-
"text": ""
|
|
15023
|
-
}
|
|
15024
|
-
},
|
|
15025
|
-
"parameters": [
|
|
15026
|
-
{
|
|
15027
|
-
"name": "target",
|
|
15028
|
-
"type": {
|
|
15029
|
-
"text": "EventTarget | null"
|
|
15030
|
-
},
|
|
15031
|
-
"description": "The target element to find the index of."
|
|
15032
|
-
}
|
|
15033
|
-
],
|
|
15034
|
-
"description": "Returns the index of the given target in the listItems array.\nIf the target is not a list item, but a child element of a list item,\nit returns the index of the parent list item.",
|
|
15035
|
-
"inheritedFrom": {
|
|
15036
|
-
"name": "List",
|
|
15037
|
-
"module": "components/list/list.component.js"
|
|
15038
|
-
}
|
|
15039
|
-
},
|
|
15040
|
-
{
|
|
15041
|
-
"kind": "method",
|
|
15042
|
-
"name": "getNewIndexBasedOnKey",
|
|
15043
|
-
"privacy": "private",
|
|
15044
|
-
"return": {
|
|
15045
|
-
"type": {
|
|
15046
|
-
"text": ""
|
|
15047
|
-
}
|
|
15048
|
-
},
|
|
15049
|
-
"parameters": [
|
|
15050
|
-
{
|
|
15051
|
-
"name": "key",
|
|
15052
|
-
"type": {
|
|
15053
|
-
"text": "string"
|
|
15054
|
-
},
|
|
15055
|
-
"description": "The key that was pressed."
|
|
15056
|
-
},
|
|
15057
|
-
{
|
|
15058
|
-
"name": "currentIndex",
|
|
15059
|
-
"type": {
|
|
15060
|
-
"text": "number"
|
|
15061
|
-
},
|
|
15062
|
-
"description": "The current index of the focused list item."
|
|
15063
|
-
},
|
|
15064
|
-
{
|
|
15065
|
-
"name": "wrappedDivsCount",
|
|
15066
|
-
"type": {
|
|
15067
|
-
"text": "number"
|
|
15068
|
-
},
|
|
15069
|
-
"description": "The total number of list items."
|
|
15070
|
-
}
|
|
15071
|
-
],
|
|
15072
|
-
"description": "Calculates a new index based on the pressed keyboard key.\nSupports navigation keys for moving focus within a list.",
|
|
15073
|
-
"inheritedFrom": {
|
|
15074
|
-
"name": "List",
|
|
15075
|
-
"module": "components/list/list.component.js"
|
|
15076
|
-
}
|
|
15077
|
-
},
|
|
15078
|
-
{
|
|
15079
|
-
"kind": "method",
|
|
15080
|
-
"name": "handleMouseClick",
|
|
15081
|
-
"privacy": "protected",
|
|
15082
|
-
"return": {
|
|
15083
|
-
"type": {
|
|
15084
|
-
"text": "void"
|
|
15085
|
-
}
|
|
15086
|
-
},
|
|
15087
|
-
"parameters": [
|
|
15088
|
-
{
|
|
15089
|
-
"name": "event",
|
|
15090
|
-
"type": {
|
|
15091
|
-
"text": "MouseEvent"
|
|
15092
|
-
},
|
|
15093
|
-
"description": "The mouse event."
|
|
15094
|
-
}
|
|
15095
|
-
],
|
|
15096
|
-
"description": "Handles the mouse click event on the list element.\nFinds the index of the target element in the list items array and calls\n`resetTabIndexAndSetActiveTabIndex` with that index.",
|
|
15097
|
-
"inheritedFrom": {
|
|
15098
|
-
"name": "List",
|
|
15099
|
-
"module": "components/list/list.component.js"
|
|
15100
|
-
}
|
|
15101
|
-
},
|
|
15102
|
-
{
|
|
15103
|
-
"kind": "method",
|
|
15104
|
-
"name": "resetTabIndexAndSetActiveTabIndex",
|
|
15105
|
-
"privacy": "private",
|
|
15106
|
-
"parameters": [
|
|
15107
|
-
{
|
|
15108
|
-
"name": "newIndex",
|
|
15109
|
-
"type": {
|
|
15110
|
-
"text": "number"
|
|
15111
|
-
},
|
|
15112
|
-
"description": "The index of the new active element in the list."
|
|
15113
|
-
}
|
|
15114
|
-
],
|
|
15115
|
-
"description": "Resets all list items tabindex to -1 and sets the tabindex of the\nelement at the given index to 0, effectively setting the active\nelement. This is used when navigating the list via keyboard.",
|
|
15116
|
-
"inheritedFrom": {
|
|
15117
|
-
"name": "List",
|
|
15118
|
-
"module": "components/list/list.component.js"
|
|
15119
|
-
}
|
|
15120
|
-
}
|
|
15121
|
-
],
|
|
15122
|
-
"superclass": {
|
|
15123
|
-
"name": "List",
|
|
15124
|
-
"module": "/src/components/list/list.component"
|
|
15125
|
-
},
|
|
15126
|
-
"tagName": "mdc-menu",
|
|
15127
|
-
"jsDoc": "/**\n * mdc-menu component is used to display a group of menu items. It is used as a container to wrap menu items.\n * It contains the menu header component.\n *\n * @dependency mdc-text\n *\n * @tagname mdc-menu\n *\n * @slot default - This is a default/unnamed slot\n */",
|
|
15128
|
-
"customElement": true,
|
|
15129
|
-
"attributes": [
|
|
15130
|
-
{
|
|
15131
|
-
"name": "data-aria-label",
|
|
15132
|
-
"type": {
|
|
15133
|
-
"text": "string | null"
|
|
15134
|
-
},
|
|
15135
|
-
"default": "null",
|
|
15136
|
-
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
|
15137
|
-
"fieldName": "dataAriaLabel",
|
|
15138
|
-
"inheritedFrom": {
|
|
15139
|
-
"name": "List",
|
|
15140
|
-
"module": "src/components/list/list.component.ts"
|
|
15141
|
-
}
|
|
15142
|
-
},
|
|
15143
|
-
{
|
|
15144
|
-
"name": "header-text",
|
|
15145
|
-
"type": {
|
|
15146
|
-
"text": "string | undefined"
|
|
15147
|
-
},
|
|
15148
|
-
"description": "The header text of the list.",
|
|
15149
|
-
"fieldName": "headerText",
|
|
15150
|
-
"inheritedFrom": {
|
|
15151
|
-
"name": "List",
|
|
15152
|
-
"module": "src/components/list/list.component.ts"
|
|
15153
|
-
}
|
|
15154
|
-
}
|
|
15155
|
-
]
|
|
15156
|
-
}
|
|
15157
|
-
],
|
|
15158
|
-
"exports": [
|
|
15159
|
-
{
|
|
15160
|
-
"kind": "js",
|
|
15161
|
-
"name": "default",
|
|
15162
|
-
"declaration": {
|
|
15163
|
-
"name": "Menu",
|
|
15164
|
-
"module": "components/menu/menu.component.js"
|
|
15165
|
-
}
|
|
15166
|
-
}
|
|
15167
|
-
]
|
|
15168
|
-
},
|
|
15169
14944
|
{
|
|
15170
14945
|
"kind": "javascript-module",
|
|
15171
14946
|
"path": "components/menubar/menubar.component.js",
|
|
@@ -16536,176 +16311,65 @@
|
|
|
16536
16311
|
},
|
|
16537
16312
|
{
|
|
16538
16313
|
"kind": "javascript-module",
|
|
16539
|
-
"path": "components/
|
|
16314
|
+
"path": "components/menuitemradio/menuitemradio.component.js",
|
|
16540
16315
|
"declarations": [
|
|
16541
16316
|
{
|
|
16542
16317
|
"kind": "class",
|
|
16543
|
-
"description": "A
|
|
16544
|
-
"name": "
|
|
16545
|
-
"
|
|
16318
|
+
"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 `aria-checked` menuitemradio attribute is used to indicate that the menuitemradio is checked or not.\n\nIf you want more than one item in a group to be checked, consider using menuitemcheckbox component.\n\nIf a menuitemradio is disabled, then the `aria-disabled` attribute is set to `true`.",
|
|
16319
|
+
"name": "MenuItemRadio",
|
|
16320
|
+
"members": [
|
|
16546
16321
|
{
|
|
16547
|
-
"
|
|
16548
|
-
"name": "
|
|
16322
|
+
"kind": "field",
|
|
16323
|
+
"name": "ariaChecked",
|
|
16324
|
+
"type": {
|
|
16325
|
+
"text": "AriaCheckedStates"
|
|
16326
|
+
},
|
|
16327
|
+
"description": "The aria-checked attribute is used to indicate that the menuitemradio is checked or not.",
|
|
16328
|
+
"default": "'false'",
|
|
16329
|
+
"attribute": "aria-checked",
|
|
16330
|
+
"reflects": true
|
|
16549
16331
|
},
|
|
16550
16332
|
{
|
|
16551
|
-
"
|
|
16552
|
-
"name": "
|
|
16333
|
+
"kind": "field",
|
|
16334
|
+
"name": "arrowPosition",
|
|
16335
|
+
"type": {
|
|
16336
|
+
"text": "ArrowPositions | undefined"
|
|
16337
|
+
},
|
|
16338
|
+
"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.",
|
|
16339
|
+
"attribute": "arrow-position",
|
|
16340
|
+
"reflects": true,
|
|
16553
16341
|
"inheritedFrom": {
|
|
16554
|
-
"name": "
|
|
16555
|
-
"module": "
|
|
16342
|
+
"name": "MenuItem",
|
|
16343
|
+
"module": "components/menuitem/menuitem.component.js"
|
|
16556
16344
|
}
|
|
16557
16345
|
},
|
|
16558
16346
|
{
|
|
16559
|
-
"
|
|
16560
|
-
"name": "
|
|
16347
|
+
"kind": "field",
|
|
16348
|
+
"name": "arrowDirection",
|
|
16349
|
+
"type": {
|
|
16350
|
+
"text": "ArrowDirections | undefined"
|
|
16351
|
+
},
|
|
16352
|
+
"description": "Defines the direction the arrow icon points.\n- `'positive'`: Arrow points toward the trailing side.\n- `'negative'`: Arrow points toward the leading side.",
|
|
16353
|
+
"attribute": "arrow-direction",
|
|
16354
|
+
"reflects": true,
|
|
16561
16355
|
"inheritedFrom": {
|
|
16562
|
-
"name": "
|
|
16563
|
-
"module": "
|
|
16356
|
+
"name": "MenuItem",
|
|
16357
|
+
"module": "components/menuitem/menuitem.component.js"
|
|
16564
16358
|
}
|
|
16565
16359
|
},
|
|
16566
16360
|
{
|
|
16567
|
-
"
|
|
16568
|
-
"name": "
|
|
16361
|
+
"kind": "method",
|
|
16362
|
+
"name": "renderTrailingControls",
|
|
16363
|
+
"privacy": "protected",
|
|
16364
|
+
"description": "Renders the trailing controls slot and optionally the trailing arrow icon,\nbased on `arrowPosition` and `arrowDirection`.",
|
|
16365
|
+
"return": {
|
|
16366
|
+
"type": {
|
|
16367
|
+
"text": ""
|
|
16368
|
+
}
|
|
16369
|
+
},
|
|
16569
16370
|
"inheritedFrom": {
|
|
16570
16371
|
"name": "ListItem",
|
|
16571
|
-
"module": "
|
|
16572
|
-
}
|
|
16573
|
-
},
|
|
16574
|
-
{
|
|
16575
|
-
"description": "Allows customization of the primary label, side header and subline text slot color.",
|
|
16576
|
-
"name": "--mdc-listitem-primary-label-color",
|
|
16577
|
-
"inheritedFrom": {
|
|
16578
|
-
"name": "ListItem",
|
|
16579
|
-
"module": "src/components/listitem/listitem.component.ts"
|
|
16580
|
-
}
|
|
16581
|
-
},
|
|
16582
|
-
{
|
|
16583
|
-
"description": "Allows customization of the secondary and tertiary label text slot color.",
|
|
16584
|
-
"name": "--mdc-listitem-secondary-label-color",
|
|
16585
|
-
"inheritedFrom": {
|
|
16586
|
-
"name": "ListItem",
|
|
16587
|
-
"module": "src/components/listitem/listitem.component.ts"
|
|
16588
|
-
}
|
|
16589
|
-
},
|
|
16590
|
-
{
|
|
16591
|
-
"description": "Allows customization of the disabled color.",
|
|
16592
|
-
"name": "--mdc-listitem-disabled-color",
|
|
16593
|
-
"inheritedFrom": {
|
|
16594
|
-
"name": "ListItem",
|
|
16595
|
-
"module": "src/components/listitem/listitem.component.ts"
|
|
16596
|
-
}
|
|
16597
|
-
},
|
|
16598
|
-
{
|
|
16599
|
-
"description": "Allows customization of column gap.",
|
|
16600
|
-
"name": "--mdc-listitem-column-gap",
|
|
16601
|
-
"inheritedFrom": {
|
|
16602
|
-
"name": "ListItem",
|
|
16603
|
-
"module": "src/components/listitem/listitem.component.ts"
|
|
16604
|
-
}
|
|
16605
|
-
},
|
|
16606
|
-
{
|
|
16607
|
-
"description": "Allows customization of padding left and right.",
|
|
16608
|
-
"name": "--mdc-listitem-padding-left-and-right",
|
|
16609
|
-
"inheritedFrom": {
|
|
16610
|
-
"name": "ListItem",
|
|
16611
|
-
"module": "src/components/listitem/listitem.component.ts"
|
|
16612
|
-
}
|
|
16613
|
-
}
|
|
16614
|
-
],
|
|
16615
|
-
"members": [
|
|
16616
|
-
{
|
|
16617
|
-
"kind": "field",
|
|
16618
|
-
"name": "ariaChecked",
|
|
16619
|
-
"type": {
|
|
16620
|
-
"text": "AriaCheckedStates"
|
|
16621
|
-
},
|
|
16622
|
-
"description": "The aria-checked attribute is used to indicate that the menuitemcheckbox is checked or not.",
|
|
16623
|
-
"default": "'false'",
|
|
16624
|
-
"attribute": "aria-checked",
|
|
16625
|
-
"reflects": true
|
|
16626
|
-
},
|
|
16627
|
-
{
|
|
16628
|
-
"kind": "field",
|
|
16629
|
-
"name": "indicator",
|
|
16630
|
-
"type": {
|
|
16631
|
-
"text": "Indicator"
|
|
16632
|
-
},
|
|
16633
|
-
"description": "The indicator attribute is used to differentiate between <b>checkbox</b> and <b>toggle</b>.",
|
|
16634
|
-
"default": "'checkbox'",
|
|
16635
|
-
"attribute": "indicator",
|
|
16636
|
-
"reflects": true
|
|
16637
|
-
},
|
|
16638
|
-
{
|
|
16639
|
-
"kind": "method",
|
|
16640
|
-
"name": "staticCheckbox",
|
|
16641
|
-
"privacy": "private",
|
|
16642
|
-
"return": {
|
|
16643
|
-
"type": {
|
|
16644
|
-
"text": "TemplateResult | typeof nothing"
|
|
16645
|
-
}
|
|
16646
|
-
}
|
|
16647
|
-
},
|
|
16648
|
-
{
|
|
16649
|
-
"kind": "method",
|
|
16650
|
-
"name": "staticToggle",
|
|
16651
|
-
"privacy": "private",
|
|
16652
|
-
"return": {
|
|
16653
|
-
"type": {
|
|
16654
|
-
"text": "TemplateResult | typeof nothing"
|
|
16655
|
-
}
|
|
16656
|
-
}
|
|
16657
|
-
},
|
|
16658
|
-
{
|
|
16659
|
-
"kind": "method",
|
|
16660
|
-
"name": "getCheckmarkIcon",
|
|
16661
|
-
"privacy": "private",
|
|
16662
|
-
"return": {
|
|
16663
|
-
"type": {
|
|
16664
|
-
"text": "TemplateResult | typeof nothing"
|
|
16665
|
-
}
|
|
16666
|
-
}
|
|
16667
|
-
},
|
|
16668
|
-
{
|
|
16669
|
-
"kind": "field",
|
|
16670
|
-
"name": "arrowPosition",
|
|
16671
|
-
"type": {
|
|
16672
|
-
"text": "ArrowPositions | undefined"
|
|
16673
|
-
},
|
|
16674
|
-
"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.",
|
|
16675
|
-
"attribute": "arrow-position",
|
|
16676
|
-
"reflects": true,
|
|
16677
|
-
"inheritedFrom": {
|
|
16678
|
-
"name": "MenuItem",
|
|
16679
|
-
"module": "components/menuitem/menuitem.component.js"
|
|
16680
|
-
}
|
|
16681
|
-
},
|
|
16682
|
-
{
|
|
16683
|
-
"kind": "field",
|
|
16684
|
-
"name": "arrowDirection",
|
|
16685
|
-
"type": {
|
|
16686
|
-
"text": "ArrowDirections | undefined"
|
|
16687
|
-
},
|
|
16688
|
-
"description": "Defines the direction the arrow icon points.\n- `'positive'`: Arrow points toward the trailing side.\n- `'negative'`: Arrow points toward the leading side.",
|
|
16689
|
-
"attribute": "arrow-direction",
|
|
16690
|
-
"reflects": true,
|
|
16691
|
-
"inheritedFrom": {
|
|
16692
|
-
"name": "MenuItem",
|
|
16693
|
-
"module": "components/menuitem/menuitem.component.js"
|
|
16694
|
-
}
|
|
16695
|
-
},
|
|
16696
|
-
{
|
|
16697
|
-
"kind": "method",
|
|
16698
|
-
"name": "renderTrailingControls",
|
|
16699
|
-
"privacy": "protected",
|
|
16700
|
-
"description": "Renders the trailing controls slot and optionally the trailing arrow icon,\nbased on `arrowPosition` and `arrowDirection`.",
|
|
16701
|
-
"return": {
|
|
16702
|
-
"type": {
|
|
16703
|
-
"text": ""
|
|
16704
|
-
}
|
|
16705
|
-
},
|
|
16706
|
-
"inheritedFrom": {
|
|
16707
|
-
"name": "ListItem",
|
|
16708
|
-
"module": "components/listitem/listitem.component.js"
|
|
16372
|
+
"module": "components/listitem/listitem.component.js"
|
|
16709
16373
|
}
|
|
16710
16374
|
},
|
|
16711
16375
|
{
|
|
@@ -17036,12 +16700,12 @@
|
|
|
17036
16700
|
],
|
|
17037
16701
|
"events": [
|
|
17038
16702
|
{
|
|
17039
|
-
"description": "(React: onChange) This event is dispatched when the
|
|
16703
|
+
"description": "(React: onChange) This event is dispatched when the menuitemradio changes.",
|
|
17040
16704
|
"name": "change",
|
|
17041
16705
|
"reactName": "onChange"
|
|
17042
16706
|
},
|
|
17043
16707
|
{
|
|
17044
|
-
"description": "(React: onClick) This event is dispatched when the
|
|
16708
|
+
"description": "(React: onClick) This event is dispatched when the menuitemradio is clicked.",
|
|
17045
16709
|
"name": "click",
|
|
17046
16710
|
"reactName": "onClick",
|
|
17047
16711
|
"inheritedFrom": {
|
|
@@ -17050,7 +16714,7 @@
|
|
|
17050
16714
|
}
|
|
17051
16715
|
},
|
|
17052
16716
|
{
|
|
17053
|
-
"description": "(React: onFocus) This event is dispatched when the
|
|
16717
|
+
"description": "(React: onFocus) This event is dispatched when the menuitemradio receives focus.",
|
|
17054
16718
|
"name": "focus",
|
|
17055
16719
|
"reactName": "onFocus",
|
|
17056
16720
|
"inheritedFrom": {
|
|
@@ -17083,19 +16747,10 @@
|
|
|
17083
16747
|
"type": {
|
|
17084
16748
|
"text": "AriaCheckedStates"
|
|
17085
16749
|
},
|
|
17086
|
-
"description": "The aria-checked attribute is used to indicate that the
|
|
16750
|
+
"description": "The aria-checked attribute is used to indicate that the menuitemradio is checked or not.",
|
|
17087
16751
|
"default": "'false'",
|
|
17088
16752
|
"fieldName": "ariaChecked"
|
|
17089
16753
|
},
|
|
17090
|
-
{
|
|
17091
|
-
"name": "indicator",
|
|
17092
|
-
"type": {
|
|
17093
|
-
"text": "Indicator"
|
|
17094
|
-
},
|
|
17095
|
-
"description": "The indicator attribute is used to differentiate between <b>checkbox</b> and <b>toggle</b>.",
|
|
17096
|
-
"default": "'checkbox'",
|
|
17097
|
-
"fieldName": "indicator"
|
|
17098
|
-
},
|
|
17099
16754
|
{
|
|
17100
16755
|
"name": "arrow-position",
|
|
17101
16756
|
"type": {
|
|
@@ -17249,8 +16904,8 @@
|
|
|
17249
16904
|
"name": "MenuItem",
|
|
17250
16905
|
"module": "/src/components/menuitem/menuitem.component"
|
|
17251
16906
|
},
|
|
17252
|
-
"tagName": "mdc-
|
|
17253
|
-
"jsDoc": "/**\n * A
|
|
16907
|
+
"tagName": "mdc-menuitemradio",
|
|
16908
|
+
"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 */",
|
|
17254
16909
|
"customElement": true,
|
|
17255
16910
|
"slots": [
|
|
17256
16911
|
{
|
|
@@ -17309,111 +16964,288 @@
|
|
|
17309
16964
|
"module": "src/components/listitem/listitem.component.ts"
|
|
17310
16965
|
}
|
|
17311
16966
|
}
|
|
17312
|
-
]
|
|
17313
|
-
|
|
17314
|
-
],
|
|
17315
|
-
"exports": [
|
|
17316
|
-
{
|
|
17317
|
-
"kind": "js",
|
|
17318
|
-
"name": "default",
|
|
17319
|
-
"declaration": {
|
|
17320
|
-
"name": "MenuItemCheckbox",
|
|
17321
|
-
"module": "components/menuitemcheckbox/menuitemcheckbox.component.js"
|
|
17322
|
-
}
|
|
17323
|
-
}
|
|
17324
|
-
]
|
|
17325
|
-
},
|
|
17326
|
-
{
|
|
17327
|
-
"kind": "javascript-module",
|
|
17328
|
-
"path": "components/menuitemradio/menuitemradio.component.js",
|
|
17329
|
-
"declarations": [
|
|
17330
|
-
{
|
|
17331
|
-
"kind": "class",
|
|
17332
|
-
"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 `aria-checked` menuitemradio attribute is used to indicate that the menuitemradio is checked or not.\n\nIf you want more than one item in a group to be checked, consider using menuitemcheckbox component.\n\nIf a menuitemradio is disabled, then the `aria-disabled` attribute is set to `true`.",
|
|
17333
|
-
"name": "MenuItemRadio",
|
|
17334
|
-
"members": [
|
|
17335
|
-
{
|
|
17336
|
-
"kind": "field",
|
|
17337
|
-
"name": "ariaChecked",
|
|
17338
|
-
"type": {
|
|
17339
|
-
"text": "AriaCheckedStates"
|
|
17340
|
-
},
|
|
17341
|
-
"description": "The aria-checked attribute is used to indicate that the menuitemradio is checked or not.",
|
|
17342
|
-
"default": "'false'",
|
|
17343
|
-
"attribute": "aria-checked",
|
|
17344
|
-
"reflects": true
|
|
17345
|
-
},
|
|
16967
|
+
],
|
|
16968
|
+
"cssProperties": [
|
|
17346
16969
|
{
|
|
17347
|
-
"
|
|
17348
|
-
"name": "
|
|
17349
|
-
"type": {
|
|
17350
|
-
"text": "ArrowPositions | undefined"
|
|
17351
|
-
},
|
|
17352
|
-
"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.",
|
|
17353
|
-
"attribute": "arrow-position",
|
|
17354
|
-
"reflects": true,
|
|
16970
|
+
"description": "Allows customization of the default background color.",
|
|
16971
|
+
"name": "--mdc-listitem-default-background-color",
|
|
17355
16972
|
"inheritedFrom": {
|
|
17356
|
-
"name": "
|
|
17357
|
-
"module": "components/
|
|
16973
|
+
"name": "ListItem",
|
|
16974
|
+
"module": "src/components/listitem/listitem.component.ts"
|
|
17358
16975
|
}
|
|
17359
16976
|
},
|
|
17360
16977
|
{
|
|
17361
|
-
"
|
|
17362
|
-
"name": "
|
|
17363
|
-
"type": {
|
|
17364
|
-
"text": "ArrowDirections | undefined"
|
|
17365
|
-
},
|
|
17366
|
-
"description": "Defines the direction the arrow icon points.\n- `'positive'`: Arrow points toward the trailing side.\n- `'negative'`: Arrow points toward the leading side.",
|
|
17367
|
-
"attribute": "arrow-direction",
|
|
17368
|
-
"reflects": true,
|
|
16978
|
+
"description": "Allows customization of the background color on hover.",
|
|
16979
|
+
"name": "--mdc-listitem-background-color-hover",
|
|
17369
16980
|
"inheritedFrom": {
|
|
17370
|
-
"name": "
|
|
17371
|
-
"module": "components/
|
|
16981
|
+
"name": "ListItem",
|
|
16982
|
+
"module": "src/components/listitem/listitem.component.ts"
|
|
17372
16983
|
}
|
|
17373
16984
|
},
|
|
17374
16985
|
{
|
|
17375
|
-
"
|
|
17376
|
-
"name": "
|
|
17377
|
-
"privacy": "protected",
|
|
17378
|
-
"description": "Renders the trailing controls slot and optionally the trailing arrow icon,\nbased on `arrowPosition` and `arrowDirection`.",
|
|
17379
|
-
"return": {
|
|
17380
|
-
"type": {
|
|
17381
|
-
"text": ""
|
|
17382
|
-
}
|
|
17383
|
-
},
|
|
16986
|
+
"description": "Allows customization of the background color when pressed.",
|
|
16987
|
+
"name": "--mdc-listitem-background-color-active",
|
|
17384
16988
|
"inheritedFrom": {
|
|
17385
16989
|
"name": "ListItem",
|
|
17386
|
-
"module": "components/listitem/listitem.component.
|
|
16990
|
+
"module": "src/components/listitem/listitem.component.ts"
|
|
17387
16991
|
}
|
|
17388
16992
|
},
|
|
17389
16993
|
{
|
|
17390
|
-
"
|
|
17391
|
-
"name": "
|
|
17392
|
-
"privacy": "protected",
|
|
17393
|
-
"description": "Renders the leading controls slot and optionally the leading arrow icon,\nbased on `arrowPosition` and `arrowDirection`.",
|
|
17394
|
-
"return": {
|
|
17395
|
-
"type": {
|
|
17396
|
-
"text": ""
|
|
17397
|
-
}
|
|
17398
|
-
},
|
|
16994
|
+
"description": "Allows customization of the primary label, side header and subline text slot color.",
|
|
16995
|
+
"name": "--mdc-listitem-primary-label-color",
|
|
17399
16996
|
"inheritedFrom": {
|
|
17400
16997
|
"name": "ListItem",
|
|
17401
|
-
"module": "components/listitem/listitem.component.
|
|
16998
|
+
"module": "src/components/listitem/listitem.component.ts"
|
|
17402
16999
|
}
|
|
17403
17000
|
},
|
|
17404
17001
|
{
|
|
17405
|
-
"
|
|
17406
|
-
"name": "
|
|
17407
|
-
"type": {
|
|
17408
|
-
"text": "boolean | undefined"
|
|
17409
|
-
},
|
|
17410
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
|
17411
|
-
"default": "undefined",
|
|
17412
|
-
"attribute": "disabled",
|
|
17413
|
-
"reflects": true,
|
|
17002
|
+
"description": "Allows customization of the secondary and tertiary label text slot color.",
|
|
17003
|
+
"name": "--mdc-listitem-secondary-label-color",
|
|
17414
17004
|
"inheritedFrom": {
|
|
17415
17005
|
"name": "ListItem",
|
|
17416
|
-
"module": "components/listitem/listitem.component.
|
|
17006
|
+
"module": "src/components/listitem/listitem.component.ts"
|
|
17007
|
+
}
|
|
17008
|
+
},
|
|
17009
|
+
{
|
|
17010
|
+
"description": "Allows customization of the disabled color.",
|
|
17011
|
+
"name": "--mdc-listitem-disabled-color",
|
|
17012
|
+
"inheritedFrom": {
|
|
17013
|
+
"name": "ListItem",
|
|
17014
|
+
"module": "src/components/listitem/listitem.component.ts"
|
|
17015
|
+
}
|
|
17016
|
+
},
|
|
17017
|
+
{
|
|
17018
|
+
"description": "Allows customization of column gap.",
|
|
17019
|
+
"name": "--mdc-listitem-column-gap",
|
|
17020
|
+
"inheritedFrom": {
|
|
17021
|
+
"name": "ListItem",
|
|
17022
|
+
"module": "src/components/listitem/listitem.component.ts"
|
|
17023
|
+
}
|
|
17024
|
+
},
|
|
17025
|
+
{
|
|
17026
|
+
"description": "Allows customization of padding left and right.",
|
|
17027
|
+
"name": "--mdc-listitem-padding-left-and-right",
|
|
17028
|
+
"inheritedFrom": {
|
|
17029
|
+
"name": "ListItem",
|
|
17030
|
+
"module": "src/components/listitem/listitem.component.ts"
|
|
17031
|
+
}
|
|
17032
|
+
}
|
|
17033
|
+
]
|
|
17034
|
+
}
|
|
17035
|
+
],
|
|
17036
|
+
"exports": [
|
|
17037
|
+
{
|
|
17038
|
+
"kind": "js",
|
|
17039
|
+
"name": "default",
|
|
17040
|
+
"declaration": {
|
|
17041
|
+
"name": "MenuItemRadio",
|
|
17042
|
+
"module": "components/menuitemradio/menuitemradio.component.js"
|
|
17043
|
+
}
|
|
17044
|
+
}
|
|
17045
|
+
]
|
|
17046
|
+
},
|
|
17047
|
+
{
|
|
17048
|
+
"kind": "javascript-module",
|
|
17049
|
+
"path": "components/menuitemcheckbox/menuitemcheckbox.component.js",
|
|
17050
|
+
"declarations": [
|
|
17051
|
+
{
|
|
17052
|
+
"kind": "class",
|
|
17053
|
+
"description": "A menuitemcheckbox component is a checkable menuitem.\nThere should be no focusable descendants inside this menuitemcheckbox component.\n\nThe `aria-checked` attribute indicates whether the menuitemcheckbox is checked or not.\n\nThe `indicator` attribute is used to differentiate between <b>checkbox</b>, <b>checkmark</b> and <b>toggle</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 `aria-checked` attribute is set to `true`,\nthen the checkmark will be displayed. if not, then no indicator will be displayed.\n\nIf you want only one item in a group to be checked, consider using menuitemradio component.\n\nIf a menuitemcheckbox is disabled, then the `aria-disabled` attribute is set to `true`.",
|
|
17054
|
+
"name": "MenuItemCheckbox",
|
|
17055
|
+
"cssProperties": [
|
|
17056
|
+
{
|
|
17057
|
+
"description": "Allows customization of the checkmark indicator color",
|
|
17058
|
+
"name": "--mdc-checkmark-indicator-color"
|
|
17059
|
+
},
|
|
17060
|
+
{
|
|
17061
|
+
"description": "Allows customization of the default background color.",
|
|
17062
|
+
"name": "--mdc-listitem-default-background-color",
|
|
17063
|
+
"inheritedFrom": {
|
|
17064
|
+
"name": "ListItem",
|
|
17065
|
+
"module": "src/components/listitem/listitem.component.ts"
|
|
17066
|
+
}
|
|
17067
|
+
},
|
|
17068
|
+
{
|
|
17069
|
+
"description": "Allows customization of the background color on hover.",
|
|
17070
|
+
"name": "--mdc-listitem-background-color-hover",
|
|
17071
|
+
"inheritedFrom": {
|
|
17072
|
+
"name": "ListItem",
|
|
17073
|
+
"module": "src/components/listitem/listitem.component.ts"
|
|
17074
|
+
}
|
|
17075
|
+
},
|
|
17076
|
+
{
|
|
17077
|
+
"description": "Allows customization of the background color when pressed.",
|
|
17078
|
+
"name": "--mdc-listitem-background-color-active",
|
|
17079
|
+
"inheritedFrom": {
|
|
17080
|
+
"name": "ListItem",
|
|
17081
|
+
"module": "src/components/listitem/listitem.component.ts"
|
|
17082
|
+
}
|
|
17083
|
+
},
|
|
17084
|
+
{
|
|
17085
|
+
"description": "Allows customization of the primary label, side header and subline text slot color.",
|
|
17086
|
+
"name": "--mdc-listitem-primary-label-color",
|
|
17087
|
+
"inheritedFrom": {
|
|
17088
|
+
"name": "ListItem",
|
|
17089
|
+
"module": "src/components/listitem/listitem.component.ts"
|
|
17090
|
+
}
|
|
17091
|
+
},
|
|
17092
|
+
{
|
|
17093
|
+
"description": "Allows customization of the secondary and tertiary label text slot color.",
|
|
17094
|
+
"name": "--mdc-listitem-secondary-label-color",
|
|
17095
|
+
"inheritedFrom": {
|
|
17096
|
+
"name": "ListItem",
|
|
17097
|
+
"module": "src/components/listitem/listitem.component.ts"
|
|
17098
|
+
}
|
|
17099
|
+
},
|
|
17100
|
+
{
|
|
17101
|
+
"description": "Allows customization of the disabled color.",
|
|
17102
|
+
"name": "--mdc-listitem-disabled-color",
|
|
17103
|
+
"inheritedFrom": {
|
|
17104
|
+
"name": "ListItem",
|
|
17105
|
+
"module": "src/components/listitem/listitem.component.ts"
|
|
17106
|
+
}
|
|
17107
|
+
},
|
|
17108
|
+
{
|
|
17109
|
+
"description": "Allows customization of column gap.",
|
|
17110
|
+
"name": "--mdc-listitem-column-gap",
|
|
17111
|
+
"inheritedFrom": {
|
|
17112
|
+
"name": "ListItem",
|
|
17113
|
+
"module": "src/components/listitem/listitem.component.ts"
|
|
17114
|
+
}
|
|
17115
|
+
},
|
|
17116
|
+
{
|
|
17117
|
+
"description": "Allows customization of padding left and right.",
|
|
17118
|
+
"name": "--mdc-listitem-padding-left-and-right",
|
|
17119
|
+
"inheritedFrom": {
|
|
17120
|
+
"name": "ListItem",
|
|
17121
|
+
"module": "src/components/listitem/listitem.component.ts"
|
|
17122
|
+
}
|
|
17123
|
+
}
|
|
17124
|
+
],
|
|
17125
|
+
"members": [
|
|
17126
|
+
{
|
|
17127
|
+
"kind": "field",
|
|
17128
|
+
"name": "ariaChecked",
|
|
17129
|
+
"type": {
|
|
17130
|
+
"text": "AriaCheckedStates"
|
|
17131
|
+
},
|
|
17132
|
+
"description": "The aria-checked attribute is used to indicate that the menuitemcheckbox is checked or not.",
|
|
17133
|
+
"default": "'false'",
|
|
17134
|
+
"attribute": "aria-checked",
|
|
17135
|
+
"reflects": true
|
|
17136
|
+
},
|
|
17137
|
+
{
|
|
17138
|
+
"kind": "field",
|
|
17139
|
+
"name": "indicator",
|
|
17140
|
+
"type": {
|
|
17141
|
+
"text": "Indicator"
|
|
17142
|
+
},
|
|
17143
|
+
"description": "The indicator attribute is used to differentiate between <b>checkbox</b> and <b>toggle</b>.",
|
|
17144
|
+
"default": "'checkbox'",
|
|
17145
|
+
"attribute": "indicator",
|
|
17146
|
+
"reflects": true
|
|
17147
|
+
},
|
|
17148
|
+
{
|
|
17149
|
+
"kind": "method",
|
|
17150
|
+
"name": "staticCheckbox",
|
|
17151
|
+
"privacy": "private",
|
|
17152
|
+
"return": {
|
|
17153
|
+
"type": {
|
|
17154
|
+
"text": "TemplateResult | typeof nothing"
|
|
17155
|
+
}
|
|
17156
|
+
}
|
|
17157
|
+
},
|
|
17158
|
+
{
|
|
17159
|
+
"kind": "method",
|
|
17160
|
+
"name": "staticToggle",
|
|
17161
|
+
"privacy": "private",
|
|
17162
|
+
"return": {
|
|
17163
|
+
"type": {
|
|
17164
|
+
"text": "TemplateResult | typeof nothing"
|
|
17165
|
+
}
|
|
17166
|
+
}
|
|
17167
|
+
},
|
|
17168
|
+
{
|
|
17169
|
+
"kind": "method",
|
|
17170
|
+
"name": "getCheckmarkIcon",
|
|
17171
|
+
"privacy": "private",
|
|
17172
|
+
"return": {
|
|
17173
|
+
"type": {
|
|
17174
|
+
"text": "TemplateResult | typeof nothing"
|
|
17175
|
+
}
|
|
17176
|
+
}
|
|
17177
|
+
},
|
|
17178
|
+
{
|
|
17179
|
+
"kind": "field",
|
|
17180
|
+
"name": "arrowPosition",
|
|
17181
|
+
"type": {
|
|
17182
|
+
"text": "ArrowPositions | undefined"
|
|
17183
|
+
},
|
|
17184
|
+
"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.",
|
|
17185
|
+
"attribute": "arrow-position",
|
|
17186
|
+
"reflects": true,
|
|
17187
|
+
"inheritedFrom": {
|
|
17188
|
+
"name": "MenuItem",
|
|
17189
|
+
"module": "components/menuitem/menuitem.component.js"
|
|
17190
|
+
}
|
|
17191
|
+
},
|
|
17192
|
+
{
|
|
17193
|
+
"kind": "field",
|
|
17194
|
+
"name": "arrowDirection",
|
|
17195
|
+
"type": {
|
|
17196
|
+
"text": "ArrowDirections | undefined"
|
|
17197
|
+
},
|
|
17198
|
+
"description": "Defines the direction the arrow icon points.\n- `'positive'`: Arrow points toward the trailing side.\n- `'negative'`: Arrow points toward the leading side.",
|
|
17199
|
+
"attribute": "arrow-direction",
|
|
17200
|
+
"reflects": true,
|
|
17201
|
+
"inheritedFrom": {
|
|
17202
|
+
"name": "MenuItem",
|
|
17203
|
+
"module": "components/menuitem/menuitem.component.js"
|
|
17204
|
+
}
|
|
17205
|
+
},
|
|
17206
|
+
{
|
|
17207
|
+
"kind": "method",
|
|
17208
|
+
"name": "renderTrailingControls",
|
|
17209
|
+
"privacy": "protected",
|
|
17210
|
+
"description": "Renders the trailing controls slot and optionally the trailing arrow icon,\nbased on `arrowPosition` and `arrowDirection`.",
|
|
17211
|
+
"return": {
|
|
17212
|
+
"type": {
|
|
17213
|
+
"text": ""
|
|
17214
|
+
}
|
|
17215
|
+
},
|
|
17216
|
+
"inheritedFrom": {
|
|
17217
|
+
"name": "ListItem",
|
|
17218
|
+
"module": "components/listitem/listitem.component.js"
|
|
17219
|
+
}
|
|
17220
|
+
},
|
|
17221
|
+
{
|
|
17222
|
+
"kind": "method",
|
|
17223
|
+
"name": "renderLeadingControls",
|
|
17224
|
+
"privacy": "protected",
|
|
17225
|
+
"description": "Renders the leading controls slot and optionally the leading arrow icon,\nbased on `arrowPosition` and `arrowDirection`.",
|
|
17226
|
+
"return": {
|
|
17227
|
+
"type": {
|
|
17228
|
+
"text": ""
|
|
17229
|
+
}
|
|
17230
|
+
},
|
|
17231
|
+
"inheritedFrom": {
|
|
17232
|
+
"name": "ListItem",
|
|
17233
|
+
"module": "components/listitem/listitem.component.js"
|
|
17234
|
+
}
|
|
17235
|
+
},
|
|
17236
|
+
{
|
|
17237
|
+
"kind": "field",
|
|
17238
|
+
"name": "disabled",
|
|
17239
|
+
"type": {
|
|
17240
|
+
"text": "boolean | undefined"
|
|
17241
|
+
},
|
|
17242
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
|
17243
|
+
"default": "undefined",
|
|
17244
|
+
"attribute": "disabled",
|
|
17245
|
+
"reflects": true,
|
|
17246
|
+
"inheritedFrom": {
|
|
17247
|
+
"name": "ListItem",
|
|
17248
|
+
"module": "components/listitem/listitem.component.js"
|
|
17417
17249
|
}
|
|
17418
17250
|
},
|
|
17419
17251
|
{
|
|
@@ -17714,12 +17546,12 @@
|
|
|
17714
17546
|
],
|
|
17715
17547
|
"events": [
|
|
17716
17548
|
{
|
|
17717
|
-
"description": "(React: onChange) This event is dispatched when the
|
|
17549
|
+
"description": "(React: onChange) This event is dispatched when the menuitemcheckbox changes.",
|
|
17718
17550
|
"name": "change",
|
|
17719
17551
|
"reactName": "onChange"
|
|
17720
17552
|
},
|
|
17721
17553
|
{
|
|
17722
|
-
"description": "(React: onClick) This event is dispatched when the
|
|
17554
|
+
"description": "(React: onClick) This event is dispatched when the menuitemcheckbox is clicked.",
|
|
17723
17555
|
"name": "click",
|
|
17724
17556
|
"reactName": "onClick",
|
|
17725
17557
|
"inheritedFrom": {
|
|
@@ -17728,7 +17560,7 @@
|
|
|
17728
17560
|
}
|
|
17729
17561
|
},
|
|
17730
17562
|
{
|
|
17731
|
-
"description": "(React: onFocus) This event is dispatched when the
|
|
17563
|
+
"description": "(React: onFocus) This event is dispatched when the menuitemcheckbox receives focus.",
|
|
17732
17564
|
"name": "focus",
|
|
17733
17565
|
"reactName": "onFocus",
|
|
17734
17566
|
"inheritedFrom": {
|
|
@@ -17761,10 +17593,19 @@
|
|
|
17761
17593
|
"type": {
|
|
17762
17594
|
"text": "AriaCheckedStates"
|
|
17763
17595
|
},
|
|
17764
|
-
"description": "The aria-checked attribute is used to indicate that the
|
|
17596
|
+
"description": "The aria-checked attribute is used to indicate that the menuitemcheckbox is checked or not.",
|
|
17765
17597
|
"default": "'false'",
|
|
17766
17598
|
"fieldName": "ariaChecked"
|
|
17767
17599
|
},
|
|
17600
|
+
{
|
|
17601
|
+
"name": "indicator",
|
|
17602
|
+
"type": {
|
|
17603
|
+
"text": "Indicator"
|
|
17604
|
+
},
|
|
17605
|
+
"description": "The indicator attribute is used to differentiate between <b>checkbox</b> and <b>toggle</b>.",
|
|
17606
|
+
"default": "'checkbox'",
|
|
17607
|
+
"fieldName": "indicator"
|
|
17608
|
+
},
|
|
17768
17609
|
{
|
|
17769
17610
|
"name": "arrow-position",
|
|
17770
17611
|
"type": {
|
|
@@ -17918,8 +17759,8 @@
|
|
|
17918
17759
|
"name": "MenuItem",
|
|
17919
17760
|
"module": "/src/components/menuitem/menuitem.component"
|
|
17920
17761
|
},
|
|
17921
|
-
"tagName": "mdc-
|
|
17922
|
-
"jsDoc": "/**\n * A
|
|
17762
|
+
"tagName": "mdc-menuitemcheckbox",
|
|
17763
|
+
"jsDoc": "/**\n * A menuitemcheckbox component is a checkable menuitem.\n * There should be no focusable descendants inside this menuitemcheckbox component.\n *\n * The `aria-checked` attribute indicates whether the menuitemcheckbox is checked or not.\n *\n * The `indicator` attribute is used to differentiate between <b>checkbox</b>, <b>checkmark</b> and <b>toggle</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 `aria-checked` attribute is set to `true`,\n * then the checkmark will be displayed. if not, then no indicator will be displayed.\n *\n * If you want only one item in a group to be checked, consider using menuitemradio component.\n *\n * If a menuitemcheckbox is disabled, then the `aria-disabled` attribute is set to `true`.\n *\n * @dependency mdc-staticcheckbox\n * @dependency mdc-statictoggle\n * @dependency mdc-icon\n *\n * @tagname mdc-menuitemcheckbox\n *\n * @cssproperty --mdc-checkmark-indicator-color - Allows customization of the checkmark indicator color\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 */",
|
|
17923
17764
|
"customElement": true,
|
|
17924
17765
|
"slots": [
|
|
17925
17766
|
{
|
|
@@ -17963,82 +17804,16 @@
|
|
|
17963
17804
|
}
|
|
17964
17805
|
},
|
|
17965
17806
|
{
|
|
17966
|
-
"description": "slot for list item subline text.",
|
|
17967
|
-
"name": "trailing-text-subline",
|
|
17968
|
-
"inheritedFrom": {
|
|
17969
|
-
"name": "ListItem",
|
|
17970
|
-
"module": "src/components/listitem/listitem.component.ts"
|
|
17971
|
-
}
|
|
17972
|
-
},
|
|
17973
|
-
{
|
|
17974
|
-
"description": "slot for list item controls to appear of trailing end.",
|
|
17975
|
-
"name": "trailing-controls",
|
|
17976
|
-
"inheritedFrom": {
|
|
17977
|
-
"name": "ListItem",
|
|
17978
|
-
"module": "src/components/listitem/listitem.component.ts"
|
|
17979
|
-
}
|
|
17980
|
-
}
|
|
17981
|
-
],
|
|
17982
|
-
"cssProperties": [
|
|
17983
|
-
{
|
|
17984
|
-
"description": "Allows customization of the default background color.",
|
|
17985
|
-
"name": "--mdc-listitem-default-background-color",
|
|
17986
|
-
"inheritedFrom": {
|
|
17987
|
-
"name": "ListItem",
|
|
17988
|
-
"module": "src/components/listitem/listitem.component.ts"
|
|
17989
|
-
}
|
|
17990
|
-
},
|
|
17991
|
-
{
|
|
17992
|
-
"description": "Allows customization of the background color on hover.",
|
|
17993
|
-
"name": "--mdc-listitem-background-color-hover",
|
|
17994
|
-
"inheritedFrom": {
|
|
17995
|
-
"name": "ListItem",
|
|
17996
|
-
"module": "src/components/listitem/listitem.component.ts"
|
|
17997
|
-
}
|
|
17998
|
-
},
|
|
17999
|
-
{
|
|
18000
|
-
"description": "Allows customization of the background color when pressed.",
|
|
18001
|
-
"name": "--mdc-listitem-background-color-active",
|
|
18002
|
-
"inheritedFrom": {
|
|
18003
|
-
"name": "ListItem",
|
|
18004
|
-
"module": "src/components/listitem/listitem.component.ts"
|
|
18005
|
-
}
|
|
18006
|
-
},
|
|
18007
|
-
{
|
|
18008
|
-
"description": "Allows customization of the primary label, side header and subline text slot color.",
|
|
18009
|
-
"name": "--mdc-listitem-primary-label-color",
|
|
18010
|
-
"inheritedFrom": {
|
|
18011
|
-
"name": "ListItem",
|
|
18012
|
-
"module": "src/components/listitem/listitem.component.ts"
|
|
18013
|
-
}
|
|
18014
|
-
},
|
|
18015
|
-
{
|
|
18016
|
-
"description": "Allows customization of the secondary and tertiary label text slot color.",
|
|
18017
|
-
"name": "--mdc-listitem-secondary-label-color",
|
|
18018
|
-
"inheritedFrom": {
|
|
18019
|
-
"name": "ListItem",
|
|
18020
|
-
"module": "src/components/listitem/listitem.component.ts"
|
|
18021
|
-
}
|
|
18022
|
-
},
|
|
18023
|
-
{
|
|
18024
|
-
"description": "Allows customization of the disabled color.",
|
|
18025
|
-
"name": "--mdc-listitem-disabled-color",
|
|
18026
|
-
"inheritedFrom": {
|
|
18027
|
-
"name": "ListItem",
|
|
18028
|
-
"module": "src/components/listitem/listitem.component.ts"
|
|
18029
|
-
}
|
|
18030
|
-
},
|
|
18031
|
-
{
|
|
18032
|
-
"description": "Allows customization of column gap.",
|
|
18033
|
-
"name": "--mdc-listitem-column-gap",
|
|
17807
|
+
"description": "slot for list item subline text.",
|
|
17808
|
+
"name": "trailing-text-subline",
|
|
18034
17809
|
"inheritedFrom": {
|
|
18035
17810
|
"name": "ListItem",
|
|
18036
17811
|
"module": "src/components/listitem/listitem.component.ts"
|
|
18037
17812
|
}
|
|
18038
17813
|
},
|
|
18039
17814
|
{
|
|
18040
|
-
"description": "
|
|
18041
|
-
"name": "
|
|
17815
|
+
"description": "slot for list item controls to appear of trailing end.",
|
|
17816
|
+
"name": "trailing-controls",
|
|
18042
17817
|
"inheritedFrom": {
|
|
18043
17818
|
"name": "ListItem",
|
|
18044
17819
|
"module": "src/components/listitem/listitem.component.ts"
|
|
@@ -18052,8 +17827,8 @@
|
|
|
18052
17827
|
"kind": "js",
|
|
18053
17828
|
"name": "default",
|
|
18054
17829
|
"declaration": {
|
|
18055
|
-
"name": "
|
|
18056
|
-
"module": "components/
|
|
17830
|
+
"name": "MenuItemCheckbox",
|
|
17831
|
+
"module": "components/menuitemcheckbox/menuitemcheckbox.component.js"
|
|
18057
17832
|
}
|
|
18058
17833
|
}
|
|
18059
17834
|
]
|
|
@@ -29212,258 +28987,17 @@
|
|
|
29212
28987
|
"name": "FormInternalsMixin",
|
|
29213
28988
|
"module": "/src/utils/mixins/FormInternalsMixin"
|
|
29214
28989
|
},
|
|
29215
|
-
{
|
|
29216
|
-
"name": "DataAriaLabelMixin",
|
|
29217
|
-
"module": "/src/utils/mixins/DataAriaLabelMixin"
|
|
29218
|
-
}
|
|
29219
|
-
],
|
|
29220
|
-
"superclass": {
|
|
29221
|
-
"name": "FormfieldWrapper",
|
|
29222
|
-
"module": "/src/components/formfieldwrapper/formfieldwrapper.component"
|
|
29223
|
-
},
|
|
29224
|
-
"tagName": "mdc-select",
|
|
29225
|
-
"jsDoc": "/**\n * The mdc-select component is a dropdown selection control that allows users to pick an option from a predefined list.\n * It is designed to work with `mdc-option` for individual options and `mdc-optgroup` for grouping related options.\n * The component ensures accessibility and usability while handling various use cases,\n * including long text truncation with tooltip support.\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-popover\n * @dependency mdc-text\n * @dependency mdc-toggletip\n *\n * @tagname mdc-select\n *\n * @slot default - This is a default/unnamed slot for options and/or option group.\n *\n * @event click - (React: onClick) This event is dispatched when the select is clicked.\n * @event change - (React: onChange) This event is dispatched when the select is changed.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the select.\n * @event focus - (React: onFocus) This event is dispatched when the select receives focus.\n */",
|
|
29226
|
-
"customElement": true
|
|
29227
|
-
}
|
|
29228
|
-
],
|
|
29229
|
-
"exports": [
|
|
29230
|
-
{
|
|
29231
|
-
"kind": "js",
|
|
29232
|
-
"name": "default",
|
|
29233
|
-
"declaration": {
|
|
29234
|
-
"name": "Select",
|
|
29235
|
-
"module": "components/select/select.component.js"
|
|
29236
|
-
}
|
|
29237
|
-
}
|
|
29238
|
-
]
|
|
29239
|
-
},
|
|
29240
|
-
{
|
|
29241
|
-
"kind": "javascript-module",
|
|
29242
|
-
"path": "components/sidenavigation/sidenavigation.component.js",
|
|
29243
|
-
"declarations": [
|
|
29244
|
-
{
|
|
29245
|
-
"kind": "class",
|
|
29246
|
-
"description": "The `mdc-sidenavigation` component provides a vertically stacked navigation experience,\ntypically used in layouts with persistent or collapsible sidebars.\n\n## Features:\n- Supports four layout variants: `fixed-collapsed`, `fixed-expanded`, `flexible`, and `hidden`\n- Toggleable expand/collapse behavior\n- Displays brand logo and customer name\n- Serves as a context provider for descendant components - `mdc-navitemlist` and `mdc-navitem`\n\n### Usage:\nIn a sidenavigation, navitems can be used in the following ways:\n\n1. **Simple navitem** – No submenu or interaction beyond selection.\n\n2. **Navitem with submenu**:\n - Provide an `id` on the `mdc-navitem`\n - Set the `triggerId` on the corresponding `mdc-menupopover` to match the navitem's `id`\n - Set `parent-nav-tooltip-text` with appropriate text that will display when a child menu item\n inside the nested menupopover is active, conveying which submenu item is currently selected\n\n3. **Actionable navitem (no submenu)**:\n - Performs an action such as navigation or alert trigger\n - Set `disable-aria-current=\"true\"` to maintain visual active state without navigation behavior\n\n### Recommendations:\n- Use `mdc-text` for section headers\n- Use `mdc-divider` with the attribute `variant=\"gradient\"` for section dividers\n- For the brand logo, use an informative icon. Refer to `Momentum Informative Icons`\n\n#### Accessibility Notes:\n- Always provide meaningful `aria-label` attributes for both `mdc-navitem` and `mdc-navitemlist`\nto ensure screen reader support\n- Set `grabber-btn-aria-label` to provide accessible labels for the expand/collapse grabber button",
|
|
29247
|
-
"name": "SideNavigation",
|
|
29248
|
-
"cssProperties": [
|
|
29249
|
-
{
|
|
29250
|
-
"description": "width of the sideNavigation when expanded",
|
|
29251
|
-
"name": "--mdc-sidenavigation-expanded-width"
|
|
29252
|
-
},
|
|
29253
|
-
{
|
|
29254
|
-
"description": "width of the sideNavigation when collpased",
|
|
29255
|
-
"name": "--mdc-sidenavigation-collapsed-width"
|
|
29256
|
-
}
|
|
29257
|
-
],
|
|
29258
|
-
"slots": [
|
|
29259
|
-
{
|
|
29260
|
-
"description": "Slot for the scrollable content area of the side navigation.",
|
|
29261
|
-
"name": "scrollable-section"
|
|
29262
|
-
},
|
|
29263
|
-
{
|
|
29264
|
-
"description": "Slot for the fixed content area of the side navigation.",
|
|
29265
|
-
"name": "fixed-section"
|
|
29266
|
-
},
|
|
29267
|
-
{
|
|
29268
|
-
"description": "Slot for the brand logo (e.g., icon or img).",
|
|
29269
|
-
"name": "brand-logo"
|
|
29270
|
-
}
|
|
29271
|
-
],
|
|
29272
|
-
"members": [
|
|
29273
|
-
{
|
|
29274
|
-
"kind": "field",
|
|
29275
|
-
"name": "Context",
|
|
29276
|
-
"privacy": "public",
|
|
29277
|
-
"static": true,
|
|
29278
|
-
"readonly": true
|
|
29279
|
-
},
|
|
29280
|
-
{
|
|
29281
|
-
"kind": "field",
|
|
29282
|
-
"name": "variant",
|
|
29283
|
-
"type": {
|
|
29284
|
-
"text": "SideNavigationVariant"
|
|
29285
|
-
},
|
|
29286
|
-
"description": "Four variants of the sideNavigation\n- **fixed-collapsed**: Shows icons without labels and has fixed width, 4.5rem.\n- **fixed-expanded**: Shows icons with labels and has fixed width, 15rem.\n- **flexible**: Toggles between collapsed/expanded states.\n- **hidden**: Removes the sidenavigation from the DOM.",
|
|
29287
|
-
"default": "flexible",
|
|
29288
|
-
"attribute": "variant",
|
|
29289
|
-
"reflects": true
|
|
29290
|
-
},
|
|
29291
|
-
{
|
|
29292
|
-
"kind": "field",
|
|
29293
|
-
"name": "customerName",
|
|
29294
|
-
"type": {
|
|
29295
|
-
"text": "string"
|
|
29296
|
-
},
|
|
29297
|
-
"default": "''",
|
|
29298
|
-
"description": "Name of the customer. This is displayed in the bottom section of the side-navigation component.",
|
|
29299
|
-
"attribute": "customer-name",
|
|
29300
|
-
"reflects": true
|
|
29301
|
-
},
|
|
29302
|
-
{
|
|
29303
|
-
"kind": "field",
|
|
29304
|
-
"name": "grabberBtnAriaLabel",
|
|
29305
|
-
"type": {
|
|
29306
|
-
"text": "string | undefined"
|
|
29307
|
-
},
|
|
29308
|
-
"description": "Provides an accessible label for the grabber button.\nThis value is used to set the `aria-label` attribute for the button.",
|
|
29309
|
-
"default": "''",
|
|
29310
|
-
"attribute": "grabber-btn-aria-label",
|
|
29311
|
-
"reflects": true
|
|
29312
|
-
},
|
|
29313
|
-
{
|
|
29314
|
-
"kind": "field",
|
|
29315
|
-
"name": "parentNavTooltipText",
|
|
29316
|
-
"type": {
|
|
29317
|
-
"text": "string | undefined"
|
|
29318
|
-
},
|
|
29319
|
-
"description": "Tooltip text shown on parent nav items when a child is active.",
|
|
29320
|
-
"attribute": "parent-nav-tooltip-text",
|
|
29321
|
-
"reflects": true
|
|
29322
|
-
},
|
|
29323
|
-
{
|
|
29324
|
-
"kind": "method",
|
|
29325
|
-
"name": "updateContext",
|
|
29326
|
-
"privacy": "protected",
|
|
29327
|
-
"return": {
|
|
29328
|
-
"type": {
|
|
29329
|
-
"text": "void"
|
|
29330
|
-
}
|
|
29331
|
-
},
|
|
29332
|
-
"description": "Update all observing components of this\nprovider to update the values\n\nIs called on every re-render, see Provider class"
|
|
29333
|
-
}
|
|
29334
|
-
],
|
|
29335
|
-
"events": [
|
|
29336
|
-
{
|
|
29337
|
-
"description": "(React: onActiveChange) Dispatched when the active state of the navitem changes.",
|
|
29338
|
-
"name": "activechange",
|
|
29339
|
-
"reactName": "onActiveChange"
|
|
29340
|
-
}
|
|
29341
|
-
],
|
|
29342
|
-
"attributes": [
|
|
29343
|
-
{
|
|
29344
|
-
"name": "variant",
|
|
29345
|
-
"type": {
|
|
29346
|
-
"text": "SideNavigationVariant"
|
|
29347
|
-
},
|
|
29348
|
-
"description": "Four variants of the sideNavigation\n- **fixed-collapsed**: Shows icons without labels and has fixed width, 4.5rem.\n- **fixed-expanded**: Shows icons with labels and has fixed width, 15rem.\n- **flexible**: Toggles between collapsed/expanded states.\n- **hidden**: Removes the sidenavigation from the DOM.",
|
|
29349
|
-
"default": "flexible",
|
|
29350
|
-
"fieldName": "variant"
|
|
29351
|
-
},
|
|
29352
|
-
{
|
|
29353
|
-
"name": "customer-name",
|
|
29354
|
-
"type": {
|
|
29355
|
-
"text": "string"
|
|
29356
|
-
},
|
|
29357
|
-
"default": "''",
|
|
29358
|
-
"description": "Name of the customer. This is displayed in the bottom section of the side-navigation component.",
|
|
29359
|
-
"fieldName": "customerName"
|
|
29360
|
-
},
|
|
29361
|
-
{
|
|
29362
|
-
"name": "grabber-btn-aria-label",
|
|
29363
|
-
"type": {
|
|
29364
|
-
"text": "string | undefined"
|
|
29365
|
-
},
|
|
29366
|
-
"description": "Provides an accessible label for the grabber button.\nThis value is used to set the `aria-label` attribute for the button.",
|
|
29367
|
-
"default": "''",
|
|
29368
|
-
"fieldName": "grabberBtnAriaLabel"
|
|
29369
|
-
},
|
|
29370
|
-
{
|
|
29371
|
-
"name": "parent-nav-tooltip-text",
|
|
29372
|
-
"type": {
|
|
29373
|
-
"text": "string | undefined"
|
|
29374
|
-
},
|
|
29375
|
-
"description": "Tooltip text shown on parent nav items when a child is active.",
|
|
29376
|
-
"fieldName": "parentNavTooltipText"
|
|
29377
|
-
}
|
|
29378
|
-
],
|
|
29379
|
-
"superclass": {
|
|
29380
|
-
"name": "Provider",
|
|
29381
|
-
"module": "/src/models"
|
|
29382
|
-
},
|
|
29383
|
-
"tagName": "mdc-sidenavigation",
|
|
29384
|
-
"jsDoc": "/**\n * The `mdc-sidenavigation` component provides a vertically stacked navigation experience,\n * typically used in layouts with persistent or collapsible sidebars.\n *\n * ## Features:\n * - Supports four layout variants: `fixed-collapsed`, `fixed-expanded`, `flexible`, and `hidden`\n * - Toggleable expand/collapse behavior\n * - Displays brand logo and customer name\n * - Serves as a context provider for descendant components - `mdc-navitemlist` and `mdc-navitem`\n *\n * ### Usage:\n * In a sidenavigation, navitems can be used in the following ways:\n *\n * 1. **Simple navitem** – No submenu or interaction beyond selection.\n *\n * 2. **Navitem with submenu**:\n * - Provide an `id` on the `mdc-navitem`\n * - Set the `triggerId` on the corresponding `mdc-menupopover` to match the navitem's `id`\n * - Set `parent-nav-tooltip-text` with appropriate text that will display when a child menu item\n * inside the nested menupopover is active, conveying which submenu item is currently selected\n *\n * 3. **Actionable navitem (no submenu)**:\n * - Performs an action such as navigation or alert trigger\n * - Set `disable-aria-current=\"true\"` to maintain visual active state without navigation behavior\n *\n * ### Recommendations:\n * - Use `mdc-text` for section headers\n * - Use `mdc-divider` with the attribute `variant=\"gradient\"` for section dividers\n * - For the brand logo, use an informative icon. Refer to `Momentum Informative Icons`\n *\n * #### Accessibility Notes:\n * - Always provide meaningful `aria-label` attributes for both `mdc-navitem` and `mdc-navitemlist`\n * to ensure screen reader support\n * - Set `grabber-btn-aria-label` to provide accessible labels for the expand/collapse grabber button\n *\n * @dependency mdc-text\n * @dependency mdc-button\n * @dependency mdc-divider\n *\n * @event activechange - (React: onActiveChange) Dispatched when the active state of the navitem changes.\n *\n * @tagname mdc-sidenavigation\n *\n * @slot scrollable-section - Slot for the scrollable content area of the side navigation.\n * @slot fixed-section - Slot for the fixed content area of the side navigation.\n * @slot brand-logo - Slot for the brand logo (e.g., icon or img).\n *\n * @cssproperty --mdc-sidenavigation-expanded-width - width of the sideNavigation when expanded\n * @cssproperty --mdc-sidenavigation-collapsed-width - width of the sideNavigation when collpased\n */",
|
|
29385
|
-
"customElement": true
|
|
29386
|
-
}
|
|
29387
|
-
],
|
|
29388
|
-
"exports": [
|
|
29389
|
-
{
|
|
29390
|
-
"kind": "js",
|
|
29391
|
-
"name": "default",
|
|
29392
|
-
"declaration": {
|
|
29393
|
-
"name": "SideNavigation",
|
|
29394
|
-
"module": "components/sidenavigation/sidenavigation.component.js"
|
|
29395
|
-
}
|
|
29396
|
-
}
|
|
29397
|
-
]
|
|
29398
|
-
},
|
|
29399
|
-
{
|
|
29400
|
-
"kind": "javascript-module",
|
|
29401
|
-
"path": "components/skeleton/skeleton.component.js",
|
|
29402
|
-
"declarations": [
|
|
29403
|
-
{
|
|
29404
|
-
"kind": "class",
|
|
29405
|
-
"description": "`mdc-skeleton` is a component that shows a grey placeholder area.\nIt provides visual feedback to users that content is being loaded.\n\n**Skeleton Variants:**\n- **rectangular**: Default variant with 0.25rem border radius\n- **rounded**: Has 0.5rem border radius\n- **circular**: Has 50% border radius for circular shapes\n- **button**: Optimized for button placeholders with 1.25rem border radius\n\n**Sizing Behavior:**\n1. If wrapping content, takes dimensions of wrapped content\n2. Otherwise grows to fill parent container",
|
|
29406
|
-
"name": "Skeleton",
|
|
29407
|
-
"cssProperties": [
|
|
29408
|
-
{
|
|
29409
|
-
"description": "background color of the skeleton",
|
|
29410
|
-
"name": "--mdc-skeleton-background-color"
|
|
29411
|
-
},
|
|
29412
|
-
{
|
|
29413
|
-
"description": "height of the skeleton",
|
|
29414
|
-
"name": "--mdc-skeleton-height"
|
|
29415
|
-
},
|
|
29416
|
-
{
|
|
29417
|
-
"description": "width of the skeleton",
|
|
29418
|
-
"name": "--mdc-skeleton-width"
|
|
29419
|
-
}
|
|
29420
|
-
],
|
|
29421
|
-
"slots": [
|
|
29422
|
-
{
|
|
29423
|
-
"description": "Content to wrap (optional). When provided, skeleton takes dimensions of this content.",
|
|
29424
|
-
"name": ""
|
|
29425
|
-
}
|
|
29426
|
-
],
|
|
29427
|
-
"members": [
|
|
29428
|
-
{
|
|
29429
|
-
"kind": "field",
|
|
29430
|
-
"name": "variant",
|
|
29431
|
-
"type": {
|
|
29432
|
-
"text": "SkeletonVariant"
|
|
29433
|
-
},
|
|
29434
|
-
"description": "The variant of skeleton to display\n- **rectangular**: Default rectangular shape with 0.25rem border radius\n- **rounded**: Rounded rectangle with 0.5rem border radius\n- **circular**: Circular shape with 50% border radius\n- **button**: Button placeholder with 1.25rem border radius",
|
|
29435
|
-
"default": "rectangular",
|
|
29436
|
-
"attribute": "variant",
|
|
29437
|
-
"reflects": true
|
|
29438
|
-
},
|
|
29439
|
-
{
|
|
29440
|
-
"kind": "method",
|
|
29441
|
-
"name": "checkSlotContent",
|
|
29442
|
-
"privacy": "private",
|
|
29443
|
-
"return": {
|
|
29444
|
-
"type": {
|
|
29445
|
-
"text": "void"
|
|
29446
|
-
}
|
|
29447
|
-
}
|
|
29448
|
-
}
|
|
29449
|
-
],
|
|
29450
|
-
"attributes": [
|
|
29451
|
-
{
|
|
29452
|
-
"name": "variant",
|
|
29453
|
-
"type": {
|
|
29454
|
-
"text": "SkeletonVariant"
|
|
29455
|
-
},
|
|
29456
|
-
"description": "The variant of skeleton to display\n- **rectangular**: Default rectangular shape with 0.25rem border radius\n- **rounded**: Rounded rectangle with 0.5rem border radius\n- **circular**: Circular shape with 50% border radius\n- **button**: Button placeholder with 1.25rem border radius",
|
|
29457
|
-
"default": "rectangular",
|
|
29458
|
-
"fieldName": "variant"
|
|
28990
|
+
{
|
|
28991
|
+
"name": "DataAriaLabelMixin",
|
|
28992
|
+
"module": "/src/utils/mixins/DataAriaLabelMixin"
|
|
29459
28993
|
}
|
|
29460
28994
|
],
|
|
29461
28995
|
"superclass": {
|
|
29462
|
-
"name": "
|
|
29463
|
-
"module": "/src/
|
|
28996
|
+
"name": "FormfieldWrapper",
|
|
28997
|
+
"module": "/src/components/formfieldwrapper/formfieldwrapper.component"
|
|
29464
28998
|
},
|
|
29465
|
-
"tagName": "mdc-
|
|
29466
|
-
"jsDoc": "/**\n *
|
|
28999
|
+
"tagName": "mdc-select",
|
|
29000
|
+
"jsDoc": "/**\n * The mdc-select component is a dropdown selection control that allows users to pick an option from a predefined list.\n * It is designed to work with `mdc-option` for individual options and `mdc-optgroup` for grouping related options.\n * The component ensures accessibility and usability while handling various use cases,\n * including long text truncation with tooltip support.\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-popover\n * @dependency mdc-text\n * @dependency mdc-toggletip\n *\n * @tagname mdc-select\n *\n * @slot default - This is a default/unnamed slot for options and/or option group.\n *\n * @event click - (React: onClick) This event is dispatched when the select is clicked.\n * @event change - (React: onChange) This event is dispatched when the select is changed.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the select.\n * @event focus - (React: onFocus) This event is dispatched when the select receives focus.\n */",
|
|
29467
29001
|
"customElement": true
|
|
29468
29002
|
}
|
|
29469
29003
|
],
|
|
@@ -29472,8 +29006,8 @@
|
|
|
29472
29006
|
"kind": "js",
|
|
29473
29007
|
"name": "default",
|
|
29474
29008
|
"declaration": {
|
|
29475
|
-
"name": "
|
|
29476
|
-
"module": "components/
|
|
29009
|
+
"name": "Select",
|
|
29010
|
+
"module": "components/select/select.component.js"
|
|
29477
29011
|
}
|
|
29478
29012
|
}
|
|
29479
29013
|
]
|
|
@@ -29903,6 +29437,247 @@
|
|
|
29903
29437
|
}
|
|
29904
29438
|
]
|
|
29905
29439
|
},
|
|
29440
|
+
{
|
|
29441
|
+
"kind": "javascript-module",
|
|
29442
|
+
"path": "components/sidenavigation/sidenavigation.component.js",
|
|
29443
|
+
"declarations": [
|
|
29444
|
+
{
|
|
29445
|
+
"kind": "class",
|
|
29446
|
+
"description": "The `mdc-sidenavigation` component provides a vertically stacked navigation experience,\ntypically used in layouts with persistent or collapsible sidebars.\n\n## Features:\n- Supports four layout variants: `fixed-collapsed`, `fixed-expanded`, `flexible`, and `hidden`\n- Toggleable expand/collapse behavior\n- Displays brand logo and customer name\n- Serves as a context provider for descendant components - `mdc-navitemlist` and `mdc-navitem`\n\n### Usage:\nIn a sidenavigation, navitems can be used in the following ways:\n\n1. **Simple navitem** – No submenu or interaction beyond selection.\n\n2. **Navitem with submenu**:\n - Provide an `id` on the `mdc-navitem`\n - Set the `triggerId` on the corresponding `mdc-menupopover` to match the navitem's `id`\n - Set `parent-nav-tooltip-text` with appropriate text that will display when a child menu item\n inside the nested menupopover is active, conveying which submenu item is currently selected\n\n3. **Actionable navitem (no submenu)**:\n - Performs an action such as navigation or alert trigger\n - Set `disable-aria-current=\"true\"` to maintain visual active state without navigation behavior\n\n### Recommendations:\n- Use `mdc-text` for section headers\n- Use `mdc-divider` with the attribute `variant=\"gradient\"` for section dividers\n- For the brand logo, use an informative icon. Refer to `Momentum Informative Icons`\n\n#### Accessibility Notes:\n- Always provide meaningful `aria-label` attributes for both `mdc-navitem` and `mdc-navitemlist`\nto ensure screen reader support\n- Set `grabber-btn-aria-label` to provide accessible labels for the expand/collapse grabber button",
|
|
29447
|
+
"name": "SideNavigation",
|
|
29448
|
+
"cssProperties": [
|
|
29449
|
+
{
|
|
29450
|
+
"description": "width of the sideNavigation when expanded",
|
|
29451
|
+
"name": "--mdc-sidenavigation-expanded-width"
|
|
29452
|
+
},
|
|
29453
|
+
{
|
|
29454
|
+
"description": "width of the sideNavigation when collpased",
|
|
29455
|
+
"name": "--mdc-sidenavigation-collapsed-width"
|
|
29456
|
+
}
|
|
29457
|
+
],
|
|
29458
|
+
"slots": [
|
|
29459
|
+
{
|
|
29460
|
+
"description": "Slot for the scrollable content area of the side navigation.",
|
|
29461
|
+
"name": "scrollable-section"
|
|
29462
|
+
},
|
|
29463
|
+
{
|
|
29464
|
+
"description": "Slot for the fixed content area of the side navigation.",
|
|
29465
|
+
"name": "fixed-section"
|
|
29466
|
+
},
|
|
29467
|
+
{
|
|
29468
|
+
"description": "Slot for the brand logo (e.g., icon or img).",
|
|
29469
|
+
"name": "brand-logo"
|
|
29470
|
+
}
|
|
29471
|
+
],
|
|
29472
|
+
"members": [
|
|
29473
|
+
{
|
|
29474
|
+
"kind": "field",
|
|
29475
|
+
"name": "Context",
|
|
29476
|
+
"privacy": "public",
|
|
29477
|
+
"static": true,
|
|
29478
|
+
"readonly": true
|
|
29479
|
+
},
|
|
29480
|
+
{
|
|
29481
|
+
"kind": "field",
|
|
29482
|
+
"name": "variant",
|
|
29483
|
+
"type": {
|
|
29484
|
+
"text": "SideNavigationVariant"
|
|
29485
|
+
},
|
|
29486
|
+
"description": "Four variants of the sideNavigation\n- **fixed-collapsed**: Shows icons without labels and has fixed width, 4.5rem.\n- **fixed-expanded**: Shows icons with labels and has fixed width, 15rem.\n- **flexible**: Toggles between collapsed/expanded states.\n- **hidden**: Removes the sidenavigation from the DOM.",
|
|
29487
|
+
"default": "flexible",
|
|
29488
|
+
"attribute": "variant",
|
|
29489
|
+
"reflects": true
|
|
29490
|
+
},
|
|
29491
|
+
{
|
|
29492
|
+
"kind": "field",
|
|
29493
|
+
"name": "customerName",
|
|
29494
|
+
"type": {
|
|
29495
|
+
"text": "string"
|
|
29496
|
+
},
|
|
29497
|
+
"default": "''",
|
|
29498
|
+
"description": "Name of the customer. This is displayed in the bottom section of the side-navigation component.",
|
|
29499
|
+
"attribute": "customer-name",
|
|
29500
|
+
"reflects": true
|
|
29501
|
+
},
|
|
29502
|
+
{
|
|
29503
|
+
"kind": "field",
|
|
29504
|
+
"name": "grabberBtnAriaLabel",
|
|
29505
|
+
"type": {
|
|
29506
|
+
"text": "string | undefined"
|
|
29507
|
+
},
|
|
29508
|
+
"description": "Provides an accessible label for the grabber button.\nThis value is used to set the `aria-label` attribute for the button.",
|
|
29509
|
+
"default": "''",
|
|
29510
|
+
"attribute": "grabber-btn-aria-label",
|
|
29511
|
+
"reflects": true
|
|
29512
|
+
},
|
|
29513
|
+
{
|
|
29514
|
+
"kind": "field",
|
|
29515
|
+
"name": "parentNavTooltipText",
|
|
29516
|
+
"type": {
|
|
29517
|
+
"text": "string | undefined"
|
|
29518
|
+
},
|
|
29519
|
+
"description": "Tooltip text shown on parent nav items when a child is active.",
|
|
29520
|
+
"attribute": "parent-nav-tooltip-text",
|
|
29521
|
+
"reflects": true
|
|
29522
|
+
},
|
|
29523
|
+
{
|
|
29524
|
+
"kind": "method",
|
|
29525
|
+
"name": "updateContext",
|
|
29526
|
+
"privacy": "protected",
|
|
29527
|
+
"return": {
|
|
29528
|
+
"type": {
|
|
29529
|
+
"text": "void"
|
|
29530
|
+
}
|
|
29531
|
+
},
|
|
29532
|
+
"description": "Update all observing components of this\nprovider to update the values\n\nIs called on every re-render, see Provider class"
|
|
29533
|
+
}
|
|
29534
|
+
],
|
|
29535
|
+
"events": [
|
|
29536
|
+
{
|
|
29537
|
+
"description": "(React: onActiveChange) Dispatched when the active state of the navitem changes.",
|
|
29538
|
+
"name": "activechange",
|
|
29539
|
+
"reactName": "onActiveChange"
|
|
29540
|
+
}
|
|
29541
|
+
],
|
|
29542
|
+
"attributes": [
|
|
29543
|
+
{
|
|
29544
|
+
"name": "variant",
|
|
29545
|
+
"type": {
|
|
29546
|
+
"text": "SideNavigationVariant"
|
|
29547
|
+
},
|
|
29548
|
+
"description": "Four variants of the sideNavigation\n- **fixed-collapsed**: Shows icons without labels and has fixed width, 4.5rem.\n- **fixed-expanded**: Shows icons with labels and has fixed width, 15rem.\n- **flexible**: Toggles between collapsed/expanded states.\n- **hidden**: Removes the sidenavigation from the DOM.",
|
|
29549
|
+
"default": "flexible",
|
|
29550
|
+
"fieldName": "variant"
|
|
29551
|
+
},
|
|
29552
|
+
{
|
|
29553
|
+
"name": "customer-name",
|
|
29554
|
+
"type": {
|
|
29555
|
+
"text": "string"
|
|
29556
|
+
},
|
|
29557
|
+
"default": "''",
|
|
29558
|
+
"description": "Name of the customer. This is displayed in the bottom section of the side-navigation component.",
|
|
29559
|
+
"fieldName": "customerName"
|
|
29560
|
+
},
|
|
29561
|
+
{
|
|
29562
|
+
"name": "grabber-btn-aria-label",
|
|
29563
|
+
"type": {
|
|
29564
|
+
"text": "string | undefined"
|
|
29565
|
+
},
|
|
29566
|
+
"description": "Provides an accessible label for the grabber button.\nThis value is used to set the `aria-label` attribute for the button.",
|
|
29567
|
+
"default": "''",
|
|
29568
|
+
"fieldName": "grabberBtnAriaLabel"
|
|
29569
|
+
},
|
|
29570
|
+
{
|
|
29571
|
+
"name": "parent-nav-tooltip-text",
|
|
29572
|
+
"type": {
|
|
29573
|
+
"text": "string | undefined"
|
|
29574
|
+
},
|
|
29575
|
+
"description": "Tooltip text shown on parent nav items when a child is active.",
|
|
29576
|
+
"fieldName": "parentNavTooltipText"
|
|
29577
|
+
}
|
|
29578
|
+
],
|
|
29579
|
+
"superclass": {
|
|
29580
|
+
"name": "Provider",
|
|
29581
|
+
"module": "/src/models"
|
|
29582
|
+
},
|
|
29583
|
+
"tagName": "mdc-sidenavigation",
|
|
29584
|
+
"jsDoc": "/**\n * The `mdc-sidenavigation` component provides a vertically stacked navigation experience,\n * typically used in layouts with persistent or collapsible sidebars.\n *\n * ## Features:\n * - Supports four layout variants: `fixed-collapsed`, `fixed-expanded`, `flexible`, and `hidden`\n * - Toggleable expand/collapse behavior\n * - Displays brand logo and customer name\n * - Serves as a context provider for descendant components - `mdc-navitemlist` and `mdc-navitem`\n *\n * ### Usage:\n * In a sidenavigation, navitems can be used in the following ways:\n *\n * 1. **Simple navitem** – No submenu or interaction beyond selection.\n *\n * 2. **Navitem with submenu**:\n * - Provide an `id` on the `mdc-navitem`\n * - Set the `triggerId` on the corresponding `mdc-menupopover` to match the navitem's `id`\n * - Set `parent-nav-tooltip-text` with appropriate text that will display when a child menu item\n * inside the nested menupopover is active, conveying which submenu item is currently selected\n *\n * 3. **Actionable navitem (no submenu)**:\n * - Performs an action such as navigation or alert trigger\n * - Set `disable-aria-current=\"true\"` to maintain visual active state without navigation behavior\n *\n * ### Recommendations:\n * - Use `mdc-text` for section headers\n * - Use `mdc-divider` with the attribute `variant=\"gradient\"` for section dividers\n * - For the brand logo, use an informative icon. Refer to `Momentum Informative Icons`\n *\n * #### Accessibility Notes:\n * - Always provide meaningful `aria-label` attributes for both `mdc-navitem` and `mdc-navitemlist`\n * to ensure screen reader support\n * - Set `grabber-btn-aria-label` to provide accessible labels for the expand/collapse grabber button\n *\n * @dependency mdc-text\n * @dependency mdc-button\n * @dependency mdc-divider\n *\n * @event activechange - (React: onActiveChange) Dispatched when the active state of the navitem changes.\n *\n * @tagname mdc-sidenavigation\n *\n * @slot scrollable-section - Slot for the scrollable content area of the side navigation.\n * @slot fixed-section - Slot for the fixed content area of the side navigation.\n * @slot brand-logo - Slot for the brand logo (e.g., icon or img).\n *\n * @cssproperty --mdc-sidenavigation-expanded-width - width of the sideNavigation when expanded\n * @cssproperty --mdc-sidenavigation-collapsed-width - width of the sideNavigation when collpased\n */",
|
|
29585
|
+
"customElement": true
|
|
29586
|
+
}
|
|
29587
|
+
],
|
|
29588
|
+
"exports": [
|
|
29589
|
+
{
|
|
29590
|
+
"kind": "js",
|
|
29591
|
+
"name": "default",
|
|
29592
|
+
"declaration": {
|
|
29593
|
+
"name": "SideNavigation",
|
|
29594
|
+
"module": "components/sidenavigation/sidenavigation.component.js"
|
|
29595
|
+
}
|
|
29596
|
+
}
|
|
29597
|
+
]
|
|
29598
|
+
},
|
|
29599
|
+
{
|
|
29600
|
+
"kind": "javascript-module",
|
|
29601
|
+
"path": "components/skeleton/skeleton.component.js",
|
|
29602
|
+
"declarations": [
|
|
29603
|
+
{
|
|
29604
|
+
"kind": "class",
|
|
29605
|
+
"description": "`mdc-skeleton` is a component that shows a grey placeholder area.\nIt provides visual feedback to users that content is being loaded.\n\n**Skeleton Variants:**\n- **rectangular**: Default variant with 0.25rem border radius\n- **rounded**: Has 0.5rem border radius\n- **circular**: Has 50% border radius for circular shapes\n- **button**: Optimized for button placeholders with 1.25rem border radius\n\n**Sizing Behavior:**\n1. If wrapping content, takes dimensions of wrapped content\n2. Otherwise grows to fill parent container",
|
|
29606
|
+
"name": "Skeleton",
|
|
29607
|
+
"cssProperties": [
|
|
29608
|
+
{
|
|
29609
|
+
"description": "background color of the skeleton",
|
|
29610
|
+
"name": "--mdc-skeleton-background-color"
|
|
29611
|
+
},
|
|
29612
|
+
{
|
|
29613
|
+
"description": "height of the skeleton",
|
|
29614
|
+
"name": "--mdc-skeleton-height"
|
|
29615
|
+
},
|
|
29616
|
+
{
|
|
29617
|
+
"description": "width of the skeleton",
|
|
29618
|
+
"name": "--mdc-skeleton-width"
|
|
29619
|
+
}
|
|
29620
|
+
],
|
|
29621
|
+
"slots": [
|
|
29622
|
+
{
|
|
29623
|
+
"description": "Content to wrap (optional). When provided, skeleton takes dimensions of this content.",
|
|
29624
|
+
"name": ""
|
|
29625
|
+
}
|
|
29626
|
+
],
|
|
29627
|
+
"members": [
|
|
29628
|
+
{
|
|
29629
|
+
"kind": "field",
|
|
29630
|
+
"name": "variant",
|
|
29631
|
+
"type": {
|
|
29632
|
+
"text": "SkeletonVariant"
|
|
29633
|
+
},
|
|
29634
|
+
"description": "The variant of skeleton to display\n- **rectangular**: Default rectangular shape with 0.25rem border radius\n- **rounded**: Rounded rectangle with 0.5rem border radius\n- **circular**: Circular shape with 50% border radius\n- **button**: Button placeholder with 1.25rem border radius",
|
|
29635
|
+
"default": "rectangular",
|
|
29636
|
+
"attribute": "variant",
|
|
29637
|
+
"reflects": true
|
|
29638
|
+
},
|
|
29639
|
+
{
|
|
29640
|
+
"kind": "method",
|
|
29641
|
+
"name": "checkSlotContent",
|
|
29642
|
+
"privacy": "private",
|
|
29643
|
+
"return": {
|
|
29644
|
+
"type": {
|
|
29645
|
+
"text": "void"
|
|
29646
|
+
}
|
|
29647
|
+
}
|
|
29648
|
+
}
|
|
29649
|
+
],
|
|
29650
|
+
"attributes": [
|
|
29651
|
+
{
|
|
29652
|
+
"name": "variant",
|
|
29653
|
+
"type": {
|
|
29654
|
+
"text": "SkeletonVariant"
|
|
29655
|
+
},
|
|
29656
|
+
"description": "The variant of skeleton to display\n- **rectangular**: Default rectangular shape with 0.25rem border radius\n- **rounded**: Rounded rectangle with 0.5rem border radius\n- **circular**: Circular shape with 50% border radius\n- **button**: Button placeholder with 1.25rem border radius",
|
|
29657
|
+
"default": "rectangular",
|
|
29658
|
+
"fieldName": "variant"
|
|
29659
|
+
}
|
|
29660
|
+
],
|
|
29661
|
+
"superclass": {
|
|
29662
|
+
"name": "Component",
|
|
29663
|
+
"module": "/src/models"
|
|
29664
|
+
},
|
|
29665
|
+
"tagName": "mdc-skeleton",
|
|
29666
|
+
"jsDoc": "/**\n * `mdc-skeleton` is a component that shows a grey placeholder area.\n * It provides visual feedback to users that content is being loaded.\n *\n * **Skeleton Variants:**\n * - **rectangular**: Default variant with 0.25rem border radius\n * - **rounded**: Has 0.5rem border radius\n * - **circular**: Has 50% border radius for circular shapes\n * - **button**: Optimized for button placeholders with 1.25rem border radius\n *\n * **Sizing Behavior:**\n * 1. If wrapping content, takes dimensions of wrapped content\n * 2. Otherwise grows to fill parent container\n *\n * @tagname mdc-skeleton\n *\n * @slot - Content to wrap (optional). When provided, skeleton takes dimensions of this content.\n *\n * @cssproperty --mdc-skeleton-background-color - background color of the skeleton\n * @cssproperty --mdc-skeleton-height - height of the skeleton\n * @cssproperty --mdc-skeleton-width - width of the skeleton\n */",
|
|
29667
|
+
"customElement": true
|
|
29668
|
+
}
|
|
29669
|
+
],
|
|
29670
|
+
"exports": [
|
|
29671
|
+
{
|
|
29672
|
+
"kind": "js",
|
|
29673
|
+
"name": "default",
|
|
29674
|
+
"declaration": {
|
|
29675
|
+
"name": "Skeleton",
|
|
29676
|
+
"module": "components/skeleton/skeleton.component.js"
|
|
29677
|
+
}
|
|
29678
|
+
}
|
|
29679
|
+
]
|
|
29680
|
+
},
|
|
29906
29681
|
{
|
|
29907
29682
|
"kind": "javascript-module",
|
|
29908
29683
|
"path": "components/statictoggle/statictoggle.component.js",
|