@visma-swno/gaia-chat-ui 1.1.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,78 +1,129 @@
1
- # Changelog
2
-
3
- ## [1.1.0-beta.6](https://github.com/visma-swno/vsn-assistant/compare/chat-ui@v1.1.0-beta.5...chat-ui@v1.1.0-beta.6) (2025-08-19)
4
-
5
-
6
- ### Features
7
-
8
- * **ui:** add AI disclaimer ([#966](https://github.com/visma-swno/vsn-assistant/issues/966)) ([27e37da](https://github.com/visma-swno/vsn-assistant/commit/27e37dae041f0adbc29b00d4292a17a1a87d67f4))
9
- * **ui:** render close button when mounted inside popover ([#965](https://github.com/visma-swno/vsn-assistant/issues/965)) ([26a990d](https://github.com/visma-swno/vsn-assistant/commit/26a990d19ab519b649fcf5e9007460c793d86b93))
10
-
11
-
12
- ### Bug Fixes
13
-
14
- * assistant messages display sparkles icon ([#963](https://github.com/visma-swno/vsn-assistant/issues/963)) ([62ee37d](https://github.com/visma-swno/vsn-assistant/commit/62ee37d9af826b7432598e9997f4356a98e3d655))
15
- * **ui:** remove popup when hovering the chat ([#968](https://github.com/visma-swno/vsn-assistant/issues/968)) ([a87beaa](https://github.com/visma-swno/vsn-assistant/commit/a87beaa2e8f719f51f8979f972bad8cb9d407e22))
16
- * **ui:** update welcome message ([#967](https://github.com/visma-swno/vsn-assistant/issues/967)) ([f98ef13](https://github.com/visma-swno/vsn-assistant/commit/f98ef13bec9db8dfc4819eeb4445819e51812f90))
17
-
18
- ## [1.1.0-beta.5](https://github.com/visma-swno/vsn-assistant/compare/chat-ui@v1.1.0-beta.4...chat-ui@v1.1.0-beta.5) (2025-08-19)
19
-
20
-
21
- ### Bug Fixes
22
-
23
- * **deps:** bump the javascript group in /chat-ui with 6 updates ([#934](https://github.com/visma-swno/vsn-assistant/issues/934)) ([0f948e9](https://github.com/visma-swno/vsn-assistant/commit/0f948e94dc206b5d342710f51b6bacfe2753bd9b))
24
-
25
- ## [1.1.0-beta.4](https://github.com/visma-swno/vsn-assistant/compare/chat-ui@v1.1.0-beta.3...chat-ui@v1.1.0-beta.4) (2025-08-11)
26
-
27
-
28
- ### Bug Fixes
29
-
30
- * **markdown:** wrap text overflow ([#921](https://github.com/visma-swno/vsn-assistant/issues/921)) ([3b79c37](https://github.com/visma-swno/vsn-assistant/commit/3b79c375d1e5ddca3cf4b0f8712624403488c47a))
31
-
32
- ## [1.1.0-beta.3](https://github.com/visma-swno/vsn-assistant/compare/chat-ui@v1.1.0-beta.2...chat-ui@v1.1.0-beta.3) (2025-08-08)
33
-
34
-
35
- ### Features
36
-
37
- * add language support for swedish and danish ([#915](https://github.com/visma-swno/vsn-assistant/issues/915)) ([ec84bac](https://github.com/visma-swno/vsn-assistant/commit/ec84bacd69e4ca7ad0f7bd02bcd4928bc39f4310))
38
-
39
- ## [1.1.0-beta.2](https://github.com/visma-swno/vsn-assistant/compare/chat-ui@v1.1.0-beta.1...chat-ui@v1.1.0-beta.2) (2025-08-08)
40
-
41
-
42
- ### Bug Fixes
43
-
44
- * prevent users from sending a new message while previous is processing ([#913](https://github.com/visma-swno/vsn-assistant/issues/913)) ([c2e1320](https://github.com/visma-swno/vsn-assistant/commit/c2e13205f9e37b751e97724217799c32773214fb)), closes [#895](https://github.com/visma-swno/vsn-assistant/issues/895)
45
- * prevent users from sending feedback before conversation is started ([#912](https://github.com/visma-swno/vsn-assistant/issues/912)) ([8305d9a](https://github.com/visma-swno/vsn-assistant/commit/8305d9a2c2bb63a444cc18e176be323b3e321e43))
46
-
47
- ## [1.1.0-beta.1](https://github.com/visma-swno/vsn-assistant/compare/chat-ui@v1.1.0-beta...chat-ui@v1.1.0-beta.1) (2025-08-07)
48
-
49
-
50
- ### Features
51
-
52
- * add feedback UI ([#899](https://github.com/visma-swno/vsn-assistant/issues/899)) ([6b67cc9](https://github.com/visma-swno/vsn-assistant/commit/6b67cc9944100e5b0e0cab1499bc4901c4e66d54))
53
-
54
- ## 1.1.0-beta (2025-08-06)
55
-
56
-
57
- ### Features
58
-
59
- * add localization ([#876](https://github.com/visma-swno/vsn-assistant/issues/876)) ([98307bc](https://github.com/visma-swno/vsn-assistant/commit/98307bc25be4d9588fd2877c967fe869267d440e)), closes [#269](https://github.com/visma-swno/vsn-assistant/issues/269)
60
- * Add liveleader support ([#661](https://github.com/visma-swno/vsn-assistant/issues/661)) ([76b79ab](https://github.com/visma-swno/vsn-assistant/commit/76b79ab678f8ea3d31a45101f4d5012cbc40dded))
61
- * **api:** Refactor chat messages ([#634](https://github.com/visma-swno/vsn-assistant/issues/634)) ([3b7ecf9](https://github.com/visma-swno/vsn-assistant/commit/3b7ecf971f2f35011d6cabafb3fed6d3fbaaa824))
62
-
63
-
64
- ### Bug Fixes
65
-
66
- * update release ([#887](https://github.com/visma-swno/vsn-assistant/issues/887)) ([dd19931](https://github.com/visma-swno/vsn-assistant/commit/dd19931d63677dfcb1e2c50bee75abaa9294ea02))
67
- * **security:** bump koa dependency to patched version ([#860](https://github.com/visma-swno/vsn-assistant/issues/860)) ([ccf58d5](https://github.com/visma-swno/vsn-assistant/commit/ccf58d50acd3cf989df7d19ba569372f15ce4e2b))
68
- * brace-expansion Regular Expression Denial of Service vulnerability ([#845](https://github.com/visma-swno/vsn-assistant/issues/845)) ([233a2d8](https://github.com/visma-swno/vsn-assistant/commit/233a2d8eaf9681eb2896a72894304a84894d0ddb))
69
- * **deps:** bump marked from 15.0.11 to 16.1.2 in /chat-ui ([#840](https://github.com/visma-swno/vsn-assistant/issues/840)) ([2a740fc](https://github.com/visma-swno/vsn-assistant/commit/2a740fc124a81e7ebd2d8c123c43420c79ebb522))
70
- * allow typing new message while waiting for AI response ([#724](https://github.com/visma-swno/vsn-assistant/issues/724)) ([fb52a24](https://github.com/visma-swno/vsn-assistant/commit/fb52a243a3106eb2d705a86af4120f5dae7a72c2))
71
- * **api:** Improve conversation stream ([#632](https://github.com/visma-swno/vsn-assistant/issues/632)) ([74be1f6](https://github.com/visma-swno/vsn-assistant/commit/74be1f6243479f09d82c14239327e97f54afcb11))
72
- * **chat-ui:** Add error handler ([#639](https://github.com/visma-swno/vsn-assistant/issues/639)) ([a0ea255](https://github.com/visma-swno/vsn-assistant/commit/a0ea2556d5143fcf2bb496b42ca69ec3cbc5ba6c))
73
- * **chat-ui:** Add user input length limitations ([#654](https://github.com/visma-swno/vsn-assistant/issues/654)) ([3f9c867](https://github.com/visma-swno/vsn-assistant/commit/3f9c867eaa6d0cea2757297fdb620edf035432ea)), closes [#648](https://github.com/visma-swno/vsn-assistant/issues/648)
74
- * **chat-ui:** Make team-id optional ([#545](https://github.com/visma-swno/vsn-assistant/issues/545)) ([9030f45](https://github.com/visma-swno/vsn-assistant/commit/9030f450cff05e693bdd1ffbe09f01956c94e55a))
75
- * **chat-ui:** Read expiration time from token payload ([#624](https://github.com/visma-swno/vsn-assistant/issues/624)) ([78096df](https://github.com/visma-swno/vsn-assistant/commit/78096dffe95dd343ba8347bfc8df86078ac91a0f))
76
- * **chat-ui:** update package version ([#663](https://github.com/visma-swno/vsn-assistant/issues/663)) ([4ab1927](https://github.com/visma-swno/vsn-assistant/commit/4ab19273476b03308a1ee696e9151e09c1fe6c13))
77
- * **chat-ui:** Update popover to latest Gaia guidelines ([#565](https://github.com/visma-swno/vsn-assistant/issues/565)) ([0ad466d](https://github.com/visma-swno/vsn-assistant/commit/0ad466d74ea26a736855e06760d7c41d9de901bc))
78
- * set initial beta-version ([#770](https://github.com/visma-swno/vsn-assistant/issues/770)) ([e77e00a](https://github.com/visma-swno/vsn-assistant/commit/e77e00affe7a14975aec51bca202eeed497aa217))
1
+ # Changelog
2
+
3
+ ## [1.2.0](https://github.com/visma-swno/vsn-assistant/compare/chat-ui@v1.1.0...chat-ui@v1.2.0) (2025-08-22)
4
+
5
+
6
+ ### Features
7
+
8
+ * emit event on token expiry ([#988](https://github.com/visma-swno/vsn-assistant/issues/988)) ([8d22ae3](https://github.com/visma-swno/vsn-assistant/commit/8d22ae39a5dcf7a3d4ee871b8b409b561713b40e))
9
+ * **ui:** send custom origin header ([#984](https://github.com/visma-swno/vsn-assistant/issues/984)) ([3fa05e7](https://github.com/visma-swno/vsn-assistant/commit/3fa05e7870e4bb0223826069b636f3f350958e73))
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * default to english on invalid lang codes ([8d22ae3](https://github.com/visma-swno/vsn-assistant/commit/8d22ae39a5dcf7a3d4ee871b8b409b561713b40e))
15
+ * **deps:** bump the javascript group in /chat-ui with 6 updates ([#975](https://github.com/visma-swno/vsn-assistant/issues/975)) ([78f173b](https://github.com/visma-swno/vsn-assistant/commit/78f173b1a2a0775f602c17368c26940a6bd526d2))
16
+
17
+ ## [1.1.0](https://github.com/visma-swno/vsn-assistant/compare/chat-ui@v1.0.1...chat-ui@v1.1.0) (2025-08-19)
18
+
19
+
20
+ ### Features
21
+
22
+ * **ui:** add AI disclaimer ([#966](https://github.com/visma-swno/vsn-assistant/issues/966)) ([27e37da](https://github.com/visma-swno/vsn-assistant/commit/27e37dae041f0adbc29b00d4292a17a1a87d67f4))
23
+ * **ui:** render close button when mounted inside popover ([#965](https://github.com/visma-swno/vsn-assistant/issues/965)) ([26a990d](https://github.com/visma-swno/vsn-assistant/commit/26a990d19ab519b649fcf5e9007460c793d86b93))
24
+ * add language support for swedish and danish ([#915](https://github.com/visma-swno/vsn-assistant/issues/915)) ([ec84bac](https://github.com/visma-swno/vsn-assistant/commit/ec84bacd69e4ca7ad0f7bd02bcd4928bc39f4310))
25
+ * add feedback UI ([#899](https://github.com/visma-swno/vsn-assistant/issues/899)) ([6b67cc9](https://github.com/visma-swno/vsn-assistant/commit/6b67cc9944100e5b0e0cab1499bc4901c4e66d54))
26
+ * add localization ([#876](https://github.com/visma-swno/vsn-assistant/issues/876)) ([98307bc](https://github.com/visma-swno/vsn-assistant/commit/98307bc25be4d9588fd2877c967fe869267d440e)), closes [#269](https://github.com/visma-swno/vsn-assistant/issues/269)
27
+ * Add liveleader support ([#661](https://github.com/visma-swno/vsn-assistant/issues/661)) ([76b79ab](https://github.com/visma-swno/vsn-assistant/commit/76b79ab678f8ea3d31a45101f4d5012cbc40dded))
28
+ * **api:** Refactor chat messages ([#634](https://github.com/visma-swno/vsn-assistant/issues/634)) ([3b7ecf9](https://github.com/visma-swno/vsn-assistant/commit/3b7ecf971f2f35011d6cabafb3fed6d3fbaaa824))
29
+
30
+
31
+ ### Bug Fixes
32
+
33
+ * assistant messages display sparkles icon ([#963](https://github.com/visma-swno/vsn-assistant/issues/963)) ([62ee37d](https://github.com/visma-swno/vsn-assistant/commit/62ee37d9af826b7432598e9997f4356a98e3d655))
34
+ * **ui:** remove popup when hovering the chat ([#968](https://github.com/visma-swno/vsn-assistant/issues/968)) ([a87beaa](https://github.com/visma-swno/vsn-assistant/commit/a87beaa2e8f719f51f8979f972bad8cb9d407e22))
35
+ * **ui:** update welcome message ([#967](https://github.com/visma-swno/vsn-assistant/issues/967)) ([f98ef13](https://github.com/visma-swno/vsn-assistant/commit/f98ef13bec9db8dfc4819eeb4445819e51812f90))
36
+ * **deps:** bump the javascript group in /chat-ui with 6 updates ([#934](https://github.com/visma-swno/vsn-assistant/issues/934)) ([0f948e9](https://github.com/visma-swno/vsn-assistant/commit/0f948e94dc206b5d342710f51b6bacfe2753bd9b))
37
+ * **markdown:** wrap text overflow ([#921](https://github.com/visma-swno/vsn-assistant/issues/921)) ([3b79c37](https://github.com/visma-swno/vsn-assistant/commit/3b79c375d1e5ddca3cf4b0f8712624403488c47a))
38
+ * prevent users from sending a new message while previous is processing ([#913](https://github.com/visma-swno/vsn-assistant/issues/913)) ([c2e1320](https://github.com/visma-swno/vsn-assistant/commit/c2e13205f9e37b751e97724217799c32773214fb)), closes [#895](https://github.com/visma-swno/vsn-assistant/issues/895)
39
+ * prevent users from sending feedback before conversation is started ([#912](https://github.com/visma-swno/vsn-assistant/issues/912)) ([8305d9a](https://github.com/visma-swno/vsn-assistant/commit/8305d9a2c2bb63a444cc18e176be323b3e321e43))
40
+ * update release ([#887](https://github.com/visma-swno/vsn-assistant/issues/887)) ([dd19931](https://github.com/visma-swno/vsn-assistant/commit/dd19931d63677dfcb1e2c50bee75abaa9294ea02))
41
+ * **security:** bump koa dependency to patched version ([#860](https://github.com/visma-swno/vsn-assistant/issues/860)) ([ccf58d5](https://github.com/visma-swno/vsn-assistant/commit/ccf58d50acd3cf989df7d19ba569372f15ce4e2b))
42
+ * brace-expansion Regular Expression Denial of Service vulnerability ([#845](https://github.com/visma-swno/vsn-assistant/issues/845)) ([233a2d8](https://github.com/visma-swno/vsn-assistant/commit/233a2d8eaf9681eb2896a72894304a84894d0ddb))
43
+ * **deps:** bump marked from 15.0.11 to 16.1.2 in /chat-ui ([#840](https://github.com/visma-swno/vsn-assistant/issues/840)) ([2a740fc](https://github.com/visma-swno/vsn-assistant/commit/2a740fc124a81e7ebd2d8c123c43420c79ebb522))
44
+ * allow typing new message while waiting for AI response ([#724](https://github.com/visma-swno/vsn-assistant/issues/724)) ([fb52a24](https://github.com/visma-swno/vsn-assistant/commit/fb52a243a3106eb2d705a86af4120f5dae7a72c2))
45
+ * **api:** Improve conversation stream ([#632](https://github.com/visma-swno/vsn-assistant/issues/632)) ([74be1f6](https://github.com/visma-swno/vsn-assistant/commit/74be1f6243479f09d82c14239327e97f54afcb11))
46
+ * **chat-ui:** Add error handler ([#639](https://github.com/visma-swno/vsn-assistant/issues/639)) ([a0ea255](https://github.com/visma-swno/vsn-assistant/commit/a0ea2556d5143fcf2bb496b42ca69ec3cbc5ba6c))
47
+ * **chat-ui:** Add user input length limitations ([#654](https://github.com/visma-swno/vsn-assistant/issues/654)) ([3f9c867](https://github.com/visma-swno/vsn-assistant/commit/3f9c867eaa6d0cea2757297fdb620edf035432ea)), closes [#648](https://github.com/visma-swno/vsn-assistant/issues/648)
48
+ * **chat-ui:** Make team-id optional ([#545](https://github.com/visma-swno/vsn-assistant/issues/545)) ([9030f45](https://github.com/visma-swno/vsn-assistant/commit/9030f450cff05e693bdd1ffbe09f01956c94e55a))
49
+ * **chat-ui:** Read expiration time from token payload ([#624](https://github.com/visma-swno/vsn-assistant/issues/624)) ([78096df](https://github.com/visma-swno/vsn-assistant/commit/78096dffe95dd343ba8347bfc8df86078ac91a0f))
50
+ * **chat-ui:** update package version ([#663](https://github.com/visma-swno/vsn-assistant/issues/663)) ([4ab1927](https://github.com/visma-swno/vsn-assistant/commit/4ab19273476b03308a1ee696e9151e09c1fe6c13))
51
+ * **chat-ui:** Update popover to latest Gaia guidelines ([#565](https://github.com/visma-swno/vsn-assistant/issues/565)) ([0ad466d](https://github.com/visma-swno/vsn-assistant/commit/0ad466d74ea26a736855e06760d7c41d9de901bc))
52
+ * set initial beta-version ([#770](https://github.com/visma-swno/vsn-assistant/issues/770)) ([e77e00a](https://github.com/visma-swno/vsn-assistant/commit/e77e00affe7a14975aec51bca202eeed497aa217))
53
+
54
+ ## [1.1.0-beta.6](https://github.com/visma-swno/vsn-assistant/compare/chat-ui@v1.1.0-beta.5...chat-ui@v1.1.0-beta.6) (2025-08-19)
55
+
56
+
57
+ ### Features
58
+
59
+ * **ui:** add AI disclaimer ([#966](https://github.com/visma-swno/vsn-assistant/issues/966)) ([27e37da](https://github.com/visma-swno/vsn-assistant/commit/27e37dae041f0adbc29b00d4292a17a1a87d67f4))
60
+ * **ui:** render close button when mounted inside popover ([#965](https://github.com/visma-swno/vsn-assistant/issues/965)) ([26a990d](https://github.com/visma-swno/vsn-assistant/commit/26a990d19ab519b649fcf5e9007460c793d86b93))
61
+
62
+
63
+ ### Bug Fixes
64
+
65
+ * assistant messages display sparkles icon ([#963](https://github.com/visma-swno/vsn-assistant/issues/963)) ([62ee37d](https://github.com/visma-swno/vsn-assistant/commit/62ee37d9af826b7432598e9997f4356a98e3d655))
66
+ * **ui:** remove popup when hovering the chat ([#968](https://github.com/visma-swno/vsn-assistant/issues/968)) ([a87beaa](https://github.com/visma-swno/vsn-assistant/commit/a87beaa2e8f719f51f8979f972bad8cb9d407e22))
67
+ * **ui:** update welcome message ([#967](https://github.com/visma-swno/vsn-assistant/issues/967)) ([f98ef13](https://github.com/visma-swno/vsn-assistant/commit/f98ef13bec9db8dfc4819eeb4445819e51812f90))
68
+
69
+ ## [1.1.0-beta.5](https://github.com/visma-swno/vsn-assistant/compare/chat-ui@v1.1.0-beta.4...chat-ui@v1.1.0-beta.5) (2025-08-19)
70
+
71
+
72
+ ### Bug Fixes
73
+
74
+ * **deps:** bump the javascript group in /chat-ui with 6 updates ([#934](https://github.com/visma-swno/vsn-assistant/issues/934)) ([0f948e9](https://github.com/visma-swno/vsn-assistant/commit/0f948e94dc206b5d342710f51b6bacfe2753bd9b))
75
+
76
+ ## [1.1.0-beta.4](https://github.com/visma-swno/vsn-assistant/compare/chat-ui@v1.1.0-beta.3...chat-ui@v1.1.0-beta.4) (2025-08-11)
77
+
78
+
79
+ ### Bug Fixes
80
+
81
+ * **markdown:** wrap text overflow ([#921](https://github.com/visma-swno/vsn-assistant/issues/921)) ([3b79c37](https://github.com/visma-swno/vsn-assistant/commit/3b79c375d1e5ddca3cf4b0f8712624403488c47a))
82
+
83
+ ## [1.1.0-beta.3](https://github.com/visma-swno/vsn-assistant/compare/chat-ui@v1.1.0-beta.2...chat-ui@v1.1.0-beta.3) (2025-08-08)
84
+
85
+
86
+ ### Features
87
+
88
+ * add language support for swedish and danish ([#915](https://github.com/visma-swno/vsn-assistant/issues/915)) ([ec84bac](https://github.com/visma-swno/vsn-assistant/commit/ec84bacd69e4ca7ad0f7bd02bcd4928bc39f4310))
89
+
90
+ ## [1.1.0-beta.2](https://github.com/visma-swno/vsn-assistant/compare/chat-ui@v1.1.0-beta.1...chat-ui@v1.1.0-beta.2) (2025-08-08)
91
+
92
+
93
+ ### Bug Fixes
94
+
95
+ * prevent users from sending a new message while previous is processing ([#913](https://github.com/visma-swno/vsn-assistant/issues/913)) ([c2e1320](https://github.com/visma-swno/vsn-assistant/commit/c2e13205f9e37b751e97724217799c32773214fb)), closes [#895](https://github.com/visma-swno/vsn-assistant/issues/895)
96
+ * prevent users from sending feedback before conversation is started ([#912](https://github.com/visma-swno/vsn-assistant/issues/912)) ([8305d9a](https://github.com/visma-swno/vsn-assistant/commit/8305d9a2c2bb63a444cc18e176be323b3e321e43))
97
+
98
+ ## [1.1.0-beta.1](https://github.com/visma-swno/vsn-assistant/compare/chat-ui@v1.1.0-beta...chat-ui@v1.1.0-beta.1) (2025-08-07)
99
+
100
+
101
+ ### Features
102
+
103
+ * add feedback UI ([#899](https://github.com/visma-swno/vsn-assistant/issues/899)) ([6b67cc9](https://github.com/visma-swno/vsn-assistant/commit/6b67cc9944100e5b0e0cab1499bc4901c4e66d54))
104
+
105
+ ## 1.1.0-beta (2025-08-06)
106
+
107
+
108
+ ### Features
109
+
110
+ * add localization ([#876](https://github.com/visma-swno/vsn-assistant/issues/876)) ([98307bc](https://github.com/visma-swno/vsn-assistant/commit/98307bc25be4d9588fd2877c967fe869267d440e)), closes [#269](https://github.com/visma-swno/vsn-assistant/issues/269)
111
+ * Add liveleader support ([#661](https://github.com/visma-swno/vsn-assistant/issues/661)) ([76b79ab](https://github.com/visma-swno/vsn-assistant/commit/76b79ab678f8ea3d31a45101f4d5012cbc40dded))
112
+ * **api:** Refactor chat messages ([#634](https://github.com/visma-swno/vsn-assistant/issues/634)) ([3b7ecf9](https://github.com/visma-swno/vsn-assistant/commit/3b7ecf971f2f35011d6cabafb3fed6d3fbaaa824))
113
+
114
+
115
+ ### Bug Fixes
116
+
117
+ * update release ([#887](https://github.com/visma-swno/vsn-assistant/issues/887)) ([dd19931](https://github.com/visma-swno/vsn-assistant/commit/dd19931d63677dfcb1e2c50bee75abaa9294ea02))
118
+ * **security:** bump koa dependency to patched version ([#860](https://github.com/visma-swno/vsn-assistant/issues/860)) ([ccf58d5](https://github.com/visma-swno/vsn-assistant/commit/ccf58d50acd3cf989df7d19ba569372f15ce4e2b))
119
+ * brace-expansion Regular Expression Denial of Service vulnerability ([#845](https://github.com/visma-swno/vsn-assistant/issues/845)) ([233a2d8](https://github.com/visma-swno/vsn-assistant/commit/233a2d8eaf9681eb2896a72894304a84894d0ddb))
120
+ * **deps:** bump marked from 15.0.11 to 16.1.2 in /chat-ui ([#840](https://github.com/visma-swno/vsn-assistant/issues/840)) ([2a740fc](https://github.com/visma-swno/vsn-assistant/commit/2a740fc124a81e7ebd2d8c123c43420c79ebb522))
121
+ * allow typing new message while waiting for AI response ([#724](https://github.com/visma-swno/vsn-assistant/issues/724)) ([fb52a24](https://github.com/visma-swno/vsn-assistant/commit/fb52a243a3106eb2d705a86af4120f5dae7a72c2))
122
+ * **api:** Improve conversation stream ([#632](https://github.com/visma-swno/vsn-assistant/issues/632)) ([74be1f6](https://github.com/visma-swno/vsn-assistant/commit/74be1f6243479f09d82c14239327e97f54afcb11))
123
+ * **chat-ui:** Add error handler ([#639](https://github.com/visma-swno/vsn-assistant/issues/639)) ([a0ea255](https://github.com/visma-swno/vsn-assistant/commit/a0ea2556d5143fcf2bb496b42ca69ec3cbc5ba6c))
124
+ * **chat-ui:** Add user input length limitations ([#654](https://github.com/visma-swno/vsn-assistant/issues/654)) ([3f9c867](https://github.com/visma-swno/vsn-assistant/commit/3f9c867eaa6d0cea2757297fdb620edf035432ea)), closes [#648](https://github.com/visma-swno/vsn-assistant/issues/648)
125
+ * **chat-ui:** Make team-id optional ([#545](https://github.com/visma-swno/vsn-assistant/issues/545)) ([9030f45](https://github.com/visma-swno/vsn-assistant/commit/9030f450cff05e693bdd1ffbe09f01956c94e55a))
126
+ * **chat-ui:** Read expiration time from token payload ([#624](https://github.com/visma-swno/vsn-assistant/issues/624)) ([78096df](https://github.com/visma-swno/vsn-assistant/commit/78096dffe95dd343ba8347bfc8df86078ac91a0f))
127
+ * **chat-ui:** update package version ([#663](https://github.com/visma-swno/vsn-assistant/issues/663)) ([4ab1927](https://github.com/visma-swno/vsn-assistant/commit/4ab19273476b03308a1ee696e9151e09c1fe6c13))
128
+ * **chat-ui:** Update popover to latest Gaia guidelines ([#565](https://github.com/visma-swno/vsn-assistant/issues/565)) ([0ad466d](https://github.com/visma-swno/vsn-assistant/commit/0ad466d74ea26a736855e06760d7c41d9de901bc))
129
+ * set initial beta-version ([#770](https://github.com/visma-swno/vsn-assistant/issues/770)) ([e77e00a](https://github.com/visma-swno/vsn-assistant/commit/e77e00affe7a14975aec51bca202eeed497aa217))
package/README.md CHANGED
@@ -1,33 +1,33 @@
1
- # @visma-swno/gaia-chat-ui
2
-
3
- Web component library for the Gaia Assistant Chat UI, built with Lit for Visma Software Nordic products.
4
-
5
- ## Installation
6
-
7
- ```bash
8
- npm install @visma-swno/gaia-chat-ui
9
- ```
10
-
11
- **Note:** This package requires `lit` as a peer dependency:
12
-
13
- ```bash
14
- npm install lit@^3.3.0
15
- ```
16
-
17
- ## Usage
18
-
19
- ```javascript
20
- import '@visma-swno/gaia-chat-ui';
21
- ```
22
-
23
- ```html
24
- <gaia-chat
25
- profile-id="default"
26
- base-url="https://your-api-endpoint.com"
27
- team-id="your-team-id">
28
- </gaia-chat>
29
- ```
30
-
31
- ## Documentation
32
-
33
- For detailed documentation and development instructions, see the [main repository](https://github.com/visma-swno/vsn-assistant).
1
+ # @visma-swno/gaia-chat-ui
2
+
3
+ Web component library for the Gaia Assistant Chat UI, built with Lit for Visma Software Nordic products.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install @visma-swno/gaia-chat-ui
9
+ ```
10
+
11
+ **Note:** This package requires `lit` as a peer dependency:
12
+
13
+ ```bash
14
+ npm install lit@^3.3.0
15
+ ```
16
+
17
+ ## Usage
18
+
19
+ ```javascript
20
+ import '@visma-swno/gaia-chat-ui';
21
+ ```
22
+
23
+ ```html
24
+ <gaia-chat
25
+ profile-id="default"
26
+ base-url="https://your-api-endpoint.com"
27
+ team-id="your-team-id">
28
+ </gaia-chat>
29
+ ```
30
+
31
+ ## Documentation
32
+
33
+ For detailed documentation and development instructions, see the [main repository](https://github.com/visma-swno/vsn-assistant).
@@ -0,0 +1,13 @@
1
+ export type AuthTokenExpiringDetail = {
2
+ expiresAt: number;
3
+ isVisitor: boolean;
4
+ };
5
+ export declare class AuthTokenExpiringEvent extends CustomEvent<AuthTokenExpiringDetail> {
6
+ constructor(detail: AuthTokenExpiringDetail);
7
+ }
8
+ declare global {
9
+ interface GlobalEventHandlersEventMap {
10
+ 'vsn-aiasst:token-expiring': AuthTokenExpiringEvent;
11
+ }
12
+ }
13
+ //# sourceMappingURL=auth.events.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"auth.events.d.ts","sourceRoot":"","sources":["../../../src/core/auth/auth.events.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,uBAAuB,GAAG;IACpC,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,qBAAa,sBAAuB,SAAQ,WAAW,CAAC,uBAAuB,CAAC;gBAClE,MAAM,EAAE,uBAAuB;CAG5C;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,2BAA2B;QACnC,2BAA2B,EAAE,sBAAsB,CAAC;KACrD;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"auth.store.d.ts","sourceRoot":"","sources":["../../../src/core/auth/auth.store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAEzC,OAAO,EAAE,SAAS,EAAmB,MAAM,cAAc,CAAC;AAG1D,qBAAa,SAAU,SAAQ,KAAK,CAAC,SAAS,CAAC;IAC7C,OAAO,CAAC,QAAQ,CAAC,eAAe,CAA8B;IAC9D,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAc;IAC/C,OAAO,CAAC,eAAe,CAAC,CAAiB;;IAclC,QAAQ,CAAC,KAAK,EAAE;QAAE,WAAW,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,OAAO,CAAA;KAAE;IAkB3D,UAAU;IAaV,aAAa,IAAI,OAAO;IAQxB,cAAc,IAAI,OAAO;IAIhC,OAAO,CAAC,eAAe;IAKvB,OAAO,CAAC,cAAc;IAItB,OAAO,CAAC,gBAAgB;IAmBxB,OAAO,CAAC,aAAa;IAIrB,OAAO,CAAC,qBAAqB;CAS9B;AAED,eAAO,MAAM,UAAU,WAAkB,CAAC"}
1
+ {"version":3,"file":"auth.store.d.ts","sourceRoot":"","sources":["../../../src/core/auth/auth.store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAGzC,OAAO,EAAE,SAAS,EAAmB,MAAM,cAAc,CAAC;AAG1D,qBAAa,SAAU,SAAQ,KAAK,CAAC,SAAS,CAAC;IAC7C,OAAO,CAAC,QAAQ,CAAC,eAAe,CAA8B;IAC9D,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAc;IAC/C,OAAO,CAAC,eAAe,CAAC,CAAiB;;IAclC,QAAQ,CAAC,KAAK,EAAE;QAAE,WAAW,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,OAAO,CAAA;KAAE;IAkB3D,UAAU;IAaV,aAAa,IAAI,OAAO;IAQxB,cAAc,IAAI,OAAO;IAIhC,OAAO,CAAC,eAAe;IAKvB,OAAO,CAAC,cAAc;IAItB,OAAO,CAAC,gBAAgB;IAmBxB,OAAO,CAAC,aAAa;IAIrB,OAAO,CAAC,qBAAqB;CAwB9B;AAED,eAAO,MAAM,UAAU,WAAkB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"http-client.d.ts","sourceRoot":"","sources":["../../../src/core/lib/http-client.ts"],"names":[],"mappings":"AAEA,UAAU,kBAAkB,CAAC,CAAC,CAAE,SAAQ,QAAQ;IAC9C,IAAI,IAAI,OAAO,CAAC,CAAC,CAAC,CAAC;CACpB;AAED,MAAM,MAAM,kBAAkB,GAAG,CAAC,GAAG,EAAE,WAAW,EAAE,MAAM,EAAE,WAAW,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC;AACjG,MAAM,MAAM,mBAAmB,GAAG,CAAC,QAAQ,EAAE,QAAQ,KAAK,OAAO,CAAC,QAAQ,CAAC,CAAC;AAE5E,cAAM,UAAU;IACd,OAAO,CAAC,QAAQ,CAAuB;IACvC,OAAO,CAAC,oBAAoB,CAA4B;IACxD,OAAO,CAAC,qBAAqB,CAA6B;IAEnD,UAAU,CAAC,OAAO,EAAE,MAAM;IAI1B,qBAAqB,CAAC,WAAW,EAAE,kBAAkB;IAMrD,wBAAwB,CAAC,WAAW,EAAE,kBAAkB;IAIxD,sBAAsB,CAAC,WAAW,EAAE,mBAAmB;IAMvD,yBAAyB,CAAC,WAAW,EAAE,mBAAmB;IAIpD,KAAK,CAAC,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,IAAI,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC;CAwB9F;AA2BD,eAAO,MAAM,UAAU,YAAmB,CAAC"}
1
+ {"version":3,"file":"http-client.d.ts","sourceRoot":"","sources":["../../../src/core/lib/http-client.ts"],"names":[],"mappings":"AAEA,UAAU,kBAAkB,CAAC,CAAC,CAAE,SAAQ,QAAQ;IAC9C,IAAI,IAAI,OAAO,CAAC,CAAC,CAAC,CAAC;CACpB;AAED,MAAM,MAAM,kBAAkB,GAAG,CAAC,GAAG,EAAE,WAAW,EAAE,MAAM,EAAE,WAAW,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC;AACjG,MAAM,MAAM,mBAAmB,GAAG,CAAC,QAAQ,EAAE,QAAQ,KAAK,OAAO,CAAC,QAAQ,CAAC,CAAC;AAE5E,cAAM,UAAU;IACd,OAAO,CAAC,QAAQ,CAAuB;IACvC,OAAO,CAAC,oBAAoB,CAA4B;IACxD,OAAO,CAAC,qBAAqB,CAA6B;IAEnD,UAAU,CAAC,OAAO,EAAE,MAAM;IAI1B,qBAAqB,CAAC,WAAW,EAAE,kBAAkB;IAMrD,wBAAwB,CAAC,WAAW,EAAE,kBAAkB;IAIxD,sBAAsB,CAAC,WAAW,EAAE,mBAAmB;IAMvD,yBAAyB,CAAC,WAAW,EAAE,mBAAmB;IAIpD,KAAK,CAAC,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,IAAI,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC;CA4B9F;AA2BD,eAAO,MAAM,UAAU,YAAmB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"da-BsSy6jeI.js","sources":["../src/generated/locales/da.ts"],"sourcesContent":["// Do not modify this file by hand!\r\n// Re-generate this file by running lit-localize\r\n\r\nimport { html } from 'lit';\r\n\r\nexport const templates = {\r\n disclaimer: html`Svar genereres af AI og kan indeholde fejl, læs mere\r\n <a\r\n target=\"_blank\"\r\n href=\"https://kundeportal.vismasoftware.no/s/article/Vilkår-for-bruk-av-Visma-Software-AI-chat\"\r\n >her</a\r\n >.`,\r\n s09205907b5b56cda: `Nej`,\r\n s2ceb11be2290bb1b: `Annuller`,\r\n s3268ae24bfefcd50: `Hvor tilfreds er du med assistenten?`,\r\n saf84ec86139d349e: `Kommentar`,\r\n safe7cbbedbdd4b29: `Del venligst dine tanker og forslag for at hjælpe os med at blive bedre.`,\r\n sb0759bcce7ad2b84: `Indsend feedback`,\r\n sbb588bb505779122: `Feedback`,\r\n sc740e4d9a2ce1498: `Din indtastning er for lang...`,\r\n scb489a1a173ac3f0: `Ja`,\r\n se732927e34ecb110: `Skriv din feedback her`,\r\n se7c56a68f0ecf6e9: `Indsender...`,\r\n sf2be273b4a117844: `Spørg om hvad som helst`,\r\n title: `Gaia`,\r\n 'welcome-message': `Hej! Jeg er **Gaia** - Visma Software Nordic AI-assistent.\r\n\r\nJeg kan hjælpe dig med at navigere i systemet og svare på eventuelle spørgsmål, du måtte have om vores produkter.\r\n\r\n**Hvad kan jeg hjælpe dig med i dag?**`,\r\n};\r\n"],"names":["templates","html"],"mappings":";AAKO,MAAMA,IAAY;AAAA,EACvB,YAAYC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMZ,mBAAmB;AAAA,EACnB,mBAAmB;AAAA,EACnB,mBAAmB;AAAA,EACnB,mBAAmB;AAAA,EACnB,mBAAmB;AAAA,EACnB,mBAAmB;AAAA,EACnB,mBAAmB;AAAA,EACnB,mBAAmB;AAAA,EACnB,mBAAmB;AAAA,EACnB,mBAAmB;AAAA,EACnB,mBAAmB;AAAA,EACnB,mBAAmB;AAAA,EACnB,OAAO;AAAA,EACP,mBAAmB;AAAA;AAAA;AAAA;AAAA;AAKrB;"}
1
+ {"version":3,"file":"da-BsSy6jeI.js","sources":["../src/generated/locales/da.ts"],"sourcesContent":["// Do not modify this file by hand!\n// Re-generate this file by running lit-localize\n\nimport { html } from 'lit';\n\nexport const templates = {\n disclaimer: html`Svar genereres af AI og kan indeholde fejl, læs mere\n <a\n target=\"_blank\"\n href=\"https://kundeportal.vismasoftware.no/s/article/Vilkår-for-bruk-av-Visma-Software-AI-chat\"\n >her</a\n >.`,\n s09205907b5b56cda: `Nej`,\n s2ceb11be2290bb1b: `Annuller`,\n s3268ae24bfefcd50: `Hvor tilfreds er du med assistenten?`,\n saf84ec86139d349e: `Kommentar`,\n safe7cbbedbdd4b29: `Del venligst dine tanker og forslag for at hjælpe os med at blive bedre.`,\n sb0759bcce7ad2b84: `Indsend feedback`,\n sbb588bb505779122: `Feedback`,\n sc740e4d9a2ce1498: `Din indtastning er for lang...`,\n scb489a1a173ac3f0: `Ja`,\n se732927e34ecb110: `Skriv din feedback her`,\n se7c56a68f0ecf6e9: `Indsender...`,\n sf2be273b4a117844: `Spørg om hvad som helst`,\n title: `Gaia`,\n 'welcome-message': `Hej! Jeg er **Gaia** - Visma Software Nordic AI-assistent.\n\nJeg kan hjælpe dig med at navigere i systemet og svare på eventuelle spørgsmål, du måtte have om vores produkter.\n\n**Hvad kan jeg hjælpe dig med i dag?**`,\n};\n"],"names":["templates","html"],"mappings":";AAKO,MAAMA,IAAY;AAAA,EACvB,YAAYC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMZ,mBAAmB;AAAA,EACnB,mBAAmB;AAAA,EACnB,mBAAmB;AAAA,EACnB,mBAAmB;AAAA,EACnB,mBAAmB;AAAA,EACnB,mBAAmB;AAAA,EACnB,mBAAmB;AAAA,EACnB,mBAAmB;AAAA,EACnB,mBAAmB;AAAA,EACnB,mBAAmB;AAAA,EACnB,mBAAmB;AAAA,EACnB,mBAAmB;AAAA,EACnB,OAAO;AAAA,EACP,mBAAmB;AAAA;AAAA;AAAA;AAAA;AAKrB;"}