@m3e/core 1.3.0 → 1.3.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.
@@ -17,6 +17,105 @@
17
17
  }
18
18
  ]
19
19
  },
20
+ {
21
+ "kind": "javascript-module",
22
+ "path": "src/anchoring/AnchorOptions.ts",
23
+ "declarations": [],
24
+ "exports": []
25
+ },
26
+ {
27
+ "kind": "javascript-module",
28
+ "path": "src/anchoring/AnchorPosition.ts",
29
+ "declarations": [],
30
+ "exports": []
31
+ },
32
+ {
33
+ "kind": "javascript-module",
34
+ "path": "src/anchoring/index.ts",
35
+ "declarations": [],
36
+ "exports": [
37
+ {
38
+ "kind": "js",
39
+ "name": "*",
40
+ "declaration": {
41
+ "name": "*",
42
+ "package": "\"./AnchorOptions\""
43
+ }
44
+ },
45
+ {
46
+ "kind": "js",
47
+ "name": "*",
48
+ "declaration": {
49
+ "name": "*",
50
+ "package": "\"./AnchorPosition\""
51
+ }
52
+ },
53
+ {
54
+ "kind": "js",
55
+ "name": "*",
56
+ "declaration": {
57
+ "name": "*",
58
+ "package": "\"./positionAnchor\""
59
+ }
60
+ }
61
+ ]
62
+ },
63
+ {
64
+ "kind": "javascript-module",
65
+ "path": "src/anchoring/positionAnchor.ts",
66
+ "declarations": [
67
+ {
68
+ "kind": "function",
69
+ "name": "positionAnchor",
70
+ "return": {
71
+ "type": {
72
+ "text": "Promise<() => void>"
73
+ }
74
+ },
75
+ "parameters": [
76
+ {
77
+ "name": "target",
78
+ "type": {
79
+ "text": "HTMLElement"
80
+ },
81
+ "description": "The element to position."
82
+ },
83
+ {
84
+ "name": "anchor",
85
+ "type": {
86
+ "text": "HTMLElement"
87
+ },
88
+ "description": "The element in which to anchor `target`."
89
+ },
90
+ {
91
+ "name": "options",
92
+ "type": {
93
+ "text": "AnchorOptions"
94
+ },
95
+ "description": "Options that control positioning relative to the anchor."
96
+ },
97
+ {
98
+ "name": "update",
99
+ "type": {
100
+ "text": "((x: number, y: number, position: AnchorPosition) => void)"
101
+ },
102
+ "description": "Callback used to position `target`."
103
+ }
104
+ ],
105
+ "description": "Positions an element relative to an anchor element."
106
+ }
107
+ ],
108
+ "exports": [
109
+ {
110
+ "kind": "js",
111
+ "name": "positionAnchor",
112
+ "declaration": {
113
+ "name": "positionAnchor",
114
+ "module": "src/anchoring/positionAnchor.ts"
115
+ }
116
+ }
117
+ ]
118
+ },
20
119
  {
21
120
  "kind": "javascript-module",
22
121
  "path": "src/a11y/aria-reference.ts",
@@ -1002,105 +1101,6 @@
1002
1101
  }
1003
1102
  ]
1004
1103
  },
1005
- {
1006
- "kind": "javascript-module",
1007
- "path": "src/anchoring/AnchorOptions.ts",
1008
- "declarations": [],
1009
- "exports": []
1010
- },
1011
- {
1012
- "kind": "javascript-module",
1013
- "path": "src/anchoring/AnchorPosition.ts",
1014
- "declarations": [],
1015
- "exports": []
1016
- },
1017
- {
1018
- "kind": "javascript-module",
1019
- "path": "src/anchoring/index.ts",
1020
- "declarations": [],
1021
- "exports": [
1022
- {
1023
- "kind": "js",
1024
- "name": "*",
1025
- "declaration": {
1026
- "name": "*",
1027
- "package": "\"./AnchorOptions\""
1028
- }
1029
- },
1030
- {
1031
- "kind": "js",
1032
- "name": "*",
1033
- "declaration": {
1034
- "name": "*",
1035
- "package": "\"./AnchorPosition\""
1036
- }
1037
- },
1038
- {
1039
- "kind": "js",
1040
- "name": "*",
1041
- "declaration": {
1042
- "name": "*",
1043
- "package": "\"./positionAnchor\""
1044
- }
1045
- }
1046
- ]
1047
- },
1048
- {
1049
- "kind": "javascript-module",
1050
- "path": "src/anchoring/positionAnchor.ts",
1051
- "declarations": [
1052
- {
1053
- "kind": "function",
1054
- "name": "positionAnchor",
1055
- "return": {
1056
- "type": {
1057
- "text": "Promise<() => void>"
1058
- }
1059
- },
1060
- "parameters": [
1061
- {
1062
- "name": "target",
1063
- "type": {
1064
- "text": "HTMLElement"
1065
- },
1066
- "description": "The element to position."
1067
- },
1068
- {
1069
- "name": "anchor",
1070
- "type": {
1071
- "text": "HTMLElement"
1072
- },
1073
- "description": "The element in which to anchor `target`."
1074
- },
1075
- {
1076
- "name": "options",
1077
- "type": {
1078
- "text": "AnchorOptions"
1079
- },
1080
- "description": "Options that control positioning relative to the anchor."
1081
- },
1082
- {
1083
- "name": "update",
1084
- "type": {
1085
- "text": "((x: number, y: number, position: AnchorPosition) => void)"
1086
- },
1087
- "description": "Callback used to position `target`."
1088
- }
1089
- ],
1090
- "description": "Positions an element relative to an anchor element."
1091
- }
1092
- ],
1093
- "exports": [
1094
- {
1095
- "kind": "js",
1096
- "name": "positionAnchor",
1097
- "declaration": {
1098
- "name": "positionAnchor",
1099
- "module": "src/anchoring/positionAnchor.ts"
1100
- }
1101
- }
1102
- ]
1103
- },
1104
1104
  {
1105
1105
  "kind": "javascript-module",
1106
1106
  "path": "src/layout/Breakpoint.ts",
@@ -1328,26 +1328,223 @@
1328
1328
  },
1329
1329
  {
1330
1330
  "kind": "js",
1331
- "name": "*",
1331
+ "name": "*",
1332
+ "declaration": {
1333
+ "name": "*",
1334
+ "package": "\"./primitives\""
1335
+ }
1336
+ },
1337
+ {
1338
+ "kind": "js",
1339
+ "name": "*",
1340
+ "declaration": {
1341
+ "name": "*",
1342
+ "package": "\"./tokens\""
1343
+ }
1344
+ },
1345
+ {
1346
+ "kind": "js",
1347
+ "name": "*",
1348
+ "declaration": {
1349
+ "name": "*",
1350
+ "package": "\"./utils\""
1351
+ }
1352
+ }
1353
+ ]
1354
+ },
1355
+ {
1356
+ "kind": "javascript-module",
1357
+ "path": "src/a11y/keycodes/getKeyCode.ts",
1358
+ "declarations": [
1359
+ {
1360
+ "kind": "function",
1361
+ "name": "getKeyCode",
1362
+ "return": {
1363
+ "type": {
1364
+ "text": "number"
1365
+ }
1366
+ },
1367
+ "parameters": [
1368
+ {
1369
+ "name": "e",
1370
+ "type": {
1371
+ "text": "KeyboardEvent"
1372
+ },
1373
+ "description": "The `KeyboardEvent` for which to resolve the key code."
1374
+ }
1375
+ ],
1376
+ "description": "Resolves the key code for the specified `KeyboardEvent`."
1377
+ }
1378
+ ],
1379
+ "exports": [
1380
+ {
1381
+ "kind": "js",
1382
+ "name": "getKeyCode",
1383
+ "declaration": {
1384
+ "name": "getKeyCode",
1385
+ "module": "src/a11y/keycodes/getKeyCode.ts"
1386
+ }
1387
+ }
1388
+ ]
1389
+ },
1390
+ {
1391
+ "kind": "javascript-module",
1392
+ "path": "src/a11y/keycodes/hasModifierKey.ts",
1393
+ "declarations": [
1394
+ {
1395
+ "kind": "function",
1396
+ "name": "hasModifierKey",
1397
+ "return": {
1398
+ "type": {
1399
+ "text": "boolean"
1400
+ }
1401
+ },
1402
+ "parameters": [
1403
+ {
1404
+ "name": "e",
1405
+ "type": {
1406
+ "text": "KeyboardEvent"
1407
+ },
1408
+ "description": "The `KeyboardEvent` to test."
1409
+ },
1410
+ {
1411
+ "name": "modifiers",
1412
+ "type": {
1413
+ "text": "ModifierKey[]"
1414
+ },
1415
+ "description": "The modifier keys to test."
1416
+ }
1417
+ ],
1418
+ "description": "Determines whether a modifier key is pressed."
1419
+ }
1420
+ ],
1421
+ "exports": [
1422
+ {
1423
+ "kind": "js",
1424
+ "name": "hasModifierKey",
1425
+ "declaration": {
1426
+ "name": "hasModifierKey",
1427
+ "module": "src/a11y/keycodes/hasModifierKey.ts"
1428
+ }
1429
+ }
1430
+ ]
1431
+ },
1432
+ {
1433
+ "kind": "javascript-module",
1434
+ "path": "src/a11y/keycodes/index.ts",
1435
+ "declarations": [],
1436
+ "exports": [
1437
+ {
1438
+ "kind": "js",
1439
+ "name": "*",
1440
+ "declaration": {
1441
+ "name": "*",
1442
+ "package": "\"./ModifierKeys\""
1443
+ }
1444
+ },
1445
+ {
1446
+ "kind": "js",
1447
+ "name": "*",
1448
+ "declaration": {
1449
+ "name": "*",
1450
+ "package": "\"./KeyCode\""
1451
+ }
1452
+ },
1453
+ {
1454
+ "kind": "js",
1455
+ "name": "*",
1456
+ "declaration": {
1457
+ "name": "*",
1458
+ "package": "\"./getKeyCode\""
1459
+ }
1460
+ },
1461
+ {
1462
+ "kind": "js",
1463
+ "name": "*",
1464
+ "declaration": {
1465
+ "name": "*",
1466
+ "package": "\"./hasModifierKey\""
1467
+ }
1468
+ },
1469
+ {
1470
+ "kind": "js",
1471
+ "name": "*",
1472
+ "declaration": {
1473
+ "name": "*",
1474
+ "package": "\"./isModifierAllowed\""
1475
+ }
1476
+ }
1477
+ ]
1478
+ },
1479
+ {
1480
+ "kind": "javascript-module",
1481
+ "path": "src/a11y/keycodes/isModifierAllowed.ts",
1482
+ "declarations": [
1483
+ {
1484
+ "kind": "function",
1485
+ "name": "isModifierAllowed",
1486
+ "return": {
1487
+ "type": {
1488
+ "text": "boolean"
1489
+ }
1490
+ },
1491
+ "parameters": [
1492
+ {
1493
+ "name": "e",
1494
+ "type": {
1495
+ "text": "KeyboardEvent"
1496
+ },
1497
+ "description": "The `KeyboardEvent` to test."
1498
+ },
1499
+ {
1500
+ "name": "modifiers",
1501
+ "type": {
1502
+ "text": "ModifierKey[]"
1503
+ },
1504
+ "description": "The allowed modifier keys."
1505
+ }
1506
+ ],
1507
+ "description": "Determines whether the specified modifier keys are allowed."
1508
+ }
1509
+ ],
1510
+ "exports": [
1511
+ {
1512
+ "kind": "js",
1513
+ "name": "isModifierAllowed",
1332
1514
  "declaration": {
1333
- "name": "*",
1334
- "package": "\"./primitives\""
1515
+ "name": "isModifierAllowed",
1516
+ "module": "src/a11y/keycodes/isModifierAllowed.ts"
1335
1517
  }
1336
- },
1518
+ }
1519
+ ]
1520
+ },
1521
+ {
1522
+ "kind": "javascript-module",
1523
+ "path": "src/a11y/keycodes/KeyCode.ts",
1524
+ "declarations": [],
1525
+ "exports": []
1526
+ },
1527
+ {
1528
+ "kind": "javascript-module",
1529
+ "path": "src/a11y/keycodes/ModifierKeys.ts",
1530
+ "declarations": [
1337
1531
  {
1338
- "kind": "js",
1339
- "name": "*",
1340
- "declaration": {
1341
- "name": "*",
1342
- "package": "\"./tokens\""
1343
- }
1344
- },
1532
+ "kind": "variable",
1533
+ "name": "ModifierKeys",
1534
+ "type": {
1535
+ "text": "readonly ModifierKey[]"
1536
+ },
1537
+ "default": "[\"alt\", \"shift\", \"ctrl\", \"meta\"]",
1538
+ "description": "The modifier keys."
1539
+ }
1540
+ ],
1541
+ "exports": [
1345
1542
  {
1346
1543
  "kind": "js",
1347
- "name": "*",
1544
+ "name": "ModifierKeys",
1348
1545
  "declaration": {
1349
- "name": "*",
1350
- "package": "\"./utils\""
1546
+ "name": "ModifierKeys",
1547
+ "module": "src/a11y/keycodes/ModifierKeys.ts"
1351
1548
  }
1352
1549
  }
1353
1550
  ]
@@ -5318,203 +5515,6 @@
5318
5515
  }
5319
5516
  ]
5320
5517
  },
5321
- {
5322
- "kind": "javascript-module",
5323
- "path": "src/a11y/keycodes/getKeyCode.ts",
5324
- "declarations": [
5325
- {
5326
- "kind": "function",
5327
- "name": "getKeyCode",
5328
- "return": {
5329
- "type": {
5330
- "text": "number"
5331
- }
5332
- },
5333
- "parameters": [
5334
- {
5335
- "name": "e",
5336
- "type": {
5337
- "text": "KeyboardEvent"
5338
- },
5339
- "description": "The `KeyboardEvent` for which to resolve the key code."
5340
- }
5341
- ],
5342
- "description": "Resolves the key code for the specified `KeyboardEvent`."
5343
- }
5344
- ],
5345
- "exports": [
5346
- {
5347
- "kind": "js",
5348
- "name": "getKeyCode",
5349
- "declaration": {
5350
- "name": "getKeyCode",
5351
- "module": "src/a11y/keycodes/getKeyCode.ts"
5352
- }
5353
- }
5354
- ]
5355
- },
5356
- {
5357
- "kind": "javascript-module",
5358
- "path": "src/a11y/keycodes/hasModifierKey.ts",
5359
- "declarations": [
5360
- {
5361
- "kind": "function",
5362
- "name": "hasModifierKey",
5363
- "return": {
5364
- "type": {
5365
- "text": "boolean"
5366
- }
5367
- },
5368
- "parameters": [
5369
- {
5370
- "name": "e",
5371
- "type": {
5372
- "text": "KeyboardEvent"
5373
- },
5374
- "description": "The `KeyboardEvent` to test."
5375
- },
5376
- {
5377
- "name": "modifiers",
5378
- "type": {
5379
- "text": "ModifierKey[]"
5380
- },
5381
- "description": "The modifier keys to test."
5382
- }
5383
- ],
5384
- "description": "Determines whether a modifier key is pressed."
5385
- }
5386
- ],
5387
- "exports": [
5388
- {
5389
- "kind": "js",
5390
- "name": "hasModifierKey",
5391
- "declaration": {
5392
- "name": "hasModifierKey",
5393
- "module": "src/a11y/keycodes/hasModifierKey.ts"
5394
- }
5395
- }
5396
- ]
5397
- },
5398
- {
5399
- "kind": "javascript-module",
5400
- "path": "src/a11y/keycodes/index.ts",
5401
- "declarations": [],
5402
- "exports": [
5403
- {
5404
- "kind": "js",
5405
- "name": "*",
5406
- "declaration": {
5407
- "name": "*",
5408
- "package": "\"./ModifierKeys\""
5409
- }
5410
- },
5411
- {
5412
- "kind": "js",
5413
- "name": "*",
5414
- "declaration": {
5415
- "name": "*",
5416
- "package": "\"./KeyCode\""
5417
- }
5418
- },
5419
- {
5420
- "kind": "js",
5421
- "name": "*",
5422
- "declaration": {
5423
- "name": "*",
5424
- "package": "\"./getKeyCode\""
5425
- }
5426
- },
5427
- {
5428
- "kind": "js",
5429
- "name": "*",
5430
- "declaration": {
5431
- "name": "*",
5432
- "package": "\"./hasModifierKey\""
5433
- }
5434
- },
5435
- {
5436
- "kind": "js",
5437
- "name": "*",
5438
- "declaration": {
5439
- "name": "*",
5440
- "package": "\"./isModifierAllowed\""
5441
- }
5442
- }
5443
- ]
5444
- },
5445
- {
5446
- "kind": "javascript-module",
5447
- "path": "src/a11y/keycodes/isModifierAllowed.ts",
5448
- "declarations": [
5449
- {
5450
- "kind": "function",
5451
- "name": "isModifierAllowed",
5452
- "return": {
5453
- "type": {
5454
- "text": "boolean"
5455
- }
5456
- },
5457
- "parameters": [
5458
- {
5459
- "name": "e",
5460
- "type": {
5461
- "text": "KeyboardEvent"
5462
- },
5463
- "description": "The `KeyboardEvent` to test."
5464
- },
5465
- {
5466
- "name": "modifiers",
5467
- "type": {
5468
- "text": "ModifierKey[]"
5469
- },
5470
- "description": "The allowed modifier keys."
5471
- }
5472
- ],
5473
- "description": "Determines whether the specified modifier keys are allowed."
5474
- }
5475
- ],
5476
- "exports": [
5477
- {
5478
- "kind": "js",
5479
- "name": "isModifierAllowed",
5480
- "declaration": {
5481
- "name": "isModifierAllowed",
5482
- "module": "src/a11y/keycodes/isModifierAllowed.ts"
5483
- }
5484
- }
5485
- ]
5486
- },
5487
- {
5488
- "kind": "javascript-module",
5489
- "path": "src/a11y/keycodes/KeyCode.ts",
5490
- "declarations": [],
5491
- "exports": []
5492
- },
5493
- {
5494
- "kind": "javascript-module",
5495
- "path": "src/a11y/keycodes/ModifierKeys.ts",
5496
- "declarations": [
5497
- {
5498
- "kind": "variable",
5499
- "name": "ModifierKeys",
5500
- "type": {
5501
- "text": "readonly ModifierKey[]"
5502
- },
5503
- "default": "[\"alt\", \"shift\", \"ctrl\", \"meta\"]",
5504
- "description": "The modifier keys."
5505
- }
5506
- ],
5507
- "exports": [
5508
- {
5509
- "kind": "js",
5510
- "name": "ModifierKeys",
5511
- "declaration": {
5512
- "name": "ModifierKeys",
5513
- "module": "src/a11y/keycodes/ModifierKeys.ts"
5514
- }
5515
- }
5516
- ]
5517
- },
5518
5518
  {
5519
5519
  "kind": "javascript-module",
5520
5520
  "path": "src/shared/controllers/AnimationLoopController.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m3e/core",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "Core for M3E",
5
5
  "author": "matraic <matraic@yahoo.com>",
6
6
  "license": "MIT",