@viasat/beam-web-components 2.46.0 → 2.47.1

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.
@@ -686,76 +686,26 @@
686
686
  },
687
687
  {
688
688
  "kind": "javascript-module",
689
- "path": "libs/web-components/src/lib/Alert/Alert.ts",
689
+ "path": "libs/web-components/src/lib/BadgeDot/BadgeDot.ts",
690
690
  "declarations": [
691
691
  {
692
692
  "kind": "class",
693
- "description": "`bm-alert`\n\n### Attributes:\n- **heading** - Specify the heading text for Alert\n- **body** - Specify the body text for Alert\n- **size** - Specify the size of the Alert\n- **fullWidth** - Specify if the Alert has no border radius\n- **theme** - Specify the theme of the Alert. By default it inherits the theme from the parent\n- **appearance** - Specify the appearance of the Alert\n- **hidden** - Specify if the Alert is hidden\n- **hideIcon** - Specify if the icon displays on the Alert\n- **dismissible** - Specify if the Alert can be dismissed\n- **disableAutoFocus** - Prevent autofocus on show\n- **disableCloseOnEscape** - Prevent Escape from closing",
694
- "name": "BmAlert",
693
+ "description": "`bm-badge-dot`\n\n### Attributes:\n- **theme** - Specify the theme of the BadgeDot. By default it inherits the theme from the parent\n- **appearance** - Specify the appearance of the BadgeDot\n- **emphasis** - Specify the emphasis of the BadgeDot\n- **overrideDotColor** - Overrides default dot color",
694
+ "name": "BmBadgeDot",
695
695
  "slots": [
696
696
  {
697
- "description": "Specify a different icon for the Alert",
698
- "name": "icon"
699
- },
700
- {
701
- "description": "Specify the heading text for Alert or pass the `heading` attribute to set the heading",
702
- "name": "heading"
703
- },
704
- {
705
- "description": "Specify the body text for Alert or pass the `body` attribute to set the body",
706
- "name": "body"
707
- },
708
- {
709
- "description": "Specify if actions display on the Alert",
710
- "name": "actions"
697
+ "description": "Provide text for the BadgeDot",
698
+ "name": "default"
711
699
  }
712
700
  ],
713
701
  "members": [
714
- {
715
- "kind": "field",
716
- "name": "heading",
717
- "type": {
718
- "text": "string | undefined"
719
- },
720
- "description": "Specify the heading text for Alert",
721
- "attribute": "heading"
722
- },
723
- {
724
- "kind": "field",
725
- "name": "body",
726
- "type": {
727
- "text": "string | undefined"
728
- },
729
- "description": "Specify the body text for Alert",
730
- "attribute": "body"
731
- },
732
- {
733
- "kind": "field",
734
- "name": "size",
735
- "type": {
736
- "text": "'sm' | 'md'"
737
- },
738
- "default": "'sm'",
739
- "description": "Specify the size of the Alert",
740
- "attribute": "size"
741
- },
742
- {
743
- "kind": "field",
744
- "name": "fullWidth",
745
- "type": {
746
- "text": "boolean"
747
- },
748
- "default": "false",
749
- "description": "Specify if the Alert has no border radius",
750
- "attribute": "fullWidth"
751
- },
752
702
  {
753
703
  "kind": "field",
754
704
  "name": "theme",
755
705
  "type": {
756
706
  "text": "'light' | 'dark' | undefined"
757
707
  },
758
- "description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
708
+ "description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
759
709
  "attribute": "theme"
760
710
  },
761
711
  {
@@ -765,107 +715,36 @@
765
715
  "text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
766
716
  },
767
717
  "default": "'infoPrimary'",
768
- "description": "Specify the appearance of the Alert",
718
+ "description": "Specify the appearance of the BadgeDot",
769
719
  "attribute": "appearance"
770
720
  },
771
721
  {
772
722
  "kind": "field",
773
- "name": "hidden",
774
- "type": {
775
- "text": "boolean"
776
- },
777
- "default": "false",
778
- "description": "Specify if the Alert is hidden",
779
- "attribute": "hidden"
780
- },
781
- {
782
- "kind": "field",
783
- "name": "hideIcon",
784
- "type": {
785
- "text": "boolean"
786
- },
787
- "default": "false",
788
- "description": "Specify if the icon displays on the Alert",
789
- "attribute": "hideIcon"
790
- },
791
- {
792
- "kind": "field",
793
- "name": "dismissible",
794
- "type": {
795
- "text": "boolean"
796
- },
797
- "default": "false",
798
- "description": "Specify if the Alert can be dismissed",
799
- "attribute": "dismissible"
800
- },
801
- {
802
- "kind": "field",
803
- "name": "disableAutoFocus",
723
+ "name": "emphasis",
804
724
  "type": {
805
- "text": "boolean"
725
+ "text": "'strong' | 'subtle'"
806
726
  },
807
- "default": "false",
808
- "description": "Prevent autofocus on show",
809
- "attribute": "disableAutoFocus"
727
+ "default": "'strong'",
728
+ "description": "Specify the emphasis of the BadgeDot",
729
+ "attribute": "emphasis"
810
730
  },
811
731
  {
812
732
  "kind": "field",
813
- "name": "disableCloseOnEscape",
733
+ "name": "overrideDotColor",
814
734
  "type": {
815
- "text": "boolean"
735
+ "text": "string | undefined"
816
736
  },
817
- "default": "false",
818
- "description": "Prevent Escape from closing",
819
- "attribute": "disableCloseOnEscape"
820
- }
821
- ],
822
- "events": [
823
- {
824
- "description": "Dispatched when the Alert has been dismissed",
825
- "name": "bm-dismiss"
737
+ "description": "Overrides default dot color",
738
+ "attribute": "overrideDotColor"
826
739
  }
827
740
  ],
828
741
  "attributes": [
829
- {
830
- "name": "heading",
831
- "type": {
832
- "text": "string | undefined"
833
- },
834
- "description": "Specify the heading text for Alert",
835
- "fieldName": "heading"
836
- },
837
- {
838
- "name": "body",
839
- "type": {
840
- "text": "string | undefined"
841
- },
842
- "description": "Specify the body text for Alert",
843
- "fieldName": "body"
844
- },
845
- {
846
- "name": "size",
847
- "type": {
848
- "text": "'sm' | 'md'"
849
- },
850
- "default": "'sm'",
851
- "description": "Specify the size of the Alert",
852
- "fieldName": "size"
853
- },
854
- {
855
- "name": "fullWidth",
856
- "type": {
857
- "text": "boolean"
858
- },
859
- "default": "false",
860
- "description": "Specify if the Alert has no border radius",
861
- "fieldName": "fullWidth"
862
- },
863
742
  {
864
743
  "name": "theme",
865
744
  "type": {
866
745
  "text": "'light' | 'dark' | undefined"
867
746
  },
868
- "description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
747
+ "description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
869
748
  "fieldName": "theme"
870
749
  },
871
750
  {
@@ -874,85 +753,57 @@
874
753
  "text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
875
754
  },
876
755
  "default": "'infoPrimary'",
877
- "description": "Specify the appearance of the Alert",
756
+ "description": "Specify the appearance of the BadgeDot",
878
757
  "fieldName": "appearance"
879
758
  },
880
759
  {
881
- "name": "hidden",
882
- "type": {
883
- "text": "boolean"
884
- },
885
- "default": "false",
886
- "description": "Specify if the Alert is hidden",
887
- "fieldName": "hidden"
888
- },
889
- {
890
- "name": "hideIcon",
891
- "type": {
892
- "text": "boolean"
893
- },
894
- "default": "false",
895
- "description": "Specify if the icon displays on the Alert",
896
- "fieldName": "hideIcon"
897
- },
898
- {
899
- "name": "dismissible",
900
- "type": {
901
- "text": "boolean"
902
- },
903
- "default": "false",
904
- "description": "Specify if the Alert can be dismissed",
905
- "fieldName": "dismissible"
906
- },
907
- {
908
- "name": "disableAutoFocus",
760
+ "name": "emphasis",
909
761
  "type": {
910
- "text": "boolean"
762
+ "text": "'strong' | 'subtle'"
911
763
  },
912
- "default": "false",
913
- "description": "Prevent autofocus on show",
914
- "fieldName": "disableAutoFocus"
764
+ "default": "'strong'",
765
+ "description": "Specify the emphasis of the BadgeDot",
766
+ "fieldName": "emphasis"
915
767
  },
916
768
  {
917
- "name": "disableCloseOnEscape",
769
+ "name": "overrideDotColor",
918
770
  "type": {
919
- "text": "boolean"
771
+ "text": "string | undefined"
920
772
  },
921
- "default": "false",
922
- "description": "Prevent Escape from closing",
923
- "fieldName": "disableCloseOnEscape"
773
+ "description": "Overrides default dot color",
774
+ "fieldName": "overrideDotColor"
924
775
  }
925
776
  ],
926
777
  "superclass": {
927
778
  "name": "LitElement",
928
779
  "package": "lit"
929
780
  },
930
- "tagName": "bm-alert",
781
+ "tagName": "bm-badge-dot",
931
782
  "customElement": true
932
783
  }
933
784
  ],
934
785
  "exports": [
935
786
  {
936
787
  "kind": "js",
937
- "name": "BmAlert",
788
+ "name": "BmBadgeDot",
938
789
  "declaration": {
939
- "name": "BmAlert",
940
- "module": "libs/web-components/src/lib/Alert/Alert.ts"
790
+ "name": "BmBadgeDot",
791
+ "module": "libs/web-components/src/lib/BadgeDot/BadgeDot.ts"
941
792
  }
942
793
  },
943
794
  {
944
795
  "kind": "custom-element-definition",
945
- "name": "bm-alert",
796
+ "name": "bm-badge-dot",
946
797
  "declaration": {
947
- "name": "BmAlert",
948
- "module": "libs/web-components/src/lib/Alert/Alert.ts"
798
+ "name": "BmBadgeDot",
799
+ "module": "libs/web-components/src/lib/BadgeDot/BadgeDot.ts"
949
800
  }
950
801
  }
951
802
  ]
952
803
  },
953
804
  {
954
805
  "kind": "javascript-module",
955
- "path": "libs/web-components/src/lib/Alert/index.ts",
806
+ "path": "libs/web-components/src/lib/BadgeDot/index.ts",
956
807
  "declarations": [],
957
808
  "exports": [
958
809
  {
@@ -960,286 +811,399 @@
960
811
  "name": "*",
961
812
  "declaration": {
962
813
  "name": "*",
963
- "package": "./Alert"
814
+ "package": "./BadgeDot"
964
815
  }
965
816
  }
966
817
  ]
967
818
  },
968
819
  {
969
820
  "kind": "javascript-module",
970
- "path": "libs/web-components/src/lib/Badge/Badge.ts",
821
+ "path": "libs/web-components/src/lib/Box/Box.ts",
971
822
  "declarations": [
972
823
  {
973
824
  "kind": "class",
974
- "description": "`bm-badge`\n\n### Attributes:\n- **appearance** - Specify the appearance of the Badge\n- **theme** - Theme of the Badge\n- **size** - Specify the size of the Badge\n- **emphasis** - Specify the emphasis of the Badge\n- **hideIcon** - Hides Badge icon",
975
- "name": "BmBadge",
825
+ "description": "`bm-box`\n\n### Attributes:\n- **backgroundColor** - Specify the background color of a Box\n- **borderColor** - Specify the border color of a Box\n- **borderWidth** - Specify the border width of a Box\n- **borderRadius** - Specify the border radius of a Box\n- **px** - Specify before and after padding of a Box\n- **py** - Specify top and bottom padding of a Box\n- **pTop** - Specify top padding of a Box\n- **pBottom** - Specify bottom padding of a Box\n- **pBefore** - Specify before padding of a Box\n- **pAfter** - Specify after padding of a Box\n- **mx** - Specify before and after margin of a Box\n- **my** - Specify top and bottom margin of a Box\n- **mTop** - Specify top margin of a Box\n- **mBottom** - Specify bottom margin of a Box\n- **mBefore** - Specify before margin of a Box\n- **mAfter** - Specify after margin of a Box\n- **m** - Specify all margin\n- **p** - Specify all padding\n- **gap** - Specify gap between child elements\n- **shadow** - Specify if a Box has a shadow",
826
+ "name": "BmBox",
976
827
  "slots": [
977
828
  {
978
- "description": "Provide text for the Badge",
829
+ "description": "Provide content for the Box",
979
830
  "name": "default"
980
- },
981
- {
982
- "description": "Specify a different icon for the Badge",
983
- "name": "icon"
984
831
  }
985
832
  ],
986
833
  "members": [
987
834
  {
988
835
  "kind": "field",
989
- "name": "appearance",
836
+ "name": "backgroundColor",
990
837
  "type": {
991
- "text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
838
+ "text": "'positive' | 'warning' | 'negative' | 'inverse' | 'selected' | 'expressive' | '00' | '00-alt' | '01' | '02' | '03' | 'info-primary' | 'info-secondary' | 'positive-strong' | 'warning-strong' | 'negative-strong' | 'info-primary-strong' | 'info-secondary-strong' | 'selected-subtle' | 'highlight' | 'transparent' | 'expressive-stronger' | 'expressive-inverse' | undefined"
992
839
  },
993
- "default": "'infoPrimary'",
994
- "description": "Specify the appearance of the Badge",
995
- "attribute": "appearance"
840
+ "description": "Specify the background color of a Box",
841
+ "attribute": "backgroundColor"
996
842
  },
997
843
  {
998
844
  "kind": "field",
999
- "name": "theme",
845
+ "name": "borderColor",
1000
846
  "type": {
1001
- "text": "'light' | 'dark' | undefined"
847
+ "text": "'positive' | 'warning' | 'negative' | 'inverse' | 'selected' | 'expressive' | 'strong' | '00' | '00-alt' | '01' | '02' | '03' | 'info-primary' | 'info-secondary' | 'positive-strong' | 'warning-strong' | 'negative-strong' | 'info-primary-strong' | 'info-secondary-strong' | 'transparent' | 'expressive-stronger' | 'focus' | undefined"
1002
848
  },
1003
- "description": "Theme of the Badge",
1004
- "attribute": "theme"
849
+ "description": "Specify the border color of a Box",
850
+ "attribute": "borderColor"
1005
851
  },
1006
852
  {
1007
853
  "kind": "field",
1008
- "name": "size",
854
+ "name": "borderWidth",
1009
855
  "type": {
1010
- "text": "'sm' | 'md' | undefined"
856
+ "text": "'md' | 'lg' | 'xl' | 'none' | 'divider' | undefined"
1011
857
  },
1012
- "default": "'sm'",
1013
- "description": "Specify the size of the Badge",
1014
- "attribute": "size"
858
+ "description": "Specify the border width of a Box",
859
+ "attribute": "borderWidth"
1015
860
  },
1016
861
  {
1017
862
  "kind": "field",
1018
- "name": "emphasis",
863
+ "name": "borderRadius",
1019
864
  "type": {
1020
- "text": "'strong' | 'medium' | 'subtle'"
865
+ "text": "'xs' | 'sm' | 'md' | 'lg' | 'none' | 'round' | undefined"
1021
866
  },
1022
- "default": "'strong'",
1023
- "description": "Specify the emphasis of the Badge",
1024
- "attribute": "emphasis"
867
+ "description": "Specify the border radius of a Box",
868
+ "attribute": "borderRadius"
1025
869
  },
1026
870
  {
1027
871
  "kind": "field",
1028
- "name": "hideIcon",
872
+ "name": "px",
1029
873
  "type": {
1030
- "text": "boolean | undefined"
874
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1031
875
  },
1032
- "description": "Hides Badge icon",
1033
- "attribute": "hideIcon"
1034
- }
1035
- ],
1036
- "attributes": [
876
+ "description": "Specify before and after padding of a Box",
877
+ "attribute": "px"
878
+ },
1037
879
  {
1038
- "name": "appearance",
880
+ "kind": "field",
881
+ "name": "py",
1039
882
  "type": {
1040
- "text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
883
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1041
884
  },
1042
- "default": "'infoPrimary'",
1043
- "description": "Specify the appearance of the Badge",
1044
- "fieldName": "appearance"
885
+ "description": "Specify top and bottom padding of a Box",
886
+ "attribute": "py"
1045
887
  },
1046
888
  {
1047
- "name": "theme",
889
+ "kind": "field",
890
+ "name": "pTop",
1048
891
  "type": {
1049
- "text": "'light' | 'dark' | undefined"
892
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1050
893
  },
1051
- "description": "Theme of the Badge",
1052
- "fieldName": "theme"
894
+ "description": "Specify top padding of a Box",
895
+ "attribute": "pTop"
1053
896
  },
1054
897
  {
1055
- "name": "size",
898
+ "kind": "field",
899
+ "name": "pBottom",
1056
900
  "type": {
1057
- "text": "'sm' | 'md' | undefined"
901
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1058
902
  },
1059
- "default": "'sm'",
1060
- "description": "Specify the size of the Badge",
1061
- "fieldName": "size"
903
+ "description": "Specify bottom padding of a Box",
904
+ "attribute": "pBottom"
1062
905
  },
1063
906
  {
1064
- "name": "emphasis",
907
+ "kind": "field",
908
+ "name": "pBefore",
1065
909
  "type": {
1066
- "text": "'strong' | 'medium' | 'subtle'"
910
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1067
911
  },
1068
- "default": "'strong'",
1069
- "description": "Specify the emphasis of the Badge",
1070
- "fieldName": "emphasis"
912
+ "description": "Specify before padding of a Box",
913
+ "attribute": "pBefore"
1071
914
  },
1072
915
  {
1073
- "name": "hideIcon",
916
+ "kind": "field",
917
+ "name": "pAfter",
1074
918
  "type": {
1075
- "text": "boolean | undefined"
919
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1076
920
  },
1077
- "description": "Hides Badge icon",
1078
- "fieldName": "hideIcon"
1079
- }
1080
- ],
1081
- "superclass": {
1082
- "name": "LitElement",
1083
- "package": "lit"
1084
- },
1085
- "tagName": "bm-badge",
1086
- "customElement": true
1087
- }
1088
- ],
1089
- "exports": [
1090
- {
1091
- "kind": "js",
1092
- "name": "BmBadge",
1093
- "declaration": {
1094
- "name": "BmBadge",
1095
- "module": "libs/web-components/src/lib/Badge/Badge.ts"
1096
- }
1097
- },
1098
- {
1099
- "kind": "custom-element-definition",
1100
- "name": "bm-badge",
1101
- "declaration": {
1102
- "name": "BmBadge",
1103
- "module": "libs/web-components/src/lib/Badge/Badge.ts"
1104
- }
1105
- }
1106
- ]
1107
- },
1108
- {
1109
- "kind": "javascript-module",
1110
- "path": "libs/web-components/src/lib/Badge/index.ts",
1111
- "declarations": [],
1112
- "exports": [
1113
- {
1114
- "kind": "js",
1115
- "name": "*",
1116
- "declaration": {
1117
- "name": "*",
1118
- "package": "./Badge"
1119
- }
1120
- }
1121
- ]
1122
- },
1123
- {
1124
- "kind": "javascript-module",
1125
- "path": "libs/web-components/src/lib/BadgeDot/BadgeDot.ts",
1126
- "declarations": [
1127
- {
1128
- "kind": "class",
1129
- "description": "`bm-badge-dot`\n\n### Attributes:\n- **theme** - Specify the theme of the BadgeDot. By default it inherits the theme from the parent\n- **appearance** - Specify the appearance of the BadgeDot\n- **emphasis** - Specify the emphasis of the BadgeDot\n- **overrideDotColor** - Overrides default dot color",
1130
- "name": "BmBadgeDot",
1131
- "slots": [
921
+ "description": "Specify after padding of a Box",
922
+ "attribute": "pAfter"
923
+ },
1132
924
  {
1133
- "description": "Provide text for the BadgeDot",
1134
- "name": "default"
1135
- }
1136
- ],
1137
- "members": [
925
+ "kind": "field",
926
+ "name": "mx",
927
+ "type": {
928
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
929
+ },
930
+ "description": "Specify before and after margin of a Box",
931
+ "attribute": "mx"
932
+ },
1138
933
  {
1139
934
  "kind": "field",
1140
- "name": "theme",
935
+ "name": "my",
1141
936
  "type": {
1142
- "text": "'light' | 'dark' | undefined"
937
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1143
938
  },
1144
- "description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
1145
- "attribute": "theme"
939
+ "description": "Specify top and bottom margin of a Box",
940
+ "attribute": "my"
1146
941
  },
1147
942
  {
1148
943
  "kind": "field",
1149
- "name": "appearance",
944
+ "name": "mTop",
1150
945
  "type": {
1151
- "text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
946
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1152
947
  },
1153
- "default": "'infoPrimary'",
1154
- "description": "Specify the appearance of the BadgeDot",
1155
- "attribute": "appearance"
948
+ "description": "Specify top margin of a Box",
949
+ "attribute": "mTop"
1156
950
  },
1157
951
  {
1158
952
  "kind": "field",
1159
- "name": "emphasis",
953
+ "name": "mBottom",
1160
954
  "type": {
1161
- "text": "'strong' | 'subtle'"
955
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1162
956
  },
1163
- "default": "'strong'",
1164
- "description": "Specify the emphasis of the BadgeDot",
1165
- "attribute": "emphasis"
957
+ "description": "Specify bottom margin of a Box",
958
+ "attribute": "mBottom"
1166
959
  },
1167
960
  {
1168
961
  "kind": "field",
1169
- "name": "overrideDotColor",
962
+ "name": "mBefore",
1170
963
  "type": {
1171
- "text": "string | undefined"
964
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1172
965
  },
1173
- "description": "Overrides default dot color",
1174
- "attribute": "overrideDotColor"
966
+ "description": "Specify before margin of a Box",
967
+ "attribute": "mBefore"
968
+ },
969
+ {
970
+ "kind": "field",
971
+ "name": "mAfter",
972
+ "type": {
973
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
974
+ },
975
+ "description": "Specify after margin of a Box",
976
+ "attribute": "mAfter"
977
+ },
978
+ {
979
+ "kind": "field",
980
+ "name": "m",
981
+ "type": {
982
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
983
+ },
984
+ "description": "Specify all margin",
985
+ "attribute": "m"
986
+ },
987
+ {
988
+ "kind": "field",
989
+ "name": "p",
990
+ "type": {
991
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
992
+ },
993
+ "description": "Specify all padding",
994
+ "attribute": "p"
995
+ },
996
+ {
997
+ "kind": "field",
998
+ "name": "gap",
999
+ "type": {
1000
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1001
+ },
1002
+ "description": "Specify gap between child elements",
1003
+ "attribute": "gap"
1004
+ },
1005
+ {
1006
+ "kind": "field",
1007
+ "name": "shadow",
1008
+ "type": {
1009
+ "text": "'sm' | 'md' | 'lg' | 'none' | 'overlay' | undefined"
1010
+ },
1011
+ "description": "Specify if a Box has a shadow",
1012
+ "attribute": "shadow"
1175
1013
  }
1176
1014
  ],
1177
1015
  "attributes": [
1178
1016
  {
1179
- "name": "theme",
1017
+ "name": "backgroundColor",
1180
1018
  "type": {
1181
- "text": "'light' | 'dark' | undefined"
1019
+ "text": "'positive' | 'warning' | 'negative' | 'inverse' | 'selected' | 'expressive' | '00' | '00-alt' | '01' | '02' | '03' | 'info-primary' | 'info-secondary' | 'positive-strong' | 'warning-strong' | 'negative-strong' | 'info-primary-strong' | 'info-secondary-strong' | 'selected-subtle' | 'highlight' | 'transparent' | 'expressive-stronger' | 'expressive-inverse' | undefined"
1182
1020
  },
1183
- "description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
1184
- "fieldName": "theme"
1021
+ "description": "Specify the background color of a Box",
1022
+ "fieldName": "backgroundColor"
1185
1023
  },
1186
1024
  {
1187
- "name": "appearance",
1025
+ "name": "borderColor",
1188
1026
  "type": {
1189
- "text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
1027
+ "text": "'positive' | 'warning' | 'negative' | 'inverse' | 'selected' | 'expressive' | 'strong' | '00' | '00-alt' | '01' | '02' | '03' | 'info-primary' | 'info-secondary' | 'positive-strong' | 'warning-strong' | 'negative-strong' | 'info-primary-strong' | 'info-secondary-strong' | 'transparent' | 'expressive-stronger' | 'focus' | undefined"
1190
1028
  },
1191
- "default": "'infoPrimary'",
1192
- "description": "Specify the appearance of the BadgeDot",
1193
- "fieldName": "appearance"
1029
+ "description": "Specify the border color of a Box",
1030
+ "fieldName": "borderColor"
1194
1031
  },
1195
1032
  {
1196
- "name": "emphasis",
1033
+ "name": "borderWidth",
1197
1034
  "type": {
1198
- "text": "'strong' | 'subtle'"
1035
+ "text": "'md' | 'lg' | 'xl' | 'none' | 'divider' | undefined"
1199
1036
  },
1200
- "default": "'strong'",
1201
- "description": "Specify the emphasis of the BadgeDot",
1202
- "fieldName": "emphasis"
1037
+ "description": "Specify the border width of a Box",
1038
+ "fieldName": "borderWidth"
1203
1039
  },
1204
1040
  {
1205
- "name": "overrideDotColor",
1041
+ "name": "borderRadius",
1206
1042
  "type": {
1207
- "text": "string | undefined"
1043
+ "text": "'xs' | 'sm' | 'md' | 'lg' | 'none' | 'round' | undefined"
1208
1044
  },
1209
- "description": "Overrides default dot color",
1210
- "fieldName": "overrideDotColor"
1211
- }
1212
- ],
1213
- "superclass": {
1214
- "name": "LitElement",
1215
- "package": "lit"
1216
- },
1217
- "tagName": "bm-badge-dot",
1045
+ "description": "Specify the border radius of a Box",
1046
+ "fieldName": "borderRadius"
1047
+ },
1048
+ {
1049
+ "name": "px",
1050
+ "type": {
1051
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1052
+ },
1053
+ "description": "Specify before and after padding of a Box",
1054
+ "fieldName": "px"
1055
+ },
1056
+ {
1057
+ "name": "py",
1058
+ "type": {
1059
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1060
+ },
1061
+ "description": "Specify top and bottom padding of a Box",
1062
+ "fieldName": "py"
1063
+ },
1064
+ {
1065
+ "name": "pTop",
1066
+ "type": {
1067
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1068
+ },
1069
+ "description": "Specify top padding of a Box",
1070
+ "fieldName": "pTop"
1071
+ },
1072
+ {
1073
+ "name": "pBottom",
1074
+ "type": {
1075
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1076
+ },
1077
+ "description": "Specify bottom padding of a Box",
1078
+ "fieldName": "pBottom"
1079
+ },
1080
+ {
1081
+ "name": "pBefore",
1082
+ "type": {
1083
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1084
+ },
1085
+ "description": "Specify before padding of a Box",
1086
+ "fieldName": "pBefore"
1087
+ },
1088
+ {
1089
+ "name": "pAfter",
1090
+ "type": {
1091
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1092
+ },
1093
+ "description": "Specify after padding of a Box",
1094
+ "fieldName": "pAfter"
1095
+ },
1096
+ {
1097
+ "name": "mx",
1098
+ "type": {
1099
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1100
+ },
1101
+ "description": "Specify before and after margin of a Box",
1102
+ "fieldName": "mx"
1103
+ },
1104
+ {
1105
+ "name": "my",
1106
+ "type": {
1107
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1108
+ },
1109
+ "description": "Specify top and bottom margin of a Box",
1110
+ "fieldName": "my"
1111
+ },
1112
+ {
1113
+ "name": "mTop",
1114
+ "type": {
1115
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1116
+ },
1117
+ "description": "Specify top margin of a Box",
1118
+ "fieldName": "mTop"
1119
+ },
1120
+ {
1121
+ "name": "mBottom",
1122
+ "type": {
1123
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1124
+ },
1125
+ "description": "Specify bottom margin of a Box",
1126
+ "fieldName": "mBottom"
1127
+ },
1128
+ {
1129
+ "name": "mBefore",
1130
+ "type": {
1131
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1132
+ },
1133
+ "description": "Specify before margin of a Box",
1134
+ "fieldName": "mBefore"
1135
+ },
1136
+ {
1137
+ "name": "mAfter",
1138
+ "type": {
1139
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1140
+ },
1141
+ "description": "Specify after margin of a Box",
1142
+ "fieldName": "mAfter"
1143
+ },
1144
+ {
1145
+ "name": "m",
1146
+ "type": {
1147
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1148
+ },
1149
+ "description": "Specify all margin",
1150
+ "fieldName": "m"
1151
+ },
1152
+ {
1153
+ "name": "p",
1154
+ "type": {
1155
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1156
+ },
1157
+ "description": "Specify all padding",
1158
+ "fieldName": "p"
1159
+ },
1160
+ {
1161
+ "name": "gap",
1162
+ "type": {
1163
+ "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1164
+ },
1165
+ "description": "Specify gap between child elements",
1166
+ "fieldName": "gap"
1167
+ },
1168
+ {
1169
+ "name": "shadow",
1170
+ "type": {
1171
+ "text": "'sm' | 'md' | 'lg' | 'none' | 'overlay' | undefined"
1172
+ },
1173
+ "description": "Specify if a Box has a shadow",
1174
+ "fieldName": "shadow"
1175
+ }
1176
+ ],
1177
+ "superclass": {
1178
+ "name": "LitElement",
1179
+ "package": "lit"
1180
+ },
1181
+ "tagName": "bm-box",
1218
1182
  "customElement": true
1219
1183
  }
1220
1184
  ],
1221
1185
  "exports": [
1222
1186
  {
1223
1187
  "kind": "js",
1224
- "name": "BmBadgeDot",
1188
+ "name": "BmBox",
1225
1189
  "declaration": {
1226
- "name": "BmBadgeDot",
1227
- "module": "libs/web-components/src/lib/BadgeDot/BadgeDot.ts"
1190
+ "name": "BmBox",
1191
+ "module": "libs/web-components/src/lib/Box/Box.ts"
1228
1192
  }
1229
1193
  },
1230
1194
  {
1231
1195
  "kind": "custom-element-definition",
1232
- "name": "bm-badge-dot",
1196
+ "name": "bm-box",
1233
1197
  "declaration": {
1234
- "name": "BmBadgeDot",
1235
- "module": "libs/web-components/src/lib/BadgeDot/BadgeDot.ts"
1198
+ "name": "BmBox",
1199
+ "module": "libs/web-components/src/lib/Box/Box.ts"
1236
1200
  }
1237
1201
  }
1238
1202
  ]
1239
1203
  },
1240
1204
  {
1241
1205
  "kind": "javascript-module",
1242
- "path": "libs/web-components/src/lib/BadgeDot/index.ts",
1206
+ "path": "libs/web-components/src/lib/Box/index.ts",
1243
1207
  "declarations": [],
1244
1208
  "exports": [
1245
1209
  {
@@ -1247,7 +1211,7 @@
1247
1211
  "name": "*",
1248
1212
  "declaration": {
1249
1213
  "name": "*",
1250
- "package": "./BadgeDot"
1214
+ "package": "./Box"
1251
1215
  }
1252
1216
  }
1253
1217
  ]
@@ -1556,118 +1520,273 @@
1556
1520
  },
1557
1521
  {
1558
1522
  "kind": "javascript-module",
1559
- "path": "libs/web-components/src/lib/Button/Button.ts",
1523
+ "path": "libs/web-components/src/lib/Badge/Badge.ts",
1560
1524
  "declarations": [
1561
1525
  {
1562
1526
  "kind": "class",
1563
- "description": "`bm-button`\n\n### Attributes:\n- **appearance** - Specify the appearance of a Button\n- **kind** - Specify the kind of Button\n- **size** - Specify the size of a Button\n- **disabled** - Specify if the Button is disabled\n- **fluid** - Specify if Button is fluid\n- **width** - Specify the width of a Button\n- **height** - Specify the height of a Button\n- **theme** - Specify the theme of the Button\n- **iconOnly** - Specify if the icon displays without text\n- **type** ",
1564
- "name": "BmButton",
1527
+ "description": "`bm-badge`\n\n### Attributes:\n- **appearance** - Specify the appearance of the Badge\n- **theme** - Theme of the Badge\n- **size** - Specify the size of the Badge\n- **emphasis** - Specify the emphasis of the Badge\n- **hideIcon** - Hides Badge icon",
1528
+ "name": "BmBadge",
1565
1529
  "slots": [
1566
1530
  {
1567
- "description": "Provide content for the Button",
1531
+ "description": "Provide text for the Badge",
1568
1532
  "name": "default"
1569
1533
  },
1570
1534
  {
1571
- "description": "Specify if the Button displays icon before the text",
1572
- "name": "iconBefore"
1573
- },
1574
- {
1575
- "description": "Specify if the Button displays icon after the text",
1576
- "name": "iconAfter"
1535
+ "description": "Specify a different icon for the Badge",
1536
+ "name": "icon"
1577
1537
  }
1578
1538
  ],
1579
1539
  "members": [
1580
- {
1581
- "kind": "field",
1582
- "name": "formAssociated",
1583
- "type": {
1584
- "text": "boolean"
1585
- },
1586
- "static": true,
1587
- "default": "true"
1588
- },
1589
1540
  {
1590
1541
  "kind": "field",
1591
1542
  "name": "appearance",
1592
1543
  "type": {
1593
- "text": "'accent' | 'neutral' | 'neutral-subtle' | 'destructive'"
1544
+ "text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
1594
1545
  },
1595
- "default": "'accent'",
1596
- "description": "Specify the appearance of a Button",
1546
+ "default": "'infoPrimary'",
1547
+ "description": "Specify the appearance of the Badge",
1597
1548
  "attribute": "appearance"
1598
1549
  },
1599
1550
  {
1600
1551
  "kind": "field",
1601
- "name": "kind",
1552
+ "name": "theme",
1602
1553
  "type": {
1603
- "text": "'filled' | 'outline' | 'ghost' | 'bare'"
1554
+ "text": "'light' | 'dark' | undefined"
1604
1555
  },
1605
- "default": "'filled'",
1606
- "description": "Specify the kind of Button",
1607
- "attribute": "kind"
1556
+ "description": "Theme of the Badge",
1557
+ "attribute": "theme"
1608
1558
  },
1609
1559
  {
1610
1560
  "kind": "field",
1611
1561
  "name": "size",
1612
1562
  "type": {
1613
- "text": "'sm' | 'md' | 'lg'"
1563
+ "text": "'sm' | 'md' | undefined"
1614
1564
  },
1615
- "default": "'md'",
1616
- "description": "Specify the size of a Button",
1565
+ "default": "'sm'",
1566
+ "description": "Specify the size of the Badge",
1617
1567
  "attribute": "size"
1618
1568
  },
1619
1569
  {
1620
1570
  "kind": "field",
1621
- "name": "disabled",
1571
+ "name": "emphasis",
1622
1572
  "type": {
1623
- "text": "boolean"
1573
+ "text": "'strong' | 'medium' | 'subtle'"
1624
1574
  },
1625
- "default": "false",
1626
- "description": "Specify if the Button is disabled",
1627
- "attribute": "disabled"
1575
+ "default": "'strong'",
1576
+ "description": "Specify the emphasis of the Badge",
1577
+ "attribute": "emphasis"
1628
1578
  },
1629
1579
  {
1630
1580
  "kind": "field",
1631
- "name": "fluid",
1581
+ "name": "hideIcon",
1632
1582
  "type": {
1633
- "text": "boolean"
1583
+ "text": "boolean | undefined"
1634
1584
  },
1635
- "default": "false",
1636
- "description": "Specify if Button is fluid",
1637
- "attribute": "fluid"
1638
- },
1585
+ "description": "Hides Badge icon",
1586
+ "attribute": "hideIcon"
1587
+ }
1588
+ ],
1589
+ "attributes": [
1639
1590
  {
1640
- "kind": "field",
1641
- "name": "width",
1591
+ "name": "appearance",
1642
1592
  "type": {
1643
- "text": "string | undefined"
1593
+ "text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
1644
1594
  },
1645
- "description": "Specify the width of a Button",
1646
- "attribute": "width"
1595
+ "default": "'infoPrimary'",
1596
+ "description": "Specify the appearance of the Badge",
1597
+ "fieldName": "appearance"
1647
1598
  },
1648
1599
  {
1649
- "kind": "field",
1650
- "name": "height",
1600
+ "name": "theme",
1651
1601
  "type": {
1652
- "text": "string | undefined"
1602
+ "text": "'light' | 'dark' | undefined"
1653
1603
  },
1654
- "description": "Specify the height of a Button",
1655
- "attribute": "height"
1604
+ "description": "Theme of the Badge",
1605
+ "fieldName": "theme"
1656
1606
  },
1657
1607
  {
1658
- "kind": "field",
1659
- "name": "theme",
1608
+ "name": "size",
1660
1609
  "type": {
1661
- "text": "'light' | 'dark' | undefined"
1610
+ "text": "'sm' | 'md' | undefined"
1662
1611
  },
1663
- "description": "Specify the theme of the Button",
1664
- "attribute": "theme"
1612
+ "default": "'sm'",
1613
+ "description": "Specify the size of the Badge",
1614
+ "fieldName": "size"
1665
1615
  },
1666
1616
  {
1667
- "kind": "field",
1668
- "name": "iconOnly",
1617
+ "name": "emphasis",
1669
1618
  "type": {
1670
- "text": "boolean | undefined"
1619
+ "text": "'strong' | 'medium' | 'subtle'"
1620
+ },
1621
+ "default": "'strong'",
1622
+ "description": "Specify the emphasis of the Badge",
1623
+ "fieldName": "emphasis"
1624
+ },
1625
+ {
1626
+ "name": "hideIcon",
1627
+ "type": {
1628
+ "text": "boolean | undefined"
1629
+ },
1630
+ "description": "Hides Badge icon",
1631
+ "fieldName": "hideIcon"
1632
+ }
1633
+ ],
1634
+ "superclass": {
1635
+ "name": "LitElement",
1636
+ "package": "lit"
1637
+ },
1638
+ "tagName": "bm-badge",
1639
+ "customElement": true
1640
+ }
1641
+ ],
1642
+ "exports": [
1643
+ {
1644
+ "kind": "js",
1645
+ "name": "BmBadge",
1646
+ "declaration": {
1647
+ "name": "BmBadge",
1648
+ "module": "libs/web-components/src/lib/Badge/Badge.ts"
1649
+ }
1650
+ },
1651
+ {
1652
+ "kind": "custom-element-definition",
1653
+ "name": "bm-badge",
1654
+ "declaration": {
1655
+ "name": "BmBadge",
1656
+ "module": "libs/web-components/src/lib/Badge/Badge.ts"
1657
+ }
1658
+ }
1659
+ ]
1660
+ },
1661
+ {
1662
+ "kind": "javascript-module",
1663
+ "path": "libs/web-components/src/lib/Badge/index.ts",
1664
+ "declarations": [],
1665
+ "exports": [
1666
+ {
1667
+ "kind": "js",
1668
+ "name": "*",
1669
+ "declaration": {
1670
+ "name": "*",
1671
+ "package": "./Badge"
1672
+ }
1673
+ }
1674
+ ]
1675
+ },
1676
+ {
1677
+ "kind": "javascript-module",
1678
+ "path": "libs/web-components/src/lib/Button/Button.ts",
1679
+ "declarations": [
1680
+ {
1681
+ "kind": "class",
1682
+ "description": "`bm-button`\n\n### Attributes:\n- **appearance** - Specify the appearance of a Button\n- **kind** - Specify the kind of Button\n- **size** - Specify the size of a Button\n- **disabled** - Specify if the Button is disabled\n- **fluid** - Specify if Button is fluid\n- **width** - Specify the width of a Button\n- **height** - Specify the height of a Button\n- **theme** - Specify the theme of the Button\n- **iconOnly** - Specify if the icon displays without text\n- **type** ",
1683
+ "name": "BmButton",
1684
+ "slots": [
1685
+ {
1686
+ "description": "Provide content for the Button",
1687
+ "name": "default"
1688
+ },
1689
+ {
1690
+ "description": "Specify if the Button displays icon before the text",
1691
+ "name": "iconBefore"
1692
+ },
1693
+ {
1694
+ "description": "Specify if the Button displays icon after the text",
1695
+ "name": "iconAfter"
1696
+ }
1697
+ ],
1698
+ "members": [
1699
+ {
1700
+ "kind": "field",
1701
+ "name": "formAssociated",
1702
+ "type": {
1703
+ "text": "boolean"
1704
+ },
1705
+ "static": true,
1706
+ "default": "true"
1707
+ },
1708
+ {
1709
+ "kind": "field",
1710
+ "name": "appearance",
1711
+ "type": {
1712
+ "text": "'accent' | 'neutral' | 'neutral-subtle' | 'destructive'"
1713
+ },
1714
+ "default": "'accent'",
1715
+ "description": "Specify the appearance of a Button",
1716
+ "attribute": "appearance"
1717
+ },
1718
+ {
1719
+ "kind": "field",
1720
+ "name": "kind",
1721
+ "type": {
1722
+ "text": "'filled' | 'outline' | 'ghost' | 'bare'"
1723
+ },
1724
+ "default": "'filled'",
1725
+ "description": "Specify the kind of Button",
1726
+ "attribute": "kind"
1727
+ },
1728
+ {
1729
+ "kind": "field",
1730
+ "name": "size",
1731
+ "type": {
1732
+ "text": "'sm' | 'md' | 'lg'"
1733
+ },
1734
+ "default": "'md'",
1735
+ "description": "Specify the size of a Button",
1736
+ "attribute": "size"
1737
+ },
1738
+ {
1739
+ "kind": "field",
1740
+ "name": "disabled",
1741
+ "type": {
1742
+ "text": "boolean"
1743
+ },
1744
+ "default": "false",
1745
+ "description": "Specify if the Button is disabled",
1746
+ "attribute": "disabled"
1747
+ },
1748
+ {
1749
+ "kind": "field",
1750
+ "name": "fluid",
1751
+ "type": {
1752
+ "text": "boolean"
1753
+ },
1754
+ "default": "false",
1755
+ "description": "Specify if Button is fluid",
1756
+ "attribute": "fluid"
1757
+ },
1758
+ {
1759
+ "kind": "field",
1760
+ "name": "width",
1761
+ "type": {
1762
+ "text": "string | undefined"
1763
+ },
1764
+ "description": "Specify the width of a Button",
1765
+ "attribute": "width"
1766
+ },
1767
+ {
1768
+ "kind": "field",
1769
+ "name": "height",
1770
+ "type": {
1771
+ "text": "string | undefined"
1772
+ },
1773
+ "description": "Specify the height of a Button",
1774
+ "attribute": "height"
1775
+ },
1776
+ {
1777
+ "kind": "field",
1778
+ "name": "theme",
1779
+ "type": {
1780
+ "text": "'light' | 'dark' | undefined"
1781
+ },
1782
+ "description": "Specify the theme of the Button",
1783
+ "attribute": "theme"
1784
+ },
1785
+ {
1786
+ "kind": "field",
1787
+ "name": "iconOnly",
1788
+ "type": {
1789
+ "text": "boolean | undefined"
1671
1790
  },
1672
1791
  "description": "Specify if the icon displays without text",
1673
1792
  "attribute": "iconOnly"
@@ -1820,448 +1939,329 @@
1820
1939
  },
1821
1940
  {
1822
1941
  "kind": "javascript-module",
1823
- "path": "libs/web-components/src/lib/Box/Box.ts",
1942
+ "path": "libs/web-components/src/lib/Alert/Alert.ts",
1824
1943
  "declarations": [
1825
1944
  {
1826
1945
  "kind": "class",
1827
- "description": "`bm-box`\n\n### Attributes:\n- **backgroundColor** - Specify the background color of a Box\n- **borderColor** - Specify the border color of a Box\n- **borderWidth** - Specify the border width of a Box\n- **borderRadius** - Specify the border radius of a Box\n- **px** - Specify before and after padding of a Box\n- **py** - Specify top and bottom padding of a Box\n- **pTop** - Specify top padding of a Box\n- **pBottom** - Specify bottom padding of a Box\n- **pBefore** - Specify before padding of a Box\n- **pAfter** - Specify after padding of a Box\n- **mx** - Specify before and after margin of a Box\n- **my** - Specify top and bottom margin of a Box\n- **mTop** - Specify top margin of a Box\n- **mBottom** - Specify bottom margin of a Box\n- **mBefore** - Specify before margin of a Box\n- **mAfter** - Specify after margin of a Box\n- **m** - Specify all margin\n- **p** - Specify all padding\n- **gap** - Specify gap between child elements\n- **shadow** - Specify if a Box has a shadow",
1828
- "name": "BmBox",
1946
+ "description": "`bm-alert`\n\n### Attributes:\n- **heading** - Specify the heading text for Alert\n- **body** - Specify the body text for Alert\n- **size** - Specify the size of the Alert\n- **fullWidth** - Specify if the Alert has no border radius\n- **theme** - Specify the theme of the Alert. By default it inherits the theme from the parent\n- **appearance** - Specify the appearance of the Alert\n- **hidden** - Specify if the Alert is hidden\n- **hideIcon** - Specify if the icon displays on the Alert\n- **dismissible** - Specify if the Alert can be dismissed\n- **disableAutoFocus** - Prevent autofocus on show\n- **disableCloseOnEscape** - Prevent Escape from closing",
1947
+ "name": "BmAlert",
1829
1948
  "slots": [
1830
1949
  {
1831
- "description": "Provide content for the Box",
1832
- "name": "default"
1950
+ "description": "Specify a different icon for the Alert",
1951
+ "name": "icon"
1952
+ },
1953
+ {
1954
+ "description": "Specify the heading text for Alert or pass the `heading` attribute to set the heading",
1955
+ "name": "heading"
1956
+ },
1957
+ {
1958
+ "description": "Specify the body text for Alert or pass the `body` attribute to set the body",
1959
+ "name": "body"
1960
+ },
1961
+ {
1962
+ "description": "Specify if actions display on the Alert",
1963
+ "name": "actions"
1833
1964
  }
1834
1965
  ],
1835
1966
  "members": [
1836
1967
  {
1837
1968
  "kind": "field",
1838
- "name": "backgroundColor",
1969
+ "name": "heading",
1839
1970
  "type": {
1840
- "text": "'positive' | 'warning' | 'negative' | 'inverse' | 'selected' | 'expressive' | '00' | '00-alt' | '01' | '02' | '03' | 'info-primary' | 'info-secondary' | 'positive-strong' | 'warning-strong' | 'negative-strong' | 'info-primary-strong' | 'info-secondary-strong' | 'selected-subtle' | 'highlight' | 'transparent' | 'expressive-stronger' | 'expressive-inverse' | undefined"
1971
+ "text": "string | undefined"
1841
1972
  },
1842
- "description": "Specify the background color of a Box",
1843
- "attribute": "backgroundColor"
1973
+ "description": "Specify the heading text for Alert",
1974
+ "attribute": "heading"
1844
1975
  },
1845
1976
  {
1846
1977
  "kind": "field",
1847
- "name": "borderColor",
1978
+ "name": "body",
1848
1979
  "type": {
1849
- "text": "'positive' | 'warning' | 'negative' | 'inverse' | 'selected' | 'expressive' | 'strong' | '00' | '00-alt' | '01' | '02' | '03' | 'info-primary' | 'info-secondary' | 'positive-strong' | 'warning-strong' | 'negative-strong' | 'info-primary-strong' | 'info-secondary-strong' | 'transparent' | 'expressive-stronger' | 'focus' | undefined"
1980
+ "text": "string | undefined"
1850
1981
  },
1851
- "description": "Specify the border color of a Box",
1852
- "attribute": "borderColor"
1982
+ "description": "Specify the body text for Alert",
1983
+ "attribute": "body"
1853
1984
  },
1854
1985
  {
1855
1986
  "kind": "field",
1856
- "name": "borderWidth",
1987
+ "name": "size",
1857
1988
  "type": {
1858
- "text": "'md' | 'lg' | 'xl' | 'none' | 'divider' | undefined"
1989
+ "text": "'sm' | 'md'"
1859
1990
  },
1860
- "description": "Specify the border width of a Box",
1861
- "attribute": "borderWidth"
1991
+ "default": "'sm'",
1992
+ "description": "Specify the size of the Alert",
1993
+ "attribute": "size"
1862
1994
  },
1863
1995
  {
1864
1996
  "kind": "field",
1865
- "name": "borderRadius",
1997
+ "name": "fullWidth",
1866
1998
  "type": {
1867
- "text": "'xs' | 'sm' | 'md' | 'lg' | 'none' | 'round' | undefined"
1999
+ "text": "boolean"
1868
2000
  },
1869
- "description": "Specify the border radius of a Box",
1870
- "attribute": "borderRadius"
2001
+ "default": "false",
2002
+ "description": "Specify if the Alert has no border radius",
2003
+ "attribute": "fullWidth"
1871
2004
  },
1872
2005
  {
1873
2006
  "kind": "field",
1874
- "name": "px",
2007
+ "name": "theme",
1875
2008
  "type": {
1876
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
2009
+ "text": "'light' | 'dark' | undefined"
1877
2010
  },
1878
- "description": "Specify before and after padding of a Box",
1879
- "attribute": "px"
2011
+ "description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
2012
+ "attribute": "theme"
1880
2013
  },
1881
2014
  {
1882
2015
  "kind": "field",
1883
- "name": "py",
2016
+ "name": "appearance",
1884
2017
  "type": {
1885
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
2018
+ "text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
1886
2019
  },
1887
- "description": "Specify top and bottom padding of a Box",
1888
- "attribute": "py"
2020
+ "default": "'infoPrimary'",
2021
+ "description": "Specify the appearance of the Alert",
2022
+ "attribute": "appearance"
1889
2023
  },
1890
2024
  {
1891
2025
  "kind": "field",
1892
- "name": "pTop",
2026
+ "name": "hidden",
1893
2027
  "type": {
1894
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
2028
+ "text": "boolean"
1895
2029
  },
1896
- "description": "Specify top padding of a Box",
1897
- "attribute": "pTop"
2030
+ "default": "false",
2031
+ "description": "Specify if the Alert is hidden",
2032
+ "attribute": "hidden"
1898
2033
  },
1899
2034
  {
1900
2035
  "kind": "field",
1901
- "name": "pBottom",
2036
+ "name": "hideIcon",
1902
2037
  "type": {
1903
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
2038
+ "text": "boolean"
1904
2039
  },
1905
- "description": "Specify bottom padding of a Box",
1906
- "attribute": "pBottom"
2040
+ "default": "false",
2041
+ "description": "Specify if the icon displays on the Alert",
2042
+ "attribute": "hideIcon"
1907
2043
  },
1908
2044
  {
1909
2045
  "kind": "field",
1910
- "name": "pBefore",
2046
+ "name": "dismissible",
1911
2047
  "type": {
1912
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
2048
+ "text": "boolean"
1913
2049
  },
1914
- "description": "Specify before padding of a Box",
1915
- "attribute": "pBefore"
2050
+ "default": "false",
2051
+ "description": "Specify if the Alert can be dismissed",
2052
+ "attribute": "dismissible"
1916
2053
  },
1917
2054
  {
1918
2055
  "kind": "field",
1919
- "name": "pAfter",
2056
+ "name": "disableAutoFocus",
1920
2057
  "type": {
1921
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
2058
+ "text": "boolean"
1922
2059
  },
1923
- "description": "Specify after padding of a Box",
1924
- "attribute": "pAfter"
2060
+ "default": "false",
2061
+ "description": "Prevent autofocus on show",
2062
+ "attribute": "disableAutoFocus"
1925
2063
  },
1926
2064
  {
1927
2065
  "kind": "field",
1928
- "name": "mx",
2066
+ "name": "disableCloseOnEscape",
1929
2067
  "type": {
1930
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
2068
+ "text": "boolean"
1931
2069
  },
1932
- "description": "Specify before and after margin of a Box",
1933
- "attribute": "mx"
1934
- },
2070
+ "default": "false",
2071
+ "description": "Prevent Escape from closing",
2072
+ "attribute": "disableCloseOnEscape"
2073
+ }
2074
+ ],
2075
+ "events": [
1935
2076
  {
1936
- "kind": "field",
1937
- "name": "my",
1938
- "type": {
1939
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
1940
- },
1941
- "description": "Specify top and bottom margin of a Box",
1942
- "attribute": "my"
1943
- },
2077
+ "description": "Dispatched when the Alert has been dismissed",
2078
+ "name": "bm-dismiss"
2079
+ }
2080
+ ],
2081
+ "attributes": [
1944
2082
  {
1945
- "kind": "field",
1946
- "name": "mTop",
2083
+ "name": "heading",
1947
2084
  "type": {
1948
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
2085
+ "text": "string | undefined"
1949
2086
  },
1950
- "description": "Specify top margin of a Box",
1951
- "attribute": "mTop"
2087
+ "description": "Specify the heading text for Alert",
2088
+ "fieldName": "heading"
1952
2089
  },
1953
2090
  {
1954
- "kind": "field",
1955
- "name": "mBottom",
2091
+ "name": "body",
1956
2092
  "type": {
1957
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
2093
+ "text": "string | undefined"
1958
2094
  },
1959
- "description": "Specify bottom margin of a Box",
1960
- "attribute": "mBottom"
2095
+ "description": "Specify the body text for Alert",
2096
+ "fieldName": "body"
1961
2097
  },
1962
2098
  {
1963
- "kind": "field",
1964
- "name": "mBefore",
2099
+ "name": "size",
1965
2100
  "type": {
1966
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
2101
+ "text": "'sm' | 'md'"
1967
2102
  },
1968
- "description": "Specify before margin of a Box",
1969
- "attribute": "mBefore"
2103
+ "default": "'sm'",
2104
+ "description": "Specify the size of the Alert",
2105
+ "fieldName": "size"
1970
2106
  },
1971
2107
  {
1972
- "kind": "field",
1973
- "name": "mAfter",
2108
+ "name": "fullWidth",
1974
2109
  "type": {
1975
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
2110
+ "text": "boolean"
1976
2111
  },
1977
- "description": "Specify after margin of a Box",
1978
- "attribute": "mAfter"
2112
+ "default": "false",
2113
+ "description": "Specify if the Alert has no border radius",
2114
+ "fieldName": "fullWidth"
1979
2115
  },
1980
2116
  {
1981
- "kind": "field",
1982
- "name": "m",
2117
+ "name": "theme",
1983
2118
  "type": {
1984
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
2119
+ "text": "'light' | 'dark' | undefined"
1985
2120
  },
1986
- "description": "Specify all margin",
1987
- "attribute": "m"
2121
+ "description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
2122
+ "fieldName": "theme"
1988
2123
  },
1989
2124
  {
1990
- "kind": "field",
1991
- "name": "p",
2125
+ "name": "appearance",
1992
2126
  "type": {
1993
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
2127
+ "text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
1994
2128
  },
1995
- "description": "Specify all padding",
1996
- "attribute": "p"
2129
+ "default": "'infoPrimary'",
2130
+ "description": "Specify the appearance of the Alert",
2131
+ "fieldName": "appearance"
1997
2132
  },
1998
2133
  {
1999
- "kind": "field",
2000
- "name": "gap",
2134
+ "name": "hidden",
2001
2135
  "type": {
2002
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
2136
+ "text": "boolean"
2003
2137
  },
2004
- "description": "Specify gap between child elements",
2005
- "attribute": "gap"
2138
+ "default": "false",
2139
+ "description": "Specify if the Alert is hidden",
2140
+ "fieldName": "hidden"
2006
2141
  },
2007
2142
  {
2008
- "kind": "field",
2009
- "name": "shadow",
2010
- "type": {
2011
- "text": "'sm' | 'md' | 'lg' | 'none' | 'overlay' | undefined"
2012
- },
2013
- "description": "Specify if a Box has a shadow",
2014
- "attribute": "shadow"
2015
- }
2016
- ],
2017
- "attributes": [
2018
- {
2019
- "name": "backgroundColor",
2143
+ "name": "hideIcon",
2020
2144
  "type": {
2021
- "text": "'positive' | 'warning' | 'negative' | 'inverse' | 'selected' | 'expressive' | '00' | '00-alt' | '01' | '02' | '03' | 'info-primary' | 'info-secondary' | 'positive-strong' | 'warning-strong' | 'negative-strong' | 'info-primary-strong' | 'info-secondary-strong' | 'selected-subtle' | 'highlight' | 'transparent' | 'expressive-stronger' | 'expressive-inverse' | undefined"
2145
+ "text": "boolean"
2022
2146
  },
2023
- "description": "Specify the background color of a Box",
2024
- "fieldName": "backgroundColor"
2147
+ "default": "false",
2148
+ "description": "Specify if the icon displays on the Alert",
2149
+ "fieldName": "hideIcon"
2025
2150
  },
2026
2151
  {
2027
- "name": "borderColor",
2152
+ "name": "dismissible",
2028
2153
  "type": {
2029
- "text": "'positive' | 'warning' | 'negative' | 'inverse' | 'selected' | 'expressive' | 'strong' | '00' | '00-alt' | '01' | '02' | '03' | 'info-primary' | 'info-secondary' | 'positive-strong' | 'warning-strong' | 'negative-strong' | 'info-primary-strong' | 'info-secondary-strong' | 'transparent' | 'expressive-stronger' | 'focus' | undefined"
2154
+ "text": "boolean"
2030
2155
  },
2031
- "description": "Specify the border color of a Box",
2032
- "fieldName": "borderColor"
2156
+ "default": "false",
2157
+ "description": "Specify if the Alert can be dismissed",
2158
+ "fieldName": "dismissible"
2033
2159
  },
2034
2160
  {
2035
- "name": "borderWidth",
2161
+ "name": "disableAutoFocus",
2036
2162
  "type": {
2037
- "text": "'md' | 'lg' | 'xl' | 'none' | 'divider' | undefined"
2163
+ "text": "boolean"
2038
2164
  },
2039
- "description": "Specify the border width of a Box",
2040
- "fieldName": "borderWidth"
2165
+ "default": "false",
2166
+ "description": "Prevent autofocus on show",
2167
+ "fieldName": "disableAutoFocus"
2041
2168
  },
2042
2169
  {
2043
- "name": "borderRadius",
2170
+ "name": "disableCloseOnEscape",
2044
2171
  "type": {
2045
- "text": "'xs' | 'sm' | 'md' | 'lg' | 'none' | 'round' | undefined"
2172
+ "text": "boolean"
2046
2173
  },
2047
- "description": "Specify the border radius of a Box",
2048
- "fieldName": "borderRadius"
2049
- },
2174
+ "default": "false",
2175
+ "description": "Prevent Escape from closing",
2176
+ "fieldName": "disableCloseOnEscape"
2177
+ }
2178
+ ],
2179
+ "superclass": {
2180
+ "name": "LitElement",
2181
+ "package": "lit"
2182
+ },
2183
+ "tagName": "bm-alert",
2184
+ "customElement": true
2185
+ }
2186
+ ],
2187
+ "exports": [
2188
+ {
2189
+ "kind": "js",
2190
+ "name": "BmAlert",
2191
+ "declaration": {
2192
+ "name": "BmAlert",
2193
+ "module": "libs/web-components/src/lib/Alert/Alert.ts"
2194
+ }
2195
+ },
2196
+ {
2197
+ "kind": "custom-element-definition",
2198
+ "name": "bm-alert",
2199
+ "declaration": {
2200
+ "name": "BmAlert",
2201
+ "module": "libs/web-components/src/lib/Alert/Alert.ts"
2202
+ }
2203
+ }
2204
+ ]
2205
+ },
2206
+ {
2207
+ "kind": "javascript-module",
2208
+ "path": "libs/web-components/src/lib/Alert/index.ts",
2209
+ "declarations": [],
2210
+ "exports": [
2211
+ {
2212
+ "kind": "js",
2213
+ "name": "*",
2214
+ "declaration": {
2215
+ "name": "*",
2216
+ "package": "./Alert"
2217
+ }
2218
+ }
2219
+ ]
2220
+ },
2221
+ {
2222
+ "kind": "javascript-module",
2223
+ "path": "libs/web-components/src/lib/CloseButton/CloseButton.ts",
2224
+ "declarations": [
2225
+ {
2226
+ "kind": "class",
2227
+ "description": "`bm-close-button`\n\n### Attributes:\n- **size** - Specify the size of the CloseButton\n- **disabled** - Specify if the CloseButton is disabled",
2228
+ "name": "BmCloseButton",
2229
+ "members": [
2050
2230
  {
2051
- "name": "px",
2231
+ "kind": "field",
2232
+ "name": "size",
2052
2233
  "type": {
2053
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
2234
+ "text": "'xs' | 'sm' | 'md' | 'lg' | 'xl'"
2054
2235
  },
2055
- "description": "Specify before and after padding of a Box",
2056
- "fieldName": "px"
2236
+ "default": "'md'",
2237
+ "description": "Specify the size of the CloseButton",
2238
+ "attribute": "size"
2057
2239
  },
2058
2240
  {
2059
- "name": "py",
2241
+ "kind": "field",
2242
+ "name": "disabled",
2060
2243
  "type": {
2061
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
2244
+ "text": "boolean"
2062
2245
  },
2063
- "description": "Specify top and bottom padding of a Box",
2064
- "fieldName": "py"
2065
- },
2246
+ "default": "false",
2247
+ "description": "Specify if the CloseButton is disabled",
2248
+ "attribute": "disabled"
2249
+ }
2250
+ ],
2251
+ "attributes": [
2066
2252
  {
2067
- "name": "pTop",
2253
+ "name": "size",
2068
2254
  "type": {
2069
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
2255
+ "text": "'xs' | 'sm' | 'md' | 'lg' | 'xl'"
2070
2256
  },
2071
- "description": "Specify top padding of a Box",
2072
- "fieldName": "pTop"
2257
+ "default": "'md'",
2258
+ "description": "Specify the size of the CloseButton",
2259
+ "fieldName": "size"
2073
2260
  },
2074
2261
  {
2075
- "name": "pBottom",
2262
+ "name": "disabled",
2076
2263
  "type": {
2077
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
2078
- },
2079
- "description": "Specify bottom padding of a Box",
2080
- "fieldName": "pBottom"
2081
- },
2082
- {
2083
- "name": "pBefore",
2084
- "type": {
2085
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
2086
- },
2087
- "description": "Specify before padding of a Box",
2088
- "fieldName": "pBefore"
2089
- },
2090
- {
2091
- "name": "pAfter",
2092
- "type": {
2093
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
2094
- },
2095
- "description": "Specify after padding of a Box",
2096
- "fieldName": "pAfter"
2097
- },
2098
- {
2099
- "name": "mx",
2100
- "type": {
2101
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
2102
- },
2103
- "description": "Specify before and after margin of a Box",
2104
- "fieldName": "mx"
2105
- },
2106
- {
2107
- "name": "my",
2108
- "type": {
2109
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
2110
- },
2111
- "description": "Specify top and bottom margin of a Box",
2112
- "fieldName": "my"
2113
- },
2114
- {
2115
- "name": "mTop",
2116
- "type": {
2117
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
2118
- },
2119
- "description": "Specify top margin of a Box",
2120
- "fieldName": "mTop"
2121
- },
2122
- {
2123
- "name": "mBottom",
2124
- "type": {
2125
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
2126
- },
2127
- "description": "Specify bottom margin of a Box",
2128
- "fieldName": "mBottom"
2129
- },
2130
- {
2131
- "name": "mBefore",
2132
- "type": {
2133
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
2134
- },
2135
- "description": "Specify before margin of a Box",
2136
- "fieldName": "mBefore"
2137
- },
2138
- {
2139
- "name": "mAfter",
2140
- "type": {
2141
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
2142
- },
2143
- "description": "Specify after margin of a Box",
2144
- "fieldName": "mAfter"
2145
- },
2146
- {
2147
- "name": "m",
2148
- "type": {
2149
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
2150
- },
2151
- "description": "Specify all margin",
2152
- "fieldName": "m"
2153
- },
2154
- {
2155
- "name": "p",
2156
- "type": {
2157
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
2158
- },
2159
- "description": "Specify all padding",
2160
- "fieldName": "p"
2161
- },
2162
- {
2163
- "name": "gap",
2164
- "type": {
2165
- "text": "'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800' | undefined"
2166
- },
2167
- "description": "Specify gap between child elements",
2168
- "fieldName": "gap"
2169
- },
2170
- {
2171
- "name": "shadow",
2172
- "type": {
2173
- "text": "'sm' | 'md' | 'lg' | 'none' | 'overlay' | undefined"
2174
- },
2175
- "description": "Specify if a Box has a shadow",
2176
- "fieldName": "shadow"
2177
- }
2178
- ],
2179
- "superclass": {
2180
- "name": "LitElement",
2181
- "package": "lit"
2182
- },
2183
- "tagName": "bm-box",
2184
- "customElement": true
2185
- }
2186
- ],
2187
- "exports": [
2188
- {
2189
- "kind": "js",
2190
- "name": "BmBox",
2191
- "declaration": {
2192
- "name": "BmBox",
2193
- "module": "libs/web-components/src/lib/Box/Box.ts"
2194
- }
2195
- },
2196
- {
2197
- "kind": "custom-element-definition",
2198
- "name": "bm-box",
2199
- "declaration": {
2200
- "name": "BmBox",
2201
- "module": "libs/web-components/src/lib/Box/Box.ts"
2202
- }
2203
- }
2204
- ]
2205
- },
2206
- {
2207
- "kind": "javascript-module",
2208
- "path": "libs/web-components/src/lib/Box/index.ts",
2209
- "declarations": [],
2210
- "exports": [
2211
- {
2212
- "kind": "js",
2213
- "name": "*",
2214
- "declaration": {
2215
- "name": "*",
2216
- "package": "./Box"
2217
- }
2218
- }
2219
- ]
2220
- },
2221
- {
2222
- "kind": "javascript-module",
2223
- "path": "libs/web-components/src/lib/CloseButton/CloseButton.ts",
2224
- "declarations": [
2225
- {
2226
- "kind": "class",
2227
- "description": "`bm-close-button`\n\n### Attributes:\n- **size** - Specify the size of the CloseButton\n- **disabled** - Specify if the CloseButton is disabled",
2228
- "name": "BmCloseButton",
2229
- "members": [
2230
- {
2231
- "kind": "field",
2232
- "name": "size",
2233
- "type": {
2234
- "text": "'xs' | 'sm' | 'md' | 'lg' | 'xl'"
2235
- },
2236
- "default": "'md'",
2237
- "description": "Specify the size of the CloseButton",
2238
- "attribute": "size"
2239
- },
2240
- {
2241
- "kind": "field",
2242
- "name": "disabled",
2243
- "type": {
2244
- "text": "boolean"
2245
- },
2246
- "default": "false",
2247
- "description": "Specify if the CloseButton is disabled",
2248
- "attribute": "disabled"
2249
- }
2250
- ],
2251
- "attributes": [
2252
- {
2253
- "name": "size",
2254
- "type": {
2255
- "text": "'xs' | 'sm' | 'md' | 'lg' | 'xl'"
2256
- },
2257
- "default": "'md'",
2258
- "description": "Specify the size of the CloseButton",
2259
- "fieldName": "size"
2260
- },
2261
- {
2262
- "name": "disabled",
2263
- "type": {
2264
- "text": "boolean"
2264
+ "text": "boolean"
2265
2265
  },
2266
2266
  "default": "false",
2267
2267
  "description": "Specify if the CloseButton is disabled",
@@ -7898,123 +7898,126 @@
7898
7898
  },
7899
7899
  {
7900
7900
  "kind": "javascript-module",
7901
- "path": "libs/web-components/src/lib/wip/NativeSelect/NativeSelect.ts",
7901
+ "path": "libs/web-components/src/lib/wip/Form/Form.context.ts",
7902
+ "declarations": [
7903
+ {
7904
+ "kind": "variable",
7905
+ "name": "bmFormInitials",
7906
+ "type": {
7907
+ "text": "BmFormContext"
7908
+ },
7909
+ "default": "{ required: false, disabled: false, readOnly: false, initialValues: {}, registerField: () => undefined, formBlurHandler: () => undefined, formChangeHandler: () => undefined, }"
7910
+ },
7911
+ {
7912
+ "kind": "variable",
7913
+ "name": "bmFormContext"
7914
+ }
7915
+ ],
7916
+ "exports": [
7917
+ {
7918
+ "kind": "js",
7919
+ "name": "bmFormInitials",
7920
+ "declaration": {
7921
+ "name": "bmFormInitials",
7922
+ "module": "libs/web-components/src/lib/wip/Form/Form.context.ts"
7923
+ }
7924
+ },
7925
+ {
7926
+ "kind": "js",
7927
+ "name": "bmFormContext",
7928
+ "declaration": {
7929
+ "name": "bmFormContext",
7930
+ "module": "libs/web-components/src/lib/wip/Form/Form.context.ts"
7931
+ }
7932
+ }
7933
+ ]
7934
+ },
7935
+ {
7936
+ "kind": "javascript-module",
7937
+ "path": "libs/web-components/src/lib/wip/Form/Form.decorator.ts",
7902
7938
  "declarations": [
7903
7939
  {
7904
7940
  "kind": "class",
7905
- "description": "### Attributes:\n- **required** - Specify if NativeSelect is a required input\n- **readOnly** - Specify if NativeSelect displays in a read-only state\n- **disabled** - Specify if NativeSelect displays in a disabled state\n- **error** - Specify error text and display error state of a NativeSelect\n- **fluid** - Specify if NativeSelect is fluid\n- **size** - Specify the size of NativeSelect\n- **width** - Specify the width of NativeSelect\n- **ellipse** - Specify if overflow displays ellipsis\n- **hideRequiredMarker** - Specify if the NativeSelect displays with an asterisk\n- **theme** - Specify the theme of the NativeSelect. By default it inherits the theme from the parent",
7906
- "name": "BmNativeSelect",
7907
- "slots": [
7908
- {
7909
- "description": "Specify Options for NativeSelect",
7910
- "name": "slot"
7911
- },
7912
- {
7913
- "description": "Specify Label for NativeSelect",
7914
- "name": "label"
7915
- },
7916
- {
7917
- "description": "Specify HelperText for NativeSelect",
7918
- "name": "helper-text"
7919
- }
7920
- ],
7941
+ "description": "### Attributes:\n- **id** \n- **name** \n- **value** \n- **validationRules** \n- **input-aria-label** ",
7942
+ "name": "FormField",
7921
7943
  "members": [
7922
7944
  {
7923
7945
  "kind": "field",
7924
- "name": "required",
7946
+ "name": "formAssociated",
7925
7947
  "type": {
7926
7948
  "text": "boolean"
7927
7949
  },
7928
- "default": "false",
7929
- "description": "Specify if NativeSelect is a required input",
7930
- "attribute": "required"
7950
+ "static": true,
7951
+ "default": "true"
7931
7952
  },
7932
7953
  {
7933
7954
  "kind": "field",
7934
- "name": "readOnly",
7955
+ "name": "id",
7935
7956
  "type": {
7936
- "text": "boolean"
7957
+ "text": "string"
7937
7958
  },
7938
- "default": "false",
7939
- "description": "Specify if NativeSelect displays in a read-only state",
7940
- "attribute": "readOnly"
7941
- },
7942
- {
7943
- "kind": "field",
7944
- "name": "disabled",
7945
- "type": {
7946
- "text": "boolean"
7947
- },
7948
- "default": "false",
7949
- "description": "Specify if NativeSelect displays in a disabled state",
7950
- "attribute": "disabled"
7959
+ "default": "''",
7960
+ "attribute": "id"
7951
7961
  },
7952
7962
  {
7953
7963
  "kind": "field",
7954
- "name": "error",
7964
+ "name": "name",
7955
7965
  "type": {
7956
- "text": "string | undefined"
7966
+ "text": "string"
7957
7967
  },
7958
- "description": "Specify error text and display error state of a NativeSelect",
7959
- "attribute": "error"
7968
+ "default": "''",
7969
+ "attribute": "name"
7960
7970
  },
7961
7971
  {
7962
7972
  "kind": "field",
7963
- "name": "fluid",
7973
+ "name": "value",
7964
7974
  "type": {
7965
- "text": "boolean"
7975
+ "text": "string"
7966
7976
  },
7967
- "default": "false",
7968
- "description": "Specify if NativeSelect is fluid",
7969
- "attribute": "fluid"
7977
+ "default": "''",
7978
+ "attribute": "value"
7970
7979
  },
7971
7980
  {
7972
7981
  "kind": "field",
7973
- "name": "size",
7982
+ "name": "validationRules",
7974
7983
  "type": {
7975
- "text": "'sm' | 'md' | 'lg'"
7984
+ "text": "Array<FormValidator>"
7976
7985
  },
7977
- "default": "defaultInputSize",
7978
- "description": "Specify the size of NativeSelect",
7979
- "attribute": "size"
7986
+ "default": "[]",
7987
+ "attribute": "validationRules"
7980
7988
  },
7981
7989
  {
7982
7990
  "kind": "field",
7983
- "name": "width",
7991
+ "name": "inputAriaLabel",
7984
7992
  "type": {
7985
7993
  "text": "string | undefined"
7986
7994
  },
7987
- "description": "Specify the width of NativeSelect",
7988
- "attribute": "width"
7995
+ "attribute": "input-aria-label"
7989
7996
  },
7990
7997
  {
7991
7998
  "kind": "field",
7992
- "name": "ellipse",
7999
+ "name": "formContext",
7993
8000
  "type": {
7994
- "text": "boolean"
7995
- },
7996
- "default": "true",
7997
- "description": "Specify if overflow displays ellipsis",
7998
- "attribute": "ellipse"
8001
+ "text": "BmFormContext"
8002
+ }
7999
8003
  },
8000
8004
  {
8001
- "kind": "field",
8002
- "name": "hideRequiredMarker",
8003
- "type": {
8004
- "text": "boolean"
8005
- },
8006
- "default": "false",
8007
- "description": "Specify if the NativeSelect displays with an asterisk",
8008
- "attribute": "hideRequiredMarker"
8005
+ "kind": "method",
8006
+ "name": "formAssociatedCallback",
8007
+ "return": {
8008
+ "type": {
8009
+ "text": "void"
8010
+ }
8011
+ }
8009
8012
  },
8010
8013
  {
8011
- "kind": "field",
8012
- "name": "theme",
8013
- "type": {
8014
- "text": "'light' | 'dark' | undefined"
8015
- },
8016
- "description": "Specify the theme of the NativeSelect. By default it inherits the theme from the parent",
8017
- "attribute": "theme"
8014
+ "kind": "method",
8015
+ "name": "formResetCallback",
8016
+ "return": {
8017
+ "type": {
8018
+ "text": "void"
8019
+ }
8020
+ }
8018
8021
  },
8019
8022
  {
8020
8023
  "kind": "method",
@@ -8026,311 +8029,337 @@
8026
8029
  },
8027
8030
  "parameters": [
8028
8031
  {
8029
- "name": "value",
8032
+ "name": "ctxValue",
8030
8033
  "type": {
8031
8034
  "text": "string"
8032
8035
  }
8033
8036
  }
8034
- ],
8035
- "inheritedFrom": {
8036
- "name": "FormField",
8037
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8038
- }
8039
- },
8040
- {
8041
- "kind": "field",
8042
- "name": "formAssociated",
8043
- "type": {
8044
- "text": "boolean"
8045
- },
8046
- "static": true,
8047
- "default": "true",
8048
- "inheritedFrom": {
8049
- "name": "FormField",
8050
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8051
- }
8052
- },
8037
+ ]
8038
+ }
8039
+ ],
8040
+ "attributes": [
8053
8041
  {
8054
- "kind": "field",
8055
8042
  "name": "id",
8056
8043
  "type": {
8057
8044
  "text": "string"
8058
8045
  },
8059
8046
  "default": "''",
8060
- "attribute": "id",
8061
- "inheritedFrom": {
8062
- "name": "FormField",
8063
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8064
- }
8047
+ "fieldName": "id"
8065
8048
  },
8066
8049
  {
8067
- "kind": "field",
8068
8050
  "name": "name",
8069
8051
  "type": {
8070
8052
  "text": "string"
8071
8053
  },
8072
8054
  "default": "''",
8073
- "attribute": "name",
8074
- "inheritedFrom": {
8075
- "name": "FormField",
8076
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8077
- }
8055
+ "fieldName": "name"
8078
8056
  },
8079
8057
  {
8080
- "kind": "field",
8081
8058
  "name": "value",
8082
8059
  "type": {
8083
8060
  "text": "string"
8084
8061
  },
8085
8062
  "default": "''",
8086
- "attribute": "value",
8087
- "inheritedFrom": {
8088
- "name": "FormField",
8089
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8090
- }
8063
+ "fieldName": "value"
8091
8064
  },
8092
8065
  {
8093
- "kind": "field",
8094
8066
  "name": "validationRules",
8095
8067
  "type": {
8096
8068
  "text": "Array<FormValidator>"
8097
8069
  },
8098
8070
  "default": "[]",
8099
- "attribute": "validationRules",
8100
- "inheritedFrom": {
8101
- "name": "FormField",
8102
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8103
- }
8071
+ "fieldName": "validationRules"
8104
8072
  },
8105
8073
  {
8106
- "kind": "field",
8107
- "name": "inputAriaLabel",
8074
+ "name": "input-aria-label",
8108
8075
  "type": {
8109
8076
  "text": "string | undefined"
8110
8077
  },
8111
- "attribute": "input-aria-label",
8112
- "inheritedFrom": {
8113
- "name": "FormField",
8114
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8115
- }
8116
- },
8078
+ "fieldName": "inputAriaLabel"
8079
+ }
8080
+ ],
8081
+ "superclass": {
8082
+ "name": "LitElement",
8083
+ "package": "lit"
8084
+ },
8085
+ "customElement": true
8086
+ }
8087
+ ],
8088
+ "exports": [
8089
+ {
8090
+ "kind": "js",
8091
+ "name": "FormField",
8092
+ "declaration": {
8093
+ "name": "FormField",
8094
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8095
+ }
8096
+ }
8097
+ ]
8098
+ },
8099
+ {
8100
+ "kind": "javascript-module",
8101
+ "path": "libs/web-components/src/lib/wip/Form/Form.ts",
8102
+ "declarations": [
8103
+ {
8104
+ "kind": "class",
8105
+ "description": "### Attributes:\n- **validationMode** - Specify if validation runs on change or when loosing focus\n- **initialValues** - Specify initial values on Form controls based on their names\n- **required** - Specify if input is a required\n- **disabled** - Specify if input is a disabled\n- **readOnly** - Specify if input is a read only\n- **action** \n- **method** \n- **target** \n- **enctype** ",
8106
+ "name": "BmForm",
8107
+ "slots": [
8108
+ {
8109
+ "description": "Add controls to the Form",
8110
+ "name": "slot"
8111
+ }
8112
+ ],
8113
+ "members": [
8117
8114
  {
8118
8115
  "kind": "field",
8119
- "name": "formContext",
8116
+ "name": "validationMode",
8120
8117
  "type": {
8121
- "text": "BmFormContext"
8118
+ "text": "'onChange' | 'onBlur' | 'onSubmit'"
8122
8119
  },
8123
- "inheritedFrom": {
8124
- "name": "FormField",
8125
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8126
- }
8120
+ "default": "'onBlur'",
8121
+ "description": "Specify if validation runs on change or when loosing focus",
8122
+ "attribute": "validationMode"
8127
8123
  },
8128
8124
  {
8129
- "kind": "method",
8130
- "name": "formAssociatedCallback",
8131
- "return": {
8132
- "type": {
8133
- "text": "void"
8134
- }
8125
+ "kind": "field",
8126
+ "name": "initialValues",
8127
+ "type": {
8128
+ "text": "Record<string, FormValue>"
8135
8129
  },
8136
- "inheritedFrom": {
8137
- "name": "FormField",
8138
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8139
- }
8130
+ "default": "{}",
8131
+ "description": "Specify initial values on Form controls based on their names",
8132
+ "attribute": "initialValues"
8140
8133
  },
8141
8134
  {
8142
- "kind": "method",
8143
- "name": "formResetCallback",
8144
- "return": {
8145
- "type": {
8146
- "text": "void"
8147
- }
8148
- },
8149
- "inheritedFrom": {
8150
- "name": "FormField",
8151
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8152
- }
8153
- }
8154
- ],
8155
- "attributes": [
8156
- {
8135
+ "kind": "field",
8157
8136
  "name": "required",
8158
8137
  "type": {
8159
8138
  "text": "boolean"
8160
8139
  },
8161
8140
  "default": "false",
8162
- "description": "Specify if NativeSelect is a required input",
8163
- "fieldName": "required"
8141
+ "description": "Specify if input is a required",
8142
+ "attribute": "required"
8164
8143
  },
8165
8144
  {
8166
- "name": "readOnly",
8145
+ "kind": "field",
8146
+ "name": "disabled",
8167
8147
  "type": {
8168
8148
  "text": "boolean"
8169
8149
  },
8170
8150
  "default": "false",
8171
- "description": "Specify if NativeSelect displays in a read-only state",
8172
- "fieldName": "readOnly"
8151
+ "description": "Specify if input is a disabled",
8152
+ "attribute": "disabled"
8173
8153
  },
8174
8154
  {
8175
- "name": "disabled",
8155
+ "kind": "field",
8156
+ "name": "readOnly",
8176
8157
  "type": {
8177
8158
  "text": "boolean"
8178
8159
  },
8179
8160
  "default": "false",
8180
- "description": "Specify if NativeSelect displays in a disabled state",
8181
- "fieldName": "disabled"
8161
+ "description": "Specify if input is a read only",
8162
+ "attribute": "readOnly"
8182
8163
  },
8183
8164
  {
8184
- "name": "error",
8165
+ "kind": "field",
8166
+ "name": "action",
8185
8167
  "type": {
8186
8168
  "text": "string | undefined"
8187
8169
  },
8188
- "description": "Specify error text and display error state of a NativeSelect",
8189
- "fieldName": "error"
8170
+ "attribute": "action"
8190
8171
  },
8191
8172
  {
8192
- "name": "fluid",
8173
+ "kind": "field",
8174
+ "name": "method",
8193
8175
  "type": {
8194
- "text": "boolean"
8176
+ "text": "string | undefined"
8195
8177
  },
8196
- "default": "false",
8197
- "description": "Specify if NativeSelect is fluid",
8198
- "fieldName": "fluid"
8178
+ "attribute": "method"
8199
8179
  },
8200
8180
  {
8201
- "name": "size",
8181
+ "kind": "field",
8182
+ "name": "target",
8202
8183
  "type": {
8203
- "text": "'sm' | 'md' | 'lg'"
8184
+ "text": "string | undefined"
8204
8185
  },
8205
- "default": "defaultInputSize",
8206
- "description": "Specify the size of NativeSelect",
8207
- "fieldName": "size"
8186
+ "attribute": "target"
8208
8187
  },
8209
8188
  {
8210
- "name": "width",
8189
+ "kind": "field",
8190
+ "name": "enctype",
8211
8191
  "type": {
8212
8192
  "text": "string | undefined"
8213
8193
  },
8214
- "description": "Specify the width of NativeSelect",
8215
- "fieldName": "width"
8194
+ "attribute": "enctype"
8216
8195
  },
8217
8196
  {
8218
- "name": "ellipse",
8197
+ "kind": "field",
8198
+ "name": "formMeta",
8219
8199
  "type": {
8220
- "text": "boolean"
8200
+ "text": "Record<string, FieldMeta>"
8221
8201
  },
8222
- "default": "true",
8223
- "description": "Specify if overflow displays ellipsis",
8224
- "fieldName": "ellipse"
8202
+ "default": "{}"
8225
8203
  },
8226
8204
  {
8227
- "name": "hideRequiredMarker",
8205
+ "kind": "field",
8206
+ "name": "formRef"
8207
+ },
8208
+ {
8209
+ "kind": "field",
8210
+ "name": "formContext",
8211
+ "type": {
8212
+ "text": "BmFormContext"
8213
+ },
8214
+ "privacy": "public",
8215
+ "default": "bmFormInitials"
8216
+ }
8217
+ ],
8218
+ "events": [
8219
+ {
8220
+ "description": "Validates the inputs and submits the form",
8221
+ "name": "submit"
8222
+ }
8223
+ ],
8224
+ "attributes": [
8225
+ {
8226
+ "name": "validationMode",
8227
+ "type": {
8228
+ "text": "'onChange' | 'onBlur' | 'onSubmit'"
8229
+ },
8230
+ "default": "'onBlur'",
8231
+ "description": "Specify if validation runs on change or when loosing focus",
8232
+ "fieldName": "validationMode"
8233
+ },
8234
+ {
8235
+ "name": "initialValues",
8236
+ "type": {
8237
+ "text": "Record<string, FormValue>"
8238
+ },
8239
+ "default": "{}",
8240
+ "description": "Specify initial values on Form controls based on their names",
8241
+ "fieldName": "initialValues"
8242
+ },
8243
+ {
8244
+ "name": "required",
8228
8245
  "type": {
8229
8246
  "text": "boolean"
8230
8247
  },
8231
8248
  "default": "false",
8232
- "description": "Specify if the NativeSelect displays with an asterisk",
8233
- "fieldName": "hideRequiredMarker"
8249
+ "description": "Specify if input is a required",
8250
+ "fieldName": "required"
8234
8251
  },
8235
8252
  {
8236
- "name": "theme",
8253
+ "name": "disabled",
8237
8254
  "type": {
8238
- "text": "'light' | 'dark' | undefined"
8255
+ "text": "boolean"
8239
8256
  },
8240
- "description": "Specify the theme of the NativeSelect. By default it inherits the theme from the parent",
8241
- "fieldName": "theme"
8257
+ "default": "false",
8258
+ "description": "Specify if input is a disabled",
8259
+ "fieldName": "disabled"
8242
8260
  },
8243
8261
  {
8244
- "name": "id",
8262
+ "name": "readOnly",
8245
8263
  "type": {
8246
- "text": "string"
8264
+ "text": "boolean"
8247
8265
  },
8248
- "default": "''",
8249
- "fieldName": "id",
8250
- "inheritedFrom": {
8251
- "name": "FormField",
8252
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8253
- }
8266
+ "default": "false",
8267
+ "description": "Specify if input is a read only",
8268
+ "fieldName": "readOnly"
8254
8269
  },
8255
8270
  {
8256
- "name": "name",
8271
+ "name": "action",
8257
8272
  "type": {
8258
- "text": "string"
8273
+ "text": "string | undefined"
8259
8274
  },
8260
- "default": "''",
8261
- "fieldName": "name",
8262
- "inheritedFrom": {
8263
- "name": "FormField",
8264
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8265
- }
8275
+ "fieldName": "action"
8266
8276
  },
8267
8277
  {
8268
- "name": "value",
8278
+ "name": "method",
8269
8279
  "type": {
8270
- "text": "string"
8280
+ "text": "string | undefined"
8271
8281
  },
8272
- "default": "''",
8273
- "fieldName": "value",
8274
- "inheritedFrom": {
8275
- "name": "FormField",
8276
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8277
- }
8282
+ "fieldName": "method"
8278
8283
  },
8279
8284
  {
8280
- "name": "validationRules",
8285
+ "name": "target",
8281
8286
  "type": {
8282
- "text": "Array<FormValidator>"
8287
+ "text": "string | undefined"
8283
8288
  },
8284
- "default": "[]",
8285
- "fieldName": "validationRules",
8286
- "inheritedFrom": {
8287
- "name": "FormField",
8288
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8289
- }
8289
+ "fieldName": "target"
8290
8290
  },
8291
8291
  {
8292
- "name": "input-aria-label",
8292
+ "name": "enctype",
8293
8293
  "type": {
8294
8294
  "text": "string | undefined"
8295
8295
  },
8296
- "fieldName": "inputAriaLabel",
8297
- "inheritedFrom": {
8298
- "name": "FormField",
8299
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8300
- }
8296
+ "fieldName": "enctype"
8301
8297
  }
8302
8298
  ],
8303
8299
  "superclass": {
8304
- "name": "FormField",
8305
- "module": "/libs/web-components/src/lib/wip/Form/Form.decorator"
8300
+ "name": "LitElement",
8301
+ "package": "lit"
8306
8302
  },
8307
- "summary": "`bm-native-select`",
8308
- "tagName": "bm-native-select",
8303
+ "summary": "`bm-form`",
8304
+ "tagName": "bm-form",
8309
8305
  "customElement": true
8310
8306
  }
8311
8307
  ],
8312
8308
  "exports": [
8313
8309
  {
8314
8310
  "kind": "js",
8315
- "name": "BmNativeSelect",
8311
+ "name": "validators",
8316
8312
  "declaration": {
8317
- "name": "BmNativeSelect",
8318
- "module": "libs/web-components/src/lib/wip/NativeSelect/NativeSelect.ts"
8313
+ "name": "validators",
8314
+ "package": "@viasat/beam-shared/components/form"
8315
+ }
8316
+ },
8317
+ {
8318
+ "kind": "js",
8319
+ "name": "BmForm",
8320
+ "declaration": {
8321
+ "name": "BmForm",
8322
+ "module": "libs/web-components/src/lib/wip/Form/Form.ts"
8319
8323
  }
8320
8324
  },
8321
8325
  {
8322
8326
  "kind": "custom-element-definition",
8323
- "name": "bm-native-select",
8327
+ "name": "bm-form",
8324
8328
  "declaration": {
8325
- "name": "BmNativeSelect",
8326
- "module": "libs/web-components/src/lib/wip/NativeSelect/NativeSelect.ts"
8329
+ "name": "BmForm",
8330
+ "module": "libs/web-components/src/lib/wip/Form/Form.ts"
8327
8331
  }
8328
8332
  }
8329
8333
  ]
8330
8334
  },
8331
8335
  {
8332
8336
  "kind": "javascript-module",
8333
- "path": "libs/web-components/src/lib/wip/NativeSelect/index.ts",
8337
+ "path": "libs/web-components/src/lib/wip/Form/Form.utils.ts",
8338
+ "declarations": [
8339
+ {
8340
+ "kind": "function",
8341
+ "name": "createId",
8342
+ "return": {
8343
+ "type": {
8344
+ "text": "string"
8345
+ }
8346
+ }
8347
+ }
8348
+ ],
8349
+ "exports": [
8350
+ {
8351
+ "kind": "js",
8352
+ "name": "createId",
8353
+ "declaration": {
8354
+ "name": "createId",
8355
+ "module": "libs/web-components/src/lib/wip/Form/Form.utils.ts"
8356
+ }
8357
+ }
8358
+ ]
8359
+ },
8360
+ {
8361
+ "kind": "javascript-module",
8362
+ "path": "libs/web-components/src/lib/wip/Form/index.ts",
8334
8363
  "declarations": [],
8335
8364
  "exports": [
8336
8365
  {
@@ -8338,729 +8367,661 @@
8338
8367
  "name": "*",
8339
8368
  "declaration": {
8340
8369
  "name": "*",
8341
- "package": "./NativeSelect"
8370
+ "package": "./Form"
8371
+ }
8372
+ },
8373
+ {
8374
+ "kind": "js",
8375
+ "name": "*",
8376
+ "declaration": {
8377
+ "name": "*",
8378
+ "package": "./Form.decorator"
8342
8379
  }
8343
8380
  }
8344
8381
  ]
8345
8382
  },
8346
8383
  {
8347
8384
  "kind": "javascript-module",
8348
- "path": "libs/web-components/src/lib/wip/RadioButton/RadioButton.ts",
8385
+ "path": "libs/web-components/src/lib/wip/NativeSelect/NativeSelect.ts",
8349
8386
  "declarations": [
8350
8387
  {
8351
8388
  "kind": "class",
8352
- "description": "`bm-radio-button`\n\n### Attributes:\n- **label** - Specify the text for the label\n- **error** - Specify error text and display error state of a RadioButton\n- **readOnly** - Specify if RadioButton displays in a read-only state\n- **disabled** - Specify if RadioButton displays in a disabled state\n- **theme** - Specify the theme of the RadioButton. By default it inherits the theme from the parent\n- **value** - The value attribute for the input element\n- **checked** - The checked attribute for the input element\n- **onKeyDown** - A user-defined function to handle keydown events",
8353
- "name": "BmRadioButton",
8354
- "members": [
8389
+ "description": "### Attributes:\n- **required** - Specify if NativeSelect is a required input\n- **readOnly** - Specify if NativeSelect displays in a read-only state\n- **disabled** - Specify if NativeSelect displays in a disabled state\n- **error** - Specify error text and display error state of a NativeSelect\n- **fluid** - Specify if NativeSelect is fluid\n- **size** - Specify the size of NativeSelect\n- **width** - Specify the width of NativeSelect\n- **ellipse** - Specify if overflow displays ellipsis\n- **hideRequiredMarker** - Specify if the NativeSelect displays with an asterisk\n- **theme** - Specify the theme of the NativeSelect. By default it inherits the theme from the parent",
8390
+ "name": "BmNativeSelect",
8391
+ "slots": [
8355
8392
  {
8356
- "kind": "field",
8357
- "name": "label",
8358
- "type": {
8359
- "text": "string | undefined"
8360
- },
8361
- "description": "Specify the text for the label",
8362
- "attribute": "label"
8393
+ "description": "Specify Options for NativeSelect",
8394
+ "name": "slot"
8395
+ },
8396
+ {
8397
+ "description": "Specify Label for NativeSelect",
8398
+ "name": "label"
8363
8399
  },
8400
+ {
8401
+ "description": "Specify HelperText for NativeSelect",
8402
+ "name": "helper-text"
8403
+ }
8404
+ ],
8405
+ "members": [
8364
8406
  {
8365
8407
  "kind": "field",
8366
- "name": "error",
8408
+ "name": "required",
8367
8409
  "type": {
8368
- "text": "boolean | undefined"
8410
+ "text": "boolean"
8369
8411
  },
8370
- "description": "Specify error text and display error state of a RadioButton",
8371
- "attribute": "error"
8412
+ "default": "false",
8413
+ "description": "Specify if NativeSelect is a required input",
8414
+ "attribute": "required"
8372
8415
  },
8373
8416
  {
8374
8417
  "kind": "field",
8375
8418
  "name": "readOnly",
8376
8419
  "type": {
8377
- "text": "boolean | undefined"
8420
+ "text": "boolean"
8378
8421
  },
8379
- "description": "Specify if RadioButton displays in a read-only state",
8422
+ "default": "false",
8423
+ "description": "Specify if NativeSelect displays in a read-only state",
8380
8424
  "attribute": "readOnly"
8381
8425
  },
8382
8426
  {
8383
8427
  "kind": "field",
8384
8428
  "name": "disabled",
8385
8429
  "type": {
8386
- "text": "boolean | undefined"
8430
+ "text": "boolean"
8387
8431
  },
8388
- "description": "Specify if RadioButton displays in a disabled state",
8432
+ "default": "false",
8433
+ "description": "Specify if NativeSelect displays in a disabled state",
8389
8434
  "attribute": "disabled"
8390
8435
  },
8391
8436
  {
8392
8437
  "kind": "field",
8393
- "name": "theme",
8438
+ "name": "error",
8394
8439
  "type": {
8395
- "text": "'light' | 'dark' | undefined"
8440
+ "text": "string | undefined"
8396
8441
  },
8397
- "description": "Specify the theme of the RadioButton. By default it inherits the theme from the parent",
8398
- "attribute": "theme"
8442
+ "description": "Specify error text and display error state of a NativeSelect",
8443
+ "attribute": "error"
8399
8444
  },
8400
8445
  {
8401
8446
  "kind": "field",
8402
- "name": "value",
8447
+ "name": "fluid",
8403
8448
  "type": {
8404
- "text": "string | undefined"
8405
- },
8406
- "description": "The value attribute for the input element",
8407
- "attribute": "value"
8408
- },
8409
- {
8410
- "kind": "field",
8411
- "name": "checked",
8412
- "type": {
8413
- "text": "boolean"
8449
+ "text": "boolean"
8414
8450
  },
8415
8451
  "default": "false",
8416
- "description": "The checked attribute for the input element",
8417
- "attribute": "checked"
8452
+ "description": "Specify if NativeSelect is fluid",
8453
+ "attribute": "fluid"
8418
8454
  },
8419
8455
  {
8420
8456
  "kind": "field",
8421
- "name": "onKeyDown",
8457
+ "name": "size",
8422
8458
  "type": {
8423
- "text": "(event: KeyboardEvent) => void | undefined"
8459
+ "text": "'sm' | 'md' | 'lg'"
8424
8460
  },
8425
- "description": "A user-defined function to handle keydown events",
8426
- "attribute": "onKeyDown"
8427
- },
8428
- {
8429
- "kind": "field",
8430
- "name": "inputChoiceGroupContext",
8431
- "type": {
8432
- "text": "InputChoiceGroupContextProps"
8433
- }
8461
+ "default": "defaultInputSize",
8462
+ "description": "Specify the size of NativeSelect",
8463
+ "attribute": "size"
8434
8464
  },
8435
8465
  {
8436
8466
  "kind": "field",
8437
- "name": "radioButtonRef"
8438
- },
8439
- {
8440
- "kind": "method",
8441
- "name": "focus"
8442
- }
8443
- ],
8444
- "attributes": [
8445
- {
8446
- "name": "label",
8467
+ "name": "width",
8447
8468
  "type": {
8448
8469
  "text": "string | undefined"
8449
8470
  },
8450
- "description": "Specify the text for the label",
8451
- "fieldName": "label"
8452
- },
8453
- {
8454
- "name": "error",
8455
- "type": {
8456
- "text": "boolean | undefined"
8457
- },
8458
- "description": "Specify error text and display error state of a RadioButton",
8459
- "fieldName": "error"
8471
+ "description": "Specify the width of NativeSelect",
8472
+ "attribute": "width"
8460
8473
  },
8461
8474
  {
8462
- "name": "readOnly",
8475
+ "kind": "field",
8476
+ "name": "ellipse",
8463
8477
  "type": {
8464
- "text": "boolean | undefined"
8478
+ "text": "boolean"
8465
8479
  },
8466
- "description": "Specify if RadioButton displays in a read-only state",
8467
- "fieldName": "readOnly"
8480
+ "default": "true",
8481
+ "description": "Specify if overflow displays ellipsis",
8482
+ "attribute": "ellipse"
8468
8483
  },
8469
8484
  {
8470
- "name": "disabled",
8485
+ "kind": "field",
8486
+ "name": "hideRequiredMarker",
8471
8487
  "type": {
8472
- "text": "boolean | undefined"
8488
+ "text": "boolean"
8473
8489
  },
8474
- "description": "Specify if RadioButton displays in a disabled state",
8475
- "fieldName": "disabled"
8490
+ "default": "false",
8491
+ "description": "Specify if the NativeSelect displays with an asterisk",
8492
+ "attribute": "hideRequiredMarker"
8476
8493
  },
8477
8494
  {
8495
+ "kind": "field",
8478
8496
  "name": "theme",
8479
8497
  "type": {
8480
8498
  "text": "'light' | 'dark' | undefined"
8481
8499
  },
8482
- "description": "Specify the theme of the RadioButton. By default it inherits the theme from the parent",
8483
- "fieldName": "theme"
8500
+ "description": "Specify the theme of the NativeSelect. By default it inherits the theme from the parent",
8501
+ "attribute": "theme"
8484
8502
  },
8485
8503
  {
8486
- "name": "value",
8487
- "type": {
8488
- "text": "string | undefined"
8504
+ "kind": "method",
8505
+ "name": "finalizeAssociatedCallback",
8506
+ "return": {
8507
+ "type": {
8508
+ "text": "FinalizeAssociatedResult"
8509
+ }
8489
8510
  },
8490
- "description": "The value attribute for the input element",
8491
- "fieldName": "value"
8511
+ "parameters": [
8512
+ {
8513
+ "name": "value",
8514
+ "type": {
8515
+ "text": "string"
8516
+ }
8517
+ }
8518
+ ],
8519
+ "inheritedFrom": {
8520
+ "name": "FormField",
8521
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8522
+ }
8492
8523
  },
8493
8524
  {
8494
- "name": "checked",
8525
+ "kind": "field",
8526
+ "name": "formAssociated",
8495
8527
  "type": {
8496
8528
  "text": "boolean"
8497
8529
  },
8498
- "default": "false",
8499
- "description": "The checked attribute for the input element",
8500
- "fieldName": "checked"
8530
+ "static": true,
8531
+ "default": "true",
8532
+ "inheritedFrom": {
8533
+ "name": "FormField",
8534
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8535
+ }
8501
8536
  },
8502
8537
  {
8503
- "name": "onKeyDown",
8538
+ "kind": "field",
8539
+ "name": "id",
8504
8540
  "type": {
8505
- "text": "(event: KeyboardEvent) => void | undefined"
8541
+ "text": "string"
8506
8542
  },
8507
- "description": "A user-defined function to handle keydown events",
8508
- "fieldName": "onKeyDown"
8509
- }
8510
- ],
8511
- "superclass": {
8512
- "name": "LitElement",
8513
- "package": "lit"
8514
- },
8515
- "tagName": "bm-radio-button",
8516
- "customElement": true
8517
- }
8518
- ],
8519
- "exports": [
8520
- {
8521
- "kind": "js",
8522
- "name": "BmRadioButton",
8523
- "declaration": {
8524
- "name": "BmRadioButton",
8525
- "module": "libs/web-components/src/lib/wip/RadioButton/RadioButton.ts"
8526
- }
8527
- },
8528
- {
8529
- "kind": "custom-element-definition",
8530
- "name": "bm-radio-button",
8531
- "declaration": {
8532
- "name": "BmRadioButton",
8533
- "module": "libs/web-components/src/lib/wip/RadioButton/RadioButton.ts"
8534
- }
8535
- }
8536
- ]
8537
- },
8538
- {
8539
- "kind": "javascript-module",
8540
- "path": "libs/web-components/src/lib/wip/RadioButton/index.ts",
8541
- "declarations": [],
8542
- "exports": [
8543
- {
8544
- "kind": "js",
8545
- "name": "*",
8546
- "declaration": {
8547
- "name": "*",
8548
- "package": "./RadioButton"
8549
- }
8550
- },
8551
- {
8552
- "kind": "js",
8553
- "name": "*",
8554
- "declaration": {
8555
- "name": "*",
8556
- "package": "./RadioButtonGroup/RadioButtonGroup"
8557
- }
8558
- }
8559
- ]
8560
- },
8561
- {
8562
- "kind": "javascript-module",
8563
- "path": "libs/web-components/src/lib/wip/TextArea/TextArea.ts",
8564
- "declarations": [
8565
- {
8566
- "kind": "class",
8567
- "description": "### Attributes:\n- **rows** - Specify the height of TextArea\n- **cols** - Specify the width of TextArea\n- **placeholder** - Specify placeholder text for TextArea\n- **required** - Specify if TextArea is a required input\n- **hideRequiredMarker** - Specify if the TextArea displays with an asterisk\n- **error** - Specify error text and display error state of a TextArea\n- **readOnly** - Specify if TextArea displays in a read-only state\n- **disabled** - Specify if TextArea displays in a disabled state\n- **fluid** - Specify if TextArea is fluid\n- **width** - Specify the width of TextArea\n- **hideResize** - Specify if TextArea can be manually resized\n- **maxCount** - Specify the maximum character count for the TextArea\n- **autoResize** - Specify if the TextArea automatically resizes to fit the text\n- **theme** - Specify the theme of the TextArea. By default it inherits the theme from the parent",
8568
- "name": "BmTextArea",
8569
- "slots": [
8570
- {
8571
- "description": "Specify the label for TextArea",
8572
- "name": "label"
8543
+ "default": "''",
8544
+ "attribute": "id",
8545
+ "inheritedFrom": {
8546
+ "name": "FormField",
8547
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8548
+ }
8573
8549
  },
8574
- {
8575
- "description": "Specify the helper text for TextArea",
8576
- "name": "helper-text"
8577
- }
8578
- ],
8579
- "members": [
8580
8550
  {
8581
8551
  "kind": "field",
8582
- "name": "rows",
8552
+ "name": "name",
8583
8553
  "type": {
8584
- "text": "number | undefined"
8554
+ "text": "string"
8585
8555
  },
8586
- "description": "Specify the height of TextArea",
8587
- "attribute": "rows"
8556
+ "default": "''",
8557
+ "attribute": "name",
8558
+ "inheritedFrom": {
8559
+ "name": "FormField",
8560
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8561
+ }
8588
8562
  },
8589
8563
  {
8590
8564
  "kind": "field",
8591
- "name": "cols",
8565
+ "name": "value",
8592
8566
  "type": {
8593
- "text": "number | undefined"
8567
+ "text": "string"
8594
8568
  },
8595
- "description": "Specify the width of TextArea",
8596
- "attribute": "cols"
8569
+ "default": "''",
8570
+ "attribute": "value",
8571
+ "inheritedFrom": {
8572
+ "name": "FormField",
8573
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8574
+ }
8597
8575
  },
8598
8576
  {
8599
8577
  "kind": "field",
8600
- "name": "placeholder",
8578
+ "name": "validationRules",
8601
8579
  "type": {
8602
- "text": "string | undefined"
8580
+ "text": "Array<FormValidator>"
8603
8581
  },
8604
- "description": "Specify placeholder text for TextArea",
8605
- "attribute": "placeholder"
8582
+ "default": "[]",
8583
+ "attribute": "validationRules",
8584
+ "inheritedFrom": {
8585
+ "name": "FormField",
8586
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8587
+ }
8606
8588
  },
8607
8589
  {
8608
8590
  "kind": "field",
8609
- "name": "required",
8591
+ "name": "inputAriaLabel",
8610
8592
  "type": {
8611
- "text": "boolean"
8593
+ "text": "string | undefined"
8612
8594
  },
8613
- "default": "false",
8614
- "description": "Specify if TextArea is a required input",
8615
- "attribute": "required"
8595
+ "attribute": "input-aria-label",
8596
+ "inheritedFrom": {
8597
+ "name": "FormField",
8598
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8599
+ }
8616
8600
  },
8617
8601
  {
8618
8602
  "kind": "field",
8619
- "name": "hideRequiredMarker",
8603
+ "name": "formContext",
8620
8604
  "type": {
8621
- "text": "boolean"
8605
+ "text": "BmFormContext"
8622
8606
  },
8623
- "default": "false",
8624
- "description": "Specify if the TextArea displays with an asterisk",
8625
- "attribute": "hideRequiredMarker"
8607
+ "inheritedFrom": {
8608
+ "name": "FormField",
8609
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8610
+ }
8626
8611
  },
8627
8612
  {
8628
- "kind": "field",
8629
- "name": "error",
8630
- "type": {
8631
- "text": "string | undefined"
8613
+ "kind": "method",
8614
+ "name": "formAssociatedCallback",
8615
+ "return": {
8616
+ "type": {
8617
+ "text": "void"
8618
+ }
8632
8619
  },
8633
- "description": "Specify error text and display error state of a TextArea",
8634
- "attribute": "error"
8620
+ "inheritedFrom": {
8621
+ "name": "FormField",
8622
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8623
+ }
8635
8624
  },
8636
8625
  {
8637
- "kind": "field",
8638
- "name": "readOnly",
8626
+ "kind": "method",
8627
+ "name": "formResetCallback",
8628
+ "return": {
8629
+ "type": {
8630
+ "text": "void"
8631
+ }
8632
+ },
8633
+ "inheritedFrom": {
8634
+ "name": "FormField",
8635
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8636
+ }
8637
+ }
8638
+ ],
8639
+ "attributes": [
8640
+ {
8641
+ "name": "required",
8639
8642
  "type": {
8640
8643
  "text": "boolean"
8641
8644
  },
8642
8645
  "default": "false",
8643
- "description": "Specify if TextArea displays in a read-only state",
8644
- "attribute": "readOnly"
8646
+ "description": "Specify if NativeSelect is a required input",
8647
+ "fieldName": "required"
8645
8648
  },
8646
8649
  {
8647
- "kind": "field",
8648
- "name": "disabled",
8650
+ "name": "readOnly",
8649
8651
  "type": {
8650
8652
  "text": "boolean"
8651
8653
  },
8652
8654
  "default": "false",
8653
- "description": "Specify if TextArea displays in a disabled state",
8654
- "attribute": "disabled"
8655
+ "description": "Specify if NativeSelect displays in a read-only state",
8656
+ "fieldName": "readOnly"
8655
8657
  },
8656
8658
  {
8657
- "kind": "field",
8658
- "name": "fluid",
8659
+ "name": "disabled",
8659
8660
  "type": {
8660
8661
  "text": "boolean"
8661
8662
  },
8662
8663
  "default": "false",
8663
- "description": "Specify if TextArea is fluid",
8664
- "attribute": "fluid"
8664
+ "description": "Specify if NativeSelect displays in a disabled state",
8665
+ "fieldName": "disabled"
8665
8666
  },
8666
8667
  {
8667
- "kind": "field",
8668
- "name": "width",
8668
+ "name": "error",
8669
8669
  "type": {
8670
8670
  "text": "string | undefined"
8671
8671
  },
8672
- "description": "Specify the width of TextArea",
8673
- "attribute": "width"
8672
+ "description": "Specify error text and display error state of a NativeSelect",
8673
+ "fieldName": "error"
8674
8674
  },
8675
8675
  {
8676
- "kind": "field",
8677
- "name": "hideResize",
8676
+ "name": "fluid",
8678
8677
  "type": {
8679
8678
  "text": "boolean"
8680
8679
  },
8681
8680
  "default": "false",
8682
- "description": "Specify if TextArea can be manually resized",
8683
- "attribute": "hideResize"
8681
+ "description": "Specify if NativeSelect is fluid",
8682
+ "fieldName": "fluid"
8684
8683
  },
8685
8684
  {
8686
- "kind": "field",
8687
- "name": "maxCount",
8685
+ "name": "size",
8688
8686
  "type": {
8689
- "text": "number | undefined"
8687
+ "text": "'sm' | 'md' | 'lg'"
8690
8688
  },
8691
- "description": "Specify the maximum character count for the TextArea",
8692
- "attribute": "maxCount"
8689
+ "default": "defaultInputSize",
8690
+ "description": "Specify the size of NativeSelect",
8691
+ "fieldName": "size"
8693
8692
  },
8694
8693
  {
8695
- "kind": "field",
8696
- "name": "autoResize",
8694
+ "name": "width",
8697
8695
  "type": {
8698
- "text": "boolean"
8696
+ "text": "string | undefined"
8699
8697
  },
8700
- "default": "false",
8701
- "description": "Specify if the TextArea automatically resizes to fit the text",
8702
- "attribute": "autoResize"
8698
+ "description": "Specify the width of NativeSelect",
8699
+ "fieldName": "width"
8703
8700
  },
8704
8701
  {
8705
- "kind": "field",
8706
- "name": "theme",
8702
+ "name": "ellipse",
8707
8703
  "type": {
8708
- "text": "'light' | 'dark' | undefined"
8704
+ "text": "boolean"
8709
8705
  },
8710
- "description": "Specify the theme of the TextArea. By default it inherits the theme from the parent",
8711
- "attribute": "theme"
8712
- },
8713
- {
8714
- "kind": "field",
8715
- "name": "formFieldCounterRef"
8706
+ "default": "true",
8707
+ "description": "Specify if overflow displays ellipsis",
8708
+ "fieldName": "ellipse"
8716
8709
  },
8717
8710
  {
8718
- "kind": "method",
8719
- "name": "finalizeAssociatedCallback",
8720
- "return": {
8721
- "type": {
8722
- "text": "FinalizeAssociatedResult"
8723
- }
8711
+ "name": "hideRequiredMarker",
8712
+ "type": {
8713
+ "text": "boolean"
8724
8714
  },
8725
- "parameters": [
8726
- {
8727
- "name": "value",
8728
- "type": {
8729
- "text": "string"
8730
- }
8731
- }
8732
- ],
8733
- "inheritedFrom": {
8734
- "name": "FormField",
8735
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8736
- }
8715
+ "default": "false",
8716
+ "description": "Specify if the NativeSelect displays with an asterisk",
8717
+ "fieldName": "hideRequiredMarker"
8737
8718
  },
8738
8719
  {
8739
- "kind": "field",
8740
- "name": "formAssociated",
8720
+ "name": "theme",
8741
8721
  "type": {
8742
- "text": "boolean"
8722
+ "text": "'light' | 'dark' | undefined"
8743
8723
  },
8744
- "static": true,
8745
- "default": "true",
8746
- "inheritedFrom": {
8747
- "name": "FormField",
8748
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8749
- }
8724
+ "description": "Specify the theme of the NativeSelect. By default it inherits the theme from the parent",
8725
+ "fieldName": "theme"
8750
8726
  },
8751
8727
  {
8752
- "kind": "field",
8753
8728
  "name": "id",
8754
8729
  "type": {
8755
8730
  "text": "string"
8756
8731
  },
8757
8732
  "default": "''",
8758
- "attribute": "id",
8733
+ "fieldName": "id",
8759
8734
  "inheritedFrom": {
8760
8735
  "name": "FormField",
8761
8736
  "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8762
8737
  }
8763
8738
  },
8764
8739
  {
8765
- "kind": "field",
8766
8740
  "name": "name",
8767
8741
  "type": {
8768
8742
  "text": "string"
8769
8743
  },
8770
8744
  "default": "''",
8771
- "attribute": "name",
8745
+ "fieldName": "name",
8772
8746
  "inheritedFrom": {
8773
8747
  "name": "FormField",
8774
8748
  "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8775
8749
  }
8776
8750
  },
8777
8751
  {
8778
- "kind": "field",
8779
8752
  "name": "value",
8780
8753
  "type": {
8781
8754
  "text": "string"
8782
8755
  },
8783
8756
  "default": "''",
8784
- "attribute": "value",
8757
+ "fieldName": "value",
8785
8758
  "inheritedFrom": {
8786
8759
  "name": "FormField",
8787
8760
  "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8788
8761
  }
8789
8762
  },
8790
8763
  {
8791
- "kind": "field",
8792
8764
  "name": "validationRules",
8793
8765
  "type": {
8794
8766
  "text": "Array<FormValidator>"
8795
8767
  },
8796
8768
  "default": "[]",
8797
- "attribute": "validationRules",
8769
+ "fieldName": "validationRules",
8798
8770
  "inheritedFrom": {
8799
8771
  "name": "FormField",
8800
8772
  "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8801
8773
  }
8802
8774
  },
8803
8775
  {
8804
- "kind": "field",
8805
- "name": "inputAriaLabel",
8776
+ "name": "input-aria-label",
8806
8777
  "type": {
8807
8778
  "text": "string | undefined"
8808
8779
  },
8809
- "attribute": "input-aria-label",
8780
+ "fieldName": "inputAriaLabel",
8810
8781
  "inheritedFrom": {
8811
8782
  "name": "FormField",
8812
8783
  "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8813
8784
  }
8814
- },
8785
+ }
8786
+ ],
8787
+ "superclass": {
8788
+ "name": "FormField",
8789
+ "module": "/libs/web-components/src/lib/wip/Form/Form.decorator"
8790
+ },
8791
+ "summary": "`bm-native-select`",
8792
+ "tagName": "bm-native-select",
8793
+ "customElement": true
8794
+ }
8795
+ ],
8796
+ "exports": [
8797
+ {
8798
+ "kind": "js",
8799
+ "name": "BmNativeSelect",
8800
+ "declaration": {
8801
+ "name": "BmNativeSelect",
8802
+ "module": "libs/web-components/src/lib/wip/NativeSelect/NativeSelect.ts"
8803
+ }
8804
+ },
8805
+ {
8806
+ "kind": "custom-element-definition",
8807
+ "name": "bm-native-select",
8808
+ "declaration": {
8809
+ "name": "BmNativeSelect",
8810
+ "module": "libs/web-components/src/lib/wip/NativeSelect/NativeSelect.ts"
8811
+ }
8812
+ }
8813
+ ]
8814
+ },
8815
+ {
8816
+ "kind": "javascript-module",
8817
+ "path": "libs/web-components/src/lib/wip/NativeSelect/index.ts",
8818
+ "declarations": [],
8819
+ "exports": [
8820
+ {
8821
+ "kind": "js",
8822
+ "name": "*",
8823
+ "declaration": {
8824
+ "name": "*",
8825
+ "package": "./NativeSelect"
8826
+ }
8827
+ }
8828
+ ]
8829
+ },
8830
+ {
8831
+ "kind": "javascript-module",
8832
+ "path": "libs/web-components/src/lib/wip/RadioButton/RadioButton.ts",
8833
+ "declarations": [
8834
+ {
8835
+ "kind": "class",
8836
+ "description": "`bm-radio-button`\n\n### Attributes:\n- **label** - Specify the text for the label\n- **error** - Specify error text and display error state of a RadioButton\n- **readOnly** - Specify if RadioButton displays in a read-only state\n- **disabled** - Specify if RadioButton displays in a disabled state\n- **theme** - Specify the theme of the RadioButton. By default it inherits the theme from the parent\n- **value** - The value attribute for the input element\n- **checked** - The checked attribute for the input element\n- **onKeyDown** - A user-defined function to handle keydown events",
8837
+ "name": "BmRadioButton",
8838
+ "members": [
8815
8839
  {
8816
8840
  "kind": "field",
8817
- "name": "formContext",
8841
+ "name": "label",
8818
8842
  "type": {
8819
- "text": "BmFormContext"
8843
+ "text": "string | undefined"
8820
8844
  },
8821
- "inheritedFrom": {
8822
- "name": "FormField",
8823
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8824
- }
8845
+ "description": "Specify the text for the label",
8846
+ "attribute": "label"
8825
8847
  },
8826
8848
  {
8827
- "kind": "method",
8828
- "name": "formAssociatedCallback",
8829
- "return": {
8830
- "type": {
8831
- "text": "void"
8832
- }
8849
+ "kind": "field",
8850
+ "name": "error",
8851
+ "type": {
8852
+ "text": "boolean | undefined"
8833
8853
  },
8834
- "inheritedFrom": {
8835
- "name": "FormField",
8836
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8837
- }
8854
+ "description": "Specify error text and display error state of a RadioButton",
8855
+ "attribute": "error"
8838
8856
  },
8839
8857
  {
8840
- "kind": "method",
8841
- "name": "formResetCallback",
8842
- "return": {
8843
- "type": {
8844
- "text": "void"
8845
- }
8846
- },
8847
- "inheritedFrom": {
8848
- "name": "FormField",
8849
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8850
- }
8851
- }
8852
- ],
8853
- "attributes": [
8854
- {
8855
- "name": "rows",
8858
+ "kind": "field",
8859
+ "name": "readOnly",
8856
8860
  "type": {
8857
- "text": "number | undefined"
8861
+ "text": "boolean | undefined"
8858
8862
  },
8859
- "description": "Specify the height of TextArea",
8860
- "fieldName": "rows"
8863
+ "description": "Specify if RadioButton displays in a read-only state",
8864
+ "attribute": "readOnly"
8861
8865
  },
8862
8866
  {
8863
- "name": "cols",
8867
+ "kind": "field",
8868
+ "name": "disabled",
8864
8869
  "type": {
8865
- "text": "number | undefined"
8870
+ "text": "boolean | undefined"
8866
8871
  },
8867
- "description": "Specify the width of TextArea",
8868
- "fieldName": "cols"
8872
+ "description": "Specify if RadioButton displays in a disabled state",
8873
+ "attribute": "disabled"
8869
8874
  },
8870
8875
  {
8871
- "name": "placeholder",
8876
+ "kind": "field",
8877
+ "name": "theme",
8872
8878
  "type": {
8873
- "text": "string | undefined"
8879
+ "text": "'light' | 'dark' | undefined"
8874
8880
  },
8875
- "description": "Specify placeholder text for TextArea",
8876
- "fieldName": "placeholder"
8881
+ "description": "Specify the theme of the RadioButton. By default it inherits the theme from the parent",
8882
+ "attribute": "theme"
8877
8883
  },
8878
8884
  {
8879
- "name": "required",
8885
+ "kind": "field",
8886
+ "name": "value",
8880
8887
  "type": {
8881
- "text": "boolean"
8888
+ "text": "string | undefined"
8882
8889
  },
8883
- "default": "false",
8884
- "description": "Specify if TextArea is a required input",
8885
- "fieldName": "required"
8890
+ "description": "The value attribute for the input element",
8891
+ "attribute": "value"
8886
8892
  },
8887
8893
  {
8888
- "name": "hideRequiredMarker",
8894
+ "kind": "field",
8895
+ "name": "checked",
8889
8896
  "type": {
8890
8897
  "text": "boolean"
8891
8898
  },
8892
8899
  "default": "false",
8893
- "description": "Specify if the TextArea displays with an asterisk",
8894
- "fieldName": "hideRequiredMarker"
8900
+ "description": "The checked attribute for the input element",
8901
+ "attribute": "checked"
8895
8902
  },
8896
8903
  {
8897
- "name": "error",
8904
+ "kind": "field",
8905
+ "name": "onKeyDown",
8898
8906
  "type": {
8899
- "text": "string | undefined"
8907
+ "text": "(event: KeyboardEvent) => void | undefined"
8900
8908
  },
8901
- "description": "Specify error text and display error state of a TextArea",
8902
- "fieldName": "error"
8909
+ "description": "A user-defined function to handle keydown events",
8910
+ "attribute": "onKeyDown"
8903
8911
  },
8904
8912
  {
8905
- "name": "readOnly",
8913
+ "kind": "field",
8914
+ "name": "inputChoiceGroupContext",
8906
8915
  "type": {
8907
- "text": "boolean"
8908
- },
8909
- "default": "false",
8910
- "description": "Specify if TextArea displays in a read-only state",
8911
- "fieldName": "readOnly"
8916
+ "text": "InputChoiceGroupContextProps"
8917
+ }
8912
8918
  },
8913
8919
  {
8914
- "name": "disabled",
8915
- "type": {
8916
- "text": "boolean"
8917
- },
8918
- "default": "false",
8919
- "description": "Specify if TextArea displays in a disabled state",
8920
- "fieldName": "disabled"
8920
+ "kind": "field",
8921
+ "name": "radioButtonRef"
8921
8922
  },
8922
8923
  {
8923
- "name": "fluid",
8924
- "type": {
8925
- "text": "boolean"
8926
- },
8927
- "default": "false",
8928
- "description": "Specify if TextArea is fluid",
8929
- "fieldName": "fluid"
8930
- },
8924
+ "kind": "method",
8925
+ "name": "focus"
8926
+ }
8927
+ ],
8928
+ "attributes": [
8931
8929
  {
8932
- "name": "width",
8930
+ "name": "label",
8933
8931
  "type": {
8934
8932
  "text": "string | undefined"
8935
8933
  },
8936
- "description": "Specify the width of TextArea",
8937
- "fieldName": "width"
8934
+ "description": "Specify the text for the label",
8935
+ "fieldName": "label"
8938
8936
  },
8939
8937
  {
8940
- "name": "hideResize",
8938
+ "name": "error",
8941
8939
  "type": {
8942
- "text": "boolean"
8940
+ "text": "boolean | undefined"
8943
8941
  },
8944
- "default": "false",
8945
- "description": "Specify if TextArea can be manually resized",
8946
- "fieldName": "hideResize"
8942
+ "description": "Specify error text and display error state of a RadioButton",
8943
+ "fieldName": "error"
8947
8944
  },
8948
8945
  {
8949
- "name": "maxCount",
8946
+ "name": "readOnly",
8950
8947
  "type": {
8951
- "text": "number | undefined"
8948
+ "text": "boolean | undefined"
8952
8949
  },
8953
- "description": "Specify the maximum character count for the TextArea",
8954
- "fieldName": "maxCount"
8950
+ "description": "Specify if RadioButton displays in a read-only state",
8951
+ "fieldName": "readOnly"
8955
8952
  },
8956
8953
  {
8957
- "name": "autoResize",
8954
+ "name": "disabled",
8958
8955
  "type": {
8959
- "text": "boolean"
8956
+ "text": "boolean | undefined"
8960
8957
  },
8961
- "default": "false",
8962
- "description": "Specify if the TextArea automatically resizes to fit the text",
8963
- "fieldName": "autoResize"
8958
+ "description": "Specify if RadioButton displays in a disabled state",
8959
+ "fieldName": "disabled"
8964
8960
  },
8965
8961
  {
8966
8962
  "name": "theme",
8967
8963
  "type": {
8968
8964
  "text": "'light' | 'dark' | undefined"
8969
8965
  },
8970
- "description": "Specify the theme of the TextArea. By default it inherits the theme from the parent",
8966
+ "description": "Specify the theme of the RadioButton. By default it inherits the theme from the parent",
8971
8967
  "fieldName": "theme"
8972
8968
  },
8973
- {
8974
- "name": "id",
8975
- "type": {
8976
- "text": "string"
8977
- },
8978
- "default": "''",
8979
- "fieldName": "id",
8980
- "inheritedFrom": {
8981
- "name": "FormField",
8982
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8983
- }
8984
- },
8985
- {
8986
- "name": "name",
8987
- "type": {
8988
- "text": "string"
8989
- },
8990
- "default": "''",
8991
- "fieldName": "name",
8992
- "inheritedFrom": {
8993
- "name": "FormField",
8994
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8995
- }
8996
- },
8997
8969
  {
8998
8970
  "name": "value",
8999
8971
  "type": {
9000
- "text": "string"
8972
+ "text": "string | undefined"
9001
8973
  },
9002
- "default": "''",
9003
- "fieldName": "value",
9004
- "inheritedFrom": {
9005
- "name": "FormField",
9006
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
9007
- }
8974
+ "description": "The value attribute for the input element",
8975
+ "fieldName": "value"
9008
8976
  },
9009
8977
  {
9010
- "name": "validationRules",
8978
+ "name": "checked",
9011
8979
  "type": {
9012
- "text": "Array<FormValidator>"
8980
+ "text": "boolean"
9013
8981
  },
9014
- "default": "[]",
9015
- "fieldName": "validationRules",
9016
- "inheritedFrom": {
9017
- "name": "FormField",
9018
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
9019
- }
8982
+ "default": "false",
8983
+ "description": "The checked attribute for the input element",
8984
+ "fieldName": "checked"
9020
8985
  },
9021
8986
  {
9022
- "name": "input-aria-label",
8987
+ "name": "onKeyDown",
9023
8988
  "type": {
9024
- "text": "string | undefined"
8989
+ "text": "(event: KeyboardEvent) => void | undefined"
9025
8990
  },
9026
- "fieldName": "inputAriaLabel",
9027
- "inheritedFrom": {
9028
- "name": "FormField",
9029
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
9030
- }
8991
+ "description": "A user-defined function to handle keydown events",
8992
+ "fieldName": "onKeyDown"
9031
8993
  }
9032
8994
  ],
9033
8995
  "superclass": {
9034
- "name": "FormField",
9035
- "module": "/libs/web-components/src/lib/wip/Form/Form.decorator"
8996
+ "name": "LitElement",
8997
+ "package": "lit"
9036
8998
  },
9037
- "summary": "`bm-text-area`",
9038
- "tagName": "bm-text-area",
8999
+ "tagName": "bm-radio-button",
9039
9000
  "customElement": true
9040
9001
  }
9041
9002
  ],
9042
9003
  "exports": [
9043
9004
  {
9044
9005
  "kind": "js",
9045
- "name": "BmTextArea",
9006
+ "name": "BmRadioButton",
9046
9007
  "declaration": {
9047
- "name": "BmTextArea",
9048
- "module": "libs/web-components/src/lib/wip/TextArea/TextArea.ts"
9008
+ "name": "BmRadioButton",
9009
+ "module": "libs/web-components/src/lib/wip/RadioButton/RadioButton.ts"
9049
9010
  }
9050
9011
  },
9051
9012
  {
9052
9013
  "kind": "custom-element-definition",
9053
- "name": "bm-text-area",
9014
+ "name": "bm-radio-button",
9054
9015
  "declaration": {
9055
- "name": "BmTextArea",
9056
- "module": "libs/web-components/src/lib/wip/TextArea/TextArea.ts"
9016
+ "name": "BmRadioButton",
9017
+ "module": "libs/web-components/src/lib/wip/RadioButton/RadioButton.ts"
9057
9018
  }
9058
9019
  }
9059
9020
  ]
9060
9021
  },
9061
9022
  {
9062
9023
  "kind": "javascript-module",
9063
- "path": "libs/web-components/src/lib/wip/TextArea/index.ts",
9024
+ "path": "libs/web-components/src/lib/wip/RadioButton/index.ts",
9064
9025
  "declarations": [],
9065
9026
  "exports": [
9066
9027
  {
@@ -9068,245 +9029,285 @@
9068
9029
  "name": "*",
9069
9030
  "declaration": {
9070
9031
  "name": "*",
9071
- "package": "./TextArea"
9072
- }
9073
- }
9074
- ]
9075
- },
9076
- {
9077
- "kind": "javascript-module",
9078
- "path": "libs/web-components/src/lib/wip/Form/Form.context.ts",
9079
- "declarations": [
9080
- {
9081
- "kind": "variable",
9082
- "name": "bmFormInitials",
9083
- "type": {
9084
- "text": "BmFormContext"
9085
- },
9086
- "default": "{ required: false, disabled: false, readOnly: false, initialValues: {}, registerField: () => undefined, formBlurHandler: () => undefined, formChangeHandler: () => undefined, }"
9087
- },
9088
- {
9089
- "kind": "variable",
9090
- "name": "bmFormContext"
9091
- }
9092
- ],
9093
- "exports": [
9094
- {
9095
- "kind": "js",
9096
- "name": "bmFormInitials",
9097
- "declaration": {
9098
- "name": "bmFormInitials",
9099
- "module": "libs/web-components/src/lib/wip/Form/Form.context.ts"
9032
+ "package": "./RadioButton"
9100
9033
  }
9101
9034
  },
9102
9035
  {
9103
9036
  "kind": "js",
9104
- "name": "bmFormContext",
9037
+ "name": "*",
9105
9038
  "declaration": {
9106
- "name": "bmFormContext",
9107
- "module": "libs/web-components/src/lib/wip/Form/Form.context.ts"
9039
+ "name": "*",
9040
+ "package": "./RadioButtonGroup/RadioButtonGroup"
9108
9041
  }
9109
9042
  }
9110
9043
  ]
9111
9044
  },
9112
9045
  {
9113
9046
  "kind": "javascript-module",
9114
- "path": "libs/web-components/src/lib/wip/Form/Form.decorator.ts",
9047
+ "path": "libs/web-components/src/lib/wip/Switch/Switch.ts",
9115
9048
  "declarations": [
9116
9049
  {
9117
9050
  "kind": "class",
9118
- "description": "### Attributes:\n- **id** \n- **name** \n- **value** \n- **validationRules** \n- **input-aria-label** ",
9119
- "name": "FormField",
9051
+ "description": "`bm-switch`\n\n### Attributes:\n- **onText** - Specify a side label for the “on” position. If onText is not specified, side label defaults to offText value.\n- **offText** - Specify a side label for the “off” position. If offText is not specified, side label defaults to onText value.\n- **textPosition** - Specify the position of the side label\n- **readOnly** - Specify if Switch displays in a read-only state\n- **disabled** - Specify if Switch displays in a disabled state\n- **checked** \n- **value** - The value attribute for the input element",
9052
+ "name": "BmSwitch",
9053
+ "slots": [
9054
+ {
9055
+ "description": "Specify a side label for the “on” position. If onText is not specified, side label defaults to offText value.",
9056
+ "name": "onText"
9057
+ },
9058
+ {
9059
+ "description": "Specify a side label for the “off” position. If offText is not specified, side label defaults to onText value.",
9060
+ "name": "offText"
9061
+ }
9062
+ ],
9120
9063
  "members": [
9121
9064
  {
9122
9065
  "kind": "field",
9123
- "name": "formAssociated",
9066
+ "name": "inputChoiceGroupContext",
9124
9067
  "type": {
9125
- "text": "boolean"
9126
- },
9127
- "static": true,
9128
- "default": "true"
9068
+ "text": "InputChoiceGroupContextProps"
9069
+ }
9129
9070
  },
9130
9071
  {
9131
9072
  "kind": "field",
9132
- "name": "id",
9073
+ "name": "onText",
9133
9074
  "type": {
9134
- "text": "string"
9075
+ "text": "string | undefined"
9135
9076
  },
9136
- "default": "''",
9137
- "attribute": "id"
9138
- },
9077
+ "default": "undefined",
9078
+ "description": "Specify a side label for the “on” position. If onText is not specified, side label defaults to offText value.",
9079
+ "attribute": "onText"
9080
+ },
9139
9081
  {
9140
9082
  "kind": "field",
9141
- "name": "name",
9083
+ "name": "offText",
9142
9084
  "type": {
9143
- "text": "string"
9085
+ "text": "string | undefined"
9144
9086
  },
9145
- "default": "''",
9146
- "attribute": "name"
9087
+ "default": "undefined",
9088
+ "description": "Specify a side label for the “off” position. If offText is not specified, side label defaults to onText value.",
9089
+ "attribute": "offText"
9147
9090
  },
9148
9091
  {
9149
9092
  "kind": "field",
9150
- "name": "value",
9093
+ "name": "theme",
9151
9094
  "type": {
9152
- "text": "string"
9095
+ "text": "ThemeTypes | undefined"
9153
9096
  },
9154
- "default": "''",
9155
- "attribute": "value"
9097
+ "default": "undefined",
9098
+ "description": "Specify the theme of the Switch. By default it inherits the theme from the parent"
9156
9099
  },
9157
9100
  {
9158
9101
  "kind": "field",
9159
- "name": "validationRules",
9102
+ "name": "textPosition",
9160
9103
  "type": {
9161
- "text": "Array<FormValidator>"
9104
+ "text": "'before' | 'after'"
9162
9105
  },
9163
- "default": "[]",
9164
- "attribute": "validationRules"
9106
+ "default": "'after'",
9107
+ "description": "Specify the position of the side label",
9108
+ "attribute": "textPosition"
9165
9109
  },
9166
9110
  {
9167
9111
  "kind": "field",
9168
- "name": "inputAriaLabel",
9112
+ "name": "readOnly",
9169
9113
  "type": {
9170
- "text": "string | undefined"
9114
+ "text": "boolean"
9171
9115
  },
9172
- "attribute": "input-aria-label"
9116
+ "default": "false",
9117
+ "description": "Specify if Switch displays in a read-only state",
9118
+ "attribute": "readOnly"
9173
9119
  },
9174
9120
  {
9175
9121
  "kind": "field",
9176
- "name": "formContext",
9122
+ "name": "disabled",
9177
9123
  "type": {
9178
- "text": "BmFormContext"
9179
- }
9124
+ "text": "boolean"
9125
+ },
9126
+ "default": "false",
9127
+ "description": "Specify if Switch displays in a disabled state",
9128
+ "attribute": "disabled"
9180
9129
  },
9181
9130
  {
9182
- "kind": "method",
9183
- "name": "formAssociatedCallback",
9184
- "return": {
9185
- "type": {
9186
- "text": "void"
9187
- }
9188
- }
9131
+ "kind": "field",
9132
+ "name": "checked",
9133
+ "type": {
9134
+ "text": "boolean"
9135
+ },
9136
+ "default": "false",
9137
+ "attribute": "checked"
9189
9138
  },
9190
9139
  {
9191
- "kind": "method",
9192
- "name": "formResetCallback",
9193
- "return": {
9194
- "type": {
9195
- "text": "void"
9196
- }
9197
- }
9140
+ "kind": "field",
9141
+ "name": "value",
9142
+ "type": {
9143
+ "text": "string | undefined"
9144
+ },
9145
+ "description": "The value attribute for the input element",
9146
+ "attribute": "value"
9198
9147
  },
9199
9148
  {
9200
- "kind": "method",
9201
- "name": "finalizeAssociatedCallback",
9202
- "return": {
9203
- "type": {
9204
- "text": "FinalizeAssociatedResult"
9205
- }
9206
- },
9207
- "parameters": [
9208
- {
9209
- "name": "ctxValue",
9210
- "type": {
9211
- "text": "string"
9212
- }
9213
- }
9214
- ]
9149
+ "kind": "field",
9150
+ "name": "switchRef"
9215
9151
  }
9216
9152
  ],
9217
9153
  "attributes": [
9218
9154
  {
9219
- "name": "id",
9155
+ "name": "onText",
9220
9156
  "type": {
9221
- "text": "string"
9157
+ "text": "string | undefined"
9222
9158
  },
9223
- "default": "''",
9224
- "fieldName": "id"
9159
+ "default": "undefined",
9160
+ "description": "Specify a side label for the “on” position. If onText is not specified, side label defaults to offText value.",
9161
+ "fieldName": "onText"
9225
9162
  },
9226
9163
  {
9227
- "name": "name",
9164
+ "name": "offText",
9228
9165
  "type": {
9229
- "text": "string"
9166
+ "text": "string | undefined"
9230
9167
  },
9231
- "default": "''",
9232
- "fieldName": "name"
9168
+ "default": "undefined",
9169
+ "description": "Specify a side label for the “off” position. If offText is not specified, side label defaults to onText value.",
9170
+ "fieldName": "offText"
9233
9171
  },
9234
9172
  {
9235
- "name": "value",
9173
+ "name": "textPosition",
9236
9174
  "type": {
9237
- "text": "string"
9175
+ "text": "'before' | 'after'"
9238
9176
  },
9239
- "default": "''",
9240
- "fieldName": "value"
9177
+ "default": "'after'",
9178
+ "description": "Specify the position of the side label",
9179
+ "fieldName": "textPosition"
9241
9180
  },
9242
9181
  {
9243
- "name": "validationRules",
9182
+ "name": "readOnly",
9244
9183
  "type": {
9245
- "text": "Array<FormValidator>"
9184
+ "text": "boolean"
9246
9185
  },
9247
- "default": "[]",
9248
- "fieldName": "validationRules"
9186
+ "default": "false",
9187
+ "description": "Specify if Switch displays in a read-only state",
9188
+ "fieldName": "readOnly"
9249
9189
  },
9250
9190
  {
9251
- "name": "input-aria-label",
9191
+ "name": "disabled",
9192
+ "type": {
9193
+ "text": "boolean"
9194
+ },
9195
+ "default": "false",
9196
+ "description": "Specify if Switch displays in a disabled state",
9197
+ "fieldName": "disabled"
9198
+ },
9199
+ {
9200
+ "name": "checked",
9201
+ "type": {
9202
+ "text": "boolean"
9203
+ },
9204
+ "default": "false",
9205
+ "fieldName": "checked"
9206
+ },
9207
+ {
9208
+ "name": "value",
9252
9209
  "type": {
9253
9210
  "text": "string | undefined"
9254
9211
  },
9255
- "fieldName": "inputAriaLabel"
9212
+ "description": "The value attribute for the input element",
9213
+ "fieldName": "value"
9256
9214
  }
9257
9215
  ],
9258
9216
  "superclass": {
9259
9217
  "name": "LitElement",
9260
9218
  "package": "lit"
9261
9219
  },
9220
+ "tagName": "bm-switch",
9262
9221
  "customElement": true
9263
9222
  }
9264
9223
  ],
9265
9224
  "exports": [
9266
9225
  {
9267
9226
  "kind": "js",
9268
- "name": "FormField",
9227
+ "name": "BmSwitch",
9269
9228
  "declaration": {
9270
- "name": "FormField",
9271
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
9229
+ "name": "BmSwitch",
9230
+ "module": "libs/web-components/src/lib/wip/Switch/Switch.ts"
9231
+ }
9232
+ },
9233
+ {
9234
+ "kind": "custom-element-definition",
9235
+ "name": "bm-switch",
9236
+ "declaration": {
9237
+ "name": "BmSwitch",
9238
+ "module": "libs/web-components/src/lib/wip/Switch/Switch.ts"
9272
9239
  }
9273
9240
  }
9274
9241
  ]
9275
9242
  },
9276
9243
  {
9277
9244
  "kind": "javascript-module",
9278
- "path": "libs/web-components/src/lib/wip/Form/Form.ts",
9245
+ "path": "libs/web-components/src/lib/wip/Switch/index.ts",
9246
+ "declarations": [],
9247
+ "exports": [
9248
+ {
9249
+ "kind": "js",
9250
+ "name": "*",
9251
+ "declaration": {
9252
+ "name": "*",
9253
+ "package": "./Switch"
9254
+ }
9255
+ },
9256
+ {
9257
+ "kind": "js",
9258
+ "name": "*",
9259
+ "declaration": {
9260
+ "name": "*",
9261
+ "package": "./SwitchGroup/SwitchGroup"
9262
+ }
9263
+ }
9264
+ ]
9265
+ },
9266
+ {
9267
+ "kind": "javascript-module",
9268
+ "path": "libs/web-components/src/lib/wip/TextArea/TextArea.ts",
9279
9269
  "declarations": [
9280
9270
  {
9281
9271
  "kind": "class",
9282
- "description": "### Attributes:\n- **validationMode** - Specify if validation runs on change or when loosing focus\n- **initialValues** - Specify initial values on Form controls based on their names\n- **required** - Specify if input is a required\n- **disabled** - Specify if input is a disabled\n- **readOnly** - Specify if input is a read only\n- **action** \n- **method** \n- **target** \n- **enctype** ",
9283
- "name": "BmForm",
9272
+ "description": "### Attributes:\n- **rows** - Specify the height of TextArea\n- **cols** - Specify the width of TextArea\n- **placeholder** - Specify placeholder text for TextArea\n- **required** - Specify if TextArea is a required input\n- **hideRequiredMarker** - Specify if the TextArea displays with an asterisk\n- **error** - Specify error text and display error state of a TextArea\n- **readOnly** - Specify if TextArea displays in a read-only state\n- **disabled** - Specify if TextArea displays in a disabled state\n- **fluid** - Specify if TextArea is fluid\n- **width** - Specify the width of TextArea\n- **hideResize** - Specify if TextArea can be manually resized\n- **maxCount** - Specify the maximum character count for the TextArea\n- **autoResize** - Specify if the TextArea automatically resizes to fit the text\n- **theme** - Specify the theme of the TextArea. By default it inherits the theme from the parent",
9273
+ "name": "BmTextArea",
9284
9274
  "slots": [
9285
9275
  {
9286
- "description": "Add controls to the Form",
9287
- "name": "slot"
9276
+ "description": "Specify the label for TextArea",
9277
+ "name": "label"
9278
+ },
9279
+ {
9280
+ "description": "Specify the helper text for TextArea",
9281
+ "name": "helper-text"
9288
9282
  }
9289
9283
  ],
9290
9284
  "members": [
9291
9285
  {
9292
9286
  "kind": "field",
9293
- "name": "validationMode",
9287
+ "name": "rows",
9294
9288
  "type": {
9295
- "text": "'onChange' | 'onBlur' | 'onSubmit'"
9289
+ "text": "number | undefined"
9296
9290
  },
9297
- "default": "'onBlur'",
9298
- "description": "Specify if validation runs on change or when loosing focus",
9299
- "attribute": "validationMode"
9291
+ "description": "Specify the height of TextArea",
9292
+ "attribute": "rows"
9300
9293
  },
9301
9294
  {
9302
9295
  "kind": "field",
9303
- "name": "initialValues",
9296
+ "name": "cols",
9304
9297
  "type": {
9305
- "text": "Record<string, FormValue>"
9298
+ "text": "number | undefined"
9306
9299
  },
9307
- "default": "{}",
9308
- "description": "Specify initial values on Form controls based on their names",
9309
- "attribute": "initialValues"
9300
+ "description": "Specify the width of TextArea",
9301
+ "attribute": "cols"
9302
+ },
9303
+ {
9304
+ "kind": "field",
9305
+ "name": "placeholder",
9306
+ "type": {
9307
+ "text": "string | undefined"
9308
+ },
9309
+ "description": "Specify placeholder text for TextArea",
9310
+ "attribute": "placeholder"
9310
9311
  },
9311
9312
  {
9312
9313
  "kind": "field",
@@ -9315,18 +9316,27 @@
9315
9316
  "text": "boolean"
9316
9317
  },
9317
9318
  "default": "false",
9318
- "description": "Specify if input is a required",
9319
+ "description": "Specify if TextArea is a required input",
9319
9320
  "attribute": "required"
9320
9321
  },
9321
9322
  {
9322
9323
  "kind": "field",
9323
- "name": "disabled",
9324
+ "name": "hideRequiredMarker",
9324
9325
  "type": {
9325
9326
  "text": "boolean"
9326
9327
  },
9327
9328
  "default": "false",
9328
- "description": "Specify if input is a disabled",
9329
- "attribute": "disabled"
9329
+ "description": "Specify if the TextArea displays with an asterisk",
9330
+ "attribute": "hideRequiredMarker"
9331
+ },
9332
+ {
9333
+ "kind": "field",
9334
+ "name": "error",
9335
+ "type": {
9336
+ "text": "string | undefined"
9337
+ },
9338
+ "description": "Specify error text and display error state of a TextArea",
9339
+ "attribute": "error"
9330
9340
  },
9331
9341
  {
9332
9342
  "kind": "field",
@@ -9335,429 +9345,427 @@
9335
9345
  "text": "boolean"
9336
9346
  },
9337
9347
  "default": "false",
9338
- "description": "Specify if input is a read only",
9348
+ "description": "Specify if TextArea displays in a read-only state",
9339
9349
  "attribute": "readOnly"
9340
9350
  },
9341
9351
  {
9342
9352
  "kind": "field",
9343
- "name": "action",
9353
+ "name": "disabled",
9344
9354
  "type": {
9345
- "text": "string | undefined"
9355
+ "text": "boolean"
9346
9356
  },
9347
- "attribute": "action"
9357
+ "default": "false",
9358
+ "description": "Specify if TextArea displays in a disabled state",
9359
+ "attribute": "disabled"
9348
9360
  },
9349
9361
  {
9350
9362
  "kind": "field",
9351
- "name": "method",
9363
+ "name": "fluid",
9352
9364
  "type": {
9353
- "text": "string | undefined"
9365
+ "text": "boolean"
9354
9366
  },
9355
- "attribute": "method"
9367
+ "default": "false",
9368
+ "description": "Specify if TextArea is fluid",
9369
+ "attribute": "fluid"
9356
9370
  },
9357
9371
  {
9358
9372
  "kind": "field",
9359
- "name": "target",
9373
+ "name": "width",
9360
9374
  "type": {
9361
9375
  "text": "string | undefined"
9362
9376
  },
9363
- "attribute": "target"
9377
+ "description": "Specify the width of TextArea",
9378
+ "attribute": "width"
9364
9379
  },
9365
9380
  {
9366
9381
  "kind": "field",
9367
- "name": "enctype",
9382
+ "name": "hideResize",
9368
9383
  "type": {
9369
- "text": "string | undefined"
9384
+ "text": "boolean"
9370
9385
  },
9371
- "attribute": "enctype"
9386
+ "default": "false",
9387
+ "description": "Specify if TextArea can be manually resized",
9388
+ "attribute": "hideResize"
9372
9389
  },
9373
9390
  {
9374
9391
  "kind": "field",
9375
- "name": "formMeta",
9392
+ "name": "maxCount",
9376
9393
  "type": {
9377
- "text": "Record<string, FieldMeta>"
9394
+ "text": "number | undefined"
9378
9395
  },
9379
- "default": "{}"
9380
- },
9381
- {
9382
- "kind": "field",
9383
- "name": "formRef"
9396
+ "description": "Specify the maximum character count for the TextArea",
9397
+ "attribute": "maxCount"
9384
9398
  },
9385
9399
  {
9386
9400
  "kind": "field",
9387
- "name": "formContext",
9401
+ "name": "autoResize",
9388
9402
  "type": {
9389
- "text": "BmFormContext"
9403
+ "text": "boolean"
9390
9404
  },
9391
- "privacy": "public",
9392
- "default": "bmFormInitials"
9393
- }
9394
- ],
9395
- "events": [
9396
- {
9397
- "description": "Validates the inputs and submits the form",
9398
- "name": "submit"
9399
- }
9400
- ],
9401
- "attributes": [
9405
+ "default": "false",
9406
+ "description": "Specify if the TextArea automatically resizes to fit the text",
9407
+ "attribute": "autoResize"
9408
+ },
9402
9409
  {
9403
- "name": "validationMode",
9410
+ "kind": "field",
9411
+ "name": "theme",
9404
9412
  "type": {
9405
- "text": "'onChange' | 'onBlur' | 'onSubmit'"
9413
+ "text": "'light' | 'dark' | undefined"
9406
9414
  },
9407
- "default": "'onBlur'",
9408
- "description": "Specify if validation runs on change or when loosing focus",
9409
- "fieldName": "validationMode"
9415
+ "description": "Specify the theme of the TextArea. By default it inherits the theme from the parent",
9416
+ "attribute": "theme"
9410
9417
  },
9411
9418
  {
9412
- "name": "initialValues",
9413
- "type": {
9414
- "text": "Record<string, FormValue>"
9415
- },
9416
- "default": "{}",
9417
- "description": "Specify initial values on Form controls based on their names",
9418
- "fieldName": "initialValues"
9419
+ "kind": "field",
9420
+ "name": "formFieldCounterRef"
9419
9421
  },
9420
9422
  {
9421
- "name": "required",
9422
- "type": {
9423
- "text": "boolean"
9423
+ "kind": "method",
9424
+ "name": "finalizeAssociatedCallback",
9425
+ "return": {
9426
+ "type": {
9427
+ "text": "FinalizeAssociatedResult"
9428
+ }
9424
9429
  },
9425
- "default": "false",
9426
- "description": "Specify if input is a required",
9427
- "fieldName": "required"
9430
+ "parameters": [
9431
+ {
9432
+ "name": "value",
9433
+ "type": {
9434
+ "text": "string"
9435
+ }
9436
+ }
9437
+ ],
9438
+ "inheritedFrom": {
9439
+ "name": "FormField",
9440
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
9441
+ }
9428
9442
  },
9429
9443
  {
9430
- "name": "disabled",
9444
+ "kind": "field",
9445
+ "name": "formAssociated",
9431
9446
  "type": {
9432
9447
  "text": "boolean"
9433
9448
  },
9434
- "default": "false",
9435
- "description": "Specify if input is a disabled",
9436
- "fieldName": "disabled"
9449
+ "static": true,
9450
+ "default": "true",
9451
+ "inheritedFrom": {
9452
+ "name": "FormField",
9453
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
9454
+ }
9437
9455
  },
9438
9456
  {
9439
- "name": "readOnly",
9457
+ "kind": "field",
9458
+ "name": "id",
9440
9459
  "type": {
9441
- "text": "boolean"
9460
+ "text": "string"
9442
9461
  },
9443
- "default": "false",
9444
- "description": "Specify if input is a read only",
9445
- "fieldName": "readOnly"
9462
+ "default": "''",
9463
+ "attribute": "id",
9464
+ "inheritedFrom": {
9465
+ "name": "FormField",
9466
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
9467
+ }
9446
9468
  },
9447
9469
  {
9448
- "name": "action",
9470
+ "kind": "field",
9471
+ "name": "name",
9449
9472
  "type": {
9450
- "text": "string | undefined"
9473
+ "text": "string"
9451
9474
  },
9452
- "fieldName": "action"
9475
+ "default": "''",
9476
+ "attribute": "name",
9477
+ "inheritedFrom": {
9478
+ "name": "FormField",
9479
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
9480
+ }
9453
9481
  },
9454
9482
  {
9455
- "name": "method",
9483
+ "kind": "field",
9484
+ "name": "value",
9456
9485
  "type": {
9457
- "text": "string | undefined"
9486
+ "text": "string"
9458
9487
  },
9459
- "fieldName": "method"
9488
+ "default": "''",
9489
+ "attribute": "value",
9490
+ "inheritedFrom": {
9491
+ "name": "FormField",
9492
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
9493
+ }
9460
9494
  },
9461
9495
  {
9462
- "name": "target",
9496
+ "kind": "field",
9497
+ "name": "validationRules",
9463
9498
  "type": {
9464
- "text": "string | undefined"
9499
+ "text": "Array<FormValidator>"
9465
9500
  },
9466
- "fieldName": "target"
9501
+ "default": "[]",
9502
+ "attribute": "validationRules",
9503
+ "inheritedFrom": {
9504
+ "name": "FormField",
9505
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
9506
+ }
9467
9507
  },
9468
9508
  {
9469
- "name": "enctype",
9509
+ "kind": "field",
9510
+ "name": "inputAriaLabel",
9470
9511
  "type": {
9471
9512
  "text": "string | undefined"
9472
- },
9473
- "fieldName": "enctype"
9474
- }
9475
- ],
9476
- "superclass": {
9477
- "name": "LitElement",
9478
- "package": "lit"
9479
- },
9480
- "summary": "`bm-form`",
9481
- "tagName": "bm-form",
9482
- "customElement": true
9483
- }
9484
- ],
9485
- "exports": [
9486
- {
9487
- "kind": "js",
9488
- "name": "validators",
9489
- "declaration": {
9490
- "name": "validators",
9491
- "package": "@viasat/beam-shared/components/form"
9492
- }
9493
- },
9494
- {
9495
- "kind": "js",
9496
- "name": "BmForm",
9497
- "declaration": {
9498
- "name": "BmForm",
9499
- "module": "libs/web-components/src/lib/wip/Form/Form.ts"
9500
- }
9501
- },
9502
- {
9503
- "kind": "custom-element-definition",
9504
- "name": "bm-form",
9505
- "declaration": {
9506
- "name": "BmForm",
9507
- "module": "libs/web-components/src/lib/wip/Form/Form.ts"
9508
- }
9509
- }
9510
- ]
9511
- },
9512
- {
9513
- "kind": "javascript-module",
9514
- "path": "libs/web-components/src/lib/wip/Form/Form.utils.ts",
9515
- "declarations": [
9516
- {
9517
- "kind": "function",
9518
- "name": "createId",
9519
- "return": {
9520
- "type": {
9521
- "text": "string"
9522
- }
9523
- }
9524
- }
9525
- ],
9526
- "exports": [
9527
- {
9528
- "kind": "js",
9529
- "name": "createId",
9530
- "declaration": {
9531
- "name": "createId",
9532
- "module": "libs/web-components/src/lib/wip/Form/Form.utils.ts"
9533
- }
9534
- }
9535
- ]
9536
- },
9537
- {
9538
- "kind": "javascript-module",
9539
- "path": "libs/web-components/src/lib/wip/Form/index.ts",
9540
- "declarations": [],
9541
- "exports": [
9542
- {
9543
- "kind": "js",
9544
- "name": "*",
9545
- "declaration": {
9546
- "name": "*",
9547
- "package": "./Form"
9548
- }
9549
- },
9550
- {
9551
- "kind": "js",
9552
- "name": "*",
9553
- "declaration": {
9554
- "name": "*",
9555
- "package": "./Form.decorator"
9556
- }
9557
- }
9558
- ]
9559
- },
9560
- {
9561
- "kind": "javascript-module",
9562
- "path": "libs/web-components/src/lib/wip/Switch/Switch.ts",
9563
- "declarations": [
9564
- {
9565
- "kind": "class",
9566
- "description": "`bm-switch`\n\n### Attributes:\n- **onText** - Specify a side label for the “on” position. If onText is not specified, side label defaults to offText value.\n- **offText** - Specify a side label for the “off” position. If offText is not specified, side label defaults to onText value.\n- **textPosition** - Specify the position of the side label\n- **readOnly** - Specify if Switch displays in a read-only state\n- **disabled** - Specify if Switch displays in a disabled state\n- **checked** \n- **value** - The value attribute for the input element",
9567
- "name": "BmSwitch",
9568
- "slots": [
9513
+ },
9514
+ "attribute": "input-aria-label",
9515
+ "inheritedFrom": {
9516
+ "name": "FormField",
9517
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
9518
+ }
9519
+ },
9569
9520
  {
9570
- "description": "Specify a side label for the “on” position. If onText is not specified, side label defaults to offText value.",
9571
- "name": "onText"
9521
+ "kind": "field",
9522
+ "name": "formContext",
9523
+ "type": {
9524
+ "text": "BmFormContext"
9525
+ },
9526
+ "inheritedFrom": {
9527
+ "name": "FormField",
9528
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
9529
+ }
9572
9530
  },
9573
9531
  {
9574
- "description": "Specify a side label for the “off” position. If offText is not specified, side label defaults to onText value.",
9575
- "name": "offText"
9532
+ "kind": "method",
9533
+ "name": "formAssociatedCallback",
9534
+ "return": {
9535
+ "type": {
9536
+ "text": "void"
9537
+ }
9538
+ },
9539
+ "inheritedFrom": {
9540
+ "name": "FormField",
9541
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
9542
+ }
9543
+ },
9544
+ {
9545
+ "kind": "method",
9546
+ "name": "formResetCallback",
9547
+ "return": {
9548
+ "type": {
9549
+ "text": "void"
9550
+ }
9551
+ },
9552
+ "inheritedFrom": {
9553
+ "name": "FormField",
9554
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
9555
+ }
9576
9556
  }
9577
9557
  ],
9578
- "members": [
9558
+ "attributes": [
9579
9559
  {
9580
- "kind": "field",
9581
- "name": "inputChoiceGroupContext",
9560
+ "name": "rows",
9582
9561
  "type": {
9583
- "text": "InputChoiceGroupContextProps"
9584
- }
9562
+ "text": "number | undefined"
9563
+ },
9564
+ "description": "Specify the height of TextArea",
9565
+ "fieldName": "rows"
9585
9566
  },
9586
9567
  {
9587
- "kind": "field",
9588
- "name": "onText",
9568
+ "name": "cols",
9589
9569
  "type": {
9590
- "text": "string | undefined"
9570
+ "text": "number | undefined"
9591
9571
  },
9592
- "default": "undefined",
9593
- "description": "Specify a side label for the “on” position. If onText is not specified, side label defaults to offText value.",
9594
- "attribute": "onText"
9572
+ "description": "Specify the width of TextArea",
9573
+ "fieldName": "cols"
9595
9574
  },
9596
9575
  {
9597
- "kind": "field",
9598
- "name": "offText",
9576
+ "name": "placeholder",
9599
9577
  "type": {
9600
9578
  "text": "string | undefined"
9601
9579
  },
9602
- "default": "undefined",
9603
- "description": "Specify a side label for the “off” position. If offText is not specified, side label defaults to onText value.",
9604
- "attribute": "offText"
9580
+ "description": "Specify placeholder text for TextArea",
9581
+ "fieldName": "placeholder"
9605
9582
  },
9606
9583
  {
9607
- "kind": "field",
9608
- "name": "theme",
9584
+ "name": "required",
9609
9585
  "type": {
9610
- "text": "ThemeTypes | undefined"
9586
+ "text": "boolean"
9611
9587
  },
9612
- "default": "undefined",
9613
- "description": "Specify the theme of the Switch. By default it inherits the theme from the parent"
9588
+ "default": "false",
9589
+ "description": "Specify if TextArea is a required input",
9590
+ "fieldName": "required"
9614
9591
  },
9615
9592
  {
9616
- "kind": "field",
9617
- "name": "textPosition",
9593
+ "name": "hideRequiredMarker",
9618
9594
  "type": {
9619
- "text": "'before' | 'after'"
9595
+ "text": "boolean"
9620
9596
  },
9621
- "default": "'after'",
9622
- "description": "Specify the position of the side label",
9623
- "attribute": "textPosition"
9597
+ "default": "false",
9598
+ "description": "Specify if the TextArea displays with an asterisk",
9599
+ "fieldName": "hideRequiredMarker"
9600
+ },
9601
+ {
9602
+ "name": "error",
9603
+ "type": {
9604
+ "text": "string | undefined"
9605
+ },
9606
+ "description": "Specify error text and display error state of a TextArea",
9607
+ "fieldName": "error"
9624
9608
  },
9625
9609
  {
9626
- "kind": "field",
9627
9610
  "name": "readOnly",
9628
9611
  "type": {
9629
9612
  "text": "boolean"
9630
9613
  },
9631
9614
  "default": "false",
9632
- "description": "Specify if Switch displays in a read-only state",
9633
- "attribute": "readOnly"
9615
+ "description": "Specify if TextArea displays in a read-only state",
9616
+ "fieldName": "readOnly"
9634
9617
  },
9635
9618
  {
9636
- "kind": "field",
9637
9619
  "name": "disabled",
9638
9620
  "type": {
9639
9621
  "text": "boolean"
9640
9622
  },
9641
9623
  "default": "false",
9642
- "description": "Specify if Switch displays in a disabled state",
9643
- "attribute": "disabled"
9624
+ "description": "Specify if TextArea displays in a disabled state",
9625
+ "fieldName": "disabled"
9644
9626
  },
9645
9627
  {
9646
- "kind": "field",
9647
- "name": "checked",
9628
+ "name": "fluid",
9648
9629
  "type": {
9649
9630
  "text": "boolean"
9650
9631
  },
9651
9632
  "default": "false",
9652
- "attribute": "checked"
9633
+ "description": "Specify if TextArea is fluid",
9634
+ "fieldName": "fluid"
9653
9635
  },
9654
9636
  {
9655
- "kind": "field",
9656
- "name": "value",
9637
+ "name": "width",
9657
9638
  "type": {
9658
9639
  "text": "string | undefined"
9659
9640
  },
9660
- "description": "The value attribute for the input element",
9661
- "attribute": "value"
9641
+ "description": "Specify the width of TextArea",
9642
+ "fieldName": "width"
9662
9643
  },
9663
9644
  {
9664
- "kind": "field",
9665
- "name": "switchRef"
9666
- }
9667
- ],
9668
- "attributes": [
9669
- {
9670
- "name": "onText",
9645
+ "name": "hideResize",
9671
9646
  "type": {
9672
- "text": "string | undefined"
9647
+ "text": "boolean"
9673
9648
  },
9674
- "default": "undefined",
9675
- "description": "Specify a side label for the “on” position. If onText is not specified, side label defaults to offText value.",
9676
- "fieldName": "onText"
9649
+ "default": "false",
9650
+ "description": "Specify if TextArea can be manually resized",
9651
+ "fieldName": "hideResize"
9677
9652
  },
9678
9653
  {
9679
- "name": "offText",
9654
+ "name": "maxCount",
9680
9655
  "type": {
9681
- "text": "string | undefined"
9656
+ "text": "number | undefined"
9682
9657
  },
9683
- "default": "undefined",
9684
- "description": "Specify a side label for the “off” position. If offText is not specified, side label defaults to onText value.",
9685
- "fieldName": "offText"
9658
+ "description": "Specify the maximum character count for the TextArea",
9659
+ "fieldName": "maxCount"
9686
9660
  },
9687
9661
  {
9688
- "name": "textPosition",
9662
+ "name": "autoResize",
9689
9663
  "type": {
9690
- "text": "'before' | 'after'"
9664
+ "text": "boolean"
9691
9665
  },
9692
- "default": "'after'",
9693
- "description": "Specify the position of the side label",
9694
- "fieldName": "textPosition"
9666
+ "default": "false",
9667
+ "description": "Specify if the TextArea automatically resizes to fit the text",
9668
+ "fieldName": "autoResize"
9695
9669
  },
9696
9670
  {
9697
- "name": "readOnly",
9671
+ "name": "theme",
9698
9672
  "type": {
9699
- "text": "boolean"
9673
+ "text": "'light' | 'dark' | undefined"
9700
9674
  },
9701
- "default": "false",
9702
- "description": "Specify if Switch displays in a read-only state",
9703
- "fieldName": "readOnly"
9675
+ "description": "Specify the theme of the TextArea. By default it inherits the theme from the parent",
9676
+ "fieldName": "theme"
9704
9677
  },
9705
9678
  {
9706
- "name": "disabled",
9679
+ "name": "id",
9707
9680
  "type": {
9708
- "text": "boolean"
9681
+ "text": "string"
9709
9682
  },
9710
- "default": "false",
9711
- "description": "Specify if Switch displays in a disabled state",
9712
- "fieldName": "disabled"
9683
+ "default": "''",
9684
+ "fieldName": "id",
9685
+ "inheritedFrom": {
9686
+ "name": "FormField",
9687
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
9688
+ }
9713
9689
  },
9714
9690
  {
9715
- "name": "checked",
9691
+ "name": "name",
9716
9692
  "type": {
9717
- "text": "boolean"
9693
+ "text": "string"
9718
9694
  },
9719
- "default": "false",
9720
- "fieldName": "checked"
9695
+ "default": "''",
9696
+ "fieldName": "name",
9697
+ "inheritedFrom": {
9698
+ "name": "FormField",
9699
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
9700
+ }
9721
9701
  },
9722
9702
  {
9723
9703
  "name": "value",
9704
+ "type": {
9705
+ "text": "string"
9706
+ },
9707
+ "default": "''",
9708
+ "fieldName": "value",
9709
+ "inheritedFrom": {
9710
+ "name": "FormField",
9711
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
9712
+ }
9713
+ },
9714
+ {
9715
+ "name": "validationRules",
9716
+ "type": {
9717
+ "text": "Array<FormValidator>"
9718
+ },
9719
+ "default": "[]",
9720
+ "fieldName": "validationRules",
9721
+ "inheritedFrom": {
9722
+ "name": "FormField",
9723
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
9724
+ }
9725
+ },
9726
+ {
9727
+ "name": "input-aria-label",
9724
9728
  "type": {
9725
9729
  "text": "string | undefined"
9726
9730
  },
9727
- "description": "The value attribute for the input element",
9728
- "fieldName": "value"
9731
+ "fieldName": "inputAriaLabel",
9732
+ "inheritedFrom": {
9733
+ "name": "FormField",
9734
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
9735
+ }
9729
9736
  }
9730
9737
  ],
9731
9738
  "superclass": {
9732
- "name": "LitElement",
9733
- "package": "lit"
9739
+ "name": "FormField",
9740
+ "module": "/libs/web-components/src/lib/wip/Form/Form.decorator"
9734
9741
  },
9735
- "tagName": "bm-switch",
9742
+ "summary": "`bm-text-area`",
9743
+ "tagName": "bm-text-area",
9736
9744
  "customElement": true
9737
9745
  }
9738
9746
  ],
9739
9747
  "exports": [
9740
9748
  {
9741
9749
  "kind": "js",
9742
- "name": "BmSwitch",
9750
+ "name": "BmTextArea",
9743
9751
  "declaration": {
9744
- "name": "BmSwitch",
9745
- "module": "libs/web-components/src/lib/wip/Switch/Switch.ts"
9752
+ "name": "BmTextArea",
9753
+ "module": "libs/web-components/src/lib/wip/TextArea/TextArea.ts"
9746
9754
  }
9747
9755
  },
9748
9756
  {
9749
9757
  "kind": "custom-element-definition",
9750
- "name": "bm-switch",
9758
+ "name": "bm-text-area",
9751
9759
  "declaration": {
9752
- "name": "BmSwitch",
9753
- "module": "libs/web-components/src/lib/wip/Switch/Switch.ts"
9760
+ "name": "BmTextArea",
9761
+ "module": "libs/web-components/src/lib/wip/TextArea/TextArea.ts"
9754
9762
  }
9755
9763
  }
9756
9764
  ]
9757
9765
  },
9758
9766
  {
9759
9767
  "kind": "javascript-module",
9760
- "path": "libs/web-components/src/lib/wip/Switch/index.ts",
9768
+ "path": "libs/web-components/src/lib/wip/TextArea/index.ts",
9761
9769
  "declarations": [],
9762
9770
  "exports": [
9763
9771
  {
@@ -9765,15 +9773,7 @@
9765
9773
  "name": "*",
9766
9774
  "declaration": {
9767
9775
  "name": "*",
9768
- "package": "./Switch"
9769
- }
9770
- },
9771
- {
9772
- "kind": "js",
9773
- "name": "*",
9774
- "declaration": {
9775
- "name": "*",
9776
- "package": "./SwitchGroup/SwitchGroup"
9776
+ "package": "./TextArea"
9777
9777
  }
9778
9778
  }
9779
9779
  ]