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