@genesislcap/foundation-zero 14.119.0 → 14.120.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/custom-elements.json +1480 -1480
  2. package/package.json +7 -7
@@ -810,164 +810,7 @@
810
810
  },
811
811
  {
812
812
  "kind": "javascript-module",
813
- "path": "src/accordion/accordion.stories.ts",
814
- "declarations": [
815
- {
816
- "kind": "variable",
817
- "name": "meta",
818
- "type": {
819
- "text": "Meta"
820
- },
821
- "default": "{\n title: 'Accordion',\n component: 'zero-accordion',\n}"
822
- },
823
- {
824
- "kind": "variable",
825
- "name": "Primary",
826
- "type": {
827
- "text": "StoryObj"
828
- },
829
- "default": "{\n render: () => html`\n <zero-accordion>\n <zero-accordion-item slot=\"item\" id=\"accordion-1\">\n Accordion one content\n <div slot=\"heading\">Accordion one</div>\n </zero-accordion-item>\n <zero-accordion-item slot=\"item\" id=\"accordion-2\">\n Accordion two content\n <div slot=\"heading\">Accordion two</div>\n </zero-accordion-item>\n <zero-accordion-item slot=\"item\" id=\"accordion-3\">\n Accordion three content\n <div slot=\"heading\">Accordion three</div>\n </zero-accordion-item>\n <zero-accordion-item slot=\"item\" id=\"accordion-4\">\n Accordion four content\n <div slot=\"heading\">Accordion four</div>\n </zero-accordion-item>\n </zero-accordion>\n `,\n}"
830
- }
831
- ],
832
- "exports": [
833
- {
834
- "kind": "js",
835
- "name": "default",
836
- "declaration": {
837
- "name": "meta",
838
- "module": "src/accordion/accordion.stories.ts"
839
- }
840
- },
841
- {
842
- "kind": "js",
843
- "name": "Primary",
844
- "declaration": {
845
- "name": "Primary",
846
- "module": "src/accordion/accordion.stories.ts"
847
- }
848
- }
849
- ]
850
- },
851
- {
852
- "kind": "javascript-module",
853
- "path": "src/accordion/accordion.styles.ts",
854
- "declarations": [
855
- {
856
- "kind": "function",
857
- "name": "zeroAccordionStyles",
858
- "return": {
859
- "type": {
860
- "text": "ElementStyles"
861
- }
862
- },
863
- "parameters": [
864
- {
865
- "name": "context",
866
- "type": {
867
- "text": "ElementDefinitionContext"
868
- }
869
- },
870
- {
871
- "name": "definition",
872
- "type": {
873
- "text": "FoundationElementDefinition"
874
- }
875
- }
876
- ]
877
- }
878
- ],
879
- "exports": [
880
- {
881
- "kind": "js",
882
- "name": "zeroAccordionStyles",
883
- "declaration": {
884
- "name": "zeroAccordionStyles",
885
- "module": "src/accordion/accordion.styles.ts"
886
- }
887
- }
888
- ]
889
- },
890
- {
891
- "kind": "javascript-module",
892
- "path": "src/accordion/accordion.template.ts",
893
- "declarations": [
894
- {
895
- "kind": "function",
896
- "name": "zeroAccordionTemplate",
897
- "return": {
898
- "type": {
899
- "text": "ViewTemplate<Accordion>"
900
- }
901
- },
902
- "parameters": [
903
- {
904
- "name": "context",
905
- "type": {
906
- "text": "ElementDefinitionContext"
907
- }
908
- },
909
- {
910
- "name": "definition",
911
- "type": {
912
- "text": "FoundationElementDefinition"
913
- }
914
- }
915
- ]
916
- }
917
- ],
918
- "exports": [
919
- {
920
- "kind": "js",
921
- "name": "zeroAccordionTemplate",
922
- "declaration": {
923
- "name": "zeroAccordionTemplate",
924
- "module": "src/accordion/accordion.template.ts"
925
- }
926
- }
927
- ]
928
- },
929
- {
930
- "kind": "javascript-module",
931
- "path": "src/accordion/accordion.ts",
932
- "declarations": [
933
- {
934
- "kind": "class",
935
- "description": "",
936
- "name": "Accordion",
937
- "superclass": {
938
- "name": "FoundationAccordion",
939
- "package": "@genesislcap/foundation-ui"
940
- },
941
- "tagName": "%%prefix%%-card",
942
- "customElement": true
943
- },
944
- {
945
- "kind": "variable",
946
- "name": "zeroAccordion"
947
- }
948
- ],
949
- "exports": [
950
- {
951
- "kind": "js",
952
- "name": "Accordion",
953
- "declaration": {
954
- "name": "Accordion",
955
- "module": "src/accordion/accordion.ts"
956
- }
957
- },
958
- {
959
- "kind": "js",
960
- "name": "zeroAccordion",
961
- "declaration": {
962
- "name": "zeroAccordion",
963
- "module": "src/accordion/accordion.ts"
964
- }
965
- }
966
- ]
967
- },
968
- {
969
- "kind": "javascript-module",
970
- "path": "src/accordion/index.ts",
813
+ "path": "src/_config/index.ts",
971
814
  "declarations": [],
972
815
  "exports": [
973
816
  {
@@ -975,7 +818,7 @@
975
818
  "name": "*",
976
819
  "declaration": {
977
820
  "name": "*",
978
- "package": "./accordion"
821
+ "package": "./styles"
979
822
  }
980
823
  },
981
824
  {
@@ -983,7 +826,7 @@
983
826
  "name": "*",
984
827
  "declaration": {
985
828
  "name": "*",
986
- "package": "./accordion.styles"
829
+ "package": "./tokens"
987
830
  }
988
831
  },
989
832
  {
@@ -991,7 +834,7 @@
991
834
  "name": "*",
992
835
  "declaration": {
993
836
  "name": "*",
994
- "package": "./accordion.template"
837
+ "package": "./values"
995
838
  }
996
839
  }
997
840
  ]
@@ -1358,7 +1201,7 @@
1358
1201
  },
1359
1202
  {
1360
1203
  "kind": "javascript-module",
1361
- "path": "src/actions-menu/actions-menu.stories.ts",
1204
+ "path": "src/accordion/accordion.stories.ts",
1362
1205
  "declarations": [
1363
1206
  {
1364
1207
  "kind": "variable",
@@ -1366,23 +1209,15 @@
1366
1209
  "type": {
1367
1210
  "text": "Meta"
1368
1211
  },
1369
- "default": "{\n title: 'Actions Menu',\n component: 'zero-actions-menu',\n}"
1370
- },
1371
- {
1372
- "kind": "variable",
1373
- "name": "Horizontal",
1374
- "type": {
1375
- "text": "StoryObj"
1376
- },
1377
- "default": "{\n args: {\n actions: zeroActions,\n actionsOpenerText: 'Horizontal Actions',\n },\n render: (args) => html`\n <div style=\"${horizontalStyle}\">\n <zero-actions-menu\n name=\"${args.actionsOpenerText}\"\n .actions=${args.actions}\n ></zero-actions-menu>\n </div>\n `,\n}"
1212
+ "default": "{\n title: 'Accordion',\n component: 'zero-accordion',\n}"
1378
1213
  },
1379
1214
  {
1380
1215
  "kind": "variable",
1381
- "name": "Vertical",
1216
+ "name": "Primary",
1382
1217
  "type": {
1383
1218
  "text": "StoryObj"
1384
1219
  },
1385
- "default": "{\n args: {\n actions: zeroActions,\n actionsOpenerText: 'Vertical Actions',\n },\n render: ({ actionsOpenerText, actions }) => html`\n <div style=\"${verticalStyle}\">\n <zero-actions-menu\n name=\"${actionsOpenerText}\"\n .actions=${actions}\n is-vertical\n ></zero-actions-menu>\n </div>\n `,\n}"
1220
+ "default": "{\n render: () => html`\n <zero-accordion>\n <zero-accordion-item slot=\"item\" id=\"accordion-1\">\n Accordion one content\n <div slot=\"heading\">Accordion one</div>\n </zero-accordion-item>\n <zero-accordion-item slot=\"item\" id=\"accordion-2\">\n Accordion two content\n <div slot=\"heading\">Accordion two</div>\n </zero-accordion-item>\n <zero-accordion-item slot=\"item\" id=\"accordion-3\">\n Accordion three content\n <div slot=\"heading\">Accordion three</div>\n </zero-accordion-item>\n <zero-accordion-item slot=\"item\" id=\"accordion-4\">\n Accordion four content\n <div slot=\"heading\">Accordion four</div>\n </zero-accordion-item>\n </zero-accordion>\n `,\n}"
1386
1221
  }
1387
1222
  ],
1388
1223
  "exports": [
@@ -1391,34 +1226,26 @@
1391
1226
  "name": "default",
1392
1227
  "declaration": {
1393
1228
  "name": "meta",
1394
- "module": "src/actions-menu/actions-menu.stories.ts"
1395
- }
1396
- },
1397
- {
1398
- "kind": "js",
1399
- "name": "Horizontal",
1400
- "declaration": {
1401
- "name": "Horizontal",
1402
- "module": "src/actions-menu/actions-menu.stories.ts"
1229
+ "module": "src/accordion/accordion.stories.ts"
1403
1230
  }
1404
1231
  },
1405
1232
  {
1406
1233
  "kind": "js",
1407
- "name": "Vertical",
1234
+ "name": "Primary",
1408
1235
  "declaration": {
1409
- "name": "Vertical",
1410
- "module": "src/actions-menu/actions-menu.stories.ts"
1236
+ "name": "Primary",
1237
+ "module": "src/accordion/accordion.stories.ts"
1411
1238
  }
1412
1239
  }
1413
1240
  ]
1414
1241
  },
1415
1242
  {
1416
1243
  "kind": "javascript-module",
1417
- "path": "src/actions-menu/actions-menu.styles.ts",
1244
+ "path": "src/accordion/accordion.styles.ts",
1418
1245
  "declarations": [
1419
1246
  {
1420
1247
  "kind": "function",
1421
- "name": "zeroActionsMenuStyles",
1248
+ "name": "zeroAccordionStyles",
1422
1249
  "return": {
1423
1250
  "type": {
1424
1251
  "text": "ElementStyles"
@@ -1443,63 +1270,267 @@
1443
1270
  "exports": [
1444
1271
  {
1445
1272
  "kind": "js",
1446
- "name": "zeroActionsMenuStyles",
1273
+ "name": "zeroAccordionStyles",
1447
1274
  "declaration": {
1448
- "name": "zeroActionsMenuStyles",
1449
- "module": "src/actions-menu/actions-menu.styles.ts"
1275
+ "name": "zeroAccordionStyles",
1276
+ "module": "src/accordion/accordion.styles.ts"
1450
1277
  }
1451
1278
  }
1452
1279
  ]
1453
1280
  },
1454
1281
  {
1455
1282
  "kind": "javascript-module",
1456
- "path": "src/actions-menu/actions-menu.ts",
1283
+ "path": "src/accordion/accordion.template.ts",
1457
1284
  "declarations": [
1458
1285
  {
1459
- "kind": "class",
1460
- "description": "",
1461
- "name": "ActionsMenu",
1462
- "superclass": {
1463
- "name": "FoundationActionsMenu",
1464
- "package": "@genesislcap/foundation-ui"
1286
+ "kind": "function",
1287
+ "name": "zeroAccordionTemplate",
1288
+ "return": {
1289
+ "type": {
1290
+ "text": "ViewTemplate<Accordion>"
1291
+ }
1465
1292
  },
1466
- "tagName": "%%prefix%%-actions-menu",
1467
- "customElement": true,
1468
- "attributes": [
1293
+ "parameters": [
1469
1294
  {
1470
- "name": "is-vertical",
1295
+ "name": "context",
1471
1296
  "type": {
1472
- "text": "boolean"
1473
- },
1474
- "default": "false",
1475
- "fieldName": "isVertical",
1476
- "inheritedFrom": {
1477
- "name": "ActionsMenu",
1478
- "module": "src/actions-menu/actions-menu.ts"
1297
+ "text": "ElementDefinitionContext"
1479
1298
  }
1480
1299
  },
1481
1300
  {
1482
- "name": "add-default-actions",
1301
+ "name": "definition",
1483
1302
  "type": {
1484
- "text": "boolean"
1485
- },
1486
- "default": "true",
1487
- "fieldName": "addDefaultActions",
1488
- "inheritedFrom": {
1489
- "name": "ActionsMenu",
1490
- "module": "src/actions-menu/actions-menu.ts"
1303
+ "text": "FoundationElementDefinition"
1491
1304
  }
1492
- },
1493
- {
1494
- "name": "auto-close-on-action",
1495
- "type": {
1496
- "text": "boolean"
1497
- },
1498
- "default": "true",
1499
- "fieldName": "autoCloseOnAction",
1500
- "inheritedFrom": {
1501
- "name": "ActionsMenu",
1502
- "module": "src/actions-menu/actions-menu.ts"
1305
+ }
1306
+ ]
1307
+ }
1308
+ ],
1309
+ "exports": [
1310
+ {
1311
+ "kind": "js",
1312
+ "name": "zeroAccordionTemplate",
1313
+ "declaration": {
1314
+ "name": "zeroAccordionTemplate",
1315
+ "module": "src/accordion/accordion.template.ts"
1316
+ }
1317
+ }
1318
+ ]
1319
+ },
1320
+ {
1321
+ "kind": "javascript-module",
1322
+ "path": "src/accordion/accordion.ts",
1323
+ "declarations": [
1324
+ {
1325
+ "kind": "class",
1326
+ "description": "",
1327
+ "name": "Accordion",
1328
+ "superclass": {
1329
+ "name": "FoundationAccordion",
1330
+ "package": "@genesislcap/foundation-ui"
1331
+ },
1332
+ "tagName": "%%prefix%%-card",
1333
+ "customElement": true
1334
+ },
1335
+ {
1336
+ "kind": "variable",
1337
+ "name": "zeroAccordion"
1338
+ }
1339
+ ],
1340
+ "exports": [
1341
+ {
1342
+ "kind": "js",
1343
+ "name": "Accordion",
1344
+ "declaration": {
1345
+ "name": "Accordion",
1346
+ "module": "src/accordion/accordion.ts"
1347
+ }
1348
+ },
1349
+ {
1350
+ "kind": "js",
1351
+ "name": "zeroAccordion",
1352
+ "declaration": {
1353
+ "name": "zeroAccordion",
1354
+ "module": "src/accordion/accordion.ts"
1355
+ }
1356
+ }
1357
+ ]
1358
+ },
1359
+ {
1360
+ "kind": "javascript-module",
1361
+ "path": "src/accordion/index.ts",
1362
+ "declarations": [],
1363
+ "exports": [
1364
+ {
1365
+ "kind": "js",
1366
+ "name": "*",
1367
+ "declaration": {
1368
+ "name": "*",
1369
+ "package": "./accordion"
1370
+ }
1371
+ },
1372
+ {
1373
+ "kind": "js",
1374
+ "name": "*",
1375
+ "declaration": {
1376
+ "name": "*",
1377
+ "package": "./accordion.styles"
1378
+ }
1379
+ },
1380
+ {
1381
+ "kind": "js",
1382
+ "name": "*",
1383
+ "declaration": {
1384
+ "name": "*",
1385
+ "package": "./accordion.template"
1386
+ }
1387
+ }
1388
+ ]
1389
+ },
1390
+ {
1391
+ "kind": "javascript-module",
1392
+ "path": "src/actions-menu/actions-menu.stories.ts",
1393
+ "declarations": [
1394
+ {
1395
+ "kind": "variable",
1396
+ "name": "meta",
1397
+ "type": {
1398
+ "text": "Meta"
1399
+ },
1400
+ "default": "{\n title: 'Actions Menu',\n component: 'zero-actions-menu',\n}"
1401
+ },
1402
+ {
1403
+ "kind": "variable",
1404
+ "name": "Horizontal",
1405
+ "type": {
1406
+ "text": "StoryObj"
1407
+ },
1408
+ "default": "{\n args: {\n actions: zeroActions,\n actionsOpenerText: 'Horizontal Actions',\n },\n render: (args) => html`\n <div style=\"${horizontalStyle}\">\n <zero-actions-menu\n name=\"${args.actionsOpenerText}\"\n .actions=${args.actions}\n ></zero-actions-menu>\n </div>\n `,\n}"
1409
+ },
1410
+ {
1411
+ "kind": "variable",
1412
+ "name": "Vertical",
1413
+ "type": {
1414
+ "text": "StoryObj"
1415
+ },
1416
+ "default": "{\n args: {\n actions: zeroActions,\n actionsOpenerText: 'Vertical Actions',\n },\n render: ({ actionsOpenerText, actions }) => html`\n <div style=\"${verticalStyle}\">\n <zero-actions-menu\n name=\"${actionsOpenerText}\"\n .actions=${actions}\n is-vertical\n ></zero-actions-menu>\n </div>\n `,\n}"
1417
+ }
1418
+ ],
1419
+ "exports": [
1420
+ {
1421
+ "kind": "js",
1422
+ "name": "default",
1423
+ "declaration": {
1424
+ "name": "meta",
1425
+ "module": "src/actions-menu/actions-menu.stories.ts"
1426
+ }
1427
+ },
1428
+ {
1429
+ "kind": "js",
1430
+ "name": "Horizontal",
1431
+ "declaration": {
1432
+ "name": "Horizontal",
1433
+ "module": "src/actions-menu/actions-menu.stories.ts"
1434
+ }
1435
+ },
1436
+ {
1437
+ "kind": "js",
1438
+ "name": "Vertical",
1439
+ "declaration": {
1440
+ "name": "Vertical",
1441
+ "module": "src/actions-menu/actions-menu.stories.ts"
1442
+ }
1443
+ }
1444
+ ]
1445
+ },
1446
+ {
1447
+ "kind": "javascript-module",
1448
+ "path": "src/actions-menu/actions-menu.styles.ts",
1449
+ "declarations": [
1450
+ {
1451
+ "kind": "function",
1452
+ "name": "zeroActionsMenuStyles",
1453
+ "return": {
1454
+ "type": {
1455
+ "text": "ElementStyles"
1456
+ }
1457
+ },
1458
+ "parameters": [
1459
+ {
1460
+ "name": "context",
1461
+ "type": {
1462
+ "text": "ElementDefinitionContext"
1463
+ }
1464
+ },
1465
+ {
1466
+ "name": "definition",
1467
+ "type": {
1468
+ "text": "FoundationElementDefinition"
1469
+ }
1470
+ }
1471
+ ]
1472
+ }
1473
+ ],
1474
+ "exports": [
1475
+ {
1476
+ "kind": "js",
1477
+ "name": "zeroActionsMenuStyles",
1478
+ "declaration": {
1479
+ "name": "zeroActionsMenuStyles",
1480
+ "module": "src/actions-menu/actions-menu.styles.ts"
1481
+ }
1482
+ }
1483
+ ]
1484
+ },
1485
+ {
1486
+ "kind": "javascript-module",
1487
+ "path": "src/actions-menu/actions-menu.ts",
1488
+ "declarations": [
1489
+ {
1490
+ "kind": "class",
1491
+ "description": "",
1492
+ "name": "ActionsMenu",
1493
+ "superclass": {
1494
+ "name": "FoundationActionsMenu",
1495
+ "package": "@genesislcap/foundation-ui"
1496
+ },
1497
+ "tagName": "%%prefix%%-actions-menu",
1498
+ "customElement": true,
1499
+ "attributes": [
1500
+ {
1501
+ "name": "is-vertical",
1502
+ "type": {
1503
+ "text": "boolean"
1504
+ },
1505
+ "default": "false",
1506
+ "fieldName": "isVertical",
1507
+ "inheritedFrom": {
1508
+ "name": "ActionsMenu",
1509
+ "module": "src/actions-menu/actions-menu.ts"
1510
+ }
1511
+ },
1512
+ {
1513
+ "name": "add-default-actions",
1514
+ "type": {
1515
+ "text": "boolean"
1516
+ },
1517
+ "default": "true",
1518
+ "fieldName": "addDefaultActions",
1519
+ "inheritedFrom": {
1520
+ "name": "ActionsMenu",
1521
+ "module": "src/actions-menu/actions-menu.ts"
1522
+ }
1523
+ },
1524
+ {
1525
+ "name": "auto-close-on-action",
1526
+ "type": {
1527
+ "text": "boolean"
1528
+ },
1529
+ "default": "true",
1530
+ "fieldName": "autoCloseOnAction",
1531
+ "inheritedFrom": {
1532
+ "name": "ActionsMenu",
1533
+ "module": "src/actions-menu/actions-menu.ts"
1503
1534
  }
1504
1535
  },
1505
1536
  {
@@ -1986,82 +2017,51 @@
1986
2017
  },
1987
2018
  {
1988
2019
  "kind": "javascript-module",
1989
- "path": "src/_config/index.ts",
1990
- "declarations": [],
2020
+ "path": "src/anchor/anchor.stories.ts",
2021
+ "declarations": [
2022
+ {
2023
+ "kind": "variable",
2024
+ "name": "meta",
2025
+ "type": {
2026
+ "text": "Meta"
2027
+ },
2028
+ "default": "{\n title: 'Anchor',\n component: 'zero-anchor',\n}"
2029
+ },
2030
+ {
2031
+ "kind": "variable",
2032
+ "name": "All",
2033
+ "type": {
2034
+ "text": "StoryObj"
2035
+ },
2036
+ "default": "{\n args: {\n anchorText: 'Rapid Anchor',\n appearances: ZeroAppearanceValues,\n },\n ...StylesMapperTemplate,\n}"
2037
+ }
2038
+ ],
1991
2039
  "exports": [
1992
2040
  {
1993
2041
  "kind": "js",
1994
- "name": "*",
2042
+ "name": "default",
1995
2043
  "declaration": {
1996
- "name": "*",
1997
- "package": "./styles"
2044
+ "name": "meta",
2045
+ "module": "src/anchor/anchor.stories.ts"
1998
2046
  }
1999
2047
  },
2000
2048
  {
2001
2049
  "kind": "js",
2002
- "name": "*",
2003
- "declaration": {
2004
- "name": "*",
2005
- "package": "./tokens"
2006
- }
2007
- },
2008
- {
2009
- "kind": "js",
2010
- "name": "*",
2011
- "declaration": {
2012
- "name": "*",
2013
- "package": "./values"
2014
- }
2015
- }
2016
- ]
2017
- },
2018
- {
2019
- "kind": "javascript-module",
2020
- "path": "src/anchored-region/anchored-region.stories.ts",
2021
- "declarations": [
2022
- {
2023
- "kind": "variable",
2024
- "name": "meta",
2025
- "type": {
2026
- "text": "Meta"
2027
- },
2028
- "default": "{\n title: 'Anchored Region',\n component: 'zero-anchored-region',\n}"
2029
- },
2030
- {
2031
- "kind": "variable",
2032
- "name": "Default",
2033
- "type": {
2034
- "text": "StoryObj"
2035
- },
2036
- "default": "{\n args: {\n anchorText: 'This will show above button',\n },\n ...StylesMapperTemplate,\n}"
2037
- }
2038
- ],
2039
- "exports": [
2040
- {
2041
- "kind": "js",
2042
- "name": "default",
2043
- "declaration": {
2044
- "name": "meta",
2045
- "module": "src/anchored-region/anchored-region.stories.ts"
2046
- }
2047
- },
2048
- {
2049
- "kind": "js",
2050
- "name": "Default",
2050
+ "name": "All",
2051
2051
  "declaration": {
2052
- "name": "Default",
2053
- "module": "src/anchored-region/anchored-region.stories.ts"
2052
+ "name": "All",
2053
+ "module": "src/anchor/anchor.stories.ts"
2054
2054
  }
2055
2055
  }
2056
2056
  ]
2057
2057
  },
2058
2058
  {
2059
2059
  "kind": "javascript-module",
2060
- "path": "src/anchored-region/anchored-region.styles.ts",
2060
+ "path": "src/anchor/anchor.styles.ts",
2061
2061
  "declarations": [
2062
2062
  {
2063
2063
  "kind": "function",
2064
- "name": "zeroAnchoredRegionStyles",
2064
+ "name": "zeroAnchorStyles",
2065
2065
  "return": {
2066
2066
  "type": {
2067
2067
  "text": "ElementStyles"
@@ -2086,24 +2086,24 @@
2086
2086
  "exports": [
2087
2087
  {
2088
2088
  "kind": "js",
2089
- "name": "zeroAnchoredRegionStyles",
2089
+ "name": "zeroAnchorStyles",
2090
2090
  "declaration": {
2091
- "name": "zeroAnchoredRegionStyles",
2092
- "module": "src/anchored-region/anchored-region.styles.ts"
2091
+ "name": "zeroAnchorStyles",
2092
+ "module": "src/anchor/anchor.styles.ts"
2093
2093
  }
2094
2094
  }
2095
2095
  ]
2096
2096
  },
2097
2097
  {
2098
2098
  "kind": "javascript-module",
2099
- "path": "src/anchored-region/anchored-region.template.ts",
2099
+ "path": "src/anchor/anchor.template.ts",
2100
2100
  "declarations": [
2101
2101
  {
2102
2102
  "kind": "function",
2103
- "name": "zeroAnchoredRegionTemplate",
2103
+ "name": "zeroAnchorTemplate",
2104
2104
  "return": {
2105
2105
  "type": {
2106
- "text": "ViewTemplate<AnchoredRegion>"
2106
+ "text": "ViewTemplate<Anchor>"
2107
2107
  }
2108
2108
  },
2109
2109
  "parameters": [
@@ -2125,636 +2125,772 @@
2125
2125
  "exports": [
2126
2126
  {
2127
2127
  "kind": "js",
2128
- "name": "zeroAnchoredRegionTemplate",
2128
+ "name": "zeroAnchorTemplate",
2129
2129
  "declaration": {
2130
- "name": "zeroAnchoredRegionTemplate",
2131
- "module": "src/anchored-region/anchored-region.template.ts"
2130
+ "name": "zeroAnchorTemplate",
2131
+ "module": "src/anchor/anchor.template.ts"
2132
2132
  }
2133
2133
  }
2134
2134
  ]
2135
2135
  },
2136
2136
  {
2137
2137
  "kind": "javascript-module",
2138
- "path": "src/anchored-region/anchored-region.ts",
2138
+ "path": "src/anchor/anchor.ts",
2139
2139
  "declarations": [
2140
2140
  {
2141
2141
  "kind": "class",
2142
2142
  "description": "",
2143
- "name": "AnchoredRegion",
2143
+ "name": "Anchor",
2144
2144
  "superclass": {
2145
- "name": "FoundationAnchoredRegion",
2145
+ "name": "FoundationAnchor",
2146
2146
  "package": "@genesislcap/foundation-ui"
2147
2147
  },
2148
- "tagName": "%%prefix%%-anchored-region",
2148
+ "tagName": "%%prefix%%-anchor",
2149
2149
  "customElement": true,
2150
2150
  "attributes": [
2151
2151
  {
2152
- "name": "anchor",
2152
+ "name": "download",
2153
2153
  "type": {
2154
2154
  "text": "string"
2155
2155
  },
2156
- "default": "\"\"",
2157
- "description": "The HTML ID of the anchor element this region is positioned relative to",
2158
- "fieldName": "anchor",
2156
+ "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.",
2157
+ "fieldName": "download",
2159
2158
  "inheritedFrom": {
2160
- "name": "AnchoredRegion",
2161
- "module": "src/anchored-region/anchored-region.ts"
2159
+ "name": "Anchor",
2160
+ "module": "src/anchor/anchor.ts"
2162
2161
  }
2163
2162
  },
2164
2163
  {
2165
- "name": "viewport",
2164
+ "name": "href",
2166
2165
  "type": {
2167
2166
  "text": "string"
2168
2167
  },
2169
- "default": "\"\"",
2170
- "description": "The HTML ID of the viewport element this region is positioned relative to",
2171
- "fieldName": "viewport",
2168
+ "description": "The URL the hyperlink references. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2169
+ "fieldName": "href",
2172
2170
  "inheritedFrom": {
2173
- "name": "AnchoredRegion",
2174
- "module": "src/anchored-region/anchored-region.ts"
2171
+ "name": "Anchor",
2172
+ "module": "src/anchor/anchor.ts"
2175
2173
  }
2176
2174
  },
2177
2175
  {
2178
- "name": "horizontal-positioning-mode",
2176
+ "name": "hreflang",
2179
2177
  "type": {
2180
- "text": "AxisPositioningMode"
2178
+ "text": "string"
2181
2179
  },
2182
- "default": "\"uncontrolled\"",
2183
- "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",
2184
- "fieldName": "horizontalPositioningMode",
2180
+ "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.",
2181
+ "fieldName": "hreflang",
2185
2182
  "inheritedFrom": {
2186
- "name": "AnchoredRegion",
2187
- "module": "src/anchored-region/anchored-region.ts"
2183
+ "name": "Anchor",
2184
+ "module": "src/anchor/anchor.ts"
2188
2185
  }
2189
2186
  },
2190
2187
  {
2191
- "name": "horizontal-default-position",
2188
+ "name": "ping",
2192
2189
  "type": {
2193
- "text": "HorizontalPosition"
2190
+ "text": "string"
2194
2191
  },
2195
- "default": "\"unset\"",
2196
- "description": "The default horizontal position of the region relative to the anchor element",
2197
- "fieldName": "horizontalDefaultPosition",
2192
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2193
+ "fieldName": "ping",
2198
2194
  "inheritedFrom": {
2199
- "name": "AnchoredRegion",
2200
- "module": "src/anchored-region/anchored-region.ts"
2195
+ "name": "Anchor",
2196
+ "module": "src/anchor/anchor.ts"
2201
2197
  }
2202
2198
  },
2203
2199
  {
2204
- "name": "horizontal-viewport-lock",
2200
+ "name": "referrerpolicy",
2205
2201
  "type": {
2206
- "text": "boolean"
2202
+ "text": "string"
2207
2203
  },
2208
- "default": "false",
2209
- "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis",
2210
- "fieldName": "horizontalViewportLock",
2204
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2205
+ "fieldName": "referrerpolicy",
2211
2206
  "inheritedFrom": {
2212
- "name": "AnchoredRegion",
2213
- "module": "src/anchored-region/anchored-region.ts"
2207
+ "name": "Anchor",
2208
+ "module": "src/anchor/anchor.ts"
2214
2209
  }
2215
2210
  },
2216
2211
  {
2217
- "name": "horizontal-inset",
2212
+ "name": "rel",
2218
2213
  "type": {
2219
- "text": "boolean"
2214
+ "text": "string"
2220
2215
  },
2221
- "default": "false",
2222
- "description": "Whether the region overlaps the anchor on the horizontal axis",
2223
- "fieldName": "horizontalInset",
2216
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2217
+ "fieldName": "rel",
2224
2218
  "inheritedFrom": {
2225
- "name": "AnchoredRegion",
2226
- "module": "src/anchored-region/anchored-region.ts"
2219
+ "name": "Anchor",
2220
+ "module": "src/anchor/anchor.ts"
2227
2221
  }
2228
2222
  },
2229
2223
  {
2230
- "name": "horizontal-threshold",
2224
+ "name": "target",
2231
2225
  "type": {
2232
- "text": "number"
2226
+ "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
2233
2227
  },
2234
- "description": "How narrow the space allocated to the default position has to be before the widest area\nis selected for layout",
2235
- "fieldName": "horizontalThreshold",
2228
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2229
+ "fieldName": "target",
2236
2230
  "inheritedFrom": {
2237
- "name": "AnchoredRegion",
2238
- "module": "src/anchored-region/anchored-region.ts"
2231
+ "name": "Anchor",
2232
+ "module": "src/anchor/anchor.ts"
2239
2233
  }
2240
2234
  },
2241
2235
  {
2242
- "name": "horizontal-scaling",
2236
+ "name": "type",
2243
2237
  "type": {
2244
- "text": "AxisScalingMode"
2238
+ "text": "string"
2245
2239
  },
2246
- "default": "\"content\"",
2247
- "description": "Defines how the width of the region is calculated",
2248
- "fieldName": "horizontalScaling",
2240
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2241
+ "fieldName": "type",
2249
2242
  "inheritedFrom": {
2250
- "name": "AnchoredRegion",
2251
- "module": "src/anchored-region/anchored-region.ts"
2243
+ "name": "Anchor",
2244
+ "module": "src/anchor/anchor.ts"
2252
2245
  }
2253
- },
2246
+ }
2247
+ ],
2248
+ "members": [
2254
2249
  {
2255
- "name": "vertical-positioning-mode",
2250
+ "kind": "field",
2251
+ "name": "download",
2256
2252
  "type": {
2257
- "text": "AxisPositioningMode"
2253
+ "text": "string"
2258
2254
  },
2259
- "default": "\"uncontrolled\"",
2260
- "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",
2261
- "fieldName": "verticalPositioningMode",
2255
+ "privacy": "public",
2256
+ "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.",
2262
2257
  "inheritedFrom": {
2263
- "name": "AnchoredRegion",
2264
- "module": "src/anchored-region/anchored-region.ts"
2258
+ "name": "Anchor",
2259
+ "module": "src/anchor/anchor.ts"
2265
2260
  }
2266
2261
  },
2267
2262
  {
2268
- "name": "vertical-default-position",
2263
+ "kind": "field",
2264
+ "name": "href",
2269
2265
  "type": {
2270
- "text": "VerticalPosition"
2266
+ "text": "string"
2271
2267
  },
2272
- "default": "\"unset\"",
2273
- "description": "The default vertical position of the region relative to the anchor element",
2274
- "fieldName": "verticalDefaultPosition",
2268
+ "privacy": "public",
2269
+ "description": "The URL the hyperlink references. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2275
2270
  "inheritedFrom": {
2276
- "name": "AnchoredRegion",
2277
- "module": "src/anchored-region/anchored-region.ts"
2271
+ "name": "Anchor",
2272
+ "module": "src/anchor/anchor.ts"
2278
2273
  }
2279
2274
  },
2280
2275
  {
2281
- "name": "vertical-viewport-lock",
2276
+ "kind": "field",
2277
+ "name": "hreflang",
2282
2278
  "type": {
2283
- "text": "boolean"
2279
+ "text": "string"
2284
2280
  },
2285
- "default": "false",
2286
- "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the vertical axis",
2287
- "fieldName": "verticalViewportLock",
2281
+ "privacy": "public",
2282
+ "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.",
2288
2283
  "inheritedFrom": {
2289
- "name": "AnchoredRegion",
2290
- "module": "src/anchored-region/anchored-region.ts"
2284
+ "name": "Anchor",
2285
+ "module": "src/anchor/anchor.ts"
2291
2286
  }
2292
2287
  },
2293
2288
  {
2294
- "name": "vertical-inset",
2289
+ "kind": "field",
2290
+ "name": "ping",
2295
2291
  "type": {
2296
- "text": "boolean"
2292
+ "text": "string"
2297
2293
  },
2298
- "default": "false",
2299
- "description": "Whether the region overlaps the anchor on the vertical axis",
2300
- "fieldName": "verticalInset",
2294
+ "privacy": "public",
2295
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2301
2296
  "inheritedFrom": {
2302
- "name": "AnchoredRegion",
2303
- "module": "src/anchored-region/anchored-region.ts"
2297
+ "name": "Anchor",
2298
+ "module": "src/anchor/anchor.ts"
2304
2299
  }
2305
2300
  },
2306
2301
  {
2307
- "name": "vertical-threshold",
2302
+ "kind": "field",
2303
+ "name": "referrerpolicy",
2308
2304
  "type": {
2309
- "text": "number"
2305
+ "text": "string"
2310
2306
  },
2311
- "description": "How short the space allocated to the default position has to be before the tallest area\nis selected for layout",
2312
- "fieldName": "verticalThreshold",
2307
+ "privacy": "public",
2308
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2313
2309
  "inheritedFrom": {
2314
- "name": "AnchoredRegion",
2315
- "module": "src/anchored-region/anchored-region.ts"
2310
+ "name": "Anchor",
2311
+ "module": "src/anchor/anchor.ts"
2316
2312
  }
2317
2313
  },
2318
- {
2319
- "name": "vertical-scaling",
2320
- "type": {
2321
- "text": "AxisScalingMode"
2322
- },
2323
- "default": "\"content\"",
2324
- "description": "Defines how the height of the region is calculated",
2325
- "fieldName": "verticalScaling",
2326
- "inheritedFrom": {
2327
- "name": "AnchoredRegion",
2328
- "module": "src/anchored-region/anchored-region.ts"
2329
- }
2330
- },
2331
- {
2332
- "name": "fixed-placement",
2333
- "type": {
2334
- "text": "boolean"
2335
- },
2336
- "default": "false",
2337
- "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,",
2338
- "fieldName": "fixedPlacement",
2339
- "inheritedFrom": {
2340
- "name": "AnchoredRegion",
2341
- "module": "src/anchored-region/anchored-region.ts"
2342
- }
2343
- },
2344
- {
2345
- "name": "auto-update-mode",
2346
- "type": {
2347
- "text": "AutoUpdateMode"
2348
- },
2349
- "default": "\"anchor\"",
2350
- "description": "Defines what triggers the anchored region to revaluate positioning",
2351
- "fieldName": "autoUpdateMode",
2352
- "inheritedFrom": {
2353
- "name": "AnchoredRegion",
2354
- "module": "src/anchored-region/anchored-region.ts"
2355
- }
2356
- }
2357
- ],
2358
- "members": [
2359
2314
  {
2360
2315
  "kind": "field",
2361
- "name": "anchor",
2316
+ "name": "rel",
2362
2317
  "type": {
2363
2318
  "text": "string"
2364
2319
  },
2365
2320
  "privacy": "public",
2366
- "default": "\"\"",
2367
- "description": "The HTML ID of the anchor element this region is positioned relative to",
2368
- "inheritedFrom": {
2369
- "name": "AnchoredRegion",
2370
- "module": "src/anchored-region/anchored-region.ts"
2371
- }
2372
- },
2373
- {
2374
- "kind": "method",
2375
- "name": "anchorChanged",
2376
- "privacy": "private",
2377
- "return": {
2378
- "type": {
2379
- "text": "void"
2380
- }
2381
- },
2321
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2382
2322
  "inheritedFrom": {
2383
- "name": "AnchoredRegion",
2384
- "module": "src/anchored-region/anchored-region.ts"
2323
+ "name": "Anchor",
2324
+ "module": "src/anchor/anchor.ts"
2385
2325
  }
2386
2326
  },
2387
2327
  {
2388
2328
  "kind": "field",
2389
- "name": "viewport",
2329
+ "name": "target",
2390
2330
  "type": {
2391
- "text": "string"
2331
+ "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
2392
2332
  },
2393
2333
  "privacy": "public",
2394
- "default": "\"\"",
2395
- "description": "The HTML ID of the viewport element this region is positioned relative to",
2396
- "inheritedFrom": {
2397
- "name": "AnchoredRegion",
2398
- "module": "src/anchored-region/anchored-region.ts"
2399
- }
2400
- },
2401
- {
2402
- "kind": "method",
2403
- "name": "viewportChanged",
2404
- "privacy": "private",
2405
- "return": {
2406
- "type": {
2407
- "text": "void"
2408
- }
2409
- },
2334
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2410
2335
  "inheritedFrom": {
2411
- "name": "AnchoredRegion",
2412
- "module": "src/anchored-region/anchored-region.ts"
2336
+ "name": "Anchor",
2337
+ "module": "src/anchor/anchor.ts"
2413
2338
  }
2414
2339
  },
2415
2340
  {
2416
2341
  "kind": "field",
2417
- "name": "horizontalPositioningMode",
2342
+ "name": "type",
2418
2343
  "type": {
2419
- "text": "AxisPositioningMode"
2344
+ "text": "string"
2420
2345
  },
2421
2346
  "privacy": "public",
2422
- "default": "\"uncontrolled\"",
2423
- "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",
2424
- "inheritedFrom": {
2425
- "name": "AnchoredRegion",
2426
- "module": "src/anchored-region/anchored-region.ts"
2427
- }
2428
- },
2429
- {
2430
- "kind": "method",
2431
- "name": "horizontalPositioningModeChanged",
2432
- "privacy": "private",
2433
- "return": {
2434
- "type": {
2435
- "text": "void"
2436
- }
2437
- },
2347
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2438
2348
  "inheritedFrom": {
2439
- "name": "AnchoredRegion",
2440
- "module": "src/anchored-region/anchored-region.ts"
2349
+ "name": "Anchor",
2350
+ "module": "src/anchor/anchor.ts"
2441
2351
  }
2442
2352
  },
2443
2353
  {
2444
2354
  "kind": "field",
2445
- "name": "horizontalDefaultPosition",
2355
+ "name": "control",
2446
2356
  "type": {
2447
- "text": "HorizontalPosition"
2357
+ "text": "HTMLAnchorElement | undefined"
2448
2358
  },
2449
2359
  "privacy": "public",
2450
- "default": "\"unset\"",
2451
- "description": "The default horizontal position of the region relative to the anchor element",
2360
+ "description": "References the root element",
2452
2361
  "inheritedFrom": {
2453
- "name": "AnchoredRegion",
2454
- "module": "src/anchored-region/anchored-region.ts"
2362
+ "name": "Anchor",
2363
+ "module": "src/anchor/anchor.ts"
2455
2364
  }
2456
2365
  },
2457
2366
  {
2458
- "kind": "method",
2459
- "name": "horizontalDefaultPositionChanged",
2367
+ "kind": "field",
2368
+ "name": "handleUnsupportedDelegatesFocus",
2460
2369
  "privacy": "private",
2461
- "return": {
2462
- "type": {
2463
- "text": "void"
2464
- }
2465
- },
2370
+ "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",
2466
2371
  "inheritedFrom": {
2467
- "name": "AnchoredRegion",
2468
- "module": "src/anchored-region/anchored-region.ts"
2372
+ "name": "Anchor",
2373
+ "module": "src/anchor/anchor.ts"
2469
2374
  }
2470
2375
  },
2471
2376
  {
2472
2377
  "kind": "field",
2473
- "name": "horizontalViewportLock",
2378
+ "name": "_presentation",
2474
2379
  "type": {
2475
- "text": "boolean"
2380
+ "text": "ComponentPresentation | null | undefined"
2476
2381
  },
2477
- "privacy": "public",
2478
- "default": "false",
2479
- "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis",
2480
- "inheritedFrom": {
2481
- "name": "AnchoredRegion",
2482
- "module": "src/anchored-region/anchored-region.ts"
2483
- }
2484
- },
2485
- {
2486
- "kind": "method",
2487
- "name": "horizontalViewportLockChanged",
2488
2382
  "privacy": "private",
2489
- "return": {
2490
- "type": {
2491
- "text": "void"
2492
- }
2493
- },
2383
+ "default": "void 0",
2494
2384
  "inheritedFrom": {
2495
- "name": "AnchoredRegion",
2496
- "module": "src/anchored-region/anchored-region.ts"
2385
+ "name": "Anchor",
2386
+ "module": "src/anchor/anchor.ts"
2497
2387
  }
2498
2388
  },
2499
2389
  {
2500
2390
  "kind": "field",
2501
- "name": "horizontalInset",
2391
+ "name": "$presentation",
2502
2392
  "type": {
2503
- "text": "boolean"
2393
+ "text": "ComponentPresentation | null"
2504
2394
  },
2505
2395
  "privacy": "public",
2506
- "default": "false",
2507
- "description": "Whether the region overlaps the anchor on the horizontal axis",
2508
- "inheritedFrom": {
2509
- "name": "AnchoredRegion",
2510
- "module": "src/anchored-region/anchored-region.ts"
2511
- }
2512
- },
2513
- {
2514
- "kind": "method",
2515
- "name": "horizontalInsetChanged",
2516
- "privacy": "private",
2517
- "return": {
2518
- "type": {
2519
- "text": "void"
2520
- }
2521
- },
2396
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2522
2397
  "inheritedFrom": {
2523
- "name": "AnchoredRegion",
2524
- "module": "src/anchored-region/anchored-region.ts"
2398
+ "name": "Anchor",
2399
+ "module": "src/anchor/anchor.ts"
2525
2400
  }
2526
2401
  },
2527
2402
  {
2528
2403
  "kind": "field",
2529
- "name": "horizontalThreshold",
2404
+ "name": "template",
2530
2405
  "type": {
2531
- "text": "number"
2406
+ "text": "ElementViewTemplate | void | null"
2532
2407
  },
2533
2408
  "privacy": "public",
2534
- "description": "How narrow the space allocated to the default position has to be before the widest area\nis selected for layout",
2409
+ "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.",
2535
2410
  "inheritedFrom": {
2536
- "name": "AnchoredRegion",
2537
- "module": "src/anchored-region/anchored-region.ts"
2411
+ "name": "Anchor",
2412
+ "module": "src/anchor/anchor.ts"
2538
2413
  }
2539
2414
  },
2540
2415
  {
2541
2416
  "kind": "method",
2542
- "name": "horizontalThresholdChanged",
2543
- "privacy": "private",
2417
+ "name": "templateChanged",
2418
+ "privacy": "protected",
2544
2419
  "return": {
2545
2420
  "type": {
2546
2421
  "text": "void"
2547
2422
  }
2548
2423
  },
2549
2424
  "inheritedFrom": {
2550
- "name": "AnchoredRegion",
2551
- "module": "src/anchored-region/anchored-region.ts"
2425
+ "name": "Anchor",
2426
+ "module": "src/anchor/anchor.ts"
2552
2427
  }
2553
2428
  },
2554
2429
  {
2555
2430
  "kind": "field",
2556
- "name": "horizontalScaling",
2431
+ "name": "styles",
2557
2432
  "type": {
2558
- "text": "AxisScalingMode"
2433
+ "text": "ElementStyles | void | null"
2559
2434
  },
2560
2435
  "privacy": "public",
2561
- "default": "\"content\"",
2562
- "description": "Defines how the width of the region is calculated",
2436
+ "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.",
2563
2437
  "inheritedFrom": {
2564
- "name": "AnchoredRegion",
2565
- "module": "src/anchored-region/anchored-region.ts"
2438
+ "name": "Anchor",
2439
+ "module": "src/anchor/anchor.ts"
2566
2440
  }
2567
2441
  },
2568
2442
  {
2569
2443
  "kind": "method",
2570
- "name": "horizontalScalingChanged",
2571
- "privacy": "private",
2444
+ "name": "stylesChanged",
2445
+ "privacy": "protected",
2572
2446
  "return": {
2573
2447
  "type": {
2574
2448
  "text": "void"
2575
2449
  }
2576
2450
  },
2577
2451
  "inheritedFrom": {
2578
- "name": "AnchoredRegion",
2579
- "module": "src/anchored-region/anchored-region.ts"
2580
- }
2581
- },
2582
- {
2583
- "kind": "field",
2584
- "name": "verticalPositioningMode",
2585
- "type": {
2586
- "text": "AxisPositioningMode"
2587
- },
2588
- "privacy": "public",
2589
- "default": "\"uncontrolled\"",
2590
- "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",
2591
- "inheritedFrom": {
2592
- "name": "AnchoredRegion",
2593
- "module": "src/anchored-region/anchored-region.ts"
2452
+ "name": "Anchor",
2453
+ "module": "src/anchor/anchor.ts"
2594
2454
  }
2595
2455
  },
2596
2456
  {
2597
2457
  "kind": "method",
2598
- "name": "verticalPositioningModeChanged",
2599
- "privacy": "private",
2458
+ "name": "compose",
2459
+ "privacy": "public",
2460
+ "static": true,
2600
2461
  "return": {
2601
2462
  "type": {
2602
- "text": "void"
2463
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2603
2464
  }
2604
2465
  },
2605
- "inheritedFrom": {
2606
- "name": "AnchoredRegion",
2607
- "module": "src/anchored-region/anchored-region.ts"
2608
- }
2609
- },
2610
- {
2611
- "kind": "field",
2612
- "name": "verticalDefaultPosition",
2613
- "type": {
2614
- "text": "VerticalPosition"
2466
+ "parameters": [
2467
+ {
2468
+ "name": "this",
2469
+ "type": {
2470
+ "text": "K"
2471
+ }
2472
+ },
2473
+ {
2474
+ "name": "elementDefinition",
2475
+ "type": {
2476
+ "text": "T"
2477
+ },
2478
+ "description": "The definition of the element to create the registry\nfunction for."
2479
+ }
2480
+ ],
2481
+ "description": "Defines an element registry function with a set of element definition defaults.",
2482
+ "inheritedFrom": {
2483
+ "name": "Anchor",
2484
+ "module": "src/anchor/anchor.ts"
2485
+ }
2486
+ }
2487
+ ]
2488
+ },
2489
+ {
2490
+ "kind": "variable",
2491
+ "name": "zeroAnchor"
2492
+ }
2493
+ ],
2494
+ "exports": [
2495
+ {
2496
+ "kind": "js",
2497
+ "name": "Anchor",
2498
+ "declaration": {
2499
+ "name": "Anchor",
2500
+ "module": "src/anchor/anchor.ts"
2501
+ }
2502
+ },
2503
+ {
2504
+ "kind": "js",
2505
+ "name": "zeroAnchor",
2506
+ "declaration": {
2507
+ "name": "zeroAnchor",
2508
+ "module": "src/anchor/anchor.ts"
2509
+ }
2510
+ }
2511
+ ]
2512
+ },
2513
+ {
2514
+ "kind": "javascript-module",
2515
+ "path": "src/anchor/index.ts",
2516
+ "declarations": [],
2517
+ "exports": [
2518
+ {
2519
+ "kind": "js",
2520
+ "name": "*",
2521
+ "declaration": {
2522
+ "name": "*",
2523
+ "package": "./anchor"
2524
+ }
2525
+ },
2526
+ {
2527
+ "kind": "js",
2528
+ "name": "*",
2529
+ "declaration": {
2530
+ "name": "*",
2531
+ "package": "./anchor.styles"
2532
+ }
2533
+ },
2534
+ {
2535
+ "kind": "js",
2536
+ "name": "*",
2537
+ "declaration": {
2538
+ "name": "*",
2539
+ "package": "./anchor.template"
2540
+ }
2541
+ }
2542
+ ]
2543
+ },
2544
+ {
2545
+ "kind": "javascript-module",
2546
+ "path": "src/anchored-region/anchored-region.stories.ts",
2547
+ "declarations": [
2548
+ {
2549
+ "kind": "variable",
2550
+ "name": "meta",
2551
+ "type": {
2552
+ "text": "Meta"
2553
+ },
2554
+ "default": "{\n title: 'Anchored Region',\n component: 'zero-anchored-region',\n}"
2555
+ },
2556
+ {
2557
+ "kind": "variable",
2558
+ "name": "Default",
2559
+ "type": {
2560
+ "text": "StoryObj"
2561
+ },
2562
+ "default": "{\n args: {\n anchorText: 'This will show above button',\n },\n ...StylesMapperTemplate,\n}"
2563
+ }
2564
+ ],
2565
+ "exports": [
2566
+ {
2567
+ "kind": "js",
2568
+ "name": "default",
2569
+ "declaration": {
2570
+ "name": "meta",
2571
+ "module": "src/anchored-region/anchored-region.stories.ts"
2572
+ }
2573
+ },
2574
+ {
2575
+ "kind": "js",
2576
+ "name": "Default",
2577
+ "declaration": {
2578
+ "name": "Default",
2579
+ "module": "src/anchored-region/anchored-region.stories.ts"
2580
+ }
2581
+ }
2582
+ ]
2583
+ },
2584
+ {
2585
+ "kind": "javascript-module",
2586
+ "path": "src/anchored-region/anchored-region.styles.ts",
2587
+ "declarations": [
2588
+ {
2589
+ "kind": "function",
2590
+ "name": "zeroAnchoredRegionStyles",
2591
+ "return": {
2592
+ "type": {
2593
+ "text": "ElementStyles"
2594
+ }
2595
+ },
2596
+ "parameters": [
2597
+ {
2598
+ "name": "context",
2599
+ "type": {
2600
+ "text": "ElementDefinitionContext"
2601
+ }
2602
+ },
2603
+ {
2604
+ "name": "definition",
2605
+ "type": {
2606
+ "text": "FoundationElementDefinition"
2607
+ }
2608
+ }
2609
+ ]
2610
+ }
2611
+ ],
2612
+ "exports": [
2613
+ {
2614
+ "kind": "js",
2615
+ "name": "zeroAnchoredRegionStyles",
2616
+ "declaration": {
2617
+ "name": "zeroAnchoredRegionStyles",
2618
+ "module": "src/anchored-region/anchored-region.styles.ts"
2619
+ }
2620
+ }
2621
+ ]
2622
+ },
2623
+ {
2624
+ "kind": "javascript-module",
2625
+ "path": "src/anchored-region/anchored-region.template.ts",
2626
+ "declarations": [
2627
+ {
2628
+ "kind": "function",
2629
+ "name": "zeroAnchoredRegionTemplate",
2630
+ "return": {
2631
+ "type": {
2632
+ "text": "ViewTemplate<AnchoredRegion>"
2633
+ }
2634
+ },
2635
+ "parameters": [
2636
+ {
2637
+ "name": "context",
2638
+ "type": {
2639
+ "text": "ElementDefinitionContext"
2640
+ }
2641
+ },
2642
+ {
2643
+ "name": "definition",
2644
+ "type": {
2645
+ "text": "FoundationElementDefinition"
2646
+ }
2647
+ }
2648
+ ]
2649
+ }
2650
+ ],
2651
+ "exports": [
2652
+ {
2653
+ "kind": "js",
2654
+ "name": "zeroAnchoredRegionTemplate",
2655
+ "declaration": {
2656
+ "name": "zeroAnchoredRegionTemplate",
2657
+ "module": "src/anchored-region/anchored-region.template.ts"
2658
+ }
2659
+ }
2660
+ ]
2661
+ },
2662
+ {
2663
+ "kind": "javascript-module",
2664
+ "path": "src/anchored-region/anchored-region.ts",
2665
+ "declarations": [
2666
+ {
2667
+ "kind": "class",
2668
+ "description": "",
2669
+ "name": "AnchoredRegion",
2670
+ "superclass": {
2671
+ "name": "FoundationAnchoredRegion",
2672
+ "package": "@genesislcap/foundation-ui"
2673
+ },
2674
+ "tagName": "%%prefix%%-anchored-region",
2675
+ "customElement": true,
2676
+ "attributes": [
2677
+ {
2678
+ "name": "anchor",
2679
+ "type": {
2680
+ "text": "string"
2615
2681
  },
2616
- "privacy": "public",
2617
- "default": "\"unset\"",
2618
- "description": "The default vertical position of the region relative to the anchor element",
2682
+ "default": "\"\"",
2683
+ "description": "The HTML ID of the anchor element this region is positioned relative to",
2684
+ "fieldName": "anchor",
2619
2685
  "inheritedFrom": {
2620
2686
  "name": "AnchoredRegion",
2621
2687
  "module": "src/anchored-region/anchored-region.ts"
2622
2688
  }
2623
2689
  },
2624
2690
  {
2625
- "kind": "method",
2626
- "name": "verticalDefaultPositionChanged",
2627
- "privacy": "private",
2628
- "return": {
2629
- "type": {
2630
- "text": "void"
2631
- }
2691
+ "name": "viewport",
2692
+ "type": {
2693
+ "text": "string"
2632
2694
  },
2695
+ "default": "\"\"",
2696
+ "description": "The HTML ID of the viewport element this region is positioned relative to",
2697
+ "fieldName": "viewport",
2633
2698
  "inheritedFrom": {
2634
2699
  "name": "AnchoredRegion",
2635
2700
  "module": "src/anchored-region/anchored-region.ts"
2636
2701
  }
2637
2702
  },
2638
2703
  {
2639
- "kind": "field",
2640
- "name": "verticalViewportLock",
2704
+ "name": "horizontal-positioning-mode",
2641
2705
  "type": {
2642
- "text": "boolean"
2706
+ "text": "AxisPositioningMode"
2643
2707
  },
2644
- "privacy": "public",
2645
- "default": "false",
2646
- "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the vertical axis",
2708
+ "default": "\"uncontrolled\"",
2709
+ "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",
2710
+ "fieldName": "horizontalPositioningMode",
2647
2711
  "inheritedFrom": {
2648
2712
  "name": "AnchoredRegion",
2649
2713
  "module": "src/anchored-region/anchored-region.ts"
2650
2714
  }
2651
2715
  },
2652
2716
  {
2653
- "kind": "method",
2654
- "name": "verticalViewportLockChanged",
2655
- "privacy": "private",
2656
- "return": {
2657
- "type": {
2658
- "text": "void"
2659
- }
2717
+ "name": "horizontal-default-position",
2718
+ "type": {
2719
+ "text": "HorizontalPosition"
2660
2720
  },
2721
+ "default": "\"unset\"",
2722
+ "description": "The default horizontal position of the region relative to the anchor element",
2723
+ "fieldName": "horizontalDefaultPosition",
2661
2724
  "inheritedFrom": {
2662
2725
  "name": "AnchoredRegion",
2663
2726
  "module": "src/anchored-region/anchored-region.ts"
2664
2727
  }
2665
2728
  },
2666
2729
  {
2667
- "kind": "field",
2668
- "name": "verticalInset",
2730
+ "name": "horizontal-viewport-lock",
2669
2731
  "type": {
2670
2732
  "text": "boolean"
2671
2733
  },
2672
- "privacy": "public",
2673
2734
  "default": "false",
2674
- "description": "Whether the region overlaps the anchor on the vertical axis",
2735
+ "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis",
2736
+ "fieldName": "horizontalViewportLock",
2675
2737
  "inheritedFrom": {
2676
2738
  "name": "AnchoredRegion",
2677
2739
  "module": "src/anchored-region/anchored-region.ts"
2678
2740
  }
2679
2741
  },
2680
2742
  {
2681
- "kind": "method",
2682
- "name": "verticalInsetChanged",
2683
- "privacy": "private",
2684
- "return": {
2685
- "type": {
2686
- "text": "void"
2687
- }
2743
+ "name": "horizontal-inset",
2744
+ "type": {
2745
+ "text": "boolean"
2688
2746
  },
2747
+ "default": "false",
2748
+ "description": "Whether the region overlaps the anchor on the horizontal axis",
2749
+ "fieldName": "horizontalInset",
2689
2750
  "inheritedFrom": {
2690
2751
  "name": "AnchoredRegion",
2691
2752
  "module": "src/anchored-region/anchored-region.ts"
2692
2753
  }
2693
2754
  },
2694
2755
  {
2695
- "kind": "field",
2696
- "name": "verticalThreshold",
2756
+ "name": "horizontal-threshold",
2697
2757
  "type": {
2698
2758
  "text": "number"
2699
2759
  },
2700
- "privacy": "public",
2701
- "description": "How short the space allocated to the default position has to be before the tallest area\nis selected for layout",
2760
+ "description": "How narrow the space allocated to the default position has to be before the widest area\nis selected for layout",
2761
+ "fieldName": "horizontalThreshold",
2702
2762
  "inheritedFrom": {
2703
2763
  "name": "AnchoredRegion",
2704
2764
  "module": "src/anchored-region/anchored-region.ts"
2705
2765
  }
2706
2766
  },
2707
2767
  {
2708
- "kind": "method",
2709
- "name": "verticalThresholdChanged",
2710
- "privacy": "private",
2711
- "return": {
2712
- "type": {
2713
- "text": "void"
2714
- }
2768
+ "name": "horizontal-scaling",
2769
+ "type": {
2770
+ "text": "AxisScalingMode"
2715
2771
  },
2772
+ "default": "\"content\"",
2773
+ "description": "Defines how the width of the region is calculated",
2774
+ "fieldName": "horizontalScaling",
2716
2775
  "inheritedFrom": {
2717
2776
  "name": "AnchoredRegion",
2718
2777
  "module": "src/anchored-region/anchored-region.ts"
2719
2778
  }
2720
2779
  },
2721
2780
  {
2722
- "kind": "field",
2723
- "name": "verticalScaling",
2781
+ "name": "vertical-positioning-mode",
2782
+ "type": {
2783
+ "text": "AxisPositioningMode"
2784
+ },
2785
+ "default": "\"uncontrolled\"",
2786
+ "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",
2787
+ "fieldName": "verticalPositioningMode",
2788
+ "inheritedFrom": {
2789
+ "name": "AnchoredRegion",
2790
+ "module": "src/anchored-region/anchored-region.ts"
2791
+ }
2792
+ },
2793
+ {
2794
+ "name": "vertical-default-position",
2795
+ "type": {
2796
+ "text": "VerticalPosition"
2797
+ },
2798
+ "default": "\"unset\"",
2799
+ "description": "The default vertical position of the region relative to the anchor element",
2800
+ "fieldName": "verticalDefaultPosition",
2801
+ "inheritedFrom": {
2802
+ "name": "AnchoredRegion",
2803
+ "module": "src/anchored-region/anchored-region.ts"
2804
+ }
2805
+ },
2806
+ {
2807
+ "name": "vertical-viewport-lock",
2808
+ "type": {
2809
+ "text": "boolean"
2810
+ },
2811
+ "default": "false",
2812
+ "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the vertical axis",
2813
+ "fieldName": "verticalViewportLock",
2814
+ "inheritedFrom": {
2815
+ "name": "AnchoredRegion",
2816
+ "module": "src/anchored-region/anchored-region.ts"
2817
+ }
2818
+ },
2819
+ {
2820
+ "name": "vertical-inset",
2821
+ "type": {
2822
+ "text": "boolean"
2823
+ },
2824
+ "default": "false",
2825
+ "description": "Whether the region overlaps the anchor on the vertical axis",
2826
+ "fieldName": "verticalInset",
2827
+ "inheritedFrom": {
2828
+ "name": "AnchoredRegion",
2829
+ "module": "src/anchored-region/anchored-region.ts"
2830
+ }
2831
+ },
2832
+ {
2833
+ "name": "vertical-threshold",
2834
+ "type": {
2835
+ "text": "number"
2836
+ },
2837
+ "description": "How short the space allocated to the default position has to be before the tallest area\nis selected for layout",
2838
+ "fieldName": "verticalThreshold",
2839
+ "inheritedFrom": {
2840
+ "name": "AnchoredRegion",
2841
+ "module": "src/anchored-region/anchored-region.ts"
2842
+ }
2843
+ },
2844
+ {
2845
+ "name": "vertical-scaling",
2724
2846
  "type": {
2725
2847
  "text": "AxisScalingMode"
2726
2848
  },
2727
- "privacy": "public",
2728
2849
  "default": "\"content\"",
2729
2850
  "description": "Defines how the height of the region is calculated",
2851
+ "fieldName": "verticalScaling",
2730
2852
  "inheritedFrom": {
2731
2853
  "name": "AnchoredRegion",
2732
2854
  "module": "src/anchored-region/anchored-region.ts"
2733
2855
  }
2734
2856
  },
2735
2857
  {
2736
- "kind": "method",
2737
- "name": "verticalScalingChanged",
2738
- "privacy": "private",
2739
- "return": {
2740
- "type": {
2741
- "text": "void"
2742
- }
2858
+ "name": "fixed-placement",
2859
+ "type": {
2860
+ "text": "boolean"
2743
2861
  },
2862
+ "default": "false",
2863
+ "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,",
2864
+ "fieldName": "fixedPlacement",
2744
2865
  "inheritedFrom": {
2745
2866
  "name": "AnchoredRegion",
2746
2867
  "module": "src/anchored-region/anchored-region.ts"
2747
2868
  }
2748
2869
  },
2870
+ {
2871
+ "name": "auto-update-mode",
2872
+ "type": {
2873
+ "text": "AutoUpdateMode"
2874
+ },
2875
+ "default": "\"anchor\"",
2876
+ "description": "Defines what triggers the anchored region to revaluate positioning",
2877
+ "fieldName": "autoUpdateMode",
2878
+ "inheritedFrom": {
2879
+ "name": "AnchoredRegion",
2880
+ "module": "src/anchored-region/anchored-region.ts"
2881
+ }
2882
+ }
2883
+ ],
2884
+ "members": [
2749
2885
  {
2750
2886
  "kind": "field",
2751
- "name": "fixedPlacement",
2887
+ "name": "anchor",
2752
2888
  "type": {
2753
- "text": "boolean"
2889
+ "text": "string"
2754
2890
  },
2755
2891
  "privacy": "public",
2756
- "default": "false",
2757
- "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,",
2892
+ "default": "\"\"",
2893
+ "description": "The HTML ID of the anchor element this region is positioned relative to",
2758
2894
  "inheritedFrom": {
2759
2895
  "name": "AnchoredRegion",
2760
2896
  "module": "src/anchored-region/anchored-region.ts"
@@ -2762,7 +2898,7 @@
2762
2898
  },
2763
2899
  {
2764
2900
  "kind": "method",
2765
- "name": "fixedPlacementChanged",
2901
+ "name": "anchorChanged",
2766
2902
  "privacy": "private",
2767
2903
  "return": {
2768
2904
  "type": {
@@ -2776,13 +2912,13 @@
2776
2912
  },
2777
2913
  {
2778
2914
  "kind": "field",
2779
- "name": "autoUpdateMode",
2915
+ "name": "viewport",
2780
2916
  "type": {
2781
- "text": "AutoUpdateMode"
2917
+ "text": "string"
2782
2918
  },
2783
2919
  "privacy": "public",
2784
- "default": "\"anchor\"",
2785
- "description": "Defines what triggers the anchored region to revaluate positioning",
2920
+ "default": "\"\"",
2921
+ "description": "The HTML ID of the viewport element this region is positioned relative to",
2786
2922
  "inheritedFrom": {
2787
2923
  "name": "AnchoredRegion",
2788
2924
  "module": "src/anchored-region/anchored-region.ts"
@@ -2790,27 +2926,13 @@
2790
2926
  },
2791
2927
  {
2792
2928
  "kind": "method",
2793
- "name": "autoUpdateModeChanged",
2929
+ "name": "viewportChanged",
2794
2930
  "privacy": "private",
2795
2931
  "return": {
2796
2932
  "type": {
2797
2933
  "text": "void"
2798
2934
  }
2799
2935
  },
2800
- "parameters": [
2801
- {
2802
- "name": "prevMode",
2803
- "type": {
2804
- "text": "AutoUpdateMode"
2805
- }
2806
- },
2807
- {
2808
- "name": "newMode",
2809
- "type": {
2810
- "text": "AutoUpdateMode"
2811
- }
2812
- }
2813
- ],
2814
2936
  "inheritedFrom": {
2815
2937
  "name": "AnchoredRegion",
2816
2938
  "module": "src/anchored-region/anchored-region.ts"
@@ -2818,13 +2940,13 @@
2818
2940
  },
2819
2941
  {
2820
2942
  "kind": "field",
2821
- "name": "anchorElement",
2943
+ "name": "horizontalPositioningMode",
2822
2944
  "type": {
2823
- "text": "HTMLElement | null"
2945
+ "text": "AxisPositioningMode"
2824
2946
  },
2825
2947
  "privacy": "public",
2826
- "default": "null",
2827
- "description": "The HTML element being used as the anchor",
2948
+ "default": "\"uncontrolled\"",
2949
+ "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",
2828
2950
  "inheritedFrom": {
2829
2951
  "name": "AnchoredRegion",
2830
2952
  "module": "src/anchored-region/anchored-region.ts"
@@ -2832,7 +2954,7 @@
2832
2954
  },
2833
2955
  {
2834
2956
  "kind": "method",
2835
- "name": "anchorElementChanged",
2957
+ "name": "horizontalPositioningModeChanged",
2836
2958
  "privacy": "private",
2837
2959
  "return": {
2838
2960
  "type": {
@@ -2846,13 +2968,13 @@
2846
2968
  },
2847
2969
  {
2848
2970
  "kind": "field",
2849
- "name": "viewportElement",
2971
+ "name": "horizontalDefaultPosition",
2850
2972
  "type": {
2851
- "text": "HTMLElement | null"
2973
+ "text": "HorizontalPosition"
2852
2974
  },
2853
2975
  "privacy": "public",
2854
- "default": "null",
2855
- "description": "The HTML element being used as the viewport",
2976
+ "default": "\"unset\"",
2977
+ "description": "The default horizontal position of the region relative to the anchor element",
2856
2978
  "inheritedFrom": {
2857
2979
  "name": "AnchoredRegion",
2858
2980
  "module": "src/anchored-region/anchored-region.ts"
@@ -2860,7 +2982,7 @@
2860
2982
  },
2861
2983
  {
2862
2984
  "kind": "method",
2863
- "name": "viewportElementChanged",
2985
+ "name": "horizontalDefaultPositionChanged",
2864
2986
  "privacy": "private",
2865
2987
  "return": {
2866
2988
  "type": {
@@ -2874,25 +2996,27 @@
2874
2996
  },
2875
2997
  {
2876
2998
  "kind": "field",
2877
- "name": "verticalPosition",
2999
+ "name": "horizontalViewportLock",
2878
3000
  "type": {
2879
- "text": "AnchoredRegionPositionLabel | undefined"
3001
+ "text": "boolean"
2880
3002
  },
2881
3003
  "privacy": "public",
2882
- "description": "indicates the current horizontal position of the region",
3004
+ "default": "false",
3005
+ "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis",
2883
3006
  "inheritedFrom": {
2884
3007
  "name": "AnchoredRegion",
2885
3008
  "module": "src/anchored-region/anchored-region.ts"
2886
3009
  }
2887
3010
  },
2888
3011
  {
2889
- "kind": "field",
2890
- "name": "horizontalPosition",
2891
- "type": {
2892
- "text": "AnchoredRegionPositionLabel | undefined"
3012
+ "kind": "method",
3013
+ "name": "horizontalViewportLockChanged",
3014
+ "privacy": "private",
3015
+ "return": {
3016
+ "type": {
3017
+ "text": "void"
3018
+ }
2893
3019
  },
2894
- "privacy": "public",
2895
- "description": "indicates the current vertical position of the region",
2896
3020
  "inheritedFrom": {
2897
3021
  "name": "AnchoredRegion",
2898
3022
  "module": "src/anchored-region/anchored-region.ts"
@@ -2900,37 +3024,27 @@
2900
3024
  },
2901
3025
  {
2902
3026
  "kind": "field",
2903
- "name": "translateX",
3027
+ "name": "horizontalInset",
2904
3028
  "type": {
2905
- "text": "number"
3029
+ "text": "boolean"
2906
3030
  },
2907
- "privacy": "private",
2908
- "description": "values to be applied to the component's transform on render",
3031
+ "privacy": "public",
3032
+ "default": "false",
3033
+ "description": "Whether the region overlaps the anchor on the horizontal axis",
2909
3034
  "inheritedFrom": {
2910
3035
  "name": "AnchoredRegion",
2911
3036
  "module": "src/anchored-region/anchored-region.ts"
2912
3037
  }
2913
3038
  },
2914
3039
  {
2915
- "kind": "field",
2916
- "name": "translateY",
2917
- "type": {
2918
- "text": "number"
2919
- },
3040
+ "kind": "method",
3041
+ "name": "horizontalInsetChanged",
2920
3042
  "privacy": "private",
2921
- "inheritedFrom": {
2922
- "name": "AnchoredRegion",
2923
- "module": "src/anchored-region/anchored-region.ts"
2924
- }
2925
- },
2926
- {
2927
- "kind": "field",
2928
- "name": "regionWidth",
2929
- "type": {
2930
- "text": "string"
3043
+ "return": {
3044
+ "type": {
3045
+ "text": "void"
3046
+ }
2931
3047
  },
2932
- "privacy": "private",
2933
- "description": "the span to be applied to the region on each axis",
2934
3048
  "inheritedFrom": {
2935
3049
  "name": "AnchoredRegion",
2936
3050
  "module": "src/anchored-region/anchored-region.ts"
@@ -2938,24 +3052,26 @@
2938
3052
  },
2939
3053
  {
2940
3054
  "kind": "field",
2941
- "name": "regionHeight",
3055
+ "name": "horizontalThreshold",
2942
3056
  "type": {
2943
- "text": "string"
3057
+ "text": "number"
2944
3058
  },
2945
- "privacy": "private",
3059
+ "privacy": "public",
3060
+ "description": "How narrow the space allocated to the default position has to be before the widest area\nis selected for layout",
2946
3061
  "inheritedFrom": {
2947
3062
  "name": "AnchoredRegion",
2948
3063
  "module": "src/anchored-region/anchored-region.ts"
2949
3064
  }
2950
3065
  },
2951
3066
  {
2952
- "kind": "field",
2953
- "name": "resizeDetector",
2954
- "type": {
2955
- "text": "ResizeObserverClassDefinition | null"
2956
- },
3067
+ "kind": "method",
3068
+ "name": "horizontalThresholdChanged",
2957
3069
  "privacy": "private",
2958
- "default": "null",
3070
+ "return": {
3071
+ "type": {
3072
+ "text": "void"
3073
+ }
3074
+ },
2959
3075
  "inheritedFrom": {
2960
3076
  "name": "AnchoredRegion",
2961
3077
  "module": "src/anchored-region/anchored-region.ts"
@@ -2963,23 +3079,27 @@
2963
3079
  },
2964
3080
  {
2965
3081
  "kind": "field",
2966
- "name": "viewportRect",
3082
+ "name": "horizontalScaling",
2967
3083
  "type": {
2968
- "text": "ClientRect | DOMRect | undefined"
3084
+ "text": "AxisScalingMode"
2969
3085
  },
2970
- "privacy": "private",
3086
+ "privacy": "public",
3087
+ "default": "\"content\"",
3088
+ "description": "Defines how the width of the region is calculated",
2971
3089
  "inheritedFrom": {
2972
3090
  "name": "AnchoredRegion",
2973
3091
  "module": "src/anchored-region/anchored-region.ts"
2974
3092
  }
2975
3093
  },
2976
3094
  {
2977
- "kind": "field",
2978
- "name": "anchorRect",
2979
- "type": {
2980
- "text": "ClientRect | DOMRect | undefined"
2981
- },
3095
+ "kind": "method",
3096
+ "name": "horizontalScalingChanged",
2982
3097
  "privacy": "private",
3098
+ "return": {
3099
+ "type": {
3100
+ "text": "void"
3101
+ }
3102
+ },
2983
3103
  "inheritedFrom": {
2984
3104
  "name": "AnchoredRegion",
2985
3105
  "module": "src/anchored-region/anchored-region.ts"
@@ -2987,25 +3107,27 @@
2987
3107
  },
2988
3108
  {
2989
3109
  "kind": "field",
2990
- "name": "regionRect",
3110
+ "name": "verticalPositioningMode",
2991
3111
  "type": {
2992
- "text": "ClientRect | DOMRect | undefined"
3112
+ "text": "AxisPositioningMode"
2993
3113
  },
2994
- "privacy": "private",
3114
+ "privacy": "public",
3115
+ "default": "\"uncontrolled\"",
3116
+ "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",
2995
3117
  "inheritedFrom": {
2996
3118
  "name": "AnchoredRegion",
2997
3119
  "module": "src/anchored-region/anchored-region.ts"
2998
3120
  }
2999
3121
  },
3000
3122
  {
3001
- "kind": "field",
3002
- "name": "baseHorizontalOffset",
3003
- "type": {
3004
- "text": "number"
3005
- },
3123
+ "kind": "method",
3124
+ "name": "verticalPositioningModeChanged",
3006
3125
  "privacy": "private",
3007
- "default": "0",
3008
- "description": "base offsets between the positioner's base position and the anchor's",
3126
+ "return": {
3127
+ "type": {
3128
+ "text": "void"
3129
+ }
3130
+ },
3009
3131
  "inheritedFrom": {
3010
3132
  "name": "AnchoredRegion",
3011
3133
  "module": "src/anchored-region/anchored-region.ts"
@@ -3013,25 +3135,27 @@
3013
3135
  },
3014
3136
  {
3015
3137
  "kind": "field",
3016
- "name": "baseVerticalOffset",
3138
+ "name": "verticalDefaultPosition",
3017
3139
  "type": {
3018
- "text": "number"
3140
+ "text": "VerticalPosition"
3019
3141
  },
3020
- "privacy": "private",
3021
- "default": "0",
3142
+ "privacy": "public",
3143
+ "default": "\"unset\"",
3144
+ "description": "The default vertical position of the region relative to the anchor element",
3022
3145
  "inheritedFrom": {
3023
3146
  "name": "AnchoredRegion",
3024
3147
  "module": "src/anchored-region/anchored-region.ts"
3025
3148
  }
3026
3149
  },
3027
3150
  {
3028
- "kind": "field",
3029
- "name": "pendingPositioningUpdate",
3030
- "type": {
3031
- "text": "boolean"
3032
- },
3151
+ "kind": "method",
3152
+ "name": "verticalDefaultPositionChanged",
3033
3153
  "privacy": "private",
3034
- "default": "false",
3154
+ "return": {
3155
+ "type": {
3156
+ "text": "void"
3157
+ }
3158
+ },
3035
3159
  "inheritedFrom": {
3036
3160
  "name": "AnchoredRegion",
3037
3161
  "module": "src/anchored-region/anchored-region.ts"
@@ -3039,24 +3163,27 @@
3039
3163
  },
3040
3164
  {
3041
3165
  "kind": "field",
3042
- "name": "pendingReset",
3166
+ "name": "verticalViewportLock",
3043
3167
  "type": {
3044
3168
  "text": "boolean"
3045
3169
  },
3046
- "privacy": "private",
3170
+ "privacy": "public",
3047
3171
  "default": "false",
3172
+ "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the vertical axis",
3048
3173
  "inheritedFrom": {
3049
3174
  "name": "AnchoredRegion",
3050
3175
  "module": "src/anchored-region/anchored-region.ts"
3051
3176
  }
3052
3177
  },
3053
3178
  {
3054
- "kind": "field",
3055
- "name": "currentDirection",
3056
- "type": {
3057
- "text": "Direction"
3058
- },
3179
+ "kind": "method",
3180
+ "name": "verticalViewportLockChanged",
3059
3181
  "privacy": "private",
3182
+ "return": {
3183
+ "type": {
3184
+ "text": "void"
3185
+ }
3186
+ },
3060
3187
  "inheritedFrom": {
3061
3188
  "name": "AnchoredRegion",
3062
3189
  "module": "src/anchored-region/anchored-region.ts"
@@ -3064,25 +3191,27 @@
3064
3191
  },
3065
3192
  {
3066
3193
  "kind": "field",
3067
- "name": "regionVisible",
3194
+ "name": "verticalInset",
3068
3195
  "type": {
3069
3196
  "text": "boolean"
3070
3197
  },
3071
- "privacy": "private",
3198
+ "privacy": "public",
3072
3199
  "default": "false",
3200
+ "description": "Whether the region overlaps the anchor on the vertical axis",
3073
3201
  "inheritedFrom": {
3074
3202
  "name": "AnchoredRegion",
3075
3203
  "module": "src/anchored-region/anchored-region.ts"
3076
3204
  }
3077
3205
  },
3078
3206
  {
3079
- "kind": "field",
3080
- "name": "forceUpdate",
3081
- "type": {
3082
- "text": "boolean"
3083
- },
3207
+ "kind": "method",
3208
+ "name": "verticalInsetChanged",
3084
3209
  "privacy": "private",
3085
- "default": "false",
3210
+ "return": {
3211
+ "type": {
3212
+ "text": "void"
3213
+ }
3214
+ },
3086
3215
  "inheritedFrom": {
3087
3216
  "name": "AnchoredRegion",
3088
3217
  "module": "src/anchored-region/anchored-region.ts"
@@ -3090,26 +3219,26 @@
3090
3219
  },
3091
3220
  {
3092
3221
  "kind": "field",
3093
- "name": "updateThreshold",
3222
+ "name": "verticalThreshold",
3094
3223
  "type": {
3095
3224
  "text": "number"
3096
3225
  },
3097
- "privacy": "private",
3098
- "default": "0.5",
3226
+ "privacy": "public",
3227
+ "description": "How short the space allocated to the default position has to be before the tallest area\nis selected for layout",
3099
3228
  "inheritedFrom": {
3100
3229
  "name": "AnchoredRegion",
3101
3230
  "module": "src/anchored-region/anchored-region.ts"
3102
3231
  }
3103
3232
  },
3104
3233
  {
3105
- "kind": "field",
3106
- "name": "intersectionService",
3107
- "type": {
3108
- "text": "IntersectionService"
3109
- },
3234
+ "kind": "method",
3235
+ "name": "verticalThresholdChanged",
3110
3236
  "privacy": "private",
3111
- "static": true,
3112
- "default": "new IntersectionService()",
3237
+ "return": {
3238
+ "type": {
3239
+ "text": "void"
3240
+ }
3241
+ },
3113
3242
  "inheritedFrom": {
3114
3243
  "name": "AnchoredRegion",
3115
3244
  "module": "src/anchored-region/anchored-region.ts"
@@ -3117,9 +3246,13 @@
3117
3246
  },
3118
3247
  {
3119
3248
  "kind": "field",
3120
- "name": "update",
3249
+ "name": "verticalScaling",
3250
+ "type": {
3251
+ "text": "AxisScalingMode"
3252
+ },
3121
3253
  "privacy": "public",
3122
- "description": "update position",
3254
+ "default": "\"content\"",
3255
+ "description": "Defines how the height of the region is calculated",
3123
3256
  "inheritedFrom": {
3124
3257
  "name": "AnchoredRegion",
3125
3258
  "module": "src/anchored-region/anchored-region.ts"
@@ -3127,14 +3260,27 @@
3127
3260
  },
3128
3261
  {
3129
3262
  "kind": "method",
3130
- "name": "disconnectResizeDetector",
3263
+ "name": "verticalScalingChanged",
3131
3264
  "privacy": "private",
3132
3265
  "return": {
3133
3266
  "type": {
3134
3267
  "text": "void"
3135
3268
  }
3136
3269
  },
3137
- "description": "destroys the instance's resize observer",
3270
+ "inheritedFrom": {
3271
+ "name": "AnchoredRegion",
3272
+ "module": "src/anchored-region/anchored-region.ts"
3273
+ }
3274
+ },
3275
+ {
3276
+ "kind": "field",
3277
+ "name": "fixedPlacement",
3278
+ "type": {
3279
+ "text": "boolean"
3280
+ },
3281
+ "privacy": "public",
3282
+ "default": "false",
3283
+ "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,",
3138
3284
  "inheritedFrom": {
3139
3285
  "name": "AnchoredRegion",
3140
3286
  "module": "src/anchored-region/anchored-region.ts"
@@ -3142,29 +3288,27 @@
3142
3288
  },
3143
3289
  {
3144
3290
  "kind": "method",
3145
- "name": "initializeResizeDetector",
3291
+ "name": "fixedPlacementChanged",
3146
3292
  "privacy": "private",
3147
3293
  "return": {
3148
3294
  "type": {
3149
3295
  "text": "void"
3150
3296
  }
3151
3297
  },
3152
- "description": "initializes the instance's resize observer",
3153
3298
  "inheritedFrom": {
3154
3299
  "name": "AnchoredRegion",
3155
3300
  "module": "src/anchored-region/anchored-region.ts"
3156
3301
  }
3157
3302
  },
3158
3303
  {
3159
- "kind": "method",
3160
- "name": "updateForAttributeChange",
3161
- "privacy": "private",
3162
- "return": {
3163
- "type": {
3164
- "text": "void"
3165
- }
3304
+ "kind": "field",
3305
+ "name": "autoUpdateMode",
3306
+ "type": {
3307
+ "text": "AutoUpdateMode"
3166
3308
  },
3167
- "description": "react to attribute changes that don't require a reset",
3309
+ "privacy": "public",
3310
+ "default": "\"anchor\"",
3311
+ "description": "Defines what triggers the anchored region to revaluate positioning",
3168
3312
  "inheritedFrom": {
3169
3313
  "name": "AnchoredRegion",
3170
3314
  "module": "src/anchored-region/anchored-region.ts"
@@ -3172,29 +3316,41 @@
3172
3316
  },
3173
3317
  {
3174
3318
  "kind": "method",
3175
- "name": "initialize",
3319
+ "name": "autoUpdateModeChanged",
3176
3320
  "privacy": "private",
3177
3321
  "return": {
3178
3322
  "type": {
3179
3323
  "text": "void"
3180
3324
  }
3181
3325
  },
3182
- "description": "fully initializes the component",
3326
+ "parameters": [
3327
+ {
3328
+ "name": "prevMode",
3329
+ "type": {
3330
+ "text": "AutoUpdateMode"
3331
+ }
3332
+ },
3333
+ {
3334
+ "name": "newMode",
3335
+ "type": {
3336
+ "text": "AutoUpdateMode"
3337
+ }
3338
+ }
3339
+ ],
3183
3340
  "inheritedFrom": {
3184
3341
  "name": "AnchoredRegion",
3185
3342
  "module": "src/anchored-region/anchored-region.ts"
3186
3343
  }
3187
3344
  },
3188
3345
  {
3189
- "kind": "method",
3190
- "name": "requestReset",
3191
- "privacy": "private",
3192
- "return": {
3193
- "type": {
3194
- "text": "void"
3195
- }
3346
+ "kind": "field",
3347
+ "name": "anchorElement",
3348
+ "type": {
3349
+ "text": "HTMLElement | null"
3196
3350
  },
3197
- "description": "Request a reset if there are currently no open requests",
3351
+ "privacy": "public",
3352
+ "default": "null",
3353
+ "description": "The HTML element being used as the anchor",
3198
3354
  "inheritedFrom": {
3199
3355
  "name": "AnchoredRegion",
3200
3356
  "module": "src/anchored-region/anchored-region.ts"
@@ -3202,14 +3358,13 @@
3202
3358
  },
3203
3359
  {
3204
3360
  "kind": "method",
3205
- "name": "setInitialState",
3361
+ "name": "anchorElementChanged",
3206
3362
  "privacy": "private",
3207
3363
  "return": {
3208
3364
  "type": {
3209
3365
  "text": "void"
3210
3366
  }
3211
3367
  },
3212
- "description": "sets the starting configuration for component internal values",
3213
3368
  "inheritedFrom": {
3214
3369
  "name": "AnchoredRegion",
3215
3370
  "module": "src/anchored-region/anchored-region.ts"
@@ -3217,19 +3372,27 @@
3217
3372
  },
3218
3373
  {
3219
3374
  "kind": "field",
3220
- "name": "startObservers",
3221
- "privacy": "private",
3222
- "description": "starts observers",
3375
+ "name": "viewportElement",
3376
+ "type": {
3377
+ "text": "HTMLElement | null"
3378
+ },
3379
+ "privacy": "public",
3380
+ "default": "null",
3381
+ "description": "The HTML element being used as the viewport",
3223
3382
  "inheritedFrom": {
3224
3383
  "name": "AnchoredRegion",
3225
3384
  "module": "src/anchored-region/anchored-region.ts"
3226
3385
  }
3227
3386
  },
3228
3387
  {
3229
- "kind": "field",
3230
- "name": "requestPositionUpdates",
3388
+ "kind": "method",
3389
+ "name": "viewportElementChanged",
3231
3390
  "privacy": "private",
3232
- "description": "get position updates",
3391
+ "return": {
3392
+ "type": {
3393
+ "text": "void"
3394
+ }
3395
+ },
3233
3396
  "inheritedFrom": {
3234
3397
  "name": "AnchoredRegion",
3235
3398
  "module": "src/anchored-region/anchored-region.ts"
@@ -3237,9 +3400,12 @@
3237
3400
  },
3238
3401
  {
3239
3402
  "kind": "field",
3240
- "name": "stopObservers",
3241
- "privacy": "private",
3242
- "description": "stops observers",
3403
+ "name": "verticalPosition",
3404
+ "type": {
3405
+ "text": "AnchoredRegionPositionLabel | undefined"
3406
+ },
3407
+ "privacy": "public",
3408
+ "description": "indicates the current horizontal position of the region",
3243
3409
  "inheritedFrom": {
3244
3410
  "name": "AnchoredRegion",
3245
3411
  "module": "src/anchored-region/anchored-region.ts"
@@ -3247,9 +3413,12 @@
3247
3413
  },
3248
3414
  {
3249
3415
  "kind": "field",
3250
- "name": "getViewport",
3251
- "privacy": "private",
3252
- "description": "Gets the viewport element by id, or defaults to document root",
3416
+ "name": "horizontalPosition",
3417
+ "type": {
3418
+ "text": "AnchoredRegionPositionLabel | undefined"
3419
+ },
3420
+ "privacy": "public",
3421
+ "description": "indicates the current vertical position of the region",
3253
3422
  "inheritedFrom": {
3254
3423
  "name": "AnchoredRegion",
3255
3424
  "module": "src/anchored-region/anchored-region.ts"
@@ -3257,9 +3426,12 @@
3257
3426
  },
3258
3427
  {
3259
3428
  "kind": "field",
3260
- "name": "getAnchor",
3429
+ "name": "translateX",
3430
+ "type": {
3431
+ "text": "number"
3432
+ },
3261
3433
  "privacy": "private",
3262
- "description": "Gets the anchor element by id",
3434
+ "description": "values to be applied to the component's transform on render",
3263
3435
  "inheritedFrom": {
3264
3436
  "name": "AnchoredRegion",
3265
3437
  "module": "src/anchored-region/anchored-region.ts"
@@ -3267,9 +3439,11 @@
3267
3439
  },
3268
3440
  {
3269
3441
  "kind": "field",
3270
- "name": "handleIntersection",
3442
+ "name": "translateY",
3443
+ "type": {
3444
+ "text": "number"
3445
+ },
3271
3446
  "privacy": "private",
3272
- "description": "Handle intersections",
3273
3447
  "inheritedFrom": {
3274
3448
  "name": "AnchoredRegion",
3275
3449
  "module": "src/anchored-region/anchored-region.ts"
@@ -3277,9 +3451,12 @@
3277
3451
  },
3278
3452
  {
3279
3453
  "kind": "field",
3280
- "name": "applyIntersectionEntries",
3454
+ "name": "regionWidth",
3455
+ "type": {
3456
+ "text": "string"
3457
+ },
3281
3458
  "privacy": "private",
3282
- "description": "iterate through intersection entries and apply data",
3459
+ "description": "the span to be applied to the region on each axis",
3283
3460
  "inheritedFrom": {
3284
3461
  "name": "AnchoredRegion",
3285
3462
  "module": "src/anchored-region/anchored-region.ts"
@@ -3287,9 +3464,11 @@
3287
3464
  },
3288
3465
  {
3289
3466
  "kind": "field",
3290
- "name": "updateRegionOffset",
3467
+ "name": "regionHeight",
3468
+ "type": {
3469
+ "text": "string"
3470
+ },
3291
3471
  "privacy": "private",
3292
- "description": "Update the offset values",
3293
3472
  "inheritedFrom": {
3294
3473
  "name": "AnchoredRegion",
3295
3474
  "module": "src/anchored-region/anchored-region.ts"
@@ -3297,9 +3476,12 @@
3297
3476
  },
3298
3477
  {
3299
3478
  "kind": "field",
3300
- "name": "isRectDifferent",
3479
+ "name": "resizeDetector",
3480
+ "type": {
3481
+ "text": "ResizeObserverClassDefinition | null"
3482
+ },
3301
3483
  "privacy": "private",
3302
- "description": "compare rects to see if there is enough change to justify a DOM update",
3484
+ "default": "null",
3303
3485
  "inheritedFrom": {
3304
3486
  "name": "AnchoredRegion",
3305
3487
  "module": "src/anchored-region/anchored-region.ts"
@@ -3307,9 +3489,11 @@
3307
3489
  },
3308
3490
  {
3309
3491
  "kind": "field",
3310
- "name": "handleResize",
3492
+ "name": "viewportRect",
3493
+ "type": {
3494
+ "text": "ClientRect | DOMRect | undefined"
3495
+ },
3311
3496
  "privacy": "private",
3312
- "description": "Handle resize events",
3313
3497
  "inheritedFrom": {
3314
3498
  "name": "AnchoredRegion",
3315
3499
  "module": "src/anchored-region/anchored-region.ts"
@@ -3317,9 +3501,11 @@
3317
3501
  },
3318
3502
  {
3319
3503
  "kind": "field",
3320
- "name": "reset",
3504
+ "name": "anchorRect",
3505
+ "type": {
3506
+ "text": "ClientRect | DOMRect | undefined"
3507
+ },
3321
3508
  "privacy": "private",
3322
- "description": "resets the component",
3323
3509
  "inheritedFrom": {
3324
3510
  "name": "AnchoredRegion",
3325
3511
  "module": "src/anchored-region/anchored-region.ts"
@@ -3327,9 +3513,11 @@
3327
3513
  },
3328
3514
  {
3329
3515
  "kind": "field",
3330
- "name": "updateLayout",
3516
+ "name": "regionRect",
3517
+ "type": {
3518
+ "text": "ClientRect | DOMRect | undefined"
3519
+ },
3331
3520
  "privacy": "private",
3332
- "description": "Recalculate layout related state values",
3333
3521
  "inheritedFrom": {
3334
3522
  "name": "AnchoredRegion",
3335
3523
  "module": "src/anchored-region/anchored-region.ts"
@@ -3337,9 +3525,13 @@
3337
3525
  },
3338
3526
  {
3339
3527
  "kind": "field",
3340
- "name": "updateRegionStyle",
3528
+ "name": "baseHorizontalOffset",
3529
+ "type": {
3530
+ "text": "number"
3531
+ },
3341
3532
  "privacy": "private",
3342
- "description": "Updates the style string applied to the region element as well as the css classes attached\nto the root element",
3533
+ "default": "0",
3534
+ "description": "base offsets between the positioner's base position and the anchor's",
3343
3535
  "inheritedFrom": {
3344
3536
  "name": "AnchoredRegion",
3345
3537
  "module": "src/anchored-region/anchored-region.ts"
@@ -3347,9 +3539,12 @@
3347
3539
  },
3348
3540
  {
3349
3541
  "kind": "field",
3350
- "name": "updatePositionClasses",
3542
+ "name": "baseVerticalOffset",
3543
+ "type": {
3544
+ "text": "number"
3545
+ },
3351
3546
  "privacy": "private",
3352
- "description": "Updates the css classes that reflect the current position of the element",
3547
+ "default": "0",
3353
3548
  "inheritedFrom": {
3354
3549
  "name": "AnchoredRegion",
3355
3550
  "module": "src/anchored-region/anchored-region.ts"
@@ -3357,9 +3552,12 @@
3357
3552
  },
3358
3553
  {
3359
3554
  "kind": "field",
3360
- "name": "setHorizontalPosition",
3555
+ "name": "pendingPositioningUpdate",
3556
+ "type": {
3557
+ "text": "boolean"
3558
+ },
3361
3559
  "privacy": "private",
3362
- "description": "Get horizontal positioning state based on desired position",
3560
+ "default": "false",
3363
3561
  "inheritedFrom": {
3364
3562
  "name": "AnchoredRegion",
3365
3563
  "module": "src/anchored-region/anchored-region.ts"
@@ -3367,9 +3565,12 @@
3367
3565
  },
3368
3566
  {
3369
3567
  "kind": "field",
3370
- "name": "setVerticalPosition",
3568
+ "name": "pendingReset",
3569
+ "type": {
3570
+ "text": "boolean"
3571
+ },
3371
3572
  "privacy": "private",
3372
- "description": "Set vertical positioning state based on desired position",
3573
+ "default": "false",
3373
3574
  "inheritedFrom": {
3374
3575
  "name": "AnchoredRegion",
3375
3576
  "module": "src/anchored-region/anchored-region.ts"
@@ -3377,9 +3578,11 @@
3377
3578
  },
3378
3579
  {
3379
3580
  "kind": "field",
3380
- "name": "getPositioningOptions",
3581
+ "name": "currentDirection",
3582
+ "type": {
3583
+ "text": "Direction"
3584
+ },
3381
3585
  "privacy": "private",
3382
- "description": "Get available positions based on positioning mode",
3383
3586
  "inheritedFrom": {
3384
3587
  "name": "AnchoredRegion",
3385
3588
  "module": "src/anchored-region/anchored-region.ts"
@@ -3387,9 +3590,12 @@
3387
3590
  },
3388
3591
  {
3389
3592
  "kind": "field",
3390
- "name": "getAvailableSpace",
3593
+ "name": "regionVisible",
3594
+ "type": {
3595
+ "text": "boolean"
3596
+ },
3391
3597
  "privacy": "private",
3392
- "description": "Get the space available for a particular relative position",
3598
+ "default": "false",
3393
3599
  "inheritedFrom": {
3394
3600
  "name": "AnchoredRegion",
3395
3601
  "module": "src/anchored-region/anchored-region.ts"
@@ -3397,9 +3603,12 @@
3397
3603
  },
3398
3604
  {
3399
3605
  "kind": "field",
3400
- "name": "getNextRegionDimension",
3606
+ "name": "forceUpdate",
3607
+ "type": {
3608
+ "text": "boolean"
3609
+ },
3401
3610
  "privacy": "private",
3402
- "description": "Get region dimensions",
3611
+ "default": "false",
3403
3612
  "inheritedFrom": {
3404
3613
  "name": "AnchoredRegion",
3405
3614
  "module": "src/anchored-region/anchored-region.ts"
@@ -3407,9 +3616,12 @@
3407
3616
  },
3408
3617
  {
3409
3618
  "kind": "field",
3410
- "name": "startAutoUpdateEventListeners",
3619
+ "name": "updateThreshold",
3620
+ "type": {
3621
+ "text": "number"
3622
+ },
3411
3623
  "privacy": "private",
3412
- "description": "starts event listeners that can trigger auto updating",
3624
+ "default": "0.5",
3413
3625
  "inheritedFrom": {
3414
3626
  "name": "AnchoredRegion",
3415
3627
  "module": "src/anchored-region/anchored-region.ts"
@@ -3417,9 +3629,13 @@
3417
3629
  },
3418
3630
  {
3419
3631
  "kind": "field",
3420
- "name": "stopAutoUpdateEventListeners",
3632
+ "name": "intersectionService",
3633
+ "type": {
3634
+ "text": "IntersectionService"
3635
+ },
3421
3636
  "privacy": "private",
3422
- "description": "stops event listeners that can trigger auto updating",
3637
+ "static": true,
3638
+ "default": "new IntersectionService()",
3423
3639
  "inheritedFrom": {
3424
3640
  "name": "AnchoredRegion",
3425
3641
  "module": "src/anchored-region/anchored-region.ts"
@@ -3427,65 +3643,69 @@
3427
3643
  },
3428
3644
  {
3429
3645
  "kind": "field",
3430
- "name": "_presentation",
3431
- "type": {
3432
- "text": "ComponentPresentation | null | undefined"
3433
- },
3434
- "privacy": "private",
3435
- "default": "void 0",
3646
+ "name": "update",
3647
+ "privacy": "public",
3648
+ "description": "update position",
3436
3649
  "inheritedFrom": {
3437
3650
  "name": "AnchoredRegion",
3438
3651
  "module": "src/anchored-region/anchored-region.ts"
3439
3652
  }
3440
3653
  },
3441
3654
  {
3442
- "kind": "field",
3443
- "name": "$presentation",
3444
- "type": {
3445
- "text": "ComponentPresentation | null"
3655
+ "kind": "method",
3656
+ "name": "disconnectResizeDetector",
3657
+ "privacy": "private",
3658
+ "return": {
3659
+ "type": {
3660
+ "text": "void"
3661
+ }
3446
3662
  },
3447
- "privacy": "public",
3448
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3663
+ "description": "destroys the instance's resize observer",
3449
3664
  "inheritedFrom": {
3450
3665
  "name": "AnchoredRegion",
3451
3666
  "module": "src/anchored-region/anchored-region.ts"
3452
3667
  }
3453
3668
  },
3454
3669
  {
3455
- "kind": "field",
3456
- "name": "template",
3457
- "type": {
3458
- "text": "ElementViewTemplate | void | null"
3670
+ "kind": "method",
3671
+ "name": "initializeResizeDetector",
3672
+ "privacy": "private",
3673
+ "return": {
3674
+ "type": {
3675
+ "text": "void"
3676
+ }
3459
3677
  },
3460
- "privacy": "public",
3461
- "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.",
3678
+ "description": "initializes the instance's resize observer",
3462
3679
  "inheritedFrom": {
3463
3680
  "name": "AnchoredRegion",
3464
3681
  "module": "src/anchored-region/anchored-region.ts"
3465
3682
  }
3466
3683
  },
3467
3684
  {
3468
- "kind": "method",
3469
- "name": "templateChanged",
3470
- "privacy": "protected",
3685
+ "kind": "method",
3686
+ "name": "updateForAttributeChange",
3687
+ "privacy": "private",
3471
3688
  "return": {
3472
3689
  "type": {
3473
3690
  "text": "void"
3474
3691
  }
3475
3692
  },
3693
+ "description": "react to attribute changes that don't require a reset",
3476
3694
  "inheritedFrom": {
3477
3695
  "name": "AnchoredRegion",
3478
3696
  "module": "src/anchored-region/anchored-region.ts"
3479
3697
  }
3480
3698
  },
3481
3699
  {
3482
- "kind": "field",
3483
- "name": "styles",
3484
- "type": {
3485
- "text": "ElementStyles | void | null"
3700
+ "kind": "method",
3701
+ "name": "initialize",
3702
+ "privacy": "private",
3703
+ "return": {
3704
+ "type": {
3705
+ "text": "void"
3706
+ }
3486
3707
  },
3487
- "privacy": "public",
3488
- "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.",
3708
+ "description": "fully initializes the component",
3489
3709
  "inheritedFrom": {
3490
3710
  "name": "AnchoredRegion",
3491
3711
  "module": "src/anchored-region/anchored-region.ts"
@@ -3493,13 +3713,14 @@
3493
3713
  },
3494
3714
  {
3495
3715
  "kind": "method",
3496
- "name": "stylesChanged",
3497
- "privacy": "protected",
3716
+ "name": "requestReset",
3717
+ "privacy": "private",
3498
3718
  "return": {
3499
3719
  "type": {
3500
3720
  "text": "void"
3501
3721
  }
3502
3722
  },
3723
+ "description": "Request a reset if there are currently no open requests",
3503
3724
  "inheritedFrom": {
3504
3725
  "name": "AnchoredRegion",
3505
3726
  "module": "src/anchored-region/anchored-region.ts"
@@ -3507,466 +3728,227 @@
3507
3728
  },
3508
3729
  {
3509
3730
  "kind": "method",
3510
- "name": "compose",
3511
- "privacy": "public",
3512
- "static": true,
3731
+ "name": "setInitialState",
3732
+ "privacy": "private",
3513
3733
  "return": {
3514
3734
  "type": {
3515
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
3735
+ "text": "void"
3516
3736
  }
3517
3737
  },
3518
- "parameters": [
3519
- {
3520
- "name": "this",
3521
- "type": {
3522
- "text": "K"
3523
- }
3524
- },
3525
- {
3526
- "name": "elementDefinition",
3527
- "type": {
3528
- "text": "T"
3529
- },
3530
- "description": "The definition of the element to create the registry\nfunction for."
3531
- }
3532
- ],
3533
- "description": "Defines an element registry function with a set of element definition defaults.",
3534
- "inheritedFrom": {
3535
- "name": "AnchoredRegion",
3536
- "module": "src/anchored-region/anchored-region.ts"
3537
- }
3538
- }
3539
- ],
3540
- "events": [
3541
- {
3542
- "description": "Fires a custom 'loaded' event when the region is loaded and visible",
3543
- "name": "loaded",
3738
+ "description": "sets the starting configuration for component internal values",
3544
3739
  "inheritedFrom": {
3545
3740
  "name": "AnchoredRegion",
3546
3741
  "module": "src/anchored-region/anchored-region.ts"
3547
3742
  }
3548
3743
  },
3549
3744
  {
3550
- "description": "Fires a custom 'positionchange' event when the position has changed",
3551
- "name": "positionchange",
3745
+ "kind": "field",
3746
+ "name": "startObservers",
3747
+ "privacy": "private",
3748
+ "description": "starts observers",
3552
3749
  "inheritedFrom": {
3553
3750
  "name": "AnchoredRegion",
3554
3751
  "module": "src/anchored-region/anchored-region.ts"
3555
3752
  }
3556
- }
3557
- ]
3558
- },
3559
- {
3560
- "kind": "variable",
3561
- "name": "zeroAnchoredRegion"
3562
- }
3563
- ],
3564
- "exports": [
3565
- {
3566
- "kind": "js",
3567
- "name": "AnchoredRegion",
3568
- "declaration": {
3569
- "name": "AnchoredRegion",
3570
- "module": "src/anchored-region/anchored-region.ts"
3571
- }
3572
- },
3573
- {
3574
- "kind": "js",
3575
- "name": "zeroAnchoredRegion",
3576
- "declaration": {
3577
- "name": "zeroAnchoredRegion",
3578
- "module": "src/anchored-region/anchored-region.ts"
3579
- }
3580
- }
3581
- ]
3582
- },
3583
- {
3584
- "kind": "javascript-module",
3585
- "path": "src/anchored-region/index.ts",
3586
- "declarations": [],
3587
- "exports": [
3588
- {
3589
- "kind": "js",
3590
- "name": "*",
3591
- "declaration": {
3592
- "name": "*",
3593
- "package": "./anchored-region"
3594
- }
3595
- },
3596
- {
3597
- "kind": "js",
3598
- "name": "*",
3599
- "declaration": {
3600
- "name": "*",
3601
- "package": "./anchored-region.styles"
3602
- }
3603
- },
3604
- {
3605
- "kind": "js",
3606
- "name": "*",
3607
- "declaration": {
3608
- "name": "*",
3609
- "package": "./anchored-region.template"
3610
- }
3611
- }
3612
- ]
3613
- },
3614
- {
3615
- "kind": "javascript-module",
3616
- "path": "src/anchor/anchor.stories.ts",
3617
- "declarations": [
3618
- {
3619
- "kind": "variable",
3620
- "name": "meta",
3621
- "type": {
3622
- "text": "Meta"
3623
- },
3624
- "default": "{\n title: 'Anchor',\n component: 'zero-anchor',\n}"
3625
- },
3626
- {
3627
- "kind": "variable",
3628
- "name": "All",
3629
- "type": {
3630
- "text": "StoryObj"
3631
- },
3632
- "default": "{\n args: {\n anchorText: 'Rapid Anchor',\n appearances: ZeroAppearanceValues,\n },\n ...StylesMapperTemplate,\n}"
3633
- }
3634
- ],
3635
- "exports": [
3636
- {
3637
- "kind": "js",
3638
- "name": "default",
3639
- "declaration": {
3640
- "name": "meta",
3641
- "module": "src/anchor/anchor.stories.ts"
3642
- }
3643
- },
3644
- {
3645
- "kind": "js",
3646
- "name": "All",
3647
- "declaration": {
3648
- "name": "All",
3649
- "module": "src/anchor/anchor.stories.ts"
3650
- }
3651
- }
3652
- ]
3653
- },
3654
- {
3655
- "kind": "javascript-module",
3656
- "path": "src/anchor/anchor.styles.ts",
3657
- "declarations": [
3658
- {
3659
- "kind": "function",
3660
- "name": "zeroAnchorStyles",
3661
- "return": {
3662
- "type": {
3663
- "text": "ElementStyles"
3664
- }
3665
- },
3666
- "parameters": [
3667
- {
3668
- "name": "context",
3669
- "type": {
3670
- "text": "ElementDefinitionContext"
3671
- }
3672
- },
3673
- {
3674
- "name": "definition",
3675
- "type": {
3676
- "text": "FoundationElementDefinition"
3677
- }
3678
- }
3679
- ]
3680
- }
3681
- ],
3682
- "exports": [
3683
- {
3684
- "kind": "js",
3685
- "name": "zeroAnchorStyles",
3686
- "declaration": {
3687
- "name": "zeroAnchorStyles",
3688
- "module": "src/anchor/anchor.styles.ts"
3689
- }
3690
- }
3691
- ]
3692
- },
3693
- {
3694
- "kind": "javascript-module",
3695
- "path": "src/anchor/anchor.template.ts",
3696
- "declarations": [
3697
- {
3698
- "kind": "function",
3699
- "name": "zeroAnchorTemplate",
3700
- "return": {
3701
- "type": {
3702
- "text": "ViewTemplate<Anchor>"
3703
- }
3704
- },
3705
- "parameters": [
3706
- {
3707
- "name": "context",
3708
- "type": {
3709
- "text": "ElementDefinitionContext"
3710
- }
3711
3753
  },
3712
3754
  {
3713
- "name": "definition",
3714
- "type": {
3715
- "text": "FoundationElementDefinition"
3716
- }
3717
- }
3718
- ]
3719
- }
3720
- ],
3721
- "exports": [
3722
- {
3723
- "kind": "js",
3724
- "name": "zeroAnchorTemplate",
3725
- "declaration": {
3726
- "name": "zeroAnchorTemplate",
3727
- "module": "src/anchor/anchor.template.ts"
3728
- }
3729
- }
3730
- ]
3731
- },
3732
- {
3733
- "kind": "javascript-module",
3734
- "path": "src/anchor/anchor.ts",
3735
- "declarations": [
3736
- {
3737
- "kind": "class",
3738
- "description": "",
3739
- "name": "Anchor",
3740
- "superclass": {
3741
- "name": "FoundationAnchor",
3742
- "package": "@genesislcap/foundation-ui"
3743
- },
3744
- "tagName": "%%prefix%%-anchor",
3745
- "customElement": true,
3746
- "attributes": [
3755
+ "kind": "field",
3756
+ "name": "requestPositionUpdates",
3757
+ "privacy": "private",
3758
+ "description": "get position updates",
3759
+ "inheritedFrom": {
3760
+ "name": "AnchoredRegion",
3761
+ "module": "src/anchored-region/anchored-region.ts"
3762
+ }
3763
+ },
3747
3764
  {
3748
- "name": "download",
3749
- "type": {
3750
- "text": "string"
3751
- },
3752
- "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.",
3753
- "fieldName": "download",
3765
+ "kind": "field",
3766
+ "name": "stopObservers",
3767
+ "privacy": "private",
3768
+ "description": "stops observers",
3754
3769
  "inheritedFrom": {
3755
- "name": "Anchor",
3756
- "module": "src/anchor/anchor.ts"
3770
+ "name": "AnchoredRegion",
3771
+ "module": "src/anchored-region/anchored-region.ts"
3757
3772
  }
3758
3773
  },
3759
3774
  {
3760
- "name": "href",
3761
- "type": {
3762
- "text": "string"
3763
- },
3764
- "description": "The URL the hyperlink references. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
3765
- "fieldName": "href",
3775
+ "kind": "field",
3776
+ "name": "getViewport",
3777
+ "privacy": "private",
3778
+ "description": "Gets the viewport element by id, or defaults to document root",
3766
3779
  "inheritedFrom": {
3767
- "name": "Anchor",
3768
- "module": "src/anchor/anchor.ts"
3780
+ "name": "AnchoredRegion",
3781
+ "module": "src/anchored-region/anchored-region.ts"
3769
3782
  }
3770
3783
  },
3771
3784
  {
3772
- "name": "hreflang",
3773
- "type": {
3774
- "text": "string"
3775
- },
3776
- "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.",
3777
- "fieldName": "hreflang",
3785
+ "kind": "field",
3786
+ "name": "getAnchor",
3787
+ "privacy": "private",
3788
+ "description": "Gets the anchor element by id",
3778
3789
  "inheritedFrom": {
3779
- "name": "Anchor",
3780
- "module": "src/anchor/anchor.ts"
3790
+ "name": "AnchoredRegion",
3791
+ "module": "src/anchored-region/anchored-region.ts"
3781
3792
  }
3782
3793
  },
3783
3794
  {
3784
- "name": "ping",
3785
- "type": {
3786
- "text": "string"
3787
- },
3788
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
3789
- "fieldName": "ping",
3795
+ "kind": "field",
3796
+ "name": "handleIntersection",
3797
+ "privacy": "private",
3798
+ "description": "Handle intersections",
3790
3799
  "inheritedFrom": {
3791
- "name": "Anchor",
3792
- "module": "src/anchor/anchor.ts"
3800
+ "name": "AnchoredRegion",
3801
+ "module": "src/anchored-region/anchored-region.ts"
3793
3802
  }
3794
3803
  },
3795
3804
  {
3796
- "name": "referrerpolicy",
3797
- "type": {
3798
- "text": "string"
3799
- },
3800
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
3801
- "fieldName": "referrerpolicy",
3805
+ "kind": "field",
3806
+ "name": "applyIntersectionEntries",
3807
+ "privacy": "private",
3808
+ "description": "iterate through intersection entries and apply data",
3802
3809
  "inheritedFrom": {
3803
- "name": "Anchor",
3804
- "module": "src/anchor/anchor.ts"
3810
+ "name": "AnchoredRegion",
3811
+ "module": "src/anchored-region/anchored-region.ts"
3805
3812
  }
3806
3813
  },
3807
3814
  {
3808
- "name": "rel",
3809
- "type": {
3810
- "text": "string"
3811
- },
3812
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
3813
- "fieldName": "rel",
3815
+ "kind": "field",
3816
+ "name": "updateRegionOffset",
3817
+ "privacy": "private",
3818
+ "description": "Update the offset values",
3814
3819
  "inheritedFrom": {
3815
- "name": "Anchor",
3816
- "module": "src/anchor/anchor.ts"
3820
+ "name": "AnchoredRegion",
3821
+ "module": "src/anchored-region/anchored-region.ts"
3817
3822
  }
3818
3823
  },
3819
3824
  {
3820
- "name": "target",
3821
- "type": {
3822
- "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
3823
- },
3824
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
3825
- "fieldName": "target",
3825
+ "kind": "field",
3826
+ "name": "isRectDifferent",
3827
+ "privacy": "private",
3828
+ "description": "compare rects to see if there is enough change to justify a DOM update",
3826
3829
  "inheritedFrom": {
3827
- "name": "Anchor",
3828
- "module": "src/anchor/anchor.ts"
3830
+ "name": "AnchoredRegion",
3831
+ "module": "src/anchored-region/anchored-region.ts"
3829
3832
  }
3830
3833
  },
3831
3834
  {
3832
- "name": "type",
3833
- "type": {
3834
- "text": "string"
3835
- },
3836
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
3837
- "fieldName": "type",
3835
+ "kind": "field",
3836
+ "name": "handleResize",
3837
+ "privacy": "private",
3838
+ "description": "Handle resize events",
3838
3839
  "inheritedFrom": {
3839
- "name": "Anchor",
3840
- "module": "src/anchor/anchor.ts"
3840
+ "name": "AnchoredRegion",
3841
+ "module": "src/anchored-region/anchored-region.ts"
3841
3842
  }
3842
- }
3843
- ],
3844
- "members": [
3843
+ },
3845
3844
  {
3846
3845
  "kind": "field",
3847
- "name": "download",
3848
- "type": {
3849
- "text": "string"
3850
- },
3851
- "privacy": "public",
3852
- "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.",
3846
+ "name": "reset",
3847
+ "privacy": "private",
3848
+ "description": "resets the component",
3853
3849
  "inheritedFrom": {
3854
- "name": "Anchor",
3855
- "module": "src/anchor/anchor.ts"
3850
+ "name": "AnchoredRegion",
3851
+ "module": "src/anchored-region/anchored-region.ts"
3856
3852
  }
3857
3853
  },
3858
3854
  {
3859
3855
  "kind": "field",
3860
- "name": "href",
3861
- "type": {
3862
- "text": "string"
3863
- },
3864
- "privacy": "public",
3865
- "description": "The URL the hyperlink references. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
3856
+ "name": "updateLayout",
3857
+ "privacy": "private",
3858
+ "description": "Recalculate layout related state values",
3866
3859
  "inheritedFrom": {
3867
- "name": "Anchor",
3868
- "module": "src/anchor/anchor.ts"
3860
+ "name": "AnchoredRegion",
3861
+ "module": "src/anchored-region/anchored-region.ts"
3869
3862
  }
3870
3863
  },
3871
3864
  {
3872
3865
  "kind": "field",
3873
- "name": "hreflang",
3874
- "type": {
3875
- "text": "string"
3876
- },
3877
- "privacy": "public",
3878
- "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.",
3866
+ "name": "updateRegionStyle",
3867
+ "privacy": "private",
3868
+ "description": "Updates the style string applied to the region element as well as the css classes attached\nto the root element",
3879
3869
  "inheritedFrom": {
3880
- "name": "Anchor",
3881
- "module": "src/anchor/anchor.ts"
3870
+ "name": "AnchoredRegion",
3871
+ "module": "src/anchored-region/anchored-region.ts"
3882
3872
  }
3883
3873
  },
3884
3874
  {
3885
3875
  "kind": "field",
3886
- "name": "ping",
3887
- "type": {
3888
- "text": "string"
3889
- },
3890
- "privacy": "public",
3891
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
3876
+ "name": "updatePositionClasses",
3877
+ "privacy": "private",
3878
+ "description": "Updates the css classes that reflect the current position of the element",
3892
3879
  "inheritedFrom": {
3893
- "name": "Anchor",
3894
- "module": "src/anchor/anchor.ts"
3880
+ "name": "AnchoredRegion",
3881
+ "module": "src/anchored-region/anchored-region.ts"
3895
3882
  }
3896
3883
  },
3897
3884
  {
3898
3885
  "kind": "field",
3899
- "name": "referrerpolicy",
3900
- "type": {
3901
- "text": "string"
3902
- },
3903
- "privacy": "public",
3904
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
3886
+ "name": "setHorizontalPosition",
3887
+ "privacy": "private",
3888
+ "description": "Get horizontal positioning state based on desired position",
3905
3889
  "inheritedFrom": {
3906
- "name": "Anchor",
3907
- "module": "src/anchor/anchor.ts"
3890
+ "name": "AnchoredRegion",
3891
+ "module": "src/anchored-region/anchored-region.ts"
3908
3892
  }
3909
3893
  },
3910
3894
  {
3911
3895
  "kind": "field",
3912
- "name": "rel",
3913
- "type": {
3914
- "text": "string"
3915
- },
3916
- "privacy": "public",
3917
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
3896
+ "name": "setVerticalPosition",
3897
+ "privacy": "private",
3898
+ "description": "Set vertical positioning state based on desired position",
3918
3899
  "inheritedFrom": {
3919
- "name": "Anchor",
3920
- "module": "src/anchor/anchor.ts"
3900
+ "name": "AnchoredRegion",
3901
+ "module": "src/anchored-region/anchored-region.ts"
3921
3902
  }
3922
3903
  },
3923
3904
  {
3924
3905
  "kind": "field",
3925
- "name": "target",
3926
- "type": {
3927
- "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
3928
- },
3929
- "privacy": "public",
3930
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
3906
+ "name": "getPositioningOptions",
3907
+ "privacy": "private",
3908
+ "description": "Get available positions based on positioning mode",
3931
3909
  "inheritedFrom": {
3932
- "name": "Anchor",
3933
- "module": "src/anchor/anchor.ts"
3910
+ "name": "AnchoredRegion",
3911
+ "module": "src/anchored-region/anchored-region.ts"
3934
3912
  }
3935
3913
  },
3936
3914
  {
3937
3915
  "kind": "field",
3938
- "name": "type",
3939
- "type": {
3940
- "text": "string"
3941
- },
3942
- "privacy": "public",
3943
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
3916
+ "name": "getAvailableSpace",
3917
+ "privacy": "private",
3918
+ "description": "Get the space available for a particular relative position",
3944
3919
  "inheritedFrom": {
3945
- "name": "Anchor",
3946
- "module": "src/anchor/anchor.ts"
3920
+ "name": "AnchoredRegion",
3921
+ "module": "src/anchored-region/anchored-region.ts"
3947
3922
  }
3948
3923
  },
3949
3924
  {
3950
3925
  "kind": "field",
3951
- "name": "control",
3952
- "type": {
3953
- "text": "HTMLAnchorElement | undefined"
3954
- },
3955
- "privacy": "public",
3956
- "description": "References the root element",
3926
+ "name": "getNextRegionDimension",
3927
+ "privacy": "private",
3928
+ "description": "Get region dimensions",
3957
3929
  "inheritedFrom": {
3958
- "name": "Anchor",
3959
- "module": "src/anchor/anchor.ts"
3930
+ "name": "AnchoredRegion",
3931
+ "module": "src/anchored-region/anchored-region.ts"
3960
3932
  }
3961
3933
  },
3962
3934
  {
3963
3935
  "kind": "field",
3964
- "name": "handleUnsupportedDelegatesFocus",
3936
+ "name": "startAutoUpdateEventListeners",
3965
3937
  "privacy": "private",
3966
- "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",
3938
+ "description": "starts event listeners that can trigger auto updating",
3967
3939
  "inheritedFrom": {
3968
- "name": "Anchor",
3969
- "module": "src/anchor/anchor.ts"
3940
+ "name": "AnchoredRegion",
3941
+ "module": "src/anchored-region/anchored-region.ts"
3942
+ }
3943
+ },
3944
+ {
3945
+ "kind": "field",
3946
+ "name": "stopAutoUpdateEventListeners",
3947
+ "privacy": "private",
3948
+ "description": "stops event listeners that can trigger auto updating",
3949
+ "inheritedFrom": {
3950
+ "name": "AnchoredRegion",
3951
+ "module": "src/anchored-region/anchored-region.ts"
3970
3952
  }
3971
3953
  },
3972
3954
  {
@@ -3978,8 +3960,8 @@
3978
3960
  "privacy": "private",
3979
3961
  "default": "void 0",
3980
3962
  "inheritedFrom": {
3981
- "name": "Anchor",
3982
- "module": "src/anchor/anchor.ts"
3963
+ "name": "AnchoredRegion",
3964
+ "module": "src/anchored-region/anchored-region.ts"
3983
3965
  }
3984
3966
  },
3985
3967
  {
@@ -3991,8 +3973,8 @@
3991
3973
  "privacy": "public",
3992
3974
  "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3993
3975
  "inheritedFrom": {
3994
- "name": "Anchor",
3995
- "module": "src/anchor/anchor.ts"
3976
+ "name": "AnchoredRegion",
3977
+ "module": "src/anchored-region/anchored-region.ts"
3996
3978
  }
3997
3979
  },
3998
3980
  {
@@ -4004,8 +3986,8 @@
4004
3986
  "privacy": "public",
4005
3987
  "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.",
4006
3988
  "inheritedFrom": {
4007
- "name": "Anchor",
4008
- "module": "src/anchor/anchor.ts"
3989
+ "name": "AnchoredRegion",
3990
+ "module": "src/anchored-region/anchored-region.ts"
4009
3991
  }
4010
3992
  },
4011
3993
  {
@@ -4018,8 +4000,8 @@
4018
4000
  }
4019
4001
  },
4020
4002
  "inheritedFrom": {
4021
- "name": "Anchor",
4022
- "module": "src/anchor/anchor.ts"
4003
+ "name": "AnchoredRegion",
4004
+ "module": "src/anchored-region/anchored-region.ts"
4023
4005
  }
4024
4006
  },
4025
4007
  {
@@ -4031,8 +4013,8 @@
4031
4013
  "privacy": "public",
4032
4014
  "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.",
4033
4015
  "inheritedFrom": {
4034
- "name": "Anchor",
4035
- "module": "src/anchor/anchor.ts"
4016
+ "name": "AnchoredRegion",
4017
+ "module": "src/anchored-region/anchored-region.ts"
4036
4018
  }
4037
4019
  },
4038
4020
  {
@@ -4045,8 +4027,8 @@
4045
4027
  }
4046
4028
  },
4047
4029
  "inheritedFrom": {
4048
- "name": "Anchor",
4049
- "module": "src/anchor/anchor.ts"
4030
+ "name": "AnchoredRegion",
4031
+ "module": "src/anchored-region/anchored-region.ts"
4050
4032
  }
4051
4033
  },
4052
4034
  {
@@ -4076,39 +4058,57 @@
4076
4058
  ],
4077
4059
  "description": "Defines an element registry function with a set of element definition defaults.",
4078
4060
  "inheritedFrom": {
4079
- "name": "Anchor",
4080
- "module": "src/anchor/anchor.ts"
4061
+ "name": "AnchoredRegion",
4062
+ "module": "src/anchored-region/anchored-region.ts"
4063
+ }
4064
+ }
4065
+ ],
4066
+ "events": [
4067
+ {
4068
+ "description": "Fires a custom 'loaded' event when the region is loaded and visible",
4069
+ "name": "loaded",
4070
+ "inheritedFrom": {
4071
+ "name": "AnchoredRegion",
4072
+ "module": "src/anchored-region/anchored-region.ts"
4073
+ }
4074
+ },
4075
+ {
4076
+ "description": "Fires a custom 'positionchange' event when the position has changed",
4077
+ "name": "positionchange",
4078
+ "inheritedFrom": {
4079
+ "name": "AnchoredRegion",
4080
+ "module": "src/anchored-region/anchored-region.ts"
4081
4081
  }
4082
4082
  }
4083
4083
  ]
4084
4084
  },
4085
4085
  {
4086
4086
  "kind": "variable",
4087
- "name": "zeroAnchor"
4087
+ "name": "zeroAnchoredRegion"
4088
4088
  }
4089
4089
  ],
4090
4090
  "exports": [
4091
4091
  {
4092
4092
  "kind": "js",
4093
- "name": "Anchor",
4093
+ "name": "AnchoredRegion",
4094
4094
  "declaration": {
4095
- "name": "Anchor",
4096
- "module": "src/anchor/anchor.ts"
4095
+ "name": "AnchoredRegion",
4096
+ "module": "src/anchored-region/anchored-region.ts"
4097
4097
  }
4098
4098
  },
4099
4099
  {
4100
4100
  "kind": "js",
4101
- "name": "zeroAnchor",
4101
+ "name": "zeroAnchoredRegion",
4102
4102
  "declaration": {
4103
- "name": "zeroAnchor",
4104
- "module": "src/anchor/anchor.ts"
4103
+ "name": "zeroAnchoredRegion",
4104
+ "module": "src/anchored-region/anchored-region.ts"
4105
4105
  }
4106
4106
  }
4107
4107
  ]
4108
4108
  },
4109
4109
  {
4110
4110
  "kind": "javascript-module",
4111
- "path": "src/anchor/index.ts",
4111
+ "path": "src/anchored-region/index.ts",
4112
4112
  "declarations": [],
4113
4113
  "exports": [
4114
4114
  {
@@ -4116,7 +4116,7 @@
4116
4116
  "name": "*",
4117
4117
  "declaration": {
4118
4118
  "name": "*",
4119
- "package": "./anchor"
4119
+ "package": "./anchored-region"
4120
4120
  }
4121
4121
  },
4122
4122
  {
@@ -4124,7 +4124,7 @@
4124
4124
  "name": "*",
4125
4125
  "declaration": {
4126
4126
  "name": "*",
4127
- "package": "./anchor.styles"
4127
+ "package": "./anchored-region.styles"
4128
4128
  }
4129
4129
  },
4130
4130
  {
@@ -4132,7 +4132,7 @@
4132
4132
  "name": "*",
4133
4133
  "declaration": {
4134
4134
  "name": "*",
4135
- "package": "./anchor.template"
4135
+ "package": "./anchored-region.template"
4136
4136
  }
4137
4137
  }
4138
4138
  ]
@@ -11520,205 +11520,17 @@
11520
11520
  },
11521
11521
  {
11522
11522
  "kind": "js",
11523
- "name": "zeroDialogTemplate",
11524
- "declaration": {
11525
- "name": "foundationDialogTemplate",
11526
- "package": "@genesislcap/foundation-ui"
11527
- }
11528
- }
11529
- ]
11530
- },
11531
- {
11532
- "kind": "javascript-module",
11533
- "path": "src/disclosure/disclosure.stories.ts",
11534
- "declarations": [
11535
- {
11536
- "kind": "variable",
11537
- "name": "meta",
11538
- "type": {
11539
- "text": "Meta"
11540
- },
11541
- "default": "{\n title: 'Disclosure',\n component: 'zero-disclosure',\n}"
11542
- },
11543
- {
11544
- "kind": "variable",
11545
- "name": "Primary",
11546
- "type": {
11547
- "text": "StoryObj"
11548
- },
11549
- "default": "{\n argTypes: {\n fastAppearance: {\n control: 'select',\n options: FastAppearanceValues,\n },\n },\n args: {\n disclosureTitle: 'Open Disclosure',\n disclosureText: `Created by writer Gardner Fox and artist Harry Lampert, the original Flashfirst appeared\n in Flash Comics #1 (cover date January 1940/release monthNovember 1939). Nicknamed the\n \"Scarlet Speedster\", all incarnations of theFlash possess \"super speed\", which includes\n the ability to run, move, andthink extremely fast, use superhuman reflexes, and seemingly\n violatecertain laws of physics.`,\n disclosureEndSlot: '⚡️',\n fastAppearance: 'lightweight',\n },\n render: ({ fastAppearance, disclosureTitle, disclosureText, disclosureEndSlot }) => html`\n <zero-disclosure appearance=\"${fastAppearance}\" title=\"${disclosureTitle}\">\n <span slot=\"end\">${disclosureEndSlot}</span>\n <div>${disclosureText}</div>\n </zero-disclosure>\n `,\n}"
11550
- }
11551
- ],
11552
- "exports": [
11553
- {
11554
- "kind": "js",
11555
- "name": "default",
11556
- "declaration": {
11557
- "name": "meta",
11558
- "module": "src/disclosure/disclosure.stories.ts"
11559
- }
11560
- },
11561
- {
11562
- "kind": "js",
11563
- "name": "Primary",
11564
- "declaration": {
11565
- "name": "Primary",
11566
- "module": "src/disclosure/disclosure.stories.ts"
11567
- }
11568
- }
11569
- ]
11570
- },
11571
- {
11572
- "kind": "javascript-module",
11573
- "path": "src/disclosure/disclosure.styles.ts",
11574
- "declarations": [
11575
- {
11576
- "kind": "function",
11577
- "name": "zeroDisclosureStyles",
11578
- "return": {
11579
- "type": {
11580
- "text": "ElementStyles"
11581
- }
11582
- },
11583
- "parameters": [
11584
- {
11585
- "name": "context",
11586
- "type": {
11587
- "text": "ElementDefinitionContext"
11588
- }
11589
- },
11590
- {
11591
- "name": "definition",
11592
- "type": {
11593
- "text": "FoundationElementDefinition"
11594
- }
11595
- }
11596
- ]
11597
- }
11598
- ],
11599
- "exports": [
11600
- {
11601
- "kind": "js",
11602
- "name": "zeroDisclosureStyles",
11603
- "declaration": {
11604
- "name": "zeroDisclosureStyles",
11605
- "module": "src/disclosure/disclosure.styles.ts"
11606
- }
11607
- }
11608
- ]
11609
- },
11610
- {
11611
- "kind": "javascript-module",
11612
- "path": "src/disclosure/disclosure.template.ts",
11613
- "declarations": [
11614
- {
11615
- "kind": "function",
11616
- "name": "zeroDisclosureTemplate",
11617
- "return": {
11618
- "type": {
11619
- "text": "ViewTemplate<Disclosure>"
11620
- }
11621
- },
11622
- "parameters": [
11623
- {
11624
- "name": "context",
11625
- "type": {
11626
- "text": "ElementDefinitionContext"
11627
- }
11628
- },
11629
- {
11630
- "name": "definition",
11631
- "type": {
11632
- "text": "FoundationElementDefinition"
11633
- }
11634
- }
11635
- ]
11636
- }
11637
- ],
11638
- "exports": [
11639
- {
11640
- "kind": "js",
11641
- "name": "zeroDisclosureTemplate",
11642
- "declaration": {
11643
- "name": "zeroDisclosureTemplate",
11644
- "module": "src/disclosure/disclosure.template.ts"
11645
- }
11646
- }
11647
- ]
11648
- },
11649
- {
11650
- "kind": "javascript-module",
11651
- "path": "src/disclosure/disclosure.ts",
11652
- "declarations": [
11653
- {
11654
- "kind": "class",
11655
- "description": "",
11656
- "name": "Disclosure",
11657
- "superclass": {
11658
- "name": "FoundationDisclosure",
11659
- "package": "@genesislcap/foundation-ui"
11660
- },
11661
- "tagName": "%%prefix%%-disclosure",
11662
- "customElement": true
11663
- },
11664
- {
11665
- "kind": "variable",
11666
- "name": "zeroDisclosure"
11667
- }
11668
- ],
11669
- "exports": [
11670
- {
11671
- "kind": "js",
11672
- "name": "Disclosure",
11673
- "declaration": {
11674
- "name": "Disclosure",
11675
- "module": "src/disclosure/disclosure.ts"
11676
- }
11677
- },
11678
- {
11679
- "kind": "js",
11680
- "name": "zeroDisclosure",
11681
- "declaration": {
11682
- "name": "zeroDisclosure",
11683
- "module": "src/disclosure/disclosure.ts"
11684
- }
11685
- }
11686
- ]
11687
- },
11688
- {
11689
- "kind": "javascript-module",
11690
- "path": "src/disclosure/index.ts",
11691
- "declarations": [],
11692
- "exports": [
11693
- {
11694
- "kind": "js",
11695
- "name": "*",
11696
- "declaration": {
11697
- "name": "*",
11698
- "package": "./disclosure"
11699
- }
11700
- },
11701
- {
11702
- "kind": "js",
11703
- "name": "*",
11704
- "declaration": {
11705
- "name": "*",
11706
- "package": "./disclosure.styles"
11707
- }
11708
- },
11709
- {
11710
- "kind": "js",
11711
- "name": "*",
11523
+ "name": "zeroDialogTemplate",
11712
11524
  "declaration": {
11713
- "name": "*",
11714
- "package": "./disclosure.template"
11525
+ "name": "foundationDialogTemplate",
11526
+ "package": "@genesislcap/foundation-ui"
11715
11527
  }
11716
11528
  }
11717
11529
  ]
11718
11530
  },
11719
11531
  {
11720
11532
  "kind": "javascript-module",
11721
- "path": "src/divider/divider.stories.ts",
11533
+ "path": "src/disclosure/disclosure.stories.ts",
11722
11534
  "declarations": [
11723
11535
  {
11724
11536
  "kind": "variable",
@@ -11726,7 +11538,7 @@
11726
11538
  "type": {
11727
11539
  "text": "Meta"
11728
11540
  },
11729
- "default": "{\n title: 'Divider',\n component: 'zero-divider',\n}"
11541
+ "default": "{\n title: 'Disclosure',\n component: 'zero-disclosure',\n}"
11730
11542
  },
11731
11543
  {
11732
11544
  "kind": "variable",
@@ -11734,7 +11546,7 @@
11734
11546
  "type": {
11735
11547
  "text": "StoryObj"
11736
11548
  },
11737
- "default": "{\n argTypes: {\n orientation: {\n control: 'select',\n options: ['horizontal', 'vertical'],\n },\n role: {\n control: 'select',\n options: ['separator', 'presentation'],\n },\n },\n args: {\n orientation: 'horizontal',\n role: 'separator',\n },\n render: ({ orientation, role }) => html`\n <div\n style=\"display: flex; justify-content:center; width: 100%; ${orientation === 'vertical'\n ? 'flex-direction: row;'\n : 'flex-direction: column;'}\"\n >\n <zero-button style=\"flex: 1;\"></zero-button>\n <zero-divider orientation=\"${orientation}\" role=\"${role}\"></zero-divider>\n <zero-button style=\"flex: 1;\"></zero-button>\n </div>\n `,\n}"
11549
+ "default": "{\n argTypes: {\n fastAppearance: {\n control: 'select',\n options: FastAppearanceValues,\n },\n },\n args: {\n disclosureTitle: 'Open Disclosure',\n disclosureText: `Created by writer Gardner Fox and artist Harry Lampert, the original Flashfirst appeared\n in Flash Comics #1 (cover date January 1940/release monthNovember 1939). Nicknamed the\n \"Scarlet Speedster\", all incarnations of theFlash possess \"super speed\", which includes\n the ability to run, move, andthink extremely fast, use superhuman reflexes, and seemingly\n violatecertain laws of physics.`,\n disclosureEndSlot: '⚡️',\n fastAppearance: 'lightweight',\n },\n render: ({ fastAppearance, disclosureTitle, disclosureText, disclosureEndSlot }) => html`\n <zero-disclosure appearance=\"${fastAppearance}\" title=\"${disclosureTitle}\">\n <span slot=\"end\">${disclosureEndSlot}</span>\n <div>${disclosureText}</div>\n </zero-disclosure>\n `,\n}"
11738
11550
  }
11739
11551
  ],
11740
11552
  "exports": [
@@ -11743,7 +11555,7 @@
11743
11555
  "name": "default",
11744
11556
  "declaration": {
11745
11557
  "name": "meta",
11746
- "module": "src/divider/divider.stories.ts"
11558
+ "module": "src/disclosure/disclosure.stories.ts"
11747
11559
  }
11748
11560
  },
11749
11561
  {
@@ -11751,18 +11563,18 @@
11751
11563
  "name": "Primary",
11752
11564
  "declaration": {
11753
11565
  "name": "Primary",
11754
- "module": "src/divider/divider.stories.ts"
11566
+ "module": "src/disclosure/disclosure.stories.ts"
11755
11567
  }
11756
11568
  }
11757
11569
  ]
11758
11570
  },
11759
11571
  {
11760
11572
  "kind": "javascript-module",
11761
- "path": "src/divider/divider.styles.ts",
11573
+ "path": "src/disclosure/disclosure.styles.ts",
11762
11574
  "declarations": [
11763
11575
  {
11764
11576
  "kind": "function",
11765
- "name": "zeroDividerStyles",
11577
+ "name": "zeroDisclosureStyles",
11766
11578
  "return": {
11767
11579
  "type": {
11768
11580
  "text": "ElementStyles"
@@ -11787,24 +11599,24 @@
11787
11599
  "exports": [
11788
11600
  {
11789
11601
  "kind": "js",
11790
- "name": "zeroDividerStyles",
11602
+ "name": "zeroDisclosureStyles",
11791
11603
  "declaration": {
11792
- "name": "zeroDividerStyles",
11793
- "module": "src/divider/divider.styles.ts"
11604
+ "name": "zeroDisclosureStyles",
11605
+ "module": "src/disclosure/disclosure.styles.ts"
11794
11606
  }
11795
11607
  }
11796
11608
  ]
11797
11609
  },
11798
11610
  {
11799
11611
  "kind": "javascript-module",
11800
- "path": "src/divider/divider.template.ts",
11612
+ "path": "src/disclosure/disclosure.template.ts",
11801
11613
  "declarations": [
11802
11614
  {
11803
11615
  "kind": "function",
11804
- "name": "zeroDividerTemplate",
11616
+ "name": "zeroDisclosureTemplate",
11805
11617
  "return": {
11806
11618
  "type": {
11807
- "text": "ViewTemplate<Divider>"
11619
+ "text": "ViewTemplate<Disclosure>"
11808
11620
  }
11809
11621
  },
11810
11622
  "parameters": [
@@ -11826,56 +11638,56 @@
11826
11638
  "exports": [
11827
11639
  {
11828
11640
  "kind": "js",
11829
- "name": "zeroDividerTemplate",
11641
+ "name": "zeroDisclosureTemplate",
11830
11642
  "declaration": {
11831
- "name": "zeroDividerTemplate",
11832
- "module": "src/divider/divider.template.ts"
11643
+ "name": "zeroDisclosureTemplate",
11644
+ "module": "src/disclosure/disclosure.template.ts"
11833
11645
  }
11834
11646
  }
11835
11647
  ]
11836
11648
  },
11837
11649
  {
11838
11650
  "kind": "javascript-module",
11839
- "path": "src/divider/divider.ts",
11651
+ "path": "src/disclosure/disclosure.ts",
11840
11652
  "declarations": [
11841
11653
  {
11842
11654
  "kind": "class",
11843
11655
  "description": "",
11844
- "name": "Divider",
11656
+ "name": "Disclosure",
11845
11657
  "superclass": {
11846
- "name": "FoundationDivider",
11658
+ "name": "FoundationDisclosure",
11847
11659
  "package": "@genesislcap/foundation-ui"
11848
11660
  },
11849
- "tagName": "%%prefix%%-divider",
11661
+ "tagName": "%%prefix%%-disclosure",
11850
11662
  "customElement": true
11851
11663
  },
11852
11664
  {
11853
11665
  "kind": "variable",
11854
- "name": "zeroDivider"
11666
+ "name": "zeroDisclosure"
11855
11667
  }
11856
11668
  ],
11857
11669
  "exports": [
11858
11670
  {
11859
11671
  "kind": "js",
11860
- "name": "Divider",
11672
+ "name": "Disclosure",
11861
11673
  "declaration": {
11862
- "name": "Divider",
11863
- "module": "src/divider/divider.ts"
11674
+ "name": "Disclosure",
11675
+ "module": "src/disclosure/disclosure.ts"
11864
11676
  }
11865
11677
  },
11866
11678
  {
11867
11679
  "kind": "js",
11868
- "name": "zeroDivider",
11680
+ "name": "zeroDisclosure",
11869
11681
  "declaration": {
11870
- "name": "zeroDivider",
11871
- "module": "src/divider/divider.ts"
11682
+ "name": "zeroDisclosure",
11683
+ "module": "src/disclosure/disclosure.ts"
11872
11684
  }
11873
11685
  }
11874
11686
  ]
11875
11687
  },
11876
11688
  {
11877
11689
  "kind": "javascript-module",
11878
- "path": "src/divider/index.ts",
11690
+ "path": "src/disclosure/index.ts",
11879
11691
  "declarations": [],
11880
11692
  "exports": [
11881
11693
  {
@@ -11883,7 +11695,7 @@
11883
11695
  "name": "*",
11884
11696
  "declaration": {
11885
11697
  "name": "*",
11886
- "package": "./divider"
11698
+ "package": "./disclosure"
11887
11699
  }
11888
11700
  },
11889
11701
  {
@@ -11891,7 +11703,7 @@
11891
11703
  "name": "*",
11892
11704
  "declaration": {
11893
11705
  "name": "*",
11894
- "package": "./divider.styles"
11706
+ "package": "./disclosure.styles"
11895
11707
  }
11896
11708
  },
11897
11709
  {
@@ -11899,7 +11711,7 @@
11899
11711
  "name": "*",
11900
11712
  "declaration": {
11901
11713
  "name": "*",
11902
- "package": "./divider.template"
11714
+ "package": "./disclosure.template"
11903
11715
  }
11904
11716
  }
11905
11717
  ]
@@ -12408,6 +12220,194 @@
12408
12220
  }
12409
12221
  ]
12410
12222
  },
12223
+ {
12224
+ "kind": "javascript-module",
12225
+ "path": "src/divider/divider.stories.ts",
12226
+ "declarations": [
12227
+ {
12228
+ "kind": "variable",
12229
+ "name": "meta",
12230
+ "type": {
12231
+ "text": "Meta"
12232
+ },
12233
+ "default": "{\n title: 'Divider',\n component: 'zero-divider',\n}"
12234
+ },
12235
+ {
12236
+ "kind": "variable",
12237
+ "name": "Primary",
12238
+ "type": {
12239
+ "text": "StoryObj"
12240
+ },
12241
+ "default": "{\n argTypes: {\n orientation: {\n control: 'select',\n options: ['horizontal', 'vertical'],\n },\n role: {\n control: 'select',\n options: ['separator', 'presentation'],\n },\n },\n args: {\n orientation: 'horizontal',\n role: 'separator',\n },\n render: ({ orientation, role }) => html`\n <div\n style=\"display: flex; justify-content:center; width: 100%; ${orientation === 'vertical'\n ? 'flex-direction: row;'\n : 'flex-direction: column;'}\"\n >\n <zero-button style=\"flex: 1;\"></zero-button>\n <zero-divider orientation=\"${orientation}\" role=\"${role}\"></zero-divider>\n <zero-button style=\"flex: 1;\"></zero-button>\n </div>\n `,\n}"
12242
+ }
12243
+ ],
12244
+ "exports": [
12245
+ {
12246
+ "kind": "js",
12247
+ "name": "default",
12248
+ "declaration": {
12249
+ "name": "meta",
12250
+ "module": "src/divider/divider.stories.ts"
12251
+ }
12252
+ },
12253
+ {
12254
+ "kind": "js",
12255
+ "name": "Primary",
12256
+ "declaration": {
12257
+ "name": "Primary",
12258
+ "module": "src/divider/divider.stories.ts"
12259
+ }
12260
+ }
12261
+ ]
12262
+ },
12263
+ {
12264
+ "kind": "javascript-module",
12265
+ "path": "src/divider/divider.styles.ts",
12266
+ "declarations": [
12267
+ {
12268
+ "kind": "function",
12269
+ "name": "zeroDividerStyles",
12270
+ "return": {
12271
+ "type": {
12272
+ "text": "ElementStyles"
12273
+ }
12274
+ },
12275
+ "parameters": [
12276
+ {
12277
+ "name": "context",
12278
+ "type": {
12279
+ "text": "ElementDefinitionContext"
12280
+ }
12281
+ },
12282
+ {
12283
+ "name": "definition",
12284
+ "type": {
12285
+ "text": "FoundationElementDefinition"
12286
+ }
12287
+ }
12288
+ ]
12289
+ }
12290
+ ],
12291
+ "exports": [
12292
+ {
12293
+ "kind": "js",
12294
+ "name": "zeroDividerStyles",
12295
+ "declaration": {
12296
+ "name": "zeroDividerStyles",
12297
+ "module": "src/divider/divider.styles.ts"
12298
+ }
12299
+ }
12300
+ ]
12301
+ },
12302
+ {
12303
+ "kind": "javascript-module",
12304
+ "path": "src/divider/divider.template.ts",
12305
+ "declarations": [
12306
+ {
12307
+ "kind": "function",
12308
+ "name": "zeroDividerTemplate",
12309
+ "return": {
12310
+ "type": {
12311
+ "text": "ViewTemplate<Divider>"
12312
+ }
12313
+ },
12314
+ "parameters": [
12315
+ {
12316
+ "name": "context",
12317
+ "type": {
12318
+ "text": "ElementDefinitionContext"
12319
+ }
12320
+ },
12321
+ {
12322
+ "name": "definition",
12323
+ "type": {
12324
+ "text": "FoundationElementDefinition"
12325
+ }
12326
+ }
12327
+ ]
12328
+ }
12329
+ ],
12330
+ "exports": [
12331
+ {
12332
+ "kind": "js",
12333
+ "name": "zeroDividerTemplate",
12334
+ "declaration": {
12335
+ "name": "zeroDividerTemplate",
12336
+ "module": "src/divider/divider.template.ts"
12337
+ }
12338
+ }
12339
+ ]
12340
+ },
12341
+ {
12342
+ "kind": "javascript-module",
12343
+ "path": "src/divider/divider.ts",
12344
+ "declarations": [
12345
+ {
12346
+ "kind": "class",
12347
+ "description": "",
12348
+ "name": "Divider",
12349
+ "superclass": {
12350
+ "name": "FoundationDivider",
12351
+ "package": "@genesislcap/foundation-ui"
12352
+ },
12353
+ "tagName": "%%prefix%%-divider",
12354
+ "customElement": true
12355
+ },
12356
+ {
12357
+ "kind": "variable",
12358
+ "name": "zeroDivider"
12359
+ }
12360
+ ],
12361
+ "exports": [
12362
+ {
12363
+ "kind": "js",
12364
+ "name": "Divider",
12365
+ "declaration": {
12366
+ "name": "Divider",
12367
+ "module": "src/divider/divider.ts"
12368
+ }
12369
+ },
12370
+ {
12371
+ "kind": "js",
12372
+ "name": "zeroDivider",
12373
+ "declaration": {
12374
+ "name": "zeroDivider",
12375
+ "module": "src/divider/divider.ts"
12376
+ }
12377
+ }
12378
+ ]
12379
+ },
12380
+ {
12381
+ "kind": "javascript-module",
12382
+ "path": "src/divider/index.ts",
12383
+ "declarations": [],
12384
+ "exports": [
12385
+ {
12386
+ "kind": "js",
12387
+ "name": "*",
12388
+ "declaration": {
12389
+ "name": "*",
12390
+ "package": "./divider"
12391
+ }
12392
+ },
12393
+ {
12394
+ "kind": "js",
12395
+ "name": "*",
12396
+ "declaration": {
12397
+ "name": "*",
12398
+ "package": "./divider.styles"
12399
+ }
12400
+ },
12401
+ {
12402
+ "kind": "js",
12403
+ "name": "*",
12404
+ "declaration": {
12405
+ "name": "*",
12406
+ "package": "./divider.template"
12407
+ }
12408
+ }
12409
+ ]
12410
+ },
12411
12411
  {
12412
12412
  "kind": "javascript-module",
12413
12413
  "path": "src/error-banner/error-banner.stories.ts",