@gitlab/ui 87.1.2 → 87.2.1
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/workflow/components/duo_workflow_panel/duo_workflow_panel.js +100 -0
- package/dist/components/experimental/duo/workflow/components/duo_workflow_prompt/duo_workflow_prompt.js +238 -0
- package/dist/index.css.map +1 -1
- package/dist/index.js +2 -0
- package/dist/tailwind.css +1 -1
- package/dist/tailwind.css.map +1 -1
- package/dist/tokens/build/js/tokens.dark.js +1 -1
- package/dist/tokens/build/js/tokens.js +1 -1
- package/dist/tokens/css/tokens.css +1 -1
- package/dist/tokens/css/tokens.dark.css +1 -1
- package/dist/tokens/js/tokens.dark.js +1 -1
- package/dist/tokens/js/tokens.js +1 -1
- package/dist/tokens/json/tokens.dark.json +2 -2
- package/dist/tokens/json/tokens.json +2 -2
- package/dist/tokens/scss/_tokens.dark.scss +1 -1
- package/dist/tokens/scss/_tokens.scss +1 -1
- package/package.json +1 -1
- package/src/components/base/avatar/avatar.scss +2 -2
- package/src/components/base/broadcast_message/broadcast_message.scss +2 -2
- package/src/components/base/button/button.scss +1 -1
- package/src/components/base/card/card.scss +1 -1
- package/src/components/base/datepicker/datepicker.scss +3 -3
- package/src/components/base/dropdown/dropdown.scss +2 -2
- package/src/components/base/filtered_search/filtered_search.scss +1 -1
- package/src/components/base/markdown/markdown.scss +3 -3
- package/src/components/base/modal/modal.scss +1 -1
- package/src/components/base/new_dropdowns/dropdown_item.scss +2 -2
- package/src/components/base/segmented_control/segmented_control.scss +1 -1
- package/src/components/base/toast/toast.scss +1 -1
- package/src/components/base/tooltip/tooltip.scss +1 -1
- package/src/components/charts/single_stat/single_stat.scss +1 -1
- package/src/components/experimental/duo/chat/duo_chat.scss +1 -1
- package/src/components/experimental/duo/workflow/components/duo_workflow_panel/duo_workflow_panel.md +29 -0
- package/src/components/experimental/duo/workflow/components/duo_workflow_panel/duo_workflow_panel.vue +87 -0
- package/src/components/experimental/duo/workflow/components/duo_workflow_prompt/duo_workflow_prompt.md +37 -0
- package/src/components/experimental/duo/workflow/components/duo_workflow_prompt/duo_workflow_prompt.vue +261 -0
- package/src/index.js +2 -0
- package/src/tokens/action.tokens.json +1 -1
- package/src/tokens/build/css/tokens.css +1 -1
- package/src/tokens/build/css/tokens.dark.css +1 -1
- package/src/tokens/build/js/tokens.dark.js +1 -1
- package/src/tokens/build/js/tokens.js +1 -1
- package/src/tokens/build/json/tokens.dark.json +2 -2
- package/src/tokens/build/json/tokens.json +2 -2
- package/src/tokens/build/scss/_tokens.dark.scss +1 -1
- package/src/tokens/build/scss/_tokens.scss +1 -1
- package/translations.js +12 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
This is the UI panel to capture the user's AI prompt for Duo Workflow. This
|
|
2
|
+
prompt is emitted upwards so it may be sent to the Duo Workflow service.
|
|
3
|
+
|
|
4
|
+
## Usage
|
|
5
|
+
|
|
6
|
+
To use this component, import it and be sure to set the following props:
|
|
7
|
+
|
|
8
|
+
* `prompt`: the prompt the user enters, can be provided if the prompt has been
|
|
9
|
+
cached
|
|
10
|
+
* `summary`: the summary of the goal as provided by the Duo Workflow service,
|
|
11
|
+
displayed adjacent to the title
|
|
12
|
+
* `loading`: sets the loading state for the panel while waiting on responses
|
|
13
|
+
|
|
14
|
+
Also listen to the following events:
|
|
15
|
+
|
|
16
|
+
* `update:prompt`: Emitted when the prompt textarea's `input` event fires, when
|
|
17
|
+
the text within the textarea is changed
|
|
18
|
+
* `update:image`: Emitted when the image input's `input` event fires, when the
|
|
19
|
+
text within the input is changed
|
|
20
|
+
* `confirm`: Emitted when the confirm button is clicked
|
|
21
|
+
* `cancel`: Emitted when the cancel button is clicked
|
|
22
|
+
|
|
23
|
+
Translations for the title of the panel, labels, and other strings can be set via
|
|
24
|
+
the props as documented or via translation configuration:
|
|
25
|
+
|
|
26
|
+
```js
|
|
27
|
+
setConfigs({
|
|
28
|
+
translations: {
|
|
29
|
+
'GlDuoWorkflowPrompt.header': __('Plan'),
|
|
30
|
+
'GlDuoWorkflowPrompt.promptLabel': __('Prompt'),
|
|
31
|
+
'GlDuoWorkflowPrompt.promptLabelDescription': __('What is your task?'),
|
|
32
|
+
'GlDuoWorkflowPrompt.promptDescription': __('Be specific and include references!'),
|
|
33
|
+
'GlDuoWorkflowPrompt.confirmButtonText': __('Start plan'),
|
|
34
|
+
'GlDuoWorkflowPrompt.cancelButtonText': __('Stop'),
|
|
35
|
+
},
|
|
36
|
+
});
|
|
37
|
+
```
|
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
import GlDuoWorkflowPanel from '../duo_workflow_panel/duo_workflow_panel.vue';
|
|
3
|
+
import GlButton from '../../../../../base/button/button.vue';
|
|
4
|
+
import GlFormGroup from '../../../../../base/form/form_group/form_group.vue';
|
|
5
|
+
import GlFormTextarea from '../../../../../base/form/form_textarea/form_textarea.vue';
|
|
6
|
+
import GlFormInput from '../../../../../base/form/form_input/form_input.vue';
|
|
7
|
+
import { translate } from '../../../../../../utils/i18n';
|
|
8
|
+
|
|
9
|
+
export default {
|
|
10
|
+
name: 'GlDuoWorkflowPrompt',
|
|
11
|
+
components: {
|
|
12
|
+
GlDuoWorkflowPanel,
|
|
13
|
+
GlButton,
|
|
14
|
+
GlFormGroup,
|
|
15
|
+
GlFormInput,
|
|
16
|
+
GlFormTextarea,
|
|
17
|
+
},
|
|
18
|
+
props: {
|
|
19
|
+
/**
|
|
20
|
+
* The prompt the user has entered
|
|
21
|
+
*/
|
|
22
|
+
prompt: {
|
|
23
|
+
type: String,
|
|
24
|
+
required: false,
|
|
25
|
+
default: '',
|
|
26
|
+
},
|
|
27
|
+
/**
|
|
28
|
+
* The image to run the workflow in
|
|
29
|
+
*/
|
|
30
|
+
image: {
|
|
31
|
+
type: String,
|
|
32
|
+
required: false,
|
|
33
|
+
default: '',
|
|
34
|
+
},
|
|
35
|
+
/**
|
|
36
|
+
* The text for the title of the panel
|
|
37
|
+
*/
|
|
38
|
+
title: {
|
|
39
|
+
type: String,
|
|
40
|
+
required: false,
|
|
41
|
+
default: translate('GlDuoWorkflowPrompt.title', 'Goal'),
|
|
42
|
+
},
|
|
43
|
+
/**
|
|
44
|
+
* The summary of the ongoing workflow plan
|
|
45
|
+
*/
|
|
46
|
+
summary: {
|
|
47
|
+
type: String,
|
|
48
|
+
required: false,
|
|
49
|
+
default: '',
|
|
50
|
+
},
|
|
51
|
+
/**
|
|
52
|
+
* Whether or not the panel is loading
|
|
53
|
+
*/
|
|
54
|
+
loading: {
|
|
55
|
+
type: Boolean,
|
|
56
|
+
required: false,
|
|
57
|
+
default: false,
|
|
58
|
+
},
|
|
59
|
+
/**
|
|
60
|
+
* The label of the prompt text area
|
|
61
|
+
*
|
|
62
|
+
* See `GlFormGroup` for text placement.
|
|
63
|
+
*/
|
|
64
|
+
promptLabel: {
|
|
65
|
+
type: String,
|
|
66
|
+
required: false,
|
|
67
|
+
default: translate('GlDuoWorkflowPrompt.promptLabel', 'Description'),
|
|
68
|
+
},
|
|
69
|
+
/**
|
|
70
|
+
* The label description of the prompt text area
|
|
71
|
+
*
|
|
72
|
+
* See `GlFormGroup` for text placement.
|
|
73
|
+
*/
|
|
74
|
+
promptLabelDescription: {
|
|
75
|
+
type: String,
|
|
76
|
+
required: false,
|
|
77
|
+
default: translate(
|
|
78
|
+
'GlDuoWorkflowPrompt.promptLabelDescription',
|
|
79
|
+
'What would you like to do and how.'
|
|
80
|
+
),
|
|
81
|
+
},
|
|
82
|
+
/**
|
|
83
|
+
* The description of the prompt text area
|
|
84
|
+
*
|
|
85
|
+
* See `GlFormGroup` for text placement.
|
|
86
|
+
*/
|
|
87
|
+
promptDescription: {
|
|
88
|
+
type: String,
|
|
89
|
+
required: false,
|
|
90
|
+
default: translate(
|
|
91
|
+
'GlDuoWorkflowPrompt.promptDescription',
|
|
92
|
+
'Be specific and include any requirements.'
|
|
93
|
+
),
|
|
94
|
+
},
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* The HTML ID of the textarea for the prompt
|
|
98
|
+
*/
|
|
99
|
+
promptId: {
|
|
100
|
+
type: String,
|
|
101
|
+
required: false,
|
|
102
|
+
default: 'duo-workflow-prompt',
|
|
103
|
+
},
|
|
104
|
+
/**
|
|
105
|
+
* The label of the image input
|
|
106
|
+
*/
|
|
107
|
+
imageLabel: {
|
|
108
|
+
type: String,
|
|
109
|
+
required: false,
|
|
110
|
+
default: translate('GlDuoWorkflowPrompt.imageLabel', 'Image'),
|
|
111
|
+
},
|
|
112
|
+
/**
|
|
113
|
+
* The label description of the image input
|
|
114
|
+
*
|
|
115
|
+
* See `GlFormGroup` for text placement.
|
|
116
|
+
*/
|
|
117
|
+
imageLabelDescription: {
|
|
118
|
+
type: String,
|
|
119
|
+
required: false,
|
|
120
|
+
default: translate(
|
|
121
|
+
'GlDuoWorkflowPrompt.imageLabelDescription',
|
|
122
|
+
'The container image to run the workflow in.'
|
|
123
|
+
),
|
|
124
|
+
},
|
|
125
|
+
/**
|
|
126
|
+
* The description of the image input
|
|
127
|
+
*
|
|
128
|
+
* See `GlFormGroup` for text placement.
|
|
129
|
+
*/
|
|
130
|
+
imageDescription: {
|
|
131
|
+
type: String,
|
|
132
|
+
required: false,
|
|
133
|
+
default: translate(
|
|
134
|
+
'GlDuoWorkflowPrompt.imageDescription',
|
|
135
|
+
'It should have any tools necessary for the workflow installed.'
|
|
136
|
+
),
|
|
137
|
+
},
|
|
138
|
+
/**
|
|
139
|
+
* The ID of the image input
|
|
140
|
+
*/
|
|
141
|
+
imageId: {
|
|
142
|
+
type: String,
|
|
143
|
+
required: false,
|
|
144
|
+
default: 'duo-workflow-image',
|
|
145
|
+
},
|
|
146
|
+
/**
|
|
147
|
+
* The text for the confirmation button. This button emits a `confirm` event.
|
|
148
|
+
*/
|
|
149
|
+
confirmButtonText: {
|
|
150
|
+
type: String,
|
|
151
|
+
required: false,
|
|
152
|
+
default: translate('GlDuoWorkflowPrompt.confirmButtonText', 'Generate plan'),
|
|
153
|
+
},
|
|
154
|
+
/**
|
|
155
|
+
* The text for the cancellation button. This button emits a `cancel` event.
|
|
156
|
+
*/
|
|
157
|
+
cancelButtonText: {
|
|
158
|
+
type: String,
|
|
159
|
+
required: false,
|
|
160
|
+
default: translate('GlDuoWorkflowPrompt.cancelButtonText', 'Cancel'),
|
|
161
|
+
},
|
|
162
|
+
/**
|
|
163
|
+
* The text used as the title and aria-label for the button when the collapse is collapsed
|
|
164
|
+
*
|
|
165
|
+
* See `GlDuoWorkflowPanel`
|
|
166
|
+
*/
|
|
167
|
+
expandPanelButtonTitle: {
|
|
168
|
+
type: String,
|
|
169
|
+
required: false,
|
|
170
|
+
default: '',
|
|
171
|
+
},
|
|
172
|
+
/**
|
|
173
|
+
* The text used as the title and aria-label for the button when the collapse is expanded
|
|
174
|
+
*
|
|
175
|
+
* See `GlDuoWorkflowPanel`
|
|
176
|
+
*/
|
|
177
|
+
collapsePanelButtonTitle: {
|
|
178
|
+
type: String,
|
|
179
|
+
required: false,
|
|
180
|
+
default: '',
|
|
181
|
+
},
|
|
182
|
+
},
|
|
183
|
+
methods: {
|
|
184
|
+
emitChange(prompt) {
|
|
185
|
+
/**
|
|
186
|
+
* Notify listeners about prompt change
|
|
187
|
+
* @param {string} prompt The newly entered prompt
|
|
188
|
+
*/
|
|
189
|
+
this.$emit('update:prompt', prompt);
|
|
190
|
+
},
|
|
191
|
+
emitImage(image) {
|
|
192
|
+
/**
|
|
193
|
+
* Notify listeners about image change
|
|
194
|
+
* @param {string} image The newly entered image
|
|
195
|
+
*/
|
|
196
|
+
this.$emit('update:image', image);
|
|
197
|
+
},
|
|
198
|
+
clickConfirm(event) {
|
|
199
|
+
/**
|
|
200
|
+
* Notify listeners about prompt submission
|
|
201
|
+
* @param {*} event A click event
|
|
202
|
+
*/
|
|
203
|
+
this.$emit('confirm', event);
|
|
204
|
+
},
|
|
205
|
+
clickCancel(event) {
|
|
206
|
+
/**
|
|
207
|
+
* Notify listeners about prompt submission cancellation.
|
|
208
|
+
* @param {*} event A click event
|
|
209
|
+
*/
|
|
210
|
+
this.$emit('cancel', event);
|
|
211
|
+
},
|
|
212
|
+
},
|
|
213
|
+
};
|
|
214
|
+
</script>
|
|
215
|
+
|
|
216
|
+
<template>
|
|
217
|
+
<gl-duo-workflow-panel
|
|
218
|
+
header-icon="issue-type-objective"
|
|
219
|
+
:expand-panel-button-title="expandPanelButtonTitle"
|
|
220
|
+
:collapse-panel-button-title="collapsePanelButtonTitle"
|
|
221
|
+
>
|
|
222
|
+
<template #title>{{ title }}</template>
|
|
223
|
+
<template #subtitle>{{ summary }}</template>
|
|
224
|
+
<template #content>
|
|
225
|
+
<gl-form-group
|
|
226
|
+
:label="promptLabel"
|
|
227
|
+
:label-for="promptId"
|
|
228
|
+
:label-description="promptLabelDescription"
|
|
229
|
+
:description="promptDescription"
|
|
230
|
+
>
|
|
231
|
+
<gl-form-textarea
|
|
232
|
+
:id="promptId"
|
|
233
|
+
:value="prompt"
|
|
234
|
+
:disable="loading"
|
|
235
|
+
:no-resize="false"
|
|
236
|
+
@input="emitChange"
|
|
237
|
+
/>
|
|
238
|
+
</gl-form-group>
|
|
239
|
+
<gl-form-group
|
|
240
|
+
:label="imageLabel"
|
|
241
|
+
:label-for="imageId"
|
|
242
|
+
:label-description="imageLabelDescription"
|
|
243
|
+
:description="imageDescription"
|
|
244
|
+
>
|
|
245
|
+
<gl-form-input :id="imageId" :value="image" :disable="loading" @input="emitImage" />
|
|
246
|
+
</gl-form-group>
|
|
247
|
+
<div class="gl-flex gl-gap-3">
|
|
248
|
+
<gl-button
|
|
249
|
+
variant="confirm"
|
|
250
|
+
data-test-id="duo-workflow-prompt-confirm"
|
|
251
|
+
:loading="loading"
|
|
252
|
+
@click="clickConfirm"
|
|
253
|
+
>{{ confirmButtonText }}</gl-button
|
|
254
|
+
>
|
|
255
|
+
<gl-button data-test-id="duo-workflow-prompt-cancel" @click="clickCancel">{{
|
|
256
|
+
cancelButtonText
|
|
257
|
+
}}</gl-button>
|
|
258
|
+
</div>
|
|
259
|
+
</template>
|
|
260
|
+
</gl-duo-workflow-panel>
|
|
261
|
+
</template>
|
package/src/index.js
CHANGED
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
// Components
|
|
7
7
|
// ADD COMPONENT EXPORTS - needed for yarn generate:component. Do not remove
|
|
8
|
+
export { default as GlDuoWorkflowPrompt } from './components/experimental/duo/workflow/components/duo_workflow_prompt/duo_workflow_prompt.vue';
|
|
9
|
+
export { default as GlDuoWorkflowPanel } from './components/experimental/duo/workflow/components/duo_workflow_panel/duo_workflow_panel.vue';
|
|
8
10
|
export { default as GlTableLite } from './components/base/table_lite/table_lite.vue';
|
|
9
11
|
export { default as GlDropdownForm } from './components/base/dropdown/dropdown_form.vue';
|
|
10
12
|
export { default as GlKeysetPagination } from './components/base/keyset_pagination/keyset_pagination.vue';
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"dark": "{color.neutral.50}"
|
|
42
42
|
},
|
|
43
43
|
"$type": "color",
|
|
44
|
-
"$description": "Used for the foreground of
|
|
44
|
+
"$description": "Used for the foreground of a neutral action in the default state."
|
|
45
45
|
},
|
|
46
46
|
"hover": {
|
|
47
47
|
"$value": "{action.neutral.foreground.color.default}",
|
|
@@ -595,7 +595,7 @@
|
|
|
595
595
|
--gl-action-confirm-foreground-color-default: var(--gl-color-blue-500); /* Used for the foreground of a confirm (positive) action in the default state. */
|
|
596
596
|
--gl-action-neutral-border-color-default: var(--gl-color-alpha-0); /* Used for the border of a neutral action in the default state. */
|
|
597
597
|
--gl-action-neutral-background-color-focus: var(--gl-action-neutral-background-color-hover); /* Used for the background of a neutral action in the focus state. */
|
|
598
|
-
--gl-action-neutral-foreground-color-default: var(--gl-color-neutral-900); /* Used for the foreground of
|
|
598
|
+
--gl-action-neutral-foreground-color-default: var(--gl-color-neutral-900); /* Used for the foreground of a neutral action in the default state. */
|
|
599
599
|
--gl-action-disabled-border-color: var(--gl-color-neutral-100); /* Used for the border of a disabled action. */
|
|
600
600
|
--gl-action-disabled-background-color: var(--gl-color-neutral-50); /* Used for the background of a disabled action. */
|
|
601
601
|
--gl-action-disabled-foreground-color: var(--gl-color-neutral-400); /* Used for the foreground of a disabled action. */
|
|
@@ -595,7 +595,7 @@
|
|
|
595
595
|
--gl-action-confirm-foreground-color-default: var(--gl-color-blue-400); /* Used for the foreground of a confirm (positive) action in the default state. */
|
|
596
596
|
--gl-action-neutral-border-color-default: var(--gl-color-alpha-0); /* Used for the border of a neutral action in the default state. */
|
|
597
597
|
--gl-action-neutral-background-color-focus: var(--gl-action-neutral-background-color-hover); /* Used for the background of a neutral action in the focus state. */
|
|
598
|
-
--gl-action-neutral-foreground-color-default: var(--gl-color-neutral-50); /* Used for the foreground of
|
|
598
|
+
--gl-action-neutral-foreground-color-default: var(--gl-color-neutral-50); /* Used for the foreground of a neutral action in the default state. */
|
|
599
599
|
--gl-action-disabled-border-color: var(--gl-color-neutral-800); /* Used for the border of a disabled action. */
|
|
600
600
|
--gl-action-disabled-background-color: var(--gl-color-neutral-900); /* Used for the background of a disabled action. */
|
|
601
601
|
--gl-action-disabled-foreground-color: var(--gl-color-neutral-500); /* Used for the foreground of a disabled action. */
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
export const GL_ACTION_DISABLED_FOREGROUND_COLOR = '#737278'; // Used for the foreground of a disabled action.
|
|
7
7
|
export const GL_ACTION_DISABLED_BACKGROUND_COLOR = '#28272d'; // Used for the background of a disabled action.
|
|
8
8
|
export const GL_ACTION_DISABLED_BORDER_COLOR = '#3a383f'; // Used for the border of a disabled action.
|
|
9
|
-
export const GL_ACTION_NEUTRAL_FOREGROUND_COLOR_DEFAULT = '#ececef'; // Used for the foreground of
|
|
9
|
+
export const GL_ACTION_NEUTRAL_FOREGROUND_COLOR_DEFAULT = '#ececef'; // Used for the foreground of a neutral action in the default state.
|
|
10
10
|
export const GL_ACTION_NEUTRAL_FOREGROUND_COLOR_HOVER = '#ececef'; // Used for the foreground of a neutral action in the hover state.
|
|
11
11
|
export const GL_ACTION_NEUTRAL_FOREGROUND_COLOR_FOCUS = '#ececef'; // Used for the foreground of a neutral action in the focus state.
|
|
12
12
|
export const GL_ACTION_NEUTRAL_FOREGROUND_COLOR_ACTIVE = '#ececef'; // Used for the foreground of a neutral action in the active state.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
export const GL_ACTION_DISABLED_FOREGROUND_COLOR = '#89888d'; // Used for the foreground of a disabled action.
|
|
7
7
|
export const GL_ACTION_DISABLED_BACKGROUND_COLOR = '#ececef'; // Used for the background of a disabled action.
|
|
8
8
|
export const GL_ACTION_DISABLED_BORDER_COLOR = '#dcdcde'; // Used for the border of a disabled action.
|
|
9
|
-
export const GL_ACTION_NEUTRAL_FOREGROUND_COLOR_DEFAULT = '#28272d'; // Used for the foreground of
|
|
9
|
+
export const GL_ACTION_NEUTRAL_FOREGROUND_COLOR_DEFAULT = '#28272d'; // Used for the foreground of a neutral action in the default state.
|
|
10
10
|
export const GL_ACTION_NEUTRAL_FOREGROUND_COLOR_HOVER = '#28272d'; // Used for the foreground of a neutral action in the hover state.
|
|
11
11
|
export const GL_ACTION_NEUTRAL_FOREGROUND_COLOR_FOCUS = '#28272d'; // Used for the foreground of a neutral action in the focus state.
|
|
12
12
|
export const GL_ACTION_NEUTRAL_FOREGROUND_COLOR_ACTIVE = '#28272d'; // Used for the foreground of a neutral action in the active state.
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"default": {
|
|
84
84
|
"value": "#ececef",
|
|
85
85
|
"$type": "color",
|
|
86
|
-
"comment": "Used for the foreground of
|
|
86
|
+
"comment": "Used for the foreground of a neutral action in the default state.",
|
|
87
87
|
"filePath": "src/tokens/action.tokens.json",
|
|
88
88
|
"isSource": true,
|
|
89
89
|
"original": {
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"dark": "{color.neutral.50}"
|
|
93
93
|
},
|
|
94
94
|
"$type": "color",
|
|
95
|
-
"comment": "Used for the foreground of
|
|
95
|
+
"comment": "Used for the foreground of a neutral action in the default state."
|
|
96
96
|
},
|
|
97
97
|
"name": "ACTION_NEUTRAL_FOREGROUND_COLOR_DEFAULT",
|
|
98
98
|
"attributes": {},
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"default": {
|
|
84
84
|
"value": "#28272d",
|
|
85
85
|
"$type": "color",
|
|
86
|
-
"comment": "Used for the foreground of
|
|
86
|
+
"comment": "Used for the foreground of a neutral action in the default state.",
|
|
87
87
|
"filePath": "src/tokens/action.tokens.json",
|
|
88
88
|
"isSource": true,
|
|
89
89
|
"original": {
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"dark": "{color.neutral.50}"
|
|
93
93
|
},
|
|
94
94
|
"$type": "color",
|
|
95
|
-
"comment": "Used for the foreground of
|
|
95
|
+
"comment": "Used for the foreground of a neutral action in the default state."
|
|
96
96
|
},
|
|
97
97
|
"name": "ACTION_NEUTRAL_FOREGROUND_COLOR_DEFAULT",
|
|
98
98
|
"attributes": {},
|
|
@@ -593,7 +593,7 @@ $gl-action-confirm-foreground-color-hover: $gl-color-blue-200; // Used for the f
|
|
|
593
593
|
$gl-action-confirm-foreground-color-default: $gl-color-blue-400; // Used for the foreground of a confirm (positive) action in the default state.
|
|
594
594
|
$gl-action-neutral-border-color-default: $gl-color-alpha-0; // Used for the border of a neutral action in the default state.
|
|
595
595
|
$gl-action-neutral-background-color-focus: $gl-action-neutral-background-color-hover; // Used for the background of a neutral action in the focus state.
|
|
596
|
-
$gl-action-neutral-foreground-color-default: $gl-color-neutral-50; // Used for the foreground of
|
|
596
|
+
$gl-action-neutral-foreground-color-default: $gl-color-neutral-50; // Used for the foreground of a neutral action in the default state.
|
|
597
597
|
$gl-action-disabled-border-color: $gl-color-neutral-800; // Used for the border of a disabled action.
|
|
598
598
|
$gl-action-disabled-background-color: $gl-color-neutral-900; // Used for the background of a disabled action.
|
|
599
599
|
$gl-action-disabled-foreground-color: $gl-color-neutral-500; // Used for the foreground of a disabled action.
|
|
@@ -593,7 +593,7 @@ $gl-action-confirm-foreground-color-hover: $gl-color-blue-700; // Used for the f
|
|
|
593
593
|
$gl-action-confirm-foreground-color-default: $gl-color-blue-500; // Used for the foreground of a confirm (positive) action in the default state.
|
|
594
594
|
$gl-action-neutral-border-color-default: $gl-color-alpha-0; // Used for the border of a neutral action in the default state.
|
|
595
595
|
$gl-action-neutral-background-color-focus: $gl-action-neutral-background-color-hover; // Used for the background of a neutral action in the focus state.
|
|
596
|
-
$gl-action-neutral-foreground-color-default: $gl-color-neutral-900; // Used for the foreground of
|
|
596
|
+
$gl-action-neutral-foreground-color-default: $gl-color-neutral-900; // Used for the foreground of a neutral action in the default state.
|
|
597
597
|
$gl-action-disabled-border-color: $gl-color-neutral-100; // Used for the border of a disabled action.
|
|
598
598
|
$gl-action-disabled-background-color: $gl-color-neutral-50; // Used for the background of a disabled action.
|
|
599
599
|
$gl-action-disabled-foreground-color: $gl-color-neutral-400; // Used for the foreground of a disabled action.
|
package/translations.js
CHANGED
|
@@ -3,6 +3,18 @@ export default {
|
|
|
3
3
|
'ClearIconButton.title': 'Clear',
|
|
4
4
|
'GlBreadcrumb.showMoreLabel': 'Show more breadcrumbs',
|
|
5
5
|
'GlCollapsibleListbox.srOnlyResultsLabel': null,
|
|
6
|
+
'GlDuoWorkflowPanel.collapseButtonTitle': 'Collapse',
|
|
7
|
+
'GlDuoWorkflowPanel.expandButtonTitle': 'Expand',
|
|
8
|
+
'GlDuoWorkflowPrompt.cancelButtonText': 'Cancel',
|
|
9
|
+
'GlDuoWorkflowPrompt.confirmButtonText': 'Generate plan',
|
|
10
|
+
'GlDuoWorkflowPrompt.imageDescription':
|
|
11
|
+
'It should have any tools necessary for the workflow installed.',
|
|
12
|
+
'GlDuoWorkflowPrompt.imageLabel': 'Image',
|
|
13
|
+
'GlDuoWorkflowPrompt.imageLabelDescription': 'The container image to run the workflow in.',
|
|
14
|
+
'GlDuoWorkflowPrompt.promptDescription': 'Be specific and include any requirements.',
|
|
15
|
+
'GlDuoWorkflowPrompt.promptLabel': 'Description',
|
|
16
|
+
'GlDuoWorkflowPrompt.promptLabelDescription': 'What would you like to do and how.',
|
|
17
|
+
'GlDuoWorkflowPrompt.title': 'Goal',
|
|
6
18
|
'GlKeysetPagination.navigationLabel': 'Pagination',
|
|
7
19
|
'GlKeysetPagination.nextText': 'Next',
|
|
8
20
|
'GlKeysetPagination.prevText': 'Previous',
|