@gitlab/ui 85.12.1 → 85.12.2

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 (32) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/components/base/skeleton_loader/skeleton_loader.js +3 -3
  3. package/dist/components/experimental/duo/chat/constants.js +2 -1
  4. package/dist/components/experimental/duo/chat/duo_chat.js +2 -2
  5. package/dist/index.css +2 -2
  6. package/dist/index.css.map +1 -1
  7. package/dist/tokens/build/js/tokens.dark.js +31 -1
  8. package/dist/tokens/build/js/tokens.js +31 -1
  9. package/dist/tokens/css/tokens.css +30 -0
  10. package/dist/tokens/css/tokens.dark.css +30 -0
  11. package/dist/tokens/js/tokens.dark.js +30 -0
  12. package/dist/tokens/js/tokens.js +30 -0
  13. package/dist/tokens/json/tokens.dark.json +753 -0
  14. package/dist/tokens/json/tokens.json +753 -0
  15. package/dist/tokens/scss/_tokens.dark.scss +30 -0
  16. package/dist/tokens/scss/_tokens.scss +30 -0
  17. package/dist/tokens/scss/_tokens_custom_properties.scss +30 -0
  18. package/package.json +1 -1
  19. package/src/components/base/skeleton_loader/skeleton_loader.scss +2 -2
  20. package/src/components/base/skeleton_loader/skeleton_loader.vue +3 -3
  21. package/src/components/experimental/duo/chat/constants.js +1 -0
  22. package/src/components/experimental/duo/chat/duo_chat.vue +2 -2
  23. package/src/tokens/action.tokens.json +261 -0
  24. package/src/tokens/build/css/tokens.css +30 -0
  25. package/src/tokens/build/css/tokens.dark.css +30 -0
  26. package/src/tokens/build/js/tokens.dark.js +30 -0
  27. package/src/tokens/build/js/tokens.js +30 -0
  28. package/src/tokens/build/json/tokens.dark.json +753 -0
  29. package/src/tokens/build/json/tokens.json +753 -0
  30. package/src/tokens/build/scss/_tokens.dark.scss +30 -0
  31. package/src/tokens/build/scss/_tokens.scss +30 -0
  32. package/src/tokens/build/scss/_tokens_custom_properties.scss +30 -0
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [85.12.2](https://gitlab.com/gitlab-org/gitlab-ui/compare/v85.12.1...v85.12.2) (2024-07-01)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **DuoChat:** don't show cancel button on clear command ([229f81c](https://gitlab.com/gitlab-org/gitlab-ui/commit/229f81c6ffc178a86304a5db76561c048dea6770))
7
+
1
8
  ## [85.12.1](https://gitlab.com/gitlab-org/gitlab-ui/compare/v85.12.0...v85.12.1) (2024-06-28)
2
9
 
3
10
 
@@ -138,7 +138,7 @@ var script = {
138
138
  id: `${props.uniqueKey}-idGradient`
139
139
  }
140
140
  }, [createElement('stop', {
141
- class: 'primary-stop',
141
+ class: 'background-stop',
142
142
  attrs: {
143
143
  offset: '0%'
144
144
  }
@@ -150,7 +150,7 @@ var script = {
150
150
  repeatCount: 'indefinite'
151
151
  }
152
152
  })]), createElement('stop', {
153
- class: 'secondary-stop',
153
+ class: 'shimmer-stop',
154
154
  attrs: {
155
155
  offset: '50%'
156
156
  }
@@ -162,7 +162,7 @@ var script = {
162
162
  repeatCount: 'indefinite'
163
163
  }
164
164
  })]), createElement('stop', {
165
- class: 'primary-stop',
165
+ class: 'background-stop',
166
166
  attrs: {
167
167
  offset: '100%'
168
168
  }
@@ -1,5 +1,6 @@
1
1
  const CHAT_RESET_MESSAGE = '/reset';
2
2
  const CHAT_CLEAN_MESSAGE = '/clean';
3
+ const CHAT_CLEAR_MESSAGE = '/clear';
3
4
  const LOADING_TRANSITION_DURATION = 7500;
4
5
  const DOCUMENTATION_SOURCE_TYPES = {
5
6
  HANDBOOK: {
@@ -21,4 +22,4 @@ const MESSAGE_MODEL_ROLES = {
21
22
  assistant: 'assistant'
22
23
  };
23
24
 
24
- export { CHAT_CLEAN_MESSAGE, CHAT_RESET_MESSAGE, DOCUMENTATION_SOURCE_TYPES, LOADING_TRANSITION_DURATION, MESSAGE_MODEL_ROLES };
25
+ export { CHAT_CLEAN_MESSAGE, CHAT_CLEAR_MESSAGE, CHAT_RESET_MESSAGE, DOCUMENTATION_SOURCE_TYPES, LOADING_TRANSITION_DURATION, MESSAGE_MODEL_ROLES };
@@ -15,7 +15,7 @@ import { SafeHtmlDirective } from '../../../../directives/safe_html/safe_html';
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_CLEAN_MESSAGE } from './constants';
18
+ import { CHAT_RESET_MESSAGE, CHAT_CLEAN_MESSAGE, CHAT_CLEAR_MESSAGE } from './constants';
19
19
  import __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.js';
20
20
 
21
21
  const i18n = {
@@ -296,7 +296,7 @@ var script = {
296
296
  * @param {String} prompt The user prompt to send.
297
297
  */
298
298
 
299
- if (![CHAT_RESET_MESSAGE, CHAT_CLEAN_MESSAGE].includes(this.prompt)) {
299
+ if (![CHAT_RESET_MESSAGE, CHAT_CLEAN_MESSAGE, CHAT_CLEAR_MESSAGE].includes(this.prompt)) {
300
300
  this.displaySubmitButton = false;
301
301
  }
302
302
  this.$emit('send-chat-prompt', this.prompt.trim());