@gitlab/ui 102.1.5 → 102.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 +14 -0
- package/dist/components/experimental/duo/chat/duo_chat.js +11 -0
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/tailwind.css +1 -1
- package/dist/tailwind.css.map +1 -1
- package/package.json +1 -1
- package/src/components/base/infinite_scroll/infinite_scroll.scss +2 -1
- package/src/components/experimental/duo/chat/duo_chat.vue +11 -0
- package/dist/vendor/bootstrap-vue/src/index.js +0 -72
- package/src/vendor/bootstrap-vue/src/index.js +0 -159
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [102.2.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v102.1.6...v102.2.0) (2024-11-14)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **DuoChat:** Emit chat-slash event on slash commands opened ([07d8ed6](https://gitlab.com/gitlab-org/gitlab-ui/commit/07d8ed6062ca498bfcf7a2b156dcae6deaf7b08f))
|
|
7
|
+
|
|
8
|
+
## [102.1.6](https://gitlab.com/gitlab-org/gitlab-ui/compare/v102.1.5...v102.1.6) (2024-11-14)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **GlInfiniteScroll:** legend styles to use design token ([74cef1a](https://gitlab.com/gitlab-org/gitlab-ui/commit/74cef1abb0291992e30dd042101a7d73502bbc60))
|
|
14
|
+
|
|
1
15
|
## [102.1.5](https://gitlab.com/gitlab-org/gitlab-ui/compare/v102.1.4...v102.1.5) (2024-11-14)
|
|
2
16
|
|
|
3
17
|
|
|
@@ -310,6 +310,11 @@ var script = {
|
|
|
310
310
|
// or if the user has just submitted a new message
|
|
311
311
|
this.scrollToBottom();
|
|
312
312
|
}
|
|
313
|
+
},
|
|
314
|
+
shouldShowSlashCommands(shouldShow) {
|
|
315
|
+
if (shouldShow) {
|
|
316
|
+
this.onShowSlashCommands();
|
|
317
|
+
}
|
|
313
318
|
}
|
|
314
319
|
},
|
|
315
320
|
created() {
|
|
@@ -394,6 +399,12 @@ var script = {
|
|
|
394
399
|
*/
|
|
395
400
|
this.$emit('track-feedback', event);
|
|
396
401
|
},
|
|
402
|
+
onShowSlashCommands() {
|
|
403
|
+
/**
|
|
404
|
+
* Emitted when user opens the slash commands menu
|
|
405
|
+
*/
|
|
406
|
+
this.$emit('chat-slash');
|
|
407
|
+
},
|
|
397
408
|
sendChatPromptOnEnter(e) {
|
|
398
409
|
const {
|
|
399
410
|
metaKey,
|