@m3e/core 1.2.2 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/a11y.js +5 -2
- package/dist/a11y.js.map +1 -1
- package/dist/a11y.min.js +7 -7
- package/dist/a11y.min.js.map +1 -1
- package/dist/custom-elements.json +508 -215
- package/dist/index.js +143 -2
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +9 -10
- package/dist/index.min.js.map +1 -1
- package/dist/src/a11y/FocusTrapElement.d.ts.map +1 -1
- package/dist/src/shared/controllers/ScrollLockController.d.ts +16 -0
- package/dist/src/shared/controllers/ScrollLockController.d.ts.map +1 -0
- package/dist/src/shared/controllers/index.d.ts +1 -0
- package/dist/src/shared/controllers/index.d.ts.map +1 -1
- package/dist/src/shared/converters/index.d.ts +2 -0
- package/dist/src/shared/converters/index.d.ts.map +1 -0
- package/dist/src/shared/converters/spaceSeparatedStringConverter.d.ts +4 -0
- package/dist/src/shared/converters/spaceSeparatedStringConverter.d.ts.map +1 -0
- package/dist/src/shared/index.d.ts +1 -0
- package/dist/src/shared/index.d.ts.map +1 -1
- package/dist/src/shared/utils/VelocityTracker.d.ts +22 -0
- package/dist/src/shared/utils/VelocityTracker.d.ts.map +1 -0
- package/dist/src/shared/utils/computeCssSize.d.ts +8 -0
- package/dist/src/shared/utils/computeCssSize.d.ts.map +1 -0
- package/dist/src/shared/utils/focusWhenReady.d.ts.map +1 -1
- package/dist/src/shared/utils/index.d.ts +2 -0
- package/dist/src/shared/utils/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1299,23 +1299,7 @@
|
|
|
1299
1299
|
"name": "*",
|
|
1300
1300
|
"declaration": {
|
|
1301
1301
|
"name": "*",
|
|
1302
|
-
"package": "\"./
|
|
1303
|
-
}
|
|
1304
|
-
},
|
|
1305
|
-
{
|
|
1306
|
-
"kind": "js",
|
|
1307
|
-
"name": "*",
|
|
1308
|
-
"declaration": {
|
|
1309
|
-
"name": "*",
|
|
1310
|
-
"package": "\"./directives\""
|
|
1311
|
-
}
|
|
1312
|
-
},
|
|
1313
|
-
{
|
|
1314
|
-
"kind": "js",
|
|
1315
|
-
"name": "*",
|
|
1316
|
-
"declaration": {
|
|
1317
|
-
"name": "*",
|
|
1318
|
-
"package": "\"./mixins\""
|
|
1302
|
+
"package": "\"./converters\""
|
|
1319
1303
|
}
|
|
1320
1304
|
},
|
|
1321
1305
|
{
|
|
@@ -1323,15 +1307,7 @@
|
|
|
1323
1307
|
"name": "*",
|
|
1324
1308
|
"declaration": {
|
|
1325
1309
|
"name": "*",
|
|
1326
|
-
"package": "\"./
|
|
1327
|
-
}
|
|
1328
|
-
},
|
|
1329
|
-
{
|
|
1330
|
-
"kind": "js",
|
|
1331
|
-
"name": "*",
|
|
1332
|
-
"declaration": {
|
|
1333
|
-
"name": "*",
|
|
1334
|
-
"package": "\"./tokens\""
|
|
1310
|
+
"package": "\"./decorators\""
|
|
1335
1311
|
}
|
|
1336
1312
|
},
|
|
1337
1313
|
{
|
|
@@ -1339,99 +1315,7 @@
|
|
|
1339
1315
|
"name": "*",
|
|
1340
1316
|
"declaration": {
|
|
1341
1317
|
"name": "*",
|
|
1342
|
-
"package": "\"./
|
|
1343
|
-
}
|
|
1344
|
-
}
|
|
1345
|
-
]
|
|
1346
|
-
},
|
|
1347
|
-
{
|
|
1348
|
-
"kind": "javascript-module",
|
|
1349
|
-
"path": "src/a11y/keycodes/getKeyCode.ts",
|
|
1350
|
-
"declarations": [
|
|
1351
|
-
{
|
|
1352
|
-
"kind": "function",
|
|
1353
|
-
"name": "getKeyCode",
|
|
1354
|
-
"return": {
|
|
1355
|
-
"type": {
|
|
1356
|
-
"text": "number"
|
|
1357
|
-
}
|
|
1358
|
-
},
|
|
1359
|
-
"parameters": [
|
|
1360
|
-
{
|
|
1361
|
-
"name": "e",
|
|
1362
|
-
"type": {
|
|
1363
|
-
"text": "KeyboardEvent"
|
|
1364
|
-
},
|
|
1365
|
-
"description": "The `KeyboardEvent` for which to resolve the key code."
|
|
1366
|
-
}
|
|
1367
|
-
],
|
|
1368
|
-
"description": "Resolves the key code for the specified `KeyboardEvent`."
|
|
1369
|
-
}
|
|
1370
|
-
],
|
|
1371
|
-
"exports": [
|
|
1372
|
-
{
|
|
1373
|
-
"kind": "js",
|
|
1374
|
-
"name": "getKeyCode",
|
|
1375
|
-
"declaration": {
|
|
1376
|
-
"name": "getKeyCode",
|
|
1377
|
-
"module": "src/a11y/keycodes/getKeyCode.ts"
|
|
1378
|
-
}
|
|
1379
|
-
}
|
|
1380
|
-
]
|
|
1381
|
-
},
|
|
1382
|
-
{
|
|
1383
|
-
"kind": "javascript-module",
|
|
1384
|
-
"path": "src/a11y/keycodes/hasModifierKey.ts",
|
|
1385
|
-
"declarations": [
|
|
1386
|
-
{
|
|
1387
|
-
"kind": "function",
|
|
1388
|
-
"name": "hasModifierKey",
|
|
1389
|
-
"return": {
|
|
1390
|
-
"type": {
|
|
1391
|
-
"text": "boolean"
|
|
1392
|
-
}
|
|
1393
|
-
},
|
|
1394
|
-
"parameters": [
|
|
1395
|
-
{
|
|
1396
|
-
"name": "e",
|
|
1397
|
-
"type": {
|
|
1398
|
-
"text": "KeyboardEvent"
|
|
1399
|
-
},
|
|
1400
|
-
"description": "The `KeyboardEvent` to test."
|
|
1401
|
-
},
|
|
1402
|
-
{
|
|
1403
|
-
"name": "modifiers",
|
|
1404
|
-
"type": {
|
|
1405
|
-
"text": "ModifierKey[]"
|
|
1406
|
-
},
|
|
1407
|
-
"description": "The modifier keys to test."
|
|
1408
|
-
}
|
|
1409
|
-
],
|
|
1410
|
-
"description": "Determines whether a modifier key is pressed."
|
|
1411
|
-
}
|
|
1412
|
-
],
|
|
1413
|
-
"exports": [
|
|
1414
|
-
{
|
|
1415
|
-
"kind": "js",
|
|
1416
|
-
"name": "hasModifierKey",
|
|
1417
|
-
"declaration": {
|
|
1418
|
-
"name": "hasModifierKey",
|
|
1419
|
-
"module": "src/a11y/keycodes/hasModifierKey.ts"
|
|
1420
|
-
}
|
|
1421
|
-
}
|
|
1422
|
-
]
|
|
1423
|
-
},
|
|
1424
|
-
{
|
|
1425
|
-
"kind": "javascript-module",
|
|
1426
|
-
"path": "src/a11y/keycodes/index.ts",
|
|
1427
|
-
"declarations": [],
|
|
1428
|
-
"exports": [
|
|
1429
|
-
{
|
|
1430
|
-
"kind": "js",
|
|
1431
|
-
"name": "*",
|
|
1432
|
-
"declaration": {
|
|
1433
|
-
"name": "*",
|
|
1434
|
-
"package": "\"./ModifierKeys\""
|
|
1318
|
+
"package": "\"./directives\""
|
|
1435
1319
|
}
|
|
1436
1320
|
},
|
|
1437
1321
|
{
|
|
@@ -1439,7 +1323,7 @@
|
|
|
1439
1323
|
"name": "*",
|
|
1440
1324
|
"declaration": {
|
|
1441
1325
|
"name": "*",
|
|
1442
|
-
"package": "\"./
|
|
1326
|
+
"package": "\"./mixins\""
|
|
1443
1327
|
}
|
|
1444
1328
|
},
|
|
1445
1329
|
{
|
|
@@ -1447,7 +1331,7 @@
|
|
|
1447
1331
|
"name": "*",
|
|
1448
1332
|
"declaration": {
|
|
1449
1333
|
"name": "*",
|
|
1450
|
-
"package": "\"./
|
|
1334
|
+
"package": "\"./primitives\""
|
|
1451
1335
|
}
|
|
1452
1336
|
},
|
|
1453
1337
|
{
|
|
@@ -1455,7 +1339,7 @@
|
|
|
1455
1339
|
"name": "*",
|
|
1456
1340
|
"declaration": {
|
|
1457
1341
|
"name": "*",
|
|
1458
|
-
"package": "\"./
|
|
1342
|
+
"package": "\"./tokens\""
|
|
1459
1343
|
}
|
|
1460
1344
|
},
|
|
1461
1345
|
{
|
|
@@ -1463,80 +1347,7 @@
|
|
|
1463
1347
|
"name": "*",
|
|
1464
1348
|
"declaration": {
|
|
1465
1349
|
"name": "*",
|
|
1466
|
-
"package": "\"./
|
|
1467
|
-
}
|
|
1468
|
-
}
|
|
1469
|
-
]
|
|
1470
|
-
},
|
|
1471
|
-
{
|
|
1472
|
-
"kind": "javascript-module",
|
|
1473
|
-
"path": "src/a11y/keycodes/isModifierAllowed.ts",
|
|
1474
|
-
"declarations": [
|
|
1475
|
-
{
|
|
1476
|
-
"kind": "function",
|
|
1477
|
-
"name": "isModifierAllowed",
|
|
1478
|
-
"return": {
|
|
1479
|
-
"type": {
|
|
1480
|
-
"text": "boolean"
|
|
1481
|
-
}
|
|
1482
|
-
},
|
|
1483
|
-
"parameters": [
|
|
1484
|
-
{
|
|
1485
|
-
"name": "e",
|
|
1486
|
-
"type": {
|
|
1487
|
-
"text": "KeyboardEvent"
|
|
1488
|
-
},
|
|
1489
|
-
"description": "The `KeyboardEvent` to test."
|
|
1490
|
-
},
|
|
1491
|
-
{
|
|
1492
|
-
"name": "modifiers",
|
|
1493
|
-
"type": {
|
|
1494
|
-
"text": "ModifierKey[]"
|
|
1495
|
-
},
|
|
1496
|
-
"description": "The allowed modifier keys."
|
|
1497
|
-
}
|
|
1498
|
-
],
|
|
1499
|
-
"description": "Determines whether the specified modifier keys are allowed."
|
|
1500
|
-
}
|
|
1501
|
-
],
|
|
1502
|
-
"exports": [
|
|
1503
|
-
{
|
|
1504
|
-
"kind": "js",
|
|
1505
|
-
"name": "isModifierAllowed",
|
|
1506
|
-
"declaration": {
|
|
1507
|
-
"name": "isModifierAllowed",
|
|
1508
|
-
"module": "src/a11y/keycodes/isModifierAllowed.ts"
|
|
1509
|
-
}
|
|
1510
|
-
}
|
|
1511
|
-
]
|
|
1512
|
-
},
|
|
1513
|
-
{
|
|
1514
|
-
"kind": "javascript-module",
|
|
1515
|
-
"path": "src/a11y/keycodes/KeyCode.ts",
|
|
1516
|
-
"declarations": [],
|
|
1517
|
-
"exports": []
|
|
1518
|
-
},
|
|
1519
|
-
{
|
|
1520
|
-
"kind": "javascript-module",
|
|
1521
|
-
"path": "src/a11y/keycodes/ModifierKeys.ts",
|
|
1522
|
-
"declarations": [
|
|
1523
|
-
{
|
|
1524
|
-
"kind": "variable",
|
|
1525
|
-
"name": "ModifierKeys",
|
|
1526
|
-
"type": {
|
|
1527
|
-
"text": "readonly ModifierKey[]"
|
|
1528
|
-
},
|
|
1529
|
-
"default": "[\"alt\", \"shift\", \"ctrl\", \"meta\"]",
|
|
1530
|
-
"description": "The modifier keys."
|
|
1531
|
-
}
|
|
1532
|
-
],
|
|
1533
|
-
"exports": [
|
|
1534
|
-
{
|
|
1535
|
-
"kind": "js",
|
|
1536
|
-
"name": "ModifierKeys",
|
|
1537
|
-
"declaration": {
|
|
1538
|
-
"name": "ModifierKeys",
|
|
1539
|
-
"module": "src/a11y/keycodes/ModifierKeys.ts"
|
|
1350
|
+
"package": "\"./utils\""
|
|
1540
1351
|
}
|
|
1541
1352
|
}
|
|
1542
1353
|
]
|
|
@@ -5483,26 +5294,223 @@
|
|
|
5483
5294
|
"exports": [
|
|
5484
5295
|
{
|
|
5485
5296
|
"kind": "js",
|
|
5486
|
-
"name": "typeaheadLabel",
|
|
5487
|
-
"declaration": {
|
|
5488
|
-
"name": "typeaheadLabel",
|
|
5489
|
-
"module": "src/a11y/list-key/Typeahead.ts"
|
|
5490
|
-
}
|
|
5491
|
-
},
|
|
5492
|
-
{
|
|
5493
|
-
"kind": "js",
|
|
5494
|
-
"name": "isTypeaheadItem",
|
|
5495
|
-
"declaration": {
|
|
5496
|
-
"name": "isTypeaheadItem",
|
|
5497
|
-
"module": "src/a11y/list-key/Typeahead.ts"
|
|
5498
|
-
}
|
|
5499
|
-
},
|
|
5500
|
-
{
|
|
5501
|
-
"kind": "js",
|
|
5502
|
-
"name": "Typeahead",
|
|
5297
|
+
"name": "typeaheadLabel",
|
|
5298
|
+
"declaration": {
|
|
5299
|
+
"name": "typeaheadLabel",
|
|
5300
|
+
"module": "src/a11y/list-key/Typeahead.ts"
|
|
5301
|
+
}
|
|
5302
|
+
},
|
|
5303
|
+
{
|
|
5304
|
+
"kind": "js",
|
|
5305
|
+
"name": "isTypeaheadItem",
|
|
5306
|
+
"declaration": {
|
|
5307
|
+
"name": "isTypeaheadItem",
|
|
5308
|
+
"module": "src/a11y/list-key/Typeahead.ts"
|
|
5309
|
+
}
|
|
5310
|
+
},
|
|
5311
|
+
{
|
|
5312
|
+
"kind": "js",
|
|
5313
|
+
"name": "Typeahead",
|
|
5314
|
+
"declaration": {
|
|
5315
|
+
"name": "Typeahead",
|
|
5316
|
+
"module": "src/a11y/list-key/Typeahead.ts"
|
|
5317
|
+
}
|
|
5318
|
+
}
|
|
5319
|
+
]
|
|
5320
|
+
},
|
|
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",
|
|
5503
5511
|
"declaration": {
|
|
5504
|
-
"name": "
|
|
5505
|
-
"module": "src/a11y/
|
|
5512
|
+
"name": "ModifierKeys",
|
|
5513
|
+
"module": "src/a11y/keycodes/ModifierKeys.ts"
|
|
5506
5514
|
}
|
|
5507
5515
|
}
|
|
5508
5516
|
]
|
|
@@ -6431,6 +6439,14 @@
|
|
|
6431
6439
|
"name": "*",
|
|
6432
6440
|
"package": "\"./ScrollController\""
|
|
6433
6441
|
}
|
|
6442
|
+
},
|
|
6443
|
+
{
|
|
6444
|
+
"kind": "js",
|
|
6445
|
+
"name": "*",
|
|
6446
|
+
"declaration": {
|
|
6447
|
+
"name": "*",
|
|
6448
|
+
"package": "\"./ScrollLockController\""
|
|
6449
|
+
}
|
|
6434
6450
|
}
|
|
6435
6451
|
]
|
|
6436
6452
|
},
|
|
@@ -8575,6 +8591,134 @@
|
|
|
8575
8591
|
}
|
|
8576
8592
|
]
|
|
8577
8593
|
},
|
|
8594
|
+
{
|
|
8595
|
+
"kind": "javascript-module",
|
|
8596
|
+
"path": "src/shared/controllers/ScrollLockController.ts",
|
|
8597
|
+
"declarations": [
|
|
8598
|
+
{
|
|
8599
|
+
"kind": "class",
|
|
8600
|
+
"description": "A `ReactiveController` that provides safe, predictable scroll locking for modal UI\r\nsurfaces (dialogs, bottom sheets, overlays).",
|
|
8601
|
+
"name": "ScrollLockController",
|
|
8602
|
+
"members": [
|
|
8603
|
+
{
|
|
8604
|
+
"kind": "field",
|
|
8605
|
+
"name": "#locked",
|
|
8606
|
+
"privacy": "private",
|
|
8607
|
+
"type": {
|
|
8608
|
+
"text": "boolean"
|
|
8609
|
+
},
|
|
8610
|
+
"default": "false"
|
|
8611
|
+
},
|
|
8612
|
+
{
|
|
8613
|
+
"kind": "field",
|
|
8614
|
+
"name": "#scrollTop",
|
|
8615
|
+
"privacy": "private",
|
|
8616
|
+
"type": {
|
|
8617
|
+
"text": "number"
|
|
8618
|
+
},
|
|
8619
|
+
"default": "0"
|
|
8620
|
+
},
|
|
8621
|
+
{
|
|
8622
|
+
"kind": "field",
|
|
8623
|
+
"name": "#scrollLeft",
|
|
8624
|
+
"privacy": "private",
|
|
8625
|
+
"type": {
|
|
8626
|
+
"text": "number"
|
|
8627
|
+
},
|
|
8628
|
+
"default": "0"
|
|
8629
|
+
},
|
|
8630
|
+
{
|
|
8631
|
+
"kind": "field",
|
|
8632
|
+
"name": "#previousOverflow",
|
|
8633
|
+
"privacy": "private",
|
|
8634
|
+
"type": {
|
|
8635
|
+
"text": "string"
|
|
8636
|
+
},
|
|
8637
|
+
"default": "\"\""
|
|
8638
|
+
},
|
|
8639
|
+
{
|
|
8640
|
+
"kind": "field",
|
|
8641
|
+
"name": "#previousScrollbarGutter",
|
|
8642
|
+
"privacy": "private",
|
|
8643
|
+
"type": {
|
|
8644
|
+
"text": "string"
|
|
8645
|
+
},
|
|
8646
|
+
"default": "\"\""
|
|
8647
|
+
},
|
|
8648
|
+
{
|
|
8649
|
+
"kind": "method",
|
|
8650
|
+
"name": "#isVerticallyScrollable",
|
|
8651
|
+
"privacy": "private",
|
|
8652
|
+
"description": "Returns true if the document is vertically scrollable."
|
|
8653
|
+
},
|
|
8654
|
+
{
|
|
8655
|
+
"kind": "method",
|
|
8656
|
+
"name": "lock",
|
|
8657
|
+
"description": "Locks document scrolling only if scroll actually exists."
|
|
8658
|
+
},
|
|
8659
|
+
{
|
|
8660
|
+
"kind": "method",
|
|
8661
|
+
"name": "unlock",
|
|
8662
|
+
"description": "Unlocks document scrolling and restores the previous state."
|
|
8663
|
+
},
|
|
8664
|
+
{
|
|
8665
|
+
"kind": "method",
|
|
8666
|
+
"name": "hostDisconnected"
|
|
8667
|
+
}
|
|
8668
|
+
]
|
|
8669
|
+
}
|
|
8670
|
+
],
|
|
8671
|
+
"exports": [
|
|
8672
|
+
{
|
|
8673
|
+
"kind": "js",
|
|
8674
|
+
"name": "ScrollLockController",
|
|
8675
|
+
"declaration": {
|
|
8676
|
+
"name": "ScrollLockController",
|
|
8677
|
+
"module": "src/shared/controllers/ScrollLockController.ts"
|
|
8678
|
+
}
|
|
8679
|
+
}
|
|
8680
|
+
]
|
|
8681
|
+
},
|
|
8682
|
+
{
|
|
8683
|
+
"kind": "javascript-module",
|
|
8684
|
+
"path": "src/shared/converters/index.ts",
|
|
8685
|
+
"declarations": [],
|
|
8686
|
+
"exports": [
|
|
8687
|
+
{
|
|
8688
|
+
"kind": "js",
|
|
8689
|
+
"name": "*",
|
|
8690
|
+
"declaration": {
|
|
8691
|
+
"name": "*",
|
|
8692
|
+
"package": "\"./spaceSeparatedStringConverter\""
|
|
8693
|
+
}
|
|
8694
|
+
}
|
|
8695
|
+
]
|
|
8696
|
+
},
|
|
8697
|
+
{
|
|
8698
|
+
"kind": "javascript-module",
|
|
8699
|
+
"path": "src/shared/converters/spaceSeparatedStringConverter.ts",
|
|
8700
|
+
"declarations": [
|
|
8701
|
+
{
|
|
8702
|
+
"kind": "variable",
|
|
8703
|
+
"name": "spaceSeparatedStringConverter",
|
|
8704
|
+
"type": {
|
|
8705
|
+
"text": "ComplexAttributeConverter<string[], string | null>"
|
|
8706
|
+
},
|
|
8707
|
+
"default": "{ fromAttribute(value: string | null): string[] { if (!value) return []; return value .split(/\\s+/) .map((d) => d.trim()) .filter(Boolean); }, toAttribute(value: string[]): string { return value.join(\" \"); }, }",
|
|
8708
|
+
"description": "Converts a space-separated attribute in to an array of strings."
|
|
8709
|
+
}
|
|
8710
|
+
],
|
|
8711
|
+
"exports": [
|
|
8712
|
+
{
|
|
8713
|
+
"kind": "js",
|
|
8714
|
+
"name": "spaceSeparatedStringConverter",
|
|
8715
|
+
"declaration": {
|
|
8716
|
+
"name": "spaceSeparatedStringConverter",
|
|
8717
|
+
"module": "src/shared/converters/spaceSeparatedStringConverter.ts"
|
|
8718
|
+
}
|
|
8719
|
+
}
|
|
8720
|
+
]
|
|
8721
|
+
},
|
|
8578
8722
|
{
|
|
8579
8723
|
"kind": "javascript-module",
|
|
8580
8724
|
"path": "src/shared/decorators/debounce.ts",
|
|
@@ -13956,6 +14100,48 @@
|
|
|
13956
14100
|
}
|
|
13957
14101
|
]
|
|
13958
14102
|
},
|
|
14103
|
+
{
|
|
14104
|
+
"kind": "javascript-module",
|
|
14105
|
+
"path": "src/shared/utils/computeCssSize.ts",
|
|
14106
|
+
"declarations": [
|
|
14107
|
+
{
|
|
14108
|
+
"kind": "function",
|
|
14109
|
+
"name": "computeCssSize",
|
|
14110
|
+
"return": {
|
|
14111
|
+
"type": {
|
|
14112
|
+
"text": "number"
|
|
14113
|
+
}
|
|
14114
|
+
},
|
|
14115
|
+
"parameters": [
|
|
14116
|
+
{
|
|
14117
|
+
"name": "host",
|
|
14118
|
+
"type": {
|
|
14119
|
+
"text": "HTMLElement"
|
|
14120
|
+
},
|
|
14121
|
+
"description": "The element whose coordinate system and CSS variables should be used to resolve the expression."
|
|
14122
|
+
},
|
|
14123
|
+
{
|
|
14124
|
+
"name": "expression",
|
|
14125
|
+
"type": {
|
|
14126
|
+
"text": "string"
|
|
14127
|
+
},
|
|
14128
|
+
"description": "The CSS expression to evaluate."
|
|
14129
|
+
}
|
|
14130
|
+
],
|
|
14131
|
+
"description": "Computes a CSS size expression (var(), %, rem, calc(), etc.) relative to the given host element."
|
|
14132
|
+
}
|
|
14133
|
+
],
|
|
14134
|
+
"exports": [
|
|
14135
|
+
{
|
|
14136
|
+
"kind": "js",
|
|
14137
|
+
"name": "computeCssSize",
|
|
14138
|
+
"declaration": {
|
|
14139
|
+
"name": "computeCssSize",
|
|
14140
|
+
"module": "src/shared/utils/computeCssSize.ts"
|
|
14141
|
+
}
|
|
14142
|
+
}
|
|
14143
|
+
]
|
|
14144
|
+
},
|
|
13959
14145
|
{
|
|
13960
14146
|
"kind": "javascript-module",
|
|
13961
14147
|
"path": "src/shared/utils/computeLineCount.ts",
|
|
@@ -14213,6 +14399,14 @@
|
|
|
14213
14399
|
"path": "src/shared/utils/index.ts",
|
|
14214
14400
|
"declarations": [],
|
|
14215
14401
|
"exports": [
|
|
14402
|
+
{
|
|
14403
|
+
"kind": "js",
|
|
14404
|
+
"name": "*",
|
|
14405
|
+
"declaration": {
|
|
14406
|
+
"name": "*",
|
|
14407
|
+
"package": "\"./computeCssSize\""
|
|
14408
|
+
}
|
|
14409
|
+
},
|
|
14216
14410
|
{
|
|
14217
14411
|
"kind": "js",
|
|
14218
14412
|
"name": "*",
|
|
@@ -14308,6 +14502,14 @@
|
|
|
14308
14502
|
"name": "*",
|
|
14309
14503
|
"package": "\"./scrollIntoViewIfNeeded\""
|
|
14310
14504
|
}
|
|
14505
|
+
},
|
|
14506
|
+
{
|
|
14507
|
+
"kind": "js",
|
|
14508
|
+
"name": "*",
|
|
14509
|
+
"declaration": {
|
|
14510
|
+
"name": "*",
|
|
14511
|
+
"package": "\"./VelocityTracker\""
|
|
14512
|
+
}
|
|
14311
14513
|
}
|
|
14312
14514
|
]
|
|
14313
14515
|
},
|
|
@@ -14513,6 +14715,97 @@
|
|
|
14513
14715
|
}
|
|
14514
14716
|
}
|
|
14515
14717
|
]
|
|
14718
|
+
},
|
|
14719
|
+
{
|
|
14720
|
+
"kind": "javascript-module",
|
|
14721
|
+
"path": "src/shared/utils/VelocityTracker.ts",
|
|
14722
|
+
"declarations": [
|
|
14723
|
+
{
|
|
14724
|
+
"kind": "class",
|
|
14725
|
+
"description": "Utility for computing gesture velocity over a rolling time window.",
|
|
14726
|
+
"name": "VelocityTracker",
|
|
14727
|
+
"members": [
|
|
14728
|
+
{
|
|
14729
|
+
"kind": "field",
|
|
14730
|
+
"name": "#samples",
|
|
14731
|
+
"privacy": "private",
|
|
14732
|
+
"type": {
|
|
14733
|
+
"text": "Array<{ y: number; t: number }>"
|
|
14734
|
+
},
|
|
14735
|
+
"readonly": true,
|
|
14736
|
+
"default": "[]"
|
|
14737
|
+
},
|
|
14738
|
+
{
|
|
14739
|
+
"kind": "field",
|
|
14740
|
+
"name": "#windowMs",
|
|
14741
|
+
"privacy": "private",
|
|
14742
|
+
"type": {
|
|
14743
|
+
"text": "number"
|
|
14744
|
+
},
|
|
14745
|
+
"readonly": true,
|
|
14746
|
+
"default": "windowMs"
|
|
14747
|
+
},
|
|
14748
|
+
{
|
|
14749
|
+
"kind": "method",
|
|
14750
|
+
"name": "add",
|
|
14751
|
+
"return": {
|
|
14752
|
+
"type": {
|
|
14753
|
+
"text": "void"
|
|
14754
|
+
}
|
|
14755
|
+
},
|
|
14756
|
+
"parameters": [
|
|
14757
|
+
{
|
|
14758
|
+
"name": "value",
|
|
14759
|
+
"type": {
|
|
14760
|
+
"text": "number"
|
|
14761
|
+
},
|
|
14762
|
+
"description": "The value in pixels."
|
|
14763
|
+
},
|
|
14764
|
+
{
|
|
14765
|
+
"name": "timestamp",
|
|
14766
|
+
"default": "performance.now()",
|
|
14767
|
+
"type": {
|
|
14768
|
+
"text": "number"
|
|
14769
|
+
},
|
|
14770
|
+
"description": "The timestamp when `value` changed.",
|
|
14771
|
+
"optional": true
|
|
14772
|
+
}
|
|
14773
|
+
],
|
|
14774
|
+
"description": "Adds a new sample to the tracker."
|
|
14775
|
+
},
|
|
14776
|
+
{
|
|
14777
|
+
"kind": "method",
|
|
14778
|
+
"name": "getVelocity",
|
|
14779
|
+
"return": {
|
|
14780
|
+
"type": {
|
|
14781
|
+
"text": ""
|
|
14782
|
+
}
|
|
14783
|
+
},
|
|
14784
|
+
"description": "Computes the current velocity in px/s."
|
|
14785
|
+
},
|
|
14786
|
+
{
|
|
14787
|
+
"kind": "method",
|
|
14788
|
+
"name": "reset",
|
|
14789
|
+
"return": {
|
|
14790
|
+
"type": {
|
|
14791
|
+
"text": "void"
|
|
14792
|
+
}
|
|
14793
|
+
},
|
|
14794
|
+
"description": "Clears all stored samples."
|
|
14795
|
+
}
|
|
14796
|
+
]
|
|
14797
|
+
}
|
|
14798
|
+
],
|
|
14799
|
+
"exports": [
|
|
14800
|
+
{
|
|
14801
|
+
"kind": "js",
|
|
14802
|
+
"name": "VelocityTracker",
|
|
14803
|
+
"declaration": {
|
|
14804
|
+
"name": "VelocityTracker",
|
|
14805
|
+
"module": "src/shared/utils/VelocityTracker.ts"
|
|
14806
|
+
}
|
|
14807
|
+
}
|
|
14808
|
+
]
|
|
14516
14809
|
}
|
|
14517
14810
|
]
|
|
14518
14811
|
}
|