@genesislcap/rapid-design-system 14.173.3 → 14.174.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/custom-elements.json +1453 -1453
  2. package/package.json +10 -10
@@ -718,11 +718,74 @@
718
718
  },
719
719
  {
720
720
  "kind": "javascript-module",
721
- "path": "src/accordion-item/accordion-item.styles.ts",
721
+ "path": "src/_config/index.ts",
722
+ "declarations": [],
723
+ "exports": [
724
+ {
725
+ "kind": "js",
726
+ "name": "*",
727
+ "declaration": {
728
+ "name": "*",
729
+ "package": "./tokens"
730
+ }
731
+ },
732
+ {
733
+ "kind": "js",
734
+ "name": "*",
735
+ "declaration": {
736
+ "name": "*",
737
+ "package": "./values"
738
+ }
739
+ }
740
+ ]
741
+ },
742
+ {
743
+ "kind": "javascript-module",
744
+ "path": "src/accordion/accordion.stories.ts",
745
+ "declarations": [
746
+ {
747
+ "kind": "variable",
748
+ "name": "meta",
749
+ "type": {
750
+ "text": "Meta"
751
+ },
752
+ "default": "{\n title: 'Accordion',\n component: 'rapid-accordion',\n}"
753
+ },
754
+ {
755
+ "kind": "variable",
756
+ "name": "Primary",
757
+ "type": {
758
+ "text": "StoryObj"
759
+ },
760
+ "default": "{\n render: () => html`\n <rapid-accordion>\n <rapid-accordion-item slot=\"item\" id=\"accordion-1\" class=\"expanded\">\n Accordion one content\n <div slot=\"heading\">Accordion one</div>\n </rapid-accordion-item>\n <rapid-accordion-item slot=\"item\" id=\"accordion-2\">\n Accordion two content\n <div slot=\"heading\">Accordion two</div>\n </rapid-accordion-item>\n <rapid-accordion-item slot=\"item\" id=\"accordion-3\">\n Accordion three content\n <div slot=\"heading\">Accordion three</div>\n </rapid-accordion-item>\n <rapid-accordion-item slot=\"item\" id=\"accordion-4\">\n Accordion four content\n <div slot=\"heading\">Accordion four</div>\n </rapid-accordion-item>\n </rapid-accordion>\n `,\n}"
761
+ }
762
+ ],
763
+ "exports": [
764
+ {
765
+ "kind": "js",
766
+ "name": "default",
767
+ "declaration": {
768
+ "name": "meta",
769
+ "module": "src/accordion/accordion.stories.ts"
770
+ }
771
+ },
772
+ {
773
+ "kind": "js",
774
+ "name": "Primary",
775
+ "declaration": {
776
+ "name": "Primary",
777
+ "module": "src/accordion/accordion.stories.ts"
778
+ }
779
+ }
780
+ ]
781
+ },
782
+ {
783
+ "kind": "javascript-module",
784
+ "path": "src/accordion/accordion.styles.ts",
722
785
  "declarations": [
723
786
  {
724
787
  "kind": "function",
725
- "name": "rapidAccordionItemStyles",
788
+ "name": "rapidAccordionStyles",
726
789
  "return": {
727
790
  "type": {
728
791
  "text": "ElementStyles"
@@ -747,24 +810,24 @@
747
810
  "exports": [
748
811
  {
749
812
  "kind": "js",
750
- "name": "rapidAccordionItemStyles",
813
+ "name": "rapidAccordionStyles",
751
814
  "declaration": {
752
- "name": "rapidAccordionItemStyles",
753
- "module": "src/accordion-item/accordion-item.styles.ts"
815
+ "name": "rapidAccordionStyles",
816
+ "module": "src/accordion/accordion.styles.ts"
754
817
  }
755
818
  }
756
819
  ]
757
820
  },
758
821
  {
759
822
  "kind": "javascript-module",
760
- "path": "src/accordion-item/accordion-item.template.ts",
823
+ "path": "src/accordion/accordion.template.ts",
761
824
  "declarations": [
762
825
  {
763
826
  "kind": "function",
764
- "name": "rapidAccordionItemTemplate",
827
+ "name": "rapidAccordionTemplate",
765
828
  "return": {
766
829
  "type": {
767
- "text": "ViewTemplate<AccordionItem>"
830
+ "text": "ViewTemplate<Accordion>"
768
831
  }
769
832
  },
770
833
  "parameters": [
@@ -786,56 +849,56 @@
786
849
  "exports": [
787
850
  {
788
851
  "kind": "js",
789
- "name": "rapidAccordionItemTemplate",
852
+ "name": "rapidAccordionTemplate",
790
853
  "declaration": {
791
- "name": "rapidAccordionItemTemplate",
792
- "module": "src/accordion-item/accordion-item.template.ts"
854
+ "name": "rapidAccordionTemplate",
855
+ "module": "src/accordion/accordion.template.ts"
793
856
  }
794
857
  }
795
858
  ]
796
859
  },
797
860
  {
798
861
  "kind": "javascript-module",
799
- "path": "src/accordion-item/accordion-item.ts",
862
+ "path": "src/accordion/accordion.ts",
800
863
  "declarations": [
801
864
  {
802
865
  "kind": "class",
803
866
  "description": "",
804
- "name": "AccordionItem",
867
+ "name": "Accordion",
805
868
  "superclass": {
806
- "name": "foundationAccordionItem",
869
+ "name": "foundationAccordion",
807
870
  "package": "@genesislcap/foundation-ui"
808
871
  },
809
- "tagName": "%%prefix%%-accordion-item",
872
+ "tagName": "%%prefix%%-accordion",
810
873
  "customElement": true
811
874
  },
812
875
  {
813
876
  "kind": "variable",
814
- "name": "rapidAccordionItem"
877
+ "name": "rapidAccordion"
815
878
  }
816
879
  ],
817
880
  "exports": [
818
881
  {
819
882
  "kind": "js",
820
- "name": "AccordionItem",
883
+ "name": "Accordion",
821
884
  "declaration": {
822
- "name": "AccordionItem",
823
- "module": "src/accordion-item/accordion-item.ts"
885
+ "name": "Accordion",
886
+ "module": "src/accordion/accordion.ts"
824
887
  }
825
888
  },
826
889
  {
827
890
  "kind": "js",
828
- "name": "rapidAccordionItem",
891
+ "name": "rapidAccordion",
829
892
  "declaration": {
830
- "name": "rapidAccordionItem",
831
- "module": "src/accordion-item/accordion-item.ts"
893
+ "name": "rapidAccordion",
894
+ "module": "src/accordion/accordion.ts"
832
895
  }
833
896
  }
834
897
  ]
835
898
  },
836
899
  {
837
900
  "kind": "javascript-module",
838
- "path": "src/accordion-item/index.ts",
901
+ "path": "src/accordion/index.ts",
839
902
  "declarations": [],
840
903
  "exports": [
841
904
  {
@@ -843,15 +906,7 @@
843
906
  "name": "*",
844
907
  "declaration": {
845
908
  "name": "*",
846
- "package": "./accordion-item"
847
- }
848
- },
849
- {
850
- "kind": "js",
851
- "name": "*",
852
- "declaration": {
853
- "name": "*",
854
- "package": "./accordion-item.styles"
909
+ "package": "./accordion"
855
910
  }
856
911
  },
857
912
  {
@@ -859,22 +914,7 @@
859
914
  "name": "*",
860
915
  "declaration": {
861
916
  "name": "*",
862
- "package": "./accordion-item.template"
863
- }
864
- }
865
- ]
866
- },
867
- {
868
- "kind": "javascript-module",
869
- "path": "src/_config/index.ts",
870
- "declarations": [],
871
- "exports": [
872
- {
873
- "kind": "js",
874
- "name": "*",
875
- "declaration": {
876
- "name": "*",
877
- "package": "./tokens"
917
+ "package": "./accordion.styles"
878
918
  }
879
919
  },
880
920
  {
@@ -882,58 +922,18 @@
882
922
  "name": "*",
883
923
  "declaration": {
884
924
  "name": "*",
885
- "package": "./values"
886
- }
887
- }
888
- ]
889
- },
890
- {
891
- "kind": "javascript-module",
892
- "path": "src/accordion/accordion.stories.ts",
893
- "declarations": [
894
- {
895
- "kind": "variable",
896
- "name": "meta",
897
- "type": {
898
- "text": "Meta"
899
- },
900
- "default": "{\n title: 'Accordion',\n component: 'rapid-accordion',\n}"
901
- },
902
- {
903
- "kind": "variable",
904
- "name": "Primary",
905
- "type": {
906
- "text": "StoryObj"
907
- },
908
- "default": "{\n render: () => html`\n <rapid-accordion>\n <rapid-accordion-item slot=\"item\" id=\"accordion-1\" class=\"expanded\">\n Accordion one content\n <div slot=\"heading\">Accordion one</div>\n </rapid-accordion-item>\n <rapid-accordion-item slot=\"item\" id=\"accordion-2\">\n Accordion two content\n <div slot=\"heading\">Accordion two</div>\n </rapid-accordion-item>\n <rapid-accordion-item slot=\"item\" id=\"accordion-3\">\n Accordion three content\n <div slot=\"heading\">Accordion three</div>\n </rapid-accordion-item>\n <rapid-accordion-item slot=\"item\" id=\"accordion-4\">\n Accordion four content\n <div slot=\"heading\">Accordion four</div>\n </rapid-accordion-item>\n </rapid-accordion>\n `,\n}"
909
- }
910
- ],
911
- "exports": [
912
- {
913
- "kind": "js",
914
- "name": "default",
915
- "declaration": {
916
- "name": "meta",
917
- "module": "src/accordion/accordion.stories.ts"
918
- }
919
- },
920
- {
921
- "kind": "js",
922
- "name": "Primary",
923
- "declaration": {
924
- "name": "Primary",
925
- "module": "src/accordion/accordion.stories.ts"
925
+ "package": "./accordion.template"
926
926
  }
927
927
  }
928
928
  ]
929
929
  },
930
930
  {
931
931
  "kind": "javascript-module",
932
- "path": "src/accordion/accordion.styles.ts",
932
+ "path": "src/accordion-item/accordion-item.styles.ts",
933
933
  "declarations": [
934
934
  {
935
935
  "kind": "function",
936
- "name": "rapidAccordionStyles",
936
+ "name": "rapidAccordionItemStyles",
937
937
  "return": {
938
938
  "type": {
939
939
  "text": "ElementStyles"
@@ -958,24 +958,24 @@
958
958
  "exports": [
959
959
  {
960
960
  "kind": "js",
961
- "name": "rapidAccordionStyles",
961
+ "name": "rapidAccordionItemStyles",
962
962
  "declaration": {
963
- "name": "rapidAccordionStyles",
964
- "module": "src/accordion/accordion.styles.ts"
963
+ "name": "rapidAccordionItemStyles",
964
+ "module": "src/accordion-item/accordion-item.styles.ts"
965
965
  }
966
966
  }
967
967
  ]
968
968
  },
969
969
  {
970
970
  "kind": "javascript-module",
971
- "path": "src/accordion/accordion.template.ts",
971
+ "path": "src/accordion-item/accordion-item.template.ts",
972
972
  "declarations": [
973
973
  {
974
974
  "kind": "function",
975
- "name": "rapidAccordionTemplate",
975
+ "name": "rapidAccordionItemTemplate",
976
976
  "return": {
977
977
  "type": {
978
- "text": "ViewTemplate<Accordion>"
978
+ "text": "ViewTemplate<AccordionItem>"
979
979
  }
980
980
  },
981
981
  "parameters": [
@@ -997,56 +997,56 @@
997
997
  "exports": [
998
998
  {
999
999
  "kind": "js",
1000
- "name": "rapidAccordionTemplate",
1000
+ "name": "rapidAccordionItemTemplate",
1001
1001
  "declaration": {
1002
- "name": "rapidAccordionTemplate",
1003
- "module": "src/accordion/accordion.template.ts"
1002
+ "name": "rapidAccordionItemTemplate",
1003
+ "module": "src/accordion-item/accordion-item.template.ts"
1004
1004
  }
1005
1005
  }
1006
1006
  ]
1007
1007
  },
1008
1008
  {
1009
1009
  "kind": "javascript-module",
1010
- "path": "src/accordion/accordion.ts",
1010
+ "path": "src/accordion-item/accordion-item.ts",
1011
1011
  "declarations": [
1012
1012
  {
1013
1013
  "kind": "class",
1014
1014
  "description": "",
1015
- "name": "Accordion",
1015
+ "name": "AccordionItem",
1016
1016
  "superclass": {
1017
- "name": "foundationAccordion",
1017
+ "name": "foundationAccordionItem",
1018
1018
  "package": "@genesislcap/foundation-ui"
1019
1019
  },
1020
- "tagName": "%%prefix%%-accordion",
1020
+ "tagName": "%%prefix%%-accordion-item",
1021
1021
  "customElement": true
1022
1022
  },
1023
1023
  {
1024
1024
  "kind": "variable",
1025
- "name": "rapidAccordion"
1025
+ "name": "rapidAccordionItem"
1026
1026
  }
1027
1027
  ],
1028
1028
  "exports": [
1029
1029
  {
1030
1030
  "kind": "js",
1031
- "name": "Accordion",
1031
+ "name": "AccordionItem",
1032
1032
  "declaration": {
1033
- "name": "Accordion",
1034
- "module": "src/accordion/accordion.ts"
1033
+ "name": "AccordionItem",
1034
+ "module": "src/accordion-item/accordion-item.ts"
1035
1035
  }
1036
1036
  },
1037
1037
  {
1038
1038
  "kind": "js",
1039
- "name": "rapidAccordion",
1039
+ "name": "rapidAccordionItem",
1040
1040
  "declaration": {
1041
- "name": "rapidAccordion",
1042
- "module": "src/accordion/accordion.ts"
1041
+ "name": "rapidAccordionItem",
1042
+ "module": "src/accordion-item/accordion-item.ts"
1043
1043
  }
1044
1044
  }
1045
1045
  ]
1046
1046
  },
1047
1047
  {
1048
1048
  "kind": "javascript-module",
1049
- "path": "src/accordion/index.ts",
1049
+ "path": "src/accordion-item/index.ts",
1050
1050
  "declarations": [],
1051
1051
  "exports": [
1052
1052
  {
@@ -1054,7 +1054,7 @@
1054
1054
  "name": "*",
1055
1055
  "declaration": {
1056
1056
  "name": "*",
1057
- "package": "./accordion"
1057
+ "package": "./accordion-item"
1058
1058
  }
1059
1059
  },
1060
1060
  {
@@ -1062,7 +1062,7 @@
1062
1062
  "name": "*",
1063
1063
  "declaration": {
1064
1064
  "name": "*",
1065
- "package": "./accordion.styles"
1065
+ "package": "./accordion-item.styles"
1066
1066
  }
1067
1067
  },
1068
1068
  {
@@ -1070,14 +1070,14 @@
1070
1070
  "name": "*",
1071
1071
  "declaration": {
1072
1072
  "name": "*",
1073
- "package": "./accordion.template"
1073
+ "package": "./accordion-item.template"
1074
1074
  }
1075
1075
  }
1076
1076
  ]
1077
1077
  },
1078
1078
  {
1079
1079
  "kind": "javascript-module",
1080
- "path": "src/actions-menu/actions-menu.stories.ts",
1080
+ "path": "src/anchor/anchor.stories.ts",
1081
1081
  "declarations": [
1082
1082
  {
1083
1083
  "kind": "variable",
@@ -1085,23 +1085,31 @@
1085
1085
  "type": {
1086
1086
  "text": "Meta"
1087
1087
  },
1088
- "default": "{\n title: 'Actions Menu',\n component: 'rapid-actions-menu',\n}"
1088
+ "default": "{\n title: 'Anchor',\n component: 'rapid-anchor',\n}"
1089
1089
  },
1090
1090
  {
1091
1091
  "kind": "variable",
1092
- "name": "Horizontal",
1092
+ "name": "Default",
1093
1093
  "type": {
1094
1094
  "text": "StoryObj"
1095
1095
  },
1096
- "default": "{\n args: {\n actions: rapidActions,\n actionsOpenerText: 'Horizontal Actions',\n definition,\n isVertical: false,\n },\n render: (args) => html`\n <div style=\"${horizontalStyle}\">\n <rapid-actions-menu\n .name=${args.actionsOpenerText}\n .definition=${args.definition}\n .actions=${args.actions}\n is-vertical=${args.isVertical}\n ></rapid-actions-menu>\n </div>\n `,\n}"
1096
+ "default": "{\n args: {\n appearance: 'primary',\n target: '_blank',\n href: 'https://www.microsoft.com',\n },\n argTypes: {\n appearance: {\n control: 'select',\n options: [...RapidAppearanceValues, ...FastAppearanceValues],\n },\n },\n render: ({ appearance, target, href }) => html`\n <div style=\"${wrapperStyle}\">\n <h3 style=\"${textStyle}\">${appearance}</div>\n <div style=\"display: flex; flex-direction: row; gap:16px;margin: 8px 0;\">\n <rapid-anchor appearance=\"${appearance}\" target=\"${target}\" href=\"${href}\" >Anchor</rapid-anchor>\n <rapid-anchor appearance=\"${appearance}\">\n Anchor\n <rapid-icon name=\"check\" size=\"md\" slot=\"end\"></rapid-icon>\n </rapid-anchor>\n </div>\n </div>`,\n}"
1097
1097
  },
1098
1098
  {
1099
1099
  "kind": "variable",
1100
- "name": "Vertical",
1100
+ "name": "RapidAnchorAppearances",
1101
1101
  "type": {
1102
1102
  "text": "StoryObj"
1103
1103
  },
1104
- "default": "{\n args: {\n actions: rapidActions,\n actionsOpenerText: 'Vertical Actions',\n definition,\n isVertical: true,\n },\n render: (args) => html`\n <div style=\"${verticalStyle}\">\n <rapid-actions-menu\n .name=${args.actionsOpenerText}\n .definition=${args.definition}\n .actions=${args.actions}\n is-vertical=${args.isVertical}\n ></rapid-actions-menu>\n </div>\n `,\n}"
1104
+ "default": "{\n args: {\n appearances: RapidAppearanceValues,\n anchorText: 'Anchor',\n },\n ...StylesMapperTemplate,\n}"
1105
+ },
1106
+ {
1107
+ "kind": "variable",
1108
+ "name": "FastAnchorAppearances",
1109
+ "type": {
1110
+ "text": "StoryObj"
1111
+ },
1112
+ "default": "{\n args: {\n appearances: FastAppearanceValues,\n anchorText: 'Anchor',\n },\n ...StylesMapperTemplate,\n}"
1105
1113
  }
1106
1114
  ],
1107
1115
  "exports": [
@@ -1110,34 +1118,42 @@
1110
1118
  "name": "default",
1111
1119
  "declaration": {
1112
1120
  "name": "meta",
1113
- "module": "src/actions-menu/actions-menu.stories.ts"
1121
+ "module": "src/anchor/anchor.stories.ts"
1114
1122
  }
1115
1123
  },
1116
1124
  {
1117
1125
  "kind": "js",
1118
- "name": "Horizontal",
1126
+ "name": "Default",
1119
1127
  "declaration": {
1120
- "name": "Horizontal",
1121
- "module": "src/actions-menu/actions-menu.stories.ts"
1128
+ "name": "Default",
1129
+ "module": "src/anchor/anchor.stories.ts"
1122
1130
  }
1123
1131
  },
1124
1132
  {
1125
1133
  "kind": "js",
1126
- "name": "Vertical",
1134
+ "name": "RapidAnchorAppearances",
1127
1135
  "declaration": {
1128
- "name": "Vertical",
1129
- "module": "src/actions-menu/actions-menu.stories.ts"
1136
+ "name": "RapidAnchorAppearances",
1137
+ "module": "src/anchor/anchor.stories.ts"
1138
+ }
1139
+ },
1140
+ {
1141
+ "kind": "js",
1142
+ "name": "FastAnchorAppearances",
1143
+ "declaration": {
1144
+ "name": "FastAnchorAppearances",
1145
+ "module": "src/anchor/anchor.stories.ts"
1130
1146
  }
1131
1147
  }
1132
1148
  ]
1133
1149
  },
1134
1150
  {
1135
1151
  "kind": "javascript-module",
1136
- "path": "src/actions-menu/actions-menu.styles.ts",
1152
+ "path": "src/anchor/anchor.styles.ts",
1137
1153
  "declarations": [
1138
1154
  {
1139
1155
  "kind": "function",
1140
- "name": "rapidActionsMenuStyles",
1156
+ "name": "rapidAnchorStyles",
1141
1157
  "return": {
1142
1158
  "type": {
1143
1159
  "text": "ElementStyles"
@@ -1162,383 +1178,291 @@
1162
1178
  "exports": [
1163
1179
  {
1164
1180
  "kind": "js",
1165
- "name": "rapidActionsMenuStyles",
1181
+ "name": "rapidAnchorStyles",
1166
1182
  "declaration": {
1167
- "name": "rapidActionsMenuStyles",
1168
- "module": "src/actions-menu/actions-menu.styles.ts"
1183
+ "name": "rapidAnchorStyles",
1184
+ "module": "src/anchor/anchor.styles.ts"
1169
1185
  }
1170
1186
  }
1171
1187
  ]
1172
1188
  },
1173
1189
  {
1174
1190
  "kind": "javascript-module",
1175
- "path": "src/actions-menu/actions-menu.ts",
1191
+ "path": "src/anchor/anchor.template.ts",
1192
+ "declarations": [
1193
+ {
1194
+ "kind": "function",
1195
+ "name": "rapidAnchorTemplate",
1196
+ "return": {
1197
+ "type": {
1198
+ "text": "ViewTemplate<Anchor>"
1199
+ }
1200
+ },
1201
+ "parameters": [
1202
+ {
1203
+ "name": "context",
1204
+ "type": {
1205
+ "text": "ElementDefinitionContext"
1206
+ }
1207
+ },
1208
+ {
1209
+ "name": "definition",
1210
+ "type": {
1211
+ "text": "FoundationElementDefinition"
1212
+ }
1213
+ }
1214
+ ]
1215
+ }
1216
+ ],
1217
+ "exports": [
1218
+ {
1219
+ "kind": "js",
1220
+ "name": "rapidAnchorTemplate",
1221
+ "declaration": {
1222
+ "name": "rapidAnchorTemplate",
1223
+ "module": "src/anchor/anchor.template.ts"
1224
+ }
1225
+ }
1226
+ ]
1227
+ },
1228
+ {
1229
+ "kind": "javascript-module",
1230
+ "path": "src/anchor/anchor.ts",
1176
1231
  "declarations": [
1177
1232
  {
1178
1233
  "kind": "class",
1179
1234
  "description": "",
1180
- "name": "ActionsMenu",
1235
+ "name": "Anchor",
1181
1236
  "superclass": {
1182
- "name": "FoundationActionsMenu",
1237
+ "name": "FoundationAnchor",
1183
1238
  "package": "@genesislcap/foundation-ui"
1184
1239
  },
1185
- "tagName": "%%prefix%%-actions-menu",
1240
+ "tagName": "%%prefix%%-anchor",
1186
1241
  "customElement": true,
1187
1242
  "attributes": [
1188
1243
  {
1189
- "name": "is-vertical",
1244
+ "name": "download",
1190
1245
  "type": {
1191
- "text": "boolean"
1246
+ "text": "string"
1192
1247
  },
1193
- "default": "false",
1194
- "fieldName": "isVertical",
1248
+ "description": "Prompts the user to save the linked URL. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1249
+ "fieldName": "download",
1195
1250
  "inheritedFrom": {
1196
- "name": "ActionsMenu",
1197
- "module": "src/actions-menu/actions-menu.ts"
1251
+ "name": "Anchor",
1252
+ "module": "src/anchor/anchor.ts"
1198
1253
  }
1199
1254
  },
1200
1255
  {
1201
- "name": "add-default-actions",
1256
+ "name": "href",
1202
1257
  "type": {
1203
- "text": "boolean"
1258
+ "text": "string"
1204
1259
  },
1205
- "default": "true",
1206
- "fieldName": "addDefaultActions",
1260
+ "description": "The URL the hyperlink references. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1261
+ "fieldName": "href",
1207
1262
  "inheritedFrom": {
1208
- "name": "ActionsMenu",
1209
- "module": "src/actions-menu/actions-menu.ts"
1263
+ "name": "Anchor",
1264
+ "module": "src/anchor/anchor.ts"
1210
1265
  }
1211
1266
  },
1212
1267
  {
1213
- "name": "auto-close-on-action",
1268
+ "name": "hreflang",
1214
1269
  "type": {
1215
- "text": "boolean"
1270
+ "text": "string"
1216
1271
  },
1217
- "default": "true",
1218
- "fieldName": "autoCloseOnAction",
1272
+ "description": "Hints at the language of the referenced resource. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1273
+ "fieldName": "hreflang",
1219
1274
  "inheritedFrom": {
1220
- "name": "ActionsMenu",
1221
- "module": "src/actions-menu/actions-menu.ts"
1275
+ "name": "Anchor",
1276
+ "module": "src/anchor/anchor.ts"
1222
1277
  }
1223
1278
  },
1224
1279
  {
1225
- "name": "name",
1280
+ "name": "ping",
1226
1281
  "type": {
1227
1282
  "text": "string"
1228
1283
  },
1229
- "default": "'Actions'",
1230
- "fieldName": "name",
1284
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1285
+ "fieldName": "ping",
1231
1286
  "inheritedFrom": {
1232
- "name": "ActionsMenu",
1233
- "module": "src/actions-menu/actions-menu.ts"
1287
+ "name": "Anchor",
1288
+ "module": "src/anchor/anchor.ts"
1234
1289
  }
1235
1290
  },
1236
1291
  {
1237
- "name": "open",
1292
+ "name": "referrerpolicy",
1238
1293
  "type": {
1239
- "text": "boolean"
1294
+ "text": "string"
1240
1295
  },
1241
- "default": "false",
1242
- "fieldName": "open",
1296
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1297
+ "fieldName": "referrerpolicy",
1243
1298
  "inheritedFrom": {
1244
- "name": "ActionsMenu",
1245
- "module": "src/actions-menu/actions-menu.ts"
1299
+ "name": "Anchor",
1300
+ "module": "src/anchor/anchor.ts"
1246
1301
  }
1247
1302
  },
1248
1303
  {
1249
- "name": "buttonAppearance",
1304
+ "name": "rel",
1250
1305
  "type": {
1251
1306
  "text": "string"
1252
1307
  },
1253
- "fieldName": "buttonAppearance",
1308
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1309
+ "fieldName": "rel",
1254
1310
  "inheritedFrom": {
1255
- "name": "ActionsMenu",
1256
- "module": "src/actions-menu/actions-menu.ts"
1311
+ "name": "Anchor",
1312
+ "module": "src/anchor/anchor.ts"
1257
1313
  }
1258
1314
  },
1259
1315
  {
1260
- "name": "hide-disabled",
1316
+ "name": "target",
1261
1317
  "type": {
1262
- "text": "boolean"
1318
+ "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
1263
1319
  },
1264
- "default": "false",
1265
- "fieldName": "hideDisabled",
1320
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1321
+ "fieldName": "target",
1266
1322
  "inheritedFrom": {
1267
- "name": "ActionsMenu",
1268
- "module": "src/actions-menu/actions-menu.ts"
1323
+ "name": "Anchor",
1324
+ "module": "src/anchor/anchor.ts"
1269
1325
  }
1270
1326
  },
1271
1327
  {
1272
- "name": "hide-menu-single-option",
1328
+ "name": "type",
1273
1329
  "type": {
1274
- "text": "boolean"
1330
+ "text": "string"
1275
1331
  },
1276
- "default": "false",
1277
- "fieldName": "hideMenuSingleOption",
1332
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1333
+ "fieldName": "type",
1278
1334
  "inheritedFrom": {
1279
- "name": "ActionsMenu",
1280
- "module": "src/actions-menu/actions-menu.ts"
1335
+ "name": "Anchor",
1336
+ "module": "src/anchor/anchor.ts"
1281
1337
  }
1282
1338
  }
1283
1339
  ],
1284
1340
  "members": [
1285
1341
  {
1286
1342
  "kind": "field",
1287
- "name": "actions",
1288
- "type": {
1289
- "text": "ActionMenuItem[]"
1290
- },
1291
- "inheritedFrom": {
1292
- "name": "ActionsMenu",
1293
- "module": "src/actions-menu/actions-menu.ts"
1294
- }
1295
- },
1296
- {
1297
- "kind": "field",
1298
- "name": "isVertical",
1343
+ "name": "download",
1299
1344
  "type": {
1300
- "text": "boolean"
1345
+ "text": "string"
1301
1346
  },
1302
- "default": "false",
1347
+ "privacy": "public",
1348
+ "description": "Prompts the user to save the linked URL. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1303
1349
  "inheritedFrom": {
1304
- "name": "ActionsMenu",
1305
- "module": "src/actions-menu/actions-menu.ts"
1350
+ "name": "Anchor",
1351
+ "module": "src/anchor/anchor.ts"
1306
1352
  }
1307
1353
  },
1308
1354
  {
1309
1355
  "kind": "field",
1310
- "name": "addDefaultActions",
1356
+ "name": "href",
1311
1357
  "type": {
1312
- "text": "boolean"
1358
+ "text": "string"
1313
1359
  },
1314
- "default": "true",
1360
+ "privacy": "public",
1361
+ "description": "The URL the hyperlink references. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1315
1362
  "inheritedFrom": {
1316
- "name": "ActionsMenu",
1317
- "module": "src/actions-menu/actions-menu.ts"
1363
+ "name": "Anchor",
1364
+ "module": "src/anchor/anchor.ts"
1318
1365
  }
1319
1366
  },
1320
1367
  {
1321
1368
  "kind": "field",
1322
- "name": "autoCloseOnAction",
1369
+ "name": "hreflang",
1323
1370
  "type": {
1324
- "text": "boolean"
1371
+ "text": "string"
1325
1372
  },
1326
- "default": "true",
1373
+ "privacy": "public",
1374
+ "description": "Hints at the language of the referenced resource. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1327
1375
  "inheritedFrom": {
1328
- "name": "ActionsMenu",
1329
- "module": "src/actions-menu/actions-menu.ts"
1376
+ "name": "Anchor",
1377
+ "module": "src/anchor/anchor.ts"
1330
1378
  }
1331
1379
  },
1332
1380
  {
1333
1381
  "kind": "field",
1334
- "name": "classNames",
1382
+ "name": "ping",
1335
1383
  "type": {
1336
1384
  "text": "string"
1337
1385
  },
1386
+ "privacy": "public",
1387
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1338
1388
  "inheritedFrom": {
1339
- "name": "ActionsMenu",
1340
- "module": "src/actions-menu/actions-menu.ts"
1389
+ "name": "Anchor",
1390
+ "module": "src/anchor/anchor.ts"
1341
1391
  }
1342
1392
  },
1343
1393
  {
1344
1394
  "kind": "field",
1345
- "name": "definition",
1395
+ "name": "referrerpolicy",
1346
1396
  "type": {
1347
- "text": "any"
1397
+ "text": "string"
1348
1398
  },
1399
+ "privacy": "public",
1400
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1349
1401
  "inheritedFrom": {
1350
- "name": "ActionsMenu",
1351
- "module": "src/actions-menu/actions-menu.ts"
1402
+ "name": "Anchor",
1403
+ "module": "src/anchor/anchor.ts"
1352
1404
  }
1353
1405
  },
1354
1406
  {
1355
1407
  "kind": "field",
1356
- "name": "name",
1408
+ "name": "rel",
1357
1409
  "type": {
1358
1410
  "text": "string"
1359
1411
  },
1360
- "default": "'Actions'",
1412
+ "privacy": "public",
1413
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1361
1414
  "inheritedFrom": {
1362
- "name": "ActionsMenu",
1363
- "module": "src/actions-menu/actions-menu.ts"
1415
+ "name": "Anchor",
1416
+ "module": "src/anchor/anchor.ts"
1364
1417
  }
1365
1418
  },
1366
1419
  {
1367
1420
  "kind": "field",
1368
- "name": "open",
1421
+ "name": "target",
1369
1422
  "type": {
1370
- "text": "boolean"
1423
+ "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
1371
1424
  },
1372
- "default": "false",
1425
+ "privacy": "public",
1426
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1373
1427
  "inheritedFrom": {
1374
- "name": "ActionsMenu",
1375
- "module": "src/actions-menu/actions-menu.ts"
1428
+ "name": "Anchor",
1429
+ "module": "src/anchor/anchor.ts"
1376
1430
  }
1377
1431
  },
1378
1432
  {
1379
1433
  "kind": "field",
1380
- "name": "buttonAppearance",
1434
+ "name": "type",
1381
1435
  "type": {
1382
1436
  "text": "string"
1383
1437
  },
1438
+ "privacy": "public",
1439
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1384
1440
  "inheritedFrom": {
1385
- "name": "ActionsMenu",
1386
- "module": "src/actions-menu/actions-menu.ts"
1441
+ "name": "Anchor",
1442
+ "module": "src/anchor/anchor.ts"
1387
1443
  }
1388
1444
  },
1389
1445
  {
1390
1446
  "kind": "field",
1391
- "name": "hideDisabled",
1447
+ "name": "control",
1392
1448
  "type": {
1393
- "text": "boolean"
1394
- },
1395
- "default": "false",
1396
- "inheritedFrom": {
1397
- "name": "ActionsMenu",
1398
- "module": "src/actions-menu/actions-menu.ts"
1399
- }
1400
- },
1401
- {
1402
- "kind": "field",
1403
- "name": "hideMenuSingleOption",
1404
- "type": {
1405
- "text": "boolean"
1406
- },
1407
- "default": "false",
1408
- "inheritedFrom": {
1409
- "name": "ActionsMenu",
1410
- "module": "src/actions-menu/actions-menu.ts"
1411
- }
1412
- },
1413
- {
1414
- "kind": "field",
1415
- "name": "singleOption",
1416
- "type": {
1417
- "text": "ActionMenuItem"
1418
- },
1419
- "inheritedFrom": {
1420
- "name": "ActionsMenu",
1421
- "module": "src/actions-menu/actions-menu.ts"
1422
- }
1423
- },
1424
- {
1425
- "kind": "field",
1426
- "name": "actionsMenu",
1427
- "type": {
1428
- "text": "HTMLElement"
1429
- },
1430
- "inheritedFrom": {
1431
- "name": "ActionsMenu",
1432
- "module": "src/actions-menu/actions-menu.ts"
1433
- }
1434
- },
1435
- {
1436
- "kind": "method",
1437
- "name": "definitionChanged",
1438
- "privacy": "protected",
1439
- "parameters": [
1440
- {
1441
- "name": "oldValue",
1442
- "type": {
1443
- "text": "any"
1444
- }
1445
- },
1446
- {
1447
- "name": "newValue",
1448
- "type": {
1449
- "text": "any"
1450
- }
1451
- }
1452
- ],
1453
- "inheritedFrom": {
1454
- "name": "ActionsMenu",
1455
- "module": "src/actions-menu/actions-menu.ts"
1456
- }
1457
- },
1458
- {
1459
- "kind": "method",
1460
- "name": "openChanged",
1461
- "privacy": "protected",
1462
- "inheritedFrom": {
1463
- "name": "ActionsMenu",
1464
- "module": "src/actions-menu/actions-menu.ts"
1465
- }
1466
- },
1467
- {
1468
- "kind": "method",
1469
- "name": "toggleActionsMenuVisibility",
1470
- "inheritedFrom": {
1471
- "name": "ActionsMenu",
1472
- "module": "src/actions-menu/actions-menu.ts"
1473
- }
1474
- },
1475
- {
1476
- "kind": "method",
1477
- "name": "onActionMenuItemClick",
1478
- "parameters": [
1479
- {
1480
- "name": "callback",
1481
- "type": {
1482
- "text": "(rowData) => void | any"
1483
- }
1484
- }
1485
- ],
1486
- "inheritedFrom": {
1487
- "name": "ActionsMenu",
1488
- "module": "src/actions-menu/actions-menu.ts"
1489
- }
1490
- },
1491
- {
1492
- "kind": "field",
1493
- "name": "allActions",
1494
- "type": {
1495
- "text": "ActionMenuItem[]"
1449
+ "text": "HTMLAnchorElement | undefined"
1496
1450
  },
1497
- "readonly": true,
1451
+ "privacy": "public",
1452
+ "description": "References the root element",
1498
1453
  "inheritedFrom": {
1499
- "name": "ActionsMenu",
1500
- "module": "src/actions-menu/actions-menu.ts"
1454
+ "name": "Anchor",
1455
+ "module": "src/anchor/anchor.ts"
1501
1456
  }
1502
1457
  },
1503
1458
  {
1504
1459
  "kind": "field",
1505
- "name": "rowData",
1506
- "readonly": true,
1507
- "inheritedFrom": {
1508
- "name": "ActionsMenu",
1509
- "module": "src/actions-menu/actions-menu.ts"
1510
- }
1511
- },
1512
- {
1513
- "kind": "method",
1514
- "name": "getLabel",
1515
- "parameters": [
1516
- {
1517
- "name": "name",
1518
- "type": {
1519
- "text": "string | ((rowData: any) => string)"
1520
- }
1521
- }
1522
- ],
1523
- "inheritedFrom": {
1524
- "name": "ActionsMenu",
1525
- "module": "src/actions-menu/actions-menu.ts"
1526
- }
1527
- },
1528
- {
1529
- "kind": "method",
1530
- "name": "getTemplate",
1531
- "parameters": [
1532
- {
1533
- "name": "prefix",
1534
- "type": {
1535
- "text": "string"
1536
- }
1537
- }
1538
- ],
1460
+ "name": "handleUnsupportedDelegatesFocus",
1461
+ "privacy": "private",
1462
+ "description": "Overrides the focus call for where delegatesFocus is unsupported.\nThis check works for Chrome, Edge Chromium, FireFox, and Safari\nRelevant PR on the Firefox browser: https://phabricator.services.mozilla.com/D123858",
1539
1463
  "inheritedFrom": {
1540
- "name": "ActionsMenu",
1541
- "module": "src/actions-menu/actions-menu.ts"
1464
+ "name": "Anchor",
1465
+ "module": "src/anchor/anchor.ts"
1542
1466
  }
1543
1467
  },
1544
1468
  {
@@ -1550,8 +1474,8 @@
1550
1474
  "privacy": "private",
1551
1475
  "default": "void 0",
1552
1476
  "inheritedFrom": {
1553
- "name": "FoundationElement",
1554
- "module": "src/foundation-element/foundation-element.ts"
1477
+ "name": "Anchor",
1478
+ "module": "src/anchor/anchor.ts"
1555
1479
  }
1556
1480
  },
1557
1481
  {
@@ -1563,8 +1487,8 @@
1563
1487
  "privacy": "public",
1564
1488
  "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1565
1489
  "inheritedFrom": {
1566
- "name": "FoundationElement",
1567
- "module": "src/foundation-element/foundation-element.ts"
1490
+ "name": "Anchor",
1491
+ "module": "src/anchor/anchor.ts"
1568
1492
  }
1569
1493
  },
1570
1494
  {
@@ -1576,8 +1500,8 @@
1576
1500
  "privacy": "public",
1577
1501
  "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
1578
1502
  "inheritedFrom": {
1579
- "name": "FoundationElement",
1580
- "module": "src/foundation-element/foundation-element.ts"
1503
+ "name": "Anchor",
1504
+ "module": "src/anchor/anchor.ts"
1581
1505
  }
1582
1506
  },
1583
1507
  {
@@ -1590,8 +1514,8 @@
1590
1514
  }
1591
1515
  },
1592
1516
  "inheritedFrom": {
1593
- "name": "FoundationElement",
1594
- "module": "src/foundation-element/foundation-element.ts"
1517
+ "name": "Anchor",
1518
+ "module": "src/anchor/anchor.ts"
1595
1519
  }
1596
1520
  },
1597
1521
  {
@@ -1603,8 +1527,8 @@
1603
1527
  "privacy": "public",
1604
1528
  "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
1605
1529
  "inheritedFrom": {
1606
- "name": "FoundationElement",
1607
- "module": "src/foundation-element/foundation-element.ts"
1530
+ "name": "Anchor",
1531
+ "module": "src/anchor/anchor.ts"
1608
1532
  }
1609
1533
  },
1610
1534
  {
@@ -1617,8 +1541,8 @@
1617
1541
  }
1618
1542
  },
1619
1543
  "inheritedFrom": {
1620
- "name": "FoundationElement",
1621
- "module": "src/foundation-element/foundation-element.ts"
1544
+ "name": "Anchor",
1545
+ "module": "src/anchor/anchor.ts"
1622
1546
  }
1623
1547
  },
1624
1548
  {
@@ -1648,41 +1572,39 @@
1648
1572
  ],
1649
1573
  "description": "Defines an element registry function with a set of element definition defaults.",
1650
1574
  "inheritedFrom": {
1651
- "name": "FoundationElement",
1652
- "module": "src/foundation-element/foundation-element.ts"
1575
+ "name": "Anchor",
1576
+ "module": "src/anchor/anchor.ts"
1653
1577
  }
1654
1578
  }
1655
1579
  ]
1656
1580
  },
1657
1581
  {
1658
1582
  "kind": "variable",
1659
- "name": "rapidActionsMenu",
1660
- "description": "The Rapid Actions Menu",
1661
- "privacy": "public"
1583
+ "name": "rapidAnchor"
1662
1584
  }
1663
1585
  ],
1664
1586
  "exports": [
1665
1587
  {
1666
1588
  "kind": "js",
1667
- "name": "ActionsMenu",
1589
+ "name": "Anchor",
1668
1590
  "declaration": {
1669
- "name": "ActionsMenu",
1670
- "module": "src/actions-menu/actions-menu.ts"
1591
+ "name": "Anchor",
1592
+ "module": "src/anchor/anchor.ts"
1671
1593
  }
1672
1594
  },
1673
1595
  {
1674
1596
  "kind": "js",
1675
- "name": "rapidActionsMenu",
1597
+ "name": "rapidAnchor",
1676
1598
  "declaration": {
1677
- "name": "rapidActionsMenu",
1678
- "module": "src/actions-menu/actions-menu.ts"
1599
+ "name": "rapidAnchor",
1600
+ "module": "src/anchor/anchor.ts"
1679
1601
  }
1680
1602
  }
1681
1603
  ]
1682
1604
  },
1683
1605
  {
1684
1606
  "kind": "javascript-module",
1685
- "path": "src/actions-menu/index.ts",
1607
+ "path": "src/anchor/index.ts",
1686
1608
  "declarations": [],
1687
1609
  "exports": [
1688
1610
  {
@@ -1690,7 +1612,7 @@
1690
1612
  "name": "*",
1691
1613
  "declaration": {
1692
1614
  "name": "*",
1693
- "package": "./actions-menu"
1615
+ "package": "./anchor"
1694
1616
  }
1695
1617
  },
1696
1618
  {
@@ -1698,14 +1620,22 @@
1698
1620
  "name": "*",
1699
1621
  "declaration": {
1700
1622
  "name": "*",
1701
- "package": "./actions-menu.styles"
1623
+ "package": "./anchor.styles"
1624
+ }
1625
+ },
1626
+ {
1627
+ "kind": "js",
1628
+ "name": "*",
1629
+ "declaration": {
1630
+ "name": "*",
1631
+ "package": "./anchor.template"
1702
1632
  }
1703
1633
  }
1704
1634
  ]
1705
1635
  },
1706
1636
  {
1707
1637
  "kind": "javascript-module",
1708
- "path": "src/anchor/anchor.stories.ts",
1638
+ "path": "src/anchored-region/anchored-region.stories.ts",
1709
1639
  "declarations": [
1710
1640
  {
1711
1641
  "kind": "variable",
@@ -1713,7 +1643,7 @@
1713
1643
  "type": {
1714
1644
  "text": "Meta"
1715
1645
  },
1716
- "default": "{\n title: 'Anchor',\n component: 'rapid-anchor',\n}"
1646
+ "default": "{\n title: 'Anchored Region',\n component: 'rapid-anchored-region',\n}"
1717
1647
  },
1718
1648
  {
1719
1649
  "kind": "variable",
@@ -1721,23 +1651,15 @@
1721
1651
  "type": {
1722
1652
  "text": "StoryObj"
1723
1653
  },
1724
- "default": "{\n args: {\n appearance: 'primary',\n target: '_blank',\n href: 'https://www.microsoft.com',\n },\n argTypes: {\n appearance: {\n control: 'select',\n options: [...RapidAppearanceValues, ...FastAppearanceValues],\n },\n },\n render: ({ appearance, target, href }) => html`\n <div style=\"${wrapperStyle}\">\n <h3 style=\"${textStyle}\">${appearance}</div>\n <div style=\"display: flex; flex-direction: row; gap:16px;margin: 8px 0;\">\n <rapid-anchor appearance=\"${appearance}\" target=\"${target}\" href=\"${href}\" >Anchor</rapid-anchor>\n <rapid-anchor appearance=\"${appearance}\">\n Anchor\n <rapid-icon name=\"check\" size=\"md\" slot=\"end\"></rapid-icon>\n </rapid-anchor>\n </div>\n </div>`,\n}"
1725
- },
1726
- {
1727
- "kind": "variable",
1728
- "name": "RapidAnchorAppearances",
1729
- "type": {
1730
- "text": "StoryObj"
1731
- },
1732
- "default": "{\n args: {\n appearances: RapidAppearanceValues,\n anchorText: 'Anchor',\n },\n ...StylesMapperTemplate,\n}"
1654
+ "default": "{\n args: {\n anchorText: 'This will show above button',\n verticalDefaultPosition: 'top',\n },\n argTypes: {\n verticalDefaultPosition: {\n control: 'select',\n options: ['top', 'bottom'],\n },\n },\n ...anchorRegionTopTemplate,\n}"
1733
1655
  },
1734
1656
  {
1735
1657
  "kind": "variable",
1736
- "name": "FastAnchorAppearances",
1658
+ "name": "Bottom",
1737
1659
  "type": {
1738
1660
  "text": "StoryObj"
1739
1661
  },
1740
- "default": "{\n args: {\n appearances: FastAppearanceValues,\n anchorText: 'Anchor',\n },\n ...StylesMapperTemplate,\n}"
1662
+ "default": "{\n args: {\n anchorText: 'This will show below button',\n verticalDefaultPosition: 'bottom',\n },\n argTypes: {\n verticalDefaultPosition: {\n control: 'select',\n options: ['top', 'bottom'],\n },\n },\n ...anchorRegionBottomTemplate,\n}"
1741
1663
  }
1742
1664
  ],
1743
1665
  "exports": [
@@ -1746,7 +1668,7 @@
1746
1668
  "name": "default",
1747
1669
  "declaration": {
1748
1670
  "name": "meta",
1749
- "module": "src/anchor/anchor.stories.ts"
1671
+ "module": "src/anchored-region/anchored-region.stories.ts"
1750
1672
  }
1751
1673
  },
1752
1674
  {
@@ -1754,34 +1676,26 @@
1754
1676
  "name": "Default",
1755
1677
  "declaration": {
1756
1678
  "name": "Default",
1757
- "module": "src/anchor/anchor.stories.ts"
1758
- }
1759
- },
1760
- {
1761
- "kind": "js",
1762
- "name": "RapidAnchorAppearances",
1763
- "declaration": {
1764
- "name": "RapidAnchorAppearances",
1765
- "module": "src/anchor/anchor.stories.ts"
1679
+ "module": "src/anchored-region/anchored-region.stories.ts"
1766
1680
  }
1767
1681
  },
1768
1682
  {
1769
1683
  "kind": "js",
1770
- "name": "FastAnchorAppearances",
1684
+ "name": "Bottom",
1771
1685
  "declaration": {
1772
- "name": "FastAnchorAppearances",
1773
- "module": "src/anchor/anchor.stories.ts"
1686
+ "name": "Bottom",
1687
+ "module": "src/anchored-region/anchored-region.stories.ts"
1774
1688
  }
1775
1689
  }
1776
1690
  ]
1777
1691
  },
1778
1692
  {
1779
1693
  "kind": "javascript-module",
1780
- "path": "src/anchor/anchor.styles.ts",
1694
+ "path": "src/anchored-region/anchored-region.styles.ts",
1781
1695
  "declarations": [
1782
1696
  {
1783
1697
  "kind": "function",
1784
- "name": "rapidAnchorStyles",
1698
+ "name": "rapidAnchoredRegionStyles",
1785
1699
  "return": {
1786
1700
  "type": {
1787
1701
  "text": "ElementStyles"
@@ -1806,24 +1720,24 @@
1806
1720
  "exports": [
1807
1721
  {
1808
1722
  "kind": "js",
1809
- "name": "rapidAnchorStyles",
1723
+ "name": "rapidAnchoredRegionStyles",
1810
1724
  "declaration": {
1811
- "name": "rapidAnchorStyles",
1812
- "module": "src/anchor/anchor.styles.ts"
1725
+ "name": "rapidAnchoredRegionStyles",
1726
+ "module": "src/anchored-region/anchored-region.styles.ts"
1813
1727
  }
1814
1728
  }
1815
1729
  ]
1816
1730
  },
1817
1731
  {
1818
1732
  "kind": "javascript-module",
1819
- "path": "src/anchor/anchor.template.ts",
1733
+ "path": "src/anchored-region/anchored-region.template.ts",
1820
1734
  "declarations": [
1821
1735
  {
1822
1736
  "kind": "function",
1823
- "name": "rapidAnchorTemplate",
1737
+ "name": "rapidAnchoredRegionTemplate",
1824
1738
  "return": {
1825
1739
  "type": {
1826
- "text": "ViewTemplate<Anchor>"
1740
+ "text": "ViewTemplate<AnchoredRegion>"
1827
1741
  }
1828
1742
  },
1829
1743
  "parameters": [
@@ -1845,788 +1759,636 @@
1845
1759
  "exports": [
1846
1760
  {
1847
1761
  "kind": "js",
1848
- "name": "rapidAnchorTemplate",
1762
+ "name": "rapidAnchoredRegionTemplate",
1849
1763
  "declaration": {
1850
- "name": "rapidAnchorTemplate",
1851
- "module": "src/anchor/anchor.template.ts"
1764
+ "name": "rapidAnchoredRegionTemplate",
1765
+ "module": "src/anchored-region/anchored-region.template.ts"
1852
1766
  }
1853
1767
  }
1854
1768
  ]
1855
1769
  },
1856
1770
  {
1857
1771
  "kind": "javascript-module",
1858
- "path": "src/anchor/anchor.ts",
1772
+ "path": "src/anchored-region/anchored-region.ts",
1859
1773
  "declarations": [
1860
1774
  {
1861
1775
  "kind": "class",
1862
1776
  "description": "",
1863
- "name": "Anchor",
1777
+ "name": "AnchoredRegion",
1864
1778
  "superclass": {
1865
- "name": "FoundationAnchor",
1779
+ "name": "FoundationAnchoredRegion",
1866
1780
  "package": "@genesislcap/foundation-ui"
1867
1781
  },
1868
- "tagName": "%%prefix%%-anchor",
1782
+ "tagName": "%%prefix%%-anchored-region",
1869
1783
  "customElement": true,
1870
1784
  "attributes": [
1871
1785
  {
1872
- "name": "download",
1786
+ "name": "anchor",
1873
1787
  "type": {
1874
1788
  "text": "string"
1875
1789
  },
1876
- "description": "Prompts the user to save the linked URL. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1877
- "fieldName": "download",
1790
+ "default": "\"\"",
1791
+ "description": "The HTML ID of the anchor element this region is positioned relative to",
1792
+ "fieldName": "anchor",
1878
1793
  "inheritedFrom": {
1879
- "name": "Anchor",
1880
- "module": "src/anchor/anchor.ts"
1794
+ "name": "AnchoredRegion",
1795
+ "module": "src/anchored-region/anchored-region.ts"
1881
1796
  }
1882
1797
  },
1883
1798
  {
1884
- "name": "href",
1799
+ "name": "viewport",
1885
1800
  "type": {
1886
1801
  "text": "string"
1887
1802
  },
1888
- "description": "The URL the hyperlink references. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1889
- "fieldName": "href",
1803
+ "default": "\"\"",
1804
+ "description": "The HTML ID of the viewport element this region is positioned relative to",
1805
+ "fieldName": "viewport",
1890
1806
  "inheritedFrom": {
1891
- "name": "Anchor",
1892
- "module": "src/anchor/anchor.ts"
1807
+ "name": "AnchoredRegion",
1808
+ "module": "src/anchored-region/anchored-region.ts"
1893
1809
  }
1894
1810
  },
1895
1811
  {
1896
- "name": "hreflang",
1812
+ "name": "horizontal-positioning-mode",
1897
1813
  "type": {
1898
- "text": "string"
1814
+ "text": "AxisPositioningMode"
1899
1815
  },
1900
- "description": "Hints at the language of the referenced resource. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1901
- "fieldName": "hreflang",
1816
+ "default": "\"uncontrolled\"",
1817
+ "description": "Sets what logic the component uses to determine horizontal placement.\n'locktodefault' forces the default position\n'dynamic' decides placement based on available space\n'uncontrolled' does not control placement on the horizontal axis",
1818
+ "fieldName": "horizontalPositioningMode",
1902
1819
  "inheritedFrom": {
1903
- "name": "Anchor",
1904
- "module": "src/anchor/anchor.ts"
1820
+ "name": "AnchoredRegion",
1821
+ "module": "src/anchored-region/anchored-region.ts"
1905
1822
  }
1906
1823
  },
1907
1824
  {
1908
- "name": "ping",
1825
+ "name": "horizontal-default-position",
1909
1826
  "type": {
1910
- "text": "string"
1827
+ "text": "HorizontalPosition"
1911
1828
  },
1912
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1913
- "fieldName": "ping",
1829
+ "default": "\"unset\"",
1830
+ "description": "The default horizontal position of the region relative to the anchor element",
1831
+ "fieldName": "horizontalDefaultPosition",
1914
1832
  "inheritedFrom": {
1915
- "name": "Anchor",
1916
- "module": "src/anchor/anchor.ts"
1833
+ "name": "AnchoredRegion",
1834
+ "module": "src/anchored-region/anchored-region.ts"
1917
1835
  }
1918
1836
  },
1919
1837
  {
1920
- "name": "referrerpolicy",
1838
+ "name": "horizontal-viewport-lock",
1921
1839
  "type": {
1922
- "text": "string"
1840
+ "text": "boolean"
1923
1841
  },
1924
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1925
- "fieldName": "referrerpolicy",
1842
+ "default": "false",
1843
+ "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis",
1844
+ "fieldName": "horizontalViewportLock",
1926
1845
  "inheritedFrom": {
1927
- "name": "Anchor",
1928
- "module": "src/anchor/anchor.ts"
1846
+ "name": "AnchoredRegion",
1847
+ "module": "src/anchored-region/anchored-region.ts"
1929
1848
  }
1930
1849
  },
1931
1850
  {
1932
- "name": "rel",
1851
+ "name": "horizontal-inset",
1933
1852
  "type": {
1934
- "text": "string"
1853
+ "text": "boolean"
1935
1854
  },
1936
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1937
- "fieldName": "rel",
1855
+ "default": "false",
1856
+ "description": "Whether the region overlaps the anchor on the horizontal axis",
1857
+ "fieldName": "horizontalInset",
1938
1858
  "inheritedFrom": {
1939
- "name": "Anchor",
1940
- "module": "src/anchor/anchor.ts"
1859
+ "name": "AnchoredRegion",
1860
+ "module": "src/anchored-region/anchored-region.ts"
1941
1861
  }
1942
1862
  },
1943
1863
  {
1944
- "name": "target",
1864
+ "name": "horizontal-threshold",
1945
1865
  "type": {
1946
- "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
1866
+ "text": "number"
1947
1867
  },
1948
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1949
- "fieldName": "target",
1868
+ "description": "How narrow the space allocated to the default position has to be before the widest area\nis selected for layout",
1869
+ "fieldName": "horizontalThreshold",
1950
1870
  "inheritedFrom": {
1951
- "name": "Anchor",
1952
- "module": "src/anchor/anchor.ts"
1871
+ "name": "AnchoredRegion",
1872
+ "module": "src/anchored-region/anchored-region.ts"
1953
1873
  }
1954
1874
  },
1955
1875
  {
1956
- "name": "type",
1876
+ "name": "horizontal-scaling",
1957
1877
  "type": {
1958
- "text": "string"
1878
+ "text": "AxisScalingMode"
1959
1879
  },
1960
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1961
- "fieldName": "type",
1880
+ "default": "\"content\"",
1881
+ "description": "Defines how the width of the region is calculated",
1882
+ "fieldName": "horizontalScaling",
1962
1883
  "inheritedFrom": {
1963
- "name": "Anchor",
1964
- "module": "src/anchor/anchor.ts"
1884
+ "name": "AnchoredRegion",
1885
+ "module": "src/anchored-region/anchored-region.ts"
1965
1886
  }
1966
- }
1967
- ],
1968
- "members": [
1887
+ },
1969
1888
  {
1970
- "kind": "field",
1971
- "name": "download",
1889
+ "name": "vertical-positioning-mode",
1972
1890
  "type": {
1973
- "text": "string"
1891
+ "text": "AxisPositioningMode"
1974
1892
  },
1975
- "privacy": "public",
1976
- "description": "Prompts the user to save the linked URL. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1893
+ "default": "\"uncontrolled\"",
1894
+ "description": "Sets what logic the component uses to determine vertical placement.\n'locktodefault' forces the default position\n'dynamic' decides placement based on available space\n'uncontrolled' does not control placement on the vertical axis",
1895
+ "fieldName": "verticalPositioningMode",
1977
1896
  "inheritedFrom": {
1978
- "name": "Anchor",
1979
- "module": "src/anchor/anchor.ts"
1897
+ "name": "AnchoredRegion",
1898
+ "module": "src/anchored-region/anchored-region.ts"
1980
1899
  }
1981
1900
  },
1982
1901
  {
1983
- "kind": "field",
1984
- "name": "href",
1902
+ "name": "vertical-default-position",
1985
1903
  "type": {
1986
- "text": "string"
1904
+ "text": "VerticalPosition"
1987
1905
  },
1988
- "privacy": "public",
1989
- "description": "The URL the hyperlink references. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1906
+ "default": "\"unset\"",
1907
+ "description": "The default vertical position of the region relative to the anchor element",
1908
+ "fieldName": "verticalDefaultPosition",
1990
1909
  "inheritedFrom": {
1991
- "name": "Anchor",
1992
- "module": "src/anchor/anchor.ts"
1910
+ "name": "AnchoredRegion",
1911
+ "module": "src/anchored-region/anchored-region.ts"
1993
1912
  }
1994
1913
  },
1995
1914
  {
1996
- "kind": "field",
1997
- "name": "hreflang",
1915
+ "name": "vertical-viewport-lock",
1998
1916
  "type": {
1999
- "text": "string"
1917
+ "text": "boolean"
2000
1918
  },
2001
- "privacy": "public",
2002
- "description": "Hints at the language of the referenced resource. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1919
+ "default": "false",
1920
+ "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the vertical axis",
1921
+ "fieldName": "verticalViewportLock",
2003
1922
  "inheritedFrom": {
2004
- "name": "Anchor",
2005
- "module": "src/anchor/anchor.ts"
1923
+ "name": "AnchoredRegion",
1924
+ "module": "src/anchored-region/anchored-region.ts"
2006
1925
  }
2007
1926
  },
2008
1927
  {
2009
- "kind": "field",
2010
- "name": "ping",
1928
+ "name": "vertical-inset",
2011
1929
  "type": {
2012
- "text": "string"
1930
+ "text": "boolean"
2013
1931
  },
2014
- "privacy": "public",
2015
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1932
+ "default": "false",
1933
+ "description": "Whether the region overlaps the anchor on the vertical axis",
1934
+ "fieldName": "verticalInset",
2016
1935
  "inheritedFrom": {
2017
- "name": "Anchor",
2018
- "module": "src/anchor/anchor.ts"
1936
+ "name": "AnchoredRegion",
1937
+ "module": "src/anchored-region/anchored-region.ts"
2019
1938
  }
2020
1939
  },
2021
1940
  {
2022
- "kind": "field",
2023
- "name": "referrerpolicy",
1941
+ "name": "vertical-threshold",
2024
1942
  "type": {
2025
- "text": "string"
1943
+ "text": "number"
2026
1944
  },
2027
- "privacy": "public",
2028
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1945
+ "description": "How short the space allocated to the default position has to be before the tallest area\nis selected for layout",
1946
+ "fieldName": "verticalThreshold",
2029
1947
  "inheritedFrom": {
2030
- "name": "Anchor",
2031
- "module": "src/anchor/anchor.ts"
1948
+ "name": "AnchoredRegion",
1949
+ "module": "src/anchored-region/anchored-region.ts"
2032
1950
  }
2033
1951
  },
2034
1952
  {
2035
- "kind": "field",
2036
- "name": "rel",
1953
+ "name": "vertical-scaling",
2037
1954
  "type": {
2038
- "text": "string"
1955
+ "text": "AxisScalingMode"
2039
1956
  },
2040
- "privacy": "public",
2041
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1957
+ "default": "\"content\"",
1958
+ "description": "Defines how the height of the region is calculated",
1959
+ "fieldName": "verticalScaling",
2042
1960
  "inheritedFrom": {
2043
- "name": "Anchor",
2044
- "module": "src/anchor/anchor.ts"
1961
+ "name": "AnchoredRegion",
1962
+ "module": "src/anchored-region/anchored-region.ts"
2045
1963
  }
2046
1964
  },
2047
1965
  {
2048
- "kind": "field",
2049
- "name": "target",
1966
+ "name": "fixed-placement",
2050
1967
  "type": {
2051
- "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
1968
+ "text": "boolean"
2052
1969
  },
2053
- "privacy": "public",
2054
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1970
+ "default": "false",
1971
+ "description": "Whether the region is positioned using css \"position: fixed\".\nOtherwise the region uses \"position: absolute\".\nFixed placement allows the region to break out of parent containers,",
1972
+ "fieldName": "fixedPlacement",
2055
1973
  "inheritedFrom": {
2056
- "name": "Anchor",
2057
- "module": "src/anchor/anchor.ts"
1974
+ "name": "AnchoredRegion",
1975
+ "module": "src/anchored-region/anchored-region.ts"
2058
1976
  }
2059
1977
  },
2060
1978
  {
2061
- "kind": "field",
2062
- "name": "type",
1979
+ "name": "auto-update-mode",
2063
1980
  "type": {
2064
- "text": "string"
1981
+ "text": "AutoUpdateMode"
2065
1982
  },
2066
- "privacy": "public",
2067
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1983
+ "default": "\"anchor\"",
1984
+ "description": "Defines what triggers the anchored region to revaluate positioning",
1985
+ "fieldName": "autoUpdateMode",
2068
1986
  "inheritedFrom": {
2069
- "name": "Anchor",
2070
- "module": "src/anchor/anchor.ts"
1987
+ "name": "AnchoredRegion",
1988
+ "module": "src/anchored-region/anchored-region.ts"
2071
1989
  }
2072
- },
1990
+ }
1991
+ ],
1992
+ "members": [
2073
1993
  {
2074
1994
  "kind": "field",
2075
- "name": "control",
1995
+ "name": "anchor",
2076
1996
  "type": {
2077
- "text": "HTMLAnchorElement | undefined"
1997
+ "text": "string"
2078
1998
  },
2079
1999
  "privacy": "public",
2080
- "description": "References the root element",
2000
+ "default": "\"\"",
2001
+ "description": "The HTML ID of the anchor element this region is positioned relative to",
2081
2002
  "inheritedFrom": {
2082
- "name": "Anchor",
2083
- "module": "src/anchor/anchor.ts"
2003
+ "name": "AnchoredRegion",
2004
+ "module": "src/anchored-region/anchored-region.ts"
2084
2005
  }
2085
2006
  },
2086
2007
  {
2087
- "kind": "field",
2088
- "name": "handleUnsupportedDelegatesFocus",
2008
+ "kind": "method",
2009
+ "name": "anchorChanged",
2089
2010
  "privacy": "private",
2090
- "description": "Overrides the focus call for where delegatesFocus is unsupported.\nThis check works for Chrome, Edge Chromium, FireFox, and Safari\nRelevant PR on the Firefox browser: https://phabricator.services.mozilla.com/D123858",
2091
- "inheritedFrom": {
2092
- "name": "Anchor",
2093
- "module": "src/anchor/anchor.ts"
2011
+ "return": {
2012
+ "type": {
2013
+ "text": "void"
2014
+ }
2015
+ },
2016
+ "inheritedFrom": {
2017
+ "name": "AnchoredRegion",
2018
+ "module": "src/anchored-region/anchored-region.ts"
2094
2019
  }
2095
2020
  },
2096
2021
  {
2097
2022
  "kind": "field",
2098
- "name": "_presentation",
2023
+ "name": "viewport",
2099
2024
  "type": {
2100
- "text": "ComponentPresentation | null | undefined"
2025
+ "text": "string"
2101
2026
  },
2027
+ "privacy": "public",
2028
+ "default": "\"\"",
2029
+ "description": "The HTML ID of the viewport element this region is positioned relative to",
2030
+ "inheritedFrom": {
2031
+ "name": "AnchoredRegion",
2032
+ "module": "src/anchored-region/anchored-region.ts"
2033
+ }
2034
+ },
2035
+ {
2036
+ "kind": "method",
2037
+ "name": "viewportChanged",
2102
2038
  "privacy": "private",
2103
- "default": "void 0",
2039
+ "return": {
2040
+ "type": {
2041
+ "text": "void"
2042
+ }
2043
+ },
2104
2044
  "inheritedFrom": {
2105
- "name": "Anchor",
2106
- "module": "src/anchor/anchor.ts"
2045
+ "name": "AnchoredRegion",
2046
+ "module": "src/anchored-region/anchored-region.ts"
2107
2047
  }
2108
2048
  },
2109
2049
  {
2110
2050
  "kind": "field",
2111
- "name": "$presentation",
2051
+ "name": "horizontalPositioningMode",
2112
2052
  "type": {
2113
- "text": "ComponentPresentation | null"
2053
+ "text": "AxisPositioningMode"
2114
2054
  },
2115
2055
  "privacy": "public",
2116
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2056
+ "default": "\"uncontrolled\"",
2057
+ "description": "Sets what logic the component uses to determine horizontal placement.\n'locktodefault' forces the default position\n'dynamic' decides placement based on available space\n'uncontrolled' does not control placement on the horizontal axis",
2117
2058
  "inheritedFrom": {
2118
- "name": "Anchor",
2119
- "module": "src/anchor/anchor.ts"
2059
+ "name": "AnchoredRegion",
2060
+ "module": "src/anchored-region/anchored-region.ts"
2061
+ }
2062
+ },
2063
+ {
2064
+ "kind": "method",
2065
+ "name": "horizontalPositioningModeChanged",
2066
+ "privacy": "private",
2067
+ "return": {
2068
+ "type": {
2069
+ "text": "void"
2070
+ }
2071
+ },
2072
+ "inheritedFrom": {
2073
+ "name": "AnchoredRegion",
2074
+ "module": "src/anchored-region/anchored-region.ts"
2120
2075
  }
2121
2076
  },
2122
2077
  {
2123
2078
  "kind": "field",
2124
- "name": "template",
2079
+ "name": "horizontalDefaultPosition",
2125
2080
  "type": {
2126
- "text": "ElementViewTemplate | void | null"
2081
+ "text": "HorizontalPosition"
2127
2082
  },
2128
2083
  "privacy": "public",
2129
- "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
2084
+ "default": "\"unset\"",
2085
+ "description": "The default horizontal position of the region relative to the anchor element",
2130
2086
  "inheritedFrom": {
2131
- "name": "Anchor",
2132
- "module": "src/anchor/anchor.ts"
2087
+ "name": "AnchoredRegion",
2088
+ "module": "src/anchored-region/anchored-region.ts"
2133
2089
  }
2134
2090
  },
2135
2091
  {
2136
2092
  "kind": "method",
2137
- "name": "templateChanged",
2138
- "privacy": "protected",
2093
+ "name": "horizontalDefaultPositionChanged",
2094
+ "privacy": "private",
2139
2095
  "return": {
2140
2096
  "type": {
2141
2097
  "text": "void"
2142
2098
  }
2143
2099
  },
2144
2100
  "inheritedFrom": {
2145
- "name": "Anchor",
2146
- "module": "src/anchor/anchor.ts"
2101
+ "name": "AnchoredRegion",
2102
+ "module": "src/anchored-region/anchored-region.ts"
2147
2103
  }
2148
2104
  },
2149
2105
  {
2150
2106
  "kind": "field",
2151
- "name": "styles",
2107
+ "name": "horizontalViewportLock",
2152
2108
  "type": {
2153
- "text": "ElementStyles | void | null"
2109
+ "text": "boolean"
2154
2110
  },
2155
2111
  "privacy": "public",
2156
- "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
2112
+ "default": "false",
2113
+ "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis",
2157
2114
  "inheritedFrom": {
2158
- "name": "Anchor",
2159
- "module": "src/anchor/anchor.ts"
2115
+ "name": "AnchoredRegion",
2116
+ "module": "src/anchored-region/anchored-region.ts"
2160
2117
  }
2161
2118
  },
2162
2119
  {
2163
2120
  "kind": "method",
2164
- "name": "stylesChanged",
2165
- "privacy": "protected",
2121
+ "name": "horizontalViewportLockChanged",
2122
+ "privacy": "private",
2166
2123
  "return": {
2167
2124
  "type": {
2168
2125
  "text": "void"
2169
2126
  }
2170
2127
  },
2171
2128
  "inheritedFrom": {
2172
- "name": "Anchor",
2173
- "module": "src/anchor/anchor.ts"
2129
+ "name": "AnchoredRegion",
2130
+ "module": "src/anchored-region/anchored-region.ts"
2131
+ }
2132
+ },
2133
+ {
2134
+ "kind": "field",
2135
+ "name": "horizontalInset",
2136
+ "type": {
2137
+ "text": "boolean"
2138
+ },
2139
+ "privacy": "public",
2140
+ "default": "false",
2141
+ "description": "Whether the region overlaps the anchor on the horizontal axis",
2142
+ "inheritedFrom": {
2143
+ "name": "AnchoredRegion",
2144
+ "module": "src/anchored-region/anchored-region.ts"
2174
2145
  }
2175
2146
  },
2176
2147
  {
2177
2148
  "kind": "method",
2178
- "name": "compose",
2149
+ "name": "horizontalInsetChanged",
2150
+ "privacy": "private",
2151
+ "return": {
2152
+ "type": {
2153
+ "text": "void"
2154
+ }
2155
+ },
2156
+ "inheritedFrom": {
2157
+ "name": "AnchoredRegion",
2158
+ "module": "src/anchored-region/anchored-region.ts"
2159
+ }
2160
+ },
2161
+ {
2162
+ "kind": "field",
2163
+ "name": "horizontalThreshold",
2164
+ "type": {
2165
+ "text": "number"
2166
+ },
2179
2167
  "privacy": "public",
2180
- "static": true,
2168
+ "description": "How narrow the space allocated to the default position has to be before the widest area\nis selected for layout",
2169
+ "inheritedFrom": {
2170
+ "name": "AnchoredRegion",
2171
+ "module": "src/anchored-region/anchored-region.ts"
2172
+ }
2173
+ },
2174
+ {
2175
+ "kind": "method",
2176
+ "name": "horizontalThresholdChanged",
2177
+ "privacy": "private",
2181
2178
  "return": {
2182
2179
  "type": {
2183
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2180
+ "text": "void"
2184
2181
  }
2185
2182
  },
2186
- "parameters": [
2187
- {
2188
- "name": "this",
2189
- "type": {
2190
- "text": "K"
2191
- }
2192
- },
2193
- {
2194
- "name": "elementDefinition",
2195
- "type": {
2196
- "text": "T"
2197
- },
2198
- "description": "The definition of the element to create the registry\nfunction for."
2183
+ "inheritedFrom": {
2184
+ "name": "AnchoredRegion",
2185
+ "module": "src/anchored-region/anchored-region.ts"
2186
+ }
2187
+ },
2188
+ {
2189
+ "kind": "field",
2190
+ "name": "horizontalScaling",
2191
+ "type": {
2192
+ "text": "AxisScalingMode"
2193
+ },
2194
+ "privacy": "public",
2195
+ "default": "\"content\"",
2196
+ "description": "Defines how the width of the region is calculated",
2197
+ "inheritedFrom": {
2198
+ "name": "AnchoredRegion",
2199
+ "module": "src/anchored-region/anchored-region.ts"
2200
+ }
2201
+ },
2202
+ {
2203
+ "kind": "method",
2204
+ "name": "horizontalScalingChanged",
2205
+ "privacy": "private",
2206
+ "return": {
2207
+ "type": {
2208
+ "text": "void"
2199
2209
  }
2200
- ],
2201
- "description": "Defines an element registry function with a set of element definition defaults.",
2210
+ },
2202
2211
  "inheritedFrom": {
2203
- "name": "Anchor",
2204
- "module": "src/anchor/anchor.ts"
2205
- }
2206
- }
2207
- ]
2208
- },
2209
- {
2210
- "kind": "variable",
2211
- "name": "rapidAnchor"
2212
- }
2213
- ],
2214
- "exports": [
2215
- {
2216
- "kind": "js",
2217
- "name": "Anchor",
2218
- "declaration": {
2219
- "name": "Anchor",
2220
- "module": "src/anchor/anchor.ts"
2221
- }
2222
- },
2223
- {
2224
- "kind": "js",
2225
- "name": "rapidAnchor",
2226
- "declaration": {
2227
- "name": "rapidAnchor",
2228
- "module": "src/anchor/anchor.ts"
2229
- }
2230
- }
2231
- ]
2232
- },
2233
- {
2234
- "kind": "javascript-module",
2235
- "path": "src/anchor/index.ts",
2236
- "declarations": [],
2237
- "exports": [
2238
- {
2239
- "kind": "js",
2240
- "name": "*",
2241
- "declaration": {
2242
- "name": "*",
2243
- "package": "./anchor"
2244
- }
2245
- },
2246
- {
2247
- "kind": "js",
2248
- "name": "*",
2249
- "declaration": {
2250
- "name": "*",
2251
- "package": "./anchor.styles"
2252
- }
2253
- },
2254
- {
2255
- "kind": "js",
2256
- "name": "*",
2257
- "declaration": {
2258
- "name": "*",
2259
- "package": "./anchor.template"
2260
- }
2261
- }
2262
- ]
2263
- },
2264
- {
2265
- "kind": "javascript-module",
2266
- "path": "src/anchored-region/anchored-region.stories.ts",
2267
- "declarations": [
2268
- {
2269
- "kind": "variable",
2270
- "name": "meta",
2271
- "type": {
2272
- "text": "Meta"
2273
- },
2274
- "default": "{\n title: 'Anchored Region',\n component: 'rapid-anchored-region',\n}"
2275
- },
2276
- {
2277
- "kind": "variable",
2278
- "name": "Default",
2279
- "type": {
2280
- "text": "StoryObj"
2281
- },
2282
- "default": "{\n args: {\n anchorText: 'This will show above button',\n verticalDefaultPosition: 'top',\n },\n argTypes: {\n verticalDefaultPosition: {\n control: 'select',\n options: ['top', 'bottom'],\n },\n },\n ...anchorRegionTopTemplate,\n}"
2283
- },
2284
- {
2285
- "kind": "variable",
2286
- "name": "Bottom",
2287
- "type": {
2288
- "text": "StoryObj"
2289
- },
2290
- "default": "{\n args: {\n anchorText: 'This will show below button',\n verticalDefaultPosition: 'bottom',\n },\n argTypes: {\n verticalDefaultPosition: {\n control: 'select',\n options: ['top', 'bottom'],\n },\n },\n ...anchorRegionBottomTemplate,\n}"
2291
- }
2292
- ],
2293
- "exports": [
2294
- {
2295
- "kind": "js",
2296
- "name": "default",
2297
- "declaration": {
2298
- "name": "meta",
2299
- "module": "src/anchored-region/anchored-region.stories.ts"
2300
- }
2301
- },
2302
- {
2303
- "kind": "js",
2304
- "name": "Default",
2305
- "declaration": {
2306
- "name": "Default",
2307
- "module": "src/anchored-region/anchored-region.stories.ts"
2308
- }
2309
- },
2310
- {
2311
- "kind": "js",
2312
- "name": "Bottom",
2313
- "declaration": {
2314
- "name": "Bottom",
2315
- "module": "src/anchored-region/anchored-region.stories.ts"
2316
- }
2317
- }
2318
- ]
2319
- },
2320
- {
2321
- "kind": "javascript-module",
2322
- "path": "src/anchored-region/anchored-region.styles.ts",
2323
- "declarations": [
2324
- {
2325
- "kind": "function",
2326
- "name": "rapidAnchoredRegionStyles",
2327
- "return": {
2328
- "type": {
2329
- "text": "ElementStyles"
2330
- }
2331
- },
2332
- "parameters": [
2333
- {
2334
- "name": "context",
2335
- "type": {
2336
- "text": "ElementDefinitionContext"
2337
- }
2338
- },
2339
- {
2340
- "name": "definition",
2341
- "type": {
2342
- "text": "FoundationElementDefinition"
2343
- }
2344
- }
2345
- ]
2346
- }
2347
- ],
2348
- "exports": [
2349
- {
2350
- "kind": "js",
2351
- "name": "rapidAnchoredRegionStyles",
2352
- "declaration": {
2353
- "name": "rapidAnchoredRegionStyles",
2354
- "module": "src/anchored-region/anchored-region.styles.ts"
2355
- }
2356
- }
2357
- ]
2358
- },
2359
- {
2360
- "kind": "javascript-module",
2361
- "path": "src/anchored-region/anchored-region.template.ts",
2362
- "declarations": [
2363
- {
2364
- "kind": "function",
2365
- "name": "rapidAnchoredRegionTemplate",
2366
- "return": {
2367
- "type": {
2368
- "text": "ViewTemplate<AnchoredRegion>"
2369
- }
2370
- },
2371
- "parameters": [
2372
- {
2373
- "name": "context",
2374
- "type": {
2375
- "text": "ElementDefinitionContext"
2212
+ "name": "AnchoredRegion",
2213
+ "module": "src/anchored-region/anchored-region.ts"
2376
2214
  }
2377
2215
  },
2378
2216
  {
2379
- "name": "definition",
2380
- "type": {
2381
- "text": "FoundationElementDefinition"
2382
- }
2383
- }
2384
- ]
2385
- }
2386
- ],
2387
- "exports": [
2388
- {
2389
- "kind": "js",
2390
- "name": "rapidAnchoredRegionTemplate",
2391
- "declaration": {
2392
- "name": "rapidAnchoredRegionTemplate",
2393
- "module": "src/anchored-region/anchored-region.template.ts"
2394
- }
2395
- }
2396
- ]
2397
- },
2398
- {
2399
- "kind": "javascript-module",
2400
- "path": "src/anchored-region/anchored-region.ts",
2401
- "declarations": [
2402
- {
2403
- "kind": "class",
2404
- "description": "",
2405
- "name": "AnchoredRegion",
2406
- "superclass": {
2407
- "name": "FoundationAnchoredRegion",
2408
- "package": "@genesislcap/foundation-ui"
2409
- },
2410
- "tagName": "%%prefix%%-anchored-region",
2411
- "customElement": true,
2412
- "attributes": [
2413
- {
2414
- "name": "anchor",
2217
+ "kind": "field",
2218
+ "name": "verticalPositioningMode",
2415
2219
  "type": {
2416
- "text": "string"
2220
+ "text": "AxisPositioningMode"
2417
2221
  },
2418
- "default": "\"\"",
2419
- "description": "The HTML ID of the anchor element this region is positioned relative to",
2420
- "fieldName": "anchor",
2222
+ "privacy": "public",
2223
+ "default": "\"uncontrolled\"",
2224
+ "description": "Sets what logic the component uses to determine vertical placement.\n'locktodefault' forces the default position\n'dynamic' decides placement based on available space\n'uncontrolled' does not control placement on the vertical axis",
2421
2225
  "inheritedFrom": {
2422
2226
  "name": "AnchoredRegion",
2423
2227
  "module": "src/anchored-region/anchored-region.ts"
2424
2228
  }
2425
2229
  },
2426
2230
  {
2427
- "name": "viewport",
2428
- "type": {
2429
- "text": "string"
2231
+ "kind": "method",
2232
+ "name": "verticalPositioningModeChanged",
2233
+ "privacy": "private",
2234
+ "return": {
2235
+ "type": {
2236
+ "text": "void"
2237
+ }
2430
2238
  },
2431
- "default": "\"\"",
2432
- "description": "The HTML ID of the viewport element this region is positioned relative to",
2433
- "fieldName": "viewport",
2434
2239
  "inheritedFrom": {
2435
2240
  "name": "AnchoredRegion",
2436
2241
  "module": "src/anchored-region/anchored-region.ts"
2437
2242
  }
2438
2243
  },
2439
2244
  {
2440
- "name": "horizontal-positioning-mode",
2245
+ "kind": "field",
2246
+ "name": "verticalDefaultPosition",
2441
2247
  "type": {
2442
- "text": "AxisPositioningMode"
2248
+ "text": "VerticalPosition"
2443
2249
  },
2444
- "default": "\"uncontrolled\"",
2445
- "description": "Sets what logic the component uses to determine horizontal placement.\n'locktodefault' forces the default position\n'dynamic' decides placement based on available space\n'uncontrolled' does not control placement on the horizontal axis",
2446
- "fieldName": "horizontalPositioningMode",
2250
+ "privacy": "public",
2251
+ "default": "\"unset\"",
2252
+ "description": "The default vertical position of the region relative to the anchor element",
2447
2253
  "inheritedFrom": {
2448
2254
  "name": "AnchoredRegion",
2449
2255
  "module": "src/anchored-region/anchored-region.ts"
2450
2256
  }
2451
2257
  },
2452
2258
  {
2453
- "name": "horizontal-default-position",
2454
- "type": {
2455
- "text": "HorizontalPosition"
2259
+ "kind": "method",
2260
+ "name": "verticalDefaultPositionChanged",
2261
+ "privacy": "private",
2262
+ "return": {
2263
+ "type": {
2264
+ "text": "void"
2265
+ }
2456
2266
  },
2457
- "default": "\"unset\"",
2458
- "description": "The default horizontal position of the region relative to the anchor element",
2459
- "fieldName": "horizontalDefaultPosition",
2460
2267
  "inheritedFrom": {
2461
2268
  "name": "AnchoredRegion",
2462
2269
  "module": "src/anchored-region/anchored-region.ts"
2463
2270
  }
2464
2271
  },
2465
2272
  {
2466
- "name": "horizontal-viewport-lock",
2273
+ "kind": "field",
2274
+ "name": "verticalViewportLock",
2467
2275
  "type": {
2468
2276
  "text": "boolean"
2469
2277
  },
2278
+ "privacy": "public",
2470
2279
  "default": "false",
2471
- "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis",
2472
- "fieldName": "horizontalViewportLock",
2280
+ "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the vertical axis",
2473
2281
  "inheritedFrom": {
2474
2282
  "name": "AnchoredRegion",
2475
2283
  "module": "src/anchored-region/anchored-region.ts"
2476
2284
  }
2477
2285
  },
2478
2286
  {
2479
- "name": "horizontal-inset",
2480
- "type": {
2481
- "text": "boolean"
2287
+ "kind": "method",
2288
+ "name": "verticalViewportLockChanged",
2289
+ "privacy": "private",
2290
+ "return": {
2291
+ "type": {
2292
+ "text": "void"
2293
+ }
2482
2294
  },
2483
- "default": "false",
2484
- "description": "Whether the region overlaps the anchor on the horizontal axis",
2485
- "fieldName": "horizontalInset",
2486
2295
  "inheritedFrom": {
2487
2296
  "name": "AnchoredRegion",
2488
2297
  "module": "src/anchored-region/anchored-region.ts"
2489
2298
  }
2490
2299
  },
2491
2300
  {
2492
- "name": "horizontal-threshold",
2301
+ "kind": "field",
2302
+ "name": "verticalInset",
2493
2303
  "type": {
2494
- "text": "number"
2304
+ "text": "boolean"
2495
2305
  },
2496
- "description": "How narrow the space allocated to the default position has to be before the widest area\nis selected for layout",
2497
- "fieldName": "horizontalThreshold",
2306
+ "privacy": "public",
2307
+ "default": "false",
2308
+ "description": "Whether the region overlaps the anchor on the vertical axis",
2498
2309
  "inheritedFrom": {
2499
2310
  "name": "AnchoredRegion",
2500
2311
  "module": "src/anchored-region/anchored-region.ts"
2501
2312
  }
2502
2313
  },
2503
2314
  {
2504
- "name": "horizontal-scaling",
2505
- "type": {
2506
- "text": "AxisScalingMode"
2315
+ "kind": "method",
2316
+ "name": "verticalInsetChanged",
2317
+ "privacy": "private",
2318
+ "return": {
2319
+ "type": {
2320
+ "text": "void"
2321
+ }
2507
2322
  },
2508
- "default": "\"content\"",
2509
- "description": "Defines how the width of the region is calculated",
2510
- "fieldName": "horizontalScaling",
2511
2323
  "inheritedFrom": {
2512
2324
  "name": "AnchoredRegion",
2513
2325
  "module": "src/anchored-region/anchored-region.ts"
2514
2326
  }
2515
2327
  },
2516
2328
  {
2517
- "name": "vertical-positioning-mode",
2329
+ "kind": "field",
2330
+ "name": "verticalThreshold",
2518
2331
  "type": {
2519
- "text": "AxisPositioningMode"
2332
+ "text": "number"
2520
2333
  },
2521
- "default": "\"uncontrolled\"",
2522
- "description": "Sets what logic the component uses to determine vertical placement.\n'locktodefault' forces the default position\n'dynamic' decides placement based on available space\n'uncontrolled' does not control placement on the vertical axis",
2523
- "fieldName": "verticalPositioningMode",
2334
+ "privacy": "public",
2335
+ "description": "How short the space allocated to the default position has to be before the tallest area\nis selected for layout",
2524
2336
  "inheritedFrom": {
2525
2337
  "name": "AnchoredRegion",
2526
2338
  "module": "src/anchored-region/anchored-region.ts"
2527
2339
  }
2528
2340
  },
2529
2341
  {
2530
- "name": "vertical-default-position",
2531
- "type": {
2532
- "text": "VerticalPosition"
2342
+ "kind": "method",
2343
+ "name": "verticalThresholdChanged",
2344
+ "privacy": "private",
2345
+ "return": {
2346
+ "type": {
2347
+ "text": "void"
2348
+ }
2533
2349
  },
2534
- "default": "\"unset\"",
2535
- "description": "The default vertical position of the region relative to the anchor element",
2536
- "fieldName": "verticalDefaultPosition",
2537
2350
  "inheritedFrom": {
2538
2351
  "name": "AnchoredRegion",
2539
2352
  "module": "src/anchored-region/anchored-region.ts"
2540
2353
  }
2541
2354
  },
2542
2355
  {
2543
- "name": "vertical-viewport-lock",
2544
- "type": {
2545
- "text": "boolean"
2546
- },
2547
- "default": "false",
2548
- "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the vertical axis",
2549
- "fieldName": "verticalViewportLock",
2550
- "inheritedFrom": {
2551
- "name": "AnchoredRegion",
2552
- "module": "src/anchored-region/anchored-region.ts"
2553
- }
2554
- },
2555
- {
2556
- "name": "vertical-inset",
2557
- "type": {
2558
- "text": "boolean"
2559
- },
2560
- "default": "false",
2561
- "description": "Whether the region overlaps the anchor on the vertical axis",
2562
- "fieldName": "verticalInset",
2563
- "inheritedFrom": {
2564
- "name": "AnchoredRegion",
2565
- "module": "src/anchored-region/anchored-region.ts"
2566
- }
2567
- },
2568
- {
2569
- "name": "vertical-threshold",
2570
- "type": {
2571
- "text": "number"
2572
- },
2573
- "description": "How short the space allocated to the default position has to be before the tallest area\nis selected for layout",
2574
- "fieldName": "verticalThreshold",
2575
- "inheritedFrom": {
2576
- "name": "AnchoredRegion",
2577
- "module": "src/anchored-region/anchored-region.ts"
2578
- }
2579
- },
2580
- {
2581
- "name": "vertical-scaling",
2356
+ "kind": "field",
2357
+ "name": "verticalScaling",
2582
2358
  "type": {
2583
2359
  "text": "AxisScalingMode"
2584
2360
  },
2361
+ "privacy": "public",
2585
2362
  "default": "\"content\"",
2586
2363
  "description": "Defines how the height of the region is calculated",
2587
- "fieldName": "verticalScaling",
2588
2364
  "inheritedFrom": {
2589
2365
  "name": "AnchoredRegion",
2590
2366
  "module": "src/anchored-region/anchored-region.ts"
2591
2367
  }
2592
2368
  },
2593
2369
  {
2594
- "name": "fixed-placement",
2595
- "type": {
2596
- "text": "boolean"
2370
+ "kind": "method",
2371
+ "name": "verticalScalingChanged",
2372
+ "privacy": "private",
2373
+ "return": {
2374
+ "type": {
2375
+ "text": "void"
2376
+ }
2597
2377
  },
2598
- "default": "false",
2599
- "description": "Whether the region is positioned using css \"position: fixed\".\nOtherwise the region uses \"position: absolute\".\nFixed placement allows the region to break out of parent containers,",
2600
- "fieldName": "fixedPlacement",
2601
2378
  "inheritedFrom": {
2602
2379
  "name": "AnchoredRegion",
2603
2380
  "module": "src/anchored-region/anchored-region.ts"
2604
2381
  }
2605
2382
  },
2606
- {
2607
- "name": "auto-update-mode",
2608
- "type": {
2609
- "text": "AutoUpdateMode"
2610
- },
2611
- "default": "\"anchor\"",
2612
- "description": "Defines what triggers the anchored region to revaluate positioning",
2613
- "fieldName": "autoUpdateMode",
2614
- "inheritedFrom": {
2615
- "name": "AnchoredRegion",
2616
- "module": "src/anchored-region/anchored-region.ts"
2617
- }
2618
- }
2619
- ],
2620
- "members": [
2621
2383
  {
2622
2384
  "kind": "field",
2623
- "name": "anchor",
2385
+ "name": "fixedPlacement",
2624
2386
  "type": {
2625
- "text": "string"
2387
+ "text": "boolean"
2626
2388
  },
2627
2389
  "privacy": "public",
2628
- "default": "\"\"",
2629
- "description": "The HTML ID of the anchor element this region is positioned relative to",
2390
+ "default": "false",
2391
+ "description": "Whether the region is positioned using css \"position: fixed\".\nOtherwise the region uses \"position: absolute\".\nFixed placement allows the region to break out of parent containers,",
2630
2392
  "inheritedFrom": {
2631
2393
  "name": "AnchoredRegion",
2632
2394
  "module": "src/anchored-region/anchored-region.ts"
@@ -2634,7 +2396,7 @@
2634
2396
  },
2635
2397
  {
2636
2398
  "kind": "method",
2637
- "name": "anchorChanged",
2399
+ "name": "fixedPlacementChanged",
2638
2400
  "privacy": "private",
2639
2401
  "return": {
2640
2402
  "type": {
@@ -2648,13 +2410,13 @@
2648
2410
  },
2649
2411
  {
2650
2412
  "kind": "field",
2651
- "name": "viewport",
2413
+ "name": "autoUpdateMode",
2652
2414
  "type": {
2653
- "text": "string"
2415
+ "text": "AutoUpdateMode"
2654
2416
  },
2655
2417
  "privacy": "public",
2656
- "default": "\"\"",
2657
- "description": "The HTML ID of the viewport element this region is positioned relative to",
2418
+ "default": "\"anchor\"",
2419
+ "description": "Defines what triggers the anchored region to revaluate positioning",
2658
2420
  "inheritedFrom": {
2659
2421
  "name": "AnchoredRegion",
2660
2422
  "module": "src/anchored-region/anchored-region.ts"
@@ -2662,13 +2424,27 @@
2662
2424
  },
2663
2425
  {
2664
2426
  "kind": "method",
2665
- "name": "viewportChanged",
2427
+ "name": "autoUpdateModeChanged",
2666
2428
  "privacy": "private",
2667
2429
  "return": {
2668
2430
  "type": {
2669
2431
  "text": "void"
2670
2432
  }
2671
2433
  },
2434
+ "parameters": [
2435
+ {
2436
+ "name": "prevMode",
2437
+ "type": {
2438
+ "text": "AutoUpdateMode"
2439
+ }
2440
+ },
2441
+ {
2442
+ "name": "newMode",
2443
+ "type": {
2444
+ "text": "AutoUpdateMode"
2445
+ }
2446
+ }
2447
+ ],
2672
2448
  "inheritedFrom": {
2673
2449
  "name": "AnchoredRegion",
2674
2450
  "module": "src/anchored-region/anchored-region.ts"
@@ -2676,13 +2452,13 @@
2676
2452
  },
2677
2453
  {
2678
2454
  "kind": "field",
2679
- "name": "horizontalPositioningMode",
2455
+ "name": "anchorElement",
2680
2456
  "type": {
2681
- "text": "AxisPositioningMode"
2457
+ "text": "HTMLElement | null"
2682
2458
  },
2683
2459
  "privacy": "public",
2684
- "default": "\"uncontrolled\"",
2685
- "description": "Sets what logic the component uses to determine horizontal placement.\n'locktodefault' forces the default position\n'dynamic' decides placement based on available space\n'uncontrolled' does not control placement on the horizontal axis",
2460
+ "default": "null",
2461
+ "description": "The HTML element being used as the anchor",
2686
2462
  "inheritedFrom": {
2687
2463
  "name": "AnchoredRegion",
2688
2464
  "module": "src/anchored-region/anchored-region.ts"
@@ -2690,7 +2466,7 @@
2690
2466
  },
2691
2467
  {
2692
2468
  "kind": "method",
2693
- "name": "horizontalPositioningModeChanged",
2469
+ "name": "anchorElementChanged",
2694
2470
  "privacy": "private",
2695
2471
  "return": {
2696
2472
  "type": {
@@ -2704,13 +2480,13 @@
2704
2480
  },
2705
2481
  {
2706
2482
  "kind": "field",
2707
- "name": "horizontalDefaultPosition",
2483
+ "name": "viewportElement",
2708
2484
  "type": {
2709
- "text": "HorizontalPosition"
2485
+ "text": "HTMLElement | null"
2710
2486
  },
2711
2487
  "privacy": "public",
2712
- "default": "\"unset\"",
2713
- "description": "The default horizontal position of the region relative to the anchor element",
2488
+ "default": "null",
2489
+ "description": "The HTML element being used as the viewport",
2714
2490
  "inheritedFrom": {
2715
2491
  "name": "AnchoredRegion",
2716
2492
  "module": "src/anchored-region/anchored-region.ts"
@@ -2718,7 +2494,7 @@
2718
2494
  },
2719
2495
  {
2720
2496
  "kind": "method",
2721
- "name": "horizontalDefaultPositionChanged",
2497
+ "name": "viewportElementChanged",
2722
2498
  "privacy": "private",
2723
2499
  "return": {
2724
2500
  "type": {
@@ -2732,27 +2508,25 @@
2732
2508
  },
2733
2509
  {
2734
2510
  "kind": "field",
2735
- "name": "horizontalViewportLock",
2511
+ "name": "verticalPosition",
2736
2512
  "type": {
2737
- "text": "boolean"
2513
+ "text": "AnchoredRegionPositionLabel | undefined"
2738
2514
  },
2739
2515
  "privacy": "public",
2740
- "default": "false",
2741
- "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis",
2516
+ "description": "indicates the current horizontal position of the region",
2742
2517
  "inheritedFrom": {
2743
2518
  "name": "AnchoredRegion",
2744
2519
  "module": "src/anchored-region/anchored-region.ts"
2745
2520
  }
2746
2521
  },
2747
2522
  {
2748
- "kind": "method",
2749
- "name": "horizontalViewportLockChanged",
2750
- "privacy": "private",
2751
- "return": {
2752
- "type": {
2753
- "text": "void"
2754
- }
2523
+ "kind": "field",
2524
+ "name": "horizontalPosition",
2525
+ "type": {
2526
+ "text": "AnchoredRegionPositionLabel | undefined"
2755
2527
  },
2528
+ "privacy": "public",
2529
+ "description": "indicates the current vertical position of the region",
2756
2530
  "inheritedFrom": {
2757
2531
  "name": "AnchoredRegion",
2758
2532
  "module": "src/anchored-region/anchored-region.ts"
@@ -2760,27 +2534,24 @@
2760
2534
  },
2761
2535
  {
2762
2536
  "kind": "field",
2763
- "name": "horizontalInset",
2537
+ "name": "translateX",
2764
2538
  "type": {
2765
- "text": "boolean"
2539
+ "text": "number"
2766
2540
  },
2767
- "privacy": "public",
2768
- "default": "false",
2769
- "description": "Whether the region overlaps the anchor on the horizontal axis",
2541
+ "privacy": "private",
2542
+ "description": "values to be applied to the component's transform on render",
2770
2543
  "inheritedFrom": {
2771
2544
  "name": "AnchoredRegion",
2772
2545
  "module": "src/anchored-region/anchored-region.ts"
2773
2546
  }
2774
2547
  },
2775
2548
  {
2776
- "kind": "method",
2777
- "name": "horizontalInsetChanged",
2778
- "privacy": "private",
2779
- "return": {
2780
- "type": {
2781
- "text": "void"
2782
- }
2549
+ "kind": "field",
2550
+ "name": "translateY",
2551
+ "type": {
2552
+ "text": "number"
2783
2553
  },
2554
+ "privacy": "private",
2784
2555
  "inheritedFrom": {
2785
2556
  "name": "AnchoredRegion",
2786
2557
  "module": "src/anchored-region/anchored-region.ts"
@@ -2788,26 +2559,24 @@
2788
2559
  },
2789
2560
  {
2790
2561
  "kind": "field",
2791
- "name": "horizontalThreshold",
2562
+ "name": "regionWidth",
2792
2563
  "type": {
2793
- "text": "number"
2564
+ "text": "string"
2794
2565
  },
2795
- "privacy": "public",
2796
- "description": "How narrow the space allocated to the default position has to be before the widest area\nis selected for layout",
2566
+ "privacy": "private",
2567
+ "description": "the span to be applied to the region on each axis",
2797
2568
  "inheritedFrom": {
2798
2569
  "name": "AnchoredRegion",
2799
2570
  "module": "src/anchored-region/anchored-region.ts"
2800
2571
  }
2801
2572
  },
2802
2573
  {
2803
- "kind": "method",
2804
- "name": "horizontalThresholdChanged",
2805
- "privacy": "private",
2806
- "return": {
2807
- "type": {
2808
- "text": "void"
2809
- }
2574
+ "kind": "field",
2575
+ "name": "regionHeight",
2576
+ "type": {
2577
+ "text": "string"
2810
2578
  },
2579
+ "privacy": "private",
2811
2580
  "inheritedFrom": {
2812
2581
  "name": "AnchoredRegion",
2813
2582
  "module": "src/anchored-region/anchored-region.ts"
@@ -2815,27 +2584,24 @@
2815
2584
  },
2816
2585
  {
2817
2586
  "kind": "field",
2818
- "name": "horizontalScaling",
2587
+ "name": "resizeDetector",
2819
2588
  "type": {
2820
- "text": "AxisScalingMode"
2589
+ "text": "ResizeObserverClassDefinition | null"
2821
2590
  },
2822
- "privacy": "public",
2823
- "default": "\"content\"",
2824
- "description": "Defines how the width of the region is calculated",
2591
+ "privacy": "private",
2592
+ "default": "null",
2825
2593
  "inheritedFrom": {
2826
2594
  "name": "AnchoredRegion",
2827
2595
  "module": "src/anchored-region/anchored-region.ts"
2828
2596
  }
2829
2597
  },
2830
2598
  {
2831
- "kind": "method",
2832
- "name": "horizontalScalingChanged",
2833
- "privacy": "private",
2834
- "return": {
2835
- "type": {
2836
- "text": "void"
2837
- }
2599
+ "kind": "field",
2600
+ "name": "viewportRect",
2601
+ "type": {
2602
+ "text": "ClientRect | DOMRect | undefined"
2838
2603
  },
2604
+ "privacy": "private",
2839
2605
  "inheritedFrom": {
2840
2606
  "name": "AnchoredRegion",
2841
2607
  "module": "src/anchored-region/anchored-region.ts"
@@ -2843,27 +2609,23 @@
2843
2609
  },
2844
2610
  {
2845
2611
  "kind": "field",
2846
- "name": "verticalPositioningMode",
2612
+ "name": "anchorRect",
2847
2613
  "type": {
2848
- "text": "AxisPositioningMode"
2614
+ "text": "ClientRect | DOMRect | undefined"
2849
2615
  },
2850
- "privacy": "public",
2851
- "default": "\"uncontrolled\"",
2852
- "description": "Sets what logic the component uses to determine vertical placement.\n'locktodefault' forces the default position\n'dynamic' decides placement based on available space\n'uncontrolled' does not control placement on the vertical axis",
2616
+ "privacy": "private",
2853
2617
  "inheritedFrom": {
2854
2618
  "name": "AnchoredRegion",
2855
2619
  "module": "src/anchored-region/anchored-region.ts"
2856
2620
  }
2857
2621
  },
2858
2622
  {
2859
- "kind": "method",
2860
- "name": "verticalPositioningModeChanged",
2861
- "privacy": "private",
2862
- "return": {
2863
- "type": {
2864
- "text": "void"
2865
- }
2623
+ "kind": "field",
2624
+ "name": "regionRect",
2625
+ "type": {
2626
+ "text": "ClientRect | DOMRect | undefined"
2866
2627
  },
2628
+ "privacy": "private",
2867
2629
  "inheritedFrom": {
2868
2630
  "name": "AnchoredRegion",
2869
2631
  "module": "src/anchored-region/anchored-region.ts"
@@ -2871,27 +2633,26 @@
2871
2633
  },
2872
2634
  {
2873
2635
  "kind": "field",
2874
- "name": "verticalDefaultPosition",
2636
+ "name": "baseHorizontalOffset",
2875
2637
  "type": {
2876
- "text": "VerticalPosition"
2638
+ "text": "number"
2877
2639
  },
2878
- "privacy": "public",
2879
- "default": "\"unset\"",
2880
- "description": "The default vertical position of the region relative to the anchor element",
2640
+ "privacy": "private",
2641
+ "default": "0",
2642
+ "description": "base offsets between the positioner's base position and the anchor's",
2881
2643
  "inheritedFrom": {
2882
2644
  "name": "AnchoredRegion",
2883
2645
  "module": "src/anchored-region/anchored-region.ts"
2884
2646
  }
2885
2647
  },
2886
2648
  {
2887
- "kind": "method",
2888
- "name": "verticalDefaultPositionChanged",
2889
- "privacy": "private",
2890
- "return": {
2891
- "type": {
2892
- "text": "void"
2893
- }
2649
+ "kind": "field",
2650
+ "name": "baseVerticalOffset",
2651
+ "type": {
2652
+ "text": "number"
2894
2653
  },
2654
+ "privacy": "private",
2655
+ "default": "0",
2895
2656
  "inheritedFrom": {
2896
2657
  "name": "AnchoredRegion",
2897
2658
  "module": "src/anchored-region/anchored-region.ts"
@@ -2899,27 +2660,12 @@
2899
2660
  },
2900
2661
  {
2901
2662
  "kind": "field",
2902
- "name": "verticalViewportLock",
2663
+ "name": "pendingPositioningUpdate",
2903
2664
  "type": {
2904
2665
  "text": "boolean"
2905
2666
  },
2906
- "privacy": "public",
2667
+ "privacy": "private",
2907
2668
  "default": "false",
2908
- "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the vertical axis",
2909
- "inheritedFrom": {
2910
- "name": "AnchoredRegion",
2911
- "module": "src/anchored-region/anchored-region.ts"
2912
- }
2913
- },
2914
- {
2915
- "kind": "method",
2916
- "name": "verticalViewportLockChanged",
2917
- "privacy": "private",
2918
- "return": {
2919
- "type": {
2920
- "text": "void"
2921
- }
2922
- },
2923
2669
  "inheritedFrom": {
2924
2670
  "name": "AnchoredRegion",
2925
2671
  "module": "src/anchored-region/anchored-region.ts"
@@ -2927,27 +2673,24 @@
2927
2673
  },
2928
2674
  {
2929
2675
  "kind": "field",
2930
- "name": "verticalInset",
2676
+ "name": "pendingReset",
2931
2677
  "type": {
2932
2678
  "text": "boolean"
2933
2679
  },
2934
- "privacy": "public",
2680
+ "privacy": "private",
2935
2681
  "default": "false",
2936
- "description": "Whether the region overlaps the anchor on the vertical axis",
2937
2682
  "inheritedFrom": {
2938
2683
  "name": "AnchoredRegion",
2939
2684
  "module": "src/anchored-region/anchored-region.ts"
2940
2685
  }
2941
2686
  },
2942
2687
  {
2943
- "kind": "method",
2944
- "name": "verticalInsetChanged",
2945
- "privacy": "private",
2946
- "return": {
2947
- "type": {
2948
- "text": "void"
2949
- }
2688
+ "kind": "field",
2689
+ "name": "currentDirection",
2690
+ "type": {
2691
+ "text": "Direction"
2950
2692
  },
2693
+ "privacy": "private",
2951
2694
  "inheritedFrom": {
2952
2695
  "name": "AnchoredRegion",
2953
2696
  "module": "src/anchored-region/anchored-region.ts"
@@ -2955,26 +2698,25 @@
2955
2698
  },
2956
2699
  {
2957
2700
  "kind": "field",
2958
- "name": "verticalThreshold",
2701
+ "name": "regionVisible",
2959
2702
  "type": {
2960
- "text": "number"
2703
+ "text": "boolean"
2961
2704
  },
2962
- "privacy": "public",
2963
- "description": "How short the space allocated to the default position has to be before the tallest area\nis selected for layout",
2705
+ "privacy": "private",
2706
+ "default": "false",
2964
2707
  "inheritedFrom": {
2965
2708
  "name": "AnchoredRegion",
2966
2709
  "module": "src/anchored-region/anchored-region.ts"
2967
2710
  }
2968
2711
  },
2969
2712
  {
2970
- "kind": "method",
2971
- "name": "verticalThresholdChanged",
2972
- "privacy": "private",
2973
- "return": {
2974
- "type": {
2975
- "text": "void"
2976
- }
2713
+ "kind": "field",
2714
+ "name": "forceUpdate",
2715
+ "type": {
2716
+ "text": "boolean"
2977
2717
  },
2718
+ "privacy": "private",
2719
+ "default": "false",
2978
2720
  "inheritedFrom": {
2979
2721
  "name": "AnchoredRegion",
2980
2722
  "module": "src/anchored-region/anchored-region.ts"
@@ -2982,27 +2724,26 @@
2982
2724
  },
2983
2725
  {
2984
2726
  "kind": "field",
2985
- "name": "verticalScaling",
2727
+ "name": "updateThreshold",
2986
2728
  "type": {
2987
- "text": "AxisScalingMode"
2729
+ "text": "number"
2988
2730
  },
2989
- "privacy": "public",
2990
- "default": "\"content\"",
2991
- "description": "Defines how the height of the region is calculated",
2731
+ "privacy": "private",
2732
+ "default": "0.5",
2992
2733
  "inheritedFrom": {
2993
2734
  "name": "AnchoredRegion",
2994
2735
  "module": "src/anchored-region/anchored-region.ts"
2995
2736
  }
2996
2737
  },
2997
2738
  {
2998
- "kind": "method",
2999
- "name": "verticalScalingChanged",
3000
- "privacy": "private",
3001
- "return": {
3002
- "type": {
3003
- "text": "void"
3004
- }
2739
+ "kind": "field",
2740
+ "name": "intersectionService",
2741
+ "type": {
2742
+ "text": "IntersectionService"
3005
2743
  },
2744
+ "privacy": "private",
2745
+ "static": true,
2746
+ "default": "new IntersectionService()",
3006
2747
  "inheritedFrom": {
3007
2748
  "name": "AnchoredRegion",
3008
2749
  "module": "src/anchored-region/anchored-region.ts"
@@ -3010,13 +2751,9 @@
3010
2751
  },
3011
2752
  {
3012
2753
  "kind": "field",
3013
- "name": "fixedPlacement",
3014
- "type": {
3015
- "text": "boolean"
3016
- },
2754
+ "name": "update",
3017
2755
  "privacy": "public",
3018
- "default": "false",
3019
- "description": "Whether the region is positioned using css \"position: fixed\".\nOtherwise the region uses \"position: absolute\".\nFixed placement allows the region to break out of parent containers,",
2756
+ "description": "update position",
3020
2757
  "inheritedFrom": {
3021
2758
  "name": "AnchoredRegion",
3022
2759
  "module": "src/anchored-region/anchored-region.ts"
@@ -3024,27 +2761,14 @@
3024
2761
  },
3025
2762
  {
3026
2763
  "kind": "method",
3027
- "name": "fixedPlacementChanged",
2764
+ "name": "disconnectResizeDetector",
3028
2765
  "privacy": "private",
3029
2766
  "return": {
3030
2767
  "type": {
3031
2768
  "text": "void"
3032
2769
  }
3033
2770
  },
3034
- "inheritedFrom": {
3035
- "name": "AnchoredRegion",
3036
- "module": "src/anchored-region/anchored-region.ts"
3037
- }
3038
- },
3039
- {
3040
- "kind": "field",
3041
- "name": "autoUpdateMode",
3042
- "type": {
3043
- "text": "AutoUpdateMode"
3044
- },
3045
- "privacy": "public",
3046
- "default": "\"anchor\"",
3047
- "description": "Defines what triggers the anchored region to revaluate positioning",
2771
+ "description": "destroys the instance's resize observer",
3048
2772
  "inheritedFrom": {
3049
2773
  "name": "AnchoredRegion",
3050
2774
  "module": "src/anchored-region/anchored-region.ts"
@@ -3052,41 +2776,29 @@
3052
2776
  },
3053
2777
  {
3054
2778
  "kind": "method",
3055
- "name": "autoUpdateModeChanged",
2779
+ "name": "initializeResizeDetector",
3056
2780
  "privacy": "private",
3057
2781
  "return": {
3058
2782
  "type": {
3059
2783
  "text": "void"
3060
2784
  }
3061
2785
  },
3062
- "parameters": [
3063
- {
3064
- "name": "prevMode",
3065
- "type": {
3066
- "text": "AutoUpdateMode"
3067
- }
3068
- },
3069
- {
3070
- "name": "newMode",
3071
- "type": {
3072
- "text": "AutoUpdateMode"
3073
- }
3074
- }
3075
- ],
2786
+ "description": "initializes the instance's resize observer",
3076
2787
  "inheritedFrom": {
3077
2788
  "name": "AnchoredRegion",
3078
2789
  "module": "src/anchored-region/anchored-region.ts"
3079
2790
  }
3080
2791
  },
3081
2792
  {
3082
- "kind": "field",
3083
- "name": "anchorElement",
3084
- "type": {
3085
- "text": "HTMLElement | null"
2793
+ "kind": "method",
2794
+ "name": "updateForAttributeChange",
2795
+ "privacy": "private",
2796
+ "return": {
2797
+ "type": {
2798
+ "text": "void"
2799
+ }
3086
2800
  },
3087
- "privacy": "public",
3088
- "default": "null",
3089
- "description": "The HTML element being used as the anchor",
2801
+ "description": "react to attribute changes that don't require a reset",
3090
2802
  "inheritedFrom": {
3091
2803
  "name": "AnchoredRegion",
3092
2804
  "module": "src/anchored-region/anchored-region.ts"
@@ -3094,27 +2806,29 @@
3094
2806
  },
3095
2807
  {
3096
2808
  "kind": "method",
3097
- "name": "anchorElementChanged",
2809
+ "name": "initialize",
3098
2810
  "privacy": "private",
3099
2811
  "return": {
3100
2812
  "type": {
3101
2813
  "text": "void"
3102
2814
  }
3103
2815
  },
2816
+ "description": "fully initializes the component",
3104
2817
  "inheritedFrom": {
3105
2818
  "name": "AnchoredRegion",
3106
2819
  "module": "src/anchored-region/anchored-region.ts"
3107
2820
  }
3108
2821
  },
3109
2822
  {
3110
- "kind": "field",
3111
- "name": "viewportElement",
3112
- "type": {
3113
- "text": "HTMLElement | null"
2823
+ "kind": "method",
2824
+ "name": "requestReset",
2825
+ "privacy": "private",
2826
+ "return": {
2827
+ "type": {
2828
+ "text": "void"
2829
+ }
3114
2830
  },
3115
- "privacy": "public",
3116
- "default": "null",
3117
- "description": "The HTML element being used as the viewport",
2831
+ "description": "Request a reset if there are currently no open requests",
3118
2832
  "inheritedFrom": {
3119
2833
  "name": "AnchoredRegion",
3120
2834
  "module": "src/anchored-region/anchored-region.ts"
@@ -3122,13 +2836,14 @@
3122
2836
  },
3123
2837
  {
3124
2838
  "kind": "method",
3125
- "name": "viewportElementChanged",
2839
+ "name": "setInitialState",
3126
2840
  "privacy": "private",
3127
2841
  "return": {
3128
2842
  "type": {
3129
2843
  "text": "void"
3130
2844
  }
3131
2845
  },
2846
+ "description": "sets the starting configuration for component internal values",
3132
2847
  "inheritedFrom": {
3133
2848
  "name": "AnchoredRegion",
3134
2849
  "module": "src/anchored-region/anchored-region.ts"
@@ -3136,12 +2851,9 @@
3136
2851
  },
3137
2852
  {
3138
2853
  "kind": "field",
3139
- "name": "verticalPosition",
3140
- "type": {
3141
- "text": "AnchoredRegionPositionLabel | undefined"
3142
- },
3143
- "privacy": "public",
3144
- "description": "indicates the current horizontal position of the region",
2854
+ "name": "startObservers",
2855
+ "privacy": "private",
2856
+ "description": "starts observers",
3145
2857
  "inheritedFrom": {
3146
2858
  "name": "AnchoredRegion",
3147
2859
  "module": "src/anchored-region/anchored-region.ts"
@@ -3149,12 +2861,9 @@
3149
2861
  },
3150
2862
  {
3151
2863
  "kind": "field",
3152
- "name": "horizontalPosition",
3153
- "type": {
3154
- "text": "AnchoredRegionPositionLabel | undefined"
3155
- },
3156
- "privacy": "public",
3157
- "description": "indicates the current vertical position of the region",
2864
+ "name": "requestPositionUpdates",
2865
+ "privacy": "private",
2866
+ "description": "get position updates",
3158
2867
  "inheritedFrom": {
3159
2868
  "name": "AnchoredRegion",
3160
2869
  "module": "src/anchored-region/anchored-region.ts"
@@ -3162,12 +2871,9 @@
3162
2871
  },
3163
2872
  {
3164
2873
  "kind": "field",
3165
- "name": "translateX",
3166
- "type": {
3167
- "text": "number"
3168
- },
2874
+ "name": "stopObservers",
3169
2875
  "privacy": "private",
3170
- "description": "values to be applied to the component's transform on render",
2876
+ "description": "stops observers",
3171
2877
  "inheritedFrom": {
3172
2878
  "name": "AnchoredRegion",
3173
2879
  "module": "src/anchored-region/anchored-region.ts"
@@ -3175,11 +2881,9 @@
3175
2881
  },
3176
2882
  {
3177
2883
  "kind": "field",
3178
- "name": "translateY",
3179
- "type": {
3180
- "text": "number"
3181
- },
2884
+ "name": "getViewport",
3182
2885
  "privacy": "private",
2886
+ "description": "Gets the viewport element by id, or defaults to document root",
3183
2887
  "inheritedFrom": {
3184
2888
  "name": "AnchoredRegion",
3185
2889
  "module": "src/anchored-region/anchored-region.ts"
@@ -3187,12 +2891,9 @@
3187
2891
  },
3188
2892
  {
3189
2893
  "kind": "field",
3190
- "name": "regionWidth",
3191
- "type": {
3192
- "text": "string"
3193
- },
2894
+ "name": "getAnchor",
3194
2895
  "privacy": "private",
3195
- "description": "the span to be applied to the region on each axis",
2896
+ "description": "Gets the anchor element by id",
3196
2897
  "inheritedFrom": {
3197
2898
  "name": "AnchoredRegion",
3198
2899
  "module": "src/anchored-region/anchored-region.ts"
@@ -3200,11 +2901,9 @@
3200
2901
  },
3201
2902
  {
3202
2903
  "kind": "field",
3203
- "name": "regionHeight",
3204
- "type": {
3205
- "text": "string"
3206
- },
2904
+ "name": "handleIntersection",
3207
2905
  "privacy": "private",
2906
+ "description": "Handle intersections",
3208
2907
  "inheritedFrom": {
3209
2908
  "name": "AnchoredRegion",
3210
2909
  "module": "src/anchored-region/anchored-region.ts"
@@ -3212,12 +2911,9 @@
3212
2911
  },
3213
2912
  {
3214
2913
  "kind": "field",
3215
- "name": "resizeDetector",
3216
- "type": {
3217
- "text": "ResizeObserverClassDefinition | null"
3218
- },
2914
+ "name": "applyIntersectionEntries",
3219
2915
  "privacy": "private",
3220
- "default": "null",
2916
+ "description": "iterate through intersection entries and apply data",
3221
2917
  "inheritedFrom": {
3222
2918
  "name": "AnchoredRegion",
3223
2919
  "module": "src/anchored-region/anchored-region.ts"
@@ -3225,11 +2921,9 @@
3225
2921
  },
3226
2922
  {
3227
2923
  "kind": "field",
3228
- "name": "viewportRect",
3229
- "type": {
3230
- "text": "ClientRect | DOMRect | undefined"
3231
- },
2924
+ "name": "updateRegionOffset",
3232
2925
  "privacy": "private",
2926
+ "description": "Update the offset values",
3233
2927
  "inheritedFrom": {
3234
2928
  "name": "AnchoredRegion",
3235
2929
  "module": "src/anchored-region/anchored-region.ts"
@@ -3237,11 +2931,9 @@
3237
2931
  },
3238
2932
  {
3239
2933
  "kind": "field",
3240
- "name": "anchorRect",
3241
- "type": {
3242
- "text": "ClientRect | DOMRect | undefined"
3243
- },
2934
+ "name": "isRectDifferent",
3244
2935
  "privacy": "private",
2936
+ "description": "compare rects to see if there is enough change to justify a DOM update",
3245
2937
  "inheritedFrom": {
3246
2938
  "name": "AnchoredRegion",
3247
2939
  "module": "src/anchored-region/anchored-region.ts"
@@ -3249,11 +2941,9 @@
3249
2941
  },
3250
2942
  {
3251
2943
  "kind": "field",
3252
- "name": "regionRect",
3253
- "type": {
3254
- "text": "ClientRect | DOMRect | undefined"
3255
- },
2944
+ "name": "handleResize",
3256
2945
  "privacy": "private",
2946
+ "description": "Handle resize events",
3257
2947
  "inheritedFrom": {
3258
2948
  "name": "AnchoredRegion",
3259
2949
  "module": "src/anchored-region/anchored-region.ts"
@@ -3261,13 +2951,9 @@
3261
2951
  },
3262
2952
  {
3263
2953
  "kind": "field",
3264
- "name": "baseHorizontalOffset",
3265
- "type": {
3266
- "text": "number"
3267
- },
2954
+ "name": "reset",
3268
2955
  "privacy": "private",
3269
- "default": "0",
3270
- "description": "base offsets between the positioner's base position and the anchor's",
2956
+ "description": "resets the component",
3271
2957
  "inheritedFrom": {
3272
2958
  "name": "AnchoredRegion",
3273
2959
  "module": "src/anchored-region/anchored-region.ts"
@@ -3275,12 +2961,9 @@
3275
2961
  },
3276
2962
  {
3277
2963
  "kind": "field",
3278
- "name": "baseVerticalOffset",
3279
- "type": {
3280
- "text": "number"
3281
- },
2964
+ "name": "updateLayout",
3282
2965
  "privacy": "private",
3283
- "default": "0",
2966
+ "description": "Recalculate layout related state values",
3284
2967
  "inheritedFrom": {
3285
2968
  "name": "AnchoredRegion",
3286
2969
  "module": "src/anchored-region/anchored-region.ts"
@@ -3288,12 +2971,9 @@
3288
2971
  },
3289
2972
  {
3290
2973
  "kind": "field",
3291
- "name": "pendingPositioningUpdate",
3292
- "type": {
3293
- "text": "boolean"
3294
- },
2974
+ "name": "updateRegionStyle",
3295
2975
  "privacy": "private",
3296
- "default": "false",
2976
+ "description": "Updates the style string applied to the region element as well as the css classes attached\nto the root element",
3297
2977
  "inheritedFrom": {
3298
2978
  "name": "AnchoredRegion",
3299
2979
  "module": "src/anchored-region/anchored-region.ts"
@@ -3301,12 +2981,9 @@
3301
2981
  },
3302
2982
  {
3303
2983
  "kind": "field",
3304
- "name": "pendingReset",
3305
- "type": {
3306
- "text": "boolean"
3307
- },
2984
+ "name": "updatePositionClasses",
3308
2985
  "privacy": "private",
3309
- "default": "false",
2986
+ "description": "Updates the css classes that reflect the current position of the element",
3310
2987
  "inheritedFrom": {
3311
2988
  "name": "AnchoredRegion",
3312
2989
  "module": "src/anchored-region/anchored-region.ts"
@@ -3314,377 +2991,724 @@
3314
2991
  },
3315
2992
  {
3316
2993
  "kind": "field",
3317
- "name": "currentDirection",
3318
- "type": {
3319
- "text": "Direction"
3320
- },
2994
+ "name": "setHorizontalPosition",
3321
2995
  "privacy": "private",
2996
+ "description": "Get horizontal positioning state based on desired position",
3322
2997
  "inheritedFrom": {
3323
2998
  "name": "AnchoredRegion",
3324
2999
  "module": "src/anchored-region/anchored-region.ts"
3325
3000
  }
3326
3001
  },
3327
3002
  {
3328
- "kind": "field",
3329
- "name": "regionVisible",
3003
+ "kind": "field",
3004
+ "name": "setVerticalPosition",
3005
+ "privacy": "private",
3006
+ "description": "Set vertical positioning state based on desired position",
3007
+ "inheritedFrom": {
3008
+ "name": "AnchoredRegion",
3009
+ "module": "src/anchored-region/anchored-region.ts"
3010
+ }
3011
+ },
3012
+ {
3013
+ "kind": "field",
3014
+ "name": "getPositioningOptions",
3015
+ "privacy": "private",
3016
+ "description": "Get available positions based on positioning mode",
3017
+ "inheritedFrom": {
3018
+ "name": "AnchoredRegion",
3019
+ "module": "src/anchored-region/anchored-region.ts"
3020
+ }
3021
+ },
3022
+ {
3023
+ "kind": "field",
3024
+ "name": "getAvailableSpace",
3025
+ "privacy": "private",
3026
+ "description": "Get the space available for a particular relative position",
3027
+ "inheritedFrom": {
3028
+ "name": "AnchoredRegion",
3029
+ "module": "src/anchored-region/anchored-region.ts"
3030
+ }
3031
+ },
3032
+ {
3033
+ "kind": "field",
3034
+ "name": "getNextRegionDimension",
3035
+ "privacy": "private",
3036
+ "description": "Get region dimensions",
3037
+ "inheritedFrom": {
3038
+ "name": "AnchoredRegion",
3039
+ "module": "src/anchored-region/anchored-region.ts"
3040
+ }
3041
+ },
3042
+ {
3043
+ "kind": "field",
3044
+ "name": "startAutoUpdateEventListeners",
3045
+ "privacy": "private",
3046
+ "description": "starts event listeners that can trigger auto updating",
3047
+ "inheritedFrom": {
3048
+ "name": "AnchoredRegion",
3049
+ "module": "src/anchored-region/anchored-region.ts"
3050
+ }
3051
+ },
3052
+ {
3053
+ "kind": "field",
3054
+ "name": "stopAutoUpdateEventListeners",
3055
+ "privacy": "private",
3056
+ "description": "stops event listeners that can trigger auto updating",
3057
+ "inheritedFrom": {
3058
+ "name": "AnchoredRegion",
3059
+ "module": "src/anchored-region/anchored-region.ts"
3060
+ }
3061
+ },
3062
+ {
3063
+ "kind": "field",
3064
+ "name": "_presentation",
3065
+ "type": {
3066
+ "text": "ComponentPresentation | null | undefined"
3067
+ },
3068
+ "privacy": "private",
3069
+ "default": "void 0",
3070
+ "inheritedFrom": {
3071
+ "name": "AnchoredRegion",
3072
+ "module": "src/anchored-region/anchored-region.ts"
3073
+ }
3074
+ },
3075
+ {
3076
+ "kind": "field",
3077
+ "name": "$presentation",
3078
+ "type": {
3079
+ "text": "ComponentPresentation | null"
3080
+ },
3081
+ "privacy": "public",
3082
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3083
+ "inheritedFrom": {
3084
+ "name": "AnchoredRegion",
3085
+ "module": "src/anchored-region/anchored-region.ts"
3086
+ }
3087
+ },
3088
+ {
3089
+ "kind": "field",
3090
+ "name": "template",
3091
+ "type": {
3092
+ "text": "ElementViewTemplate | void | null"
3093
+ },
3094
+ "privacy": "public",
3095
+ "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
3096
+ "inheritedFrom": {
3097
+ "name": "AnchoredRegion",
3098
+ "module": "src/anchored-region/anchored-region.ts"
3099
+ }
3100
+ },
3101
+ {
3102
+ "kind": "method",
3103
+ "name": "templateChanged",
3104
+ "privacy": "protected",
3105
+ "return": {
3106
+ "type": {
3107
+ "text": "void"
3108
+ }
3109
+ },
3110
+ "inheritedFrom": {
3111
+ "name": "AnchoredRegion",
3112
+ "module": "src/anchored-region/anchored-region.ts"
3113
+ }
3114
+ },
3115
+ {
3116
+ "kind": "field",
3117
+ "name": "styles",
3118
+ "type": {
3119
+ "text": "ElementStyles | void | null"
3120
+ },
3121
+ "privacy": "public",
3122
+ "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
3123
+ "inheritedFrom": {
3124
+ "name": "AnchoredRegion",
3125
+ "module": "src/anchored-region/anchored-region.ts"
3126
+ }
3127
+ },
3128
+ {
3129
+ "kind": "method",
3130
+ "name": "stylesChanged",
3131
+ "privacy": "protected",
3132
+ "return": {
3133
+ "type": {
3134
+ "text": "void"
3135
+ }
3136
+ },
3137
+ "inheritedFrom": {
3138
+ "name": "AnchoredRegion",
3139
+ "module": "src/anchored-region/anchored-region.ts"
3140
+ }
3141
+ },
3142
+ {
3143
+ "kind": "method",
3144
+ "name": "compose",
3145
+ "privacy": "public",
3146
+ "static": true,
3147
+ "return": {
3148
+ "type": {
3149
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
3150
+ }
3151
+ },
3152
+ "parameters": [
3153
+ {
3154
+ "name": "this",
3155
+ "type": {
3156
+ "text": "K"
3157
+ }
3158
+ },
3159
+ {
3160
+ "name": "elementDefinition",
3161
+ "type": {
3162
+ "text": "T"
3163
+ },
3164
+ "description": "The definition of the element to create the registry\nfunction for."
3165
+ }
3166
+ ],
3167
+ "description": "Defines an element registry function with a set of element definition defaults.",
3168
+ "inheritedFrom": {
3169
+ "name": "AnchoredRegion",
3170
+ "module": "src/anchored-region/anchored-region.ts"
3171
+ }
3172
+ }
3173
+ ],
3174
+ "events": [
3175
+ {
3176
+ "description": "Fires a custom 'loaded' event when the region is loaded and visible",
3177
+ "name": "loaded",
3178
+ "inheritedFrom": {
3179
+ "name": "AnchoredRegion",
3180
+ "module": "src/anchored-region/anchored-region.ts"
3181
+ }
3182
+ },
3183
+ {
3184
+ "description": "Fires a custom 'positionchange' event when the position has changed",
3185
+ "name": "positionchange",
3186
+ "inheritedFrom": {
3187
+ "name": "AnchoredRegion",
3188
+ "module": "src/anchored-region/anchored-region.ts"
3189
+ }
3190
+ }
3191
+ ]
3192
+ },
3193
+ {
3194
+ "kind": "variable",
3195
+ "name": "rapidAnchoredRegion"
3196
+ }
3197
+ ],
3198
+ "exports": [
3199
+ {
3200
+ "kind": "js",
3201
+ "name": "AnchoredRegion",
3202
+ "declaration": {
3203
+ "name": "AnchoredRegion",
3204
+ "module": "src/anchored-region/anchored-region.ts"
3205
+ }
3206
+ },
3207
+ {
3208
+ "kind": "js",
3209
+ "name": "rapidAnchoredRegion",
3210
+ "declaration": {
3211
+ "name": "rapidAnchoredRegion",
3212
+ "module": "src/anchored-region/anchored-region.ts"
3213
+ }
3214
+ }
3215
+ ]
3216
+ },
3217
+ {
3218
+ "kind": "javascript-module",
3219
+ "path": "src/anchored-region/index.ts",
3220
+ "declarations": [],
3221
+ "exports": [
3222
+ {
3223
+ "kind": "js",
3224
+ "name": "*",
3225
+ "declaration": {
3226
+ "name": "*",
3227
+ "package": "./anchored-region"
3228
+ }
3229
+ },
3230
+ {
3231
+ "kind": "js",
3232
+ "name": "*",
3233
+ "declaration": {
3234
+ "name": "*",
3235
+ "package": "./anchored-region.template"
3236
+ }
3237
+ },
3238
+ {
3239
+ "kind": "js",
3240
+ "name": "*",
3241
+ "declaration": {
3242
+ "name": "*",
3243
+ "package": "./anchored-region.styles"
3244
+ }
3245
+ }
3246
+ ]
3247
+ },
3248
+ {
3249
+ "kind": "javascript-module",
3250
+ "path": "src/actions-menu/actions-menu.stories.ts",
3251
+ "declarations": [
3252
+ {
3253
+ "kind": "variable",
3254
+ "name": "meta",
3255
+ "type": {
3256
+ "text": "Meta"
3257
+ },
3258
+ "default": "{\n title: 'Actions Menu',\n component: 'rapid-actions-menu',\n}"
3259
+ },
3260
+ {
3261
+ "kind": "variable",
3262
+ "name": "Horizontal",
3263
+ "type": {
3264
+ "text": "StoryObj"
3265
+ },
3266
+ "default": "{\n args: {\n actions: rapidActions,\n actionsOpenerText: 'Horizontal Actions',\n definition,\n isVertical: false,\n },\n render: (args) => html`\n <div style=\"${horizontalStyle}\">\n <rapid-actions-menu\n .name=${args.actionsOpenerText}\n .definition=${args.definition}\n .actions=${args.actions}\n is-vertical=${args.isVertical}\n ></rapid-actions-menu>\n </div>\n `,\n}"
3267
+ },
3268
+ {
3269
+ "kind": "variable",
3270
+ "name": "Vertical",
3271
+ "type": {
3272
+ "text": "StoryObj"
3273
+ },
3274
+ "default": "{\n args: {\n actions: rapidActions,\n actionsOpenerText: 'Vertical Actions',\n definition,\n isVertical: true,\n },\n render: (args) => html`\n <div style=\"${verticalStyle}\">\n <rapid-actions-menu\n .name=${args.actionsOpenerText}\n .definition=${args.definition}\n .actions=${args.actions}\n is-vertical=${args.isVertical}\n ></rapid-actions-menu>\n </div>\n `,\n}"
3275
+ }
3276
+ ],
3277
+ "exports": [
3278
+ {
3279
+ "kind": "js",
3280
+ "name": "default",
3281
+ "declaration": {
3282
+ "name": "meta",
3283
+ "module": "src/actions-menu/actions-menu.stories.ts"
3284
+ }
3285
+ },
3286
+ {
3287
+ "kind": "js",
3288
+ "name": "Horizontal",
3289
+ "declaration": {
3290
+ "name": "Horizontal",
3291
+ "module": "src/actions-menu/actions-menu.stories.ts"
3292
+ }
3293
+ },
3294
+ {
3295
+ "kind": "js",
3296
+ "name": "Vertical",
3297
+ "declaration": {
3298
+ "name": "Vertical",
3299
+ "module": "src/actions-menu/actions-menu.stories.ts"
3300
+ }
3301
+ }
3302
+ ]
3303
+ },
3304
+ {
3305
+ "kind": "javascript-module",
3306
+ "path": "src/actions-menu/actions-menu.styles.ts",
3307
+ "declarations": [
3308
+ {
3309
+ "kind": "function",
3310
+ "name": "rapidActionsMenuStyles",
3311
+ "return": {
3312
+ "type": {
3313
+ "text": "ElementStyles"
3314
+ }
3315
+ },
3316
+ "parameters": [
3317
+ {
3318
+ "name": "context",
3319
+ "type": {
3320
+ "text": "ElementDefinitionContext"
3321
+ }
3322
+ },
3323
+ {
3324
+ "name": "definition",
3325
+ "type": {
3326
+ "text": "FoundationElementDefinition"
3327
+ }
3328
+ }
3329
+ ]
3330
+ }
3331
+ ],
3332
+ "exports": [
3333
+ {
3334
+ "kind": "js",
3335
+ "name": "rapidActionsMenuStyles",
3336
+ "declaration": {
3337
+ "name": "rapidActionsMenuStyles",
3338
+ "module": "src/actions-menu/actions-menu.styles.ts"
3339
+ }
3340
+ }
3341
+ ]
3342
+ },
3343
+ {
3344
+ "kind": "javascript-module",
3345
+ "path": "src/actions-menu/actions-menu.ts",
3346
+ "declarations": [
3347
+ {
3348
+ "kind": "class",
3349
+ "description": "",
3350
+ "name": "ActionsMenu",
3351
+ "superclass": {
3352
+ "name": "FoundationActionsMenu",
3353
+ "package": "@genesislcap/foundation-ui"
3354
+ },
3355
+ "tagName": "%%prefix%%-actions-menu",
3356
+ "customElement": true,
3357
+ "attributes": [
3358
+ {
3359
+ "name": "is-vertical",
3330
3360
  "type": {
3331
3361
  "text": "boolean"
3332
3362
  },
3333
- "privacy": "private",
3334
3363
  "default": "false",
3364
+ "fieldName": "isVertical",
3335
3365
  "inheritedFrom": {
3336
- "name": "AnchoredRegion",
3337
- "module": "src/anchored-region/anchored-region.ts"
3366
+ "name": "ActionsMenu",
3367
+ "module": "src/actions-menu/actions-menu.ts"
3338
3368
  }
3339
3369
  },
3340
3370
  {
3341
- "kind": "field",
3342
- "name": "forceUpdate",
3371
+ "name": "add-default-actions",
3343
3372
  "type": {
3344
3373
  "text": "boolean"
3345
3374
  },
3346
- "privacy": "private",
3347
- "default": "false",
3375
+ "default": "true",
3376
+ "fieldName": "addDefaultActions",
3348
3377
  "inheritedFrom": {
3349
- "name": "AnchoredRegion",
3350
- "module": "src/anchored-region/anchored-region.ts"
3378
+ "name": "ActionsMenu",
3379
+ "module": "src/actions-menu/actions-menu.ts"
3351
3380
  }
3352
3381
  },
3353
3382
  {
3354
- "kind": "field",
3355
- "name": "updateThreshold",
3383
+ "name": "auto-close-on-action",
3356
3384
  "type": {
3357
- "text": "number"
3385
+ "text": "boolean"
3358
3386
  },
3359
- "privacy": "private",
3360
- "default": "0.5",
3387
+ "default": "true",
3388
+ "fieldName": "autoCloseOnAction",
3361
3389
  "inheritedFrom": {
3362
- "name": "AnchoredRegion",
3363
- "module": "src/anchored-region/anchored-region.ts"
3390
+ "name": "ActionsMenu",
3391
+ "module": "src/actions-menu/actions-menu.ts"
3364
3392
  }
3365
3393
  },
3366
3394
  {
3367
- "kind": "field",
3368
- "name": "intersectionService",
3395
+ "name": "name",
3369
3396
  "type": {
3370
- "text": "IntersectionService"
3371
- },
3372
- "privacy": "private",
3373
- "static": true,
3374
- "default": "new IntersectionService()",
3375
- "inheritedFrom": {
3376
- "name": "AnchoredRegion",
3377
- "module": "src/anchored-region/anchored-region.ts"
3378
- }
3379
- },
3380
- {
3381
- "kind": "field",
3382
- "name": "update",
3383
- "privacy": "public",
3384
- "description": "update position",
3385
- "inheritedFrom": {
3386
- "name": "AnchoredRegion",
3387
- "module": "src/anchored-region/anchored-region.ts"
3388
- }
3389
- },
3390
- {
3391
- "kind": "method",
3392
- "name": "disconnectResizeDetector",
3393
- "privacy": "private",
3394
- "return": {
3395
- "type": {
3396
- "text": "void"
3397
- }
3398
- },
3399
- "description": "destroys the instance's resize observer",
3400
- "inheritedFrom": {
3401
- "name": "AnchoredRegion",
3402
- "module": "src/anchored-region/anchored-region.ts"
3403
- }
3404
- },
3405
- {
3406
- "kind": "method",
3407
- "name": "initializeResizeDetector",
3408
- "privacy": "private",
3409
- "return": {
3410
- "type": {
3411
- "text": "void"
3412
- }
3397
+ "text": "string"
3413
3398
  },
3414
- "description": "initializes the instance's resize observer",
3399
+ "default": "'Actions'",
3400
+ "fieldName": "name",
3415
3401
  "inheritedFrom": {
3416
- "name": "AnchoredRegion",
3417
- "module": "src/anchored-region/anchored-region.ts"
3402
+ "name": "ActionsMenu",
3403
+ "module": "src/actions-menu/actions-menu.ts"
3418
3404
  }
3419
3405
  },
3420
3406
  {
3421
- "kind": "method",
3422
- "name": "updateForAttributeChange",
3423
- "privacy": "private",
3424
- "return": {
3425
- "type": {
3426
- "text": "void"
3427
- }
3407
+ "name": "open",
3408
+ "type": {
3409
+ "text": "boolean"
3428
3410
  },
3429
- "description": "react to attribute changes that don't require a reset",
3411
+ "default": "false",
3412
+ "fieldName": "open",
3430
3413
  "inheritedFrom": {
3431
- "name": "AnchoredRegion",
3432
- "module": "src/anchored-region/anchored-region.ts"
3414
+ "name": "ActionsMenu",
3415
+ "module": "src/actions-menu/actions-menu.ts"
3433
3416
  }
3434
3417
  },
3435
3418
  {
3436
- "kind": "method",
3437
- "name": "initialize",
3438
- "privacy": "private",
3439
- "return": {
3440
- "type": {
3441
- "text": "void"
3442
- }
3419
+ "name": "buttonAppearance",
3420
+ "type": {
3421
+ "text": "string"
3443
3422
  },
3444
- "description": "fully initializes the component",
3423
+ "fieldName": "buttonAppearance",
3445
3424
  "inheritedFrom": {
3446
- "name": "AnchoredRegion",
3447
- "module": "src/anchored-region/anchored-region.ts"
3425
+ "name": "ActionsMenu",
3426
+ "module": "src/actions-menu/actions-menu.ts"
3448
3427
  }
3449
3428
  },
3450
3429
  {
3451
- "kind": "method",
3452
- "name": "requestReset",
3453
- "privacy": "private",
3454
- "return": {
3455
- "type": {
3456
- "text": "void"
3457
- }
3430
+ "name": "hide-disabled",
3431
+ "type": {
3432
+ "text": "boolean"
3458
3433
  },
3459
- "description": "Request a reset if there are currently no open requests",
3434
+ "default": "false",
3435
+ "fieldName": "hideDisabled",
3460
3436
  "inheritedFrom": {
3461
- "name": "AnchoredRegion",
3462
- "module": "src/anchored-region/anchored-region.ts"
3437
+ "name": "ActionsMenu",
3438
+ "module": "src/actions-menu/actions-menu.ts"
3463
3439
  }
3464
3440
  },
3465
3441
  {
3466
- "kind": "method",
3467
- "name": "setInitialState",
3468
- "privacy": "private",
3469
- "return": {
3470
- "type": {
3471
- "text": "void"
3472
- }
3442
+ "name": "hide-menu-single-option",
3443
+ "type": {
3444
+ "text": "boolean"
3473
3445
  },
3474
- "description": "sets the starting configuration for component internal values",
3446
+ "default": "false",
3447
+ "fieldName": "hideMenuSingleOption",
3475
3448
  "inheritedFrom": {
3476
- "name": "AnchoredRegion",
3477
- "module": "src/anchored-region/anchored-region.ts"
3449
+ "name": "ActionsMenu",
3450
+ "module": "src/actions-menu/actions-menu.ts"
3478
3451
  }
3479
- },
3452
+ }
3453
+ ],
3454
+ "members": [
3480
3455
  {
3481
3456
  "kind": "field",
3482
- "name": "startObservers",
3483
- "privacy": "private",
3484
- "description": "starts observers",
3457
+ "name": "actions",
3458
+ "type": {
3459
+ "text": "ActionMenuItem[]"
3460
+ },
3485
3461
  "inheritedFrom": {
3486
- "name": "AnchoredRegion",
3487
- "module": "src/anchored-region/anchored-region.ts"
3462
+ "name": "ActionsMenu",
3463
+ "module": "src/actions-menu/actions-menu.ts"
3488
3464
  }
3489
3465
  },
3490
3466
  {
3491
3467
  "kind": "field",
3492
- "name": "requestPositionUpdates",
3493
- "privacy": "private",
3494
- "description": "get position updates",
3468
+ "name": "isVertical",
3469
+ "type": {
3470
+ "text": "boolean"
3471
+ },
3472
+ "default": "false",
3495
3473
  "inheritedFrom": {
3496
- "name": "AnchoredRegion",
3497
- "module": "src/anchored-region/anchored-region.ts"
3474
+ "name": "ActionsMenu",
3475
+ "module": "src/actions-menu/actions-menu.ts"
3498
3476
  }
3499
3477
  },
3500
3478
  {
3501
3479
  "kind": "field",
3502
- "name": "stopObservers",
3503
- "privacy": "private",
3504
- "description": "stops observers",
3480
+ "name": "addDefaultActions",
3481
+ "type": {
3482
+ "text": "boolean"
3483
+ },
3484
+ "default": "true",
3505
3485
  "inheritedFrom": {
3506
- "name": "AnchoredRegion",
3507
- "module": "src/anchored-region/anchored-region.ts"
3486
+ "name": "ActionsMenu",
3487
+ "module": "src/actions-menu/actions-menu.ts"
3508
3488
  }
3509
3489
  },
3510
3490
  {
3511
3491
  "kind": "field",
3512
- "name": "getViewport",
3513
- "privacy": "private",
3514
- "description": "Gets the viewport element by id, or defaults to document root",
3492
+ "name": "autoCloseOnAction",
3493
+ "type": {
3494
+ "text": "boolean"
3495
+ },
3496
+ "default": "true",
3515
3497
  "inheritedFrom": {
3516
- "name": "AnchoredRegion",
3517
- "module": "src/anchored-region/anchored-region.ts"
3498
+ "name": "ActionsMenu",
3499
+ "module": "src/actions-menu/actions-menu.ts"
3518
3500
  }
3519
3501
  },
3520
3502
  {
3521
3503
  "kind": "field",
3522
- "name": "getAnchor",
3523
- "privacy": "private",
3524
- "description": "Gets the anchor element by id",
3504
+ "name": "classNames",
3505
+ "type": {
3506
+ "text": "string"
3507
+ },
3525
3508
  "inheritedFrom": {
3526
- "name": "AnchoredRegion",
3527
- "module": "src/anchored-region/anchored-region.ts"
3509
+ "name": "ActionsMenu",
3510
+ "module": "src/actions-menu/actions-menu.ts"
3528
3511
  }
3529
3512
  },
3530
3513
  {
3531
3514
  "kind": "field",
3532
- "name": "handleIntersection",
3533
- "privacy": "private",
3534
- "description": "Handle intersections",
3515
+ "name": "definition",
3516
+ "type": {
3517
+ "text": "any"
3518
+ },
3535
3519
  "inheritedFrom": {
3536
- "name": "AnchoredRegion",
3537
- "module": "src/anchored-region/anchored-region.ts"
3520
+ "name": "ActionsMenu",
3521
+ "module": "src/actions-menu/actions-menu.ts"
3538
3522
  }
3539
3523
  },
3540
3524
  {
3541
3525
  "kind": "field",
3542
- "name": "applyIntersectionEntries",
3543
- "privacy": "private",
3544
- "description": "iterate through intersection entries and apply data",
3526
+ "name": "name",
3527
+ "type": {
3528
+ "text": "string"
3529
+ },
3530
+ "default": "'Actions'",
3545
3531
  "inheritedFrom": {
3546
- "name": "AnchoredRegion",
3547
- "module": "src/anchored-region/anchored-region.ts"
3532
+ "name": "ActionsMenu",
3533
+ "module": "src/actions-menu/actions-menu.ts"
3548
3534
  }
3549
3535
  },
3550
3536
  {
3551
3537
  "kind": "field",
3552
- "name": "updateRegionOffset",
3553
- "privacy": "private",
3554
- "description": "Update the offset values",
3538
+ "name": "open",
3539
+ "type": {
3540
+ "text": "boolean"
3541
+ },
3542
+ "default": "false",
3555
3543
  "inheritedFrom": {
3556
- "name": "AnchoredRegion",
3557
- "module": "src/anchored-region/anchored-region.ts"
3544
+ "name": "ActionsMenu",
3545
+ "module": "src/actions-menu/actions-menu.ts"
3558
3546
  }
3559
3547
  },
3560
3548
  {
3561
3549
  "kind": "field",
3562
- "name": "isRectDifferent",
3563
- "privacy": "private",
3564
- "description": "compare rects to see if there is enough change to justify a DOM update",
3550
+ "name": "buttonAppearance",
3551
+ "type": {
3552
+ "text": "string"
3553
+ },
3565
3554
  "inheritedFrom": {
3566
- "name": "AnchoredRegion",
3567
- "module": "src/anchored-region/anchored-region.ts"
3555
+ "name": "ActionsMenu",
3556
+ "module": "src/actions-menu/actions-menu.ts"
3568
3557
  }
3569
3558
  },
3570
3559
  {
3571
3560
  "kind": "field",
3572
- "name": "handleResize",
3573
- "privacy": "private",
3574
- "description": "Handle resize events",
3561
+ "name": "hideDisabled",
3562
+ "type": {
3563
+ "text": "boolean"
3564
+ },
3565
+ "default": "false",
3575
3566
  "inheritedFrom": {
3576
- "name": "AnchoredRegion",
3577
- "module": "src/anchored-region/anchored-region.ts"
3567
+ "name": "ActionsMenu",
3568
+ "module": "src/actions-menu/actions-menu.ts"
3578
3569
  }
3579
3570
  },
3580
3571
  {
3581
3572
  "kind": "field",
3582
- "name": "reset",
3583
- "privacy": "private",
3584
- "description": "resets the component",
3573
+ "name": "hideMenuSingleOption",
3574
+ "type": {
3575
+ "text": "boolean"
3576
+ },
3577
+ "default": "false",
3585
3578
  "inheritedFrom": {
3586
- "name": "AnchoredRegion",
3587
- "module": "src/anchored-region/anchored-region.ts"
3579
+ "name": "ActionsMenu",
3580
+ "module": "src/actions-menu/actions-menu.ts"
3588
3581
  }
3589
3582
  },
3590
3583
  {
3591
3584
  "kind": "field",
3592
- "name": "updateLayout",
3593
- "privacy": "private",
3594
- "description": "Recalculate layout related state values",
3585
+ "name": "singleOption",
3586
+ "type": {
3587
+ "text": "ActionMenuItem"
3588
+ },
3595
3589
  "inheritedFrom": {
3596
- "name": "AnchoredRegion",
3597
- "module": "src/anchored-region/anchored-region.ts"
3590
+ "name": "ActionsMenu",
3591
+ "module": "src/actions-menu/actions-menu.ts"
3598
3592
  }
3599
3593
  },
3600
3594
  {
3601
3595
  "kind": "field",
3602
- "name": "updateRegionStyle",
3603
- "privacy": "private",
3604
- "description": "Updates the style string applied to the region element as well as the css classes attached\nto the root element",
3596
+ "name": "actionsMenu",
3597
+ "type": {
3598
+ "text": "HTMLElement"
3599
+ },
3605
3600
  "inheritedFrom": {
3606
- "name": "AnchoredRegion",
3607
- "module": "src/anchored-region/anchored-region.ts"
3601
+ "name": "ActionsMenu",
3602
+ "module": "src/actions-menu/actions-menu.ts"
3608
3603
  }
3609
3604
  },
3610
3605
  {
3611
- "kind": "field",
3612
- "name": "updatePositionClasses",
3613
- "privacy": "private",
3614
- "description": "Updates the css classes that reflect the current position of the element",
3606
+ "kind": "method",
3607
+ "name": "definitionChanged",
3608
+ "privacy": "protected",
3609
+ "parameters": [
3610
+ {
3611
+ "name": "oldValue",
3612
+ "type": {
3613
+ "text": "any"
3614
+ }
3615
+ },
3616
+ {
3617
+ "name": "newValue",
3618
+ "type": {
3619
+ "text": "any"
3620
+ }
3621
+ }
3622
+ ],
3615
3623
  "inheritedFrom": {
3616
- "name": "AnchoredRegion",
3617
- "module": "src/anchored-region/anchored-region.ts"
3624
+ "name": "ActionsMenu",
3625
+ "module": "src/actions-menu/actions-menu.ts"
3618
3626
  }
3619
3627
  },
3620
3628
  {
3621
- "kind": "field",
3622
- "name": "setHorizontalPosition",
3623
- "privacy": "private",
3624
- "description": "Get horizontal positioning state based on desired position",
3629
+ "kind": "method",
3630
+ "name": "openChanged",
3631
+ "privacy": "protected",
3625
3632
  "inheritedFrom": {
3626
- "name": "AnchoredRegion",
3627
- "module": "src/anchored-region/anchored-region.ts"
3633
+ "name": "ActionsMenu",
3634
+ "module": "src/actions-menu/actions-menu.ts"
3628
3635
  }
3629
3636
  },
3630
3637
  {
3631
- "kind": "field",
3632
- "name": "setVerticalPosition",
3633
- "privacy": "private",
3634
- "description": "Set vertical positioning state based on desired position",
3638
+ "kind": "method",
3639
+ "name": "toggleActionsMenuVisibility",
3635
3640
  "inheritedFrom": {
3636
- "name": "AnchoredRegion",
3637
- "module": "src/anchored-region/anchored-region.ts"
3641
+ "name": "ActionsMenu",
3642
+ "module": "src/actions-menu/actions-menu.ts"
3638
3643
  }
3639
3644
  },
3640
3645
  {
3641
- "kind": "field",
3642
- "name": "getPositioningOptions",
3643
- "privacy": "private",
3644
- "description": "Get available positions based on positioning mode",
3646
+ "kind": "method",
3647
+ "name": "onActionMenuItemClick",
3648
+ "parameters": [
3649
+ {
3650
+ "name": "callback",
3651
+ "type": {
3652
+ "text": "(rowData) => void | any"
3653
+ }
3654
+ }
3655
+ ],
3645
3656
  "inheritedFrom": {
3646
- "name": "AnchoredRegion",
3647
- "module": "src/anchored-region/anchored-region.ts"
3657
+ "name": "ActionsMenu",
3658
+ "module": "src/actions-menu/actions-menu.ts"
3648
3659
  }
3649
3660
  },
3650
3661
  {
3651
3662
  "kind": "field",
3652
- "name": "getAvailableSpace",
3653
- "privacy": "private",
3654
- "description": "Get the space available for a particular relative position",
3663
+ "name": "allActions",
3664
+ "type": {
3665
+ "text": "ActionMenuItem[]"
3666
+ },
3667
+ "readonly": true,
3655
3668
  "inheritedFrom": {
3656
- "name": "AnchoredRegion",
3657
- "module": "src/anchored-region/anchored-region.ts"
3669
+ "name": "ActionsMenu",
3670
+ "module": "src/actions-menu/actions-menu.ts"
3658
3671
  }
3659
3672
  },
3660
3673
  {
3661
3674
  "kind": "field",
3662
- "name": "getNextRegionDimension",
3663
- "privacy": "private",
3664
- "description": "Get region dimensions",
3675
+ "name": "rowData",
3676
+ "readonly": true,
3665
3677
  "inheritedFrom": {
3666
- "name": "AnchoredRegion",
3667
- "module": "src/anchored-region/anchored-region.ts"
3678
+ "name": "ActionsMenu",
3679
+ "module": "src/actions-menu/actions-menu.ts"
3668
3680
  }
3669
3681
  },
3670
3682
  {
3671
- "kind": "field",
3672
- "name": "startAutoUpdateEventListeners",
3673
- "privacy": "private",
3674
- "description": "starts event listeners that can trigger auto updating",
3683
+ "kind": "method",
3684
+ "name": "getLabel",
3685
+ "parameters": [
3686
+ {
3687
+ "name": "name",
3688
+ "type": {
3689
+ "text": "string | ((rowData: any) => string)"
3690
+ }
3691
+ }
3692
+ ],
3675
3693
  "inheritedFrom": {
3676
- "name": "AnchoredRegion",
3677
- "module": "src/anchored-region/anchored-region.ts"
3694
+ "name": "ActionsMenu",
3695
+ "module": "src/actions-menu/actions-menu.ts"
3678
3696
  }
3679
3697
  },
3680
3698
  {
3681
- "kind": "field",
3682
- "name": "stopAutoUpdateEventListeners",
3683
- "privacy": "private",
3684
- "description": "stops event listeners that can trigger auto updating",
3699
+ "kind": "method",
3700
+ "name": "getTemplate",
3701
+ "parameters": [
3702
+ {
3703
+ "name": "prefix",
3704
+ "type": {
3705
+ "text": "string"
3706
+ }
3707
+ }
3708
+ ],
3685
3709
  "inheritedFrom": {
3686
- "name": "AnchoredRegion",
3687
- "module": "src/anchored-region/anchored-region.ts"
3710
+ "name": "ActionsMenu",
3711
+ "module": "src/actions-menu/actions-menu.ts"
3688
3712
  }
3689
3713
  },
3690
3714
  {
@@ -3696,8 +3720,8 @@
3696
3720
  "privacy": "private",
3697
3721
  "default": "void 0",
3698
3722
  "inheritedFrom": {
3699
- "name": "AnchoredRegion",
3700
- "module": "src/anchored-region/anchored-region.ts"
3723
+ "name": "FoundationElement",
3724
+ "module": "src/foundation-element/foundation-element.ts"
3701
3725
  }
3702
3726
  },
3703
3727
  {
@@ -3709,8 +3733,8 @@
3709
3733
  "privacy": "public",
3710
3734
  "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3711
3735
  "inheritedFrom": {
3712
- "name": "AnchoredRegion",
3713
- "module": "src/anchored-region/anchored-region.ts"
3736
+ "name": "FoundationElement",
3737
+ "module": "src/foundation-element/foundation-element.ts"
3714
3738
  }
3715
3739
  },
3716
3740
  {
@@ -3722,8 +3746,8 @@
3722
3746
  "privacy": "public",
3723
3747
  "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
3724
3748
  "inheritedFrom": {
3725
- "name": "AnchoredRegion",
3726
- "module": "src/anchored-region/anchored-region.ts"
3749
+ "name": "FoundationElement",
3750
+ "module": "src/foundation-element/foundation-element.ts"
3727
3751
  }
3728
3752
  },
3729
3753
  {
@@ -3736,8 +3760,8 @@
3736
3760
  }
3737
3761
  },
3738
3762
  "inheritedFrom": {
3739
- "name": "AnchoredRegion",
3740
- "module": "src/anchored-region/anchored-region.ts"
3763
+ "name": "FoundationElement",
3764
+ "module": "src/foundation-element/foundation-element.ts"
3741
3765
  }
3742
3766
  },
3743
3767
  {
@@ -3749,8 +3773,8 @@
3749
3773
  "privacy": "public",
3750
3774
  "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
3751
3775
  "inheritedFrom": {
3752
- "name": "AnchoredRegion",
3753
- "module": "src/anchored-region/anchored-region.ts"
3776
+ "name": "FoundationElement",
3777
+ "module": "src/foundation-element/foundation-element.ts"
3754
3778
  }
3755
3779
  },
3756
3780
  {
@@ -3763,8 +3787,8 @@
3763
3787
  }
3764
3788
  },
3765
3789
  "inheritedFrom": {
3766
- "name": "AnchoredRegion",
3767
- "module": "src/anchored-region/anchored-region.ts"
3790
+ "name": "FoundationElement",
3791
+ "module": "src/foundation-element/foundation-element.ts"
3768
3792
  }
3769
3793
  },
3770
3794
  {
@@ -3794,57 +3818,41 @@
3794
3818
  ],
3795
3819
  "description": "Defines an element registry function with a set of element definition defaults.",
3796
3820
  "inheritedFrom": {
3797
- "name": "AnchoredRegion",
3798
- "module": "src/anchored-region/anchored-region.ts"
3799
- }
3800
- }
3801
- ],
3802
- "events": [
3803
- {
3804
- "description": "Fires a custom 'loaded' event when the region is loaded and visible",
3805
- "name": "loaded",
3806
- "inheritedFrom": {
3807
- "name": "AnchoredRegion",
3808
- "module": "src/anchored-region/anchored-region.ts"
3809
- }
3810
- },
3811
- {
3812
- "description": "Fires a custom 'positionchange' event when the position has changed",
3813
- "name": "positionchange",
3814
- "inheritedFrom": {
3815
- "name": "AnchoredRegion",
3816
- "module": "src/anchored-region/anchored-region.ts"
3821
+ "name": "FoundationElement",
3822
+ "module": "src/foundation-element/foundation-element.ts"
3817
3823
  }
3818
3824
  }
3819
3825
  ]
3820
3826
  },
3821
3827
  {
3822
3828
  "kind": "variable",
3823
- "name": "rapidAnchoredRegion"
3829
+ "name": "rapidActionsMenu",
3830
+ "description": "The Rapid Actions Menu",
3831
+ "privacy": "public"
3824
3832
  }
3825
3833
  ],
3826
3834
  "exports": [
3827
3835
  {
3828
3836
  "kind": "js",
3829
- "name": "AnchoredRegion",
3837
+ "name": "ActionsMenu",
3830
3838
  "declaration": {
3831
- "name": "AnchoredRegion",
3832
- "module": "src/anchored-region/anchored-region.ts"
3839
+ "name": "ActionsMenu",
3840
+ "module": "src/actions-menu/actions-menu.ts"
3833
3841
  }
3834
3842
  },
3835
3843
  {
3836
3844
  "kind": "js",
3837
- "name": "rapidAnchoredRegion",
3845
+ "name": "rapidActionsMenu",
3838
3846
  "declaration": {
3839
- "name": "rapidAnchoredRegion",
3840
- "module": "src/anchored-region/anchored-region.ts"
3847
+ "name": "rapidActionsMenu",
3848
+ "module": "src/actions-menu/actions-menu.ts"
3841
3849
  }
3842
3850
  }
3843
3851
  ]
3844
3852
  },
3845
3853
  {
3846
3854
  "kind": "javascript-module",
3847
- "path": "src/anchored-region/index.ts",
3855
+ "path": "src/actions-menu/index.ts",
3848
3856
  "declarations": [],
3849
3857
  "exports": [
3850
3858
  {
@@ -3852,15 +3860,7 @@
3852
3860
  "name": "*",
3853
3861
  "declaration": {
3854
3862
  "name": "*",
3855
- "package": "./anchored-region"
3856
- }
3857
- },
3858
- {
3859
- "kind": "js",
3860
- "name": "*",
3861
- "declaration": {
3862
- "name": "*",
3863
- "package": "./anchored-region.template"
3863
+ "package": "./actions-menu"
3864
3864
  }
3865
3865
  },
3866
3866
  {
@@ -3868,7 +3868,7 @@
3868
3868
  "name": "*",
3869
3869
  "declaration": {
3870
3870
  "name": "*",
3871
- "package": "./anchored-region.styles"
3871
+ "package": "./actions-menu.styles"
3872
3872
  }
3873
3873
  }
3874
3874
  ]