@gitlab/ui 91.6.0 → 91.7.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.
Files changed (27) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/components/experimental/duo/chat/components/duo_chat_context/duo_chat_context_item_menu/duo_chat_context_item_menu.js +7 -2
  3. 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
  4. package/dist/index.css +1 -1
  5. package/dist/index.css.map +1 -1
  6. package/dist/tokens/build/js/tokens.dark.js +1 -1
  7. package/dist/tokens/build/js/tokens.js +1 -1
  8. package/dist/tokens/css/tokens.css +1 -1
  9. package/dist/tokens/css/tokens.dark.css +1 -1
  10. package/dist/tokens/js/tokens.dark.js +1 -1
  11. package/dist/tokens/js/tokens.js +1 -1
  12. package/dist/tokens/json/tokens.dark.json +3 -3
  13. package/dist/tokens/json/tokens.json +3 -3
  14. package/dist/tokens/scss/_tokens.dark.scss +1 -1
  15. package/dist/tokens/scss/_tokens.scss +1 -1
  16. package/package.json +1 -1
  17. package/src/components/experimental/duo/chat/components/duo_chat_context/duo_chat_context_item_menu/duo_chat_context_item_menu.vue +13 -7
  18. 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
  19. package/src/tokens/build/css/tokens.css +1 -1
  20. package/src/tokens/build/css/tokens.dark.css +1 -1
  21. package/src/tokens/build/js/tokens.dark.js +1 -1
  22. package/src/tokens/build/js/tokens.js +1 -1
  23. package/src/tokens/build/json/tokens.dark.json +3 -3
  24. package/src/tokens/build/json/tokens.json +3 -3
  25. package/src/tokens/build/scss/_tokens.dark.scss +1 -1
  26. package/src/tokens/build/scss/_tokens.scss +1 -1
  27. package/src/tokens/control.tokens.json +2 -2
@@ -611,7 +611,7 @@ const GL_TAB_SELECTED_INDICATOR_COLOR_DEFAULT = '#428fdc'; // Used for the selec
611
611
  const GL_CONTROL_BACKGROUND_COLOR_DEFAULT = 'rgba(05, 05, 06, 0.4)'; // Used for form control (input, radio button, checkbox, textarea) default background.
612
612
  const GL_CONTROL_BACKGROUND_COLOR_DISABLED = 'rgba(255, 255, 255, 0.04)'; // Used for disabled form control (checkbox, input, radio button, textarea) background.
613
613
  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
- const GL_CONTROL_BACKGROUND_COLOR_READONLY = '#28272d'; // Used for the background of static content that prepends or appends a text input.
614
+ 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
615
  const GL_CONTROL_BACKGROUND_COLOR_SELECTED_DEFAULT = '#63a6e9'; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background.
616
616
  const GL_CONTROL_BACKGROUND_COLOR_SELECTED_HOVER = '#9dc7f1'; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background on hover.
617
617
  const GL_CONTROL_BACKGROUND_COLOR_SELECTED_FOCUS = '#9dc7f1'; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background on hover.
@@ -611,7 +611,7 @@ const GL_TAB_SELECTED_INDICATOR_COLOR_DEFAULT = '#1f75cb'; // Used for the selec
611
611
  const GL_CONTROL_BACKGROUND_COLOR_DEFAULT = '#fff'; // Used for form control (input, radio button, checkbox, textarea) default background.
612
612
  const GL_CONTROL_BACKGROUND_COLOR_DISABLED = '#fbfafd'; // Used for disabled form control (checkbox, input, radio button, textarea) background.
613
613
  const GL_CONTROL_BACKGROUND_COLOR_CONCATENATION = '#fbfafd'; // Used for the background of static content that prepends or appends a text input.
614
- const GL_CONTROL_BACKGROUND_COLOR_READONLY = '#fbfafd'; // Used for the background of static content that prepends or appends a text input.
614
+ 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
615
  const GL_CONTROL_BACKGROUND_COLOR_SELECTED_DEFAULT = '#1f75cb'; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background.
616
616
  const GL_CONTROL_BACKGROUND_COLOR_SELECTED_HOVER = '#0b5cad'; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background on hover.
617
617
  const GL_CONTROL_BACKGROUND_COLOR_SELECTED_FOCUS = '#0b5cad'; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background on hover.
@@ -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-neutral-10); /* Used for the background of static content that prepends or appends a text input. */
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. */
@@ -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-neutral-900); /* Used for the background of static content that prepends or appends a text input. */
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. */
@@ -611,7 +611,7 @@ export const GL_TAB_SELECTED_INDICATOR_COLOR_DEFAULT = '#428fdc'; // Used for th
611
611
  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
612
  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
613
  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 = '#28272d'; // Used for the background of static content that prepends or appends a text input.
614
+ 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
615
  export const GL_CONTROL_BACKGROUND_COLOR_SELECTED_DEFAULT = '#63a6e9'; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background.
616
616
  export const GL_CONTROL_BACKGROUND_COLOR_SELECTED_HOVER = '#9dc7f1'; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background on hover.
617
617
  export const GL_CONTROL_BACKGROUND_COLOR_SELECTED_FOCUS = '#9dc7f1'; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background on hover.
@@ -611,7 +611,7 @@ export const GL_TAB_SELECTED_INDICATOR_COLOR_DEFAULT = '#1f75cb'; // Used for th
611
611
  export const GL_CONTROL_BACKGROUND_COLOR_DEFAULT = '#fff'; // Used for form control (input, radio button, checkbox, textarea) default background.
612
612
  export const GL_CONTROL_BACKGROUND_COLOR_DISABLED = '#fbfafd'; // Used for disabled form control (checkbox, input, radio button, textarea) background.
613
613
  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 = '#fbfafd'; // Used for the background of static content that prepends or appends a text input.
614
+ 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
615
  export const GL_CONTROL_BACKGROUND_COLOR_SELECTED_DEFAULT = '#1f75cb'; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background.
616
616
  export const GL_CONTROL_BACKGROUND_COLOR_SELECTED_HOVER = '#0b5cad'; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background on hover.
617
617
  export const GL_CONTROL_BACKGROUND_COLOR_SELECTED_FOCUS = '#0b5cad'; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background on hover.
@@ -13516,15 +13516,15 @@
13516
13516
  ]
13517
13517
  },
13518
13518
  "readonly": {
13519
- "value": "#28272d",
13519
+ "value": "rgba(255, 255, 255, 0.08)",
13520
13520
  "$type": "color",
13521
13521
  "comment": "Used for the background of static content that prepends or appends a text input.",
13522
13522
  "filePath": "src/tokens/control.tokens.json",
13523
13523
  "isSource": true,
13524
13524
  "original": {
13525
13525
  "value": {
13526
- "default": "{color.neutral.10}",
13527
- "dark": "{color.neutral.900}"
13526
+ "default": "{color.alpha.dark.2}",
13527
+ "dark": "{color.alpha.light.8}"
13528
13528
  },
13529
13529
  "$type": "color",
13530
13530
  "comment": "Used for the background of static content that prepends or appends a text input."
@@ -13516,15 +13516,15 @@
13516
13516
  ]
13517
13517
  },
13518
13518
  "readonly": {
13519
- "value": "#fbfafd",
13519
+ "value": "rgba(05, 05, 06, 0.02)",
13520
13520
  "$type": "color",
13521
13521
  "comment": "Used for the background of static content that prepends or appends a text input.",
13522
13522
  "filePath": "src/tokens/control.tokens.json",
13523
13523
  "isSource": true,
13524
13524
  "original": {
13525
13525
  "value": {
13526
- "default": "{color.neutral.10}",
13527
- "dark": "{color.neutral.900}"
13526
+ "default": "{color.alpha.dark.2}",
13527
+ "dark": "{color.alpha.light.8}"
13528
13528
  },
13529
13529
  "$type": "color",
13530
13530
  "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-neutral-900; // Used for the background of static content that prepends or appends a text input.
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.
@@ -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-neutral-10; // Used for the background of static content that prepends or appends a text input.
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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/ui",
3
- "version": "91.6.0",
3
+ "version": "91.7.0",
4
4
  "description": "GitLab UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -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
- <ul v-if="showCategorySelection" data-testid="context-menu-category-items">
151
- <!-- Placeholder for GlDuoChatContextItemMenuCategoryItems component coming in a future iteration -->
152
- <li v-for="category of categories" :key="category.value" @click="selectCategory(category)">
153
- {{ category.label }}
154
- </li>
155
- </ul>
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-neutral-10); /* Used for the background of static content that prepends or appends a text input. */
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. */
@@ -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-neutral-900); /* Used for the background of static content that prepends or appends a text input. */
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. */
@@ -611,7 +611,7 @@ export const GL_TAB_SELECTED_INDICATOR_COLOR_DEFAULT = '#428fdc'; // Used for th
611
611
  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
612
  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
613
  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 = '#28272d'; // Used for the background of static content that prepends or appends a text input.
614
+ 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
615
  export const GL_CONTROL_BACKGROUND_COLOR_SELECTED_DEFAULT = '#63a6e9'; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background.
616
616
  export const GL_CONTROL_BACKGROUND_COLOR_SELECTED_HOVER = '#9dc7f1'; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background on hover.
617
617
  export const GL_CONTROL_BACKGROUND_COLOR_SELECTED_FOCUS = '#9dc7f1'; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background on hover.
@@ -611,7 +611,7 @@ export const GL_TAB_SELECTED_INDICATOR_COLOR_DEFAULT = '#1f75cb'; // Used for th
611
611
  export const GL_CONTROL_BACKGROUND_COLOR_DEFAULT = '#fff'; // Used for form control (input, radio button, checkbox, textarea) default background.
612
612
  export const GL_CONTROL_BACKGROUND_COLOR_DISABLED = '#fbfafd'; // Used for disabled form control (checkbox, input, radio button, textarea) background.
613
613
  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 = '#fbfafd'; // Used for the background of static content that prepends or appends a text input.
614
+ 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
615
  export const GL_CONTROL_BACKGROUND_COLOR_SELECTED_DEFAULT = '#1f75cb'; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background.
616
616
  export const GL_CONTROL_BACKGROUND_COLOR_SELECTED_HOVER = '#0b5cad'; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background on hover.
617
617
  export const GL_CONTROL_BACKGROUND_COLOR_SELECTED_FOCUS = '#0b5cad'; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background on hover.
@@ -13516,15 +13516,15 @@
13516
13516
  ]
13517
13517
  },
13518
13518
  "readonly": {
13519
- "value": "#28272d",
13519
+ "value": "rgba(255, 255, 255, 0.08)",
13520
13520
  "$type": "color",
13521
13521
  "comment": "Used for the background of static content that prepends or appends a text input.",
13522
13522
  "filePath": "src/tokens/control.tokens.json",
13523
13523
  "isSource": true,
13524
13524
  "original": {
13525
13525
  "value": {
13526
- "default": "{color.neutral.10}",
13527
- "dark": "{color.neutral.900}"
13526
+ "default": "{color.alpha.dark.2}",
13527
+ "dark": "{color.alpha.light.8}"
13528
13528
  },
13529
13529
  "$type": "color",
13530
13530
  "comment": "Used for the background of static content that prepends or appends a text input."
@@ -13516,15 +13516,15 @@
13516
13516
  ]
13517
13517
  },
13518
13518
  "readonly": {
13519
- "value": "#fbfafd",
13519
+ "value": "rgba(05, 05, 06, 0.02)",
13520
13520
  "$type": "color",
13521
13521
  "comment": "Used for the background of static content that prepends or appends a text input.",
13522
13522
  "filePath": "src/tokens/control.tokens.json",
13523
13523
  "isSource": true,
13524
13524
  "original": {
13525
13525
  "value": {
13526
- "default": "{color.neutral.10}",
13527
- "dark": "{color.neutral.900}"
13526
+ "default": "{color.alpha.dark.2}",
13527
+ "dark": "{color.alpha.light.8}"
13528
13528
  },
13529
13529
  "$type": "color",
13530
13530
  "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-neutral-900; // Used for the background of static content that prepends or appends a text input.
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.
@@ -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-neutral-10; // Used for the background of static content that prepends or appends a text input.
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.
@@ -28,8 +28,8 @@
28
28
  },
29
29
  "readonly": {
30
30
  "$value": {
31
- "default": "{color.neutral.10}",
32
- "dark": "{color.neutral.900}"
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."