@websolutespa/bom-mixer-llm 1.8.7 → 1.8.9

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.
Files changed (110) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/cjs/index.css +294 -21
  3. package/dist/cjs/index.js +515 -322
  4. package/dist/cjs/index.js.map +1 -1
  5. package/dist/esm/index.css +294 -21
  6. package/dist/esm/index.js +1 -1
  7. package/dist/esm/llm/components/Canvas/canvas.js +2 -1
  8. package/dist/esm/llm/components/Canvas/canvas.js.map +1 -1
  9. package/dist/esm/llm/components/Card/card.js +2 -2
  10. package/dist/esm/llm/components/Card/card.js.map +1 -1
  11. package/dist/esm/llm/components/Chunk/chunk.js +43 -18
  12. package/dist/esm/llm/components/Chunk/chunk.js.map +1 -1
  13. package/dist/esm/llm/components/Event/event.js +1 -1
  14. package/dist/esm/llm/components/Event/event.js.map +1 -1
  15. package/dist/esm/llm/components/Header/header.js +7 -1
  16. package/dist/esm/llm/components/Header/header.js.map +1 -1
  17. package/dist/esm/llm/components/Hints/hints.js +5 -3
  18. package/dist/esm/llm/components/Hints/hints.js.map +1 -1
  19. package/dist/esm/llm/components/Intro/intro.js +47 -39
  20. package/dist/esm/llm/components/Intro/intro.js.map +1 -1
  21. package/dist/esm/llm/components/Main/main.js +8 -1
  22. package/dist/esm/llm/components/Main/main.js.map +1 -1
  23. package/dist/esm/llm/components/Poi/poi.js +1 -1
  24. package/dist/esm/llm/components/Poi/poi.js.map +1 -1
  25. package/dist/esm/llm/components/Product/product.js +1 -1
  26. package/dist/esm/llm/components/Product/product.js.map +1 -1
  27. package/dist/esm/llm/components/Prompt/prompt.js +74 -52
  28. package/dist/esm/llm/components/Prompt/prompt.js.map +1 -1
  29. package/dist/esm/llm/components/Prompt/suggestions.js +2 -1
  30. package/dist/esm/llm/components/Prompt/suggestions.js.map +1 -1
  31. package/dist/esm/llm/components/Stream/stream.js +6 -0
  32. package/dist/esm/llm/components/Stream/stream.js.map +1 -1
  33. package/dist/esm/llm/components/Text/text.js +29 -5
  34. package/dist/esm/llm/components/Text/text.js.map +1 -1
  35. package/dist/esm/llm/components/Thread/thread.js +8 -1
  36. package/dist/esm/llm/components/Thread/thread.js.map +1 -1
  37. package/dist/esm/llm/components/Trigger/blob.js +1 -0
  38. package/dist/esm/llm/components/Trigger/blob.js.map +1 -1
  39. package/dist/esm/llm/components/Trigger/trigger.js +9 -9
  40. package/dist/esm/llm/components/Trigger/trigger.js.map +1 -1
  41. package/dist/esm/llm/components/Tripadvisor/tripadvisor.js +1 -1
  42. package/dist/esm/llm/components/Tripadvisor/tripadvisor.js.map +1 -1
  43. package/dist/esm/llm/hooks/useFocusTrap.js +47 -0
  44. package/dist/esm/llm/hooks/useFocusTrap.js.map +1 -0
  45. package/dist/esm/llm/llm.js +2 -1
  46. package/dist/esm/llm/llm.js.map +1 -1
  47. package/dist/esm/llm/utils.js +43 -9
  48. package/dist/esm/llm/utils.js.map +1 -1
  49. package/dist/esm/useLlm/message.service.js +50 -39
  50. package/dist/esm/useLlm/message.service.js.map +1 -1
  51. package/dist/esm/useLlm/mock-app.default.js +138 -138
  52. package/dist/esm/useLlm/mock-app.default.js.map +1 -1
  53. package/dist/esm/useLlm/useLlmView.js +1 -1
  54. package/dist/esm/useLlm/useLlmView.js.map +1 -1
  55. package/dist/types/llm/components/Chunk/chunk.d.ts +1 -0
  56. package/dist/types/llm/components/Chunk/chunk.d.ts.map +1 -1
  57. package/dist/types/llm/components/FormRecap/FormRecap.d.ts +1 -1
  58. package/dist/types/llm/components/FormRecap/FormRecap.d.ts.map +1 -1
  59. package/dist/types/llm/components/Header/header.d.ts.map +1 -1
  60. package/dist/types/llm/components/Intro/intro.d.ts.map +1 -1
  61. package/dist/types/llm/components/Main/main.d.ts.map +1 -1
  62. package/dist/types/llm/components/Prompt/prompt.d.ts.map +1 -1
  63. package/dist/types/llm/components/Stream/stream.d.ts.map +1 -1
  64. package/dist/types/llm/components/Text/text.d.ts +2 -1
  65. package/dist/types/llm/components/Text/text.d.ts.map +1 -1
  66. package/dist/types/llm/components/Thread/thread.d.ts.map +1 -1
  67. package/dist/types/llm/components/Trigger/trigger.d.ts.map +1 -1
  68. package/dist/types/llm/hooks/useFocusTrap.d.ts +6 -0
  69. package/dist/types/llm/hooks/useFocusTrap.d.ts.map +1 -0
  70. package/dist/types/llm/utils.d.ts +5 -2
  71. package/dist/types/llm/utils.d.ts.map +1 -1
  72. package/dist/types/useLlm/message.service.d.ts +6 -3
  73. package/dist/types/useLlm/message.service.d.ts.map +1 -1
  74. package/dist/types/useLlm/mock-app.default.d.ts +1 -1
  75. package/dist/types/useLlm/mock-app.pesaro.d.ts +1 -1
  76. package/package.json +1 -1
  77. package/src/llm/components/Canvas/canvas.tsx +1 -1
  78. package/src/llm/components/Card/card.tsx +2 -2
  79. package/src/llm/components/Chunk/chunk.tsx +26 -13
  80. package/src/llm/components/Event/event.tsx +1 -1
  81. package/src/llm/components/FormRecap/FormRecap.tsx +2 -2
  82. package/src/llm/components/Header/_style.scss +7 -2
  83. package/src/llm/components/Header/header.tsx +4 -3
  84. package/src/llm/components/Hints/_style.scss +1 -2
  85. package/src/llm/components/Hints/hints.tsx +5 -5
  86. package/src/llm/components/Intro/intro.tsx +54 -47
  87. package/src/llm/components/Main/main.tsx +8 -2
  88. package/src/llm/components/Poi/poi.tsx +1 -1
  89. package/src/llm/components/Product/product.tsx +1 -1
  90. package/src/llm/components/Prompt/_style.scss +37 -15
  91. package/src/llm/components/Prompt/prompt.tsx +48 -32
  92. package/src/llm/components/Prompt/suggestions.tsx +2 -2
  93. package/src/llm/components/Stream/stream.tsx +9 -3
  94. package/src/llm/components/Text/_style.scss +7 -1
  95. package/src/llm/components/Text/text.tsx +23 -6
  96. package/src/llm/components/Thread/thread.tsx +11 -5
  97. package/src/llm/components/Trigger/_style.scss +1 -2
  98. package/src/llm/components/Trigger/blob.tsx +1 -1
  99. package/src/llm/components/Trigger/trigger.tsx +10 -7
  100. package/src/llm/components/Tripadvisor/tripadvisor.tsx +1 -1
  101. package/src/llm/hooks/useFocusTrap.tsx +47 -0
  102. package/src/llm/llm.tsx +2 -2
  103. package/src/llm/scss/_mixin.scss +62 -0
  104. package/src/llm/utils.tsx +44 -3
  105. package/src/useLlm/message.service.ts +50 -54
  106. package/src/useLlm/mock-app.default.ts +139 -139
  107. package/src/useLlm/mock-app.gs1.ts +1 -1
  108. package/src/useLlm/mock-app.lfo.ts +2 -2
  109. package/src/useLlm/mock-app.pesaro.ts +139 -139
  110. package/src/useLlm/useLlmView.tsx +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @websolutespa/bom-mixer-llm
2
2
 
3
+ ## 1.8.9
4
+
5
+ ### Patch Changes
6
+
7
+ - Modified: textToChunks
8
+
9
+ ## 1.8.8
10
+
11
+ ### Patch Changes
12
+
13
+ - 8024a99: Added: useFocusTrap, regExpMapper, a11y
14
+
3
15
  ## 1.8.7
4
16
 
5
17
  ### Patch Changes
@@ -863,6 +863,32 @@ llm-embed {
863
863
  cursor: pointer;
864
864
  }
865
865
  .llm .llm__trigger-btn {
866
+ margin: 0;
867
+ padding: 0;
868
+ border: none;
869
+ text-decoration: none;
870
+ background: none;
871
+ appearance: none;
872
+ font-family: inherit;
873
+ font-style: inherit;
874
+ font-variant-ligatures: inherit;
875
+ font-variant-caps: inherit;
876
+ font-variant-numeric: inherit;
877
+ font-variant-east-asian: inherit;
878
+ font-weight: inherit;
879
+ font-stretch: inherit;
880
+ text-rendering: inherit;
881
+ letter-spacing: inherit;
882
+ word-spacing: inherit;
883
+ line-height: inherit;
884
+ text-transform: none;
885
+ text-indent: inherit;
886
+ text-shadow: none;
887
+ text-align: inherit;
888
+ pointer-events: auto;
889
+ cursor: pointer;
890
+ outline: 2px solid transparent;
891
+ outline-offset: 2px;
866
892
  position: relative;
867
893
  width: var(--llm-trigger-size);
868
894
  height: var(--llm-trigger-size);
@@ -873,8 +899,9 @@ llm-embed {
873
899
  will-change: transform;
874
900
  transition: 0.4s;
875
901
  box-shadow: var(--llm-trigger-box-shadow);
876
- pointer-events: auto;
877
- cursor: pointer;
902
+ }
903
+ .llm .llm__trigger-btn:focus {
904
+ outline-color: currentColor;
878
905
  }
879
906
  .llm .llm__trigger-btn > span {
880
907
  line-height: 1;
@@ -1174,15 +1201,93 @@ llm-embed {
1174
1201
  .llm .llm__header-logo-mini > img {
1175
1202
  object-fit: contain;
1176
1203
  }
1204
+ .llm .llm__header-skip {
1205
+ margin: 0;
1206
+ padding: 0;
1207
+ border: none;
1208
+ text-decoration: none;
1209
+ background: none;
1210
+ appearance: none;
1211
+ font-family: inherit;
1212
+ font-style: inherit;
1213
+ font-variant-ligatures: inherit;
1214
+ font-variant-caps: inherit;
1215
+ font-variant-numeric: inherit;
1216
+ font-variant-east-asian: inherit;
1217
+ font-weight: inherit;
1218
+ font-stretch: inherit;
1219
+ text-rendering: inherit;
1220
+ letter-spacing: inherit;
1221
+ word-spacing: inherit;
1222
+ line-height: inherit;
1223
+ text-transform: none;
1224
+ text-indent: inherit;
1225
+ text-shadow: none;
1226
+ text-align: inherit;
1227
+ pointer-events: auto;
1228
+ cursor: pointer;
1229
+ outline: 2px solid transparent;
1230
+ outline-offset: 2px;
1231
+ background-color: var(--llm-color-background);
1232
+ border: 0 !important;
1233
+ clip: rect(1px, 1px, 1px, 1px) !important;
1234
+ clip-path: inset(50%) !important;
1235
+ height: 1px !important;
1236
+ margin: -1px !important;
1237
+ overflow: hidden !important;
1238
+ padding: 0 !important;
1239
+ position: absolute !important;
1240
+ width: 1px !important;
1241
+ white-space: nowrap !important;
1242
+ }
1243
+ .llm .llm__header-skip:focus {
1244
+ outline-color: currentColor;
1245
+ }
1246
+ .llm .llm__header-skip:focus, .llm .llm__header-skip:active {
1247
+ clip: auto !important;
1248
+ clip-path: none !important;
1249
+ height: auto !important;
1250
+ margin: auto !important;
1251
+ overflow: visible !important;
1252
+ width: auto !important;
1253
+ white-space: normal !important;
1254
+ }
1177
1255
  .llm .llm__header-back {
1256
+ margin: 0;
1257
+ padding: 0;
1258
+ border: none;
1259
+ text-decoration: none;
1260
+ background: none;
1261
+ appearance: none;
1262
+ font-family: inherit;
1263
+ font-style: inherit;
1264
+ font-variant-ligatures: inherit;
1265
+ font-variant-caps: inherit;
1266
+ font-variant-numeric: inherit;
1267
+ font-variant-east-asian: inherit;
1268
+ font-weight: inherit;
1269
+ font-stretch: inherit;
1270
+ text-rendering: inherit;
1271
+ letter-spacing: inherit;
1272
+ word-spacing: inherit;
1273
+ line-height: inherit;
1274
+ text-transform: none;
1275
+ text-indent: inherit;
1276
+ text-shadow: none;
1277
+ text-align: inherit;
1278
+ pointer-events: auto;
1279
+ cursor: pointer;
1280
+ outline: 2px solid transparent;
1281
+ outline-offset: 2px;
1178
1282
  display: inline-flex;
1179
1283
  align-items: center;
1180
1284
  gap: clamp(8px, 8px + (100vw - 375px) / 1545 * 0, 8px);
1181
1285
  text-transform: uppercase;
1182
1286
  user-select: none;
1183
1287
  color: var(--llm-color-title-foreground);
1184
- pointer-events: auto;
1185
- cursor: pointer;
1288
+ }
1289
+ .llm .llm__header-back:focus {
1290
+ outline-color: currentColor;
1186
1291
  }
1187
1292
 
1188
1293
  .llm .llm__scroller {
@@ -1298,6 +1403,32 @@ llm-embed {
1298
1403
  height: auto;
1299
1404
  }
1300
1405
  .llm .llm__hint {
1406
+ margin: 0;
1407
+ padding: 0;
1408
+ border: none;
1409
+ text-decoration: none;
1410
+ background: none;
1411
+ appearance: none;
1412
+ font-family: inherit;
1413
+ font-style: inherit;
1414
+ font-variant-ligatures: inherit;
1415
+ font-variant-caps: inherit;
1416
+ font-variant-numeric: inherit;
1417
+ font-variant-east-asian: inherit;
1418
+ font-weight: inherit;
1419
+ font-stretch: inherit;
1420
+ text-rendering: inherit;
1421
+ letter-spacing: inherit;
1422
+ word-spacing: inherit;
1423
+ line-height: inherit;
1424
+ text-transform: none;
1425
+ text-indent: inherit;
1426
+ text-shadow: none;
1427
+ text-align: inherit;
1428
+ pointer-events: auto;
1429
+ cursor: pointer;
1430
+ outline: 2px solid transparent;
1431
+ outline-offset: 2px;
1301
1432
  display: flex;
1302
1433
  flex-direction: column;
1303
1434
  gap: clamp(8px, 8px + (100vw - 375px) / 1545 * 8, 16px);
@@ -1309,8 +1440,9 @@ llm-embed {
1309
1440
  border: var(--llm-hint-border);
1310
1441
  font-family: var(--llm-hint-font-family);
1311
1442
  backdrop-filter: blur(20px);
1312
- pointer-events: auto;
1313
- cursor: pointer;
1443
+ }
1444
+ .llm .llm__hint:focus {
1445
+ outline-color: currentColor;
1314
1446
  }
1315
1447
  @media (min-width: 768px) {
1316
1448
  .llm .llm__hint:first-child {
@@ -1348,7 +1480,7 @@ llm-embed {
1348
1480
  position: relative;
1349
1481
  box-shadow: -4px 4px 50px 0px rgba(8, 20, 62, 0.08);
1350
1482
  border-radius: 8px;
1351
- overflow: hidden;
1483
+ overflow: visible;
1352
1484
  background: var(--llm-input-background);
1353
1485
  width: 100%;
1354
1486
  }
@@ -1360,6 +1492,18 @@ llm-embed {
1360
1492
  padding: 18px 40px;
1361
1493
  }
1362
1494
  }
1495
+ .llm .llm__prompt-label {
1496
+ border: 0 !important;
1497
+ clip: rect(1px, 1px, 1px, 1px) !important;
1498
+ clip-path: inset(50%) !important;
1499
+ height: 1px !important;
1500
+ margin: -1px !important;
1501
+ overflow: hidden !important;
1502
+ padding: 0 !important;
1503
+ position: absolute !important;
1504
+ width: 1px !important;
1505
+ white-space: nowrap !important;
1506
+ }
1363
1507
  .llm .llm__prompt-textarea {
1364
1508
  appearance: none;
1365
1509
  display: block;
@@ -1368,7 +1512,6 @@ llm-embed {
1368
1512
  width: 100%;
1369
1513
  max-height: 120px;
1370
1514
  min-height: 45px;
1371
- outline: none;
1372
1515
  border: none;
1373
1516
  resize: none;
1374
1517
  border-radius: 0;
@@ -1381,8 +1524,16 @@ llm-embed {
1381
1524
  font-family: var(--llm-input-font-family);
1382
1525
  font-size: 16px;
1383
1526
  line-height: 1.3;
1527
+ border-radius: 8px;
1384
1528
  background: transparent;
1385
1529
  color: var(--llm-input-foreground);
1530
+ pointer-events: auto;
1531
+ cursor: pointer;
1532
+ outline: 2px solid transparent;
1533
+ outline-offset: 2px;
1534
+ }
1535
+ .llm .llm__prompt-textarea:focus {
1536
+ outline-color: currentColor;
1386
1537
  }
1387
1538
  .llm .llm__prompt-textarea::placeholder {
1388
1539
  font-family: var(--llm-input-font-family);
@@ -1398,6 +1549,32 @@ llm-embed {
1398
1549
  }
1399
1550
  }
1400
1551
  .llm .llm__prompt-speak, .llm .llm__prompt-microphone {
1552
+ margin: 0;
1553
+ padding: 0;
1554
+ border: none;
1555
+ text-decoration: none;
1556
+ background: none;
1557
+ appearance: none;
1558
+ font-family: inherit;
1559
+ font-style: inherit;
1560
+ font-variant-ligatures: inherit;
1561
+ font-variant-caps: inherit;
1562
+ font-variant-numeric: inherit;
1563
+ font-variant-east-asian: inherit;
1564
+ font-weight: inherit;
1565
+ font-stretch: inherit;
1566
+ text-rendering: inherit;
1567
+ letter-spacing: inherit;
1568
+ word-spacing: inherit;
1569
+ line-height: inherit;
1570
+ text-transform: none;
1571
+ text-indent: inherit;
1572
+ text-shadow: none;
1573
+ text-align: inherit;
1574
+ pointer-events: auto;
1575
+ cursor: pointer;
1576
+ outline: 2px solid transparent;
1577
+ outline-offset: 2px;
1401
1578
  position: absolute;
1402
1579
  display: flex;
1403
1580
  align-items: center;
@@ -1409,8 +1586,9 @@ llm-embed {
1409
1586
  border-radius: 50%;
1410
1587
  font-size: 16px;
1411
1588
  color: var(--llm-input-accent);
1412
- pointer-events: auto;
1413
- cursor: pointer;
1589
+ }
1590
+ .llm .llm__prompt-speak:focus, .llm .llm__prompt-microphone:focus {
1591
+ outline-color: currentColor;
1414
1592
  }
1415
1593
  .llm .llm__prompt-speak svg, .llm .llm__prompt-microphone svg {
1416
1594
  width: 18px;
@@ -1427,6 +1605,32 @@ llm-embed {
1427
1605
  outline: 2px solid var(--llm-color-base-100);
1428
1606
  }
1429
1607
  .llm .llm__prompt-submit, .llm .llm__prompt-stop {
1608
+ margin: 0;
1609
+ padding: 0;
1610
+ border: none;
1611
+ text-decoration: none;
1612
+ background: none;
1613
+ appearance: none;
1614
+ font-family: inherit;
1615
+ font-style: inherit;
1616
+ font-variant-ligatures: inherit;
1617
+ font-variant-caps: inherit;
1618
+ font-variant-numeric: inherit;
1619
+ font-variant-east-asian: inherit;
1620
+ font-weight: inherit;
1621
+ font-stretch: inherit;
1622
+ text-rendering: inherit;
1623
+ letter-spacing: inherit;
1624
+ word-spacing: inherit;
1625
+ line-height: inherit;
1626
+ text-transform: none;
1627
+ text-indent: inherit;
1628
+ text-shadow: none;
1629
+ text-align: inherit;
1630
+ pointer-events: auto;
1631
+ cursor: pointer;
1632
+ outline: 2px solid transparent;
1633
+ outline-offset: 2px;
1430
1634
  flex-shrink: 0;
1431
1635
  width: 45px;
1432
1636
  height: 45px;
@@ -1437,8 +1641,9 @@ llm-embed {
1437
1641
  background: var(--llm-trigger-background);
1438
1642
  color: var(--llm-trigger-foreground);
1439
1643
  border-radius: 50%;
1440
- pointer-events: auto;
1441
- cursor: pointer;
1644
+ }
1645
+ .llm .llm__prompt-submit:focus, .llm .llm__prompt-stop:focus {
1646
+ outline-color: currentColor;
1442
1647
  }
1443
1648
  @media (min-width: 1024px) {
1444
1649
  .llm .llm__prompt-submit, .llm .llm__prompt-stop {
@@ -1481,10 +1686,39 @@ llm-embed {
1481
1686
  .llm .llm__prompt-suggestions .llm__suggestions {
1482
1687
  margin: 0 calc(clamp(20px, 20px + (100vw - 375px) / 1545 * 90, 110px) * -1);
1483
1688
  }
1689
+ .llm .llm__prompt-suggestions .swiper {
1690
+ overflow: visible;
1691
+ }
1484
1692
  .llm .llm__prompt-suggestions .swiper-slide {
1485
1693
  width: auto;
1486
1694
  }
1487
1695
  .llm .llm__pill {
1696
+ margin: 0;
1697
+ padding: 0;
1698
+ border: none;
1699
+ text-decoration: none;
1700
+ background: none;
1701
+ appearance: none;
1702
+ font-family: inherit;
1703
+ font-style: inherit;
1704
+ font-variant-ligatures: inherit;
1705
+ font-variant-caps: inherit;
1706
+ font-variant-numeric: inherit;
1707
+ font-variant-east-asian: inherit;
1708
+ font-weight: inherit;
1709
+ font-stretch: inherit;
1710
+ text-rendering: inherit;
1711
+ letter-spacing: inherit;
1712
+ word-spacing: inherit;
1713
+ line-height: inherit;
1714
+ text-transform: none;
1715
+ text-indent: inherit;
1716
+ text-shadow: none;
1717
+ text-align: inherit;
1718
+ pointer-events: auto;
1719
+ cursor: pointer;
1720
+ outline: 2px solid transparent;
1721
+ outline-offset: 2px;
1488
1722
  line-height: 1;
1489
1723
  font-family: var(--llm-font-primary);
1490
1724
  font-weight: var(--llm-typography-cta2-font-weight);
@@ -1498,28 +1732,66 @@ llm-embed {
1498
1732
  color: var(--llm-pill-foreground);
1499
1733
  font-family: var(--llm-pill-font-family);
1500
1734
  backdrop-filter: blur(20px);
1501
- pointer-events: auto;
1502
- cursor: pointer;
1503
1735
  }
1504
- .llm .llm__prompt-powered-by {
1736
+ .llm .llm__pill:focus {
1737
+ outline-color: currentColor;
1738
+ }
1739
+ .llm .llm__prompt-footer {
1505
1740
  position: absolute;
1506
1741
  display: flex;
1507
1742
  justify-content: center;
1508
1743
  align-items: center;
1509
- column-gap: 4px;
1510
1744
  right: 0;
1511
1745
  left: 0;
1746
+ padding: 4px 0 0 0;
1747
+ }
1748
+ @media (min-width: 1024px) {
1749
+ .llm .llm__prompt-footer {
1750
+ padding: 6px 0;
1751
+ }
1752
+ }
1753
+ .llm .llm__prompt-powered-by {
1754
+ margin: 0;
1755
+ padding: 0;
1756
+ border: none;
1757
+ text-decoration: none;
1758
+ background: none;
1759
+ appearance: none;
1760
+ font-family: inherit;
1761
+ font-style: inherit;
1762
+ font-variant-ligatures: inherit;
1763
+ font-variant-caps: inherit;
1764
+ font-variant-numeric: inherit;
1765
+ font-variant-east-asian: inherit;
1766
+ font-weight: inherit;
1767
+ font-stretch: inherit;
1768
+ text-rendering: inherit;
1769
+ letter-spacing: inherit;
1770
+ word-spacing: inherit;
1771
+ line-height: inherit;
1772
+ text-transform: none;
1773
+ text-indent: inherit;
1774
+ text-shadow: none;
1775
+ text-align: inherit;
1776
+ pointer-events: auto;
1777
+ cursor: pointer;
1778
+ outline: 2px solid transparent;
1779
+ outline-offset: 2px;
1780
+ display: flex;
1781
+ justify-content: center;
1782
+ align-items: center;
1783
+ column-gap: 4px;
1512
1784
  color: var(--llm-color-foreground);
1513
1785
  opacity: 0.4;
1514
1786
  transition: opacity ease-in-out 250ms;
1515
- pointer-events: auto;
1516
- cursor: pointer;
1517
- padding: 4px 0 0 0;
1518
1787
  font-size: 11px;
1788
+ padding: 0 0.3em;
1789
+ }
1790
+ .llm .llm__prompt-powered-by:focus {
1791
+ outline-color: currentColor;
1519
1792
  }
1520
1793
  @media (min-width: 1024px) {
1521
1794
  .llm .llm__prompt-powered-by {
1522
- padding: 6px 0;
1523
1795
  font-size: 12px;
1524
1796
  }
1525
1797
  }
@@ -1541,13 +1813,14 @@ llm-embed {
1541
1813
  border-radius: 12px;
1542
1814
  padding: clamp(16px, 16px + (100vw - 375px) / 1545 * 8, 24px) clamp(24px, 24px + (100vw - 375px) / 1545 * 8, 32px);
1543
1815
  }
1544
- .llm .llm__message--assistant .llm__inner--string:first-child .llm__text .llm__text-body {
1816
+ .llm .llm__message--assistant .llm__inner--string:first-child .llm__text .llm__text-body, .llm .llm__message--assistant .llm__inner--string:first-child .llm__text .llm__text-body > p, .llm .llm__message--assistant .llm__inner--string:first-child .llm__text .llm__text-body > h2 {
1545
1817
  line-height: 1;
1546
1818
  font-family: var(--llm-font-primary);
1547
1819
  font-weight: var(--llm-typography-display3-font-weight);
1548
1820
  line-height: var(--llm-typography-display3-line-height);
1549
1821
  letter-spacing: var(--llm-typography-display3-letter-spacing);
1550
1822
  font-size: clamp(var(--llm-typography-display3-font-size-min) * 1px, var(--llm-typography-display3-font-size-min) * 1px + (100vw - 375px) / 1545 * (var(--llm-typography-display3-font-size-max) - var(--llm-typography-display3-font-size-min)), var(--llm-typography-display3-font-size-max) * 1px);
1823
+ margin: 0;
1551
1824
  }
1552
1825
  .llm .llm__message--assistant .llm__inner--string:not(:first-child) .llm__text .llm__text-body {
1553
1826
  line-height: 1;