@gooddata/sdk-ui-gen-ai 11.36.0-alpha.3 → 11.36.0-alpha.7

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 (60) hide show
  1. package/NOTICE +74 -162
  2. package/esm/components/GenAIChatConversations.js +45 -8
  3. package/esm/components/messages/AssistantItem.js +1 -1
  4. package/esm/localization/bundles/de-DE.localization-bundle.d.ts +5 -0
  5. package/esm/localization/bundles/de-DE.localization-bundle.js +7 -2
  6. package/esm/localization/bundles/en-AU.localization-bundle.d.ts +5 -0
  7. package/esm/localization/bundles/en-AU.localization-bundle.js +8 -3
  8. package/esm/localization/bundles/en-GB.localization-bundle.d.ts +5 -0
  9. package/esm/localization/bundles/en-GB.localization-bundle.js +8 -3
  10. package/esm/localization/bundles/en-US.localization-bundle.js +2 -2
  11. package/esm/localization/bundles/es-419.localization-bundle.d.ts +5 -0
  12. package/esm/localization/bundles/es-419.localization-bundle.js +7 -2
  13. package/esm/localization/bundles/es-ES.localization-bundle.d.ts +5 -0
  14. package/esm/localization/bundles/es-ES.localization-bundle.js +7 -2
  15. package/esm/localization/bundles/fi-FI.localization-bundle.d.ts +5 -0
  16. package/esm/localization/bundles/fi-FI.localization-bundle.js +7 -2
  17. package/esm/localization/bundles/fr-CA.localization-bundle.d.ts +5 -0
  18. package/esm/localization/bundles/fr-CA.localization-bundle.js +7 -2
  19. package/esm/localization/bundles/fr-FR.localization-bundle.d.ts +5 -0
  20. package/esm/localization/bundles/fr-FR.localization-bundle.js +7 -2
  21. package/esm/localization/bundles/id-ID.localization-bundle.d.ts +5 -0
  22. package/esm/localization/bundles/id-ID.localization-bundle.js +8 -3
  23. package/esm/localization/bundles/it-IT.localization-bundle.d.ts +5 -0
  24. package/esm/localization/bundles/it-IT.localization-bundle.js +7 -2
  25. package/esm/localization/bundles/ja-JP.localization-bundle.d.ts +5 -0
  26. package/esm/localization/bundles/ja-JP.localization-bundle.js +7 -2
  27. package/esm/localization/bundles/ko-KR.localization-bundle.d.ts +5 -0
  28. package/esm/localization/bundles/ko-KR.localization-bundle.js +7 -2
  29. package/esm/localization/bundles/nl-NL.localization-bundle.d.ts +5 -0
  30. package/esm/localization/bundles/nl-NL.localization-bundle.js +7 -2
  31. package/esm/localization/bundles/pl-PL.localization-bundle.d.ts +5 -0
  32. package/esm/localization/bundles/pl-PL.localization-bundle.js +7 -2
  33. package/esm/localization/bundles/pt-BR.localization-bundle.d.ts +5 -0
  34. package/esm/localization/bundles/pt-BR.localization-bundle.js +7 -2
  35. package/esm/localization/bundles/pt-PT.localization-bundle.d.ts +5 -0
  36. package/esm/localization/bundles/pt-PT.localization-bundle.js +7 -2
  37. package/esm/localization/bundles/ru-RU.localization-bundle.d.ts +5 -0
  38. package/esm/localization/bundles/ru-RU.localization-bundle.js +7 -2
  39. package/esm/localization/bundles/sl-SI.localization-bundle.d.ts +5 -0
  40. package/esm/localization/bundles/sl-SI.localization-bundle.js +7 -2
  41. package/esm/localization/bundles/th-TH.localization-bundle.d.ts +5 -0
  42. package/esm/localization/bundles/th-TH.localization-bundle.js +7 -2
  43. package/esm/localization/bundles/tr-TR.localization-bundle.d.ts +5 -0
  44. package/esm/localization/bundles/tr-TR.localization-bundle.js +8 -3
  45. package/esm/localization/bundles/uk-UA.localization-bundle.d.ts +5 -0
  46. package/esm/localization/bundles/uk-UA.localization-bundle.js +7 -2
  47. package/esm/localization/bundles/vi-VN.localization-bundle.d.ts +5 -0
  48. package/esm/localization/bundles/vi-VN.localization-bundle.js +8 -3
  49. package/esm/localization/bundles/zh-HK.localization-bundle.d.ts +5 -0
  50. package/esm/localization/bundles/zh-HK.localization-bundle.js +7 -2
  51. package/esm/localization/bundles/zh-Hans.localization-bundle.d.ts +5 -0
  52. package/esm/localization/bundles/zh-Hans.localization-bundle.js +7 -2
  53. package/esm/localization/bundles/zh-Hant.localization-bundle.d.ts +5 -0
  54. package/esm/localization/bundles/zh-Hant.localization-bundle.js +7 -2
  55. package/package.json +20 -20
  56. package/styles/css/main.css +7 -7
  57. package/styles/css/main.css.map +1 -1
  58. package/styles/css/messages.css +7 -7
  59. package/styles/css/messages.css.map +1 -1
  60. package/styles/scss/messages.scss +9 -7
package/NOTICE CHANGED
@@ -7,9 +7,9 @@
7
7
 
8
8
  The following 3rd-party software packages may be used by or distributed with gooddata-ui-sdk. Any information relevant to third-party vendors listed below are collected using common, reasonable means.
9
9
 
10
- Date generated: 2026-5-18
10
+ Date generated: 2026-5-20
11
11
 
12
- Revision ID: 92b445a16b77d7d9543b67d63221a8bc155c1615
12
+ Revision ID: b6d15371a966d44461e8af8bc123206c32e6cb20
13
13
 
14
14
  ================================================================================
15
15
  ================================================================================
@@ -192,6 +192,7 @@ Revision ID: 92b445a16b77d7d9543b67d63221a8bc155c1615
192
192
  - @gooddata/emailjs-mime-codec-new (3.0.2) [MIT]
193
193
  - @html-validate/stylish (4.3.0) [MIT]
194
194
  - @inquirer/external-editor (1.0.2) [MIT]
195
+ - @inquirer/figures (1.0.15) [MIT]
195
196
  - @isaacs/balanced-match (4.0.1) [MIT]
196
197
  - @isaacs/brace-expansion (5.0.1) [MIT]
197
198
  - @isaacs/cliui (8.0.2) [ISC]
@@ -231,7 +232,7 @@ Revision ID: 92b445a16b77d7d9543b67d63221a8bc155c1615
231
232
  - @nodelib/fs.walk (1.2.8) [MIT]
232
233
  - @oxc-project/runtime (0.115.0) [MIT]
233
234
  - @oxc-project/types (0.115.0) [MIT]
234
- - @playwright/test (1.59.1) [Apache-2.0]
235
+ - @playwright/test (1.60.0) [Apache-2.0]
235
236
  - @polka/url (1.0.0-next.29) [MIT]
236
237
  - @react-aria/interactions (3.25.5) [Apache-2.0]
237
238
  - @react-aria/ssr (3.9.10) [Apache-2.0]
@@ -367,7 +368,7 @@ Revision ID: 92b445a16b77d7d9543b67d63221a8bc155c1615
367
368
  - astral-regex (2.0.0) [MIT]
368
369
  - asynckit (0.4.0) [MIT]
369
370
  - available-typed-arrays (1.0.7) [MIT]
370
- - axios (1.12.2) [MIT]
371
+ - axios (1.13.5) [MIT]
371
372
  - axios-cache-interceptor (1.8.3) [MIT]
372
373
  - babel-plugin-macros (3.1.0) [MIT]
373
374
  - babel-plugin-polyfill-corejs2 (0.4.14) [MIT]
@@ -397,6 +398,7 @@ Revision ID: 92b445a16b77d7d9543b67d63221a8bc155c1615
397
398
  - caniuse-lite (1.0.30001787) [CC-BY-4.0]
398
399
  - ccount (2.0.1) [MIT]
399
400
  - chai (6.2.2) [MIT]
401
+ - chalk (5.3.0) [MIT]
400
402
  - chalk (4.1.2) [MIT]
401
403
  - char-regex (1.0.2) [MIT]
402
404
  - character-entities (2.0.2) [MIT]
@@ -411,7 +413,7 @@ Revision ID: 92b445a16b77d7d9543b67d63221a8bc155c1615
411
413
  - clean-stack (2.2.0) [MIT]
412
414
  - cli-cursor (3.1.0) [MIT]
413
415
  - cli-spinners (2.9.2) [MIT]
414
- - cli-width (3.0.0) [ISC]
416
+ - cli-width (4.1.0) [ISC]
415
417
  - clone (1.0.4) [MIT]
416
418
  - clone-deep (4.0.1) [MIT]
417
419
  - clsx (2.1.1) [MIT]
@@ -509,7 +511,6 @@ Revision ID: 92b445a16b77d7d9543b67d63221a8bc155c1615
509
511
  - es-set-tostringtag (2.1.0) [MIT]
510
512
  - escalade (3.2.0) [MIT]
511
513
  - escape-html (1.0.3) [MIT]
512
- - escape-string-regexp (1.0.5) [MIT]
513
514
  - escape-string-regexp (4.0.0) [MIT]
514
515
  - escape-string-regexp (5.0.0) [MIT]
515
516
  - eslint-scope (5.1.1) [BSD-2-Clause]
@@ -537,7 +538,6 @@ Revision ID: 92b445a16b77d7d9543b67d63221a8bc155c1615
537
538
  - fastq (1.19.1) [ISC]
538
539
  - faye-websocket (0.11.4) [Apache-2.0]
539
540
  - fdir (6.5.0) [MIT]
540
- - figures (3.2.0) [MIT]
541
541
  - file-entry-cache (11.1.2) [MIT]
542
542
  - fill-range (7.1.1) [MIT]
543
543
  - finalhandler (1.3.1) [MIT]
@@ -550,7 +550,7 @@ Revision ID: 92b445a16b77d7d9543b67d63221a8bc155c1615
550
550
  - follow-redirects (1.15.11) [MIT]
551
551
  - for-each (0.3.5) [MIT]
552
552
  - foreground-child (3.3.1) [ISC]
553
- - form-data (4.0.4) [MIT]
553
+ - form-data (4.0.5) [MIT]
554
554
  - forwarded (0.2.0) [MIT]
555
555
  - fresh (0.5.2) [MIT]
556
556
  - fs-extra (10.1.0) [MIT]
@@ -627,7 +627,7 @@ Revision ID: 92b445a16b77d7d9543b67d63221a8bc155c1615
627
627
  - ini (1.3.8) [ISC]
628
628
  - ini (4.1.3) [ISC]
629
629
  - inline-style-parser (0.2.4) [MIT]
630
- - inquirer (8.2.7) [MIT]
630
+ - inquirer (9.3.8) [MIT]
631
631
  - interpret (3.1.1) [MIT]
632
632
  - intl-messageformat (10.7.16) [BSD-3-Clause]
633
633
  - ipaddr.js (1.9.1) [MIT]
@@ -790,7 +790,7 @@ Revision ID: 92b445a16b77d7d9543b67d63221a8bc155c1615
790
790
  - ms (2.1.3) [MIT]
791
791
  - multicast-dns (7.2.5) [MIT]
792
792
  - murmurhash-js (1.0.0) [MIT]
793
- - mute-stream (0.0.8) [ISC]
793
+ - mute-stream (1.0.0) [ISC]
794
794
  - nanoid (3.3.11) [MIT]
795
795
  - negotiator (0.6.3) [MIT]
796
796
  - negotiator (0.6.4) [MIT]
@@ -839,8 +839,8 @@ Revision ID: 92b445a16b77d7d9543b67d63221a8bc155c1615
839
839
  - picomatch (4.0.3) [MIT]
840
840
  - pify (4.0.1) [MIT]
841
841
  - pkg-dir (4.2.0) [MIT]
842
- - playwright (1.59.1) [Apache-2.0, CC-BY-4.0, MIT, ISC, BSD-3-Clause]
843
- - playwright-core (1.59.1) [Apache-2.0, mit-addition, IETF, BSD-2-Clause, MIT, BSD-3-Clause, ISC]
842
+ - playwright (1.60.0) [Apache-2.0, MIT, ISC, CC-BY-4.0, BSD-3-Clause]
843
+ - playwright-core (1.60.0) [Apache-2.0, MIT, BSD-2-Clause, ISC, BSD-3-Clause]
844
844
  - polished (3.7.2) [MIT, OFL-1.1]
845
845
  - possible-typed-array-names (1.1.0) [MIT]
846
846
  - postcss (8.5.6) [MIT]
@@ -925,7 +925,7 @@ Revision ID: 92b445a16b77d7d9543b67d63221a8bc155c1615
925
925
  - reusify (1.1.0) [MIT]
926
926
  - rolldown (1.0.0-rc.9) [MIT]
927
927
  - run-applescript (7.1.0) [MIT]
928
- - run-async (2.4.1) [MIT]
928
+ - run-async (3.0.0) [MIT]
929
929
  - run-parallel (1.2.0) [MIT]
930
930
  - rw (1.3.3) [BSD-3-Clause]
931
931
  - rxjs (7.8.2) [Apache-2.0, ISC]
@@ -1015,7 +1015,6 @@ Revision ID: 92b445a16b77d7d9543b67d63221a8bc155c1615
1015
1015
  - terser-webpack-plugin (5.3.14) [MIT]
1016
1016
  - text-encoding (0.7.0) [Multi-license: Apache-2.0 OR Unlicense]
1017
1017
  - thingies (2.5.0) [MIT]
1018
- - through (2.3.8) [Multi-license: Apache-2.0 OR MIT]
1019
1018
  - thunky (1.1.0) [MIT]
1020
1019
  - tinybench (2.9.0) [MIT]
1021
1020
  - tinycolor2 (1.6.0) [MIT]
@@ -1110,6 +1109,7 @@ Revision ID: 92b445a16b77d7d9543b67d63221a8bc155c1615
1110
1109
  - yallist (4.0.0) [ISC]
1111
1110
  - yaml (2.8.3) [ISC]
1112
1111
  - yaml (1.10.2) [ISC]
1112
+ - yoctocolors-cjs (2.1.3) [MIT]
1113
1113
  - zod (4.3.6) [MIT, 0BSD]
1114
1114
  - zwitch (2.0.4) [MIT]
1115
1115
 
@@ -3138,6 +3138,18 @@ Package Depth: Transitive
3138
3138
  MIT
3139
3139
 
3140
3140
 
3141
+ --------------------------------------------------------------------------------
3142
+ Package Title: @inquirer/figures (1.0.15)
3143
+
3144
+ Package Locator: npm+@inquirer/figures$1.0.15
3145
+
3146
+ Package Depth: Transitive
3147
+ --------------------------------------------------------------------------------
3148
+
3149
+ * Declared Licenses *
3150
+ MIT
3151
+
3152
+
3141
3153
  --------------------------------------------------------------------------------
3142
3154
  Package Title: @isaacs/balanced-match (4.0.1)
3143
3155
 
@@ -3607,9 +3619,9 @@ MIT
3607
3619
 
3608
3620
 
3609
3621
  --------------------------------------------------------------------------------
3610
- Package Title: @playwright/test (1.59.1)
3622
+ Package Title: @playwright/test (1.60.0)
3611
3623
 
3612
- Package Locator: npm+@playwright/test$1.59.1
3624
+ Package Locator: npm+@playwright/test$1.60.0
3613
3625
 
3614
3626
  Package Depth: Direct
3615
3627
  --------------------------------------------------------------------------------
@@ -5259,9 +5271,9 @@ MIT
5259
5271
 
5260
5272
 
5261
5273
  --------------------------------------------------------------------------------
5262
- Package Title: axios (1.12.2)
5274
+ Package Title: axios (1.13.5)
5263
5275
 
5264
- Package Locator: npm+axios$1.12.2
5276
+ Package Locator: npm+axios$1.13.5
5265
5277
 
5266
5278
  Package Depth: Direct
5267
5279
  --------------------------------------------------------------------------------
@@ -5618,12 +5630,24 @@ Package Depth: Transitive
5618
5630
  MIT
5619
5631
 
5620
5632
 
5633
+ --------------------------------------------------------------------------------
5634
+ Package Title: chalk (5.3.0)
5635
+
5636
+ Package Locator: npm+chalk$5.3.0
5637
+
5638
+ Package Depth: Direct
5639
+ --------------------------------------------------------------------------------
5640
+
5641
+ * Declared Licenses *
5642
+ MIT
5643
+
5644
+
5621
5645
  --------------------------------------------------------------------------------
5622
5646
  Package Title: chalk (4.1.2)
5623
5647
 
5624
5648
  Package Locator: npm+chalk$4.1.2
5625
5649
 
5626
- Package Depth: Direct
5650
+ Package Depth: Transitive
5627
5651
  --------------------------------------------------------------------------------
5628
5652
 
5629
5653
  * Declared Licenses *
@@ -5787,9 +5811,9 @@ MIT
5787
5811
 
5788
5812
 
5789
5813
  --------------------------------------------------------------------------------
5790
- Package Title: cli-width (3.0.0)
5814
+ Package Title: cli-width (4.1.0)
5791
5815
 
5792
- Package Locator: npm+cli-width$3.0.0
5816
+ Package Locator: npm+cli-width$4.1.0
5793
5817
 
5794
5818
  Package Depth: Transitive
5795
5819
  --------------------------------------------------------------------------------
@@ -6966,18 +6990,6 @@ Package Depth: Transitive
6966
6990
  MIT
6967
6991
 
6968
6992
 
6969
- --------------------------------------------------------------------------------
6970
- Package Title: escape-string-regexp (1.0.5)
6971
-
6972
- Package Locator: npm+escape-string-regexp$1.0.5
6973
-
6974
- Package Depth: Transitive
6975
- --------------------------------------------------------------------------------
6976
-
6977
- * Declared Licenses *
6978
- MIT
6979
-
6980
-
6981
6993
  --------------------------------------------------------------------------------
6982
6994
  Package Title: escape-string-regexp (4.0.0)
6983
6995
 
@@ -7306,18 +7318,6 @@ Package Depth: Transitive
7306
7318
  MIT
7307
7319
 
7308
7320
 
7309
- --------------------------------------------------------------------------------
7310
- Package Title: figures (3.2.0)
7311
-
7312
- Package Locator: npm+figures$3.2.0
7313
-
7314
- Package Depth: Transitive
7315
- --------------------------------------------------------------------------------
7316
-
7317
- * Declared Licenses *
7318
- MIT
7319
-
7320
-
7321
7321
  --------------------------------------------------------------------------------
7322
7322
  Package Title: file-entry-cache (11.1.2)
7323
7323
 
@@ -7467,9 +7467,9 @@ ISC
7467
7467
 
7468
7468
 
7469
7469
  --------------------------------------------------------------------------------
7470
- Package Title: form-data (4.0.4)
7470
+ Package Title: form-data (4.0.5)
7471
7471
 
7472
- Package Locator: npm+form-data$4.0.4
7472
+ Package Locator: npm+form-data$4.0.5
7473
7473
 
7474
7474
  Package Depth: Transitive
7475
7475
  --------------------------------------------------------------------------------
@@ -8395,9 +8395,9 @@ MIT
8395
8395
 
8396
8396
 
8397
8397
  --------------------------------------------------------------------------------
8398
- Package Title: inquirer (8.2.7)
8398
+ Package Title: inquirer (9.3.8)
8399
8399
 
8400
- Package Locator: npm+inquirer$8.2.7
8400
+ Package Locator: npm+inquirer$9.3.8
8401
8401
 
8402
8402
  Package Depth: Direct
8403
8403
  --------------------------------------------------------------------------------
@@ -10363,9 +10363,9 @@ MIT
10363
10363
 
10364
10364
 
10365
10365
  --------------------------------------------------------------------------------
10366
- Package Title: mute-stream (0.0.8)
10366
+ Package Title: mute-stream (1.0.0)
10367
10367
 
10368
- Package Locator: npm+mute-stream$0.0.8
10368
+ Package Locator: npm+mute-stream$1.0.0
10369
10369
 
10370
10370
  Package Depth: Transitive
10371
10371
  --------------------------------------------------------------------------------
@@ -10961,9 +10961,9 @@ MIT
10961
10961
 
10962
10962
 
10963
10963
  --------------------------------------------------------------------------------
10964
- Package Title: playwright (1.59.1)
10964
+ Package Title: playwright (1.60.0)
10965
10965
 
10966
- Package Locator: npm+playwright$1.59.1
10966
+ Package Locator: npm+playwright$1.60.0
10967
10967
 
10968
10968
  Package Depth: Transitive
10969
10969
  --------------------------------------------------------------------------------
@@ -10973,13 +10973,13 @@ Apache-2.0
10973
10973
 
10974
10974
 
10975
10975
  * Other Licenses *
10976
- CC-BY-4.0, MIT, ISC, BSD-3-Clause
10976
+ MIT, ISC, CC-BY-4.0, BSD-3-Clause
10977
10977
 
10978
10978
 
10979
10979
  --------------------------------------------------------------------------------
10980
- Package Title: playwright-core (1.59.1)
10980
+ Package Title: playwright-core (1.60.0)
10981
10981
 
10982
- Package Locator: npm+playwright-core$1.59.1
10982
+ Package Locator: npm+playwright-core$1.60.0
10983
10983
 
10984
10984
  Package Depth: Transitive
10985
10985
  --------------------------------------------------------------------------------
@@ -10989,7 +10989,7 @@ Apache-2.0
10989
10989
 
10990
10990
 
10991
10991
  * Other Licenses *
10992
- mit-addition, IETF, BSD-2-Clause, MIT, BSD-3-Clause, ISC
10992
+ MIT, BSD-2-Clause, ISC, BSD-3-Clause
10993
10993
 
10994
10994
 
10995
10995
  --------------------------------------------------------------------------------
@@ -12021,9 +12021,9 @@ MIT
12021
12021
 
12022
12022
 
12023
12023
  --------------------------------------------------------------------------------
12024
- Package Title: run-async (2.4.1)
12024
+ Package Title: run-async (3.0.0)
12025
12025
 
12026
- Package Locator: npm+run-async$2.4.1
12026
+ Package Locator: npm+run-async$3.0.0
12027
12027
 
12028
12028
  Package Depth: Transitive
12029
12029
  --------------------------------------------------------------------------------
@@ -13112,18 +13112,6 @@ Package Depth: Transitive
13112
13112
  MIT
13113
13113
 
13114
13114
 
13115
- --------------------------------------------------------------------------------
13116
- Package Title: through (2.3.8)
13117
-
13118
- Package Locator: npm+through$2.3.8
13119
-
13120
- Package Depth: Transitive
13121
- --------------------------------------------------------------------------------
13122
-
13123
- * Declared Licenses *
13124
- Multi-license: Apache-2.0 OR MIT
13125
-
13126
-
13127
13115
  --------------------------------------------------------------------------------
13128
13116
  Package Title: thunky (1.1.0)
13129
13117
 
@@ -14276,6 +14264,18 @@ Package Depth: Transitive
14276
14264
  ISC
14277
14265
 
14278
14266
 
14267
+ --------------------------------------------------------------------------------
14268
+ Package Title: yoctocolors-cjs (2.1.3)
14269
+
14270
+ Package Locator: npm+yoctocolors-cjs$2.1.3
14271
+
14272
+ Package Depth: Transitive
14273
+ --------------------------------------------------------------------------------
14274
+
14275
+ * Declared Licenses *
14276
+ MIT
14277
+
14278
+
14279
14279
  --------------------------------------------------------------------------------
14280
14280
  Package Title: zod (4.3.6)
14281
14281
 
@@ -22908,39 +22908,6 @@ The above copyright notice and this permission notice shall be included in all c
22908
22908
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22909
22909
 
22910
22910
 
22911
- * MIT *
22912
-
22913
- ## License
22914
-
22915
- MIT / Apache2
22916
- -------------------------------------------------------------------------------
22917
-
22918
- The MIT License
22919
-
22920
- Copyright (c) 2011 Dominic Tarr
22921
-
22922
- Permission is hereby granted, free of charge,
22923
- to any person obtaining a copy of this software and
22924
- associated documentation files (the "Software"), to
22925
- deal in the Software without restriction, including
22926
- without limitation the rights to use, copy, modify,
22927
- merge, publish, distribute, sublicense, and/or sell
22928
- copies of the Software, and to permit persons to whom
22929
- the Software is furnished to do so,
22930
- subject to the following conditions:
22931
-
22932
- The above copyright notice and this permission notice
22933
- shall be included in all copies or substantial portions of the Software.
22934
-
22935
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
22936
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
22937
- OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
22938
- IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR
22939
- ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
22940
- TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22941
- SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22942
-
22943
-
22944
22911
  * MIT *
22945
22912
 
22946
22913
  (MIT)
@@ -24729,25 +24696,6 @@ Apache License
24729
24696
 
24730
24697
 
24731
24698
 
24732
- * Apache-2.0 *
24733
-
24734
- Apache License, Version 2.0
24735
-
24736
- Copyright (c) 2011 Dominic Tarr
24737
-
24738
- Licensed under the Apache License, Version 2.0 (the "License");
24739
- you may not use this file except in compliance with the License.
24740
- You may obtain a copy of the License at
24741
-
24742
- http://www.apache.org/licenses/LICENSE-2.0
24743
-
24744
- Unless required by applicable law or agreed to in writing, software
24745
- distributed under the License is distributed on an "AS IS" BASIS,
24746
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
24747
- See the License for the specific language governing permissions and
24748
- limitations under the License.
24749
-
24750
-
24751
24699
  * Apache-2.0 *
24752
24700
 
24753
24701
  Apache License
@@ -26381,7 +26329,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26381
26329
 
26382
26330
  * ISC *
26383
26331
 
26384
- Copyright (c) 2015, Ilya Radchenko <ilya@burstcreations.com>
26332
+ Copyright (c) 2015, Ilya Radchenko <knownasilya@gmail.com>
26385
26333
 
26386
26334
  Permission to use, copy, modify, and/or distribute this software for any
26387
26335
  purpose with or without fee is hereby granted, provided that the above
@@ -27021,7 +26969,7 @@ The complete list of contributors can be found at:
27021
26969
 
27022
26970
  * MIT *
27023
26971
 
27024
- Copyright (c) 2022 Simon Boudrias
26972
+ Copyright (c) 2023 Simon Boudrias
27025
26973
 
27026
26974
  Permission is hereby granted, free of charge, to any person
27027
26975
  obtaining a copy of this software and associated documentation
@@ -30408,14 +30356,6 @@ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
30408
30356
  SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
30409
30357
 
30410
30358
 
30411
- * IETF *
30412
-
30413
- This repository relates to activities in the Internet Engineering Task Force (IETF). All material in this repository is considered Contributions to the IETF Standards Process, as defined in the intellectual property policies of IETF currently designated as BCP 78, BCP 79 and the IETF Trust Legal Provisions (TLP) Relating to IETF Documents.
30414
-
30415
- Any edit, commit, pull request, issue, comment or other change made to this repository constitutes Contributions to the IETF Standards Process (https://www.ietf.org/).
30416
-
30417
- You agree to comply with all applicable IETF policies and procedures, including, BCP 78, 79, the TLP, and the TLP rules regarding code components (e.g. being subject to a Simplified BSD License) in Contributions.
30418
-
30419
30359
  * ISC *
30420
30360
 
30421
30361
  ISC License
@@ -38209,34 +38149,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
38209
38149
  SOFTWARE.
38210
38150
 
38211
38151
 
38212
- * mit-addition *
38213
-
38214
- Permission is hereby granted, free of charge, to any person obtaining a
38215
- copy of this software and associated documentation files (the
38216
- "Software"), to deal in the Software without restriction, including
38217
- without limitation the rights to use, copy, modify, merge, publish,
38218
- distribute, sublicense, and/or sell copies of the Software, and to
38219
- permit persons to whom the Software is furnished to do so, subject to
38220
- the following conditions:
38221
-
38222
- The above copyright notice and this permission notice shall be included
38223
- in all copies or substantial portions of the Software.
38224
-
38225
- THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
38226
- EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
38227
- WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
38228
-
38229
- IN NO EVENT SHALL TOM WU BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT
38230
- OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER
38231
- RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER OR NOT ADVISED OF
38232
- THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF LIABILITY, ARISING OUT
38233
- OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
38234
-
38235
- In addition, the following condition applies:
38236
-
38237
- All redistributions must retain an intact copy of this copyright notice
38238
- and disclaimer.
38239
-
38240
38152
  * public-domain *
38241
38153
 
38242
38154
  No license text available
@@ -38277,4 +38189,4 @@ POSSIBILITY OF SUCH DAMAGE.
38277
38189
  --------------------------------------------------------------------------------
38278
38190
  --------------------------------------------------------------------------------
38279
38191
 
38280
- Report Generated by FOSSA on 2026-5-18
38192
+ Report Generated by FOSSA on 2026-5-20
@@ -19,6 +19,7 @@ import { useHistoryCheck } from "./hooks/useHistoryCheck.js";
19
19
  import { ConversationDateGroup, groupConversationsByDate } from "./utils/conversationGrouper.js";
20
20
  function GenAIChatConversationsComponent({ setHistory, deleteConversation, pinConversation, renameConversation, loadConversation, conversations, conversation: currentConversation, }) {
21
21
  const ref = useRef(undefined);
22
+ const menuRef = useRef(undefined);
22
23
  const intl = useIntl();
23
24
  const { isFullscreen, isSmallScreen } = useFullscreenCheck();
24
25
  const { isHistory } = useHistoryCheck();
@@ -39,7 +40,7 @@ function GenAIChatConversationsComponent({ setHistory, deleteConversation, pinCo
39
40
  id: conversation.localId,
40
41
  stringTitle: replaceReferences(conversation.title ?? "", collectReferences(conversation.title ?? "", catalogItems)),
41
42
  data: conversation,
42
- iconRight: (_jsx("div", { className: "gd-gen-ai-chat__window__conversations__list__delete-button", children: _jsx(Dropdown, { onToggle: () => {
43
+ iconRight: (_jsx("div", { className: "gd-gen-ai-chat__window__conversations__list__delete-button", children: _jsx(Dropdown, { returnFocusTo: menuRef, onToggle: () => {
43
44
  setOpenedId(openedId ? undefined : conversation.localId);
44
45
  }, isOpen: openedId === conversation.localId, alignPoints: [{ align: "bl tl" }], renderButton: ({ toggleDropdown, buttonRef, ariaAttributes, accessibilityConfig, }) => (_jsx(UiIconButton, { ref: (element) => {
45
46
  buttonRef.current = element;
@@ -133,9 +134,11 @@ function GenAIChatConversationsComponent({ setHistory, deleteConversation, pinCo
133
134
  const draggedConversation = useMemo(() => conversations?.find((conversation) => conversation.localId === draggedConversationId), [conversations, draggedConversationId]);
134
135
  const handleDeleteCancel = useCallback(() => {
135
136
  setConversationToDelete(undefined);
137
+ menuRef.current?.focus();
136
138
  }, []);
137
139
  const handleRenameCancel = useCallback(() => {
138
140
  setConversationToRename(undefined);
141
+ menuRef.current?.focus();
139
142
  }, []);
140
143
  const handleSelect = useCallback((conversation) => {
141
144
  loadConversation({ conversation });
@@ -146,6 +149,7 @@ function GenAIChatConversationsComponent({ setHistory, deleteConversation, pinCo
146
149
  deleteConversation({ conversationId: conversationToDelete.localId });
147
150
  }
148
151
  setConversationToDelete(undefined);
152
+ menuRef.current?.focus();
149
153
  }, [conversationToDelete, deleteConversation]);
150
154
  const handleRenameSubmit = useCallback((title) => {
151
155
  if (conversationToRename) {
@@ -155,6 +159,7 @@ function GenAIChatConversationsComponent({ setHistory, deleteConversation, pinCo
155
159
  });
156
160
  }
157
161
  setConversationToRename(undefined);
162
+ menuRef.current?.focus();
158
163
  }, [conversationToRename, renameConversation]);
159
164
  const handleDragStart = useCallback((conversationId, event) => {
160
165
  event.dataTransfer.effectAllowed = "move";
@@ -213,9 +218,9 @@ function GenAIChatConversationsComponent({ setHistory, deleteConversation, pinCo
213
218
  ] }), closeLabel: intl.formatMessage({ id: "gd.gen-ai.conversations.close-label" }), onClickClose: () => setHistory({ isHistory: false }), onClickOutside: () => setHistory({ isHistory: false }), children: _jsx("div", { className: cx("gd-gen-ai-chat__window__conversations", {
214
219
  "gd-gen-ai-chat__window__conversations--isFullscreen": isFullscreen,
215
220
  "gd-gen-ai-chat__window__conversations--isSmallScreen": isSmallScreen,
216
- }), children: _jsx(DrawerContent, { openedId: openedId, menuItems: menuItems, conversations: conversations ?? [], handleSelect: handleSelect, draggedConversation: draggedConversation, activeDropZone: activeDropZone, onDragStart: handleDragStart, onDragEnd: handleDragEnd, onDropZoneDragOver: handleDropZoneDragOver, onDropZoneDragLeave: handleDropZoneDragLeave, onDropZoneDrop: handleDropZoneDrop, onMenuUnhandledKeyDown: handleMenuUnhandledKeyDown }) }) }), conversationToDelete ? (_jsx(ConversationDeleteDialog, { conversation: conversationToDelete, onClose: handleDeleteCancel, onDelete: handleDeleteSubmit })) : null, conversationToRename ? (_jsx(ConversationRenameDialog, { conversation: conversationToRename, onClose: handleRenameCancel, onRename: handleRenameSubmit })) : null] }));
221
+ }), children: _jsx(DrawerContent, { openedId: openedId, menuRef: menuRef, menuItems: menuItems, conversations: conversations ?? [], handleSelect: handleSelect, draggedConversation: draggedConversation, activeDropZone: activeDropZone, onDragStart: handleDragStart, onDragEnd: handleDragEnd, onDropZoneDragOver: handleDropZoneDragOver, onDropZoneDragLeave: handleDropZoneDragLeave, onDropZoneDrop: handleDropZoneDrop, onMenuUnhandledKeyDown: handleMenuUnhandledKeyDown }) }) }), conversationToDelete ? (_jsx(ConversationDeleteDialog, { conversation: conversationToDelete, onClose: handleDeleteCancel, onDelete: handleDeleteSubmit })) : null, conversationToRename ? (_jsx(ConversationRenameDialog, { conversation: conversationToRename, onClose: handleRenameCancel, onRename: handleRenameSubmit })) : null] }));
217
222
  }
218
- function DrawerContent({ openedId, conversations, menuItems, handleSelect, draggedConversation, activeDropZone, onDragStart, onDragEnd, onDropZoneDragOver, onDropZoneDragLeave, onDropZoneDrop, onMenuUnhandledKeyDown, }) {
223
+ function DrawerContent({ openedId, menuRef, conversations, menuItems, handleSelect, draggedConversation, activeDropZone, onDragStart, onDragEnd, onDropZoneDragOver, onDropZoneDragLeave, onDropZoneDrop, onMenuUnhandledKeyDown, }) {
219
224
  const intl = useIntl();
220
225
  const pinnedItems = useMemo(() => {
221
226
  return menuItems.filter((item) => item.id === ConversationDateGroup.PINNED);
@@ -235,35 +240,51 @@ function DrawerContent({ openedId, conversations, menuItems, handleSelect, dragg
235
240
  isEmpty: pinnedItems.length === 0,
236
241
  }), children: _jsx("div", { className: "gd-gen-ai-chat__window__conversations__drop-placeholder__content", children: intl.formatMessage({
237
242
  id: "gd.gen-ai.conversations.dnd.pin-placeholder",
238
- }) }) }), _jsx(ConversationsList, { id: "gd-gen-ai-conversations-pinned", openedId: openedId, listItems: pinnedItems, onDragStart: onDragStart, onDragEnd: onDragEnd, onMenuUnhandledKeyDown: onMenuUnhandledKeyDown, handleSelect: handleSelect })
243
+ }) }) }), _jsx(ConversationsList, { id: "gd-gen-ai-conversations-pinned", menuRef: menuRef, openedId: openedId, listItems: pinnedItems, onDragStart: onDragStart, onDragEnd: onDragEnd, onMenuUnhandledKeyDown: onMenuUnhandledKeyDown, handleSelect: handleSelect })
239
244
  ] }), _jsxs("div", { className: "gd-gen-ai-chat__window__conversations__drop-group", onDragOver: (event) => onDropZoneDragOver("unpin", event), onDragLeave: onDropZoneDragLeave, onDrop: (event) => onDropZoneDrop("unpin", event), children: [
240
245
  _jsx("div", { className: cx("gd-gen-ai-chat__window__conversations__drop-placeholder", {
241
246
  isDragging: activeDropZone === "body" && draggedConversation?.pinned,
242
247
  isDraggingOver: activeDropZone === "unpin",
243
248
  }), children: _jsx("div", { className: "gd-gen-ai-chat__window__conversations__drop-placeholder__content", children: intl.formatMessage({
244
249
  id: "gd.gen-ai.conversations.dnd.unpin-placeholder",
245
- }) }) }), _jsx(ConversationsList, { id: "gd-gen-ai-conversations-rest", openedId: openedId, listItems: restItems, onDragStart: onDragStart, onDragEnd: onDragEnd, onMenuUnhandledKeyDown: onMenuUnhandledKeyDown, handleSelect: handleSelect })
250
+ }) }) }), _jsx(ConversationsList, { id: "gd-gen-ai-conversations-rest", menuRef: menuRef, openedId: openedId, listItems: restItems, onDragStart: onDragStart, onDragEnd: onDragEnd, onMenuUnhandledKeyDown: onMenuUnhandledKeyDown, handleSelect: handleSelect })
246
251
  ] }), draggedConversation ? (_jsx("div", { className: cx("gd-gen-ai-chat__window__conversations__drop-overlay", {
247
252
  isDragging: !!activeDropZone,
248
253
  }) })) : null] })) }));
249
254
  }
250
- function ConversationsList({ id, openedId, listItems, handleSelect, onDragStart, onDragEnd, onMenuUnhandledKeyDown, }) {
255
+ function ConversationsList({ id, menuRef, openedId, listItems, handleSelect, onDragStart, onDragEnd, onMenuUnhandledKeyDown, }) {
251
256
  const intl = useIntl();
252
257
  return useMemo(() => {
253
258
  return (_jsx(UiMenu, { onUnhandledKeyDown: onMenuUnhandledKeyDown, InteractiveItemWrapper: (props) => (_jsx(DraggableConversationItem, { ...props, intl: intl, openedId: openedId, onDragStart: onDragStart, onDragEnd: onDragEnd })), items: listItems, onSelect: (item, event) => {
254
259
  handleSelect(item.data);
255
260
  event.stopPropagation();
256
261
  event.preventDefault();
262
+ }, onEnterLevel: (item, event) => {
263
+ toggleInConversationItems(menuRef, item, event);
264
+ return true;
265
+ }, onLeaveLevel: (item, event) => {
266
+ toggleInConversationItems(menuRef, item, event);
267
+ return true;
257
268
  }, shouldCloseOnSelect: false, size: "small", ariaAttributes: {
258
269
  id,
259
270
  "aria-label": intl.formatMessage({ id: "gd.gen-ai.conversations.title" }),
260
271
  } }));
261
- }, [id, handleSelect, intl, listItems, onDragEnd, onDragStart, onMenuUnhandledKeyDown, openedId]);
272
+ }, [
273
+ id,
274
+ handleSelect,
275
+ intl,
276
+ listItems,
277
+ onDragEnd,
278
+ onDragStart,
279
+ onMenuUnhandledKeyDown,
280
+ openedId,
281
+ menuRef,
282
+ ]);
262
283
  }
263
284
  function DraggableConversationItem(props) {
264
285
  const data = props.item.data;
265
286
  const itemTitle = props.item.stringTitle || generateTemporaryTitle(props.intl, data);
266
- return (_jsx("div", { draggable: true, title: itemTitle, className: cx("gd-gen-ai-chat__window__conversations__list__item", {
287
+ return (_jsx("div", { draggable: true, title: itemTitle, "data-conversation-id": data.localId, className: cx("gd-gen-ai-chat__window__conversations__list__item", {
267
288
  generatingTitle: data.generatingTitle,
268
289
  inProgress: data.inProgress,
269
290
  openedMenu: props.openedId === props.item.id,
@@ -278,6 +299,22 @@ function DraggableConversationItem(props) {
278
299
  stringTitle: itemTitle,
279
300
  } }) }));
280
301
  }
302
+ function toggleInConversationItems(menuRef, item, event) {
303
+ if (!item) {
304
+ return;
305
+ }
306
+ const conv = item.data;
307
+ const target = event.currentTarget;
308
+ const element = target.querySelector(`[data-conversation-id="${conv.localId}"]`);
309
+ const button = element?.querySelector("button");
310
+ if (button && button !== document.activeElement) {
311
+ button.focus();
312
+ }
313
+ else {
314
+ target.focus();
315
+ }
316
+ menuRef.current = target;
317
+ }
281
318
  const mapStateToProps = (state) => ({
282
319
  conversation: conversationSelector(state),
283
320
  conversations: conversationsSelector(state),
@@ -12,6 +12,6 @@ export function AssistantItemComponent({ message, group, isLast }) {
12
12
  const messageState = getItemState(message);
13
13
  const classNames = cx("gd-gen-ai-chat__messages__conversation", "gd-gen-ai-chat__messages__conversation--assistant", `gd-gen-ai-chat__messages__conversation--${message.content.type}`, messageState === "cancelled" && "gd-gen-ai-chat__messages__conversation--cancelled", isLast && "gd-gen-ai-chat__messages__conversation--isLast");
14
14
  return (_jsxs("div", { className: classNames, "data-state": messageState, "data-testid": "gen-ai-conversation-assistant-message", children: [
15
- _jsx("span", { className: "gd-gen-ai-chat__visually__hidden", children: intl.formatMessage({ id: "gd.gen-ai.message.label.assistant" }) }), _jsx(ReasoningIcon, { content: message.content }), _jsx(ConversationItemContents, { role: "assistant", message: message, isLoading: messageState === "loading", isLast: isLast }), _jsx(AssistantItemSuggestions, { type: "followUp", content: message.content, showSuggestions: isLast }), _jsx(AssistantItemFeedback, { group: group, message: message, isLast: isLast }), _jsx(AssistantItemSuggestions, { type: "actions", content: message.content, showSuggestions: isLast })
15
+ _jsx("span", { className: "gd-gen-ai-chat__visually__hidden", children: intl.formatMessage({ id: "gd.gen-ai.message.label.assistant" }) }), _jsx(ReasoningIcon, { content: message.content }), _jsx(ConversationItemContents, { role: "assistant", message: message, isLoading: messageState === "loading", isLast: isLast }), _jsx(AssistantItemSuggestions, { type: "followUp", content: message.content, showSuggestions: true }), _jsx(AssistantItemFeedback, { group: group, message: message, isLast: isLast }), _jsx(AssistantItemSuggestions, { type: "actions", content: message.content, showSuggestions: isLast })
16
16
  ] }));
17
17
  }
@@ -63,6 +63,7 @@ export declare const de_DE: {
63
63
  "gd.gen-ai.conversations.group.pinned": string;
64
64
  "gd.gen-ai.conversations.menu.pin": string;
65
65
  "gd.gen-ai.conversations.menu.unpin": string;
66
+ "gd.gen-ai.conversations.menu.rename": string;
66
67
  "gd.gen-ai.conversations.menu.aria-label": string;
67
68
  "gd.gen-ai.conversations.dnd.pin-placeholder": string;
68
69
  "gd.gen-ai.conversations.dnd.unpin-placeholder": string;
@@ -70,6 +71,10 @@ export declare const de_DE: {
70
71
  "gd.gen-ai.conversations.delete-dialog.body": string;
71
72
  "gd.gen-ai.conversations.delete-dialog.submit": string;
72
73
  "gd.gen-ai.conversations.delete-dialog.cancel": string;
74
+ "gd.gen-ai.conversations.rename-dialog.title": string;
75
+ "gd.gen-ai.conversations.rename-dialog.label": string;
76
+ "gd.gen-ai.conversations.rename-dialog.submit": string;
77
+ "gd.gen-ai.conversations.rename-dialog.cancel": string;
73
78
  "gd.chat.conversation.generating-title": string;
74
79
  "gd.gen-ai.state.cancelled": string;
75
80
  "gd.gen-ai.state.generating": string;