@carbon/ai-chat-components 1.5.0-rc.1 → 1.5.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.
@@ -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",
@@ -709,13 +709,13 @@
709
709
  },
710
710
  {
711
711
  "kind": "javascript-module",
712
- "path": "src/components/carousel/index.ts",
712
+ "path": "src/components/card/index.ts",
713
713
  "declarations": [],
714
714
  "exports": []
715
715
  },
716
716
  {
717
717
  "kind": "javascript-module",
718
- "path": "src/components/card/index.ts",
718
+ "path": "src/components/carousel/index.ts",
719
719
  "declarations": [],
720
720
  "exports": []
721
721
  },
@@ -1246,405 +1246,197 @@
1246
1246
  },
1247
1247
  {
1248
1248
  "kind": "javascript-module",
1249
- "path": "src/globals/decorators/carbon-element.ts",
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": "function",
1253
- "name": "carbonElement",
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": "custom-element-definition",
1269
- "name": "tagName",
1264
+ "kind": "js",
1265
+ "name": "default",
1270
1266
  "declaration": {
1271
- "name": "anonymous_0",
1272
- "module": "src/globals/decorators/carbon-element.ts"
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": "custom-element-definition",
1277
- "name": "tagName",
1278
+ "kind": "variable",
1279
+ "name": "HistoryDeletePanel"
1280
+ }
1281
+ ],
1282
+ "exports": [
1283
+ {
1284
+ "kind": "js",
1285
+ "name": "default",
1278
1286
  "declaration": {
1279
- "name": "clazz",
1280
- "module": "src/globals/decorators/carbon-element.ts"
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": "carbonElement",
1305
+ "name": "default",
1286
1306
  "declaration": {
1287
- "name": "carbonElement",
1288
- "module": "src/globals/decorators/carbon-element.ts"
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/globals/decorators/index.ts",
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": "carbonElement",
1325
+ "name": "default",
1301
1326
  "declaration": {
1302
- "name": "carbonElement",
1303
- "module": "./carbon-element.js"
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/globals/internal/storybook-cdn.ts",
1335
+ "path": "src/react/history/history-panel-item-input.ts",
1311
1336
  "declarations": [
1312
1337
  {
1313
- "kind": "function",
1314
- "name": "cdnJs",
1315
- "parameters": [
1316
- {
1317
- "name": "components",
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
- },
1326
- {
1327
- "kind": "function",
1328
- "name": "cdnCss",
1329
- "description": "This is the markdown block for CSS via CDN"
1338
+ "kind": "variable",
1339
+ "name": "HistoryPanelItemInput"
1330
1340
  }
1331
1341
  ],
1332
1342
  "exports": [
1333
1343
  {
1334
1344
  "kind": "js",
1335
- "name": "cdnJs",
1345
+ "name": "default",
1336
1346
  "declaration": {
1337
- "name": "cdnJs",
1338
- "module": "src/globals/internal/storybook-cdn.ts"
1347
+ "name": "HistoryPanelItemInput",
1348
+ "module": "src/react/history/history-panel-item-input.ts"
1339
1349
  }
1340
- },
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"
1360
+ }
1361
+ ],
1362
+ "exports": [
1341
1363
  {
1342
1364
  "kind": "js",
1343
- "name": "cdnCss",
1365
+ "name": "default",
1344
1366
  "declaration": {
1345
- "name": "cdnCss",
1346
- "module": "src/globals/internal/storybook-cdn.ts"
1367
+ "name": "HistoryPanelItem",
1368
+ "module": "src/react/history/history-panel-item.ts"
1347
1369
  }
1348
1370
  }
1349
1371
  ]
1350
1372
  },
1351
1373
  {
1352
1374
  "kind": "javascript-module",
1353
- "path": "src/globals/utils/focus-utils.ts",
1375
+ "path": "src/react/history/history-panel-items.ts",
1354
1376
  "declarations": [
1355
1377
  {
1356
- "kind": "function",
1357
- "name": "getDeepActiveElement",
1358
- "return": {
1359
- "type": {
1360
- "text": ""
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
- },
1378
+ "kind": "variable",
1379
+ "name": "HistoryPanelItems"
1380
+ }
1381
+ ],
1382
+ "exports": [
1365
1383
  {
1366
- "kind": "function",
1367
- "name": "isElementInvisible",
1368
- "return": {
1369
- "type": {
1370
- "text": ""
1371
- }
1372
- },
1373
- "parameters": [
1374
- {
1375
- "name": "element",
1376
- "type": {
1377
- "text": "Element"
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
- },
1384
+ "kind": "js",
1385
+ "name": "default",
1386
+ "declaration": {
1387
+ "name": "HistoryPanelItems",
1388
+ "module": "src/react/history/history-panel-items.ts"
1389
+ }
1390
+ }
1391
+ ]
1392
+ },
1393
+ {
1394
+ "kind": "javascript-module",
1395
+ "path": "src/react/history/history-panel-menu.ts",
1396
+ "declarations": [
1392
1397
  {
1393
- "kind": "function",
1394
- "name": "isFocusable",
1395
- "return": {
1396
- "type": {
1397
- "text": ""
1398
- }
1399
- },
1400
- "parameters": [
1401
- {
1402
- "name": "element",
1403
- "type": {
1404
- "text": "Element"
1405
- },
1406
- "description": "The DOM element to check for focusability"
1407
- }
1408
- ],
1409
- "description": "Checks if an element is focusable. An element is considered focusable if it matches\nstandard focusable elements criteria (such as buttons, inputs, etc., that are not disabled\nand do not have a negative tabindex) or is a custom element with a shadow root that delegates focus.\nBased on https://gist.github.com/oscarmarina/9ce95f491a4c53ed01d989de4a87c0c9"
1410
- },
1411
- {
1412
- "kind": "function",
1413
- "name": "tryFocus",
1414
- "return": {
1415
- "type": {
1416
- "text": ""
1417
- }
1418
- },
1419
- "parameters": [
1420
- {
1421
- "name": "element",
1422
- "type": {
1423
- "text": "Element | null | undefined"
1424
- },
1425
- "description": "The element to attempt to focus"
1426
- },
1427
- {
1428
- "name": "exceptions",
1429
- "optional": true,
1430
- "type": {
1431
- "text": "string[]"
1432
- },
1433
- "description": "Array of selectors to ignore when checking visibility (e.g., 'dialog', '[popover]')"
1434
- }
1435
- ],
1436
- "description": "Attempts to focus an element if it's focusable, visible, and not disabled.\nThis is an enhanced version that checks visibility, accessibility attributes,\nand proper focusability before attempting to set focus. It is shadow DOM aware\nand handles slotted elements correctly."
1437
- },
1438
- {
1439
- "kind": "function",
1440
- "name": "walkComposedTree",
1441
- "return": {
1442
- "type": {
1443
- "text": ""
1444
- }
1445
- },
1446
- "parameters": [
1447
- {
1448
- "name": "node",
1449
- "type": {
1450
- "text": "Node"
1451
- },
1452
- "description": "The root node for traversal"
1453
- },
1454
- {
1455
- "name": "whatToShow",
1456
- "default": "0",
1457
- "description": "NodeFilter code for node types to include (use 0 to retrieve all nodes)"
1458
- },
1459
- {
1460
- "name": "filter",
1461
- "default": "() => true",
1462
- "type": {
1463
- "text": "(node: Node) => boolean"
1464
- },
1465
- "description": "Filters nodes. Child nodes are considered even if parent does not satisfy the filter"
1466
- },
1467
- {
1468
- "name": "skipNode",
1469
- "default": "() => false",
1470
- "type": {
1471
- "text": "(node: Node) => boolean"
1472
- },
1473
- "description": "Determines whether to skip a node and its children"
1474
- }
1475
- ],
1476
- "description": "Traverse the composed tree from the root, selecting elements that meet the provided filter criteria.\nThis function properly handles Shadow DOM boundaries.\nBased on https://github.com/JanMiksovsky/elix/blob/main/src/core/dom.js#L320"
1477
- },
1478
- {
1479
- "kind": "function",
1480
- "name": "getFirstAndLastFocusableChildren",
1481
- "return": {
1482
- "type": {
1483
- "text": ""
1484
- }
1485
- },
1486
- "parameters": [
1487
- {
1488
- "name": "walker",
1489
- "type": {
1490
- "text": "IterableIterator<HTMLElement>"
1491
- },
1492
- "description": "The TreeWalker object used to traverse the node's children"
1493
- }
1494
- ],
1495
- "description": "Retrieves the first and last focusable children of a node using a TreeWalker."
1496
- },
1497
- {
1498
- "kind": "function",
1499
- "name": "focusElementAfterRepaint",
1500
- "return": {
1501
- "type": {
1502
- "text": "void"
1503
- }
1504
- },
1505
- "parameters": [
1506
- {
1507
- "name": "searchRoot",
1508
- "type": {
1509
- "text": "Document | Element | ShadowRoot | DocumentFragment"
1510
- },
1511
- "description": "Root to query (`Element`, `ShadowRoot`, `Document`, or `DocumentFragment`, e.g. Lit `renderRoot`)"
1512
- },
1513
- {
1514
- "name": "selector",
1515
- "type": {
1516
- "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."
1398
+ "kind": "variable",
1399
+ "name": "HistoryPanelMenu"
1596
1400
  }
1597
1401
  ],
1598
1402
  "exports": [
1599
1403
  {
1600
1404
  "kind": "js",
1601
- "name": "isDirectionRTL",
1405
+ "name": "default",
1602
1406
  "declaration": {
1603
- "name": "isDirectionRTL",
1604
- "module": "src/globals/utils/rtl-utils.ts"
1407
+ "name": "HistoryPanelMenu",
1408
+ "module": "src/react/history/history-panel-menu.ts"
1605
1409
  }
1606
1410
  }
1607
1411
  ]
1608
1412
  },
1609
1413
  {
1610
1414
  "kind": "javascript-module",
1611
- "path": "src/globals/utils/uuid.ts",
1415
+ "path": "src/react/history/history-panel.ts",
1612
1416
  "declarations": [
1613
1417
  {
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."
1418
+ "kind": "variable",
1419
+ "name": "HistoryPanel"
1622
1420
  }
1623
1421
  ],
1624
1422
  "exports": [
1625
1423
  {
1626
1424
  "kind": "js",
1627
- "name": "uuid",
1425
+ "name": "default",
1628
1426
  "declaration": {
1629
- "name": "uuid",
1630
- "module": "src/globals/utils/uuid.ts"
1427
+ "name": "HistoryPanel",
1428
+ "module": "src/react/history/history-panel.ts"
1631
1429
  }
1632
1430
  }
1633
1431
  ]
1634
1432
  },
1635
1433
  {
1636
1434
  "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",
1435
+ "path": "src/react/history/history-search-item.ts",
1644
1436
  "declarations": [
1645
1437
  {
1646
1438
  "kind": "variable",
1647
- "name": "HistoryContent"
1439
+ "name": "HistorySearchItem"
1648
1440
  }
1649
1441
  ],
1650
1442
  "exports": [
@@ -1652,19 +1444,19 @@
1652
1444
  "kind": "js",
1653
1445
  "name": "default",
1654
1446
  "declaration": {
1655
- "name": "HistoryContent",
1656
- "module": "src/react/history/history-content.ts"
1447
+ "name": "HistorySearchItem",
1448
+ "module": "src/react/history/history-search-item.ts"
1657
1449
  }
1658
1450
  }
1659
1451
  ]
1660
1452
  },
1661
1453
  {
1662
1454
  "kind": "javascript-module",
1663
- "path": "src/react/history/history-delete-panel.ts",
1455
+ "path": "src/react/history/history-shell.ts",
1664
1456
  "declarations": [
1665
1457
  {
1666
1458
  "kind": "variable",
1667
- "name": "HistoryDeletePanel"
1459
+ "name": "HistoryShell"
1668
1460
  }
1669
1461
  ],
1670
1462
  "exports": [
@@ -1672,19 +1464,19 @@
1672
1464
  "kind": "js",
1673
1465
  "name": "default",
1674
1466
  "declaration": {
1675
- "name": "HistoryDeletePanel",
1676
- "module": "src/react/history/history-delete-panel.ts"
1467
+ "name": "HistoryShell",
1468
+ "module": "src/react/history/history-shell.ts"
1677
1469
  }
1678
1470
  }
1679
1471
  ]
1680
1472
  },
1681
1473
  {
1682
1474
  "kind": "javascript-module",
1683
- "path": "src/react/history/history-header.ts",
1475
+ "path": "src/react/history/history-toolbar.ts",
1684
1476
  "declarations": [
1685
1477
  {
1686
1478
  "kind": "variable",
1687
- "name": "HistoryHeader"
1479
+ "name": "HistoryToolbar"
1688
1480
  }
1689
1481
  ],
1690
1482
  "exports": [
@@ -1692,291 +1484,499 @@
1692
1484
  "kind": "js",
1693
1485
  "name": "default",
1694
1486
  "declaration": {
1695
- "name": "HistoryHeader",
1696
- "module": "src/react/history/history-header.ts"
1487
+ "name": "HistoryToolbar",
1488
+ "module": "src/react/history/history-toolbar.ts"
1697
1489
  }
1698
1490
  }
1699
1491
  ]
1700
1492
  },
1701
1493
  {
1702
1494
  "kind": "javascript-module",
1703
- "path": "src/react/history/history-loading.ts",
1704
- "declarations": [
1705
- {
1706
- "kind": "variable",
1707
- "name": "HistoryLoading"
1708
- }
1709
- ],
1495
+ "path": "src/react/history/index.ts",
1496
+ "declarations": [],
1710
1497
  "exports": [
1711
1498
  {
1712
1499
  "kind": "js",
1713
- "name": "default",
1500
+ "name": "HistoryShell",
1714
1501
  "declaration": {
1715
- "name": "HistoryLoading",
1716
- "module": "src/react/history/history-loading.ts"
1502
+ "name": "default",
1503
+ "module": "./history-shell.js"
1717
1504
  }
1718
- }
1719
- ]
1720
- },
1721
- {
1722
- "kind": "javascript-module",
1723
- "path": "src/react/history/history-panel-item-input.ts",
1724
- "declarations": [
1505
+ },
1725
1506
  {
1726
- "kind": "variable",
1727
- "name": "HistoryPanelItemInput"
1728
- }
1729
- ],
1730
- "exports": [
1507
+ "kind": "js",
1508
+ "name": "HistoryHeader",
1509
+ "declaration": {
1510
+ "name": "default",
1511
+ "module": "./history-header.js"
1512
+ }
1513
+ },
1731
1514
  {
1732
1515
  "kind": "js",
1733
- "name": "default",
1516
+ "name": "HistoryToolbar",
1734
1517
  "declaration": {
1735
- "name": "HistoryPanelItemInput",
1736
- "module": "src/react/history/history-panel-item-input.ts"
1518
+ "name": "default",
1519
+ "module": "./history-toolbar.js"
1737
1520
  }
1738
- }
1739
- ]
1740
- },
1741
- {
1742
- "kind": "javascript-module",
1743
- "path": "src/react/history/history-panel-item.ts",
1744
- "declarations": [
1521
+ },
1745
1522
  {
1746
- "kind": "variable",
1747
- "name": "HistoryPanelItem"
1748
- }
1749
- ],
1750
- "exports": [
1523
+ "kind": "js",
1524
+ "name": "HistoryContent",
1525
+ "declaration": {
1526
+ "name": "default",
1527
+ "module": "./history-content.js"
1528
+ }
1529
+ },
1751
1530
  {
1752
1531
  "kind": "js",
1753
- "name": "default",
1532
+ "name": "HistoryLoading",
1754
1533
  "declaration": {
1755
- "name": "HistoryPanelItem",
1756
- "module": "src/react/history/history-panel-item.ts"
1534
+ "name": "default",
1535
+ "module": "./history-loading.js"
1757
1536
  }
1758
- }
1759
- ]
1760
- },
1761
- {
1762
- "kind": "javascript-module",
1763
- "path": "src/react/history/history-panel-items.ts",
1764
- "declarations": [
1537
+ },
1765
1538
  {
1766
- "kind": "variable",
1767
- "name": "HistoryPanelItems"
1768
- }
1769
- ],
1770
- "exports": [
1539
+ "kind": "js",
1540
+ "name": "HistoryPanel",
1541
+ "declaration": {
1542
+ "name": "default",
1543
+ "module": "./history-panel.js"
1544
+ }
1545
+ },
1771
1546
  {
1772
1547
  "kind": "js",
1773
- "name": "default",
1548
+ "name": "HistoryPanelMenu",
1774
1549
  "declaration": {
1775
- "name": "HistoryPanelItems",
1776
- "module": "src/react/history/history-panel-items.ts"
1550
+ "name": "default",
1551
+ "module": "./history-panel-menu.js"
1777
1552
  }
1778
- }
1779
- ]
1780
- },
1781
- {
1782
- "kind": "javascript-module",
1783
- "path": "src/react/history/history-panel-menu.ts",
1784
- "declarations": [
1553
+ },
1785
1554
  {
1786
- "kind": "variable",
1787
- "name": "HistoryPanelMenu"
1788
- }
1789
- ],
1790
- "exports": [
1555
+ "kind": "js",
1556
+ "name": "HistoryPanelItem",
1557
+ "declaration": {
1558
+ "name": "default",
1559
+ "module": "./history-panel-item.js"
1560
+ }
1561
+ },
1791
1562
  {
1792
1563
  "kind": "js",
1793
- "name": "default",
1564
+ "name": "HistoryPanelItems",
1794
1565
  "declaration": {
1795
- "name": "HistoryPanelMenu",
1796
- "module": "src/react/history/history-panel-menu.ts"
1566
+ "name": "default",
1567
+ "module": "./history-panel-items.js"
1797
1568
  }
1798
- }
1799
- ]
1800
- },
1801
- {
1802
- "kind": "javascript-module",
1803
- "path": "src/react/history/history-panel.ts",
1804
- "declarations": [
1569
+ },
1805
1570
  {
1806
- "kind": "variable",
1807
- "name": "HistoryPanel"
1808
- }
1809
- ],
1810
- "exports": [
1571
+ "kind": "js",
1572
+ "name": "HistorySearchItem",
1573
+ "declaration": {
1574
+ "name": "default",
1575
+ "module": "./history-search-item.js"
1576
+ }
1577
+ },
1811
1578
  {
1812
1579
  "kind": "js",
1813
- "name": "default",
1580
+ "name": "HistoryPanelItemInput",
1814
1581
  "declaration": {
1815
- "name": "HistoryPanel",
1816
- "module": "src/react/history/history-panel.ts"
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"
1817
1592
  }
1818
1593
  }
1819
1594
  ]
1820
1595
  },
1821
1596
  {
1822
1597
  "kind": "javascript-module",
1823
- "path": "src/react/history/history-search-item.ts",
1598
+ "path": "src/globals/decorators/carbon-element.ts",
1824
1599
  "declarations": [
1825
1600
  {
1826
- "kind": "variable",
1827
- "name": "HistorySearchItem"
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"
1828
1613
  }
1829
1614
  ],
1830
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
+ },
1831
1632
  {
1832
1633
  "kind": "js",
1833
- "name": "default",
1634
+ "name": "carbonElement",
1834
1635
  "declaration": {
1835
- "name": "HistorySearchItem",
1836
- "module": "src/react/history/history-search-item.ts"
1636
+ "name": "carbonElement",
1637
+ "module": "src/globals/decorators/carbon-element.ts"
1837
1638
  }
1838
1639
  }
1839
1640
  ]
1840
1641
  },
1841
1642
  {
1842
1643
  "kind": "javascript-module",
1843
- "path": "src/react/history/history-shell.ts",
1844
- "declarations": [
1845
- {
1846
- "kind": "variable",
1847
- "name": "HistoryShell"
1848
- }
1849
- ],
1644
+ "path": "src/globals/decorators/index.ts",
1645
+ "declarations": [],
1850
1646
  "exports": [
1851
1647
  {
1852
1648
  "kind": "js",
1853
- "name": "default",
1649
+ "name": "carbonElement",
1854
1650
  "declaration": {
1855
- "name": "HistoryShell",
1856
- "module": "src/react/history/history-shell.ts"
1651
+ "name": "carbonElement",
1652
+ "module": "./carbon-element.js"
1857
1653
  }
1858
1654
  }
1859
1655
  ]
1860
1656
  },
1861
1657
  {
1862
1658
  "kind": "javascript-module",
1863
- "path": "src/react/history/history-toolbar.ts",
1659
+ "path": "src/globals/internal/storybook-cdn.ts",
1864
1660
  "declarations": [
1865
1661
  {
1866
- "kind": "variable",
1867
- "name": "HistoryToolbar"
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"
1868
1679
  }
1869
1680
  ],
1870
1681
  "exports": [
1871
1682
  {
1872
1683
  "kind": "js",
1873
- "name": "default",
1684
+ "name": "cdnJs",
1874
1685
  "declaration": {
1875
- "name": "HistoryToolbar",
1876
- "module": "src/react/history/history-toolbar.ts"
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"
1877
1696
  }
1878
1697
  }
1879
1698
  ]
1880
1699
  },
1881
1700
  {
1882
1701
  "kind": "javascript-module",
1883
- "path": "src/react/history/index.ts",
1884
- "declarations": [],
1885
- "exports": [
1702
+ "path": "src/globals/utils/focus-utils.ts",
1703
+ "declarations": [
1886
1704
  {
1887
- "kind": "js",
1888
- "name": "HistoryShell",
1889
- "declaration": {
1890
- "name": "default",
1891
- "module": "./history-shell.js"
1892
- }
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."
1893
1713
  },
1894
1714
  {
1895
- "kind": "js",
1896
- "name": "HistoryHeader",
1897
- "declaration": {
1898
- "name": "default",
1899
- "module": "./history-header.js"
1900
- }
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."
1901
1740
  },
1902
1741
  {
1903
- "kind": "js",
1904
- "name": "HistoryToolbar",
1905
- "declaration": {
1906
- "name": "default",
1907
- "module": "./history-toolbar.js"
1908
- }
1742
+ "kind": "function",
1743
+ "name": "isFocusable",
1744
+ "return": {
1745
+ "type": {
1746
+ "text": ""
1747
+ }
1748
+ },
1749
+ "parameters": [
1750
+ {
1751
+ "name": "element",
1752
+ "type": {
1753
+ "text": "Element"
1754
+ },
1755
+ "description": "The DOM element to check for focusability"
1756
+ }
1757
+ ],
1758
+ "description": "Checks if an element is focusable. An element is considered focusable if it matches\nstandard focusable elements criteria (such as buttons, inputs, etc., that are not disabled\nand do not have a negative tabindex) or is a custom element with a shadow root that delegates focus.\nBased on https://gist.github.com/oscarmarina/9ce95f491a4c53ed01d989de4a87c0c9"
1909
1759
  },
1760
+ {
1761
+ "kind": "function",
1762
+ "name": "tryFocus",
1763
+ "return": {
1764
+ "type": {
1765
+ "text": ""
1766
+ }
1767
+ },
1768
+ "parameters": [
1769
+ {
1770
+ "name": "element",
1771
+ "type": {
1772
+ "text": "Element | null | undefined"
1773
+ },
1774
+ "description": "The element to attempt to focus"
1775
+ },
1776
+ {
1777
+ "name": "exceptions",
1778
+ "optional": true,
1779
+ "type": {
1780
+ "text": "string[]"
1781
+ },
1782
+ "description": "Array of selectors to ignore when checking visibility (e.g., 'dialog', '[popover]')"
1783
+ }
1784
+ ],
1785
+ "description": "Attempts to focus an element if it's focusable, visible, and not disabled.\nThis is an enhanced version that checks visibility, accessibility attributes,\nand proper focusability before attempting to set focus. It is shadow DOM aware\nand handles slotted elements correctly."
1786
+ },
1787
+ {
1788
+ "kind": "function",
1789
+ "name": "walkComposedTree",
1790
+ "return": {
1791
+ "type": {
1792
+ "text": ""
1793
+ }
1794
+ },
1795
+ "parameters": [
1796
+ {
1797
+ "name": "node",
1798
+ "type": {
1799
+ "text": "Node"
1800
+ },
1801
+ "description": "The root node for traversal"
1802
+ },
1803
+ {
1804
+ "name": "whatToShow",
1805
+ "default": "0",
1806
+ "description": "NodeFilter code for node types to include (use 0 to retrieve all nodes)"
1807
+ },
1808
+ {
1809
+ "name": "filter",
1810
+ "default": "() => true",
1811
+ "type": {
1812
+ "text": "(node: Node) => boolean"
1813
+ },
1814
+ "description": "Filters nodes. Child nodes are considered even if parent does not satisfy the filter"
1815
+ },
1816
+ {
1817
+ "name": "skipNode",
1818
+ "default": "() => false",
1819
+ "type": {
1820
+ "text": "(node: Node) => boolean"
1821
+ },
1822
+ "description": "Determines whether to skip a node and its children"
1823
+ }
1824
+ ],
1825
+ "description": "Traverse the composed tree from the root, selecting elements that meet the provided filter criteria.\nThis function properly handles Shadow DOM boundaries.\nBased on https://github.com/JanMiksovsky/elix/blob/main/src/core/dom.js#L320"
1826
+ },
1827
+ {
1828
+ "kind": "function",
1829
+ "name": "getFirstAndLastFocusableChildren",
1830
+ "return": {
1831
+ "type": {
1832
+ "text": ""
1833
+ }
1834
+ },
1835
+ "parameters": [
1836
+ {
1837
+ "name": "walker",
1838
+ "type": {
1839
+ "text": "IterableIterator<HTMLElement>"
1840
+ },
1841
+ "description": "The TreeWalker object used to traverse the node's children"
1842
+ }
1843
+ ],
1844
+ "description": "Retrieves the first and last focusable children of a node using a TreeWalker."
1845
+ },
1846
+ {
1847
+ "kind": "function",
1848
+ "name": "focusElementAfterRepaint",
1849
+ "return": {
1850
+ "type": {
1851
+ "text": "void"
1852
+ }
1853
+ },
1854
+ "parameters": [
1855
+ {
1856
+ "name": "searchRoot",
1857
+ "type": {
1858
+ "text": "Document | Element | ShadowRoot | DocumentFragment"
1859
+ },
1860
+ "description": "Root to query (`Element`, `ShadowRoot`, `Document`, or `DocumentFragment`, e.g. Lit `renderRoot`)"
1861
+ },
1862
+ {
1863
+ "name": "selector",
1864
+ "type": {
1865
+ "text": "string"
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."
1871
+ }
1872
+ ],
1873
+ "exports": [
1910
1874
  {
1911
1875
  "kind": "js",
1912
- "name": "HistoryContent",
1876
+ "name": "getDeepActiveElement",
1913
1877
  "declaration": {
1914
- "name": "default",
1915
- "module": "./history-content.js"
1878
+ "name": "getDeepActiveElement",
1879
+ "module": "src/globals/utils/focus-utils.ts"
1916
1880
  }
1917
1881
  },
1918
1882
  {
1919
1883
  "kind": "js",
1920
- "name": "HistoryLoading",
1884
+ "name": "isElementInvisible",
1921
1885
  "declaration": {
1922
- "name": "default",
1923
- "module": "./history-loading.js"
1886
+ "name": "isElementInvisible",
1887
+ "module": "src/globals/utils/focus-utils.ts"
1924
1888
  }
1925
1889
  },
1926
1890
  {
1927
1891
  "kind": "js",
1928
- "name": "HistoryPanel",
1892
+ "name": "isFocusable",
1929
1893
  "declaration": {
1930
- "name": "default",
1931
- "module": "./history-panel.js"
1894
+ "name": "isFocusable",
1895
+ "module": "src/globals/utils/focus-utils.ts"
1932
1896
  }
1933
1897
  },
1934
1898
  {
1935
1899
  "kind": "js",
1936
- "name": "HistoryPanelMenu",
1900
+ "name": "tryFocus",
1937
1901
  "declaration": {
1938
- "name": "default",
1939
- "module": "./history-panel-menu.js"
1902
+ "name": "tryFocus",
1903
+ "module": "src/globals/utils/focus-utils.ts"
1940
1904
  }
1941
1905
  },
1942
1906
  {
1943
1907
  "kind": "js",
1944
- "name": "HistoryPanelItem",
1908
+ "name": "walkComposedTree",
1945
1909
  "declaration": {
1946
- "name": "default",
1947
- "module": "./history-panel-item.js"
1910
+ "name": "walkComposedTree",
1911
+ "module": "src/globals/utils/focus-utils.ts"
1948
1912
  }
1949
1913
  },
1950
1914
  {
1951
1915
  "kind": "js",
1952
- "name": "HistoryPanelItems",
1916
+ "name": "getFirstAndLastFocusableChildren",
1953
1917
  "declaration": {
1954
- "name": "default",
1955
- "module": "./history-panel-items.js"
1918
+ "name": "getFirstAndLastFocusableChildren",
1919
+ "module": "src/globals/utils/focus-utils.ts"
1956
1920
  }
1957
1921
  },
1958
1922
  {
1959
1923
  "kind": "js",
1960
- "name": "HistorySearchItem",
1924
+ "name": "focusElementAfterRepaint",
1961
1925
  "declaration": {
1962
- "name": "default",
1963
- "module": "./history-search-item.js"
1926
+ "name": "focusElementAfterRepaint",
1927
+ "module": "src/globals/utils/focus-utils.ts"
1964
1928
  }
1965
- },
1929
+ }
1930
+ ]
1931
+ },
1932
+ {
1933
+ "kind": "javascript-module",
1934
+ "path": "src/globals/utils/rtl-utils.ts",
1935
+ "declarations": [
1936
+ {
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."
1945
+ }
1946
+ ],
1947
+ "exports": [
1966
1948
  {
1967
1949
  "kind": "js",
1968
- "name": "HistoryPanelItemInput",
1950
+ "name": "isDirectionRTL",
1969
1951
  "declaration": {
1970
- "name": "default",
1971
- "module": "./history-panel-item-input.js"
1952
+ "name": "isDirectionRTL",
1953
+ "module": "src/globals/utils/rtl-utils.ts"
1972
1954
  }
1973
- },
1955
+ }
1956
+ ]
1957
+ },
1958
+ {
1959
+ "kind": "javascript-module",
1960
+ "path": "src/globals/utils/uuid.ts",
1961
+ "declarations": [
1962
+ {
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."
1971
+ }
1972
+ ],
1973
+ "exports": [
1974
1974
  {
1975
1975
  "kind": "js",
1976
- "name": "HistoryDeletePanel",
1976
+ "name": "uuid",
1977
1977
  "declaration": {
1978
- "name": "default",
1979
- "module": "./history-delete-panel.js"
1978
+ "name": "uuid",
1979
+ "module": "src/globals/utils/uuid.ts"
1980
1980
  }
1981
1981
  }
1982
1982
  ]
@@ -2447,249 +2447,104 @@
2447
2447
  "attribute": "hide-label"
2448
2448
  },
2449
2449
  {
2450
- "kind": "field",
2451
- "name": "expanded",
2452
- "type": {
2453
- "text": "boolean"
2454
- },
2455
- "default": "false",
2456
- "description": "Controlled expanded status",
2457
- "attribute": "expanded"
2458
- },
2459
- {
2460
- "kind": "field",
2461
- "name": "contentId",
2462
- "privacy": "private",
2463
- "default": "`transcript-content-${Math.random().toString(36).substr(2, 9)}`",
2464
- "description": "Unique ID for aria-controls relationship"
2465
- },
2466
- {
2467
- "kind": "method",
2468
- "name": "handleToggle",
2469
- "privacy": "private",
2470
- "return": {
2471
- "type": {
2472
- "text": "void"
2473
- }
2474
- },
2475
- "description": "Toggle transcript visibility\nDispatches event for parent to handle state change"
2476
- }
2477
- ],
2478
- "events": [
2479
- {
2480
- "name": "cds-aichat-transcript-toggle",
2481
- "type": {
2482
- "text": "CustomEvent"
2483
- },
2484
- "description": "Fired when transcript is expanded or collapsed"
2485
- }
2486
- ],
2487
- "attributes": [
2488
- {
2489
- "name": "text",
2490
- "type": {
2491
- "text": "string"
2492
- },
2493
- "default": "\"\"",
2494
- "description": "The transcript text (supports markdown)",
2495
- "fieldName": "text"
2496
- },
2497
- {
2498
- "name": "label",
2499
- "type": {
2500
- "text": "string"
2501
- },
2502
- "default": "\"Transcript\"",
2503
- "description": "Optional label for the transcript (defaults to \"Transcript\")",
2504
- "fieldName": "label"
2505
- },
2506
- {
2507
- "name": "language",
2508
- "type": {
2509
- "text": "string"
2510
- },
2511
- "default": "\"\"",
2512
- "description": "Optional language code",
2513
- "fieldName": "language"
2514
- },
2515
- {
2516
- "name": "show-label",
2517
- "type": {
2518
- "text": "string"
2519
- },
2520
- "default": "\"Show\"",
2521
- "description": "Label for showing transcript",
2522
- "fieldName": "showLabel"
2523
- },
2524
- {
2525
- "name": "hide-label",
2526
- "type": {
2527
- "text": "string"
2528
- },
2529
- "default": "\"Hide\"",
2530
- "description": "Label for hiding transcript",
2531
- "fieldName": "hideLabel"
2532
- },
2533
- {
2534
- "name": "expanded",
2535
- "type": {
2536
- "text": "boolean"
2537
- },
2538
- "default": "false",
2539
- "description": "Controlled expanded status",
2540
- "fieldName": "expanded"
2541
- }
2542
- ],
2543
- "superclass": {
2544
- "name": "LitElement",
2545
- "package": "lit"
2546
- },
2547
- "tagName": "cds-aichat-transcript",
2548
- "customElement": true
2549
- }
2550
- ],
2551
- "exports": [
2552
- {
2553
- "kind": "js",
2554
- "name": "default",
2555
- "declaration": {
2556
- "name": "Transcript",
2557
- "module": "src/components/audio-player/src/transcript.ts"
2558
- }
2559
- }
2560
- ]
2561
- },
2562
- {
2563
- "kind": "javascript-module",
2564
- "path": "src/components/carousel/src/carousel.ts",
2565
- "declarations": [
2566
- {
2567
- "kind": "class",
2568
- "description": "Carousel component",
2569
- "name": "CDSAICarousel",
2570
- "slots": [
2571
- {
2572
- "description": "The body",
2573
- "name": "body"
2574
- }
2575
- ],
2576
- "members": [
2577
- {
2578
- "kind": "field",
2579
- "name": "nextBtnText",
2580
- "type": {
2581
- "text": "string | undefined"
2582
- },
2583
- "description": "Text for the next button",
2584
- "attribute": "nextBtnText"
2585
- },
2586
- {
2587
- "kind": "field",
2588
- "name": "previousBtnText",
2589
- "type": {
2590
- "text": "string | undefined"
2591
- },
2592
- "description": "Text for the previous button",
2593
- "attribute": "previousBtnText"
2594
- },
2595
- {
2596
- "kind": "field",
2597
- "name": "container",
2598
- "type": {
2599
- "text": "Array<HTMLElement> | undefined"
2600
- },
2601
- "privacy": "private"
2602
- },
2603
- {
2604
- "kind": "field",
2605
- "name": "carousel",
2606
- "type": {
2607
- "text": "InitCarousel | undefined"
2608
- },
2609
- "privacy": "private"
2610
- },
2611
- {
2612
- "kind": "field",
2613
- "name": "_currentIndex",
2614
- "type": {
2615
- "text": "number"
2616
- },
2617
- "privacy": "private",
2618
- "default": "0"
2619
- },
2620
- {
2621
- "kind": "field",
2622
- "name": "_lastIndex",
2623
- "type": {
2624
- "text": "number"
2625
- },
2626
- "privacy": "private",
2627
- "default": "0"
2628
- },
2629
- {
2630
- "kind": "method",
2631
- "name": "_handlePrev",
2632
- "privacy": "private"
2450
+ "kind": "field",
2451
+ "name": "expanded",
2452
+ "type": {
2453
+ "text": "boolean"
2454
+ },
2455
+ "default": "false",
2456
+ "description": "Controlled expanded status",
2457
+ "attribute": "expanded"
2633
2458
  },
2634
2459
  {
2635
- "kind": "method",
2636
- "name": "_handleNext",
2637
- "privacy": "private"
2460
+ "kind": "field",
2461
+ "name": "contentId",
2462
+ "privacy": "private",
2463
+ "default": "`transcript-content-${Math.random().toString(36).substr(2, 9)}`",
2464
+ "description": "Unique ID for aria-controls relationship"
2638
2465
  },
2639
2466
  {
2640
2467
  "kind": "method",
2641
- "name": "_dispatchChange",
2468
+ "name": "handleToggle",
2642
2469
  "privacy": "private",
2643
- "parameters": [
2644
- {
2645
- "name": "data",
2646
- "type": {
2647
- "text": "CarouselResponse"
2648
- }
2470
+ "return": {
2471
+ "type": {
2472
+ "text": "void"
2649
2473
  }
2650
- ]
2651
- },
2652
- {
2653
- "kind": "field",
2654
- "name": "eventOnChange",
2655
- "static": true,
2656
- "readonly": true
2474
+ },
2475
+ "description": "Toggle transcript visibility\nDispatches event for parent to handle state change"
2657
2476
  }
2658
2477
  ],
2659
2478
  "events": [
2660
2479
  {
2480
+ "name": "cds-aichat-transcript-toggle",
2661
2481
  "type": {
2662
2482
  "text": "CustomEvent"
2663
- }
2664
- },
2665
- {
2666
- "description": "custom event for when the carousel changes",
2667
- "name": "cds-aichat-carousel-onchange"
2483
+ },
2484
+ "description": "Fired when transcript is expanded or collapsed"
2668
2485
  }
2669
2486
  ],
2670
2487
  "attributes": [
2671
2488
  {
2672
- "name": "nextBtnText",
2489
+ "name": "text",
2673
2490
  "type": {
2674
- "text": "string | undefined"
2491
+ "text": "string"
2675
2492
  },
2676
- "description": "Text for the next button",
2677
- "fieldName": "nextBtnText"
2493
+ "default": "\"\"",
2494
+ "description": "The transcript text (supports markdown)",
2495
+ "fieldName": "text"
2678
2496
  },
2679
2497
  {
2680
- "name": "previousBtnText",
2498
+ "name": "label",
2681
2499
  "type": {
2682
- "text": "string | undefined"
2500
+ "text": "string"
2683
2501
  },
2684
- "description": "Text for the previous button",
2685
- "fieldName": "previousBtnText"
2502
+ "default": "\"Transcript\"",
2503
+ "description": "Optional label for the transcript (defaults to \"Transcript\")",
2504
+ "fieldName": "label"
2505
+ },
2506
+ {
2507
+ "name": "language",
2508
+ "type": {
2509
+ "text": "string"
2510
+ },
2511
+ "default": "\"\"",
2512
+ "description": "Optional language code",
2513
+ "fieldName": "language"
2514
+ },
2515
+ {
2516
+ "name": "show-label",
2517
+ "type": {
2518
+ "text": "string"
2519
+ },
2520
+ "default": "\"Show\"",
2521
+ "description": "Label for showing transcript",
2522
+ "fieldName": "showLabel"
2523
+ },
2524
+ {
2525
+ "name": "hide-label",
2526
+ "type": {
2527
+ "text": "string"
2528
+ },
2529
+ "default": "\"Hide\"",
2530
+ "description": "Label for hiding transcript",
2531
+ "fieldName": "hideLabel"
2532
+ },
2533
+ {
2534
+ "name": "expanded",
2535
+ "type": {
2536
+ "text": "boolean"
2537
+ },
2538
+ "default": "false",
2539
+ "description": "Controlled expanded status",
2540
+ "fieldName": "expanded"
2686
2541
  }
2687
2542
  ],
2688
2543
  "superclass": {
2689
2544
  "name": "LitElement",
2690
2545
  "package": "lit"
2691
2546
  },
2692
- "tagName": "cds-aichat-carousel",
2547
+ "tagName": "cds-aichat-transcript",
2693
2548
  "customElement": true
2694
2549
  }
2695
2550
  ],
@@ -2698,8 +2553,8 @@
2698
2553
  "kind": "js",
2699
2554
  "name": "default",
2700
2555
  "declaration": {
2701
- "name": "CDSAICarousel",
2702
- "module": "src/components/carousel/src/carousel.ts"
2556
+ "name": "Transcript",
2557
+ "module": "src/components/audio-player/src/transcript.ts"
2703
2558
  }
2704
2559
  }
2705
2560
  ]
@@ -2889,52 +2744,197 @@
2889
2744
  "members": [
2890
2745
  {
2891
2746
  "kind": "field",
2892
- "name": "isLayered",
2747
+ "name": "isLayered",
2748
+ "type": {
2749
+ "text": "boolean"
2750
+ },
2751
+ "default": "false",
2752
+ "description": "Specify whether the `Card` layering style. if true, the card will follow carbon layering style, otherwise chat shell layering style.",
2753
+ "attribute": "is-layered",
2754
+ "reflects": true
2755
+ },
2756
+ {
2757
+ "kind": "field",
2758
+ "name": "isFlush",
2759
+ "type": {
2760
+ "text": "boolean"
2761
+ },
2762
+ "default": "false",
2763
+ "description": "Specify whether the padding should be removed from the card. default is false.\nWhen true, removes the default padding from cds-tile, useful when the card\nis used as a container for other components that need to be flush against edges.",
2764
+ "attribute": "is-flush",
2765
+ "reflects": true
2766
+ }
2767
+ ],
2768
+ "attributes": [
2769
+ {
2770
+ "name": "is-layered",
2771
+ "type": {
2772
+ "text": "boolean"
2773
+ },
2774
+ "default": "false",
2775
+ "description": "Specify whether the `Card` layering style. if true, the card will follow carbon layering style, otherwise chat shell layering style.",
2776
+ "fieldName": "isLayered"
2777
+ },
2778
+ {
2779
+ "name": "is-flush",
2780
+ "type": {
2781
+ "text": "boolean"
2782
+ },
2783
+ "default": "false",
2784
+ "description": "Specify whether the padding should be removed from the card. default is false.\nWhen true, removes the default padding from cds-tile, useful when the card\nis used as a container for other components that need to be flush against edges.",
2785
+ "fieldName": "isFlush"
2786
+ }
2787
+ ],
2788
+ "superclass": {
2789
+ "name": "CDSTile",
2790
+ "package": "@carbon/web-components/es/components/tile/tile.js"
2791
+ },
2792
+ "tagName": "cds-aichat-card",
2793
+ "customElement": true
2794
+ }
2795
+ ],
2796
+ "exports": [
2797
+ {
2798
+ "kind": "js",
2799
+ "name": "default",
2800
+ "declaration": {
2801
+ "name": "Card",
2802
+ "module": "src/components/card/src/card.ts"
2803
+ }
2804
+ }
2805
+ ]
2806
+ },
2807
+ {
2808
+ "kind": "javascript-module",
2809
+ "path": "src/components/carousel/src/carousel.ts",
2810
+ "declarations": [
2811
+ {
2812
+ "kind": "class",
2813
+ "description": "Carousel component",
2814
+ "name": "CDSAICarousel",
2815
+ "slots": [
2816
+ {
2817
+ "description": "The body",
2818
+ "name": "body"
2819
+ }
2820
+ ],
2821
+ "members": [
2822
+ {
2823
+ "kind": "field",
2824
+ "name": "nextBtnText",
2825
+ "type": {
2826
+ "text": "string | undefined"
2827
+ },
2828
+ "description": "Text for the next button",
2829
+ "attribute": "nextBtnText"
2830
+ },
2831
+ {
2832
+ "kind": "field",
2833
+ "name": "previousBtnText",
2834
+ "type": {
2835
+ "text": "string | undefined"
2836
+ },
2837
+ "description": "Text for the previous button",
2838
+ "attribute": "previousBtnText"
2839
+ },
2840
+ {
2841
+ "kind": "field",
2842
+ "name": "container",
2843
+ "type": {
2844
+ "text": "Array<HTMLElement> | undefined"
2845
+ },
2846
+ "privacy": "private"
2847
+ },
2848
+ {
2849
+ "kind": "field",
2850
+ "name": "carousel",
2851
+ "type": {
2852
+ "text": "InitCarousel | undefined"
2853
+ },
2854
+ "privacy": "private"
2855
+ },
2856
+ {
2857
+ "kind": "field",
2858
+ "name": "_currentIndex",
2859
+ "type": {
2860
+ "text": "number"
2861
+ },
2862
+ "privacy": "private",
2863
+ "default": "0"
2864
+ },
2865
+ {
2866
+ "kind": "field",
2867
+ "name": "_lastIndex",
2868
+ "type": {
2869
+ "text": "number"
2870
+ },
2871
+ "privacy": "private",
2872
+ "default": "0"
2873
+ },
2874
+ {
2875
+ "kind": "method",
2876
+ "name": "_handlePrev",
2877
+ "privacy": "private"
2878
+ },
2879
+ {
2880
+ "kind": "method",
2881
+ "name": "_handleNext",
2882
+ "privacy": "private"
2883
+ },
2884
+ {
2885
+ "kind": "method",
2886
+ "name": "_dispatchChange",
2887
+ "privacy": "private",
2888
+ "parameters": [
2889
+ {
2890
+ "name": "data",
2891
+ "type": {
2892
+ "text": "CarouselResponse"
2893
+ }
2894
+ }
2895
+ ]
2896
+ },
2897
+ {
2898
+ "kind": "field",
2899
+ "name": "eventOnChange",
2900
+ "static": true,
2901
+ "readonly": true
2902
+ }
2903
+ ],
2904
+ "events": [
2905
+ {
2893
2906
  "type": {
2894
- "text": "boolean"
2895
- },
2896
- "default": "false",
2897
- "description": "Specify whether the `Card` layering style. if true, the card will follow carbon layering style, otherwise chat shell layering style.",
2898
- "attribute": "is-layered",
2899
- "reflects": true
2907
+ "text": "CustomEvent"
2908
+ }
2900
2909
  },
2901
2910
  {
2902
- "kind": "field",
2903
- "name": "isFlush",
2904
- "type": {
2905
- "text": "boolean"
2906
- },
2907
- "default": "false",
2908
- "description": "Specify whether the padding should be removed from the card. default is false.\nWhen true, removes the default padding from cds-tile, useful when the card\nis used as a container for other components that need to be flush against edges.",
2909
- "attribute": "is-flush",
2910
- "reflects": true
2911
+ "description": "custom event for when the carousel changes",
2912
+ "name": "cds-aichat-carousel-onchange"
2911
2913
  }
2912
2914
  ],
2913
2915
  "attributes": [
2914
2916
  {
2915
- "name": "is-layered",
2917
+ "name": "nextBtnText",
2916
2918
  "type": {
2917
- "text": "boolean"
2919
+ "text": "string | undefined"
2918
2920
  },
2919
- "default": "false",
2920
- "description": "Specify whether the `Card` layering style. if true, the card will follow carbon layering style, otherwise chat shell layering style.",
2921
- "fieldName": "isLayered"
2921
+ "description": "Text for the next button",
2922
+ "fieldName": "nextBtnText"
2922
2923
  },
2923
2924
  {
2924
- "name": "is-flush",
2925
+ "name": "previousBtnText",
2925
2926
  "type": {
2926
- "text": "boolean"
2927
+ "text": "string | undefined"
2927
2928
  },
2928
- "default": "false",
2929
- "description": "Specify whether the padding should be removed from the card. default is false.\nWhen true, removes the default padding from cds-tile, useful when the card\nis used as a container for other components that need to be flush against edges.",
2930
- "fieldName": "isFlush"
2929
+ "description": "Text for the previous button",
2930
+ "fieldName": "previousBtnText"
2931
2931
  }
2932
2932
  ],
2933
2933
  "superclass": {
2934
- "name": "CDSTile",
2935
- "package": "@carbon/web-components/es/components/tile/tile.js"
2934
+ "name": "LitElement",
2935
+ "package": "lit"
2936
2936
  },
2937
- "tagName": "cds-aichat-card",
2937
+ "tagName": "cds-aichat-carousel",
2938
2938
  "customElement": true
2939
2939
  }
2940
2940
  ],
@@ -2943,8 +2943,8 @@
2943
2943
  "kind": "js",
2944
2944
  "name": "default",
2945
2945
  "declaration": {
2946
- "name": "Card",
2947
- "module": "src/components/card/src/card.ts"
2946
+ "name": "CDSAICarousel",
2947
+ "module": "src/components/carousel/src/carousel.ts"
2948
2948
  }
2949
2949
  }
2950
2950
  ]
@@ -11410,7 +11410,7 @@
11410
11410
  "text": "boolean"
11411
11411
  },
11412
11412
  "default": "false",
11413
- "description": "Enables the quick-load animation variant.",
11413
+ "description": "Removes the ~1s entry delay so the dots appear immediately. Composes with\nboth the looping and non-looping variants.",
11414
11414
  "attribute": "quick-load"
11415
11415
  }
11416
11416
  ],
@@ -11430,7 +11430,7 @@
11430
11430
  "text": "boolean"
11431
11431
  },
11432
11432
  "default": "false",
11433
- "description": "Enables the quick-load animation variant.",
11433
+ "description": "Removes the ~1s entry delay so the dots appear immediately. Composes with\nboth the looping and non-looping variants.",
11434
11434
  "fieldName": "quickLoad"
11435
11435
  }
11436
11436
  ],
@@ -12434,268 +12434,71 @@
12434
12434
  {
12435
12435
  "name": "items-per-page-text",
12436
12436
  "type": {
12437
- "text": "string"
12438
- },
12439
- "default": "\"Items per page:\"",
12440
- "description": "The text used for the pagination's item pre page text.",
12441
- "fieldName": "itemsPerPageText"
12442
- },
12443
- {
12444
- "name": "download-label-text",
12445
- "type": {
12446
- "text": "string"
12447
- },
12448
- "default": "\"Download table data\"",
12449
- "description": "The text used for the download button's accessible label.",
12450
- "fieldName": "downloadLabelText"
12451
- },
12452
- {
12453
- "name": "locale",
12454
- "type": {
12455
- "text": "string"
12456
- },
12457
- "default": "\"en\"",
12458
- "description": "The locale. Used by the carbon table component to change the collator for sorting.",
12459
- "fieldName": "locale"
12460
- },
12461
- {
12462
- "name": "default-page-size",
12463
- "type": {
12464
- "text": "number"
12465
- },
12466
- "fieldName": "defaultPageSize"
12467
- }
12468
- ],
12469
- "superclass": {
12470
- "name": "LitElement",
12471
- "package": "lit"
12472
- },
12473
- "tagName": "cds-aichat-table",
12474
- "customElement": true
12475
- }
12476
- ],
12477
- "exports": [
12478
- {
12479
- "kind": "js",
12480
- "name": "CDSAIChatTable",
12481
- "declaration": {
12482
- "name": "CDSAIChatTable",
12483
- "module": "src/components/table/src/table.ts"
12484
- }
12485
- },
12486
- {
12487
- "kind": "js",
12488
- "name": "default",
12489
- "declaration": {
12490
- "name": "CDSAIChatTable",
12491
- "module": "src/components/table/src/table.ts"
12492
- }
12493
- }
12494
- ]
12495
- },
12496
- {
12497
- "kind": "javascript-module",
12498
- "path": "src/components/table/src/types.ts",
12499
- "declarations": [],
12500
- "exports": []
12501
- },
12502
- {
12503
- "kind": "javascript-module",
12504
- "path": "src/components/toolbar/src/toolbar.ts",
12505
- "declarations": [
12506
- {
12507
- "kind": "class",
12508
- "description": "Toolbar.",
12509
- "name": "CDSAIChatToolbar",
12510
- "slots": [
12511
- {
12512
- "description": "Defines the navigation area of the toolbar.",
12513
- "name": "navigation"
12514
- },
12515
- {
12516
- "description": "Defines the title section of the toolbar.",
12517
- "name": "title"
12518
- },
12519
- {
12520
- "description": "Defines the area for displaying actions that are always visible (not overflowed) in the toolbar.",
12521
- "name": "fixed-actions"
12522
- },
12523
- {
12524
- "description": "Defines the area for displaying the AI label in the toolbar.",
12525
- "name": "toolbar-ai-label"
12526
- }
12527
- ],
12528
- "members": [
12529
- {
12530
- "kind": "field",
12531
- "name": "actions",
12532
- "type": {
12533
- "text": "Action[]"
12534
- },
12535
- "default": "[]",
12536
- "description": "The list of actions."
12537
- },
12538
- {
12539
- "kind": "field",
12540
- "name": "overflow",
12541
- "type": {
12542
- "text": "boolean"
12543
- },
12544
- "default": "false",
12545
- "description": "Should actions be overflowing.",
12546
- "attribute": "overflow",
12547
- "reflects": true
12548
- },
12549
- {
12550
- "kind": "field",
12551
- "name": "titleText",
12552
- "type": {
12553
- "text": "string | undefined"
12554
- },
12555
- "attribute": "titleText"
12556
- },
12557
- {
12558
- "kind": "field",
12559
- "name": "nameText",
12560
- "type": {
12561
- "text": "string | undefined"
12562
- },
12563
- "attribute": "nameText"
12564
- },
12565
- {
12566
- "kind": "field",
12567
- "name": "measuring",
12568
- "type": {
12569
- "text": "boolean"
12570
- },
12571
- "privacy": "private",
12572
- "default": "true"
12573
- },
12574
- {
12575
- "kind": "field",
12576
- "name": "overflowHandler",
12577
- "type": {
12578
- "text": "{ disconnect: () => void } | undefined"
12579
- },
12580
- "privacy": "private"
12581
- },
12582
- {
12583
- "kind": "field",
12584
- "name": "visibilityObserver",
12585
- "type": {
12586
- "text": "ResizeObserver | undefined"
12587
- },
12588
- "privacy": "private"
12589
- },
12590
- {
12591
- "kind": "field",
12592
- "name": "OVERFLOW_MENU_LABEL",
12593
- "type": {
12594
- "text": "string"
12595
- },
12596
- "privacy": "private",
12597
- "static": true,
12598
- "readonly": true,
12599
- "default": "\"Options\""
12600
- },
12601
- {
12602
- "kind": "method",
12603
- "name": "setupOverflowHandler",
12604
- "privacy": "private"
12605
- },
12606
- {
12607
- "kind": "method",
12608
- "name": "findFocusedOverflowMenuItem",
12609
- "privacy": "private",
12610
- "return": {
12611
- "type": {
12612
- "text": "Element | null"
12613
- }
12614
- },
12615
- "parameters": [
12616
- {
12617
- "name": "activeElem",
12618
- "type": {
12619
- "text": "Element"
12620
- }
12621
- }
12622
- ],
12623
- "description": "Returns the focused overflow menu item (if exists) by traversing shadow DOM"
12624
- },
12625
- {
12626
- "kind": "field",
12627
- "name": "_handleToolbarKeydown",
12628
- "privacy": "private"
12629
- },
12630
- {
12631
- "kind": "field",
12632
- "name": "renderIconButton",
12633
- "privacy": "private",
12634
- "description": "Renders an action as an icon button.\nNote: Some Action properties only apply when rendered in overflow menu:\n- danger/dangerDescription: cds-icon-button doesn't support danger variant\n- divider: Only applicable in menu context"
12437
+ "text": "string"
12438
+ },
12439
+ "default": "\"Items per page:\"",
12440
+ "description": "The text used for the pagination's item pre page text.",
12441
+ "fieldName": "itemsPerPageText"
12635
12442
  },
12636
12443
  {
12637
- "kind": "method",
12638
- "name": "getOverflowMenuSize",
12639
- "privacy": "private",
12640
- "return": {
12641
- "type": {
12642
- "text": "OVERFLOW_MENU_SIZE"
12643
- }
12644
- }
12645
- }
12646
- ],
12647
- "attributes": [
12648
- {
12649
- "name": "overflow",
12444
+ "name": "download-label-text",
12650
12445
  "type": {
12651
- "text": "boolean"
12446
+ "text": "string"
12652
12447
  },
12653
- "default": "false",
12654
- "description": "Should actions be overflowing.",
12655
- "fieldName": "overflow"
12448
+ "default": "\"Download table data\"",
12449
+ "description": "The text used for the download button's accessible label.",
12450
+ "fieldName": "downloadLabelText"
12656
12451
  },
12657
12452
  {
12658
- "name": "titleText",
12453
+ "name": "locale",
12659
12454
  "type": {
12660
- "text": "string | undefined"
12455
+ "text": "string"
12661
12456
  },
12662
- "fieldName": "titleText"
12457
+ "default": "\"en\"",
12458
+ "description": "The locale. Used by the carbon table component to change the collator for sorting.",
12459
+ "fieldName": "locale"
12663
12460
  },
12664
12461
  {
12665
- "name": "nameText",
12462
+ "name": "default-page-size",
12666
12463
  "type": {
12667
- "text": "string | undefined"
12464
+ "text": "number"
12668
12465
  },
12669
- "fieldName": "nameText"
12466
+ "fieldName": "defaultPageSize"
12670
12467
  }
12671
12468
  ],
12672
12469
  "superclass": {
12673
12470
  "name": "LitElement",
12674
12471
  "package": "lit"
12675
12472
  },
12676
- "tagName": "cds-aichat-toolbar",
12473
+ "tagName": "cds-aichat-table",
12677
12474
  "customElement": true
12678
12475
  }
12679
12476
  ],
12680
12477
  "exports": [
12681
12478
  {
12682
12479
  "kind": "js",
12683
- "name": "CDSAIChatToolbar",
12480
+ "name": "CDSAIChatTable",
12684
12481
  "declaration": {
12685
- "name": "CDSAIChatToolbar",
12686
- "module": "src/components/toolbar/src/toolbar.ts"
12482
+ "name": "CDSAIChatTable",
12483
+ "module": "src/components/table/src/table.ts"
12687
12484
  }
12688
12485
  },
12689
12486
  {
12690
12487
  "kind": "js",
12691
12488
  "name": "default",
12692
12489
  "declaration": {
12693
- "name": "CDSAIChatToolbar",
12694
- "module": "src/components/toolbar/src/toolbar.ts"
12490
+ "name": "CDSAIChatTable",
12491
+ "module": "src/components/table/src/table.ts"
12695
12492
  }
12696
12493
  }
12697
12494
  ]
12698
12495
  },
12496
+ {
12497
+ "kind": "javascript-module",
12498
+ "path": "src/components/table/src/types.ts",
12499
+ "declarations": [],
12500
+ "exports": []
12501
+ },
12699
12502
  {
12700
12503
  "kind": "javascript-module",
12701
12504
  "path": "src/components/truncated-text/src/truncated-text.ts",
@@ -13046,6 +12849,203 @@
13046
12849
  }
13047
12850
  ]
13048
12851
  },
12852
+ {
12853
+ "kind": "javascript-module",
12854
+ "path": "src/components/toolbar/src/toolbar.ts",
12855
+ "declarations": [
12856
+ {
12857
+ "kind": "class",
12858
+ "description": "Toolbar.",
12859
+ "name": "CDSAIChatToolbar",
12860
+ "slots": [
12861
+ {
12862
+ "description": "Defines the navigation area of the toolbar.",
12863
+ "name": "navigation"
12864
+ },
12865
+ {
12866
+ "description": "Defines the title section of the toolbar.",
12867
+ "name": "title"
12868
+ },
12869
+ {
12870
+ "description": "Defines the area for displaying actions that are always visible (not overflowed) in the toolbar.",
12871
+ "name": "fixed-actions"
12872
+ },
12873
+ {
12874
+ "description": "Defines the area for displaying the AI label in the toolbar.",
12875
+ "name": "toolbar-ai-label"
12876
+ }
12877
+ ],
12878
+ "members": [
12879
+ {
12880
+ "kind": "field",
12881
+ "name": "actions",
12882
+ "type": {
12883
+ "text": "Action[]"
12884
+ },
12885
+ "default": "[]",
12886
+ "description": "The list of actions."
12887
+ },
12888
+ {
12889
+ "kind": "field",
12890
+ "name": "overflow",
12891
+ "type": {
12892
+ "text": "boolean"
12893
+ },
12894
+ "default": "false",
12895
+ "description": "Should actions be overflowing.",
12896
+ "attribute": "overflow",
12897
+ "reflects": true
12898
+ },
12899
+ {
12900
+ "kind": "field",
12901
+ "name": "titleText",
12902
+ "type": {
12903
+ "text": "string | undefined"
12904
+ },
12905
+ "attribute": "titleText"
12906
+ },
12907
+ {
12908
+ "kind": "field",
12909
+ "name": "nameText",
12910
+ "type": {
12911
+ "text": "string | undefined"
12912
+ },
12913
+ "attribute": "nameText"
12914
+ },
12915
+ {
12916
+ "kind": "field",
12917
+ "name": "measuring",
12918
+ "type": {
12919
+ "text": "boolean"
12920
+ },
12921
+ "privacy": "private",
12922
+ "default": "true"
12923
+ },
12924
+ {
12925
+ "kind": "field",
12926
+ "name": "overflowHandler",
12927
+ "type": {
12928
+ "text": "{ disconnect: () => void } | undefined"
12929
+ },
12930
+ "privacy": "private"
12931
+ },
12932
+ {
12933
+ "kind": "field",
12934
+ "name": "visibilityObserver",
12935
+ "type": {
12936
+ "text": "ResizeObserver | undefined"
12937
+ },
12938
+ "privacy": "private"
12939
+ },
12940
+ {
12941
+ "kind": "field",
12942
+ "name": "OVERFLOW_MENU_LABEL",
12943
+ "type": {
12944
+ "text": "string"
12945
+ },
12946
+ "privacy": "private",
12947
+ "static": true,
12948
+ "readonly": true,
12949
+ "default": "\"Options\""
12950
+ },
12951
+ {
12952
+ "kind": "method",
12953
+ "name": "setupOverflowHandler",
12954
+ "privacy": "private"
12955
+ },
12956
+ {
12957
+ "kind": "method",
12958
+ "name": "findFocusedOverflowMenuItem",
12959
+ "privacy": "private",
12960
+ "return": {
12961
+ "type": {
12962
+ "text": "Element | null"
12963
+ }
12964
+ },
12965
+ "parameters": [
12966
+ {
12967
+ "name": "activeElem",
12968
+ "type": {
12969
+ "text": "Element"
12970
+ }
12971
+ }
12972
+ ],
12973
+ "description": "Returns the focused overflow menu item (if exists) by traversing shadow DOM"
12974
+ },
12975
+ {
12976
+ "kind": "field",
12977
+ "name": "_handleToolbarKeydown",
12978
+ "privacy": "private"
12979
+ },
12980
+ {
12981
+ "kind": "field",
12982
+ "name": "renderIconButton",
12983
+ "privacy": "private",
12984
+ "description": "Renders an action as an icon button.\nNote: Some Action properties only apply when rendered in overflow menu:\n- danger/dangerDescription: cds-icon-button doesn't support danger variant\n- divider: Only applicable in menu context"
12985
+ },
12986
+ {
12987
+ "kind": "method",
12988
+ "name": "getOverflowMenuSize",
12989
+ "privacy": "private",
12990
+ "return": {
12991
+ "type": {
12992
+ "text": "OVERFLOW_MENU_SIZE"
12993
+ }
12994
+ }
12995
+ }
12996
+ ],
12997
+ "attributes": [
12998
+ {
12999
+ "name": "overflow",
13000
+ "type": {
13001
+ "text": "boolean"
13002
+ },
13003
+ "default": "false",
13004
+ "description": "Should actions be overflowing.",
13005
+ "fieldName": "overflow"
13006
+ },
13007
+ {
13008
+ "name": "titleText",
13009
+ "type": {
13010
+ "text": "string | undefined"
13011
+ },
13012
+ "fieldName": "titleText"
13013
+ },
13014
+ {
13015
+ "name": "nameText",
13016
+ "type": {
13017
+ "text": "string | undefined"
13018
+ },
13019
+ "fieldName": "nameText"
13020
+ }
13021
+ ],
13022
+ "superclass": {
13023
+ "name": "LitElement",
13024
+ "package": "lit"
13025
+ },
13026
+ "tagName": "cds-aichat-toolbar",
13027
+ "customElement": true
13028
+ }
13029
+ ],
13030
+ "exports": [
13031
+ {
13032
+ "kind": "js",
13033
+ "name": "CDSAIChatToolbar",
13034
+ "declaration": {
13035
+ "name": "CDSAIChatToolbar",
13036
+ "module": "src/components/toolbar/src/toolbar.ts"
13037
+ }
13038
+ },
13039
+ {
13040
+ "kind": "js",
13041
+ "name": "default",
13042
+ "declaration": {
13043
+ "name": "CDSAIChatToolbar",
13044
+ "module": "src/components/toolbar/src/toolbar.ts"
13045
+ }
13046
+ }
13047
+ ]
13048
+ },
13049
13049
  {
13050
13050
  "kind": "javascript-module",
13051
13051
  "path": "src/components/video-player/src/video-player.ts",