@momentum-design/components 0.102.9 → 0.102.10
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 +1 -1
- package/dist/browser/index.js.map +2 -2
- package/dist/components/dialog/dialog.component.d.ts +1 -1
- package/dist/components/dialog/dialog.component.js +1 -1
- package/dist/components/popover/popover.component.d.ts +5 -0
- package/dist/components/popover/popover.component.js +12 -2
- package/dist/custom-elements.json +463 -417
- package/dist/react/index.d.ts +3 -3
- package/dist/react/index.js +3 -3
- package/package.json +1 -1
@@ -10364,6 +10364,16 @@
|
|
10364
10364
|
"module": "components/popover/popover.component.js"
|
10365
10365
|
}
|
10366
10366
|
},
|
10367
|
+
{
|
10368
|
+
"kind": "field",
|
10369
|
+
"name": "handleFocusIn",
|
10370
|
+
"privacy": "private",
|
10371
|
+
"description": "Handles focus in event on the trigger element.\nThis method checks if the trigger element has visible focus or is being hovered.",
|
10372
|
+
"inheritedFrom": {
|
10373
|
+
"name": "Popover",
|
10374
|
+
"module": "components/popover/popover.component.js"
|
10375
|
+
}
|
10376
|
+
},
|
10367
10377
|
{
|
10368
10378
|
"kind": "field",
|
10369
10379
|
"name": "startCloseDelay",
|
@@ -17787,15 +17797,15 @@
|
|
17787
17797
|
},
|
17788
17798
|
{
|
17789
17799
|
"kind": "javascript-module",
|
17790
|
-
"path": "components/
|
17800
|
+
"path": "components/menuitem/menuitem.component.js",
|
17791
17801
|
"declarations": [
|
17792
17802
|
{
|
17793
17803
|
"kind": "class",
|
17794
|
-
"description": "
|
17795
|
-
"name": "
|
17804
|
+
"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.",
|
17805
|
+
"name": "MenuItem",
|
17796
17806
|
"slots": [
|
17797
17807
|
{
|
17798
|
-
"description": "slot for menu item
|
17808
|
+
"description": "slot for menu item controls to appear of leading end.",
|
17799
17809
|
"name": "leading-controls",
|
17800
17810
|
"inheritedFrom": {
|
17801
17811
|
"name": "ListItem",
|
@@ -17803,7 +17813,7 @@
|
|
17803
17813
|
}
|
17804
17814
|
},
|
17805
17815
|
{
|
17806
|
-
"description": "slot for menu item
|
17816
|
+
"description": "slot for menu item primary label.",
|
17807
17817
|
"name": "leading-text-primary-label",
|
17808
17818
|
"inheritedFrom": {
|
17809
17819
|
"name": "ListItem",
|
@@ -17811,7 +17821,7 @@
|
|
17811
17821
|
}
|
17812
17822
|
},
|
17813
17823
|
{
|
17814
|
-
"description": "slot for menu item
|
17824
|
+
"description": "slot for menu item secondary label.",
|
17815
17825
|
"name": "leading-text-secondary-label",
|
17816
17826
|
"inheritedFrom": {
|
17817
17827
|
"name": "ListItem",
|
@@ -17819,7 +17829,7 @@
|
|
17819
17829
|
}
|
17820
17830
|
},
|
17821
17831
|
{
|
17822
|
-
"description": "slot for menu item
|
17832
|
+
"description": "slot for menu item tertiary label.",
|
17823
17833
|
"name": "leading-text-tertiary-label",
|
17824
17834
|
"inheritedFrom": {
|
17825
17835
|
"name": "ListItem",
|
@@ -17827,7 +17837,7 @@
|
|
17827
17837
|
}
|
17828
17838
|
},
|
17829
17839
|
{
|
17830
|
-
"description": "slot for menu item
|
17840
|
+
"description": "slot for menu item side header text.",
|
17831
17841
|
"name": "trailing-text-side-header",
|
17832
17842
|
"inheritedFrom": {
|
17833
17843
|
"name": "ListItem",
|
@@ -17835,7 +17845,7 @@
|
|
17835
17845
|
}
|
17836
17846
|
},
|
17837
17847
|
{
|
17838
|
-
"description": "slot for menu item
|
17848
|
+
"description": "slot for menu item subline text.",
|
17839
17849
|
"name": "trailing-text-subline",
|
17840
17850
|
"inheritedFrom": {
|
17841
17851
|
"name": "ListItem",
|
@@ -17843,7 +17853,7 @@
|
|
17843
17853
|
}
|
17844
17854
|
},
|
17845
17855
|
{
|
17846
|
-
"description": "slot for menu item
|
17856
|
+
"description": "slot for menu item controls to appear of trailing end.",
|
17847
17857
|
"name": "trailing-controls",
|
17848
17858
|
"inheritedFrom": {
|
17849
17859
|
"name": "ListItem",
|
@@ -17860,67 +17870,6 @@
|
|
17860
17870
|
}
|
17861
17871
|
],
|
17862
17872
|
"members": [
|
17863
|
-
{
|
17864
|
-
"kind": "field",
|
17865
|
-
"name": "checked",
|
17866
|
-
"type": {
|
17867
|
-
"text": "boolean"
|
17868
|
-
},
|
17869
|
-
"default": "false",
|
17870
|
-
"description": "The checked attribute is used to indicate that the menuitemcheckbox is checked or not.",
|
17871
|
-
"attribute": "checked",
|
17872
|
-
"reflects": true
|
17873
|
-
},
|
17874
|
-
{
|
17875
|
-
"kind": "field",
|
17876
|
-
"name": "indicator",
|
17877
|
-
"type": {
|
17878
|
-
"text": "Indicator"
|
17879
|
-
},
|
17880
|
-
"description": "The indicator attribute is used to differentiate between <b>checkbox</b> and <b>toggle</b>.",
|
17881
|
-
"default": "'checkbox'",
|
17882
|
-
"attribute": "indicator",
|
17883
|
-
"reflects": true
|
17884
|
-
},
|
17885
|
-
{
|
17886
|
-
"kind": "method",
|
17887
|
-
"name": "handleMouseClick",
|
17888
|
-
"privacy": "private",
|
17889
|
-
"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`."
|
17890
|
-
},
|
17891
|
-
{
|
17892
|
-
"kind": "method",
|
17893
|
-
"name": "staticCheckbox",
|
17894
|
-
"privacy": "private",
|
17895
|
-
"return": {
|
17896
|
-
"type": {
|
17897
|
-
"text": ""
|
17898
|
-
}
|
17899
|
-
},
|
17900
|
-
"description": "Returns a static checkbox element if the indicator is set to checkbox.\nIf the indicator is not set to checkbox, it returns nothing."
|
17901
|
-
},
|
17902
|
-
{
|
17903
|
-
"kind": "method",
|
17904
|
-
"name": "staticToggle",
|
17905
|
-
"privacy": "private",
|
17906
|
-
"return": {
|
17907
|
-
"type": {
|
17908
|
-
"text": ""
|
17909
|
-
}
|
17910
|
-
},
|
17911
|
-
"description": "Returns a static toggle element if the indicator is set to toggle.\nIf the indicator is not set to toggle, it returns nothing.\n\nThe toggle will always be positioned on the trailing side of the menuitem label."
|
17912
|
-
},
|
17913
|
-
{
|
17914
|
-
"kind": "method",
|
17915
|
-
"name": "getCheckmarkIcon",
|
17916
|
-
"privacy": "private",
|
17917
|
-
"return": {
|
17918
|
-
"type": {
|
17919
|
-
"text": ""
|
17920
|
-
}
|
17921
|
-
},
|
17922
|
-
"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."
|
17923
|
-
},
|
17924
17873
|
{
|
17925
17874
|
"kind": "field",
|
17926
17875
|
"name": "arrowPosition",
|
@@ -17929,11 +17878,7 @@
|
|
17929
17878
|
},
|
17930
17879
|
"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.",
|
17931
17880
|
"attribute": "arrow-position",
|
17932
|
-
"reflects": true
|
17933
|
-
"inheritedFrom": {
|
17934
|
-
"name": "MenuItem",
|
17935
|
-
"module": "components/menuitem/menuitem.component.js"
|
17936
|
-
}
|
17881
|
+
"reflects": true
|
17937
17882
|
},
|
17938
17883
|
{
|
17939
17884
|
"kind": "field",
|
@@ -17943,11 +17888,7 @@
|
|
17943
17888
|
},
|
17944
17889
|
"description": "Defines the direction the arrow icon points.\n- `'positive'`: Arrow points toward the trailing side.\n- `'negative'`: Arrow points toward the leading side.",
|
17945
17890
|
"attribute": "arrow-direction",
|
17946
|
-
"reflects": true
|
17947
|
-
"inheritedFrom": {
|
17948
|
-
"name": "MenuItem",
|
17949
|
-
"module": "components/menuitem/menuitem.component.js"
|
17950
|
-
}
|
17891
|
+
"reflects": true
|
17951
17892
|
},
|
17952
17893
|
{
|
17953
17894
|
"kind": "field",
|
@@ -17958,11 +17899,7 @@
|
|
17958
17899
|
"default": "undefined",
|
17959
17900
|
"description": "The name attribute is used to identify the menu item when it is selected.",
|
17960
17901
|
"attribute": "name",
|
17961
|
-
"reflects": true
|
17962
|
-
"inheritedFrom": {
|
17963
|
-
"name": "MenuItem",
|
17964
|
-
"module": "components/menuitem/menuitem.component.js"
|
17965
|
-
}
|
17902
|
+
"reflects": true
|
17966
17903
|
},
|
17967
17904
|
{
|
17968
17905
|
"kind": "field",
|
@@ -17973,11 +17910,7 @@
|
|
17973
17910
|
"default": "undefined",
|
17974
17911
|
"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.",
|
17975
17912
|
"attribute": "value",
|
17976
|
-
"reflects": true
|
17977
|
-
"inheritedFrom": {
|
17978
|
-
"name": "MenuItem",
|
17979
|
-
"module": "components/menuitem/menuitem.component.js"
|
17980
|
-
}
|
17913
|
+
"reflects": true
|
17981
17914
|
},
|
17982
17915
|
{
|
17983
17916
|
"kind": "method",
|
@@ -18021,11 +17954,7 @@
|
|
18021
17954
|
"description": "The keyboard event that triggered the action."
|
18022
17955
|
}
|
18023
17956
|
],
|
18024
|
-
"description": "Handles the keyup event for the menu item.\nIf the Space key is released, it triggers a click event on the menu item.\nThis allows keyboard users to activate the menu item using the Space key.\nIt also prevents the default action of the Space key to avoid scrolling the page.\n\nThis follows the native behaviour, actionable element can be triggered by Space\nkey on the keyup event.\n\nNote: Action triggered by Enter on the keydown event."
|
18025
|
-
"inheritedFrom": {
|
18026
|
-
"name": "MenuItem",
|
18027
|
-
"module": "components/menuitem/menuitem.component.js"
|
18028
|
-
}
|
17957
|
+
"description": "Handles the keyup event for the menu item.\nIf the Space key is released, it triggers a click event on the menu item.\nThis allows keyboard users to activate the menu item using the Space key.\nIt also prevents the default action of the Space key to avoid scrolling the page.\n\nThis follows the native behaviour, actionable element can be triggered by Space\nkey on the keyup event.\n\nNote: Action triggered by Enter on the keydown event."
|
18029
17958
|
},
|
18030
17959
|
{
|
18031
17960
|
"kind": "method",
|
@@ -18362,15 +18291,7 @@
|
|
18362
18291
|
],
|
18363
18292
|
"events": [
|
18364
18293
|
{
|
18365
|
-
"
|
18366
|
-
"type": {
|
18367
|
-
"text": "Event"
|
18368
|
-
},
|
18369
|
-
"description": "(React: onChange) This event is dispatched when the menuitemcheckbox changes.",
|
18370
|
-
"reactName": "onChange"
|
18371
|
-
},
|
18372
|
-
{
|
18373
|
-
"description": "(React: onClick) This event is dispatched when the menuitemcheckbox is clicked.",
|
18294
|
+
"description": "(React: onClick) This event is dispatched when the menuitem is clicked.",
|
18374
18295
|
"name": "click",
|
18375
18296
|
"reactName": "onClick",
|
18376
18297
|
"inheritedFrom": {
|
@@ -18378,15 +18299,6 @@
|
|
18378
18299
|
"module": "src/components/listitem/listitem.component.ts"
|
18379
18300
|
}
|
18380
18301
|
},
|
18381
|
-
{
|
18382
|
-
"description": "(React: onFocus) This event is dispatched when the menuitemcheckbox receives focus.",
|
18383
|
-
"name": "focus",
|
18384
|
-
"reactName": "onFocus",
|
18385
|
-
"inheritedFrom": {
|
18386
|
-
"name": "ListItem",
|
18387
|
-
"module": "src/components/listitem/listitem.component.ts"
|
18388
|
-
}
|
18389
|
-
},
|
18390
18302
|
{
|
18391
18303
|
"description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the menuitem.",
|
18392
18304
|
"name": "keydown",
|
@@ -18405,6 +18317,15 @@
|
|
18405
18317
|
"module": "src/components/listitem/listitem.component.ts"
|
18406
18318
|
}
|
18407
18319
|
},
|
18320
|
+
{
|
18321
|
+
"description": "(React: onFocus) This event is dispatched when the menuitem receives focus.",
|
18322
|
+
"name": "focus",
|
18323
|
+
"reactName": "onFocus",
|
18324
|
+
"inheritedFrom": {
|
18325
|
+
"name": "ListItem",
|
18326
|
+
"module": "src/components/listitem/listitem.component.ts"
|
18327
|
+
}
|
18328
|
+
},
|
18408
18329
|
{
|
18409
18330
|
"description": "(React: onEnabled) This event is dispatched after the listitem is enabled",
|
18410
18331
|
"name": "enabled",
|
@@ -18443,35 +18364,13 @@
|
|
18443
18364
|
}
|
18444
18365
|
],
|
18445
18366
|
"attributes": [
|
18446
|
-
{
|
18447
|
-
"name": "checked",
|
18448
|
-
"type": {
|
18449
|
-
"text": "boolean"
|
18450
|
-
},
|
18451
|
-
"default": "false",
|
18452
|
-
"description": "The checked attribute is used to indicate that the menuitemcheckbox is checked or not.",
|
18453
|
-
"fieldName": "checked"
|
18454
|
-
},
|
18455
|
-
{
|
18456
|
-
"name": "indicator",
|
18457
|
-
"type": {
|
18458
|
-
"text": "Indicator"
|
18459
|
-
},
|
18460
|
-
"description": "The indicator attribute is used to differentiate between <b>checkbox</b> and <b>toggle</b>.",
|
18461
|
-
"default": "'checkbox'",
|
18462
|
-
"fieldName": "indicator"
|
18463
|
-
},
|
18464
18367
|
{
|
18465
18368
|
"name": "arrow-position",
|
18466
18369
|
"type": {
|
18467
18370
|
"text": "ArrowPositions | undefined"
|
18468
18371
|
},
|
18469
18372
|
"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.",
|
18470
|
-
"fieldName": "arrowPosition"
|
18471
|
-
"inheritedFrom": {
|
18472
|
-
"name": "MenuItem",
|
18473
|
-
"module": "src/components/menuitem/menuitem.component.ts"
|
18474
|
-
}
|
18373
|
+
"fieldName": "arrowPosition"
|
18475
18374
|
},
|
18476
18375
|
{
|
18477
18376
|
"name": "arrow-direction",
|
@@ -18479,11 +18378,7 @@
|
|
18479
18378
|
"text": "ArrowDirections | undefined"
|
18480
18379
|
},
|
18481
18380
|
"description": "Defines the direction the arrow icon points.\n- `'positive'`: Arrow points toward the trailing side.\n- `'negative'`: Arrow points toward the leading side.",
|
18482
|
-
"fieldName": "arrowDirection"
|
18483
|
-
"inheritedFrom": {
|
18484
|
-
"name": "MenuItem",
|
18485
|
-
"module": "src/components/menuitem/menuitem.component.ts"
|
18486
|
-
}
|
18381
|
+
"fieldName": "arrowDirection"
|
18487
18382
|
},
|
18488
18383
|
{
|
18489
18384
|
"name": "name",
|
@@ -18492,11 +18387,7 @@
|
|
18492
18387
|
},
|
18493
18388
|
"default": "undefined",
|
18494
18389
|
"description": "The name attribute is used to identify the menu item when it is selected.",
|
18495
|
-
"fieldName": "name"
|
18496
|
-
"inheritedFrom": {
|
18497
|
-
"name": "MenuItem",
|
18498
|
-
"module": "src/components/menuitem/menuitem.component.ts"
|
18499
|
-
}
|
18390
|
+
"fieldName": "name"
|
18500
18391
|
},
|
18501
18392
|
{
|
18502
18393
|
"name": "value",
|
@@ -18505,11 +18396,7 @@
|
|
18505
18396
|
},
|
18506
18397
|
"default": "undefined",
|
18507
18398
|
"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.",
|
18508
|
-
"fieldName": "value"
|
18509
|
-
"inheritedFrom": {
|
18510
|
-
"name": "MenuItem",
|
18511
|
-
"module": "src/components/menuitem/menuitem.component.ts"
|
18512
|
-
}
|
18399
|
+
"fieldName": "value"
|
18513
18400
|
},
|
18514
18401
|
{
|
18515
18402
|
"name": "disabled",
|
@@ -18650,11 +18537,11 @@
|
|
18650
18537
|
}
|
18651
18538
|
],
|
18652
18539
|
"superclass": {
|
18653
|
-
"name": "
|
18654
|
-
"module": "/src/components/
|
18540
|
+
"name": "ListItem",
|
18541
|
+
"module": "/src/components/listitem/listitem.component"
|
18655
18542
|
},
|
18656
|
-
"tagName": "mdc-
|
18657
|
-
"jsDoc": "/**\n *
|
18543
|
+
"tagName": "mdc-menuitem",
|
18544
|
+
"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 */",
|
18658
18545
|
"customElement": true,
|
18659
18546
|
"cssProperties": [
|
18660
18547
|
{
|
@@ -18761,23 +18648,23 @@
|
|
18761
18648
|
"kind": "js",
|
18762
18649
|
"name": "default",
|
18763
18650
|
"declaration": {
|
18764
|
-
"name": "
|
18765
|
-
"module": "components/
|
18651
|
+
"name": "MenuItem",
|
18652
|
+
"module": "components/menuitem/menuitem.component.js"
|
18766
18653
|
}
|
18767
18654
|
}
|
18768
18655
|
]
|
18769
18656
|
},
|
18770
18657
|
{
|
18771
18658
|
"kind": "javascript-module",
|
18772
|
-
"path": "components/
|
18659
|
+
"path": "components/menuitemcheckbox/menuitemcheckbox.component.js",
|
18773
18660
|
"declarations": [
|
18774
18661
|
{
|
18775
18662
|
"kind": "class",
|
18776
|
-
"description": "
|
18777
|
-
"name": "
|
18663
|
+
"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.",
|
18664
|
+
"name": "MenuItemCheckbox",
|
18778
18665
|
"slots": [
|
18779
18666
|
{
|
18780
|
-
"description": "slot for menu item controls to appear of leading end.",
|
18667
|
+
"description": "slot for menu item checkbox controls to appear of leading end.",
|
18781
18668
|
"name": "leading-controls",
|
18782
18669
|
"inheritedFrom": {
|
18783
18670
|
"name": "ListItem",
|
@@ -18785,7 +18672,7 @@
|
|
18785
18672
|
}
|
18786
18673
|
},
|
18787
18674
|
{
|
18788
|
-
"description": "slot for menu item primary label.",
|
18675
|
+
"description": "slot for menu item checkbox primary label.",
|
18789
18676
|
"name": "leading-text-primary-label",
|
18790
18677
|
"inheritedFrom": {
|
18791
18678
|
"name": "ListItem",
|
@@ -18793,7 +18680,7 @@
|
|
18793
18680
|
}
|
18794
18681
|
},
|
18795
18682
|
{
|
18796
|
-
"description": "slot for menu item secondary label.",
|
18683
|
+
"description": "slot for menu item checkbox secondary label.",
|
18797
18684
|
"name": "leading-text-secondary-label",
|
18798
18685
|
"inheritedFrom": {
|
18799
18686
|
"name": "ListItem",
|
@@ -18801,7 +18688,7 @@
|
|
18801
18688
|
}
|
18802
18689
|
},
|
18803
18690
|
{
|
18804
|
-
"description": "slot for menu item tertiary label.",
|
18691
|
+
"description": "slot for menu item checkbox tertiary label.",
|
18805
18692
|
"name": "leading-text-tertiary-label",
|
18806
18693
|
"inheritedFrom": {
|
18807
18694
|
"name": "ListItem",
|
@@ -18809,7 +18696,7 @@
|
|
18809
18696
|
}
|
18810
18697
|
},
|
18811
18698
|
{
|
18812
|
-
"description": "slot for menu item side header text.",
|
18699
|
+
"description": "slot for menu item checkbox side header text.",
|
18813
18700
|
"name": "trailing-text-side-header",
|
18814
18701
|
"inheritedFrom": {
|
18815
18702
|
"name": "ListItem",
|
@@ -18817,7 +18704,7 @@
|
|
18817
18704
|
}
|
18818
18705
|
},
|
18819
18706
|
{
|
18820
|
-
"description": "slot for menu item subline text.",
|
18707
|
+
"description": "slot for menu item checkbox subline text.",
|
18821
18708
|
"name": "trailing-text-subline",
|
18822
18709
|
"inheritedFrom": {
|
18823
18710
|
"name": "ListItem",
|
@@ -18825,7 +18712,7 @@
|
|
18825
18712
|
}
|
18826
18713
|
},
|
18827
18714
|
{
|
18828
|
-
"description": "slot for menu item controls to appear of trailing end.",
|
18715
|
+
"description": "slot for menu item checkbox controls to appear of trailing end.",
|
18829
18716
|
"name": "trailing-controls",
|
18830
18717
|
"inheritedFrom": {
|
18831
18718
|
"name": "ListItem",
|
@@ -18844,45 +18731,122 @@
|
|
18844
18731
|
"members": [
|
18845
18732
|
{
|
18846
18733
|
"kind": "field",
|
18847
|
-
"name": "
|
18734
|
+
"name": "checked",
|
18848
18735
|
"type": {
|
18849
|
-
"text": "
|
18736
|
+
"text": "boolean"
|
18850
18737
|
},
|
18851
|
-
"
|
18852
|
-
"
|
18738
|
+
"default": "false",
|
18739
|
+
"description": "The checked attribute is used to indicate that the menuitemcheckbox is checked or not.",
|
18740
|
+
"attribute": "checked",
|
18853
18741
|
"reflects": true
|
18854
18742
|
},
|
18855
18743
|
{
|
18856
18744
|
"kind": "field",
|
18857
|
-
"name": "
|
18745
|
+
"name": "indicator",
|
18858
18746
|
"type": {
|
18859
|
-
"text": "
|
18747
|
+
"text": "Indicator"
|
18860
18748
|
},
|
18861
|
-
"description": "
|
18862
|
-
"
|
18749
|
+
"description": "The indicator attribute is used to differentiate between <b>checkbox</b> and <b>toggle</b>.",
|
18750
|
+
"default": "'checkbox'",
|
18751
|
+
"attribute": "indicator",
|
18863
18752
|
"reflects": true
|
18864
18753
|
},
|
18865
18754
|
{
|
18866
|
-
"kind": "
|
18867
|
-
"name": "
|
18868
|
-
"
|
18869
|
-
|
18870
|
-
},
|
18871
|
-
"default": "undefined",
|
18872
|
-
"description": "The name attribute is used to identify the menu item when it is selected.",
|
18873
|
-
"attribute": "name",
|
18874
|
-
"reflects": true
|
18755
|
+
"kind": "method",
|
18756
|
+
"name": "handleMouseClick",
|
18757
|
+
"privacy": "private",
|
18758
|
+
"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`."
|
18875
18759
|
},
|
18876
18760
|
{
|
18877
|
-
"kind": "
|
18878
|
-
"name": "
|
18879
|
-
"
|
18880
|
-
|
18761
|
+
"kind": "method",
|
18762
|
+
"name": "staticCheckbox",
|
18763
|
+
"privacy": "private",
|
18764
|
+
"return": {
|
18765
|
+
"type": {
|
18766
|
+
"text": ""
|
18767
|
+
}
|
18768
|
+
},
|
18769
|
+
"description": "Returns a static checkbox element if the indicator is set to checkbox.\nIf the indicator is not set to checkbox, it returns nothing."
|
18770
|
+
},
|
18771
|
+
{
|
18772
|
+
"kind": "method",
|
18773
|
+
"name": "staticToggle",
|
18774
|
+
"privacy": "private",
|
18775
|
+
"return": {
|
18776
|
+
"type": {
|
18777
|
+
"text": ""
|
18778
|
+
}
|
18779
|
+
},
|
18780
|
+
"description": "Returns a static toggle element if the indicator is set to toggle.\nIf the indicator is not set to toggle, it returns nothing.\n\nThe toggle will always be positioned on the trailing side of the menuitem label."
|
18781
|
+
},
|
18782
|
+
{
|
18783
|
+
"kind": "method",
|
18784
|
+
"name": "getCheckmarkIcon",
|
18785
|
+
"privacy": "private",
|
18786
|
+
"return": {
|
18787
|
+
"type": {
|
18788
|
+
"text": ""
|
18789
|
+
}
|
18790
|
+
},
|
18791
|
+
"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."
|
18792
|
+
},
|
18793
|
+
{
|
18794
|
+
"kind": "field",
|
18795
|
+
"name": "arrowPosition",
|
18796
|
+
"type": {
|
18797
|
+
"text": "ArrowPositions | undefined"
|
18798
|
+
},
|
18799
|
+
"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.",
|
18800
|
+
"attribute": "arrow-position",
|
18801
|
+
"reflects": true,
|
18802
|
+
"inheritedFrom": {
|
18803
|
+
"name": "MenuItem",
|
18804
|
+
"module": "components/menuitem/menuitem.component.js"
|
18805
|
+
}
|
18806
|
+
},
|
18807
|
+
{
|
18808
|
+
"kind": "field",
|
18809
|
+
"name": "arrowDirection",
|
18810
|
+
"type": {
|
18811
|
+
"text": "ArrowDirections | undefined"
|
18812
|
+
},
|
18813
|
+
"description": "Defines the direction the arrow icon points.\n- `'positive'`: Arrow points toward the trailing side.\n- `'negative'`: Arrow points toward the leading side.",
|
18814
|
+
"attribute": "arrow-direction",
|
18815
|
+
"reflects": true,
|
18816
|
+
"inheritedFrom": {
|
18817
|
+
"name": "MenuItem",
|
18818
|
+
"module": "components/menuitem/menuitem.component.js"
|
18819
|
+
}
|
18820
|
+
},
|
18821
|
+
{
|
18822
|
+
"kind": "field",
|
18823
|
+
"name": "name",
|
18824
|
+
"type": {
|
18825
|
+
"text": "undefined | string | undefined"
|
18826
|
+
},
|
18827
|
+
"default": "undefined",
|
18828
|
+
"description": "The name attribute is used to identify the menu item when it is selected.",
|
18829
|
+
"attribute": "name",
|
18830
|
+
"reflects": true,
|
18831
|
+
"inheritedFrom": {
|
18832
|
+
"name": "MenuItem",
|
18833
|
+
"module": "components/menuitem/menuitem.component.js"
|
18834
|
+
}
|
18835
|
+
},
|
18836
|
+
{
|
18837
|
+
"kind": "field",
|
18838
|
+
"name": "value",
|
18839
|
+
"type": {
|
18840
|
+
"text": "undefined | string | undefined"
|
18881
18841
|
},
|
18882
18842
|
"default": "undefined",
|
18883
18843
|
"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.",
|
18884
18844
|
"attribute": "value",
|
18885
|
-
"reflects": true
|
18845
|
+
"reflects": true,
|
18846
|
+
"inheritedFrom": {
|
18847
|
+
"name": "MenuItem",
|
18848
|
+
"module": "components/menuitem/menuitem.component.js"
|
18849
|
+
}
|
18886
18850
|
},
|
18887
18851
|
{
|
18888
18852
|
"kind": "method",
|
@@ -18926,7 +18890,11 @@
|
|
18926
18890
|
"description": "The keyboard event that triggered the action."
|
18927
18891
|
}
|
18928
18892
|
],
|
18929
|
-
"description": "Handles the keyup event for the menu item.\nIf the Space key is released, it triggers a click event on the menu item.\nThis allows keyboard users to activate the menu item using the Space key.\nIt also prevents the default action of the Space key to avoid scrolling the page.\n\nThis follows the native behaviour, actionable element can be triggered by Space\nkey on the keyup event.\n\nNote: Action triggered by Enter on the keydown event."
|
18893
|
+
"description": "Handles the keyup event for the menu item.\nIf the Space key is released, it triggers a click event on the menu item.\nThis allows keyboard users to activate the menu item using the Space key.\nIt also prevents the default action of the Space key to avoid scrolling the page.\n\nThis follows the native behaviour, actionable element can be triggered by Space\nkey on the keyup event.\n\nNote: Action triggered by Enter on the keydown event.",
|
18894
|
+
"inheritedFrom": {
|
18895
|
+
"name": "MenuItem",
|
18896
|
+
"module": "components/menuitem/menuitem.component.js"
|
18897
|
+
}
|
18930
18898
|
},
|
18931
18899
|
{
|
18932
18900
|
"kind": "method",
|
@@ -19263,7 +19231,15 @@
|
|
19263
19231
|
],
|
19264
19232
|
"events": [
|
19265
19233
|
{
|
19266
|
-
"
|
19234
|
+
"name": "change",
|
19235
|
+
"type": {
|
19236
|
+
"text": "Event"
|
19237
|
+
},
|
19238
|
+
"description": "(React: onChange) This event is dispatched when the menuitemcheckbox changes.",
|
19239
|
+
"reactName": "onChange"
|
19240
|
+
},
|
19241
|
+
{
|
19242
|
+
"description": "(React: onClick) This event is dispatched when the menuitemcheckbox is clicked.",
|
19267
19243
|
"name": "click",
|
19268
19244
|
"reactName": "onClick",
|
19269
19245
|
"inheritedFrom": {
|
@@ -19272,27 +19248,27 @@
|
|
19272
19248
|
}
|
19273
19249
|
},
|
19274
19250
|
{
|
19275
|
-
"description": "(React:
|
19276
|
-
"name": "
|
19277
|
-
"reactName": "
|
19251
|
+
"description": "(React: onFocus) This event is dispatched when the menuitemcheckbox receives focus.",
|
19252
|
+
"name": "focus",
|
19253
|
+
"reactName": "onFocus",
|
19278
19254
|
"inheritedFrom": {
|
19279
19255
|
"name": "ListItem",
|
19280
19256
|
"module": "src/components/listitem/listitem.component.ts"
|
19281
19257
|
}
|
19282
19258
|
},
|
19283
19259
|
{
|
19284
|
-
"description": "(React:
|
19285
|
-
"name": "
|
19286
|
-
"reactName": "
|
19260
|
+
"description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the menuitem.",
|
19261
|
+
"name": "keydown",
|
19262
|
+
"reactName": "onKeyDown",
|
19287
19263
|
"inheritedFrom": {
|
19288
19264
|
"name": "ListItem",
|
19289
19265
|
"module": "src/components/listitem/listitem.component.ts"
|
19290
19266
|
}
|
19291
19267
|
},
|
19292
19268
|
{
|
19293
|
-
"description": "(React:
|
19294
|
-
"name": "
|
19295
|
-
"reactName": "
|
19269
|
+
"description": "(React: onKeyUp) This event is dispatched when a key is released on the menuitem.",
|
19270
|
+
"name": "keyup",
|
19271
|
+
"reactName": "onKeyUp",
|
19296
19272
|
"inheritedFrom": {
|
19297
19273
|
"name": "ListItem",
|
19298
19274
|
"module": "src/components/listitem/listitem.component.ts"
|
@@ -19336,13 +19312,35 @@
|
|
19336
19312
|
}
|
19337
19313
|
],
|
19338
19314
|
"attributes": [
|
19315
|
+
{
|
19316
|
+
"name": "checked",
|
19317
|
+
"type": {
|
19318
|
+
"text": "boolean"
|
19319
|
+
},
|
19320
|
+
"default": "false",
|
19321
|
+
"description": "The checked attribute is used to indicate that the menuitemcheckbox is checked or not.",
|
19322
|
+
"fieldName": "checked"
|
19323
|
+
},
|
19324
|
+
{
|
19325
|
+
"name": "indicator",
|
19326
|
+
"type": {
|
19327
|
+
"text": "Indicator"
|
19328
|
+
},
|
19329
|
+
"description": "The indicator attribute is used to differentiate between <b>checkbox</b> and <b>toggle</b>.",
|
19330
|
+
"default": "'checkbox'",
|
19331
|
+
"fieldName": "indicator"
|
19332
|
+
},
|
19339
19333
|
{
|
19340
19334
|
"name": "arrow-position",
|
19341
19335
|
"type": {
|
19342
19336
|
"text": "ArrowPositions | undefined"
|
19343
19337
|
},
|
19344
19338
|
"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.",
|
19345
|
-
"fieldName": "arrowPosition"
|
19339
|
+
"fieldName": "arrowPosition",
|
19340
|
+
"inheritedFrom": {
|
19341
|
+
"name": "MenuItem",
|
19342
|
+
"module": "src/components/menuitem/menuitem.component.ts"
|
19343
|
+
}
|
19346
19344
|
},
|
19347
19345
|
{
|
19348
19346
|
"name": "arrow-direction",
|
@@ -19350,7 +19348,11 @@
|
|
19350
19348
|
"text": "ArrowDirections | undefined"
|
19351
19349
|
},
|
19352
19350
|
"description": "Defines the direction the arrow icon points.\n- `'positive'`: Arrow points toward the trailing side.\n- `'negative'`: Arrow points toward the leading side.",
|
19353
|
-
"fieldName": "arrowDirection"
|
19351
|
+
"fieldName": "arrowDirection",
|
19352
|
+
"inheritedFrom": {
|
19353
|
+
"name": "MenuItem",
|
19354
|
+
"module": "src/components/menuitem/menuitem.component.ts"
|
19355
|
+
}
|
19354
19356
|
},
|
19355
19357
|
{
|
19356
19358
|
"name": "name",
|
@@ -19359,7 +19361,11 @@
|
|
19359
19361
|
},
|
19360
19362
|
"default": "undefined",
|
19361
19363
|
"description": "The name attribute is used to identify the menu item when it is selected.",
|
19362
|
-
"fieldName": "name"
|
19364
|
+
"fieldName": "name",
|
19365
|
+
"inheritedFrom": {
|
19366
|
+
"name": "MenuItem",
|
19367
|
+
"module": "src/components/menuitem/menuitem.component.ts"
|
19368
|
+
}
|
19363
19369
|
},
|
19364
19370
|
{
|
19365
19371
|
"name": "value",
|
@@ -19368,7 +19374,11 @@
|
|
19368
19374
|
},
|
19369
19375
|
"default": "undefined",
|
19370
19376
|
"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.",
|
19371
|
-
"fieldName": "value"
|
19377
|
+
"fieldName": "value",
|
19378
|
+
"inheritedFrom": {
|
19379
|
+
"name": "MenuItem",
|
19380
|
+
"module": "src/components/menuitem/menuitem.component.ts"
|
19381
|
+
}
|
19372
19382
|
},
|
19373
19383
|
{
|
19374
19384
|
"name": "disabled",
|
@@ -19509,11 +19519,11 @@
|
|
19509
19519
|
}
|
19510
19520
|
],
|
19511
19521
|
"superclass": {
|
19512
|
-
"name": "
|
19513
|
-
"module": "/src/components/
|
19522
|
+
"name": "MenuItem",
|
19523
|
+
"module": "/src/components/menuitem/menuitem.component"
|
19514
19524
|
},
|
19515
|
-
"tagName": "mdc-
|
19516
|
-
"jsDoc": "/**\n *
|
19525
|
+
"tagName": "mdc-menuitemcheckbox",
|
19526
|
+
"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 */",
|
19517
19527
|
"customElement": true,
|
19518
19528
|
"cssProperties": [
|
19519
19529
|
{
|
@@ -19620,8 +19630,8 @@
|
|
19620
19630
|
"kind": "js",
|
19621
19631
|
"name": "default",
|
19622
19632
|
"declaration": {
|
19623
|
-
"name": "
|
19624
|
-
"module": "components/
|
19633
|
+
"name": "MenuItemCheckbox",
|
19634
|
+
"module": "components/menuitemcheckbox/menuitemcheckbox.component.js"
|
19625
19635
|
}
|
19626
19636
|
}
|
19627
19637
|
]
|
@@ -22094,6 +22104,16 @@
|
|
22094
22104
|
"module": "components/popover/popover.component.js"
|
22095
22105
|
}
|
22096
22106
|
},
|
22107
|
+
{
|
22108
|
+
"kind": "field",
|
22109
|
+
"name": "handleFocusIn",
|
22110
|
+
"privacy": "private",
|
22111
|
+
"description": "Handles focus in event on the trigger element.\nThis method checks if the trigger element has visible focus or is being hovered.",
|
22112
|
+
"inheritedFrom": {
|
22113
|
+
"name": "Popover",
|
22114
|
+
"module": "components/popover/popover.component.js"
|
22115
|
+
}
|
22116
|
+
},
|
22097
22117
|
{
|
22098
22118
|
"kind": "field",
|
22099
22119
|
"name": "startCloseDelay",
|
@@ -27018,6 +27038,12 @@
|
|
27018
27038
|
"privacy": "private",
|
27019
27039
|
"description": "Handles focus out event on the trigger element.\nThis method checks if the popover is not hovered and hides the popover.\nIf the popover is hovered, it will not hide the popover."
|
27020
27040
|
},
|
27041
|
+
{
|
27042
|
+
"kind": "field",
|
27043
|
+
"name": "handleFocusIn",
|
27044
|
+
"privacy": "private",
|
27045
|
+
"description": "Handles focus in event on the trigger element.\nThis method checks if the trigger element has visible focus or is being hovered."
|
27046
|
+
},
|
27021
27047
|
{
|
27022
27048
|
"kind": "field",
|
27023
27049
|
"name": "startCloseDelay",
|
@@ -32767,153 +32793,71 @@
|
|
32767
32793
|
},
|
32768
32794
|
{
|
32769
32795
|
"kind": "javascript-module",
|
32770
|
-
"path": "components/
|
32796
|
+
"path": "components/sidenavigation/sidenavigation.component.js",
|
32771
32797
|
"declarations": [
|
32772
32798
|
{
|
32773
32799
|
"kind": "class",
|
32774
|
-
"description": "`mdc-
|
32775
|
-
"name": "
|
32800
|
+
"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-menubar` and `mdc-navmenuitem`\n\n### Usage:\nIn a sidenavigation, navmenuitems can be used in the following ways:\n\n1. **Simple navmenuitem** – No submenu or interaction beyond selection.\n\n2. **NavMenuItem with submenu**:\n - Provide an `id` on the `mdc-navmenuitem`\n - Set the `triggerId` on the corresponding `mdc-menupopover` to match the navmenuitem'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 navmenuitem (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-navmenuitem` and `mdc-menubar`\nto ensure screen reader support\n- Set `grabber-btn-aria-label` to provide accessible labels for the expand/collapse grabber button",
|
32801
|
+
"name": "SideNavigation",
|
32776
32802
|
"cssProperties": [
|
32777
32803
|
{
|
32778
|
-
"description": "
|
32779
|
-
"name": "--mdc-
|
32780
|
-
},
|
32781
|
-
{
|
32782
|
-
"description": "height of the skeleton",
|
32783
|
-
"name": "--mdc-skeleton-height"
|
32804
|
+
"description": "width of the sideNavigation when expanded",
|
32805
|
+
"name": "--mdc-sidenavigation-expanded-width"
|
32784
32806
|
},
|
32785
32807
|
{
|
32786
|
-
"description": "width of the
|
32787
|
-
"name": "--mdc-
|
32808
|
+
"description": "width of the sideNavigation when collpased",
|
32809
|
+
"name": "--mdc-sidenavigation-collapsed-width"
|
32788
32810
|
}
|
32789
32811
|
],
|
32790
32812
|
"slots": [
|
32791
32813
|
{
|
32792
|
-
"description": "
|
32793
|
-
"name": ""
|
32814
|
+
"description": "Slot for the scrollable content area of the side navigation.",
|
32815
|
+
"name": "scrollable-section"
|
32816
|
+
},
|
32817
|
+
{
|
32818
|
+
"description": "Slot for the fixed content area of the side navigation.",
|
32819
|
+
"name": "fixed-section"
|
32820
|
+
},
|
32821
|
+
{
|
32822
|
+
"description": "Slot for the brand logo (e.g., icon or img).",
|
32823
|
+
"name": "brand-logo"
|
32794
32824
|
}
|
32795
32825
|
],
|
32796
32826
|
"members": [
|
32827
|
+
{
|
32828
|
+
"kind": "field",
|
32829
|
+
"name": "Context",
|
32830
|
+
"privacy": "public",
|
32831
|
+
"static": true,
|
32832
|
+
"readonly": true
|
32833
|
+
},
|
32797
32834
|
{
|
32798
32835
|
"kind": "field",
|
32799
32836
|
"name": "variant",
|
32800
32837
|
"type": {
|
32801
|
-
"text": "
|
32838
|
+
"text": "SideNavigationVariant"
|
32802
32839
|
},
|
32803
|
-
"description": "
|
32804
|
-
"default": "
|
32840
|
+
"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.",
|
32841
|
+
"default": "flexible",
|
32805
32842
|
"attribute": "variant",
|
32806
32843
|
"reflects": true
|
32807
32844
|
},
|
32808
32845
|
{
|
32809
|
-
"kind": "
|
32810
|
-
"name": "
|
32811
|
-
"
|
32812
|
-
|
32813
|
-
|
32814
|
-
|
32815
|
-
|
32816
|
-
|
32817
|
-
|
32818
|
-
|
32819
|
-
"attributes": [
|
32846
|
+
"kind": "field",
|
32847
|
+
"name": "footerText",
|
32848
|
+
"type": {
|
32849
|
+
"text": "string"
|
32850
|
+
},
|
32851
|
+
"default": "''",
|
32852
|
+
"description": "Displays footer text in the bottom section of the sidenavigation.",
|
32853
|
+
"attribute": "footer-text",
|
32854
|
+
"reflects": true
|
32855
|
+
},
|
32820
32856
|
{
|
32821
|
-
"
|
32857
|
+
"kind": "field",
|
32858
|
+
"name": "grabberBtnAriaLabel",
|
32822
32859
|
"type": {
|
32823
|
-
"text": "
|
32824
|
-
},
|
32825
|
-
"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",
|
32826
|
-
"default": "rectangular",
|
32827
|
-
"fieldName": "variant"
|
32828
|
-
}
|
32829
|
-
],
|
32830
|
-
"superclass": {
|
32831
|
-
"name": "Component",
|
32832
|
-
"module": "/src/models"
|
32833
|
-
},
|
32834
|
-
"tagName": "mdc-skeleton",
|
32835
|
-
"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 */",
|
32836
|
-
"customElement": true
|
32837
|
-
}
|
32838
|
-
],
|
32839
|
-
"exports": [
|
32840
|
-
{
|
32841
|
-
"kind": "js",
|
32842
|
-
"name": "default",
|
32843
|
-
"declaration": {
|
32844
|
-
"name": "Skeleton",
|
32845
|
-
"module": "components/skeleton/skeleton.component.js"
|
32846
|
-
}
|
32847
|
-
}
|
32848
|
-
]
|
32849
|
-
},
|
32850
|
-
{
|
32851
|
-
"kind": "javascript-module",
|
32852
|
-
"path": "components/sidenavigation/sidenavigation.component.js",
|
32853
|
-
"declarations": [
|
32854
|
-
{
|
32855
|
-
"kind": "class",
|
32856
|
-
"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-menubar` and `mdc-navmenuitem`\n\n### Usage:\nIn a sidenavigation, navmenuitems can be used in the following ways:\n\n1. **Simple navmenuitem** – No submenu or interaction beyond selection.\n\n2. **NavMenuItem with submenu**:\n - Provide an `id` on the `mdc-navmenuitem`\n - Set the `triggerId` on the corresponding `mdc-menupopover` to match the navmenuitem'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 navmenuitem (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-navmenuitem` and `mdc-menubar`\nto ensure screen reader support\n- Set `grabber-btn-aria-label` to provide accessible labels for the expand/collapse grabber button",
|
32857
|
-
"name": "SideNavigation",
|
32858
|
-
"cssProperties": [
|
32859
|
-
{
|
32860
|
-
"description": "width of the sideNavigation when expanded",
|
32861
|
-
"name": "--mdc-sidenavigation-expanded-width"
|
32862
|
-
},
|
32863
|
-
{
|
32864
|
-
"description": "width of the sideNavigation when collpased",
|
32865
|
-
"name": "--mdc-sidenavigation-collapsed-width"
|
32866
|
-
}
|
32867
|
-
],
|
32868
|
-
"slots": [
|
32869
|
-
{
|
32870
|
-
"description": "Slot for the scrollable content area of the side navigation.",
|
32871
|
-
"name": "scrollable-section"
|
32872
|
-
},
|
32873
|
-
{
|
32874
|
-
"description": "Slot for the fixed content area of the side navigation.",
|
32875
|
-
"name": "fixed-section"
|
32876
|
-
},
|
32877
|
-
{
|
32878
|
-
"description": "Slot for the brand logo (e.g., icon or img).",
|
32879
|
-
"name": "brand-logo"
|
32880
|
-
}
|
32881
|
-
],
|
32882
|
-
"members": [
|
32883
|
-
{
|
32884
|
-
"kind": "field",
|
32885
|
-
"name": "Context",
|
32886
|
-
"privacy": "public",
|
32887
|
-
"static": true,
|
32888
|
-
"readonly": true
|
32889
|
-
},
|
32890
|
-
{
|
32891
|
-
"kind": "field",
|
32892
|
-
"name": "variant",
|
32893
|
-
"type": {
|
32894
|
-
"text": "SideNavigationVariant"
|
32895
|
-
},
|
32896
|
-
"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.",
|
32897
|
-
"default": "flexible",
|
32898
|
-
"attribute": "variant",
|
32899
|
-
"reflects": true
|
32900
|
-
},
|
32901
|
-
{
|
32902
|
-
"kind": "field",
|
32903
|
-
"name": "footerText",
|
32904
|
-
"type": {
|
32905
|
-
"text": "string"
|
32906
|
-
},
|
32907
|
-
"default": "''",
|
32908
|
-
"description": "Displays footer text in the bottom section of the sidenavigation.",
|
32909
|
-
"attribute": "footer-text",
|
32910
|
-
"reflects": true
|
32911
|
-
},
|
32912
|
-
{
|
32913
|
-
"kind": "field",
|
32914
|
-
"name": "grabberBtnAriaLabel",
|
32915
|
-
"type": {
|
32916
|
-
"text": "string | undefined"
|
32860
|
+
"text": "string | undefined"
|
32917
32861
|
},
|
32918
32862
|
"description": "Provides an accessible label for the grabber button.\nThis value is used to set the `aria-label` attribute for the button.",
|
32919
32863
|
"default": "''",
|
@@ -33034,6 +32978,88 @@
|
|
33034
32978
|
}
|
33035
32979
|
]
|
33036
32980
|
},
|
32981
|
+
{
|
32982
|
+
"kind": "javascript-module",
|
32983
|
+
"path": "components/skeleton/skeleton.component.js",
|
32984
|
+
"declarations": [
|
32985
|
+
{
|
32986
|
+
"kind": "class",
|
32987
|
+
"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",
|
32988
|
+
"name": "Skeleton",
|
32989
|
+
"cssProperties": [
|
32990
|
+
{
|
32991
|
+
"description": "background color of the skeleton",
|
32992
|
+
"name": "--mdc-skeleton-background-color"
|
32993
|
+
},
|
32994
|
+
{
|
32995
|
+
"description": "height of the skeleton",
|
32996
|
+
"name": "--mdc-skeleton-height"
|
32997
|
+
},
|
32998
|
+
{
|
32999
|
+
"description": "width of the skeleton",
|
33000
|
+
"name": "--mdc-skeleton-width"
|
33001
|
+
}
|
33002
|
+
],
|
33003
|
+
"slots": [
|
33004
|
+
{
|
33005
|
+
"description": "Content to wrap (optional). When provided, skeleton takes dimensions of this content.",
|
33006
|
+
"name": ""
|
33007
|
+
}
|
33008
|
+
],
|
33009
|
+
"members": [
|
33010
|
+
{
|
33011
|
+
"kind": "field",
|
33012
|
+
"name": "variant",
|
33013
|
+
"type": {
|
33014
|
+
"text": "SkeletonVariant"
|
33015
|
+
},
|
33016
|
+
"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",
|
33017
|
+
"default": "rectangular",
|
33018
|
+
"attribute": "variant",
|
33019
|
+
"reflects": true
|
33020
|
+
},
|
33021
|
+
{
|
33022
|
+
"kind": "method",
|
33023
|
+
"name": "checkSlotContent",
|
33024
|
+
"privacy": "private",
|
33025
|
+
"return": {
|
33026
|
+
"type": {
|
33027
|
+
"text": "void"
|
33028
|
+
}
|
33029
|
+
}
|
33030
|
+
}
|
33031
|
+
],
|
33032
|
+
"attributes": [
|
33033
|
+
{
|
33034
|
+
"name": "variant",
|
33035
|
+
"type": {
|
33036
|
+
"text": "SkeletonVariant"
|
33037
|
+
},
|
33038
|
+
"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",
|
33039
|
+
"default": "rectangular",
|
33040
|
+
"fieldName": "variant"
|
33041
|
+
}
|
33042
|
+
],
|
33043
|
+
"superclass": {
|
33044
|
+
"name": "Component",
|
33045
|
+
"module": "/src/models"
|
33046
|
+
},
|
33047
|
+
"tagName": "mdc-skeleton",
|
33048
|
+
"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 */",
|
33049
|
+
"customElement": true
|
33050
|
+
}
|
33051
|
+
],
|
33052
|
+
"exports": [
|
33053
|
+
{
|
33054
|
+
"kind": "js",
|
33055
|
+
"name": "default",
|
33056
|
+
"declaration": {
|
33057
|
+
"name": "Skeleton",
|
33058
|
+
"module": "components/skeleton/skeleton.component.js"
|
33059
|
+
}
|
33060
|
+
}
|
33061
|
+
]
|
33062
|
+
},
|
33037
33063
|
{
|
33038
33064
|
"kind": "javascript-module",
|
33039
33065
|
"path": "components/spinner/spinner.component.js",
|
@@ -35030,6 +35056,90 @@
|
|
35030
35056
|
}
|
35031
35057
|
]
|
35032
35058
|
},
|
35059
|
+
{
|
35060
|
+
"kind": "javascript-module",
|
35061
|
+
"path": "components/text/text.component.js",
|
35062
|
+
"declarations": [
|
35063
|
+
{
|
35064
|
+
"kind": "class",
|
35065
|
+
"description": "Text component for creating styled text elements.\nIt has to be mounted within the ThemeProvider to access color and font tokens.\n\nThe `type` attribute allows changing the text style.\nThe `tagname` attribute allows changing the tag name of the text element.\nThe default tag name is `p`.\n\nThe `tagname` attribute should be a valid HTML tag name.\nIf the `tagname` attribute is not a valid HTML tag name, the default tag name will be used.\n\nThe styling is applied based on the `type` attribute.",
|
35066
|
+
"name": "Text",
|
35067
|
+
"cssParts": [
|
35068
|
+
{
|
35069
|
+
"description": "The text element",
|
35070
|
+
"name": "text"
|
35071
|
+
}
|
35072
|
+
],
|
35073
|
+
"slots": [
|
35074
|
+
{
|
35075
|
+
"description": "Default slot for text content",
|
35076
|
+
"name": ""
|
35077
|
+
}
|
35078
|
+
],
|
35079
|
+
"members": [
|
35080
|
+
{
|
35081
|
+
"kind": "field",
|
35082
|
+
"name": "type",
|
35083
|
+
"type": {
|
35084
|
+
"text": "TextType"
|
35085
|
+
},
|
35086
|
+
"privacy": "public",
|
35087
|
+
"description": "Specifies the text style to be applied.\n\nAcceptable values include:\n\n- 'body-small-regular'\n- 'body-small-medium'\n- 'body-small-bold'\n- 'body-midsize-regular'\n- 'body-midsize-medium'\n- 'body-midsize-bold'\n- 'body-large-regular'\n- 'body-large-medium'\n- 'body-large-bold'\n- 'body-small-regular-underline'\n- 'body-small-medium-underline'\n- 'body-midsize-regular-underline'\n- 'body-midsize-medium-underline'\n- 'body-large-regular-underline'\n- 'body-large-medium-underline'\n- 'heading-small-regular'\n- 'heading-small-medium'\n- 'heading-small-bold'\n- 'heading-midsize-regular'\n- 'heading-midsize-medium'\n- 'heading-midsize-bold'\n- 'heading-large-regular'\n- 'heading-large-medium'\n- 'heading-large-bold'\n- 'heading-xlarge-regular'\n- 'heading-xlarge-medium'\n- 'heading-xlarge-bold'\n- 'headline-small-light'\n- 'headline-small-regular'",
|
35088
|
+
"default": "body-large-regular",
|
35089
|
+
"attribute": "type",
|
35090
|
+
"reflects": true
|
35091
|
+
},
|
35092
|
+
{
|
35093
|
+
"kind": "field",
|
35094
|
+
"name": "tagname",
|
35095
|
+
"type": {
|
35096
|
+
"text": "TagName | undefined"
|
35097
|
+
},
|
35098
|
+
"privacy": "public",
|
35099
|
+
"description": "Specifies the HTML tag name for the text element. The default tag name is `p`.\nThis attribute is optional. When set, it changes the tag name of the text element.\n\nAcceptable values include:\n\n- 'h1'\n- 'h2'\n- 'h3'\n- 'h4'\n- 'h5'\n- 'h6'\n- 'p'\n- 'small'\n- 'span'\n- 'div'\n\nFor instance, setting this attribute to `h2` will render the text element as an `h2` element.\nNote that the styling is determined by the `type` attribute.",
|
35100
|
+
"attribute": "tagname",
|
35101
|
+
"reflects": true
|
35102
|
+
}
|
35103
|
+
],
|
35104
|
+
"attributes": [
|
35105
|
+
{
|
35106
|
+
"name": "type",
|
35107
|
+
"type": {
|
35108
|
+
"text": "TextType"
|
35109
|
+
},
|
35110
|
+
"description": "Specifies the text style to be applied.\n\nAcceptable values include:\n\n- 'body-small-regular'\n- 'body-small-medium'\n- 'body-small-bold'\n- 'body-midsize-regular'\n- 'body-midsize-medium'\n- 'body-midsize-bold'\n- 'body-large-regular'\n- 'body-large-medium'\n- 'body-large-bold'\n- 'body-small-regular-underline'\n- 'body-small-medium-underline'\n- 'body-midsize-regular-underline'\n- 'body-midsize-medium-underline'\n- 'body-large-regular-underline'\n- 'body-large-medium-underline'\n- 'heading-small-regular'\n- 'heading-small-medium'\n- 'heading-small-bold'\n- 'heading-midsize-regular'\n- 'heading-midsize-medium'\n- 'heading-midsize-bold'\n- 'heading-large-regular'\n- 'heading-large-medium'\n- 'heading-large-bold'\n- 'heading-xlarge-regular'\n- 'heading-xlarge-medium'\n- 'heading-xlarge-bold'\n- 'headline-small-light'\n- 'headline-small-regular'",
|
35111
|
+
"default": "body-large-regular",
|
35112
|
+
"fieldName": "type"
|
35113
|
+
},
|
35114
|
+
{
|
35115
|
+
"name": "tagname",
|
35116
|
+
"type": {
|
35117
|
+
"text": "TagName | undefined"
|
35118
|
+
},
|
35119
|
+
"description": "Specifies the HTML tag name for the text element. The default tag name is `p`.\nThis attribute is optional. When set, it changes the tag name of the text element.\n\nAcceptable values include:\n\n- 'h1'\n- 'h2'\n- 'h3'\n- 'h4'\n- 'h5'\n- 'h6'\n- 'p'\n- 'small'\n- 'span'\n- 'div'\n\nFor instance, setting this attribute to `h2` will render the text element as an `h2` element.\nNote that the styling is determined by the `type` attribute.",
|
35120
|
+
"fieldName": "tagname"
|
35121
|
+
}
|
35122
|
+
],
|
35123
|
+
"superclass": {
|
35124
|
+
"name": "Component",
|
35125
|
+
"module": "/src/models"
|
35126
|
+
},
|
35127
|
+
"tagName": "mdc-text",
|
35128
|
+
"jsDoc": "/**\n * Text component for creating styled text elements.\n * It has to be mounted within the ThemeProvider to access color and font tokens.\n *\n * The `type` attribute allows changing the text style.\n * The `tagname` attribute allows changing the tag name of the text element.\n * The default tag name is `p`.\n *\n * The `tagname` attribute should be a valid HTML tag name.\n * If the `tagname` attribute is not a valid HTML tag name, the default tag name will be used.\n *\n * The styling is applied based on the `type` attribute.\n *\n * @tagname mdc-text\n * @slot - Default slot for text content\n *\n * @csspart text - The text element\n */",
|
35129
|
+
"customElement": true
|
35130
|
+
}
|
35131
|
+
],
|
35132
|
+
"exports": [
|
35133
|
+
{
|
35134
|
+
"kind": "js",
|
35135
|
+
"name": "default",
|
35136
|
+
"declaration": {
|
35137
|
+
"name": "Text",
|
35138
|
+
"module": "components/text/text.component.js"
|
35139
|
+
}
|
35140
|
+
}
|
35141
|
+
]
|
35142
|
+
},
|
35033
35143
|
{
|
35034
35144
|
"kind": "javascript-module",
|
35035
35145
|
"path": "components/textarea/textarea.component.js",
|
@@ -36066,90 +36176,6 @@
|
|
36066
36176
|
}
|
36067
36177
|
]
|
36068
36178
|
},
|
36069
|
-
{
|
36070
|
-
"kind": "javascript-module",
|
36071
|
-
"path": "components/text/text.component.js",
|
36072
|
-
"declarations": [
|
36073
|
-
{
|
36074
|
-
"kind": "class",
|
36075
|
-
"description": "Text component for creating styled text elements.\nIt has to be mounted within the ThemeProvider to access color and font tokens.\n\nThe `type` attribute allows changing the text style.\nThe `tagname` attribute allows changing the tag name of the text element.\nThe default tag name is `p`.\n\nThe `tagname` attribute should be a valid HTML tag name.\nIf the `tagname` attribute is not a valid HTML tag name, the default tag name will be used.\n\nThe styling is applied based on the `type` attribute.",
|
36076
|
-
"name": "Text",
|
36077
|
-
"cssParts": [
|
36078
|
-
{
|
36079
|
-
"description": "The text element",
|
36080
|
-
"name": "text"
|
36081
|
-
}
|
36082
|
-
],
|
36083
|
-
"slots": [
|
36084
|
-
{
|
36085
|
-
"description": "Default slot for text content",
|
36086
|
-
"name": ""
|
36087
|
-
}
|
36088
|
-
],
|
36089
|
-
"members": [
|
36090
|
-
{
|
36091
|
-
"kind": "field",
|
36092
|
-
"name": "type",
|
36093
|
-
"type": {
|
36094
|
-
"text": "TextType"
|
36095
|
-
},
|
36096
|
-
"privacy": "public",
|
36097
|
-
"description": "Specifies the text style to be applied.\n\nAcceptable values include:\n\n- 'body-small-regular'\n- 'body-small-medium'\n- 'body-small-bold'\n- 'body-midsize-regular'\n- 'body-midsize-medium'\n- 'body-midsize-bold'\n- 'body-large-regular'\n- 'body-large-medium'\n- 'body-large-bold'\n- 'body-small-regular-underline'\n- 'body-small-medium-underline'\n- 'body-midsize-regular-underline'\n- 'body-midsize-medium-underline'\n- 'body-large-regular-underline'\n- 'body-large-medium-underline'\n- 'heading-small-regular'\n- 'heading-small-medium'\n- 'heading-small-bold'\n- 'heading-midsize-regular'\n- 'heading-midsize-medium'\n- 'heading-midsize-bold'\n- 'heading-large-regular'\n- 'heading-large-medium'\n- 'heading-large-bold'\n- 'heading-xlarge-regular'\n- 'heading-xlarge-medium'\n- 'heading-xlarge-bold'\n- 'headline-small-light'\n- 'headline-small-regular'",
|
36098
|
-
"default": "body-large-regular",
|
36099
|
-
"attribute": "type",
|
36100
|
-
"reflects": true
|
36101
|
-
},
|
36102
|
-
{
|
36103
|
-
"kind": "field",
|
36104
|
-
"name": "tagname",
|
36105
|
-
"type": {
|
36106
|
-
"text": "TagName | undefined"
|
36107
|
-
},
|
36108
|
-
"privacy": "public",
|
36109
|
-
"description": "Specifies the HTML tag name for the text element. The default tag name is `p`.\nThis attribute is optional. When set, it changes the tag name of the text element.\n\nAcceptable values include:\n\n- 'h1'\n- 'h2'\n- 'h3'\n- 'h4'\n- 'h5'\n- 'h6'\n- 'p'\n- 'small'\n- 'span'\n- 'div'\n\nFor instance, setting this attribute to `h2` will render the text element as an `h2` element.\nNote that the styling is determined by the `type` attribute.",
|
36110
|
-
"attribute": "tagname",
|
36111
|
-
"reflects": true
|
36112
|
-
}
|
36113
|
-
],
|
36114
|
-
"attributes": [
|
36115
|
-
{
|
36116
|
-
"name": "type",
|
36117
|
-
"type": {
|
36118
|
-
"text": "TextType"
|
36119
|
-
},
|
36120
|
-
"description": "Specifies the text style to be applied.\n\nAcceptable values include:\n\n- 'body-small-regular'\n- 'body-small-medium'\n- 'body-small-bold'\n- 'body-midsize-regular'\n- 'body-midsize-medium'\n- 'body-midsize-bold'\n- 'body-large-regular'\n- 'body-large-medium'\n- 'body-large-bold'\n- 'body-small-regular-underline'\n- 'body-small-medium-underline'\n- 'body-midsize-regular-underline'\n- 'body-midsize-medium-underline'\n- 'body-large-regular-underline'\n- 'body-large-medium-underline'\n- 'heading-small-regular'\n- 'heading-small-medium'\n- 'heading-small-bold'\n- 'heading-midsize-regular'\n- 'heading-midsize-medium'\n- 'heading-midsize-bold'\n- 'heading-large-regular'\n- 'heading-large-medium'\n- 'heading-large-bold'\n- 'heading-xlarge-regular'\n- 'heading-xlarge-medium'\n- 'heading-xlarge-bold'\n- 'headline-small-light'\n- 'headline-small-regular'",
|
36121
|
-
"default": "body-large-regular",
|
36122
|
-
"fieldName": "type"
|
36123
|
-
},
|
36124
|
-
{
|
36125
|
-
"name": "tagname",
|
36126
|
-
"type": {
|
36127
|
-
"text": "TagName | undefined"
|
36128
|
-
},
|
36129
|
-
"description": "Specifies the HTML tag name for the text element. The default tag name is `p`.\nThis attribute is optional. When set, it changes the tag name of the text element.\n\nAcceptable values include:\n\n- 'h1'\n- 'h2'\n- 'h3'\n- 'h4'\n- 'h5'\n- 'h6'\n- 'p'\n- 'small'\n- 'span'\n- 'div'\n\nFor instance, setting this attribute to `h2` will render the text element as an `h2` element.\nNote that the styling is determined by the `type` attribute.",
|
36130
|
-
"fieldName": "tagname"
|
36131
|
-
}
|
36132
|
-
],
|
36133
|
-
"superclass": {
|
36134
|
-
"name": "Component",
|
36135
|
-
"module": "/src/models"
|
36136
|
-
},
|
36137
|
-
"tagName": "mdc-text",
|
36138
|
-
"jsDoc": "/**\n * Text component for creating styled text elements.\n * It has to be mounted within the ThemeProvider to access color and font tokens.\n *\n * The `type` attribute allows changing the text style.\n * The `tagname` attribute allows changing the tag name of the text element.\n * The default tag name is `p`.\n *\n * The `tagname` attribute should be a valid HTML tag name.\n * If the `tagname` attribute is not a valid HTML tag name, the default tag name will be used.\n *\n * The styling is applied based on the `type` attribute.\n *\n * @tagname mdc-text\n * @slot - Default slot for text content\n *\n * @csspart text - The text element\n */",
|
36139
|
-
"customElement": true
|
36140
|
-
}
|
36141
|
-
],
|
36142
|
-
"exports": [
|
36143
|
-
{
|
36144
|
-
"kind": "js",
|
36145
|
-
"name": "default",
|
36146
|
-
"declaration": {
|
36147
|
-
"name": "Text",
|
36148
|
-
"module": "components/text/text.component.js"
|
36149
|
-
}
|
36150
|
-
}
|
36151
|
-
]
|
36152
|
-
},
|
36153
36179
|
{
|
36154
36180
|
"kind": "javascript-module",
|
36155
36181
|
"path": "components/toast/toast.component.js",
|
@@ -38612,6 +38638,16 @@
|
|
38612
38638
|
"module": "components/popover/popover.component.js"
|
38613
38639
|
}
|
38614
38640
|
},
|
38641
|
+
{
|
38642
|
+
"kind": "field",
|
38643
|
+
"name": "handleFocusIn",
|
38644
|
+
"privacy": "private",
|
38645
|
+
"description": "Handles focus in event on the trigger element.\nThis method checks if the trigger element has visible focus or is being hovered.",
|
38646
|
+
"inheritedFrom": {
|
38647
|
+
"name": "Popover",
|
38648
|
+
"module": "components/popover/popover.component.js"
|
38649
|
+
}
|
38650
|
+
},
|
38615
38651
|
{
|
38616
38652
|
"kind": "field",
|
38617
38653
|
"name": "startCloseDelay",
|
@@ -40602,6 +40638,16 @@
|
|
40602
40638
|
"module": "components/popover/popover.component.js"
|
40603
40639
|
}
|
40604
40640
|
},
|
40641
|
+
{
|
40642
|
+
"kind": "field",
|
40643
|
+
"name": "handleFocusIn",
|
40644
|
+
"privacy": "private",
|
40645
|
+
"description": "Handles focus in event on the trigger element.\nThis method checks if the trigger element has visible focus or is being hovered.",
|
40646
|
+
"inheritedFrom": {
|
40647
|
+
"name": "Popover",
|
40648
|
+
"module": "components/popover/popover.component.js"
|
40649
|
+
}
|
40650
|
+
},
|
40605
40651
|
{
|
40606
40652
|
"kind": "field",
|
40607
40653
|
"name": "startCloseDelay",
|