@momentum-design/components 0.127.0 → 0.127.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/index.js +15 -15
- package/dist/browser/index.js.map +3 -3
- package/dist/components/menusection/menusection.component.d.ts +1 -1
- package/dist/components/menusection/menusection.component.js +1 -1
- package/dist/components/navmenuitem/navmenuitem.component.d.ts +12 -1
- package/dist/components/navmenuitem/navmenuitem.component.js +14 -0
- package/dist/components/tooltip/tooltip.constants.d.ts +4 -4
- package/dist/custom-elements.json +261 -241
- package/dist/react/index.d.ts +2 -2
- package/dist/react/index.js +2 -2
- package/dist/react/menusection/index.d.ts +1 -1
- package/dist/react/menusection/index.js +1 -1
- package/package.json +1 -1
|
@@ -513,6 +513,157 @@
|
|
|
513
513
|
}
|
|
514
514
|
]
|
|
515
515
|
},
|
|
516
|
+
{
|
|
517
|
+
"kind": "javascript-module",
|
|
518
|
+
"path": "components/accordiongroup/accordiongroup.component.js",
|
|
519
|
+
"declarations": [
|
|
520
|
+
{
|
|
521
|
+
"kind": "class",
|
|
522
|
+
"description": "An accordion group is a vertically stacked set of interactive headings that each contain a header and body content.\nEach heading of the accordion acts as a control that enable users to expand or hide their associated body sections of content.\nAccordions are commonly used to reduce the need to scroll when presenting multiple sections of content on a single page.\n\n- Default Slot: The accordion group component only accepts, `accordion` and `accordionbutton` components as the children, rest are ignored.\n\nThere are three types of variants:\n- Stacked - Each accordion will have a gap of 1.5rem (24px).\n- Borderless - Each accordion will not have any border and the group will also not have any border.\n- Contained - Each accordion will have no gap in between them and the border of the entire accordiongroup will be continuous.\n\nThere are two types of sizes:\n- Small: Small size has a padding of 1rem (16px) for both heading and body sections.\n- Large: Large size has a padding of 1.5rem (24px) for both heading and body sections.\n\nThe variant and size will be applied to all accordions inside this accordion group.\nTo show/expand more than one accordion at any given time, then set `allow-multiple` to `true`. By default, it's `false`.\n\nIf you don't need any controls on your accordion heading, then it's advised to use `accordionbutton` component.\n\nIf the first accordion of the accordion group is expanded by default, then the screen reader might loose focus when toggling the visibilty of the first accordion.",
|
|
523
|
+
"name": "AccordionGroup",
|
|
524
|
+
"cssProperties": [
|
|
525
|
+
{
|
|
526
|
+
"description": "The border color of the entire accordiongroup",
|
|
527
|
+
"name": "--mdc-accordiongroup-border-color"
|
|
528
|
+
}
|
|
529
|
+
],
|
|
530
|
+
"slots": [
|
|
531
|
+
{
|
|
532
|
+
"description": "The default slot can contain the `accordion` or `accordionbutton` components.",
|
|
533
|
+
"name": "default"
|
|
534
|
+
}
|
|
535
|
+
],
|
|
536
|
+
"members": [
|
|
537
|
+
{
|
|
538
|
+
"kind": "field",
|
|
539
|
+
"name": "size",
|
|
540
|
+
"type": {
|
|
541
|
+
"text": "Size"
|
|
542
|
+
},
|
|
543
|
+
"description": "The size of the accordion item.",
|
|
544
|
+
"default": "'small'",
|
|
545
|
+
"attribute": "size",
|
|
546
|
+
"reflects": true
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
"kind": "field",
|
|
550
|
+
"name": "variant",
|
|
551
|
+
"type": {
|
|
552
|
+
"text": "Variant"
|
|
553
|
+
},
|
|
554
|
+
"description": "The variant of the accordion item. Based on the variant, the styling of the accordion gets changed.",
|
|
555
|
+
"default": "'stacked'",
|
|
556
|
+
"attribute": "variant",
|
|
557
|
+
"reflects": true
|
|
558
|
+
},
|
|
559
|
+
{
|
|
560
|
+
"kind": "field",
|
|
561
|
+
"name": "allowMultiple",
|
|
562
|
+
"type": {
|
|
563
|
+
"text": "boolean"
|
|
564
|
+
},
|
|
565
|
+
"default": "false",
|
|
566
|
+
"description": "If true, multiple accordion items can be visible at the same time.",
|
|
567
|
+
"attribute": "allow-multiple",
|
|
568
|
+
"reflects": true
|
|
569
|
+
},
|
|
570
|
+
{
|
|
571
|
+
"kind": "method",
|
|
572
|
+
"name": "handleAccordionExpanded",
|
|
573
|
+
"privacy": "private",
|
|
574
|
+
"return": {
|
|
575
|
+
"type": {
|
|
576
|
+
"text": "void"
|
|
577
|
+
}
|
|
578
|
+
},
|
|
579
|
+
"parameters": [
|
|
580
|
+
{
|
|
581
|
+
"name": "event",
|
|
582
|
+
"type": {
|
|
583
|
+
"text": "Event"
|
|
584
|
+
},
|
|
585
|
+
"description": "The event object from the 'shown' event."
|
|
586
|
+
}
|
|
587
|
+
],
|
|
588
|
+
"description": "Handles the 'shown' event for accordion items.\nIf `allowMultiple` is false, ensures that only one accordion item\nremains expanded by collapsing all other expanded items when a new item is expanded."
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
"kind": "method",
|
|
592
|
+
"name": "setChildrenAccordionAttributes",
|
|
593
|
+
"privacy": "private",
|
|
594
|
+
"return": {
|
|
595
|
+
"type": {
|
|
596
|
+
"text": "void"
|
|
597
|
+
}
|
|
598
|
+
},
|
|
599
|
+
"parameters": [
|
|
600
|
+
{
|
|
601
|
+
"name": "attributeName",
|
|
602
|
+
"type": {
|
|
603
|
+
"text": "string"
|
|
604
|
+
},
|
|
605
|
+
"description": "The name of the attribute to set."
|
|
606
|
+
},
|
|
607
|
+
{
|
|
608
|
+
"name": "attributeValue",
|
|
609
|
+
"type": {
|
|
610
|
+
"text": "string"
|
|
611
|
+
},
|
|
612
|
+
"description": "The value to set the attribute to."
|
|
613
|
+
}
|
|
614
|
+
],
|
|
615
|
+
"description": "Sets the given attribute on all child accordion or accordionbutton components."
|
|
616
|
+
}
|
|
617
|
+
],
|
|
618
|
+
"attributes": [
|
|
619
|
+
{
|
|
620
|
+
"name": "size",
|
|
621
|
+
"type": {
|
|
622
|
+
"text": "Size"
|
|
623
|
+
},
|
|
624
|
+
"description": "The size of the accordion item.",
|
|
625
|
+
"default": "'small'",
|
|
626
|
+
"fieldName": "size"
|
|
627
|
+
},
|
|
628
|
+
{
|
|
629
|
+
"name": "variant",
|
|
630
|
+
"type": {
|
|
631
|
+
"text": "Variant"
|
|
632
|
+
},
|
|
633
|
+
"description": "The variant of the accordion item. Based on the variant, the styling of the accordion gets changed.",
|
|
634
|
+
"default": "'stacked'",
|
|
635
|
+
"fieldName": "variant"
|
|
636
|
+
},
|
|
637
|
+
{
|
|
638
|
+
"name": "allow-multiple",
|
|
639
|
+
"type": {
|
|
640
|
+
"text": "boolean"
|
|
641
|
+
},
|
|
642
|
+
"default": "false",
|
|
643
|
+
"description": "If true, multiple accordion items can be visible at the same time.",
|
|
644
|
+
"fieldName": "allowMultiple"
|
|
645
|
+
}
|
|
646
|
+
],
|
|
647
|
+
"superclass": {
|
|
648
|
+
"name": "Component",
|
|
649
|
+
"module": "/src/models"
|
|
650
|
+
},
|
|
651
|
+
"tagName": "mdc-accordiongroup",
|
|
652
|
+
"jsDoc": "/**\n * An accordion group is a vertically stacked set of interactive headings that each contain a header and body content.\n * Each heading of the accordion acts as a control that enable users to expand or hide their associated body sections of content.\n * Accordions are commonly used to reduce the need to scroll when presenting multiple sections of content on a single page.\n *\n * - Default Slot: The accordion group component only accepts, `accordion` and `accordionbutton` components as the children, rest are ignored.\n *\n * There are three types of variants:\n * - Stacked - Each accordion will have a gap of 1.5rem (24px).\n * - Borderless - Each accordion will not have any border and the group will also not have any border.\n * - Contained - Each accordion will have no gap in between them and the border of the entire accordiongroup will be continuous.\n *\n * There are two types of sizes:\n * - Small: Small size has a padding of 1rem (16px) for both heading and body sections.\n * - Large: Large size has a padding of 1.5rem (24px) for both heading and body sections.\n *\n * The variant and size will be applied to all accordions inside this accordion group.\n * To show/expand more than one accordion at any given time, then set `allow-multiple` to `true`. By default, it's `false`.\n *\n * If you don't need any controls on your accordion heading, then it's advised to use `accordionbutton` component.\n *\n * If the first accordion of the accordion group is expanded by default, then the screen reader might loose focus when toggling the visibilty of the first accordion.\n *\n * @tagname mdc-accordiongroup\n *\n * @slot default - The default slot can contain the `accordion` or `accordionbutton` components.\n *\n * @cssproperty --mdc-accordiongroup-border-color - The border color of the entire accordiongroup\n */",
|
|
653
|
+
"customElement": true
|
|
654
|
+
}
|
|
655
|
+
],
|
|
656
|
+
"exports": [
|
|
657
|
+
{
|
|
658
|
+
"kind": "js",
|
|
659
|
+
"name": "default",
|
|
660
|
+
"declaration": {
|
|
661
|
+
"name": "AccordionGroup",
|
|
662
|
+
"module": "components/accordiongroup/accordiongroup.component.js"
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
]
|
|
666
|
+
},
|
|
516
667
|
{
|
|
517
668
|
"kind": "javascript-module",
|
|
518
669
|
"path": "components/accordionbutton/accordionbutton.component.js",
|
|
@@ -853,157 +1004,6 @@
|
|
|
853
1004
|
}
|
|
854
1005
|
]
|
|
855
1006
|
},
|
|
856
|
-
{
|
|
857
|
-
"kind": "javascript-module",
|
|
858
|
-
"path": "components/accordiongroup/accordiongroup.component.js",
|
|
859
|
-
"declarations": [
|
|
860
|
-
{
|
|
861
|
-
"kind": "class",
|
|
862
|
-
"description": "An accordion group is a vertically stacked set of interactive headings that each contain a header and body content.\nEach heading of the accordion acts as a control that enable users to expand or hide their associated body sections of content.\nAccordions are commonly used to reduce the need to scroll when presenting multiple sections of content on a single page.\n\n- Default Slot: The accordion group component only accepts, `accordion` and `accordionbutton` components as the children, rest are ignored.\n\nThere are three types of variants:\n- Stacked - Each accordion will have a gap of 1.5rem (24px).\n- Borderless - Each accordion will not have any border and the group will also not have any border.\n- Contained - Each accordion will have no gap in between them and the border of the entire accordiongroup will be continuous.\n\nThere are two types of sizes:\n- Small: Small size has a padding of 1rem (16px) for both heading and body sections.\n- Large: Large size has a padding of 1.5rem (24px) for both heading and body sections.\n\nThe variant and size will be applied to all accordions inside this accordion group.\nTo show/expand more than one accordion at any given time, then set `allow-multiple` to `true`. By default, it's `false`.\n\nIf you don't need any controls on your accordion heading, then it's advised to use `accordionbutton` component.\n\nIf the first accordion of the accordion group is expanded by default, then the screen reader might loose focus when toggling the visibilty of the first accordion.",
|
|
863
|
-
"name": "AccordionGroup",
|
|
864
|
-
"cssProperties": [
|
|
865
|
-
{
|
|
866
|
-
"description": "The border color of the entire accordiongroup",
|
|
867
|
-
"name": "--mdc-accordiongroup-border-color"
|
|
868
|
-
}
|
|
869
|
-
],
|
|
870
|
-
"slots": [
|
|
871
|
-
{
|
|
872
|
-
"description": "The default slot can contain the `accordion` or `accordionbutton` components.",
|
|
873
|
-
"name": "default"
|
|
874
|
-
}
|
|
875
|
-
],
|
|
876
|
-
"members": [
|
|
877
|
-
{
|
|
878
|
-
"kind": "field",
|
|
879
|
-
"name": "size",
|
|
880
|
-
"type": {
|
|
881
|
-
"text": "Size"
|
|
882
|
-
},
|
|
883
|
-
"description": "The size of the accordion item.",
|
|
884
|
-
"default": "'small'",
|
|
885
|
-
"attribute": "size",
|
|
886
|
-
"reflects": true
|
|
887
|
-
},
|
|
888
|
-
{
|
|
889
|
-
"kind": "field",
|
|
890
|
-
"name": "variant",
|
|
891
|
-
"type": {
|
|
892
|
-
"text": "Variant"
|
|
893
|
-
},
|
|
894
|
-
"description": "The variant of the accordion item. Based on the variant, the styling of the accordion gets changed.",
|
|
895
|
-
"default": "'stacked'",
|
|
896
|
-
"attribute": "variant",
|
|
897
|
-
"reflects": true
|
|
898
|
-
},
|
|
899
|
-
{
|
|
900
|
-
"kind": "field",
|
|
901
|
-
"name": "allowMultiple",
|
|
902
|
-
"type": {
|
|
903
|
-
"text": "boolean"
|
|
904
|
-
},
|
|
905
|
-
"default": "false",
|
|
906
|
-
"description": "If true, multiple accordion items can be visible at the same time.",
|
|
907
|
-
"attribute": "allow-multiple",
|
|
908
|
-
"reflects": true
|
|
909
|
-
},
|
|
910
|
-
{
|
|
911
|
-
"kind": "method",
|
|
912
|
-
"name": "handleAccordionExpanded",
|
|
913
|
-
"privacy": "private",
|
|
914
|
-
"return": {
|
|
915
|
-
"type": {
|
|
916
|
-
"text": "void"
|
|
917
|
-
}
|
|
918
|
-
},
|
|
919
|
-
"parameters": [
|
|
920
|
-
{
|
|
921
|
-
"name": "event",
|
|
922
|
-
"type": {
|
|
923
|
-
"text": "Event"
|
|
924
|
-
},
|
|
925
|
-
"description": "The event object from the 'shown' event."
|
|
926
|
-
}
|
|
927
|
-
],
|
|
928
|
-
"description": "Handles the 'shown' event for accordion items.\nIf `allowMultiple` is false, ensures that only one accordion item\nremains expanded by collapsing all other expanded items when a new item is expanded."
|
|
929
|
-
},
|
|
930
|
-
{
|
|
931
|
-
"kind": "method",
|
|
932
|
-
"name": "setChildrenAccordionAttributes",
|
|
933
|
-
"privacy": "private",
|
|
934
|
-
"return": {
|
|
935
|
-
"type": {
|
|
936
|
-
"text": "void"
|
|
937
|
-
}
|
|
938
|
-
},
|
|
939
|
-
"parameters": [
|
|
940
|
-
{
|
|
941
|
-
"name": "attributeName",
|
|
942
|
-
"type": {
|
|
943
|
-
"text": "string"
|
|
944
|
-
},
|
|
945
|
-
"description": "The name of the attribute to set."
|
|
946
|
-
},
|
|
947
|
-
{
|
|
948
|
-
"name": "attributeValue",
|
|
949
|
-
"type": {
|
|
950
|
-
"text": "string"
|
|
951
|
-
},
|
|
952
|
-
"description": "The value to set the attribute to."
|
|
953
|
-
}
|
|
954
|
-
],
|
|
955
|
-
"description": "Sets the given attribute on all child accordion or accordionbutton components."
|
|
956
|
-
}
|
|
957
|
-
],
|
|
958
|
-
"attributes": [
|
|
959
|
-
{
|
|
960
|
-
"name": "size",
|
|
961
|
-
"type": {
|
|
962
|
-
"text": "Size"
|
|
963
|
-
},
|
|
964
|
-
"description": "The size of the accordion item.",
|
|
965
|
-
"default": "'small'",
|
|
966
|
-
"fieldName": "size"
|
|
967
|
-
},
|
|
968
|
-
{
|
|
969
|
-
"name": "variant",
|
|
970
|
-
"type": {
|
|
971
|
-
"text": "Variant"
|
|
972
|
-
},
|
|
973
|
-
"description": "The variant of the accordion item. Based on the variant, the styling of the accordion gets changed.",
|
|
974
|
-
"default": "'stacked'",
|
|
975
|
-
"fieldName": "variant"
|
|
976
|
-
},
|
|
977
|
-
{
|
|
978
|
-
"name": "allow-multiple",
|
|
979
|
-
"type": {
|
|
980
|
-
"text": "boolean"
|
|
981
|
-
},
|
|
982
|
-
"default": "false",
|
|
983
|
-
"description": "If true, multiple accordion items can be visible at the same time.",
|
|
984
|
-
"fieldName": "allowMultiple"
|
|
985
|
-
}
|
|
986
|
-
],
|
|
987
|
-
"superclass": {
|
|
988
|
-
"name": "Component",
|
|
989
|
-
"module": "/src/models"
|
|
990
|
-
},
|
|
991
|
-
"tagName": "mdc-accordiongroup",
|
|
992
|
-
"jsDoc": "/**\n * An accordion group is a vertically stacked set of interactive headings that each contain a header and body content.\n * Each heading of the accordion acts as a control that enable users to expand or hide their associated body sections of content.\n * Accordions are commonly used to reduce the need to scroll when presenting multiple sections of content on a single page.\n *\n * - Default Slot: The accordion group component only accepts, `accordion` and `accordionbutton` components as the children, rest are ignored.\n *\n * There are three types of variants:\n * - Stacked - Each accordion will have a gap of 1.5rem (24px).\n * - Borderless - Each accordion will not have any border and the group will also not have any border.\n * - Contained - Each accordion will have no gap in between them and the border of the entire accordiongroup will be continuous.\n *\n * There are two types of sizes:\n * - Small: Small size has a padding of 1rem (16px) for both heading and body sections.\n * - Large: Large size has a padding of 1.5rem (24px) for both heading and body sections.\n *\n * The variant and size will be applied to all accordions inside this accordion group.\n * To show/expand more than one accordion at any given time, then set `allow-multiple` to `true`. By default, it's `false`.\n *\n * If you don't need any controls on your accordion heading, then it's advised to use `accordionbutton` component.\n *\n * If the first accordion of the accordion group is expanded by default, then the screen reader might loose focus when toggling the visibilty of the first accordion.\n *\n * @tagname mdc-accordiongroup\n *\n * @slot default - The default slot can contain the `accordion` or `accordionbutton` components.\n *\n * @cssproperty --mdc-accordiongroup-border-color - The border color of the entire accordiongroup\n */",
|
|
993
|
-
"customElement": true
|
|
994
|
-
}
|
|
995
|
-
],
|
|
996
|
-
"exports": [
|
|
997
|
-
{
|
|
998
|
-
"kind": "js",
|
|
999
|
-
"name": "default",
|
|
1000
|
-
"declaration": {
|
|
1001
|
-
"name": "AccordionGroup",
|
|
1002
|
-
"module": "components/accordiongroup/accordiongroup.component.js"
|
|
1003
|
-
}
|
|
1004
|
-
}
|
|
1005
|
-
]
|
|
1006
|
-
},
|
|
1007
1007
|
{
|
|
1008
1008
|
"kind": "javascript-module",
|
|
1009
1009
|
"path": "components/alertchip/alertchip.component.js",
|
|
@@ -29168,7 +29168,7 @@
|
|
|
29168
29168
|
"declarations": [
|
|
29169
29169
|
{
|
|
29170
29170
|
"kind": "class",
|
|
29171
|
-
"description": "`mdc-menusection` is a container element used to group a set of menu items.\n\nThis component supports a mix of `menuitem`, `menuitemcheckbox`, and `menuitemradio` components.\n\n- If multiple `menuitemradio` components are slotted into the section, the group enforces a single-selection rule:\n only one radio item can be selected at a time.\n- If `menuitemcheckbox` components are included, their checked state can be toggled independently.",
|
|
29171
|
+
"description": "`mdc-menusection` is a container element used to group a set of menu items.\n\nThis component supports a mix of `menuitem`, `menuitemcheckbox`, and `menuitemradio` components. MenuSection can not be nested.\n\n- If multiple `menuitemradio` components are slotted into the section, the group enforces a single-selection rule:\n only one radio item can be selected at a time.\n- If `menuitemcheckbox` components are included, their checked state can be toggled independently.",
|
|
29172
29172
|
"name": "MenuSection",
|
|
29173
29173
|
"cssProperties": [
|
|
29174
29174
|
{
|
|
@@ -29329,7 +29329,7 @@
|
|
|
29329
29329
|
"module": "/src/models"
|
|
29330
29330
|
},
|
|
29331
29331
|
"tagName": "mdc-menusection",
|
|
29332
|
-
"jsDoc": "/**\n * `mdc-menusection` is a container element used to group a set of menu items.\n *\n * This component supports a mix of `menuitem`, `menuitemcheckbox`, and `menuitemradio` components.\n *\n * - If multiple `menuitemradio` components are slotted into the section, the group enforces a single-selection rule:\n * only one radio item can be selected at a time.\n * - If `menuitemcheckbox` components are included, their checked state can be toggled independently.\n *\n * @tagname mdc-menusection\n *\n * @slot - Default slot for inserting `menuitem`, `menuitemcheckbox`, or `menuitemradio`\n *\n * @event change - (React: onChange) This event is dispatched when a `menuitemcheckbox`, or `menuitemradio` changes.\n * @event action - (React: onAction) This event is dispatched when a `menuitem` selected.\n *\n * @csspart header - The header of the menusection.\n * @csspart align-header - The header of the menusection when it is aligned to the start.\n * @csspart container - The container of the menusection.\n * @csspart divider - The divider of the menusection.\n *\n * @cssproperty --mdc-menusection-divider-margin-block - Sets the margin block of the divider.\n * @cssproperty --mdc-menusection-gap - Sets the gap between items in the menusection.\n * @cssproperty --mdc-menusection-divider-width - Sets the width of the divider.\n * @cssproperty --mdc-menusection-header-padding - Sets the padding of the header, if present.\n */",
|
|
29332
|
+
"jsDoc": "/**\n * `mdc-menusection` is a container element used to group a set of menu items.\n *\n * This component supports a mix of `menuitem`, `menuitemcheckbox`, and `menuitemradio` components. MenuSection can not be nested.\n *\n * - If multiple `menuitemradio` components are slotted into the section, the group enforces a single-selection rule:\n * only one radio item can be selected at a time.\n * - If `menuitemcheckbox` components are included, their checked state can be toggled independently.\n *\n * @tagname mdc-menusection\n *\n * @slot - Default slot for inserting `menuitem`, `menuitemcheckbox`, or `menuitemradio`\n *\n * @event change - (React: onChange) This event is dispatched when a `menuitemcheckbox`, or `menuitemradio` changes.\n * @event action - (React: onAction) This event is dispatched when a `menuitem` selected.\n *\n * @csspart header - The header of the menusection.\n * @csspart align-header - The header of the menusection when it is aligned to the start.\n * @csspart container - The container of the menusection.\n * @csspart divider - The divider of the menusection.\n *\n * @cssproperty --mdc-menusection-divider-margin-block - Sets the margin block of the divider.\n * @cssproperty --mdc-menusection-gap - Sets the gap between items in the menusection.\n * @cssproperty --mdc-menusection-divider-width - Sets the width of the divider.\n * @cssproperty --mdc-menusection-header-padding - Sets the padding of the header, if present.\n */",
|
|
29333
29333
|
"customElement": true
|
|
29334
29334
|
}
|
|
29335
29335
|
],
|
|
@@ -29708,6 +29708,17 @@
|
|
|
29708
29708
|
"attribute": "tooltip-placement",
|
|
29709
29709
|
"reflects": true
|
|
29710
29710
|
},
|
|
29711
|
+
{
|
|
29712
|
+
"kind": "field",
|
|
29713
|
+
"name": "tooltipType",
|
|
29714
|
+
"type": {
|
|
29715
|
+
"text": "TooltipType | undefined"
|
|
29716
|
+
},
|
|
29717
|
+
"description": "The type of tooltip to display.\nOptions are 'description', 'label', or 'none'.\n\nChoose none to not apply any aria-attributes - this\nis useful if the navmenuitem has a aria-label already set.",
|
|
29718
|
+
"default": "undefined",
|
|
29719
|
+
"attribute": "tooltip-type",
|
|
29720
|
+
"reflects": true
|
|
29721
|
+
},
|
|
29711
29722
|
{
|
|
29712
29723
|
"kind": "field",
|
|
29713
29724
|
"name": "tooltipAppearance",
|
|
@@ -30408,6 +30419,15 @@
|
|
|
30408
30419
|
"description": "The placement of the tooltip relative to the nav item.",
|
|
30409
30420
|
"fieldName": "tooltipPlacement"
|
|
30410
30421
|
},
|
|
30422
|
+
{
|
|
30423
|
+
"name": "tooltip-type",
|
|
30424
|
+
"type": {
|
|
30425
|
+
"text": "TooltipType | undefined"
|
|
30426
|
+
},
|
|
30427
|
+
"description": "The type of tooltip to display.\nOptions are 'description', 'label', or 'none'.\n\nChoose none to not apply any aria-attributes - this\nis useful if the navmenuitem has a aria-label already set.",
|
|
30428
|
+
"default": "undefined",
|
|
30429
|
+
"fieldName": "tooltipType"
|
|
30430
|
+
},
|
|
30411
30431
|
{
|
|
30412
30432
|
"name": "tooltip-appearance",
|
|
30413
30433
|
"type": {
|
|
@@ -45168,6 +45188,94 @@
|
|
|
45168
45188
|
}
|
|
45169
45189
|
]
|
|
45170
45190
|
},
|
|
45191
|
+
{
|
|
45192
|
+
"kind": "javascript-module",
|
|
45193
|
+
"path": "components/stepperconnector/stepperconnector.component.js",
|
|
45194
|
+
"declarations": [
|
|
45195
|
+
{
|
|
45196
|
+
"kind": "class",
|
|
45197
|
+
"description": "StepperConnector component visually represents the connection between two stepper items.\nIndicates whether the connection is complete or incomplete, and supports vertical or horizontal orientation.\nThey are used between 2 `mdc-stepperitem` components to visually connect them and wrapped in a `mdc-stepper` component.",
|
|
45198
|
+
"name": "StepperConnector",
|
|
45199
|
+
"cssProperties": [
|
|
45200
|
+
{
|
|
45201
|
+
"description": "Background color for the complete connector",
|
|
45202
|
+
"name": "--mdc-stepperconnector-complete-background"
|
|
45203
|
+
},
|
|
45204
|
+
{
|
|
45205
|
+
"description": "Background color for the incomplete connector",
|
|
45206
|
+
"name": "--mdc-stepperconnector-incomplete-background"
|
|
45207
|
+
}
|
|
45208
|
+
],
|
|
45209
|
+
"cssParts": [
|
|
45210
|
+
{
|
|
45211
|
+
"description": "The main connector line between steps",
|
|
45212
|
+
"name": "connector"
|
|
45213
|
+
}
|
|
45214
|
+
],
|
|
45215
|
+
"members": [
|
|
45216
|
+
{
|
|
45217
|
+
"kind": "field",
|
|
45218
|
+
"name": "status",
|
|
45219
|
+
"type": {
|
|
45220
|
+
"text": "StatusType"
|
|
45221
|
+
},
|
|
45222
|
+
"description": "The status of the connector (complete or incomplete)",
|
|
45223
|
+
"default": "\"incomplete\"",
|
|
45224
|
+
"attribute": "status",
|
|
45225
|
+
"reflects": true
|
|
45226
|
+
},
|
|
45227
|
+
{
|
|
45228
|
+
"kind": "field",
|
|
45229
|
+
"name": "orientation",
|
|
45230
|
+
"type": {
|
|
45231
|
+
"text": "OrientationType"
|
|
45232
|
+
},
|
|
45233
|
+
"description": "The orientation of the connector (vertical or horizontal)",
|
|
45234
|
+
"default": "\"horizontal\"",
|
|
45235
|
+
"attribute": "orientation",
|
|
45236
|
+
"reflects": true
|
|
45237
|
+
}
|
|
45238
|
+
],
|
|
45239
|
+
"attributes": [
|
|
45240
|
+
{
|
|
45241
|
+
"name": "status",
|
|
45242
|
+
"type": {
|
|
45243
|
+
"text": "StatusType"
|
|
45244
|
+
},
|
|
45245
|
+
"description": "The status of the connector (complete or incomplete)",
|
|
45246
|
+
"default": "\"incomplete\"",
|
|
45247
|
+
"fieldName": "status"
|
|
45248
|
+
},
|
|
45249
|
+
{
|
|
45250
|
+
"name": "orientation",
|
|
45251
|
+
"type": {
|
|
45252
|
+
"text": "OrientationType"
|
|
45253
|
+
},
|
|
45254
|
+
"description": "The orientation of the connector (vertical or horizontal)",
|
|
45255
|
+
"default": "\"horizontal\"",
|
|
45256
|
+
"fieldName": "orientation"
|
|
45257
|
+
}
|
|
45258
|
+
],
|
|
45259
|
+
"superclass": {
|
|
45260
|
+
"name": "Component",
|
|
45261
|
+
"module": "/src/models"
|
|
45262
|
+
},
|
|
45263
|
+
"tagName": "mdc-stepperconnector",
|
|
45264
|
+
"jsDoc": "/**\n * StepperConnector component visually represents the connection between two stepper items.\n * Indicates whether the connection is complete or incomplete, and supports vertical or horizontal orientation.\n * They are used between 2 `mdc-stepperitem` components to visually connect them and wrapped in a `mdc-stepper` component.\n *\n * @tagname mdc-stepperconnector\n *\n * @csspart connector - The main connector line between steps\n *\n * @cssproperty --mdc-stepperconnector-complete-background - Background color for the complete connector\n * @cssproperty --mdc-stepperconnector-incomplete-background - Background color for the incomplete connector\n */",
|
|
45265
|
+
"customElement": true
|
|
45266
|
+
}
|
|
45267
|
+
],
|
|
45268
|
+
"exports": [
|
|
45269
|
+
{
|
|
45270
|
+
"kind": "js",
|
|
45271
|
+
"name": "default",
|
|
45272
|
+
"declaration": {
|
|
45273
|
+
"name": "StepperConnector",
|
|
45274
|
+
"module": "components/stepperconnector/stepperconnector.component.js"
|
|
45275
|
+
}
|
|
45276
|
+
}
|
|
45277
|
+
]
|
|
45278
|
+
},
|
|
45171
45279
|
{
|
|
45172
45280
|
"kind": "javascript-module",
|
|
45173
45281
|
"path": "components/stepperitem/stepperitem.component.js",
|
|
@@ -46482,94 +46590,6 @@
|
|
|
46482
46590
|
}
|
|
46483
46591
|
]
|
|
46484
46592
|
},
|
|
46485
|
-
{
|
|
46486
|
-
"kind": "javascript-module",
|
|
46487
|
-
"path": "components/stepperconnector/stepperconnector.component.js",
|
|
46488
|
-
"declarations": [
|
|
46489
|
-
{
|
|
46490
|
-
"kind": "class",
|
|
46491
|
-
"description": "StepperConnector component visually represents the connection between two stepper items.\nIndicates whether the connection is complete or incomplete, and supports vertical or horizontal orientation.\nThey are used between 2 `mdc-stepperitem` components to visually connect them and wrapped in a `mdc-stepper` component.",
|
|
46492
|
-
"name": "StepperConnector",
|
|
46493
|
-
"cssProperties": [
|
|
46494
|
-
{
|
|
46495
|
-
"description": "Background color for the complete connector",
|
|
46496
|
-
"name": "--mdc-stepperconnector-complete-background"
|
|
46497
|
-
},
|
|
46498
|
-
{
|
|
46499
|
-
"description": "Background color for the incomplete connector",
|
|
46500
|
-
"name": "--mdc-stepperconnector-incomplete-background"
|
|
46501
|
-
}
|
|
46502
|
-
],
|
|
46503
|
-
"cssParts": [
|
|
46504
|
-
{
|
|
46505
|
-
"description": "The main connector line between steps",
|
|
46506
|
-
"name": "connector"
|
|
46507
|
-
}
|
|
46508
|
-
],
|
|
46509
|
-
"members": [
|
|
46510
|
-
{
|
|
46511
|
-
"kind": "field",
|
|
46512
|
-
"name": "status",
|
|
46513
|
-
"type": {
|
|
46514
|
-
"text": "StatusType"
|
|
46515
|
-
},
|
|
46516
|
-
"description": "The status of the connector (complete or incomplete)",
|
|
46517
|
-
"default": "\"incomplete\"",
|
|
46518
|
-
"attribute": "status",
|
|
46519
|
-
"reflects": true
|
|
46520
|
-
},
|
|
46521
|
-
{
|
|
46522
|
-
"kind": "field",
|
|
46523
|
-
"name": "orientation",
|
|
46524
|
-
"type": {
|
|
46525
|
-
"text": "OrientationType"
|
|
46526
|
-
},
|
|
46527
|
-
"description": "The orientation of the connector (vertical or horizontal)",
|
|
46528
|
-
"default": "\"horizontal\"",
|
|
46529
|
-
"attribute": "orientation",
|
|
46530
|
-
"reflects": true
|
|
46531
|
-
}
|
|
46532
|
-
],
|
|
46533
|
-
"attributes": [
|
|
46534
|
-
{
|
|
46535
|
-
"name": "status",
|
|
46536
|
-
"type": {
|
|
46537
|
-
"text": "StatusType"
|
|
46538
|
-
},
|
|
46539
|
-
"description": "The status of the connector (complete or incomplete)",
|
|
46540
|
-
"default": "\"incomplete\"",
|
|
46541
|
-
"fieldName": "status"
|
|
46542
|
-
},
|
|
46543
|
-
{
|
|
46544
|
-
"name": "orientation",
|
|
46545
|
-
"type": {
|
|
46546
|
-
"text": "OrientationType"
|
|
46547
|
-
},
|
|
46548
|
-
"description": "The orientation of the connector (vertical or horizontal)",
|
|
46549
|
-
"default": "\"horizontal\"",
|
|
46550
|
-
"fieldName": "orientation"
|
|
46551
|
-
}
|
|
46552
|
-
],
|
|
46553
|
-
"superclass": {
|
|
46554
|
-
"name": "Component",
|
|
46555
|
-
"module": "/src/models"
|
|
46556
|
-
},
|
|
46557
|
-
"tagName": "mdc-stepperconnector",
|
|
46558
|
-
"jsDoc": "/**\n * StepperConnector component visually represents the connection between two stepper items.\n * Indicates whether the connection is complete or incomplete, and supports vertical or horizontal orientation.\n * They are used between 2 `mdc-stepperitem` components to visually connect them and wrapped in a `mdc-stepper` component.\n *\n * @tagname mdc-stepperconnector\n *\n * @csspart connector - The main connector line between steps\n *\n * @cssproperty --mdc-stepperconnector-complete-background - Background color for the complete connector\n * @cssproperty --mdc-stepperconnector-incomplete-background - Background color for the incomplete connector\n */",
|
|
46559
|
-
"customElement": true
|
|
46560
|
-
}
|
|
46561
|
-
],
|
|
46562
|
-
"exports": [
|
|
46563
|
-
{
|
|
46564
|
-
"kind": "js",
|
|
46565
|
-
"name": "default",
|
|
46566
|
-
"declaration": {
|
|
46567
|
-
"name": "StepperConnector",
|
|
46568
|
-
"module": "components/stepperconnector/stepperconnector.component.js"
|
|
46569
|
-
}
|
|
46570
|
-
}
|
|
46571
|
-
]
|
|
46572
|
-
},
|
|
46573
46593
|
{
|
|
46574
46594
|
"kind": "javascript-module",
|
|
46575
46595
|
"path": "components/text/text.component.js",
|
package/dist/react/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { default as Accordion } from './accordion';
|
|
2
|
-
export { default as AccordionButton } from './accordionbutton';
|
|
3
2
|
export { default as AccordionGroup } from './accordiongroup';
|
|
3
|
+
export { default as AccordionButton } from './accordionbutton';
|
|
4
4
|
export { default as AlertChip } from './alertchip';
|
|
5
5
|
export { default as Animation } from './animation';
|
|
6
6
|
export { default as AnnouncementDialog } from './announcementdialog';
|
|
@@ -74,10 +74,10 @@ export { default as StaticChip } from './staticchip';
|
|
|
74
74
|
export { default as StaticRadio } from './staticradio';
|
|
75
75
|
export { default as StaticToggle } from './statictoggle';
|
|
76
76
|
export { default as Stepper } from './stepper';
|
|
77
|
+
export { default as StepperConnector } from './stepperconnector';
|
|
77
78
|
export { default as StepperItem } from './stepperitem';
|
|
78
79
|
export { default as Tab } from './tab';
|
|
79
80
|
export { default as TabList } from './tablist';
|
|
80
|
-
export { default as StepperConnector } from './stepperconnector';
|
|
81
81
|
export { default as Text } from './text';
|
|
82
82
|
export { default as Textarea } from './textarea';
|
|
83
83
|
export { default as ThemeProvider } from './themeprovider';
|
package/dist/react/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { default as Accordion } from './accordion';
|
|
2
|
-
export { default as AccordionButton } from './accordionbutton';
|
|
3
2
|
export { default as AccordionGroup } from './accordiongroup';
|
|
3
|
+
export { default as AccordionButton } from './accordionbutton';
|
|
4
4
|
export { default as AlertChip } from './alertchip';
|
|
5
5
|
export { default as Animation } from './animation';
|
|
6
6
|
export { default as AnnouncementDialog } from './announcementdialog';
|
|
@@ -74,10 +74,10 @@ export { default as StaticChip } from './staticchip';
|
|
|
74
74
|
export { default as StaticRadio } from './staticradio';
|
|
75
75
|
export { default as StaticToggle } from './statictoggle';
|
|
76
76
|
export { default as Stepper } from './stepper';
|
|
77
|
+
export { default as StepperConnector } from './stepperconnector';
|
|
77
78
|
export { default as StepperItem } from './stepperitem';
|
|
78
79
|
export { default as Tab } from './tab';
|
|
79
80
|
export { default as TabList } from './tablist';
|
|
80
|
-
export { default as StepperConnector } from './stepperconnector';
|
|
81
81
|
export { default as Text } from './text';
|
|
82
82
|
export { default as Textarea } from './textarea';
|
|
83
83
|
export { default as ThemeProvider } from './themeprovider';
|
|
@@ -4,7 +4,7 @@ import type { Events } from '../../components/menusection/menusection.types';
|
|
|
4
4
|
/**
|
|
5
5
|
* `mdc-menusection` is a container element used to group a set of menu items.
|
|
6
6
|
*
|
|
7
|
-
* This component supports a mix of `menuitem`, `menuitemcheckbox`, and `menuitemradio` components.
|
|
7
|
+
* This component supports a mix of `menuitem`, `menuitemcheckbox`, and `menuitemradio` components. MenuSection can not be nested.
|
|
8
8
|
*
|
|
9
9
|
* - If multiple `menuitemradio` components are slotted into the section, the group enforces a single-selection rule:
|
|
10
10
|
* only one radio item can be selected at a time.
|
|
@@ -5,7 +5,7 @@ import { TAG_NAME } from '../../components/menusection/menusection.constants';
|
|
|
5
5
|
/**
|
|
6
6
|
* `mdc-menusection` is a container element used to group a set of menu items.
|
|
7
7
|
*
|
|
8
|
-
* This component supports a mix of `menuitem`, `menuitemcheckbox`, and `menuitemradio` components.
|
|
8
|
+
* This component supports a mix of `menuitem`, `menuitemcheckbox`, and `menuitemradio` components. MenuSection can not be nested.
|
|
9
9
|
*
|
|
10
10
|
* - If multiple `menuitemradio` components are slotted into the section, the group enforces a single-selection rule:
|
|
11
11
|
* only one radio item can be selected at a time.
|