@carbon/ai-chat-components 1.6.0-rc.0 → 1.6.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +571 -531
- package/es/components/code-snippet/src/code-snippet.d.ts +7 -0
- package/es/components/code-snippet/src/code-snippet.js +23 -5
- package/es/components/code-snippet/src/code-snippet.js.map +1 -1
- package/es/components/code-snippet/src/code-snippet.scss.js +1 -1
- package/es/components/code-snippet/src/codemirror/base-setup.d.ts +6 -0
- package/es/components/code-snippet/src/codemirror/base-setup.js +21 -13
- package/es/components/code-snippet/src/codemirror/base-setup.js.map +1 -1
- package/es/components/code-snippet/src/codemirror/theme.js +6 -4
- package/es/components/code-snippet/src/codemirror/theme.js.map +1 -1
- package/es/components/markdown/src/markdown.js +25 -1
- package/es/components/markdown/src/markdown.js.map +1 -1
- package/es-custom/components/code-snippet/src/code-snippet.d.ts +7 -0
- package/es-custom/components/code-snippet/src/code-snippet.js +23 -5
- package/es-custom/components/code-snippet/src/code-snippet.js.map +1 -1
- package/es-custom/components/code-snippet/src/code-snippet.scss.js +1 -1
- package/es-custom/components/code-snippet/src/codemirror/base-setup.d.ts +6 -0
- package/es-custom/components/code-snippet/src/codemirror/base-setup.js +21 -13
- package/es-custom/components/code-snippet/src/codemirror/base-setup.js.map +1 -1
- package/es-custom/components/code-snippet/src/codemirror/theme.js +6 -4
- package/es-custom/components/code-snippet/src/codemirror/theme.js.map +1 -1
- package/es-custom/components/markdown/src/markdown.js +25 -1
- package/es-custom/components/markdown/src/markdown.js.map +1 -1
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -2,30 +2,6 @@
|
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
3
|
"readme": "",
|
|
4
4
|
"modules": [
|
|
5
|
-
{
|
|
6
|
-
"kind": "javascript-module",
|
|
7
|
-
"path": "src/globals/settings.ts",
|
|
8
|
-
"declarations": [
|
|
9
|
-
{
|
|
10
|
-
"kind": "variable",
|
|
11
|
-
"name": "prefix",
|
|
12
|
-
"type": {
|
|
13
|
-
"text": "string"
|
|
14
|
-
},
|
|
15
|
-
"default": "\"cds-aichat\""
|
|
16
|
-
}
|
|
17
|
-
],
|
|
18
|
-
"exports": [
|
|
19
|
-
{
|
|
20
|
-
"kind": "js",
|
|
21
|
-
"name": "default",
|
|
22
|
-
"declaration": {
|
|
23
|
-
"name": "prefix",
|
|
24
|
-
"module": "src/globals/settings.ts"
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
]
|
|
28
|
-
},
|
|
29
5
|
{
|
|
30
6
|
"kind": "javascript-module",
|
|
31
7
|
"path": "src/react/ai-label-action-button.ts",
|
|
@@ -630,6 +606,30 @@
|
|
|
630
606
|
}
|
|
631
607
|
]
|
|
632
608
|
},
|
|
609
|
+
{
|
|
610
|
+
"kind": "javascript-module",
|
|
611
|
+
"path": "src/globals/settings.ts",
|
|
612
|
+
"declarations": [
|
|
613
|
+
{
|
|
614
|
+
"kind": "variable",
|
|
615
|
+
"name": "prefix",
|
|
616
|
+
"type": {
|
|
617
|
+
"text": "string"
|
|
618
|
+
},
|
|
619
|
+
"default": "\"cds-aichat\""
|
|
620
|
+
}
|
|
621
|
+
],
|
|
622
|
+
"exports": [
|
|
623
|
+
{
|
|
624
|
+
"kind": "js",
|
|
625
|
+
"name": "default",
|
|
626
|
+
"declaration": {
|
|
627
|
+
"name": "prefix",
|
|
628
|
+
"module": "src/globals/settings.ts"
|
|
629
|
+
}
|
|
630
|
+
}
|
|
631
|
+
]
|
|
632
|
+
},
|
|
633
633
|
{
|
|
634
634
|
"kind": "javascript-module",
|
|
635
635
|
"path": "src/testing/PageObjectId.ts",
|
|
@@ -1246,151 +1246,500 @@
|
|
|
1246
1246
|
},
|
|
1247
1247
|
{
|
|
1248
1248
|
"kind": "javascript-module",
|
|
1249
|
-
"path": "src/
|
|
1249
|
+
"path": "src/react/__tests__/jest.setup.ts",
|
|
1250
|
+
"declarations": [],
|
|
1251
|
+
"exports": []
|
|
1252
|
+
},
|
|
1253
|
+
{
|
|
1254
|
+
"kind": "javascript-module",
|
|
1255
|
+
"path": "src/react/history/history-content.ts",
|
|
1250
1256
|
"declarations": [
|
|
1251
1257
|
{
|
|
1252
|
-
"kind": "
|
|
1253
|
-
"name": "
|
|
1254
|
-
"parameters": [
|
|
1255
|
-
{
|
|
1256
|
-
"name": "tagName",
|
|
1257
|
-
"type": {
|
|
1258
|
-
"text": "string"
|
|
1259
|
-
},
|
|
1260
|
-
"description": "The tag name of the custom element to define."
|
|
1261
|
-
}
|
|
1262
|
-
],
|
|
1263
|
-
"description": "Class decorator factory that defines the decorated class as a custom element.\n\n```js"
|
|
1258
|
+
"kind": "variable",
|
|
1259
|
+
"name": "HistoryContent"
|
|
1264
1260
|
}
|
|
1265
1261
|
],
|
|
1266
1262
|
"exports": [
|
|
1267
1263
|
{
|
|
1268
|
-
"kind": "
|
|
1269
|
-
"name": "
|
|
1264
|
+
"kind": "js",
|
|
1265
|
+
"name": "default",
|
|
1270
1266
|
"declaration": {
|
|
1271
|
-
"name": "
|
|
1272
|
-
"module": "src/
|
|
1267
|
+
"name": "HistoryContent",
|
|
1268
|
+
"module": "src/react/history/history-content.ts"
|
|
1273
1269
|
}
|
|
1274
|
-
}
|
|
1270
|
+
}
|
|
1271
|
+
]
|
|
1272
|
+
},
|
|
1273
|
+
{
|
|
1274
|
+
"kind": "javascript-module",
|
|
1275
|
+
"path": "src/react/history/history-delete-panel.ts",
|
|
1276
|
+
"declarations": [
|
|
1275
1277
|
{
|
|
1276
|
-
"kind": "
|
|
1277
|
-
"name": "
|
|
1278
|
+
"kind": "variable",
|
|
1279
|
+
"name": "HistoryDeletePanel"
|
|
1280
|
+
}
|
|
1281
|
+
],
|
|
1282
|
+
"exports": [
|
|
1283
|
+
{
|
|
1284
|
+
"kind": "js",
|
|
1285
|
+
"name": "default",
|
|
1278
1286
|
"declaration": {
|
|
1279
|
-
"name": "
|
|
1280
|
-
"module": "src/
|
|
1287
|
+
"name": "HistoryDeletePanel",
|
|
1288
|
+
"module": "src/react/history/history-delete-panel.ts"
|
|
1281
1289
|
}
|
|
1282
|
-
}
|
|
1290
|
+
}
|
|
1291
|
+
]
|
|
1292
|
+
},
|
|
1293
|
+
{
|
|
1294
|
+
"kind": "javascript-module",
|
|
1295
|
+
"path": "src/react/history/history-header.ts",
|
|
1296
|
+
"declarations": [
|
|
1297
|
+
{
|
|
1298
|
+
"kind": "variable",
|
|
1299
|
+
"name": "HistoryHeader"
|
|
1300
|
+
}
|
|
1301
|
+
],
|
|
1302
|
+
"exports": [
|
|
1283
1303
|
{
|
|
1284
1304
|
"kind": "js",
|
|
1285
|
-
"name": "
|
|
1305
|
+
"name": "default",
|
|
1286
1306
|
"declaration": {
|
|
1287
|
-
"name": "
|
|
1288
|
-
"module": "src/
|
|
1307
|
+
"name": "HistoryHeader",
|
|
1308
|
+
"module": "src/react/history/history-header.ts"
|
|
1289
1309
|
}
|
|
1290
1310
|
}
|
|
1291
1311
|
]
|
|
1292
1312
|
},
|
|
1293
1313
|
{
|
|
1294
1314
|
"kind": "javascript-module",
|
|
1295
|
-
"path": "src/
|
|
1296
|
-
"declarations": [
|
|
1315
|
+
"path": "src/react/history/history-loading.ts",
|
|
1316
|
+
"declarations": [
|
|
1317
|
+
{
|
|
1318
|
+
"kind": "variable",
|
|
1319
|
+
"name": "HistoryLoading"
|
|
1320
|
+
}
|
|
1321
|
+
],
|
|
1297
1322
|
"exports": [
|
|
1298
1323
|
{
|
|
1299
1324
|
"kind": "js",
|
|
1300
|
-
"name": "
|
|
1325
|
+
"name": "default",
|
|
1301
1326
|
"declaration": {
|
|
1302
|
-
"name": "
|
|
1303
|
-
"module": "
|
|
1327
|
+
"name": "HistoryLoading",
|
|
1328
|
+
"module": "src/react/history/history-loading.ts"
|
|
1304
1329
|
}
|
|
1305
1330
|
}
|
|
1306
1331
|
]
|
|
1307
1332
|
},
|
|
1308
1333
|
{
|
|
1309
1334
|
"kind": "javascript-module",
|
|
1310
|
-
"path": "src/
|
|
1335
|
+
"path": "src/react/history/history-panel-item-input.ts",
|
|
1311
1336
|
"declarations": [
|
|
1312
1337
|
{
|
|
1313
|
-
"kind": "
|
|
1314
|
-
"name": "
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
"type": {
|
|
1319
|
-
"text": "Array"
|
|
1320
|
-
},
|
|
1321
|
-
"description": "array of components to render"
|
|
1322
|
-
}
|
|
1323
|
-
],
|
|
1324
|
-
"description": "This is the markdown block for JS via CDN"
|
|
1325
|
-
},
|
|
1338
|
+
"kind": "variable",
|
|
1339
|
+
"name": "HistoryPanelItemInput"
|
|
1340
|
+
}
|
|
1341
|
+
],
|
|
1342
|
+
"exports": [
|
|
1326
1343
|
{
|
|
1327
|
-
"kind": "
|
|
1328
|
-
"name": "
|
|
1329
|
-
"
|
|
1344
|
+
"kind": "js",
|
|
1345
|
+
"name": "default",
|
|
1346
|
+
"declaration": {
|
|
1347
|
+
"name": "HistoryPanelItemInput",
|
|
1348
|
+
"module": "src/react/history/history-panel-item-input.ts"
|
|
1349
|
+
}
|
|
1350
|
+
}
|
|
1351
|
+
]
|
|
1352
|
+
},
|
|
1353
|
+
{
|
|
1354
|
+
"kind": "javascript-module",
|
|
1355
|
+
"path": "src/react/history/history-panel-item.ts",
|
|
1356
|
+
"declarations": [
|
|
1357
|
+
{
|
|
1358
|
+
"kind": "variable",
|
|
1359
|
+
"name": "HistoryPanelItem"
|
|
1330
1360
|
}
|
|
1331
1361
|
],
|
|
1332
1362
|
"exports": [
|
|
1333
1363
|
{
|
|
1334
1364
|
"kind": "js",
|
|
1335
|
-
"name": "
|
|
1365
|
+
"name": "default",
|
|
1336
1366
|
"declaration": {
|
|
1337
|
-
"name": "
|
|
1338
|
-
"module": "src/
|
|
1367
|
+
"name": "HistoryPanelItem",
|
|
1368
|
+
"module": "src/react/history/history-panel-item.ts"
|
|
1339
1369
|
}
|
|
1340
|
-
}
|
|
1370
|
+
}
|
|
1371
|
+
]
|
|
1372
|
+
},
|
|
1373
|
+
{
|
|
1374
|
+
"kind": "javascript-module",
|
|
1375
|
+
"path": "src/react/history/history-panel-items.ts",
|
|
1376
|
+
"declarations": [
|
|
1377
|
+
{
|
|
1378
|
+
"kind": "variable",
|
|
1379
|
+
"name": "HistoryPanelItems"
|
|
1380
|
+
}
|
|
1381
|
+
],
|
|
1382
|
+
"exports": [
|
|
1341
1383
|
{
|
|
1342
1384
|
"kind": "js",
|
|
1343
|
-
"name": "
|
|
1385
|
+
"name": "default",
|
|
1344
1386
|
"declaration": {
|
|
1345
|
-
"name": "
|
|
1346
|
-
"module": "src/
|
|
1387
|
+
"name": "HistoryPanelItems",
|
|
1388
|
+
"module": "src/react/history/history-panel-items.ts"
|
|
1347
1389
|
}
|
|
1348
1390
|
}
|
|
1349
1391
|
]
|
|
1350
1392
|
},
|
|
1351
1393
|
{
|
|
1352
1394
|
"kind": "javascript-module",
|
|
1353
|
-
"path": "src/
|
|
1395
|
+
"path": "src/react/history/history-panel-menu.ts",
|
|
1354
1396
|
"declarations": [
|
|
1355
1397
|
{
|
|
1356
|
-
"kind": "
|
|
1357
|
-
"name": "
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
}
|
|
1362
|
-
},
|
|
1363
|
-
"description": "Gets the deepest active element, traversing through all shadow DOM boundaries.\nThis handles nested shadow roots, slotted elements, and will return the actual\nfocused element regardless of how many shadow DOM levels exist."
|
|
1364
|
-
},
|
|
1398
|
+
"kind": "variable",
|
|
1399
|
+
"name": "HistoryPanelMenu"
|
|
1400
|
+
}
|
|
1401
|
+
],
|
|
1402
|
+
"exports": [
|
|
1365
1403
|
{
|
|
1366
|
-
"kind": "
|
|
1367
|
-
"name": "
|
|
1368
|
-
"
|
|
1369
|
-
"
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
"description": "The DOM element to check"
|
|
1380
|
-
},
|
|
1381
|
-
{
|
|
1382
|
-
"name": "exceptions",
|
|
1383
|
-
"default": "[\"dialog\", \"[popover]\"]",
|
|
1384
|
-
"type": {
|
|
1385
|
-
"text": "string[]"
|
|
1386
|
-
},
|
|
1387
|
-
"description": "Array of selectors to ignore when checking the element (e.g., 'dialog', '[popover]')"
|
|
1388
|
-
}
|
|
1389
|
-
],
|
|
1390
|
-
"description": "Checks if an element should be ignored due to visibility or accessibility attributes."
|
|
1391
|
-
},
|
|
1404
|
+
"kind": "js",
|
|
1405
|
+
"name": "default",
|
|
1406
|
+
"declaration": {
|
|
1407
|
+
"name": "HistoryPanelMenu",
|
|
1408
|
+
"module": "src/react/history/history-panel-menu.ts"
|
|
1409
|
+
}
|
|
1410
|
+
}
|
|
1411
|
+
]
|
|
1412
|
+
},
|
|
1413
|
+
{
|
|
1414
|
+
"kind": "javascript-module",
|
|
1415
|
+
"path": "src/react/history/history-panel.ts",
|
|
1416
|
+
"declarations": [
|
|
1392
1417
|
{
|
|
1393
|
-
"kind": "
|
|
1418
|
+
"kind": "variable",
|
|
1419
|
+
"name": "HistoryPanel"
|
|
1420
|
+
}
|
|
1421
|
+
],
|
|
1422
|
+
"exports": [
|
|
1423
|
+
{
|
|
1424
|
+
"kind": "js",
|
|
1425
|
+
"name": "default",
|
|
1426
|
+
"declaration": {
|
|
1427
|
+
"name": "HistoryPanel",
|
|
1428
|
+
"module": "src/react/history/history-panel.ts"
|
|
1429
|
+
}
|
|
1430
|
+
}
|
|
1431
|
+
]
|
|
1432
|
+
},
|
|
1433
|
+
{
|
|
1434
|
+
"kind": "javascript-module",
|
|
1435
|
+
"path": "src/react/history/history-search-item.ts",
|
|
1436
|
+
"declarations": [
|
|
1437
|
+
{
|
|
1438
|
+
"kind": "variable",
|
|
1439
|
+
"name": "HistorySearchItem"
|
|
1440
|
+
}
|
|
1441
|
+
],
|
|
1442
|
+
"exports": [
|
|
1443
|
+
{
|
|
1444
|
+
"kind": "js",
|
|
1445
|
+
"name": "default",
|
|
1446
|
+
"declaration": {
|
|
1447
|
+
"name": "HistorySearchItem",
|
|
1448
|
+
"module": "src/react/history/history-search-item.ts"
|
|
1449
|
+
}
|
|
1450
|
+
}
|
|
1451
|
+
]
|
|
1452
|
+
},
|
|
1453
|
+
{
|
|
1454
|
+
"kind": "javascript-module",
|
|
1455
|
+
"path": "src/react/history/history-shell.ts",
|
|
1456
|
+
"declarations": [
|
|
1457
|
+
{
|
|
1458
|
+
"kind": "variable",
|
|
1459
|
+
"name": "HistoryShell"
|
|
1460
|
+
}
|
|
1461
|
+
],
|
|
1462
|
+
"exports": [
|
|
1463
|
+
{
|
|
1464
|
+
"kind": "js",
|
|
1465
|
+
"name": "default",
|
|
1466
|
+
"declaration": {
|
|
1467
|
+
"name": "HistoryShell",
|
|
1468
|
+
"module": "src/react/history/history-shell.ts"
|
|
1469
|
+
}
|
|
1470
|
+
}
|
|
1471
|
+
]
|
|
1472
|
+
},
|
|
1473
|
+
{
|
|
1474
|
+
"kind": "javascript-module",
|
|
1475
|
+
"path": "src/react/history/history-toolbar.ts",
|
|
1476
|
+
"declarations": [
|
|
1477
|
+
{
|
|
1478
|
+
"kind": "variable",
|
|
1479
|
+
"name": "HistoryToolbar"
|
|
1480
|
+
}
|
|
1481
|
+
],
|
|
1482
|
+
"exports": [
|
|
1483
|
+
{
|
|
1484
|
+
"kind": "js",
|
|
1485
|
+
"name": "default",
|
|
1486
|
+
"declaration": {
|
|
1487
|
+
"name": "HistoryToolbar",
|
|
1488
|
+
"module": "src/react/history/history-toolbar.ts"
|
|
1489
|
+
}
|
|
1490
|
+
}
|
|
1491
|
+
]
|
|
1492
|
+
},
|
|
1493
|
+
{
|
|
1494
|
+
"kind": "javascript-module",
|
|
1495
|
+
"path": "src/react/history/index.ts",
|
|
1496
|
+
"declarations": [],
|
|
1497
|
+
"exports": [
|
|
1498
|
+
{
|
|
1499
|
+
"kind": "js",
|
|
1500
|
+
"name": "HistoryShell",
|
|
1501
|
+
"declaration": {
|
|
1502
|
+
"name": "default",
|
|
1503
|
+
"module": "./history-shell.js"
|
|
1504
|
+
}
|
|
1505
|
+
},
|
|
1506
|
+
{
|
|
1507
|
+
"kind": "js",
|
|
1508
|
+
"name": "HistoryHeader",
|
|
1509
|
+
"declaration": {
|
|
1510
|
+
"name": "default",
|
|
1511
|
+
"module": "./history-header.js"
|
|
1512
|
+
}
|
|
1513
|
+
},
|
|
1514
|
+
{
|
|
1515
|
+
"kind": "js",
|
|
1516
|
+
"name": "HistoryToolbar",
|
|
1517
|
+
"declaration": {
|
|
1518
|
+
"name": "default",
|
|
1519
|
+
"module": "./history-toolbar.js"
|
|
1520
|
+
}
|
|
1521
|
+
},
|
|
1522
|
+
{
|
|
1523
|
+
"kind": "js",
|
|
1524
|
+
"name": "HistoryContent",
|
|
1525
|
+
"declaration": {
|
|
1526
|
+
"name": "default",
|
|
1527
|
+
"module": "./history-content.js"
|
|
1528
|
+
}
|
|
1529
|
+
},
|
|
1530
|
+
{
|
|
1531
|
+
"kind": "js",
|
|
1532
|
+
"name": "HistoryLoading",
|
|
1533
|
+
"declaration": {
|
|
1534
|
+
"name": "default",
|
|
1535
|
+
"module": "./history-loading.js"
|
|
1536
|
+
}
|
|
1537
|
+
},
|
|
1538
|
+
{
|
|
1539
|
+
"kind": "js",
|
|
1540
|
+
"name": "HistoryPanel",
|
|
1541
|
+
"declaration": {
|
|
1542
|
+
"name": "default",
|
|
1543
|
+
"module": "./history-panel.js"
|
|
1544
|
+
}
|
|
1545
|
+
},
|
|
1546
|
+
{
|
|
1547
|
+
"kind": "js",
|
|
1548
|
+
"name": "HistoryPanelMenu",
|
|
1549
|
+
"declaration": {
|
|
1550
|
+
"name": "default",
|
|
1551
|
+
"module": "./history-panel-menu.js"
|
|
1552
|
+
}
|
|
1553
|
+
},
|
|
1554
|
+
{
|
|
1555
|
+
"kind": "js",
|
|
1556
|
+
"name": "HistoryPanelItem",
|
|
1557
|
+
"declaration": {
|
|
1558
|
+
"name": "default",
|
|
1559
|
+
"module": "./history-panel-item.js"
|
|
1560
|
+
}
|
|
1561
|
+
},
|
|
1562
|
+
{
|
|
1563
|
+
"kind": "js",
|
|
1564
|
+
"name": "HistoryPanelItems",
|
|
1565
|
+
"declaration": {
|
|
1566
|
+
"name": "default",
|
|
1567
|
+
"module": "./history-panel-items.js"
|
|
1568
|
+
}
|
|
1569
|
+
},
|
|
1570
|
+
{
|
|
1571
|
+
"kind": "js",
|
|
1572
|
+
"name": "HistorySearchItem",
|
|
1573
|
+
"declaration": {
|
|
1574
|
+
"name": "default",
|
|
1575
|
+
"module": "./history-search-item.js"
|
|
1576
|
+
}
|
|
1577
|
+
},
|
|
1578
|
+
{
|
|
1579
|
+
"kind": "js",
|
|
1580
|
+
"name": "HistoryPanelItemInput",
|
|
1581
|
+
"declaration": {
|
|
1582
|
+
"name": "default",
|
|
1583
|
+
"module": "./history-panel-item-input.js"
|
|
1584
|
+
}
|
|
1585
|
+
},
|
|
1586
|
+
{
|
|
1587
|
+
"kind": "js",
|
|
1588
|
+
"name": "HistoryDeletePanel",
|
|
1589
|
+
"declaration": {
|
|
1590
|
+
"name": "default",
|
|
1591
|
+
"module": "./history-delete-panel.js"
|
|
1592
|
+
}
|
|
1593
|
+
}
|
|
1594
|
+
]
|
|
1595
|
+
},
|
|
1596
|
+
{
|
|
1597
|
+
"kind": "javascript-module",
|
|
1598
|
+
"path": "src/globals/decorators/carbon-element.ts",
|
|
1599
|
+
"declarations": [
|
|
1600
|
+
{
|
|
1601
|
+
"kind": "function",
|
|
1602
|
+
"name": "carbonElement",
|
|
1603
|
+
"parameters": [
|
|
1604
|
+
{
|
|
1605
|
+
"name": "tagName",
|
|
1606
|
+
"type": {
|
|
1607
|
+
"text": "string"
|
|
1608
|
+
},
|
|
1609
|
+
"description": "The tag name of the custom element to define."
|
|
1610
|
+
}
|
|
1611
|
+
],
|
|
1612
|
+
"description": "Class decorator factory that defines the decorated class as a custom element.\n\n```js"
|
|
1613
|
+
}
|
|
1614
|
+
],
|
|
1615
|
+
"exports": [
|
|
1616
|
+
{
|
|
1617
|
+
"kind": "custom-element-definition",
|
|
1618
|
+
"name": "tagName",
|
|
1619
|
+
"declaration": {
|
|
1620
|
+
"name": "anonymous_0",
|
|
1621
|
+
"module": "src/globals/decorators/carbon-element.ts"
|
|
1622
|
+
}
|
|
1623
|
+
},
|
|
1624
|
+
{
|
|
1625
|
+
"kind": "custom-element-definition",
|
|
1626
|
+
"name": "tagName",
|
|
1627
|
+
"declaration": {
|
|
1628
|
+
"name": "clazz",
|
|
1629
|
+
"module": "src/globals/decorators/carbon-element.ts"
|
|
1630
|
+
}
|
|
1631
|
+
},
|
|
1632
|
+
{
|
|
1633
|
+
"kind": "js",
|
|
1634
|
+
"name": "carbonElement",
|
|
1635
|
+
"declaration": {
|
|
1636
|
+
"name": "carbonElement",
|
|
1637
|
+
"module": "src/globals/decorators/carbon-element.ts"
|
|
1638
|
+
}
|
|
1639
|
+
}
|
|
1640
|
+
]
|
|
1641
|
+
},
|
|
1642
|
+
{
|
|
1643
|
+
"kind": "javascript-module",
|
|
1644
|
+
"path": "src/globals/decorators/index.ts",
|
|
1645
|
+
"declarations": [],
|
|
1646
|
+
"exports": [
|
|
1647
|
+
{
|
|
1648
|
+
"kind": "js",
|
|
1649
|
+
"name": "carbonElement",
|
|
1650
|
+
"declaration": {
|
|
1651
|
+
"name": "carbonElement",
|
|
1652
|
+
"module": "./carbon-element.js"
|
|
1653
|
+
}
|
|
1654
|
+
}
|
|
1655
|
+
]
|
|
1656
|
+
},
|
|
1657
|
+
{
|
|
1658
|
+
"kind": "javascript-module",
|
|
1659
|
+
"path": "src/globals/internal/storybook-cdn.ts",
|
|
1660
|
+
"declarations": [
|
|
1661
|
+
{
|
|
1662
|
+
"kind": "function",
|
|
1663
|
+
"name": "cdnJs",
|
|
1664
|
+
"parameters": [
|
|
1665
|
+
{
|
|
1666
|
+
"name": "components",
|
|
1667
|
+
"type": {
|
|
1668
|
+
"text": "Array"
|
|
1669
|
+
},
|
|
1670
|
+
"description": "array of components to render"
|
|
1671
|
+
}
|
|
1672
|
+
],
|
|
1673
|
+
"description": "This is the markdown block for JS via CDN"
|
|
1674
|
+
},
|
|
1675
|
+
{
|
|
1676
|
+
"kind": "function",
|
|
1677
|
+
"name": "cdnCss",
|
|
1678
|
+
"description": "This is the markdown block for CSS via CDN"
|
|
1679
|
+
}
|
|
1680
|
+
],
|
|
1681
|
+
"exports": [
|
|
1682
|
+
{
|
|
1683
|
+
"kind": "js",
|
|
1684
|
+
"name": "cdnJs",
|
|
1685
|
+
"declaration": {
|
|
1686
|
+
"name": "cdnJs",
|
|
1687
|
+
"module": "src/globals/internal/storybook-cdn.ts"
|
|
1688
|
+
}
|
|
1689
|
+
},
|
|
1690
|
+
{
|
|
1691
|
+
"kind": "js",
|
|
1692
|
+
"name": "cdnCss",
|
|
1693
|
+
"declaration": {
|
|
1694
|
+
"name": "cdnCss",
|
|
1695
|
+
"module": "src/globals/internal/storybook-cdn.ts"
|
|
1696
|
+
}
|
|
1697
|
+
}
|
|
1698
|
+
]
|
|
1699
|
+
},
|
|
1700
|
+
{
|
|
1701
|
+
"kind": "javascript-module",
|
|
1702
|
+
"path": "src/globals/utils/focus-utils.ts",
|
|
1703
|
+
"declarations": [
|
|
1704
|
+
{
|
|
1705
|
+
"kind": "function",
|
|
1706
|
+
"name": "getDeepActiveElement",
|
|
1707
|
+
"return": {
|
|
1708
|
+
"type": {
|
|
1709
|
+
"text": ""
|
|
1710
|
+
}
|
|
1711
|
+
},
|
|
1712
|
+
"description": "Gets the deepest active element, traversing through all shadow DOM boundaries.\nThis handles nested shadow roots, slotted elements, and will return the actual\nfocused element regardless of how many shadow DOM levels exist."
|
|
1713
|
+
},
|
|
1714
|
+
{
|
|
1715
|
+
"kind": "function",
|
|
1716
|
+
"name": "isElementInvisible",
|
|
1717
|
+
"return": {
|
|
1718
|
+
"type": {
|
|
1719
|
+
"text": ""
|
|
1720
|
+
}
|
|
1721
|
+
},
|
|
1722
|
+
"parameters": [
|
|
1723
|
+
{
|
|
1724
|
+
"name": "element",
|
|
1725
|
+
"type": {
|
|
1726
|
+
"text": "Element"
|
|
1727
|
+
},
|
|
1728
|
+
"description": "The DOM element to check"
|
|
1729
|
+
},
|
|
1730
|
+
{
|
|
1731
|
+
"name": "exceptions",
|
|
1732
|
+
"default": "[\"dialog\", \"[popover]\"]",
|
|
1733
|
+
"type": {
|
|
1734
|
+
"text": "string[]"
|
|
1735
|
+
},
|
|
1736
|
+
"description": "Array of selectors to ignore when checking the element (e.g., 'dialog', '[popover]')"
|
|
1737
|
+
}
|
|
1738
|
+
],
|
|
1739
|
+
"description": "Checks if an element should be ignored due to visibility or accessibility attributes."
|
|
1740
|
+
},
|
|
1741
|
+
{
|
|
1742
|
+
"kind": "function",
|
|
1394
1743
|
"name": "isFocusable",
|
|
1395
1744
|
"return": {
|
|
1396
1745
|
"type": {
|
|
@@ -1514,469 +1863,120 @@
|
|
|
1514
1863
|
"name": "selector",
|
|
1515
1864
|
"type": {
|
|
1516
1865
|
"text": "string"
|
|
1517
|
-
},
|
|
1518
|
-
"description": "CSS selector that resolves to the node to focus."
|
|
1519
|
-
}
|
|
1520
|
-
],
|
|
1521
|
-
"description": "Finds a descendant of `searchRoot` via `selector` and focuses it after the next\ntwo animation frames. Use when DOM updates (Lit, React, reorder) replace or move\nnodes so the previous focused element is detached (e.g. list pin/unpin).\n\nTries tryFocus first for visibility/focusability checks; if that does\nnot take focus (e.g. some custom element hosts), falls back to HTMLElement.focus."
|
|
1522
|
-
}
|
|
1523
|
-
],
|
|
1524
|
-
"exports": [
|
|
1525
|
-
{
|
|
1526
|
-
"kind": "js",
|
|
1527
|
-
"name": "getDeepActiveElement",
|
|
1528
|
-
"declaration": {
|
|
1529
|
-
"name": "getDeepActiveElement",
|
|
1530
|
-
"module": "src/globals/utils/focus-utils.ts"
|
|
1531
|
-
}
|
|
1532
|
-
},
|
|
1533
|
-
{
|
|
1534
|
-
"kind": "js",
|
|
1535
|
-
"name": "isElementInvisible",
|
|
1536
|
-
"declaration": {
|
|
1537
|
-
"name": "isElementInvisible",
|
|
1538
|
-
"module": "src/globals/utils/focus-utils.ts"
|
|
1539
|
-
}
|
|
1540
|
-
},
|
|
1541
|
-
{
|
|
1542
|
-
"kind": "js",
|
|
1543
|
-
"name": "isFocusable",
|
|
1544
|
-
"declaration": {
|
|
1545
|
-
"name": "isFocusable",
|
|
1546
|
-
"module": "src/globals/utils/focus-utils.ts"
|
|
1547
|
-
}
|
|
1548
|
-
},
|
|
1549
|
-
{
|
|
1550
|
-
"kind": "js",
|
|
1551
|
-
"name": "tryFocus",
|
|
1552
|
-
"declaration": {
|
|
1553
|
-
"name": "tryFocus",
|
|
1554
|
-
"module": "src/globals/utils/focus-utils.ts"
|
|
1555
|
-
}
|
|
1556
|
-
},
|
|
1557
|
-
{
|
|
1558
|
-
"kind": "js",
|
|
1559
|
-
"name": "walkComposedTree",
|
|
1560
|
-
"declaration": {
|
|
1561
|
-
"name": "walkComposedTree",
|
|
1562
|
-
"module": "src/globals/utils/focus-utils.ts"
|
|
1563
|
-
}
|
|
1564
|
-
},
|
|
1565
|
-
{
|
|
1566
|
-
"kind": "js",
|
|
1567
|
-
"name": "getFirstAndLastFocusableChildren",
|
|
1568
|
-
"declaration": {
|
|
1569
|
-
"name": "getFirstAndLastFocusableChildren",
|
|
1570
|
-
"module": "src/globals/utils/focus-utils.ts"
|
|
1571
|
-
}
|
|
1572
|
-
},
|
|
1573
|
-
{
|
|
1574
|
-
"kind": "js",
|
|
1575
|
-
"name": "focusElementAfterRepaint",
|
|
1576
|
-
"declaration": {
|
|
1577
|
-
"name": "focusElementAfterRepaint",
|
|
1578
|
-
"module": "src/globals/utils/focus-utils.ts"
|
|
1579
|
-
}
|
|
1580
|
-
}
|
|
1581
|
-
]
|
|
1582
|
-
},
|
|
1583
|
-
{
|
|
1584
|
-
"kind": "javascript-module",
|
|
1585
|
-
"path": "src/globals/utils/rtl-utils.ts",
|
|
1586
|
-
"declarations": [
|
|
1587
|
-
{
|
|
1588
|
-
"kind": "function",
|
|
1589
|
-
"name": "isDirectionRTL",
|
|
1590
|
-
"return": {
|
|
1591
|
-
"type": {
|
|
1592
|
-
"text": ""
|
|
1593
|
-
}
|
|
1594
|
-
},
|
|
1595
|
-
"description": "Determines if the document is in RTL (right-to-left) mode.\nChecks both document.dir and document.documentElement.dir for maximum compatibility."
|
|
1596
|
-
}
|
|
1597
|
-
],
|
|
1598
|
-
"exports": [
|
|
1599
|
-
{
|
|
1600
|
-
"kind": "js",
|
|
1601
|
-
"name": "isDirectionRTL",
|
|
1602
|
-
"declaration": {
|
|
1603
|
-
"name": "isDirectionRTL",
|
|
1604
|
-
"module": "src/globals/utils/rtl-utils.ts"
|
|
1605
|
-
}
|
|
1606
|
-
}
|
|
1607
|
-
]
|
|
1608
|
-
},
|
|
1609
|
-
{
|
|
1610
|
-
"kind": "javascript-module",
|
|
1611
|
-
"path": "src/globals/utils/uuid.ts",
|
|
1612
|
-
"declarations": [
|
|
1613
|
-
{
|
|
1614
|
-
"kind": "function",
|
|
1615
|
-
"name": "uuid",
|
|
1616
|
-
"return": {
|
|
1617
|
-
"type": {
|
|
1618
|
-
"text": "string"
|
|
1619
|
-
}
|
|
1620
|
-
},
|
|
1621
|
-
"description": "Generates a v4 UUID. Uses `crypto.randomUUID` when available, otherwise falls back to a simple implementation."
|
|
1622
|
-
}
|
|
1623
|
-
],
|
|
1624
|
-
"exports": [
|
|
1625
|
-
{
|
|
1626
|
-
"kind": "js",
|
|
1627
|
-
"name": "uuid",
|
|
1628
|
-
"declaration": {
|
|
1629
|
-
"name": "uuid",
|
|
1630
|
-
"module": "src/globals/utils/uuid.ts"
|
|
1631
|
-
}
|
|
1632
|
-
}
|
|
1633
|
-
]
|
|
1634
|
-
},
|
|
1635
|
-
{
|
|
1636
|
-
"kind": "javascript-module",
|
|
1637
|
-
"path": "src/react/__tests__/jest.setup.ts",
|
|
1638
|
-
"declarations": [],
|
|
1639
|
-
"exports": []
|
|
1640
|
-
},
|
|
1641
|
-
{
|
|
1642
|
-
"kind": "javascript-module",
|
|
1643
|
-
"path": "src/react/history/history-content.ts",
|
|
1644
|
-
"declarations": [
|
|
1645
|
-
{
|
|
1646
|
-
"kind": "variable",
|
|
1647
|
-
"name": "HistoryContent"
|
|
1648
|
-
}
|
|
1649
|
-
],
|
|
1650
|
-
"exports": [
|
|
1651
|
-
{
|
|
1652
|
-
"kind": "js",
|
|
1653
|
-
"name": "default",
|
|
1654
|
-
"declaration": {
|
|
1655
|
-
"name": "HistoryContent",
|
|
1656
|
-
"module": "src/react/history/history-content.ts"
|
|
1657
|
-
}
|
|
1658
|
-
}
|
|
1659
|
-
]
|
|
1660
|
-
},
|
|
1661
|
-
{
|
|
1662
|
-
"kind": "javascript-module",
|
|
1663
|
-
"path": "src/react/history/history-delete-panel.ts",
|
|
1664
|
-
"declarations": [
|
|
1665
|
-
{
|
|
1666
|
-
"kind": "variable",
|
|
1667
|
-
"name": "HistoryDeletePanel"
|
|
1668
|
-
}
|
|
1669
|
-
],
|
|
1670
|
-
"exports": [
|
|
1671
|
-
{
|
|
1672
|
-
"kind": "js",
|
|
1673
|
-
"name": "default",
|
|
1674
|
-
"declaration": {
|
|
1675
|
-
"name": "HistoryDeletePanel",
|
|
1676
|
-
"module": "src/react/history/history-delete-panel.ts"
|
|
1677
|
-
}
|
|
1678
|
-
}
|
|
1679
|
-
]
|
|
1680
|
-
},
|
|
1681
|
-
{
|
|
1682
|
-
"kind": "javascript-module",
|
|
1683
|
-
"path": "src/react/history/history-header.ts",
|
|
1684
|
-
"declarations": [
|
|
1685
|
-
{
|
|
1686
|
-
"kind": "variable",
|
|
1687
|
-
"name": "HistoryHeader"
|
|
1688
|
-
}
|
|
1689
|
-
],
|
|
1690
|
-
"exports": [
|
|
1691
|
-
{
|
|
1692
|
-
"kind": "js",
|
|
1693
|
-
"name": "default",
|
|
1694
|
-
"declaration": {
|
|
1695
|
-
"name": "HistoryHeader",
|
|
1696
|
-
"module": "src/react/history/history-header.ts"
|
|
1697
|
-
}
|
|
1698
|
-
}
|
|
1699
|
-
]
|
|
1700
|
-
},
|
|
1701
|
-
{
|
|
1702
|
-
"kind": "javascript-module",
|
|
1703
|
-
"path": "src/react/history/history-loading.ts",
|
|
1704
|
-
"declarations": [
|
|
1705
|
-
{
|
|
1706
|
-
"kind": "variable",
|
|
1707
|
-
"name": "HistoryLoading"
|
|
1708
|
-
}
|
|
1709
|
-
],
|
|
1710
|
-
"exports": [
|
|
1711
|
-
{
|
|
1712
|
-
"kind": "js",
|
|
1713
|
-
"name": "default",
|
|
1714
|
-
"declaration": {
|
|
1715
|
-
"name": "HistoryLoading",
|
|
1716
|
-
"module": "src/react/history/history-loading.ts"
|
|
1717
|
-
}
|
|
1718
|
-
}
|
|
1719
|
-
]
|
|
1720
|
-
},
|
|
1721
|
-
{
|
|
1722
|
-
"kind": "javascript-module",
|
|
1723
|
-
"path": "src/react/history/history-panel-item-input.ts",
|
|
1724
|
-
"declarations": [
|
|
1725
|
-
{
|
|
1726
|
-
"kind": "variable",
|
|
1727
|
-
"name": "HistoryPanelItemInput"
|
|
1728
|
-
}
|
|
1729
|
-
],
|
|
1730
|
-
"exports": [
|
|
1731
|
-
{
|
|
1732
|
-
"kind": "js",
|
|
1733
|
-
"name": "default",
|
|
1734
|
-
"declaration": {
|
|
1735
|
-
"name": "HistoryPanelItemInput",
|
|
1736
|
-
"module": "src/react/history/history-panel-item-input.ts"
|
|
1737
|
-
}
|
|
1738
|
-
}
|
|
1739
|
-
]
|
|
1740
|
-
},
|
|
1741
|
-
{
|
|
1742
|
-
"kind": "javascript-module",
|
|
1743
|
-
"path": "src/react/history/history-panel-item.ts",
|
|
1744
|
-
"declarations": [
|
|
1745
|
-
{
|
|
1746
|
-
"kind": "variable",
|
|
1747
|
-
"name": "HistoryPanelItem"
|
|
1748
|
-
}
|
|
1749
|
-
],
|
|
1750
|
-
"exports": [
|
|
1751
|
-
{
|
|
1752
|
-
"kind": "js",
|
|
1753
|
-
"name": "default",
|
|
1754
|
-
"declaration": {
|
|
1755
|
-
"name": "HistoryPanelItem",
|
|
1756
|
-
"module": "src/react/history/history-panel-item.ts"
|
|
1757
|
-
}
|
|
1758
|
-
}
|
|
1759
|
-
]
|
|
1760
|
-
},
|
|
1761
|
-
{
|
|
1762
|
-
"kind": "javascript-module",
|
|
1763
|
-
"path": "src/react/history/history-panel-items.ts",
|
|
1764
|
-
"declarations": [
|
|
1765
|
-
{
|
|
1766
|
-
"kind": "variable",
|
|
1767
|
-
"name": "HistoryPanelItems"
|
|
1866
|
+
},
|
|
1867
|
+
"description": "CSS selector that resolves to the node to focus."
|
|
1868
|
+
}
|
|
1869
|
+
],
|
|
1870
|
+
"description": "Finds a descendant of `searchRoot` via `selector` and focuses it after the next\ntwo animation frames. Use when DOM updates (Lit, React, reorder) replace or move\nnodes so the previous focused element is detached (e.g. list pin/unpin).\n\nTries tryFocus first for visibility/focusability checks; if that does\nnot take focus (e.g. some custom element hosts), falls back to HTMLElement.focus."
|
|
1768
1871
|
}
|
|
1769
1872
|
],
|
|
1770
1873
|
"exports": [
|
|
1771
1874
|
{
|
|
1772
1875
|
"kind": "js",
|
|
1773
|
-
"name": "
|
|
1876
|
+
"name": "getDeepActiveElement",
|
|
1774
1877
|
"declaration": {
|
|
1775
|
-
"name": "
|
|
1776
|
-
"module": "src/
|
|
1878
|
+
"name": "getDeepActiveElement",
|
|
1879
|
+
"module": "src/globals/utils/focus-utils.ts"
|
|
1777
1880
|
}
|
|
1778
|
-
}
|
|
1779
|
-
]
|
|
1780
|
-
},
|
|
1781
|
-
{
|
|
1782
|
-
"kind": "javascript-module",
|
|
1783
|
-
"path": "src/react/history/history-panel-menu.ts",
|
|
1784
|
-
"declarations": [
|
|
1881
|
+
},
|
|
1785
1882
|
{
|
|
1786
|
-
"kind": "
|
|
1787
|
-
"name": "
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1883
|
+
"kind": "js",
|
|
1884
|
+
"name": "isElementInvisible",
|
|
1885
|
+
"declaration": {
|
|
1886
|
+
"name": "isElementInvisible",
|
|
1887
|
+
"module": "src/globals/utils/focus-utils.ts"
|
|
1888
|
+
}
|
|
1889
|
+
},
|
|
1791
1890
|
{
|
|
1792
1891
|
"kind": "js",
|
|
1793
|
-
"name": "
|
|
1892
|
+
"name": "isFocusable",
|
|
1794
1893
|
"declaration": {
|
|
1795
|
-
"name": "
|
|
1796
|
-
"module": "src/
|
|
1894
|
+
"name": "isFocusable",
|
|
1895
|
+
"module": "src/globals/utils/focus-utils.ts"
|
|
1797
1896
|
}
|
|
1798
|
-
}
|
|
1799
|
-
]
|
|
1800
|
-
},
|
|
1801
|
-
{
|
|
1802
|
-
"kind": "javascript-module",
|
|
1803
|
-
"path": "src/react/history/history-panel.ts",
|
|
1804
|
-
"declarations": [
|
|
1897
|
+
},
|
|
1805
1898
|
{
|
|
1806
|
-
"kind": "
|
|
1807
|
-
"name": "
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1899
|
+
"kind": "js",
|
|
1900
|
+
"name": "tryFocus",
|
|
1901
|
+
"declaration": {
|
|
1902
|
+
"name": "tryFocus",
|
|
1903
|
+
"module": "src/globals/utils/focus-utils.ts"
|
|
1904
|
+
}
|
|
1905
|
+
},
|
|
1811
1906
|
{
|
|
1812
1907
|
"kind": "js",
|
|
1813
|
-
"name": "
|
|
1908
|
+
"name": "walkComposedTree",
|
|
1814
1909
|
"declaration": {
|
|
1815
|
-
"name": "
|
|
1816
|
-
"module": "src/
|
|
1910
|
+
"name": "walkComposedTree",
|
|
1911
|
+
"module": "src/globals/utils/focus-utils.ts"
|
|
1817
1912
|
}
|
|
1818
|
-
}
|
|
1819
|
-
]
|
|
1820
|
-
},
|
|
1821
|
-
{
|
|
1822
|
-
"kind": "javascript-module",
|
|
1823
|
-
"path": "src/react/history/history-search-item.ts",
|
|
1824
|
-
"declarations": [
|
|
1913
|
+
},
|
|
1825
1914
|
{
|
|
1826
|
-
"kind": "
|
|
1827
|
-
"name": "
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1915
|
+
"kind": "js",
|
|
1916
|
+
"name": "getFirstAndLastFocusableChildren",
|
|
1917
|
+
"declaration": {
|
|
1918
|
+
"name": "getFirstAndLastFocusableChildren",
|
|
1919
|
+
"module": "src/globals/utils/focus-utils.ts"
|
|
1920
|
+
}
|
|
1921
|
+
},
|
|
1831
1922
|
{
|
|
1832
1923
|
"kind": "js",
|
|
1833
|
-
"name": "
|
|
1924
|
+
"name": "focusElementAfterRepaint",
|
|
1834
1925
|
"declaration": {
|
|
1835
|
-
"name": "
|
|
1836
|
-
"module": "src/
|
|
1926
|
+
"name": "focusElementAfterRepaint",
|
|
1927
|
+
"module": "src/globals/utils/focus-utils.ts"
|
|
1837
1928
|
}
|
|
1838
1929
|
}
|
|
1839
1930
|
]
|
|
1840
1931
|
},
|
|
1841
1932
|
{
|
|
1842
1933
|
"kind": "javascript-module",
|
|
1843
|
-
"path": "src/
|
|
1934
|
+
"path": "src/globals/utils/rtl-utils.ts",
|
|
1844
1935
|
"declarations": [
|
|
1845
1936
|
{
|
|
1846
|
-
"kind": "
|
|
1847
|
-
"name": "
|
|
1937
|
+
"kind": "function",
|
|
1938
|
+
"name": "isDirectionRTL",
|
|
1939
|
+
"return": {
|
|
1940
|
+
"type": {
|
|
1941
|
+
"text": ""
|
|
1942
|
+
}
|
|
1943
|
+
},
|
|
1944
|
+
"description": "Determines if the document is in RTL (right-to-left) mode.\nChecks both document.dir and document.documentElement.dir for maximum compatibility."
|
|
1848
1945
|
}
|
|
1849
1946
|
],
|
|
1850
1947
|
"exports": [
|
|
1851
1948
|
{
|
|
1852
1949
|
"kind": "js",
|
|
1853
|
-
"name": "
|
|
1950
|
+
"name": "isDirectionRTL",
|
|
1854
1951
|
"declaration": {
|
|
1855
|
-
"name": "
|
|
1856
|
-
"module": "src/
|
|
1952
|
+
"name": "isDirectionRTL",
|
|
1953
|
+
"module": "src/globals/utils/rtl-utils.ts"
|
|
1857
1954
|
}
|
|
1858
1955
|
}
|
|
1859
1956
|
]
|
|
1860
1957
|
},
|
|
1861
1958
|
{
|
|
1862
1959
|
"kind": "javascript-module",
|
|
1863
|
-
"path": "src/
|
|
1960
|
+
"path": "src/globals/utils/uuid.ts",
|
|
1864
1961
|
"declarations": [
|
|
1865
1962
|
{
|
|
1866
|
-
"kind": "
|
|
1867
|
-
"name": "
|
|
1963
|
+
"kind": "function",
|
|
1964
|
+
"name": "uuid",
|
|
1965
|
+
"return": {
|
|
1966
|
+
"type": {
|
|
1967
|
+
"text": "string"
|
|
1968
|
+
}
|
|
1969
|
+
},
|
|
1970
|
+
"description": "Generates a v4 UUID. Uses `crypto.randomUUID` when available, otherwise falls back to a simple implementation."
|
|
1868
1971
|
}
|
|
1869
1972
|
],
|
|
1870
1973
|
"exports": [
|
|
1871
1974
|
{
|
|
1872
1975
|
"kind": "js",
|
|
1873
|
-
"name": "
|
|
1874
|
-
"declaration": {
|
|
1875
|
-
"name": "HistoryToolbar",
|
|
1876
|
-
"module": "src/react/history/history-toolbar.ts"
|
|
1877
|
-
}
|
|
1878
|
-
}
|
|
1879
|
-
]
|
|
1880
|
-
},
|
|
1881
|
-
{
|
|
1882
|
-
"kind": "javascript-module",
|
|
1883
|
-
"path": "src/react/history/index.ts",
|
|
1884
|
-
"declarations": [],
|
|
1885
|
-
"exports": [
|
|
1886
|
-
{
|
|
1887
|
-
"kind": "js",
|
|
1888
|
-
"name": "HistoryShell",
|
|
1889
|
-
"declaration": {
|
|
1890
|
-
"name": "default",
|
|
1891
|
-
"module": "./history-shell.js"
|
|
1892
|
-
}
|
|
1893
|
-
},
|
|
1894
|
-
{
|
|
1895
|
-
"kind": "js",
|
|
1896
|
-
"name": "HistoryHeader",
|
|
1897
|
-
"declaration": {
|
|
1898
|
-
"name": "default",
|
|
1899
|
-
"module": "./history-header.js"
|
|
1900
|
-
}
|
|
1901
|
-
},
|
|
1902
|
-
{
|
|
1903
|
-
"kind": "js",
|
|
1904
|
-
"name": "HistoryToolbar",
|
|
1905
|
-
"declaration": {
|
|
1906
|
-
"name": "default",
|
|
1907
|
-
"module": "./history-toolbar.js"
|
|
1908
|
-
}
|
|
1909
|
-
},
|
|
1910
|
-
{
|
|
1911
|
-
"kind": "js",
|
|
1912
|
-
"name": "HistoryContent",
|
|
1913
|
-
"declaration": {
|
|
1914
|
-
"name": "default",
|
|
1915
|
-
"module": "./history-content.js"
|
|
1916
|
-
}
|
|
1917
|
-
},
|
|
1918
|
-
{
|
|
1919
|
-
"kind": "js",
|
|
1920
|
-
"name": "HistoryLoading",
|
|
1921
|
-
"declaration": {
|
|
1922
|
-
"name": "default",
|
|
1923
|
-
"module": "./history-loading.js"
|
|
1924
|
-
}
|
|
1925
|
-
},
|
|
1926
|
-
{
|
|
1927
|
-
"kind": "js",
|
|
1928
|
-
"name": "HistoryPanel",
|
|
1929
|
-
"declaration": {
|
|
1930
|
-
"name": "default",
|
|
1931
|
-
"module": "./history-panel.js"
|
|
1932
|
-
}
|
|
1933
|
-
},
|
|
1934
|
-
{
|
|
1935
|
-
"kind": "js",
|
|
1936
|
-
"name": "HistoryPanelMenu",
|
|
1937
|
-
"declaration": {
|
|
1938
|
-
"name": "default",
|
|
1939
|
-
"module": "./history-panel-menu.js"
|
|
1940
|
-
}
|
|
1941
|
-
},
|
|
1942
|
-
{
|
|
1943
|
-
"kind": "js",
|
|
1944
|
-
"name": "HistoryPanelItem",
|
|
1945
|
-
"declaration": {
|
|
1946
|
-
"name": "default",
|
|
1947
|
-
"module": "./history-panel-item.js"
|
|
1948
|
-
}
|
|
1949
|
-
},
|
|
1950
|
-
{
|
|
1951
|
-
"kind": "js",
|
|
1952
|
-
"name": "HistoryPanelItems",
|
|
1953
|
-
"declaration": {
|
|
1954
|
-
"name": "default",
|
|
1955
|
-
"module": "./history-panel-items.js"
|
|
1956
|
-
}
|
|
1957
|
-
},
|
|
1958
|
-
{
|
|
1959
|
-
"kind": "js",
|
|
1960
|
-
"name": "HistorySearchItem",
|
|
1961
|
-
"declaration": {
|
|
1962
|
-
"name": "default",
|
|
1963
|
-
"module": "./history-search-item.js"
|
|
1964
|
-
}
|
|
1965
|
-
},
|
|
1966
|
-
{
|
|
1967
|
-
"kind": "js",
|
|
1968
|
-
"name": "HistoryPanelItemInput",
|
|
1969
|
-
"declaration": {
|
|
1970
|
-
"name": "default",
|
|
1971
|
-
"module": "./history-panel-item-input.js"
|
|
1972
|
-
}
|
|
1973
|
-
},
|
|
1974
|
-
{
|
|
1975
|
-
"kind": "js",
|
|
1976
|
-
"name": "HistoryDeletePanel",
|
|
1976
|
+
"name": "uuid",
|
|
1977
1977
|
"declaration": {
|
|
1978
|
-
"name": "
|
|
1979
|
-
"module": "
|
|
1978
|
+
"name": "uuid",
|
|
1979
|
+
"module": "src/globals/utils/uuid.ts"
|
|
1980
1980
|
}
|
|
1981
1981
|
}
|
|
1982
1982
|
]
|
|
@@ -9092,6 +9092,28 @@
|
|
|
9092
9092
|
"attribute": "hide-header",
|
|
9093
9093
|
"reflects": true
|
|
9094
9094
|
},
|
|
9095
|
+
{
|
|
9096
|
+
"kind": "field",
|
|
9097
|
+
"name": "hideLineNumbers",
|
|
9098
|
+
"type": {
|
|
9099
|
+
"text": "boolean"
|
|
9100
|
+
},
|
|
9101
|
+
"default": "false",
|
|
9102
|
+
"description": "Hide the line-number gutter in the editor.",
|
|
9103
|
+
"attribute": "hide-line-numbers",
|
|
9104
|
+
"reflects": true
|
|
9105
|
+
},
|
|
9106
|
+
{
|
|
9107
|
+
"kind": "field",
|
|
9108
|
+
"name": "hideFold",
|
|
9109
|
+
"type": {
|
|
9110
|
+
"text": "boolean"
|
|
9111
|
+
},
|
|
9112
|
+
"default": "false",
|
|
9113
|
+
"description": "Hide the fold gutter, removing the ability to collapse and expand code\nblocks (the fold keyboard shortcuts are dropped along with the gutter).",
|
|
9114
|
+
"attribute": "hide-fold",
|
|
9115
|
+
"reflects": true
|
|
9116
|
+
},
|
|
9095
9117
|
{
|
|
9096
9118
|
"kind": "field",
|
|
9097
9119
|
"name": "maxCollapsedNumberOfRows",
|
|
@@ -9476,6 +9498,24 @@
|
|
|
9476
9498
|
"description": "Hide the header/toolbar completely.",
|
|
9477
9499
|
"fieldName": "hideHeader"
|
|
9478
9500
|
},
|
|
9501
|
+
{
|
|
9502
|
+
"name": "hide-line-numbers",
|
|
9503
|
+
"type": {
|
|
9504
|
+
"text": "boolean"
|
|
9505
|
+
},
|
|
9506
|
+
"default": "false",
|
|
9507
|
+
"description": "Hide the line-number gutter in the editor.",
|
|
9508
|
+
"fieldName": "hideLineNumbers"
|
|
9509
|
+
},
|
|
9510
|
+
{
|
|
9511
|
+
"name": "hide-fold",
|
|
9512
|
+
"type": {
|
|
9513
|
+
"text": "boolean"
|
|
9514
|
+
},
|
|
9515
|
+
"default": "false",
|
|
9516
|
+
"description": "Hide the fold gutter, removing the ability to collapse and expand code\nblocks (the fold keyboard shortcuts are dropped along with the gutter).",
|
|
9517
|
+
"fieldName": "hideFold"
|
|
9518
|
+
},
|
|
9479
9519
|
{
|
|
9480
9520
|
"name": "max-collapsed-number-of-rows",
|
|
9481
9521
|
"type": {
|
|
@@ -15467,7 +15507,7 @@
|
|
|
15467
15507
|
}
|
|
15468
15508
|
}
|
|
15469
15509
|
],
|
|
15470
|
-
"description": "Minimal editor affordances for snippets:\n - keep the layout oriented (gutters, folding)\n - preserve indentation and basic syntax cues\n - avoid heavier behaviors like search, autocomplete, multi-caret history"
|
|
15510
|
+
"description": "Minimal editor affordances for snippets:\n - keep the layout oriented (gutters, folding)\n - preserve indentation and basic syntax cues\n - avoid heavier behaviors like search, autocomplete, multi-caret history\n\n`hideLineNumbers` drops the line-number gutter and `hideFold` drops the\nfolding affordances (gutter, marker key handler, and fold keymap) so callers\ncan render a leaner surface for short, static snippets."
|
|
15471
15511
|
}
|
|
15472
15512
|
],
|
|
15473
15513
|
"exports": [
|