@gitlab/ui 95.5.1 → 96.0.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,3 +1,24 @@
1
+ # [96.0.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v95.6.0...v96.0.0) (2024-10-10)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **DuoChat:** Remove the clean slash command ([eb10c71](https://gitlab.com/gitlab-org/gitlab-ui/commit/eb10c71d3c31210063bfd9bf526531118cf2242c))
7
+
8
+
9
+ ### BREAKING CHANGES
10
+
11
+ * **DuoChat:** Remove support for using /clean slash command.
12
+ Use documented /clear command.
13
+
14
+ # [95.6.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v95.5.1...v95.6.0) (2024-10-09)
15
+
16
+
17
+ ### Features
18
+
19
+ * **toggle:** fix typos in design tokens ([fde8641](https://gitlab.com/gitlab-org/gitlab-ui/commit/fde86411df64ef504689fb8b55d44d0391477069))
20
+ * **toggle:** Use design tokens in place of legacy color styling ([a094269](https://gitlab.com/gitlab-org/gitlab-ui/commit/a094269c8b583e5b8b6beaff23610df97f5557d9))
21
+
1
22
  ## [95.5.1](https://gitlab.com/gitlab-org/gitlab-ui/compare/v95.5.0...v95.5.1) (2024-10-09)
2
23
 
3
24
 
@@ -1,5 +1,4 @@
1
1
  const CHAT_RESET_MESSAGE = '/reset';
2
- const CHAT_CLEAN_MESSAGE = '/clean';
3
2
  const CHAT_CLEAR_MESSAGE = '/clear';
4
3
  const CHAT_INCLUDE_MESSAGE = '/include';
5
4
  const LOADING_TRANSITION_DURATION = 7500;
@@ -24,4 +23,4 @@ const MESSAGE_MODEL_ROLES = {
24
23
  };
25
24
  const SELECTED_CONTEXT_ITEMS_DEFAULT_COLLAPSED = true;
26
25
 
27
- export { CHAT_CLEAN_MESSAGE, CHAT_CLEAR_MESSAGE, CHAT_INCLUDE_MESSAGE, CHAT_RESET_MESSAGE, DOCUMENTATION_SOURCE_TYPES, LOADING_TRANSITION_DURATION, MESSAGE_MODEL_ROLES, SELECTED_CONTEXT_ITEMS_DEFAULT_COLLAPSED };
26
+ export { CHAT_CLEAR_MESSAGE, CHAT_INCLUDE_MESSAGE, CHAT_RESET_MESSAGE, DOCUMENTATION_SOURCE_TYPES, LOADING_TRANSITION_DURATION, MESSAGE_MODEL_ROLES, SELECTED_CONTEXT_ITEMS_DEFAULT_COLLAPSED };
@@ -15,7 +15,7 @@ import { translate } from '../../../../utils/i18n';
15
15
  import GlDuoChatLoader from './components/duo_chat_loader/duo_chat_loader';
16
16
  import GlDuoChatPredefinedPrompts from './components/duo_chat_predefined_prompts/duo_chat_predefined_prompts';
17
17
  import GlDuoChatConversation from './components/duo_chat_conversation/duo_chat_conversation';
18
- import { CHAT_RESET_MESSAGE, CHAT_INCLUDE_MESSAGE, MESSAGE_MODEL_ROLES, CHAT_CLEAN_MESSAGE, CHAT_CLEAR_MESSAGE } from './constants';
18
+ import { CHAT_RESET_MESSAGE, CHAT_INCLUDE_MESSAGE, MESSAGE_MODEL_ROLES, CHAT_CLEAR_MESSAGE } from './constants';
19
19
  import __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.js';
20
20
 
21
21
  const i18n = {
@@ -342,7 +342,7 @@ var script = {
342
342
  this.contextItemsMenuIsOpen = true;
343
343
  return;
344
344
  }
345
- if (![CHAT_RESET_MESSAGE, CHAT_CLEAN_MESSAGE, CHAT_CLEAR_MESSAGE].includes(this.caseInsensitivePrompt)) {
345
+ if (![CHAT_RESET_MESSAGE, CHAT_CLEAR_MESSAGE].includes(this.caseInsensitivePrompt)) {
346
346
  this.displaySubmitButton = false;
347
347
  }
348
348
 
@@ -1,5 +1,5 @@
1
1
  import { setStoryTimeout } from '../../../../utils/test_utils';
2
- import { DOCUMENTATION_SOURCE_TYPES, MESSAGE_MODEL_ROLES, CHAT_RESET_MESSAGE, CHAT_CLEAN_MESSAGE, CHAT_INCLUDE_MESSAGE } from './constants';
2
+ import { DOCUMENTATION_SOURCE_TYPES, MESSAGE_MODEL_ROLES, CHAT_RESET_MESSAGE, CHAT_CLEAR_MESSAGE, CHAT_INCLUDE_MESSAGE } from './constants';
3
3
  import { getMockContextItems } from './components/duo_chat_context/mock_context_data';
4
4
 
5
5
  const MOCK_SOURCES = [{
@@ -141,7 +141,7 @@ const SLASH_COMMANDS = [{
141
141
  shouldSubmit: true,
142
142
  description: 'Reset conversation, ignore the previous messages.'
143
143
  }, {
144
- name: CHAT_CLEAN_MESSAGE,
144
+ name: CHAT_CLEAR_MESSAGE,
145
145
  shouldSubmit: true,
146
146
  description: 'Delete all messages in this conversation.'
147
147
  }, {