@momentum-design/components 0.121.3 → 0.121.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 +14 -14
- package/dist/browser/index.js.map +2 -2
- package/dist/components/slider/slider.component.d.ts +4 -0
- package/dist/components/slider/slider.component.js +9 -1
- package/dist/components/slider/slider.types.d.ts +1 -1
- package/dist/custom-elements.json +880 -862
- package/dist/index.d.ts +2 -1
- package/dist/react/index.d.ts +3 -3
- package/dist/react/index.js +3 -3
- package/package.json +1 -1
|
@@ -477,346 +477,6 @@
|
|
|
477
477
|
}
|
|
478
478
|
]
|
|
479
479
|
},
|
|
480
|
-
{
|
|
481
|
-
"kind": "javascript-module",
|
|
482
|
-
"path": "components/accordionbutton/accordionbutton.component.js",
|
|
483
|
-
"declarations": [
|
|
484
|
-
{
|
|
485
|
-
"kind": "class",
|
|
486
|
-
"description": "An accordion button contains a header and body section with optional slots inside the heading which are focusable.\n\nThe header section contains:\n- Prefix Icon\n- Header Text\n\nThe body section contains:\n- Default slot - User can place any content inside the body section.\n\nThe accordion button can be expanded or collapsed. The visibility of the body section can be controlled by `expanded` attribute. <br/>\nThere are two types of variants based on that the border styling of the accordion gets reflected. <br/>\nThere are two sizes of accordion, one is small and the other is large.\nSmall size has a padding of 1rem (16px) and large size has a padding of 1.5rem (24px) for the body section of accordion.\n\nBy default, the header text in the accordion heading is of H3 with an aria-level of '3'.\nIf this accordion is placed on any other level in the entire webpage, then do adjust the aria-level number based on that.\n\nAn accordion can be disabled, and when it's disabled, the header section will not be clickable.\n\nIf you do need any controls on your accordion heading, then it's advised to use `accordion` component.\n\nIf an accordion button is expanded by default, then the screen reader might loose focus when toggling the visibilty of the accordion button.",
|
|
487
|
-
"name": "AccordionButton",
|
|
488
|
-
"cssProperties": [
|
|
489
|
-
{
|
|
490
|
-
"description": "The border color of the accordion button.",
|
|
491
|
-
"name": "--mdc-accordionbutton-border-color"
|
|
492
|
-
},
|
|
493
|
-
{
|
|
494
|
-
"description": "The hover color of the accordion button.",
|
|
495
|
-
"name": "--mdc-accordionbutton-hover-color"
|
|
496
|
-
},
|
|
497
|
-
{
|
|
498
|
-
"description": "The active color of the accordion button.",
|
|
499
|
-
"name": "--mdc-accordionbutton-active-color"
|
|
500
|
-
},
|
|
501
|
-
{
|
|
502
|
-
"description": "The disabled color of the accordion button.",
|
|
503
|
-
"name": "--mdc-accordionbutton-disabled-color"
|
|
504
|
-
}
|
|
505
|
-
],
|
|
506
|
-
"cssParts": [
|
|
507
|
-
{
|
|
508
|
-
"description": "The body section of the accordion button.",
|
|
509
|
-
"name": "body-section"
|
|
510
|
-
},
|
|
511
|
-
{
|
|
512
|
-
"description": "The header button section of the accordion button.",
|
|
513
|
-
"name": "header-button-section"
|
|
514
|
-
},
|
|
515
|
-
{
|
|
516
|
-
"description": "The header section of the accordion button.",
|
|
517
|
-
"name": "header-section"
|
|
518
|
-
},
|
|
519
|
-
{
|
|
520
|
-
"description": "The leading header of the accordion button.",
|
|
521
|
-
"name": "leading-header"
|
|
522
|
-
},
|
|
523
|
-
{
|
|
524
|
-
"description": "The trailing header of the accordion button.",
|
|
525
|
-
"name": "trailing-header"
|
|
526
|
-
},
|
|
527
|
-
{
|
|
528
|
-
"description": "The trailing header icon of the accordion button.",
|
|
529
|
-
"name": "trailing-header__icon"
|
|
530
|
-
}
|
|
531
|
-
],
|
|
532
|
-
"slots": [
|
|
533
|
-
{
|
|
534
|
-
"description": "The default slot contains the body section of the accordion. User can place anything inside this body slot.",
|
|
535
|
-
"name": "default"
|
|
536
|
-
}
|
|
537
|
-
],
|
|
538
|
-
"members": [
|
|
539
|
-
{
|
|
540
|
-
"kind": "field",
|
|
541
|
-
"name": "size",
|
|
542
|
-
"type": {
|
|
543
|
-
"text": "Size"
|
|
544
|
-
},
|
|
545
|
-
"description": "The size of the accordion item.",
|
|
546
|
-
"default": "'small'",
|
|
547
|
-
"attribute": "size",
|
|
548
|
-
"reflects": true
|
|
549
|
-
},
|
|
550
|
-
{
|
|
551
|
-
"kind": "field",
|
|
552
|
-
"name": "variant",
|
|
553
|
-
"type": {
|
|
554
|
-
"text": "Variant"
|
|
555
|
-
},
|
|
556
|
-
"description": "The variant of the accordion item. Based on the variant, the styling of the accordion gets changed.",
|
|
557
|
-
"default": "'default'",
|
|
558
|
-
"attribute": "variant",
|
|
559
|
-
"reflects": true
|
|
560
|
-
},
|
|
561
|
-
{
|
|
562
|
-
"kind": "field",
|
|
563
|
-
"name": "dataAriaLevel",
|
|
564
|
-
"type": {
|
|
565
|
-
"text": "number"
|
|
566
|
-
},
|
|
567
|
-
"description": "The aria level of the accordion component.",
|
|
568
|
-
"default": "3",
|
|
569
|
-
"attribute": "data-aria-level",
|
|
570
|
-
"reflects": true
|
|
571
|
-
},
|
|
572
|
-
{
|
|
573
|
-
"kind": "field",
|
|
574
|
-
"name": "expanded",
|
|
575
|
-
"type": {
|
|
576
|
-
"text": "boolean"
|
|
577
|
-
},
|
|
578
|
-
"description": "The visibility of the accordion button.",
|
|
579
|
-
"default": "false",
|
|
580
|
-
"attribute": "expanded",
|
|
581
|
-
"reflects": true
|
|
582
|
-
},
|
|
583
|
-
{
|
|
584
|
-
"kind": "field",
|
|
585
|
-
"name": "headerText",
|
|
586
|
-
"type": {
|
|
587
|
-
"text": "string | undefined"
|
|
588
|
-
},
|
|
589
|
-
"description": "The header text of the accordion item.",
|
|
590
|
-
"attribute": "header-text",
|
|
591
|
-
"reflects": true
|
|
592
|
-
},
|
|
593
|
-
{
|
|
594
|
-
"kind": "field",
|
|
595
|
-
"name": "prefixIcon",
|
|
596
|
-
"type": {
|
|
597
|
-
"text": "IconNames | undefined"
|
|
598
|
-
},
|
|
599
|
-
"description": "The leading icon that is displayed before the header text.",
|
|
600
|
-
"attribute": "prefix-icon"
|
|
601
|
-
},
|
|
602
|
-
{
|
|
603
|
-
"kind": "method",
|
|
604
|
-
"name": "handleHeaderClick",
|
|
605
|
-
"privacy": "protected",
|
|
606
|
-
"return": {
|
|
607
|
-
"type": {
|
|
608
|
-
"text": "void"
|
|
609
|
-
}
|
|
610
|
-
},
|
|
611
|
-
"description": "Handles the click event of the header section.\nIf the accordion is disabled, it will not toggle the expanded state.\nIt will dispatch the `shown` event with the current expanded state."
|
|
612
|
-
},
|
|
613
|
-
{
|
|
614
|
-
"kind": "method",
|
|
615
|
-
"name": "dispatchHeaderClickEvent",
|
|
616
|
-
"privacy": "private",
|
|
617
|
-
"return": {
|
|
618
|
-
"type": {
|
|
619
|
-
"text": "void"
|
|
620
|
-
}
|
|
621
|
-
},
|
|
622
|
-
"description": "Dispatches the `shown` event with the current expanded state.\nThe event is cancelable and bubbles.\nThe event detail contains the current expanded state."
|
|
623
|
-
},
|
|
624
|
-
{
|
|
625
|
-
"kind": "method",
|
|
626
|
-
"name": "handleKeyDown",
|
|
627
|
-
"privacy": "private",
|
|
628
|
-
"return": {
|
|
629
|
-
"type": {
|
|
630
|
-
"text": "void"
|
|
631
|
-
}
|
|
632
|
-
},
|
|
633
|
-
"parameters": [
|
|
634
|
-
{
|
|
635
|
-
"name": "event",
|
|
636
|
-
"type": {
|
|
637
|
-
"text": "KeyboardEvent"
|
|
638
|
-
},
|
|
639
|
-
"description": "The KeyboardEvent fired."
|
|
640
|
-
}
|
|
641
|
-
],
|
|
642
|
-
"description": "Handles the keydown event of the component.\nIf the key pressed is either Enter or Space, it calls the handleHeaderClick method.\nThis allows keyboard users to toggle the accordion button using these keys."
|
|
643
|
-
},
|
|
644
|
-
{
|
|
645
|
-
"kind": "method",
|
|
646
|
-
"name": "renderIcon",
|
|
647
|
-
"privacy": "protected",
|
|
648
|
-
"return": {
|
|
649
|
-
"type": {
|
|
650
|
-
"text": "TemplateResult | typeof nothing"
|
|
651
|
-
}
|
|
652
|
-
},
|
|
653
|
-
"parameters": [
|
|
654
|
-
{
|
|
655
|
-
"name": "iconName",
|
|
656
|
-
"optional": true,
|
|
657
|
-
"type": {
|
|
658
|
-
"text": "IconNames"
|
|
659
|
-
}
|
|
660
|
-
}
|
|
661
|
-
]
|
|
662
|
-
},
|
|
663
|
-
{
|
|
664
|
-
"kind": "method",
|
|
665
|
-
"name": "renderHeadingText",
|
|
666
|
-
"privacy": "protected",
|
|
667
|
-
"return": {
|
|
668
|
-
"type": {
|
|
669
|
-
"text": "TemplateResult | typeof nothing"
|
|
670
|
-
}
|
|
671
|
-
}
|
|
672
|
-
},
|
|
673
|
-
{
|
|
674
|
-
"kind": "method",
|
|
675
|
-
"name": "renderHeader",
|
|
676
|
-
"privacy": "protected",
|
|
677
|
-
"return": {
|
|
678
|
-
"type": {
|
|
679
|
-
"text": "TemplateResult"
|
|
680
|
-
}
|
|
681
|
-
}
|
|
682
|
-
},
|
|
683
|
-
{
|
|
684
|
-
"kind": "method",
|
|
685
|
-
"name": "getArrowIconName",
|
|
686
|
-
"privacy": "protected",
|
|
687
|
-
"return": {
|
|
688
|
-
"type": {
|
|
689
|
-
"text": ""
|
|
690
|
-
}
|
|
691
|
-
},
|
|
692
|
-
"description": "Returns the icon name based on the expanded state.\nIf the accordion button is disabled, it always returns the arrow down icon.\nOtherwise, it returns the arrow up icon if the accordion button is expanded, otherwise the arrow down icon."
|
|
693
|
-
},
|
|
694
|
-
{
|
|
695
|
-
"kind": "method",
|
|
696
|
-
"name": "renderBody",
|
|
697
|
-
"privacy": "protected",
|
|
698
|
-
"return": {
|
|
699
|
-
"type": {
|
|
700
|
-
"text": "TemplateResult | typeof nothing"
|
|
701
|
-
}
|
|
702
|
-
}
|
|
703
|
-
},
|
|
704
|
-
{
|
|
705
|
-
"kind": "field",
|
|
706
|
-
"name": "disabled",
|
|
707
|
-
"type": {
|
|
708
|
-
"text": "boolean | undefined"
|
|
709
|
-
},
|
|
710
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
|
711
|
-
"default": "undefined",
|
|
712
|
-
"attribute": "disabled",
|
|
713
|
-
"reflects": true,
|
|
714
|
-
"inheritedFrom": {
|
|
715
|
-
"name": "DisabledMixin",
|
|
716
|
-
"module": "utils/mixins/DisabledMixin.js"
|
|
717
|
-
}
|
|
718
|
-
}
|
|
719
|
-
],
|
|
720
|
-
"events": [
|
|
721
|
-
{
|
|
722
|
-
"description": "(React: onShown) This event is triggered when the accordion button is expanded.",
|
|
723
|
-
"name": "shown",
|
|
724
|
-
"reactName": "onShown"
|
|
725
|
-
}
|
|
726
|
-
],
|
|
727
|
-
"attributes": [
|
|
728
|
-
{
|
|
729
|
-
"name": "size",
|
|
730
|
-
"type": {
|
|
731
|
-
"text": "Size"
|
|
732
|
-
},
|
|
733
|
-
"description": "The size of the accordion item.",
|
|
734
|
-
"default": "'small'",
|
|
735
|
-
"fieldName": "size"
|
|
736
|
-
},
|
|
737
|
-
{
|
|
738
|
-
"name": "variant",
|
|
739
|
-
"type": {
|
|
740
|
-
"text": "Variant"
|
|
741
|
-
},
|
|
742
|
-
"description": "The variant of the accordion item. Based on the variant, the styling of the accordion gets changed.",
|
|
743
|
-
"default": "'default'",
|
|
744
|
-
"fieldName": "variant"
|
|
745
|
-
},
|
|
746
|
-
{
|
|
747
|
-
"name": "data-aria-level",
|
|
748
|
-
"type": {
|
|
749
|
-
"text": "number"
|
|
750
|
-
},
|
|
751
|
-
"description": "The aria level of the accordion component.",
|
|
752
|
-
"default": "3",
|
|
753
|
-
"fieldName": "dataAriaLevel"
|
|
754
|
-
},
|
|
755
|
-
{
|
|
756
|
-
"name": "expanded",
|
|
757
|
-
"type": {
|
|
758
|
-
"text": "boolean"
|
|
759
|
-
},
|
|
760
|
-
"description": "The visibility of the accordion button.",
|
|
761
|
-
"default": "false",
|
|
762
|
-
"fieldName": "expanded"
|
|
763
|
-
},
|
|
764
|
-
{
|
|
765
|
-
"name": "header-text",
|
|
766
|
-
"type": {
|
|
767
|
-
"text": "string | undefined"
|
|
768
|
-
},
|
|
769
|
-
"description": "The header text of the accordion item.",
|
|
770
|
-
"fieldName": "headerText"
|
|
771
|
-
},
|
|
772
|
-
{
|
|
773
|
-
"name": "prefix-icon",
|
|
774
|
-
"type": {
|
|
775
|
-
"text": "IconNames | undefined"
|
|
776
|
-
},
|
|
777
|
-
"description": "The leading icon that is displayed before the header text.",
|
|
778
|
-
"fieldName": "prefixIcon"
|
|
779
|
-
},
|
|
780
|
-
{
|
|
781
|
-
"name": "disabled",
|
|
782
|
-
"type": {
|
|
783
|
-
"text": "boolean | undefined"
|
|
784
|
-
},
|
|
785
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
|
786
|
-
"default": "undefined",
|
|
787
|
-
"fieldName": "disabled",
|
|
788
|
-
"inheritedFrom": {
|
|
789
|
-
"name": "DisabledMixin",
|
|
790
|
-
"module": "src/utils/mixins/DisabledMixin.ts"
|
|
791
|
-
}
|
|
792
|
-
}
|
|
793
|
-
],
|
|
794
|
-
"mixins": [
|
|
795
|
-
{
|
|
796
|
-
"name": "DisabledMixin",
|
|
797
|
-
"module": "/src/utils/mixins/DisabledMixin"
|
|
798
|
-
}
|
|
799
|
-
],
|
|
800
|
-
"superclass": {
|
|
801
|
-
"name": "Component",
|
|
802
|
-
"module": "/src/models"
|
|
803
|
-
},
|
|
804
|
-
"tagName": "mdc-accordionbutton",
|
|
805
|
-
"jsDoc": "/**\n * An accordion button contains a header and body section with optional slots inside the heading which are focusable.\n *\n * The header section contains:\n * - Prefix Icon\n * - Header Text\n *\n * The body section contains:\n * - Default slot - User can place any content inside the body section.\n *\n * The accordion button can be expanded or collapsed. The visibility of the body section can be controlled by `expanded` attribute. <br/>\n * There are two types of variants based on that the border styling of the accordion gets reflected. <br/>\n * There are two sizes of accordion, one is small and the other is large.\n * Small size has a padding of 1rem (16px) and large size has a padding of 1.5rem (24px) for the body section of accordion.\n *\n * By default, the header text in the accordion heading is of H3 with an aria-level of '3'.\n * If this accordion is placed on any other level in the entire webpage, then do adjust the aria-level number based on that.\n *\n * An accordion can be disabled, and when it's disabled, the header section will not be clickable.\n *\n * If you do need any controls on your accordion heading, then it's advised to use `accordion` component.\n *\n * If an accordion button is expanded by default, then the screen reader might loose focus when toggling the visibilty of the accordion button.\n *\n * @tagname mdc-accordionbutton\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @slot default - The default slot contains the body section of the accordion. User can place anything inside this body slot.\n *\n * @event shown - (React: onShown) This event is triggered when the accordion button is expanded.\n *\n * @cssproperty --mdc-accordionbutton-border-color - The border color of the accordion button.\n * @cssproperty --mdc-accordionbutton-hover-color - The hover color of the accordion button.\n * @cssproperty --mdc-accordionbutton-active-color - The active color of the accordion button.\n * @cssproperty --mdc-accordionbutton-disabled-color - The disabled color of the accordion button.\n *\n * @csspart body-section - The body section of the accordion button.\n * @csspart header-button-section - The header button section of the accordion button.\n * @csspart header-section - The header section of the accordion button.\n * @csspart leading-header - The leading header of the accordion button.\n * @csspart trailing-header - The trailing header of the accordion button.\n * @csspart trailing-header__icon - The trailing header icon of the accordion button.\n */",
|
|
806
|
-
"customElement": true
|
|
807
|
-
}
|
|
808
|
-
],
|
|
809
|
-
"exports": [
|
|
810
|
-
{
|
|
811
|
-
"kind": "js",
|
|
812
|
-
"name": "default",
|
|
813
|
-
"declaration": {
|
|
814
|
-
"name": "AccordionButton",
|
|
815
|
-
"module": "components/accordionbutton/accordionbutton.component.js"
|
|
816
|
-
}
|
|
817
|
-
}
|
|
818
|
-
]
|
|
819
|
-
},
|
|
820
480
|
{
|
|
821
481
|
"kind": "javascript-module",
|
|
822
482
|
"path": "components/accordiongroup/accordiongroup.component.js",
|
|
@@ -1586,6 +1246,346 @@
|
|
|
1586
1246
|
}
|
|
1587
1247
|
]
|
|
1588
1248
|
},
|
|
1249
|
+
{
|
|
1250
|
+
"kind": "javascript-module",
|
|
1251
|
+
"path": "components/accordionbutton/accordionbutton.component.js",
|
|
1252
|
+
"declarations": [
|
|
1253
|
+
{
|
|
1254
|
+
"kind": "class",
|
|
1255
|
+
"description": "An accordion button contains a header and body section with optional slots inside the heading which are focusable.\n\nThe header section contains:\n- Prefix Icon\n- Header Text\n\nThe body section contains:\n- Default slot - User can place any content inside the body section.\n\nThe accordion button can be expanded or collapsed. The visibility of the body section can be controlled by `expanded` attribute. <br/>\nThere are two types of variants based on that the border styling of the accordion gets reflected. <br/>\nThere are two sizes of accordion, one is small and the other is large.\nSmall size has a padding of 1rem (16px) and large size has a padding of 1.5rem (24px) for the body section of accordion.\n\nBy default, the header text in the accordion heading is of H3 with an aria-level of '3'.\nIf this accordion is placed on any other level in the entire webpage, then do adjust the aria-level number based on that.\n\nAn accordion can be disabled, and when it's disabled, the header section will not be clickable.\n\nIf you do need any controls on your accordion heading, then it's advised to use `accordion` component.\n\nIf an accordion button is expanded by default, then the screen reader might loose focus when toggling the visibilty of the accordion button.",
|
|
1256
|
+
"name": "AccordionButton",
|
|
1257
|
+
"cssProperties": [
|
|
1258
|
+
{
|
|
1259
|
+
"description": "The border color of the accordion button.",
|
|
1260
|
+
"name": "--mdc-accordionbutton-border-color"
|
|
1261
|
+
},
|
|
1262
|
+
{
|
|
1263
|
+
"description": "The hover color of the accordion button.",
|
|
1264
|
+
"name": "--mdc-accordionbutton-hover-color"
|
|
1265
|
+
},
|
|
1266
|
+
{
|
|
1267
|
+
"description": "The active color of the accordion button.",
|
|
1268
|
+
"name": "--mdc-accordionbutton-active-color"
|
|
1269
|
+
},
|
|
1270
|
+
{
|
|
1271
|
+
"description": "The disabled color of the accordion button.",
|
|
1272
|
+
"name": "--mdc-accordionbutton-disabled-color"
|
|
1273
|
+
}
|
|
1274
|
+
],
|
|
1275
|
+
"cssParts": [
|
|
1276
|
+
{
|
|
1277
|
+
"description": "The body section of the accordion button.",
|
|
1278
|
+
"name": "body-section"
|
|
1279
|
+
},
|
|
1280
|
+
{
|
|
1281
|
+
"description": "The header button section of the accordion button.",
|
|
1282
|
+
"name": "header-button-section"
|
|
1283
|
+
},
|
|
1284
|
+
{
|
|
1285
|
+
"description": "The header section of the accordion button.",
|
|
1286
|
+
"name": "header-section"
|
|
1287
|
+
},
|
|
1288
|
+
{
|
|
1289
|
+
"description": "The leading header of the accordion button.",
|
|
1290
|
+
"name": "leading-header"
|
|
1291
|
+
},
|
|
1292
|
+
{
|
|
1293
|
+
"description": "The trailing header of the accordion button.",
|
|
1294
|
+
"name": "trailing-header"
|
|
1295
|
+
},
|
|
1296
|
+
{
|
|
1297
|
+
"description": "The trailing header icon of the accordion button.",
|
|
1298
|
+
"name": "trailing-header__icon"
|
|
1299
|
+
}
|
|
1300
|
+
],
|
|
1301
|
+
"slots": [
|
|
1302
|
+
{
|
|
1303
|
+
"description": "The default slot contains the body section of the accordion. User can place anything inside this body slot.",
|
|
1304
|
+
"name": "default"
|
|
1305
|
+
}
|
|
1306
|
+
],
|
|
1307
|
+
"members": [
|
|
1308
|
+
{
|
|
1309
|
+
"kind": "field",
|
|
1310
|
+
"name": "size",
|
|
1311
|
+
"type": {
|
|
1312
|
+
"text": "Size"
|
|
1313
|
+
},
|
|
1314
|
+
"description": "The size of the accordion item.",
|
|
1315
|
+
"default": "'small'",
|
|
1316
|
+
"attribute": "size",
|
|
1317
|
+
"reflects": true
|
|
1318
|
+
},
|
|
1319
|
+
{
|
|
1320
|
+
"kind": "field",
|
|
1321
|
+
"name": "variant",
|
|
1322
|
+
"type": {
|
|
1323
|
+
"text": "Variant"
|
|
1324
|
+
},
|
|
1325
|
+
"description": "The variant of the accordion item. Based on the variant, the styling of the accordion gets changed.",
|
|
1326
|
+
"default": "'default'",
|
|
1327
|
+
"attribute": "variant",
|
|
1328
|
+
"reflects": true
|
|
1329
|
+
},
|
|
1330
|
+
{
|
|
1331
|
+
"kind": "field",
|
|
1332
|
+
"name": "dataAriaLevel",
|
|
1333
|
+
"type": {
|
|
1334
|
+
"text": "number"
|
|
1335
|
+
},
|
|
1336
|
+
"description": "The aria level of the accordion component.",
|
|
1337
|
+
"default": "3",
|
|
1338
|
+
"attribute": "data-aria-level",
|
|
1339
|
+
"reflects": true
|
|
1340
|
+
},
|
|
1341
|
+
{
|
|
1342
|
+
"kind": "field",
|
|
1343
|
+
"name": "expanded",
|
|
1344
|
+
"type": {
|
|
1345
|
+
"text": "boolean"
|
|
1346
|
+
},
|
|
1347
|
+
"description": "The visibility of the accordion button.",
|
|
1348
|
+
"default": "false",
|
|
1349
|
+
"attribute": "expanded",
|
|
1350
|
+
"reflects": true
|
|
1351
|
+
},
|
|
1352
|
+
{
|
|
1353
|
+
"kind": "field",
|
|
1354
|
+
"name": "headerText",
|
|
1355
|
+
"type": {
|
|
1356
|
+
"text": "string | undefined"
|
|
1357
|
+
},
|
|
1358
|
+
"description": "The header text of the accordion item.",
|
|
1359
|
+
"attribute": "header-text",
|
|
1360
|
+
"reflects": true
|
|
1361
|
+
},
|
|
1362
|
+
{
|
|
1363
|
+
"kind": "field",
|
|
1364
|
+
"name": "prefixIcon",
|
|
1365
|
+
"type": {
|
|
1366
|
+
"text": "IconNames | undefined"
|
|
1367
|
+
},
|
|
1368
|
+
"description": "The leading icon that is displayed before the header text.",
|
|
1369
|
+
"attribute": "prefix-icon"
|
|
1370
|
+
},
|
|
1371
|
+
{
|
|
1372
|
+
"kind": "method",
|
|
1373
|
+
"name": "handleHeaderClick",
|
|
1374
|
+
"privacy": "protected",
|
|
1375
|
+
"return": {
|
|
1376
|
+
"type": {
|
|
1377
|
+
"text": "void"
|
|
1378
|
+
}
|
|
1379
|
+
},
|
|
1380
|
+
"description": "Handles the click event of the header section.\nIf the accordion is disabled, it will not toggle the expanded state.\nIt will dispatch the `shown` event with the current expanded state."
|
|
1381
|
+
},
|
|
1382
|
+
{
|
|
1383
|
+
"kind": "method",
|
|
1384
|
+
"name": "dispatchHeaderClickEvent",
|
|
1385
|
+
"privacy": "private",
|
|
1386
|
+
"return": {
|
|
1387
|
+
"type": {
|
|
1388
|
+
"text": "void"
|
|
1389
|
+
}
|
|
1390
|
+
},
|
|
1391
|
+
"description": "Dispatches the `shown` event with the current expanded state.\nThe event is cancelable and bubbles.\nThe event detail contains the current expanded state."
|
|
1392
|
+
},
|
|
1393
|
+
{
|
|
1394
|
+
"kind": "method",
|
|
1395
|
+
"name": "handleKeyDown",
|
|
1396
|
+
"privacy": "private",
|
|
1397
|
+
"return": {
|
|
1398
|
+
"type": {
|
|
1399
|
+
"text": "void"
|
|
1400
|
+
}
|
|
1401
|
+
},
|
|
1402
|
+
"parameters": [
|
|
1403
|
+
{
|
|
1404
|
+
"name": "event",
|
|
1405
|
+
"type": {
|
|
1406
|
+
"text": "KeyboardEvent"
|
|
1407
|
+
},
|
|
1408
|
+
"description": "The KeyboardEvent fired."
|
|
1409
|
+
}
|
|
1410
|
+
],
|
|
1411
|
+
"description": "Handles the keydown event of the component.\nIf the key pressed is either Enter or Space, it calls the handleHeaderClick method.\nThis allows keyboard users to toggle the accordion button using these keys."
|
|
1412
|
+
},
|
|
1413
|
+
{
|
|
1414
|
+
"kind": "method",
|
|
1415
|
+
"name": "renderIcon",
|
|
1416
|
+
"privacy": "protected",
|
|
1417
|
+
"return": {
|
|
1418
|
+
"type": {
|
|
1419
|
+
"text": "TemplateResult | typeof nothing"
|
|
1420
|
+
}
|
|
1421
|
+
},
|
|
1422
|
+
"parameters": [
|
|
1423
|
+
{
|
|
1424
|
+
"name": "iconName",
|
|
1425
|
+
"optional": true,
|
|
1426
|
+
"type": {
|
|
1427
|
+
"text": "IconNames"
|
|
1428
|
+
}
|
|
1429
|
+
}
|
|
1430
|
+
]
|
|
1431
|
+
},
|
|
1432
|
+
{
|
|
1433
|
+
"kind": "method",
|
|
1434
|
+
"name": "renderHeadingText",
|
|
1435
|
+
"privacy": "protected",
|
|
1436
|
+
"return": {
|
|
1437
|
+
"type": {
|
|
1438
|
+
"text": "TemplateResult | typeof nothing"
|
|
1439
|
+
}
|
|
1440
|
+
}
|
|
1441
|
+
},
|
|
1442
|
+
{
|
|
1443
|
+
"kind": "method",
|
|
1444
|
+
"name": "renderHeader",
|
|
1445
|
+
"privacy": "protected",
|
|
1446
|
+
"return": {
|
|
1447
|
+
"type": {
|
|
1448
|
+
"text": "TemplateResult"
|
|
1449
|
+
}
|
|
1450
|
+
}
|
|
1451
|
+
},
|
|
1452
|
+
{
|
|
1453
|
+
"kind": "method",
|
|
1454
|
+
"name": "getArrowIconName",
|
|
1455
|
+
"privacy": "protected",
|
|
1456
|
+
"return": {
|
|
1457
|
+
"type": {
|
|
1458
|
+
"text": ""
|
|
1459
|
+
}
|
|
1460
|
+
},
|
|
1461
|
+
"description": "Returns the icon name based on the expanded state.\nIf the accordion button is disabled, it always returns the arrow down icon.\nOtherwise, it returns the arrow up icon if the accordion button is expanded, otherwise the arrow down icon."
|
|
1462
|
+
},
|
|
1463
|
+
{
|
|
1464
|
+
"kind": "method",
|
|
1465
|
+
"name": "renderBody",
|
|
1466
|
+
"privacy": "protected",
|
|
1467
|
+
"return": {
|
|
1468
|
+
"type": {
|
|
1469
|
+
"text": "TemplateResult | typeof nothing"
|
|
1470
|
+
}
|
|
1471
|
+
}
|
|
1472
|
+
},
|
|
1473
|
+
{
|
|
1474
|
+
"kind": "field",
|
|
1475
|
+
"name": "disabled",
|
|
1476
|
+
"type": {
|
|
1477
|
+
"text": "boolean | undefined"
|
|
1478
|
+
},
|
|
1479
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
|
1480
|
+
"default": "undefined",
|
|
1481
|
+
"attribute": "disabled",
|
|
1482
|
+
"reflects": true,
|
|
1483
|
+
"inheritedFrom": {
|
|
1484
|
+
"name": "DisabledMixin",
|
|
1485
|
+
"module": "utils/mixins/DisabledMixin.js"
|
|
1486
|
+
}
|
|
1487
|
+
}
|
|
1488
|
+
],
|
|
1489
|
+
"events": [
|
|
1490
|
+
{
|
|
1491
|
+
"description": "(React: onShown) This event is triggered when the accordion button is expanded.",
|
|
1492
|
+
"name": "shown",
|
|
1493
|
+
"reactName": "onShown"
|
|
1494
|
+
}
|
|
1495
|
+
],
|
|
1496
|
+
"attributes": [
|
|
1497
|
+
{
|
|
1498
|
+
"name": "size",
|
|
1499
|
+
"type": {
|
|
1500
|
+
"text": "Size"
|
|
1501
|
+
},
|
|
1502
|
+
"description": "The size of the accordion item.",
|
|
1503
|
+
"default": "'small'",
|
|
1504
|
+
"fieldName": "size"
|
|
1505
|
+
},
|
|
1506
|
+
{
|
|
1507
|
+
"name": "variant",
|
|
1508
|
+
"type": {
|
|
1509
|
+
"text": "Variant"
|
|
1510
|
+
},
|
|
1511
|
+
"description": "The variant of the accordion item. Based on the variant, the styling of the accordion gets changed.",
|
|
1512
|
+
"default": "'default'",
|
|
1513
|
+
"fieldName": "variant"
|
|
1514
|
+
},
|
|
1515
|
+
{
|
|
1516
|
+
"name": "data-aria-level",
|
|
1517
|
+
"type": {
|
|
1518
|
+
"text": "number"
|
|
1519
|
+
},
|
|
1520
|
+
"description": "The aria level of the accordion component.",
|
|
1521
|
+
"default": "3",
|
|
1522
|
+
"fieldName": "dataAriaLevel"
|
|
1523
|
+
},
|
|
1524
|
+
{
|
|
1525
|
+
"name": "expanded",
|
|
1526
|
+
"type": {
|
|
1527
|
+
"text": "boolean"
|
|
1528
|
+
},
|
|
1529
|
+
"description": "The visibility of the accordion button.",
|
|
1530
|
+
"default": "false",
|
|
1531
|
+
"fieldName": "expanded"
|
|
1532
|
+
},
|
|
1533
|
+
{
|
|
1534
|
+
"name": "header-text",
|
|
1535
|
+
"type": {
|
|
1536
|
+
"text": "string | undefined"
|
|
1537
|
+
},
|
|
1538
|
+
"description": "The header text of the accordion item.",
|
|
1539
|
+
"fieldName": "headerText"
|
|
1540
|
+
},
|
|
1541
|
+
{
|
|
1542
|
+
"name": "prefix-icon",
|
|
1543
|
+
"type": {
|
|
1544
|
+
"text": "IconNames | undefined"
|
|
1545
|
+
},
|
|
1546
|
+
"description": "The leading icon that is displayed before the header text.",
|
|
1547
|
+
"fieldName": "prefixIcon"
|
|
1548
|
+
},
|
|
1549
|
+
{
|
|
1550
|
+
"name": "disabled",
|
|
1551
|
+
"type": {
|
|
1552
|
+
"text": "boolean | undefined"
|
|
1553
|
+
},
|
|
1554
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
|
1555
|
+
"default": "undefined",
|
|
1556
|
+
"fieldName": "disabled",
|
|
1557
|
+
"inheritedFrom": {
|
|
1558
|
+
"name": "DisabledMixin",
|
|
1559
|
+
"module": "src/utils/mixins/DisabledMixin.ts"
|
|
1560
|
+
}
|
|
1561
|
+
}
|
|
1562
|
+
],
|
|
1563
|
+
"mixins": [
|
|
1564
|
+
{
|
|
1565
|
+
"name": "DisabledMixin",
|
|
1566
|
+
"module": "/src/utils/mixins/DisabledMixin"
|
|
1567
|
+
}
|
|
1568
|
+
],
|
|
1569
|
+
"superclass": {
|
|
1570
|
+
"name": "Component",
|
|
1571
|
+
"module": "/src/models"
|
|
1572
|
+
},
|
|
1573
|
+
"tagName": "mdc-accordionbutton",
|
|
1574
|
+
"jsDoc": "/**\n * An accordion button contains a header and body section with optional slots inside the heading which are focusable.\n *\n * The header section contains:\n * - Prefix Icon\n * - Header Text\n *\n * The body section contains:\n * - Default slot - User can place any content inside the body section.\n *\n * The accordion button can be expanded or collapsed. The visibility of the body section can be controlled by `expanded` attribute. <br/>\n * There are two types of variants based on that the border styling of the accordion gets reflected. <br/>\n * There are two sizes of accordion, one is small and the other is large.\n * Small size has a padding of 1rem (16px) and large size has a padding of 1.5rem (24px) for the body section of accordion.\n *\n * By default, the header text in the accordion heading is of H3 with an aria-level of '3'.\n * If this accordion is placed on any other level in the entire webpage, then do adjust the aria-level number based on that.\n *\n * An accordion can be disabled, and when it's disabled, the header section will not be clickable.\n *\n * If you do need any controls on your accordion heading, then it's advised to use `accordion` component.\n *\n * If an accordion button is expanded by default, then the screen reader might loose focus when toggling the visibilty of the accordion button.\n *\n * @tagname mdc-accordionbutton\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @slot default - The default slot contains the body section of the accordion. User can place anything inside this body slot.\n *\n * @event shown - (React: onShown) This event is triggered when the accordion button is expanded.\n *\n * @cssproperty --mdc-accordionbutton-border-color - The border color of the accordion button.\n * @cssproperty --mdc-accordionbutton-hover-color - The hover color of the accordion button.\n * @cssproperty --mdc-accordionbutton-active-color - The active color of the accordion button.\n * @cssproperty --mdc-accordionbutton-disabled-color - The disabled color of the accordion button.\n *\n * @csspart body-section - The body section of the accordion button.\n * @csspart header-button-section - The header button section of the accordion button.\n * @csspart header-section - The header section of the accordion button.\n * @csspart leading-header - The leading header of the accordion button.\n * @csspart trailing-header - The trailing header of the accordion button.\n * @csspart trailing-header__icon - The trailing header icon of the accordion button.\n */",
|
|
1575
|
+
"customElement": true
|
|
1576
|
+
}
|
|
1577
|
+
],
|
|
1578
|
+
"exports": [
|
|
1579
|
+
{
|
|
1580
|
+
"kind": "js",
|
|
1581
|
+
"name": "default",
|
|
1582
|
+
"declaration": {
|
|
1583
|
+
"name": "AccordionButton",
|
|
1584
|
+
"module": "components/accordionbutton/accordionbutton.component.js"
|
|
1585
|
+
}
|
|
1586
|
+
}
|
|
1587
|
+
]
|
|
1588
|
+
},
|
|
1589
1589
|
{
|
|
1590
1590
|
"kind": "javascript-module",
|
|
1591
1591
|
"path": "components/animation/animation.component.js",
|
|
@@ -22060,6 +22060,231 @@
|
|
|
22060
22060
|
}
|
|
22061
22061
|
]
|
|
22062
22062
|
},
|
|
22063
|
+
{
|
|
22064
|
+
"kind": "javascript-module",
|
|
22065
|
+
"path": "components/list/list.component.js",
|
|
22066
|
+
"declarations": [
|
|
22067
|
+
{
|
|
22068
|
+
"kind": "class",
|
|
22069
|
+
"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.",
|
|
22070
|
+
"name": "List",
|
|
22071
|
+
"cssParts": [
|
|
22072
|
+
{
|
|
22073
|
+
"description": "The container slot around the list items",
|
|
22074
|
+
"name": "container"
|
|
22075
|
+
}
|
|
22076
|
+
],
|
|
22077
|
+
"slots": [
|
|
22078
|
+
{
|
|
22079
|
+
"description": "This is a default/unnamed slot, where listitems can be placed.",
|
|
22080
|
+
"name": "default"
|
|
22081
|
+
},
|
|
22082
|
+
{
|
|
22083
|
+
"description": "This slot is used to pass a header for the list, which can be a `mdc-listheader` component.",
|
|
22084
|
+
"name": "list-header"
|
|
22085
|
+
}
|
|
22086
|
+
],
|
|
22087
|
+
"members": [
|
|
22088
|
+
{
|
|
22089
|
+
"kind": "field",
|
|
22090
|
+
"name": "loop",
|
|
22091
|
+
"type": {
|
|
22092
|
+
"text": "'true' | 'false'"
|
|
22093
|
+
},
|
|
22094
|
+
"privacy": "public",
|
|
22095
|
+
"description": "Whether to loop navigation when reaching the end of the list.\nIf 'true', pressing the down arrow on the last item will focus the first item,\nand pressing the up arrow on the first item will focus the last item.\nIf 'false', navigation will stop at the first or last item.",
|
|
22096
|
+
"default": "''",
|
|
22097
|
+
"attribute": "loop",
|
|
22098
|
+
"reflects": true
|
|
22099
|
+
},
|
|
22100
|
+
{
|
|
22101
|
+
"kind": "field",
|
|
22102
|
+
"name": "initialFocus",
|
|
22103
|
+
"type": {
|
|
22104
|
+
"text": "number"
|
|
22105
|
+
},
|
|
22106
|
+
"privacy": "public",
|
|
22107
|
+
"description": "The index of the item that should receive focus when the list is first rendered.\nIf the index is out of bounds, the first item (index 0) will receive focus.",
|
|
22108
|
+
"default": "0",
|
|
22109
|
+
"attribute": "initial-focus",
|
|
22110
|
+
"reflects": true
|
|
22111
|
+
},
|
|
22112
|
+
{
|
|
22113
|
+
"kind": "field",
|
|
22114
|
+
"name": "itemsStore",
|
|
22115
|
+
"default": "new ElementStore<ListItem>(this, { isValidItem: this.isValidItem, })"
|
|
22116
|
+
},
|
|
22117
|
+
{
|
|
22118
|
+
"kind": "method",
|
|
22119
|
+
"name": "getCurrentIndex",
|
|
22120
|
+
"privacy": "private",
|
|
22121
|
+
"return": {
|
|
22122
|
+
"type": {
|
|
22123
|
+
"text": ""
|
|
22124
|
+
}
|
|
22125
|
+
},
|
|
22126
|
+
"parameters": [
|
|
22127
|
+
{
|
|
22128
|
+
"name": "target",
|
|
22129
|
+
"type": {
|
|
22130
|
+
"text": "HTMLElement | null"
|
|
22131
|
+
},
|
|
22132
|
+
"description": "The target element that triggered the event."
|
|
22133
|
+
}
|
|
22134
|
+
],
|
|
22135
|
+
"description": "Retrieves the current index of the item that triggered the event.",
|
|
22136
|
+
"inheritedFrom": {
|
|
22137
|
+
"name": "ListNavigationMixin",
|
|
22138
|
+
"module": "utils/mixins/ListNavigationMixin.js"
|
|
22139
|
+
}
|
|
22140
|
+
},
|
|
22141
|
+
{
|
|
22142
|
+
"kind": "method",
|
|
22143
|
+
"name": "resetTabIndexes",
|
|
22144
|
+
"privacy": "protected",
|
|
22145
|
+
"parameters": [
|
|
22146
|
+
{
|
|
22147
|
+
"name": "index",
|
|
22148
|
+
"type": {
|
|
22149
|
+
"text": "number"
|
|
22150
|
+
},
|
|
22151
|
+
"description": "The index of the currently focused item."
|
|
22152
|
+
}
|
|
22153
|
+
],
|
|
22154
|
+
"description": "Reset all tabindex to -1 and set the tabindex of the current item to 0",
|
|
22155
|
+
"inheritedFrom": {
|
|
22156
|
+
"name": "ListNavigationMixin",
|
|
22157
|
+
"module": "utils/mixins/ListNavigationMixin.js"
|
|
22158
|
+
}
|
|
22159
|
+
},
|
|
22160
|
+
{
|
|
22161
|
+
"kind": "method",
|
|
22162
|
+
"name": "resetTabIndexAndSetFocus",
|
|
22163
|
+
"privacy": "protected",
|
|
22164
|
+
"parameters": [
|
|
22165
|
+
{
|
|
22166
|
+
"name": "newIndex",
|
|
22167
|
+
"type": {
|
|
22168
|
+
"text": "number"
|
|
22169
|
+
},
|
|
22170
|
+
"description": "The index of the new item to focus."
|
|
22171
|
+
},
|
|
22172
|
+
{
|
|
22173
|
+
"name": "oldIndex",
|
|
22174
|
+
"optional": true,
|
|
22175
|
+
"type": {
|
|
22176
|
+
"text": "number"
|
|
22177
|
+
},
|
|
22178
|
+
"description": "The index of the currently focused item."
|
|
22179
|
+
},
|
|
22180
|
+
{
|
|
22181
|
+
"name": "focusNewItem",
|
|
22182
|
+
"default": "true",
|
|
22183
|
+
"description": "Call focus() on the new item or not. It should be false during firstUpdate"
|
|
22184
|
+
}
|
|
22185
|
+
],
|
|
22186
|
+
"description": "Resets the tabindex of the currently focused item and sets focus to a new item.",
|
|
22187
|
+
"return": {
|
|
22188
|
+
"type": {
|
|
22189
|
+
"text": ""
|
|
22190
|
+
}
|
|
22191
|
+
},
|
|
22192
|
+
"inheritedFrom": {
|
|
22193
|
+
"name": "ListNavigationMixin",
|
|
22194
|
+
"module": "utils/mixins/ListNavigationMixin.js"
|
|
22195
|
+
}
|
|
22196
|
+
},
|
|
22197
|
+
{
|
|
22198
|
+
"kind": "method",
|
|
22199
|
+
"name": "resolveDirectionKey",
|
|
22200
|
+
"privacy": "private",
|
|
22201
|
+
"parameters": [
|
|
22202
|
+
{
|
|
22203
|
+
"name": "key",
|
|
22204
|
+
"type": {
|
|
22205
|
+
"text": "string"
|
|
22206
|
+
},
|
|
22207
|
+
"description": "The key pressed by the user."
|
|
22208
|
+
},
|
|
22209
|
+
{
|
|
22210
|
+
"name": "isRtl",
|
|
22211
|
+
"type": {
|
|
22212
|
+
"text": "boolean"
|
|
22213
|
+
},
|
|
22214
|
+
"description": "A boolean indicating if the layout is right-to-left (RTL)."
|
|
22215
|
+
}
|
|
22216
|
+
],
|
|
22217
|
+
"description": "Resolves the key pressed by the user based on the direction of the layout.\nThis method is used to handle keyboard navigation in a right-to-left (RTL) layout.\nIt checks if the layout is RTL and adjusts the arrow keys accordingly.\nFor example, in RTL, the left arrow key behaves like the right arrow key and vice versa.",
|
|
22218
|
+
"return": {
|
|
22219
|
+
"type": {
|
|
22220
|
+
"text": ""
|
|
22221
|
+
}
|
|
22222
|
+
},
|
|
22223
|
+
"inheritedFrom": {
|
|
22224
|
+
"name": "ListNavigationMixin",
|
|
22225
|
+
"module": "utils/mixins/ListNavigationMixin.js"
|
|
22226
|
+
}
|
|
22227
|
+
},
|
|
22228
|
+
{
|
|
22229
|
+
"kind": "method",
|
|
22230
|
+
"name": "shouldLoop",
|
|
22231
|
+
"privacy": "private",
|
|
22232
|
+
"inheritedFrom": {
|
|
22233
|
+
"name": "ListNavigationMixin",
|
|
22234
|
+
"module": "utils/mixins/ListNavigationMixin.js"
|
|
22235
|
+
}
|
|
22236
|
+
}
|
|
22237
|
+
],
|
|
22238
|
+
"attributes": [
|
|
22239
|
+
{
|
|
22240
|
+
"name": "loop",
|
|
22241
|
+
"type": {
|
|
22242
|
+
"text": "'true' | 'false'"
|
|
22243
|
+
},
|
|
22244
|
+
"description": "Whether to loop navigation when reaching the end of the list.\nIf 'true', pressing the down arrow on the last item will focus the first item,\nand pressing the up arrow on the first item will focus the last item.\nIf 'false', navigation will stop at the first or last item.",
|
|
22245
|
+
"default": "''",
|
|
22246
|
+
"fieldName": "loop"
|
|
22247
|
+
},
|
|
22248
|
+
{
|
|
22249
|
+
"name": "initial-focus",
|
|
22250
|
+
"type": {
|
|
22251
|
+
"text": "number"
|
|
22252
|
+
},
|
|
22253
|
+
"description": "The index of the item that should receive focus when the list is first rendered.\nIf the index is out of bounds, the first item (index 0) will receive focus.",
|
|
22254
|
+
"default": "0",
|
|
22255
|
+
"fieldName": "initialFocus"
|
|
22256
|
+
}
|
|
22257
|
+
],
|
|
22258
|
+
"mixins": [
|
|
22259
|
+
{
|
|
22260
|
+
"name": "ListNavigationMixin",
|
|
22261
|
+
"module": "/src/utils/mixins/ListNavigationMixin"
|
|
22262
|
+
},
|
|
22263
|
+
{
|
|
22264
|
+
"name": "CaptureDestroyEventForChildElement",
|
|
22265
|
+
"module": "/src/utils/mixins/lifecycle/CaptureDestroyEventForChildElement"
|
|
22266
|
+
}
|
|
22267
|
+
],
|
|
22268
|
+
"superclass": {
|
|
22269
|
+
"name": "Component",
|
|
22270
|
+
"module": "/src/models"
|
|
22271
|
+
},
|
|
22272
|
+
"tagName": "mdc-list",
|
|
22273
|
+
"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 */",
|
|
22274
|
+
"customElement": true
|
|
22275
|
+
}
|
|
22276
|
+
],
|
|
22277
|
+
"exports": [
|
|
22278
|
+
{
|
|
22279
|
+
"kind": "js",
|
|
22280
|
+
"name": "default",
|
|
22281
|
+
"declaration": {
|
|
22282
|
+
"name": "List",
|
|
22283
|
+
"module": "components/list/list.component.js"
|
|
22284
|
+
}
|
|
22285
|
+
}
|
|
22286
|
+
]
|
|
22287
|
+
},
|
|
22063
22288
|
{
|
|
22064
22289
|
"kind": "javascript-module",
|
|
22065
22290
|
"path": "components/listbox/listbox.component.js",
|
|
@@ -23024,231 +23249,6 @@
|
|
|
23024
23249
|
}
|
|
23025
23250
|
]
|
|
23026
23251
|
},
|
|
23027
|
-
{
|
|
23028
|
-
"kind": "javascript-module",
|
|
23029
|
-
"path": "components/list/list.component.js",
|
|
23030
|
-
"declarations": [
|
|
23031
|
-
{
|
|
23032
|
-
"kind": "class",
|
|
23033
|
-
"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.",
|
|
23034
|
-
"name": "List",
|
|
23035
|
-
"cssParts": [
|
|
23036
|
-
{
|
|
23037
|
-
"description": "The container slot around the list items",
|
|
23038
|
-
"name": "container"
|
|
23039
|
-
}
|
|
23040
|
-
],
|
|
23041
|
-
"slots": [
|
|
23042
|
-
{
|
|
23043
|
-
"description": "This is a default/unnamed slot, where listitems can be placed.",
|
|
23044
|
-
"name": "default"
|
|
23045
|
-
},
|
|
23046
|
-
{
|
|
23047
|
-
"description": "This slot is used to pass a header for the list, which can be a `mdc-listheader` component.",
|
|
23048
|
-
"name": "list-header"
|
|
23049
|
-
}
|
|
23050
|
-
],
|
|
23051
|
-
"members": [
|
|
23052
|
-
{
|
|
23053
|
-
"kind": "field",
|
|
23054
|
-
"name": "loop",
|
|
23055
|
-
"type": {
|
|
23056
|
-
"text": "'true' | 'false'"
|
|
23057
|
-
},
|
|
23058
|
-
"privacy": "public",
|
|
23059
|
-
"description": "Whether to loop navigation when reaching the end of the list.\nIf 'true', pressing the down arrow on the last item will focus the first item,\nand pressing the up arrow on the first item will focus the last item.\nIf 'false', navigation will stop at the first or last item.",
|
|
23060
|
-
"default": "''",
|
|
23061
|
-
"attribute": "loop",
|
|
23062
|
-
"reflects": true
|
|
23063
|
-
},
|
|
23064
|
-
{
|
|
23065
|
-
"kind": "field",
|
|
23066
|
-
"name": "initialFocus",
|
|
23067
|
-
"type": {
|
|
23068
|
-
"text": "number"
|
|
23069
|
-
},
|
|
23070
|
-
"privacy": "public",
|
|
23071
|
-
"description": "The index of the item that should receive focus when the list is first rendered.\nIf the index is out of bounds, the first item (index 0) will receive focus.",
|
|
23072
|
-
"default": "0",
|
|
23073
|
-
"attribute": "initial-focus",
|
|
23074
|
-
"reflects": true
|
|
23075
|
-
},
|
|
23076
|
-
{
|
|
23077
|
-
"kind": "field",
|
|
23078
|
-
"name": "itemsStore",
|
|
23079
|
-
"default": "new ElementStore<ListItem>(this, { isValidItem: this.isValidItem, })"
|
|
23080
|
-
},
|
|
23081
|
-
{
|
|
23082
|
-
"kind": "method",
|
|
23083
|
-
"name": "getCurrentIndex",
|
|
23084
|
-
"privacy": "private",
|
|
23085
|
-
"return": {
|
|
23086
|
-
"type": {
|
|
23087
|
-
"text": ""
|
|
23088
|
-
}
|
|
23089
|
-
},
|
|
23090
|
-
"parameters": [
|
|
23091
|
-
{
|
|
23092
|
-
"name": "target",
|
|
23093
|
-
"type": {
|
|
23094
|
-
"text": "HTMLElement | null"
|
|
23095
|
-
},
|
|
23096
|
-
"description": "The target element that triggered the event."
|
|
23097
|
-
}
|
|
23098
|
-
],
|
|
23099
|
-
"description": "Retrieves the current index of the item that triggered the event.",
|
|
23100
|
-
"inheritedFrom": {
|
|
23101
|
-
"name": "ListNavigationMixin",
|
|
23102
|
-
"module": "utils/mixins/ListNavigationMixin.js"
|
|
23103
|
-
}
|
|
23104
|
-
},
|
|
23105
|
-
{
|
|
23106
|
-
"kind": "method",
|
|
23107
|
-
"name": "resetTabIndexes",
|
|
23108
|
-
"privacy": "protected",
|
|
23109
|
-
"parameters": [
|
|
23110
|
-
{
|
|
23111
|
-
"name": "index",
|
|
23112
|
-
"type": {
|
|
23113
|
-
"text": "number"
|
|
23114
|
-
},
|
|
23115
|
-
"description": "The index of the currently focused item."
|
|
23116
|
-
}
|
|
23117
|
-
],
|
|
23118
|
-
"description": "Reset all tabindex to -1 and set the tabindex of the current item to 0",
|
|
23119
|
-
"inheritedFrom": {
|
|
23120
|
-
"name": "ListNavigationMixin",
|
|
23121
|
-
"module": "utils/mixins/ListNavigationMixin.js"
|
|
23122
|
-
}
|
|
23123
|
-
},
|
|
23124
|
-
{
|
|
23125
|
-
"kind": "method",
|
|
23126
|
-
"name": "resetTabIndexAndSetFocus",
|
|
23127
|
-
"privacy": "protected",
|
|
23128
|
-
"parameters": [
|
|
23129
|
-
{
|
|
23130
|
-
"name": "newIndex",
|
|
23131
|
-
"type": {
|
|
23132
|
-
"text": "number"
|
|
23133
|
-
},
|
|
23134
|
-
"description": "The index of the new item to focus."
|
|
23135
|
-
},
|
|
23136
|
-
{
|
|
23137
|
-
"name": "oldIndex",
|
|
23138
|
-
"optional": true,
|
|
23139
|
-
"type": {
|
|
23140
|
-
"text": "number"
|
|
23141
|
-
},
|
|
23142
|
-
"description": "The index of the currently focused item."
|
|
23143
|
-
},
|
|
23144
|
-
{
|
|
23145
|
-
"name": "focusNewItem",
|
|
23146
|
-
"default": "true",
|
|
23147
|
-
"description": "Call focus() on the new item or not. It should be false during firstUpdate"
|
|
23148
|
-
}
|
|
23149
|
-
],
|
|
23150
|
-
"description": "Resets the tabindex of the currently focused item and sets focus to a new item.",
|
|
23151
|
-
"return": {
|
|
23152
|
-
"type": {
|
|
23153
|
-
"text": ""
|
|
23154
|
-
}
|
|
23155
|
-
},
|
|
23156
|
-
"inheritedFrom": {
|
|
23157
|
-
"name": "ListNavigationMixin",
|
|
23158
|
-
"module": "utils/mixins/ListNavigationMixin.js"
|
|
23159
|
-
}
|
|
23160
|
-
},
|
|
23161
|
-
{
|
|
23162
|
-
"kind": "method",
|
|
23163
|
-
"name": "resolveDirectionKey",
|
|
23164
|
-
"privacy": "private",
|
|
23165
|
-
"parameters": [
|
|
23166
|
-
{
|
|
23167
|
-
"name": "key",
|
|
23168
|
-
"type": {
|
|
23169
|
-
"text": "string"
|
|
23170
|
-
},
|
|
23171
|
-
"description": "The key pressed by the user."
|
|
23172
|
-
},
|
|
23173
|
-
{
|
|
23174
|
-
"name": "isRtl",
|
|
23175
|
-
"type": {
|
|
23176
|
-
"text": "boolean"
|
|
23177
|
-
},
|
|
23178
|
-
"description": "A boolean indicating if the layout is right-to-left (RTL)."
|
|
23179
|
-
}
|
|
23180
|
-
],
|
|
23181
|
-
"description": "Resolves the key pressed by the user based on the direction of the layout.\nThis method is used to handle keyboard navigation in a right-to-left (RTL) layout.\nIt checks if the layout is RTL and adjusts the arrow keys accordingly.\nFor example, in RTL, the left arrow key behaves like the right arrow key and vice versa.",
|
|
23182
|
-
"return": {
|
|
23183
|
-
"type": {
|
|
23184
|
-
"text": ""
|
|
23185
|
-
}
|
|
23186
|
-
},
|
|
23187
|
-
"inheritedFrom": {
|
|
23188
|
-
"name": "ListNavigationMixin",
|
|
23189
|
-
"module": "utils/mixins/ListNavigationMixin.js"
|
|
23190
|
-
}
|
|
23191
|
-
},
|
|
23192
|
-
{
|
|
23193
|
-
"kind": "method",
|
|
23194
|
-
"name": "shouldLoop",
|
|
23195
|
-
"privacy": "private",
|
|
23196
|
-
"inheritedFrom": {
|
|
23197
|
-
"name": "ListNavigationMixin",
|
|
23198
|
-
"module": "utils/mixins/ListNavigationMixin.js"
|
|
23199
|
-
}
|
|
23200
|
-
}
|
|
23201
|
-
],
|
|
23202
|
-
"attributes": [
|
|
23203
|
-
{
|
|
23204
|
-
"name": "loop",
|
|
23205
|
-
"type": {
|
|
23206
|
-
"text": "'true' | 'false'"
|
|
23207
|
-
},
|
|
23208
|
-
"description": "Whether to loop navigation when reaching the end of the list.\nIf 'true', pressing the down arrow on the last item will focus the first item,\nand pressing the up arrow on the first item will focus the last item.\nIf 'false', navigation will stop at the first or last item.",
|
|
23209
|
-
"default": "''",
|
|
23210
|
-
"fieldName": "loop"
|
|
23211
|
-
},
|
|
23212
|
-
{
|
|
23213
|
-
"name": "initial-focus",
|
|
23214
|
-
"type": {
|
|
23215
|
-
"text": "number"
|
|
23216
|
-
},
|
|
23217
|
-
"description": "The index of the item that should receive focus when the list is first rendered.\nIf the index is out of bounds, the first item (index 0) will receive focus.",
|
|
23218
|
-
"default": "0",
|
|
23219
|
-
"fieldName": "initialFocus"
|
|
23220
|
-
}
|
|
23221
|
-
],
|
|
23222
|
-
"mixins": [
|
|
23223
|
-
{
|
|
23224
|
-
"name": "ListNavigationMixin",
|
|
23225
|
-
"module": "/src/utils/mixins/ListNavigationMixin"
|
|
23226
|
-
},
|
|
23227
|
-
{
|
|
23228
|
-
"name": "CaptureDestroyEventForChildElement",
|
|
23229
|
-
"module": "/src/utils/mixins/lifecycle/CaptureDestroyEventForChildElement"
|
|
23230
|
-
}
|
|
23231
|
-
],
|
|
23232
|
-
"superclass": {
|
|
23233
|
-
"name": "Component",
|
|
23234
|
-
"module": "/src/models"
|
|
23235
|
-
},
|
|
23236
|
-
"tagName": "mdc-list",
|
|
23237
|
-
"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 */",
|
|
23238
|
-
"customElement": true
|
|
23239
|
-
}
|
|
23240
|
-
],
|
|
23241
|
-
"exports": [
|
|
23242
|
-
{
|
|
23243
|
-
"kind": "js",
|
|
23244
|
-
"name": "default",
|
|
23245
|
-
"declaration": {
|
|
23246
|
-
"name": "List",
|
|
23247
|
-
"module": "components/list/list.component.js"
|
|
23248
|
-
}
|
|
23249
|
-
}
|
|
23250
|
-
]
|
|
23251
|
-
},
|
|
23252
23252
|
{
|
|
23253
23253
|
"kind": "javascript-module",
|
|
23254
23254
|
"path": "components/marker/marker.component.js",
|
|
@@ -41344,6 +41344,16 @@
|
|
|
41344
41344
|
"attribute": "end-aria-valuetext",
|
|
41345
41345
|
"reflects": true
|
|
41346
41346
|
},
|
|
41347
|
+
{
|
|
41348
|
+
"kind": "field",
|
|
41349
|
+
"name": "hideTooltip",
|
|
41350
|
+
"type": {
|
|
41351
|
+
"text": "boolean | undefined"
|
|
41352
|
+
},
|
|
41353
|
+
"description": "Whether to hide the tooltip when the thumb is focused or hovered.",
|
|
41354
|
+
"attribute": "hide-tooltip",
|
|
41355
|
+
"reflects": true
|
|
41356
|
+
},
|
|
41347
41357
|
{
|
|
41348
41358
|
"kind": "method",
|
|
41349
41359
|
"name": "preventChange",
|
|
@@ -41754,6 +41764,14 @@
|
|
|
41754
41764
|
},
|
|
41755
41765
|
"description": "Aria value text for the slider's end value displayed when range is true.",
|
|
41756
41766
|
"fieldName": "endAriaValueText"
|
|
41767
|
+
},
|
|
41768
|
+
{
|
|
41769
|
+
"name": "hide-tooltip",
|
|
41770
|
+
"type": {
|
|
41771
|
+
"text": "boolean | undefined"
|
|
41772
|
+
},
|
|
41773
|
+
"description": "Whether to hide the tooltip when the thumb is focused or hovered.",
|
|
41774
|
+
"fieldName": "hideTooltip"
|
|
41757
41775
|
}
|
|
41758
41776
|
],
|
|
41759
41777
|
"superclass": {
|
|
@@ -42769,303 +42787,6 @@
|
|
|
42769
42787
|
}
|
|
42770
42788
|
]
|
|
42771
42789
|
},
|
|
42772
|
-
{
|
|
42773
|
-
"kind": "javascript-module",
|
|
42774
|
-
"path": "components/stepperitem/stepperitem.component.js",
|
|
42775
|
-
"declarations": [
|
|
42776
|
-
{
|
|
42777
|
-
"kind": "class",
|
|
42778
|
-
"description": "stepperitem component is used to represent a single step in a stepper component. It is used within a `mdc-stepper` component to indicate the current step in a process.\nIt can have different statuses such as `completed`, `current`, `incomplete`, `error-current`, and `error-incomplete`.\nThe component supports various visual styles and can be customized with labels, help text, and step numbers.\n\nThis is an uncontrolled component, meaning it does not manage its own state. Instead, it relies on the consumer's to manage the state of each step.\nMake sure to set `aria-current=\"step\"` on the current stepper item. It is applicable only when status is `current` or `error-current`. This ensures accessibility for the stepper component. Only one stepper item should have this attribute at a time.\n\nAdditionally, make use of `aria-label` to provide a descriptive detail about the stepper item, especially for screen readers. If this aria-label is not set, it would read out only the label text and doesn't provide enough context for the user.",
|
|
42779
|
-
"name": "StepperItem",
|
|
42780
|
-
"cssProperties": [
|
|
42781
|
-
{
|
|
42782
|
-
"description": "The background color of the status container.",
|
|
42783
|
-
"name": "--mdc-stepperitem-status-container-background"
|
|
42784
|
-
},
|
|
42785
|
-
{
|
|
42786
|
-
"description": "The border color of the status container.",
|
|
42787
|
-
"name": "--mdc-stepperitem-status-container-border-color"
|
|
42788
|
-
},
|
|
42789
|
-
{
|
|
42790
|
-
"description": "The color of the label text.",
|
|
42791
|
-
"name": "--mdc-stepperitem-label-color"
|
|
42792
|
-
},
|
|
42793
|
-
{
|
|
42794
|
-
"description": "The color of the optional label text.",
|
|
42795
|
-
"name": "--mdc-stepperitem-help-text-color"
|
|
42796
|
-
},
|
|
42797
|
-
{
|
|
42798
|
-
"description": "The background color of the label container.",
|
|
42799
|
-
"name": "--mdc-stepperitem-label-container-background"
|
|
42800
|
-
}
|
|
42801
|
-
],
|
|
42802
|
-
"cssParts": [
|
|
42803
|
-
{
|
|
42804
|
-
"description": "The container for the status icon or step number.",
|
|
42805
|
-
"name": "status-container"
|
|
42806
|
-
},
|
|
42807
|
-
{
|
|
42808
|
-
"description": "The container for the label and help text.",
|
|
42809
|
-
"name": "label-container"
|
|
42810
|
-
},
|
|
42811
|
-
{
|
|
42812
|
-
"description": "The container for the help text and error icon when applicable.",
|
|
42813
|
-
"name": "help-text-container"
|
|
42814
|
-
},
|
|
42815
|
-
{
|
|
42816
|
-
"description": "The icon representing the status of the stepper item.",
|
|
42817
|
-
"name": "status-icon"
|
|
42818
|
-
},
|
|
42819
|
-
{
|
|
42820
|
-
"description": "The text representing the step number.",
|
|
42821
|
-
"name": "step-number"
|
|
42822
|
-
},
|
|
42823
|
-
{
|
|
42824
|
-
"description": "The text representing the label of the stepper item.",
|
|
42825
|
-
"name": "label"
|
|
42826
|
-
},
|
|
42827
|
-
{
|
|
42828
|
-
"description": "The text providing additional information about the stepper item.",
|
|
42829
|
-
"name": "help-text"
|
|
42830
|
-
},
|
|
42831
|
-
{
|
|
42832
|
-
"description": "The icon representing an error in the stepper item.",
|
|
42833
|
-
"name": "help-icon"
|
|
42834
|
-
}
|
|
42835
|
-
],
|
|
42836
|
-
"members": [
|
|
42837
|
-
{
|
|
42838
|
-
"kind": "field",
|
|
42839
|
-
"name": "variant",
|
|
42840
|
-
"type": {
|
|
42841
|
-
"text": "VariantType"
|
|
42842
|
-
},
|
|
42843
|
-
"description": "The variant of the stepper item, which can be `inline` or `stacked`.",
|
|
42844
|
-
"default": "'inline'",
|
|
42845
|
-
"attribute": "variant",
|
|
42846
|
-
"reflects": true
|
|
42847
|
-
},
|
|
42848
|
-
{
|
|
42849
|
-
"kind": "field",
|
|
42850
|
-
"name": "status",
|
|
42851
|
-
"type": {
|
|
42852
|
-
"text": "StatusType"
|
|
42853
|
-
},
|
|
42854
|
-
"description": "The status of the stepper item, which can be `completed`, `current`, `not-started`, `error-current`, or `error-incomplete`.",
|
|
42855
|
-
"default": "'not-started'",
|
|
42856
|
-
"attribute": "status",
|
|
42857
|
-
"reflects": true
|
|
42858
|
-
},
|
|
42859
|
-
{
|
|
42860
|
-
"kind": "field",
|
|
42861
|
-
"name": "label",
|
|
42862
|
-
"type": {
|
|
42863
|
-
"text": "string"
|
|
42864
|
-
},
|
|
42865
|
-
"default": "''",
|
|
42866
|
-
"description": "The label for the stepper item, which is displayed as the main text of the step.\nThis label is typically used to describe the step or action that the step represents.",
|
|
42867
|
-
"attribute": "label",
|
|
42868
|
-
"reflects": true
|
|
42869
|
-
},
|
|
42870
|
-
{
|
|
42871
|
-
"kind": "field",
|
|
42872
|
-
"name": "helpText",
|
|
42873
|
-
"type": {
|
|
42874
|
-
"text": "string | undefined"
|
|
42875
|
-
},
|
|
42876
|
-
"description": "Additional informational text that appears below the label\nThis text is optional and can be used to provide more context or instructions for the step.",
|
|
42877
|
-
"default": "''",
|
|
42878
|
-
"attribute": "help-text",
|
|
42879
|
-
"reflects": true
|
|
42880
|
-
},
|
|
42881
|
-
{
|
|
42882
|
-
"kind": "field",
|
|
42883
|
-
"name": "stepNumber",
|
|
42884
|
-
"type": {
|
|
42885
|
-
"text": "number | undefined"
|
|
42886
|
-
},
|
|
42887
|
-
"description": "The step number for the stepper item, which is displayed as a numeric indicator of the step's position in the sequence.\nThis is useful for indicating the order of steps in a process.",
|
|
42888
|
-
"default": "''",
|
|
42889
|
-
"attribute": "step-number",
|
|
42890
|
-
"reflects": true
|
|
42891
|
-
},
|
|
42892
|
-
{
|
|
42893
|
-
"kind": "method",
|
|
42894
|
-
"name": "handleKeyDown",
|
|
42895
|
-
"privacy": "private",
|
|
42896
|
-
"parameters": [
|
|
42897
|
-
{
|
|
42898
|
-
"name": "event",
|
|
42899
|
-
"type": {
|
|
42900
|
-
"text": "KeyboardEvent"
|
|
42901
|
-
},
|
|
42902
|
-
"description": "The keyboard event."
|
|
42903
|
-
}
|
|
42904
|
-
],
|
|
42905
|
-
"description": "Handles the keydown event on the stepperitem.\nIf the key is 'Enter' or 'Space', the stepperitem is pressed.\nIf the key is 'Enter', the stepperitem is pressed. The native HTML button works in the same way.\nIf the key is 'Space', the stepperitem's default is prevent to avoid scrolling etc in the host application."
|
|
42906
|
-
},
|
|
42907
|
-
{
|
|
42908
|
-
"kind": "method",
|
|
42909
|
-
"name": "triggerClickEvent",
|
|
42910
|
-
"privacy": "private",
|
|
42911
|
-
"description": "Triggers a click event on the stepper item."
|
|
42912
|
-
},
|
|
42913
|
-
{
|
|
42914
|
-
"kind": "method",
|
|
42915
|
-
"name": "handleKeyUp",
|
|
42916
|
-
"privacy": "private",
|
|
42917
|
-
"parameters": [
|
|
42918
|
-
{
|
|
42919
|
-
"name": "event",
|
|
42920
|
-
"type": {
|
|
42921
|
-
"text": "KeyboardEvent"
|
|
42922
|
-
},
|
|
42923
|
-
"description": "The keyboard event."
|
|
42924
|
-
}
|
|
42925
|
-
],
|
|
42926
|
-
"description": "Handles the keyup event on the stepperitem.\nIf the key is 'Enter' or 'Space', the stepperitem is clicked.\nIf the key is 'Space', the stepperitem is pressed. The native HTML button works in the same way."
|
|
42927
|
-
},
|
|
42928
|
-
{
|
|
42929
|
-
"kind": "method",
|
|
42930
|
-
"name": "renderStatusIcon",
|
|
42931
|
-
"privacy": "private",
|
|
42932
|
-
"description": "Renders the status icon based on the current status of the stepper item.\n- If the status is `completed`, it renders a check icon.\n- If the status is `current` or `error-current`, it renders a pencil icon.\n- If the status is `not-started` or `error-incomplete`, it renders the step number.\n- If the status is anything else, it renders nothing.",
|
|
42933
|
-
"return": {
|
|
42934
|
-
"type": {
|
|
42935
|
-
"text": ""
|
|
42936
|
-
}
|
|
42937
|
-
}
|
|
42938
|
-
},
|
|
42939
|
-
{
|
|
42940
|
-
"kind": "method",
|
|
42941
|
-
"name": "renderHelpText",
|
|
42942
|
-
"privacy": "private",
|
|
42943
|
-
"description": "Renders the help text for the stepper item.\nIf the `helpText` property is not set, it returns nothing.",
|
|
42944
|
-
"return": {
|
|
42945
|
-
"type": {
|
|
42946
|
-
"text": ""
|
|
42947
|
-
}
|
|
42948
|
-
}
|
|
42949
|
-
},
|
|
42950
|
-
{
|
|
42951
|
-
"kind": "field",
|
|
42952
|
-
"name": "tabIndex",
|
|
42953
|
-
"type": {
|
|
42954
|
-
"text": "number"
|
|
42955
|
-
},
|
|
42956
|
-
"default": "0",
|
|
42957
|
-
"description": "This property specifies the tab order of the element.",
|
|
42958
|
-
"attribute": "tabIndex",
|
|
42959
|
-
"reflects": true,
|
|
42960
|
-
"inheritedFrom": {
|
|
42961
|
-
"name": "TabIndexMixin",
|
|
42962
|
-
"module": "utils/mixins/TabIndexMixin.js"
|
|
42963
|
-
}
|
|
42964
|
-
}
|
|
42965
|
-
],
|
|
42966
|
-
"events": [
|
|
42967
|
-
{
|
|
42968
|
-
"description": "(React: onClick) This event is dispatched when the stepperitem is clicked.",
|
|
42969
|
-
"name": "click",
|
|
42970
|
-
"reactName": "onClick"
|
|
42971
|
-
},
|
|
42972
|
-
{
|
|
42973
|
-
"description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the stepperitem.",
|
|
42974
|
-
"name": "keydown",
|
|
42975
|
-
"reactName": "onKeyDown"
|
|
42976
|
-
},
|
|
42977
|
-
{
|
|
42978
|
-
"description": "(React: onKeyUp) This event is dispatched when a key is released on the stepperitem.",
|
|
42979
|
-
"name": "keyup",
|
|
42980
|
-
"reactName": "onKeyUp"
|
|
42981
|
-
}
|
|
42982
|
-
],
|
|
42983
|
-
"attributes": [
|
|
42984
|
-
{
|
|
42985
|
-
"name": "variant",
|
|
42986
|
-
"type": {
|
|
42987
|
-
"text": "VariantType"
|
|
42988
|
-
},
|
|
42989
|
-
"description": "The variant of the stepper item, which can be `inline` or `stacked`.",
|
|
42990
|
-
"default": "'inline'",
|
|
42991
|
-
"fieldName": "variant"
|
|
42992
|
-
},
|
|
42993
|
-
{
|
|
42994
|
-
"name": "status",
|
|
42995
|
-
"type": {
|
|
42996
|
-
"text": "StatusType"
|
|
42997
|
-
},
|
|
42998
|
-
"description": "The status of the stepper item, which can be `completed`, `current`, `not-started`, `error-current`, or `error-incomplete`.",
|
|
42999
|
-
"default": "'not-started'",
|
|
43000
|
-
"fieldName": "status"
|
|
43001
|
-
},
|
|
43002
|
-
{
|
|
43003
|
-
"name": "label",
|
|
43004
|
-
"type": {
|
|
43005
|
-
"text": "string"
|
|
43006
|
-
},
|
|
43007
|
-
"default": "''",
|
|
43008
|
-
"description": "The label for the stepper item, which is displayed as the main text of the step.\nThis label is typically used to describe the step or action that the step represents.",
|
|
43009
|
-
"fieldName": "label"
|
|
43010
|
-
},
|
|
43011
|
-
{
|
|
43012
|
-
"name": "help-text",
|
|
43013
|
-
"type": {
|
|
43014
|
-
"text": "string | undefined"
|
|
43015
|
-
},
|
|
43016
|
-
"description": "Additional informational text that appears below the label\nThis text is optional and can be used to provide more context or instructions for the step.",
|
|
43017
|
-
"default": "''",
|
|
43018
|
-
"fieldName": "helpText"
|
|
43019
|
-
},
|
|
43020
|
-
{
|
|
43021
|
-
"name": "step-number",
|
|
43022
|
-
"type": {
|
|
43023
|
-
"text": "number | undefined"
|
|
43024
|
-
},
|
|
43025
|
-
"description": "The step number for the stepper item, which is displayed as a numeric indicator of the step's position in the sequence.\nThis is useful for indicating the order of steps in a process.",
|
|
43026
|
-
"default": "''",
|
|
43027
|
-
"fieldName": "stepNumber"
|
|
43028
|
-
},
|
|
43029
|
-
{
|
|
43030
|
-
"name": "tabIndex",
|
|
43031
|
-
"type": {
|
|
43032
|
-
"text": "number"
|
|
43033
|
-
},
|
|
43034
|
-
"default": "0",
|
|
43035
|
-
"description": "This property specifies the tab order of the element.",
|
|
43036
|
-
"fieldName": "tabIndex",
|
|
43037
|
-
"inheritedFrom": {
|
|
43038
|
-
"name": "TabIndexMixin",
|
|
43039
|
-
"module": "src/utils/mixins/TabIndexMixin.ts"
|
|
43040
|
-
}
|
|
43041
|
-
}
|
|
43042
|
-
],
|
|
43043
|
-
"mixins": [
|
|
43044
|
-
{
|
|
43045
|
-
"name": "TabIndexMixin",
|
|
43046
|
-
"module": "/src/utils/mixins/TabIndexMixin"
|
|
43047
|
-
}
|
|
43048
|
-
],
|
|
43049
|
-
"superclass": {
|
|
43050
|
-
"name": "Component",
|
|
43051
|
-
"module": "/src/models"
|
|
43052
|
-
},
|
|
43053
|
-
"tagName": "mdc-stepperitem",
|
|
43054
|
-
"jsDoc": "/**\n * stepperitem component is used to represent a single step in a stepper component. It is used within a `mdc-stepper` component to indicate the current step in a process.\n * It can have different statuses such as `completed`, `current`, `incomplete`, `error-current`, and `error-incomplete`.\n * The component supports various visual styles and can be customized with labels, help text, and step numbers.\n *\n * This is an uncontrolled component, meaning it does not manage its own state. Instead, it relies on the consumer's to manage the state of each step.\n * Make sure to set `aria-current=\"step\"` on the current stepper item. It is applicable only when status is `current` or `error-current`. This ensures accessibility for the stepper component. Only one stepper item should have this attribute at a time.\n *\n * Additionally, make use of `aria-label` to provide a descriptive detail about the stepper item, especially for screen readers. If this aria-label is not set, it would read out only the label text and doesn't provide enough context for the user.\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @tagname mdc-stepperitem\n *\n * @event click - (React: onClick) This event is dispatched when the stepperitem is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the stepperitem.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the stepperitem.\n *\n * @csspart status-container - The container for the status icon or step number.\n * @csspart label-container - The container for the label and help text.\n * @csspart help-text-container - The container for the help text and error icon when applicable.\n * @csspart status-icon - The icon representing the status of the stepper item.\n * @csspart step-number - The text representing the step number.\n * @csspart label - The text representing the label of the stepper item.\n * @csspart help-text - The text providing additional information about the stepper item.\n * @csspart help-icon - The icon representing an error in the stepper item.\n *\n * @cssproperty --mdc-stepperitem-status-container-background - The background color of the status container.\n * @cssproperty --mdc-stepperitem-status-container-border-color - The border color of the status container.\n * @cssproperty --mdc-stepperitem-label-color - The color of the label text.\n * @cssproperty --mdc-stepperitem-help-text-color - The color of the optional label text.\n * @cssproperty --mdc-stepperitem-label-container-background - The background color of the label container.\n */",
|
|
43055
|
-
"customElement": true
|
|
43056
|
-
}
|
|
43057
|
-
],
|
|
43058
|
-
"exports": [
|
|
43059
|
-
{
|
|
43060
|
-
"kind": "js",
|
|
43061
|
-
"name": "default",
|
|
43062
|
-
"declaration": {
|
|
43063
|
-
"name": "StepperItem",
|
|
43064
|
-
"module": "components/stepperitem/stepperitem.component.js"
|
|
43065
|
-
}
|
|
43066
|
-
}
|
|
43067
|
-
]
|
|
43068
|
-
},
|
|
43069
42790
|
{
|
|
43070
42791
|
"kind": "javascript-module",
|
|
43071
42792
|
"path": "components/tab/tab.component.js",
|
|
@@ -43983,6 +43704,303 @@
|
|
|
43983
43704
|
}
|
|
43984
43705
|
]
|
|
43985
43706
|
},
|
|
43707
|
+
{
|
|
43708
|
+
"kind": "javascript-module",
|
|
43709
|
+
"path": "components/stepperitem/stepperitem.component.js",
|
|
43710
|
+
"declarations": [
|
|
43711
|
+
{
|
|
43712
|
+
"kind": "class",
|
|
43713
|
+
"description": "stepperitem component is used to represent a single step in a stepper component. It is used within a `mdc-stepper` component to indicate the current step in a process.\nIt can have different statuses such as `completed`, `current`, `incomplete`, `error-current`, and `error-incomplete`.\nThe component supports various visual styles and can be customized with labels, help text, and step numbers.\n\nThis is an uncontrolled component, meaning it does not manage its own state. Instead, it relies on the consumer's to manage the state of each step.\nMake sure to set `aria-current=\"step\"` on the current stepper item. It is applicable only when status is `current` or `error-current`. This ensures accessibility for the stepper component. Only one stepper item should have this attribute at a time.\n\nAdditionally, make use of `aria-label` to provide a descriptive detail about the stepper item, especially for screen readers. If this aria-label is not set, it would read out only the label text and doesn't provide enough context for the user.",
|
|
43714
|
+
"name": "StepperItem",
|
|
43715
|
+
"cssProperties": [
|
|
43716
|
+
{
|
|
43717
|
+
"description": "The background color of the status container.",
|
|
43718
|
+
"name": "--mdc-stepperitem-status-container-background"
|
|
43719
|
+
},
|
|
43720
|
+
{
|
|
43721
|
+
"description": "The border color of the status container.",
|
|
43722
|
+
"name": "--mdc-stepperitem-status-container-border-color"
|
|
43723
|
+
},
|
|
43724
|
+
{
|
|
43725
|
+
"description": "The color of the label text.",
|
|
43726
|
+
"name": "--mdc-stepperitem-label-color"
|
|
43727
|
+
},
|
|
43728
|
+
{
|
|
43729
|
+
"description": "The color of the optional label text.",
|
|
43730
|
+
"name": "--mdc-stepperitem-help-text-color"
|
|
43731
|
+
},
|
|
43732
|
+
{
|
|
43733
|
+
"description": "The background color of the label container.",
|
|
43734
|
+
"name": "--mdc-stepperitem-label-container-background"
|
|
43735
|
+
}
|
|
43736
|
+
],
|
|
43737
|
+
"cssParts": [
|
|
43738
|
+
{
|
|
43739
|
+
"description": "The container for the status icon or step number.",
|
|
43740
|
+
"name": "status-container"
|
|
43741
|
+
},
|
|
43742
|
+
{
|
|
43743
|
+
"description": "The container for the label and help text.",
|
|
43744
|
+
"name": "label-container"
|
|
43745
|
+
},
|
|
43746
|
+
{
|
|
43747
|
+
"description": "The container for the help text and error icon when applicable.",
|
|
43748
|
+
"name": "help-text-container"
|
|
43749
|
+
},
|
|
43750
|
+
{
|
|
43751
|
+
"description": "The icon representing the status of the stepper item.",
|
|
43752
|
+
"name": "status-icon"
|
|
43753
|
+
},
|
|
43754
|
+
{
|
|
43755
|
+
"description": "The text representing the step number.",
|
|
43756
|
+
"name": "step-number"
|
|
43757
|
+
},
|
|
43758
|
+
{
|
|
43759
|
+
"description": "The text representing the label of the stepper item.",
|
|
43760
|
+
"name": "label"
|
|
43761
|
+
},
|
|
43762
|
+
{
|
|
43763
|
+
"description": "The text providing additional information about the stepper item.",
|
|
43764
|
+
"name": "help-text"
|
|
43765
|
+
},
|
|
43766
|
+
{
|
|
43767
|
+
"description": "The icon representing an error in the stepper item.",
|
|
43768
|
+
"name": "help-icon"
|
|
43769
|
+
}
|
|
43770
|
+
],
|
|
43771
|
+
"members": [
|
|
43772
|
+
{
|
|
43773
|
+
"kind": "field",
|
|
43774
|
+
"name": "variant",
|
|
43775
|
+
"type": {
|
|
43776
|
+
"text": "VariantType"
|
|
43777
|
+
},
|
|
43778
|
+
"description": "The variant of the stepper item, which can be `inline` or `stacked`.",
|
|
43779
|
+
"default": "'inline'",
|
|
43780
|
+
"attribute": "variant",
|
|
43781
|
+
"reflects": true
|
|
43782
|
+
},
|
|
43783
|
+
{
|
|
43784
|
+
"kind": "field",
|
|
43785
|
+
"name": "status",
|
|
43786
|
+
"type": {
|
|
43787
|
+
"text": "StatusType"
|
|
43788
|
+
},
|
|
43789
|
+
"description": "The status of the stepper item, which can be `completed`, `current`, `not-started`, `error-current`, or `error-incomplete`.",
|
|
43790
|
+
"default": "'not-started'",
|
|
43791
|
+
"attribute": "status",
|
|
43792
|
+
"reflects": true
|
|
43793
|
+
},
|
|
43794
|
+
{
|
|
43795
|
+
"kind": "field",
|
|
43796
|
+
"name": "label",
|
|
43797
|
+
"type": {
|
|
43798
|
+
"text": "string"
|
|
43799
|
+
},
|
|
43800
|
+
"default": "''",
|
|
43801
|
+
"description": "The label for the stepper item, which is displayed as the main text of the step.\nThis label is typically used to describe the step or action that the step represents.",
|
|
43802
|
+
"attribute": "label",
|
|
43803
|
+
"reflects": true
|
|
43804
|
+
},
|
|
43805
|
+
{
|
|
43806
|
+
"kind": "field",
|
|
43807
|
+
"name": "helpText",
|
|
43808
|
+
"type": {
|
|
43809
|
+
"text": "string | undefined"
|
|
43810
|
+
},
|
|
43811
|
+
"description": "Additional informational text that appears below the label\nThis text is optional and can be used to provide more context or instructions for the step.",
|
|
43812
|
+
"default": "''",
|
|
43813
|
+
"attribute": "help-text",
|
|
43814
|
+
"reflects": true
|
|
43815
|
+
},
|
|
43816
|
+
{
|
|
43817
|
+
"kind": "field",
|
|
43818
|
+
"name": "stepNumber",
|
|
43819
|
+
"type": {
|
|
43820
|
+
"text": "number | undefined"
|
|
43821
|
+
},
|
|
43822
|
+
"description": "The step number for the stepper item, which is displayed as a numeric indicator of the step's position in the sequence.\nThis is useful for indicating the order of steps in a process.",
|
|
43823
|
+
"default": "''",
|
|
43824
|
+
"attribute": "step-number",
|
|
43825
|
+
"reflects": true
|
|
43826
|
+
},
|
|
43827
|
+
{
|
|
43828
|
+
"kind": "method",
|
|
43829
|
+
"name": "handleKeyDown",
|
|
43830
|
+
"privacy": "private",
|
|
43831
|
+
"parameters": [
|
|
43832
|
+
{
|
|
43833
|
+
"name": "event",
|
|
43834
|
+
"type": {
|
|
43835
|
+
"text": "KeyboardEvent"
|
|
43836
|
+
},
|
|
43837
|
+
"description": "The keyboard event."
|
|
43838
|
+
}
|
|
43839
|
+
],
|
|
43840
|
+
"description": "Handles the keydown event on the stepperitem.\nIf the key is 'Enter' or 'Space', the stepperitem is pressed.\nIf the key is 'Enter', the stepperitem is pressed. The native HTML button works in the same way.\nIf the key is 'Space', the stepperitem's default is prevent to avoid scrolling etc in the host application."
|
|
43841
|
+
},
|
|
43842
|
+
{
|
|
43843
|
+
"kind": "method",
|
|
43844
|
+
"name": "triggerClickEvent",
|
|
43845
|
+
"privacy": "private",
|
|
43846
|
+
"description": "Triggers a click event on the stepper item."
|
|
43847
|
+
},
|
|
43848
|
+
{
|
|
43849
|
+
"kind": "method",
|
|
43850
|
+
"name": "handleKeyUp",
|
|
43851
|
+
"privacy": "private",
|
|
43852
|
+
"parameters": [
|
|
43853
|
+
{
|
|
43854
|
+
"name": "event",
|
|
43855
|
+
"type": {
|
|
43856
|
+
"text": "KeyboardEvent"
|
|
43857
|
+
},
|
|
43858
|
+
"description": "The keyboard event."
|
|
43859
|
+
}
|
|
43860
|
+
],
|
|
43861
|
+
"description": "Handles the keyup event on the stepperitem.\nIf the key is 'Enter' or 'Space', the stepperitem is clicked.\nIf the key is 'Space', the stepperitem is pressed. The native HTML button works in the same way."
|
|
43862
|
+
},
|
|
43863
|
+
{
|
|
43864
|
+
"kind": "method",
|
|
43865
|
+
"name": "renderStatusIcon",
|
|
43866
|
+
"privacy": "private",
|
|
43867
|
+
"description": "Renders the status icon based on the current status of the stepper item.\n- If the status is `completed`, it renders a check icon.\n- If the status is `current` or `error-current`, it renders a pencil icon.\n- If the status is `not-started` or `error-incomplete`, it renders the step number.\n- If the status is anything else, it renders nothing.",
|
|
43868
|
+
"return": {
|
|
43869
|
+
"type": {
|
|
43870
|
+
"text": ""
|
|
43871
|
+
}
|
|
43872
|
+
}
|
|
43873
|
+
},
|
|
43874
|
+
{
|
|
43875
|
+
"kind": "method",
|
|
43876
|
+
"name": "renderHelpText",
|
|
43877
|
+
"privacy": "private",
|
|
43878
|
+
"description": "Renders the help text for the stepper item.\nIf the `helpText` property is not set, it returns nothing.",
|
|
43879
|
+
"return": {
|
|
43880
|
+
"type": {
|
|
43881
|
+
"text": ""
|
|
43882
|
+
}
|
|
43883
|
+
}
|
|
43884
|
+
},
|
|
43885
|
+
{
|
|
43886
|
+
"kind": "field",
|
|
43887
|
+
"name": "tabIndex",
|
|
43888
|
+
"type": {
|
|
43889
|
+
"text": "number"
|
|
43890
|
+
},
|
|
43891
|
+
"default": "0",
|
|
43892
|
+
"description": "This property specifies the tab order of the element.",
|
|
43893
|
+
"attribute": "tabIndex",
|
|
43894
|
+
"reflects": true,
|
|
43895
|
+
"inheritedFrom": {
|
|
43896
|
+
"name": "TabIndexMixin",
|
|
43897
|
+
"module": "utils/mixins/TabIndexMixin.js"
|
|
43898
|
+
}
|
|
43899
|
+
}
|
|
43900
|
+
],
|
|
43901
|
+
"events": [
|
|
43902
|
+
{
|
|
43903
|
+
"description": "(React: onClick) This event is dispatched when the stepperitem is clicked.",
|
|
43904
|
+
"name": "click",
|
|
43905
|
+
"reactName": "onClick"
|
|
43906
|
+
},
|
|
43907
|
+
{
|
|
43908
|
+
"description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the stepperitem.",
|
|
43909
|
+
"name": "keydown",
|
|
43910
|
+
"reactName": "onKeyDown"
|
|
43911
|
+
},
|
|
43912
|
+
{
|
|
43913
|
+
"description": "(React: onKeyUp) This event is dispatched when a key is released on the stepperitem.",
|
|
43914
|
+
"name": "keyup",
|
|
43915
|
+
"reactName": "onKeyUp"
|
|
43916
|
+
}
|
|
43917
|
+
],
|
|
43918
|
+
"attributes": [
|
|
43919
|
+
{
|
|
43920
|
+
"name": "variant",
|
|
43921
|
+
"type": {
|
|
43922
|
+
"text": "VariantType"
|
|
43923
|
+
},
|
|
43924
|
+
"description": "The variant of the stepper item, which can be `inline` or `stacked`.",
|
|
43925
|
+
"default": "'inline'",
|
|
43926
|
+
"fieldName": "variant"
|
|
43927
|
+
},
|
|
43928
|
+
{
|
|
43929
|
+
"name": "status",
|
|
43930
|
+
"type": {
|
|
43931
|
+
"text": "StatusType"
|
|
43932
|
+
},
|
|
43933
|
+
"description": "The status of the stepper item, which can be `completed`, `current`, `not-started`, `error-current`, or `error-incomplete`.",
|
|
43934
|
+
"default": "'not-started'",
|
|
43935
|
+
"fieldName": "status"
|
|
43936
|
+
},
|
|
43937
|
+
{
|
|
43938
|
+
"name": "label",
|
|
43939
|
+
"type": {
|
|
43940
|
+
"text": "string"
|
|
43941
|
+
},
|
|
43942
|
+
"default": "''",
|
|
43943
|
+
"description": "The label for the stepper item, which is displayed as the main text of the step.\nThis label is typically used to describe the step or action that the step represents.",
|
|
43944
|
+
"fieldName": "label"
|
|
43945
|
+
},
|
|
43946
|
+
{
|
|
43947
|
+
"name": "help-text",
|
|
43948
|
+
"type": {
|
|
43949
|
+
"text": "string | undefined"
|
|
43950
|
+
},
|
|
43951
|
+
"description": "Additional informational text that appears below the label\nThis text is optional and can be used to provide more context or instructions for the step.",
|
|
43952
|
+
"default": "''",
|
|
43953
|
+
"fieldName": "helpText"
|
|
43954
|
+
},
|
|
43955
|
+
{
|
|
43956
|
+
"name": "step-number",
|
|
43957
|
+
"type": {
|
|
43958
|
+
"text": "number | undefined"
|
|
43959
|
+
},
|
|
43960
|
+
"description": "The step number for the stepper item, which is displayed as a numeric indicator of the step's position in the sequence.\nThis is useful for indicating the order of steps in a process.",
|
|
43961
|
+
"default": "''",
|
|
43962
|
+
"fieldName": "stepNumber"
|
|
43963
|
+
},
|
|
43964
|
+
{
|
|
43965
|
+
"name": "tabIndex",
|
|
43966
|
+
"type": {
|
|
43967
|
+
"text": "number"
|
|
43968
|
+
},
|
|
43969
|
+
"default": "0",
|
|
43970
|
+
"description": "This property specifies the tab order of the element.",
|
|
43971
|
+
"fieldName": "tabIndex",
|
|
43972
|
+
"inheritedFrom": {
|
|
43973
|
+
"name": "TabIndexMixin",
|
|
43974
|
+
"module": "src/utils/mixins/TabIndexMixin.ts"
|
|
43975
|
+
}
|
|
43976
|
+
}
|
|
43977
|
+
],
|
|
43978
|
+
"mixins": [
|
|
43979
|
+
{
|
|
43980
|
+
"name": "TabIndexMixin",
|
|
43981
|
+
"module": "/src/utils/mixins/TabIndexMixin"
|
|
43982
|
+
}
|
|
43983
|
+
],
|
|
43984
|
+
"superclass": {
|
|
43985
|
+
"name": "Component",
|
|
43986
|
+
"module": "/src/models"
|
|
43987
|
+
},
|
|
43988
|
+
"tagName": "mdc-stepperitem",
|
|
43989
|
+
"jsDoc": "/**\n * stepperitem component is used to represent a single step in a stepper component. It is used within a `mdc-stepper` component to indicate the current step in a process.\n * It can have different statuses such as `completed`, `current`, `incomplete`, `error-current`, and `error-incomplete`.\n * The component supports various visual styles and can be customized with labels, help text, and step numbers.\n *\n * This is an uncontrolled component, meaning it does not manage its own state. Instead, it relies on the consumer's to manage the state of each step.\n * Make sure to set `aria-current=\"step\"` on the current stepper item. It is applicable only when status is `current` or `error-current`. This ensures accessibility for the stepper component. Only one stepper item should have this attribute at a time.\n *\n * Additionally, make use of `aria-label` to provide a descriptive detail about the stepper item, especially for screen readers. If this aria-label is not set, it would read out only the label text and doesn't provide enough context for the user.\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @tagname mdc-stepperitem\n *\n * @event click - (React: onClick) This event is dispatched when the stepperitem is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the stepperitem.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the stepperitem.\n *\n * @csspart status-container - The container for the status icon or step number.\n * @csspart label-container - The container for the label and help text.\n * @csspart help-text-container - The container for the help text and error icon when applicable.\n * @csspart status-icon - The icon representing the status of the stepper item.\n * @csspart step-number - The text representing the step number.\n * @csspart label - The text representing the label of the stepper item.\n * @csspart help-text - The text providing additional information about the stepper item.\n * @csspart help-icon - The icon representing an error in the stepper item.\n *\n * @cssproperty --mdc-stepperitem-status-container-background - The background color of the status container.\n * @cssproperty --mdc-stepperitem-status-container-border-color - The border color of the status container.\n * @cssproperty --mdc-stepperitem-label-color - The color of the label text.\n * @cssproperty --mdc-stepperitem-help-text-color - The color of the optional label text.\n * @cssproperty --mdc-stepperitem-label-container-background - The background color of the label container.\n */",
|
|
43990
|
+
"customElement": true
|
|
43991
|
+
}
|
|
43992
|
+
],
|
|
43993
|
+
"exports": [
|
|
43994
|
+
{
|
|
43995
|
+
"kind": "js",
|
|
43996
|
+
"name": "default",
|
|
43997
|
+
"declaration": {
|
|
43998
|
+
"name": "StepperItem",
|
|
43999
|
+
"module": "components/stepperitem/stepperitem.component.js"
|
|
44000
|
+
}
|
|
44001
|
+
}
|
|
44002
|
+
]
|
|
44003
|
+
},
|
|
43986
44004
|
{
|
|
43987
44005
|
"kind": "javascript-module",
|
|
43988
44006
|
"path": "components/tablist/tablist.component.js",
|