@momentum-design/components 0.104.13 → 0.104.15
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 +173 -164
- package/dist/browser/index.js.map +3 -3
- package/dist/components/progressspinner/progressspinner.component.js +1 -1
- package/dist/components/progressspinner/progressspinner.styles.js +8 -5
- package/dist/components/sidenavigation/sidenavigation.component.d.ts +22 -32
- package/dist/components/sidenavigation/sidenavigation.component.js +40 -55
- package/dist/components/sidenavigation/sidenavigation.styles.js +5 -0
- package/dist/components/sidenavigation/sidenavigation.types.d.ts +9 -4
- package/dist/custom-elements.json +809 -773
- package/dist/react/index.d.ts +2 -2
- package/dist/react/index.js +2 -2
- package/dist/react/sidenavigation/index.d.ts +23 -3
- package/dist/react/sidenavigation/index.js +15 -1
- package/package.json +1 -1
@@ -15715,476 +15715,447 @@
|
|
15715
15715
|
},
|
15716
15716
|
{
|
15717
15717
|
"kind": "javascript-module",
|
15718
|
-
"path": "components/
|
15718
|
+
"path": "components/linkbutton/linkbutton.component.js",
|
15719
15719
|
"declarations": [
|
15720
15720
|
{
|
15721
15721
|
"kind": "class",
|
15722
|
-
"description": "mdc-
|
15723
|
-
"name": "
|
15724
|
-
"
|
15725
|
-
{
|
15726
|
-
"description": "The container slot around the list items",
|
15727
|
-
"name": "container"
|
15728
|
-
}
|
15729
|
-
],
|
15730
|
-
"slots": [
|
15722
|
+
"description": "`mdc-linkbutton` visually mimics a hyperlink while functioning as a button. It blends the appearance of `mdc-link` with the accessibility and interaction capabilities of `mdc-button`.\n\n### Features:\n- Looks like a link, behaves like a button.\n- Supports slots for a text label and an optional trailing icon.\n- Inherits accessibility and keyboard interaction behavior from `mdc-buttonsimple`.",
|
15723
|
+
"name": "LinkButton",
|
15724
|
+
"cssProperties": [
|
15731
15725
|
{
|
15732
|
-
"description": "
|
15733
|
-
"name": "
|
15726
|
+
"description": "Border radius of the linkbutton.",
|
15727
|
+
"name": "--mdc-link-border-radius"
|
15734
15728
|
},
|
15735
15729
|
{
|
15736
|
-
"description": "
|
15737
|
-
"name": "
|
15738
|
-
}
|
15739
|
-
],
|
15740
|
-
"members": [
|
15741
|
-
{
|
15742
|
-
"kind": "method",
|
15743
|
-
"name": "handleKeyDown",
|
15744
|
-
"privacy": "private",
|
15745
|
-
"return": {
|
15746
|
-
"type": {
|
15747
|
-
"text": "void"
|
15748
|
-
}
|
15749
|
-
},
|
15750
|
-
"parameters": [
|
15751
|
-
{
|
15752
|
-
"name": "event",
|
15753
|
-
"type": {
|
15754
|
-
"text": "KeyboardEvent"
|
15755
|
-
},
|
15756
|
-
"description": "The keyboard event."
|
15757
|
-
}
|
15758
|
-
],
|
15759
|
-
"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."
|
15730
|
+
"description": "Color of the linkbutton’s child content in the active state.",
|
15731
|
+
"name": "--mdc-link-color-active"
|
15760
15732
|
},
|
15761
15733
|
{
|
15762
|
-
"
|
15763
|
-
"name": "
|
15764
|
-
"privacy": "private",
|
15765
|
-
"return": {
|
15766
|
-
"type": {
|
15767
|
-
"text": ""
|
15768
|
-
}
|
15769
|
-
},
|
15770
|
-
"parameters": [
|
15771
|
-
{
|
15772
|
-
"name": "target",
|
15773
|
-
"type": {
|
15774
|
-
"text": "EventTarget | null"
|
15775
|
-
},
|
15776
|
-
"description": "The target element to find the index of."
|
15777
|
-
}
|
15778
|
-
],
|
15779
|
-
"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."
|
15734
|
+
"description": "Color of the linkbutton’s child content in the disabled state.",
|
15735
|
+
"name": "--mdc-link-color-disabled"
|
15780
15736
|
},
|
15781
15737
|
{
|
15782
|
-
"
|
15783
|
-
"name": "
|
15784
|
-
"privacy": "private",
|
15785
|
-
"return": {
|
15786
|
-
"type": {
|
15787
|
-
"text": ""
|
15788
|
-
}
|
15789
|
-
},
|
15790
|
-
"parameters": [
|
15791
|
-
{
|
15792
|
-
"name": "key",
|
15793
|
-
"type": {
|
15794
|
-
"text": "string"
|
15795
|
-
},
|
15796
|
-
"description": "The key that was pressed."
|
15797
|
-
},
|
15798
|
-
{
|
15799
|
-
"name": "currentIndex",
|
15800
|
-
"type": {
|
15801
|
-
"text": "number"
|
15802
|
-
},
|
15803
|
-
"description": "The current index of the focused list item."
|
15804
|
-
},
|
15805
|
-
{
|
15806
|
-
"name": "wrappedDivsCount",
|
15807
|
-
"type": {
|
15808
|
-
"text": "number"
|
15809
|
-
},
|
15810
|
-
"description": "The total number of list items."
|
15811
|
-
}
|
15812
|
-
],
|
15813
|
-
"description": "Calculates a new index based on the pressed keyboard key.\nSupports navigation keys for moving focus within a list."
|
15738
|
+
"description": "Color of the linkbutton’s child content in the hover state.",
|
15739
|
+
"name": "--mdc-link-color-hover"
|
15814
15740
|
},
|
15815
15741
|
{
|
15816
|
-
"
|
15817
|
-
"name": "
|
15818
|
-
"privacy": "protected",
|
15819
|
-
"return": {
|
15820
|
-
"type": {
|
15821
|
-
"text": "void"
|
15822
|
-
}
|
15823
|
-
},
|
15824
|
-
"parameters": [
|
15825
|
-
{
|
15826
|
-
"name": "event",
|
15827
|
-
"type": {
|
15828
|
-
"text": "MouseEvent"
|
15829
|
-
},
|
15830
|
-
"description": "The mouse event."
|
15831
|
-
}
|
15832
|
-
],
|
15833
|
-
"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."
|
15742
|
+
"description": "Color of the linkbutton’s child content in the normal state.",
|
15743
|
+
"name": "--mdc-link-color-normal"
|
15834
15744
|
},
|
15835
15745
|
{
|
15836
|
-
"
|
15837
|
-
"name": "
|
15838
|
-
|
15839
|
-
"parameters": [
|
15840
|
-
{
|
15841
|
-
"name": "newIndex",
|
15842
|
-
"type": {
|
15843
|
-
"text": "number"
|
15844
|
-
},
|
15845
|
-
"description": "The index of the new active element in the list."
|
15846
|
-
}
|
15847
|
-
],
|
15848
|
-
"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."
|
15849
|
-
}
|
15850
|
-
],
|
15851
|
-
"superclass": {
|
15852
|
-
"name": "Component",
|
15853
|
-
"module": "/src/models"
|
15854
|
-
},
|
15855
|
-
"tagName": "mdc-list",
|
15856
|
-
"jsDoc": "/**\n * mdc-list component is used to display a group of list items. It is used as a container to wrap other list items.\n *\n * To add a header to the list, use the `mdc-listheader` component and place it in the `list-header` slot.\n * `mdc-listitem` components can be placed in the default slot.\n *\n * @tagname mdc-list\n *\n * @slot default - This is a default/unnamed slot, where listitems can be placed.\n * @slot list-header - This slot is used to pass a header for the list, which can be a `mdc-listheader` component.\n *\n * @csspart container - The container slot around the list items\n */",
|
15857
|
-
"customElement": true
|
15858
|
-
}
|
15859
|
-
],
|
15860
|
-
"exports": [
|
15861
|
-
{
|
15862
|
-
"kind": "js",
|
15863
|
-
"name": "default",
|
15864
|
-
"declaration": {
|
15865
|
-
"name": "List",
|
15866
|
-
"module": "components/list/list.component.js"
|
15867
|
-
}
|
15868
|
-
}
|
15869
|
-
]
|
15870
|
-
},
|
15871
|
-
{
|
15872
|
-
"kind": "javascript-module",
|
15873
|
-
"path": "components/listheader/listheader.component.js",
|
15874
|
-
"declarations": [
|
15875
|
-
{
|
15876
|
-
"kind": "class",
|
15877
|
-
"description": "Listheader component is used to display a header in a list.\nIt can include icons before and after the header text, and allows for additional content via slots.",
|
15878
|
-
"name": "Listheader",
|
15879
|
-
"cssProperties": [
|
15746
|
+
"description": "Color of the inverted linkbutton’s child content in the active state.",
|
15747
|
+
"name": "--mdc-link-inverted-color-active"
|
15748
|
+
},
|
15880
15749
|
{
|
15881
|
-
"description": "
|
15882
|
-
"name": "--mdc-
|
15750
|
+
"description": "Color of the inverted linkbutton’s child content in the disabled state.",
|
15751
|
+
"name": "--mdc-link-inverted-color-disabled"
|
15883
15752
|
},
|
15884
15753
|
{
|
15885
|
-
"description": "
|
15886
|
-
"name": "--mdc-
|
15754
|
+
"description": "Color of the inverted linkbutton’s child content in the hover state.",
|
15755
|
+
"name": "--mdc-link-inverted-color-hover"
|
15887
15756
|
},
|
15888
15757
|
{
|
15889
|
-
"description": "
|
15890
|
-
"name": "--mdc-
|
15758
|
+
"description": "Color of the inverted linkbutton’s child content in the normal state.",
|
15759
|
+
"name": "--mdc-link-inverted-color-normal"
|
15891
15760
|
}
|
15892
15761
|
],
|
15893
15762
|
"slots": [
|
15894
15763
|
{
|
15895
|
-
"description": "
|
15896
|
-
"name": "
|
15764
|
+
"description": "Text label of the linkbutton.",
|
15765
|
+
"name": ""
|
15897
15766
|
}
|
15898
15767
|
],
|
15899
15768
|
"members": [
|
15900
15769
|
{
|
15901
15770
|
"kind": "field",
|
15902
|
-
"name": "
|
15903
|
-
"type": {
|
15904
|
-
"text": "IconNames | undefined"
|
15905
|
-
},
|
15906
|
-
"description": "Name of the icon rendered before the text\n\nIf not provided, no icon will be rendered and text will be aligned to the start.",
|
15907
|
-
"attribute": "prefix-icon"
|
15908
|
-
},
|
15909
|
-
{
|
15910
|
-
"kind": "field",
|
15911
|
-
"name": "postfixIcon",
|
15771
|
+
"name": "size",
|
15912
15772
|
"type": {
|
15913
|
-
"text": "
|
15773
|
+
"text": "ButtonSize"
|
15914
15774
|
},
|
15915
|
-
"description": "
|
15916
|
-
"
|
15775
|
+
"description": "Sets the size of the linkbutton.\nAcceptable values: \n- 12\n- 14\n- 16",
|
15776
|
+
"default": "16",
|
15777
|
+
"attribute": "size",
|
15778
|
+
"reflects": true,
|
15779
|
+
"inheritedFrom": {
|
15780
|
+
"name": "Buttonsimple",
|
15781
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
15782
|
+
}
|
15917
15783
|
},
|
15918
15784
|
{
|
15919
15785
|
"kind": "field",
|
15920
|
-
"name": "
|
15786
|
+
"name": "inline",
|
15921
15787
|
"type": {
|
15922
|
-
"text": "
|
15788
|
+
"text": "boolean"
|
15923
15789
|
},
|
15924
|
-
"description": "
|
15925
|
-
"
|
15790
|
+
"description": "The linkbutton can be inline or standalone.",
|
15791
|
+
"default": "false",
|
15792
|
+
"attribute": "inline",
|
15793
|
+
"reflects": true
|
15926
15794
|
},
|
15927
15795
|
{
|
15928
15796
|
"kind": "field",
|
15929
|
-
"name": "
|
15797
|
+
"name": "inverted",
|
15930
15798
|
"type": {
|
15931
15799
|
"text": "boolean"
|
15932
15800
|
},
|
15801
|
+
"description": "The linkbutton color can be inverted by setting the inverted attribute to true.",
|
15933
15802
|
"default": "false",
|
15934
|
-
"
|
15935
|
-
"attribute": "disabled",
|
15803
|
+
"attribute": "inverted",
|
15936
15804
|
"reflects": true
|
15937
|
-
}
|
15938
|
-
],
|
15939
|
-
"attributes": [
|
15805
|
+
},
|
15940
15806
|
{
|
15941
|
-
"
|
15942
|
-
"
|
15943
|
-
|
15944
|
-
|
15945
|
-
|
15946
|
-
|
15807
|
+
"kind": "method",
|
15808
|
+
"name": "setSize",
|
15809
|
+
"privacy": "private",
|
15810
|
+
"parameters": [
|
15811
|
+
{
|
15812
|
+
"name": "size",
|
15813
|
+
"type": {
|
15814
|
+
"text": "LinkButtonSize"
|
15815
|
+
},
|
15816
|
+
"description": "The desired link size."
|
15817
|
+
}
|
15818
|
+
],
|
15819
|
+
"description": "Sets the `size` attribute for the linkbutton, falling back to the default if the value is invalid."
|
15947
15820
|
},
|
15948
15821
|
{
|
15949
|
-
"
|
15822
|
+
"kind": "field",
|
15823
|
+
"name": "iconName",
|
15950
15824
|
"type": {
|
15951
15825
|
"text": "IconNames | undefined"
|
15952
15826
|
},
|
15953
|
-
"description": "Name of the icon
|
15954
|
-
"
|
15827
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
15828
|
+
"attribute": "icon-name",
|
15829
|
+
"inheritedFrom": {
|
15830
|
+
"name": "IconNameMixin",
|
15831
|
+
"module": "utils/mixins/IconNameMixin.js"
|
15832
|
+
}
|
15955
15833
|
},
|
15956
15834
|
{
|
15957
|
-
"
|
15958
|
-
"
|
15959
|
-
"text": "string | undefined"
|
15960
|
-
},
|
15961
|
-
"description": "Text to be rendered in the header",
|
15962
|
-
"fieldName": "headerText"
|
15963
|
-
},
|
15964
|
-
{
|
15965
|
-
"name": "disabled",
|
15835
|
+
"kind": "field",
|
15836
|
+
"name": "autofocus",
|
15966
15837
|
"type": {
|
15967
15838
|
"text": "boolean"
|
15968
15839
|
},
|
15969
15840
|
"default": "false",
|
15970
|
-
"description": "
|
15971
|
-
"
|
15972
|
-
|
15973
|
-
|
15974
|
-
|
15975
|
-
|
15976
|
-
|
15977
|
-
},
|
15978
|
-
"tagName": "mdc-listheader",
|
15979
|
-
"jsDoc": "/**\n * Listheader component is used to display a header in a list.\n * It can include icons before and after the header text, and allows for additional content via slots.\n *\n * @tagname mdc-listheader\n *\n * @slot default - to pass in actionable content like buttons or links\n *\n * @cssproperty --mdc-listheader-height - height of the header\n * @cssproperty --mdc-listheader-padding - padding around the header content\n * @cssproperty --mdc-listheader-gap - gap between content\n */",
|
15980
|
-
"customElement": true
|
15981
|
-
}
|
15982
|
-
],
|
15983
|
-
"exports": [
|
15984
|
-
{
|
15985
|
-
"kind": "js",
|
15986
|
-
"name": "default",
|
15987
|
-
"declaration": {
|
15988
|
-
"name": "Listheader",
|
15989
|
-
"module": "components/listheader/listheader.component.js"
|
15990
|
-
}
|
15991
|
-
}
|
15992
|
-
]
|
15993
|
-
},
|
15994
|
-
{
|
15995
|
-
"kind": "javascript-module",
|
15996
|
-
"path": "components/linksimple/linksimple.component.js",
|
15997
|
-
"declarations": [
|
15998
|
-
{
|
15999
|
-
"kind": "class",
|
16000
|
-
"description": "`mdc-linksimple` is a lightweight link component that can be used to navigate\nwithin the application or to an external URL. It does not have any predefined default size.\n\nThe `children` of the `mdc-linksimple` component can be customized to suit\ndifferent use cases, including text, icons, or other inline content. For the child to be an icon,\nthe `mdc-icon` component should be used to render.",
|
16001
|
-
"name": "Linksimple",
|
16002
|
-
"cssProperties": [
|
16003
|
-
{
|
16004
|
-
"description": "Border radius of the link.",
|
16005
|
-
"name": "--mdc-link-border-radius"
|
16006
|
-
},
|
16007
|
-
{
|
16008
|
-
"description": "Color of the link’s child content in the active state.",
|
16009
|
-
"name": "--mdc-link-color-active"
|
16010
|
-
},
|
16011
|
-
{
|
16012
|
-
"description": "Color of the link’s child content in the disabled state.",
|
16013
|
-
"name": "--mdc-link-color-disabled"
|
16014
|
-
},
|
16015
|
-
{
|
16016
|
-
"description": "Color of the link’s child content in the hover state.",
|
16017
|
-
"name": "--mdc-link-color-hover"
|
16018
|
-
},
|
16019
|
-
{
|
16020
|
-
"description": "Color of the link’s child content in the normal state.",
|
16021
|
-
"name": "--mdc-link-color-normal"
|
15841
|
+
"description": "This property indicates whether the element should receive focus automatically when it is rendered.",
|
15842
|
+
"attribute": "autofocus",
|
15843
|
+
"reflects": true,
|
15844
|
+
"inheritedFrom": {
|
15845
|
+
"name": "Buttonsimple",
|
15846
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
15847
|
+
}
|
16022
15848
|
},
|
16023
15849
|
{
|
16024
|
-
"
|
16025
|
-
"name": "
|
15850
|
+
"kind": "field",
|
15851
|
+
"name": "tabIndex",
|
15852
|
+
"type": {
|
15853
|
+
"text": "number"
|
15854
|
+
},
|
15855
|
+
"default": "0",
|
15856
|
+
"description": "This property specifies the tab order of the element.",
|
15857
|
+
"attribute": "tabIndex",
|
15858
|
+
"reflects": true,
|
15859
|
+
"inheritedFrom": {
|
15860
|
+
"name": "Buttonsimple",
|
15861
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
15862
|
+
}
|
16026
15863
|
},
|
16027
15864
|
{
|
16028
|
-
"
|
16029
|
-
"name": "
|
15865
|
+
"kind": "field",
|
15866
|
+
"name": "disabled",
|
15867
|
+
"type": {
|
15868
|
+
"text": "boolean | undefined"
|
15869
|
+
},
|
15870
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
15871
|
+
"default": "undefined",
|
15872
|
+
"attribute": "disabled",
|
15873
|
+
"reflects": true,
|
15874
|
+
"inheritedFrom": {
|
15875
|
+
"name": "Buttonsimple",
|
15876
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
15877
|
+
}
|
16030
15878
|
},
|
16031
15879
|
{
|
16032
|
-
"
|
16033
|
-
"name": "
|
15880
|
+
"kind": "field",
|
15881
|
+
"name": "active",
|
15882
|
+
"type": {
|
15883
|
+
"text": "boolean | undefined"
|
15884
|
+
},
|
15885
|
+
"description": "The button's active state indicates whether it is currently toggled on (active) or off (inactive).\nWhen the active state is true, the button is considered to be in an active state, meaning it is toggled on.\nConversely, when the active state is false, the button is in an inactive state, indicating it is toggled off.\n\nThis attribute is used to set the provided `ariaStateKey` to true or false.",
|
15886
|
+
"default": "undefined",
|
15887
|
+
"attribute": "active",
|
15888
|
+
"reflects": true,
|
15889
|
+
"inheritedFrom": {
|
15890
|
+
"name": "Buttonsimple",
|
15891
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
15892
|
+
}
|
16034
15893
|
},
|
16035
|
-
{
|
16036
|
-
"description": "Color of the inverted link’s child content in the normal state.",
|
16037
|
-
"name": "--mdc-link-inverted-color-normal"
|
16038
|
-
}
|
16039
|
-
],
|
16040
|
-
"members": [
|
16041
15894
|
{
|
16042
15895
|
"kind": "field",
|
16043
|
-
"name": "
|
15896
|
+
"name": "softDisabled",
|
16044
15897
|
"type": {
|
16045
|
-
"text": "boolean"
|
15898
|
+
"text": "boolean | undefined"
|
16046
15899
|
},
|
16047
|
-
"description": "
|
16048
|
-
"default": "
|
16049
|
-
"attribute": "
|
16050
|
-
"reflects": true
|
15900
|
+
"description": "Indicates whether the button is soft disabled.\nWhen set to `true`, the button appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe button behaves like a disabled button, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
|
15901
|
+
"default": "undefined",
|
15902
|
+
"attribute": "soft-disabled",
|
15903
|
+
"reflects": true,
|
15904
|
+
"inheritedFrom": {
|
15905
|
+
"name": "Buttonsimple",
|
15906
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
15907
|
+
}
|
16051
15908
|
},
|
16052
15909
|
{
|
16053
15910
|
"kind": "field",
|
16054
|
-
"name": "
|
15911
|
+
"name": "role",
|
16055
15912
|
"type": {
|
16056
|
-
"text": "
|
15913
|
+
"text": "RoleType"
|
16057
15914
|
},
|
16058
|
-
"description": "
|
16059
|
-
"default": "
|
16060
|
-
"attribute": "
|
16061
|
-
"reflects": true
|
15915
|
+
"description": "This property defines the ARIA role for the element. By default, it is set to 'button'.\nConsumers should override this role when:\n- The element is being used in a context where a different role is more appropriate.\n- Custom behaviors are implemented that require a specific ARIA role for accessibility purposes.",
|
15916
|
+
"default": "button",
|
15917
|
+
"attribute": "role",
|
15918
|
+
"reflects": true,
|
15919
|
+
"inheritedFrom": {
|
15920
|
+
"name": "Buttonsimple",
|
15921
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
15922
|
+
}
|
16062
15923
|
},
|
16063
15924
|
{
|
16064
15925
|
"kind": "field",
|
16065
|
-
"name": "
|
15926
|
+
"name": "ariaStateKey",
|
16066
15927
|
"type": {
|
16067
|
-
"text": "string"
|
15928
|
+
"text": "string | undefined"
|
16068
15929
|
},
|
16069
|
-
"
|
16070
|
-
"
|
16071
|
-
"attribute": "
|
16072
|
-
"reflects": true
|
15930
|
+
"description": "This property defines the ARIA state key, which will be toggled when the\nButton is set to `active`.\nThe default value is 'aria-pressed', which is commonly used for toggle buttons.\n\nConsumers can override this property to use a different ARIA state key if needed.\nIn case multiple aria attributes should be toggled, they can be passed in as\na comma separated string.\nFor example: `aria-pressed,aria-expanded`",
|
15931
|
+
"default": "'aria-pressed' (when)",
|
15932
|
+
"attribute": "ariaStateKey",
|
15933
|
+
"reflects": true,
|
15934
|
+
"inheritedFrom": {
|
15935
|
+
"name": "Buttonsimple",
|
15936
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
15937
|
+
}
|
16073
15938
|
},
|
16074
15939
|
{
|
16075
15940
|
"kind": "field",
|
16076
|
-
"name": "
|
15941
|
+
"name": "type",
|
16077
15942
|
"type": {
|
16078
|
-
"text": "
|
15943
|
+
"text": "ButtonType"
|
16079
15944
|
},
|
16080
|
-
"
|
16081
|
-
"
|
16082
|
-
"attribute": "
|
16083
|
-
"reflects": true
|
15945
|
+
"description": "This property defines the type attribute for the button element.\nThe type attribute specifies the behavior of the button when it is clicked.\n- **submit**: The button submits the form data to the server.\n- **reset**: The button resets the form data to its initial state.\n- **button**: The button does nothing when clicked.",
|
15946
|
+
"default": "button",
|
15947
|
+
"attribute": "type",
|
15948
|
+
"reflects": true,
|
15949
|
+
"inheritedFrom": {
|
15950
|
+
"name": "Buttonsimple",
|
15951
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
15952
|
+
}
|
15953
|
+
},
|
15954
|
+
{
|
15955
|
+
"kind": "method",
|
15956
|
+
"name": "executeAction",
|
15957
|
+
"privacy": "protected",
|
15958
|
+
"inheritedFrom": {
|
15959
|
+
"name": "Buttonsimple",
|
15960
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
15961
|
+
}
|
15962
|
+
},
|
15963
|
+
{
|
15964
|
+
"kind": "method",
|
15965
|
+
"name": "setActive",
|
15966
|
+
"privacy": "protected",
|
15967
|
+
"parameters": [
|
15968
|
+
{
|
15969
|
+
"name": "element",
|
15970
|
+
"type": {
|
15971
|
+
"text": "HTMLElement"
|
15972
|
+
},
|
15973
|
+
"description": "The button element"
|
15974
|
+
},
|
15975
|
+
{
|
15976
|
+
"name": "active",
|
15977
|
+
"optional": true,
|
15978
|
+
"type": {
|
15979
|
+
"text": "boolean"
|
15980
|
+
},
|
15981
|
+
"description": "The active state of the element"
|
15982
|
+
}
|
15983
|
+
],
|
15984
|
+
"description": "Sets the ariaStateKey attributes based on the active state of the button.",
|
15985
|
+
"inheritedFrom": {
|
15986
|
+
"name": "Buttonsimple",
|
15987
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
15988
|
+
}
|
15989
|
+
},
|
15990
|
+
{
|
15991
|
+
"kind": "method",
|
15992
|
+
"name": "setSoftDisabled",
|
15993
|
+
"privacy": "private",
|
15994
|
+
"parameters": [
|
15995
|
+
{
|
15996
|
+
"name": "element",
|
15997
|
+
"type": {
|
15998
|
+
"text": "HTMLElement"
|
15999
|
+
},
|
16000
|
+
"description": "The button element."
|
16001
|
+
},
|
16002
|
+
{
|
16003
|
+
"name": "softDisabled",
|
16004
|
+
"optional": true,
|
16005
|
+
"type": {
|
16006
|
+
"text": "boolean"
|
16007
|
+
},
|
16008
|
+
"description": "The soft-disabled state."
|
16009
|
+
}
|
16010
|
+
],
|
16011
|
+
"description": "Sets the soft-disabled attribute for the button.\nWhen soft-disabled, the button looks to be disabled but remains focusable and clickable.\nAlso sets/removes aria-disabled attribute.",
|
16012
|
+
"inheritedFrom": {
|
16013
|
+
"name": "Buttonsimple",
|
16014
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
16015
|
+
}
|
16016
|
+
},
|
16017
|
+
{
|
16018
|
+
"kind": "method",
|
16019
|
+
"name": "setDisabled",
|
16020
|
+
"privacy": "private",
|
16021
|
+
"parameters": [
|
16022
|
+
{
|
16023
|
+
"name": "element",
|
16024
|
+
"type": {
|
16025
|
+
"text": "HTMLElement"
|
16026
|
+
},
|
16027
|
+
"description": "The button element."
|
16028
|
+
},
|
16029
|
+
{
|
16030
|
+
"name": "disabled",
|
16031
|
+
"type": {
|
16032
|
+
"text": "boolean"
|
16033
|
+
},
|
16034
|
+
"description": "The disabled state."
|
16035
|
+
}
|
16036
|
+
],
|
16037
|
+
"description": "Sets the disabled attribute for the button.\nWhen disabled, the button is not focusable or clickable, and tabindex is set to -1.\nThe previous tabindex is stored and restored when enabled.\nAlso sets/removes aria-disabled attribute.",
|
16038
|
+
"inheritedFrom": {
|
16039
|
+
"name": "Buttonsimple",
|
16040
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
16041
|
+
}
|
16042
|
+
},
|
16043
|
+
{
|
16044
|
+
"kind": "method",
|
16045
|
+
"name": "triggerClickEvent",
|
16046
|
+
"privacy": "private",
|
16047
|
+
"inheritedFrom": {
|
16048
|
+
"name": "Buttonsimple",
|
16049
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
16050
|
+
}
|
16084
16051
|
},
|
16085
16052
|
{
|
16086
|
-
"kind": "
|
16087
|
-
"name": "
|
16088
|
-
"
|
16089
|
-
|
16090
|
-
|
16091
|
-
|
16092
|
-
|
16093
|
-
|
16053
|
+
"kind": "method",
|
16054
|
+
"name": "handleBlur",
|
16055
|
+
"privacy": "private",
|
16056
|
+
"description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed.",
|
16057
|
+
"inheritedFrom": {
|
16058
|
+
"name": "Buttonsimple",
|
16059
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
16060
|
+
}
|
16094
16061
|
},
|
16095
16062
|
{
|
16096
16063
|
"kind": "method",
|
16097
|
-
"name": "
|
16064
|
+
"name": "handleKeyDown",
|
16098
16065
|
"privacy": "private",
|
16099
|
-
"return": {
|
16100
|
-
"type": {
|
16101
|
-
"text": "void"
|
16102
|
-
}
|
16103
|
-
},
|
16104
16066
|
"parameters": [
|
16105
16067
|
{
|
16106
|
-
"name": "
|
16068
|
+
"name": "event",
|
16107
16069
|
"type": {
|
16108
|
-
"text": "
|
16109
|
-
}
|
16070
|
+
"text": "KeyboardEvent"
|
16071
|
+
},
|
16072
|
+
"description": "The keyboard event."
|
16110
16073
|
}
|
16111
|
-
]
|
16074
|
+
],
|
16075
|
+
"description": "Handles the keydown event on the button.\nIf the key is 'Enter' or 'Space', the button is pressed.\nIf the key is 'Enter', the button is pressed. The native HTML button works in the same way.\nIf the key is 'Space', the button's default is prevent to avoid scrolling etc in the host application.",
|
16076
|
+
"inheritedFrom": {
|
16077
|
+
"name": "Buttonsimple",
|
16078
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
16079
|
+
}
|
16112
16080
|
},
|
16113
16081
|
{
|
16114
16082
|
"kind": "method",
|
16115
|
-
"name": "
|
16083
|
+
"name": "handleKeyUp",
|
16116
16084
|
"privacy": "private",
|
16117
16085
|
"parameters": [
|
16118
16086
|
{
|
16119
|
-
"name": "
|
16087
|
+
"name": "event",
|
16120
16088
|
"type": {
|
16121
|
-
"text": "
|
16089
|
+
"text": "KeyboardEvent"
|
16122
16090
|
},
|
16123
|
-
"description": "
|
16091
|
+
"description": "The keyboard event."
|
16124
16092
|
}
|
16125
16093
|
],
|
16126
|
-
"description": "
|
16127
|
-
},
|
16128
|
-
{
|
16129
|
-
"kind": "field",
|
16130
|
-
"name": "disabled",
|
16131
|
-
"type": {
|
16132
|
-
"text": "boolean | undefined"
|
16133
|
-
},
|
16134
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
16135
|
-
"default": "undefined",
|
16136
|
-
"attribute": "disabled",
|
16137
|
-
"reflects": true,
|
16138
|
-
"inheritedFrom": {
|
16139
|
-
"name": "DisabledMixin",
|
16140
|
-
"module": "utils/mixins/DisabledMixin.js"
|
16141
|
-
}
|
16142
|
-
},
|
16143
|
-
{
|
16144
|
-
"kind": "field",
|
16145
|
-
"name": "tabIndex",
|
16146
|
-
"type": {
|
16147
|
-
"text": "number"
|
16148
|
-
},
|
16149
|
-
"default": "0",
|
16150
|
-
"description": "This property specifies the tab order of the element.",
|
16151
|
-
"attribute": "tabIndex",
|
16152
|
-
"reflects": true,
|
16094
|
+
"description": "Handles the keyup event on the button.\nIf the key is 'Enter' or 'Space', the button is clicked.\nIf the key is 'Space', the button is pressed. The native HTML button works in the same way.",
|
16153
16095
|
"inheritedFrom": {
|
16154
|
-
"name": "
|
16155
|
-
"module": "
|
16096
|
+
"name": "Buttonsimple",
|
16097
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
16156
16098
|
}
|
16157
16099
|
}
|
16158
16100
|
],
|
16159
16101
|
"events": [
|
16160
16102
|
{
|
16161
|
-
"description": "(React: onClick)
|
16103
|
+
"description": "(React: onClick) This event is dispatched when the linkbutton is clicked.",
|
16162
16104
|
"name": "click",
|
16163
|
-
"reactName": "onClick"
|
16105
|
+
"reactName": "onClick",
|
16106
|
+
"inheritedFrom": {
|
16107
|
+
"name": "Buttonsimple",
|
16108
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
16109
|
+
}
|
16164
16110
|
},
|
16165
16111
|
{
|
16166
|
-
"description": "(React: onKeyDown)
|
16112
|
+
"description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the linkbutton.",
|
16167
16113
|
"name": "keydown",
|
16168
|
-
"reactName": "onKeyDown"
|
16114
|
+
"reactName": "onKeyDown",
|
16115
|
+
"inheritedFrom": {
|
16116
|
+
"name": "Buttonsimple",
|
16117
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
16118
|
+
}
|
16169
16119
|
},
|
16170
16120
|
{
|
16171
|
-
"description": "(React:
|
16172
|
-
"name": "
|
16173
|
-
"reactName": "
|
16121
|
+
"description": "(React: onKeyUp) This event is dispatched when a key is released on the linkbutton.",
|
16122
|
+
"name": "keyup",
|
16123
|
+
"reactName": "onKeyUp",
|
16124
|
+
"inheritedFrom": {
|
16125
|
+
"name": "Buttonsimple",
|
16126
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
16127
|
+
}
|
16174
16128
|
},
|
16175
16129
|
{
|
16176
|
-
"description": "(React:
|
16177
|
-
"name": "
|
16178
|
-
"reactName": "
|
16130
|
+
"description": "(React: onFocus) This event is dispatched when the linkbutton receives focus.",
|
16131
|
+
"name": "focus",
|
16132
|
+
"reactName": "onFocus",
|
16133
|
+
"inheritedFrom": {
|
16134
|
+
"name": "Buttonsimple",
|
16135
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
16136
|
+
}
|
16179
16137
|
}
|
16180
16138
|
],
|
16181
16139
|
"attributes": [
|
16140
|
+
{
|
16141
|
+
"name": "size",
|
16142
|
+
"type": {
|
16143
|
+
"text": "ButtonSize"
|
16144
|
+
},
|
16145
|
+
"description": "Sets the size of the linkbutton.\nAcceptable values: \n- 12\n- 14\n- 16",
|
16146
|
+
"default": "16",
|
16147
|
+
"fieldName": "size",
|
16148
|
+
"inheritedFrom": {
|
16149
|
+
"name": "Buttonsimple",
|
16150
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
16151
|
+
}
|
16152
|
+
},
|
16182
16153
|
{
|
16183
16154
|
"name": "inline",
|
16184
16155
|
"type": {
|
16185
16156
|
"text": "boolean"
|
16186
16157
|
},
|
16187
|
-
"description": "The
|
16158
|
+
"description": "The linkbutton can be inline or standalone.",
|
16188
16159
|
"default": "false",
|
16189
16160
|
"fieldName": "inline"
|
16190
16161
|
},
|
@@ -16193,35 +16164,47 @@
|
|
16193
16164
|
"type": {
|
16194
16165
|
"text": "boolean"
|
16195
16166
|
},
|
16196
|
-
"description": "The
|
16167
|
+
"description": "The linkbutton color can be inverted by setting the inverted attribute to true.",
|
16197
16168
|
"default": "false",
|
16198
16169
|
"fieldName": "inverted"
|
16199
16170
|
},
|
16200
16171
|
{
|
16201
|
-
"name": "
|
16172
|
+
"name": "icon-name",
|
16202
16173
|
"type": {
|
16203
|
-
"text": "
|
16174
|
+
"text": "IconNames | undefined"
|
16204
16175
|
},
|
16205
|
-
"
|
16206
|
-
"
|
16207
|
-
"
|
16176
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
16177
|
+
"fieldName": "iconName",
|
16178
|
+
"inheritedFrom": {
|
16179
|
+
"name": "IconNameMixin",
|
16180
|
+
"module": "src/utils/mixins/IconNameMixin.ts"
|
16181
|
+
}
|
16208
16182
|
},
|
16209
16183
|
{
|
16210
|
-
"name": "
|
16184
|
+
"name": "autofocus",
|
16211
16185
|
"type": {
|
16212
|
-
"text": "
|
16186
|
+
"text": "boolean"
|
16213
16187
|
},
|
16214
|
-
"default": "
|
16215
|
-
"description": "
|
16216
|
-
"fieldName": "
|
16188
|
+
"default": "false",
|
16189
|
+
"description": "This property indicates whether the element should receive focus automatically when it is rendered.",
|
16190
|
+
"fieldName": "autofocus",
|
16191
|
+
"inheritedFrom": {
|
16192
|
+
"name": "Buttonsimple",
|
16193
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
16194
|
+
}
|
16217
16195
|
},
|
16218
16196
|
{
|
16219
|
-
"name": "
|
16197
|
+
"name": "tabIndex",
|
16220
16198
|
"type": {
|
16221
|
-
"text": "
|
16199
|
+
"text": "number"
|
16222
16200
|
},
|
16223
|
-
"
|
16224
|
-
"
|
16201
|
+
"default": "0",
|
16202
|
+
"description": "This property specifies the tab order of the element.",
|
16203
|
+
"fieldName": "tabIndex",
|
16204
|
+
"inheritedFrom": {
|
16205
|
+
"name": "Buttonsimple",
|
16206
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
16207
|
+
}
|
16225
16208
|
},
|
16226
16209
|
{
|
16227
16210
|
"name": "disabled",
|
@@ -16232,40 +16215,88 @@
|
|
16232
16215
|
"default": "undefined",
|
16233
16216
|
"fieldName": "disabled",
|
16234
16217
|
"inheritedFrom": {
|
16235
|
-
"name": "
|
16236
|
-
"module": "src/
|
16218
|
+
"name": "Buttonsimple",
|
16219
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
16237
16220
|
}
|
16238
16221
|
},
|
16239
16222
|
{
|
16240
|
-
"name": "
|
16223
|
+
"name": "active",
|
16241
16224
|
"type": {
|
16242
|
-
"text": "
|
16225
|
+
"text": "boolean | undefined"
|
16243
16226
|
},
|
16244
|
-
"
|
16245
|
-
"
|
16246
|
-
"fieldName": "
|
16227
|
+
"description": "The button's active state indicates whether it is currently toggled on (active) or off (inactive).\nWhen the active state is true, the button is considered to be in an active state, meaning it is toggled on.\nConversely, when the active state is false, the button is in an inactive state, indicating it is toggled off.\n\nThis attribute is used to set the provided `ariaStateKey` to true or false.",
|
16228
|
+
"default": "undefined",
|
16229
|
+
"fieldName": "active",
|
16247
16230
|
"inheritedFrom": {
|
16248
|
-
"name": "
|
16249
|
-
"module": "src/
|
16231
|
+
"name": "Buttonsimple",
|
16232
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
16233
|
+
}
|
16234
|
+
},
|
16235
|
+
{
|
16236
|
+
"name": "soft-disabled",
|
16237
|
+
"type": {
|
16238
|
+
"text": "boolean | undefined"
|
16239
|
+
},
|
16240
|
+
"description": "Indicates whether the button is soft disabled.\nWhen set to `true`, the button appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe button behaves like a disabled button, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
|
16241
|
+
"default": "undefined",
|
16242
|
+
"fieldName": "softDisabled",
|
16243
|
+
"inheritedFrom": {
|
16244
|
+
"name": "Buttonsimple",
|
16245
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
16246
|
+
}
|
16247
|
+
},
|
16248
|
+
{
|
16249
|
+
"name": "role",
|
16250
|
+
"type": {
|
16251
|
+
"text": "RoleType"
|
16252
|
+
},
|
16253
|
+
"description": "This property defines the ARIA role for the element. By default, it is set to 'button'.\nConsumers should override this role when:\n- The element is being used in a context where a different role is more appropriate.\n- Custom behaviors are implemented that require a specific ARIA role for accessibility purposes.",
|
16254
|
+
"default": "button",
|
16255
|
+
"fieldName": "role",
|
16256
|
+
"inheritedFrom": {
|
16257
|
+
"name": "Buttonsimple",
|
16258
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
16259
|
+
}
|
16260
|
+
},
|
16261
|
+
{
|
16262
|
+
"name": "ariaStateKey",
|
16263
|
+
"type": {
|
16264
|
+
"text": "string | undefined"
|
16265
|
+
},
|
16266
|
+
"description": "This property defines the ARIA state key, which will be toggled when the\nButton is set to `active`.\nThe default value is 'aria-pressed', which is commonly used for toggle buttons.\n\nConsumers can override this property to use a different ARIA state key if needed.\nIn case multiple aria attributes should be toggled, they can be passed in as\na comma separated string.\nFor example: `aria-pressed,aria-expanded`",
|
16267
|
+
"default": "'aria-pressed' (when)",
|
16268
|
+
"fieldName": "ariaStateKey",
|
16269
|
+
"inheritedFrom": {
|
16270
|
+
"name": "Buttonsimple",
|
16271
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
16272
|
+
}
|
16273
|
+
},
|
16274
|
+
{
|
16275
|
+
"name": "type",
|
16276
|
+
"type": {
|
16277
|
+
"text": "ButtonType"
|
16278
|
+
},
|
16279
|
+
"description": "This property defines the type attribute for the button element.\nThe type attribute specifies the behavior of the button when it is clicked.\n- **submit**: The button submits the form data to the server.\n- **reset**: The button resets the form data to its initial state.\n- **button**: The button does nothing when clicked.",
|
16280
|
+
"default": "button",
|
16281
|
+
"fieldName": "type",
|
16282
|
+
"inheritedFrom": {
|
16283
|
+
"name": "Buttonsimple",
|
16284
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
16250
16285
|
}
|
16251
16286
|
}
|
16252
16287
|
],
|
16253
16288
|
"mixins": [
|
16254
16289
|
{
|
16255
|
-
"name": "
|
16256
|
-
"module": "/src/utils/mixins/
|
16257
|
-
},
|
16258
|
-
{
|
16259
|
-
"name": "TabIndexMixin",
|
16260
|
-
"module": "/src/utils/mixins/TabIndexMixin"
|
16290
|
+
"name": "IconNameMixin",
|
16291
|
+
"module": "/src/utils/mixins/IconNameMixin"
|
16261
16292
|
}
|
16262
16293
|
],
|
16263
16294
|
"superclass": {
|
16264
|
-
"name": "
|
16265
|
-
"module": "/src/
|
16295
|
+
"name": "Buttonsimple",
|
16296
|
+
"module": "/src/components/buttonsimple/buttonsimple.component"
|
16266
16297
|
},
|
16267
|
-
"tagName": "mdc-
|
16268
|
-
"jsDoc": "/**\n * `mdc-
|
16298
|
+
"tagName": "mdc-linkbutton",
|
16299
|
+
"jsDoc": "/**\n * `mdc-linkbutton` visually mimics a hyperlink while functioning as a button. It blends the appearance of `mdc-link` with the accessibility and interaction capabilities of `mdc-button`.\n *\n * ### Features:\n * - Looks like a link, behaves like a button.\n * - Supports slots for a text label and an optional trailing icon.\n * - Inherits accessibility and keyboard interaction behavior from `mdc-buttonsimple`.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-linkbutton\n *\n * @slot - Text label of the linkbutton.\n *\n * @event click - (React: onClick) This event is dispatched when the linkbutton is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the linkbutton.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the linkbutton.\n * @event focus - (React: onFocus) This event is dispatched when the linkbutton receives focus.\n *\n * @cssproperty --mdc-link-border-radius - Border radius of the linkbutton.\n * @cssproperty --mdc-link-color-active - Color of the linkbutton’s child content in the active state.\n * @cssproperty --mdc-link-color-disabled - Color of the linkbutton’s child content in the disabled state.\n * @cssproperty --mdc-link-color-hover - Color of the linkbutton’s child content in the hover state.\n * @cssproperty --mdc-link-color-normal - Color of the linkbutton’s child content in the normal state.\n * @cssproperty --mdc-link-inverted-color-active - Color of the inverted linkbutton’s child content in the active state.\n * @cssproperty --mdc-link-inverted-color-disabled - Color of the inverted linkbutton’s child content in the disabled state.\n * @cssproperty --mdc-link-inverted-color-hover - Color of the inverted linkbutton’s child content in the hover state.\n * @cssproperty --mdc-link-inverted-color-normal - Color of the inverted linkbutton’s child content in the normal state.\n */",
|
16269
16300
|
"customElement": true
|
16270
16301
|
}
|
16271
16302
|
],
|
@@ -16274,87 +16305,66 @@
|
|
16274
16305
|
"kind": "js",
|
16275
16306
|
"name": "default",
|
16276
16307
|
"declaration": {
|
16277
|
-
"name": "
|
16278
|
-
"module": "components/
|
16308
|
+
"name": "LinkButton",
|
16309
|
+
"module": "components/linkbutton/linkbutton.component.js"
|
16279
16310
|
}
|
16280
16311
|
}
|
16281
16312
|
]
|
16282
16313
|
},
|
16283
16314
|
{
|
16284
16315
|
"kind": "javascript-module",
|
16285
|
-
"path": "components/
|
16316
|
+
"path": "components/linksimple/linksimple.component.js",
|
16286
16317
|
"declarations": [
|
16287
16318
|
{
|
16288
16319
|
"kind": "class",
|
16289
|
-
"description": "`mdc-
|
16290
|
-
"name": "
|
16320
|
+
"description": "`mdc-linksimple` is a lightweight link component that can be used to navigate\nwithin the application or to an external URL. It does not have any predefined default size.\n\nThe `children` of the `mdc-linksimple` component can be customized to suit\ndifferent use cases, including text, icons, or other inline content. For the child to be an icon,\nthe `mdc-icon` component should be used to render.",
|
16321
|
+
"name": "Linksimple",
|
16291
16322
|
"cssProperties": [
|
16292
16323
|
{
|
16293
|
-
"description": "Border radius of the
|
16324
|
+
"description": "Border radius of the link.",
|
16294
16325
|
"name": "--mdc-link-border-radius"
|
16295
16326
|
},
|
16296
16327
|
{
|
16297
|
-
"description": "Color of the
|
16328
|
+
"description": "Color of the link’s child content in the active state.",
|
16298
16329
|
"name": "--mdc-link-color-active"
|
16299
16330
|
},
|
16300
16331
|
{
|
16301
|
-
"description": "Color of the
|
16332
|
+
"description": "Color of the link’s child content in the disabled state.",
|
16302
16333
|
"name": "--mdc-link-color-disabled"
|
16303
16334
|
},
|
16304
16335
|
{
|
16305
|
-
"description": "Color of the
|
16336
|
+
"description": "Color of the link’s child content in the hover state.",
|
16306
16337
|
"name": "--mdc-link-color-hover"
|
16307
16338
|
},
|
16308
16339
|
{
|
16309
|
-
"description": "Color of the
|
16340
|
+
"description": "Color of the link’s child content in the normal state.",
|
16310
16341
|
"name": "--mdc-link-color-normal"
|
16311
16342
|
},
|
16312
16343
|
{
|
16313
|
-
"description": "Color of the inverted
|
16344
|
+
"description": "Color of the inverted link’s child content in the active state.",
|
16314
16345
|
"name": "--mdc-link-inverted-color-active"
|
16315
16346
|
},
|
16316
16347
|
{
|
16317
|
-
"description": "Color of the inverted
|
16348
|
+
"description": "Color of the inverted link’s child content in the disabled state.",
|
16318
16349
|
"name": "--mdc-link-inverted-color-disabled"
|
16319
16350
|
},
|
16320
16351
|
{
|
16321
|
-
"description": "Color of the inverted
|
16352
|
+
"description": "Color of the inverted link’s child content in the hover state.",
|
16322
16353
|
"name": "--mdc-link-inverted-color-hover"
|
16323
16354
|
},
|
16324
16355
|
{
|
16325
|
-
"description": "Color of the inverted
|
16356
|
+
"description": "Color of the inverted link’s child content in the normal state.",
|
16326
16357
|
"name": "--mdc-link-inverted-color-normal"
|
16327
16358
|
}
|
16328
16359
|
],
|
16329
|
-
"slots": [
|
16330
|
-
{
|
16331
|
-
"description": "Text label of the linkbutton.",
|
16332
|
-
"name": ""
|
16333
|
-
}
|
16334
|
-
],
|
16335
16360
|
"members": [
|
16336
|
-
{
|
16337
|
-
"kind": "field",
|
16338
|
-
"name": "size",
|
16339
|
-
"type": {
|
16340
|
-
"text": "ButtonSize"
|
16341
|
-
},
|
16342
|
-
"description": "Sets the size of the linkbutton.\nAcceptable values: \n- 12\n- 14\n- 16",
|
16343
|
-
"default": "16",
|
16344
|
-
"attribute": "size",
|
16345
|
-
"reflects": true,
|
16346
|
-
"inheritedFrom": {
|
16347
|
-
"name": "Buttonsimple",
|
16348
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
16349
|
-
}
|
16350
|
-
},
|
16351
16361
|
{
|
16352
16362
|
"kind": "field",
|
16353
16363
|
"name": "inline",
|
16354
16364
|
"type": {
|
16355
16365
|
"text": "boolean"
|
16356
16366
|
},
|
16357
|
-
"description": "The
|
16367
|
+
"description": "The link can be inline or standalone.",
|
16358
16368
|
"default": "false",
|
16359
16369
|
"attribute": "inline",
|
16360
16370
|
"reflects": true
|
@@ -16365,52 +16375,89 @@
|
|
16365
16375
|
"type": {
|
16366
16376
|
"text": "boolean"
|
16367
16377
|
},
|
16368
|
-
"description": "The
|
16378
|
+
"description": "The link color can be inverted by setting the inverted attribute to true.",
|
16369
16379
|
"default": "false",
|
16370
16380
|
"attribute": "inverted",
|
16371
16381
|
"reflects": true
|
16372
16382
|
},
|
16383
|
+
{
|
16384
|
+
"kind": "field",
|
16385
|
+
"name": "href",
|
16386
|
+
"type": {
|
16387
|
+
"text": "string"
|
16388
|
+
},
|
16389
|
+
"default": "'#'",
|
16390
|
+
"description": "Href for navigation. The URL that the hyperlink points to",
|
16391
|
+
"attribute": "href",
|
16392
|
+
"reflects": true
|
16393
|
+
},
|
16394
|
+
{
|
16395
|
+
"kind": "field",
|
16396
|
+
"name": "target",
|
16397
|
+
"type": {
|
16398
|
+
"text": "string"
|
16399
|
+
},
|
16400
|
+
"default": "'_self'",
|
16401
|
+
"description": "Optional target: _blank, _self, _parent, _top and _unfencedTop",
|
16402
|
+
"attribute": "target",
|
16403
|
+
"reflects": true
|
16404
|
+
},
|
16405
|
+
{
|
16406
|
+
"kind": "field",
|
16407
|
+
"name": "rel",
|
16408
|
+
"type": {
|
16409
|
+
"text": "string | undefined"
|
16410
|
+
},
|
16411
|
+
"description": "Optional rel attribute that defines the relationship of the linked URL as space-separated link types.",
|
16412
|
+
"attribute": "rel",
|
16413
|
+
"reflects": true
|
16414
|
+
},
|
16373
16415
|
{
|
16374
16416
|
"kind": "method",
|
16375
|
-
"name": "
|
16417
|
+
"name": "handleNavigation",
|
16376
16418
|
"privacy": "private",
|
16419
|
+
"return": {
|
16420
|
+
"type": {
|
16421
|
+
"text": "void"
|
16422
|
+
}
|
16423
|
+
},
|
16377
16424
|
"parameters": [
|
16378
16425
|
{
|
16379
|
-
"name": "
|
16426
|
+
"name": "e",
|
16380
16427
|
"type": {
|
16381
|
-
"text": "
|
16382
|
-
}
|
16383
|
-
"description": "The desired link size."
|
16428
|
+
"text": "MouseEvent | KeyboardEvent"
|
16429
|
+
}
|
16384
16430
|
}
|
16385
|
-
]
|
16386
|
-
"description": "Sets the `size` attribute for the linkbutton, falling back to the default if the value is invalid."
|
16431
|
+
]
|
16387
16432
|
},
|
16388
16433
|
{
|
16389
|
-
"kind": "
|
16390
|
-
"name": "
|
16391
|
-
"
|
16392
|
-
|
16393
|
-
|
16394
|
-
|
16395
|
-
|
16396
|
-
|
16397
|
-
|
16398
|
-
|
16399
|
-
|
16434
|
+
"kind": "method",
|
16435
|
+
"name": "setDisabled",
|
16436
|
+
"privacy": "private",
|
16437
|
+
"parameters": [
|
16438
|
+
{
|
16439
|
+
"name": "disabled",
|
16440
|
+
"type": {
|
16441
|
+
"text": "boolean"
|
16442
|
+
},
|
16443
|
+
"description": "Whether the element should be disabled"
|
16444
|
+
}
|
16445
|
+
],
|
16446
|
+
"description": "Sets or removes `aria-disabled` and updates `tabIndex` to reflect\nthe disabled state. When disabled, the element becomes unfocusable;\nwhen enabled, the previous `tabIndex` is restored."
|
16400
16447
|
},
|
16401
16448
|
{
|
16402
16449
|
"kind": "field",
|
16403
|
-
"name": "
|
16450
|
+
"name": "disabled",
|
16404
16451
|
"type": {
|
16405
|
-
"text": "boolean"
|
16452
|
+
"text": "boolean | undefined"
|
16406
16453
|
},
|
16407
|
-
"
|
16408
|
-
"
|
16409
|
-
"attribute": "
|
16454
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
16455
|
+
"default": "undefined",
|
16456
|
+
"attribute": "disabled",
|
16410
16457
|
"reflects": true,
|
16411
16458
|
"inheritedFrom": {
|
16412
|
-
"name": "
|
16413
|
-
"module": "
|
16459
|
+
"name": "DisabledMixin",
|
16460
|
+
"module": "utils/mixins/DisabledMixin.js"
|
16414
16461
|
}
|
16415
16462
|
},
|
16416
16463
|
{
|
@@ -16424,446 +16471,399 @@
|
|
16424
16471
|
"attribute": "tabIndex",
|
16425
16472
|
"reflects": true,
|
16426
16473
|
"inheritedFrom": {
|
16427
|
-
"name": "
|
16428
|
-
"module": "
|
16474
|
+
"name": "TabIndexMixin",
|
16475
|
+
"module": "utils/mixins/TabIndexMixin.js"
|
16429
16476
|
}
|
16477
|
+
}
|
16478
|
+
],
|
16479
|
+
"events": [
|
16480
|
+
{
|
16481
|
+
"description": "(React: onClick) Fired when the user activates the buttonLink using a mouse or assistive technology.",
|
16482
|
+
"name": "click",
|
16483
|
+
"reactName": "onClick"
|
16430
16484
|
},
|
16431
16485
|
{
|
16432
|
-
"
|
16433
|
-
"name": "
|
16486
|
+
"description": "(React: onKeyDown) Fired when the user presses a key while the buttonLink has focus.",
|
16487
|
+
"name": "keydown",
|
16488
|
+
"reactName": "onKeyDown"
|
16489
|
+
},
|
16490
|
+
{
|
16491
|
+
"description": "(React: onFocus) Fired when the buttonLink receives keyboard or mouse focus.",
|
16492
|
+
"name": "focus",
|
16493
|
+
"reactName": "onFocus"
|
16494
|
+
},
|
16495
|
+
{
|
16496
|
+
"description": "(React: onBlur) Fired when the buttonLink loses keyboard or mouse focus.",
|
16497
|
+
"name": "blur",
|
16498
|
+
"reactName": "onBlur"
|
16499
|
+
}
|
16500
|
+
],
|
16501
|
+
"attributes": [
|
16502
|
+
{
|
16503
|
+
"name": "inline",
|
16434
16504
|
"type": {
|
16435
|
-
"text": "boolean
|
16505
|
+
"text": "boolean"
|
16436
16506
|
},
|
16437
|
-
"description": "
|
16438
|
-
"default": "
|
16439
|
-
"
|
16440
|
-
"reflects": true,
|
16441
|
-
"inheritedFrom": {
|
16442
|
-
"name": "Buttonsimple",
|
16443
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
16444
|
-
}
|
16507
|
+
"description": "The link can be inline or standalone.",
|
16508
|
+
"default": "false",
|
16509
|
+
"fieldName": "inline"
|
16445
16510
|
},
|
16446
16511
|
{
|
16447
|
-
"
|
16448
|
-
"name": "active",
|
16512
|
+
"name": "inverted",
|
16449
16513
|
"type": {
|
16450
|
-
"text": "boolean
|
16514
|
+
"text": "boolean"
|
16451
16515
|
},
|
16452
|
-
"description": "The
|
16453
|
-
"default": "
|
16454
|
-
"
|
16455
|
-
"reflects": true,
|
16456
|
-
"inheritedFrom": {
|
16457
|
-
"name": "Buttonsimple",
|
16458
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
16459
|
-
}
|
16516
|
+
"description": "The link color can be inverted by setting the inverted attribute to true.",
|
16517
|
+
"default": "false",
|
16518
|
+
"fieldName": "inverted"
|
16460
16519
|
},
|
16461
16520
|
{
|
16462
|
-
"
|
16463
|
-
"name": "softDisabled",
|
16521
|
+
"name": "href",
|
16464
16522
|
"type": {
|
16465
|
-
"text": "
|
16523
|
+
"text": "string"
|
16466
16524
|
},
|
16467
|
-
"
|
16468
|
-
"
|
16469
|
-
"
|
16470
|
-
"reflects": true,
|
16471
|
-
"inheritedFrom": {
|
16472
|
-
"name": "Buttonsimple",
|
16473
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
16474
|
-
}
|
16525
|
+
"default": "'#'",
|
16526
|
+
"description": "Href for navigation. The URL that the hyperlink points to",
|
16527
|
+
"fieldName": "href"
|
16475
16528
|
},
|
16476
16529
|
{
|
16477
|
-
"
|
16478
|
-
"name": "role",
|
16530
|
+
"name": "target",
|
16479
16531
|
"type": {
|
16480
|
-
"text": "
|
16532
|
+
"text": "string"
|
16481
16533
|
},
|
16482
|
-
"
|
16483
|
-
"
|
16484
|
-
"
|
16485
|
-
"reflects": true,
|
16486
|
-
"inheritedFrom": {
|
16487
|
-
"name": "Buttonsimple",
|
16488
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
16489
|
-
}
|
16534
|
+
"default": "'_self'",
|
16535
|
+
"description": "Optional target: _blank, _self, _parent, _top and _unfencedTop",
|
16536
|
+
"fieldName": "target"
|
16490
16537
|
},
|
16491
16538
|
{
|
16492
|
-
"
|
16493
|
-
"name": "ariaStateKey",
|
16539
|
+
"name": "rel",
|
16494
16540
|
"type": {
|
16495
16541
|
"text": "string | undefined"
|
16496
16542
|
},
|
16497
|
-
"description": "
|
16498
|
-
"
|
16499
|
-
|
16500
|
-
|
16543
|
+
"description": "Optional rel attribute that defines the relationship of the linked URL as space-separated link types.",
|
16544
|
+
"fieldName": "rel"
|
16545
|
+
},
|
16546
|
+
{
|
16547
|
+
"name": "disabled",
|
16548
|
+
"type": {
|
16549
|
+
"text": "boolean | undefined"
|
16550
|
+
},
|
16551
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
16552
|
+
"default": "undefined",
|
16553
|
+
"fieldName": "disabled",
|
16501
16554
|
"inheritedFrom": {
|
16502
|
-
"name": "
|
16503
|
-
"module": "
|
16555
|
+
"name": "DisabledMixin",
|
16556
|
+
"module": "src/utils/mixins/DisabledMixin.ts"
|
16504
16557
|
}
|
16505
16558
|
},
|
16506
16559
|
{
|
16507
|
-
"
|
16508
|
-
"name": "type",
|
16560
|
+
"name": "tabIndex",
|
16509
16561
|
"type": {
|
16510
|
-
"text": "
|
16562
|
+
"text": "number"
|
16511
16563
|
},
|
16512
|
-
"
|
16513
|
-
"
|
16514
|
-
"
|
16515
|
-
"reflects": true,
|
16564
|
+
"default": "0",
|
16565
|
+
"description": "This property specifies the tab order of the element.",
|
16566
|
+
"fieldName": "tabIndex",
|
16516
16567
|
"inheritedFrom": {
|
16517
|
-
"name": "
|
16518
|
-
"module": "
|
16568
|
+
"name": "TabIndexMixin",
|
16569
|
+
"module": "src/utils/mixins/TabIndexMixin.ts"
|
16519
16570
|
}
|
16571
|
+
}
|
16572
|
+
],
|
16573
|
+
"mixins": [
|
16574
|
+
{
|
16575
|
+
"name": "DisabledMixin",
|
16576
|
+
"module": "/src/utils/mixins/DisabledMixin"
|
16520
16577
|
},
|
16521
16578
|
{
|
16522
|
-
"
|
16523
|
-
"
|
16524
|
-
|
16525
|
-
|
16526
|
-
|
16527
|
-
|
16528
|
-
|
16579
|
+
"name": "TabIndexMixin",
|
16580
|
+
"module": "/src/utils/mixins/TabIndexMixin"
|
16581
|
+
}
|
16582
|
+
],
|
16583
|
+
"superclass": {
|
16584
|
+
"name": "Component",
|
16585
|
+
"module": "/src/models"
|
16586
|
+
},
|
16587
|
+
"tagName": "mdc-linksimple",
|
16588
|
+
"jsDoc": "/**\n * `mdc-linksimple` is a lightweight link component that can be used to navigate\n * within the application or to an external URL. It does not have any predefined default size.\n *\n * The `children` of the `mdc-linksimple` component can be customized to suit\n * different use cases, including text, icons, or other inline content. For the child to be an icon,\n * the `mdc-icon` component should be used to render.\n *\n * @tagname mdc-linksimple\n *\n * @event click - (React: onClick) Fired when the user activates the buttonLink using a mouse or assistive technology.\n * @event keydown - (React: onKeyDown) Fired when the user presses a key while the buttonLink has focus.\n * @event focus - (React: onFocus) Fired when the buttonLink receives keyboard or mouse focus.\n * @event blur - (React: onBlur) Fired when the buttonLink loses keyboard or mouse focus.\n *\n * @cssproperty --mdc-link-border-radius - Border radius of the link.\n * @cssproperty --mdc-link-color-active - Color of the link’s child content in the active state.\n * @cssproperty --mdc-link-color-disabled - Color of the link’s child content in the disabled state.\n * @cssproperty --mdc-link-color-hover - Color of the link’s child content in the hover state.\n * @cssproperty --mdc-link-color-normal - Color of the link’s child content in the normal state.\n * @cssproperty --mdc-link-inverted-color-active - Color of the inverted link’s child content in the active state.\n * @cssproperty --mdc-link-inverted-color-disabled - Color of the inverted link’s child content in the disabled state.\n * @cssproperty --mdc-link-inverted-color-hover - Color of the inverted link’s child content in the hover state.\n * @cssproperty --mdc-link-inverted-color-normal - Color of the inverted link’s child content in the normal state.\n */",
|
16589
|
+
"customElement": true
|
16590
|
+
}
|
16591
|
+
],
|
16592
|
+
"exports": [
|
16593
|
+
{
|
16594
|
+
"kind": "js",
|
16595
|
+
"name": "default",
|
16596
|
+
"declaration": {
|
16597
|
+
"name": "Linksimple",
|
16598
|
+
"module": "components/linksimple/linksimple.component.js"
|
16599
|
+
}
|
16600
|
+
}
|
16601
|
+
]
|
16602
|
+
},
|
16603
|
+
{
|
16604
|
+
"kind": "javascript-module",
|
16605
|
+
"path": "components/list/list.component.js",
|
16606
|
+
"declarations": [
|
16607
|
+
{
|
16608
|
+
"kind": "class",
|
16609
|
+
"description": "mdc-list component is used to display a group of list items. It is used as a container to wrap other list items.\n\nTo add a header to the list, use the `mdc-listheader` component and place it in the `list-header` slot.\n`mdc-listitem` components can be placed in the default slot.",
|
16610
|
+
"name": "List",
|
16611
|
+
"cssParts": [
|
16612
|
+
{
|
16613
|
+
"description": "The container slot around the list items",
|
16614
|
+
"name": "container"
|
16615
|
+
}
|
16616
|
+
],
|
16617
|
+
"slots": [
|
16618
|
+
{
|
16619
|
+
"description": "This is a default/unnamed slot, where listitems can be placed.",
|
16620
|
+
"name": "default"
|
16529
16621
|
},
|
16622
|
+
{
|
16623
|
+
"description": "This slot is used to pass a header for the list, which can be a `mdc-listheader` component.",
|
16624
|
+
"name": "list-header"
|
16625
|
+
}
|
16626
|
+
],
|
16627
|
+
"members": [
|
16530
16628
|
{
|
16531
16629
|
"kind": "method",
|
16532
|
-
"name": "
|
16533
|
-
"privacy": "
|
16630
|
+
"name": "handleKeyDown",
|
16631
|
+
"privacy": "private",
|
16632
|
+
"return": {
|
16633
|
+
"type": {
|
16634
|
+
"text": "void"
|
16635
|
+
}
|
16636
|
+
},
|
16534
16637
|
"parameters": [
|
16535
16638
|
{
|
16536
|
-
"name": "
|
16537
|
-
"type": {
|
16538
|
-
"text": "HTMLElement"
|
16539
|
-
},
|
16540
|
-
"description": "The button element"
|
16541
|
-
},
|
16542
|
-
{
|
16543
|
-
"name": "active",
|
16544
|
-
"optional": true,
|
16639
|
+
"name": "event",
|
16545
16640
|
"type": {
|
16546
|
-
"text": "
|
16641
|
+
"text": "KeyboardEvent"
|
16547
16642
|
},
|
16548
|
-
"description": "The
|
16643
|
+
"description": "The keyboard event."
|
16549
16644
|
}
|
16550
16645
|
],
|
16551
|
-
"description": "
|
16552
|
-
"inheritedFrom": {
|
16553
|
-
"name": "Buttonsimple",
|
16554
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
16555
|
-
}
|
16646
|
+
"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."
|
16556
16647
|
},
|
16557
16648
|
{
|
16558
16649
|
"kind": "method",
|
16559
|
-
"name": "
|
16650
|
+
"name": "getCurrentIndex",
|
16560
16651
|
"privacy": "private",
|
16652
|
+
"return": {
|
16653
|
+
"type": {
|
16654
|
+
"text": ""
|
16655
|
+
}
|
16656
|
+
},
|
16561
16657
|
"parameters": [
|
16562
16658
|
{
|
16563
|
-
"name": "
|
16564
|
-
"type": {
|
16565
|
-
"text": "HTMLElement"
|
16566
|
-
},
|
16567
|
-
"description": "The button element."
|
16568
|
-
},
|
16569
|
-
{
|
16570
|
-
"name": "softDisabled",
|
16571
|
-
"optional": true,
|
16659
|
+
"name": "target",
|
16572
16660
|
"type": {
|
16573
|
-
"text": "
|
16661
|
+
"text": "EventTarget | null"
|
16574
16662
|
},
|
16575
|
-
"description": "The
|
16663
|
+
"description": "The target element to find the index of."
|
16576
16664
|
}
|
16577
16665
|
],
|
16578
|
-
"description": "
|
16579
|
-
"inheritedFrom": {
|
16580
|
-
"name": "Buttonsimple",
|
16581
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
16582
|
-
}
|
16666
|
+
"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."
|
16583
16667
|
},
|
16584
16668
|
{
|
16585
16669
|
"kind": "method",
|
16586
|
-
"name": "
|
16670
|
+
"name": "getNewIndexBasedOnKey",
|
16587
16671
|
"privacy": "private",
|
16672
|
+
"return": {
|
16673
|
+
"type": {
|
16674
|
+
"text": ""
|
16675
|
+
}
|
16676
|
+
},
|
16588
16677
|
"parameters": [
|
16589
16678
|
{
|
16590
|
-
"name": "
|
16679
|
+
"name": "key",
|
16591
16680
|
"type": {
|
16592
|
-
"text": "
|
16681
|
+
"text": "string"
|
16593
16682
|
},
|
16594
|
-
"description": "The
|
16683
|
+
"description": "The key that was pressed."
|
16595
16684
|
},
|
16596
16685
|
{
|
16597
|
-
"name": "
|
16686
|
+
"name": "currentIndex",
|
16598
16687
|
"type": {
|
16599
|
-
"text": "
|
16688
|
+
"text": "number"
|
16600
16689
|
},
|
16601
|
-
"description": "The
|
16690
|
+
"description": "The current index of the focused list item."
|
16691
|
+
},
|
16692
|
+
{
|
16693
|
+
"name": "wrappedDivsCount",
|
16694
|
+
"type": {
|
16695
|
+
"text": "number"
|
16696
|
+
},
|
16697
|
+
"description": "The total number of list items."
|
16602
16698
|
}
|
16603
16699
|
],
|
16604
|
-
"description": "
|
16605
|
-
"inheritedFrom": {
|
16606
|
-
"name": "Buttonsimple",
|
16607
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
16608
|
-
}
|
16609
|
-
},
|
16610
|
-
{
|
16611
|
-
"kind": "method",
|
16612
|
-
"name": "triggerClickEvent",
|
16613
|
-
"privacy": "private",
|
16614
|
-
"inheritedFrom": {
|
16615
|
-
"name": "Buttonsimple",
|
16616
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
16617
|
-
}
|
16618
|
-
},
|
16619
|
-
{
|
16620
|
-
"kind": "method",
|
16621
|
-
"name": "handleBlur",
|
16622
|
-
"privacy": "private",
|
16623
|
-
"description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed.",
|
16624
|
-
"inheritedFrom": {
|
16625
|
-
"name": "Buttonsimple",
|
16626
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
16627
|
-
}
|
16700
|
+
"description": "Calculates a new index based on the pressed keyboard key.\nSupports navigation keys for moving focus within a list."
|
16628
16701
|
},
|
16629
16702
|
{
|
16630
16703
|
"kind": "method",
|
16631
|
-
"name": "
|
16632
|
-
"privacy": "
|
16704
|
+
"name": "handleMouseClick",
|
16705
|
+
"privacy": "protected",
|
16706
|
+
"return": {
|
16707
|
+
"type": {
|
16708
|
+
"text": "void"
|
16709
|
+
}
|
16710
|
+
},
|
16633
16711
|
"parameters": [
|
16634
16712
|
{
|
16635
16713
|
"name": "event",
|
16636
16714
|
"type": {
|
16637
|
-
"text": "
|
16715
|
+
"text": "MouseEvent"
|
16638
16716
|
},
|
16639
|
-
"description": "The
|
16717
|
+
"description": "The mouse event."
|
16640
16718
|
}
|
16641
16719
|
],
|
16642
|
-
"description": "Handles the
|
16643
|
-
"inheritedFrom": {
|
16644
|
-
"name": "Buttonsimple",
|
16645
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
16646
|
-
}
|
16720
|
+
"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."
|
16647
16721
|
},
|
16648
16722
|
{
|
16649
16723
|
"kind": "method",
|
16650
|
-
"name": "
|
16724
|
+
"name": "resetTabIndexAndSetActiveTabIndex",
|
16651
16725
|
"privacy": "private",
|
16652
16726
|
"parameters": [
|
16653
16727
|
{
|
16654
|
-
"name": "
|
16728
|
+
"name": "newIndex",
|
16655
16729
|
"type": {
|
16656
|
-
"text": "
|
16730
|
+
"text": "number"
|
16657
16731
|
},
|
16658
|
-
"description": "The
|
16732
|
+
"description": "The index of the new active element in the list."
|
16659
16733
|
}
|
16660
16734
|
],
|
16661
|
-
"description": "
|
16662
|
-
"inheritedFrom": {
|
16663
|
-
"name": "Buttonsimple",
|
16664
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
16665
|
-
}
|
16735
|
+
"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."
|
16666
16736
|
}
|
16667
16737
|
],
|
16668
|
-
"
|
16669
|
-
|
16670
|
-
|
16671
|
-
|
16672
|
-
|
16673
|
-
|
16674
|
-
|
16675
|
-
|
16676
|
-
|
16677
|
-
|
16738
|
+
"superclass": {
|
16739
|
+
"name": "Component",
|
16740
|
+
"module": "/src/models"
|
16741
|
+
},
|
16742
|
+
"tagName": "mdc-list",
|
16743
|
+
"jsDoc": "/**\n * mdc-list component is used to display a group of list items. It is used as a container to wrap other list items.\n *\n * To add a header to the list, use the `mdc-listheader` component and place it in the `list-header` slot.\n * `mdc-listitem` components can be placed in the default slot.\n *\n * @tagname mdc-list\n *\n * @slot default - This is a default/unnamed slot, where listitems can be placed.\n * @slot list-header - This slot is used to pass a header for the list, which can be a `mdc-listheader` component.\n *\n * @csspart container - The container slot around the list items\n */",
|
16744
|
+
"customElement": true
|
16745
|
+
}
|
16746
|
+
],
|
16747
|
+
"exports": [
|
16748
|
+
{
|
16749
|
+
"kind": "js",
|
16750
|
+
"name": "default",
|
16751
|
+
"declaration": {
|
16752
|
+
"name": "List",
|
16753
|
+
"module": "components/list/list.component.js"
|
16754
|
+
}
|
16755
|
+
}
|
16756
|
+
]
|
16757
|
+
},
|
16758
|
+
{
|
16759
|
+
"kind": "javascript-module",
|
16760
|
+
"path": "components/listheader/listheader.component.js",
|
16761
|
+
"declarations": [
|
16762
|
+
{
|
16763
|
+
"kind": "class",
|
16764
|
+
"description": "Listheader component is used to display a header in a list.\nIt can include icons before and after the header text, and allows for additional content via slots.",
|
16765
|
+
"name": "Listheader",
|
16766
|
+
"cssProperties": [
|
16678
16767
|
{
|
16679
|
-
"description": "
|
16680
|
-
"name": "
|
16681
|
-
"reactName": "onKeyDown",
|
16682
|
-
"inheritedFrom": {
|
16683
|
-
"name": "Buttonsimple",
|
16684
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
16685
|
-
}
|
16768
|
+
"description": "height of the header",
|
16769
|
+
"name": "--mdc-listheader-height"
|
16686
16770
|
},
|
16687
16771
|
{
|
16688
|
-
"description": "
|
16689
|
-
"name": "
|
16690
|
-
"reactName": "onKeyUp",
|
16691
|
-
"inheritedFrom": {
|
16692
|
-
"name": "Buttonsimple",
|
16693
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
16694
|
-
}
|
16772
|
+
"description": "padding around the header content",
|
16773
|
+
"name": "--mdc-listheader-padding"
|
16695
16774
|
},
|
16696
16775
|
{
|
16697
|
-
"description": "
|
16698
|
-
"name": "
|
16699
|
-
"reactName": "onFocus",
|
16700
|
-
"inheritedFrom": {
|
16701
|
-
"name": "Buttonsimple",
|
16702
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
16703
|
-
}
|
16776
|
+
"description": "gap between content",
|
16777
|
+
"name": "--mdc-listheader-gap"
|
16704
16778
|
}
|
16705
16779
|
],
|
16706
|
-
"
|
16707
|
-
{
|
16708
|
-
"name": "size",
|
16709
|
-
"type": {
|
16710
|
-
"text": "ButtonSize"
|
16711
|
-
},
|
16712
|
-
"description": "Sets the size of the linkbutton.\nAcceptable values: \n- 12\n- 14\n- 16",
|
16713
|
-
"default": "16",
|
16714
|
-
"fieldName": "size",
|
16715
|
-
"inheritedFrom": {
|
16716
|
-
"name": "Buttonsimple",
|
16717
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
16718
|
-
}
|
16719
|
-
},
|
16720
|
-
{
|
16721
|
-
"name": "inline",
|
16722
|
-
"type": {
|
16723
|
-
"text": "boolean"
|
16724
|
-
},
|
16725
|
-
"description": "The linkbutton can be inline or standalone.",
|
16726
|
-
"default": "false",
|
16727
|
-
"fieldName": "inline"
|
16728
|
-
},
|
16780
|
+
"slots": [
|
16729
16781
|
{
|
16730
|
-
"
|
16731
|
-
"
|
16732
|
-
|
16733
|
-
|
16734
|
-
|
16735
|
-
"default": "false",
|
16736
|
-
"fieldName": "inverted"
|
16737
|
-
},
|
16782
|
+
"description": "to pass in actionable content like buttons or links",
|
16783
|
+
"name": "default"
|
16784
|
+
}
|
16785
|
+
],
|
16786
|
+
"members": [
|
16738
16787
|
{
|
16739
|
-
"
|
16788
|
+
"kind": "field",
|
16789
|
+
"name": "prefixIcon",
|
16740
16790
|
"type": {
|
16741
16791
|
"text": "IconNames | undefined"
|
16742
16792
|
},
|
16743
|
-
"description": "Name of the icon
|
16744
|
-
"
|
16745
|
-
"inheritedFrom": {
|
16746
|
-
"name": "IconNameMixin",
|
16747
|
-
"module": "src/utils/mixins/IconNameMixin.ts"
|
16748
|
-
}
|
16793
|
+
"description": "Name of the icon rendered before the text\n\nIf not provided, no icon will be rendered and text will be aligned to the start.",
|
16794
|
+
"attribute": "prefix-icon"
|
16749
16795
|
},
|
16750
16796
|
{
|
16751
|
-
"
|
16797
|
+
"kind": "field",
|
16798
|
+
"name": "postfixIcon",
|
16752
16799
|
"type": {
|
16753
|
-
"text": "
|
16800
|
+
"text": "IconNames | undefined"
|
16754
16801
|
},
|
16755
|
-
"
|
16756
|
-
"
|
16757
|
-
"fieldName": "autofocus",
|
16758
|
-
"inheritedFrom": {
|
16759
|
-
"name": "Buttonsimple",
|
16760
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
16761
|
-
}
|
16802
|
+
"description": "Name of the icon rendered after the slot & text\n\nIf not provided, no icon will be rendered and content will be aligned to the end.",
|
16803
|
+
"attribute": "postfix-icon"
|
16762
16804
|
},
|
16763
16805
|
{
|
16764
|
-
"
|
16806
|
+
"kind": "field",
|
16807
|
+
"name": "headerText",
|
16765
16808
|
"type": {
|
16766
|
-
"text": "
|
16809
|
+
"text": "string | undefined"
|
16767
16810
|
},
|
16768
|
-
"
|
16769
|
-
"
|
16770
|
-
"fieldName": "tabIndex",
|
16771
|
-
"inheritedFrom": {
|
16772
|
-
"name": "Buttonsimple",
|
16773
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
16774
|
-
}
|
16811
|
+
"description": "Text to be rendered in the header",
|
16812
|
+
"attribute": "header-text"
|
16775
16813
|
},
|
16776
16814
|
{
|
16815
|
+
"kind": "field",
|
16777
16816
|
"name": "disabled",
|
16778
16817
|
"type": {
|
16779
|
-
"text": "boolean
|
16780
|
-
},
|
16781
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
16782
|
-
"default": "undefined",
|
16783
|
-
"fieldName": "disabled",
|
16784
|
-
"inheritedFrom": {
|
16785
|
-
"name": "Buttonsimple",
|
16786
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
16787
|
-
}
|
16788
|
-
},
|
16789
|
-
{
|
16790
|
-
"name": "active",
|
16791
|
-
"type": {
|
16792
|
-
"text": "boolean | undefined"
|
16818
|
+
"text": "boolean"
|
16793
16819
|
},
|
16794
|
-
"
|
16795
|
-
"
|
16796
|
-
"
|
16797
|
-
"
|
16798
|
-
|
16799
|
-
|
16800
|
-
|
16801
|
-
},
|
16820
|
+
"default": "false",
|
16821
|
+
"description": "Disables the header, making it visually styled as disabled.\n\nNOTE: slot content will still be interactive unless individually disabled.\nMake sure to handle the disabled state of any actionable elements inside the slot.",
|
16822
|
+
"attribute": "disabled",
|
16823
|
+
"reflects": true
|
16824
|
+
}
|
16825
|
+
],
|
16826
|
+
"attributes": [
|
16802
16827
|
{
|
16803
|
-
"name": "
|
16828
|
+
"name": "prefix-icon",
|
16804
16829
|
"type": {
|
16805
|
-
"text": "
|
16830
|
+
"text": "IconNames | undefined"
|
16806
16831
|
},
|
16807
|
-
"description": "
|
16808
|
-
"
|
16809
|
-
"fieldName": "softDisabled",
|
16810
|
-
"inheritedFrom": {
|
16811
|
-
"name": "Buttonsimple",
|
16812
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
16813
|
-
}
|
16832
|
+
"description": "Name of the icon rendered before the text\n\nIf not provided, no icon will be rendered and text will be aligned to the start.",
|
16833
|
+
"fieldName": "prefixIcon"
|
16814
16834
|
},
|
16815
16835
|
{
|
16816
|
-
"name": "
|
16836
|
+
"name": "postfix-icon",
|
16817
16837
|
"type": {
|
16818
|
-
"text": "
|
16838
|
+
"text": "IconNames | undefined"
|
16819
16839
|
},
|
16820
|
-
"description": "
|
16821
|
-
"
|
16822
|
-
"fieldName": "role",
|
16823
|
-
"inheritedFrom": {
|
16824
|
-
"name": "Buttonsimple",
|
16825
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
16826
|
-
}
|
16840
|
+
"description": "Name of the icon rendered after the slot & text\n\nIf not provided, no icon will be rendered and content will be aligned to the end.",
|
16841
|
+
"fieldName": "postfixIcon"
|
16827
16842
|
},
|
16828
16843
|
{
|
16829
|
-
"name": "
|
16844
|
+
"name": "header-text",
|
16830
16845
|
"type": {
|
16831
16846
|
"text": "string | undefined"
|
16832
16847
|
},
|
16833
|
-
"description": "
|
16834
|
-
"
|
16835
|
-
"fieldName": "ariaStateKey",
|
16836
|
-
"inheritedFrom": {
|
16837
|
-
"name": "Buttonsimple",
|
16838
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
16839
|
-
}
|
16848
|
+
"description": "Text to be rendered in the header",
|
16849
|
+
"fieldName": "headerText"
|
16840
16850
|
},
|
16841
16851
|
{
|
16842
|
-
"name": "
|
16852
|
+
"name": "disabled",
|
16843
16853
|
"type": {
|
16844
|
-
"text": "
|
16854
|
+
"text": "boolean"
|
16845
16855
|
},
|
16846
|
-
"
|
16847
|
-
"
|
16848
|
-
"fieldName": "
|
16849
|
-
"inheritedFrom": {
|
16850
|
-
"name": "Buttonsimple",
|
16851
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
16852
|
-
}
|
16853
|
-
}
|
16854
|
-
],
|
16855
|
-
"mixins": [
|
16856
|
-
{
|
16857
|
-
"name": "IconNameMixin",
|
16858
|
-
"module": "/src/utils/mixins/IconNameMixin"
|
16856
|
+
"default": "false",
|
16857
|
+
"description": "Disables the header, making it visually styled as disabled.\n\nNOTE: slot content will still be interactive unless individually disabled.\nMake sure to handle the disabled state of any actionable elements inside the slot.",
|
16858
|
+
"fieldName": "disabled"
|
16859
16859
|
}
|
16860
16860
|
],
|
16861
16861
|
"superclass": {
|
16862
|
-
"name": "
|
16863
|
-
"module": "/src/
|
16862
|
+
"name": "Component",
|
16863
|
+
"module": "/src/models"
|
16864
16864
|
},
|
16865
|
-
"tagName": "mdc-
|
16866
|
-
"jsDoc": "/**\n *
|
16865
|
+
"tagName": "mdc-listheader",
|
16866
|
+
"jsDoc": "/**\n * Listheader component is used to display a header in a list.\n * It can include icons before and after the header text, and allows for additional content via slots.\n *\n * @tagname mdc-listheader\n *\n * @slot default - to pass in actionable content like buttons or links\n *\n * @cssproperty --mdc-listheader-height - height of the header\n * @cssproperty --mdc-listheader-padding - padding around the header content\n * @cssproperty --mdc-listheader-gap - gap between content\n */",
|
16867
16867
|
"customElement": true
|
16868
16868
|
}
|
16869
16869
|
],
|
@@ -16872,8 +16872,8 @@
|
|
16872
16872
|
"kind": "js",
|
16873
16873
|
"name": "default",
|
16874
16874
|
"declaration": {
|
16875
|
-
"name": "
|
16876
|
-
"module": "components/
|
16875
|
+
"name": "Listheader",
|
16876
|
+
"module": "components/listheader/listheader.component.js"
|
16877
16877
|
}
|
16878
16878
|
}
|
16879
16879
|
]
|
@@ -33010,8 +33010,46 @@
|
|
33010
33010
|
"name": "--mdc-sidenavigation-expanded-width"
|
33011
33011
|
},
|
33012
33012
|
{
|
33013
|
-
"description": "width of the sideNavigation when
|
33013
|
+
"description": "width of the sideNavigation when collapsed",
|
33014
33014
|
"name": "--mdc-sidenavigation-collapsed-width"
|
33015
|
+
},
|
33016
|
+
{
|
33017
|
+
"description": "z-index of the vertical divider button",
|
33018
|
+
"name": "--mdc-sidenavigation-vertical-divider-button-z-index"
|
33019
|
+
}
|
33020
|
+
],
|
33021
|
+
"cssParts": [
|
33022
|
+
{
|
33023
|
+
"description": "The main container wrapping the entire side navigation.",
|
33024
|
+
"name": "side-navigation-container"
|
33025
|
+
},
|
33026
|
+
{
|
33027
|
+
"description": "The scrollable section of the side navigation.",
|
33028
|
+
"name": "scrollable-section"
|
33029
|
+
},
|
33030
|
+
{
|
33031
|
+
"description": "The fixed section of the side navigation.",
|
33032
|
+
"name": "fixed-section"
|
33033
|
+
},
|
33034
|
+
{
|
33035
|
+
"description": "The divider between the scrollable and fixed sections.",
|
33036
|
+
"name": "separator"
|
33037
|
+
},
|
33038
|
+
{
|
33039
|
+
"description": "The container wrapping the brand logo and footer text.",
|
33040
|
+
"name": "brand-logo-container"
|
33041
|
+
},
|
33042
|
+
{
|
33043
|
+
"description": "The footer text label in the fixed section.",
|
33044
|
+
"name": "footer-text"
|
33045
|
+
},
|
33046
|
+
{
|
33047
|
+
"description": "The vertical divider between the scrollable and fixed sections.",
|
33048
|
+
"name": "vertical-divider"
|
33049
|
+
},
|
33050
|
+
{
|
33051
|
+
"description": "The button inside the vertical divider used to toggle expand/collapse.",
|
33052
|
+
"name": "vertical-divider-button"
|
33015
33053
|
}
|
33016
33054
|
],
|
33017
33055
|
"slots": [
|
@@ -33029,13 +33067,6 @@
|
|
33029
33067
|
}
|
33030
33068
|
],
|
33031
33069
|
"members": [
|
33032
|
-
{
|
33033
|
-
"kind": "field",
|
33034
|
-
"name": "Context",
|
33035
|
-
"privacy": "public",
|
33036
|
-
"static": true,
|
33037
|
-
"readonly": true
|
33038
|
-
},
|
33039
33070
|
{
|
33040
33071
|
"kind": "field",
|
33041
33072
|
"name": "variant",
|
@@ -33079,6 +33110,13 @@
|
|
33079
33110
|
"attribute": "parent-nav-tooltip-text",
|
33080
33111
|
"reflects": true
|
33081
33112
|
},
|
33113
|
+
{
|
33114
|
+
"kind": "field",
|
33115
|
+
"name": "Context",
|
33116
|
+
"privacy": "public",
|
33117
|
+
"static": true,
|
33118
|
+
"readonly": true
|
33119
|
+
},
|
33082
33120
|
{
|
33083
33121
|
"kind": "method",
|
33084
33122
|
"name": "updateContext",
|
@@ -33090,16 +33128,6 @@
|
|
33090
33128
|
},
|
33091
33129
|
"description": "Update all observing components of this\nprovider to update the values\n\nIs called on every re-render, see Provider class"
|
33092
33130
|
},
|
33093
|
-
{
|
33094
|
-
"kind": "field",
|
33095
|
-
"name": "navMenuItems",
|
33096
|
-
"type": {
|
33097
|
-
"text": "NavMenuItem[]"
|
33098
|
-
},
|
33099
|
-
"privacy": "private",
|
33100
|
-
"description": "Returns all nested, non-disabled mdc-navmenuitem elements inside this component.",
|
33101
|
-
"readonly": true
|
33102
|
-
},
|
33103
33131
|
{
|
33104
33132
|
"kind": "method",
|
33105
33133
|
"name": "preventScrollOnSpace",
|
@@ -33121,7 +33149,15 @@
|
|
33121
33149
|
],
|
33122
33150
|
"events": [
|
33123
33151
|
{
|
33124
|
-
"
|
33152
|
+
"name": "toggle",
|
33153
|
+
"type": {
|
33154
|
+
"text": "CustomEvent"
|
33155
|
+
},
|
33156
|
+
"description": "(React: onToggle) Dispatched when the grabber button is clicked to expand/collapse the sidenavigation.",
|
33157
|
+
"reactName": "onToggle"
|
33158
|
+
},
|
33159
|
+
{
|
33160
|
+
"description": "(React: onActiveChange) Dispatched when the active state of a nested navmenuitem changes.",
|
33125
33161
|
"name": "activechange",
|
33126
33162
|
"reactName": "onActiveChange"
|
33127
33163
|
}
|
@@ -33168,7 +33204,7 @@
|
|
33168
33204
|
"module": "/src/models"
|
33169
33205
|
},
|
33170
33206
|
"tagName": "mdc-sidenavigation",
|
33171
|
-
"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-menubar` and `mdc-navmenuitem`\n *\n * ### Usage:\n * In a sidenavigation, navmenuitems can be used in the following ways:\n *\n * 1. **Simple navmenuitem** – No submenu or interaction beyond selection.\n *\n * 2. **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 *\n * 3. **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`\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 * @dependency mdc-menubar\n *\n * @event activechange - (React: onActiveChange) Dispatched when the active state of the navmenuitem 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
|
33207
|
+
"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-menubar` and `mdc-navmenuitem`\n *\n * ### Usage:\n * In a sidenavigation, navmenuitems can be used in the following ways:\n *\n * 1. **Simple navmenuitem** – No submenu or interaction beyond selection.\n *\n * 2. **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 *\n * 3. **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`\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 * @dependency mdc-menubar\n *\n * @event activechange - (React: onActiveChange) Dispatched when the active state of the navmenuitem 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 * @csspart side-navigation-container - The main container wrapping the entire side navigation.\n * @csspart scrollable-section - The scrollable section of the side navigation.\n * @csspart fixed-section - The fixed section of the side navigation.\n * @csspart separator - The divider between the scrollable and fixed sections.\n * @csspart brand-logo-container - The container wrapping the brand logo and footer text.\n * @csspart footer-text - The footer text label in the fixed section.\n * @csspart vertical-divider - The vertical divider between the scrollable and fixed sections.\n * @csspart vertical-divider-button - The button inside the vertical divider used to toggle expand/collapse.\n *\n * @event toggle - (React: onToggle) Dispatched when the grabber button is clicked to expand/collapse the sidenavigation.\n * @event activechange - (React: onActiveChange) Dispatched when the active state of a nested navmenuitem changes.\n *\n * @cssproperty --mdc-sidenavigation-expanded-width - width of the sideNavigation when expanded\n * @cssproperty --mdc-sidenavigation-collapsed-width - width of the sideNavigation when collapsed\n * @cssproperty --mdc-sidenavigation-vertical-divider-button-z-index - z-index of the vertical divider button\n */",
|
33172
33208
|
"customElement": true
|
33173
33209
|
}
|
33174
33210
|
],
|