@m3e/core 1.2.1 → 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 +988 -695
- 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,31 +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\""
|
|
1319
|
-
}
|
|
1320
|
-
},
|
|
1321
|
-
{
|
|
1322
|
-
"kind": "js",
|
|
1323
|
-
"name": "*",
|
|
1324
|
-
"declaration": {
|
|
1325
|
-
"name": "*",
|
|
1326
|
-
"package": "\"./primitives\""
|
|
1302
|
+
"package": "\"./converters\""
|
|
1327
1303
|
}
|
|
1328
1304
|
},
|
|
1329
1305
|
{
|
|
@@ -1331,7 +1307,7 @@
|
|
|
1331
1307
|
"name": "*",
|
|
1332
1308
|
"declaration": {
|
|
1333
1309
|
"name": "*",
|
|
1334
|
-
"package": "\"./
|
|
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
|
]
|
|
@@ -5509,25 +5320,222 @@
|
|
|
5509
5320
|
},
|
|
5510
5321
|
{
|
|
5511
5322
|
"kind": "javascript-module",
|
|
5512
|
-
"path": "src/
|
|
5323
|
+
"path": "src/a11y/keycodes/getKeyCode.ts",
|
|
5513
5324
|
"declarations": [
|
|
5514
5325
|
{
|
|
5515
|
-
"kind": "
|
|
5516
|
-
"
|
|
5517
|
-
"
|
|
5518
|
-
|
|
5326
|
+
"kind": "function",
|
|
5327
|
+
"name": "getKeyCode",
|
|
5328
|
+
"return": {
|
|
5329
|
+
"type": {
|
|
5330
|
+
"text": "number"
|
|
5331
|
+
}
|
|
5332
|
+
},
|
|
5333
|
+
"parameters": [
|
|
5519
5334
|
{
|
|
5520
|
-
"
|
|
5521
|
-
"name": "#frameId",
|
|
5522
|
-
"privacy": "private",
|
|
5335
|
+
"name": "e",
|
|
5523
5336
|
"type": {
|
|
5524
|
-
"text": "
|
|
5337
|
+
"text": "KeyboardEvent"
|
|
5525
5338
|
},
|
|
5526
|
-
"
|
|
5527
|
-
}
|
|
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": [
|
|
5528
5369
|
{
|
|
5529
|
-
"
|
|
5530
|
-
"
|
|
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
|
+
{
|
|
5519
|
+
"kind": "javascript-module",
|
|
5520
|
+
"path": "src/shared/controllers/AnimationLoopController.ts",
|
|
5521
|
+
"declarations": [
|
|
5522
|
+
{
|
|
5523
|
+
"kind": "class",
|
|
5524
|
+
"description": "A `ReactiveController` used to execute a function in an animation loop.",
|
|
5525
|
+
"name": "AnimationLoopController",
|
|
5526
|
+
"members": [
|
|
5527
|
+
{
|
|
5528
|
+
"kind": "field",
|
|
5529
|
+
"name": "#frameId",
|
|
5530
|
+
"privacy": "private",
|
|
5531
|
+
"type": {
|
|
5532
|
+
"text": "number | null"
|
|
5533
|
+
},
|
|
5534
|
+
"default": "null"
|
|
5535
|
+
},
|
|
5536
|
+
{
|
|
5537
|
+
"kind": "field",
|
|
5538
|
+
"name": "#lastTime",
|
|
5531
5539
|
"privacy": "private",
|
|
5532
5540
|
"type": {
|
|
5533
5541
|
"text": "number"
|
|
@@ -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
|
},
|
|
@@ -8577,42 +8593,95 @@
|
|
|
8577
8593
|
},
|
|
8578
8594
|
{
|
|
8579
8595
|
"kind": "javascript-module",
|
|
8580
|
-
"path": "src/shared/
|
|
8596
|
+
"path": "src/shared/controllers/ScrollLockController.ts",
|
|
8581
8597
|
"declarations": [
|
|
8582
8598
|
{
|
|
8583
|
-
"kind": "
|
|
8584
|
-
"
|
|
8585
|
-
"
|
|
8586
|
-
|
|
8587
|
-
"text": "MethodDecorator"
|
|
8588
|
-
}
|
|
8589
|
-
},
|
|
8590
|
-
"parameters": [
|
|
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": [
|
|
8591
8603
|
{
|
|
8592
|
-
"
|
|
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",
|
|
8593
8616
|
"type": {
|
|
8594
8617
|
"text": "number"
|
|
8595
8618
|
},
|
|
8596
|
-
"
|
|
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"
|
|
8597
8667
|
}
|
|
8598
|
-
]
|
|
8599
|
-
"description": "A decorator that runs a function once after a given \"cooldown\" period."
|
|
8668
|
+
]
|
|
8600
8669
|
}
|
|
8601
8670
|
],
|
|
8602
8671
|
"exports": [
|
|
8603
8672
|
{
|
|
8604
8673
|
"kind": "js",
|
|
8605
|
-
"name": "
|
|
8674
|
+
"name": "ScrollLockController",
|
|
8606
8675
|
"declaration": {
|
|
8607
|
-
"name": "
|
|
8608
|
-
"module": "src/shared/
|
|
8676
|
+
"name": "ScrollLockController",
|
|
8677
|
+
"module": "src/shared/controllers/ScrollLockController.ts"
|
|
8609
8678
|
}
|
|
8610
8679
|
}
|
|
8611
8680
|
]
|
|
8612
8681
|
},
|
|
8613
8682
|
{
|
|
8614
8683
|
"kind": "javascript-module",
|
|
8615
|
-
"path": "src/shared/
|
|
8684
|
+
"path": "src/shared/converters/index.ts",
|
|
8616
8685
|
"declarations": [],
|
|
8617
8686
|
"exports": [
|
|
8618
8687
|
{
|
|
@@ -8620,22 +8689,97 @@
|
|
|
8620
8689
|
"name": "*",
|
|
8621
8690
|
"declaration": {
|
|
8622
8691
|
"name": "*",
|
|
8623
|
-
"package": "\"./
|
|
8692
|
+
"package": "\"./spaceSeparatedStringConverter\""
|
|
8624
8693
|
}
|
|
8625
8694
|
}
|
|
8626
8695
|
]
|
|
8627
8696
|
},
|
|
8628
8697
|
{
|
|
8629
8698
|
"kind": "javascript-module",
|
|
8630
|
-
"path": "src/shared/
|
|
8631
|
-
"declarations": [
|
|
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
|
+
],
|
|
8632
8711
|
"exports": [
|
|
8633
8712
|
{
|
|
8634
8713
|
"kind": "js",
|
|
8635
|
-
"name": "
|
|
8714
|
+
"name": "spaceSeparatedStringConverter",
|
|
8636
8715
|
"declaration": {
|
|
8637
|
-
"name": "
|
|
8638
|
-
"
|
|
8716
|
+
"name": "spaceSeparatedStringConverter",
|
|
8717
|
+
"module": "src/shared/converters/spaceSeparatedStringConverter.ts"
|
|
8718
|
+
}
|
|
8719
|
+
}
|
|
8720
|
+
]
|
|
8721
|
+
},
|
|
8722
|
+
{
|
|
8723
|
+
"kind": "javascript-module",
|
|
8724
|
+
"path": "src/shared/decorators/debounce.ts",
|
|
8725
|
+
"declarations": [
|
|
8726
|
+
{
|
|
8727
|
+
"kind": "function",
|
|
8728
|
+
"name": "debounce",
|
|
8729
|
+
"return": {
|
|
8730
|
+
"type": {
|
|
8731
|
+
"text": "MethodDecorator"
|
|
8732
|
+
}
|
|
8733
|
+
},
|
|
8734
|
+
"parameters": [
|
|
8735
|
+
{
|
|
8736
|
+
"name": "timeout",
|
|
8737
|
+
"type": {
|
|
8738
|
+
"text": "number"
|
|
8739
|
+
},
|
|
8740
|
+
"description": "The timeout, in milliseconds, after which the function is invoked."
|
|
8741
|
+
}
|
|
8742
|
+
],
|
|
8743
|
+
"description": "A decorator that runs a function once after a given \"cooldown\" period."
|
|
8744
|
+
}
|
|
8745
|
+
],
|
|
8746
|
+
"exports": [
|
|
8747
|
+
{
|
|
8748
|
+
"kind": "js",
|
|
8749
|
+
"name": "debounce",
|
|
8750
|
+
"declaration": {
|
|
8751
|
+
"name": "debounce",
|
|
8752
|
+
"module": "src/shared/decorators/debounce.ts"
|
|
8753
|
+
}
|
|
8754
|
+
}
|
|
8755
|
+
]
|
|
8756
|
+
},
|
|
8757
|
+
{
|
|
8758
|
+
"kind": "javascript-module",
|
|
8759
|
+
"path": "src/shared/decorators/index.ts",
|
|
8760
|
+
"declarations": [],
|
|
8761
|
+
"exports": [
|
|
8762
|
+
{
|
|
8763
|
+
"kind": "js",
|
|
8764
|
+
"name": "*",
|
|
8765
|
+
"declaration": {
|
|
8766
|
+
"name": "*",
|
|
8767
|
+
"package": "\"./debounce\""
|
|
8768
|
+
}
|
|
8769
|
+
}
|
|
8770
|
+
]
|
|
8771
|
+
},
|
|
8772
|
+
{
|
|
8773
|
+
"kind": "javascript-module",
|
|
8774
|
+
"path": "src/shared/directives/index.ts",
|
|
8775
|
+
"declarations": [],
|
|
8776
|
+
"exports": [
|
|
8777
|
+
{
|
|
8778
|
+
"kind": "js",
|
|
8779
|
+
"name": "*",
|
|
8780
|
+
"declaration": {
|
|
8781
|
+
"name": "*",
|
|
8782
|
+
"package": "\"./safeStyleMap\""
|
|
8639
8783
|
}
|
|
8640
8784
|
}
|
|
8641
8785
|
]
|
|
@@ -13718,522 +13862,331 @@
|
|
|
13718
13862
|
},
|
|
13719
13863
|
{
|
|
13720
13864
|
"kind": "javascript-module",
|
|
13721
|
-
"path": "src/shared/
|
|
13865
|
+
"path": "src/shared/tokens/ColorToken.ts",
|
|
13722
13866
|
"declarations": [
|
|
13723
13867
|
{
|
|
13724
|
-
"kind": "
|
|
13725
|
-
"name": "
|
|
13726
|
-
"
|
|
13727
|
-
"
|
|
13728
|
-
"text": "number"
|
|
13729
|
-
}
|
|
13868
|
+
"kind": "variable",
|
|
13869
|
+
"name": "ColorToken",
|
|
13870
|
+
"type": {
|
|
13871
|
+
"text": "{\r\n /** High-emphasis fills, texts, and icons against surface. */\r\n primary: unsafeCSS(\"var(--md-sys-color-primary, #6750A4)\"),\r\n\r\n /** Text and icons against primary. */\r\n onPrimary: unsafeCSS(\"var(--md-sys-color-on-primary, #FFFFFF)\"),\r\n\r\n /** Standout fill color against surface, for key components. */\r\n primaryContainer: unsafeCSS(\"var(--md-sys-color-primary-container, #EADDFF)\"),\r\n\r\n /** Text and icons against primary container. */\r\n onPrimaryContainer: unsafeCSS(\"var(--md-sys-color-on-primary-container, #4F378B)\"),\r\n\r\n /** High-emphasis fills, texts, and icons that maintain the same tone in light and dark themes. */\r\n primaryFixed: unsafeCSS(\"var(--md-sys-color-primary-fixed, #EADDFF)\"),\r\n\r\n /** High-emphasis fills, texts, and icons that maintain the same stronger tone in light and dark themes. */\r\n primaryFixedDim: unsafeCSS(\"var(--md-sys-color-primary-fixed-dim, #D0BCFF)\"),\r\n\r\n /** Text and icons against fixed primary. */\r\n onPrimaryFixed: unsafeCSS(\"var(--md-sys-color-on-primary-fixed, #21005D)\"),\r\n\r\n /** Lower-emphasis text and icons against fixed primary. */\r\n onPrimaryFixedVariant: unsafeCSS(\"var(--md-sys-color-on-primary-fixed-variant, #4F378B)\"),\r\n\r\n /** Less prominent fills, text, and icons against surface. */\r\n secondary: unsafeCSS(\"var(--md-sys-color-secondary, #625B71)\"),\r\n\r\n /** Text and icons against secondary. */\r\n onSecondary: unsafeCSS(\"var(--md-sys-color-on-secondary, #FFFFFF)\"),\r\n\r\n /** Less prominent fill color against surface, for recessive components. */\r\n secondaryContainer: unsafeCSS(\"var(--md-sys-color-secondary-container, #E8DEF8)\"),\r\n\r\n /** Text and icons against secondary container. */\r\n onSecondaryContainer: unsafeCSS(\"var(--md-sys-color-on-secondary-container, #4A4458)\"),\r\n\r\n /** Less prominent fills, texts, and icons that maintain the same tone in light and dark themes. */\r\n secondaryFixed: unsafeCSS(\"var(--md-sys-color-secondary-fixed, #E8DEF8)\"),\r\n\r\n /** Less prominent fills, texts, and icons that maintain the same stronger tone in light and dark themes. */\r\n secondaryFixedDim: unsafeCSS(\"var(--md-sys-color-secondary-fixed-dim, #CCC2DC)\"),\r\n\r\n /** Text and icons against fixed secondary. */\r\n onSecondaryFixed: unsafeCSS(\"var(--md-sys-color-on-secondary-fixed, #1D192B)\"),\r\n\r\n /** Lower-emphasis text and icons against fixed secondary. */\r\n onSecondaryFixedVariant: unsafeCSS(\"var(--md-sys-color-on-secondary-fixed-variant, #4A4458)\"),\r\n\r\n /** Complementary fills, text, and icons against surface. */\r\n tertiary: unsafeCSS(\"var(--md-sys-color-tertiary, #7D5260)\"),\r\n\r\n /** Text and icons against tertiary. */\r\n onTertiary: unsafeCSS(\"var(--md-sys-color-on-tertiary, #FFFFFF)\"),\r\n\r\n /** Complementary container color against surface. */\r\n tertiaryContainer: unsafeCSS(\"var(--md-sys-color-tertiary-container, #FFD8E4)\"),\r\n\r\n /** Text and icons against tertiary container. */\r\n onTertiaryContainer: unsafeCSS(\"var(--md-sys-color-on-tertiary-container, #633B48)\"),\r\n\r\n /** Complementary fills, texts, and icons that maintain the same tone in light and dark themes. */\r\n tertiaryFixed: unsafeCSS(\"var(--md-sys-color-tertiary-fixed, #FFD8E4)\"),\r\n\r\n /** Complementary fills, texts, and icons that maintain the same stronger tone in light and dark themes. */\r\n tertiaryFixedDim: unsafeCSS(\"var(--md-sys-color-tertiary-fixed-dim, #EFB8C8)\"),\r\n\r\n /** Text and icons against fixed tertiary. */\r\n onTertiaryFixed: unsafeCSS(\"var(--md-sys-color-on-tertiary-fixed, #31111D)\"),\r\n\r\n /** Lower-emphasis text and icons against fixed tertiary. */\r\n onTertiaryFixedVariant: unsafeCSS(\"var(--md-sys-color-on-tertiary-fixed-variant, #633B48)\"),\r\n\r\n /** Attention-grabbing color against surface for fills, icons, and text, indicating urgency. */\r\n error: unsafeCSS(\"var(--md-sys-color-error, #B3261E)\"),\r\n\r\n /** Text and icons against error. */\r\n onError: unsafeCSS(\"var(--md-sys-color-on-error, #FFFFFF)\"),\r\n\r\n /** Attention-grabbing fill color against surface. */\r\n errorContainer: unsafeCSS(\"var(--md-sys-color-error-container, #F9DEDC)\"),\r\n\r\n /** Text and icons against error container. */\r\n onErrorContainer: unsafeCSS(\"var(--md-sys-color-on-error-container, #8C1D18)\"),\r\n\r\n /** Default color for backgrounds. */\r\n surface: unsafeCSS(\"var(--md-sys-color-surface, #FEF7FF)\"),\r\n\r\n /** Text and icons against any surface color. */\r\n onSurface: unsafeCSS(\"var(--md-sys-color-on-surface, #1D1B20)\"),\r\n\r\n /** Lower-emphasis color for text and icons against any surface color. */\r\n onSurfaceVariant: unsafeCSS(\"var(--md-sys-color-on-surface-variant, #49454F)\"),\r\n\r\n /** Lowest-emphasis container color. */\r\n surfaceContainerLowest: unsafeCSS(\"var(--md-sys-color-surface-container-lowest, #FFFFFF)\"),\r\n\r\n /** Low-emphasis container color. */\r\n surfaceContainerLow: unsafeCSS(\"var(--md-sys-color-surface-container-low, #F7F2FA)\"),\r\n\r\n /** Default container color. */\r\n surfaceContainer: unsafeCSS(\"var(--md-sys-color-surface-container, #F3EDF7)\"),\r\n\r\n /** High-emphasis container color. */\r\n surfaceContainerHigh: unsafeCSS(\"var(--md-sys-color-surface-container-high, #ECE6F0)\"),\r\n\r\n /** Highest-emphasis container color. */\r\n surfaceContainerHighest: unsafeCSS(\"var(--md-sys-color-surface-container-highest, #E6E0E9)\"),\r\n\r\n /** Dimmest surface color in light and dark themes. */\r\n surfaceDim: unsafeCSS(\"var(--md-sys-color-surface-dim, #DED8E1)\"),\r\n\r\n /** Brightest surface color in light and dark themes. */\r\n surfaceBright: unsafeCSS(\"var(--md-sys-color-surface-bright, #FEF7FF)\"),\r\n\r\n /** Alternate surface color, can be used for active states. */\r\n surfaceVariant: unsafeCSS(\"var(--md-sys-color-surface-variant, #E7E0EC)\"),\r\n\r\n /** Background fills for elements which contrast against surface. */\r\n inverseSurface: unsafeCSS(\"var(--md-sys-color-inverse-surface, #322F35)\"),\r\n\r\n /** Text and icons against inverse surface. */\r\n inverseOnSurface: unsafeCSS(\"var(--md-sys-color-inverse-on-surface, #F5EFF7)\"),\r\n\r\n /** Primary text and icons against inverse surface. */\r\n inversePrimary: unsafeCSS(\"var(--md-sys-color-inverse-primary, #D0BCFF)\"),\r\n\r\n /** Important boundaries, such as a text field outline. */\r\n outline: unsafeCSS(\"var(--md-sys-color-outline, #79747E)\"),\r\n\r\n /** Decorative elements, such as dividers. */\r\n outlineVariant: unsafeCSS(\"var(--md-sys-color-outline-variant, #CAC4D0)\"),\r\n\r\n /** Elevation shadow color. */\r\n shadow: unsafeCSS(\"var(--md-sys-color-shadow, #000000)\"),\r\n\r\n /** Backdrop which obscures underlying content. */\r\n scrim: unsafeCSS(\"var(--md-sys-color-scrim, #000000)\"),\r\n}"
|
|
13730
13872
|
},
|
|
13731
|
-
"
|
|
13732
|
-
|
|
13733
|
-
"name": "element",
|
|
13734
|
-
"type": {
|
|
13735
|
-
"text": "HTMLElement"
|
|
13736
|
-
},
|
|
13737
|
-
"description": "The element for which to compute the number of lines."
|
|
13738
|
-
}
|
|
13739
|
-
],
|
|
13740
|
-
"description": "Determines the number of textual lines presented by an element."
|
|
13873
|
+
"default": "{ /** High-emphasis fills, texts, and icons against surface. */ primary: unsafeCSS(\"var(--md-sys-color-primary, #6750A4)\"), /** Text and icons against primary. */ onPrimary: unsafeCSS(\"var(--md-sys-color-on-primary, #FFFFFF)\"), /** Standout fill color against surface, for key components. */ primaryContainer: unsafeCSS(\"var(--md-sys-color-primary-container, #EADDFF)\"), /** Text and icons against primary container. */ onPrimaryContainer: unsafeCSS(\"var(--md-sys-color-on-primary-container, #4F378B)\"), /** High-emphasis fills, texts, and icons that maintain the same tone in light and dark themes. */ primaryFixed: unsafeCSS(\"var(--md-sys-color-primary-fixed, #EADDFF)\"), /** High-emphasis fills, texts, and icons that maintain the same stronger tone in light and dark themes. */ primaryFixedDim: unsafeCSS(\"var(--md-sys-color-primary-fixed-dim, #D0BCFF)\"), /** Text and icons against fixed primary. */ onPrimaryFixed: unsafeCSS(\"var(--md-sys-color-on-primary-fixed, #21005D)\"), /** Lower-emphasis text and icons against fixed primary. */ onPrimaryFixedVariant: unsafeCSS(\"var(--md-sys-color-on-primary-fixed-variant, #4F378B)\"), /** Less prominent fills, text, and icons against surface. */ secondary: unsafeCSS(\"var(--md-sys-color-secondary, #625B71)\"), /** Text and icons against secondary. */ onSecondary: unsafeCSS(\"var(--md-sys-color-on-secondary, #FFFFFF)\"), /** Less prominent fill color against surface, for recessive components. */ secondaryContainer: unsafeCSS(\"var(--md-sys-color-secondary-container, #E8DEF8)\"), /** Text and icons against secondary container. */ onSecondaryContainer: unsafeCSS(\"var(--md-sys-color-on-secondary-container, #4A4458)\"), /** Less prominent fills, texts, and icons that maintain the same tone in light and dark themes. */ secondaryFixed: unsafeCSS(\"var(--md-sys-color-secondary-fixed, #E8DEF8)\"), /** Less prominent fills, texts, and icons that maintain the same stronger tone in light and dark themes. */ secondaryFixedDim: unsafeCSS(\"var(--md-sys-color-secondary-fixed-dim, #CCC2DC)\"), /** Text and icons against fixed secondary. */ onSecondaryFixed: unsafeCSS(\"var(--md-sys-color-on-secondary-fixed, #1D192B)\"), /** Lower-emphasis text and icons against fixed secondary. */ onSecondaryFixedVariant: unsafeCSS(\"var(--md-sys-color-on-secondary-fixed-variant, #4A4458)\"), /** Complementary fills, text, and icons against surface. */ tertiary: unsafeCSS(\"var(--md-sys-color-tertiary, #7D5260)\"), /** Text and icons against tertiary. */ onTertiary: unsafeCSS(\"var(--md-sys-color-on-tertiary, #FFFFFF)\"), /** Complementary container color against surface. */ tertiaryContainer: unsafeCSS(\"var(--md-sys-color-tertiary-container, #FFD8E4)\"), /** Text and icons against tertiary container. */ onTertiaryContainer: unsafeCSS(\"var(--md-sys-color-on-tertiary-container, #633B48)\"), /** Complementary fills, texts, and icons that maintain the same tone in light and dark themes. */ tertiaryFixed: unsafeCSS(\"var(--md-sys-color-tertiary-fixed, #FFD8E4)\"), /** Complementary fills, texts, and icons that maintain the same stronger tone in light and dark themes. */ tertiaryFixedDim: unsafeCSS(\"var(--md-sys-color-tertiary-fixed-dim, #EFB8C8)\"), /** Text and icons against fixed tertiary. */ onTertiaryFixed: unsafeCSS(\"var(--md-sys-color-on-tertiary-fixed, #31111D)\"), /** Lower-emphasis text and icons against fixed tertiary. */ onTertiaryFixedVariant: unsafeCSS(\"var(--md-sys-color-on-tertiary-fixed-variant, #633B48)\"), /** Attention-grabbing color against surface for fills, icons, and text, indicating urgency. */ error: unsafeCSS(\"var(--md-sys-color-error, #B3261E)\"), /** Text and icons against error. */ onError: unsafeCSS(\"var(--md-sys-color-on-error, #FFFFFF)\"), /** Attention-grabbing fill color against surface. */ errorContainer: unsafeCSS(\"var(--md-sys-color-error-container, #F9DEDC)\"), /** Text and icons against error container. */ onErrorContainer: unsafeCSS(\"var(--md-sys-color-on-error-container, #8C1D18)\"), /** Default color for backgrounds. */ surface: unsafeCSS(\"var(--md-sys-color-surface, #FEF7FF)\"), /** Text and icons against any surface color. */ onSurface: unsafeCSS(\"var(--md-sys-color-on-surface, #1D1B20)\"), /** Lower-emphasis color for text and icons against any surface color. */ onSurfaceVariant: unsafeCSS(\"var(--md-sys-color-on-surface-variant, #49454F)\"), /** Lowest-emphasis container color. */ surfaceContainerLowest: unsafeCSS(\"var(--md-sys-color-surface-container-lowest, #FFFFFF)\"), /** Low-emphasis container color. */ surfaceContainerLow: unsafeCSS(\"var(--md-sys-color-surface-container-low, #F7F2FA)\"), /** Default container color. */ surfaceContainer: unsafeCSS(\"var(--md-sys-color-surface-container, #F3EDF7)\"), /** High-emphasis container color. */ surfaceContainerHigh: unsafeCSS(\"var(--md-sys-color-surface-container-high, #ECE6F0)\"), /** Highest-emphasis container color. */ surfaceContainerHighest: unsafeCSS(\"var(--md-sys-color-surface-container-highest, #E6E0E9)\"), /** Dimmest surface color in light and dark themes. */ surfaceDim: unsafeCSS(\"var(--md-sys-color-surface-dim, #DED8E1)\"), /** Brightest surface color in light and dark themes. */ surfaceBright: unsafeCSS(\"var(--md-sys-color-surface-bright, #FEF7FF)\"), /** Alternate surface color, can be used for active states. */ surfaceVariant: unsafeCSS(\"var(--md-sys-color-surface-variant, #E7E0EC)\"), /** Background fills for elements which contrast against surface. */ inverseSurface: unsafeCSS(\"var(--md-sys-color-inverse-surface, #322F35)\"), /** Text and icons against inverse surface. */ inverseOnSurface: unsafeCSS(\"var(--md-sys-color-inverse-on-surface, #F5EFF7)\"), /** Primary text and icons against inverse surface. */ inversePrimary: unsafeCSS(\"var(--md-sys-color-inverse-primary, #D0BCFF)\"), /** Important boundaries, such as a text field outline. */ outline: unsafeCSS(\"var(--md-sys-color-outline, #79747E)\"), /** Decorative elements, such as dividers. */ outlineVariant: unsafeCSS(\"var(--md-sys-color-outline-variant, #CAC4D0)\"), /** Elevation shadow color. */ shadow: unsafeCSS(\"var(--md-sys-color-shadow, #000000)\"), /** Backdrop which obscures underlying content. */ scrim: unsafeCSS(\"var(--md-sys-color-scrim, #000000)\"), }",
|
|
13874
|
+
"description": "Design tokens that control color."
|
|
13741
13875
|
}
|
|
13742
13876
|
],
|
|
13743
13877
|
"exports": [
|
|
13744
13878
|
{
|
|
13745
13879
|
"kind": "js",
|
|
13746
|
-
"name": "
|
|
13880
|
+
"name": "ColorToken",
|
|
13747
13881
|
"declaration": {
|
|
13748
|
-
"name": "
|
|
13749
|
-
"module": "src/shared/
|
|
13882
|
+
"name": "ColorToken",
|
|
13883
|
+
"module": "src/shared/tokens/ColorToken.ts"
|
|
13750
13884
|
}
|
|
13751
13885
|
}
|
|
13752
13886
|
]
|
|
13753
13887
|
},
|
|
13754
13888
|
{
|
|
13755
13889
|
"kind": "javascript-module",
|
|
13756
|
-
"path": "src/shared/
|
|
13890
|
+
"path": "src/shared/tokens/DensityToken.ts",
|
|
13757
13891
|
"declarations": [
|
|
13758
13892
|
{
|
|
13759
|
-
"kind": "
|
|
13760
|
-
"name": "
|
|
13761
|
-
"
|
|
13762
|
-
"
|
|
13763
|
-
"text": "Promise<boolean>"
|
|
13764
|
-
}
|
|
13893
|
+
"kind": "variable",
|
|
13894
|
+
"name": "DensityToken",
|
|
13895
|
+
"type": {
|
|
13896
|
+
"text": "{\r\n ..._DensityToken,\r\n\r\n /**\r\n * Creates a CSS `calc` that calculates a dimension based on density.\r\n * @param {number} minScale The minimum supported scale.\r\n * @returns {CSSResult} A CSS `calc` used to calculate a dimension based on density.\r\n */\r\n calc(minScale: number): CSSResult {\r\n return unsafeCSS(`calc(max(${minScale}, ${_DensityToken.scale}) * ${_DensityToken.size})`);\r\n },\r\n}"
|
|
13765
13897
|
},
|
|
13766
|
-
"
|
|
13767
|
-
|
|
13768
|
-
"name": "element",
|
|
13769
|
-
"type": {
|
|
13770
|
-
"text": "HTMLElement"
|
|
13771
|
-
},
|
|
13772
|
-
"description": "The element to to focus."
|
|
13773
|
-
},
|
|
13774
|
-
{
|
|
13775
|
-
"name": "timeout",
|
|
13776
|
-
"default": "200",
|
|
13777
|
-
"type": {
|
|
13778
|
-
"text": "number"
|
|
13779
|
-
},
|
|
13780
|
-
"description": "The maximum amount of time to attempt to focus `el`.",
|
|
13781
|
-
"optional": true
|
|
13782
|
-
}
|
|
13783
|
-
],
|
|
13784
|
-
"description": "Asynchronously attempts to focus an element once it becomes focusable."
|
|
13898
|
+
"default": "{ ..._DensityToken, /** * Creates a CSS `calc` that calculates a dimension based on density. * @param {number} minScale The minimum supported scale. * @returns {CSSResult} A CSS `calc` used to calculate a dimension based on density. */ calc(minScale: number): CSSResult { return unsafeCSS(`calc(max(${minScale}, ${_DensityToken.scale}) * ${_DensityToken.size})`); }, }",
|
|
13899
|
+
"description": "Design tokens that control density."
|
|
13785
13900
|
}
|
|
13786
13901
|
],
|
|
13787
13902
|
"exports": [
|
|
13788
13903
|
{
|
|
13789
13904
|
"kind": "js",
|
|
13790
|
-
"name": "
|
|
13905
|
+
"name": "DensityToken",
|
|
13791
13906
|
"declaration": {
|
|
13792
|
-
"name": "
|
|
13793
|
-
"module": "src/shared/
|
|
13907
|
+
"name": "DensityToken",
|
|
13908
|
+
"module": "src/shared/tokens/DensityToken.ts"
|
|
13794
13909
|
}
|
|
13795
13910
|
}
|
|
13796
13911
|
]
|
|
13797
13912
|
},
|
|
13798
13913
|
{
|
|
13799
13914
|
"kind": "javascript-module",
|
|
13800
|
-
"path": "src/shared/
|
|
13915
|
+
"path": "src/shared/tokens/DesignToken.ts",
|
|
13801
13916
|
"declarations": [
|
|
13802
13917
|
{
|
|
13803
|
-
"kind": "
|
|
13804
|
-
"name": "
|
|
13805
|
-
"
|
|
13806
|
-
"
|
|
13807
|
-
"text": "boolean"
|
|
13808
|
-
}
|
|
13918
|
+
"kind": "variable",
|
|
13919
|
+
"name": "DesignToken",
|
|
13920
|
+
"type": {
|
|
13921
|
+
"text": "{\r\n /** Design tokens that control color. */\r\n color: ColorToken,\r\n\r\n /** Design tokens that control elevation. */\r\n elevation: ElevationToken,\r\n\r\n /** Design tokens that control motion. */\r\n motion: MotionToken,\r\n\r\n /** Design tokens that control shape. */\r\n shape: ShapeToken,\r\n\r\n /** Design tokens that control state layer. */\r\n state: StateToken,\r\n\r\n /** Design tokens that control typescale. */\r\n typescale: TypescaleToken,\r\n\r\n /** Design tokens that control scrollbars. */\r\n scrollbar: ScrollbarToken,\r\n\r\n /** Design tokens that control density. */\r\n density: DensityToken,\r\n}"
|
|
13809
13922
|
},
|
|
13810
|
-
"
|
|
13923
|
+
"default": "{ /** Design tokens that control color. */ color: ColorToken, /** Design tokens that control elevation. */ elevation: ElevationToken, /** Design tokens that control motion. */ motion: MotionToken, /** Design tokens that control shape. */ shape: ShapeToken, /** Design tokens that control state layer. */ state: StateToken, /** Design tokens that control typescale. */ typescale: TypescaleToken, /** Design tokens that control scrollbars. */ scrollbar: ScrollbarToken, /** Design tokens that control density. */ density: DensityToken, }",
|
|
13924
|
+
"description": "Design tokens used to style components."
|
|
13811
13925
|
}
|
|
13812
13926
|
],
|
|
13813
13927
|
"exports": [
|
|
13814
13928
|
{
|
|
13815
13929
|
"kind": "js",
|
|
13816
|
-
"name": "
|
|
13930
|
+
"name": "DesignToken",
|
|
13817
13931
|
"declaration": {
|
|
13818
|
-
"name": "
|
|
13819
|
-
"module": "src/shared/
|
|
13932
|
+
"name": "DesignToken",
|
|
13933
|
+
"module": "src/shared/tokens/DesignToken.ts"
|
|
13820
13934
|
}
|
|
13821
13935
|
}
|
|
13822
13936
|
]
|
|
13823
13937
|
},
|
|
13824
13938
|
{
|
|
13825
13939
|
"kind": "javascript-module",
|
|
13826
|
-
"path": "src/shared/
|
|
13940
|
+
"path": "src/shared/tokens/ElevationToken.ts",
|
|
13827
13941
|
"declarations": [
|
|
13828
13942
|
{
|
|
13829
|
-
"kind": "
|
|
13830
|
-
"name": "
|
|
13831
|
-
"
|
|
13832
|
-
"
|
|
13833
|
-
"text": "string[]"
|
|
13834
|
-
}
|
|
13943
|
+
"kind": "variable",
|
|
13944
|
+
"name": "ElevationToken",
|
|
13945
|
+
"type": {
|
|
13946
|
+
"text": "{\r\n /** Level 0 elevation. */\r\n level0: unsafeCSS(`var(--md-sys-elevation-level0, ${elevation(0)})`),\r\n\r\n /** Level 1 elevation. */\r\n level1: unsafeCSS(`var(--md-sys-elevation-level1, ${elevation(1)})`),\r\n\r\n /** Level 2 elevation. */\r\n level2: unsafeCSS(`var(--md-sys-elevation-level2, ${elevation(3)})`),\r\n\r\n /** Level 3 elevation. */\r\n level3: unsafeCSS(`var(--md-sys-elevation-level3, ${elevation(6)})`),\r\n\r\n /** Level 4 elevation. */\r\n level4: unsafeCSS(`var(--md-sys-elevation-level4, ${elevation(8)})`),\r\n\r\n /** Level 5 elevation. */\r\n level5: unsafeCSS(`var(--md-sys-elevation-level5, ${elevation(12)})`),\r\n}"
|
|
13835
13947
|
},
|
|
13836
|
-
"
|
|
13837
|
-
|
|
13838
|
-
"name": "paths",
|
|
13839
|
-
"type": {
|
|
13840
|
-
"text": "string[]"
|
|
13841
|
-
},
|
|
13842
|
-
"description": "The SVG path data to convert to normalized clip paths."
|
|
13843
|
-
},
|
|
13844
|
-
{
|
|
13845
|
-
"name": "maxPoints",
|
|
13846
|
-
"type": {
|
|
13847
|
-
"text": "number"
|
|
13848
|
-
},
|
|
13849
|
-
"description": "The maximum number of points to which to normalize paths."
|
|
13850
|
-
}
|
|
13851
|
-
],
|
|
13852
|
-
"description": "Generates normalized clip paths from SVG path data."
|
|
13948
|
+
"default": "{ /** Level 0 elevation. */ level0: unsafeCSS(`var(--md-sys-elevation-level0, ${elevation(0)})`), /** Level 1 elevation. */ level1: unsafeCSS(`var(--md-sys-elevation-level1, ${elevation(1)})`), /** Level 2 elevation. */ level2: unsafeCSS(`var(--md-sys-elevation-level2, ${elevation(3)})`), /** Level 3 elevation. */ level3: unsafeCSS(`var(--md-sys-elevation-level3, ${elevation(6)})`), /** Level 4 elevation. */ level4: unsafeCSS(`var(--md-sys-elevation-level4, ${elevation(8)})`), /** Level 5 elevation. */ level5: unsafeCSS(`var(--md-sys-elevation-level5, ${elevation(12)})`), }",
|
|
13949
|
+
"description": "Design tokens that control elevation."
|
|
13853
13950
|
}
|
|
13854
13951
|
],
|
|
13855
13952
|
"exports": [
|
|
13856
13953
|
{
|
|
13857
13954
|
"kind": "js",
|
|
13858
|
-
"name": "
|
|
13955
|
+
"name": "ElevationToken",
|
|
13859
13956
|
"declaration": {
|
|
13860
|
-
"name": "
|
|
13861
|
-
"module": "src/shared/
|
|
13957
|
+
"name": "ElevationToken",
|
|
13958
|
+
"module": "src/shared/tokens/ElevationToken.ts"
|
|
13862
13959
|
}
|
|
13863
13960
|
}
|
|
13864
13961
|
]
|
|
13865
13962
|
},
|
|
13866
13963
|
{
|
|
13867
13964
|
"kind": "javascript-module",
|
|
13868
|
-
"path": "src/shared/
|
|
13869
|
-
"declarations": [
|
|
13870
|
-
{
|
|
13871
|
-
"kind": "function",
|
|
13872
|
-
"name": "getTextContent",
|
|
13873
|
-
"return": {
|
|
13874
|
-
"type": {
|
|
13875
|
-
"text": "string"
|
|
13876
|
-
}
|
|
13877
|
-
},
|
|
13878
|
-
"parameters": [
|
|
13879
|
-
{
|
|
13880
|
-
"name": "node",
|
|
13881
|
-
"type": {
|
|
13882
|
-
"text": "Node"
|
|
13883
|
-
},
|
|
13884
|
-
"description": "The node for which to get text content."
|
|
13885
|
-
},
|
|
13886
|
-
{
|
|
13887
|
-
"name": "trim",
|
|
13888
|
-
"default": "false",
|
|
13889
|
-
"type": {
|
|
13890
|
-
"text": "boolean"
|
|
13891
|
-
},
|
|
13892
|
-
"description": "A value indicating whether to trim content.",
|
|
13893
|
-
"optional": true
|
|
13894
|
-
}
|
|
13895
|
-
],
|
|
13896
|
-
"description": "Gets the text content of a given node, including slotted content."
|
|
13897
|
-
}
|
|
13898
|
-
],
|
|
13965
|
+
"path": "src/shared/tokens/index.ts",
|
|
13966
|
+
"declarations": [],
|
|
13899
13967
|
"exports": [
|
|
13900
13968
|
{
|
|
13901
13969
|
"kind": "js",
|
|
13902
|
-
"name": "
|
|
13970
|
+
"name": "*",
|
|
13903
13971
|
"declaration": {
|
|
13904
|
-
"name": "
|
|
13905
|
-
"
|
|
13972
|
+
"name": "*",
|
|
13973
|
+
"package": "\"./DesignToken\""
|
|
13906
13974
|
}
|
|
13907
13975
|
}
|
|
13908
13976
|
]
|
|
13909
13977
|
},
|
|
13910
13978
|
{
|
|
13911
13979
|
"kind": "javascript-module",
|
|
13912
|
-
"path": "src/shared/
|
|
13980
|
+
"path": "src/shared/tokens/MotionToken.ts",
|
|
13913
13981
|
"declarations": [
|
|
13914
13982
|
{
|
|
13915
|
-
"kind": "
|
|
13916
|
-
"name": "
|
|
13917
|
-
"
|
|
13918
|
-
"
|
|
13919
|
-
"text": "string"
|
|
13920
|
-
}
|
|
13983
|
+
"kind": "variable",
|
|
13984
|
+
"name": "MotionToken",
|
|
13985
|
+
"type": {
|
|
13986
|
+
"text": "{\r\n /** Design tokens that control transition effects. */\r\n easing: EasingToken,\r\n\r\n /** Design tokens that control transition duration. */\r\n duration: DurationToken,\r\n\r\n /** Design tokens that control spring effects. */\r\n spring: SpringToken,\r\n}"
|
|
13921
13987
|
},
|
|
13922
|
-
"
|
|
13988
|
+
"default": "{ /** Design tokens that control transition effects. */ easing: EasingToken, /** Design tokens that control transition duration. */ duration: DurationToken, /** Design tokens that control spring effects. */ spring: SpringToken, }",
|
|
13989
|
+
"description": "Design tokens that control motion."
|
|
13923
13990
|
}
|
|
13924
13991
|
],
|
|
13925
13992
|
"exports": [
|
|
13926
13993
|
{
|
|
13927
13994
|
"kind": "js",
|
|
13928
|
-
"name": "
|
|
13995
|
+
"name": "MotionToken",
|
|
13929
13996
|
"declaration": {
|
|
13930
|
-
"name": "
|
|
13931
|
-
"module": "src/shared/
|
|
13997
|
+
"name": "MotionToken",
|
|
13998
|
+
"module": "src/shared/tokens/MotionToken.ts"
|
|
13932
13999
|
}
|
|
13933
14000
|
}
|
|
13934
14001
|
]
|
|
13935
14002
|
},
|
|
13936
14003
|
{
|
|
13937
14004
|
"kind": "javascript-module",
|
|
13938
|
-
"path": "src/shared/
|
|
14005
|
+
"path": "src/shared/tokens/ScrollbarToken.ts",
|
|
13939
14006
|
"declarations": [
|
|
13940
14007
|
{
|
|
13941
|
-
"kind": "
|
|
13942
|
-
"name": "
|
|
13943
|
-
"
|
|
13944
|
-
"
|
|
13945
|
-
"text": "boolean"
|
|
13946
|
-
}
|
|
14008
|
+
"kind": "variable",
|
|
14009
|
+
"name": "ScrollbarToken",
|
|
14010
|
+
"type": {
|
|
14011
|
+
"text": "{\r\n /** Width of a standard scrollbar. */\r\n width: unsafeCSS(`var(--m3e-scrollbar-width, auto)`),\r\n\r\n /** Width of a thin scrollbar. */\r\n thinWidth: unsafeCSS(`var(--m3e-scrollbar-thin-width, thin)`),\r\n\r\n /** Color of a scrollbar. */\r\n color: unsafeCSS(`var(--m3e-scrollbar-thumb-color, #938f94) var(--m3e-scrollbar-track-color, transparent)`),\r\n}"
|
|
13947
14012
|
},
|
|
13948
|
-
"
|
|
13949
|
-
|
|
13950
|
-
"name": "slot",
|
|
13951
|
-
"type": {
|
|
13952
|
-
"text": "HTMLSlotElement"
|
|
13953
|
-
},
|
|
13954
|
-
"description": "The slot to test."
|
|
13955
|
-
}
|
|
13956
|
-
],
|
|
13957
|
-
"description": "Determines whether a slot has any assigned nodes."
|
|
14013
|
+
"default": "{ /** Width of a standard scrollbar. */ width: unsafeCSS(`var(--m3e-scrollbar-width, auto)`), /** Width of a thin scrollbar. */ thinWidth: unsafeCSS(`var(--m3e-scrollbar-thin-width, thin)`), /** Color of a scrollbar. */ color: unsafeCSS(`var(--m3e-scrollbar-thumb-color, #938f94) var(--m3e-scrollbar-track-color, transparent)`), }",
|
|
14014
|
+
"description": "Design tokens that control scrollbars."
|
|
13958
14015
|
}
|
|
13959
14016
|
],
|
|
13960
14017
|
"exports": [
|
|
13961
14018
|
{
|
|
13962
14019
|
"kind": "js",
|
|
13963
|
-
"name": "
|
|
14020
|
+
"name": "ScrollbarToken",
|
|
13964
14021
|
"declaration": {
|
|
13965
|
-
"name": "
|
|
13966
|
-
"module": "src/shared/
|
|
14022
|
+
"name": "ScrollbarToken",
|
|
14023
|
+
"module": "src/shared/tokens/ScrollbarToken.ts"
|
|
13967
14024
|
}
|
|
13968
14025
|
}
|
|
13969
14026
|
]
|
|
13970
14027
|
},
|
|
13971
14028
|
{
|
|
13972
14029
|
"kind": "javascript-module",
|
|
13973
|
-
"path": "src/shared/
|
|
13974
|
-
"declarations": [
|
|
13975
|
-
"exports": [
|
|
13976
|
-
{
|
|
13977
|
-
"kind": "js",
|
|
13978
|
-
"name": "*",
|
|
13979
|
-
"declaration": {
|
|
13980
|
-
"name": "*",
|
|
13981
|
-
"package": "\"./computeLineCount\""
|
|
13982
|
-
}
|
|
13983
|
-
},
|
|
13984
|
-
{
|
|
13985
|
-
"kind": "js",
|
|
13986
|
-
"name": "*",
|
|
13987
|
-
"declaration": {
|
|
13988
|
-
"name": "*",
|
|
13989
|
-
"package": "\"./focusWhenReady\""
|
|
13990
|
-
}
|
|
13991
|
-
},
|
|
13992
|
-
{
|
|
13993
|
-
"kind": "js",
|
|
13994
|
-
"name": "*",
|
|
13995
|
-
"declaration": {
|
|
13996
|
-
"name": "*",
|
|
13997
|
-
"package": "\"./forcedColorsActive\""
|
|
13998
|
-
}
|
|
13999
|
-
},
|
|
14000
|
-
{
|
|
14001
|
-
"kind": "js",
|
|
14002
|
-
"name": "*",
|
|
14003
|
-
"declaration": {
|
|
14004
|
-
"name": "*",
|
|
14005
|
-
"package": "\"./generateClipPaths\""
|
|
14006
|
-
}
|
|
14007
|
-
},
|
|
14008
|
-
{
|
|
14009
|
-
"kind": "js",
|
|
14010
|
-
"name": "*",
|
|
14011
|
-
"declaration": {
|
|
14012
|
-
"name": "*",
|
|
14013
|
-
"package": "\"./getTextContent\""
|
|
14014
|
-
}
|
|
14015
|
-
},
|
|
14016
|
-
{
|
|
14017
|
-
"kind": "js",
|
|
14018
|
-
"name": "*",
|
|
14019
|
-
"declaration": {
|
|
14020
|
-
"name": "*",
|
|
14021
|
-
"package": "\"./guid\""
|
|
14022
|
-
}
|
|
14023
|
-
},
|
|
14024
|
-
{
|
|
14025
|
-
"kind": "js",
|
|
14026
|
-
"name": "*",
|
|
14027
|
-
"declaration": {
|
|
14028
|
-
"name": "*",
|
|
14029
|
-
"package": "\"./hasAssignedNodes\""
|
|
14030
|
-
}
|
|
14031
|
-
},
|
|
14032
|
-
{
|
|
14033
|
-
"kind": "js",
|
|
14034
|
-
"name": "*",
|
|
14035
|
-
"declaration": {
|
|
14036
|
-
"name": "*",
|
|
14037
|
-
"package": "\"./interceptProperty\""
|
|
14038
|
-
}
|
|
14039
|
-
},
|
|
14040
|
-
{
|
|
14041
|
-
"kind": "js",
|
|
14042
|
-
"name": "*",
|
|
14043
|
-
"declaration": {
|
|
14044
|
-
"name": "*",
|
|
14045
|
-
"package": "\"./prefersReducedMotion\""
|
|
14046
|
-
}
|
|
14047
|
-
},
|
|
14048
|
-
{
|
|
14049
|
-
"kind": "js",
|
|
14050
|
-
"name": "*",
|
|
14051
|
-
"declaration": {
|
|
14052
|
-
"name": "*",
|
|
14053
|
-
"package": "\"./resolveElementById\""
|
|
14054
|
-
}
|
|
14055
|
-
},
|
|
14030
|
+
"path": "src/shared/tokens/ShapeToken.ts",
|
|
14031
|
+
"declarations": [
|
|
14056
14032
|
{
|
|
14057
|
-
"kind": "
|
|
14058
|
-
"name": "
|
|
14059
|
-
"
|
|
14060
|
-
"
|
|
14061
|
-
|
|
14062
|
-
}
|
|
14063
|
-
|
|
14033
|
+
"kind": "variable",
|
|
14034
|
+
"name": "ShapeToken",
|
|
14035
|
+
"type": {
|
|
14036
|
+
"text": "{\r\n corner: {\r\n /** Fully rounded symmetric shape. */\r\n full: unsafeCSS(\"var(--md-sys-shape-corner-full, 624.9375rem)\"),\r\n\r\n /** Extra large rounded asymmetric shape directed towards the top. */\r\n extraLargeTop: unsafeCSS(\r\n `var(--md-sys-shape-corner-extra-large-top, ${CornerValue.extraLarge} ${CornerValue.extraLarge} ${CornerValue.none} ${CornerValue.none})`\r\n ),\r\n\r\n /** Extra large rounded symmetric shape. */\r\n extraLarge: unsafeCSS(`var(--md-sys-shape-corner-extra-large, ${CornerValue.extraLarge})`),\r\n\r\n /** Extra large rounded asymmetric shape directed towards the end. */\r\n extraLargeEnd: unsafeCSS(\r\n `${CornerValue.none} ${CornerValue.extraLarge} ${CornerValue.extraLarge} ${CornerValue.none}`\r\n ),\r\n\r\n /** Extra large rounded asymmetric shape directed towards the start. */\r\n extraLargeStart: unsafeCSS(\r\n `${CornerValue.extraLarge} ${CornerValue.none} ${CornerValue.none} ${CornerValue.extraLarge}`\r\n ),\r\n\r\n /** Large rounded asymmetric shape directed towards the top. */\r\n largeTop: unsafeCSS(\r\n `var(--md-sys-shape-corner-large-top, ${CornerValue.large} ${CornerValue.large} ${CornerValue.none} ${CornerValue.none})`\r\n ),\r\n\r\n /** Large rounded asymmetric shape directed towards the end. */\r\n largeEnd: unsafeCSS(\r\n `var(--md-sys-shape-corner-large-end, ${CornerValue.none} ${CornerValue.large} ${CornerValue.large} ${CornerValue.none})`\r\n ),\r\n\r\n /** Large rounded asymmetric shape directed towards the start. */\r\n largeStart: unsafeCSS(\r\n `var(--md-sys-shape-corner-large-end, ${CornerValue.large} ${CornerValue.none} ${CornerValue.none} ${CornerValue.large})`\r\n ),\r\n\r\n /** Large rounded symmetric shape. */\r\n large: unsafeCSS(`var(--md-sys-shape-corner-large, ${CornerValue.large})`),\r\n\r\n /** Medium rounded symmetric shape. */\r\n medium: unsafeCSS(`var(--md-sys-shape-corner-medium, ${CornerValue.medium})`),\r\n\r\n /** Medium rounded asymmetric shape directed towards the top. */\r\n mediumTop: unsafeCSS(`${CornerValue.medium} ${CornerValue.medium} ${CornerValue.none} ${CornerValue.none}`),\r\n\r\n /** Medium rounded asymmetric shape directed towards the end. */\r\n mediumEnd: unsafeCSS(`${CornerValue.none} ${CornerValue.medium} ${CornerValue.medium} ${CornerValue.none}`),\r\n\r\n /** Medium rounded asymmetric shape directed towards the start. */\r\n mediumStart: unsafeCSS(`${CornerValue.medium} ${CornerValue.none} ${CornerValue.none} ${CornerValue.medium}`),\r\n\r\n /** Small rounded symmetric shape. */\r\n small: unsafeCSS(`var(--md-sys-shape-corner-small, ${CornerValue.small})`),\r\n\r\n /** Small rounded asymmetric shape directed towards the top. */\r\n smallTop: unsafeCSS(`${CornerValue.small} ${CornerValue.small} ${CornerValue.none} ${CornerValue.none}`),\r\n\r\n /** Small rounded asymmetric shape directed towards the end. */\r\n smallEnd: unsafeCSS(`${CornerValue.none} ${CornerValue.small} ${CornerValue.small} ${CornerValue.none}`),\r\n\r\n /** Small rounded asymmetric shape directed towards the start. */\r\n smallStart: unsafeCSS(`${CornerValue.small} ${CornerValue.none} ${CornerValue.none} ${CornerValue.small}`),\r\n\r\n /** Extra small rounded asymmetric shape directed towards the top. */\r\n extraSmallTop: unsafeCSS(\r\n `var(--md-sys-shape-corner-extra-small-top, ${CornerValue.extraSmall} ${CornerValue.extraSmall} ${CornerValue.none} ${CornerValue.none})`\r\n ),\r\n\r\n /** Extra small rounded symmetric shape. */\r\n extraSmall: unsafeCSS(`var(--md-sys-shape-corner-extra-small, ${CornerValue.extraSmall})`),\r\n\r\n /** Extra small rounded asymmetric shape directed towards the end. */\r\n extraSmallEnd: unsafeCSS(\r\n `${CornerValue.none} ${CornerValue.extraSmall} ${CornerValue.extraSmall} ${CornerValue.none}`\r\n ),\r\n\r\n /** Extra small rounded asymmetric shape directed towards the start. */\r\n extraSmallStart: unsafeCSS(\r\n `${CornerValue.extraSmall} ${CornerValue.none} ${CornerValue.none} ${CornerValue.extraSmall}`\r\n ),\r\n\r\n /** Extra small rounded asymmetric shape directed towards the bottom. */\r\n extraSmallBottom: unsafeCSS(\r\n `${CornerValue.none} ${CornerValue.none} ${CornerValue.extraSmall} ${CornerValue.extraSmall}`\r\n ),\r\n\r\n /** No rounding. */\r\n none: unsafeCSS(`var(--md-sys-shape-corner-none, ${CornerValue.none})`),\r\n\r\n /** Increased large rounded symmetric shape. */\r\n largeIncreased: unsafeCSS(`var(--md-sys-shape-corner-large-increased, ${CornerValue.largeIncreased})`),\r\n\r\n /** Increased extra large rounded symmetric shape. */\r\n extraLargeIncreased: unsafeCSS(\r\n `var(--md-sys-shape-corner-extra-large-increased, ${CornerValue.extraLargeIncreased})`\r\n ),\r\n\r\n /** Extra extra large rounded symmetric shape. */\r\n extraExtraLarge: unsafeCSS(`var(--md-sys-shape-corner-extra-extra-large, ${CornerValue.extraExtraLarge})`),\r\n\r\n /** Design tokens that control specific corners. */\r\n value: CornerValue,\r\n },\r\n}"
|
|
14037
|
+
},
|
|
14038
|
+
"default": "{ corner: { /** Fully rounded symmetric shape. */ full: unsafeCSS(\"var(--md-sys-shape-corner-full, 624.9375rem)\"), /** Extra large rounded asymmetric shape directed towards the top. */ extraLargeTop: unsafeCSS( `var(--md-sys-shape-corner-extra-large-top, ${CornerValue.extraLarge} ${CornerValue.extraLarge} ${CornerValue.none} ${CornerValue.none})` ), /** Extra large rounded symmetric shape. */ extraLarge: unsafeCSS(`var(--md-sys-shape-corner-extra-large, ${CornerValue.extraLarge})`), /** Extra large rounded asymmetric shape directed towards the end. */ extraLargeEnd: unsafeCSS( `${CornerValue.none} ${CornerValue.extraLarge} ${CornerValue.extraLarge} ${CornerValue.none}` ), /** Extra large rounded asymmetric shape directed towards the start. */ extraLargeStart: unsafeCSS( `${CornerValue.extraLarge} ${CornerValue.none} ${CornerValue.none} ${CornerValue.extraLarge}` ), /** Large rounded asymmetric shape directed towards the top. */ largeTop: unsafeCSS( `var(--md-sys-shape-corner-large-top, ${CornerValue.large} ${CornerValue.large} ${CornerValue.none} ${CornerValue.none})` ), /** Large rounded asymmetric shape directed towards the end. */ largeEnd: unsafeCSS( `var(--md-sys-shape-corner-large-end, ${CornerValue.none} ${CornerValue.large} ${CornerValue.large} ${CornerValue.none})` ), /** Large rounded asymmetric shape directed towards the start. */ largeStart: unsafeCSS( `var(--md-sys-shape-corner-large-end, ${CornerValue.large} ${CornerValue.none} ${CornerValue.none} ${CornerValue.large})` ), /** Large rounded symmetric shape. */ large: unsafeCSS(`var(--md-sys-shape-corner-large, ${CornerValue.large})`), /** Medium rounded symmetric shape. */ medium: unsafeCSS(`var(--md-sys-shape-corner-medium, ${CornerValue.medium})`), /** Medium rounded asymmetric shape directed towards the top. */ mediumTop: unsafeCSS(`${CornerValue.medium} ${CornerValue.medium} ${CornerValue.none} ${CornerValue.none}`), /** Medium rounded asymmetric shape directed towards the end. */ mediumEnd: unsafeCSS(`${CornerValue.none} ${CornerValue.medium} ${CornerValue.medium} ${CornerValue.none}`), /** Medium rounded asymmetric shape directed towards the start. */ mediumStart: unsafeCSS(`${CornerValue.medium} ${CornerValue.none} ${CornerValue.none} ${CornerValue.medium}`), /** Small rounded symmetric shape. */ small: unsafeCSS(`var(--md-sys-shape-corner-small, ${CornerValue.small})`), /** Small rounded asymmetric shape directed towards the top. */ smallTop: unsafeCSS(`${CornerValue.small} ${CornerValue.small} ${CornerValue.none} ${CornerValue.none}`), /** Small rounded asymmetric shape directed towards the end. */ smallEnd: unsafeCSS(`${CornerValue.none} ${CornerValue.small} ${CornerValue.small} ${CornerValue.none}`), /** Small rounded asymmetric shape directed towards the start. */ smallStart: unsafeCSS(`${CornerValue.small} ${CornerValue.none} ${CornerValue.none} ${CornerValue.small}`), /** Extra small rounded asymmetric shape directed towards the top. */ extraSmallTop: unsafeCSS( `var(--md-sys-shape-corner-extra-small-top, ${CornerValue.extraSmall} ${CornerValue.extraSmall} ${CornerValue.none} ${CornerValue.none})` ), /** Extra small rounded symmetric shape. */ extraSmall: unsafeCSS(`var(--md-sys-shape-corner-extra-small, ${CornerValue.extraSmall})`), /** Extra small rounded asymmetric shape directed towards the end. */ extraSmallEnd: unsafeCSS( `${CornerValue.none} ${CornerValue.extraSmall} ${CornerValue.extraSmall} ${CornerValue.none}` ), /** Extra small rounded asymmetric shape directed towards the start. */ extraSmallStart: unsafeCSS( `${CornerValue.extraSmall} ${CornerValue.none} ${CornerValue.none} ${CornerValue.extraSmall}` ), /** Extra small rounded asymmetric shape directed towards the bottom. */ extraSmallBottom: unsafeCSS( `${CornerValue.none} ${CornerValue.none} ${CornerValue.extraSmall} ${CornerValue.extraSmall}` ), /** No rounding. */ none: unsafeCSS(`var(--md-sys-shape-corner-none, ${CornerValue.none})`), /** Increased large rounded symmetric shape. */ largeIncreased: unsafeCSS(`var(--md-sys-shape-corner-large-increased, ${CornerValue.largeIncreased})`), /** Increased extra large rounded symmetric shape. */ extraLargeIncreased: unsafeCSS( `var(--md-sys-shape-corner-extra-large-increased, ${CornerValue.extraLargeIncreased})` ), /** Extra extra large rounded symmetric shape. */ extraExtraLarge: unsafeCSS(`var(--md-sys-shape-corner-extra-extra-large, ${CornerValue.extraExtraLarge})`), /** Design tokens that control specific corners. */ value: CornerValue, }, }",
|
|
14039
|
+
"description": "Design tokens that control shape."
|
|
14040
|
+
}
|
|
14041
|
+
],
|
|
14042
|
+
"exports": [
|
|
14064
14043
|
{
|
|
14065
14044
|
"kind": "js",
|
|
14066
|
-
"name": "
|
|
14045
|
+
"name": "ShapeToken",
|
|
14067
14046
|
"declaration": {
|
|
14068
|
-
"name": "
|
|
14069
|
-
"
|
|
14047
|
+
"name": "ShapeToken",
|
|
14048
|
+
"module": "src/shared/tokens/ShapeToken.ts"
|
|
14070
14049
|
}
|
|
14071
14050
|
}
|
|
14072
14051
|
]
|
|
14073
14052
|
},
|
|
14074
14053
|
{
|
|
14075
14054
|
"kind": "javascript-module",
|
|
14076
|
-
"path": "src/shared/
|
|
14055
|
+
"path": "src/shared/tokens/StateToken.ts",
|
|
14077
14056
|
"declarations": [
|
|
14078
14057
|
{
|
|
14079
|
-
"kind": "
|
|
14080
|
-
"name": "
|
|
14081
|
-
"
|
|
14082
|
-
"
|
|
14083
|
-
"text": ""
|
|
14084
|
-
}
|
|
14058
|
+
"kind": "variable",
|
|
14059
|
+
"name": "StateToken",
|
|
14060
|
+
"type": {
|
|
14061
|
+
"text": "{\r\n /** Opacity of the state layer on focus. */\r\n focusStateLayerOpacity: unsafeCSS(\"var(--md-sys-state-focus-state-layer-opacity, 10%)\"),\r\n\r\n /** Opacity of the state layer on hover. */\r\n hoverStateLayerOpacity: unsafeCSS(\"var(--md-sys-state-hover-state-layer-opacity, 8%)\"),\r\n\r\n /** Opacity of the state layer on pressed. */\r\n pressedStateLayerOpacity: unsafeCSS(\"var(--md-sys-state-pressed-state-layer-opacity, 10%)\"),\r\n}"
|
|
14085
14062
|
},
|
|
14086
|
-
"
|
|
14087
|
-
|
|
14088
|
-
"name": "target",
|
|
14089
|
-
"type": {
|
|
14090
|
-
"text": "T"
|
|
14091
|
-
},
|
|
14092
|
-
"description": "The object whose property should be intercepted."
|
|
14093
|
-
},
|
|
14094
|
-
{
|
|
14095
|
-
"name": "prop",
|
|
14096
|
-
"type": {
|
|
14097
|
-
"text": "K"
|
|
14098
|
-
},
|
|
14099
|
-
"description": "The property key to intercept."
|
|
14100
|
-
},
|
|
14101
|
-
{
|
|
14102
|
-
"name": "options",
|
|
14103
|
-
"type": {
|
|
14104
|
-
"text": "{\r\n get?: (getter: () => T[K]) => T[K];\r\n set?: (value: T[K], setter: (v: T[K]) => void) => void;\r\n }"
|
|
14105
|
-
},
|
|
14106
|
-
"description": "Configuration object for interceptor callbacks."
|
|
14107
|
-
}
|
|
14108
|
-
],
|
|
14109
|
-
"description": "Intercepts property access and mutations on a target object, allowing custom logic\r\nto run when the property is read or written to."
|
|
14063
|
+
"default": "{ /** Opacity of the state layer on focus. */ focusStateLayerOpacity: unsafeCSS(\"var(--md-sys-state-focus-state-layer-opacity, 10%)\"), /** Opacity of the state layer on hover. */ hoverStateLayerOpacity: unsafeCSS(\"var(--md-sys-state-hover-state-layer-opacity, 8%)\"), /** Opacity of the state layer on pressed. */ pressedStateLayerOpacity: unsafeCSS(\"var(--md-sys-state-pressed-state-layer-opacity, 10%)\"), }",
|
|
14064
|
+
"description": "Design tokens that control state layer."
|
|
14110
14065
|
}
|
|
14111
14066
|
],
|
|
14112
14067
|
"exports": [
|
|
14113
14068
|
{
|
|
14114
14069
|
"kind": "js",
|
|
14115
|
-
"name": "
|
|
14070
|
+
"name": "StateToken",
|
|
14116
14071
|
"declaration": {
|
|
14117
|
-
"name": "
|
|
14118
|
-
"module": "src/shared/
|
|
14072
|
+
"name": "StateToken",
|
|
14073
|
+
"module": "src/shared/tokens/StateToken.ts"
|
|
14119
14074
|
}
|
|
14120
14075
|
}
|
|
14121
14076
|
]
|
|
14122
14077
|
},
|
|
14123
14078
|
{
|
|
14124
14079
|
"kind": "javascript-module",
|
|
14125
|
-
"path": "src/shared/
|
|
14080
|
+
"path": "src/shared/tokens/TypescaleToken.ts",
|
|
14126
14081
|
"declarations": [
|
|
14127
14082
|
{
|
|
14128
|
-
"kind": "
|
|
14129
|
-
"name": "
|
|
14130
|
-
"
|
|
14131
|
-
"type": {
|
|
14132
|
-
"text": "boolean"
|
|
14133
|
-
}
|
|
14083
|
+
"kind": "variable",
|
|
14084
|
+
"name": "TypescaleToken",
|
|
14085
|
+
"type": {
|
|
14086
|
+
"text": "{\r\n /** Standard typescale variant. */\r\n standard: {\r\n /** Short, important text or numerals. */\r\n display: {\r\n large: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-display-large-font-size, 3.5625rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-display-large-font-weight, 400)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-display-large-line-height, 4rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-display-large-tracking, 0.015625rem)\"),\r\n },\r\n medium: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-display-medium-font-size, 2.8125rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-display-medium-font-weight, 400)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-display-medium-line-height, 3.25rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-display-medium-tracking, 0)\"),\r\n },\r\n small: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-display-small-font-size, 2.25rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-display-small-font-weight, 400)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-display-small-line-height, 2.75rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-display-small-tracking, 0)\"),\r\n },\r\n },\r\n\r\n /** Short, high-emphasis text on smaller screens. */\r\n headline: {\r\n large: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-headline-large-font-size, 2rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-headline-large-font-weight, 400)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-headline-large-line-height, 2.5rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-headline-large-tracking, 0)\"),\r\n },\r\n medium: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-headline-medium-font-size, 1.75rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-headline-medium-font-weight, 400)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-headline-medium-line-height, 2.25rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-headline-medium-tracking, 0)\"),\r\n },\r\n small: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-headline-small-font-size, 1.5rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-headline-small-font-weight, 400)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-headline-small-line-height, 2rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-headline-small-tracking, 0)\"),\r\n },\r\n },\r\n\r\n /** Medium-emphasis text that remains relatively short. */\r\n title: {\r\n large: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-title-large-font-size, 1.375rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-title-large-font-weight, 400)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-title-large-line-height, 1.75rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-title-large-tracking, 0)\"),\r\n },\r\n medium: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-title-medium-font-size, 1rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-title-medium-font-weight, 500)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-title-medium-line-height, 1.5rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-title-medium-tracking, 0.009375rem)\"),\r\n },\r\n small: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-title-small-font-size, 0.875rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-title-small-font-weight, 500)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-title-small-line-height, 1.25rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-title-small-tracking, 0.00625rem)\"),\r\n },\r\n },\r\n\r\n /** Longer passages of text. */\r\n body: {\r\n large: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-body-large-font-size, 1rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-body-large-font-weight, 400)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-body-large-line-height, 1.5rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-body-large-tracking, 0.03125rem)\"),\r\n },\r\n medium: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-body-medium-font-size, 0.875rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-body-medium-font-weight, 400)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-body-medium-line-height, 1.25rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-body-medium-tracking, 0.015625rem)\"),\r\n },\r\n small: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-body-small-font-size, 0.75rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-body-small-font-weight, 400)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-body-small-line-height, 1rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-body-small-tracking, 0.025rem)\"),\r\n },\r\n },\r\n\r\n /** Smaller, utilitarian text. */\r\n label: {\r\n large: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-label-large-font-size, 0.875rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-label-large-font-weight, 500)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-label-large-line-height, 1.25rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-label-large-tracking, 0.00625rem)\"),\r\n },\r\n medium: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-label-medium-font-size, 0.75rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-label-medium-font-weight, 500)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-label-medium-line-height, 1rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-label-medium-tracking, 0.03125rem)\"),\r\n },\r\n small: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-label-small-font-size, 0.6875rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-label-small-font-weight, 500)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-label-small-line-height, 1rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-label-small-tracking, 0.03125rem)\"),\r\n },\r\n },\r\n },\r\n\r\n /** Emphasized typescale variant. */\r\n emphasized: {\r\n /** Short, important text or numerals. */\r\n display: {\r\n large: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-display-large-font-size, 3.5625rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-display-large-font-weight, 500)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-display-large-line-height, 4rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-display-large-tracking, 0.015625rem)\"),\r\n },\r\n medium: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-display-medium-font-size, 2.8125rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-display-medium-font-weight, 500)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-display-medium-line-height, 3.25rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-display-medium-tracking, 0)\"),\r\n },\r\n small: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-display-small-font-size, 2.25rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-display-small-font-weight, 500)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-display-small-line-height, 2.75rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-display-small-tracking, 0)\"),\r\n },\r\n },\r\n\r\n /** Short, high-emphasis text on smaller screens. */\r\n headline: {\r\n large: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-headline-large-font-size, 2rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-headline-large-font-weight, 500)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-headline-large-line-height, 2.5rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-headline-large-tracking, 0)\"),\r\n },\r\n medium: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-headline-medium-font-size, 1.75rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-headline-medium-font-weight, 500)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-headline-medium-line-height, 2.25rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-headline-medium-tracking, 0)\"),\r\n },\r\n small: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-headline-small-font-size, 1.5rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-headline-small-font-weight, 500)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-headline-small-line-height, 2rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-headline-small-tracking, 0)\"),\r\n },\r\n },\r\n\r\n /** Medium-emphasis text that remains relatively short. */\r\n title: {\r\n large: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-title-large-font-size, 1.375rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-title-large-font-weight, 500)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-title-large-line-height, 1.75rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-title-large-tracking, 0)\"),\r\n },\r\n medium: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-title-medium-font-size, 1rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-title-medium-font-weight, 700)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-title-medium-line-height, 3.5rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-title-medium-tracking, 0.009375rem)\"),\r\n },\r\n small: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-title-small-font-size, 0.875rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-title-small-font-weight, 700)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-title-small-line-height, 1.25rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-title-small-tracking, 0.00625rem)\"),\r\n },\r\n },\r\n\r\n /** Longer passages of text. */\r\n body: {\r\n large: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-body-large-font-size, 1rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-body-large-font-weight, 500)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-body-large-line-height, 1.5rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-body-large-tracking, 0.03125rem)\"),\r\n },\r\n medium: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-body-medium-font-size, 0.875rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-body-medium-font-weight, 500)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-body-medium-line-height, 1.25rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-body-medium-tracking, 0.015625rem)\"),\r\n },\r\n small: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-body-small-font-size, 0.75rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-body-small-font-weight, 500)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-body-small-line-height, 1rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-body-small-tracking, 0.025rem)\"),\r\n },\r\n },\r\n\r\n /** Smaller, utilitarian text. */\r\n label: {\r\n large: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-label-large-font-size, 0.875rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-label-large-font-weight, 700)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-label-large-line-height, 1.25rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-label-large-tracking, 0.00625rem)\"),\r\n },\r\n medium: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-label-medium-font-size, 0.75rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-label-medium-font-weight, 700)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-label-medium-line-height, 1rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-label-medium-tracking, 0.03125rem)\"),\r\n },\r\n small: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-label-small-font-size, 0.6875rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-label-small-font-weight, 700)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-label-small-line-height, 1rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-label-small-tracking, 0.03125rem)\"),\r\n },\r\n },\r\n },\r\n}"
|
|
14134
14087
|
},
|
|
14135
|
-
"description": "Determines whether reduced motion is preferred."
|
|
14088
|
+
"default": "{ /** Standard typescale variant. */ standard: { /** Short, important text or numerals. */ display: { large: { fontSize: unsafeCSS(\"var(--md-sys-typescale-display-large-font-size, 3.5625rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-display-large-font-weight, 400)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-display-large-line-height, 4rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-display-large-tracking, 0.015625rem)\"), }, medium: { fontSize: unsafeCSS(\"var(--md-sys-typescale-display-medium-font-size, 2.8125rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-display-medium-font-weight, 400)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-display-medium-line-height, 3.25rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-display-medium-tracking, 0)\"), }, small: { fontSize: unsafeCSS(\"var(--md-sys-typescale-display-small-font-size, 2.25rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-display-small-font-weight, 400)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-display-small-line-height, 2.75rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-display-small-tracking, 0)\"), }, }, /** Short, high-emphasis text on smaller screens. */ headline: { large: { fontSize: unsafeCSS(\"var(--md-sys-typescale-headline-large-font-size, 2rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-headline-large-font-weight, 400)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-headline-large-line-height, 2.5rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-headline-large-tracking, 0)\"), }, medium: { fontSize: unsafeCSS(\"var(--md-sys-typescale-headline-medium-font-size, 1.75rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-headline-medium-font-weight, 400)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-headline-medium-line-height, 2.25rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-headline-medium-tracking, 0)\"), }, small: { fontSize: unsafeCSS(\"var(--md-sys-typescale-headline-small-font-size, 1.5rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-headline-small-font-weight, 400)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-headline-small-line-height, 2rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-headline-small-tracking, 0)\"), }, }, /** Medium-emphasis text that remains relatively short. */ title: { large: { fontSize: unsafeCSS(\"var(--md-sys-typescale-title-large-font-size, 1.375rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-title-large-font-weight, 400)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-title-large-line-height, 1.75rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-title-large-tracking, 0)\"), }, medium: { fontSize: unsafeCSS(\"var(--md-sys-typescale-title-medium-font-size, 1rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-title-medium-font-weight, 500)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-title-medium-line-height, 1.5rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-title-medium-tracking, 0.009375rem)\"), }, small: { fontSize: unsafeCSS(\"var(--md-sys-typescale-title-small-font-size, 0.875rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-title-small-font-weight, 500)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-title-small-line-height, 1.25rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-title-small-tracking, 0.00625rem)\"), }, }, /** Longer passages of text. */ body: { large: { fontSize: unsafeCSS(\"var(--md-sys-typescale-body-large-font-size, 1rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-body-large-font-weight, 400)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-body-large-line-height, 1.5rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-body-large-tracking, 0.03125rem)\"), }, medium: { fontSize: unsafeCSS(\"var(--md-sys-typescale-body-medium-font-size, 0.875rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-body-medium-font-weight, 400)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-body-medium-line-height, 1.25rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-body-medium-tracking, 0.015625rem)\"), }, small: { fontSize: unsafeCSS(\"var(--md-sys-typescale-body-small-font-size, 0.75rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-body-small-font-weight, 400)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-body-small-line-height, 1rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-body-small-tracking, 0.025rem)\"), }, }, /** Smaller, utilitarian text. */ label: { large: { fontSize: unsafeCSS(\"var(--md-sys-typescale-label-large-font-size, 0.875rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-label-large-font-weight, 500)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-label-large-line-height, 1.25rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-label-large-tracking, 0.00625rem)\"), }, medium: { fontSize: unsafeCSS(\"var(--md-sys-typescale-label-medium-font-size, 0.75rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-label-medium-font-weight, 500)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-label-medium-line-height, 1rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-label-medium-tracking, 0.03125rem)\"), }, small: { fontSize: unsafeCSS(\"var(--md-sys-typescale-label-small-font-size, 0.6875rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-label-small-font-weight, 500)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-label-small-line-height, 1rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-label-small-tracking, 0.03125rem)\"), }, }, }, /** Emphasized typescale variant. */ emphasized: { /** Short, important text or numerals. */ display: { large: { fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-display-large-font-size, 3.5625rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-display-large-font-weight, 500)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-display-large-line-height, 4rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-display-large-tracking, 0.015625rem)\"), }, medium: { fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-display-medium-font-size, 2.8125rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-display-medium-font-weight, 500)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-display-medium-line-height, 3.25rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-display-medium-tracking, 0)\"), }, small: { fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-display-small-font-size, 2.25rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-display-small-font-weight, 500)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-display-small-line-height, 2.75rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-display-small-tracking, 0)\"), }, }, /** Short, high-emphasis text on smaller screens. */ headline: { large: { fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-headline-large-font-size, 2rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-headline-large-font-weight, 500)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-headline-large-line-height, 2.5rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-headline-large-tracking, 0)\"), }, medium: { fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-headline-medium-font-size, 1.75rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-headline-medium-font-weight, 500)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-headline-medium-line-height, 2.25rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-headline-medium-tracking, 0)\"), }, small: { fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-headline-small-font-size, 1.5rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-headline-small-font-weight, 500)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-headline-small-line-height, 2rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-headline-small-tracking, 0)\"), }, }, /** Medium-emphasis text that remains relatively short. */ title: { large: { fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-title-large-font-size, 1.375rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-title-large-font-weight, 500)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-title-large-line-height, 1.75rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-title-large-tracking, 0)\"), }, medium: { fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-title-medium-font-size, 1rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-title-medium-font-weight, 700)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-title-medium-line-height, 3.5rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-title-medium-tracking, 0.009375rem)\"), }, small: { fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-title-small-font-size, 0.875rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-title-small-font-weight, 700)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-title-small-line-height, 1.25rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-title-small-tracking, 0.00625rem)\"), }, }, /** Longer passages of text. */ body: { large: { fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-body-large-font-size, 1rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-body-large-font-weight, 500)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-body-large-line-height, 1.5rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-body-large-tracking, 0.03125rem)\"), }, medium: { fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-body-medium-font-size, 0.875rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-body-medium-font-weight, 500)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-body-medium-line-height, 1.25rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-body-medium-tracking, 0.015625rem)\"), }, small: { fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-body-small-font-size, 0.75rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-body-small-font-weight, 500)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-body-small-line-height, 1rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-body-small-tracking, 0.025rem)\"), }, }, /** Smaller, utilitarian text. */ label: { large: { fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-label-large-font-size, 0.875rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-label-large-font-weight, 700)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-label-large-line-height, 1.25rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-label-large-tracking, 0.00625rem)\"), }, medium: { fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-label-medium-font-size, 0.75rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-label-medium-font-weight, 700)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-label-medium-line-height, 1rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-label-medium-tracking, 0.03125rem)\"), }, small: { fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-label-small-font-size, 0.6875rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-label-small-font-weight, 700)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-label-small-line-height, 1rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-label-small-tracking, 0.03125rem)\"), }, }, }, }",
|
|
14089
|
+
"description": "Design tokens that control typescale."
|
|
14136
14090
|
}
|
|
14137
14091
|
],
|
|
14138
14092
|
"exports": [
|
|
14139
14093
|
{
|
|
14140
14094
|
"kind": "js",
|
|
14141
|
-
"name": "
|
|
14095
|
+
"name": "TypescaleToken",
|
|
14142
14096
|
"declaration": {
|
|
14143
|
-
"name": "
|
|
14144
|
-
"module": "src/shared/
|
|
14097
|
+
"name": "TypescaleToken",
|
|
14098
|
+
"module": "src/shared/tokens/TypescaleToken.ts"
|
|
14145
14099
|
}
|
|
14146
14100
|
}
|
|
14147
14101
|
]
|
|
14148
14102
|
},
|
|
14149
14103
|
{
|
|
14150
14104
|
"kind": "javascript-module",
|
|
14151
|
-
"path": "src/shared/utils/
|
|
14105
|
+
"path": "src/shared/utils/computeCssSize.ts",
|
|
14152
14106
|
"declarations": [
|
|
14153
14107
|
{
|
|
14154
14108
|
"kind": "function",
|
|
14155
|
-
"name": "
|
|
14109
|
+
"name": "computeCssSize",
|
|
14156
14110
|
"return": {
|
|
14157
14111
|
"type": {
|
|
14158
|
-
"text": "
|
|
14112
|
+
"text": "number"
|
|
14159
14113
|
}
|
|
14160
14114
|
},
|
|
14161
14115
|
"parameters": [
|
|
14162
14116
|
{
|
|
14163
|
-
"name": "
|
|
14117
|
+
"name": "host",
|
|
14164
14118
|
"type": {
|
|
14165
|
-
"text": "
|
|
14119
|
+
"text": "HTMLElement"
|
|
14166
14120
|
},
|
|
14167
|
-
"description": "The element
|
|
14121
|
+
"description": "The element whose coordinate system and CSS variables should be used to resolve the expression."
|
|
14168
14122
|
},
|
|
14169
14123
|
{
|
|
14170
|
-
"name": "
|
|
14171
|
-
"default": "document",
|
|
14124
|
+
"name": "expression",
|
|
14172
14125
|
"type": {
|
|
14173
|
-
"text": "
|
|
14126
|
+
"text": "string"
|
|
14174
14127
|
},
|
|
14175
|
-
"description": "
|
|
14128
|
+
"description": "The CSS expression to evaluate."
|
|
14176
14129
|
}
|
|
14177
14130
|
],
|
|
14178
|
-
"description": "
|
|
14131
|
+
"description": "Computes a CSS size expression (var(), %, rem, calc(), etc.) relative to the given host element."
|
|
14179
14132
|
}
|
|
14180
14133
|
],
|
|
14181
14134
|
"exports": [
|
|
14182
14135
|
{
|
|
14183
14136
|
"kind": "js",
|
|
14184
|
-
"name": "
|
|
14137
|
+
"name": "computeCssSize",
|
|
14185
14138
|
"declaration": {
|
|
14186
|
-
"name": "
|
|
14187
|
-
"module": "src/shared/utils/
|
|
14139
|
+
"name": "computeCssSize",
|
|
14140
|
+
"module": "src/shared/utils/computeCssSize.ts"
|
|
14188
14141
|
}
|
|
14189
14142
|
}
|
|
14190
14143
|
]
|
|
14191
14144
|
},
|
|
14192
14145
|
{
|
|
14193
14146
|
"kind": "javascript-module",
|
|
14194
|
-
"path": "src/shared/utils/
|
|
14147
|
+
"path": "src/shared/utils/computeLineCount.ts",
|
|
14195
14148
|
"declarations": [
|
|
14196
14149
|
{
|
|
14197
14150
|
"kind": "function",
|
|
14198
|
-
"name": "
|
|
14151
|
+
"name": "computeLineCount",
|
|
14199
14152
|
"return": {
|
|
14200
14153
|
"type": {
|
|
14201
|
-
"text": ""
|
|
14154
|
+
"text": "number"
|
|
14202
14155
|
}
|
|
14203
14156
|
},
|
|
14204
14157
|
"parameters": [
|
|
14205
14158
|
{
|
|
14206
|
-
"name": "
|
|
14159
|
+
"name": "element",
|
|
14207
14160
|
"type": {
|
|
14208
|
-
"text": "
|
|
14161
|
+
"text": "HTMLElement"
|
|
14209
14162
|
},
|
|
14210
|
-
"description": "The
|
|
14163
|
+
"description": "The element for which to compute the number of lines."
|
|
14211
14164
|
}
|
|
14212
14165
|
],
|
|
14213
|
-
"description": "
|
|
14166
|
+
"description": "Determines the number of textual lines presented by an element."
|
|
14214
14167
|
}
|
|
14215
14168
|
],
|
|
14216
14169
|
"exports": [
|
|
14217
14170
|
{
|
|
14218
14171
|
"kind": "js",
|
|
14219
|
-
"name": "
|
|
14172
|
+
"name": "computeLineCount",
|
|
14220
14173
|
"declaration": {
|
|
14221
|
-
"name": "
|
|
14222
|
-
"module": "src/shared/utils/
|
|
14174
|
+
"name": "computeLineCount",
|
|
14175
|
+
"module": "src/shared/utils/computeLineCount.ts"
|
|
14223
14176
|
}
|
|
14224
14177
|
}
|
|
14225
14178
|
]
|
|
14226
14179
|
},
|
|
14227
14180
|
{
|
|
14228
14181
|
"kind": "javascript-module",
|
|
14229
|
-
"path": "src/shared/utils/
|
|
14182
|
+
"path": "src/shared/utils/focusWhenReady.ts",
|
|
14230
14183
|
"declarations": [
|
|
14231
14184
|
{
|
|
14232
14185
|
"kind": "function",
|
|
14233
|
-
"name": "
|
|
14186
|
+
"name": "focusWhenReady",
|
|
14234
14187
|
"return": {
|
|
14235
14188
|
"type": {
|
|
14236
|
-
"text": "
|
|
14189
|
+
"text": "Promise<boolean>"
|
|
14237
14190
|
}
|
|
14238
14191
|
},
|
|
14239
14192
|
"parameters": [
|
|
@@ -14242,274 +14195,614 @@
|
|
|
14242
14195
|
"type": {
|
|
14243
14196
|
"text": "HTMLElement"
|
|
14244
14197
|
},
|
|
14245
|
-
"description": "The element to
|
|
14198
|
+
"description": "The element to to focus."
|
|
14246
14199
|
},
|
|
14247
14200
|
{
|
|
14248
|
-
"name": "
|
|
14201
|
+
"name": "timeout",
|
|
14202
|
+
"default": "200",
|
|
14249
14203
|
"type": {
|
|
14250
|
-
"text": "
|
|
14204
|
+
"text": "number"
|
|
14251
14205
|
},
|
|
14252
|
-
"description": "The
|
|
14253
|
-
|
|
14254
|
-
{
|
|
14255
|
-
"name": "options",
|
|
14256
|
-
"optional": true,
|
|
14257
|
-
"type": {
|
|
14258
|
-
"text": "ScrollIntoViewOptions"
|
|
14259
|
-
},
|
|
14260
|
-
"description": "Options used to scroll into view."
|
|
14206
|
+
"description": "The maximum amount of time to attempt to focus `el`.",
|
|
14207
|
+
"optional": true
|
|
14261
14208
|
}
|
|
14262
14209
|
],
|
|
14263
|
-
"description": "
|
|
14210
|
+
"description": "Asynchronously attempts to focus an element once it becomes focusable."
|
|
14264
14211
|
}
|
|
14265
14212
|
],
|
|
14266
14213
|
"exports": [
|
|
14267
14214
|
{
|
|
14268
14215
|
"kind": "js",
|
|
14269
|
-
"name": "
|
|
14216
|
+
"name": "focusWhenReady",
|
|
14270
14217
|
"declaration": {
|
|
14271
|
-
"name": "
|
|
14272
|
-
"module": "src/shared/utils/
|
|
14218
|
+
"name": "focusWhenReady",
|
|
14219
|
+
"module": "src/shared/utils/focusWhenReady.ts"
|
|
14273
14220
|
}
|
|
14274
14221
|
}
|
|
14275
14222
|
]
|
|
14276
14223
|
},
|
|
14277
14224
|
{
|
|
14278
14225
|
"kind": "javascript-module",
|
|
14279
|
-
"path": "src/shared/
|
|
14226
|
+
"path": "src/shared/utils/forcedColorsActive.ts",
|
|
14280
14227
|
"declarations": [
|
|
14281
14228
|
{
|
|
14282
|
-
"kind": "
|
|
14283
|
-
"name": "
|
|
14284
|
-
"
|
|
14285
|
-
"
|
|
14229
|
+
"kind": "function",
|
|
14230
|
+
"name": "forcedColorsActive",
|
|
14231
|
+
"return": {
|
|
14232
|
+
"type": {
|
|
14233
|
+
"text": "boolean"
|
|
14234
|
+
}
|
|
14286
14235
|
},
|
|
14287
|
-
"
|
|
14288
|
-
"description": "Design tokens that control color."
|
|
14236
|
+
"description": "Determines whether forced colors are active."
|
|
14289
14237
|
}
|
|
14290
14238
|
],
|
|
14291
14239
|
"exports": [
|
|
14292
14240
|
{
|
|
14293
14241
|
"kind": "js",
|
|
14294
|
-
"name": "
|
|
14242
|
+
"name": "forcedColorsActive",
|
|
14295
14243
|
"declaration": {
|
|
14296
|
-
"name": "
|
|
14297
|
-
"module": "src/shared/
|
|
14244
|
+
"name": "forcedColorsActive",
|
|
14245
|
+
"module": "src/shared/utils/forcedColorsActive.ts"
|
|
14298
14246
|
}
|
|
14299
14247
|
}
|
|
14300
14248
|
]
|
|
14301
14249
|
},
|
|
14302
14250
|
{
|
|
14303
14251
|
"kind": "javascript-module",
|
|
14304
|
-
"path": "src/shared/
|
|
14252
|
+
"path": "src/shared/utils/generateClipPaths.ts",
|
|
14305
14253
|
"declarations": [
|
|
14306
14254
|
{
|
|
14307
|
-
"kind": "
|
|
14308
|
-
"name": "
|
|
14309
|
-
"
|
|
14310
|
-
"
|
|
14255
|
+
"kind": "function",
|
|
14256
|
+
"name": "generateClipPaths",
|
|
14257
|
+
"return": {
|
|
14258
|
+
"type": {
|
|
14259
|
+
"text": "string[]"
|
|
14260
|
+
}
|
|
14311
14261
|
},
|
|
14312
|
-
"
|
|
14313
|
-
|
|
14262
|
+
"parameters": [
|
|
14263
|
+
{
|
|
14264
|
+
"name": "paths",
|
|
14265
|
+
"type": {
|
|
14266
|
+
"text": "string[]"
|
|
14267
|
+
},
|
|
14268
|
+
"description": "The SVG path data to convert to normalized clip paths."
|
|
14269
|
+
},
|
|
14270
|
+
{
|
|
14271
|
+
"name": "maxPoints",
|
|
14272
|
+
"type": {
|
|
14273
|
+
"text": "number"
|
|
14274
|
+
},
|
|
14275
|
+
"description": "The maximum number of points to which to normalize paths."
|
|
14276
|
+
}
|
|
14277
|
+
],
|
|
14278
|
+
"description": "Generates normalized clip paths from SVG path data."
|
|
14314
14279
|
}
|
|
14315
14280
|
],
|
|
14316
14281
|
"exports": [
|
|
14317
14282
|
{
|
|
14318
14283
|
"kind": "js",
|
|
14319
|
-
"name": "
|
|
14284
|
+
"name": "generateClipPaths",
|
|
14320
14285
|
"declaration": {
|
|
14321
|
-
"name": "
|
|
14322
|
-
"module": "src/shared/
|
|
14286
|
+
"name": "generateClipPaths",
|
|
14287
|
+
"module": "src/shared/utils/generateClipPaths.ts"
|
|
14323
14288
|
}
|
|
14324
14289
|
}
|
|
14325
14290
|
]
|
|
14326
14291
|
},
|
|
14327
14292
|
{
|
|
14328
14293
|
"kind": "javascript-module",
|
|
14329
|
-
"path": "src/shared/
|
|
14294
|
+
"path": "src/shared/utils/getTextContent.ts",
|
|
14330
14295
|
"declarations": [
|
|
14331
14296
|
{
|
|
14332
|
-
"kind": "
|
|
14333
|
-
"name": "
|
|
14334
|
-
"
|
|
14335
|
-
"
|
|
14297
|
+
"kind": "function",
|
|
14298
|
+
"name": "getTextContent",
|
|
14299
|
+
"return": {
|
|
14300
|
+
"type": {
|
|
14301
|
+
"text": "string"
|
|
14302
|
+
}
|
|
14336
14303
|
},
|
|
14337
|
-
"
|
|
14338
|
-
|
|
14304
|
+
"parameters": [
|
|
14305
|
+
{
|
|
14306
|
+
"name": "node",
|
|
14307
|
+
"type": {
|
|
14308
|
+
"text": "Node"
|
|
14309
|
+
},
|
|
14310
|
+
"description": "The node for which to get text content."
|
|
14311
|
+
},
|
|
14312
|
+
{
|
|
14313
|
+
"name": "trim",
|
|
14314
|
+
"default": "false",
|
|
14315
|
+
"type": {
|
|
14316
|
+
"text": "boolean"
|
|
14317
|
+
},
|
|
14318
|
+
"description": "A value indicating whether to trim content.",
|
|
14319
|
+
"optional": true
|
|
14320
|
+
}
|
|
14321
|
+
],
|
|
14322
|
+
"description": "Gets the text content of a given node, including slotted content."
|
|
14339
14323
|
}
|
|
14340
14324
|
],
|
|
14341
14325
|
"exports": [
|
|
14342
14326
|
{
|
|
14343
14327
|
"kind": "js",
|
|
14344
|
-
"name": "
|
|
14328
|
+
"name": "getTextContent",
|
|
14345
14329
|
"declaration": {
|
|
14346
|
-
"name": "
|
|
14347
|
-
"module": "src/shared/
|
|
14330
|
+
"name": "getTextContent",
|
|
14331
|
+
"module": "src/shared/utils/getTextContent.ts"
|
|
14348
14332
|
}
|
|
14349
14333
|
}
|
|
14350
14334
|
]
|
|
14351
14335
|
},
|
|
14352
14336
|
{
|
|
14353
14337
|
"kind": "javascript-module",
|
|
14354
|
-
"path": "src/shared/
|
|
14338
|
+
"path": "src/shared/utils/guid.ts",
|
|
14355
14339
|
"declarations": [
|
|
14356
14340
|
{
|
|
14357
|
-
"kind": "
|
|
14358
|
-
"name": "
|
|
14359
|
-
"
|
|
14360
|
-
"
|
|
14341
|
+
"kind": "function",
|
|
14342
|
+
"name": "guid",
|
|
14343
|
+
"return": {
|
|
14344
|
+
"type": {
|
|
14345
|
+
"text": "string"
|
|
14346
|
+
}
|
|
14361
14347
|
},
|
|
14362
|
-
"
|
|
14363
|
-
"description": "Design tokens that control elevation."
|
|
14348
|
+
"description": "Generates a new globally unique identifier (GUID)."
|
|
14364
14349
|
}
|
|
14365
14350
|
],
|
|
14366
14351
|
"exports": [
|
|
14367
14352
|
{
|
|
14368
14353
|
"kind": "js",
|
|
14369
|
-
"name": "
|
|
14370
|
-
"declaration": {
|
|
14371
|
-
"name": "ElevationToken",
|
|
14372
|
-
"module": "src/shared/tokens/ElevationToken.ts"
|
|
14373
|
-
}
|
|
14374
|
-
}
|
|
14375
|
-
]
|
|
14376
|
-
},
|
|
14377
|
-
{
|
|
14378
|
-
"kind": "javascript-module",
|
|
14379
|
-
"path": "src/shared/tokens/index.ts",
|
|
14380
|
-
"declarations": [],
|
|
14381
|
-
"exports": [
|
|
14382
|
-
{
|
|
14383
|
-
"kind": "js",
|
|
14384
|
-
"name": "*",
|
|
14354
|
+
"name": "guid",
|
|
14385
14355
|
"declaration": {
|
|
14386
|
-
"name": "
|
|
14387
|
-
"
|
|
14356
|
+
"name": "guid",
|
|
14357
|
+
"module": "src/shared/utils/guid.ts"
|
|
14388
14358
|
}
|
|
14389
14359
|
}
|
|
14390
14360
|
]
|
|
14391
14361
|
},
|
|
14392
14362
|
{
|
|
14393
14363
|
"kind": "javascript-module",
|
|
14394
|
-
"path": "src/shared/
|
|
14364
|
+
"path": "src/shared/utils/hasAssignedNodes.ts",
|
|
14395
14365
|
"declarations": [
|
|
14396
14366
|
{
|
|
14397
|
-
"kind": "
|
|
14398
|
-
"name": "
|
|
14399
|
-
"
|
|
14400
|
-
"
|
|
14367
|
+
"kind": "function",
|
|
14368
|
+
"name": "hasAssignedNodes",
|
|
14369
|
+
"return": {
|
|
14370
|
+
"type": {
|
|
14371
|
+
"text": "boolean"
|
|
14372
|
+
}
|
|
14401
14373
|
},
|
|
14402
|
-
"
|
|
14403
|
-
|
|
14374
|
+
"parameters": [
|
|
14375
|
+
{
|
|
14376
|
+
"name": "slot",
|
|
14377
|
+
"type": {
|
|
14378
|
+
"text": "HTMLSlotElement"
|
|
14379
|
+
},
|
|
14380
|
+
"description": "The slot to test."
|
|
14381
|
+
}
|
|
14382
|
+
],
|
|
14383
|
+
"description": "Determines whether a slot has any assigned nodes."
|
|
14404
14384
|
}
|
|
14405
14385
|
],
|
|
14406
14386
|
"exports": [
|
|
14407
14387
|
{
|
|
14408
14388
|
"kind": "js",
|
|
14409
|
-
"name": "
|
|
14389
|
+
"name": "hasAssignedNodes",
|
|
14410
14390
|
"declaration": {
|
|
14411
|
-
"name": "
|
|
14412
|
-
"module": "src/shared/
|
|
14391
|
+
"name": "hasAssignedNodes",
|
|
14392
|
+
"module": "src/shared/utils/hasAssignedNodes.ts"
|
|
14413
14393
|
}
|
|
14414
14394
|
}
|
|
14415
14395
|
]
|
|
14416
14396
|
},
|
|
14417
14397
|
{
|
|
14418
14398
|
"kind": "javascript-module",
|
|
14419
|
-
"path": "src/shared/
|
|
14420
|
-
"declarations": [
|
|
14421
|
-
{
|
|
14422
|
-
"kind": "variable",
|
|
14423
|
-
"name": "ScrollbarToken",
|
|
14424
|
-
"type": {
|
|
14425
|
-
"text": "{\r\n /** Width of a standard scrollbar. */\r\n width: unsafeCSS(`var(--m3e-scrollbar-width, auto)`),\r\n\r\n /** Width of a thin scrollbar. */\r\n thinWidth: unsafeCSS(`var(--m3e-scrollbar-thin-width, thin)`),\r\n\r\n /** Color of a scrollbar. */\r\n color: unsafeCSS(`var(--m3e-scrollbar-thumb-color, #938f94) var(--m3e-scrollbar-track-color, transparent)`),\r\n}"
|
|
14426
|
-
},
|
|
14427
|
-
"default": "{ /** Width of a standard scrollbar. */ width: unsafeCSS(`var(--m3e-scrollbar-width, auto)`), /** Width of a thin scrollbar. */ thinWidth: unsafeCSS(`var(--m3e-scrollbar-thin-width, thin)`), /** Color of a scrollbar. */ color: unsafeCSS(`var(--m3e-scrollbar-thumb-color, #938f94) var(--m3e-scrollbar-track-color, transparent)`), }",
|
|
14428
|
-
"description": "Design tokens that control scrollbars."
|
|
14429
|
-
}
|
|
14430
|
-
],
|
|
14399
|
+
"path": "src/shared/utils/index.ts",
|
|
14400
|
+
"declarations": [],
|
|
14431
14401
|
"exports": [
|
|
14432
14402
|
{
|
|
14433
14403
|
"kind": "js",
|
|
14434
|
-
"name": "
|
|
14404
|
+
"name": "*",
|
|
14435
14405
|
"declaration": {
|
|
14436
|
-
"name": "
|
|
14437
|
-
"
|
|
14406
|
+
"name": "*",
|
|
14407
|
+
"package": "\"./computeCssSize\""
|
|
14438
14408
|
}
|
|
14439
|
-
}
|
|
14440
|
-
]
|
|
14441
|
-
},
|
|
14442
|
-
{
|
|
14443
|
-
"kind": "javascript-module",
|
|
14444
|
-
"path": "src/shared/tokens/ShapeToken.ts",
|
|
14445
|
-
"declarations": [
|
|
14409
|
+
},
|
|
14446
14410
|
{
|
|
14447
|
-
"kind": "
|
|
14448
|
-
"name": "
|
|
14449
|
-
"
|
|
14450
|
-
"
|
|
14451
|
-
|
|
14452
|
-
|
|
14453
|
-
|
|
14454
|
-
}
|
|
14455
|
-
],
|
|
14456
|
-
"exports": [
|
|
14411
|
+
"kind": "js",
|
|
14412
|
+
"name": "*",
|
|
14413
|
+
"declaration": {
|
|
14414
|
+
"name": "*",
|
|
14415
|
+
"package": "\"./computeLineCount\""
|
|
14416
|
+
}
|
|
14417
|
+
},
|
|
14457
14418
|
{
|
|
14458
14419
|
"kind": "js",
|
|
14459
|
-
"name": "
|
|
14420
|
+
"name": "*",
|
|
14460
14421
|
"declaration": {
|
|
14461
|
-
"name": "
|
|
14462
|
-
"
|
|
14422
|
+
"name": "*",
|
|
14423
|
+
"package": "\"./focusWhenReady\""
|
|
14463
14424
|
}
|
|
14464
|
-
}
|
|
14465
|
-
]
|
|
14466
|
-
},
|
|
14467
|
-
{
|
|
14468
|
-
"kind": "javascript-module",
|
|
14469
|
-
"path": "src/shared/tokens/StateToken.ts",
|
|
14470
|
-
"declarations": [
|
|
14425
|
+
},
|
|
14471
14426
|
{
|
|
14472
|
-
"kind": "
|
|
14473
|
-
"name": "
|
|
14474
|
-
"
|
|
14475
|
-
"
|
|
14476
|
-
|
|
14477
|
-
|
|
14478
|
-
|
|
14479
|
-
}
|
|
14480
|
-
],
|
|
14481
|
-
"exports": [
|
|
14427
|
+
"kind": "js",
|
|
14428
|
+
"name": "*",
|
|
14429
|
+
"declaration": {
|
|
14430
|
+
"name": "*",
|
|
14431
|
+
"package": "\"./forcedColorsActive\""
|
|
14432
|
+
}
|
|
14433
|
+
},
|
|
14482
14434
|
{
|
|
14483
14435
|
"kind": "js",
|
|
14484
|
-
"name": "
|
|
14436
|
+
"name": "*",
|
|
14485
14437
|
"declaration": {
|
|
14486
|
-
"name": "
|
|
14487
|
-
"
|
|
14438
|
+
"name": "*",
|
|
14439
|
+
"package": "\"./generateClipPaths\""
|
|
14440
|
+
}
|
|
14441
|
+
},
|
|
14442
|
+
{
|
|
14443
|
+
"kind": "js",
|
|
14444
|
+
"name": "*",
|
|
14445
|
+
"declaration": {
|
|
14446
|
+
"name": "*",
|
|
14447
|
+
"package": "\"./getTextContent\""
|
|
14448
|
+
}
|
|
14449
|
+
},
|
|
14450
|
+
{
|
|
14451
|
+
"kind": "js",
|
|
14452
|
+
"name": "*",
|
|
14453
|
+
"declaration": {
|
|
14454
|
+
"name": "*",
|
|
14455
|
+
"package": "\"./guid\""
|
|
14456
|
+
}
|
|
14457
|
+
},
|
|
14458
|
+
{
|
|
14459
|
+
"kind": "js",
|
|
14460
|
+
"name": "*",
|
|
14461
|
+
"declaration": {
|
|
14462
|
+
"name": "*",
|
|
14463
|
+
"package": "\"./hasAssignedNodes\""
|
|
14464
|
+
}
|
|
14465
|
+
},
|
|
14466
|
+
{
|
|
14467
|
+
"kind": "js",
|
|
14468
|
+
"name": "*",
|
|
14469
|
+
"declaration": {
|
|
14470
|
+
"name": "*",
|
|
14471
|
+
"package": "\"./interceptProperty\""
|
|
14472
|
+
}
|
|
14473
|
+
},
|
|
14474
|
+
{
|
|
14475
|
+
"kind": "js",
|
|
14476
|
+
"name": "*",
|
|
14477
|
+
"declaration": {
|
|
14478
|
+
"name": "*",
|
|
14479
|
+
"package": "\"./prefersReducedMotion\""
|
|
14480
|
+
}
|
|
14481
|
+
},
|
|
14482
|
+
{
|
|
14483
|
+
"kind": "js",
|
|
14484
|
+
"name": "*",
|
|
14485
|
+
"declaration": {
|
|
14486
|
+
"name": "*",
|
|
14487
|
+
"package": "\"./resolveElementById\""
|
|
14488
|
+
}
|
|
14489
|
+
},
|
|
14490
|
+
{
|
|
14491
|
+
"kind": "js",
|
|
14492
|
+
"name": "*",
|
|
14493
|
+
"declaration": {
|
|
14494
|
+
"name": "*",
|
|
14495
|
+
"package": "\"./resolveFragmentUrl\""
|
|
14496
|
+
}
|
|
14497
|
+
},
|
|
14498
|
+
{
|
|
14499
|
+
"kind": "js",
|
|
14500
|
+
"name": "*",
|
|
14501
|
+
"declaration": {
|
|
14502
|
+
"name": "*",
|
|
14503
|
+
"package": "\"./scrollIntoViewIfNeeded\""
|
|
14504
|
+
}
|
|
14505
|
+
},
|
|
14506
|
+
{
|
|
14507
|
+
"kind": "js",
|
|
14508
|
+
"name": "*",
|
|
14509
|
+
"declaration": {
|
|
14510
|
+
"name": "*",
|
|
14511
|
+
"package": "\"./VelocityTracker\""
|
|
14488
14512
|
}
|
|
14489
14513
|
}
|
|
14490
14514
|
]
|
|
14491
14515
|
},
|
|
14492
14516
|
{
|
|
14493
14517
|
"kind": "javascript-module",
|
|
14494
|
-
"path": "src/shared/
|
|
14518
|
+
"path": "src/shared/utils/interceptProperty.ts",
|
|
14495
14519
|
"declarations": [
|
|
14496
14520
|
{
|
|
14497
|
-
"kind": "
|
|
14498
|
-
"name": "
|
|
14499
|
-
"
|
|
14500
|
-
"text": "{\r\n /** Standard typescale variant. */\r\n standard: {\r\n /** Short, important text or numerals. */\r\n display: {\r\n large: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-display-large-font-size, 3.5625rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-display-large-font-weight, 400)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-display-large-line-height, 4rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-display-large-tracking, 0.015625rem)\"),\r\n },\r\n medium: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-display-medium-font-size, 2.8125rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-display-medium-font-weight, 400)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-display-medium-line-height, 3.25rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-display-medium-tracking, 0)\"),\r\n },\r\n small: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-display-small-font-size, 2.25rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-display-small-font-weight, 400)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-display-small-line-height, 2.75rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-display-small-tracking, 0)\"),\r\n },\r\n },\r\n\r\n /** Short, high-emphasis text on smaller screens. */\r\n headline: {\r\n large: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-headline-large-font-size, 2rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-headline-large-font-weight, 400)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-headline-large-line-height, 2.5rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-headline-large-tracking, 0)\"),\r\n },\r\n medium: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-headline-medium-font-size, 1.75rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-headline-medium-font-weight, 400)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-headline-medium-line-height, 2.25rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-headline-medium-tracking, 0)\"),\r\n },\r\n small: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-headline-small-font-size, 1.5rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-headline-small-font-weight, 400)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-headline-small-line-height, 2rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-headline-small-tracking, 0)\"),\r\n },\r\n },\r\n\r\n /** Medium-emphasis text that remains relatively short. */\r\n title: {\r\n large: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-title-large-font-size, 1.375rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-title-large-font-weight, 400)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-title-large-line-height, 1.75rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-title-large-tracking, 0)\"),\r\n },\r\n medium: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-title-medium-font-size, 1rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-title-medium-font-weight, 500)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-title-medium-line-height, 1.5rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-title-medium-tracking, 0.009375rem)\"),\r\n },\r\n small: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-title-small-font-size, 0.875rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-title-small-font-weight, 500)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-title-small-line-height, 1.25rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-title-small-tracking, 0.00625rem)\"),\r\n },\r\n },\r\n\r\n /** Longer passages of text. */\r\n body: {\r\n large: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-body-large-font-size, 1rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-body-large-font-weight, 400)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-body-large-line-height, 1.5rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-body-large-tracking, 0.03125rem)\"),\r\n },\r\n medium: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-body-medium-font-size, 0.875rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-body-medium-font-weight, 400)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-body-medium-line-height, 1.25rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-body-medium-tracking, 0.015625rem)\"),\r\n },\r\n small: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-body-small-font-size, 0.75rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-body-small-font-weight, 400)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-body-small-line-height, 1rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-body-small-tracking, 0.025rem)\"),\r\n },\r\n },\r\n\r\n /** Smaller, utilitarian text. */\r\n label: {\r\n large: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-label-large-font-size, 0.875rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-label-large-font-weight, 500)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-label-large-line-height, 1.25rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-label-large-tracking, 0.00625rem)\"),\r\n },\r\n medium: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-label-medium-font-size, 0.75rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-label-medium-font-weight, 500)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-label-medium-line-height, 1rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-label-medium-tracking, 0.03125rem)\"),\r\n },\r\n small: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-label-small-font-size, 0.6875rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-label-small-font-weight, 500)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-label-small-line-height, 1rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-label-small-tracking, 0.03125rem)\"),\r\n },\r\n },\r\n },\r\n\r\n /** Emphasized typescale variant. */\r\n emphasized: {\r\n /** Short, important text or numerals. */\r\n display: {\r\n large: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-display-large-font-size, 3.5625rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-display-large-font-weight, 500)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-display-large-line-height, 4rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-display-large-tracking, 0.015625rem)\"),\r\n },\r\n medium: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-display-medium-font-size, 2.8125rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-display-medium-font-weight, 500)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-display-medium-line-height, 3.25rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-display-medium-tracking, 0)\"),\r\n },\r\n small: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-display-small-font-size, 2.25rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-display-small-font-weight, 500)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-display-small-line-height, 2.75rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-display-small-tracking, 0)\"),\r\n },\r\n },\r\n\r\n /** Short, high-emphasis text on smaller screens. */\r\n headline: {\r\n large: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-headline-large-font-size, 2rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-headline-large-font-weight, 500)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-headline-large-line-height, 2.5rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-headline-large-tracking, 0)\"),\r\n },\r\n medium: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-headline-medium-font-size, 1.75rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-headline-medium-font-weight, 500)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-headline-medium-line-height, 2.25rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-headline-medium-tracking, 0)\"),\r\n },\r\n small: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-headline-small-font-size, 1.5rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-headline-small-font-weight, 500)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-headline-small-line-height, 2rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-headline-small-tracking, 0)\"),\r\n },\r\n },\r\n\r\n /** Medium-emphasis text that remains relatively short. */\r\n title: {\r\n large: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-title-large-font-size, 1.375rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-title-large-font-weight, 500)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-title-large-line-height, 1.75rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-title-large-tracking, 0)\"),\r\n },\r\n medium: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-title-medium-font-size, 1rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-title-medium-font-weight, 700)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-title-medium-line-height, 3.5rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-title-medium-tracking, 0.009375rem)\"),\r\n },\r\n small: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-title-small-font-size, 0.875rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-title-small-font-weight, 700)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-title-small-line-height, 1.25rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-title-small-tracking, 0.00625rem)\"),\r\n },\r\n },\r\n\r\n /** Longer passages of text. */\r\n body: {\r\n large: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-body-large-font-size, 1rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-body-large-font-weight, 500)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-body-large-line-height, 1.5rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-body-large-tracking, 0.03125rem)\"),\r\n },\r\n medium: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-body-medium-font-size, 0.875rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-body-medium-font-weight, 500)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-body-medium-line-height, 1.25rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-body-medium-tracking, 0.015625rem)\"),\r\n },\r\n small: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-body-small-font-size, 0.75rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-body-small-font-weight, 500)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-body-small-line-height, 1rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-body-small-tracking, 0.025rem)\"),\r\n },\r\n },\r\n\r\n /** Smaller, utilitarian text. */\r\n label: {\r\n large: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-label-large-font-size, 0.875rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-label-large-font-weight, 700)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-label-large-line-height, 1.25rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-label-large-tracking, 0.00625rem)\"),\r\n },\r\n medium: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-label-medium-font-size, 0.75rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-label-medium-font-weight, 700)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-label-medium-line-height, 1rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-label-medium-tracking, 0.03125rem)\"),\r\n },\r\n small: {\r\n fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-label-small-font-size, 0.6875rem)\"),\r\n fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-label-small-font-weight, 700)\"),\r\n lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-label-small-line-height, 1rem)\"),\r\n tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-label-small-tracking, 0.03125rem)\"),\r\n },\r\n },\r\n },\r\n}"
|
|
14521
|
+
"kind": "function",
|
|
14522
|
+
"name": "interceptProperty",
|
|
14523
|
+
"return": {
|
|
14524
|
+
"type": {
|
|
14525
|
+
"text": ""
|
|
14526
|
+
}
|
|
14501
14527
|
},
|
|
14502
|
-
"default": "{ /** Standard typescale variant. */ standard: { /** Short, important text or numerals. */ display: { large: { fontSize: unsafeCSS(\"var(--md-sys-typescale-display-large-font-size, 3.5625rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-display-large-font-weight, 400)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-display-large-line-height, 4rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-display-large-tracking, 0.015625rem)\"), }, medium: { fontSize: unsafeCSS(\"var(--md-sys-typescale-display-medium-font-size, 2.8125rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-display-medium-font-weight, 400)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-display-medium-line-height, 3.25rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-display-medium-tracking, 0)\"), }, small: { fontSize: unsafeCSS(\"var(--md-sys-typescale-display-small-font-size, 2.25rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-display-small-font-weight, 400)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-display-small-line-height, 2.75rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-display-small-tracking, 0)\"), }, }, /** Short, high-emphasis text on smaller screens. */ headline: { large: { fontSize: unsafeCSS(\"var(--md-sys-typescale-headline-large-font-size, 2rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-headline-large-font-weight, 400)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-headline-large-line-height, 2.5rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-headline-large-tracking, 0)\"), }, medium: { fontSize: unsafeCSS(\"var(--md-sys-typescale-headline-medium-font-size, 1.75rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-headline-medium-font-weight, 400)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-headline-medium-line-height, 2.25rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-headline-medium-tracking, 0)\"), }, small: { fontSize: unsafeCSS(\"var(--md-sys-typescale-headline-small-font-size, 1.5rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-headline-small-font-weight, 400)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-headline-small-line-height, 2rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-headline-small-tracking, 0)\"), }, }, /** Medium-emphasis text that remains relatively short. */ title: { large: { fontSize: unsafeCSS(\"var(--md-sys-typescale-title-large-font-size, 1.375rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-title-large-font-weight, 400)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-title-large-line-height, 1.75rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-title-large-tracking, 0)\"), }, medium: { fontSize: unsafeCSS(\"var(--md-sys-typescale-title-medium-font-size, 1rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-title-medium-font-weight, 500)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-title-medium-line-height, 1.5rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-title-medium-tracking, 0.009375rem)\"), }, small: { fontSize: unsafeCSS(\"var(--md-sys-typescale-title-small-font-size, 0.875rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-title-small-font-weight, 500)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-title-small-line-height, 1.25rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-title-small-tracking, 0.00625rem)\"), }, }, /** Longer passages of text. */ body: { large: { fontSize: unsafeCSS(\"var(--md-sys-typescale-body-large-font-size, 1rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-body-large-font-weight, 400)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-body-large-line-height, 1.5rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-body-large-tracking, 0.03125rem)\"), }, medium: { fontSize: unsafeCSS(\"var(--md-sys-typescale-body-medium-font-size, 0.875rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-body-medium-font-weight, 400)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-body-medium-line-height, 1.25rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-body-medium-tracking, 0.015625rem)\"), }, small: { fontSize: unsafeCSS(\"var(--md-sys-typescale-body-small-font-size, 0.75rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-body-small-font-weight, 400)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-body-small-line-height, 1rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-body-small-tracking, 0.025rem)\"), }, }, /** Smaller, utilitarian text. */ label: { large: { fontSize: unsafeCSS(\"var(--md-sys-typescale-label-large-font-size, 0.875rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-label-large-font-weight, 500)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-label-large-line-height, 1.25rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-label-large-tracking, 0.00625rem)\"), }, medium: { fontSize: unsafeCSS(\"var(--md-sys-typescale-label-medium-font-size, 0.75rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-label-medium-font-weight, 500)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-label-medium-line-height, 1rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-label-medium-tracking, 0.03125rem)\"), }, small: { fontSize: unsafeCSS(\"var(--md-sys-typescale-label-small-font-size, 0.6875rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-label-small-font-weight, 500)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-label-small-line-height, 1rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-label-small-tracking, 0.03125rem)\"), }, }, }, /** Emphasized typescale variant. */ emphasized: { /** Short, important text or numerals. */ display: { large: { fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-display-large-font-size, 3.5625rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-display-large-font-weight, 500)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-display-large-line-height, 4rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-display-large-tracking, 0.015625rem)\"), }, medium: { fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-display-medium-font-size, 2.8125rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-display-medium-font-weight, 500)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-display-medium-line-height, 3.25rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-display-medium-tracking, 0)\"), }, small: { fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-display-small-font-size, 2.25rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-display-small-font-weight, 500)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-display-small-line-height, 2.75rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-display-small-tracking, 0)\"), }, }, /** Short, high-emphasis text on smaller screens. */ headline: { large: { fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-headline-large-font-size, 2rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-headline-large-font-weight, 500)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-headline-large-line-height, 2.5rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-headline-large-tracking, 0)\"), }, medium: { fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-headline-medium-font-size, 1.75rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-headline-medium-font-weight, 500)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-headline-medium-line-height, 2.25rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-headline-medium-tracking, 0)\"), }, small: { fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-headline-small-font-size, 1.5rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-headline-small-font-weight, 500)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-headline-small-line-height, 2rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-headline-small-tracking, 0)\"), }, }, /** Medium-emphasis text that remains relatively short. */ title: { large: { fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-title-large-font-size, 1.375rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-title-large-font-weight, 500)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-title-large-line-height, 1.75rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-title-large-tracking, 0)\"), }, medium: { fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-title-medium-font-size, 1rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-title-medium-font-weight, 700)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-title-medium-line-height, 3.5rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-title-medium-tracking, 0.009375rem)\"), }, small: { fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-title-small-font-size, 0.875rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-title-small-font-weight, 700)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-title-small-line-height, 1.25rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-title-small-tracking, 0.00625rem)\"), }, }, /** Longer passages of text. */ body: { large: { fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-body-large-font-size, 1rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-body-large-font-weight, 500)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-body-large-line-height, 1.5rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-body-large-tracking, 0.03125rem)\"), }, medium: { fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-body-medium-font-size, 0.875rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-body-medium-font-weight, 500)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-body-medium-line-height, 1.25rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-body-medium-tracking, 0.015625rem)\"), }, small: { fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-body-small-font-size, 0.75rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-body-small-font-weight, 500)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-body-small-line-height, 1rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-body-small-tracking, 0.025rem)\"), }, }, /** Smaller, utilitarian text. */ label: { large: { fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-label-large-font-size, 0.875rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-label-large-font-weight, 700)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-label-large-line-height, 1.25rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-label-large-tracking, 0.00625rem)\"), }, medium: { fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-label-medium-font-size, 0.75rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-label-medium-font-weight, 700)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-label-medium-line-height, 1rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-label-medium-tracking, 0.03125rem)\"), }, small: { fontSize: unsafeCSS(\"var(--md-sys-typescale-emphasized-label-small-font-size, 0.6875rem)\"), fontWeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-label-small-font-weight, 700)\"), lineHeight: unsafeCSS(\"var(--md-sys-typescale-emphasized-label-small-line-height, 1rem)\"), tracking: unsafeCSS(\"var(--md-sys-typescale-emphasized-label-small-tracking, 0.03125rem)\"), }, }, }, }",
|
|
14503
|
-
|
|
14528
|
+
"parameters": [
|
|
14529
|
+
{
|
|
14530
|
+
"name": "target",
|
|
14531
|
+
"type": {
|
|
14532
|
+
"text": "T"
|
|
14533
|
+
},
|
|
14534
|
+
"description": "The object whose property should be intercepted."
|
|
14535
|
+
},
|
|
14536
|
+
{
|
|
14537
|
+
"name": "prop",
|
|
14538
|
+
"type": {
|
|
14539
|
+
"text": "K"
|
|
14540
|
+
},
|
|
14541
|
+
"description": "The property key to intercept."
|
|
14542
|
+
},
|
|
14543
|
+
{
|
|
14544
|
+
"name": "options",
|
|
14545
|
+
"type": {
|
|
14546
|
+
"text": "{\r\n get?: (getter: () => T[K]) => T[K];\r\n set?: (value: T[K], setter: (v: T[K]) => void) => void;\r\n }"
|
|
14547
|
+
},
|
|
14548
|
+
"description": "Configuration object for interceptor callbacks."
|
|
14549
|
+
}
|
|
14550
|
+
],
|
|
14551
|
+
"description": "Intercepts property access and mutations on a target object, allowing custom logic\r\nto run when the property is read or written to."
|
|
14504
14552
|
}
|
|
14505
14553
|
],
|
|
14506
14554
|
"exports": [
|
|
14507
14555
|
{
|
|
14508
14556
|
"kind": "js",
|
|
14509
|
-
"name": "
|
|
14557
|
+
"name": "interceptProperty",
|
|
14510
14558
|
"declaration": {
|
|
14511
|
-
"name": "
|
|
14512
|
-
"module": "src/shared/
|
|
14559
|
+
"name": "interceptProperty",
|
|
14560
|
+
"module": "src/shared/utils/interceptProperty.ts"
|
|
14561
|
+
}
|
|
14562
|
+
}
|
|
14563
|
+
]
|
|
14564
|
+
},
|
|
14565
|
+
{
|
|
14566
|
+
"kind": "javascript-module",
|
|
14567
|
+
"path": "src/shared/utils/prefersReducedMotion.ts",
|
|
14568
|
+
"declarations": [
|
|
14569
|
+
{
|
|
14570
|
+
"kind": "function",
|
|
14571
|
+
"name": "prefersReducedMotion",
|
|
14572
|
+
"return": {
|
|
14573
|
+
"type": {
|
|
14574
|
+
"text": "boolean"
|
|
14575
|
+
}
|
|
14576
|
+
},
|
|
14577
|
+
"description": "Determines whether reduced motion is preferred."
|
|
14578
|
+
}
|
|
14579
|
+
],
|
|
14580
|
+
"exports": [
|
|
14581
|
+
{
|
|
14582
|
+
"kind": "js",
|
|
14583
|
+
"name": "prefersReducedMotion",
|
|
14584
|
+
"declaration": {
|
|
14585
|
+
"name": "prefersReducedMotion",
|
|
14586
|
+
"module": "src/shared/utils/prefersReducedMotion.ts"
|
|
14587
|
+
}
|
|
14588
|
+
}
|
|
14589
|
+
]
|
|
14590
|
+
},
|
|
14591
|
+
{
|
|
14592
|
+
"kind": "javascript-module",
|
|
14593
|
+
"path": "src/shared/utils/resolveElementById.ts",
|
|
14594
|
+
"declarations": [
|
|
14595
|
+
{
|
|
14596
|
+
"kind": "function",
|
|
14597
|
+
"name": "resolveElementById",
|
|
14598
|
+
"return": {
|
|
14599
|
+
"type": {
|
|
14600
|
+
"text": "Promise<T | null>"
|
|
14601
|
+
}
|
|
14602
|
+
},
|
|
14603
|
+
"parameters": [
|
|
14604
|
+
{
|
|
14605
|
+
"name": "id",
|
|
14606
|
+
"type": {
|
|
14607
|
+
"text": "string"
|
|
14608
|
+
},
|
|
14609
|
+
"description": "The element ID to resolve."
|
|
14610
|
+
},
|
|
14611
|
+
{
|
|
14612
|
+
"name": "root",
|
|
14613
|
+
"default": "document",
|
|
14614
|
+
"type": {
|
|
14615
|
+
"text": "ParentNode"
|
|
14616
|
+
},
|
|
14617
|
+
"description": "Optional root node to query from (defaults to document)."
|
|
14618
|
+
}
|
|
14619
|
+
],
|
|
14620
|
+
"description": "Resolves an element by ID, waiting for document readiness if needed."
|
|
14621
|
+
}
|
|
14622
|
+
],
|
|
14623
|
+
"exports": [
|
|
14624
|
+
{
|
|
14625
|
+
"kind": "js",
|
|
14626
|
+
"name": "resolveElementById",
|
|
14627
|
+
"declaration": {
|
|
14628
|
+
"name": "resolveElementById",
|
|
14629
|
+
"module": "src/shared/utils/resolveElementById.ts"
|
|
14630
|
+
}
|
|
14631
|
+
}
|
|
14632
|
+
]
|
|
14633
|
+
},
|
|
14634
|
+
{
|
|
14635
|
+
"kind": "javascript-module",
|
|
14636
|
+
"path": "src/shared/utils/resolveFragmentUrl.ts",
|
|
14637
|
+
"declarations": [
|
|
14638
|
+
{
|
|
14639
|
+
"kind": "function",
|
|
14640
|
+
"name": "resolveFragmentUrl",
|
|
14641
|
+
"return": {
|
|
14642
|
+
"type": {
|
|
14643
|
+
"text": ""
|
|
14644
|
+
}
|
|
14645
|
+
},
|
|
14646
|
+
"parameters": [
|
|
14647
|
+
{
|
|
14648
|
+
"name": "id",
|
|
14649
|
+
"type": {
|
|
14650
|
+
"text": "string"
|
|
14651
|
+
},
|
|
14652
|
+
"description": "The fragment identifier to append (e.g., an SVG element's ID)."
|
|
14653
|
+
}
|
|
14654
|
+
],
|
|
14655
|
+
"description": "Resolves a URL fragment reference (`url(path#id)`) based on the current document location.\r\n\r\nThis helper is typically used when constructing fragment-based URLs for SVG\r\nreferences (e.g., masks, clipPaths, filters) where the browser requires a fully\r\nqualified `url(...)` value that includes the current path.\r\n\r\nHow it works:\r\n- Safely reads `document.location` (guarded for SSR environments).\r\n- Extracts the current page's path + query string.\r\n- Removes any existing hash fragment from the URL.\r\n- Appends `#${id}` to produce a stable fragment reference.\r\n\r\nExample:\r\n // If the current page is /viewer/page?mode=edit#section2\r\n resolveFragmentUrl(\"clip\") → \"url(/viewer/page?mode=edit#clip)\""
|
|
14656
|
+
}
|
|
14657
|
+
],
|
|
14658
|
+
"exports": [
|
|
14659
|
+
{
|
|
14660
|
+
"kind": "js",
|
|
14661
|
+
"name": "resolveFragmentUrl",
|
|
14662
|
+
"declaration": {
|
|
14663
|
+
"name": "resolveFragmentUrl",
|
|
14664
|
+
"module": "src/shared/utils/resolveFragmentUrl.ts"
|
|
14665
|
+
}
|
|
14666
|
+
}
|
|
14667
|
+
]
|
|
14668
|
+
},
|
|
14669
|
+
{
|
|
14670
|
+
"kind": "javascript-module",
|
|
14671
|
+
"path": "src/shared/utils/scrollIntoViewIfNeeded.ts",
|
|
14672
|
+
"declarations": [
|
|
14673
|
+
{
|
|
14674
|
+
"kind": "function",
|
|
14675
|
+
"name": "scrollIntoViewIfNeeded",
|
|
14676
|
+
"return": {
|
|
14677
|
+
"type": {
|
|
14678
|
+
"text": "void"
|
|
14679
|
+
}
|
|
14680
|
+
},
|
|
14681
|
+
"parameters": [
|
|
14682
|
+
{
|
|
14683
|
+
"name": "element",
|
|
14684
|
+
"type": {
|
|
14685
|
+
"text": "HTMLElement"
|
|
14686
|
+
},
|
|
14687
|
+
"description": "The element to scroll into view."
|
|
14688
|
+
},
|
|
14689
|
+
{
|
|
14690
|
+
"name": "scrollContainer",
|
|
14691
|
+
"type": {
|
|
14692
|
+
"text": "HTMLElement"
|
|
14693
|
+
},
|
|
14694
|
+
"description": "The scrollable container."
|
|
14695
|
+
},
|
|
14696
|
+
{
|
|
14697
|
+
"name": "options",
|
|
14698
|
+
"optional": true,
|
|
14699
|
+
"type": {
|
|
14700
|
+
"text": "ScrollIntoViewOptions"
|
|
14701
|
+
},
|
|
14702
|
+
"description": "Options used to scroll into view."
|
|
14703
|
+
}
|
|
14704
|
+
],
|
|
14705
|
+
"description": "If needed, scrolls an element into view within a given scroll container."
|
|
14706
|
+
}
|
|
14707
|
+
],
|
|
14708
|
+
"exports": [
|
|
14709
|
+
{
|
|
14710
|
+
"kind": "js",
|
|
14711
|
+
"name": "scrollIntoViewIfNeeded",
|
|
14712
|
+
"declaration": {
|
|
14713
|
+
"name": "scrollIntoViewIfNeeded",
|
|
14714
|
+
"module": "src/shared/utils/scrollIntoViewIfNeeded.ts"
|
|
14715
|
+
}
|
|
14716
|
+
}
|
|
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"
|
|
14513
14806
|
}
|
|
14514
14807
|
}
|
|
14515
14808
|
]
|