@momentum-design/components 0.119.0 → 0.120.0

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",
@@ -970,102 +819,253 @@
970
819
  },
971
820
  {
972
821
  "kind": "javascript-module",
973
- "path": "components/alertchip/alertchip.component.js",
822
+ "path": "components/accordiongroup/accordiongroup.component.js",
974
823
  "declarations": [
975
824
  {
976
825
  "kind": "class",
977
- "description": "mdc-alertchip component is an interactive chip that consumers can use to represent an alert.\n\n- It supports a leading icon along with label.\n- It supports 5 variants of alerts - neutral, warning, error, success, and informational\n\nThis component is built by extending Buttonsimple.",
978
- "name": "AlertChip",
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",
979
828
  "cssProperties": [
980
829
  {
981
- "description": "The color of the label text",
982
- "name": "--mdc-chip-color"
983
- },
984
- {
985
- "description": "The color of the icon",
986
- "name": "--mdc-chip-icon-color"
987
- },
988
- {
989
- "description": "The border color of the alertchip",
990
- "name": "--mdc-chip-border-color"
991
- },
992
- {
993
- "description": "The background color of the alertchip",
994
- "name": "--mdc-chip-background-color"
830
+ "description": "The border color of the entire accordiongroup",
831
+ "name": "--mdc-accordiongroup-border-color"
995
832
  }
996
833
  ],
997
- "cssParts": [
998
- {
999
- "description": "The alert icon",
1000
- "name": "icon"
1001
- },
834
+ "slots": [
1002
835
  {
1003
- "description": "The text label of the alertchip",
1004
- "name": "label"
836
+ "description": "The default slot can contain the `accordion` or `accordionbutton` components.",
837
+ "name": "default"
1005
838
  }
1006
839
  ],
1007
840
  "members": [
1008
841
  {
1009
842
  "kind": "field",
1010
- "name": "variant",
843
+ "name": "size",
1011
844
  "type": {
1012
- "text": "VariantType"
845
+ "text": "Size"
1013
846
  },
1014
- "description": "The variant of the alertchip. It supports 5 variants\n- neutral\n- warning\n- error\n- success\n- informational",
1015
- "default": "neutral",
1016
- "attribute": "variant"
847
+ "description": "The size of the accordion item.",
848
+ "default": "'small'",
849
+ "attribute": "size",
850
+ "reflects": true
1017
851
  },
1018
852
  {
1019
853
  "kind": "field",
1020
- "name": "label",
854
+ "name": "variant",
1021
855
  "type": {
1022
- "text": "string"
856
+ "text": "Variant"
1023
857
  },
1024
- "default": "''",
1025
- "description": "The visible label text of the alertchip.\n\nWe recommend limiting the <b>maximum length of the label text to 20 characters</b>,\nincluding empty spaces to split words.",
1026
- "attribute": "label"
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
1027
862
  },
1028
863
  {
1029
864
  "kind": "field",
1030
- "name": "autoFocusOnMount",
865
+ "name": "allowMultiple",
1031
866
  "type": {
1032
867
  "text": "boolean"
1033
868
  },
1034
869
  "default": "false",
1035
- "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
1036
- "attribute": "auto-focus-on-mount",
1037
- "reflects": true,
1038
- "inheritedFrom": {
1039
- "name": "AutoFocusOnMountMixin",
1040
- "module": "utils/mixins/AutoFocusOnMountMixin.js"
1041
- }
870
+ "description": "If true, multiple accordion items can be visible at the same time.",
871
+ "attribute": "allow-multiple",
872
+ "reflects": true
1042
873
  },
1043
874
  {
1044
- "kind": "field",
1045
- "name": "tabIndex",
1046
- "type": {
1047
- "text": "number"
875
+ "kind": "method",
876
+ "name": "handleAccordionExpanded",
877
+ "privacy": "private",
878
+ "return": {
879
+ "type": {
880
+ "text": "void"
881
+ }
1048
882
  },
1049
- "default": "0",
1050
- "description": "This property specifies the tab order of the element.",
1051
- "attribute": "tabIndex",
1052
- "reflects": true,
1053
- "inheritedFrom": {
1054
- "name": "TabIndexMixin",
1055
- "module": "utils/mixins/TabIndexMixin.js"
1056
- }
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."
1057
893
  },
1058
894
  {
1059
- "kind": "field",
1060
- "name": "disabled",
1061
- "type": {
1062
- "text": "boolean | undefined"
1063
- },
1064
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
1065
- "default": "undefined",
1066
- "attribute": "disabled",
1067
- "reflects": true,
1068
- "inheritedFrom": {
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
+ {
972
+ "kind": "javascript-module",
973
+ "path": "components/alertchip/alertchip.component.js",
974
+ "declarations": [
975
+ {
976
+ "kind": "class",
977
+ "description": "mdc-alertchip component is an interactive chip that consumers can use to represent an alert.\n\n- It supports a leading icon along with label.\n- It supports 5 variants of alerts - neutral, warning, error, success, and informational\n\nThis component is built by extending Buttonsimple.",
978
+ "name": "AlertChip",
979
+ "cssProperties": [
980
+ {
981
+ "description": "The color of the label text",
982
+ "name": "--mdc-chip-color"
983
+ },
984
+ {
985
+ "description": "The color of the icon",
986
+ "name": "--mdc-chip-icon-color"
987
+ },
988
+ {
989
+ "description": "The border color of the alertchip",
990
+ "name": "--mdc-chip-border-color"
991
+ },
992
+ {
993
+ "description": "The background color of the alertchip",
994
+ "name": "--mdc-chip-background-color"
995
+ }
996
+ ],
997
+ "cssParts": [
998
+ {
999
+ "description": "The alert icon",
1000
+ "name": "icon"
1001
+ },
1002
+ {
1003
+ "description": "The text label of the alertchip",
1004
+ "name": "label"
1005
+ }
1006
+ ],
1007
+ "members": [
1008
+ {
1009
+ "kind": "field",
1010
+ "name": "variant",
1011
+ "type": {
1012
+ "text": "VariantType"
1013
+ },
1014
+ "description": "The variant of the alertchip. It supports 5 variants\n- neutral\n- warning\n- error\n- success\n- informational",
1015
+ "default": "neutral",
1016
+ "attribute": "variant"
1017
+ },
1018
+ {
1019
+ "kind": "field",
1020
+ "name": "label",
1021
+ "type": {
1022
+ "text": "string"
1023
+ },
1024
+ "default": "''",
1025
+ "description": "The visible label text of the alertchip.\n\nWe recommend limiting the <b>maximum length of the label text to 20 characters</b>,\nincluding empty spaces to split words.",
1026
+ "attribute": "label"
1027
+ },
1028
+ {
1029
+ "kind": "field",
1030
+ "name": "autoFocusOnMount",
1031
+ "type": {
1032
+ "text": "boolean"
1033
+ },
1034
+ "default": "false",
1035
+ "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
1036
+ "attribute": "auto-focus-on-mount",
1037
+ "reflects": true,
1038
+ "inheritedFrom": {
1039
+ "name": "AutoFocusOnMountMixin",
1040
+ "module": "utils/mixins/AutoFocusOnMountMixin.js"
1041
+ }
1042
+ },
1043
+ {
1044
+ "kind": "field",
1045
+ "name": "tabIndex",
1046
+ "type": {
1047
+ "text": "number"
1048
+ },
1049
+ "default": "0",
1050
+ "description": "This property specifies the tab order of the element.",
1051
+ "attribute": "tabIndex",
1052
+ "reflects": true,
1053
+ "inheritedFrom": {
1054
+ "name": "TabIndexMixin",
1055
+ "module": "utils/mixins/TabIndexMixin.js"
1056
+ }
1057
+ },
1058
+ {
1059
+ "kind": "field",
1060
+ "name": "disabled",
1061
+ "type": {
1062
+ "text": "boolean | undefined"
1063
+ },
1064
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
1065
+ "default": "undefined",
1066
+ "attribute": "disabled",
1067
+ "reflects": true,
1068
+ "inheritedFrom": {
1069
1069
  "name": "DisabledMixin",
1070
1070
  "module": "utils/mixins/DisabledMixin.js"
1071
1071
  }
@@ -19846,79 +19846,64 @@
19846
19846
  },
19847
19847
  {
19848
19848
  "kind": "javascript-module",
19849
- "path": "components/linkbutton/linkbutton.component.js",
19849
+ "path": "components/linksimple/linksimple.component.js",
19850
19850
  "declarations": [
19851
19851
  {
19852
19852
  "kind": "class",
19853
- "description": "`mdc-linkbutton` visually mimics a hyperlink while functioning as a button. It blends the appearance of `mdc-link` with the accessibility and interaction capabilities of `mdc-button`.\n\n### Features:\n- Looks like a link, behaves like a button.\n- Supports slots for a text label and an optional trailing icon.\n- Inherits accessibility and keyboard interaction behavior from `mdc-buttonsimple`.",
19854
- "name": "LinkButton",
19853
+ "description": "`mdc-linksimple` is a lightweight link component that can be used to navigate\nwithin the application or to an external URL. It does not have any predefined default size.\n\nThe `children` of the `mdc-linksimple` component can be customized to suit\ndifferent use cases, including text, icons, or other inline content. For the child to be an icon,\nthe `mdc-icon` component should be used to render.",
19854
+ "name": "Linksimple",
19855
19855
  "cssProperties": [
19856
19856
  {
19857
- "description": "Border radius of the linkbutton.",
19857
+ "description": "Border radius of the link.",
19858
19858
  "name": "--mdc-link-border-radius"
19859
19859
  },
19860
19860
  {
19861
- "description": "Color of the linkbutton’s child content in the active state.",
19861
+ "description": "Color of the link’s child content in the active state.",
19862
19862
  "name": "--mdc-link-color-active"
19863
19863
  },
19864
19864
  {
19865
- "description": "Color of the linkbutton’s child content in the disabled state.",
19865
+ "description": "Color of the link’s child content in the disabled state.",
19866
19866
  "name": "--mdc-link-color-disabled"
19867
19867
  },
19868
19868
  {
19869
- "description": "Color of the linkbutton’s child content in the hover state.",
19869
+ "description": "Color of the link’s child content in the hover state.",
19870
19870
  "name": "--mdc-link-color-hover"
19871
19871
  },
19872
19872
  {
19873
- "description": "Color of the linkbutton’s child content in the normal state.",
19873
+ "description": "Color of the link’s child content in the normal state.",
19874
19874
  "name": "--mdc-link-color-normal"
19875
19875
  },
19876
19876
  {
19877
- "description": "Color of the inverted linkbutton’s child content in the active state.",
19877
+ "description": "Color of the inverted link’s child content in the active state.",
19878
19878
  "name": "--mdc-link-inverted-color-active"
19879
19879
  },
19880
19880
  {
19881
- "description": "Color of the inverted linkbutton’s child content in the disabled state.",
19881
+ "description": "Color of the inverted link’s child content in the disabled state.",
19882
19882
  "name": "--mdc-link-inverted-color-disabled"
19883
19883
  },
19884
19884
  {
19885
- "description": "Color of the inverted linkbutton’s child content in the hover state.",
19885
+ "description": "Color of the inverted link’s child content in the hover state.",
19886
19886
  "name": "--mdc-link-inverted-color-hover"
19887
19887
  },
19888
19888
  {
19889
- "description": "Color of the inverted linkbutton’s child content in the normal state.",
19889
+ "description": "Color of the inverted link’s child content in the normal state.",
19890
19890
  "name": "--mdc-link-inverted-color-normal"
19891
19891
  }
19892
19892
  ],
19893
- "slots": [
19893
+ "cssParts": [
19894
19894
  {
19895
- "description": "Text label of the linkbutton.",
19896
- "name": ""
19895
+ "description": "The anchor element that wraps the linksimple content.",
19896
+ "name": "anchor"
19897
19897
  }
19898
19898
  ],
19899
19899
  "members": [
19900
- {
19901
- "kind": "field",
19902
- "name": "size",
19903
- "type": {
19904
- "text": "ButtonSize"
19905
- },
19906
- "description": "Sets the size of the linkbutton.\nAcceptable values: \n- 12\n- 14\n- 16",
19907
- "default": "16",
19908
- "attribute": "size",
19909
- "reflects": true,
19910
- "inheritedFrom": {
19911
- "name": "Buttonsimple",
19912
- "module": "components/buttonsimple/buttonsimple.component.js"
19913
- }
19914
- },
19915
19900
  {
19916
19901
  "kind": "field",
19917
19902
  "name": "inline",
19918
19903
  "type": {
19919
19904
  "text": "boolean"
19920
19905
  },
19921
- "description": "The linkbutton can be inline or standalone.",
19906
+ "description": "The link can be inline or standalone.",
19922
19907
  "default": "false",
19923
19908
  "attribute": "inline",
19924
19909
  "reflects": true
@@ -19929,392 +19914,185 @@
19929
19914
  "type": {
19930
19915
  "text": "boolean"
19931
19916
  },
19932
- "description": "The linkbutton color can be inverted by setting the inverted attribute to true.",
19917
+ "description": "The link color can be inverted by setting the inverted attribute to true.",
19933
19918
  "default": "false",
19934
19919
  "attribute": "inverted",
19935
19920
  "reflects": true
19936
19921
  },
19937
- {
19938
- "kind": "method",
19939
- "name": "setSize",
19940
- "privacy": "private",
19941
- "parameters": [
19942
- {
19943
- "name": "size",
19944
- "type": {
19945
- "text": "LinkButtonSize"
19946
- },
19947
- "description": "The desired link size."
19948
- }
19949
- ],
19950
- "description": "Sets the `size` attribute for the linkbutton, falling back to the default if the value is invalid."
19951
- },
19952
19922
  {
19953
19923
  "kind": "field",
19954
- "name": "iconName",
19924
+ "name": "href",
19955
19925
  "type": {
19956
- "text": "IconNames | undefined"
19926
+ "text": "string | undefined"
19957
19927
  },
19958
- "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
19959
- "attribute": "icon-name",
19960
- "inheritedFrom": {
19961
- "name": "IconNameMixin",
19962
- "module": "utils/mixins/IconNameMixin.js"
19963
- }
19928
+ "description": "Href for navigation. The URL that the hyperlink points to",
19929
+ "attribute": "href",
19930
+ "reflects": true
19964
19931
  },
19965
19932
  {
19966
19933
  "kind": "field",
19967
- "name": "autoFocusOnMount",
19934
+ "name": "target",
19968
19935
  "type": {
19969
- "text": "boolean"
19936
+ "text": "string"
19970
19937
  },
19971
- "default": "false",
19972
- "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
19973
- "attribute": "auto-focus-on-mount",
19974
- "reflects": true,
19975
- "inheritedFrom": {
19976
- "name": "Buttonsimple",
19977
- "module": "components/buttonsimple/buttonsimple.component.js"
19978
- }
19979
- },
19980
- {
19981
- "kind": "field",
19982
- "name": "tabIndex",
19983
- "type": {
19984
- "text": "number"
19985
- },
19986
- "default": "0",
19987
- "description": "This property specifies the tab order of the element.",
19988
- "attribute": "tabIndex",
19989
- "reflects": true,
19990
- "inheritedFrom": {
19991
- "name": "Buttonsimple",
19992
- "module": "components/buttonsimple/buttonsimple.component.js"
19993
- }
19994
- },
19995
- {
19996
- "kind": "field",
19997
- "name": "disabled",
19998
- "type": {
19999
- "text": "boolean | undefined"
20000
- },
20001
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
20002
- "default": "undefined",
20003
- "attribute": "disabled",
20004
- "reflects": true,
20005
- "inheritedFrom": {
20006
- "name": "Buttonsimple",
20007
- "module": "components/buttonsimple/buttonsimple.component.js"
20008
- }
19938
+ "default": "'_self'",
19939
+ "description": "Optional target: _blank, _self, _parent, _top and _unfencedTop",
19940
+ "attribute": "target",
19941
+ "reflects": true
20009
19942
  },
20010
19943
  {
20011
19944
  "kind": "field",
20012
- "name": "active",
19945
+ "name": "rel",
20013
19946
  "type": {
20014
- "text": "boolean | undefined"
19947
+ "text": "string | undefined"
20015
19948
  },
20016
- "description": "The button's active state indicates whether it is currently toggled on (active) or off (inactive).\nWhen the active state is true, the button is considered to be in an active state, meaning it is toggled on.\nConversely, when the active state is false, the button is in an inactive state, indicating it is toggled off.\n\nThis attribute is used to set the provided `ariaStateKey` to true or false.",
20017
- "default": "undefined",
20018
- "attribute": "active",
20019
- "reflects": true,
20020
- "inheritedFrom": {
20021
- "name": "Buttonsimple",
20022
- "module": "components/buttonsimple/buttonsimple.component.js"
20023
- }
19949
+ "description": "Optional rel attribute that defines the relationship of the linked URL as space-separated link types.",
19950
+ "attribute": "rel",
19951
+ "reflects": true
20024
19952
  },
20025
19953
  {
20026
19954
  "kind": "field",
20027
- "name": "softDisabled",
19955
+ "name": "download",
20028
19956
  "type": {
20029
- "text": "boolean | undefined"
19957
+ "text": "string | undefined"
20030
19958
  },
20031
- "description": "Indicates whether the button is soft disabled.\nWhen set to `true`, the button appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe button behaves like a disabled button, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
20032
- "default": "undefined",
20033
- "attribute": "soft-disabled",
20034
- "reflects": true,
20035
- "inheritedFrom": {
20036
- "name": "Buttonsimple",
20037
- "module": "components/buttonsimple/buttonsimple.component.js"
20038
- }
19959
+ "description": "Optional download attribute to instruct browsers to download the linked resource.",
19960
+ "attribute": "download",
19961
+ "reflects": true
20039
19962
  },
20040
19963
  {
20041
19964
  "kind": "field",
20042
- "name": "role",
19965
+ "name": "ping",
20043
19966
  "type": {
20044
- "text": "RoleType"
19967
+ "text": "string | undefined"
20045
19968
  },
20046
- "description": "This property defines the ARIA role for the element. By default, it is set to 'button'.\nConsumers should override this role when:\n- The element is being used in a context where a different role is more appropriate.\n- Custom behaviors are implemented that require a specific ARIA role for accessibility purposes.",
20047
- "default": "button",
20048
- "attribute": "role",
20049
- "reflects": true,
20050
- "inheritedFrom": {
20051
- "name": "Buttonsimple",
20052
- "module": "components/buttonsimple/buttonsimple.component.js"
20053
- }
19969
+ "description": "Optional ping attribute that defines a space-separated list of URLs to be notified if the link is followed.",
19970
+ "attribute": "ping",
19971
+ "reflects": true
20054
19972
  },
20055
19973
  {
20056
19974
  "kind": "field",
20057
- "name": "ariaStateKey",
19975
+ "name": "hreflang",
20058
19976
  "type": {
20059
19977
  "text": "string | undefined"
20060
19978
  },
20061
- "description": "This property defines the ARIA state key, which will be toggled when the\nButton is set to `active`.\nThe default value is 'aria-pressed', which is commonly used for toggle buttons.\n\nConsumers can override this property to use a different ARIA state key if needed.\nIn case multiple aria attributes should be toggled, they can be passed in as\na comma separated string.\nFor example: `aria-pressed,aria-expanded`",
20062
- "default": "'aria-pressed' (when)",
20063
- "attribute": "ariaStateKey",
20064
- "reflects": true,
20065
- "inheritedFrom": {
20066
- "name": "Buttonsimple",
20067
- "module": "components/buttonsimple/buttonsimple.component.js"
20068
- }
19979
+ "description": "Optional hreflang attribute specifying the language of the linked resource.",
19980
+ "attribute": "hreflang",
19981
+ "reflects": true
20069
19982
  },
20070
19983
  {
20071
19984
  "kind": "field",
20072
19985
  "name": "type",
20073
- "type": {
20074
- "text": "ButtonType"
20075
- },
20076
- "description": "This property defines the type attribute for the button element.\nThe type attribute specifies the behavior of the button when it is clicked.\n- **submit**: The button submits the form data to the server.\n- **reset**: The button resets the form data to its initial state.\n- **button**: The button does nothing when clicked.",
20077
- "default": "button",
20078
- "attribute": "type",
20079
- "reflects": true,
20080
- "inheritedFrom": {
20081
- "name": "Buttonsimple",
20082
- "module": "components/buttonsimple/buttonsimple.component.js"
20083
- }
20084
- },
20085
- {
20086
- "kind": "field",
20087
- "name": "name",
20088
19986
  "type": {
20089
19987
  "text": "string | undefined"
20090
19988
  },
20091
- "description": "The name of the button, submitted as a pair with the button's value as part of the form data,\nwhen that button is used to submit the form.",
20092
- "attribute": "name",
20093
- "reflects": true,
20094
- "inheritedFrom": {
20095
- "name": "Buttonsimple",
20096
- "module": "components/buttonsimple/buttonsimple.component.js"
20097
- }
19989
+ "description": "Optional type attribute indicating the MIME type of the linked resource.",
19990
+ "attribute": "type",
19991
+ "reflects": true
20098
19992
  },
20099
19993
  {
20100
19994
  "kind": "field",
20101
- "name": "value",
19995
+ "name": "referrerpolicy",
20102
19996
  "type": {
20103
19997
  "text": "string | undefined"
20104
19998
  },
20105
- "description": "Defines the value associated with the button's name when it's submitted with the form data.\nThis value is passed to the server in params when the form is submitted using this button.",
20106
- "attribute": "value",
20107
- "reflects": true,
20108
- "inheritedFrom": {
20109
- "name": "Buttonsimple",
20110
- "module": "components/buttonsimple/buttonsimple.component.js"
20111
- }
20112
- },
20113
- {
20114
- "kind": "method",
20115
- "name": "executeAction",
20116
- "privacy": "protected",
20117
- "inheritedFrom": {
20118
- "name": "Buttonsimple",
20119
- "module": "components/buttonsimple/buttonsimple.component.js"
20120
- }
19999
+ "description": "Optional referrerpolicy attribute specifying how much referrer information to send.",
20000
+ "attribute": "referrerpolicy",
20001
+ "reflects": true
20121
20002
  },
20122
20003
  {
20123
20004
  "kind": "method",
20124
- "name": "setActive",
20005
+ "name": "handleNavigation",
20125
20006
  "privacy": "protected",
20126
- "parameters": [
20127
- {
20128
- "name": "element",
20129
- "type": {
20130
- "text": "HTMLElement"
20131
- },
20132
- "description": "The button element"
20133
- },
20134
- {
20135
- "name": "active",
20136
- "optional": true,
20137
- "type": {
20138
- "text": "boolean"
20139
- },
20140
- "description": "The active state of the element"
20007
+ "return": {
20008
+ "type": {
20009
+ "text": "void"
20141
20010
  }
20142
- ],
20143
- "description": "Sets the ariaStateKey attributes based on the active state of the button.",
20144
- "inheritedFrom": {
20145
- "name": "Buttonsimple",
20146
- "module": "components/buttonsimple/buttonsimple.component.js"
20147
- }
20148
- },
20149
- {
20150
- "kind": "method",
20151
- "name": "setSoftDisabled",
20152
- "privacy": "private",
20011
+ },
20153
20012
  "parameters": [
20154
20013
  {
20155
- "name": "element",
20156
- "type": {
20157
- "text": "HTMLElement"
20158
- },
20159
- "description": "The button element."
20160
- },
20161
- {
20162
- "name": "softDisabled",
20163
- "optional": true,
20014
+ "name": "e",
20164
20015
  "type": {
20165
- "text": "boolean"
20166
- },
20167
- "description": "The soft-disabled state."
20016
+ "text": "MouseEvent | KeyboardEvent"
20017
+ }
20168
20018
  }
20169
- ],
20170
- "description": "Sets the soft-disabled attribute for the button.\nWhen soft-disabled, the button looks to be disabled but remains focusable and clickable.\nAlso sets/removes aria-disabled attribute.",
20171
- "inheritedFrom": {
20172
- "name": "Buttonsimple",
20173
- "module": "components/buttonsimple/buttonsimple.component.js"
20174
- }
20019
+ ]
20175
20020
  },
20176
20021
  {
20177
20022
  "kind": "method",
20178
20023
  "name": "setDisabled",
20179
20024
  "privacy": "private",
20180
20025
  "parameters": [
20181
- {
20182
- "name": "element",
20183
- "type": {
20184
- "text": "HTMLElement"
20185
- },
20186
- "description": "The button element."
20187
- },
20188
20026
  {
20189
20027
  "name": "disabled",
20190
20028
  "type": {
20191
20029
  "text": "boolean"
20192
20030
  },
20193
- "description": "The disabled state."
20031
+ "description": "Whether the element should be disabled"
20194
20032
  }
20195
20033
  ],
20196
- "description": "Sets the disabled attribute for the button.\nWhen disabled, the button is not focusable or clickable, and tabindex is set to -1.\nThe previous tabindex is stored and restored when enabled.\nAlso sets/removes aria-disabled attribute.",
20197
- "inheritedFrom": {
20198
- "name": "Buttonsimple",
20199
- "module": "components/buttonsimple/buttonsimple.component.js"
20200
- }
20034
+ "description": "Sets or removes `aria-disabled` and updates `tabIndex` to reflect\nthe disabled state. When disabled, the element becomes unfocusable;\nwhen enabled, the previous `tabIndex` is restored."
20201
20035
  },
20202
20036
  {
20203
- "kind": "method",
20204
- "name": "triggerClickEvent",
20205
- "privacy": "private",
20037
+ "kind": "field",
20038
+ "name": "dataAriaLabel",
20039
+ "type": {
20040
+ "text": "string | null"
20041
+ },
20042
+ "default": "null",
20043
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
20044
+ "attribute": "data-aria-label",
20045
+ "reflects": true,
20206
20046
  "inheritedFrom": {
20207
- "name": "Buttonsimple",
20208
- "module": "components/buttonsimple/buttonsimple.component.js"
20047
+ "name": "DataAriaLabelMixin",
20048
+ "module": "utils/mixins/DataAriaLabelMixin.js"
20209
20049
  }
20210
20050
  },
20211
20051
  {
20212
- "kind": "method",
20213
- "name": "handleBlur",
20214
- "privacy": "private",
20215
- "description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed.",
20052
+ "kind": "field",
20053
+ "name": "disabled",
20054
+ "type": {
20055
+ "text": "boolean | undefined"
20056
+ },
20057
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
20058
+ "default": "undefined",
20059
+ "attribute": "disabled",
20060
+ "reflects": true,
20216
20061
  "inheritedFrom": {
20217
- "name": "Buttonsimple",
20218
- "module": "components/buttonsimple/buttonsimple.component.js"
20062
+ "name": "DisabledMixin",
20063
+ "module": "utils/mixins/DisabledMixin.js"
20219
20064
  }
20065
+ }
20066
+ ],
20067
+ "events": [
20068
+ {
20069
+ "description": "(React: onClick) Fired when the user activates the buttonLink using a mouse or assistive technology.",
20070
+ "name": "click",
20071
+ "reactName": "onClick"
20220
20072
  },
20221
20073
  {
20222
- "kind": "method",
20223
- "name": "handleKeyDown",
20224
- "privacy": "private",
20225
- "parameters": [
20226
- {
20227
- "name": "event",
20228
- "type": {
20229
- "text": "KeyboardEvent"
20230
- },
20231
- "description": "The keyboard event."
20232
- }
20233
- ],
20234
- "description": "Handles the keydown event on the button.\nIf the key is 'Enter' or 'Space', the button is pressed.\nIf the key is 'Enter', the button is pressed. The native HTML button works in the same way.\nIf the key is 'Space', the button's default is prevent to avoid scrolling etc in the host application.",
20235
- "inheritedFrom": {
20236
- "name": "Buttonsimple",
20237
- "module": "components/buttonsimple/buttonsimple.component.js"
20238
- }
20239
- },
20240
- {
20241
- "kind": "method",
20242
- "name": "handleKeyUp",
20243
- "privacy": "private",
20244
- "parameters": [
20245
- {
20246
- "name": "event",
20247
- "type": {
20248
- "text": "KeyboardEvent"
20249
- },
20250
- "description": "The keyboard event."
20251
- }
20252
- ],
20253
- "description": "Handles the keyup event on the button.\nIf the key is 'Enter' or 'Space', the button is clicked.\nIf the key is 'Space', the button is pressed. The native HTML button works in the same way.",
20254
- "inheritedFrom": {
20255
- "name": "Buttonsimple",
20256
- "module": "components/buttonsimple/buttonsimple.component.js"
20257
- }
20258
- }
20259
- ],
20260
- "events": [
20261
- {
20262
- "description": "(React: onClick) This event is dispatched when the linkbutton is clicked.",
20263
- "name": "click",
20264
- "reactName": "onClick",
20265
- "inheritedFrom": {
20266
- "name": "Buttonsimple",
20267
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
20268
- }
20269
- },
20270
- {
20271
- "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the linkbutton.",
20074
+ "description": "(React: onKeyDown) Fired when the user presses a key while the buttonLink has focus.",
20272
20075
  "name": "keydown",
20273
- "reactName": "onKeyDown",
20274
- "inheritedFrom": {
20275
- "name": "Buttonsimple",
20276
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
20277
- }
20076
+ "reactName": "onKeyDown"
20278
20077
  },
20279
20078
  {
20280
- "description": "(React: onKeyUp) This event is dispatched when a key is released on the linkbutton.",
20281
- "name": "keyup",
20282
- "reactName": "onKeyUp",
20283
- "inheritedFrom": {
20284
- "name": "Buttonsimple",
20285
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
20286
- }
20079
+ "description": "(React: onFocus) Fired when the buttonLink receives keyboard or mouse focus.",
20080
+ "name": "focus",
20081
+ "reactName": "onFocus"
20287
20082
  },
20288
20083
  {
20289
- "description": "(React: onFocus) This event is dispatched when the linkbutton receives focus.",
20290
- "name": "focus",
20291
- "reactName": "onFocus",
20292
- "inheritedFrom": {
20293
- "name": "Buttonsimple",
20294
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
20295
- }
20084
+ "description": "(React: onBlur) Fired when the buttonLink loses keyboard or mouse focus.",
20085
+ "name": "blur",
20086
+ "reactName": "onBlur"
20296
20087
  }
20297
20088
  ],
20298
20089
  "attributes": [
20299
- {
20300
- "name": "size",
20301
- "type": {
20302
- "text": "ButtonSize"
20303
- },
20304
- "description": "Sets the size of the linkbutton.\nAcceptable values: \n- 12\n- 14\n- 16",
20305
- "default": "16",
20306
- "fieldName": "size",
20307
- "inheritedFrom": {
20308
- "name": "Buttonsimple",
20309
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
20310
- }
20311
- },
20312
20090
  {
20313
20091
  "name": "inline",
20314
20092
  "type": {
20315
20093
  "text": "boolean"
20316
20094
  },
20317
- "description": "The linkbutton can be inline or standalone.",
20095
+ "description": "The link can be inline or standalone.",
20318
20096
  "default": "false",
20319
20097
  "fieldName": "inline"
20320
20098
  },
@@ -20323,163 +20101,118 @@
20323
20101
  "type": {
20324
20102
  "text": "boolean"
20325
20103
  },
20326
- "description": "The linkbutton color can be inverted by setting the inverted attribute to true.",
20104
+ "description": "The link color can be inverted by setting the inverted attribute to true.",
20327
20105
  "default": "false",
20328
20106
  "fieldName": "inverted"
20329
20107
  },
20330
20108
  {
20331
- "name": "icon-name",
20332
- "type": {
20333
- "text": "IconNames | undefined"
20334
- },
20335
- "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
20336
- "fieldName": "iconName",
20337
- "inheritedFrom": {
20338
- "name": "IconNameMixin",
20339
- "module": "src/utils/mixins/IconNameMixin.ts"
20340
- }
20341
- },
20342
- {
20343
- "name": "auto-focus-on-mount",
20109
+ "name": "href",
20344
20110
  "type": {
20345
- "text": "boolean"
20111
+ "text": "string | undefined"
20346
20112
  },
20347
- "default": "false",
20348
- "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
20349
- "fieldName": "autoFocusOnMount",
20350
- "inheritedFrom": {
20351
- "name": "Buttonsimple",
20352
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
20353
- }
20113
+ "description": "Href for navigation. The URL that the hyperlink points to",
20114
+ "fieldName": "href"
20354
20115
  },
20355
20116
  {
20356
- "name": "tabIndex",
20117
+ "name": "target",
20357
20118
  "type": {
20358
- "text": "number"
20119
+ "text": "string"
20359
20120
  },
20360
- "default": "0",
20361
- "description": "This property specifies the tab order of the element.",
20362
- "fieldName": "tabIndex",
20363
- "inheritedFrom": {
20364
- "name": "Buttonsimple",
20365
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
20366
- }
20121
+ "default": "'_self'",
20122
+ "description": "Optional target: _blank, _self, _parent, _top and _unfencedTop",
20123
+ "fieldName": "target"
20367
20124
  },
20368
20125
  {
20369
- "name": "disabled",
20126
+ "name": "rel",
20370
20127
  "type": {
20371
- "text": "boolean | undefined"
20128
+ "text": "string | undefined"
20372
20129
  },
20373
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
20374
- "default": "undefined",
20375
- "fieldName": "disabled",
20376
- "inheritedFrom": {
20377
- "name": "Buttonsimple",
20378
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
20379
- }
20130
+ "description": "Optional rel attribute that defines the relationship of the linked URL as space-separated link types.",
20131
+ "fieldName": "rel"
20380
20132
  },
20381
20133
  {
20382
- "name": "active",
20134
+ "name": "download",
20383
20135
  "type": {
20384
- "text": "boolean | undefined"
20136
+ "text": "string | undefined"
20385
20137
  },
20386
- "description": "The button's active state indicates whether it is currently toggled on (active) or off (inactive).\nWhen the active state is true, the button is considered to be in an active state, meaning it is toggled on.\nConversely, when the active state is false, the button is in an inactive state, indicating it is toggled off.\n\nThis attribute is used to set the provided `ariaStateKey` to true or false.",
20387
- "default": "undefined",
20388
- "fieldName": "active",
20389
- "inheritedFrom": {
20390
- "name": "Buttonsimple",
20391
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
20392
- }
20138
+ "description": "Optional download attribute to instruct browsers to download the linked resource.",
20139
+ "fieldName": "download"
20393
20140
  },
20394
20141
  {
20395
- "name": "soft-disabled",
20142
+ "name": "ping",
20396
20143
  "type": {
20397
- "text": "boolean | undefined"
20144
+ "text": "string | undefined"
20398
20145
  },
20399
- "description": "Indicates whether the button is soft disabled.\nWhen set to `true`, the button appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe button behaves like a disabled button, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
20400
- "default": "undefined",
20401
- "fieldName": "softDisabled",
20402
- "inheritedFrom": {
20403
- "name": "Buttonsimple",
20404
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
20405
- }
20146
+ "description": "Optional ping attribute that defines a space-separated list of URLs to be notified if the link is followed.",
20147
+ "fieldName": "ping"
20406
20148
  },
20407
20149
  {
20408
- "name": "role",
20150
+ "name": "hreflang",
20409
20151
  "type": {
20410
- "text": "RoleType"
20152
+ "text": "string | undefined"
20411
20153
  },
20412
- "description": "This property defines the ARIA role for the element. By default, it is set to 'button'.\nConsumers should override this role when:\n- The element is being used in a context where a different role is more appropriate.\n- Custom behaviors are implemented that require a specific ARIA role for accessibility purposes.",
20413
- "default": "button",
20414
- "fieldName": "role",
20415
- "inheritedFrom": {
20416
- "name": "Buttonsimple",
20417
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
20418
- }
20154
+ "description": "Optional hreflang attribute specifying the language of the linked resource.",
20155
+ "fieldName": "hreflang"
20419
20156
  },
20420
20157
  {
20421
- "name": "ariaStateKey",
20158
+ "name": "type",
20422
20159
  "type": {
20423
20160
  "text": "string | undefined"
20424
20161
  },
20425
- "description": "This property defines the ARIA state key, which will be toggled when the\nButton is set to `active`.\nThe default value is 'aria-pressed', which is commonly used for toggle buttons.\n\nConsumers can override this property to use a different ARIA state key if needed.\nIn case multiple aria attributes should be toggled, they can be passed in as\na comma separated string.\nFor example: `aria-pressed,aria-expanded`",
20426
- "default": "'aria-pressed' (when)",
20427
- "fieldName": "ariaStateKey",
20428
- "inheritedFrom": {
20429
- "name": "Buttonsimple",
20430
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
20431
- }
20162
+ "description": "Optional type attribute indicating the MIME type of the linked resource.",
20163
+ "fieldName": "type"
20432
20164
  },
20433
20165
  {
20434
- "name": "type",
20166
+ "name": "referrerpolicy",
20435
20167
  "type": {
20436
- "text": "ButtonType"
20168
+ "text": "string | undefined"
20437
20169
  },
20438
- "description": "This property defines the type attribute for the button element.\nThe type attribute specifies the behavior of the button when it is clicked.\n- **submit**: The button submits the form data to the server.\n- **reset**: The button resets the form data to its initial state.\n- **button**: The button does nothing when clicked.",
20439
- "default": "button",
20440
- "fieldName": "type",
20441
- "inheritedFrom": {
20442
- "name": "Buttonsimple",
20443
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
20444
- }
20170
+ "description": "Optional referrerpolicy attribute specifying how much referrer information to send.",
20171
+ "fieldName": "referrerpolicy"
20445
20172
  },
20446
20173
  {
20447
- "name": "name",
20174
+ "name": "data-aria-label",
20448
20175
  "type": {
20449
- "text": "string | undefined"
20176
+ "text": "string | null"
20450
20177
  },
20451
- "description": "The name of the button, submitted as a pair with the button's value as part of the form data,\nwhen that button is used to submit the form.",
20452
- "fieldName": "name",
20178
+ "default": "null",
20179
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
20180
+ "fieldName": "dataAriaLabel",
20453
20181
  "inheritedFrom": {
20454
- "name": "Buttonsimple",
20455
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
20182
+ "name": "DataAriaLabelMixin",
20183
+ "module": "src/utils/mixins/DataAriaLabelMixin.ts"
20456
20184
  }
20457
20185
  },
20458
20186
  {
20459
- "name": "value",
20187
+ "name": "disabled",
20460
20188
  "type": {
20461
- "text": "string | undefined"
20189
+ "text": "boolean | undefined"
20462
20190
  },
20463
- "description": "Defines the value associated with the button's name when it's submitted with the form data.\nThis value is passed to the server in params when the form is submitted using this button.",
20464
- "fieldName": "value",
20191
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
20192
+ "default": "undefined",
20193
+ "fieldName": "disabled",
20465
20194
  "inheritedFrom": {
20466
- "name": "Buttonsimple",
20467
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
20195
+ "name": "DisabledMixin",
20196
+ "module": "src/utils/mixins/DisabledMixin.ts"
20468
20197
  }
20469
20198
  }
20470
20199
  ],
20471
20200
  "mixins": [
20472
20201
  {
20473
- "name": "IconNameMixin",
20474
- "module": "/src/utils/mixins/IconNameMixin"
20202
+ "name": "DataAriaLabelMixin",
20203
+ "module": "/src/utils/mixins/DataAriaLabelMixin"
20204
+ },
20205
+ {
20206
+ "name": "DisabledMixin",
20207
+ "module": "/src/utils/mixins/DisabledMixin"
20475
20208
  }
20476
20209
  ],
20477
20210
  "superclass": {
20478
- "name": "Buttonsimple",
20479
- "module": "/src/components/buttonsimple/buttonsimple.component"
20211
+ "name": "Component",
20212
+ "module": "/src/models"
20480
20213
  },
20481
- "tagName": "mdc-linkbutton",
20482
- "jsDoc": "/**\n * `mdc-linkbutton` visually mimics a hyperlink while functioning as a button. It blends the appearance of `mdc-link` with the accessibility and interaction capabilities of `mdc-button`.\n *\n * ### Features:\n * - Looks like a link, behaves like a button.\n * - Supports slots for a text label and an optional trailing icon.\n * - Inherits accessibility and keyboard interaction behavior from `mdc-buttonsimple`.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-linkbutton\n *\n * @slot - Text label of the linkbutton.\n *\n * @event click - (React: onClick) This event is dispatched when the linkbutton is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the linkbutton.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the linkbutton.\n * @event focus - (React: onFocus) This event is dispatched when the linkbutton receives focus.\n *\n * @cssproperty --mdc-link-border-radius - Border radius of the linkbutton.\n * @cssproperty --mdc-link-color-active - Color of the linkbutton’s child content in the active state.\n * @cssproperty --mdc-link-color-disabled - Color of the linkbutton’s child content in the disabled state.\n * @cssproperty --mdc-link-color-hover - Color of the linkbutton’s child content in the hover state.\n * @cssproperty --mdc-link-color-normal - Color of the linkbutton’s child content in the normal state.\n * @cssproperty --mdc-link-inverted-color-active - Color of the inverted linkbutton’s child content in the active state.\n * @cssproperty --mdc-link-inverted-color-disabled - Color of the inverted linkbutton’s child content in the disabled state.\n * @cssproperty --mdc-link-inverted-color-hover - Color of the inverted linkbutton’s child content in the hover state.\n * @cssproperty --mdc-link-inverted-color-normal - Color of the inverted linkbutton’s child content in the normal state.\n */",
20214
+ "tagName": "mdc-linksimple",
20215
+ "jsDoc": "/**\n * `mdc-linksimple` is a lightweight link component that can be used to navigate\n * within the application or to an external URL. It does not have any predefined default size.\n *\n * The `children` of the `mdc-linksimple` component can be customized to suit\n * different use cases, including text, icons, or other inline content. For the child to be an icon,\n * the `mdc-icon` component should be used to render.\n *\n * @tagname mdc-linksimple\n *\n * @event click - (React: onClick) Fired when the user activates the buttonLink using a mouse or assistive technology.\n * @event keydown - (React: onKeyDown) Fired when the user presses a key while the buttonLink has focus.\n * @event focus - (React: onFocus) Fired when the buttonLink receives keyboard or mouse focus.\n * @event blur - (React: onBlur) Fired when the buttonLink loses keyboard or mouse focus.\n *\n * @cssproperty --mdc-link-border-radius - Border radius of the link.\n * @cssproperty --mdc-link-color-active - Color of the link’s child content in the active state.\n * @cssproperty --mdc-link-color-disabled - Color of the link’s child content in the disabled state.\n * @cssproperty --mdc-link-color-hover - Color of the link’s child content in the hover state.\n * @cssproperty --mdc-link-color-normal - Color of the link’s child content in the normal state.\n * @cssproperty --mdc-link-inverted-color-active - Color of the inverted link’s child content in the active state.\n * @cssproperty --mdc-link-inverted-color-disabled - Color of the inverted link’s child content in the disabled state.\n * @cssproperty --mdc-link-inverted-color-hover - Color of the inverted link’s child content in the hover state.\n * @cssproperty --mdc-link-inverted-color-normal - Color of the inverted link’s child content in the normal state.\n *\n * @csspart anchor - The anchor element that wraps the linksimple content.\n */",
20483
20216
  "customElement": true
20484
20217
  }
20485
20218
  ],
@@ -20488,606 +20221,873 @@
20488
20221
  "kind": "js",
20489
20222
  "name": "default",
20490
20223
  "declaration": {
20491
- "name": "LinkButton",
20492
- "module": "components/linkbutton/linkbutton.component.js"
20224
+ "name": "Linksimple",
20225
+ "module": "components/linksimple/linksimple.component.js"
20493
20226
  }
20494
20227
  }
20495
20228
  ]
20496
20229
  },
20497
20230
  {
20498
20231
  "kind": "javascript-module",
20499
- "path": "components/linksimple/linksimple.component.js",
20232
+ "path": "components/list/list.component.js",
20500
20233
  "declarations": [
20501
20234
  {
20502
20235
  "kind": "class",
20503
- "description": "`mdc-linksimple` is a lightweight link component that can be used to navigate\nwithin the application or to an external URL. It does not have any predefined default size.\n\nThe `children` of the `mdc-linksimple` component can be customized to suit\ndifferent use cases, including text, icons, or other inline content. For the child to be an icon,\nthe `mdc-icon` component should be used to render.",
20504
- "name": "Linksimple",
20505
- "cssProperties": [
20506
- {
20507
- "description": "Border radius of the link.",
20508
- "name": "--mdc-link-border-radius"
20509
- },
20510
- {
20511
- "description": "Color of the link’s child content in the active state.",
20512
- "name": "--mdc-link-color-active"
20513
- },
20514
- {
20515
- "description": "Color of the link’s child content in the disabled state.",
20516
- "name": "--mdc-link-color-disabled"
20517
- },
20518
- {
20519
- "description": "Color of the link’s child content in the hover state.",
20520
- "name": "--mdc-link-color-hover"
20521
- },
20522
- {
20523
- "description": "Color of the link’s child content in the normal state.",
20524
- "name": "--mdc-link-color-normal"
20525
- },
20526
- {
20527
- "description": "Color of the inverted link’s child content in the active state.",
20528
- "name": "--mdc-link-inverted-color-active"
20529
- },
20530
- {
20531
- "description": "Color of the inverted link’s child content in the disabled state.",
20532
- "name": "--mdc-link-inverted-color-disabled"
20533
- },
20534
- {
20535
- "description": "Color of the inverted link’s child content in the hover state.",
20536
- "name": "--mdc-link-inverted-color-hover"
20537
- },
20538
- {
20539
- "description": "Color of the inverted link’s child content in the normal state.",
20540
- "name": "--mdc-link-inverted-color-normal"
20541
- }
20542
- ],
20236
+ "description": "mdc-list component is used to display a group of list items. It is used as a container to wrap other list items.\n\nTo add a header to the list, use the `mdc-listheader` component and place it in the `list-header` slot.\n`mdc-listitem` components can be placed in the default slot.",
20237
+ "name": "List",
20543
20238
  "cssParts": [
20544
20239
  {
20545
- "description": "The anchor element that wraps the linksimple content.",
20546
- "name": "anchor"
20240
+ "description": "The container slot around the list items",
20241
+ "name": "container"
20547
20242
  }
20548
20243
  ],
20549
- "members": [
20550
- {
20551
- "kind": "field",
20552
- "name": "inline",
20553
- "type": {
20554
- "text": "boolean"
20555
- },
20556
- "description": "The link can be inline or standalone.",
20557
- "default": "false",
20558
- "attribute": "inline",
20559
- "reflects": true
20560
- },
20561
- {
20562
- "kind": "field",
20563
- "name": "inverted",
20564
- "type": {
20565
- "text": "boolean"
20566
- },
20567
- "description": "The link color can be inverted by setting the inverted attribute to true.",
20568
- "default": "false",
20569
- "attribute": "inverted",
20570
- "reflects": true
20571
- },
20572
- {
20573
- "kind": "field",
20574
- "name": "href",
20575
- "type": {
20576
- "text": "string | undefined"
20577
- },
20578
- "description": "Href for navigation. The URL that the hyperlink points to",
20579
- "attribute": "href",
20580
- "reflects": true
20581
- },
20582
- {
20583
- "kind": "field",
20584
- "name": "target",
20585
- "type": {
20586
- "text": "string"
20587
- },
20588
- "default": "'_self'",
20589
- "description": "Optional target: _blank, _self, _parent, _top and _unfencedTop",
20590
- "attribute": "target",
20591
- "reflects": true
20592
- },
20593
- {
20594
- "kind": "field",
20595
- "name": "rel",
20596
- "type": {
20597
- "text": "string | undefined"
20598
- },
20599
- "description": "Optional rel attribute that defines the relationship of the linked URL as space-separated link types.",
20600
- "attribute": "rel",
20601
- "reflects": true
20602
- },
20244
+ "slots": [
20603
20245
  {
20604
- "kind": "field",
20605
- "name": "download",
20606
- "type": {
20607
- "text": "string | undefined"
20608
- },
20609
- "description": "Optional download attribute to instruct browsers to download the linked resource.",
20610
- "attribute": "download",
20611
- "reflects": true
20246
+ "description": "This is a default/unnamed slot, where listitems can be placed.",
20247
+ "name": "default"
20612
20248
  },
20613
20249
  {
20614
- "kind": "field",
20615
- "name": "ping",
20616
- "type": {
20617
- "text": "string | undefined"
20618
- },
20619
- "description": "Optional ping attribute that defines a space-separated list of URLs to be notified if the link is followed.",
20620
- "attribute": "ping",
20621
- "reflects": true
20622
- },
20250
+ "description": "This slot is used to pass a header for the list, which can be a `mdc-listheader` component.",
20251
+ "name": "list-header"
20252
+ }
20253
+ ],
20254
+ "members": [
20623
20255
  {
20624
20256
  "kind": "field",
20625
- "name": "hreflang",
20257
+ "name": "loop",
20626
20258
  "type": {
20627
- "text": "string | undefined"
20259
+ "text": "'true' | 'false'"
20628
20260
  },
20629
- "description": "Optional hreflang attribute specifying the language of the linked resource.",
20630
- "attribute": "hreflang",
20261
+ "privacy": "public",
20262
+ "description": "Whether to loop navigation when reaching the end of the list.\nIf 'true', pressing the down arrow on the last item will focus the first item,\nand pressing the up arrow on the first item will focus the last item.\nIf 'false', navigation will stop at the first or last item.",
20263
+ "default": "''",
20264
+ "attribute": "loop",
20631
20265
  "reflects": true
20632
20266
  },
20633
20267
  {
20634
20268
  "kind": "field",
20635
- "name": "type",
20269
+ "name": "initialFocus",
20636
20270
  "type": {
20637
- "text": "string | undefined"
20271
+ "text": "number"
20638
20272
  },
20639
- "description": "Optional type attribute indicating the MIME type of the linked resource.",
20640
- "attribute": "type",
20273
+ "privacy": "public",
20274
+ "description": "The index of the item that should receive focus when the list is first rendered.\nIf the index is out of bounds, the first item (index 0) will receive focus.",
20275
+ "default": "0",
20276
+ "attribute": "initial-focus",
20641
20277
  "reflects": true
20642
20278
  },
20643
20279
  {
20644
20280
  "kind": "field",
20645
- "name": "referrerpolicy",
20646
- "type": {
20647
- "text": "string | undefined"
20648
- },
20649
- "description": "Optional referrerpolicy attribute specifying how much referrer information to send.",
20650
- "attribute": "referrerpolicy",
20651
- "reflects": true
20281
+ "name": "itemsStore",
20282
+ "default": "new ElementStore<ListItem>(this, { isValidItem: this.isValidItem, })"
20652
20283
  },
20653
20284
  {
20654
20285
  "kind": "method",
20655
- "name": "handleNavigation",
20656
- "privacy": "protected",
20286
+ "name": "getCurrentIndex",
20287
+ "privacy": "private",
20657
20288
  "return": {
20658
20289
  "type": {
20659
- "text": "void"
20290
+ "text": ""
20660
20291
  }
20661
20292
  },
20662
20293
  "parameters": [
20663
20294
  {
20664
- "name": "e",
20295
+ "name": "target",
20665
20296
  "type": {
20666
- "text": "MouseEvent | KeyboardEvent"
20667
- }
20297
+ "text": "EventTarget | null"
20298
+ },
20299
+ "description": "The target element that triggered the event."
20668
20300
  }
20669
- ]
20301
+ ],
20302
+ "description": "Retrieves the current index of the item that triggered the event.",
20303
+ "inheritedFrom": {
20304
+ "name": "ListNavigationMixin",
20305
+ "module": "utils/mixins/ListNavigationMixin.js"
20306
+ }
20670
20307
  },
20671
20308
  {
20672
20309
  "kind": "method",
20673
- "name": "setDisabled",
20674
- "privacy": "private",
20310
+ "name": "resetTabIndexes",
20311
+ "privacy": "protected",
20675
20312
  "parameters": [
20676
20313
  {
20677
- "name": "disabled",
20314
+ "name": "index",
20678
20315
  "type": {
20679
- "text": "boolean"
20316
+ "text": "number"
20680
20317
  },
20681
- "description": "Whether the element should be disabled"
20318
+ "description": "The index of the currently focused item."
20682
20319
  }
20683
20320
  ],
20684
- "description": "Sets or removes `aria-disabled` and updates `tabIndex` to reflect\nthe disabled state. When disabled, the element becomes unfocusable;\nwhen enabled, the previous `tabIndex` is restored."
20685
- },
20686
- {
20687
- "kind": "field",
20688
- "name": "dataAriaLabel",
20689
- "type": {
20690
- "text": "string | null"
20691
- },
20692
- "default": "null",
20693
- "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
20694
- "attribute": "data-aria-label",
20695
- "reflects": true,
20321
+ "description": "Reset all tabindex to -1 and set the tabindex of the current item to 0",
20696
20322
  "inheritedFrom": {
20697
- "name": "DataAriaLabelMixin",
20698
- "module": "utils/mixins/DataAriaLabelMixin.js"
20323
+ "name": "ListNavigationMixin",
20324
+ "module": "utils/mixins/ListNavigationMixin.js"
20699
20325
  }
20700
20326
  },
20701
20327
  {
20702
- "kind": "field",
20703
- "name": "disabled",
20704
- "type": {
20705
- "text": "boolean | undefined"
20328
+ "kind": "method",
20329
+ "name": "resetTabIndexAndSetFocus",
20330
+ "privacy": "protected",
20331
+ "parameters": [
20332
+ {
20333
+ "name": "newIndex",
20334
+ "type": {
20335
+ "text": "number"
20336
+ },
20337
+ "description": "The index of the new item to focus."
20338
+ },
20339
+ {
20340
+ "name": "oldIndex",
20341
+ "optional": true,
20342
+ "type": {
20343
+ "text": "number"
20344
+ },
20345
+ "description": "The index of the currently focused item."
20346
+ },
20347
+ {
20348
+ "name": "focusNewItem",
20349
+ "default": "true",
20350
+ "description": "Call focus() on the new item or not. It should be false during firstUpdate"
20351
+ }
20352
+ ],
20353
+ "description": "Resets the tabindex of the currently focused item and sets focus to a new item.",
20354
+ "return": {
20355
+ "type": {
20356
+ "text": ""
20357
+ }
20706
20358
  },
20707
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
20708
- "default": "undefined",
20709
- "attribute": "disabled",
20710
- "reflects": true,
20711
20359
  "inheritedFrom": {
20712
- "name": "DisabledMixin",
20713
- "module": "utils/mixins/DisabledMixin.js"
20360
+ "name": "ListNavigationMixin",
20361
+ "module": "utils/mixins/ListNavigationMixin.js"
20714
20362
  }
20715
- }
20716
- ],
20717
- "events": [
20718
- {
20719
- "description": "(React: onClick) Fired when the user activates the buttonLink using a mouse or assistive technology.",
20720
- "name": "click",
20721
- "reactName": "onClick"
20722
- },
20723
- {
20724
- "description": "(React: onKeyDown) Fired when the user presses a key while the buttonLink has focus.",
20725
- "name": "keydown",
20726
- "reactName": "onKeyDown"
20727
20363
  },
20728
20364
  {
20729
- "description": "(React: onFocus) Fired when the buttonLink receives keyboard or mouse focus.",
20730
- "name": "focus",
20731
- "reactName": "onFocus"
20365
+ "kind": "method",
20366
+ "name": "resolveDirectionKey",
20367
+ "privacy": "private",
20368
+ "parameters": [
20369
+ {
20370
+ "name": "key",
20371
+ "type": {
20372
+ "text": "string"
20373
+ },
20374
+ "description": "The key pressed by the user."
20375
+ },
20376
+ {
20377
+ "name": "isRtl",
20378
+ "type": {
20379
+ "text": "boolean"
20380
+ },
20381
+ "description": "A boolean indicating if the layout is right-to-left (RTL)."
20382
+ }
20383
+ ],
20384
+ "description": "Resolves the key pressed by the user based on the direction of the layout.\nThis method is used to handle keyboard navigation in a right-to-left (RTL) layout.\nIt checks if the layout is RTL and adjusts the arrow keys accordingly.\nFor example, in RTL, the left arrow key behaves like the right arrow key and vice versa.",
20385
+ "return": {
20386
+ "type": {
20387
+ "text": ""
20388
+ }
20389
+ },
20390
+ "inheritedFrom": {
20391
+ "name": "ListNavigationMixin",
20392
+ "module": "utils/mixins/ListNavigationMixin.js"
20393
+ }
20732
20394
  },
20733
20395
  {
20734
- "description": "(React: onBlur) Fired when the buttonLink loses keyboard or mouse focus.",
20735
- "name": "blur",
20736
- "reactName": "onBlur"
20396
+ "kind": "method",
20397
+ "name": "shouldLoop",
20398
+ "privacy": "private",
20399
+ "inheritedFrom": {
20400
+ "name": "ListNavigationMixin",
20401
+ "module": "utils/mixins/ListNavigationMixin.js"
20402
+ }
20737
20403
  }
20738
20404
  ],
20739
20405
  "attributes": [
20740
20406
  {
20741
- "name": "inline",
20407
+ "name": "loop",
20742
20408
  "type": {
20743
- "text": "boolean"
20409
+ "text": "'true' | 'false'"
20744
20410
  },
20745
- "description": "The link can be inline or standalone.",
20746
- "default": "false",
20747
- "fieldName": "inline"
20411
+ "description": "Whether to loop navigation when reaching the end of the list.\nIf 'true', pressing the down arrow on the last item will focus the first item,\nand pressing the up arrow on the first item will focus the last item.\nIf 'false', navigation will stop at the first or last item.",
20412
+ "default": "''",
20413
+ "fieldName": "loop"
20748
20414
  },
20749
20415
  {
20750
- "name": "inverted",
20416
+ "name": "initial-focus",
20751
20417
  "type": {
20752
- "text": "boolean"
20418
+ "text": "number"
20753
20419
  },
20754
- "description": "The link color can be inverted by setting the inverted attribute to true.",
20755
- "default": "false",
20756
- "fieldName": "inverted"
20420
+ "description": "The index of the item that should receive focus when the list is first rendered.\nIf the index is out of bounds, the first item (index 0) will receive focus.",
20421
+ "default": "0",
20422
+ "fieldName": "initialFocus"
20423
+ }
20424
+ ],
20425
+ "mixins": [
20426
+ {
20427
+ "name": "ListNavigationMixin",
20428
+ "module": "/src/utils/mixins/ListNavigationMixin"
20757
20429
  },
20758
20430
  {
20759
- "name": "href",
20760
- "type": {
20761
- "text": "string | undefined"
20762
- },
20763
- "description": "Href for navigation. The URL that the hyperlink points to",
20764
- "fieldName": "href"
20431
+ "name": "CaptureDestroyEventForChildElement",
20432
+ "module": "/src/utils/mixins/lifecycle/CaptureDestroyEventForChildElement"
20433
+ }
20434
+ ],
20435
+ "superclass": {
20436
+ "name": "Component",
20437
+ "module": "/src/models"
20438
+ },
20439
+ "tagName": "mdc-list",
20440
+ "jsDoc": "/**\n * mdc-list component is used to display a group of list items. It is used as a container to wrap other list items.\n *\n * To add a header to the list, use the `mdc-listheader` component and place it in the `list-header` slot.\n * `mdc-listitem` components can be placed in the default slot.\n *\n * @tagname mdc-list\n *\n * @slot default - This is a default/unnamed slot, where listitems can be placed.\n * @slot list-header - This slot is used to pass a header for the list, which can be a `mdc-listheader` component.\n *\n * @csspart container - The container slot around the list items\n */",
20441
+ "customElement": true
20442
+ }
20443
+ ],
20444
+ "exports": [
20445
+ {
20446
+ "kind": "js",
20447
+ "name": "default",
20448
+ "declaration": {
20449
+ "name": "List",
20450
+ "module": "components/list/list.component.js"
20451
+ }
20452
+ }
20453
+ ]
20454
+ },
20455
+ {
20456
+ "kind": "javascript-module",
20457
+ "path": "components/linkbutton/linkbutton.component.js",
20458
+ "declarations": [
20459
+ {
20460
+ "kind": "class",
20461
+ "description": "`mdc-linkbutton` visually mimics a hyperlink while functioning as a button. It blends the appearance of `mdc-link` with the accessibility and interaction capabilities of `mdc-button`.\n\n### Features:\n- Looks like a link, behaves like a button.\n- Supports slots for a text label and an optional trailing icon.\n- Inherits accessibility and keyboard interaction behavior from `mdc-buttonsimple`.",
20462
+ "name": "LinkButton",
20463
+ "cssProperties": [
20464
+ {
20465
+ "description": "Border radius of the linkbutton.",
20466
+ "name": "--mdc-link-border-radius"
20765
20467
  },
20766
20468
  {
20767
- "name": "target",
20768
- "type": {
20769
- "text": "string"
20770
- },
20771
- "default": "'_self'",
20772
- "description": "Optional target: _blank, _self, _parent, _top and _unfencedTop",
20773
- "fieldName": "target"
20469
+ "description": "Color of the linkbutton’s child content in the active state.",
20470
+ "name": "--mdc-link-color-active"
20774
20471
  },
20775
20472
  {
20776
- "name": "rel",
20777
- "type": {
20778
- "text": "string | undefined"
20779
- },
20780
- "description": "Optional rel attribute that defines the relationship of the linked URL as space-separated link types.",
20781
- "fieldName": "rel"
20473
+ "description": "Color of the linkbutton’s child content in the disabled state.",
20474
+ "name": "--mdc-link-color-disabled"
20782
20475
  },
20783
20476
  {
20784
- "name": "download",
20477
+ "description": "Color of the linkbutton’s child content in the hover state.",
20478
+ "name": "--mdc-link-color-hover"
20479
+ },
20480
+ {
20481
+ "description": "Color of the linkbutton’s child content in the normal state.",
20482
+ "name": "--mdc-link-color-normal"
20483
+ },
20484
+ {
20485
+ "description": "Color of the inverted linkbutton’s child content in the active state.",
20486
+ "name": "--mdc-link-inverted-color-active"
20487
+ },
20488
+ {
20489
+ "description": "Color of the inverted linkbutton’s child content in the disabled state.",
20490
+ "name": "--mdc-link-inverted-color-disabled"
20491
+ },
20492
+ {
20493
+ "description": "Color of the inverted linkbutton’s child content in the hover state.",
20494
+ "name": "--mdc-link-inverted-color-hover"
20495
+ },
20496
+ {
20497
+ "description": "Color of the inverted linkbutton’s child content in the normal state.",
20498
+ "name": "--mdc-link-inverted-color-normal"
20499
+ }
20500
+ ],
20501
+ "slots": [
20502
+ {
20503
+ "description": "Text label of the linkbutton.",
20504
+ "name": ""
20505
+ }
20506
+ ],
20507
+ "members": [
20508
+ {
20509
+ "kind": "field",
20510
+ "name": "size",
20785
20511
  "type": {
20786
- "text": "string | undefined"
20512
+ "text": "ButtonSize"
20787
20513
  },
20788
- "description": "Optional download attribute to instruct browsers to download the linked resource.",
20789
- "fieldName": "download"
20514
+ "description": "Sets the size of the linkbutton.\nAcceptable values: \n- 12\n- 14\n- 16",
20515
+ "default": "16",
20516
+ "attribute": "size",
20517
+ "reflects": true,
20518
+ "inheritedFrom": {
20519
+ "name": "Buttonsimple",
20520
+ "module": "components/buttonsimple/buttonsimple.component.js"
20521
+ }
20790
20522
  },
20791
20523
  {
20792
- "name": "ping",
20524
+ "kind": "field",
20525
+ "name": "inline",
20793
20526
  "type": {
20794
- "text": "string | undefined"
20527
+ "text": "boolean"
20795
20528
  },
20796
- "description": "Optional ping attribute that defines a space-separated list of URLs to be notified if the link is followed.",
20797
- "fieldName": "ping"
20529
+ "description": "The linkbutton can be inline or standalone.",
20530
+ "default": "false",
20531
+ "attribute": "inline",
20532
+ "reflects": true
20798
20533
  },
20799
20534
  {
20800
- "name": "hreflang",
20535
+ "kind": "field",
20536
+ "name": "inverted",
20801
20537
  "type": {
20802
- "text": "string | undefined"
20538
+ "text": "boolean"
20803
20539
  },
20804
- "description": "Optional hreflang attribute specifying the language of the linked resource.",
20805
- "fieldName": "hreflang"
20540
+ "description": "The linkbutton color can be inverted by setting the inverted attribute to true.",
20541
+ "default": "false",
20542
+ "attribute": "inverted",
20543
+ "reflects": true
20806
20544
  },
20807
20545
  {
20808
- "name": "type",
20546
+ "kind": "method",
20547
+ "name": "setSize",
20548
+ "privacy": "private",
20549
+ "parameters": [
20550
+ {
20551
+ "name": "size",
20552
+ "type": {
20553
+ "text": "LinkButtonSize"
20554
+ },
20555
+ "description": "The desired link size."
20556
+ }
20557
+ ],
20558
+ "description": "Sets the `size` attribute for the linkbutton, falling back to the default if the value is invalid."
20559
+ },
20560
+ {
20561
+ "kind": "field",
20562
+ "name": "iconName",
20809
20563
  "type": {
20810
- "text": "string | undefined"
20564
+ "text": "IconNames | undefined"
20811
20565
  },
20812
- "description": "Optional type attribute indicating the MIME type of the linked resource.",
20813
- "fieldName": "type"
20566
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
20567
+ "attribute": "icon-name",
20568
+ "inheritedFrom": {
20569
+ "name": "IconNameMixin",
20570
+ "module": "utils/mixins/IconNameMixin.js"
20571
+ }
20814
20572
  },
20815
20573
  {
20816
- "name": "referrerpolicy",
20574
+ "kind": "field",
20575
+ "name": "autoFocusOnMount",
20817
20576
  "type": {
20818
- "text": "string | undefined"
20577
+ "text": "boolean"
20819
20578
  },
20820
- "description": "Optional referrerpolicy attribute specifying how much referrer information to send.",
20821
- "fieldName": "referrerpolicy"
20579
+ "default": "false",
20580
+ "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
20581
+ "attribute": "auto-focus-on-mount",
20582
+ "reflects": true,
20583
+ "inheritedFrom": {
20584
+ "name": "Buttonsimple",
20585
+ "module": "components/buttonsimple/buttonsimple.component.js"
20586
+ }
20822
20587
  },
20823
20588
  {
20824
- "name": "data-aria-label",
20589
+ "kind": "field",
20590
+ "name": "tabIndex",
20825
20591
  "type": {
20826
- "text": "string | null"
20592
+ "text": "number"
20827
20593
  },
20828
- "default": "null",
20829
- "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
20830
- "fieldName": "dataAriaLabel",
20594
+ "default": "0",
20595
+ "description": "This property specifies the tab order of the element.",
20596
+ "attribute": "tabIndex",
20597
+ "reflects": true,
20831
20598
  "inheritedFrom": {
20832
- "name": "DataAriaLabelMixin",
20833
- "module": "src/utils/mixins/DataAriaLabelMixin.ts"
20599
+ "name": "Buttonsimple",
20600
+ "module": "components/buttonsimple/buttonsimple.component.js"
20834
20601
  }
20835
20602
  },
20836
20603
  {
20604
+ "kind": "field",
20837
20605
  "name": "disabled",
20838
20606
  "type": {
20839
20607
  "text": "boolean | undefined"
20840
20608
  },
20841
20609
  "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
20842
20610
  "default": "undefined",
20843
- "fieldName": "disabled",
20844
- "inheritedFrom": {
20845
- "name": "DisabledMixin",
20846
- "module": "src/utils/mixins/DisabledMixin.ts"
20611
+ "attribute": "disabled",
20612
+ "reflects": true,
20613
+ "inheritedFrom": {
20614
+ "name": "Buttonsimple",
20615
+ "module": "components/buttonsimple/buttonsimple.component.js"
20847
20616
  }
20848
- }
20849
- ],
20850
- "mixins": [
20617
+ },
20851
20618
  {
20852
- "name": "DataAriaLabelMixin",
20853
- "module": "/src/utils/mixins/DataAriaLabelMixin"
20619
+ "kind": "field",
20620
+ "name": "active",
20621
+ "type": {
20622
+ "text": "boolean | undefined"
20623
+ },
20624
+ "description": "The button's active state indicates whether it is currently toggled on (active) or off (inactive).\nWhen the active state is true, the button is considered to be in an active state, meaning it is toggled on.\nConversely, when the active state is false, the button is in an inactive state, indicating it is toggled off.\n\nThis attribute is used to set the provided `ariaStateKey` to true or false.",
20625
+ "default": "undefined",
20626
+ "attribute": "active",
20627
+ "reflects": true,
20628
+ "inheritedFrom": {
20629
+ "name": "Buttonsimple",
20630
+ "module": "components/buttonsimple/buttonsimple.component.js"
20631
+ }
20854
20632
  },
20855
20633
  {
20856
- "name": "DisabledMixin",
20857
- "module": "/src/utils/mixins/DisabledMixin"
20634
+ "kind": "field",
20635
+ "name": "softDisabled",
20636
+ "type": {
20637
+ "text": "boolean | undefined"
20638
+ },
20639
+ "description": "Indicates whether the button is soft disabled.\nWhen set to `true`, the button appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe button behaves like a disabled button, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
20640
+ "default": "undefined",
20641
+ "attribute": "soft-disabled",
20642
+ "reflects": true,
20643
+ "inheritedFrom": {
20644
+ "name": "Buttonsimple",
20645
+ "module": "components/buttonsimple/buttonsimple.component.js"
20646
+ }
20647
+ },
20648
+ {
20649
+ "kind": "field",
20650
+ "name": "role",
20651
+ "type": {
20652
+ "text": "RoleType"
20653
+ },
20654
+ "description": "This property defines the ARIA role for the element. By default, it is set to 'button'.\nConsumers should override this role when:\n- The element is being used in a context where a different role is more appropriate.\n- Custom behaviors are implemented that require a specific ARIA role for accessibility purposes.",
20655
+ "default": "button",
20656
+ "attribute": "role",
20657
+ "reflects": true,
20658
+ "inheritedFrom": {
20659
+ "name": "Buttonsimple",
20660
+ "module": "components/buttonsimple/buttonsimple.component.js"
20661
+ }
20662
+ },
20663
+ {
20664
+ "kind": "field",
20665
+ "name": "ariaStateKey",
20666
+ "type": {
20667
+ "text": "string | undefined"
20668
+ },
20669
+ "description": "This property defines the ARIA state key, which will be toggled when the\nButton is set to `active`.\nThe default value is 'aria-pressed', which is commonly used for toggle buttons.\n\nConsumers can override this property to use a different ARIA state key if needed.\nIn case multiple aria attributes should be toggled, they can be passed in as\na comma separated string.\nFor example: `aria-pressed,aria-expanded`",
20670
+ "default": "'aria-pressed' (when)",
20671
+ "attribute": "ariaStateKey",
20672
+ "reflects": true,
20673
+ "inheritedFrom": {
20674
+ "name": "Buttonsimple",
20675
+ "module": "components/buttonsimple/buttonsimple.component.js"
20676
+ }
20677
+ },
20678
+ {
20679
+ "kind": "field",
20680
+ "name": "type",
20681
+ "type": {
20682
+ "text": "ButtonType"
20683
+ },
20684
+ "description": "This property defines the type attribute for the button element.\nThe type attribute specifies the behavior of the button when it is clicked.\n- **submit**: The button submits the form data to the server.\n- **reset**: The button resets the form data to its initial state.\n- **button**: The button does nothing when clicked.",
20685
+ "default": "button",
20686
+ "attribute": "type",
20687
+ "reflects": true,
20688
+ "inheritedFrom": {
20689
+ "name": "Buttonsimple",
20690
+ "module": "components/buttonsimple/buttonsimple.component.js"
20691
+ }
20692
+ },
20693
+ {
20694
+ "kind": "field",
20695
+ "name": "name",
20696
+ "type": {
20697
+ "text": "string | undefined"
20698
+ },
20699
+ "description": "The name of the button, submitted as a pair with the button's value as part of the form data,\nwhen that button is used to submit the form.",
20700
+ "attribute": "name",
20701
+ "reflects": true,
20702
+ "inheritedFrom": {
20703
+ "name": "Buttonsimple",
20704
+ "module": "components/buttonsimple/buttonsimple.component.js"
20705
+ }
20706
+ },
20707
+ {
20708
+ "kind": "field",
20709
+ "name": "value",
20710
+ "type": {
20711
+ "text": "string | undefined"
20712
+ },
20713
+ "description": "Defines the value associated with the button's name when it's submitted with the form data.\nThis value is passed to the server in params when the form is submitted using this button.",
20714
+ "attribute": "value",
20715
+ "reflects": true,
20716
+ "inheritedFrom": {
20717
+ "name": "Buttonsimple",
20718
+ "module": "components/buttonsimple/buttonsimple.component.js"
20719
+ }
20720
+ },
20721
+ {
20722
+ "kind": "method",
20723
+ "name": "executeAction",
20724
+ "privacy": "protected",
20725
+ "inheritedFrom": {
20726
+ "name": "Buttonsimple",
20727
+ "module": "components/buttonsimple/buttonsimple.component.js"
20728
+ }
20729
+ },
20730
+ {
20731
+ "kind": "method",
20732
+ "name": "setActive",
20733
+ "privacy": "protected",
20734
+ "parameters": [
20735
+ {
20736
+ "name": "element",
20737
+ "type": {
20738
+ "text": "HTMLElement"
20739
+ },
20740
+ "description": "The button element"
20741
+ },
20742
+ {
20743
+ "name": "active",
20744
+ "optional": true,
20745
+ "type": {
20746
+ "text": "boolean"
20747
+ },
20748
+ "description": "The active state of the element"
20749
+ }
20750
+ ],
20751
+ "description": "Sets the ariaStateKey attributes based on the active state of the button.",
20752
+ "inheritedFrom": {
20753
+ "name": "Buttonsimple",
20754
+ "module": "components/buttonsimple/buttonsimple.component.js"
20755
+ }
20756
+ },
20757
+ {
20758
+ "kind": "method",
20759
+ "name": "setSoftDisabled",
20760
+ "privacy": "private",
20761
+ "parameters": [
20762
+ {
20763
+ "name": "element",
20764
+ "type": {
20765
+ "text": "HTMLElement"
20766
+ },
20767
+ "description": "The button element."
20768
+ },
20769
+ {
20770
+ "name": "softDisabled",
20771
+ "optional": true,
20772
+ "type": {
20773
+ "text": "boolean"
20774
+ },
20775
+ "description": "The soft-disabled state."
20776
+ }
20777
+ ],
20778
+ "description": "Sets the soft-disabled attribute for the button.\nWhen soft-disabled, the button looks to be disabled but remains focusable and clickable.\nAlso sets/removes aria-disabled attribute.",
20779
+ "inheritedFrom": {
20780
+ "name": "Buttonsimple",
20781
+ "module": "components/buttonsimple/buttonsimple.component.js"
20782
+ }
20783
+ },
20784
+ {
20785
+ "kind": "method",
20786
+ "name": "setDisabled",
20787
+ "privacy": "private",
20788
+ "parameters": [
20789
+ {
20790
+ "name": "element",
20791
+ "type": {
20792
+ "text": "HTMLElement"
20793
+ },
20794
+ "description": "The button element."
20795
+ },
20796
+ {
20797
+ "name": "disabled",
20798
+ "type": {
20799
+ "text": "boolean"
20800
+ },
20801
+ "description": "The disabled state."
20802
+ }
20803
+ ],
20804
+ "description": "Sets the disabled attribute for the button.\nWhen disabled, the button is not focusable or clickable, and tabindex is set to -1.\nThe previous tabindex is stored and restored when enabled.\nAlso sets/removes aria-disabled attribute.",
20805
+ "inheritedFrom": {
20806
+ "name": "Buttonsimple",
20807
+ "module": "components/buttonsimple/buttonsimple.component.js"
20808
+ }
20809
+ },
20810
+ {
20811
+ "kind": "method",
20812
+ "name": "triggerClickEvent",
20813
+ "privacy": "private",
20814
+ "inheritedFrom": {
20815
+ "name": "Buttonsimple",
20816
+ "module": "components/buttonsimple/buttonsimple.component.js"
20817
+ }
20818
+ },
20819
+ {
20820
+ "kind": "method",
20821
+ "name": "handleBlur",
20822
+ "privacy": "private",
20823
+ "description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed.",
20824
+ "inheritedFrom": {
20825
+ "name": "Buttonsimple",
20826
+ "module": "components/buttonsimple/buttonsimple.component.js"
20827
+ }
20828
+ },
20829
+ {
20830
+ "kind": "method",
20831
+ "name": "handleKeyDown",
20832
+ "privacy": "private",
20833
+ "parameters": [
20834
+ {
20835
+ "name": "event",
20836
+ "type": {
20837
+ "text": "KeyboardEvent"
20838
+ },
20839
+ "description": "The keyboard event."
20840
+ }
20841
+ ],
20842
+ "description": "Handles the keydown event on the button.\nIf the key is 'Enter' or 'Space', the button is pressed.\nIf the key is 'Enter', the button is pressed. The native HTML button works in the same way.\nIf the key is 'Space', the button's default is prevent to avoid scrolling etc in the host application.",
20843
+ "inheritedFrom": {
20844
+ "name": "Buttonsimple",
20845
+ "module": "components/buttonsimple/buttonsimple.component.js"
20846
+ }
20847
+ },
20848
+ {
20849
+ "kind": "method",
20850
+ "name": "handleKeyUp",
20851
+ "privacy": "private",
20852
+ "parameters": [
20853
+ {
20854
+ "name": "event",
20855
+ "type": {
20856
+ "text": "KeyboardEvent"
20857
+ },
20858
+ "description": "The keyboard event."
20859
+ }
20860
+ ],
20861
+ "description": "Handles the keyup event on the button.\nIf the key is 'Enter' or 'Space', the button is clicked.\nIf the key is 'Space', the button is pressed. The native HTML button works in the same way.",
20862
+ "inheritedFrom": {
20863
+ "name": "Buttonsimple",
20864
+ "module": "components/buttonsimple/buttonsimple.component.js"
20865
+ }
20858
20866
  }
20859
20867
  ],
20860
- "superclass": {
20861
- "name": "Component",
20862
- "module": "/src/models"
20863
- },
20864
- "tagName": "mdc-linksimple",
20865
- "jsDoc": "/**\n * `mdc-linksimple` is a lightweight link component that can be used to navigate\n * within the application or to an external URL. It does not have any predefined default size.\n *\n * The `children` of the `mdc-linksimple` component can be customized to suit\n * different use cases, including text, icons, or other inline content. For the child to be an icon,\n * the `mdc-icon` component should be used to render.\n *\n * @tagname mdc-linksimple\n *\n * @event click - (React: onClick) Fired when the user activates the buttonLink using a mouse or assistive technology.\n * @event keydown - (React: onKeyDown) Fired when the user presses a key while the buttonLink has focus.\n * @event focus - (React: onFocus) Fired when the buttonLink receives keyboard or mouse focus.\n * @event blur - (React: onBlur) Fired when the buttonLink loses keyboard or mouse focus.\n *\n * @cssproperty --mdc-link-border-radius - Border radius of the link.\n * @cssproperty --mdc-link-color-active - Color of the link’s child content in the active state.\n * @cssproperty --mdc-link-color-disabled - Color of the link’s child content in the disabled state.\n * @cssproperty --mdc-link-color-hover - Color of the link’s child content in the hover state.\n * @cssproperty --mdc-link-color-normal - Color of the link’s child content in the normal state.\n * @cssproperty --mdc-link-inverted-color-active - Color of the inverted link’s child content in the active state.\n * @cssproperty --mdc-link-inverted-color-disabled - Color of the inverted link’s child content in the disabled state.\n * @cssproperty --mdc-link-inverted-color-hover - Color of the inverted link’s child content in the hover state.\n * @cssproperty --mdc-link-inverted-color-normal - Color of the inverted link’s child content in the normal state.\n *\n * @csspart anchor - The anchor element that wraps the linksimple content.\n */",
20866
- "customElement": true
20867
- }
20868
- ],
20869
- "exports": [
20870
- {
20871
- "kind": "js",
20872
- "name": "default",
20873
- "declaration": {
20874
- "name": "Linksimple",
20875
- "module": "components/linksimple/linksimple.component.js"
20876
- }
20877
- }
20878
- ]
20879
- },
20880
- {
20881
- "kind": "javascript-module",
20882
- "path": "components/list/list.component.js",
20883
- "declarations": [
20884
- {
20885
- "kind": "class",
20886
- "description": "mdc-list component is used to display a group of list items. It is used as a container to wrap other list items.\n\nTo add a header to the list, use the `mdc-listheader` component and place it in the `list-header` slot.\n`mdc-listitem` components can be placed in the default slot.",
20887
- "name": "List",
20888
- "cssParts": [
20868
+ "events": [
20889
20869
  {
20890
- "description": "The container slot around the list items",
20891
- "name": "container"
20870
+ "description": "(React: onClick) This event is dispatched when the linkbutton is clicked.",
20871
+ "name": "click",
20872
+ "reactName": "onClick",
20873
+ "inheritedFrom": {
20874
+ "name": "Buttonsimple",
20875
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
20876
+ }
20877
+ },
20878
+ {
20879
+ "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the linkbutton.",
20880
+ "name": "keydown",
20881
+ "reactName": "onKeyDown",
20882
+ "inheritedFrom": {
20883
+ "name": "Buttonsimple",
20884
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
20885
+ }
20886
+ },
20887
+ {
20888
+ "description": "(React: onKeyUp) This event is dispatched when a key is released on the linkbutton.",
20889
+ "name": "keyup",
20890
+ "reactName": "onKeyUp",
20891
+ "inheritedFrom": {
20892
+ "name": "Buttonsimple",
20893
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
20894
+ }
20895
+ },
20896
+ {
20897
+ "description": "(React: onFocus) This event is dispatched when the linkbutton receives focus.",
20898
+ "name": "focus",
20899
+ "reactName": "onFocus",
20900
+ "inheritedFrom": {
20901
+ "name": "Buttonsimple",
20902
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
20903
+ }
20892
20904
  }
20893
20905
  ],
20894
- "slots": [
20906
+ "attributes": [
20895
20907
  {
20896
- "description": "This is a default/unnamed slot, where listitems can be placed.",
20897
- "name": "default"
20908
+ "name": "size",
20909
+ "type": {
20910
+ "text": "ButtonSize"
20911
+ },
20912
+ "description": "Sets the size of the linkbutton.\nAcceptable values: \n- 12\n- 14\n- 16",
20913
+ "default": "16",
20914
+ "fieldName": "size",
20915
+ "inheritedFrom": {
20916
+ "name": "Buttonsimple",
20917
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
20918
+ }
20919
+ },
20920
+ {
20921
+ "name": "inline",
20922
+ "type": {
20923
+ "text": "boolean"
20924
+ },
20925
+ "description": "The linkbutton can be inline or standalone.",
20926
+ "default": "false",
20927
+ "fieldName": "inline"
20928
+ },
20929
+ {
20930
+ "name": "inverted",
20931
+ "type": {
20932
+ "text": "boolean"
20933
+ },
20934
+ "description": "The linkbutton color can be inverted by setting the inverted attribute to true.",
20935
+ "default": "false",
20936
+ "fieldName": "inverted"
20898
20937
  },
20899
20938
  {
20900
- "description": "This slot is used to pass a header for the list, which can be a `mdc-listheader` component.",
20901
- "name": "list-header"
20902
- }
20903
- ],
20904
- "members": [
20939
+ "name": "icon-name",
20940
+ "type": {
20941
+ "text": "IconNames | undefined"
20942
+ },
20943
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
20944
+ "fieldName": "iconName",
20945
+ "inheritedFrom": {
20946
+ "name": "IconNameMixin",
20947
+ "module": "src/utils/mixins/IconNameMixin.ts"
20948
+ }
20949
+ },
20905
20950
  {
20906
- "kind": "field",
20907
- "name": "loop",
20951
+ "name": "auto-focus-on-mount",
20908
20952
  "type": {
20909
- "text": "'true' | 'false'"
20953
+ "text": "boolean"
20910
20954
  },
20911
- "privacy": "public",
20912
- "description": "Whether to loop navigation when reaching the end of the list.\nIf 'true', pressing the down arrow on the last item will focus the first item,\nand pressing the up arrow on the first item will focus the last item.\nIf 'false', navigation will stop at the first or last item.",
20913
- "default": "''",
20914
- "attribute": "loop",
20915
- "reflects": true
20955
+ "default": "false",
20956
+ "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
20957
+ "fieldName": "autoFocusOnMount",
20958
+ "inheritedFrom": {
20959
+ "name": "Buttonsimple",
20960
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
20961
+ }
20916
20962
  },
20917
20963
  {
20918
- "kind": "field",
20919
- "name": "initialFocus",
20964
+ "name": "tabIndex",
20920
20965
  "type": {
20921
20966
  "text": "number"
20922
20967
  },
20923
- "privacy": "public",
20924
- "description": "The index of the item that should receive focus when the list is first rendered.\nIf the index is out of bounds, the first item (index 0) will receive focus.",
20925
20968
  "default": "0",
20926
- "attribute": "initial-focus",
20927
- "reflects": true
20969
+ "description": "This property specifies the tab order of the element.",
20970
+ "fieldName": "tabIndex",
20971
+ "inheritedFrom": {
20972
+ "name": "Buttonsimple",
20973
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
20974
+ }
20928
20975
  },
20929
20976
  {
20930
- "kind": "field",
20931
- "name": "itemsStore",
20932
- "default": "new ElementStore<ListItem>(this, { isValidItem: this.isValidItem, })"
20977
+ "name": "disabled",
20978
+ "type": {
20979
+ "text": "boolean | undefined"
20980
+ },
20981
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
20982
+ "default": "undefined",
20983
+ "fieldName": "disabled",
20984
+ "inheritedFrom": {
20985
+ "name": "Buttonsimple",
20986
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
20987
+ }
20933
20988
  },
20934
20989
  {
20935
- "kind": "method",
20936
- "name": "getCurrentIndex",
20937
- "privacy": "private",
20938
- "return": {
20939
- "type": {
20940
- "text": ""
20941
- }
20990
+ "name": "active",
20991
+ "type": {
20992
+ "text": "boolean | undefined"
20942
20993
  },
20943
- "parameters": [
20944
- {
20945
- "name": "target",
20946
- "type": {
20947
- "text": "EventTarget | null"
20948
- },
20949
- "description": "The target element that triggered the event."
20950
- }
20951
- ],
20952
- "description": "Retrieves the current index of the item that triggered the event.",
20994
+ "description": "The button's active state indicates whether it is currently toggled on (active) or off (inactive).\nWhen the active state is true, the button is considered to be in an active state, meaning it is toggled on.\nConversely, when the active state is false, the button is in an inactive state, indicating it is toggled off.\n\nThis attribute is used to set the provided `ariaStateKey` to true or false.",
20995
+ "default": "undefined",
20996
+ "fieldName": "active",
20953
20997
  "inheritedFrom": {
20954
- "name": "ListNavigationMixin",
20955
- "module": "utils/mixins/ListNavigationMixin.js"
20998
+ "name": "Buttonsimple",
20999
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
20956
21000
  }
20957
21001
  },
20958
21002
  {
20959
- "kind": "method",
20960
- "name": "resetTabIndexes",
20961
- "privacy": "protected",
20962
- "parameters": [
20963
- {
20964
- "name": "index",
20965
- "type": {
20966
- "text": "number"
20967
- },
20968
- "description": "The index of the currently focused item."
20969
- }
20970
- ],
20971
- "description": "Reset all tabindex to -1 and set the tabindex of the current item to 0",
21003
+ "name": "soft-disabled",
21004
+ "type": {
21005
+ "text": "boolean | undefined"
21006
+ },
21007
+ "description": "Indicates whether the button is soft disabled.\nWhen set to `true`, the button appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe button behaves like a disabled button, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
21008
+ "default": "undefined",
21009
+ "fieldName": "softDisabled",
20972
21010
  "inheritedFrom": {
20973
- "name": "ListNavigationMixin",
20974
- "module": "utils/mixins/ListNavigationMixin.js"
21011
+ "name": "Buttonsimple",
21012
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
20975
21013
  }
20976
21014
  },
20977
21015
  {
20978
- "kind": "method",
20979
- "name": "resetTabIndexAndSetFocus",
20980
- "privacy": "protected",
20981
- "parameters": [
20982
- {
20983
- "name": "newIndex",
20984
- "type": {
20985
- "text": "number"
20986
- },
20987
- "description": "The index of the new item to focus."
20988
- },
20989
- {
20990
- "name": "oldIndex",
20991
- "optional": true,
20992
- "type": {
20993
- "text": "number"
20994
- },
20995
- "description": "The index of the currently focused item."
20996
- },
20997
- {
20998
- "name": "focusNewItem",
20999
- "default": "true",
21000
- "description": "Call focus() on the new item or not. It should be false during firstUpdate"
21001
- }
21002
- ],
21003
- "description": "Resets the tabindex of the currently focused item and sets focus to a new item.",
21004
- "return": {
21005
- "type": {
21006
- "text": ""
21007
- }
21016
+ "name": "role",
21017
+ "type": {
21018
+ "text": "RoleType"
21008
21019
  },
21020
+ "description": "This property defines the ARIA role for the element. By default, it is set to 'button'.\nConsumers should override this role when:\n- The element is being used in a context where a different role is more appropriate.\n- Custom behaviors are implemented that require a specific ARIA role for accessibility purposes.",
21021
+ "default": "button",
21022
+ "fieldName": "role",
21009
21023
  "inheritedFrom": {
21010
- "name": "ListNavigationMixin",
21011
- "module": "utils/mixins/ListNavigationMixin.js"
21024
+ "name": "Buttonsimple",
21025
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
21012
21026
  }
21013
21027
  },
21014
21028
  {
21015
- "kind": "method",
21016
- "name": "resolveDirectionKey",
21017
- "privacy": "private",
21018
- "parameters": [
21019
- {
21020
- "name": "key",
21021
- "type": {
21022
- "text": "string"
21023
- },
21024
- "description": "The key pressed by the user."
21025
- },
21026
- {
21027
- "name": "isRtl",
21028
- "type": {
21029
- "text": "boolean"
21030
- },
21031
- "description": "A boolean indicating if the layout is right-to-left (RTL)."
21032
- }
21033
- ],
21034
- "description": "Resolves the key pressed by the user based on the direction of the layout.\nThis method is used to handle keyboard navigation in a right-to-left (RTL) layout.\nIt checks if the layout is RTL and adjusts the arrow keys accordingly.\nFor example, in RTL, the left arrow key behaves like the right arrow key and vice versa.",
21035
- "return": {
21036
- "type": {
21037
- "text": ""
21038
- }
21029
+ "name": "ariaStateKey",
21030
+ "type": {
21031
+ "text": "string | undefined"
21039
21032
  },
21033
+ "description": "This property defines the ARIA state key, which will be toggled when the\nButton is set to `active`.\nThe default value is 'aria-pressed', which is commonly used for toggle buttons.\n\nConsumers can override this property to use a different ARIA state key if needed.\nIn case multiple aria attributes should be toggled, they can be passed in as\na comma separated string.\nFor example: `aria-pressed,aria-expanded`",
21034
+ "default": "'aria-pressed' (when)",
21035
+ "fieldName": "ariaStateKey",
21040
21036
  "inheritedFrom": {
21041
- "name": "ListNavigationMixin",
21042
- "module": "utils/mixins/ListNavigationMixin.js"
21037
+ "name": "Buttonsimple",
21038
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
21043
21039
  }
21044
21040
  },
21045
21041
  {
21046
- "kind": "method",
21047
- "name": "shouldLoop",
21048
- "privacy": "private",
21042
+ "name": "type",
21043
+ "type": {
21044
+ "text": "ButtonType"
21045
+ },
21046
+ "description": "This property defines the type attribute for the button element.\nThe type attribute specifies the behavior of the button when it is clicked.\n- **submit**: The button submits the form data to the server.\n- **reset**: The button resets the form data to its initial state.\n- **button**: The button does nothing when clicked.",
21047
+ "default": "button",
21048
+ "fieldName": "type",
21049
21049
  "inheritedFrom": {
21050
- "name": "ListNavigationMixin",
21051
- "module": "utils/mixins/ListNavigationMixin.js"
21050
+ "name": "Buttonsimple",
21051
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
21052
21052
  }
21053
- }
21054
- ],
21055
- "attributes": [
21053
+ },
21056
21054
  {
21057
- "name": "loop",
21055
+ "name": "name",
21058
21056
  "type": {
21059
- "text": "'true' | 'false'"
21057
+ "text": "string | undefined"
21060
21058
  },
21061
- "description": "Whether to loop navigation when reaching the end of the list.\nIf 'true', pressing the down arrow on the last item will focus the first item,\nand pressing the up arrow on the first item will focus the last item.\nIf 'false', navigation will stop at the first or last item.",
21062
- "default": "''",
21063
- "fieldName": "loop"
21059
+ "description": "The name of the button, submitted as a pair with the button's value as part of the form data,\nwhen that button is used to submit the form.",
21060
+ "fieldName": "name",
21061
+ "inheritedFrom": {
21062
+ "name": "Buttonsimple",
21063
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
21064
+ }
21064
21065
  },
21065
21066
  {
21066
- "name": "initial-focus",
21067
+ "name": "value",
21067
21068
  "type": {
21068
- "text": "number"
21069
+ "text": "string | undefined"
21069
21070
  },
21070
- "description": "The index of the item that should receive focus when the list is first rendered.\nIf the index is out of bounds, the first item (index 0) will receive focus.",
21071
- "default": "0",
21072
- "fieldName": "initialFocus"
21071
+ "description": "Defines the value associated with the button's name when it's submitted with the form data.\nThis value is passed to the server in params when the form is submitted using this button.",
21072
+ "fieldName": "value",
21073
+ "inheritedFrom": {
21074
+ "name": "Buttonsimple",
21075
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
21076
+ }
21073
21077
  }
21074
21078
  ],
21075
21079
  "mixins": [
21076
21080
  {
21077
- "name": "ListNavigationMixin",
21078
- "module": "/src/utils/mixins/ListNavigationMixin"
21079
- },
21080
- {
21081
- "name": "CaptureDestroyEventForChildElement",
21082
- "module": "/src/utils/mixins/lifecycle/CaptureDestroyEventForChildElement"
21081
+ "name": "IconNameMixin",
21082
+ "module": "/src/utils/mixins/IconNameMixin"
21083
21083
  }
21084
21084
  ],
21085
21085
  "superclass": {
21086
- "name": "Component",
21087
- "module": "/src/models"
21086
+ "name": "Buttonsimple",
21087
+ "module": "/src/components/buttonsimple/buttonsimple.component"
21088
21088
  },
21089
- "tagName": "mdc-list",
21090
- "jsDoc": "/**\n * mdc-list component is used to display a group of list items. It is used as a container to wrap other list items.\n *\n * To add a header to the list, use the `mdc-listheader` component and place it in the `list-header` slot.\n * `mdc-listitem` components can be placed in the default slot.\n *\n * @tagname mdc-list\n *\n * @slot default - This is a default/unnamed slot, where listitems can be placed.\n * @slot list-header - This slot is used to pass a header for the list, which can be a `mdc-listheader` component.\n *\n * @csspart container - The container slot around the list items\n */",
21089
+ "tagName": "mdc-linkbutton",
21090
+ "jsDoc": "/**\n * `mdc-linkbutton` visually mimics a hyperlink while functioning as a button. It blends the appearance of `mdc-link` with the accessibility and interaction capabilities of `mdc-button`.\n *\n * ### Features:\n * - Looks like a link, behaves like a button.\n * - Supports slots for a text label and an optional trailing icon.\n * - Inherits accessibility and keyboard interaction behavior from `mdc-buttonsimple`.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-linkbutton\n *\n * @slot - Text label of the linkbutton.\n *\n * @event click - (React: onClick) This event is dispatched when the linkbutton is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the linkbutton.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the linkbutton.\n * @event focus - (React: onFocus) This event is dispatched when the linkbutton receives focus.\n *\n * @cssproperty --mdc-link-border-radius - Border radius of the linkbutton.\n * @cssproperty --mdc-link-color-active - Color of the linkbutton’s child content in the active state.\n * @cssproperty --mdc-link-color-disabled - Color of the linkbutton’s child content in the disabled state.\n * @cssproperty --mdc-link-color-hover - Color of the linkbutton’s child content in the hover state.\n * @cssproperty --mdc-link-color-normal - Color of the linkbutton’s child content in the normal state.\n * @cssproperty --mdc-link-inverted-color-active - Color of the inverted linkbutton’s child content in the active state.\n * @cssproperty --mdc-link-inverted-color-disabled - Color of the inverted linkbutton’s child content in the disabled state.\n * @cssproperty --mdc-link-inverted-color-hover - Color of the inverted linkbutton’s child content in the hover state.\n * @cssproperty --mdc-link-inverted-color-normal - Color of the inverted linkbutton’s child content in the normal state.\n */",
21091
21091
  "customElement": true
21092
21092
  }
21093
21093
  ],
@@ -21096,8 +21096,8 @@
21096
21096
  "kind": "js",
21097
21097
  "name": "default",
21098
21098
  "declaration": {
21099
- "name": "List",
21100
- "module": "components/list/list.component.js"
21099
+ "name": "LinkButton",
21100
+ "module": "components/linkbutton/linkbutton.component.js"
21101
21101
  }
21102
21102
  }
21103
21103
  ]