@gitlab/ui 85.12.1 → 85.13.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 +15 -0
- package/dist/components/base/skeleton_loader/skeleton_loader.js +3 -3
- package/dist/components/experimental/duo/chat/constants.js +2 -1
- package/dist/components/experimental/duo/chat/duo_chat.js +5 -2
- package/dist/index.css +2 -2
- package/dist/index.css.map +1 -1
- package/dist/tokens/build/js/tokens.dark.js +34 -1
- package/dist/tokens/build/js/tokens.js +34 -1
- package/dist/tokens/css/tokens.css +33 -0
- package/dist/tokens/css/tokens.dark.css +33 -0
- package/dist/tokens/js/tokens.dark.js +33 -0
- package/dist/tokens/js/tokens.js +33 -0
- package/dist/tokens/json/tokens.dark.json +827 -0
- package/dist/tokens/json/tokens.json +827 -0
- package/dist/tokens/scss/_tokens.dark.scss +33 -0
- package/dist/tokens/scss/_tokens.scss +33 -0
- package/dist/tokens/scss/_tokens_custom_properties.scss +33 -0
- package/dist/utility_classes.css +1 -1
- package/dist/utility_classes.css.map +1 -1
- package/package.json +1 -2
- package/src/components/base/form/form_checkbox/form_checkbox.scss +55 -36
- package/src/components/base/skeleton_loader/skeleton_loader.scss +2 -2
- package/src/components/base/skeleton_loader/skeleton_loader.vue +3 -3
- package/src/components/experimental/duo/chat/constants.js +1 -0
- package/src/components/experimental/duo/chat/duo_chat.md +11 -1
- package/src/components/experimental/duo/chat/duo_chat.vue +5 -2
- package/src/scss/mixins.scss +4 -3
- package/src/scss/variables.scss +5 -4
- package/src/tokens/action.tokens.json +261 -0
- package/src/tokens/build/css/tokens.css +33 -0
- package/src/tokens/build/css/tokens.dark.css +33 -0
- package/src/tokens/build/js/tokens.dark.js +33 -0
- package/src/tokens/build/js/tokens.js +33 -0
- package/src/tokens/build/json/tokens.dark.json +827 -0
- package/src/tokens/build/json/tokens.json +827 -0
- package/src/tokens/build/scss/_tokens.dark.scss +33 -0
- package/src/tokens/build/scss/_tokens.scss +33 -0
- package/src/tokens/build/scss/_tokens_custom_properties.scss +33 -0
- package/src/tokens/control.tokens.json +26 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
# [85.13.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v85.12.2...v85.13.0) (2024-07-03)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **GlFormRadio,GlFormCheckbox:** Use color design tokens ([62d3cdd](https://gitlab.com/gitlab-org/gitlab-ui/commit/62d3cdd421fdd7b978abe80c3600008ce7d984c9))
|
|
7
|
+
* Add design tokens for control border color selected ([246b88e](https://gitlab.com/gitlab-org/gitlab-ui/commit/246b88ed7911269b473110da90bb8f64097cc8a2))
|
|
8
|
+
|
|
9
|
+
## [85.12.2](https://gitlab.com/gitlab-org/gitlab-ui/compare/v85.12.1...v85.12.2) (2024-07-01)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* **DuoChat:** don't show cancel button on clear command ([229f81c](https://gitlab.com/gitlab-org/gitlab-ui/commit/229f81c6ffc178a86304a5db76561c048dea6770))
|
|
15
|
+
|
|
1
16
|
## [85.12.1](https://gitlab.com/gitlab-org/gitlab-ui/compare/v85.12.0...v85.12.1) (2024-06-28)
|
|
2
17
|
|
|
3
18
|
|
|
@@ -138,7 +138,7 @@ var script = {
|
|
|
138
138
|
id: `${props.uniqueKey}-idGradient`
|
|
139
139
|
}
|
|
140
140
|
}, [createElement('stop', {
|
|
141
|
-
class: '
|
|
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: '
|
|
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: '
|
|
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 = {
|
|
@@ -76,6 +76,9 @@ var script = {
|
|
|
76
76
|
default: () => [],
|
|
77
77
|
validator: itemsValidator
|
|
78
78
|
},
|
|
79
|
+
/**
|
|
80
|
+
* Array of RequestIds that have been canceled.
|
|
81
|
+
*/
|
|
79
82
|
canceledRequestIds: {
|
|
80
83
|
type: Array,
|
|
81
84
|
required: false,
|
|
@@ -296,7 +299,7 @@ var script = {
|
|
|
296
299
|
* @param {String} prompt The user prompt to send.
|
|
297
300
|
*/
|
|
298
301
|
|
|
299
|
-
if (![CHAT_RESET_MESSAGE, CHAT_CLEAN_MESSAGE].includes(this.prompt)) {
|
|
302
|
+
if (![CHAT_RESET_MESSAGE, CHAT_CLEAN_MESSAGE, CHAT_CLEAR_MESSAGE].includes(this.prompt)) {
|
|
300
303
|
this.displaySubmitButton = false;
|
|
301
304
|
}
|
|
302
305
|
this.$emit('send-chat-prompt', this.prompt.trim());
|