@momentum-design/components 0.66.3 → 0.66.4
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 +264 -204
- package/dist/browser/index.js.map +4 -4
- package/dist/components/menuitemcheckbox/index.d.ts +12 -0
- package/dist/components/menuitemcheckbox/index.js +9 -0
- package/dist/components/menuitemcheckbox/menuitemcheckbox.component.d.ts +54 -0
- package/dist/components/menuitemcheckbox/menuitemcheckbox.component.js +137 -0
- package/dist/components/menuitemcheckbox/menuitemcheckbox.constants.d.ts +15 -0
- package/dist/components/menuitemcheckbox/menuitemcheckbox.constants.js +16 -0
- package/dist/components/menuitemcheckbox/menuitemcheckbox.styles.d.ts +2 -0
- package/dist/components/menuitemcheckbox/menuitemcheckbox.styles.js +13 -0
- package/dist/components/menuitemcheckbox/menuitemcheckbox.types.d.ts +10 -0
- package/dist/components/menuitemcheckbox/menuitemcheckbox.types.js +1 -0
- package/dist/components/menuitemradio/index.d.ts +10 -0
- package/dist/components/menuitemradio/index.js +7 -0
- package/dist/components/menuitemradio/menuitemradio.component.d.ts +34 -0
- package/dist/components/menuitemradio/menuitemradio.component.js +70 -0
- package/dist/components/menuitemradio/menuitemradio.constants.d.ts +6 -0
- package/dist/components/menuitemradio/menuitemradio.constants.js +7 -0
- package/dist/components/menuitemradio/menuitemradio.types.d.ts +9 -0
- package/dist/components/menuitemradio/menuitemradio.types.js +1 -0
- package/dist/custom-elements.json +1242 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.js +3 -1
- package/dist/react/index.d.ts +2 -0
- package/dist/react/index.js +2 -0
- package/dist/react/menuitemcheckbox/index.d.ts +42 -0
- package/dist/react/menuitemcheckbox/index.js +50 -0
- package/dist/react/menuitemradio/index.d.ts +30 -0
- package/dist/react/menuitemradio/index.js +38 -0
- package/package.json +1 -1
@@ -13521,6 +13521,1248 @@
|
|
13521
13521
|
}
|
13522
13522
|
]
|
13523
13523
|
},
|
13524
|
+
{
|
13525
|
+
"kind": "javascript-module",
|
13526
|
+
"path": "components/menuitemcheckbox/menuitemcheckbox.component.js",
|
13527
|
+
"declarations": [
|
13528
|
+
{
|
13529
|
+
"kind": "class",
|
13530
|
+
"description": "A menuitemcheckbox component is a checkable menuitem.\nThere should be no focusable descendants inside this menuitemcheckbox component.\n\nThe `aria-checked` attribute indicates whether the menuitemcheckbox is checked or not.\n\nThe `indicator` attribute is used to differentiate between <b>checkbox</b>, <b>checkmark</b> and <b>toggle</b>.\nBy default the `indicator` is set to <b>checkbox</b>.<br/>\n\nThe checkbox will always be positioned on the leading side of the menuitem label and\nthe toggle and checkmark will always be positioned on the trailing side.\n\nThe checkbox will have the possible states of `true` or `false`.\nIf the indicator is set to <b>checkmark</b> and if the `aria-checked` attribute is set to `true`,\nthen the checkmark will be displayed. if not, then no indicator will be displayed.\n\nIf you want only one item in a group to be checked, consider using menuitemradio component.\n\nIf a menuitemcheckbox is disabled, then the `aria-disabled` attribute is set to `true`.",
|
13531
|
+
"name": "MenuItemCheckbox",
|
13532
|
+
"cssProperties": [
|
13533
|
+
{
|
13534
|
+
"description": "Allows customization of the checkmark indicator color",
|
13535
|
+
"name": "--mdc-checkmark-indicator-color"
|
13536
|
+
},
|
13537
|
+
{
|
13538
|
+
"description": "Allows customization of the default background color.",
|
13539
|
+
"name": "--mdc-listitem-default-background-color",
|
13540
|
+
"inheritedFrom": {
|
13541
|
+
"name": "ListItem",
|
13542
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13543
|
+
}
|
13544
|
+
},
|
13545
|
+
{
|
13546
|
+
"description": "Allows customization of the background color on hover.",
|
13547
|
+
"name": "--mdc-listitem-background-color-hover",
|
13548
|
+
"inheritedFrom": {
|
13549
|
+
"name": "ListItem",
|
13550
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13551
|
+
}
|
13552
|
+
},
|
13553
|
+
{
|
13554
|
+
"description": "Allows customization of the background color when pressed.",
|
13555
|
+
"name": "--mdc-listitem-background-color-active",
|
13556
|
+
"inheritedFrom": {
|
13557
|
+
"name": "ListItem",
|
13558
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13559
|
+
}
|
13560
|
+
},
|
13561
|
+
{
|
13562
|
+
"description": "Allows customization of the primary label, side header and subline text slot color.",
|
13563
|
+
"name": "--mdc-listitem-primary-label-color",
|
13564
|
+
"inheritedFrom": {
|
13565
|
+
"name": "ListItem",
|
13566
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13567
|
+
}
|
13568
|
+
},
|
13569
|
+
{
|
13570
|
+
"description": "Allows customization of the secondary and tertiary label text slot color.",
|
13571
|
+
"name": "--mdc-listitem-secondary-label-color",
|
13572
|
+
"inheritedFrom": {
|
13573
|
+
"name": "ListItem",
|
13574
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13575
|
+
}
|
13576
|
+
},
|
13577
|
+
{
|
13578
|
+
"description": "Allows customization of the disabled color.",
|
13579
|
+
"name": "--mdc-listitem-disabled-color",
|
13580
|
+
"inheritedFrom": {
|
13581
|
+
"name": "ListItem",
|
13582
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13583
|
+
}
|
13584
|
+
},
|
13585
|
+
{
|
13586
|
+
"description": "Allows customization of column gap.",
|
13587
|
+
"name": "--mdc-listitem-column-gap",
|
13588
|
+
"inheritedFrom": {
|
13589
|
+
"name": "ListItem",
|
13590
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13591
|
+
}
|
13592
|
+
},
|
13593
|
+
{
|
13594
|
+
"description": "Allows customization of padding left and right.",
|
13595
|
+
"name": "--mdc-listitem-padding-left-and-right",
|
13596
|
+
"inheritedFrom": {
|
13597
|
+
"name": "ListItem",
|
13598
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13599
|
+
}
|
13600
|
+
}
|
13601
|
+
],
|
13602
|
+
"members": [
|
13603
|
+
{
|
13604
|
+
"kind": "field",
|
13605
|
+
"name": "ariaChecked",
|
13606
|
+
"type": {
|
13607
|
+
"text": "AriaCheckedStates"
|
13608
|
+
},
|
13609
|
+
"description": "The aria-checked attribute is used to indicate that the menuitemcheckbox is checked or not.",
|
13610
|
+
"default": "'false'",
|
13611
|
+
"attribute": "aria-checked",
|
13612
|
+
"reflects": true
|
13613
|
+
},
|
13614
|
+
{
|
13615
|
+
"kind": "field",
|
13616
|
+
"name": "indicator",
|
13617
|
+
"type": {
|
13618
|
+
"text": "Indicator"
|
13619
|
+
},
|
13620
|
+
"description": "The indicator attribute is used to differentiate between <b>checkbox</b> and <b>toggle</b>.",
|
13621
|
+
"default": "'checkbox'",
|
13622
|
+
"attribute": "indicator",
|
13623
|
+
"reflects": true
|
13624
|
+
},
|
13625
|
+
{
|
13626
|
+
"kind": "method",
|
13627
|
+
"name": "staticCheckbox",
|
13628
|
+
"privacy": "private",
|
13629
|
+
"return": {
|
13630
|
+
"type": {
|
13631
|
+
"text": "TemplateResult | typeof nothing"
|
13632
|
+
}
|
13633
|
+
}
|
13634
|
+
},
|
13635
|
+
{
|
13636
|
+
"kind": "method",
|
13637
|
+
"name": "staticToggle",
|
13638
|
+
"privacy": "private",
|
13639
|
+
"return": {
|
13640
|
+
"type": {
|
13641
|
+
"text": "TemplateResult | typeof nothing"
|
13642
|
+
}
|
13643
|
+
}
|
13644
|
+
},
|
13645
|
+
{
|
13646
|
+
"kind": "method",
|
13647
|
+
"name": "getCheckmarkIcon",
|
13648
|
+
"privacy": "private",
|
13649
|
+
"return": {
|
13650
|
+
"type": {
|
13651
|
+
"text": "TemplateResult | typeof nothing"
|
13652
|
+
}
|
13653
|
+
}
|
13654
|
+
},
|
13655
|
+
{
|
13656
|
+
"kind": "field",
|
13657
|
+
"name": "disabled",
|
13658
|
+
"type": {
|
13659
|
+
"text": "boolean | undefined"
|
13660
|
+
},
|
13661
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
13662
|
+
"default": "undefined",
|
13663
|
+
"attribute": "disabled",
|
13664
|
+
"reflects": true,
|
13665
|
+
"inheritedFrom": {
|
13666
|
+
"name": "ListItem",
|
13667
|
+
"module": "components/listitem/listitem.component.js"
|
13668
|
+
}
|
13669
|
+
},
|
13670
|
+
{
|
13671
|
+
"kind": "field",
|
13672
|
+
"name": "tabIndex",
|
13673
|
+
"type": {
|
13674
|
+
"text": "number"
|
13675
|
+
},
|
13676
|
+
"default": "0",
|
13677
|
+
"description": "This property specifies the tab order of the element.",
|
13678
|
+
"attribute": "tabIndex",
|
13679
|
+
"reflects": true,
|
13680
|
+
"inheritedFrom": {
|
13681
|
+
"name": "ListItem",
|
13682
|
+
"module": "components/listitem/listitem.component.js"
|
13683
|
+
}
|
13684
|
+
},
|
13685
|
+
{
|
13686
|
+
"kind": "field",
|
13687
|
+
"name": "variant",
|
13688
|
+
"type": {
|
13689
|
+
"text": "ListItemVariants"
|
13690
|
+
},
|
13691
|
+
"description": "The variant of the list item. It can be a pill, rectangle or a full-width.",
|
13692
|
+
"default": "'full-width'",
|
13693
|
+
"attribute": "variant",
|
13694
|
+
"reflects": true,
|
13695
|
+
"inheritedFrom": {
|
13696
|
+
"name": "ListItem",
|
13697
|
+
"module": "components/listitem/listitem.component.js"
|
13698
|
+
}
|
13699
|
+
},
|
13700
|
+
{
|
13701
|
+
"kind": "field",
|
13702
|
+
"name": "label",
|
13703
|
+
"type": {
|
13704
|
+
"text": "string | undefined"
|
13705
|
+
},
|
13706
|
+
"description": "The primary label of the list item.\nThis appears on the leading side of the list item.",
|
13707
|
+
"attribute": "label",
|
13708
|
+
"reflects": true,
|
13709
|
+
"inheritedFrom": {
|
13710
|
+
"name": "ListItem",
|
13711
|
+
"module": "components/listitem/listitem.component.js"
|
13712
|
+
}
|
13713
|
+
},
|
13714
|
+
{
|
13715
|
+
"kind": "field",
|
13716
|
+
"name": "secondaryLabel",
|
13717
|
+
"type": {
|
13718
|
+
"text": "string | undefined"
|
13719
|
+
},
|
13720
|
+
"description": "The secondary label of the list item.\nThis appears on the leading side of the list item.",
|
13721
|
+
"attribute": "secondary-label",
|
13722
|
+
"reflects": true,
|
13723
|
+
"inheritedFrom": {
|
13724
|
+
"name": "ListItem",
|
13725
|
+
"module": "components/listitem/listitem.component.js"
|
13726
|
+
}
|
13727
|
+
},
|
13728
|
+
{
|
13729
|
+
"kind": "field",
|
13730
|
+
"name": "tertiaryLabel",
|
13731
|
+
"type": {
|
13732
|
+
"text": "string | undefined"
|
13733
|
+
},
|
13734
|
+
"description": "The tertiary label of the list item.\nThis appears on the leading side of the list item.",
|
13735
|
+
"attribute": "tertiary-label",
|
13736
|
+
"reflects": true,
|
13737
|
+
"inheritedFrom": {
|
13738
|
+
"name": "ListItem",
|
13739
|
+
"module": "components/listitem/listitem.component.js"
|
13740
|
+
}
|
13741
|
+
},
|
13742
|
+
{
|
13743
|
+
"kind": "field",
|
13744
|
+
"name": "sideHeaderText",
|
13745
|
+
"type": {
|
13746
|
+
"text": "string | undefined"
|
13747
|
+
},
|
13748
|
+
"description": "The header text of the list item.\nThis appears on the trailing side of the list item.",
|
13749
|
+
"attribute": "side-header-text",
|
13750
|
+
"reflects": true,
|
13751
|
+
"inheritedFrom": {
|
13752
|
+
"name": "ListItem",
|
13753
|
+
"module": "components/listitem/listitem.component.js"
|
13754
|
+
}
|
13755
|
+
},
|
13756
|
+
{
|
13757
|
+
"kind": "field",
|
13758
|
+
"name": "sublineText",
|
13759
|
+
"type": {
|
13760
|
+
"text": "string | undefined"
|
13761
|
+
},
|
13762
|
+
"description": "The subline text of the list item.\nThis appears on the trailing side of the list item.",
|
13763
|
+
"attribute": "subline-text",
|
13764
|
+
"reflects": true,
|
13765
|
+
"inheritedFrom": {
|
13766
|
+
"name": "ListItem",
|
13767
|
+
"module": "components/listitem/listitem.component.js"
|
13768
|
+
}
|
13769
|
+
},
|
13770
|
+
{
|
13771
|
+
"kind": "field",
|
13772
|
+
"name": "tooltipText",
|
13773
|
+
"type": {
|
13774
|
+
"text": "string | undefined"
|
13775
|
+
},
|
13776
|
+
"description": "The tooltip text is displayed on hover of the list item.",
|
13777
|
+
"attribute": "tooltip-text",
|
13778
|
+
"reflects": true,
|
13779
|
+
"inheritedFrom": {
|
13780
|
+
"name": "ListItem",
|
13781
|
+
"module": "components/listitem/listitem.component.js"
|
13782
|
+
}
|
13783
|
+
},
|
13784
|
+
{
|
13785
|
+
"kind": "field",
|
13786
|
+
"name": "tooltipPlacement",
|
13787
|
+
"type": {
|
13788
|
+
"text": "PopoverPlacement"
|
13789
|
+
},
|
13790
|
+
"description": "The tooltip placement of the list item. If the tooltip text is present,\nthen this tooltip placement will be applied.",
|
13791
|
+
"default": "'top'",
|
13792
|
+
"attribute": "tooltip-placement",
|
13793
|
+
"reflects": true,
|
13794
|
+
"inheritedFrom": {
|
13795
|
+
"name": "ListItem",
|
13796
|
+
"module": "components/listitem/listitem.component.js"
|
13797
|
+
}
|
13798
|
+
},
|
13799
|
+
{
|
13800
|
+
"kind": "method",
|
13801
|
+
"name": "handleClick",
|
13802
|
+
"privacy": "private",
|
13803
|
+
"return": {
|
13804
|
+
"type": {
|
13805
|
+
"text": "void"
|
13806
|
+
}
|
13807
|
+
},
|
13808
|
+
"inheritedFrom": {
|
13809
|
+
"name": "ListItem",
|
13810
|
+
"module": "components/listitem/listitem.component.js"
|
13811
|
+
}
|
13812
|
+
},
|
13813
|
+
{
|
13814
|
+
"kind": "method",
|
13815
|
+
"name": "displayTooltipForLongText",
|
13816
|
+
"privacy": "private",
|
13817
|
+
"return": {
|
13818
|
+
"type": {
|
13819
|
+
"text": "void"
|
13820
|
+
}
|
13821
|
+
},
|
13822
|
+
"description": "Display a tooltip for the listitem.\nCreate the tooltip programmatically after the nearest parent element.",
|
13823
|
+
"inheritedFrom": {
|
13824
|
+
"name": "ListItem",
|
13825
|
+
"module": "components/listitem/listitem.component.js"
|
13826
|
+
}
|
13827
|
+
},
|
13828
|
+
{
|
13829
|
+
"kind": "method",
|
13830
|
+
"name": "hideTooltipOnLeave",
|
13831
|
+
"privacy": "private",
|
13832
|
+
"return": {
|
13833
|
+
"type": {
|
13834
|
+
"text": "void"
|
13835
|
+
}
|
13836
|
+
},
|
13837
|
+
"description": "Removes the dynamically created tooltip for long text label on focus or mouse leave.\nThis is triggered on focusout and mouseout events.",
|
13838
|
+
"inheritedFrom": {
|
13839
|
+
"name": "ListItem",
|
13840
|
+
"module": "components/listitem/listitem.component.js"
|
13841
|
+
}
|
13842
|
+
},
|
13843
|
+
{
|
13844
|
+
"kind": "method",
|
13845
|
+
"name": "getText",
|
13846
|
+
"privacy": "protected",
|
13847
|
+
"return": {
|
13848
|
+
"type": {
|
13849
|
+
"text": ""
|
13850
|
+
}
|
13851
|
+
},
|
13852
|
+
"parameters": [
|
13853
|
+
{
|
13854
|
+
"name": "slotName",
|
13855
|
+
"type": {
|
13856
|
+
"text": "string"
|
13857
|
+
},
|
13858
|
+
"description": "The name of the slot to be used."
|
13859
|
+
},
|
13860
|
+
{
|
13861
|
+
"name": "type",
|
13862
|
+
"type": {
|
13863
|
+
"text": "TextType"
|
13864
|
+
},
|
13865
|
+
"description": "The type of the text element."
|
13866
|
+
},
|
13867
|
+
{
|
13868
|
+
"name": "content",
|
13869
|
+
"optional": true,
|
13870
|
+
"type": {
|
13871
|
+
"text": "string"
|
13872
|
+
},
|
13873
|
+
"description": "The text content to be displayed within the slot."
|
13874
|
+
}
|
13875
|
+
],
|
13876
|
+
"description": "Generates a template for a text slot with the specified content.",
|
13877
|
+
"inheritedFrom": {
|
13878
|
+
"name": "ListItem",
|
13879
|
+
"module": "components/listitem/listitem.component.js"
|
13880
|
+
}
|
13881
|
+
},
|
13882
|
+
{
|
13883
|
+
"kind": "method",
|
13884
|
+
"name": "disableSlottedChildren",
|
13885
|
+
"privacy": "private",
|
13886
|
+
"return": {
|
13887
|
+
"type": {
|
13888
|
+
"text": "void"
|
13889
|
+
}
|
13890
|
+
},
|
13891
|
+
"parameters": [
|
13892
|
+
{
|
13893
|
+
"name": "disabled",
|
13894
|
+
"type": {
|
13895
|
+
"text": "boolean"
|
13896
|
+
},
|
13897
|
+
"description": "Whether to disable or enable the controls."
|
13898
|
+
}
|
13899
|
+
],
|
13900
|
+
"description": "Disable or enable all slotted elements in the leading and trailing slots.\nThis is useful when the list item is disabled, to prevent the user from interacting with the controls.",
|
13901
|
+
"inheritedFrom": {
|
13902
|
+
"name": "ListItem",
|
13903
|
+
"module": "components/listitem/listitem.component.js"
|
13904
|
+
}
|
13905
|
+
}
|
13906
|
+
],
|
13907
|
+
"events": [
|
13908
|
+
{
|
13909
|
+
"description": "(React: onChange) This event is dispatched when the menuitemcheckbox changes.",
|
13910
|
+
"name": "change",
|
13911
|
+
"reactName": "onChange"
|
13912
|
+
},
|
13913
|
+
{
|
13914
|
+
"description": "(React: onClick) This event is dispatched when the menuitemcheckbox is clicked.",
|
13915
|
+
"name": "click",
|
13916
|
+
"reactName": "onClick",
|
13917
|
+
"inheritedFrom": {
|
13918
|
+
"name": "ListItem",
|
13919
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13920
|
+
}
|
13921
|
+
},
|
13922
|
+
{
|
13923
|
+
"description": "(React: onFocus) This event is dispatched when the menuitemcheckbox receives focus.",
|
13924
|
+
"name": "focus",
|
13925
|
+
"reactName": "onFocus",
|
13926
|
+
"inheritedFrom": {
|
13927
|
+
"name": "ListItem",
|
13928
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13929
|
+
}
|
13930
|
+
},
|
13931
|
+
{
|
13932
|
+
"description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the menuitem.",
|
13933
|
+
"name": "keydown",
|
13934
|
+
"reactName": "onKeyDown",
|
13935
|
+
"inheritedFrom": {
|
13936
|
+
"name": "ListItem",
|
13937
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13938
|
+
}
|
13939
|
+
},
|
13940
|
+
{
|
13941
|
+
"description": "(React: onKeyUp) This event is dispatched when a key is released on the menuitem.",
|
13942
|
+
"name": "keyup",
|
13943
|
+
"reactName": "onKeyUp",
|
13944
|
+
"inheritedFrom": {
|
13945
|
+
"name": "ListItem",
|
13946
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13947
|
+
}
|
13948
|
+
}
|
13949
|
+
],
|
13950
|
+
"attributes": [
|
13951
|
+
{
|
13952
|
+
"name": "aria-checked",
|
13953
|
+
"type": {
|
13954
|
+
"text": "AriaCheckedStates"
|
13955
|
+
},
|
13956
|
+
"description": "The aria-checked attribute is used to indicate that the menuitemcheckbox is checked or not.",
|
13957
|
+
"default": "'false'",
|
13958
|
+
"fieldName": "ariaChecked"
|
13959
|
+
},
|
13960
|
+
{
|
13961
|
+
"name": "indicator",
|
13962
|
+
"type": {
|
13963
|
+
"text": "Indicator"
|
13964
|
+
},
|
13965
|
+
"description": "The indicator attribute is used to differentiate between <b>checkbox</b> and <b>toggle</b>.",
|
13966
|
+
"default": "'checkbox'",
|
13967
|
+
"fieldName": "indicator"
|
13968
|
+
},
|
13969
|
+
{
|
13970
|
+
"name": "disabled",
|
13971
|
+
"type": {
|
13972
|
+
"text": "boolean | undefined"
|
13973
|
+
},
|
13974
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
13975
|
+
"default": "undefined",
|
13976
|
+
"fieldName": "disabled",
|
13977
|
+
"inheritedFrom": {
|
13978
|
+
"name": "ListItem",
|
13979
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13980
|
+
}
|
13981
|
+
},
|
13982
|
+
{
|
13983
|
+
"name": "tabIndex",
|
13984
|
+
"type": {
|
13985
|
+
"text": "number"
|
13986
|
+
},
|
13987
|
+
"default": "0",
|
13988
|
+
"description": "This property specifies the tab order of the element.",
|
13989
|
+
"fieldName": "tabIndex",
|
13990
|
+
"inheritedFrom": {
|
13991
|
+
"name": "ListItem",
|
13992
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13993
|
+
}
|
13994
|
+
},
|
13995
|
+
{
|
13996
|
+
"name": "variant",
|
13997
|
+
"type": {
|
13998
|
+
"text": "ListItemVariants"
|
13999
|
+
},
|
14000
|
+
"description": "The variant of the list item. It can be a pill, rectangle or a full-width.",
|
14001
|
+
"default": "'full-width'",
|
14002
|
+
"fieldName": "variant",
|
14003
|
+
"inheritedFrom": {
|
14004
|
+
"name": "ListItem",
|
14005
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14006
|
+
}
|
14007
|
+
},
|
14008
|
+
{
|
14009
|
+
"name": "label",
|
14010
|
+
"type": {
|
14011
|
+
"text": "string | undefined"
|
14012
|
+
},
|
14013
|
+
"description": "The primary label of the list item.\nThis appears on the leading side of the list item.",
|
14014
|
+
"fieldName": "label",
|
14015
|
+
"inheritedFrom": {
|
14016
|
+
"name": "ListItem",
|
14017
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14018
|
+
}
|
14019
|
+
},
|
14020
|
+
{
|
14021
|
+
"name": "secondary-label",
|
14022
|
+
"type": {
|
14023
|
+
"text": "string | undefined"
|
14024
|
+
},
|
14025
|
+
"description": "The secondary label of the list item.\nThis appears on the leading side of the list item.",
|
14026
|
+
"fieldName": "secondaryLabel",
|
14027
|
+
"inheritedFrom": {
|
14028
|
+
"name": "ListItem",
|
14029
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14030
|
+
}
|
14031
|
+
},
|
14032
|
+
{
|
14033
|
+
"name": "tertiary-label",
|
14034
|
+
"type": {
|
14035
|
+
"text": "string | undefined"
|
14036
|
+
},
|
14037
|
+
"description": "The tertiary label of the list item.\nThis appears on the leading side of the list item.",
|
14038
|
+
"fieldName": "tertiaryLabel",
|
14039
|
+
"inheritedFrom": {
|
14040
|
+
"name": "ListItem",
|
14041
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14042
|
+
}
|
14043
|
+
},
|
14044
|
+
{
|
14045
|
+
"name": "side-header-text",
|
14046
|
+
"type": {
|
14047
|
+
"text": "string | undefined"
|
14048
|
+
},
|
14049
|
+
"description": "The header text of the list item.\nThis appears on the trailing side of the list item.",
|
14050
|
+
"fieldName": "sideHeaderText",
|
14051
|
+
"inheritedFrom": {
|
14052
|
+
"name": "ListItem",
|
14053
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14054
|
+
}
|
14055
|
+
},
|
14056
|
+
{
|
14057
|
+
"name": "subline-text",
|
14058
|
+
"type": {
|
14059
|
+
"text": "string | undefined"
|
14060
|
+
},
|
14061
|
+
"description": "The subline text of the list item.\nThis appears on the trailing side of the list item.",
|
14062
|
+
"fieldName": "sublineText",
|
14063
|
+
"inheritedFrom": {
|
14064
|
+
"name": "ListItem",
|
14065
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14066
|
+
}
|
14067
|
+
},
|
14068
|
+
{
|
14069
|
+
"name": "tooltip-text",
|
14070
|
+
"type": {
|
14071
|
+
"text": "string | undefined"
|
14072
|
+
},
|
14073
|
+
"description": "The tooltip text is displayed on hover of the list item.",
|
14074
|
+
"fieldName": "tooltipText",
|
14075
|
+
"inheritedFrom": {
|
14076
|
+
"name": "ListItem",
|
14077
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14078
|
+
}
|
14079
|
+
},
|
14080
|
+
{
|
14081
|
+
"name": "tooltip-placement",
|
14082
|
+
"type": {
|
14083
|
+
"text": "PopoverPlacement"
|
14084
|
+
},
|
14085
|
+
"description": "The tooltip placement of the list item. If the tooltip text is present,\nthen this tooltip placement will be applied.",
|
14086
|
+
"default": "'top'",
|
14087
|
+
"fieldName": "tooltipPlacement",
|
14088
|
+
"inheritedFrom": {
|
14089
|
+
"name": "ListItem",
|
14090
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14091
|
+
}
|
14092
|
+
}
|
14093
|
+
],
|
14094
|
+
"superclass": {
|
14095
|
+
"name": "MenuItem",
|
14096
|
+
"module": "/src/components/menuitem/menuitem.component"
|
14097
|
+
},
|
14098
|
+
"tagName": "mdc-menuitemcheckbox",
|
14099
|
+
"jsDoc": "/**\n * A menuitemcheckbox component is a checkable menuitem.\n * There should be no focusable descendants inside this menuitemcheckbox component.\n *\n * The `aria-checked` attribute indicates whether the menuitemcheckbox is checked or not.\n *\n * The `indicator` attribute is used to differentiate between <b>checkbox</b>, <b>checkmark</b> and <b>toggle</b>.\n * By default the `indicator` is set to <b>checkbox</b>.<br/>\n *\n * The checkbox will always be positioned on the leading side of the menuitem label and\n * the toggle and checkmark will always be positioned on the trailing side.\n *\n * The checkbox will have the possible states of `true` or `false`.\n * If the indicator is set to <b>checkmark</b> and if the `aria-checked` attribute is set to `true`,\n * then the checkmark will be displayed. if not, then no indicator will be displayed.\n *\n * If you want only one item in a group to be checked, consider using menuitemradio component.\n *\n * If a menuitemcheckbox is disabled, then the `aria-disabled` attribute is set to `true`.\n *\n * @dependency mdc-staticcheckbox\n * @dependency mdc-statictoggle\n * @dependency mdc-icon\n *\n * @tagname mdc-menuitemcheckbox\n *\n * @cssproperty --mdc-checkmark-indicator-color - Allows customization of the checkmark indicator color\n *\n * @event change - (React: onChange) This event is dispatched when the menuitemcheckbox changes.\n * @event click - (React: onClick) This event is dispatched when the menuitemcheckbox is clicked.\n * @event focus - (React: onFocus) This event is dispatched when the menuitemcheckbox receives focus.\n */",
|
14100
|
+
"customElement": true,
|
14101
|
+
"slots": [
|
14102
|
+
{
|
14103
|
+
"description": "slot for list item controls to appear of leading end.",
|
14104
|
+
"name": "leading-controls",
|
14105
|
+
"inheritedFrom": {
|
14106
|
+
"name": "ListItem",
|
14107
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14108
|
+
}
|
14109
|
+
},
|
14110
|
+
{
|
14111
|
+
"description": "slot for list item primary label.",
|
14112
|
+
"name": "leading-text-primary-label",
|
14113
|
+
"inheritedFrom": {
|
14114
|
+
"name": "ListItem",
|
14115
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14116
|
+
}
|
14117
|
+
},
|
14118
|
+
{
|
14119
|
+
"description": "slot for list item secondary label.",
|
14120
|
+
"name": "leading-text-secondary-label",
|
14121
|
+
"inheritedFrom": {
|
14122
|
+
"name": "ListItem",
|
14123
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14124
|
+
}
|
14125
|
+
},
|
14126
|
+
{
|
14127
|
+
"description": "slot for list item tertiary label.",
|
14128
|
+
"name": "leading-text-tertiary-label",
|
14129
|
+
"inheritedFrom": {
|
14130
|
+
"name": "ListItem",
|
14131
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14132
|
+
}
|
14133
|
+
},
|
14134
|
+
{
|
14135
|
+
"description": "slot for list item side header text.",
|
14136
|
+
"name": "trailing-text-side-header",
|
14137
|
+
"inheritedFrom": {
|
14138
|
+
"name": "ListItem",
|
14139
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14140
|
+
}
|
14141
|
+
},
|
14142
|
+
{
|
14143
|
+
"description": "slot for list item subline text.",
|
14144
|
+
"name": "trailing-text-subline",
|
14145
|
+
"inheritedFrom": {
|
14146
|
+
"name": "ListItem",
|
14147
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14148
|
+
}
|
14149
|
+
},
|
14150
|
+
{
|
14151
|
+
"description": "slot for list item controls to appear of trailing end.",
|
14152
|
+
"name": "trailing-controls",
|
14153
|
+
"inheritedFrom": {
|
14154
|
+
"name": "ListItem",
|
14155
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14156
|
+
}
|
14157
|
+
}
|
14158
|
+
]
|
14159
|
+
}
|
14160
|
+
],
|
14161
|
+
"exports": [
|
14162
|
+
{
|
14163
|
+
"kind": "js",
|
14164
|
+
"name": "default",
|
14165
|
+
"declaration": {
|
14166
|
+
"name": "MenuItemCheckbox",
|
14167
|
+
"module": "components/menuitemcheckbox/menuitemcheckbox.component.js"
|
14168
|
+
}
|
14169
|
+
}
|
14170
|
+
]
|
14171
|
+
},
|
14172
|
+
{
|
14173
|
+
"kind": "javascript-module",
|
14174
|
+
"path": "components/menuitemradio/menuitemradio.component.js",
|
14175
|
+
"declarations": [
|
14176
|
+
{
|
14177
|
+
"kind": "class",
|
14178
|
+
"description": "A menuitemradio component is a checkable menuitem that is used in a menu.\nA menuitemradio should be checked only one at a time. <br/>\nThere should be no focusable descendants inside this menuitemradio component.\n\nThe `aria-checked` menuitemradio attribute is used to indicate that the menuitemradio is checked or not.\n\nIf you want more than one item in a group to be checked, consider using menuitemcheckbox component.\n\nIf a menuitemradio is disabled, then the `aria-disabled` attribute is set to `true`.",
|
14179
|
+
"name": "MenuItemRadio",
|
14180
|
+
"members": [
|
14181
|
+
{
|
14182
|
+
"kind": "field",
|
14183
|
+
"name": "ariaChecked",
|
14184
|
+
"type": {
|
14185
|
+
"text": "AriaChecked"
|
14186
|
+
},
|
14187
|
+
"description": "The aria-checked attribute is used to indicate that the menuitemradio is checked or not.",
|
14188
|
+
"default": "'false'",
|
14189
|
+
"attribute": "aria-checked",
|
14190
|
+
"reflects": true
|
14191
|
+
},
|
14192
|
+
{
|
14193
|
+
"kind": "field",
|
14194
|
+
"name": "disabled",
|
14195
|
+
"type": {
|
14196
|
+
"text": "boolean | undefined"
|
14197
|
+
},
|
14198
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
14199
|
+
"default": "undefined",
|
14200
|
+
"attribute": "disabled",
|
14201
|
+
"reflects": true,
|
14202
|
+
"inheritedFrom": {
|
14203
|
+
"name": "ListItem",
|
14204
|
+
"module": "components/listitem/listitem.component.js"
|
14205
|
+
}
|
14206
|
+
},
|
14207
|
+
{
|
14208
|
+
"kind": "field",
|
14209
|
+
"name": "tabIndex",
|
14210
|
+
"type": {
|
14211
|
+
"text": "number"
|
14212
|
+
},
|
14213
|
+
"default": "0",
|
14214
|
+
"description": "This property specifies the tab order of the element.",
|
14215
|
+
"attribute": "tabIndex",
|
14216
|
+
"reflects": true,
|
14217
|
+
"inheritedFrom": {
|
14218
|
+
"name": "ListItem",
|
14219
|
+
"module": "components/listitem/listitem.component.js"
|
14220
|
+
}
|
14221
|
+
},
|
14222
|
+
{
|
14223
|
+
"kind": "field",
|
14224
|
+
"name": "variant",
|
14225
|
+
"type": {
|
14226
|
+
"text": "ListItemVariants"
|
14227
|
+
},
|
14228
|
+
"description": "The variant of the list item. It can be a pill, rectangle or a full-width.",
|
14229
|
+
"default": "'full-width'",
|
14230
|
+
"attribute": "variant",
|
14231
|
+
"reflects": true,
|
14232
|
+
"inheritedFrom": {
|
14233
|
+
"name": "ListItem",
|
14234
|
+
"module": "components/listitem/listitem.component.js"
|
14235
|
+
}
|
14236
|
+
},
|
14237
|
+
{
|
14238
|
+
"kind": "field",
|
14239
|
+
"name": "label",
|
14240
|
+
"type": {
|
14241
|
+
"text": "string | undefined"
|
14242
|
+
},
|
14243
|
+
"description": "The primary label of the list item.\nThis appears on the leading side of the list item.",
|
14244
|
+
"attribute": "label",
|
14245
|
+
"reflects": true,
|
14246
|
+
"inheritedFrom": {
|
14247
|
+
"name": "ListItem",
|
14248
|
+
"module": "components/listitem/listitem.component.js"
|
14249
|
+
}
|
14250
|
+
},
|
14251
|
+
{
|
14252
|
+
"kind": "field",
|
14253
|
+
"name": "secondaryLabel",
|
14254
|
+
"type": {
|
14255
|
+
"text": "string | undefined"
|
14256
|
+
},
|
14257
|
+
"description": "The secondary label of the list item.\nThis appears on the leading side of the list item.",
|
14258
|
+
"attribute": "secondary-label",
|
14259
|
+
"reflects": true,
|
14260
|
+
"inheritedFrom": {
|
14261
|
+
"name": "ListItem",
|
14262
|
+
"module": "components/listitem/listitem.component.js"
|
14263
|
+
}
|
14264
|
+
},
|
14265
|
+
{
|
14266
|
+
"kind": "field",
|
14267
|
+
"name": "tertiaryLabel",
|
14268
|
+
"type": {
|
14269
|
+
"text": "string | undefined"
|
14270
|
+
},
|
14271
|
+
"description": "The tertiary label of the list item.\nThis appears on the leading side of the list item.",
|
14272
|
+
"attribute": "tertiary-label",
|
14273
|
+
"reflects": true,
|
14274
|
+
"inheritedFrom": {
|
14275
|
+
"name": "ListItem",
|
14276
|
+
"module": "components/listitem/listitem.component.js"
|
14277
|
+
}
|
14278
|
+
},
|
14279
|
+
{
|
14280
|
+
"kind": "field",
|
14281
|
+
"name": "sideHeaderText",
|
14282
|
+
"type": {
|
14283
|
+
"text": "string | undefined"
|
14284
|
+
},
|
14285
|
+
"description": "The header text of the list item.\nThis appears on the trailing side of the list item.",
|
14286
|
+
"attribute": "side-header-text",
|
14287
|
+
"reflects": true,
|
14288
|
+
"inheritedFrom": {
|
14289
|
+
"name": "ListItem",
|
14290
|
+
"module": "components/listitem/listitem.component.js"
|
14291
|
+
}
|
14292
|
+
},
|
14293
|
+
{
|
14294
|
+
"kind": "field",
|
14295
|
+
"name": "sublineText",
|
14296
|
+
"type": {
|
14297
|
+
"text": "string | undefined"
|
14298
|
+
},
|
14299
|
+
"description": "The subline text of the list item.\nThis appears on the trailing side of the list item.",
|
14300
|
+
"attribute": "subline-text",
|
14301
|
+
"reflects": true,
|
14302
|
+
"inheritedFrom": {
|
14303
|
+
"name": "ListItem",
|
14304
|
+
"module": "components/listitem/listitem.component.js"
|
14305
|
+
}
|
14306
|
+
},
|
14307
|
+
{
|
14308
|
+
"kind": "field",
|
14309
|
+
"name": "tooltipText",
|
14310
|
+
"type": {
|
14311
|
+
"text": "string | undefined"
|
14312
|
+
},
|
14313
|
+
"description": "The tooltip text is displayed on hover of the list item.",
|
14314
|
+
"attribute": "tooltip-text",
|
14315
|
+
"reflects": true,
|
14316
|
+
"inheritedFrom": {
|
14317
|
+
"name": "ListItem",
|
14318
|
+
"module": "components/listitem/listitem.component.js"
|
14319
|
+
}
|
14320
|
+
},
|
14321
|
+
{
|
14322
|
+
"kind": "field",
|
14323
|
+
"name": "tooltipPlacement",
|
14324
|
+
"type": {
|
14325
|
+
"text": "PopoverPlacement"
|
14326
|
+
},
|
14327
|
+
"description": "The tooltip placement of the list item. If the tooltip text is present,\nthen this tooltip placement will be applied.",
|
14328
|
+
"default": "'top'",
|
14329
|
+
"attribute": "tooltip-placement",
|
14330
|
+
"reflects": true,
|
14331
|
+
"inheritedFrom": {
|
14332
|
+
"name": "ListItem",
|
14333
|
+
"module": "components/listitem/listitem.component.js"
|
14334
|
+
}
|
14335
|
+
},
|
14336
|
+
{
|
14337
|
+
"kind": "method",
|
14338
|
+
"name": "handleClick",
|
14339
|
+
"privacy": "private",
|
14340
|
+
"return": {
|
14341
|
+
"type": {
|
14342
|
+
"text": "void"
|
14343
|
+
}
|
14344
|
+
},
|
14345
|
+
"inheritedFrom": {
|
14346
|
+
"name": "ListItem",
|
14347
|
+
"module": "components/listitem/listitem.component.js"
|
14348
|
+
}
|
14349
|
+
},
|
14350
|
+
{
|
14351
|
+
"kind": "method",
|
14352
|
+
"name": "displayTooltipForLongText",
|
14353
|
+
"privacy": "private",
|
14354
|
+
"return": {
|
14355
|
+
"type": {
|
14356
|
+
"text": "void"
|
14357
|
+
}
|
14358
|
+
},
|
14359
|
+
"description": "Display a tooltip for the listitem.\nCreate the tooltip programmatically after the nearest parent element.",
|
14360
|
+
"inheritedFrom": {
|
14361
|
+
"name": "ListItem",
|
14362
|
+
"module": "components/listitem/listitem.component.js"
|
14363
|
+
}
|
14364
|
+
},
|
14365
|
+
{
|
14366
|
+
"kind": "method",
|
14367
|
+
"name": "hideTooltipOnLeave",
|
14368
|
+
"privacy": "private",
|
14369
|
+
"return": {
|
14370
|
+
"type": {
|
14371
|
+
"text": "void"
|
14372
|
+
}
|
14373
|
+
},
|
14374
|
+
"description": "Removes the dynamically created tooltip for long text label on focus or mouse leave.\nThis is triggered on focusout and mouseout events.",
|
14375
|
+
"inheritedFrom": {
|
14376
|
+
"name": "ListItem",
|
14377
|
+
"module": "components/listitem/listitem.component.js"
|
14378
|
+
}
|
14379
|
+
},
|
14380
|
+
{
|
14381
|
+
"kind": "method",
|
14382
|
+
"name": "getText",
|
14383
|
+
"privacy": "protected",
|
14384
|
+
"return": {
|
14385
|
+
"type": {
|
14386
|
+
"text": ""
|
14387
|
+
}
|
14388
|
+
},
|
14389
|
+
"parameters": [
|
14390
|
+
{
|
14391
|
+
"name": "slotName",
|
14392
|
+
"type": {
|
14393
|
+
"text": "string"
|
14394
|
+
},
|
14395
|
+
"description": "The name of the slot to be used."
|
14396
|
+
},
|
14397
|
+
{
|
14398
|
+
"name": "type",
|
14399
|
+
"type": {
|
14400
|
+
"text": "TextType"
|
14401
|
+
},
|
14402
|
+
"description": "The type of the text element."
|
14403
|
+
},
|
14404
|
+
{
|
14405
|
+
"name": "content",
|
14406
|
+
"optional": true,
|
14407
|
+
"type": {
|
14408
|
+
"text": "string"
|
14409
|
+
},
|
14410
|
+
"description": "The text content to be displayed within the slot."
|
14411
|
+
}
|
14412
|
+
],
|
14413
|
+
"description": "Generates a template for a text slot with the specified content.",
|
14414
|
+
"inheritedFrom": {
|
14415
|
+
"name": "ListItem",
|
14416
|
+
"module": "components/listitem/listitem.component.js"
|
14417
|
+
}
|
14418
|
+
},
|
14419
|
+
{
|
14420
|
+
"kind": "method",
|
14421
|
+
"name": "disableSlottedChildren",
|
14422
|
+
"privacy": "private",
|
14423
|
+
"return": {
|
14424
|
+
"type": {
|
14425
|
+
"text": "void"
|
14426
|
+
}
|
14427
|
+
},
|
14428
|
+
"parameters": [
|
14429
|
+
{
|
14430
|
+
"name": "disabled",
|
14431
|
+
"type": {
|
14432
|
+
"text": "boolean"
|
14433
|
+
},
|
14434
|
+
"description": "Whether to disable or enable the controls."
|
14435
|
+
}
|
14436
|
+
],
|
14437
|
+
"description": "Disable or enable all slotted elements in the leading and trailing slots.\nThis is useful when the list item is disabled, to prevent the user from interacting with the controls.",
|
14438
|
+
"inheritedFrom": {
|
14439
|
+
"name": "ListItem",
|
14440
|
+
"module": "components/listitem/listitem.component.js"
|
14441
|
+
}
|
14442
|
+
}
|
14443
|
+
],
|
14444
|
+
"events": [
|
14445
|
+
{
|
14446
|
+
"description": "(React: onChange) This event is dispatched when the menuitemradio changes.",
|
14447
|
+
"name": "change",
|
14448
|
+
"reactName": "onChange"
|
14449
|
+
},
|
14450
|
+
{
|
14451
|
+
"description": "(React: onClick) This event is dispatched when the menuitemradio is clicked.",
|
14452
|
+
"name": "click",
|
14453
|
+
"reactName": "onClick",
|
14454
|
+
"inheritedFrom": {
|
14455
|
+
"name": "ListItem",
|
14456
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14457
|
+
}
|
14458
|
+
},
|
14459
|
+
{
|
14460
|
+
"description": "(React: onFocus) This event is dispatched when the menuitemradio receives focus.",
|
14461
|
+
"name": "focus",
|
14462
|
+
"reactName": "onFocus",
|
14463
|
+
"inheritedFrom": {
|
14464
|
+
"name": "ListItem",
|
14465
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14466
|
+
}
|
14467
|
+
},
|
14468
|
+
{
|
14469
|
+
"description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the menuitem.",
|
14470
|
+
"name": "keydown",
|
14471
|
+
"reactName": "onKeyDown",
|
14472
|
+
"inheritedFrom": {
|
14473
|
+
"name": "ListItem",
|
14474
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14475
|
+
}
|
14476
|
+
},
|
14477
|
+
{
|
14478
|
+
"description": "(React: onKeyUp) This event is dispatched when a key is released on the menuitem.",
|
14479
|
+
"name": "keyup",
|
14480
|
+
"reactName": "onKeyUp",
|
14481
|
+
"inheritedFrom": {
|
14482
|
+
"name": "ListItem",
|
14483
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14484
|
+
}
|
14485
|
+
}
|
14486
|
+
],
|
14487
|
+
"attributes": [
|
14488
|
+
{
|
14489
|
+
"name": "aria-checked",
|
14490
|
+
"type": {
|
14491
|
+
"text": "AriaChecked"
|
14492
|
+
},
|
14493
|
+
"description": "The aria-checked attribute is used to indicate that the menuitemradio is checked or not.",
|
14494
|
+
"default": "'false'",
|
14495
|
+
"fieldName": "ariaChecked"
|
14496
|
+
},
|
14497
|
+
{
|
14498
|
+
"name": "disabled",
|
14499
|
+
"type": {
|
14500
|
+
"text": "boolean | undefined"
|
14501
|
+
},
|
14502
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
14503
|
+
"default": "undefined",
|
14504
|
+
"fieldName": "disabled",
|
14505
|
+
"inheritedFrom": {
|
14506
|
+
"name": "ListItem",
|
14507
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14508
|
+
}
|
14509
|
+
},
|
14510
|
+
{
|
14511
|
+
"name": "tabIndex",
|
14512
|
+
"type": {
|
14513
|
+
"text": "number"
|
14514
|
+
},
|
14515
|
+
"default": "0",
|
14516
|
+
"description": "This property specifies the tab order of the element.",
|
14517
|
+
"fieldName": "tabIndex",
|
14518
|
+
"inheritedFrom": {
|
14519
|
+
"name": "ListItem",
|
14520
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14521
|
+
}
|
14522
|
+
},
|
14523
|
+
{
|
14524
|
+
"name": "variant",
|
14525
|
+
"type": {
|
14526
|
+
"text": "ListItemVariants"
|
14527
|
+
},
|
14528
|
+
"description": "The variant of the list item. It can be a pill, rectangle or a full-width.",
|
14529
|
+
"default": "'full-width'",
|
14530
|
+
"fieldName": "variant",
|
14531
|
+
"inheritedFrom": {
|
14532
|
+
"name": "ListItem",
|
14533
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14534
|
+
}
|
14535
|
+
},
|
14536
|
+
{
|
14537
|
+
"name": "label",
|
14538
|
+
"type": {
|
14539
|
+
"text": "string | undefined"
|
14540
|
+
},
|
14541
|
+
"description": "The primary label of the list item.\nThis appears on the leading side of the list item.",
|
14542
|
+
"fieldName": "label",
|
14543
|
+
"inheritedFrom": {
|
14544
|
+
"name": "ListItem",
|
14545
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14546
|
+
}
|
14547
|
+
},
|
14548
|
+
{
|
14549
|
+
"name": "secondary-label",
|
14550
|
+
"type": {
|
14551
|
+
"text": "string | undefined"
|
14552
|
+
},
|
14553
|
+
"description": "The secondary label of the list item.\nThis appears on the leading side of the list item.",
|
14554
|
+
"fieldName": "secondaryLabel",
|
14555
|
+
"inheritedFrom": {
|
14556
|
+
"name": "ListItem",
|
14557
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14558
|
+
}
|
14559
|
+
},
|
14560
|
+
{
|
14561
|
+
"name": "tertiary-label",
|
14562
|
+
"type": {
|
14563
|
+
"text": "string | undefined"
|
14564
|
+
},
|
14565
|
+
"description": "The tertiary label of the list item.\nThis appears on the leading side of the list item.",
|
14566
|
+
"fieldName": "tertiaryLabel",
|
14567
|
+
"inheritedFrom": {
|
14568
|
+
"name": "ListItem",
|
14569
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14570
|
+
}
|
14571
|
+
},
|
14572
|
+
{
|
14573
|
+
"name": "side-header-text",
|
14574
|
+
"type": {
|
14575
|
+
"text": "string | undefined"
|
14576
|
+
},
|
14577
|
+
"description": "The header text of the list item.\nThis appears on the trailing side of the list item.",
|
14578
|
+
"fieldName": "sideHeaderText",
|
14579
|
+
"inheritedFrom": {
|
14580
|
+
"name": "ListItem",
|
14581
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14582
|
+
}
|
14583
|
+
},
|
14584
|
+
{
|
14585
|
+
"name": "subline-text",
|
14586
|
+
"type": {
|
14587
|
+
"text": "string | undefined"
|
14588
|
+
},
|
14589
|
+
"description": "The subline text of the list item.\nThis appears on the trailing side of the list item.",
|
14590
|
+
"fieldName": "sublineText",
|
14591
|
+
"inheritedFrom": {
|
14592
|
+
"name": "ListItem",
|
14593
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14594
|
+
}
|
14595
|
+
},
|
14596
|
+
{
|
14597
|
+
"name": "tooltip-text",
|
14598
|
+
"type": {
|
14599
|
+
"text": "string | undefined"
|
14600
|
+
},
|
14601
|
+
"description": "The tooltip text is displayed on hover of the list item.",
|
14602
|
+
"fieldName": "tooltipText",
|
14603
|
+
"inheritedFrom": {
|
14604
|
+
"name": "ListItem",
|
14605
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14606
|
+
}
|
14607
|
+
},
|
14608
|
+
{
|
14609
|
+
"name": "tooltip-placement",
|
14610
|
+
"type": {
|
14611
|
+
"text": "PopoverPlacement"
|
14612
|
+
},
|
14613
|
+
"description": "The tooltip placement of the list item. If the tooltip text is present,\nthen this tooltip placement will be applied.",
|
14614
|
+
"default": "'top'",
|
14615
|
+
"fieldName": "tooltipPlacement",
|
14616
|
+
"inheritedFrom": {
|
14617
|
+
"name": "ListItem",
|
14618
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14619
|
+
}
|
14620
|
+
}
|
14621
|
+
],
|
14622
|
+
"superclass": {
|
14623
|
+
"name": "MenuItem",
|
14624
|
+
"module": "/src/components/menuitem/menuitem.component"
|
14625
|
+
},
|
14626
|
+
"tagName": "mdc-menuitemradio",
|
14627
|
+
"jsDoc": "/**\n * A menuitemradio component is a checkable menuitem that is used in a menu.\n * A menuitemradio should be checked only one at a time. <br/>\n * There should be no focusable descendants inside this menuitemradio component.\n *\n * The `aria-checked` menuitemradio attribute is used to indicate that the menuitemradio is checked or not.\n *\n * If you want more than one item in a group to be checked, consider using menuitemcheckbox component.\n *\n * If a menuitemradio is disabled, then the `aria-disabled` attribute is set to `true`.\n *\n * @dependency mdc-staticradio\n * @dependency mdc-text\n *\n * @tagname mdc-menuitemradio\n *\n * @event change - (React: onChange) This event is dispatched when the menuitemradio changes.\n * @event click - (React: onClick) This event is dispatched when the menuitemradio is clicked.\n * @event focus - (React: onFocus) This event is dispatched when the menuitemradio receives focus.\n */",
|
14628
|
+
"customElement": true,
|
14629
|
+
"slots": [
|
14630
|
+
{
|
14631
|
+
"description": "slot for list item controls to appear of leading end.",
|
14632
|
+
"name": "leading-controls",
|
14633
|
+
"inheritedFrom": {
|
14634
|
+
"name": "ListItem",
|
14635
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14636
|
+
}
|
14637
|
+
},
|
14638
|
+
{
|
14639
|
+
"description": "slot for list item primary label.",
|
14640
|
+
"name": "leading-text-primary-label",
|
14641
|
+
"inheritedFrom": {
|
14642
|
+
"name": "ListItem",
|
14643
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14644
|
+
}
|
14645
|
+
},
|
14646
|
+
{
|
14647
|
+
"description": "slot for list item secondary label.",
|
14648
|
+
"name": "leading-text-secondary-label",
|
14649
|
+
"inheritedFrom": {
|
14650
|
+
"name": "ListItem",
|
14651
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14652
|
+
}
|
14653
|
+
},
|
14654
|
+
{
|
14655
|
+
"description": "slot for list item tertiary label.",
|
14656
|
+
"name": "leading-text-tertiary-label",
|
14657
|
+
"inheritedFrom": {
|
14658
|
+
"name": "ListItem",
|
14659
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14660
|
+
}
|
14661
|
+
},
|
14662
|
+
{
|
14663
|
+
"description": "slot for list item side header text.",
|
14664
|
+
"name": "trailing-text-side-header",
|
14665
|
+
"inheritedFrom": {
|
14666
|
+
"name": "ListItem",
|
14667
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14668
|
+
}
|
14669
|
+
},
|
14670
|
+
{
|
14671
|
+
"description": "slot for list item subline text.",
|
14672
|
+
"name": "trailing-text-subline",
|
14673
|
+
"inheritedFrom": {
|
14674
|
+
"name": "ListItem",
|
14675
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14676
|
+
}
|
14677
|
+
},
|
14678
|
+
{
|
14679
|
+
"description": "slot for list item controls to appear of trailing end.",
|
14680
|
+
"name": "trailing-controls",
|
14681
|
+
"inheritedFrom": {
|
14682
|
+
"name": "ListItem",
|
14683
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14684
|
+
}
|
14685
|
+
}
|
14686
|
+
],
|
14687
|
+
"cssProperties": [
|
14688
|
+
{
|
14689
|
+
"description": "Allows customization of the default background color.",
|
14690
|
+
"name": "--mdc-listitem-default-background-color",
|
14691
|
+
"inheritedFrom": {
|
14692
|
+
"name": "ListItem",
|
14693
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14694
|
+
}
|
14695
|
+
},
|
14696
|
+
{
|
14697
|
+
"description": "Allows customization of the background color on hover.",
|
14698
|
+
"name": "--mdc-listitem-background-color-hover",
|
14699
|
+
"inheritedFrom": {
|
14700
|
+
"name": "ListItem",
|
14701
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14702
|
+
}
|
14703
|
+
},
|
14704
|
+
{
|
14705
|
+
"description": "Allows customization of the background color when pressed.",
|
14706
|
+
"name": "--mdc-listitem-background-color-active",
|
14707
|
+
"inheritedFrom": {
|
14708
|
+
"name": "ListItem",
|
14709
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14710
|
+
}
|
14711
|
+
},
|
14712
|
+
{
|
14713
|
+
"description": "Allows customization of the primary label, side header and subline text slot color.",
|
14714
|
+
"name": "--mdc-listitem-primary-label-color",
|
14715
|
+
"inheritedFrom": {
|
14716
|
+
"name": "ListItem",
|
14717
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14718
|
+
}
|
14719
|
+
},
|
14720
|
+
{
|
14721
|
+
"description": "Allows customization of the secondary and tertiary label text slot color.",
|
14722
|
+
"name": "--mdc-listitem-secondary-label-color",
|
14723
|
+
"inheritedFrom": {
|
14724
|
+
"name": "ListItem",
|
14725
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14726
|
+
}
|
14727
|
+
},
|
14728
|
+
{
|
14729
|
+
"description": "Allows customization of the disabled color.",
|
14730
|
+
"name": "--mdc-listitem-disabled-color",
|
14731
|
+
"inheritedFrom": {
|
14732
|
+
"name": "ListItem",
|
14733
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14734
|
+
}
|
14735
|
+
},
|
14736
|
+
{
|
14737
|
+
"description": "Allows customization of column gap.",
|
14738
|
+
"name": "--mdc-listitem-column-gap",
|
14739
|
+
"inheritedFrom": {
|
14740
|
+
"name": "ListItem",
|
14741
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14742
|
+
}
|
14743
|
+
},
|
14744
|
+
{
|
14745
|
+
"description": "Allows customization of padding left and right.",
|
14746
|
+
"name": "--mdc-listitem-padding-left-and-right",
|
14747
|
+
"inheritedFrom": {
|
14748
|
+
"name": "ListItem",
|
14749
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14750
|
+
}
|
14751
|
+
}
|
14752
|
+
]
|
14753
|
+
}
|
14754
|
+
],
|
14755
|
+
"exports": [
|
14756
|
+
{
|
14757
|
+
"kind": "js",
|
14758
|
+
"name": "default",
|
14759
|
+
"declaration": {
|
14760
|
+
"name": "MenuItemRadio",
|
14761
|
+
"module": "components/menuitemradio/menuitemradio.component.js"
|
14762
|
+
}
|
14763
|
+
}
|
14764
|
+
]
|
14765
|
+
},
|
13524
14766
|
{
|
13525
14767
|
"kind": "javascript-module",
|
13526
14768
|
"path": "components/optgroup/optgroup.component.js",
|