@gitlab/ui 91.6.0 → 91.8.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/experimental/duo/chat/components/duo_chat_context/duo_chat_context_item_menu/duo_chat_context_item_menu.js +7 -2
- package/dist/components/experimental/duo/chat/components/duo_chat_context/duo_chat_context_item_menu/duo_chat_context_item_menu_category_items.js +69 -0
- package/dist/index.css +2 -2
- package/dist/index.css.map +1 -1
- package/dist/tokens/build/js/tokens.dark.js +4 -2
- package/dist/tokens/build/js/tokens.js +4 -2
- package/dist/tokens/css/tokens.css +3 -1
- package/dist/tokens/css/tokens.dark.css +3 -1
- package/dist/tokens/js/tokens.dark.js +3 -1
- package/dist/tokens/js/tokens.js +3 -1
- package/dist/tokens/json/tokens.dark.json +55 -3
- package/dist/tokens/json/tokens.json +55 -3
- package/dist/tokens/scss/_tokens.dark.scss +3 -1
- package/dist/tokens/scss/_tokens.scss +3 -1
- package/dist/tokens/scss/_tokens_custom_properties.scss +2 -0
- package/package.json +1 -1
- package/src/components/base/link/link.scss +2 -7
- package/src/components/experimental/duo/chat/components/duo_chat_context/duo_chat_context_item_menu/duo_chat_context_item_menu.vue +13 -7
- package/src/components/experimental/duo/chat/components/duo_chat_context/duo_chat_context_item_menu/duo_chat_context_item_menu_category_items.vue +45 -0
- package/src/tokens/build/css/tokens.css +3 -1
- package/src/tokens/build/css/tokens.dark.css +3 -1
- package/src/tokens/build/js/tokens.dark.js +3 -1
- package/src/tokens/build/js/tokens.js +3 -1
- package/src/tokens/build/json/tokens.dark.json +55 -3
- package/src/tokens/build/json/tokens.json +55 -3
- package/src/tokens/build/scss/_tokens.dark.scss +3 -1
- package/src/tokens/build/scss/_tokens.scss +3 -1
- package/src/tokens/build/scss/_tokens_custom_properties.scss +2 -0
- package/src/tokens/contextual/link.tokens.json +20 -0
- package/src/tokens/control.tokens.json +2 -2
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
<script>
|
|
2
2
|
import { translate } from '../../../../../../../utils/i18n';
|
|
3
3
|
import GlCard from '../../../../../../base/card/card.vue';
|
|
4
|
-
import GlDuoChatContextItemSelections from '../duo_chat_context_item_selections/duo_chat_context_item_selections.vue';
|
|
5
4
|
import { categoriesValidator, contextItemsValidator } from '../utils';
|
|
5
|
+
import GlDuoChatContextItemSelections from '../duo_chat_context_item_selections/duo_chat_context_item_selections.vue';
|
|
6
|
+
import GlDuoChatContextItemMenuCategoryItems from './duo_chat_context_item_menu_category_items.vue';
|
|
6
7
|
|
|
7
8
|
export default {
|
|
8
9
|
name: 'GlDuoChatContextItemMenu',
|
|
9
10
|
components: {
|
|
10
11
|
GlCard,
|
|
12
|
+
GlDuoChatContextItemMenuCategoryItems,
|
|
11
13
|
GlDuoChatContextItemSelections,
|
|
12
14
|
},
|
|
13
15
|
props: {
|
|
@@ -60,6 +62,7 @@ export default {
|
|
|
60
62
|
},
|
|
61
63
|
data() {
|
|
62
64
|
return {
|
|
65
|
+
activeIndex: 0,
|
|
63
66
|
selectedCategory: null,
|
|
64
67
|
};
|
|
65
68
|
},
|
|
@@ -78,6 +81,7 @@ export default {
|
|
|
78
81
|
methods: {
|
|
79
82
|
selectCategory(category) {
|
|
80
83
|
this.selectedCategory = category;
|
|
84
|
+
this.activeIndex = 0;
|
|
81
85
|
|
|
82
86
|
/**
|
|
83
87
|
* Emitted when a search should be performed.
|
|
@@ -119,6 +123,7 @@ export default {
|
|
|
119
123
|
},
|
|
120
124
|
resetSelection() {
|
|
121
125
|
this.selectedCategory = null;
|
|
126
|
+
this.activeIndex = 0;
|
|
122
127
|
},
|
|
123
128
|
},
|
|
124
129
|
i18n: {
|
|
@@ -147,12 +152,13 @@ export default {
|
|
|
147
152
|
body-class="!gl-p-2"
|
|
148
153
|
data-testid="context-item-menu"
|
|
149
154
|
>
|
|
150
|
-
<
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
155
|
+
<gl-duo-chat-context-item-menu-category-items
|
|
156
|
+
v-if="showCategorySelection"
|
|
157
|
+
:active-index="activeIndex"
|
|
158
|
+
:categories="categories"
|
|
159
|
+
@select="selectCategory"
|
|
160
|
+
@active-index-change="activeIndex = $event"
|
|
161
|
+
/>
|
|
156
162
|
<div v-else data-testid="context-menu-search-items">
|
|
157
163
|
<!-- Placeholder for GlDuoChatContextItemMenuSearchItem component coming in a future iteration -->
|
|
158
164
|
<template v-if="loading">Loading...</template>
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
import GlDropdownItem from '../../../../../../base/dropdown/dropdown_item.vue';
|
|
3
|
+
import GlIcon from '../../../../../../base/icon/icon.vue';
|
|
4
|
+
import { categoriesValidator } from '../utils';
|
|
5
|
+
|
|
6
|
+
export default {
|
|
7
|
+
name: 'GlDuoChatContextItemMenuCategoryItems',
|
|
8
|
+
components: { GlIcon, GlDropdownItem },
|
|
9
|
+
props: {
|
|
10
|
+
categories: {
|
|
11
|
+
type: Array,
|
|
12
|
+
required: true,
|
|
13
|
+
validator: categoriesValidator,
|
|
14
|
+
},
|
|
15
|
+
activeIndex: {
|
|
16
|
+
type: Number,
|
|
17
|
+
required: true,
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
methods: {
|
|
21
|
+
selectCategory(category) {
|
|
22
|
+
this.$emit('select', category);
|
|
23
|
+
},
|
|
24
|
+
setActiveIndex(index) {
|
|
25
|
+
this.$emit('active-index-change', index);
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
};
|
|
29
|
+
</script>
|
|
30
|
+
<template>
|
|
31
|
+
<ul class="gl-mb-0 gl-list-none gl-pl-0">
|
|
32
|
+
<gl-dropdown-item
|
|
33
|
+
v-for="(category, index) in categories"
|
|
34
|
+
:key="category.value"
|
|
35
|
+
:class="{ 'active-command': index === activeIndex }"
|
|
36
|
+
data-testid="category-item"
|
|
37
|
+
@click="selectCategory(category)"
|
|
38
|
+
>
|
|
39
|
+
<div class="gl-flex gl-items-center" @mouseenter="setActiveIndex(index)">
|
|
40
|
+
<gl-icon :name="category.icon" class="gl-mr-2" />
|
|
41
|
+
{{ category.label }}
|
|
42
|
+
</div>
|
|
43
|
+
</gl-dropdown-item>
|
|
44
|
+
</ul>
|
|
45
|
+
</template>
|
|
@@ -492,7 +492,7 @@
|
|
|
492
492
|
--gl-control-background-color-selected-focus: var(--gl-color-blue-700); /* Used for checked and indeterminate (selected) form control (checkbox, radio button) background on hover. */
|
|
493
493
|
--gl-control-background-color-selected-hover: var(--gl-color-blue-700); /* Used for checked and indeterminate (selected) form control (checkbox, radio button) background on hover. */
|
|
494
494
|
--gl-control-background-color-selected-default: var(--gl-color-blue-500); /* Used for checked and indeterminate (selected) form control (checkbox, radio button) background. */
|
|
495
|
-
--gl-control-background-color-readonly: var(--gl-color-
|
|
495
|
+
--gl-control-background-color-readonly: var(--gl-color-alpha-dark-2); /* Used for the background of static content that prepends or appends a text input. */
|
|
496
496
|
--gl-control-background-color-concatenation: var(--gl-color-neutral-10); /* Used for the background of static content that prepends or appends a text input. */
|
|
497
497
|
--gl-control-background-color-disabled: var(--gl-color-neutral-10); /* Used for disabled form control (checkbox, input, radio button, textarea) background. */
|
|
498
498
|
--gl-control-background-color-default: var(--gl-color-neutral-0); /* Used for form control (input, radio button, checkbox, textarea) default background. */
|
|
@@ -506,6 +506,8 @@
|
|
|
506
506
|
--gl-popover-background-color: var(--gl-color-neutral-0); /* Used for the background color of popover. */
|
|
507
507
|
--gl-link-mention-background-color-current: var(--gl-color-orange-100); /* Used for the mention link background when referencing the current user. */
|
|
508
508
|
--gl-link-mention-background-color-default: var(--gl-color-blue-100); /* Used for the mention link default background. */
|
|
509
|
+
--gl-link-mention-text-color-current: var(--gl-color-orange-800); /* Used for the mention link text color when referencing the current user. */
|
|
510
|
+
--gl-link-mention-text-color-default: var(--gl-color-blue-700); /* Used for the mention link text color. */
|
|
509
511
|
--gl-label-scoped-button-icon-color-hover: var(--gl-color-neutral-0); /* Used for the scoped label remove button icon in the hover state. */
|
|
510
512
|
--gl-label-scoped-button-icon-color-default: var(--gl-color-neutral-950); /* Used for the scoped label remove button icon in the default state. */
|
|
511
513
|
--gl-label-scoped-button-background-color-hover: var(--gl-color-neutral-950); /* Used for the scoped label remove button background in the hover state. */
|
|
@@ -492,7 +492,7 @@
|
|
|
492
492
|
--gl-control-background-color-selected-focus: var(--gl-color-blue-200); /* Used for checked and indeterminate (selected) form control (checkbox, radio button) background on hover. */
|
|
493
493
|
--gl-control-background-color-selected-hover: var(--gl-color-blue-200); /* Used for checked and indeterminate (selected) form control (checkbox, radio button) background on hover. */
|
|
494
494
|
--gl-control-background-color-selected-default: var(--gl-color-blue-300); /* Used for checked and indeterminate (selected) form control (checkbox, radio button) background. */
|
|
495
|
-
--gl-control-background-color-readonly: var(--gl-color-
|
|
495
|
+
--gl-control-background-color-readonly: var(--gl-color-alpha-light-8); /* Used for the background of static content that prepends or appends a text input. */
|
|
496
496
|
--gl-control-background-color-concatenation: var(--gl-color-alpha-light-4); /* Used for the background of static content that prepends or appends a text input. */
|
|
497
497
|
--gl-control-background-color-disabled: var(--gl-color-alpha-light-4); /* Used for disabled form control (checkbox, input, radio button, textarea) background. */
|
|
498
498
|
--gl-control-background-color-default: var(--gl-color-alpha-dark-40); /* Used for form control (input, radio button, checkbox, textarea) default background. */
|
|
@@ -506,6 +506,8 @@
|
|
|
506
506
|
--gl-popover-background-color: var(--gl-color-neutral-900); /* Used for the background color of popover. */
|
|
507
507
|
--gl-link-mention-background-color-current: var(--gl-color-orange-800); /* Used for the mention link background when referencing the current user. */
|
|
508
508
|
--gl-link-mention-background-color-default: var(--gl-color-blue-800); /* Used for the mention link default background. */
|
|
509
|
+
--gl-link-mention-text-color-current: var(--gl-color-orange-100); /* Used for the mention link text color when referencing the current user. */
|
|
510
|
+
--gl-link-mention-text-color-default: var(--gl-color-blue-200); /* Used for the mention link text color. */
|
|
509
511
|
--gl-label-scoped-button-icon-color-hover: var(--gl-color-neutral-950); /* Used for the scoped label remove button icon in the hover state. */
|
|
510
512
|
--gl-label-scoped-button-icon-color-default: var(--gl-color-neutral-0); /* Used for the scoped label remove button icon in the default state. */
|
|
511
513
|
--gl-label-scoped-button-background-color-hover: var(--gl-color-neutral-0); /* Used for the scoped label remove button background in the hover state. */
|
|
@@ -596,6 +596,8 @@ export const GL_LABEL_SCOPED_TEXT_COLOR = '#fff'; // Used for the scoped label t
|
|
|
596
596
|
export const GL_LABEL_SCOPED_BUTTON_BACKGROUND_COLOR_HOVER = '#fff'; // Used for the scoped label remove button background in the hover state.
|
|
597
597
|
export const GL_LABEL_SCOPED_BUTTON_ICON_COLOR_DEFAULT = '#fff'; // Used for the scoped label remove button icon in the default state.
|
|
598
598
|
export const GL_LABEL_SCOPED_BUTTON_ICON_COLOR_HOVER = '#18171d'; // Used for the scoped label remove button icon in the hover state.
|
|
599
|
+
export const GL_LINK_MENTION_TEXT_COLOR_DEFAULT = '#9dc7f1'; // Used for the mention link text color.
|
|
600
|
+
export const GL_LINK_MENTION_TEXT_COLOR_CURRENT = '#f5d9a8'; // Used for the mention link text color when referencing the current user.
|
|
599
601
|
export const GL_LINK_MENTION_BACKGROUND_COLOR_DEFAULT = '#064787'; // Used for the mention link default background.
|
|
600
602
|
export const GL_LINK_MENTION_BACKGROUND_COLOR_CURRENT = '#703800'; // Used for the mention link background when referencing the current user.
|
|
601
603
|
export const GL_POPOVER_BACKGROUND_COLOR = '#28272d'; // Used for the background color of popover.
|
|
@@ -611,7 +613,7 @@ export const GL_TAB_SELECTED_INDICATOR_COLOR_DEFAULT = '#428fdc'; // Used for th
|
|
|
611
613
|
export const GL_CONTROL_BACKGROUND_COLOR_DEFAULT = 'rgba(05, 05, 06, 0.4)'; // Used for form control (input, radio button, checkbox, textarea) default background.
|
|
612
614
|
export const GL_CONTROL_BACKGROUND_COLOR_DISABLED = 'rgba(255, 255, 255, 0.04)'; // Used for disabled form control (checkbox, input, radio button, textarea) background.
|
|
613
615
|
export const GL_CONTROL_BACKGROUND_COLOR_CONCATENATION = 'rgba(255, 255, 255, 0.04)'; // Used for the background of static content that prepends or appends a text input.
|
|
614
|
-
export const GL_CONTROL_BACKGROUND_COLOR_READONLY = '
|
|
616
|
+
export const GL_CONTROL_BACKGROUND_COLOR_READONLY = 'rgba(255, 255, 255, 0.08)'; // Used for the background of static content that prepends or appends a text input.
|
|
615
617
|
export const GL_CONTROL_BACKGROUND_COLOR_SELECTED_DEFAULT = '#63a6e9'; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background.
|
|
616
618
|
export const GL_CONTROL_BACKGROUND_COLOR_SELECTED_HOVER = '#9dc7f1'; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background on hover.
|
|
617
619
|
export const GL_CONTROL_BACKGROUND_COLOR_SELECTED_FOCUS = '#9dc7f1'; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background on hover.
|
|
@@ -596,6 +596,8 @@ export const GL_LABEL_SCOPED_TEXT_COLOR = '#18171d'; // Used for the scoped labe
|
|
|
596
596
|
export const GL_LABEL_SCOPED_BUTTON_BACKGROUND_COLOR_HOVER = '#18171d'; // Used for the scoped label remove button background in the hover state.
|
|
597
597
|
export const GL_LABEL_SCOPED_BUTTON_ICON_COLOR_DEFAULT = '#18171d'; // Used for the scoped label remove button icon in the default state.
|
|
598
598
|
export const GL_LABEL_SCOPED_BUTTON_ICON_COLOR_HOVER = '#fff'; // Used for the scoped label remove button icon in the hover state.
|
|
599
|
+
export const GL_LINK_MENTION_TEXT_COLOR_DEFAULT = '#0b5cad'; // Used for the mention link text color.
|
|
600
|
+
export const GL_LINK_MENTION_TEXT_COLOR_CURRENT = '#703800'; // Used for the mention link text color when referencing the current user.
|
|
599
601
|
export const GL_LINK_MENTION_BACKGROUND_COLOR_DEFAULT = '#cbe2f9'; // Used for the mention link default background.
|
|
600
602
|
export const GL_LINK_MENTION_BACKGROUND_COLOR_CURRENT = '#f5d9a8'; // Used for the mention link background when referencing the current user.
|
|
601
603
|
export const GL_POPOVER_BACKGROUND_COLOR = '#fff'; // Used for the background color of popover.
|
|
@@ -611,7 +613,7 @@ export const GL_TAB_SELECTED_INDICATOR_COLOR_DEFAULT = '#1f75cb'; // Used for th
|
|
|
611
613
|
export const GL_CONTROL_BACKGROUND_COLOR_DEFAULT = '#fff'; // Used for form control (input, radio button, checkbox, textarea) default background.
|
|
612
614
|
export const GL_CONTROL_BACKGROUND_COLOR_DISABLED = '#fbfafd'; // Used for disabled form control (checkbox, input, radio button, textarea) background.
|
|
613
615
|
export const GL_CONTROL_BACKGROUND_COLOR_CONCATENATION = '#fbfafd'; // Used for the background of static content that prepends or appends a text input.
|
|
614
|
-
export const GL_CONTROL_BACKGROUND_COLOR_READONLY = '
|
|
616
|
+
export const GL_CONTROL_BACKGROUND_COLOR_READONLY = 'rgba(05, 05, 06, 0.02)'; // Used for the background of static content that prepends or appends a text input.
|
|
615
617
|
export const GL_CONTROL_BACKGROUND_COLOR_SELECTED_DEFAULT = '#1f75cb'; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background.
|
|
616
618
|
export const GL_CONTROL_BACKGROUND_COLOR_SELECTED_HOVER = '#0b5cad'; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background on hover.
|
|
617
619
|
export const GL_CONTROL_BACKGROUND_COLOR_SELECTED_FOCUS = '#0b5cad'; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background on hover.
|
|
@@ -13132,6 +13132,58 @@
|
|
|
13132
13132
|
},
|
|
13133
13133
|
"link": {
|
|
13134
13134
|
"mention": {
|
|
13135
|
+
"text": {
|
|
13136
|
+
"color": {
|
|
13137
|
+
"default": {
|
|
13138
|
+
"value": "#9dc7f1",
|
|
13139
|
+
"$type": "color",
|
|
13140
|
+
"comment": "Used for the mention link text color.",
|
|
13141
|
+
"filePath": "src/tokens/contextual/link.tokens.json",
|
|
13142
|
+
"isSource": true,
|
|
13143
|
+
"original": {
|
|
13144
|
+
"value": {
|
|
13145
|
+
"default": "{color.blue.700}",
|
|
13146
|
+
"dark": "{color.blue.200}"
|
|
13147
|
+
},
|
|
13148
|
+
"$type": "color",
|
|
13149
|
+
"comment": "Used for the mention link text color."
|
|
13150
|
+
},
|
|
13151
|
+
"name": "LINK_MENTION_TEXT_COLOR_DEFAULT",
|
|
13152
|
+
"attributes": {},
|
|
13153
|
+
"path": [
|
|
13154
|
+
"link",
|
|
13155
|
+
"mention",
|
|
13156
|
+
"text",
|
|
13157
|
+
"color",
|
|
13158
|
+
"default"
|
|
13159
|
+
]
|
|
13160
|
+
},
|
|
13161
|
+
"current": {
|
|
13162
|
+
"value": "#f5d9a8",
|
|
13163
|
+
"$type": "color",
|
|
13164
|
+
"comment": "Used for the mention link text color when referencing the current user.",
|
|
13165
|
+
"filePath": "src/tokens/contextual/link.tokens.json",
|
|
13166
|
+
"isSource": true,
|
|
13167
|
+
"original": {
|
|
13168
|
+
"value": {
|
|
13169
|
+
"default": "{color.orange.800}",
|
|
13170
|
+
"dark": "{color.orange.100}"
|
|
13171
|
+
},
|
|
13172
|
+
"$type": "color",
|
|
13173
|
+
"comment": "Used for the mention link text color when referencing the current user."
|
|
13174
|
+
},
|
|
13175
|
+
"name": "LINK_MENTION_TEXT_COLOR_CURRENT",
|
|
13176
|
+
"attributes": {},
|
|
13177
|
+
"path": [
|
|
13178
|
+
"link",
|
|
13179
|
+
"mention",
|
|
13180
|
+
"text",
|
|
13181
|
+
"color",
|
|
13182
|
+
"current"
|
|
13183
|
+
]
|
|
13184
|
+
}
|
|
13185
|
+
}
|
|
13186
|
+
},
|
|
13135
13187
|
"background": {
|
|
13136
13188
|
"color": {
|
|
13137
13189
|
"default": {
|
|
@@ -13516,15 +13568,15 @@
|
|
|
13516
13568
|
]
|
|
13517
13569
|
},
|
|
13518
13570
|
"readonly": {
|
|
13519
|
-
"value": "
|
|
13571
|
+
"value": "rgba(255, 255, 255, 0.08)",
|
|
13520
13572
|
"$type": "color",
|
|
13521
13573
|
"comment": "Used for the background of static content that prepends or appends a text input.",
|
|
13522
13574
|
"filePath": "src/tokens/control.tokens.json",
|
|
13523
13575
|
"isSource": true,
|
|
13524
13576
|
"original": {
|
|
13525
13577
|
"value": {
|
|
13526
|
-
"default": "{color.
|
|
13527
|
-
"dark": "{color.
|
|
13578
|
+
"default": "{color.alpha.dark.2}",
|
|
13579
|
+
"dark": "{color.alpha.light.8}"
|
|
13528
13580
|
},
|
|
13529
13581
|
"$type": "color",
|
|
13530
13582
|
"comment": "Used for the background of static content that prepends or appends a text input."
|
|
@@ -13132,6 +13132,58 @@
|
|
|
13132
13132
|
},
|
|
13133
13133
|
"link": {
|
|
13134
13134
|
"mention": {
|
|
13135
|
+
"text": {
|
|
13136
|
+
"color": {
|
|
13137
|
+
"default": {
|
|
13138
|
+
"value": "#0b5cad",
|
|
13139
|
+
"$type": "color",
|
|
13140
|
+
"comment": "Used for the mention link text color.",
|
|
13141
|
+
"filePath": "src/tokens/contextual/link.tokens.json",
|
|
13142
|
+
"isSource": true,
|
|
13143
|
+
"original": {
|
|
13144
|
+
"value": {
|
|
13145
|
+
"default": "{color.blue.700}",
|
|
13146
|
+
"dark": "{color.blue.200}"
|
|
13147
|
+
},
|
|
13148
|
+
"$type": "color",
|
|
13149
|
+
"comment": "Used for the mention link text color."
|
|
13150
|
+
},
|
|
13151
|
+
"name": "LINK_MENTION_TEXT_COLOR_DEFAULT",
|
|
13152
|
+
"attributes": {},
|
|
13153
|
+
"path": [
|
|
13154
|
+
"link",
|
|
13155
|
+
"mention",
|
|
13156
|
+
"text",
|
|
13157
|
+
"color",
|
|
13158
|
+
"default"
|
|
13159
|
+
]
|
|
13160
|
+
},
|
|
13161
|
+
"current": {
|
|
13162
|
+
"value": "#703800",
|
|
13163
|
+
"$type": "color",
|
|
13164
|
+
"comment": "Used for the mention link text color when referencing the current user.",
|
|
13165
|
+
"filePath": "src/tokens/contextual/link.tokens.json",
|
|
13166
|
+
"isSource": true,
|
|
13167
|
+
"original": {
|
|
13168
|
+
"value": {
|
|
13169
|
+
"default": "{color.orange.800}",
|
|
13170
|
+
"dark": "{color.orange.100}"
|
|
13171
|
+
},
|
|
13172
|
+
"$type": "color",
|
|
13173
|
+
"comment": "Used for the mention link text color when referencing the current user."
|
|
13174
|
+
},
|
|
13175
|
+
"name": "LINK_MENTION_TEXT_COLOR_CURRENT",
|
|
13176
|
+
"attributes": {},
|
|
13177
|
+
"path": [
|
|
13178
|
+
"link",
|
|
13179
|
+
"mention",
|
|
13180
|
+
"text",
|
|
13181
|
+
"color",
|
|
13182
|
+
"current"
|
|
13183
|
+
]
|
|
13184
|
+
}
|
|
13185
|
+
}
|
|
13186
|
+
},
|
|
13135
13187
|
"background": {
|
|
13136
13188
|
"color": {
|
|
13137
13189
|
"default": {
|
|
@@ -13516,15 +13568,15 @@
|
|
|
13516
13568
|
]
|
|
13517
13569
|
},
|
|
13518
13570
|
"readonly": {
|
|
13519
|
-
"value": "
|
|
13571
|
+
"value": "rgba(05, 05, 06, 0.02)",
|
|
13520
13572
|
"$type": "color",
|
|
13521
13573
|
"comment": "Used for the background of static content that prepends or appends a text input.",
|
|
13522
13574
|
"filePath": "src/tokens/control.tokens.json",
|
|
13523
13575
|
"isSource": true,
|
|
13524
13576
|
"original": {
|
|
13525
13577
|
"value": {
|
|
13526
|
-
"default": "{color.
|
|
13527
|
-
"dark": "{color.
|
|
13578
|
+
"default": "{color.alpha.dark.2}",
|
|
13579
|
+
"dark": "{color.alpha.light.8}"
|
|
13528
13580
|
},
|
|
13529
13581
|
"$type": "color",
|
|
13530
13582
|
"comment": "Used for the background of static content that prepends or appends a text input."
|
|
@@ -490,7 +490,7 @@ $gl-control-border-color-default: $gl-color-neutral-500; // Used for form contro
|
|
|
490
490
|
$gl-control-background-color-selected-focus: $gl-color-blue-200; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background on hover.
|
|
491
491
|
$gl-control-background-color-selected-hover: $gl-color-blue-200; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background on hover.
|
|
492
492
|
$gl-control-background-color-selected-default: $gl-color-blue-300; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background.
|
|
493
|
-
$gl-control-background-color-readonly: $gl-color-
|
|
493
|
+
$gl-control-background-color-readonly: $gl-color-alpha-light-8; // Used for the background of static content that prepends or appends a text input.
|
|
494
494
|
$gl-control-background-color-concatenation: $gl-color-alpha-light-4; // Used for the background of static content that prepends or appends a text input.
|
|
495
495
|
$gl-control-background-color-disabled: $gl-color-alpha-light-4; // Used for disabled form control (checkbox, input, radio button, textarea) background.
|
|
496
496
|
$gl-control-background-color-default: $gl-color-alpha-dark-40; // Used for form control (input, radio button, checkbox, textarea) default background.
|
|
@@ -504,6 +504,8 @@ $gl-skeleton-loader-background-color: $gl-color-neutral-800; // Used for the ske
|
|
|
504
504
|
$gl-popover-background-color: $gl-color-neutral-900; // Used for the background color of popover.
|
|
505
505
|
$gl-link-mention-background-color-current: $gl-color-orange-800; // Used for the mention link background when referencing the current user.
|
|
506
506
|
$gl-link-mention-background-color-default: $gl-color-blue-800; // Used for the mention link default background.
|
|
507
|
+
$gl-link-mention-text-color-current: $gl-color-orange-100; // Used for the mention link text color when referencing the current user.
|
|
508
|
+
$gl-link-mention-text-color-default: $gl-color-blue-200; // Used for the mention link text color.
|
|
507
509
|
$gl-label-scoped-button-icon-color-hover: $gl-color-neutral-950; // Used for the scoped label remove button icon in the hover state.
|
|
508
510
|
$gl-label-scoped-button-icon-color-default: $gl-color-neutral-0; // Used for the scoped label remove button icon in the default state.
|
|
509
511
|
$gl-label-scoped-button-background-color-hover: $gl-color-neutral-0; // Used for the scoped label remove button background in the hover state.
|
|
@@ -490,7 +490,7 @@ $gl-control-border-color-default: $gl-color-neutral-400; // Used for form contro
|
|
|
490
490
|
$gl-control-background-color-selected-focus: $gl-color-blue-700; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background on hover.
|
|
491
491
|
$gl-control-background-color-selected-hover: $gl-color-blue-700; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background on hover.
|
|
492
492
|
$gl-control-background-color-selected-default: $gl-color-blue-500; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background.
|
|
493
|
-
$gl-control-background-color-readonly: $gl-color-
|
|
493
|
+
$gl-control-background-color-readonly: $gl-color-alpha-dark-2; // Used for the background of static content that prepends or appends a text input.
|
|
494
494
|
$gl-control-background-color-concatenation: $gl-color-neutral-10; // Used for the background of static content that prepends or appends a text input.
|
|
495
495
|
$gl-control-background-color-disabled: $gl-color-neutral-10; // Used for disabled form control (checkbox, input, radio button, textarea) background.
|
|
496
496
|
$gl-control-background-color-default: $gl-color-neutral-0; // Used for form control (input, radio button, checkbox, textarea) default background.
|
|
@@ -504,6 +504,8 @@ $gl-skeleton-loader-background-color: $gl-color-neutral-100; // Used for the ske
|
|
|
504
504
|
$gl-popover-background-color: $gl-color-neutral-0; // Used for the background color of popover.
|
|
505
505
|
$gl-link-mention-background-color-current: $gl-color-orange-100; // Used for the mention link background when referencing the current user.
|
|
506
506
|
$gl-link-mention-background-color-default: $gl-color-blue-100; // Used for the mention link default background.
|
|
507
|
+
$gl-link-mention-text-color-current: $gl-color-orange-800; // Used for the mention link text color when referencing the current user.
|
|
508
|
+
$gl-link-mention-text-color-default: $gl-color-blue-700; // Used for the mention link text color.
|
|
507
509
|
$gl-label-scoped-button-icon-color-hover: $gl-color-neutral-0; // Used for the scoped label remove button icon in the hover state.
|
|
508
510
|
$gl-label-scoped-button-icon-color-default: $gl-color-neutral-950; // Used for the scoped label remove button icon in the default state.
|
|
509
511
|
$gl-label-scoped-button-background-color-hover: $gl-color-neutral-950; // Used for the scoped label remove button background in the hover state.
|
|
@@ -596,6 +596,8 @@ $gl-label-scoped-text-color: var(--gl-label-scoped-text-color);
|
|
|
596
596
|
$gl-label-scoped-button-background-color-hover: var(--gl-label-scoped-button-background-color-hover);
|
|
597
597
|
$gl-label-scoped-button-icon-color-default: var(--gl-label-scoped-button-icon-color-default);
|
|
598
598
|
$gl-label-scoped-button-icon-color-hover: var(--gl-label-scoped-button-icon-color-hover);
|
|
599
|
+
$gl-link-mention-text-color-default: var(--gl-link-mention-text-color-default);
|
|
600
|
+
$gl-link-mention-text-color-current: var(--gl-link-mention-text-color-current);
|
|
599
601
|
$gl-link-mention-background-color-default: var(--gl-link-mention-background-color-default);
|
|
600
602
|
$gl-link-mention-background-color-current: var(--gl-link-mention-background-color-current);
|
|
601
603
|
$gl-popover-background-color: var(--gl-popover-background-color);
|
|
@@ -1,6 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"link": {
|
|
3
3
|
"mention": {
|
|
4
|
+
"text": {
|
|
5
|
+
"color": {
|
|
6
|
+
"default": {
|
|
7
|
+
"$value": {
|
|
8
|
+
"default": "{color.blue.700}",
|
|
9
|
+
"dark": "{color.blue.200}"
|
|
10
|
+
},
|
|
11
|
+
"$type": "color",
|
|
12
|
+
"$description": "Used for the mention link text color."
|
|
13
|
+
},
|
|
14
|
+
"current": {
|
|
15
|
+
"$value": {
|
|
16
|
+
"default": "{color.orange.800}",
|
|
17
|
+
"dark": "{color.orange.100}"
|
|
18
|
+
},
|
|
19
|
+
"$type": "color",
|
|
20
|
+
"$description": "Used for the mention link text color when referencing the current user."
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
},
|
|
4
24
|
"background": {
|
|
5
25
|
"color": {
|
|
6
26
|
"default": {
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
},
|
|
29
29
|
"readonly": {
|
|
30
30
|
"$value": {
|
|
31
|
-
"default": "{color.
|
|
32
|
-
"dark": "{color.
|
|
31
|
+
"default": "{color.alpha.dark.2}",
|
|
32
|
+
"dark": "{color.alpha.light.8}"
|
|
33
33
|
},
|
|
34
34
|
"$type": "color",
|
|
35
35
|
"$description": "Used for the background of static content that prepends or appends a text input."
|