@memori.ai/memori-react 9.0.0-alpha.22 → 9.0.0-alpha.24

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 (82) hide show
  1. package/CHANGELOG.md +289 -682
  2. package/dist/components/ChatBubble/ChatBubble.js +12 -7
  3. package/dist/components/ChatBubble/ChatBubble.js.map +1 -1
  4. package/dist/components/FeedbackButtons/FeedbackButtons.js +2 -2
  5. package/dist/components/FeedbackButtons/FeedbackButtons.js.map +1 -1
  6. package/dist/components/MemoriWidget/MemoriWidget.d.ts +1 -0
  7. package/dist/components/MemoriWidget/MemoriWidget.js +58 -1
  8. package/dist/components/MemoriWidget/MemoriWidget.js.map +1 -1
  9. package/dist/components/UploadButton/UploadButton.js +3 -0
  10. package/dist/components/UploadButton/UploadButton.js.map +1 -1
  11. package/dist/components/UploadButton/UploadDocuments/UploadDocuments.js +15 -3
  12. package/dist/components/UploadButton/UploadDocuments/UploadDocuments.js.map +1 -1
  13. package/dist/components/layouts/chat.css +5 -2
  14. package/dist/helpers/constants.d.ts +3 -2
  15. package/dist/helpers/constants.js +19 -20
  16. package/dist/helpers/constants.js.map +1 -1
  17. package/dist/helpers/nats/getNatsConfig.js.map +1 -1
  18. package/dist/helpers/nats/useNats.d.ts +2 -1
  19. package/dist/helpers/nats/useNats.js +87 -20
  20. package/dist/helpers/nats/useNats.js.map +1 -1
  21. package/dist/helpers/nats/useNatsSession.d.ts +6 -1
  22. package/dist/helpers/nats/useNatsSession.js +48 -7
  23. package/dist/helpers/nats/useNatsSession.js.map +1 -1
  24. package/dist/helpers/utils.d.ts +2 -1
  25. package/dist/helpers/utils.js +7 -1
  26. package/dist/helpers/utils.js.map +1 -1
  27. package/dist/styles.css +1 -1
  28. package/dist/version.d.ts +1 -1
  29. package/dist/version.js +1 -1
  30. package/esm/components/ChatBubble/ChatBubble.js +12 -7
  31. package/esm/components/ChatBubble/ChatBubble.js.map +1 -1
  32. package/esm/components/FeedbackButtons/FeedbackButtons.js +2 -2
  33. package/esm/components/FeedbackButtons/FeedbackButtons.js.map +1 -1
  34. package/esm/components/MemoriWidget/MemoriWidget.d.ts +1 -0
  35. package/esm/components/MemoriWidget/MemoriWidget.js +57 -1
  36. package/esm/components/MemoriWidget/MemoriWidget.js.map +1 -1
  37. package/esm/components/UploadButton/UploadButton.js +4 -1
  38. package/esm/components/UploadButton/UploadButton.js.map +1 -1
  39. package/esm/components/UploadButton/UploadDocuments/UploadDocuments.js +16 -4
  40. package/esm/components/UploadButton/UploadDocuments/UploadDocuments.js.map +1 -1
  41. package/esm/components/layouts/chat.css +5 -2
  42. package/esm/helpers/constants.d.ts +3 -2
  43. package/esm/helpers/constants.js +18 -19
  44. package/esm/helpers/constants.js.map +1 -1
  45. package/esm/helpers/nats/getNatsConfig.js.map +1 -1
  46. package/esm/helpers/nats/useNats.d.ts +2 -1
  47. package/esm/helpers/nats/useNats.js +87 -20
  48. package/esm/helpers/nats/useNats.js.map +1 -1
  49. package/esm/helpers/nats/useNatsSession.d.ts +6 -1
  50. package/esm/helpers/nats/useNatsSession.js +48 -8
  51. package/esm/helpers/nats/useNatsSession.js.map +1 -1
  52. package/esm/helpers/utils.d.ts +2 -1
  53. package/esm/helpers/utils.js +6 -1
  54. package/esm/helpers/utils.js.map +1 -1
  55. package/esm/styles.css +1 -1
  56. package/esm/version.d.ts +1 -1
  57. package/esm/version.js +1 -1
  58. package/package.json +4 -46
  59. package/src/components/Chat/__snapshots__/Chat.test.tsx.snap +71 -71
  60. package/src/components/ChatBubble/ChatBubble.stories.tsx +11 -0
  61. package/src/components/ChatBubble/ChatBubble.test.tsx +16 -0
  62. package/src/components/ChatBubble/ChatBubble.tsx +307 -292
  63. package/src/components/ChatBubble/__snapshots__/ChatBubble.test.tsx.snap +268 -121
  64. package/src/components/FeedbackButtons/FeedbackButtons.tsx +2 -0
  65. package/src/components/FeedbackButtons/__snapshots__/FeedbackButtons.test.tsx.snap +1 -1
  66. package/src/components/KnownFacts/__snapshots__/KnownFacts.test.tsx.snap +6 -2
  67. package/src/components/LoginDrawer/__snapshots__/LoginDrawer.test.tsx.snap +33 -11
  68. package/src/components/MemoriWidget/MemoriWidget.tsx +65 -1
  69. package/src/components/UploadButton/UploadButton.tsx +4 -0
  70. package/src/components/UploadButton/UploadDocuments/UploadDocuments.tsx +21 -5
  71. package/src/components/UploadButton/__snapshots__/UploadButton.test.tsx.snap +2 -2
  72. package/src/components/WhyThisAnswer/__snapshots__/WhyThisAnswer.test.tsx.snap +9 -3
  73. package/src/components/layouts/chat.css +5 -2
  74. package/src/helpers/constants.ts +21 -20
  75. package/src/helpers/nats/getNatsConfig.ts +4 -1
  76. package/src/helpers/nats/useNats.test.tsx +81 -0
  77. package/src/helpers/nats/useNats.ts +109 -29
  78. package/src/helpers/nats/useNatsSession.test.ts +16 -0
  79. package/src/helpers/nats/useNatsSession.ts +79 -13
  80. package/src/helpers/utils.test.ts +14 -4
  81. package/src/helpers/utils.ts +6 -1
  82. package/src/version.ts +1 -1
@@ -44,14 +44,14 @@ exports[`renders ChatBubble from user with avatar as react element unchanged 1`]
44
44
  >
45
45
  <span
46
46
  class="memori-tooltip__trigger"
47
- id="base-ui-:r1t:"
47
+ id="base-ui-:r21:"
48
48
  >
49
49
  <span
50
50
  class="memori-chat--bubble-addon-tooltip-trigger"
51
51
  >
52
52
  <button
53
53
  aria-label="copy"
54
- class="memori-button memori-button--ghost memori-button--md memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
54
+ class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
55
55
  tabindex="0"
56
56
  type="button"
57
57
  >
@@ -150,14 +150,14 @@ exports[`renders ChatBubble from user with avatar unchanged 1`] = `
150
150
  >
151
151
  <span
152
152
  class="memori-tooltip__trigger"
153
- id="base-ui-:r1l:"
153
+ id="base-ui-:r1p:"
154
154
  >
155
155
  <span
156
156
  class="memori-chat--bubble-addon-tooltip-trigger"
157
157
  >
158
158
  <button
159
159
  aria-label="copy"
160
- class="memori-button memori-button--ghost memori-button--md memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
160
+ class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
161
161
  tabindex="0"
162
162
  type="button"
163
163
  >
@@ -258,14 +258,14 @@ exports[`renders ChatBubble from user with custom avatar unchanged 1`] = `
258
258
  >
259
259
  <span
260
260
  class="memori-tooltip__trigger"
261
- id="base-ui-:r1p:"
261
+ id="base-ui-:r1t:"
262
262
  >
263
263
  <span
264
264
  class="memori-chat--bubble-addon-tooltip-trigger"
265
265
  >
266
266
  <button
267
267
  aria-label="copy"
268
- class="memori-button memori-button--ghost memori-button--md memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
268
+ class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
269
269
  tabindex="0"
270
270
  type="button"
271
271
  >
@@ -376,7 +376,7 @@ exports[`renders ChatBubble unchanged 1`] = `
376
376
  >
377
377
  <button
378
378
  aria-label="copy"
379
- class="memori-button memori-button--ghost memori-button--md memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
379
+ class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
380
380
  tabindex="0"
381
381
  type="button"
382
382
  >
@@ -2958,14 +2958,14 @@ M834 80h400000v40h-400000z"
2958
2958
  >
2959
2959
  <span
2960
2960
  class="memori-tooltip__trigger"
2961
- id="base-ui-:r3h:"
2961
+ id="base-ui-:r3l:"
2962
2962
  >
2963
2963
  <span
2964
2964
  class="memori-chat--bubble-addon-tooltip-trigger"
2965
2965
  >
2966
2966
  <button
2967
2967
  aria-label="copy"
2968
- class="memori-button memori-button--ghost memori-button--md memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
2968
+ class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
2969
2969
  tabindex="0"
2970
2970
  type="button"
2971
2971
  >
@@ -3007,14 +3007,14 @@ M834 80h400000v40h-400000z"
3007
3007
  >
3008
3008
  <span
3009
3009
  class="memori-tooltip__trigger"
3010
- id="base-ui-:r3j:"
3010
+ id="base-ui-:r3n:"
3011
3011
  >
3012
3012
  <span
3013
3013
  class="memori-chat--bubble-addon-tooltip-trigger"
3014
3014
  >
3015
3015
  <button
3016
3016
  aria-label="copyRawCode"
3017
- class="memori-button memori-button--ghost memori-button--md memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
3017
+ class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
3018
3018
  tabindex="0"
3019
3019
  type="button"
3020
3020
  >
@@ -3160,7 +3160,7 @@ Il valore della resistenza dei materiali
3160
3160
  >
3161
3161
  <span
3162
3162
  class="mord mathnormal"
3163
- style="margin-right:0.10764em;"
3163
+ style="margin-right:0.1076em;"
3164
3164
  >
3165
3165
  f
3166
3166
  </span>
@@ -3346,7 +3346,7 @@ Il valore della resistenza dei materiali
3346
3346
  >
3347
3347
  <span
3348
3348
  class="mord mathnormal"
3349
- style="margin-right:0.10764em;"
3349
+ style="margin-right:0.1076em;"
3350
3350
  >
3351
3351
  f
3352
3352
  </span>
@@ -3474,9 +3474,15 @@ Il valore della resistenza dei materiali
3474
3474
  >
3475
3475
  <span
3476
3476
  class="mord mathnormal"
3477
- style="margin-right:0.07153em;"
3477
+ style="margin-right:0.1389em;"
3478
3478
  >
3479
- FC
3479
+ F
3480
+ </span>
3481
+ <span
3482
+ class="mord mathnormal"
3483
+ style="margin-right:0.0715em;"
3484
+ >
3485
+ C
3480
3486
  </span>
3481
3487
  <span
3482
3488
  class="mspace newline"
@@ -3506,7 +3512,7 @@ Il valore della resistenza dei materiali
3506
3512
  >
3507
3513
  <span
3508
3514
  class="mord mathnormal"
3509
- style="margin-right:0.05556em;"
3515
+ style="margin-right:0.0556em;"
3510
3516
  >
3511
3517
  γ
3512
3518
  </span>
@@ -3535,7 +3541,7 @@ Il valore della resistenza dei materiali
3535
3541
  >
3536
3542
  <span
3537
3543
  class="mord mathnormal mtight"
3538
- style="margin-right:0.10903em;"
3544
+ style="margin-right:0.109em;"
3539
3545
  >
3540
3546
  M
3541
3547
  </span>
@@ -3590,7 +3596,7 @@ Il valore della resistenza dei materiali
3590
3596
  >
3591
3597
  <span
3592
3598
  class="mord mathnormal"
3593
- style="margin-right:0.10764em;"
3599
+ style="margin-right:0.1076em;"
3594
3600
  >
3595
3601
  f
3596
3602
  </span>
@@ -3709,9 +3715,15 @@ Il valore della resistenza dei materiali
3709
3715
  >
3710
3716
  <span
3711
3717
  class="mord mathnormal"
3712
- style="margin-right:0.07153em;"
3718
+ style="margin-right:0.1389em;"
3719
+ >
3720
+ F
3721
+ </span>
3722
+ <span
3723
+ class="mord mathnormal"
3724
+ style="margin-right:0.0715em;"
3713
3725
  >
3714
- FC
3726
+ C
3715
3727
  </span>
3716
3728
  </span>
3717
3729
  </span>
@@ -3742,7 +3754,7 @@ Il valore della resistenza dei materiali
3742
3754
  >
3743
3755
  <span
3744
3756
  class="mord mathnormal"
3745
- style="margin-right:0.10764em;"
3757
+ style="margin-right:0.1076em;"
3746
3758
  >
3747
3759
  f
3748
3760
  </span>
@@ -3771,7 +3783,7 @@ Il valore della resistenza dei materiali
3771
3783
  >
3772
3784
  <span
3773
3785
  class="mord mathnormal mtight"
3774
- style="margin-right:0.03148em;"
3786
+ style="margin-right:0.0315em;"
3775
3787
  >
3776
3788
  k
3777
3789
  </span>
@@ -3886,7 +3898,7 @@ Il valore della resistenza dei materiali
3886
3898
  >
3887
3899
  <span
3888
3900
  class="mord mathnormal"
3889
- style="margin-right:0.10764em;"
3901
+ style="margin-right:0.1076em;"
3890
3902
  >
3891
3903
  f
3892
3904
  </span>
@@ -3986,7 +3998,7 @@ Il valore della resistenza dei materiali
3986
3998
  >
3987
3999
  <span
3988
4000
  class="mord mathnormal"
3989
- style="margin-right:0.10764em;"
4001
+ style="margin-right:0.1076em;"
3990
4002
  >
3991
4003
  f
3992
4004
  </span>
@@ -4015,7 +4027,7 @@ Il valore della resistenza dei materiali
4015
4027
  >
4016
4028
  <span
4017
4029
  class="mord mathnormal mtight"
4018
- style="margin-right:0.03148em;"
4030
+ style="margin-right:0.0315em;"
4019
4031
  >
4020
4032
  k
4021
4033
  </span>
@@ -4082,9 +4094,15 @@ Il valore della resistenza dei materiali
4082
4094
  />
4083
4095
  <span
4084
4096
  class="mord mathnormal"
4085
- style="margin-right:0.07153em;"
4097
+ style="margin-right:0.1389em;"
4098
+ >
4099
+ F
4100
+ </span>
4101
+ <span
4102
+ class="mord mathnormal"
4103
+ style="margin-right:0.0715em;"
4086
4104
  >
4087
- FC
4105
+ C
4088
4106
  </span>
4089
4107
  </span>
4090
4108
  </span>
@@ -4132,7 +4150,7 @@ Il valore della resistenza dei materiali
4132
4150
  >
4133
4151
  <span
4134
4152
  class="mord mathnormal"
4135
- style="margin-right:0.05556em;"
4153
+ style="margin-right:0.0556em;"
4136
4154
  >
4137
4155
  γ
4138
4156
  </span>
@@ -4161,7 +4179,7 @@ Il valore della resistenza dei materiali
4161
4179
  >
4162
4180
  <span
4163
4181
  class="mord mathnormal mtight"
4164
- style="margin-right:0.10903em;"
4182
+ style="margin-right:0.109em;"
4165
4183
  >
4166
4184
  M
4167
4185
  </span>
@@ -4255,14 +4273,14 @@ Gli esiti delle prove devono essere attentamente analizzati per confermare le ca
4255
4273
  >
4256
4274
  <span
4257
4275
  class="memori-tooltip__trigger"
4258
- id="base-ui-:r3n:"
4276
+ id="base-ui-:r3r:"
4259
4277
  >
4260
4278
  <span
4261
4279
  class="memori-chat--bubble-addon-tooltip-trigger"
4262
4280
  >
4263
4281
  <button
4264
4282
  aria-label="copy"
4265
- class="memori-button memori-button--ghost memori-button--md memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
4283
+ class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
4266
4284
  tabindex="0"
4267
4285
  type="button"
4268
4286
  >
@@ -4304,14 +4322,14 @@ Gli esiti delle prove devono essere attentamente analizzati per confermare le ca
4304
4322
  >
4305
4323
  <span
4306
4324
  class="memori-tooltip__trigger"
4307
- id="base-ui-:r3p:"
4325
+ id="base-ui-:r3t:"
4308
4326
  >
4309
4327
  <span
4310
4328
  class="memori-chat--bubble-addon-tooltip-trigger"
4311
4329
  >
4312
4330
  <button
4313
4331
  aria-label="copyRawCode"
4314
- class="memori-button memori-button--ghost memori-button--md memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
4332
+ class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
4315
4333
  tabindex="0"
4316
4334
  type="button"
4317
4335
  >
@@ -4507,7 +4525,7 @@ exports[`renders ChatBubble with complex markdown and math 3 unchanged 1`] = `
4507
4525
  >
4508
4526
  <span
4509
4527
  class="mord mathnormal"
4510
- style="margin-right:0.10903em;"
4528
+ style="margin-right:0.109em;"
4511
4529
  >
4512
4530
  M
4513
4531
  </span>
@@ -4761,7 +4779,7 @@ exports[`renders ChatBubble with complex markdown and math 3 unchanged 1`] = `
4761
4779
  >
4762
4780
  <span
4763
4781
  class="mord mathnormal mtight"
4764
- style="margin-right:0.00773em;"
4782
+ style="margin-right:0.0077em;"
4765
4783
  >
4766
4784
  R
4767
4785
  </span>
@@ -4841,7 +4859,7 @@ exports[`renders ChatBubble with complex markdown and math 3 unchanged 1`] = `
4841
4859
  >
4842
4860
  <span
4843
4861
  class="mord mathnormal mtight"
4844
- style="margin-right:0.07153em;"
4862
+ style="margin-right:0.0715em;"
4845
4863
  >
4846
4864
  C
4847
4865
  </span>
@@ -4977,7 +4995,7 @@ exports[`renders ChatBubble with complex markdown and math 3 unchanged 1`] = `
4977
4995
  >
4978
4996
  <span
4979
4997
  class="mord mathnormal mtight"
4980
- style="margin-right:0.05017em;"
4998
+ style="margin-right:0.0502em;"
4981
4999
  >
4982
5000
  B
4983
5001
  </span>
@@ -5073,7 +5091,7 @@ exports[`renders ChatBubble with complex markdown and math 3 unchanged 1`] = `
5073
5091
  >
5074
5092
  <span
5075
5093
  class="mord mathnormal mtight"
5076
- style="margin-right:0.07153em;"
5094
+ style="margin-right:0.0715em;"
5077
5095
  >
5078
5096
  C
5079
5097
  </span>
@@ -5169,7 +5187,7 @@ exports[`renders ChatBubble with complex markdown and math 3 unchanged 1`] = `
5169
5187
  >
5170
5188
  <span
5171
5189
  class="mord mathnormal mtight"
5172
- style="margin-right:0.00773em;"
5190
+ style="margin-right:0.0077em;"
5173
5191
  >
5174
5192
  R
5175
5193
  </span>
@@ -5286,14 +5304,14 @@ exports[`renders ChatBubble with complex markdown and math 3 unchanged 1`] = `
5286
5304
  >
5287
5305
  <span
5288
5306
  class="memori-tooltip__trigger"
5289
- id="base-ui-:r3t:"
5307
+ id="base-ui-:r41:"
5290
5308
  >
5291
5309
  <span
5292
5310
  class="memori-chat--bubble-addon-tooltip-trigger"
5293
5311
  >
5294
5312
  <button
5295
5313
  aria-label="copy"
5296
- class="memori-button memori-button--ghost memori-button--md memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
5314
+ class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
5297
5315
  tabindex="0"
5298
5316
  type="button"
5299
5317
  >
@@ -5335,14 +5353,14 @@ exports[`renders ChatBubble with complex markdown and math 3 unchanged 1`] = `
5335
5353
  >
5336
5354
  <span
5337
5355
  class="memori-tooltip__trigger"
5338
- id="base-ui-:r3v:"
5356
+ id="base-ui-:r43:"
5339
5357
  >
5340
5358
  <span
5341
5359
  class="memori-chat--bubble-addon-tooltip-trigger"
5342
5360
  >
5343
5361
  <button
5344
5362
  aria-label="copyRawCode"
5345
- class="memori-button memori-button--ghost memori-button--md memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
5363
+ class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
5346
5364
  tabindex="0"
5347
5365
  type="button"
5348
5366
  >
@@ -5524,7 +5542,7 @@ exports[`renders ChatBubble with complex markdown and math 4 unchanged 1`] = `
5524
5542
  >
5525
5543
  <span
5526
5544
  class="mord mathnormal"
5527
- style="margin-right:0.05764em;"
5545
+ style="margin-right:0.0576em;"
5528
5546
  >
5529
5547
  E
5530
5548
  </span>
@@ -5553,7 +5571,7 @@ exports[`renders ChatBubble with complex markdown and math 4 unchanged 1`] = `
5553
5571
  >
5554
5572
  <span
5555
5573
  class="mord mathnormal mtight"
5556
- style="margin-right:0.03148em;"
5574
+ style="margin-right:0.0315em;"
5557
5575
  >
5558
5576
  k
5559
5577
  </span>
@@ -5650,7 +5668,7 @@ exports[`renders ChatBubble with complex markdown and math 4 unchanged 1`] = `
5650
5668
  />
5651
5669
  <span
5652
5670
  class="mord mathnormal"
5653
- style="margin-right:0.03588em;"
5671
+ style="margin-right:0.0359em;"
5654
5672
  >
5655
5673
  v
5656
5674
  </span>
@@ -5701,7 +5719,7 @@ exports[`renders ChatBubble with complex markdown and math 4 unchanged 1`] = `
5701
5719
  />
5702
5720
  <span
5703
5721
  class="mord mathnormal"
5704
- style="margin-right:0.13889em;"
5722
+ style="margin-right:0.1389em;"
5705
5723
  >
5706
5724
  F
5707
5725
  </span>
@@ -5753,7 +5771,7 @@ exports[`renders ChatBubble with complex markdown and math 4 unchanged 1`] = `
5753
5771
  </span>
5754
5772
  <span
5755
5773
  class="mord mathnormal"
5756
- style="margin-right:0.03588em;"
5774
+ style="margin-right:0.0359em;"
5757
5775
  >
5758
5776
  v
5759
5777
  </span>
@@ -5856,14 +5874,14 @@ exports[`renders ChatBubble with complex markdown and math 4 unchanged 1`] = `
5856
5874
  >
5857
5875
  <span
5858
5876
  class="memori-tooltip__trigger"
5859
- id="base-ui-:r43:"
5877
+ id="base-ui-:r47:"
5860
5878
  >
5861
5879
  <span
5862
5880
  class="memori-chat--bubble-addon-tooltip-trigger"
5863
5881
  >
5864
5882
  <button
5865
5883
  aria-label="copy"
5866
- class="memori-button memori-button--ghost memori-button--md memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
5884
+ class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
5867
5885
  tabindex="0"
5868
5886
  type="button"
5869
5887
  >
@@ -5905,14 +5923,14 @@ exports[`renders ChatBubble with complex markdown and math 4 unchanged 1`] = `
5905
5923
  >
5906
5924
  <span
5907
5925
  class="memori-tooltip__trigger"
5908
- id="base-ui-:r45:"
5926
+ id="base-ui-:r49:"
5909
5927
  >
5910
5928
  <span
5911
5929
  class="memori-chat--bubble-addon-tooltip-trigger"
5912
5930
  >
5913
5931
  <button
5914
5932
  aria-label="copyRawCode"
5915
- class="memori-button memori-button--ghost memori-button--md memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
5933
+ class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
5916
5934
  tabindex="0"
5917
5935
  type="button"
5918
5936
  >
@@ -6099,13 +6117,13 @@ exports[`renders ChatBubble with complex markdown and math 5 unchanged 1`] = `
6099
6117
  </span>
6100
6118
  <span
6101
6119
  class="mord mathnormal"
6102
- style="margin-right:0.03588em;"
6120
+ style="margin-right:0.0359em;"
6103
6121
  >
6104
6122
  q
6105
6123
  </span>
6106
6124
  <span
6107
6125
  class="mord mathnormal"
6108
- style="margin-right:0.02778em;"
6126
+ style="margin-right:0.0278em;"
6109
6127
  >
6110
6128
  r
6111
6129
  </span>
@@ -6404,13 +6422,13 @@ exports[`renders ChatBubble with complex markdown and math 5 unchanged 1`] = `
6404
6422
  </span>
6405
6423
  <span
6406
6424
  class="mord mathnormal"
6407
- style="margin-right:0.03588em;"
6425
+ style="margin-right:0.0359em;"
6408
6426
  >
6409
6427
  q
6410
6428
  </span>
6411
6429
  <span
6412
6430
  class="mord mathnormal"
6413
- style="margin-right:0.02778em;"
6431
+ style="margin-right:0.0278em;"
6414
6432
  >
6415
6433
  r
6416
6434
  </span>
@@ -6549,13 +6567,13 @@ exports[`renders ChatBubble with complex markdown and math 5 unchanged 1`] = `
6549
6567
  </span>
6550
6568
  <span
6551
6569
  class="mord mathnormal"
6552
- style="margin-right:0.03588em;"
6570
+ style="margin-right:0.0359em;"
6553
6571
  >
6554
6572
  q
6555
6573
  </span>
6556
6574
  <span
6557
6575
  class="mord mathnormal"
6558
- style="margin-right:0.02778em;"
6576
+ style="margin-right:0.0278em;"
6559
6577
  >
6560
6578
  r
6561
6579
  </span>
@@ -6618,13 +6636,13 @@ exports[`renders ChatBubble with complex markdown and math 5 unchanged 1`] = `
6618
6636
  </span>
6619
6637
  <span
6620
6638
  class="mord mathnormal"
6621
- style="margin-right:0.03588em;"
6639
+ style="margin-right:0.0359em;"
6622
6640
  >
6623
6641
  q
6624
6642
  </span>
6625
6643
  <span
6626
6644
  class="mord mathnormal"
6627
- style="margin-right:0.02778em;"
6645
+ style="margin-right:0.0278em;"
6628
6646
  >
6629
6647
  r
6630
6648
  </span>
@@ -6688,14 +6706,14 @@ exports[`renders ChatBubble with complex markdown and math 5 unchanged 1`] = `
6688
6706
  >
6689
6707
  <span
6690
6708
  class="memori-tooltip__trigger"
6691
- id="base-ui-:r49:"
6709
+ id="base-ui-:r4d:"
6692
6710
  >
6693
6711
  <span
6694
6712
  class="memori-chat--bubble-addon-tooltip-trigger"
6695
6713
  >
6696
6714
  <button
6697
6715
  aria-label="copy"
6698
- class="memori-button memori-button--ghost memori-button--md memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
6716
+ class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
6699
6717
  tabindex="0"
6700
6718
  type="button"
6701
6719
  >
@@ -6737,14 +6755,14 @@ exports[`renders ChatBubble with complex markdown and math 5 unchanged 1`] = `
6737
6755
  >
6738
6756
  <span
6739
6757
  class="memori-tooltip__trigger"
6740
- id="base-ui-:r4b:"
6758
+ id="base-ui-:r4f:"
6741
6759
  >
6742
6760
  <span
6743
6761
  class="memori-chat--bubble-addon-tooltip-trigger"
6744
6762
  >
6745
6763
  <button
6746
6764
  aria-label="copyRawCode"
6747
- class="memori-button memori-button--ghost memori-button--md memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
6765
+ class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
6748
6766
  tabindex="0"
6749
6767
  type="button"
6750
6768
  >
@@ -6998,14 +7016,14 @@ Prendi la radice quadrata della somma per trovare l'ipotenusa: $ c = \\sqrt{a^2
6998
7016
  >
6999
7017
  <span
7000
7018
  class="memori-tooltip__trigger"
7001
- id="base-ui-:r3b:"
7019
+ id="base-ui-:r3f:"
7002
7020
  >
7003
7021
  <span
7004
7022
  class="memori-chat--bubble-addon-tooltip-trigger"
7005
7023
  >
7006
7024
  <button
7007
7025
  aria-label="copy"
7008
- class="memori-button memori-button--ghost memori-button--md memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
7026
+ class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
7009
7027
  tabindex="0"
7010
7028
  type="button"
7011
7029
  >
@@ -7047,14 +7065,14 @@ Prendi la radice quadrata della somma per trovare l'ipotenusa: $ c = \\sqrt{a^2
7047
7065
  >
7048
7066
  <span
7049
7067
  class="memori-tooltip__trigger"
7050
- id="base-ui-:r3d:"
7068
+ id="base-ui-:r3h:"
7051
7069
  >
7052
7070
  <span
7053
7071
  class="memori-chat--bubble-addon-tooltip-trigger"
7054
7072
  >
7055
7073
  <button
7056
7074
  aria-label="copyRawCode"
7057
- class="memori-button memori-button--ghost memori-button--md memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
7075
+ class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
7058
7076
  tabindex="0"
7059
7077
  type="button"
7060
7078
  >
@@ -7238,14 +7256,14 @@ exports[`renders ChatBubble with debug button unchanged 1`] = `
7238
7256
  >
7239
7257
  <span
7240
7258
  class="memori-tooltip__trigger"
7241
- id="base-ui-:r1d:"
7259
+ id="base-ui-:r1h:"
7242
7260
  >
7243
7261
  <span
7244
7262
  class="memori-chat--bubble-addon-tooltip-trigger"
7245
7263
  >
7246
7264
  <button
7247
7265
  aria-label="copy"
7248
- class="memori-button memori-button--ghost memori-button--md memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
7266
+ class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
7249
7267
  tabindex="0"
7250
7268
  type="button"
7251
7269
  >
@@ -7287,13 +7305,13 @@ exports[`renders ChatBubble with debug button unchanged 1`] = `
7287
7305
  >
7288
7306
  <span
7289
7307
  class="memori-tooltip__trigger"
7290
- id="base-ui-:r1f:"
7308
+ id="base-ui-:r1j:"
7291
7309
  >
7292
7310
  <span
7293
7311
  class="memori-chat--bubble-addon-tooltip-trigger"
7294
7312
  >
7295
7313
  <button
7296
- class="memori-button memori-button--ghost memori-button--md memori-button--circle memori-button--icon-only memori-chat--bubble-action-button"
7314
+ class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button"
7297
7315
  tabindex="0"
7298
7316
  type="button"
7299
7317
  >
@@ -7357,7 +7375,7 @@ exports[`renders ChatBubble with debug button unchanged 1`] = `
7357
7375
  >
7358
7376
  <span
7359
7377
  class="memori-tooltip__trigger"
7360
- id="base-ui-:r1h:"
7378
+ id="base-ui-:r1l:"
7361
7379
  >
7362
7380
  <span
7363
7381
  aria-label="generatedByAI"
@@ -7474,7 +7492,7 @@ exports[`renders ChatBubble with initial msg unchanged 1`] = `
7474
7492
  >
7475
7493
  <button
7476
7494
  aria-label="copy"
7477
- class="memori-button memori-button--ghost memori-button--md memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
7495
+ class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
7478
7496
  tabindex="0"
7479
7497
  type="button"
7480
7498
  >
@@ -7608,14 +7626,14 @@ exports[`renders ChatBubble with markdown and breakline unchanged 1`] = `
7608
7626
  >
7609
7627
  <span
7610
7628
  class="memori-tooltip__trigger"
7611
- id="base-ui-:r2p:"
7629
+ id="base-ui-:r2t:"
7612
7630
  >
7613
7631
  <span
7614
7632
  class="memori-chat--bubble-addon-tooltip-trigger"
7615
7633
  >
7616
7634
  <button
7617
7635
  aria-label="copy"
7618
- class="memori-button memori-button--ghost memori-button--md memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
7636
+ class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
7619
7637
  tabindex="0"
7620
7638
  type="button"
7621
7639
  >
@@ -7657,14 +7675,14 @@ exports[`renders ChatBubble with markdown and breakline unchanged 1`] = `
7657
7675
  >
7658
7676
  <span
7659
7677
  class="memori-tooltip__trigger"
7660
- id="base-ui-:r2r:"
7678
+ id="base-ui-:r2v:"
7661
7679
  >
7662
7680
  <span
7663
7681
  class="memori-chat--bubble-addon-tooltip-trigger"
7664
7682
  >
7665
7683
  <button
7666
7684
  aria-label="copyRawCode"
7667
- class="memori-button memori-button--ghost memori-button--md memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
7685
+ class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
7668
7686
  tabindex="0"
7669
7687
  type="button"
7670
7688
  >
@@ -7767,14 +7785,14 @@ exports[`renders ChatBubble with markdown code unchanged 1`] = `
7767
7785
  >
7768
7786
  <span
7769
7787
  class="memori-tooltip__trigger"
7770
- id="base-ui-:r2v:"
7788
+ id="base-ui-:r33:"
7771
7789
  >
7772
7790
  <span
7773
7791
  class="memori-chat--bubble-addon-tooltip-trigger"
7774
7792
  >
7775
7793
  <button
7776
7794
  aria-label="copy"
7777
- class="memori-button memori-button--ghost memori-button--md memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
7795
+ class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
7778
7796
  tabindex="0"
7779
7797
  type="button"
7780
7798
  >
@@ -7816,14 +7834,14 @@ exports[`renders ChatBubble with markdown code unchanged 1`] = `
7816
7834
  >
7817
7835
  <span
7818
7836
  class="memori-tooltip__trigger"
7819
- id="base-ui-:r31:"
7837
+ id="base-ui-:r35:"
7820
7838
  >
7821
7839
  <span
7822
7840
  class="memori-chat--bubble-addon-tooltip-trigger"
7823
7841
  >
7824
7842
  <button
7825
7843
  aria-label="copyRawCode"
7826
- class="memori-button memori-button--ghost memori-button--md memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
7844
+ class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
7827
7845
  tabindex="0"
7828
7846
  type="button"
7829
7847
  >
@@ -7984,14 +8002,14 @@ exports[`renders ChatBubble with markdown table unchanged 1`] = `
7984
8002
  >
7985
8003
  <span
7986
8004
  class="memori-tooltip__trigger"
7987
- id="base-ui-:r35:"
8005
+ id="base-ui-:r39:"
7988
8006
  >
7989
8007
  <span
7990
8008
  class="memori-chat--bubble-addon-tooltip-trigger"
7991
8009
  >
7992
8010
  <button
7993
8011
  aria-label="copy"
7994
- class="memori-button memori-button--ghost memori-button--md memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
8012
+ class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
7995
8013
  tabindex="0"
7996
8014
  type="button"
7997
8015
  >
@@ -8033,14 +8051,14 @@ exports[`renders ChatBubble with markdown table unchanged 1`] = `
8033
8051
  >
8034
8052
  <span
8035
8053
  class="memori-tooltip__trigger"
8036
- id="base-ui-:r37:"
8054
+ id="base-ui-:r3b:"
8037
8055
  >
8038
8056
  <span
8039
8057
  class="memori-chat--bubble-addon-tooltip-trigger"
8040
8058
  >
8041
8059
  <button
8042
8060
  aria-label="copyRawCode"
8043
- class="memori-button memori-button--ghost memori-button--md memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
8061
+ class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
8044
8062
  tabindex="0"
8045
8063
  type="button"
8046
8064
  >
@@ -8364,14 +8382,14 @@ exports[`renders ChatBubble with markdown unchanged 1`] = `
8364
8382
  >
8365
8383
  <span
8366
8384
  class="memori-tooltip__trigger"
8367
- id="base-ui-:r2j:"
8385
+ id="base-ui-:r2n:"
8368
8386
  >
8369
8387
  <span
8370
8388
  class="memori-chat--bubble-addon-tooltip-trigger"
8371
8389
  >
8372
8390
  <button
8373
8391
  aria-label="copy"
8374
- class="memori-button memori-button--ghost memori-button--md memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
8392
+ class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
8375
8393
  tabindex="0"
8376
8394
  type="button"
8377
8395
  >
@@ -8413,14 +8431,14 @@ exports[`renders ChatBubble with markdown unchanged 1`] = `
8413
8431
  >
8414
8432
  <span
8415
8433
  class="memori-tooltip__trigger"
8416
- id="base-ui-:r2l:"
8434
+ id="base-ui-:r2p:"
8417
8435
  >
8418
8436
  <span
8419
8437
  class="memori-chat--bubble-addon-tooltip-trigger"
8420
8438
  >
8421
8439
  <button
8422
8440
  aria-label="copyRawCode"
8423
- class="memori-button memori-button--ghost memori-button--md memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
8441
+ class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
8424
8442
  tabindex="0"
8425
8443
  type="button"
8426
8444
  >
@@ -8510,14 +8528,14 @@ exports[`renders ChatBubble with msg from BoE expert unchanged 1`] = `
8510
8528
  >
8511
8529
  <span
8512
8530
  class="memori-tooltip__trigger"
8513
- id="base-ui-:r17:"
8531
+ id="base-ui-:r1b:"
8514
8532
  >
8515
8533
  <span
8516
8534
  class="memori-chat--bubble-addon-tooltip-trigger"
8517
8535
  >
8518
8536
  <button
8519
8537
  aria-label="copy"
8520
- class="memori-button memori-button--ghost memori-button--md memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
8538
+ class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
8521
8539
  tabindex="0"
8522
8540
  type="button"
8523
8541
  >
@@ -8559,7 +8577,7 @@ exports[`renders ChatBubble with msg from BoE expert unchanged 1`] = `
8559
8577
  >
8560
8578
  <span
8561
8579
  class="memori-tooltip__trigger"
8562
- id="base-ui-:r19:"
8580
+ id="base-ui-:r1d:"
8563
8581
  >
8564
8582
  <span
8565
8583
  aria-label="generatedByAI"
@@ -8685,14 +8703,14 @@ exports[`renders ChatBubble with msg generated by AI unchanged 1`] = `
8685
8703
  >
8686
8704
  <span
8687
8705
  class="memori-tooltip__trigger"
8688
- id="base-ui-:rj:"
8706
+ id="base-ui-:rn:"
8689
8707
  >
8690
8708
  <span
8691
8709
  class="memori-chat--bubble-addon-tooltip-trigger"
8692
8710
  >
8693
8711
  <button
8694
8712
  aria-label="copy"
8695
- class="memori-button memori-button--ghost memori-button--md memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
8713
+ class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
8696
8714
  tabindex="0"
8697
8715
  type="button"
8698
8716
  >
@@ -8734,7 +8752,7 @@ exports[`renders ChatBubble with msg generated by AI unchanged 1`] = `
8734
8752
  >
8735
8753
  <span
8736
8754
  class="memori-tooltip__trigger"
8737
- id="base-ui-:rl:"
8755
+ id="base-ui-:rp:"
8738
8756
  >
8739
8757
  <span
8740
8758
  aria-label="generatedByAI"
@@ -8880,14 +8898,14 @@ exports[`renders ChatBubble with output code unchanged 1`] = `
8880
8898
  >
8881
8899
  <span
8882
8900
  class="memori-tooltip__trigger"
8883
- id="base-ui-:r21:"
8901
+ id="base-ui-:r25:"
8884
8902
  >
8885
8903
  <span
8886
8904
  class="memori-chat--bubble-addon-tooltip-trigger"
8887
8905
  >
8888
8906
  <button
8889
8907
  aria-label="copy"
8890
- class="memori-button memori-button--ghost memori-button--md memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
8908
+ class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
8891
8909
  tabindex="0"
8892
8910
  type="button"
8893
8911
  >
@@ -8929,14 +8947,14 @@ exports[`renders ChatBubble with output code unchanged 1`] = `
8929
8947
  >
8930
8948
  <span
8931
8949
  class="memori-tooltip__trigger"
8932
- id="base-ui-:r23:"
8950
+ id="base-ui-:r27:"
8933
8951
  >
8934
8952
  <span
8935
8953
  class="memori-chat--bubble-addon-tooltip-trigger"
8936
8954
  >
8937
8955
  <button
8938
8956
  aria-label="copyRawCode"
8939
- class="memori-button memori-button--ghost memori-button--md memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
8957
+ class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
8940
8958
  tabindex="0"
8941
8959
  type="button"
8942
8960
  >
@@ -9065,14 +9083,14 @@ end
9065
9083
  >
9066
9084
  <span
9067
9085
  class="memori-tooltip__trigger"
9068
- id="base-ui-:r4f:"
9086
+ id="base-ui-:r4j:"
9069
9087
  >
9070
9088
  <span
9071
9089
  class="memori-chat--bubble-addon-tooltip-trigger"
9072
9090
  >
9073
9091
  <button
9074
9092
  aria-label="copy"
9075
- class="memori-button memori-button--ghost memori-button--md memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
9093
+ class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
9076
9094
  tabindex="0"
9077
9095
  type="button"
9078
9096
  >
@@ -9114,14 +9132,14 @@ end
9114
9132
  >
9115
9133
  <span
9116
9134
  class="memori-tooltip__trigger"
9117
- id="base-ui-:r4h:"
9135
+ id="base-ui-:r4l:"
9118
9136
  >
9119
9137
  <span
9120
9138
  class="memori-chat--bubble-addon-tooltip-trigger"
9121
9139
  >
9122
9140
  <button
9123
9141
  aria-label="copyRawCode"
9124
- class="memori-button memori-button--ghost memori-button--md memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
9142
+ class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
9125
9143
  tabindex="0"
9126
9144
  type="button"
9127
9145
  >
@@ -9221,14 +9239,14 @@ Proin libero ante, dignissim sit amet turpis a, pretium condimentum dolor.
9221
9239
  >
9222
9240
  <span
9223
9241
  class="memori-tooltip__trigger"
9224
- id="base-ui-:r2d:"
9242
+ id="base-ui-:r2h:"
9225
9243
  >
9226
9244
  <span
9227
9245
  class="memori-chat--bubble-addon-tooltip-trigger"
9228
9246
  >
9229
9247
  <button
9230
9248
  aria-label="copy"
9231
- class="memori-button memori-button--ghost memori-button--md memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
9249
+ class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
9232
9250
  tabindex="0"
9233
9251
  type="button"
9234
9252
  >
@@ -9270,14 +9288,14 @@ Proin libero ante, dignissim sit amet turpis a, pretium condimentum dolor.
9270
9288
  >
9271
9289
  <span
9272
9290
  class="memori-tooltip__trigger"
9273
- id="base-ui-:r2f:"
9291
+ id="base-ui-:r2j:"
9274
9292
  >
9275
9293
  <span
9276
9294
  class="memori-chat--bubble-addon-tooltip-trigger"
9277
9295
  >
9278
9296
  <button
9279
9297
  aria-label="copyRawCode"
9280
- class="memori-button memori-button--ghost memori-button--md memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
9298
+ class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
9281
9299
  tabindex="0"
9282
9300
  type="button"
9283
9301
  >
@@ -9370,14 +9388,14 @@ exports[`renders ChatBubble with reasoning unchanged 1`] = `
9370
9388
  >
9371
9389
  <span
9372
9390
  class="memori-tooltip__trigger"
9373
- id="base-ui-:r27:"
9391
+ id="base-ui-:r2b:"
9374
9392
  >
9375
9393
  <span
9376
9394
  class="memori-chat--bubble-addon-tooltip-trigger"
9377
9395
  >
9378
9396
  <button
9379
9397
  aria-label="copy"
9380
- class="memori-button memori-button--ghost memori-button--md memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
9398
+ class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
9381
9399
  tabindex="0"
9382
9400
  type="button"
9383
9401
  >
@@ -9419,14 +9437,14 @@ exports[`renders ChatBubble with reasoning unchanged 1`] = `
9419
9437
  >
9420
9438
  <span
9421
9439
  class="memori-tooltip__trigger"
9422
- id="base-ui-:r29:"
9440
+ id="base-ui-:r2d:"
9423
9441
  >
9424
9442
  <span
9425
9443
  class="memori-chat--bubble-addon-tooltip-trigger"
9426
9444
  >
9427
9445
  <button
9428
9446
  aria-label="copyRawCode"
9429
- class="memori-button memori-button--ghost memori-button--md memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
9447
+ class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
9430
9448
  tabindex="0"
9431
9449
  type="button"
9432
9450
  >
@@ -9519,14 +9537,14 @@ exports[`renders ChatBubble with translation and original unchanged 1`] = `
9519
9537
  >
9520
9538
  <span
9521
9539
  class="memori-tooltip__trigger"
9522
- id="base-ui-:rv:"
9540
+ id="base-ui-:r13:"
9523
9541
  >
9524
9542
  <span
9525
9543
  class="memori-chat--bubble-addon-tooltip-trigger"
9526
9544
  >
9527
9545
  <button
9528
9546
  aria-label="copy"
9529
- class="memori-button memori-button--ghost memori-button--md memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
9547
+ class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
9530
9548
  tabindex="0"
9531
9549
  type="button"
9532
9550
  >
@@ -9568,14 +9586,14 @@ exports[`renders ChatBubble with translation and original unchanged 1`] = `
9568
9586
  >
9569
9587
  <span
9570
9588
  class="memori-tooltip__trigger"
9571
- id="base-ui-:r11:"
9589
+ id="base-ui-:r15:"
9572
9590
  >
9573
9591
  <span
9574
9592
  class="memori-chat--bubble-addon-tooltip-trigger"
9575
9593
  >
9576
9594
  <button
9577
9595
  aria-label="copyRawCode"
9578
- class="memori-button memori-button--ghost memori-button--md memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
9596
+ class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
9579
9597
  tabindex="0"
9580
9598
  type="button"
9581
9599
  >
@@ -9612,14 +9630,14 @@ exports[`renders ChatBubble with translation and original unchanged 1`] = `
9612
9630
  >
9613
9631
  <span
9614
9632
  class="memori-tooltip__trigger"
9615
- id="base-ui-:r13:"
9633
+ id="base-ui-:r17:"
9616
9634
  >
9617
9635
  <span
9618
9636
  class="memori-chat--bubble-addon-tooltip-trigger"
9619
9637
  >
9620
9638
  <button
9621
9639
  aria-label="Original text"
9622
- class="memori-button memori-button--ghost memori-button--md memori-button--circle memori-button--icon-only memori-chat--bubble-action-button"
9640
+ class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button"
9623
9641
  tabindex="0"
9624
9642
  type="button"
9625
9643
  >
@@ -9728,7 +9746,136 @@ exports[`renders ChatBubble with user msg unchanged 1`] = `
9728
9746
  >
9729
9747
  <button
9730
9748
  aria-label="copy"
9731
- class="memori-button memori-button--ghost memori-button--md memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
9749
+ class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
9750
+ tabindex="0"
9751
+ type="button"
9752
+ >
9753
+ <span
9754
+ class="memori-button__icon"
9755
+ >
9756
+ <svg
9757
+ aria-hidden="true"
9758
+ class="lucide lucide-copy memori-share-button--copy-icon"
9759
+ fill="none"
9760
+ height="24"
9761
+ stroke="currentColor"
9762
+ stroke-linecap="round"
9763
+ stroke-linejoin="round"
9764
+ stroke-width="2"
9765
+ viewBox="0 0 24 24"
9766
+ width="24"
9767
+ xmlns="http://www.w3.org/2000/svg"
9768
+ >
9769
+ <rect
9770
+ height="14"
9771
+ rx="2"
9772
+ ry="2"
9773
+ width="14"
9774
+ x="8"
9775
+ y="8"
9776
+ />
9777
+ <path
9778
+ d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"
9779
+ />
9780
+ </svg>
9781
+ </span>
9782
+ </button>
9783
+ </span>
9784
+ </span>
9785
+ </span>
9786
+ </div>
9787
+ </div>
9788
+ <div
9789
+ class="memori-media-widget"
9790
+ />
9791
+ </div>
9792
+ <div
9793
+ class="memori-chat--bubble-avatar"
9794
+ >
9795
+ <svg
9796
+ class="lucide lucide-user"
9797
+ fill="none"
9798
+ height="24"
9799
+ stroke="currentColor"
9800
+ stroke-linecap="round"
9801
+ stroke-linejoin="round"
9802
+ stroke-width="2"
9803
+ viewBox="0 0 24 24"
9804
+ width="24"
9805
+ xmlns="http://www.w3.org/2000/svg"
9806
+ >
9807
+ <path
9808
+ d="M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2"
9809
+ />
9810
+ <circle
9811
+ cx="12"
9812
+ cy="7"
9813
+ r="4"
9814
+ />
9815
+ </svg>
9816
+ </div>
9817
+ </div>
9818
+ </div>
9819
+ </div>
9820
+ `;
9821
+
9822
+ exports[`renders ChatBubble with user msg with newlines unchanged 1`] = `
9823
+ <div>
9824
+ <div
9825
+ class="memori-chat--bubble-container memori-chat-scroll-item memori-chat--bubble-from-user memori-chat--with-addon"
9826
+ >
9827
+ <div
9828
+ class="memori-media-widget"
9829
+ />
9830
+ <div
9831
+ class="memori-chat--bubble-message-row"
9832
+ >
9833
+ <div
9834
+ class="memori-chat--bubble-shell memori-chat--bubble-shell--from-user"
9835
+ >
9836
+ <div
9837
+ class="memori-chat--bubble-anchor memori-chat--bubble-anchor--from-user memori-chat--bubble-anchor--has-addon"
9838
+ >
9839
+ <div
9840
+ class="memori-chat--bubble memori-chat--user-bubble memori-chat--with-addon"
9841
+ >
9842
+ <div
9843
+ class="memori-expandable memori-chat--bubble-content"
9844
+ >
9845
+ <div
9846
+ class="memori-expandable__inner"
9847
+ style="max-height: 9999px;"
9848
+ >
9849
+ <div
9850
+ class="memori-chat--bubble-content"
9851
+ dir="auto"
9852
+ >
9853
+ Proin libero ante, dignissim sit amet.
9854
+ <br />
9855
+ Turpis a, pretium condimentum dolor.
9856
+ <br />
9857
+ <br />
9858
+ [Vedi altro](https://memori.ai)
9859
+ </div>
9860
+ </div>
9861
+ </div>
9862
+ </div>
9863
+ <div
9864
+ class="memori-chat--bubble-addon"
9865
+ >
9866
+ <span
9867
+ class="memori-tooltip"
9868
+ >
9869
+ <span
9870
+ class="memori-tooltip__trigger"
9871
+ id="base-ui-:rd:"
9872
+ >
9873
+ <span
9874
+ class="memori-chat--bubble-addon-tooltip-trigger"
9875
+ >
9876
+ <button
9877
+ aria-label="copy"
9878
+ class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
9732
9879
  tabindex="0"
9733
9880
  type="button"
9734
9881
  >
@@ -9845,14 +9992,14 @@ exports[`shows copy button for user messages 1`] = `
9845
9992
  >
9846
9993
  <span
9847
9994
  class="memori-tooltip__trigger"
9848
- id="base-ui-:rd:"
9995
+ id="base-ui-:rh:"
9849
9996
  >
9850
9997
  <span
9851
9998
  class="memori-chat--bubble-addon-tooltip-trigger"
9852
9999
  >
9853
10000
  <button
9854
10001
  aria-label="copy"
9855
- class="memori-button memori-button--ghost memori-button--md memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
10002
+ class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
9856
10003
  tabindex="0"
9857
10004
  type="button"
9858
10005
  >