@momentum-design/components 0.104.2 → 0.104.3

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.
@@ -477,157 +477,6 @@
477
477
  }
478
478
  ]
479
479
  },
480
- {
481
- "kind": "javascript-module",
482
- "path": "components/accordiongroup/accordiongroup.component.js",
483
- "declarations": [
484
- {
485
- "kind": "class",
486
- "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.",
487
- "name": "AccordionGroup",
488
- "cssProperties": [
489
- {
490
- "description": "The border color of the entire accordiongroup",
491
- "name": "--mdc-accordiongroup-border-color"
492
- }
493
- ],
494
- "slots": [
495
- {
496
- "description": "The default slot can contain the `accordion` or `accordionbutton` components.",
497
- "name": "default"
498
- }
499
- ],
500
- "members": [
501
- {
502
- "kind": "field",
503
- "name": "size",
504
- "type": {
505
- "text": "Size"
506
- },
507
- "description": "The size of the accordion item.",
508
- "default": "'small'",
509
- "attribute": "size",
510
- "reflects": true
511
- },
512
- {
513
- "kind": "field",
514
- "name": "variant",
515
- "type": {
516
- "text": "Variant"
517
- },
518
- "description": "The variant of the accordion item. Based on the variant, the styling of the accordion gets changed.",
519
- "default": "'stacked'",
520
- "attribute": "variant",
521
- "reflects": true
522
- },
523
- {
524
- "kind": "field",
525
- "name": "allowMultiple",
526
- "type": {
527
- "text": "boolean"
528
- },
529
- "default": "false",
530
- "description": "If true, multiple accordion items can be visible at the same time.",
531
- "attribute": "allow-multiple",
532
- "reflects": true
533
- },
534
- {
535
- "kind": "method",
536
- "name": "handleAccordionExpanded",
537
- "privacy": "private",
538
- "return": {
539
- "type": {
540
- "text": "void"
541
- }
542
- },
543
- "parameters": [
544
- {
545
- "name": "event",
546
- "type": {
547
- "text": "Event"
548
- },
549
- "description": "The event object from the 'shown' event."
550
- }
551
- ],
552
- "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."
553
- },
554
- {
555
- "kind": "method",
556
- "name": "setChildrenAccordionAttributes",
557
- "privacy": "private",
558
- "return": {
559
- "type": {
560
- "text": "void"
561
- }
562
- },
563
- "parameters": [
564
- {
565
- "name": "attributeName",
566
- "type": {
567
- "text": "string"
568
- },
569
- "description": "The name of the attribute to set."
570
- },
571
- {
572
- "name": "attributeValue",
573
- "type": {
574
- "text": "string"
575
- },
576
- "description": "The value to set the attribute to."
577
- }
578
- ],
579
- "description": "Sets the given attribute on all child accordion or accordionbutton components."
580
- }
581
- ],
582
- "attributes": [
583
- {
584
- "name": "size",
585
- "type": {
586
- "text": "Size"
587
- },
588
- "description": "The size of the accordion item.",
589
- "default": "'small'",
590
- "fieldName": "size"
591
- },
592
- {
593
- "name": "variant",
594
- "type": {
595
- "text": "Variant"
596
- },
597
- "description": "The variant of the accordion item. Based on the variant, the styling of the accordion gets changed.",
598
- "default": "'stacked'",
599
- "fieldName": "variant"
600
- },
601
- {
602
- "name": "allow-multiple",
603
- "type": {
604
- "text": "boolean"
605
- },
606
- "default": "false",
607
- "description": "If true, multiple accordion items can be visible at the same time.",
608
- "fieldName": "allowMultiple"
609
- }
610
- ],
611
- "superclass": {
612
- "name": "Component",
613
- "module": "/src/models"
614
- },
615
- "tagName": "mdc-accordiongroup",
616
- "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 */",
617
- "customElement": true
618
- }
619
- ],
620
- "exports": [
621
- {
622
- "kind": "js",
623
- "name": "default",
624
- "declaration": {
625
- "name": "AccordionGroup",
626
- "module": "components/accordiongroup/accordiongroup.component.js"
627
- }
628
- }
629
- ]
630
- },
631
480
  {
632
481
  "kind": "javascript-module",
633
482
  "path": "components/accordionbutton/accordionbutton.component.js",
@@ -968,6 +817,157 @@
968
817
  }
969
818
  ]
970
819
  },
820
+ {
821
+ "kind": "javascript-module",
822
+ "path": "components/accordiongroup/accordiongroup.component.js",
823
+ "declarations": [
824
+ {
825
+ "kind": "class",
826
+ "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.",
827
+ "name": "AccordionGroup",
828
+ "cssProperties": [
829
+ {
830
+ "description": "The border color of the entire accordiongroup",
831
+ "name": "--mdc-accordiongroup-border-color"
832
+ }
833
+ ],
834
+ "slots": [
835
+ {
836
+ "description": "The default slot can contain the `accordion` or `accordionbutton` components.",
837
+ "name": "default"
838
+ }
839
+ ],
840
+ "members": [
841
+ {
842
+ "kind": "field",
843
+ "name": "size",
844
+ "type": {
845
+ "text": "Size"
846
+ },
847
+ "description": "The size of the accordion item.",
848
+ "default": "'small'",
849
+ "attribute": "size",
850
+ "reflects": true
851
+ },
852
+ {
853
+ "kind": "field",
854
+ "name": "variant",
855
+ "type": {
856
+ "text": "Variant"
857
+ },
858
+ "description": "The variant of the accordion item. Based on the variant, the styling of the accordion gets changed.",
859
+ "default": "'stacked'",
860
+ "attribute": "variant",
861
+ "reflects": true
862
+ },
863
+ {
864
+ "kind": "field",
865
+ "name": "allowMultiple",
866
+ "type": {
867
+ "text": "boolean"
868
+ },
869
+ "default": "false",
870
+ "description": "If true, multiple accordion items can be visible at the same time.",
871
+ "attribute": "allow-multiple",
872
+ "reflects": true
873
+ },
874
+ {
875
+ "kind": "method",
876
+ "name": "handleAccordionExpanded",
877
+ "privacy": "private",
878
+ "return": {
879
+ "type": {
880
+ "text": "void"
881
+ }
882
+ },
883
+ "parameters": [
884
+ {
885
+ "name": "event",
886
+ "type": {
887
+ "text": "Event"
888
+ },
889
+ "description": "The event object from the 'shown' event."
890
+ }
891
+ ],
892
+ "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."
893
+ },
894
+ {
895
+ "kind": "method",
896
+ "name": "setChildrenAccordionAttributes",
897
+ "privacy": "private",
898
+ "return": {
899
+ "type": {
900
+ "text": "void"
901
+ }
902
+ },
903
+ "parameters": [
904
+ {
905
+ "name": "attributeName",
906
+ "type": {
907
+ "text": "string"
908
+ },
909
+ "description": "The name of the attribute to set."
910
+ },
911
+ {
912
+ "name": "attributeValue",
913
+ "type": {
914
+ "text": "string"
915
+ },
916
+ "description": "The value to set the attribute to."
917
+ }
918
+ ],
919
+ "description": "Sets the given attribute on all child accordion or accordionbutton components."
920
+ }
921
+ ],
922
+ "attributes": [
923
+ {
924
+ "name": "size",
925
+ "type": {
926
+ "text": "Size"
927
+ },
928
+ "description": "The size of the accordion item.",
929
+ "default": "'small'",
930
+ "fieldName": "size"
931
+ },
932
+ {
933
+ "name": "variant",
934
+ "type": {
935
+ "text": "Variant"
936
+ },
937
+ "description": "The variant of the accordion item. Based on the variant, the styling of the accordion gets changed.",
938
+ "default": "'stacked'",
939
+ "fieldName": "variant"
940
+ },
941
+ {
942
+ "name": "allow-multiple",
943
+ "type": {
944
+ "text": "boolean"
945
+ },
946
+ "default": "false",
947
+ "description": "If true, multiple accordion items can be visible at the same time.",
948
+ "fieldName": "allowMultiple"
949
+ }
950
+ ],
951
+ "superclass": {
952
+ "name": "Component",
953
+ "module": "/src/models"
954
+ },
955
+ "tagName": "mdc-accordiongroup",
956
+ "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 */",
957
+ "customElement": true
958
+ }
959
+ ],
960
+ "exports": [
961
+ {
962
+ "kind": "js",
963
+ "name": "default",
964
+ "declaration": {
965
+ "name": "AccordionGroup",
966
+ "module": "components/accordiongroup/accordiongroup.component.js"
967
+ }
968
+ }
969
+ ]
970
+ },
971
971
  {
972
972
  "kind": "javascript-module",
973
973
  "path": "components/alertchip/alertchip.component.js",
@@ -6394,12 +6394,12 @@
6394
6394
  },
6395
6395
  {
6396
6396
  "kind": "javascript-module",
6397
- "path": "components/cardcheckbox/cardcheckbox.component.js",
6397
+ "path": "components/cardradio/cardradio.component.js",
6398
6398
  "declarations": [
6399
6399
  {
6400
6400
  "kind": "class",
6401
- "description": "cardcheckbox component extends `mdc-card` and supports checkbox selection interaction addtionally.\n\nWhile using this component within a form or group of cards, make sure cards are in a role = \"checkbox-group\".\nThis card would have events for selected and unselected (similar to checkbox)\n\n**Note**: This is a single selection card i.e. interacting anywhere on the card would toggle the checked state.\nMake sure to pass only non-interactable elements within the slots.\n\nMake sure to pass the `card-title` mandatorily for this card.",
6402
- "name": "CardCheckbox",
6401
+ "description": "cardradio component extends `mdc-card` and supports radio selection interaction addtionally.\n\nWhile using this component within a form or group of cards, make sure cards are in a role = \"radio-group\".\nThis card would have events for selected and unselected (similar to radio)\n\n**Note**: This is a single selection card i.e. interacting anywhere on the card would toggle the checked state.\nMake sure to pass only non-interactable elements within the slots.\n\nMake sure to pass the `card-title` mandatorily for this card.",
6402
+ "name": "CardRadio",
6403
6403
  "cssProperties": [
6404
6404
  {
6405
6405
  "description": "The width of the card",
@@ -6576,20 +6576,76 @@
6576
6576
  },
6577
6577
  {
6578
6578
  "kind": "field",
6579
- "name": "selectionType",
6579
+ "name": "name",
6580
6580
  "type": {
6581
- "text": "SelectionType"
6581
+ "text": "string"
6582
6582
  },
6583
- "description": "The selection type of the card. It can either be set to 'check' or 'checkbox'",
6584
- "default": "'check'",
6585
- "attribute": "selection-type",
6586
- "reflects": true
6583
+ "default": "''",
6584
+ "description": "The name of the radio.",
6585
+ "attribute": "name"
6586
+ },
6587
+ {
6588
+ "kind": "method",
6589
+ "name": "getAllCardsWithinSameGroup",
6590
+ "privacy": "private",
6591
+ "return": {
6592
+ "type": {
6593
+ "text": "CardRadio[]"
6594
+ }
6595
+ },
6596
+ "description": "Returns all cards within the same group (name)."
6587
6597
  },
6588
6598
  {
6589
6599
  "kind": "method",
6590
6600
  "name": "toggleChecked",
6591
6601
  "privacy": "private",
6592
- "description": "Toggles the checked state"
6602
+ "return": {
6603
+ "type": {
6604
+ "text": "void"
6605
+ }
6606
+ },
6607
+ "description": "Handles the change event on the radio element.\nThis will toggle the state of the radio element.\nDispatches the change event."
6608
+ },
6609
+ {
6610
+ "kind": "method",
6611
+ "name": "setDisabled",
6612
+ "return": {
6613
+ "type": {
6614
+ "text": "void"
6615
+ }
6616
+ },
6617
+ "parameters": [
6618
+ {
6619
+ "name": "disabled",
6620
+ "type": {
6621
+ "text": "boolean"
6622
+ }
6623
+ }
6624
+ ]
6625
+ },
6626
+ {
6627
+ "kind": "method",
6628
+ "name": "updateCardRadio",
6629
+ "privacy": "private",
6630
+ "return": {
6631
+ "type": {
6632
+ "text": "void"
6633
+ }
6634
+ },
6635
+ "parameters": [
6636
+ {
6637
+ "name": "cards",
6638
+ "type": {
6639
+ "text": "CardRadio[]"
6640
+ }
6641
+ },
6642
+ {
6643
+ "name": "index",
6644
+ "type": {
6645
+ "text": "number"
6646
+ }
6647
+ }
6648
+ ]
6593
6649
  },
6594
6650
  {
6595
6651
  "kind": "method",
@@ -6621,17 +6677,6 @@
6621
6677
  ],
6622
6678
  "description": "Toggles the checked state when space key is used"
6623
6679
  },
6624
- {
6625
- "kind": "method",
6626
- "name": "renderSelection",
6627
- "privacy": "private",
6628
- "description": "Renders the selection icon or checkbox based on the selection type",
6629
- "return": {
6630
- "type": {
6631
- "text": ""
6632
- }
6633
- }
6634
- },
6635
6680
  {
6636
6681
  "kind": "method",
6637
6682
  "name": "renderHeader",
@@ -6905,13 +6950,13 @@
6905
6950
  "fieldName": "checked"
6906
6951
  },
6907
6952
  {
6908
- "name": "selection-type",
6953
+ "name": "name",
6909
6954
  "type": {
6910
- "text": "SelectionType"
6955
+ "text": "string"
6911
6956
  },
6912
- "description": "The selection type of the card. It can either be set to 'check' or 'checkbox'",
6913
- "default": "'check'",
6914
- "fieldName": "selectionType"
6957
+ "default": "''",
6958
+ "description": "The name of the radio.",
6959
+ "fieldName": "name"
6915
6960
  },
6916
6961
  {
6917
6962
  "name": "disabled",
@@ -7070,8 +7115,8 @@
7070
7115
  "name": "Card",
7071
7116
  "module": "/src/components/card/card.component"
7072
7117
  },
7073
- "tagName": "mdc-cardcheckbox",
7074
- "jsDoc": "/**\n * cardcheckbox component extends `mdc-card` and supports checkbox selection interaction addtionally.\n *\n * While using this component within a form or group of cards, make sure cards are in a role = \"checkbox-group\".\n * This card would have events for selected and unselected (similar to checkbox)\n *\n * **Note**: This is a single selection card i.e. interacting anywhere on the card would toggle the checked state.\n * Make sure to pass only non-interactable elements within the slots.\n *\n * Make sure to pass the `card-title` mandatorily for this card.\n *\n * @tagname mdc-cardcheckbox\n *\n * @dependency mdc-icon\n * @dependency mdc-staticcheckbox\n * @dependency mdc-text\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n * @slot footer-link - This slot is for passing `mdc-link` component within the footer section.\n * @slot footer-button-primary - This slot is for passing primary variant of `mdc-button` component within the footer section.\n *\n * @csspart header - The header part of the card\n * @csspart icon - The icon part of the card header\n * @csspart body - The body part of the card\n * @csspart image - The image part of the card\n * @csspart footer - The footer part of the card\n * @csspart footer-link - The link part of the card footer\n * @csspart footer-button-primary - The primary button part of the card footer\n * @csspart footer-button-secondary - The secondary button part of the card footer\n * @csspart icon-button - The icon button part of the card header\n * @csspart text - The text part of the card\n * @csspart check - The check part of the card\n * @csspart check-icon - The check icon part of the card\n * @csspart check-icon-button - The check icon button part of the card\n *\n * @cssproperty --mdc-card-width - The width of the card\n *\n * @event click - (React: onClick) Event that gets dispatched when the card is clicked. It toggles the checked state.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the card.\n * It toggles the checked state when enter key is used.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the card.\n * It toggles the checked state when space key is used.\n * @event focus - (React: onFocus) Event that gets dispatched when the card receives focus.\n *\n */",
7118
+ "tagName": "mdc-cardradio",
7119
+ "jsDoc": "/**\n * cardradio component extends `mdc-card` and supports radio selection interaction addtionally.\n *\n * While using this component within a form or group of cards, make sure cards are in a role = \"radio-group\".\n * This card would have events for selected and unselected (similar to radio)\n *\n * **Note**: This is a single selection card i.e. interacting anywhere on the card would toggle the checked state.\n * Make sure to pass only non-interactable elements within the slots.\n *\n * Make sure to pass the `card-title` mandatorily for this card.\n *\n * @tagname mdc-cardradio\n *\n * @dependency mdc-icon\n * @dependency mdc-staticradio\n * @dependency mdc-text\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n * @slot footer-link - This slot is for passing `mdc-link` component within the footer section.\n * @slot footer-button-primary - This slot is for passing primary variant of `mdc-button` component within the footer section.\n *\n * @csspart header - The header part of the card\n * @csspart icon - The icon part of the card header\n * @csspart body - The body part of the card\n * @csspart image - The image part of the card\n * @csspart footer - The footer part of the card\n * @csspart footer-link - The link part of the card footer\n * @csspart footer-button-primary - The primary button part of the card footer\n * @csspart footer-button-secondary - The secondary button part of the card footer\n * @csspart icon-button - The icon button part of the card header\n * @csspart text - The text part of the card\n * @csspart check - The check part of the card\n * @csspart check-icon - The check icon part of the card\n * @csspart check-icon-button - The check icon button part of the card\n *\n * @cssproperty --mdc-card-width - The width of the card\n *\n * @event click - (React: onClick) Event that gets dispatched when the card is clicked. It toggles the checked state.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the card.\n * It toggles the checked state when enter key is used.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the card.\n * It toggles the checked state when space key is used.\n * @event focus - (React: onFocus) Event that gets dispatched when the card receives focus.\n *\n */",
7075
7120
  "customElement": true
7076
7121
  }
7077
7122
  ],
@@ -7080,20 +7125,20 @@
7080
7125
  "kind": "js",
7081
7126
  "name": "default",
7082
7127
  "declaration": {
7083
- "name": "CardCheckbox",
7084
- "module": "components/cardcheckbox/cardcheckbox.component.js"
7128
+ "name": "CardRadio",
7129
+ "module": "components/cardradio/cardradio.component.js"
7085
7130
  }
7086
7131
  }
7087
7132
  ]
7088
7133
  },
7089
7134
  {
7090
7135
  "kind": "javascript-module",
7091
- "path": "components/cardradio/cardradio.component.js",
7136
+ "path": "components/cardcheckbox/cardcheckbox.component.js",
7092
7137
  "declarations": [
7093
7138
  {
7094
7139
  "kind": "class",
7095
- "description": "cardradio component extends `mdc-card` and supports radio selection interaction addtionally.\n\nWhile using this component within a form or group of cards, make sure cards are in a role = \"radio-group\".\nThis card would have events for selected and unselected (similar to radio)\n\n**Note**: This is a single selection card i.e. interacting anywhere on the card would toggle the checked state.\nMake sure to pass only non-interactable elements within the slots.\n\nMake sure to pass the `card-title` mandatorily for this card.",
7096
- "name": "CardRadio",
7140
+ "description": "cardcheckbox component extends `mdc-card` and supports checkbox selection interaction addtionally.\n\nWhile using this component within a form or group of cards, make sure cards are in a role = \"checkbox-group\".\nThis card would have events for selected and unselected (similar to checkbox)\n\n**Note**: This is a single selection card i.e. interacting anywhere on the card would toggle the checked state.\nMake sure to pass only non-interactable elements within the slots.\n\nMake sure to pass the `card-title` mandatorily for this card.",
7141
+ "name": "CardCheckbox",
7097
7142
  "cssProperties": [
7098
7143
  {
7099
7144
  "description": "The width of the card",
@@ -7270,76 +7315,20 @@
7270
7315
  },
7271
7316
  {
7272
7317
  "kind": "field",
7273
- "name": "name",
7318
+ "name": "selectionType",
7274
7319
  "type": {
7275
- "text": "string"
7276
- },
7277
- "default": "''",
7278
- "description": "The name of the radio.",
7279
- "attribute": "name"
7280
- },
7281
- {
7282
- "kind": "method",
7283
- "name": "getAllCardsWithinSameGroup",
7284
- "privacy": "private",
7285
- "return": {
7286
- "type": {
7287
- "text": "CardRadio[]"
7288
- }
7320
+ "text": "SelectionType"
7289
7321
  },
7290
- "description": "Returns all cards within the same group (name)."
7322
+ "description": "The selection type of the card. It can either be set to 'check' or 'checkbox'",
7323
+ "default": "'check'",
7324
+ "attribute": "selection-type",
7325
+ "reflects": true
7291
7326
  },
7292
7327
  {
7293
7328
  "kind": "method",
7294
7329
  "name": "toggleChecked",
7295
7330
  "privacy": "private",
7296
- "return": {
7297
- "type": {
7298
- "text": "void"
7299
- }
7300
- },
7301
- "description": "Handles the change event on the radio element.\nThis will toggle the state of the radio element.\nDispatches the change event."
7302
- },
7303
- {
7304
- "kind": "method",
7305
- "name": "setDisabled",
7306
- "return": {
7307
- "type": {
7308
- "text": "void"
7309
- }
7310
- },
7311
- "parameters": [
7312
- {
7313
- "name": "disabled",
7314
- "type": {
7315
- "text": "boolean"
7316
- }
7317
- }
7318
- ]
7319
- },
7320
- {
7321
- "kind": "method",
7322
- "name": "updateCardRadio",
7323
- "privacy": "private",
7324
- "return": {
7325
- "type": {
7326
- "text": "void"
7327
- }
7328
- },
7329
- "parameters": [
7330
- {
7331
- "name": "cards",
7332
- "type": {
7333
- "text": "CardRadio[]"
7334
- }
7335
- },
7336
- {
7337
- "name": "index",
7338
- "type": {
7339
- "text": "number"
7340
- }
7341
- }
7342
- ]
7331
+ "description": "Toggles the checked state"
7343
7332
  },
7344
7333
  {
7345
7334
  "kind": "method",
@@ -7371,6 +7360,17 @@
7371
7360
  ],
7372
7361
  "description": "Toggles the checked state when space key is used"
7373
7362
  },
7363
+ {
7364
+ "kind": "method",
7365
+ "name": "renderSelection",
7366
+ "privacy": "private",
7367
+ "description": "Renders the selection icon or checkbox based on the selection type",
7368
+ "return": {
7369
+ "type": {
7370
+ "text": ""
7371
+ }
7372
+ }
7373
+ },
7374
7374
  {
7375
7375
  "kind": "method",
7376
7376
  "name": "renderHeader",
@@ -7644,13 +7644,13 @@
7644
7644
  "fieldName": "checked"
7645
7645
  },
7646
7646
  {
7647
- "name": "name",
7647
+ "name": "selection-type",
7648
7648
  "type": {
7649
- "text": "string"
7649
+ "text": "SelectionType"
7650
7650
  },
7651
- "default": "''",
7652
- "description": "The name of the radio.",
7653
- "fieldName": "name"
7651
+ "description": "The selection type of the card. It can either be set to 'check' or 'checkbox'",
7652
+ "default": "'check'",
7653
+ "fieldName": "selectionType"
7654
7654
  },
7655
7655
  {
7656
7656
  "name": "disabled",
@@ -7809,8 +7809,8 @@
7809
7809
  "name": "Card",
7810
7810
  "module": "/src/components/card/card.component"
7811
7811
  },
7812
- "tagName": "mdc-cardradio",
7813
- "jsDoc": "/**\n * cardradio component extends `mdc-card` and supports radio selection interaction addtionally.\n *\n * While using this component within a form or group of cards, make sure cards are in a role = \"radio-group\".\n * This card would have events for selected and unselected (similar to radio)\n *\n * **Note**: This is a single selection card i.e. interacting anywhere on the card would toggle the checked state.\n * Make sure to pass only non-interactable elements within the slots.\n *\n * Make sure to pass the `card-title` mandatorily for this card.\n *\n * @tagname mdc-cardradio\n *\n * @dependency mdc-icon\n * @dependency mdc-staticradio\n * @dependency mdc-text\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n * @slot footer-link - This slot is for passing `mdc-link` component within the footer section.\n * @slot footer-button-primary - This slot is for passing primary variant of `mdc-button` component within the footer section.\n *\n * @csspart header - The header part of the card\n * @csspart icon - The icon part of the card header\n * @csspart body - The body part of the card\n * @csspart image - The image part of the card\n * @csspart footer - The footer part of the card\n * @csspart footer-link - The link part of the card footer\n * @csspart footer-button-primary - The primary button part of the card footer\n * @csspart footer-button-secondary - The secondary button part of the card footer\n * @csspart icon-button - The icon button part of the card header\n * @csspart text - The text part of the card\n * @csspart check - The check part of the card\n * @csspart check-icon - The check icon part of the card\n * @csspart check-icon-button - The check icon button part of the card\n *\n * @cssproperty --mdc-card-width - The width of the card\n *\n * @event click - (React: onClick) Event that gets dispatched when the card is clicked. It toggles the checked state.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the card.\n * It toggles the checked state when enter key is used.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the card.\n * It toggles the checked state when space key is used.\n * @event focus - (React: onFocus) Event that gets dispatched when the card receives focus.\n *\n */",
7812
+ "tagName": "mdc-cardcheckbox",
7813
+ "jsDoc": "/**\n * cardcheckbox component extends `mdc-card` and supports checkbox selection interaction addtionally.\n *\n * While using this component within a form or group of cards, make sure cards are in a role = \"checkbox-group\".\n * This card would have events for selected and unselected (similar to checkbox)\n *\n * **Note**: This is a single selection card i.e. interacting anywhere on the card would toggle the checked state.\n * Make sure to pass only non-interactable elements within the slots.\n *\n * Make sure to pass the `card-title` mandatorily for this card.\n *\n * @tagname mdc-cardcheckbox\n *\n * @dependency mdc-icon\n * @dependency mdc-staticcheckbox\n * @dependency mdc-text\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n * @slot footer-link - This slot is for passing `mdc-link` component within the footer section.\n * @slot footer-button-primary - This slot is for passing primary variant of `mdc-button` component within the footer section.\n *\n * @csspart header - The header part of the card\n * @csspart icon - The icon part of the card header\n * @csspart body - The body part of the card\n * @csspart image - The image part of the card\n * @csspart footer - The footer part of the card\n * @csspart footer-link - The link part of the card footer\n * @csspart footer-button-primary - The primary button part of the card footer\n * @csspart footer-button-secondary - The secondary button part of the card footer\n * @csspart icon-button - The icon button part of the card header\n * @csspart text - The text part of the card\n * @csspart check - The check part of the card\n * @csspart check-icon - The check icon part of the card\n * @csspart check-icon-button - The check icon button part of the card\n *\n * @cssproperty --mdc-card-width - The width of the card\n *\n * @event click - (React: onClick) Event that gets dispatched when the card is clicked. It toggles the checked state.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the card.\n * It toggles the checked state when enter key is used.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the card.\n * It toggles the checked state when space key is used.\n * @event focus - (React: onFocus) Event that gets dispatched when the card receives focus.\n *\n */",
7814
7814
  "customElement": true
7815
7815
  }
7816
7816
  ],
@@ -7819,8 +7819,8 @@
7819
7819
  "kind": "js",
7820
7820
  "name": "default",
7821
7821
  "declaration": {
7822
- "name": "CardRadio",
7823
- "module": "components/cardradio/cardradio.component.js"
7822
+ "name": "CardCheckbox",
7823
+ "module": "components/cardcheckbox/cardcheckbox.component.js"
7824
7824
  }
7825
7825
  }
7826
7826
  ]
@@ -30722,189 +30722,89 @@
30722
30722
  },
30723
30723
  {
30724
30724
  "kind": "javascript-module",
30725
- "path": "components/searchfield/searchfield.component.js",
30725
+ "path": "components/select/select.component.js",
30726
30726
  "declarations": [
30727
30727
  {
30728
30728
  "kind": "class",
30729
- "description": "`mdc-searchfield` component is used as an input field for search functionality.\n\nIt supports `mdc-inputchip` as filters.\n\nThis component is built by extending the `mdc-input` component.",
30730
- "name": "Searchfield",
30731
- "slots": [
30729
+ "description": "The mdc-select component is a dropdown selection control that allows users to pick an option from a predefined list.\nIt is designed to work with `mdc-option` for individual options and `mdc-optgroup` for grouping related options.\nThe component ensures accessibility and usability while handling various use cases,\nincluding long text truncation with tooltip support.\n\nEvery mdc-option should have a `value` attribute set to ensure proper form submission.\n\nTo set a default option, use the `selected` attribute on the `mdc-option` element.\n\n**Note:** Make sure to add `mdc-selectlistbox` as a child of `mdc-select` and wrap options/optgroup in it to ensure proper accessibility functionality. Read more about it in SelectListBox documentation.",
30730
+ "name": "Select",
30731
+ "cssProperties": [
30732
30732
  {
30733
- "description": "Slot for input chips",
30734
- "name": "filters"
30735
- }
30736
- ],
30737
- "members": [
30733
+ "description": "The background color of the combobox of select.",
30734
+ "name": "--mdc-select-background-color"
30735
+ },
30738
30736
  {
30739
- "kind": "field",
30740
- "name": "inputChips",
30741
- "type": {
30742
- "text": "Array<HTMLElement> | undefined"
30743
- }
30737
+ "description": "The background color of the combobox of select when hovered.",
30738
+ "name": "--mdc-select-background-color-hover"
30744
30739
  },
30745
30740
  {
30746
- "kind": "method",
30747
- "name": "handleKeyDown",
30748
- "privacy": "protected",
30749
- "parameters": [
30750
- {
30751
- "name": "event",
30752
- "type": {
30753
- "text": "KeyboardEvent"
30754
- },
30755
- "description": "Keyboard event"
30756
- }
30757
- ],
30758
- "description": "Handles the keydown event of the search field.\nIf the key pressed is 'Enter', it submits the form.\nIf the key pressed is 'Escape', it clears the input text.",
30759
- "inheritedFrom": {
30760
- "name": "Input",
30761
- "module": "components/input/input.component.js"
30762
- }
30741
+ "description": "The background color of the combobox of select when active.",
30742
+ "name": "--mdc-select-background-color-active"
30763
30743
  },
30764
30744
  {
30765
- "kind": "method",
30766
- "name": "renderInputChips",
30767
- "privacy": "private",
30768
- "description": "This method is used to render the input chips inside filters slot.\nIt will remove any elements that are not input chips."
30745
+ "description": "The background color of the combobox of select when disabled.",
30746
+ "name": "--mdc-select-background-color-disabled"
30769
30747
  },
30770
30748
  {
30771
- "kind": "method",
30772
- "name": "clearInputText",
30773
- "privacy": "protected",
30774
- "description": "Clears the input field.",
30775
- "inheritedFrom": {
30776
- "name": "Input",
30777
- "module": "components/input/input.component.js"
30778
- }
30749
+ "description": "The text color of the select.",
30750
+ "name": "--mdc-select-text-color"
30779
30751
  },
30780
30752
  {
30781
- "kind": "field",
30782
- "name": "name",
30783
- "type": {
30784
- "text": "string"
30785
- },
30786
- "default": "''",
30787
- "description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
30788
- "attribute": "name",
30789
- "reflects": true,
30790
- "inheritedFrom": {
30791
- "name": "FormInternalsMixin",
30792
- "module": "utils/mixins/FormInternalsMixin.js"
30793
- }
30753
+ "description": "The text color of the selected option in the select.",
30754
+ "name": "--mdc-select-text-color-selected"
30794
30755
  },
30795
30756
  {
30796
- "kind": "field",
30797
- "name": "value",
30798
- "type": {
30799
- "text": "string"
30800
- },
30801
- "default": "''",
30802
- "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
30803
- "attribute": "value",
30804
- "reflects": true,
30805
- "inheritedFrom": {
30806
- "name": "FormInternalsMixin",
30807
- "module": "utils/mixins/FormInternalsMixin.js"
30808
- }
30757
+ "description": "The text color of the select when disabled.",
30758
+ "name": "--mdc-select-text-color-disabled"
30809
30759
  },
30810
30760
  {
30811
- "kind": "field",
30812
- "name": "validationMessage",
30813
- "type": {
30814
- "text": "string | undefined"
30815
- },
30816
- "description": "Custom validation message that will override the default message and displayed when the input is invalid.\n\nTo display custom validation messages, you must listen for input events (or other relevant events)\non your component and update the `validationMessage` property with the desired message string.\nUpdating this property will ensure that new validation messages are shown to the user.\n- The `validationMessage` property overrides the default browser validation message when set.\n- Consumers are responsible for updating `validationMessage` in response to input or validation state changes.",
30817
- "attribute": "validation-message",
30818
- "reflects": true,
30819
- "inheritedFrom": {
30820
- "name": "FormInternalsMixin",
30821
- "module": "utils/mixins/FormInternalsMixin.js"
30822
- }
30761
+ "description": "The border color of the select.",
30762
+ "name": "--mdc-select-border-color"
30823
30763
  },
30824
30764
  {
30825
- "kind": "field",
30826
- "name": "validity",
30827
- "type": {
30828
- "text": "ValidityState"
30829
- },
30830
- "readonly": true,
30831
- "inheritedFrom": {
30832
- "name": "FormInternalsMixin",
30833
- "module": "utils/mixins/FormInternalsMixin.js"
30834
- }
30765
+ "description": "The border color of the select when disabled.",
30766
+ "name": "--mdc-select-border-color-disabled"
30835
30767
  },
30836
30768
  {
30837
- "kind": "field",
30838
- "name": "willValidate",
30839
- "readonly": true,
30840
- "inheritedFrom": {
30841
- "name": "FormInternalsMixin",
30842
- "module": "utils/mixins/FormInternalsMixin.js"
30843
- }
30769
+ "description": "The border color of the select when in success state.",
30770
+ "name": "--mdc-select-border-color-success"
30844
30771
  },
30845
30772
  {
30846
- "kind": "method",
30847
- "name": "setValidity",
30848
- "description": "Sets the validity of the input field based on the input field's validity.",
30849
- "return": {
30850
- "type": {
30851
- "text": ""
30852
- }
30853
- },
30854
- "inheritedFrom": {
30855
- "name": "FormInternalsMixin",
30856
- "module": "utils/mixins/FormInternalsMixin.js"
30857
- }
30773
+ "description": "The border color of the select when in warning state.",
30774
+ "name": "--mdc-select-border-color-warning"
30858
30775
  },
30859
30776
  {
30860
- "kind": "method",
30861
- "name": "checkValidity",
30862
- "return": {
30863
- "type": {
30864
- "text": "boolean"
30865
- }
30866
- },
30867
- "inheritedFrom": {
30868
- "name": "FormInternalsMixin",
30869
- "module": "utils/mixins/FormInternalsMixin.js"
30870
- }
30777
+ "description": "The border color of the select when in error state.",
30778
+ "name": "--mdc-select-border-color-error"
30871
30779
  },
30872
30780
  {
30873
- "kind": "method",
30874
- "name": "reportValidity",
30875
- "inheritedFrom": {
30876
- "name": "FormInternalsMixin",
30877
- "module": "utils/mixins/FormInternalsMixin.js"
30878
- }
30781
+ "description": "The width of the select.",
30782
+ "name": "--mdc-select-width"
30879
30783
  },
30880
30784
  {
30881
- "kind": "field",
30882
- "name": "dataAriaLabel",
30883
- "type": {
30884
- "text": "string | null"
30885
- },
30886
- "default": "null",
30887
- "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
30888
- "attribute": "data-aria-label",
30889
- "reflects": true,
30890
- "inheritedFrom": {
30891
- "name": "DataAriaLabelMixin",
30892
- "module": "utils/mixins/DataAriaLabelMixin.js"
30893
- }
30785
+ "description": "The height of the listbox inside the select.",
30786
+ "name": "--mdc-select-listbox-height"
30894
30787
  },
30788
+ {
30789
+ "description": "The width of the listbox inside the select (default: `--mdc-select-width`).",
30790
+ "name": "--mdc-select-listbox-width"
30791
+ }
30792
+ ],
30793
+ "slots": [
30794
+ {
30795
+ "description": "This is a default/unnamed slot for Selectlistbox including options and/or option group.",
30796
+ "name": "default"
30797
+ }
30798
+ ],
30799
+ "members": [
30895
30800
  {
30896
30801
  "kind": "field",
30897
30802
  "name": "placeholder",
30898
30803
  "type": {
30899
- "text": "string"
30804
+ "text": "string | undefined"
30900
30805
  },
30901
- "default": "''",
30902
- "description": "The placeholder text that is displayed when the input field is empty.",
30903
- "attribute": "placeholder",
30904
- "inheritedFrom": {
30905
- "name": "Input",
30906
- "module": "components/input/input.component.js"
30907
- }
30806
+ "description": "The placeholder text which will be shown on the text if provided.",
30807
+ "attribute": "placeholder"
30908
30808
  },
30909
30809
  {
30910
30810
  "kind": "field",
@@ -30913,311 +30813,409 @@
30913
30813
  "text": "boolean"
30914
30814
  },
30915
30815
  "default": "false",
30916
- "description": "readonly attribute of the input field. If true, the input field is read-only.",
30917
- "attribute": "readonly",
30918
- "inheritedFrom": {
30919
- "name": "Input",
30920
- "module": "components/input/input.component.js"
30921
- }
30816
+ "description": "readonly attribute of the select field. If true, the select is read-only.",
30817
+ "attribute": "readonly"
30922
30818
  },
30923
30819
  {
30924
30820
  "kind": "field",
30925
- "name": "prefixText",
30821
+ "name": "placement",
30926
30822
  "type": {
30927
- "text": "string | undefined"
30823
+ "text": "Placement"
30928
30824
  },
30929
- "description": "The prefix text that is displayed before the input field. It has a max length of 10 characters.\nWhen the prefix text is set, make sure to set the 'data-aria-label'\nattribute with the appropriate value for accessibility.",
30930
- "attribute": "prefix-text",
30931
- "inheritedFrom": {
30932
- "name": "Input",
30933
- "module": "components/input/input.component.js"
30934
- }
30825
+ "description": "The placeholder text which will be shown on the text if provided.",
30826
+ "attribute": "placement",
30827
+ "reflects": true
30935
30828
  },
30936
30829
  {
30937
30830
  "kind": "field",
30938
- "name": "leadingIcon",
30831
+ "name": "softDisabled",
30939
30832
  "type": {
30940
- "text": "IconNames | undefined"
30833
+ "text": "boolean | undefined"
30941
30834
  },
30942
- "description": "The leading icon that is displayed before the input field.",
30943
- "attribute": "leading-icon",
30944
- "inheritedFrom": {
30945
- "name": "Input",
30946
- "module": "components/input/input.component.js"
30947
- }
30835
+ "description": "Indicates whether the select is soft disabled.\nWhen set to `true`, the select appears visually disabled but still allows\nfocus.",
30836
+ "default": "undefined",
30837
+ "attribute": "soft-disabled"
30948
30838
  },
30949
30839
  {
30950
30840
  "kind": "field",
30951
- "name": "trailingButton",
30841
+ "name": "boundary",
30952
30842
  "type": {
30953
- "text": "boolean"
30843
+ "text": "'clippingAncestors' | string"
30954
30844
  },
30955
- "default": "false",
30956
- "description": "The trailing button when set to true, shows a clear button that clears the input field.",
30957
- "attribute": "trailing-button",
30958
- "inheritedFrom": {
30959
- "name": "Input",
30960
- "module": "components/input/input.component.js"
30961
- }
30845
+ "description": "This describes the clipping element(s) or area that overflow of the used popover will be checked relative to.\nThe default is 'clippingAncestors', which are the overflow ancestors which will cause the\nelement to be clipped.\n\nPossible values:\n - 'clippingAncestors'\n - any css selector",
30846
+ "default": "'clippingAncestors'",
30847
+ "attribute": "boundary",
30848
+ "reflects": true
30962
30849
  },
30963
30850
  {
30964
30851
  "kind": "field",
30965
- "name": "maxlength",
30852
+ "name": "strategy",
30966
30853
  "type": {
30967
- "text": "number | undefined"
30854
+ "text": "'absolute' | 'fixed'"
30968
30855
  },
30969
- "description": "The maximum number of characters that the input field can accept.",
30970
- "attribute": "maxlength",
30971
- "inheritedFrom": {
30972
- "name": "Input",
30973
- "module": "components/input/input.component.js"
30856
+ "description": "The strategy of the popover within Select.\nThis determines how the popover is positioned in the DOM.\n\nIn case `boundary` is set to something other than 'clippingAncestors',\nit might be necessary to set the `strategy` to 'fixed' to ensure that the popover\nis not getting clipped by scrollable containers enclosing the select.",
30857
+ "default": "absolute",
30858
+ "attribute": "strategy",
30859
+ "reflects": true
30860
+ },
30861
+ {
30862
+ "kind": "method",
30863
+ "name": "getAllValidOptions",
30864
+ "privacy": "private",
30865
+ "return": {
30866
+ "type": {
30867
+ "text": "Array<Option>"
30868
+ }
30974
30869
  }
30975
30870
  },
30976
30871
  {
30977
- "kind": "field",
30978
- "name": "minlength",
30979
- "type": {
30980
- "text": "number | undefined"
30981
- },
30982
- "description": "The minimum number of characters that the input field can accept.",
30983
- "attribute": "minlength",
30984
- "inheritedFrom": {
30985
- "name": "Input",
30986
- "module": "components/input/input.component.js"
30872
+ "kind": "method",
30873
+ "name": "getFirstValidOption",
30874
+ "privacy": "private",
30875
+ "return": {
30876
+ "type": {
30877
+ "text": "Option | null"
30878
+ }
30987
30879
  }
30988
30880
  },
30989
30881
  {
30990
- "kind": "field",
30991
- "name": "autocapitalize",
30992
- "type": {
30993
- "text": "AutoCapitalizeType"
30994
- },
30995
- "description": "The autocapitalize attribute of the input field.",
30996
- "default": "'off'",
30997
- "attribute": "autocapitalize",
30998
- "inheritedFrom": {
30999
- "name": "Input",
31000
- "module": "components/input/input.component.js"
30882
+ "kind": "method",
30883
+ "name": "getLastValidOption",
30884
+ "privacy": "private",
30885
+ "return": {
30886
+ "type": {
30887
+ "text": "Option | null"
30888
+ }
31001
30889
  }
31002
30890
  },
31003
30891
  {
31004
- "kind": "field",
31005
- "name": "autocomplete",
31006
- "type": {
31007
- "text": "AutoCompleteType"
31008
- },
31009
- "description": "The autocomplete attribute of the input field.",
31010
- "default": "'off'",
31011
- "attribute": "autocomplete",
31012
- "inheritedFrom": {
31013
- "name": "Input",
31014
- "module": "components/input/input.component.js"
30892
+ "kind": "method",
30893
+ "name": "getFirstSelectedOption",
30894
+ "privacy": "private",
30895
+ "return": {
30896
+ "type": {
30897
+ "text": "Option | null"
30898
+ }
31015
30899
  }
31016
30900
  },
31017
30901
  {
31018
- "kind": "field",
31019
- "name": "autofocus",
31020
- "type": {
31021
- "text": "boolean"
30902
+ "kind": "method",
30903
+ "name": "modifyListBoxWrapper",
30904
+ "privacy": "private",
30905
+ "description": "Modifies the listbox wrapper to ensure it has the correct attributes\nand IDs for accessibility.\n\nOnce [ariaOwnsElements](https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/ariaOwnsElements) is supported in browsers,\nthis an be removed and mdc-option can be used directly in the select component with a listbox in a different\nshadow root and aria-owns attribute to connect them."
30906
+ },
30907
+ {
30908
+ "kind": "method",
30909
+ "name": "handleOptionsClick",
30910
+ "privacy": "private",
30911
+ "return": {
30912
+ "type": {
30913
+ "text": "void"
30914
+ }
31022
30915
  },
31023
- "default": "false",
31024
- "description": "If true, the input field is focused when the component is rendered.",
31025
- "attribute": "autofocus",
31026
- "inheritedFrom": {
31027
- "name": "Input",
31028
- "module": "components/input/input.component.js"
31029
- }
30916
+ "parameters": [
30917
+ {
30918
+ "name": "event",
30919
+ "type": {
30920
+ "text": "MouseEvent"
30921
+ },
30922
+ "description": "The event which triggered this function."
30923
+ }
30924
+ ],
30925
+ "description": "A private method which is called when an option is clicked.\nIt sets the selected option, removes selected from other options, updates the tabindex for all options,\ncloses the popover, and fires the change and input events."
31030
30926
  },
31031
30927
  {
31032
- "kind": "field",
31033
- "name": "dirname",
31034
- "type": {
31035
- "text": "string | undefined"
30928
+ "kind": "method",
30929
+ "name": "setSelectedOption",
30930
+ "privacy": "private",
30931
+ "return": {
30932
+ "type": {
30933
+ "text": "void"
30934
+ }
31036
30935
  },
31037
- "description": "Specifies the name of the directionality of text for submission purposes (e.g., \"rtl\" for right-to-left).",
31038
- "attribute": "dirname",
31039
- "inheritedFrom": {
31040
- "name": "Input",
31041
- "module": "components/input/input.component.js"
31042
- }
30936
+ "parameters": [
30937
+ {
30938
+ "name": "option",
30939
+ "type": {
30940
+ "text": "Option | null"
30941
+ },
30942
+ "description": "The option element in DOM which gets selected."
30943
+ }
30944
+ ],
30945
+ "description": "Sets the selected option in the component state and updates the input element's value.\nThis method ensures that only the selected option is marked as selected in the DOM,\nand updates the tabindex for all options accordingly.\nIt also updates the validity of the input element based on the selected option.\nThis method is called when an option is selected."
31043
30946
  },
31044
30947
  {
31045
- "kind": "field",
31046
- "name": "pattern",
31047
- "type": {
31048
- "text": "string | undefined"
30948
+ "kind": "method",
30949
+ "name": "updateTabIndexForAllOptions",
30950
+ "privacy": "private",
30951
+ "return": {
30952
+ "type": {
30953
+ "text": "void"
30954
+ }
31049
30955
  },
31050
- "description": "The pattern attribute of the input field.\nSpecifies a regular expression that the input value must match for validation purposes.",
31051
- "attribute": "pattern",
31052
- "inheritedFrom": {
31053
- "name": "Input",
31054
- "module": "components/input/input.component.js"
31055
- }
30956
+ "parameters": [
30957
+ {
30958
+ "name": "option",
30959
+ "optional": true,
30960
+ "type": {
30961
+ "text": "Option | null"
30962
+ },
30963
+ "description": "The option which tabIndex should be set to 0."
30964
+ }
30965
+ ],
30966
+ "description": "Updates the tabindex of all options.\nSets the tabindex of the selected option to '0' and others to '-1'."
31056
30967
  },
31057
30968
  {
31058
- "kind": "field",
31059
- "name": "list",
31060
- "type": {
31061
- "text": "string | undefined"
30969
+ "kind": "method",
30970
+ "name": "updateSelectedInChildOptions",
30971
+ "privacy": "private",
30972
+ "return": {
30973
+ "type": {
30974
+ "text": "void"
30975
+ }
31062
30976
  },
31063
- "description": "The list attribute of the input field.\nIdentifies a list of pre-defined options to suggest to the user.",
31064
- "attribute": "list",
31065
- "inheritedFrom": {
31066
- "name": "Input",
31067
- "module": "components/input/input.component.js"
31068
- }
30977
+ "parameters": [
30978
+ {
30979
+ "name": "selectedOption",
30980
+ "type": {
30981
+ "text": "Option | null"
30982
+ },
30983
+ "description": "The option which gets selected"
30984
+ }
30985
+ ],
30986
+ "description": "Sets selected attribute on the selected option and removes it from all options"
31069
30987
  },
31070
30988
  {
31071
- "kind": "field",
31072
- "name": "size",
31073
- "type": {
31074
- "text": "number | undefined | undefined"
30989
+ "kind": "method",
30990
+ "name": "fireEvents",
30991
+ "privacy": "private",
30992
+ "return": {
30993
+ "type": {
30994
+ "text": "void"
30995
+ }
31075
30996
  },
31076
- "description": "The size attribute of the input field.\nSpecifies the width of the input field.",
31077
- "default": "undefined",
31078
- "attribute": "size",
31079
- "inheritedFrom": {
31080
- "name": "Input",
31081
- "module": "components/input/input.component.js"
31082
- }
30997
+ "description": "A private method which is called to fire the change and input events.\nIt dispatches the input and change events with the selected option's value and label."
31083
30998
  },
31084
30999
  {
31085
- "kind": "field",
31086
- "name": "clearAriaLabel",
31087
- "type": {
31088
- "text": "string"
31000
+ "kind": "method",
31001
+ "name": "dispatchChange",
31002
+ "privacy": "private",
31003
+ "return": {
31004
+ "type": {
31005
+ "text": "void"
31006
+ }
31089
31007
  },
31090
- "default": "''",
31091
- "description": "Aria label for the trailing button. If trailing button is set to true, this label is used for the clear button.",
31092
- "attribute": "clear-aria-label",
31093
- "inheritedFrom": {
31094
- "name": "Input",
31095
- "module": "components/input/input.component.js"
31096
- }
31008
+ "parameters": [
31009
+ {
31010
+ "name": "option",
31011
+ "type": {
31012
+ "text": "Option"
31013
+ }
31014
+ }
31015
+ ]
31097
31016
  },
31098
31017
  {
31099
31018
  "kind": "method",
31100
- "name": "setInputValidity",
31019
+ "name": "dispatchInput",
31101
31020
  "privacy": "private",
31102
- "inheritedFrom": {
31103
- "name": "Input",
31104
- "module": "components/input/input.component.js"
31105
- }
31021
+ "return": {
31022
+ "type": {
31023
+ "text": "void"
31024
+ }
31025
+ },
31026
+ "parameters": [
31027
+ {
31028
+ "name": "option",
31029
+ "type": {
31030
+ "text": "Option"
31031
+ }
31032
+ }
31033
+ ]
31106
31034
  },
31107
31035
  {
31108
31036
  "kind": "method",
31109
- "name": "updateValue",
31037
+ "name": "handleClickCombobox",
31110
31038
  "privacy": "private",
31111
- "description": "Updates the value of the input field.\nSets the form value.",
31112
31039
  "return": {
31113
31040
  "type": {
31114
- "text": ""
31041
+ "text": "void"
31115
31042
  }
31116
31043
  },
31117
- "inheritedFrom": {
31118
- "name": "Input",
31119
- "module": "components/input/input.component.js"
31120
- }
31044
+ "parameters": [
31045
+ {
31046
+ "name": "event",
31047
+ "type": {
31048
+ "text": "MouseEvent"
31049
+ },
31050
+ "description": "The mouse event which triggered this function."
31051
+ }
31052
+ ],
31053
+ "description": "Handles the click event on the visual combobox.\nIf the select is disabled, soft-disabled or readonly, it does nothing.\nIf the popover is already open, it closes it.\nIf it is closed, it opens it."
31121
31054
  },
31122
31055
  {
31123
31056
  "kind": "method",
31124
- "name": "onInput",
31057
+ "name": "handleKeydownCombobox",
31125
31058
  "privacy": "private",
31126
- "description": "Handles the input event of the input field.\nUpdates the value and sets the validity of the input field.",
31127
- "inheritedFrom": {
31128
- "name": "Input",
31129
- "module": "components/input/input.component.js"
31130
- }
31059
+ "return": {
31060
+ "type": {
31061
+ "text": "void"
31062
+ }
31063
+ },
31064
+ "parameters": [
31065
+ {
31066
+ "name": "event",
31067
+ "type": {
31068
+ "text": "KeyboardEvent"
31069
+ },
31070
+ "description": "The keyboard event."
31071
+ }
31072
+ ],
31073
+ "description": "Handles the keydown event on the select element when the popover is closed.\nThe options are as follows:\n- ARROW_DOWN, ARROW_UP, SPACE: Opens the popover and prevents the default scrolling behavior.\n- ENTER: Opens the popover, prevents default scrolling, and submits the form if the popover is closed.\n- HOME: Opens the popover and sets focus and tabindex on the first option.\n- END: Opens the popover and sets focus and tabindex on the last option."
31131
31074
  },
31132
31075
  {
31133
31076
  "kind": "method",
31134
- "name": "onChange",
31077
+ "name": "handlePopoverKeydown",
31135
31078
  "privacy": "private",
31079
+ "return": {
31080
+ "type": {
31081
+ "text": "void"
31082
+ }
31083
+ },
31136
31084
  "parameters": [
31137
31085
  {
31138
31086
  "name": "event",
31139
31087
  "type": {
31140
- "text": "Event"
31088
+ "text": "KeyboardEvent"
31141
31089
  },
31142
- "description": "Event which contains information about the value change."
31090
+ "description": "The keyboard event."
31143
31091
  }
31144
31092
  ],
31145
- "description": "Handles the change event of the input field.\nUpdates the value and sets the validity of the input field.\n\nThe 'change' event does not bubble up through the shadow DOM as it was not composed.\nTherefore, we need to re-dispatch the same event to ensure it is propagated correctly.\nRead more: https://developer.mozilla.org/en-US/docs/Web/API/Event/composed",
31146
- "inheritedFrom": {
31147
- "name": "Input",
31148
- "module": "components/input/input.component.js"
31149
- }
31093
+ "description": "Handles the keydown event on the select element when the popover is open.\nThe options are as follows:\n- HOME: Sets focus and tabindex on the first option.\n- END: Sets focus and tabindex on the last option.\n- ARROW_DOWN, ARROW_UP, PAGE_DOWN, PAGE_UP: Handles navigation between options."
31150
31094
  },
31151
31095
  {
31152
31096
  "kind": "method",
31153
- "name": "renderLeadingIcon",
31154
- "privacy": "protected",
31155
- "description": "Renders the leading icon before the input field.\nIf the leading icon is not set, it will not be displayed.",
31097
+ "name": "updateState",
31098
+ "privacy": "public",
31156
31099
  "return": {
31157
31100
  "type": {
31158
- "text": ""
31101
+ "text": "void"
31159
31102
  }
31160
31103
  },
31104
+ "description": "Updates the state of the select component.\nThis public method should be fired when the selected on the option components is updated from the outside.\nIt ensures that the selected attribute is set correctly on the options\nand that the aria-selected attribute is updated accordingly."
31105
+ },
31106
+ {
31107
+ "kind": "field",
31108
+ "name": "name",
31109
+ "type": {
31110
+ "text": "string"
31111
+ },
31112
+ "default": "''",
31113
+ "description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
31114
+ "attribute": "name",
31115
+ "reflects": true,
31161
31116
  "inheritedFrom": {
31162
- "name": "Input",
31163
- "module": "components/input/input.component.js"
31117
+ "name": "FormInternalsMixin",
31118
+ "module": "utils/mixins/FormInternalsMixin.js"
31119
+ }
31120
+ },
31121
+ {
31122
+ "kind": "field",
31123
+ "name": "value",
31124
+ "type": {
31125
+ "text": "string"
31126
+ },
31127
+ "default": "''",
31128
+ "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
31129
+ "attribute": "value",
31130
+ "reflects": true,
31131
+ "inheritedFrom": {
31132
+ "name": "FormInternalsMixin",
31133
+ "module": "utils/mixins/FormInternalsMixin.js"
31134
+ }
31135
+ },
31136
+ {
31137
+ "kind": "field",
31138
+ "name": "validationMessage",
31139
+ "type": {
31140
+ "text": "string | undefined"
31141
+ },
31142
+ "description": "Custom validation message that will override the default message and displayed when the input is invalid.\n\nTo display custom validation messages, you must listen for input events (or other relevant events)\non your component and update the `validationMessage` property with the desired message string.\nUpdating this property will ensure that new validation messages are shown to the user.\n- The `validationMessage` property overrides the default browser validation message when set.\n- Consumers are responsible for updating `validationMessage` in response to input or validation state changes.",
31143
+ "attribute": "validation-message",
31144
+ "reflects": true,
31145
+ "inheritedFrom": {
31146
+ "name": "FormInternalsMixin",
31147
+ "module": "utils/mixins/FormInternalsMixin.js"
31148
+ }
31149
+ },
31150
+ {
31151
+ "kind": "field",
31152
+ "name": "validity",
31153
+ "type": {
31154
+ "text": "ValidityState"
31155
+ },
31156
+ "readonly": true,
31157
+ "inheritedFrom": {
31158
+ "name": "FormInternalsMixin",
31159
+ "module": "utils/mixins/FormInternalsMixin.js"
31160
+ }
31161
+ },
31162
+ {
31163
+ "kind": "field",
31164
+ "name": "willValidate",
31165
+ "readonly": true,
31166
+ "inheritedFrom": {
31167
+ "name": "FormInternalsMixin",
31168
+ "module": "utils/mixins/FormInternalsMixin.js"
31164
31169
  }
31165
31170
  },
31166
31171
  {
31167
31172
  "kind": "method",
31168
- "name": "renderPrefixText",
31169
- "privacy": "protected",
31170
- "description": "Renders the prefix text before the input field.\nIf the prefix text is more than 10 characters,\n- it will not be displayed.\n- the validation messsage will be displayed.\n\n Note: We are setting aria-hidden so that the screen reader does not read the prefix text.\n The consumers should set the appropriate aria-label for the input field using 'data-aria-label' attribute.",
31173
+ "name": "setValidity",
31174
+ "description": "Sets the validity of the input field based on the input field's validity.",
31171
31175
  "return": {
31172
31176
  "type": {
31173
31177
  "text": ""
31174
31178
  }
31175
31179
  },
31176
31180
  "inheritedFrom": {
31177
- "name": "Input",
31178
- "module": "components/input/input.component.js"
31181
+ "name": "FormInternalsMixin",
31182
+ "module": "utils/mixins/FormInternalsMixin.js"
31179
31183
  }
31180
31184
  },
31181
31185
  {
31182
31186
  "kind": "method",
31183
- "name": "renderTrailingButton",
31184
- "privacy": "protected",
31185
- "parameters": [
31186
- {
31187
- "name": "show",
31188
- "default": "false"
31189
- }
31190
- ],
31191
- "description": "Renders the trailing button to clear the input field if the trailingButton is set to true.",
31187
+ "name": "checkValidity",
31192
31188
  "return": {
31193
31189
  "type": {
31194
- "text": ""
31190
+ "text": "boolean"
31195
31191
  }
31196
31192
  },
31197
31193
  "inheritedFrom": {
31198
- "name": "Input",
31199
- "module": "components/input/input.component.js"
31194
+ "name": "FormInternalsMixin",
31195
+ "module": "utils/mixins/FormInternalsMixin.js"
31200
31196
  }
31201
31197
  },
31202
31198
  {
31203
31199
  "kind": "method",
31204
- "name": "renderInputElement",
31205
- "privacy": "protected",
31206
- "parameters": [
31207
- {
31208
- "name": "type",
31209
- "type": {
31210
- "text": "InputType"
31211
- }
31212
- },
31213
- {
31214
- "name": "hidePlaceholder",
31215
- "default": "false"
31216
- }
31217
- ],
31200
+ "name": "reportValidity",
31218
31201
  "inheritedFrom": {
31219
- "name": "Input",
31220
- "module": "components/input/input.component.js"
31202
+ "name": "FormInternalsMixin",
31203
+ "module": "utils/mixins/FormInternalsMixin.js"
31204
+ }
31205
+ },
31206
+ {
31207
+ "kind": "field",
31208
+ "name": "dataAriaLabel",
31209
+ "type": {
31210
+ "text": "string | null"
31211
+ },
31212
+ "default": "null",
31213
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
31214
+ "attribute": "data-aria-label",
31215
+ "reflects": true,
31216
+ "inheritedFrom": {
31217
+ "name": "DataAriaLabelMixin",
31218
+ "module": "utils/mixins/DataAriaLabelMixin.js"
31221
31219
  }
31222
31220
  },
31223
31221
  {
@@ -31427,71 +31425,90 @@
31427
31425
  ],
31428
31426
  "events": [
31429
31427
  {
31430
- "description": "(React: onInput) This event is dispatched when the value of the input field changes (every press).",
31428
+ "name": "change",
31429
+ "type": {
31430
+ "text": "CustomEvent"
31431
+ },
31432
+ "description": "(React: onChange) This event is dispatched when the select is changed.",
31433
+ "reactName": "onChange"
31434
+ },
31435
+ {
31431
31436
  "name": "input",
31432
- "reactName": "onInput",
31433
- "inheritedFrom": {
31434
- "name": "Input",
31435
- "module": "src/components/input/input.component.ts"
31436
- }
31437
+ "type": {
31438
+ "text": "CustomEvent"
31439
+ },
31440
+ "description": "(React: onInput) This event is dispatched when the select is changed.",
31441
+ "reactName": "onInput"
31437
31442
  },
31438
31443
  {
31439
- "description": "(React: onChange) This event is dispatched when the value of the input field changes (on blur).",
31440
- "name": "change",
31441
- "reactName": "onChange",
31442
- "inheritedFrom": {
31443
- "name": "Input",
31444
- "module": "src/components/input/input.component.ts"
31445
- }
31444
+ "description": "(React: onClick) This event is dispatched when the select is clicked.",
31445
+ "name": "click",
31446
+ "reactName": "onClick"
31446
31447
  },
31447
31448
  {
31448
- "description": "(React: onFocus) This event is dispatched when the input receives focus.",
31449
+ "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the select.",
31450
+ "name": "keydown",
31451
+ "reactName": "onKeyDown"
31452
+ },
31453
+ {
31454
+ "description": "(React: onFocus) This event is dispatched when the select receives focus.",
31449
31455
  "name": "focus",
31450
- "reactName": "onFocus",
31451
- "inheritedFrom": {
31452
- "name": "Input",
31453
- "module": "src/components/input/input.component.ts"
31454
- }
31456
+ "reactName": "onFocus"
31457
+ }
31458
+ ],
31459
+ "attributes": [
31460
+ {
31461
+ "name": "placeholder",
31462
+ "type": {
31463
+ "text": "string | undefined"
31464
+ },
31465
+ "description": "The placeholder text which will be shown on the text if provided.",
31466
+ "fieldName": "placeholder"
31455
31467
  },
31456
31468
  {
31457
- "description": "(React: onBlur) This event is dispatched when the input loses focus.",
31458
- "name": "blur",
31459
- "reactName": "onBlur",
31460
- "inheritedFrom": {
31461
- "name": "Input",
31462
- "module": "src/components/input/input.component.ts"
31463
- }
31469
+ "name": "readonly",
31470
+ "type": {
31471
+ "text": "boolean"
31472
+ },
31473
+ "default": "false",
31474
+ "description": "readonly attribute of the select field. If true, the select is read-only.",
31475
+ "fieldName": "readonly"
31464
31476
  },
31465
31477
  {
31466
- "name": "clear",
31478
+ "name": "placement",
31467
31479
  "type": {
31468
- "text": "CustomEvent"
31480
+ "text": "Placement"
31469
31481
  },
31470
- "description": "(React: onClear) This event is dispatched when the input text is cleared.",
31471
- "reactName": "onClear",
31472
- "inheritedFrom": {
31473
- "name": "Input",
31474
- "module": "src/components/input/input.component.ts"
31475
- }
31482
+ "description": "The placeholder text which will be shown on the text if provided.",
31483
+ "fieldName": "placement"
31476
31484
  },
31477
31485
  {
31486
+ "name": "soft-disabled",
31478
31487
  "type": {
31479
- "text": "EventConstructor"
31488
+ "text": "boolean | undefined"
31480
31489
  },
31481
- "inheritedFrom": {
31482
- "name": "Input",
31483
- "module": "src/components/input/input.component.ts"
31484
- }
31485
- }
31486
- ],
31487
- "superclass": {
31488
- "name": "Input",
31489
- "module": "/src/components/input/input.component"
31490
- },
31491
- "tagName": "mdc-searchfield",
31492
- "jsDoc": "/**\n * `mdc-searchfield` component is used as an input field for search functionality.\n *\n * It supports `mdc-inputchip` as filters.\n *\n * This component is built by extending the `mdc-input` component.\n *\n * @tagname mdc-searchfield\n * \n * @event input - (React: onInput) This event is dispatched when the value of the input field changes (every press).\n * @event change - (React: onChange) This event is dispatched when the value of the input field changes (on blur).\n * @event focus - (React: onFocus) This event is dispatched when the input receives focus.\n * @event blur - (React: onBlur) This event is dispatched when the input loses focus.\n * @event clear - (React: onClear) This event is dispatched when the input text is cleared.\n *\n * @slot filters - Slot for input chips\n */",
31493
- "customElement": true,
31494
- "attributes": [
31490
+ "description": "Indicates whether the select is soft disabled.\nWhen set to `true`, the select appears visually disabled but still allows\nfocus.",
31491
+ "default": "undefined",
31492
+ "fieldName": "softDisabled"
31493
+ },
31494
+ {
31495
+ "name": "boundary",
31496
+ "type": {
31497
+ "text": "'clippingAncestors' | string"
31498
+ },
31499
+ "description": "This describes the clipping element(s) or area that overflow of the used popover will be checked relative to.\nThe default is 'clippingAncestors', which are the overflow ancestors which will cause the\nelement to be clipped.\n\nPossible values:\n - 'clippingAncestors'\n - any css selector",
31500
+ "default": "'clippingAncestors'",
31501
+ "fieldName": "boundary"
31502
+ },
31503
+ {
31504
+ "name": "strategy",
31505
+ "type": {
31506
+ "text": "'absolute' | 'fixed'"
31507
+ },
31508
+ "description": "The strategy of the popover within Select.\nThis determines how the popover is positioned in the DOM.\n\nIn case `boundary` is set to something other than 'clippingAncestors',\nit might be necessary to set the `strategy` to 'fixed' to ensure that the popover\nis not getting clipped by scrollable containers enclosing the select.",
31509
+ "default": "absolute",
31510
+ "fieldName": "strategy"
31511
+ },
31495
31512
  {
31496
31513
  "name": "name",
31497
31514
  "type": {
@@ -31544,201 +31561,13 @@
31544
31561
  }
31545
31562
  },
31546
31563
  {
31547
- "name": "placeholder",
31564
+ "name": "disabled",
31548
31565
  "type": {
31549
- "text": "string"
31566
+ "text": "boolean | undefined"
31550
31567
  },
31551
- "default": "''",
31552
- "description": "The placeholder text that is displayed when the input field is empty.",
31553
- "fieldName": "placeholder",
31554
- "inheritedFrom": {
31555
- "name": "Input",
31556
- "module": "src/components/input/input.component.ts"
31557
- }
31558
- },
31559
- {
31560
- "name": "readonly",
31561
- "type": {
31562
- "text": "boolean"
31563
- },
31564
- "default": "false",
31565
- "description": "readonly attribute of the input field. If true, the input field is read-only.",
31566
- "fieldName": "readonly",
31567
- "inheritedFrom": {
31568
- "name": "Input",
31569
- "module": "src/components/input/input.component.ts"
31570
- }
31571
- },
31572
- {
31573
- "name": "prefix-text",
31574
- "type": {
31575
- "text": "string | undefined"
31576
- },
31577
- "description": "The prefix text that is displayed before the input field. It has a max length of 10 characters.\nWhen the prefix text is set, make sure to set the 'data-aria-label'\nattribute with the appropriate value for accessibility.",
31578
- "fieldName": "prefixText",
31579
- "inheritedFrom": {
31580
- "name": "Input",
31581
- "module": "src/components/input/input.component.ts"
31582
- }
31583
- },
31584
- {
31585
- "name": "leading-icon",
31586
- "type": {
31587
- "text": "IconNames | undefined"
31588
- },
31589
- "description": "The leading icon that is displayed before the input field.",
31590
- "fieldName": "leadingIcon",
31591
- "inheritedFrom": {
31592
- "name": "Input",
31593
- "module": "src/components/input/input.component.ts"
31594
- }
31595
- },
31596
- {
31597
- "name": "trailing-button",
31598
- "type": {
31599
- "text": "boolean"
31600
- },
31601
- "default": "false",
31602
- "description": "The trailing button when set to true, shows a clear button that clears the input field.",
31603
- "fieldName": "trailingButton",
31604
- "inheritedFrom": {
31605
- "name": "Input",
31606
- "module": "src/components/input/input.component.ts"
31607
- }
31608
- },
31609
- {
31610
- "name": "maxlength",
31611
- "type": {
31612
- "text": "number | undefined"
31613
- },
31614
- "description": "The maximum number of characters that the input field can accept.",
31615
- "fieldName": "maxlength",
31616
- "inheritedFrom": {
31617
- "name": "Input",
31618
- "module": "src/components/input/input.component.ts"
31619
- }
31620
- },
31621
- {
31622
- "name": "minlength",
31623
- "type": {
31624
- "text": "number | undefined"
31625
- },
31626
- "description": "The minimum number of characters that the input field can accept.",
31627
- "fieldName": "minlength",
31628
- "inheritedFrom": {
31629
- "name": "Input",
31630
- "module": "src/components/input/input.component.ts"
31631
- }
31632
- },
31633
- {
31634
- "name": "autocapitalize",
31635
- "type": {
31636
- "text": "AutoCapitalizeType"
31637
- },
31638
- "description": "The autocapitalize attribute of the input field.",
31639
- "default": "'off'",
31640
- "fieldName": "autocapitalize",
31641
- "inheritedFrom": {
31642
- "name": "Input",
31643
- "module": "src/components/input/input.component.ts"
31644
- }
31645
- },
31646
- {
31647
- "name": "autocomplete",
31648
- "type": {
31649
- "text": "AutoCompleteType"
31650
- },
31651
- "description": "The autocomplete attribute of the input field.",
31652
- "default": "'off'",
31653
- "fieldName": "autocomplete",
31654
- "inheritedFrom": {
31655
- "name": "Input",
31656
- "module": "src/components/input/input.component.ts"
31657
- }
31658
- },
31659
- {
31660
- "name": "autofocus",
31661
- "type": {
31662
- "text": "boolean"
31663
- },
31664
- "default": "false",
31665
- "description": "If true, the input field is focused when the component is rendered.",
31666
- "fieldName": "autofocus",
31667
- "inheritedFrom": {
31668
- "name": "Input",
31669
- "module": "src/components/input/input.component.ts"
31670
- }
31671
- },
31672
- {
31673
- "name": "dirname",
31674
- "type": {
31675
- "text": "string | undefined"
31676
- },
31677
- "description": "Specifies the name of the directionality of text for submission purposes (e.g., \"rtl\" for right-to-left).",
31678
- "fieldName": "dirname",
31679
- "inheritedFrom": {
31680
- "name": "Input",
31681
- "module": "src/components/input/input.component.ts"
31682
- }
31683
- },
31684
- {
31685
- "name": "pattern",
31686
- "type": {
31687
- "text": "string | undefined"
31688
- },
31689
- "description": "The pattern attribute of the input field.\nSpecifies a regular expression that the input value must match for validation purposes.",
31690
- "fieldName": "pattern",
31691
- "inheritedFrom": {
31692
- "name": "Input",
31693
- "module": "src/components/input/input.component.ts"
31694
- }
31695
- },
31696
- {
31697
- "name": "list",
31698
- "type": {
31699
- "text": "string | undefined"
31700
- },
31701
- "description": "The list attribute of the input field.\nIdentifies a list of pre-defined options to suggest to the user.",
31702
- "fieldName": "list",
31703
- "inheritedFrom": {
31704
- "name": "Input",
31705
- "module": "src/components/input/input.component.ts"
31706
- }
31707
- },
31708
- {
31709
- "name": "size",
31710
- "type": {
31711
- "text": "number | undefined | undefined"
31712
- },
31713
- "description": "The size attribute of the input field.\nSpecifies the width of the input field.",
31714
- "default": "undefined",
31715
- "fieldName": "size",
31716
- "inheritedFrom": {
31717
- "name": "Input",
31718
- "module": "src/components/input/input.component.ts"
31719
- }
31720
- },
31721
- {
31722
- "name": "clear-aria-label",
31723
- "type": {
31724
- "text": "string"
31725
- },
31726
- "default": "''",
31727
- "description": "Aria label for the trailing button. If trailing button is set to true, this label is used for the clear button.",
31728
- "fieldName": "clearAriaLabel",
31729
- "inheritedFrom": {
31730
- "name": "Input",
31731
- "module": "src/components/input/input.component.ts"
31732
- }
31733
- },
31734
- {
31735
- "name": "disabled",
31736
- "type": {
31737
- "text": "boolean | undefined"
31738
- },
31739
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
31740
- "default": "undefined",
31741
- "fieldName": "disabled",
31568
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
31569
+ "default": "undefined",
31570
+ "fieldName": "disabled",
31742
31571
  "inheritedFrom": {
31743
31572
  "name": "FormfieldWrapper",
31744
31573
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
@@ -31844,136 +31673,23 @@
31844
31673
  }
31845
31674
  }
31846
31675
  ],
31847
- "cssProperties": [
31848
- {
31849
- "description": "Border color for the input container when disabled",
31850
- "name": "--mdc-input-disabled-border-color",
31851
- "inheritedFrom": {
31852
- "name": "Input",
31853
- "module": "src/components/input/input.component.ts"
31854
- }
31855
- },
31856
- {
31857
- "description": "Text color for the input field when disabled",
31858
- "name": "--mdc-input-disabled-text-color",
31859
- "inheritedFrom": {
31860
- "name": "Input",
31861
- "module": "src/components/input/input.component.ts"
31862
- }
31863
- },
31864
- {
31865
- "description": "Background color for the input field when disabled",
31866
- "name": "--mdc-input-disabled-background-color",
31867
- "inheritedFrom": {
31868
- "name": "Input",
31869
- "module": "src/components/input/input.component.ts"
31870
- }
31871
- },
31872
- {
31873
- "description": "Border color for the input container",
31874
- "name": "--mdc-input-border-color",
31875
- "inheritedFrom": {
31876
- "name": "Input",
31877
- "module": "src/components/input/input.component.ts"
31878
- }
31879
- },
31880
- {
31881
- "description": "Text color for the input field",
31882
- "name": "--mdc-input-text-color",
31883
- "inheritedFrom": {
31884
- "name": "Input",
31885
- "module": "src/components/input/input.component.ts"
31886
- }
31887
- },
31888
- {
31889
- "description": "Background color for the input field",
31890
- "name": "--mdc-input-background-color",
31891
- "inheritedFrom": {
31892
- "name": "Input",
31893
- "module": "src/components/input/input.component.ts"
31894
- }
31895
- },
31896
- {
31897
- "description": "Background color for the selected text",
31898
- "name": "--mdc-input-selection-background-color",
31899
- "inheritedFrom": {
31900
- "name": "Input",
31901
- "module": "src/components/input/input.component.ts"
31902
- }
31903
- },
31904
- {
31905
- "description": "Text color for the selected text",
31906
- "name": "--mdc-input-selection-text-color",
31907
- "inheritedFrom": {
31908
- "name": "Input",
31909
- "module": "src/components/input/input.component.ts"
31910
- }
31911
- },
31912
- {
31913
- "description": "Text color for the help text",
31914
- "name": "--mdc-input-support-text-color",
31915
- "inheritedFrom": {
31916
- "name": "Input",
31917
- "module": "src/components/input/input.component.ts"
31918
- }
31919
- },
31920
- {
31921
- "description": "Background color for the input field when hovered",
31922
- "name": "--mdc-input-hover-background-color",
31923
- "inheritedFrom": {
31924
- "name": "Input",
31925
- "module": "src/components/input/input.component.ts"
31926
- }
31927
- },
31928
- {
31929
- "description": "Background color for the input field when focused",
31930
- "name": "--mdc-input-focused-background-color",
31931
- "inheritedFrom": {
31932
- "name": "Input",
31933
- "module": "src/components/input/input.component.ts"
31934
- }
31935
- },
31936
- {
31937
- "description": "Border color for the input container when focused",
31938
- "name": "--mdc-input-focused-border-color",
31939
- "inheritedFrom": {
31940
- "name": "Input",
31941
- "module": "src/components/input/input.component.ts"
31942
- }
31943
- },
31944
- {
31945
- "description": "Border color for the input container when error",
31946
- "name": "--mdc-input-error-border-color",
31947
- "inheritedFrom": {
31948
- "name": "Input",
31949
- "module": "src/components/input/input.component.ts"
31950
- }
31951
- },
31952
- {
31953
- "description": "Border color for the input container when warning",
31954
- "name": "--mdc-input-warning-border-color",
31955
- "inheritedFrom": {
31956
- "name": "Input",
31957
- "module": "src/components/input/input.component.ts"
31958
- }
31959
- },
31676
+ "mixins": [
31960
31677
  {
31961
- "description": "Border color for the input container when success",
31962
- "name": "--mdc-input-success-border-color",
31963
- "inheritedFrom": {
31964
- "name": "Input",
31965
- "module": "src/components/input/input.component.ts"
31966
- }
31678
+ "name": "FormInternalsMixin",
31679
+ "module": "/src/utils/mixins/FormInternalsMixin"
31967
31680
  },
31968
31681
  {
31969
- "description": "Border color for the input container when primary",
31970
- "name": "--mdc-input-primary-border-color",
31971
- "inheritedFrom": {
31972
- "name": "Input",
31973
- "module": "src/components/input/input.component.ts"
31974
- }
31682
+ "name": "DataAriaLabelMixin",
31683
+ "module": "/src/utils/mixins/DataAriaLabelMixin"
31975
31684
  }
31976
- ]
31685
+ ],
31686
+ "superclass": {
31687
+ "name": "FormfieldWrapper",
31688
+ "module": "/src/components/formfieldwrapper/formfieldwrapper.component"
31689
+ },
31690
+ "tagName": "mdc-select",
31691
+ "jsDoc": "/**\n * The mdc-select component is a dropdown selection control that allows users to pick an option from a predefined list.\n * It is designed to work with `mdc-option` for individual options and `mdc-optgroup` for grouping related options.\n * The component ensures accessibility and usability while handling various use cases,\n * including long text truncation with tooltip support.\n *\n * Every mdc-option should have a `value` attribute set to ensure proper form submission.\n *\n * To set a default option, use the `selected` attribute on the `mdc-option` element.\n *\n * **Note:** Make sure to add `mdc-selectlistbox` as a child of `mdc-select` and wrap options/optgroup in it to ensure proper accessibility functionality. Read more about it in SelectListBox documentation.\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-popover\n * @dependency mdc-text\n * @dependency mdc-toggletip\n *\n * @tagname mdc-select\n *\n * @slot default - This is a default/unnamed slot for Selectlistbox including options and/or option group.\n *\n * @event click - (React: onClick) This event is dispatched when the select is clicked.\n * @event change - (React: onChange) This event is dispatched when the select is changed.\n * @event input - (React: onInput) This event is dispatched when the select is changed.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the select.\n * @event focus - (React: onFocus) This event is dispatched when the select receives focus.\n *\n * @cssproperty --mdc-select-background-color - The background color of the combobox of select.\n * @cssproperty --mdc-select-background-color-hover - The background color of the combobox of select when hovered.\n * @cssproperty --mdc-select-background-color-active - The background color of the combobox of select when active.\n * @cssproperty --mdc-select-background-color-disabled - The background color of the combobox of select when disabled.\n * @cssproperty --mdc-select-text-color - The text color of the select.\n * @cssproperty --mdc-select-text-color-selected - The text color of the selected option in the select.\n * @cssproperty --mdc-select-text-color-disabled - The text color of the select when disabled.\n * @cssproperty --mdc-select-border-color - The border color of the select.\n * @cssproperty --mdc-select-border-color-disabled - The border color of the select when disabled.\n * @cssproperty --mdc-select-border-color-success - The border color of the select when in success state.\n * @cssproperty --mdc-select-border-color-warning - The border color of the select when in warning state.\n * @cssproperty --mdc-select-border-color-error - The border color of the select when in error state.\n * @cssproperty --mdc-select-width - The width of the select.\n * @cssproperty --mdc-select-listbox-height - The height of the listbox inside the select.\n * @cssproperty --mdc-select-listbox-width - The width of the listbox inside the select (default: `--mdc-select-width`).\n */",
31692
+ "customElement": true
31977
31693
  }
31978
31694
  ],
31979
31695
  "exports": [
@@ -31981,510 +31697,550 @@
31981
31697
  "kind": "js",
31982
31698
  "name": "default",
31983
31699
  "declaration": {
31984
- "name": "Searchfield",
31985
- "module": "components/searchfield/searchfield.component.js"
31700
+ "name": "Select",
31701
+ "module": "components/select/select.component.js"
31986
31702
  }
31987
31703
  }
31988
31704
  ]
31989
31705
  },
31990
31706
  {
31991
31707
  "kind": "javascript-module",
31992
- "path": "components/select/select.component.js",
31708
+ "path": "components/selectlistbox/selectlistbox.component.js",
31993
31709
  "declarations": [
31994
31710
  {
31995
31711
  "kind": "class",
31996
- "description": "The mdc-select component is a dropdown selection control that allows users to pick an option from a predefined list.\nIt is designed to work with `mdc-option` for individual options and `mdc-optgroup` for grouping related options.\nThe component ensures accessibility and usability while handling various use cases,\nincluding long text truncation with tooltip support.\n\nEvery mdc-option should have a `value` attribute set to ensure proper form submission.\n\nTo set a default option, use the `selected` attribute on the `mdc-option` element.\n\n**Note:** Make sure to add `mdc-selectlistbox` as a child of `mdc-select` and wrap options/optgroup in it to ensure proper accessibility functionality. Read more about it in SelectListBox documentation.",
31997
- "name": "Select",
31998
- "cssProperties": [
31999
- {
32000
- "description": "The background color of the combobox of select.",
32001
- "name": "--mdc-select-background-color"
32002
- },
32003
- {
32004
- "description": "The background color of the combobox of select when hovered.",
32005
- "name": "--mdc-select-background-color-hover"
32006
- },
32007
- {
32008
- "description": "The background color of the combobox of select when active.",
32009
- "name": "--mdc-select-background-color-active"
32010
- },
32011
- {
32012
- "description": "The background color of the combobox of select when disabled.",
32013
- "name": "--mdc-select-background-color-disabled"
32014
- },
32015
- {
32016
- "description": "The text color of the select.",
32017
- "name": "--mdc-select-text-color"
32018
- },
32019
- {
32020
- "description": "The text color of the selected option in the select.",
32021
- "name": "--mdc-select-text-color-selected"
32022
- },
32023
- {
32024
- "description": "The text color of the select when disabled.",
32025
- "name": "--mdc-select-text-color-disabled"
32026
- },
32027
- {
32028
- "description": "The border color of the select.",
32029
- "name": "--mdc-select-border-color"
32030
- },
32031
- {
32032
- "description": "The border color of the select when disabled.",
32033
- "name": "--mdc-select-border-color-disabled"
32034
- },
32035
- {
32036
- "description": "The border color of the select when in success state.",
32037
- "name": "--mdc-select-border-color-success"
32038
- },
32039
- {
32040
- "description": "The border color of the select when in warning state.",
32041
- "name": "--mdc-select-border-color-warning"
32042
- },
31712
+ "description": "Selectlistbox component as Light DOM component to act as a simple wrapper\nfor mdc-option components to ensure accessibility and proper role assignment.\n\nOnce [ariaOwnsElements](https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/ariaOwnsElements) is supported in browsers, this component can be removed\nand mdc-option can be used directly in the select component with a listbox in a different\nshadow root and aria-owns attribute to connect them.",
31713
+ "name": "Selectlistbox",
31714
+ "slots": [
32043
31715
  {
32044
- "description": "The border color of the select when in error state.",
32045
- "name": "--mdc-select-border-color-error"
32046
- },
31716
+ "description": "This is a default/unnamed slot, which can be used to insert mdc-option components.",
31717
+ "name": "default"
31718
+ }
31719
+ ],
31720
+ "members": [
32047
31721
  {
32048
- "description": "The width of the select.",
32049
- "name": "--mdc-select-width"
31722
+ "kind": "field",
31723
+ "name": "role"
32050
31724
  }
32051
31725
  ],
31726
+ "superclass": {
31727
+ "name": "Component",
31728
+ "module": "/src/models"
31729
+ },
31730
+ "tagName": "mdc-selectlistbox",
31731
+ "jsDoc": "/**\n * Selectlistbox component as Light DOM component to act as a simple wrapper\n * for mdc-option components to ensure accessibility and proper role assignment.\n *\n * Once [ariaOwnsElements](https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/ariaOwnsElements) is supported in browsers, this component can be removed\n * and mdc-option can be used directly in the select component with a listbox in a different\n * shadow root and aria-owns attribute to connect them.\n *\n * @tagname mdc-selectlistbox\n *\n * @slot default - This is a default/unnamed slot, which can be used to insert mdc-option components.\n */",
31732
+ "customElement": true
31733
+ }
31734
+ ],
31735
+ "exports": [
31736
+ {
31737
+ "kind": "js",
31738
+ "name": "default",
31739
+ "declaration": {
31740
+ "name": "Selectlistbox",
31741
+ "module": "components/selectlistbox/selectlistbox.component.js"
31742
+ }
31743
+ }
31744
+ ]
31745
+ },
31746
+ {
31747
+ "kind": "javascript-module",
31748
+ "path": "components/searchfield/searchfield.component.js",
31749
+ "declarations": [
31750
+ {
31751
+ "kind": "class",
31752
+ "description": "`mdc-searchfield` component is used as an input field for search functionality.\n\nIt supports `mdc-inputchip` as filters.\n\nThis component is built by extending the `mdc-input` component.",
31753
+ "name": "Searchfield",
32052
31754
  "slots": [
32053
31755
  {
32054
- "description": "This is a default/unnamed slot for Selectlistbox including options and/or option group.",
32055
- "name": "default"
31756
+ "description": "Slot for input chips",
31757
+ "name": "filters"
32056
31758
  }
32057
31759
  ],
32058
31760
  "members": [
32059
31761
  {
32060
31762
  "kind": "field",
32061
- "name": "placeholder",
31763
+ "name": "inputChips",
32062
31764
  "type": {
32063
- "text": "string | undefined"
32064
- },
32065
- "description": "The placeholder text which will be shown on the text if provided.",
32066
- "attribute": "placeholder"
31765
+ "text": "Array<HTMLElement> | undefined"
31766
+ }
32067
31767
  },
32068
31768
  {
32069
- "kind": "field",
32070
- "name": "readonly",
32071
- "type": {
32072
- "text": "boolean"
32073
- },
32074
- "default": "false",
32075
- "description": "readonly attribute of the select field. If true, the select is read-only.",
32076
- "attribute": "readonly"
31769
+ "kind": "method",
31770
+ "name": "handleKeyDown",
31771
+ "privacy": "protected",
31772
+ "parameters": [
31773
+ {
31774
+ "name": "event",
31775
+ "type": {
31776
+ "text": "KeyboardEvent"
31777
+ },
31778
+ "description": "Keyboard event"
31779
+ }
31780
+ ],
31781
+ "description": "Handles the keydown event of the search field.\nIf the key pressed is 'Enter', it submits the form.\nIf the key pressed is 'Escape', it clears the input text.",
31782
+ "inheritedFrom": {
31783
+ "name": "Input",
31784
+ "module": "components/input/input.component.js"
31785
+ }
32077
31786
  },
32078
31787
  {
32079
- "kind": "field",
32080
- "name": "height",
32081
- "type": {
32082
- "text": "string"
32083
- },
32084
- "default": "'auto'",
32085
- "description": "height attribute of the select field. If set,\nthen a scroll bar will be visible when there more options than the adjusted height.",
32086
- "attribute": "height"
31788
+ "kind": "method",
31789
+ "name": "renderInputChips",
31790
+ "privacy": "private",
31791
+ "description": "This method is used to render the input chips inside filters slot.\nIt will remove any elements that are not input chips."
31792
+ },
31793
+ {
31794
+ "kind": "method",
31795
+ "name": "clearInputText",
31796
+ "privacy": "protected",
31797
+ "description": "Clears the input field.",
31798
+ "inheritedFrom": {
31799
+ "name": "Input",
31800
+ "module": "components/input/input.component.js"
31801
+ }
32087
31802
  },
32088
31803
  {
32089
31804
  "kind": "field",
32090
- "name": "placement",
31805
+ "name": "name",
32091
31806
  "type": {
32092
- "text": "Placement"
31807
+ "text": "string"
32093
31808
  },
32094
- "description": "The placeholder text which will be shown on the text if provided.",
32095
- "attribute": "placement",
32096
- "reflects": true
31809
+ "default": "''",
31810
+ "description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
31811
+ "attribute": "name",
31812
+ "reflects": true,
31813
+ "inheritedFrom": {
31814
+ "name": "FormInternalsMixin",
31815
+ "module": "utils/mixins/FormInternalsMixin.js"
31816
+ }
32097
31817
  },
32098
31818
  {
32099
31819
  "kind": "field",
32100
- "name": "softDisabled",
31820
+ "name": "value",
32101
31821
  "type": {
32102
- "text": "boolean | undefined"
31822
+ "text": "string"
32103
31823
  },
32104
- "description": "Indicates whether the select is soft disabled.\nWhen set to `true`, the select appears visually disabled but still allows\nfocus.",
32105
- "default": "undefined",
32106
- "attribute": "soft-disabled"
31824
+ "default": "''",
31825
+ "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
31826
+ "attribute": "value",
31827
+ "reflects": true,
31828
+ "inheritedFrom": {
31829
+ "name": "FormInternalsMixin",
31830
+ "module": "utils/mixins/FormInternalsMixin.js"
31831
+ }
32107
31832
  },
32108
31833
  {
32109
31834
  "kind": "field",
32110
- "name": "boundary",
31835
+ "name": "validationMessage",
32111
31836
  "type": {
32112
- "text": "'clippingAncestors' | string"
31837
+ "text": "string | undefined"
32113
31838
  },
32114
- "description": "This describes the clipping element(s) or area that overflow of the used popover will be checked relative to.\nThe default is 'clippingAncestors', which are the overflow ancestors which will cause the\nelement to be clipped.\n\nPossible values:\n - 'clippingAncestors'\n - any css selector",
32115
- "default": "'clippingAncestors'",
32116
- "attribute": "boundary",
32117
- "reflects": true
31839
+ "description": "Custom validation message that will override the default message and displayed when the input is invalid.\n\nTo display custom validation messages, you must listen for input events (or other relevant events)\non your component and update the `validationMessage` property with the desired message string.\nUpdating this property will ensure that new validation messages are shown to the user.\n- The `validationMessage` property overrides the default browser validation message when set.\n- Consumers are responsible for updating `validationMessage` in response to input or validation state changes.",
31840
+ "attribute": "validation-message",
31841
+ "reflects": true,
31842
+ "inheritedFrom": {
31843
+ "name": "FormInternalsMixin",
31844
+ "module": "utils/mixins/FormInternalsMixin.js"
31845
+ }
32118
31846
  },
32119
31847
  {
32120
31848
  "kind": "field",
32121
- "name": "strategy",
31849
+ "name": "validity",
32122
31850
  "type": {
32123
- "text": "'absolute' | 'fixed'"
31851
+ "text": "ValidityState"
32124
31852
  },
32125
- "description": "The strategy of the popover within Select.\nThis determines how the popover is positioned in the DOM.\n\nIn case `boundary` is set to something other than 'clippingAncestors',\nit might be necessary to set the `strategy` to 'fixed' to ensure that the popover\nis not getting clipped by scrollable containers enclosing the select.",
32126
- "default": "absolute",
32127
- "attribute": "strategy",
32128
- "reflects": true
32129
- },
32130
- {
32131
- "kind": "method",
32132
- "name": "getAllValidOptions",
32133
- "privacy": "private",
32134
- "return": {
32135
- "type": {
32136
- "text": "Array<Option>"
32137
- }
31853
+ "readonly": true,
31854
+ "inheritedFrom": {
31855
+ "name": "FormInternalsMixin",
31856
+ "module": "utils/mixins/FormInternalsMixin.js"
32138
31857
  }
32139
31858
  },
32140
31859
  {
32141
- "kind": "method",
32142
- "name": "getFirstValidOption",
32143
- "privacy": "private",
32144
- "return": {
32145
- "type": {
32146
- "text": "Option | null"
32147
- }
31860
+ "kind": "field",
31861
+ "name": "willValidate",
31862
+ "readonly": true,
31863
+ "inheritedFrom": {
31864
+ "name": "FormInternalsMixin",
31865
+ "module": "utils/mixins/FormInternalsMixin.js"
32148
31866
  }
32149
31867
  },
32150
31868
  {
32151
31869
  "kind": "method",
32152
- "name": "getLastValidOption",
32153
- "privacy": "private",
31870
+ "name": "setValidity",
31871
+ "description": "Sets the validity of the input field based on the input field's validity.",
32154
31872
  "return": {
32155
31873
  "type": {
32156
- "text": "Option | null"
31874
+ "text": ""
32157
31875
  }
31876
+ },
31877
+ "inheritedFrom": {
31878
+ "name": "FormInternalsMixin",
31879
+ "module": "utils/mixins/FormInternalsMixin.js"
32158
31880
  }
32159
31881
  },
32160
31882
  {
32161
31883
  "kind": "method",
32162
- "name": "getFirstSelectedOption",
32163
- "privacy": "private",
31884
+ "name": "checkValidity",
32164
31885
  "return": {
32165
31886
  "type": {
32166
- "text": "Option | null"
31887
+ "text": "boolean"
32167
31888
  }
31889
+ },
31890
+ "inheritedFrom": {
31891
+ "name": "FormInternalsMixin",
31892
+ "module": "utils/mixins/FormInternalsMixin.js"
32168
31893
  }
32169
31894
  },
32170
31895
  {
32171
31896
  "kind": "method",
32172
- "name": "modifyListBoxWrapper",
32173
- "privacy": "private",
32174
- "description": "Modifies the listbox wrapper to ensure it has the correct attributes\nand IDs for accessibility.\n\nOnce [ariaOwnsElements](https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/ariaOwnsElements) is supported in browsers,\nthis an be removed and mdc-option can be used directly in the select component with a listbox in a different\nshadow root and aria-owns attribute to connect them."
31897
+ "name": "reportValidity",
31898
+ "inheritedFrom": {
31899
+ "name": "FormInternalsMixin",
31900
+ "module": "utils/mixins/FormInternalsMixin.js"
31901
+ }
32175
31902
  },
32176
31903
  {
32177
- "kind": "method",
32178
- "name": "handleOptionsClick",
32179
- "privacy": "private",
32180
- "return": {
32181
- "type": {
32182
- "text": "void"
32183
- }
31904
+ "kind": "field",
31905
+ "name": "dataAriaLabel",
31906
+ "type": {
31907
+ "text": "string | null"
32184
31908
  },
32185
- "parameters": [
32186
- {
32187
- "name": "event",
32188
- "type": {
32189
- "text": "MouseEvent"
32190
- },
32191
- "description": "The event which triggered this function."
32192
- }
32193
- ],
32194
- "description": "A private method which is called when an option is clicked.\nIt sets the selected option, removes selected from other options, updates the tabindex for all options,\ncloses the popover, and fires the change and input events."
31909
+ "default": "null",
31910
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
31911
+ "attribute": "data-aria-label",
31912
+ "reflects": true,
31913
+ "inheritedFrom": {
31914
+ "name": "DataAriaLabelMixin",
31915
+ "module": "utils/mixins/DataAriaLabelMixin.js"
31916
+ }
32195
31917
  },
32196
31918
  {
32197
- "kind": "method",
32198
- "name": "setSelectedOption",
32199
- "privacy": "private",
32200
- "return": {
32201
- "type": {
32202
- "text": "void"
32203
- }
31919
+ "kind": "field",
31920
+ "name": "placeholder",
31921
+ "type": {
31922
+ "text": "string"
32204
31923
  },
32205
- "parameters": [
32206
- {
32207
- "name": "option",
32208
- "type": {
32209
- "text": "Option | null"
32210
- },
32211
- "description": "The option element in DOM which gets selected."
32212
- }
32213
- ],
32214
- "description": "Sets the selected option in the component state and updates the input element's value.\nThis method ensures that only the selected option is marked as selected in the DOM,\nand updates the tabindex for all options accordingly.\nIt also updates the validity of the input element based on the selected option.\nThis method is called when an option is selected."
31924
+ "default": "''",
31925
+ "description": "The placeholder text that is displayed when the input field is empty.",
31926
+ "attribute": "placeholder",
31927
+ "inheritedFrom": {
31928
+ "name": "Input",
31929
+ "module": "components/input/input.component.js"
31930
+ }
32215
31931
  },
32216
31932
  {
32217
- "kind": "method",
32218
- "name": "updateTabIndexForAllOptions",
32219
- "privacy": "private",
32220
- "return": {
32221
- "type": {
32222
- "text": "void"
32223
- }
31933
+ "kind": "field",
31934
+ "name": "readonly",
31935
+ "type": {
31936
+ "text": "boolean"
32224
31937
  },
32225
- "parameters": [
32226
- {
32227
- "name": "option",
32228
- "optional": true,
32229
- "type": {
32230
- "text": "Option | null"
32231
- },
32232
- "description": "The option which tabIndex should be set to 0."
32233
- }
32234
- ],
32235
- "description": "Updates the tabindex of all options.\nSets the tabindex of the selected option to '0' and others to '-1'."
31938
+ "default": "false",
31939
+ "description": "readonly attribute of the input field. If true, the input field is read-only.",
31940
+ "attribute": "readonly",
31941
+ "inheritedFrom": {
31942
+ "name": "Input",
31943
+ "module": "components/input/input.component.js"
31944
+ }
32236
31945
  },
32237
31946
  {
32238
- "kind": "method",
32239
- "name": "updateSelectedInChildOptions",
32240
- "privacy": "private",
32241
- "return": {
32242
- "type": {
32243
- "text": "void"
32244
- }
31947
+ "kind": "field",
31948
+ "name": "prefixText",
31949
+ "type": {
31950
+ "text": "string | undefined"
32245
31951
  },
32246
- "parameters": [
32247
- {
32248
- "name": "selectedOption",
32249
- "type": {
32250
- "text": "Option | null"
32251
- },
32252
- "description": "The option which gets selected"
32253
- }
32254
- ],
32255
- "description": "Sets selected attribute on the selected option and removes it from all options"
31952
+ "description": "The prefix text that is displayed before the input field. It has a max length of 10 characters.\nWhen the prefix text is set, make sure to set the 'data-aria-label'\nattribute with the appropriate value for accessibility.",
31953
+ "attribute": "prefix-text",
31954
+ "inheritedFrom": {
31955
+ "name": "Input",
31956
+ "module": "components/input/input.component.js"
31957
+ }
32256
31958
  },
32257
31959
  {
32258
- "kind": "method",
32259
- "name": "fireEvents",
32260
- "privacy": "private",
32261
- "return": {
32262
- "type": {
32263
- "text": "void"
32264
- }
31960
+ "kind": "field",
31961
+ "name": "leadingIcon",
31962
+ "type": {
31963
+ "text": "IconNames | undefined"
32265
31964
  },
32266
- "description": "A private method which is called to fire the change and input events.\nIt dispatches the input and change events with the selected option's value and label."
31965
+ "description": "The leading icon that is displayed before the input field.",
31966
+ "attribute": "leading-icon",
31967
+ "inheritedFrom": {
31968
+ "name": "Input",
31969
+ "module": "components/input/input.component.js"
31970
+ }
32267
31971
  },
32268
31972
  {
32269
- "kind": "method",
32270
- "name": "dispatchChange",
32271
- "privacy": "private",
32272
- "return": {
32273
- "type": {
32274
- "text": "void"
32275
- }
31973
+ "kind": "field",
31974
+ "name": "trailingButton",
31975
+ "type": {
31976
+ "text": "boolean"
32276
31977
  },
32277
- "parameters": [
32278
- {
32279
- "name": "option",
32280
- "type": {
32281
- "text": "Option"
32282
- }
32283
- }
32284
- ]
31978
+ "default": "false",
31979
+ "description": "The trailing button when set to true, shows a clear button that clears the input field.",
31980
+ "attribute": "trailing-button",
31981
+ "inheritedFrom": {
31982
+ "name": "Input",
31983
+ "module": "components/input/input.component.js"
31984
+ }
32285
31985
  },
32286
31986
  {
32287
- "kind": "method",
32288
- "name": "dispatchInput",
32289
- "privacy": "private",
32290
- "return": {
32291
- "type": {
32292
- "text": "void"
32293
- }
31987
+ "kind": "field",
31988
+ "name": "maxlength",
31989
+ "type": {
31990
+ "text": "number | undefined"
32294
31991
  },
32295
- "parameters": [
32296
- {
32297
- "name": "option",
32298
- "type": {
32299
- "text": "Option"
32300
- }
32301
- }
32302
- ]
31992
+ "description": "The maximum number of characters that the input field can accept.",
31993
+ "attribute": "maxlength",
31994
+ "inheritedFrom": {
31995
+ "name": "Input",
31996
+ "module": "components/input/input.component.js"
31997
+ }
32303
31998
  },
32304
31999
  {
32305
- "kind": "method",
32306
- "name": "handleClickCombobox",
32307
- "privacy": "private",
32308
- "return": {
32309
- "type": {
32310
- "text": "void"
32311
- }
32000
+ "kind": "field",
32001
+ "name": "minlength",
32002
+ "type": {
32003
+ "text": "number | undefined"
32312
32004
  },
32313
- "parameters": [
32314
- {
32315
- "name": "event",
32316
- "type": {
32317
- "text": "MouseEvent"
32318
- },
32319
- "description": "The mouse event which triggered this function."
32320
- }
32321
- ],
32322
- "description": "Handles the click event on the visual combobox.\nIf the select is disabled, soft-disabled or readonly, it does nothing.\nIf the popover is already open, it closes it.\nIf it is closed, it opens it."
32005
+ "description": "The minimum number of characters that the input field can accept.",
32006
+ "attribute": "minlength",
32007
+ "inheritedFrom": {
32008
+ "name": "Input",
32009
+ "module": "components/input/input.component.js"
32010
+ }
32323
32011
  },
32324
32012
  {
32325
- "kind": "method",
32326
- "name": "handleKeydownCombobox",
32327
- "privacy": "private",
32328
- "return": {
32329
- "type": {
32330
- "text": "void"
32331
- }
32013
+ "kind": "field",
32014
+ "name": "autocapitalize",
32015
+ "type": {
32016
+ "text": "AutoCapitalizeType"
32332
32017
  },
32333
- "parameters": [
32334
- {
32335
- "name": "event",
32336
- "type": {
32337
- "text": "KeyboardEvent"
32338
- },
32339
- "description": "The keyboard event."
32340
- }
32341
- ],
32342
- "description": "Handles the keydown event on the select element when the popover is closed.\nThe options are as follows:\n- ARROW_DOWN, ARROW_UP, SPACE: Opens the popover and prevents the default scrolling behavior.\n- ENTER: Opens the popover, prevents default scrolling, and submits the form if the popover is closed.\n- HOME: Opens the popover and sets focus and tabindex on the first option.\n- END: Opens the popover and sets focus and tabindex on the last option."
32018
+ "description": "The autocapitalize attribute of the input field.",
32019
+ "default": "'off'",
32020
+ "attribute": "autocapitalize",
32021
+ "inheritedFrom": {
32022
+ "name": "Input",
32023
+ "module": "components/input/input.component.js"
32024
+ }
32343
32025
  },
32344
32026
  {
32345
- "kind": "method",
32346
- "name": "handlePopoverKeydown",
32347
- "privacy": "private",
32348
- "return": {
32349
- "type": {
32350
- "text": "void"
32351
- }
32352
- },
32353
- "parameters": [
32354
- {
32355
- "name": "event",
32356
- "type": {
32357
- "text": "KeyboardEvent"
32358
- },
32359
- "description": "The keyboard event."
32360
- }
32361
- ],
32362
- "description": "Handles the keydown event on the select element when the popover is open.\nThe options are as follows:\n- HOME: Sets focus and tabindex on the first option.\n- END: Sets focus and tabindex on the last option.\n- ARROW_DOWN, ARROW_UP, PAGE_DOWN, PAGE_UP: Handles navigation between options."
32027
+ "kind": "field",
32028
+ "name": "autocomplete",
32029
+ "type": {
32030
+ "text": "AutoCompleteType"
32031
+ },
32032
+ "description": "The autocomplete attribute of the input field.",
32033
+ "default": "'off'",
32034
+ "attribute": "autocomplete",
32035
+ "inheritedFrom": {
32036
+ "name": "Input",
32037
+ "module": "components/input/input.component.js"
32038
+ }
32363
32039
  },
32364
32040
  {
32365
- "kind": "method",
32366
- "name": "updateState",
32367
- "privacy": "public",
32368
- "return": {
32369
- "type": {
32370
- "text": "void"
32371
- }
32041
+ "kind": "field",
32042
+ "name": "autofocus",
32043
+ "type": {
32044
+ "text": "boolean"
32372
32045
  },
32373
- "description": "Updates the state of the select component.\nThis public method should be fired when the selected on the option components is updated from the outside.\nIt ensures that the selected attribute is set correctly on the options\nand that the aria-selected attribute is updated accordingly."
32046
+ "default": "false",
32047
+ "description": "If true, the input field is focused when the component is rendered.",
32048
+ "attribute": "autofocus",
32049
+ "inheritedFrom": {
32050
+ "name": "Input",
32051
+ "module": "components/input/input.component.js"
32052
+ }
32374
32053
  },
32375
32054
  {
32376
32055
  "kind": "field",
32377
- "name": "name",
32056
+ "name": "dirname",
32378
32057
  "type": {
32379
- "text": "string"
32058
+ "text": "string | undefined"
32380
32059
  },
32381
- "default": "''",
32382
- "description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
32383
- "attribute": "name",
32384
- "reflects": true,
32060
+ "description": "Specifies the name of the directionality of text for submission purposes (e.g., \"rtl\" for right-to-left).",
32061
+ "attribute": "dirname",
32385
32062
  "inheritedFrom": {
32386
- "name": "FormInternalsMixin",
32387
- "module": "utils/mixins/FormInternalsMixin.js"
32063
+ "name": "Input",
32064
+ "module": "components/input/input.component.js"
32388
32065
  }
32389
32066
  },
32390
32067
  {
32391
32068
  "kind": "field",
32392
- "name": "value",
32069
+ "name": "pattern",
32393
32070
  "type": {
32394
- "text": "string"
32071
+ "text": "string | undefined"
32395
32072
  },
32396
- "default": "''",
32397
- "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
32398
- "attribute": "value",
32399
- "reflects": true,
32073
+ "description": "The pattern attribute of the input field.\nSpecifies a regular expression that the input value must match for validation purposes.",
32074
+ "attribute": "pattern",
32400
32075
  "inheritedFrom": {
32401
- "name": "FormInternalsMixin",
32402
- "module": "utils/mixins/FormInternalsMixin.js"
32076
+ "name": "Input",
32077
+ "module": "components/input/input.component.js"
32403
32078
  }
32404
32079
  },
32405
32080
  {
32406
32081
  "kind": "field",
32407
- "name": "validationMessage",
32082
+ "name": "list",
32408
32083
  "type": {
32409
32084
  "text": "string | undefined"
32410
32085
  },
32411
- "description": "Custom validation message that will override the default message and displayed when the input is invalid.\n\nTo display custom validation messages, you must listen for input events (or other relevant events)\non your component and update the `validationMessage` property with the desired message string.\nUpdating this property will ensure that new validation messages are shown to the user.\n- The `validationMessage` property overrides the default browser validation message when set.\n- Consumers are responsible for updating `validationMessage` in response to input or validation state changes.",
32412
- "attribute": "validation-message",
32413
- "reflects": true,
32086
+ "description": "The list attribute of the input field.\nIdentifies a list of pre-defined options to suggest to the user.",
32087
+ "attribute": "list",
32414
32088
  "inheritedFrom": {
32415
- "name": "FormInternalsMixin",
32416
- "module": "utils/mixins/FormInternalsMixin.js"
32089
+ "name": "Input",
32090
+ "module": "components/input/input.component.js"
32417
32091
  }
32418
32092
  },
32419
32093
  {
32420
32094
  "kind": "field",
32421
- "name": "validity",
32095
+ "name": "size",
32422
32096
  "type": {
32423
- "text": "ValidityState"
32097
+ "text": "number | undefined | undefined"
32424
32098
  },
32425
- "readonly": true,
32099
+ "description": "The size attribute of the input field.\nSpecifies the width of the input field.",
32100
+ "default": "undefined",
32101
+ "attribute": "size",
32426
32102
  "inheritedFrom": {
32427
- "name": "FormInternalsMixin",
32428
- "module": "utils/mixins/FormInternalsMixin.js"
32103
+ "name": "Input",
32104
+ "module": "components/input/input.component.js"
32429
32105
  }
32430
32106
  },
32431
32107
  {
32432
32108
  "kind": "field",
32433
- "name": "willValidate",
32434
- "readonly": true,
32109
+ "name": "clearAriaLabel",
32110
+ "type": {
32111
+ "text": "string"
32112
+ },
32113
+ "default": "''",
32114
+ "description": "Aria label for the trailing button. If trailing button is set to true, this label is used for the clear button.",
32115
+ "attribute": "clear-aria-label",
32435
32116
  "inheritedFrom": {
32436
- "name": "FormInternalsMixin",
32437
- "module": "utils/mixins/FormInternalsMixin.js"
32117
+ "name": "Input",
32118
+ "module": "components/input/input.component.js"
32438
32119
  }
32439
32120
  },
32440
32121
  {
32441
32122
  "kind": "method",
32442
- "name": "setValidity",
32443
- "description": "Sets the validity of the input field based on the input field's validity.",
32123
+ "name": "setInputValidity",
32124
+ "privacy": "private",
32125
+ "inheritedFrom": {
32126
+ "name": "Input",
32127
+ "module": "components/input/input.component.js"
32128
+ }
32129
+ },
32130
+ {
32131
+ "kind": "method",
32132
+ "name": "updateValue",
32133
+ "privacy": "private",
32134
+ "description": "Updates the value of the input field.\nSets the form value.",
32444
32135
  "return": {
32445
32136
  "type": {
32446
32137
  "text": ""
32447
32138
  }
32448
32139
  },
32449
32140
  "inheritedFrom": {
32450
- "name": "FormInternalsMixin",
32451
- "module": "utils/mixins/FormInternalsMixin.js"
32141
+ "name": "Input",
32142
+ "module": "components/input/input.component.js"
32452
32143
  }
32453
32144
  },
32454
32145
  {
32455
32146
  "kind": "method",
32456
- "name": "checkValidity",
32147
+ "name": "onInput",
32148
+ "privacy": "private",
32149
+ "description": "Handles the input event of the input field.\nUpdates the value and sets the validity of the input field.",
32150
+ "inheritedFrom": {
32151
+ "name": "Input",
32152
+ "module": "components/input/input.component.js"
32153
+ }
32154
+ },
32155
+ {
32156
+ "kind": "method",
32157
+ "name": "onChange",
32158
+ "privacy": "private",
32159
+ "parameters": [
32160
+ {
32161
+ "name": "event",
32162
+ "type": {
32163
+ "text": "Event"
32164
+ },
32165
+ "description": "Event which contains information about the value change."
32166
+ }
32167
+ ],
32168
+ "description": "Handles the change event of the input field.\nUpdates the value and sets the validity of the input field.\n\nThe 'change' event does not bubble up through the shadow DOM as it was not composed.\nTherefore, we need to re-dispatch the same event to ensure it is propagated correctly.\nRead more: https://developer.mozilla.org/en-US/docs/Web/API/Event/composed",
32169
+ "inheritedFrom": {
32170
+ "name": "Input",
32171
+ "module": "components/input/input.component.js"
32172
+ }
32173
+ },
32174
+ {
32175
+ "kind": "method",
32176
+ "name": "renderLeadingIcon",
32177
+ "privacy": "protected",
32178
+ "description": "Renders the leading icon before the input field.\nIf the leading icon is not set, it will not be displayed.",
32457
32179
  "return": {
32458
32180
  "type": {
32459
- "text": "boolean"
32181
+ "text": ""
32460
32182
  }
32461
32183
  },
32462
32184
  "inheritedFrom": {
32463
- "name": "FormInternalsMixin",
32464
- "module": "utils/mixins/FormInternalsMixin.js"
32185
+ "name": "Input",
32186
+ "module": "components/input/input.component.js"
32465
32187
  }
32466
32188
  },
32467
32189
  {
32468
32190
  "kind": "method",
32469
- "name": "reportValidity",
32191
+ "name": "renderPrefixText",
32192
+ "privacy": "protected",
32193
+ "description": "Renders the prefix text before the input field.\nIf the prefix text is more than 10 characters,\n- it will not be displayed.\n- the validation messsage will be displayed.\n\n Note: We are setting aria-hidden so that the screen reader does not read the prefix text.\n The consumers should set the appropriate aria-label for the input field using 'data-aria-label' attribute.",
32194
+ "return": {
32195
+ "type": {
32196
+ "text": ""
32197
+ }
32198
+ },
32470
32199
  "inheritedFrom": {
32471
- "name": "FormInternalsMixin",
32472
- "module": "utils/mixins/FormInternalsMixin.js"
32200
+ "name": "Input",
32201
+ "module": "components/input/input.component.js"
32473
32202
  }
32474
32203
  },
32475
32204
  {
32476
- "kind": "field",
32477
- "name": "dataAriaLabel",
32478
- "type": {
32479
- "text": "string | null"
32205
+ "kind": "method",
32206
+ "name": "renderTrailingButton",
32207
+ "privacy": "protected",
32208
+ "parameters": [
32209
+ {
32210
+ "name": "show",
32211
+ "default": "false"
32212
+ }
32213
+ ],
32214
+ "description": "Renders the trailing button to clear the input field if the trailingButton is set to true.",
32215
+ "return": {
32216
+ "type": {
32217
+ "text": ""
32218
+ }
32480
32219
  },
32481
- "default": "null",
32482
- "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
32483
- "attribute": "data-aria-label",
32484
- "reflects": true,
32485
32220
  "inheritedFrom": {
32486
- "name": "DataAriaLabelMixin",
32487
- "module": "utils/mixins/DataAriaLabelMixin.js"
32221
+ "name": "Input",
32222
+ "module": "components/input/input.component.js"
32223
+ }
32224
+ },
32225
+ {
32226
+ "kind": "method",
32227
+ "name": "renderInputElement",
32228
+ "privacy": "protected",
32229
+ "parameters": [
32230
+ {
32231
+ "name": "type",
32232
+ "type": {
32233
+ "text": "InputType"
32234
+ }
32235
+ },
32236
+ {
32237
+ "name": "hidePlaceholder",
32238
+ "default": "false"
32239
+ }
32240
+ ],
32241
+ "inheritedFrom": {
32242
+ "name": "Input",
32243
+ "module": "components/input/input.component.js"
32488
32244
  }
32489
32245
  },
32490
32246
  {
@@ -32694,45 +32450,134 @@
32694
32450
  ],
32695
32451
  "events": [
32696
32452
  {
32453
+ "description": "(React: onInput) This event is dispatched when the value of the input field changes (every press).",
32454
+ "name": "input",
32455
+ "reactName": "onInput",
32456
+ "inheritedFrom": {
32457
+ "name": "Input",
32458
+ "module": "src/components/input/input.component.ts"
32459
+ }
32460
+ },
32461
+ {
32462
+ "description": "(React: onChange) This event is dispatched when the value of the input field changes (on blur).",
32697
32463
  "name": "change",
32464
+ "reactName": "onChange",
32465
+ "inheritedFrom": {
32466
+ "name": "Input",
32467
+ "module": "src/components/input/input.component.ts"
32468
+ }
32469
+ },
32470
+ {
32471
+ "description": "(React: onFocus) This event is dispatched when the input receives focus.",
32472
+ "name": "focus",
32473
+ "reactName": "onFocus",
32474
+ "inheritedFrom": {
32475
+ "name": "Input",
32476
+ "module": "src/components/input/input.component.ts"
32477
+ }
32478
+ },
32479
+ {
32480
+ "description": "(React: onBlur) This event is dispatched when the input loses focus.",
32481
+ "name": "blur",
32482
+ "reactName": "onBlur",
32483
+ "inheritedFrom": {
32484
+ "name": "Input",
32485
+ "module": "src/components/input/input.component.ts"
32486
+ }
32487
+ },
32488
+ {
32489
+ "name": "clear",
32698
32490
  "type": {
32699
32491
  "text": "CustomEvent"
32700
32492
  },
32701
- "description": "(React: onChange) This event is dispatched when the select is changed.",
32702
- "reactName": "onChange"
32493
+ "description": "(React: onClear) This event is dispatched when the input text is cleared.",
32494
+ "reactName": "onClear",
32495
+ "inheritedFrom": {
32496
+ "name": "Input",
32497
+ "module": "src/components/input/input.component.ts"
32498
+ }
32703
32499
  },
32704
32500
  {
32705
- "name": "input",
32706
32501
  "type": {
32707
- "text": "CustomEvent"
32502
+ "text": "EventConstructor"
32708
32503
  },
32709
- "description": "(React: onInput) This event is dispatched when the select is changed.",
32710
- "reactName": "onInput"
32504
+ "inheritedFrom": {
32505
+ "name": "Input",
32506
+ "module": "src/components/input/input.component.ts"
32507
+ }
32508
+ }
32509
+ ],
32510
+ "superclass": {
32511
+ "name": "Input",
32512
+ "module": "/src/components/input/input.component"
32513
+ },
32514
+ "tagName": "mdc-searchfield",
32515
+ "jsDoc": "/**\n * `mdc-searchfield` component is used as an input field for search functionality.\n *\n * It supports `mdc-inputchip` as filters.\n *\n * This component is built by extending the `mdc-input` component.\n *\n * @tagname mdc-searchfield\n * \n * @event input - (React: onInput) This event is dispatched when the value of the input field changes (every press).\n * @event change - (React: onChange) This event is dispatched when the value of the input field changes (on blur).\n * @event focus - (React: onFocus) This event is dispatched when the input receives focus.\n * @event blur - (React: onBlur) This event is dispatched when the input loses focus.\n * @event clear - (React: onClear) This event is dispatched when the input text is cleared.\n *\n * @slot filters - Slot for input chips\n */",
32516
+ "customElement": true,
32517
+ "attributes": [
32518
+ {
32519
+ "name": "name",
32520
+ "type": {
32521
+ "text": "string"
32522
+ },
32523
+ "default": "''",
32524
+ "description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
32525
+ "fieldName": "name",
32526
+ "inheritedFrom": {
32527
+ "name": "FormInternalsMixin",
32528
+ "module": "src/utils/mixins/FormInternalsMixin.ts"
32529
+ }
32711
32530
  },
32712
32531
  {
32713
- "description": "(React: onClick) This event is dispatched when the select is clicked.",
32714
- "name": "click",
32715
- "reactName": "onClick"
32532
+ "name": "value",
32533
+ "type": {
32534
+ "text": "string"
32535
+ },
32536
+ "default": "''",
32537
+ "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
32538
+ "fieldName": "value",
32539
+ "inheritedFrom": {
32540
+ "name": "FormInternalsMixin",
32541
+ "module": "src/utils/mixins/FormInternalsMixin.ts"
32542
+ }
32716
32543
  },
32717
32544
  {
32718
- "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the select.",
32719
- "name": "keydown",
32720
- "reactName": "onKeyDown"
32545
+ "name": "validation-message",
32546
+ "type": {
32547
+ "text": "string | undefined"
32548
+ },
32549
+ "description": "Custom validation message that will override the default message and displayed when the input is invalid.\n\nTo display custom validation messages, you must listen for input events (or other relevant events)\non your component and update the `validationMessage` property with the desired message string.\nUpdating this property will ensure that new validation messages are shown to the user.\n- The `validationMessage` property overrides the default browser validation message when set.\n- Consumers are responsible for updating `validationMessage` in response to input or validation state changes.",
32550
+ "fieldName": "validationMessage",
32551
+ "inheritedFrom": {
32552
+ "name": "FormInternalsMixin",
32553
+ "module": "src/utils/mixins/FormInternalsMixin.ts"
32554
+ }
32721
32555
  },
32722
32556
  {
32723
- "description": "(React: onFocus) This event is dispatched when the select receives focus.",
32724
- "name": "focus",
32725
- "reactName": "onFocus"
32726
- }
32727
- ],
32728
- "attributes": [
32557
+ "name": "data-aria-label",
32558
+ "type": {
32559
+ "text": "string | null"
32560
+ },
32561
+ "default": "null",
32562
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
32563
+ "fieldName": "dataAriaLabel",
32564
+ "inheritedFrom": {
32565
+ "name": "DataAriaLabelMixin",
32566
+ "module": "src/utils/mixins/DataAriaLabelMixin.ts"
32567
+ }
32568
+ },
32729
32569
  {
32730
32570
  "name": "placeholder",
32731
32571
  "type": {
32732
- "text": "string | undefined"
32572
+ "text": "string"
32733
32573
  },
32734
- "description": "The placeholder text which will be shown on the text if provided.",
32735
- "fieldName": "placeholder"
32574
+ "default": "''",
32575
+ "description": "The placeholder text that is displayed when the input field is empty.",
32576
+ "fieldName": "placeholder",
32577
+ "inheritedFrom": {
32578
+ "name": "Input",
32579
+ "module": "src/components/input/input.component.ts"
32580
+ }
32736
32581
  },
32737
32582
  {
32738
32583
  "name": "readonly",
@@ -32740,102 +32585,173 @@
32740
32585
  "text": "boolean"
32741
32586
  },
32742
32587
  "default": "false",
32743
- "description": "readonly attribute of the select field. If true, the select is read-only.",
32744
- "fieldName": "readonly"
32588
+ "description": "readonly attribute of the input field. If true, the input field is read-only.",
32589
+ "fieldName": "readonly",
32590
+ "inheritedFrom": {
32591
+ "name": "Input",
32592
+ "module": "src/components/input/input.component.ts"
32593
+ }
32745
32594
  },
32746
32595
  {
32747
- "name": "height",
32596
+ "name": "prefix-text",
32748
32597
  "type": {
32749
- "text": "string"
32598
+ "text": "string | undefined"
32750
32599
  },
32751
- "default": "'auto'",
32752
- "description": "height attribute of the select field. If set,\nthen a scroll bar will be visible when there more options than the adjusted height.",
32753
- "fieldName": "height"
32600
+ "description": "The prefix text that is displayed before the input field. It has a max length of 10 characters.\nWhen the prefix text is set, make sure to set the 'data-aria-label'\nattribute with the appropriate value for accessibility.",
32601
+ "fieldName": "prefixText",
32602
+ "inheritedFrom": {
32603
+ "name": "Input",
32604
+ "module": "src/components/input/input.component.ts"
32605
+ }
32754
32606
  },
32755
32607
  {
32756
- "name": "placement",
32608
+ "name": "leading-icon",
32757
32609
  "type": {
32758
- "text": "Placement"
32610
+ "text": "IconNames | undefined"
32759
32611
  },
32760
- "description": "The placeholder text which will be shown on the text if provided.",
32761
- "fieldName": "placement"
32612
+ "description": "The leading icon that is displayed before the input field.",
32613
+ "fieldName": "leadingIcon",
32614
+ "inheritedFrom": {
32615
+ "name": "Input",
32616
+ "module": "src/components/input/input.component.ts"
32617
+ }
32762
32618
  },
32763
32619
  {
32764
- "name": "soft-disabled",
32620
+ "name": "trailing-button",
32765
32621
  "type": {
32766
- "text": "boolean | undefined"
32622
+ "text": "boolean"
32767
32623
  },
32768
- "description": "Indicates whether the select is soft disabled.\nWhen set to `true`, the select appears visually disabled but still allows\nfocus.",
32769
- "default": "undefined",
32770
- "fieldName": "softDisabled"
32624
+ "default": "false",
32625
+ "description": "The trailing button when set to true, shows a clear button that clears the input field.",
32626
+ "fieldName": "trailingButton",
32627
+ "inheritedFrom": {
32628
+ "name": "Input",
32629
+ "module": "src/components/input/input.component.ts"
32630
+ }
32771
32631
  },
32772
32632
  {
32773
- "name": "boundary",
32633
+ "name": "maxlength",
32774
32634
  "type": {
32775
- "text": "'clippingAncestors' | string"
32635
+ "text": "number | undefined"
32776
32636
  },
32777
- "description": "This describes the clipping element(s) or area that overflow of the used popover will be checked relative to.\nThe default is 'clippingAncestors', which are the overflow ancestors which will cause the\nelement to be clipped.\n\nPossible values:\n - 'clippingAncestors'\n - any css selector",
32778
- "default": "'clippingAncestors'",
32779
- "fieldName": "boundary"
32637
+ "description": "The maximum number of characters that the input field can accept.",
32638
+ "fieldName": "maxlength",
32639
+ "inheritedFrom": {
32640
+ "name": "Input",
32641
+ "module": "src/components/input/input.component.ts"
32642
+ }
32780
32643
  },
32781
32644
  {
32782
- "name": "strategy",
32645
+ "name": "minlength",
32783
32646
  "type": {
32784
- "text": "'absolute' | 'fixed'"
32647
+ "text": "number | undefined"
32785
32648
  },
32786
- "description": "The strategy of the popover within Select.\nThis determines how the popover is positioned in the DOM.\n\nIn case `boundary` is set to something other than 'clippingAncestors',\nit might be necessary to set the `strategy` to 'fixed' to ensure that the popover\nis not getting clipped by scrollable containers enclosing the select.",
32787
- "default": "absolute",
32788
- "fieldName": "strategy"
32649
+ "description": "The minimum number of characters that the input field can accept.",
32650
+ "fieldName": "minlength",
32651
+ "inheritedFrom": {
32652
+ "name": "Input",
32653
+ "module": "src/components/input/input.component.ts"
32654
+ }
32789
32655
  },
32790
32656
  {
32791
- "name": "name",
32657
+ "name": "autocapitalize",
32792
32658
  "type": {
32793
- "text": "string"
32659
+ "text": "AutoCapitalizeType"
32794
32660
  },
32795
- "default": "''",
32796
- "description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
32797
- "fieldName": "name",
32661
+ "description": "The autocapitalize attribute of the input field.",
32662
+ "default": "'off'",
32663
+ "fieldName": "autocapitalize",
32798
32664
  "inheritedFrom": {
32799
- "name": "FormInternalsMixin",
32800
- "module": "src/utils/mixins/FormInternalsMixin.ts"
32665
+ "name": "Input",
32666
+ "module": "src/components/input/input.component.ts"
32801
32667
  }
32802
32668
  },
32803
32669
  {
32804
- "name": "value",
32670
+ "name": "autocomplete",
32805
32671
  "type": {
32806
- "text": "string"
32672
+ "text": "AutoCompleteType"
32807
32673
  },
32808
- "default": "''",
32809
- "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
32810
- "fieldName": "value",
32674
+ "description": "The autocomplete attribute of the input field.",
32675
+ "default": "'off'",
32676
+ "fieldName": "autocomplete",
32811
32677
  "inheritedFrom": {
32812
- "name": "FormInternalsMixin",
32813
- "module": "src/utils/mixins/FormInternalsMixin.ts"
32678
+ "name": "Input",
32679
+ "module": "src/components/input/input.component.ts"
32814
32680
  }
32815
32681
  },
32816
32682
  {
32817
- "name": "validation-message",
32683
+ "name": "autofocus",
32684
+ "type": {
32685
+ "text": "boolean"
32686
+ },
32687
+ "default": "false",
32688
+ "description": "If true, the input field is focused when the component is rendered.",
32689
+ "fieldName": "autofocus",
32690
+ "inheritedFrom": {
32691
+ "name": "Input",
32692
+ "module": "src/components/input/input.component.ts"
32693
+ }
32694
+ },
32695
+ {
32696
+ "name": "dirname",
32818
32697
  "type": {
32819
32698
  "text": "string | undefined"
32820
32699
  },
32821
- "description": "Custom validation message that will override the default message and displayed when the input is invalid.\n\nTo display custom validation messages, you must listen for input events (or other relevant events)\non your component and update the `validationMessage` property with the desired message string.\nUpdating this property will ensure that new validation messages are shown to the user.\n- The `validationMessage` property overrides the default browser validation message when set.\n- Consumers are responsible for updating `validationMessage` in response to input or validation state changes.",
32822
- "fieldName": "validationMessage",
32700
+ "description": "Specifies the name of the directionality of text for submission purposes (e.g., \"rtl\" for right-to-left).",
32701
+ "fieldName": "dirname",
32823
32702
  "inheritedFrom": {
32824
- "name": "FormInternalsMixin",
32825
- "module": "src/utils/mixins/FormInternalsMixin.ts"
32703
+ "name": "Input",
32704
+ "module": "src/components/input/input.component.ts"
32826
32705
  }
32827
32706
  },
32828
32707
  {
32829
- "name": "data-aria-label",
32708
+ "name": "pattern",
32830
32709
  "type": {
32831
- "text": "string | null"
32710
+ "text": "string | undefined"
32832
32711
  },
32833
- "default": "null",
32834
- "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
32835
- "fieldName": "dataAriaLabel",
32712
+ "description": "The pattern attribute of the input field.\nSpecifies a regular expression that the input value must match for validation purposes.",
32713
+ "fieldName": "pattern",
32836
32714
  "inheritedFrom": {
32837
- "name": "DataAriaLabelMixin",
32838
- "module": "src/utils/mixins/DataAriaLabelMixin.ts"
32715
+ "name": "Input",
32716
+ "module": "src/components/input/input.component.ts"
32717
+ }
32718
+ },
32719
+ {
32720
+ "name": "list",
32721
+ "type": {
32722
+ "text": "string | undefined"
32723
+ },
32724
+ "description": "The list attribute of the input field.\nIdentifies a list of pre-defined options to suggest to the user.",
32725
+ "fieldName": "list",
32726
+ "inheritedFrom": {
32727
+ "name": "Input",
32728
+ "module": "src/components/input/input.component.ts"
32729
+ }
32730
+ },
32731
+ {
32732
+ "name": "size",
32733
+ "type": {
32734
+ "text": "number | undefined | undefined"
32735
+ },
32736
+ "description": "The size attribute of the input field.\nSpecifies the width of the input field.",
32737
+ "default": "undefined",
32738
+ "fieldName": "size",
32739
+ "inheritedFrom": {
32740
+ "name": "Input",
32741
+ "module": "src/components/input/input.component.ts"
32742
+ }
32743
+ },
32744
+ {
32745
+ "name": "clear-aria-label",
32746
+ "type": {
32747
+ "text": "string"
32748
+ },
32749
+ "default": "''",
32750
+ "description": "Aria label for the trailing button. If trailing button is set to true, this label is used for the clear button.",
32751
+ "fieldName": "clearAriaLabel",
32752
+ "inheritedFrom": {
32753
+ "name": "Input",
32754
+ "module": "src/components/input/input.component.ts"
32839
32755
  }
32840
32756
  },
32841
32757
  {
@@ -32951,63 +32867,136 @@
32951
32867
  }
32952
32868
  }
32953
32869
  ],
32954
- "mixins": [
32870
+ "cssProperties": [
32955
32871
  {
32956
- "name": "FormInternalsMixin",
32957
- "module": "/src/utils/mixins/FormInternalsMixin"
32872
+ "description": "Border color for the input container when disabled",
32873
+ "name": "--mdc-input-disabled-border-color",
32874
+ "inheritedFrom": {
32875
+ "name": "Input",
32876
+ "module": "src/components/input/input.component.ts"
32877
+ }
32958
32878
  },
32959
32879
  {
32960
- "name": "DataAriaLabelMixin",
32961
- "module": "/src/utils/mixins/DataAriaLabelMixin"
32962
- }
32963
- ],
32964
- "superclass": {
32965
- "name": "FormfieldWrapper",
32966
- "module": "/src/components/formfieldwrapper/formfieldwrapper.component"
32967
- },
32968
- "tagName": "mdc-select",
32969
- "jsDoc": "/**\n * The mdc-select component is a dropdown selection control that allows users to pick an option from a predefined list.\n * It is designed to work with `mdc-option` for individual options and `mdc-optgroup` for grouping related options.\n * The component ensures accessibility and usability while handling various use cases,\n * including long text truncation with tooltip support.\n *\n * Every mdc-option should have a `value` attribute set to ensure proper form submission.\n *\n * To set a default option, use the `selected` attribute on the `mdc-option` element.\n *\n * **Note:** Make sure to add `mdc-selectlistbox` as a child of `mdc-select` and wrap options/optgroup in it to ensure proper accessibility functionality. Read more about it in SelectListBox documentation.\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-popover\n * @dependency mdc-text\n * @dependency mdc-toggletip\n *\n * @tagname mdc-select\n *\n * @slot default - This is a default/unnamed slot for Selectlistbox including options and/or option group.\n *\n * @event click - (React: onClick) This event is dispatched when the select is clicked.\n * @event change - (React: onChange) This event is dispatched when the select is changed.\n * @event input - (React: onInput) This event is dispatched when the select is changed.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the select.\n * @event focus - (React: onFocus) This event is dispatched when the select receives focus.\n *\n * @cssproperty --mdc-select-background-color - The background color of the combobox of select.\n * @cssproperty --mdc-select-background-color-hover - The background color of the combobox of select when hovered.\n * @cssproperty --mdc-select-background-color-active - The background color of the combobox of select when active.\n * @cssproperty --mdc-select-background-color-disabled - The background color of the combobox of select when disabled.\n * @cssproperty --mdc-select-text-color - The text color of the select.\n * @cssproperty --mdc-select-text-color-selected - The text color of the selected option in the select.\n * @cssproperty --mdc-select-text-color-disabled - The text color of the select when disabled.\n * @cssproperty --mdc-select-border-color - The border color of the select.\n * @cssproperty --mdc-select-border-color-disabled - The border color of the select when disabled.\n * @cssproperty --mdc-select-border-color-success - The border color of the select when in success state.\n * @cssproperty --mdc-select-border-color-warning - The border color of the select when in warning state.\n * @cssproperty --mdc-select-border-color-error - The border color of the select when in error state.\n * @cssproperty --mdc-select-width - The width of the select.\n */",
32970
- "customElement": true
32971
- }
32972
- ],
32973
- "exports": [
32974
- {
32975
- "kind": "js",
32976
- "name": "default",
32977
- "declaration": {
32978
- "name": "Select",
32979
- "module": "components/select/select.component.js"
32980
- }
32981
- }
32982
- ]
32983
- },
32984
- {
32985
- "kind": "javascript-module",
32986
- "path": "components/selectlistbox/selectlistbox.component.js",
32987
- "declarations": [
32988
- {
32989
- "kind": "class",
32990
- "description": "Selectlistbox component as Light DOM component to act as a simple wrapper\nfor mdc-option components to ensure accessibility and proper role assignment.\n\nOnce [ariaOwnsElements](https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/ariaOwnsElements) is supported in browsers, this component can be removed\nand mdc-option can be used directly in the select component with a listbox in a different\nshadow root and aria-owns attribute to connect them.",
32991
- "name": "Selectlistbox",
32992
- "slots": [
32880
+ "description": "Text color for the input field when disabled",
32881
+ "name": "--mdc-input-disabled-text-color",
32882
+ "inheritedFrom": {
32883
+ "name": "Input",
32884
+ "module": "src/components/input/input.component.ts"
32885
+ }
32886
+ },
32993
32887
  {
32994
- "description": "This is a default/unnamed slot, which can be used to insert mdc-option components.",
32995
- "name": "default"
32996
- }
32997
- ],
32998
- "members": [
32888
+ "description": "Background color for the input field when disabled",
32889
+ "name": "--mdc-input-disabled-background-color",
32890
+ "inheritedFrom": {
32891
+ "name": "Input",
32892
+ "module": "src/components/input/input.component.ts"
32893
+ }
32894
+ },
32999
32895
  {
33000
- "kind": "field",
33001
- "name": "role"
32896
+ "description": "Border color for the input container",
32897
+ "name": "--mdc-input-border-color",
32898
+ "inheritedFrom": {
32899
+ "name": "Input",
32900
+ "module": "src/components/input/input.component.ts"
32901
+ }
32902
+ },
32903
+ {
32904
+ "description": "Text color for the input field",
32905
+ "name": "--mdc-input-text-color",
32906
+ "inheritedFrom": {
32907
+ "name": "Input",
32908
+ "module": "src/components/input/input.component.ts"
32909
+ }
32910
+ },
32911
+ {
32912
+ "description": "Background color for the input field",
32913
+ "name": "--mdc-input-background-color",
32914
+ "inheritedFrom": {
32915
+ "name": "Input",
32916
+ "module": "src/components/input/input.component.ts"
32917
+ }
32918
+ },
32919
+ {
32920
+ "description": "Background color for the selected text",
32921
+ "name": "--mdc-input-selection-background-color",
32922
+ "inheritedFrom": {
32923
+ "name": "Input",
32924
+ "module": "src/components/input/input.component.ts"
32925
+ }
32926
+ },
32927
+ {
32928
+ "description": "Text color for the selected text",
32929
+ "name": "--mdc-input-selection-text-color",
32930
+ "inheritedFrom": {
32931
+ "name": "Input",
32932
+ "module": "src/components/input/input.component.ts"
32933
+ }
32934
+ },
32935
+ {
32936
+ "description": "Text color for the help text",
32937
+ "name": "--mdc-input-support-text-color",
32938
+ "inheritedFrom": {
32939
+ "name": "Input",
32940
+ "module": "src/components/input/input.component.ts"
32941
+ }
32942
+ },
32943
+ {
32944
+ "description": "Background color for the input field when hovered",
32945
+ "name": "--mdc-input-hover-background-color",
32946
+ "inheritedFrom": {
32947
+ "name": "Input",
32948
+ "module": "src/components/input/input.component.ts"
32949
+ }
32950
+ },
32951
+ {
32952
+ "description": "Background color for the input field when focused",
32953
+ "name": "--mdc-input-focused-background-color",
32954
+ "inheritedFrom": {
32955
+ "name": "Input",
32956
+ "module": "src/components/input/input.component.ts"
32957
+ }
32958
+ },
32959
+ {
32960
+ "description": "Border color for the input container when focused",
32961
+ "name": "--mdc-input-focused-border-color",
32962
+ "inheritedFrom": {
32963
+ "name": "Input",
32964
+ "module": "src/components/input/input.component.ts"
32965
+ }
32966
+ },
32967
+ {
32968
+ "description": "Border color for the input container when error",
32969
+ "name": "--mdc-input-error-border-color",
32970
+ "inheritedFrom": {
32971
+ "name": "Input",
32972
+ "module": "src/components/input/input.component.ts"
32973
+ }
32974
+ },
32975
+ {
32976
+ "description": "Border color for the input container when warning",
32977
+ "name": "--mdc-input-warning-border-color",
32978
+ "inheritedFrom": {
32979
+ "name": "Input",
32980
+ "module": "src/components/input/input.component.ts"
32981
+ }
32982
+ },
32983
+ {
32984
+ "description": "Border color for the input container when success",
32985
+ "name": "--mdc-input-success-border-color",
32986
+ "inheritedFrom": {
32987
+ "name": "Input",
32988
+ "module": "src/components/input/input.component.ts"
32989
+ }
32990
+ },
32991
+ {
32992
+ "description": "Border color for the input container when primary",
32993
+ "name": "--mdc-input-primary-border-color",
32994
+ "inheritedFrom": {
32995
+ "name": "Input",
32996
+ "module": "src/components/input/input.component.ts"
32997
+ }
33002
32998
  }
33003
- ],
33004
- "superclass": {
33005
- "name": "Component",
33006
- "module": "/src/models"
33007
- },
33008
- "tagName": "mdc-selectlistbox",
33009
- "jsDoc": "/**\n * Selectlistbox component as Light DOM component to act as a simple wrapper\n * for mdc-option components to ensure accessibility and proper role assignment.\n *\n * Once [ariaOwnsElements](https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/ariaOwnsElements) is supported in browsers, this component can be removed\n * and mdc-option can be used directly in the select component with a listbox in a different\n * shadow root and aria-owns attribute to connect them.\n *\n * @tagname mdc-selectlistbox\n *\n * @slot default - This is a default/unnamed slot, which can be used to insert mdc-option components.\n */",
33010
- "customElement": true
32999
+ ]
33011
33000
  }
33012
33001
  ],
33013
33002
  "exports": [
@@ -33015,8 +33004,8 @@
33015
33004
  "kind": "js",
33016
33005
  "name": "default",
33017
33006
  "declaration": {
33018
- "name": "Selectlistbox",
33019
- "module": "components/selectlistbox/selectlistbox.component.js"
33007
+ "name": "Searchfield",
33008
+ "module": "components/searchfield/searchfield.component.js"
33020
33009
  }
33021
33010
  }
33022
33011
  ]
@@ -33431,48 +33420,52 @@
33431
33420
  },
33432
33421
  {
33433
33422
  "kind": "javascript-module",
33434
- "path": "components/staticcheckbox/staticcheckbox.component.js",
33423
+ "path": "components/staticradio/staticradio.component.js",
33435
33424
  "declarations": [
33436
33425
  {
33437
33426
  "kind": "class",
33438
- "description": "This is a decorative component that is styled to look as a checkbox.\n\nIt has 3 properties - checked, indeterminate and disabled.\n\nWe are using the same styling that has been created for the `mdc-checkbox` component.",
33439
- "name": "StaticCheckbox",
33427
+ "description": "This is a decorative component that is styled to look as a radio.\nIt has 2 properties - checked and disabled.\n\nWe are using the same styling that has been created for the `mdc-radio` component.",
33428
+ "name": "StaticRadio",
33440
33429
  "cssProperties": [
33441
33430
  {
33442
- "description": "Border color in high contrast.",
33443
- "name": "--mdc-staticcheckbox-border-color"
33431
+ "description": "size of the inner circle",
33432
+ "name": "--mdc-staticradio-inner-circle-size"
33444
33433
  },
33445
33434
  {
33446
- "description": "Background color for a selected checkbox.",
33447
- "name": "--mdc-staticcheckbox-checked-background-color"
33435
+ "description": "color of the label when disabled",
33436
+ "name": "--mdc-staticradio-text-disabled-color"
33448
33437
  },
33449
33438
  {
33450
- "description": "Background color for a disabled checkbox.",
33451
- "name": "--mdc-staticcheckbox-disabled-background-color"
33439
+ "description": "color of the radio button border when normal",
33440
+ "name": "--mdc-staticradio-normal-border-color"
33452
33441
  },
33453
33442
  {
33454
- "description": "Border color for a disabled checkbox.",
33455
- "name": "--mdc-checkbox-disabled-border-color"
33443
+ "description": "color of the radio button border when disabled",
33444
+ "name": "--mdc-staticradio-disabled-border-color"
33456
33445
  },
33457
33446
  {
33458
- "description": "Background color for a disabled, selected checkbox.",
33459
- "name": "--mdc-checkbox-disabled-checked-icon-color"
33447
+ "description": "background color of the inner circle when normal",
33448
+ "name": "--mdc-staticradio-inner-circle-normal-background"
33460
33449
  },
33461
33450
  {
33462
- "description": "Icon color for a disabled checkbox.",
33463
- "name": "--mdc-staticcheckbox-disabled-icon-color"
33451
+ "description": "background color of the inner circle when disabled",
33452
+ "name": "--mdc-staticradio-inner-circle-disabled-background"
33464
33453
  },
33465
33454
  {
33466
- "description": "Background color for an unselected checkbox.",
33467
- "name": "--mdc-staticcheckbox-icon-background-color"
33455
+ "description": "color of the radio button when inactive",
33456
+ "name": "--mdc-staticradio-control-inactive-color"
33468
33457
  },
33469
33458
  {
33470
- "description": "Default background color for an unselected checkbox.",
33471
- "name": "--mdc-staticcheckbox-icon-border-color"
33459
+ "description": "background color of the radio button when inactive and disabled",
33460
+ "name": "--mdc-staticradio-control-inactive-disabled-background"
33472
33461
  },
33473
33462
  {
33474
- "description": "Icon color for an unselected checkbox.",
33475
- "name": "--mdc-staticcheckbox-icon-color"
33463
+ "description": "color of the radio button when active",
33464
+ "name": "--mdc-staticradio-control-active-color"
33465
+ },
33466
+ {
33467
+ "description": "background color of the radio button when active and disabled",
33468
+ "name": "--mdc-staticradio-control-active-disabled-background"
33476
33469
  }
33477
33470
  ],
33478
33471
  "members": [
@@ -33483,19 +33476,19 @@
33483
33476
  "text": "boolean"
33484
33477
  },
33485
33478
  "default": "false",
33486
- "description": "Determines whether the checkbox is selected or unselected.",
33479
+ "description": "Determines whether the radio is selected or unselected.",
33487
33480
  "attribute": "checked",
33488
33481
  "reflects": true
33489
33482
  },
33490
33483
  {
33491
33484
  "kind": "field",
33492
- "name": "indeterminate",
33485
+ "name": "readonly",
33493
33486
  "type": {
33494
33487
  "text": "boolean"
33495
33488
  },
33496
33489
  "default": "false",
33497
- "description": "Determines whether the checkbox is in an indeterminate state.",
33498
- "attribute": "indeterminate",
33490
+ "description": "Determines whether the radio is read-only.",
33491
+ "attribute": "readonly",
33499
33492
  "reflects": true
33500
33493
  },
33501
33494
  {
@@ -33521,17 +33514,17 @@
33521
33514
  "text": "boolean"
33522
33515
  },
33523
33516
  "default": "false",
33524
- "description": "Determines whether the checkbox is selected or unselected.",
33517
+ "description": "Determines whether the radio is selected or unselected.",
33525
33518
  "fieldName": "checked"
33526
33519
  },
33527
33520
  {
33528
- "name": "indeterminate",
33521
+ "name": "readonly",
33529
33522
  "type": {
33530
33523
  "text": "boolean"
33531
33524
  },
33532
33525
  "default": "false",
33533
- "description": "Determines whether the checkbox is in an indeterminate state.",
33534
- "fieldName": "indeterminate"
33526
+ "description": "Determines whether the radio is read-only.",
33527
+ "fieldName": "readonly"
33535
33528
  },
33536
33529
  {
33537
33530
  "name": "disabled",
@@ -33557,8 +33550,8 @@
33557
33550
  "name": "Component",
33558
33551
  "module": "/src/models"
33559
33552
  },
33560
- "tagName": "mdc-staticcheckbox",
33561
- "jsDoc": "/**\n * This is a decorative component that is styled to look as a checkbox.\n *\n * It has 3 properties - checked, indeterminate and disabled.\n *\n * We are using the same styling that has been created for the `mdc-checkbox` component.\n *\n * @tagname mdc-staticcheckbox\n *\n * @dependency mdc-icon\n *\n * @cssproperty --mdc-staticcheckbox-border-color - Border color in high contrast.\n * @cssproperty --mdc-staticcheckbox-checked-background-color - Background color for a selected checkbox.\n * @cssproperty --mdc-staticcheckbox-disabled-background-color - Background color for a disabled checkbox.\n * @cssproperty --mdc-checkbox-disabled-border-color - Border color for a disabled checkbox.\n * @cssproperty --mdc-checkbox-disabled-checked-icon-color - Background color for a disabled, selected checkbox.\n * @cssproperty --mdc-staticcheckbox-disabled-icon-color - Icon color for a disabled checkbox.\n * @cssproperty --mdc-staticcheckbox-icon-background-color - Background color for an unselected checkbox.\n * @cssproperty --mdc-staticcheckbox-icon-border-color - Default background color for an unselected checkbox.\n * @cssproperty --mdc-staticcheckbox-icon-color - Icon color for an unselected checkbox.\n *\n */",
33553
+ "tagName": "mdc-staticradio",
33554
+ "jsDoc": "/**\n * This is a decorative component that is styled to look as a radio.\n * It has 2 properties - checked and disabled.\n *\n * We are using the same styling that has been created for the `mdc-radio` component.\n *\n * @tagname mdc-staticradio\n *\n * @cssproperty --mdc-staticradio-inner-circle-size - size of the inner circle\n * @cssproperty --mdc-staticradio-text-disabled-color - color of the label when disabled\n * @cssproperty --mdc-staticradio-normal-border-color - color of the radio button border when normal\n * @cssproperty --mdc-staticradio-disabled-border-color - color of the radio button border when disabled\n * @cssproperty --mdc-staticradio-inner-circle-normal-background - background color of the inner circle when normal\n * @cssproperty --mdc-staticradio-inner-circle-disabled-background - background color of the inner circle when disabled\n * @cssproperty --mdc-staticradio-control-inactive-color - color of the radio button when inactive\n * @cssproperty --mdc-staticradio-control-inactive-disabled-background - background color of the radio button when\n * inactive and disabled\n * @cssproperty --mdc-staticradio-control-active-color - color of the radio button when active\n * @cssproperty --mdc-staticradio-control-active-disabled-background - background color of the radio button\n * when active and disabled\n */",
33562
33555
  "customElement": true
33563
33556
  }
33564
33557
  ],
@@ -33567,60 +33560,56 @@
33567
33560
  "kind": "js",
33568
33561
  "name": "default",
33569
33562
  "declaration": {
33570
- "name": "StaticCheckbox",
33571
- "module": "components/staticcheckbox/staticcheckbox.component.js"
33563
+ "name": "StaticRadio",
33564
+ "module": "components/staticradio/staticradio.component.js"
33572
33565
  }
33573
33566
  }
33574
33567
  ]
33575
33568
  },
33576
33569
  {
33577
33570
  "kind": "javascript-module",
33578
- "path": "components/staticradio/staticradio.component.js",
33571
+ "path": "components/staticcheckbox/staticcheckbox.component.js",
33579
33572
  "declarations": [
33580
33573
  {
33581
33574
  "kind": "class",
33582
- "description": "This is a decorative component that is styled to look as a radio.\nIt has 2 properties - checked and disabled.\n\nWe are using the same styling that has been created for the `mdc-radio` component.",
33583
- "name": "StaticRadio",
33575
+ "description": "This is a decorative component that is styled to look as a checkbox.\n\nIt has 3 properties - checked, indeterminate and disabled.\n\nWe are using the same styling that has been created for the `mdc-checkbox` component.",
33576
+ "name": "StaticCheckbox",
33584
33577
  "cssProperties": [
33585
33578
  {
33586
- "description": "size of the inner circle",
33587
- "name": "--mdc-staticradio-inner-circle-size"
33588
- },
33589
- {
33590
- "description": "color of the label when disabled",
33591
- "name": "--mdc-staticradio-text-disabled-color"
33579
+ "description": "Border color in high contrast.",
33580
+ "name": "--mdc-staticcheckbox-border-color"
33592
33581
  },
33593
33582
  {
33594
- "description": "color of the radio button border when normal",
33595
- "name": "--mdc-staticradio-normal-border-color"
33583
+ "description": "Background color for a selected checkbox.",
33584
+ "name": "--mdc-staticcheckbox-checked-background-color"
33596
33585
  },
33597
33586
  {
33598
- "description": "color of the radio button border when disabled",
33599
- "name": "--mdc-staticradio-disabled-border-color"
33587
+ "description": "Background color for a disabled checkbox.",
33588
+ "name": "--mdc-staticcheckbox-disabled-background-color"
33600
33589
  },
33601
33590
  {
33602
- "description": "background color of the inner circle when normal",
33603
- "name": "--mdc-staticradio-inner-circle-normal-background"
33591
+ "description": "Border color for a disabled checkbox.",
33592
+ "name": "--mdc-checkbox-disabled-border-color"
33604
33593
  },
33605
33594
  {
33606
- "description": "background color of the inner circle when disabled",
33607
- "name": "--mdc-staticradio-inner-circle-disabled-background"
33595
+ "description": "Background color for a disabled, selected checkbox.",
33596
+ "name": "--mdc-checkbox-disabled-checked-icon-color"
33608
33597
  },
33609
33598
  {
33610
- "description": "color of the radio button when inactive",
33611
- "name": "--mdc-staticradio-control-inactive-color"
33599
+ "description": "Icon color for a disabled checkbox.",
33600
+ "name": "--mdc-staticcheckbox-disabled-icon-color"
33612
33601
  },
33613
33602
  {
33614
- "description": "background color of the radio button when inactive and disabled",
33615
- "name": "--mdc-staticradio-control-inactive-disabled-background"
33603
+ "description": "Background color for an unselected checkbox.",
33604
+ "name": "--mdc-staticcheckbox-icon-background-color"
33616
33605
  },
33617
33606
  {
33618
- "description": "color of the radio button when active",
33619
- "name": "--mdc-staticradio-control-active-color"
33607
+ "description": "Default background color for an unselected checkbox.",
33608
+ "name": "--mdc-staticcheckbox-icon-border-color"
33620
33609
  },
33621
33610
  {
33622
- "description": "background color of the radio button when active and disabled",
33623
- "name": "--mdc-staticradio-control-active-disabled-background"
33611
+ "description": "Icon color for an unselected checkbox.",
33612
+ "name": "--mdc-staticcheckbox-icon-color"
33624
33613
  }
33625
33614
  ],
33626
33615
  "members": [
@@ -33631,19 +33620,19 @@
33631
33620
  "text": "boolean"
33632
33621
  },
33633
33622
  "default": "false",
33634
- "description": "Determines whether the radio is selected or unselected.",
33623
+ "description": "Determines whether the checkbox is selected or unselected.",
33635
33624
  "attribute": "checked",
33636
33625
  "reflects": true
33637
33626
  },
33638
33627
  {
33639
33628
  "kind": "field",
33640
- "name": "readonly",
33629
+ "name": "indeterminate",
33641
33630
  "type": {
33642
33631
  "text": "boolean"
33643
33632
  },
33644
33633
  "default": "false",
33645
- "description": "Determines whether the radio is read-only.",
33646
- "attribute": "readonly",
33634
+ "description": "Determines whether the checkbox is in an indeterminate state.",
33635
+ "attribute": "indeterminate",
33647
33636
  "reflects": true
33648
33637
  },
33649
33638
  {
@@ -33669,17 +33658,17 @@
33669
33658
  "text": "boolean"
33670
33659
  },
33671
33660
  "default": "false",
33672
- "description": "Determines whether the radio is selected or unselected.",
33661
+ "description": "Determines whether the checkbox is selected or unselected.",
33673
33662
  "fieldName": "checked"
33674
33663
  },
33675
33664
  {
33676
- "name": "readonly",
33665
+ "name": "indeterminate",
33677
33666
  "type": {
33678
33667
  "text": "boolean"
33679
33668
  },
33680
33669
  "default": "false",
33681
- "description": "Determines whether the radio is read-only.",
33682
- "fieldName": "readonly"
33670
+ "description": "Determines whether the checkbox is in an indeterminate state.",
33671
+ "fieldName": "indeterminate"
33683
33672
  },
33684
33673
  {
33685
33674
  "name": "disabled",
@@ -33705,8 +33694,8 @@
33705
33694
  "name": "Component",
33706
33695
  "module": "/src/models"
33707
33696
  },
33708
- "tagName": "mdc-staticradio",
33709
- "jsDoc": "/**\n * This is a decorative component that is styled to look as a radio.\n * It has 2 properties - checked and disabled.\n *\n * We are using the same styling that has been created for the `mdc-radio` component.\n *\n * @tagname mdc-staticradio\n *\n * @cssproperty --mdc-staticradio-inner-circle-size - size of the inner circle\n * @cssproperty --mdc-staticradio-text-disabled-color - color of the label when disabled\n * @cssproperty --mdc-staticradio-normal-border-color - color of the radio button border when normal\n * @cssproperty --mdc-staticradio-disabled-border-color - color of the radio button border when disabled\n * @cssproperty --mdc-staticradio-inner-circle-normal-background - background color of the inner circle when normal\n * @cssproperty --mdc-staticradio-inner-circle-disabled-background - background color of the inner circle when disabled\n * @cssproperty --mdc-staticradio-control-inactive-color - color of the radio button when inactive\n * @cssproperty --mdc-staticradio-control-inactive-disabled-background - background color of the radio button when\n * inactive and disabled\n * @cssproperty --mdc-staticradio-control-active-color - color of the radio button when active\n * @cssproperty --mdc-staticradio-control-active-disabled-background - background color of the radio button\n * when active and disabled\n */",
33697
+ "tagName": "mdc-staticcheckbox",
33698
+ "jsDoc": "/**\n * This is a decorative component that is styled to look as a checkbox.\n *\n * It has 3 properties - checked, indeterminate and disabled.\n *\n * We are using the same styling that has been created for the `mdc-checkbox` component.\n *\n * @tagname mdc-staticcheckbox\n *\n * @dependency mdc-icon\n *\n * @cssproperty --mdc-staticcheckbox-border-color - Border color in high contrast.\n * @cssproperty --mdc-staticcheckbox-checked-background-color - Background color for a selected checkbox.\n * @cssproperty --mdc-staticcheckbox-disabled-background-color - Background color for a disabled checkbox.\n * @cssproperty --mdc-checkbox-disabled-border-color - Border color for a disabled checkbox.\n * @cssproperty --mdc-checkbox-disabled-checked-icon-color - Background color for a disabled, selected checkbox.\n * @cssproperty --mdc-staticcheckbox-disabled-icon-color - Icon color for a disabled checkbox.\n * @cssproperty --mdc-staticcheckbox-icon-background-color - Background color for an unselected checkbox.\n * @cssproperty --mdc-staticcheckbox-icon-border-color - Default background color for an unselected checkbox.\n * @cssproperty --mdc-staticcheckbox-icon-color - Icon color for an unselected checkbox.\n *\n */",
33710
33699
  "customElement": true
33711
33700
  }
33712
33701
  ],
@@ -33715,8 +33704,8 @@
33715
33704
  "kind": "js",
33716
33705
  "name": "default",
33717
33706
  "declaration": {
33718
- "name": "StaticRadio",
33719
- "module": "components/staticradio/staticradio.component.js"
33707
+ "name": "StaticCheckbox",
33708
+ "module": "components/staticcheckbox/staticcheckbox.component.js"
33720
33709
  }
33721
33710
  }
33722
33711
  ]