@gitlab/ui 85.8.0 → 85.10.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 (49) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/components/base/datepicker/datepicker.js +1 -1
  3. package/dist/components/base/popover/popover.js +1 -1
  4. package/dist/components/base/search_box_by_click/search_box_by_click.js +1 -1
  5. package/dist/components/base/table/table.js +1 -1
  6. package/dist/components/base/token_selector/token_selector.js +1 -1
  7. package/dist/components/charts/single_stat/single_stat.js +1 -1
  8. package/dist/components/experimental/duo/chat/components/duo_chat_conversation/duo_chat_conversation.js +1 -1
  9. package/dist/components/experimental/duo/chat/components/duo_chat_loader/duo_chat_loader.js +1 -1
  10. package/dist/components/experimental/duo/chat/components/duo_chat_message/duo_chat_message.js +3 -3
  11. package/dist/components/experimental/duo/chat/duo_chat.js +2 -2
  12. package/dist/index.css +2 -2
  13. package/dist/index.css.map +1 -1
  14. package/dist/tokens/build/js/tokens.dark.js +35 -1
  15. package/dist/tokens/build/js/tokens.js +35 -1
  16. package/dist/tokens/css/tokens.css +34 -0
  17. package/dist/tokens/css/tokens.dark.css +34 -0
  18. package/dist/tokens/js/tokens.dark.js +34 -0
  19. package/dist/tokens/js/tokens.js +34 -0
  20. package/dist/tokens/json/tokens.dark.json +853 -0
  21. package/dist/tokens/json/tokens.json +853 -0
  22. package/dist/tokens/scss/_tokens.dark.scss +34 -0
  23. package/dist/tokens/scss/_tokens.scss +34 -0
  24. package/dist/tokens/scss/_tokens_custom_properties.scss +34 -0
  25. package/package.json +5 -4
  26. package/src/components/base/datepicker/datepicker.vue +1 -1
  27. package/src/components/base/form/form_fields/validators.js +1 -1
  28. package/src/components/base/form/form_input/form_input.scss +16 -11
  29. package/src/components/base/popover/popover.vue +1 -1
  30. package/src/components/base/search_box_by_click/search_box_by_click.vue +1 -1
  31. package/src/components/base/skeleton_loader/skeleton_loader.scss +2 -2
  32. package/src/components/base/table/table.vue +1 -1
  33. package/src/components/base/token_selector/token_selector.vue +1 -1
  34. package/src/components/charts/single_stat/single_stat.vue +1 -1
  35. package/src/components/experimental/duo/chat/components/duo_chat_conversation/duo_chat_conversation.vue +1 -1
  36. package/src/components/experimental/duo/chat/components/duo_chat_loader/duo_chat_loader.vue +1 -1
  37. package/src/components/experimental/duo/chat/components/duo_chat_message/duo_chat_message.vue +3 -3
  38. package/src/components/experimental/duo/chat/duo_chat.vue +8 -8
  39. package/src/tokens/action.tokens.json +277 -0
  40. package/src/tokens/build/css/tokens.css +34 -0
  41. package/src/tokens/build/css/tokens.dark.css +34 -0
  42. package/src/tokens/build/js/tokens.dark.js +34 -0
  43. package/src/tokens/build/js/tokens.js +34 -0
  44. package/src/tokens/build/json/tokens.dark.json +853 -0
  45. package/src/tokens/build/json/tokens.json +853 -0
  46. package/src/tokens/build/scss/_tokens.dark.scss +34 -0
  47. package/src/tokens/build/scss/_tokens.scss +34 -0
  48. package/src/tokens/build/scss/_tokens_custom_properties.scss +34 -0
  49. package/src/tokens/contextual/skeleton-loader.tokens.json +24 -0
@@ -514,6 +514,8 @@ $gl-control-background-color-selected-hover: $gl-color-blue-200; // Used for che
514
514
  $gl-control-background-color-selected-default: $gl-color-blue-400; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background.
515
515
  $gl-control-background-color-disabled: $gl-color-neutral-950; // Used for disabled form control (checkbox, input, radio button, textarea) background.
516
516
  $gl-control-background-color-default: $gl-color-neutral-900; // Used for form control (input, radio button, checkbox, textarea) default background.
517
+ $gl-skeleton-loader-shimmer-color: $gl-color-neutral-700; // Used for the animated shimmer effect in a skeleton loader.
518
+ $gl-skeleton-loader-background-color: $gl-color-neutral-800; // Used for the skeleton loader background color.
517
519
  $gl-popover-background-color: $gl-color-neutral-900; // Used for the background color of popover.
518
520
  $gl-breadcrumb-separator-color: $gl-color-neutral-700; // Used for the breadcrumb level separator.
519
521
  $gl-banner-promo-background-color: $gl-color-neutral-900; // Used as background for the default banner type.
@@ -534,6 +536,38 @@ $gl-background-color-disabled: $gl-color-neutral-900; // Used to identify a disa
534
536
  $gl-background-color-strong: $gl-color-neutral-800; // Used to make the background easily stand out from the default.
535
537
  $gl-background-color-subtle: $gl-color-neutral-900; // Used to slightly differentiate the background from the default.
536
538
  $gl-background-color-default: $gl-color-neutral-950; // Used for the default background color.
539
+ $gl-action-confirm-icon-color-strong: $gl-color-neutral-900; // Used for the icon on a solid, strong confirm (positive) action background.
540
+ $gl-action-confirm-icon-color-active: $gl-color-blue-50; // Used for the icon of a confirm (positive) action in the active state.
541
+ $gl-action-confirm-icon-color-focus: $gl-color-blue-200; // Used for the icon of a confirm (positive) action in the focus state.
542
+ $gl-action-confirm-icon-color-hover: $gl-color-blue-200; // Used for the icon of a confirm (positive) action in the hover state.
543
+ $gl-action-confirm-icon-color-default: $gl-color-blue-400; // Used for the icon of a confirm (positive) action in the default state.
544
+ $gl-action-confirm-text-color-strong: $gl-color-neutral-900; // Used for the text on a solid, strong confirm (positive) action background.
545
+ $gl-action-confirm-text-color-active: $gl-color-blue-50; // Used for the text of a confirm (positive) action in the active state.
546
+ $gl-action-confirm-text-color-focus: $gl-color-blue-200; // Used for the text of a confirm (positive) action in the focus state.
547
+ $gl-action-confirm-text-color-hover: $gl-color-blue-200; // Used for the text of a confirm (positive) action in the hover state.
548
+ $gl-action-confirm-text-color-default: $gl-color-blue-400; // Used for the text of a confirm (positive) action in the default state.
549
+ $gl-action-confirm-border-color-strong-selected: $gl-color-blue-300; // Used for the border of a solid, strong confirm (positive) action when in a selected or current state.
550
+ $gl-action-confirm-border-color-strong-active: $gl-color-blue-50; // Used for the border of a solid, strong confirm (positive) action in the active state.
551
+ $gl-action-confirm-border-color-strong-focus: $gl-color-blue-100; // Used for the border of a solid, strong confirm (positive) action in the focus state.
552
+ $gl-action-confirm-border-color-strong-hover: $gl-color-blue-100; // Used for the border of a solid, strong confirm (positive) action in the hover state.
553
+ $gl-action-confirm-border-color-strong-default: $gl-color-blue-300; // Used for the border of a solid, strong confirm (positive) action in the default state.
554
+ $gl-action-confirm-border-color-active: $gl-color-blue-50; // Used for the border of an outlined confirm (positive) action in the active state.
555
+ $gl-action-confirm-border-color-focus: $gl-color-blue-200; // Used for the border of an outlined confirm (positive) action in the focus state.
556
+ $gl-action-confirm-border-color-hover: $gl-color-blue-200; // Used for the border of an outlined confirm (positive) action in the hover state.
557
+ $gl-action-confirm-border-color-default: $gl-color-blue-400; // Used for the border of an outlined confirm (positive) action in the default state.
558
+ $gl-action-confirm-background-color-strong-selected: $gl-color-blue-400; // Used for the background of a solid, strong confirm (positive) action when in a selected or current state.
559
+ $gl-action-confirm-background-color-strong-active: $gl-color-blue-200; // Used for the background of a solid, strong confirm (positive) action in the active state.
560
+ $gl-action-confirm-background-color-strong-focus: $gl-color-blue-300; // Used for the background of a solid, strong confirm (positive) action in the focus state.
561
+ $gl-action-confirm-background-color-strong-hover: $gl-color-blue-300; // Used for the background of a solid, strong confirm (positive) action in the hover state.
562
+ $gl-action-confirm-background-color-strong-default: $gl-color-blue-400; // Used for the background of a solid, strong confirm (positive) action in the default state.
563
+ $gl-action-confirm-background-color-subtle-active: $gl-color-blue-800; // Used for the background of a borderless, subtle confirm (positive) action in the active state.
564
+ $gl-action-confirm-background-color-subtle-focus: $gl-color-blue-900; // Used for the background of a borderless, subtle confirm (positive) action in the focus state.
565
+ $gl-action-confirm-background-color-subtle-hover: $gl-color-blue-900; // Used for the background of a borderless, subtle confirm (positive) action in the hover state.
566
+ $gl-action-confirm-background-color-subtle-default: $gl-color-alpha-0; // Used for the background of a borderless, subtle confirm (positive) action in the default state.
567
+ $gl-action-confirm-background-color-active: $gl-color-blue-800; // Used for the background of an outlined confirm (positive) action in the active state.
568
+ $gl-action-confirm-background-color-focus: $gl-color-blue-900; // Used for the background of an outlined confirm (positive) action in the focus state.
569
+ $gl-action-confirm-background-color-hover: $gl-color-blue-900; // Used for the background of an outlined confirm (positive) action in the hover state.
570
+ $gl-action-confirm-background-color-default: $gl-color-neutral-900; // Used for the background of an outlined confirm (positive) action in the default state.
537
571
  $gl-action-neutral-icon-color-strong: $gl-color-neutral-900; // Used for the icon on a solid, strong neutral action background.
538
572
  $gl-action-neutral-icon-color-active: $gl-color-neutral-50; // Used for the icon of outlined and borderless neutral actions in the active state.
539
573
  $gl-action-neutral-icon-color-focus: $gl-color-neutral-200; // Used for the icon of outlined and borderless neutral actions in the focus state.
@@ -514,6 +514,8 @@ $gl-control-background-color-selected-hover: $gl-color-blue-700; // Used for che
514
514
  $gl-control-background-color-selected-default: $gl-color-blue-500; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background.
515
515
  $gl-control-background-color-disabled: $gl-color-neutral-10; // Used for disabled form control (checkbox, input, radio button, textarea) background.
516
516
  $gl-control-background-color-default: $gl-color-neutral-0; // Used for form control (input, radio button, checkbox, textarea) default background.
517
+ $gl-skeleton-loader-shimmer-color: $gl-color-neutral-50; // Used for the animated shimmer effect in a skeleton loader.
518
+ $gl-skeleton-loader-background-color: $gl-color-neutral-100; // Used for the skeleton loader background color.
517
519
  $gl-popover-background-color: $gl-color-neutral-0; // Used for the background color of popover.
518
520
  $gl-breadcrumb-separator-color: $gl-color-neutral-200; // Used for the breadcrumb level separator.
519
521
  $gl-banner-promo-background-color: $gl-color-neutral-10; // Used as background for the default banner type.
@@ -534,6 +536,38 @@ $gl-background-color-disabled: $gl-color-neutral-10; // Used to identify a disab
534
536
  $gl-background-color-strong: $gl-color-neutral-50; // Used to make the background easily stand out from the default.
535
537
  $gl-background-color-subtle: $gl-color-neutral-10; // Used to slightly differentiate the background from the default.
536
538
  $gl-background-color-default: $gl-color-neutral-0; // Used for the default background color.
539
+ $gl-action-confirm-icon-color-strong: $gl-color-neutral-0; // Used for the icon on a solid, strong confirm (positive) action background.
540
+ $gl-action-confirm-icon-color-active: $gl-color-blue-900; // Used for the icon of a confirm (positive) action in the active state.
541
+ $gl-action-confirm-icon-color-focus: $gl-color-blue-700; // Used for the icon of a confirm (positive) action in the focus state.
542
+ $gl-action-confirm-icon-color-hover: $gl-color-blue-700; // Used for the icon of a confirm (positive) action in the hover state.
543
+ $gl-action-confirm-icon-color-default: $gl-color-blue-500; // Used for the icon of a confirm (positive) action in the default state.
544
+ $gl-action-confirm-text-color-strong: $gl-color-neutral-0; // Used for the text on a solid, strong confirm (positive) action background.
545
+ $gl-action-confirm-text-color-active: $gl-color-blue-900; // Used for the text of a confirm (positive) action in the active state.
546
+ $gl-action-confirm-text-color-focus: $gl-color-blue-700; // Used for the text of a confirm (positive) action in the focus state.
547
+ $gl-action-confirm-text-color-hover: $gl-color-blue-700; // Used for the text of a confirm (positive) action in the hover state.
548
+ $gl-action-confirm-text-color-default: $gl-color-blue-500; // Used for the text of a confirm (positive) action in the default state.
549
+ $gl-action-confirm-border-color-strong-selected: $gl-color-blue-600; // Used for the border of a solid, strong confirm (positive) action when in a selected or current state.
550
+ $gl-action-confirm-border-color-strong-active: $gl-color-blue-900; // Used for the border of a solid, strong confirm (positive) action in the active state.
551
+ $gl-action-confirm-border-color-strong-focus: $gl-color-blue-800; // Used for the border of a solid, strong confirm (positive) action in the focus state.
552
+ $gl-action-confirm-border-color-strong-hover: $gl-color-blue-800; // Used for the border of a solid, strong confirm (positive) action in the hover state.
553
+ $gl-action-confirm-border-color-strong-default: $gl-color-blue-600; // Used for the border of a solid, strong confirm (positive) action in the default state.
554
+ $gl-action-confirm-border-color-active: $gl-color-blue-900; // Used for the border of an outlined confirm (positive) action in the active state.
555
+ $gl-action-confirm-border-color-focus: $gl-color-blue-700; // Used for the border of an outlined confirm (positive) action in the focus state.
556
+ $gl-action-confirm-border-color-hover: $gl-color-blue-700; // Used for the border of an outlined confirm (positive) action in the hover state.
557
+ $gl-action-confirm-border-color-default: $gl-color-blue-500; // Used for the border of an outlined confirm (positive) action in the default state.
558
+ $gl-action-confirm-background-color-strong-selected: $gl-color-blue-500; // Used for the background of a solid, strong confirm (positive) action when in a selected or current state.
559
+ $gl-action-confirm-background-color-strong-active: $gl-color-blue-700; // Used for the background of a solid, strong confirm (positive) action in the active state.
560
+ $gl-action-confirm-background-color-strong-focus: $gl-color-blue-600; // Used for the background of a solid, strong confirm (positive) action in the focus state.
561
+ $gl-action-confirm-background-color-strong-hover: $gl-color-blue-600; // Used for the background of a solid, strong confirm (positive) action in the hover state.
562
+ $gl-action-confirm-background-color-strong-default: $gl-color-blue-500; // Used for the background of a solid, strong confirm (positive) action in the default state.
563
+ $gl-action-confirm-background-color-subtle-active: $gl-color-blue-100; // Used for the background of a borderless, subtle confirm (positive) action in the active state.
564
+ $gl-action-confirm-background-color-subtle-focus: $gl-color-blue-50; // Used for the background of a borderless, subtle confirm (positive) action in the focus state.
565
+ $gl-action-confirm-background-color-subtle-hover: $gl-color-blue-50; // Used for the background of a borderless, subtle confirm (positive) action in the hover state.
566
+ $gl-action-confirm-background-color-subtle-default: $gl-color-alpha-0; // Used for the background of a borderless, subtle confirm (positive) action in the default state.
567
+ $gl-action-confirm-background-color-active: $gl-color-blue-100; // Used for the background of an outlined confirm (positive) action in the active state.
568
+ $gl-action-confirm-background-color-focus: $gl-color-blue-50; // Used for the background of an outlined confirm (positive) action in the focus state.
569
+ $gl-action-confirm-background-color-hover: $gl-color-blue-50; // Used for the background of an outlined confirm (positive) action in the hover state.
570
+ $gl-action-confirm-background-color-default: $gl-color-neutral-0; // Used for the background of an outlined confirm (positive) action in the default state.
537
571
  $gl-action-neutral-icon-color-strong: $gl-color-neutral-0; // Used for the icon on a solid, strong neutral action background.
538
572
  $gl-action-neutral-icon-color-active: $gl-color-neutral-900; // Used for the icon of outlined and borderless neutral actions in the active state.
539
573
  $gl-action-neutral-icon-color-focus: $gl-color-neutral-700; // Used for the icon of outlined and borderless neutral actions in the focus state.
@@ -38,6 +38,38 @@ $gl-action-neutral-icon-color-hover: var(--gl-action-neutral-icon-color-hover);
38
38
  $gl-action-neutral-icon-color-focus: var(--gl-action-neutral-icon-color-focus);
39
39
  $gl-action-neutral-icon-color-active: var(--gl-action-neutral-icon-color-active);
40
40
  $gl-action-neutral-icon-color-strong: var(--gl-action-neutral-icon-color-strong);
41
+ $gl-action-confirm-background-color-default: var(--gl-action-confirm-background-color-default);
42
+ $gl-action-confirm-background-color-hover: var(--gl-action-confirm-background-color-hover);
43
+ $gl-action-confirm-background-color-focus: var(--gl-action-confirm-background-color-focus);
44
+ $gl-action-confirm-background-color-active: var(--gl-action-confirm-background-color-active);
45
+ $gl-action-confirm-background-color-subtle-default: var(--gl-action-confirm-background-color-subtle-default);
46
+ $gl-action-confirm-background-color-subtle-hover: var(--gl-action-confirm-background-color-subtle-hover);
47
+ $gl-action-confirm-background-color-subtle-focus: var(--gl-action-confirm-background-color-subtle-focus);
48
+ $gl-action-confirm-background-color-subtle-active: var(--gl-action-confirm-background-color-subtle-active);
49
+ $gl-action-confirm-background-color-strong-default: var(--gl-action-confirm-background-color-strong-default);
50
+ $gl-action-confirm-background-color-strong-hover: var(--gl-action-confirm-background-color-strong-hover);
51
+ $gl-action-confirm-background-color-strong-focus: var(--gl-action-confirm-background-color-strong-focus);
52
+ $gl-action-confirm-background-color-strong-active: var(--gl-action-confirm-background-color-strong-active);
53
+ $gl-action-confirm-background-color-strong-selected: var(--gl-action-confirm-background-color-strong-selected);
54
+ $gl-action-confirm-border-color-default: var(--gl-action-confirm-border-color-default);
55
+ $gl-action-confirm-border-color-hover: var(--gl-action-confirm-border-color-hover);
56
+ $gl-action-confirm-border-color-focus: var(--gl-action-confirm-border-color-focus);
57
+ $gl-action-confirm-border-color-active: var(--gl-action-confirm-border-color-active);
58
+ $gl-action-confirm-border-color-strong-default: var(--gl-action-confirm-border-color-strong-default);
59
+ $gl-action-confirm-border-color-strong-hover: var(--gl-action-confirm-border-color-strong-hover);
60
+ $gl-action-confirm-border-color-strong-focus: var(--gl-action-confirm-border-color-strong-focus);
61
+ $gl-action-confirm-border-color-strong-active: var(--gl-action-confirm-border-color-strong-active);
62
+ $gl-action-confirm-border-color-strong-selected: var(--gl-action-confirm-border-color-strong-selected);
63
+ $gl-action-confirm-text-color-default: var(--gl-action-confirm-text-color-default);
64
+ $gl-action-confirm-text-color-hover: var(--gl-action-confirm-text-color-hover);
65
+ $gl-action-confirm-text-color-focus: var(--gl-action-confirm-text-color-focus);
66
+ $gl-action-confirm-text-color-active: var(--gl-action-confirm-text-color-active);
67
+ $gl-action-confirm-text-color-strong: var(--gl-action-confirm-text-color-strong);
68
+ $gl-action-confirm-icon-color-default: var(--gl-action-confirm-icon-color-default);
69
+ $gl-action-confirm-icon-color-hover: var(--gl-action-confirm-icon-color-hover);
70
+ $gl-action-confirm-icon-color-focus: var(--gl-action-confirm-icon-color-focus);
71
+ $gl-action-confirm-icon-color-active: var(--gl-action-confirm-icon-color-active);
72
+ $gl-action-confirm-icon-color-strong: var(--gl-action-confirm-icon-color-strong);
41
73
  $gl-background-color-default: var(--gl-background-color-default);
42
74
  $gl-background-color-subtle: var(--gl-background-color-subtle);
43
75
  $gl-background-color-strong: var(--gl-background-color-strong);
@@ -433,6 +465,8 @@ $gl-banner-intro-border-color: var(--gl-banner-intro-border-color);
433
465
  $gl-banner-promo-background-color: var(--gl-banner-promo-background-color);
434
466
  $gl-breadcrumb-separator-color: var(--gl-breadcrumb-separator-color);
435
467
  $gl-popover-background-color: var(--gl-popover-background-color);
468
+ $gl-skeleton-loader-background-color: var(--gl-skeleton-loader-background-color);
469
+ $gl-skeleton-loader-shimmer-color: var(--gl-skeleton-loader-shimmer-color);
436
470
  $gl-control-background-color-default: var(--gl-control-background-color-default);
437
471
  $gl-control-background-color-disabled: var(--gl-control-background-color-disabled);
438
472
  $gl-control-background-color-selected-default: var(--gl-control-background-color-selected-default);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/ui",
3
- "version": "85.8.0",
3
+ "version": "85.10.0",
4
4
  "description": "GitLab UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -173,7 +173,8 @@
173
173
  "postcss": "8.4.28",
174
174
  "postcss-loader": "^7.0.2",
175
175
  "postcss-scss": "4.0.4",
176
- "prettier": "2.6.2",
176
+ "prettier": "3.3.2",
177
+ "prettier-plugin-tailwindcss": "^0.6.5",
177
178
  "react": "^18.2.0",
178
179
  "react-dom": "^18.2.0",
179
180
  "rollup": "^2.53.1",
@@ -191,8 +192,8 @@
191
192
  "storybook-dark-mode": "4.0.2",
192
193
  "style-dictionary": "^3.8.0",
193
194
  "stylelint": "15.10.2",
194
- "tailwind-config-viewer": "1.7.3",
195
- "tailwindcss": "3.4.1",
195
+ "tailwind-config-viewer": "2.0.4",
196
+ "tailwindcss": "3.4.4",
196
197
  "vue": "2.7.16",
197
198
  "vue-loader": "^15.8.3",
198
199
  "vue-loader-vue3": "npm:vue-loader@17",
@@ -370,7 +370,7 @@ export default {
370
370
  <template>
371
371
  <div :class="datepickerClasses">
372
372
  <div v-if="showDefaultField" class="gl-display-flex gl-align-items-start gl-gap-3">
373
- <div class="gl-relative gl-display-flex gl-flex-grow-1">
373
+ <div class="gl-display-flex gl-flex-grow-1 gl-relative">
374
374
  <!--
375
375
  @slot (optional) Input to display and bind the datepicker to. Defaults to `<gl-form-input />`
376
376
  @binding {string} formattedDate
@@ -14,7 +14,7 @@ const EMOJI_REGEX = emojiRegex();
14
14
  // // Bad
15
15
  // export const projectPathIsUnique = ...
16
16
  // ```
17
- export const factory = (failMessage, isValid) => (val) => !isValid(val) ? failMessage : '';
17
+ export const factory = (failMessage, isValid) => (val) => (!isValid(val) ? failMessage : '');
18
18
 
19
19
  /**
20
20
  * Validator function to check if a string is present and non-empty.
@@ -1,48 +1,53 @@
1
1
  .gl-form-input,
2
2
  .gl-form-input.form-control {
3
- @include gl-bg-white;
4
3
  @include gl-font-regular;
5
4
  @include gl-font-base;
6
5
  @include gl-line-height-normal;
7
6
  @include gl-py-3;
8
7
  @include gl-px-4;
9
8
  @include gl-h-auto;
10
- @include gl-text-gray-900;
11
- @include gl-inset-border-1-gray-400;
12
9
  @include gl-border-none;
13
10
  @include form-control-focus($ignore-warning: true);
14
11
  appearance: none;
12
+ background: var(--gl-control-background-color-default);
13
+ color: var(--gl-text-color-default);
14
+ box-shadow: inset 0 0 0 $gl-border-size-1 var(--gl-control-border-color-default);
15
15
 
16
16
  @media (forced-colors: active) {
17
17
  border: 1px solid;
18
18
  }
19
19
 
20
+ &:hover {
21
+ box-shadow: inset 0 0 0 $gl-border-size-1 var(--gl-control-border-color-hover);
22
+ }
23
+
20
24
  &:disabled,
21
25
  &:not(.form-control-plaintext):not([type='color']):read-only {
22
- @include gl-bg-gray-10;
23
- @include gl-inset-border-1-gray-100;
26
+ background: var(--gl-control-background-color-disabled);
27
+ box-shadow: inset 0 0 0 $gl-border-size-1 var(--gl-control-border-color-disabled);
24
28
  }
25
29
 
26
30
  &:disabled {
27
31
  @include gl-cursor-not-allowed;
28
- @include gl-text-gray-500;
32
+ color: var(--gl-text-color-disabled);
29
33
  }
30
34
 
31
35
  &:not(.form-control-plaintext):focus {
32
- @include gl-focus($color: $gray-900);
33
- @include gl-text-gray-900;
36
+ @include gl-focus($color: var(--gl-control-border-color-focus));
37
+ background: var(--gl-control-background-color-default);
38
+ color: var(--gl-text-color-default);
34
39
  }
35
40
 
36
41
  &.is-invalid {
37
- @include gl-inset-border-1-red-500;
42
+ box-shadow: inset 0 0 0 $gl-border-size-1 var(--gl-control-border-color-error);
38
43
 
39
44
  &:focus {
40
- @include gl-focus($color: $red-500);
45
+ @include gl-focus($color: var(--gl-control-border-color-error));
41
46
  }
42
47
  }
43
48
 
44
49
  &::placeholder {
45
- @include gl-text-gray-400;
50
+ color: var(--gl-control-placeholder-color);
46
51
  }
47
52
 
48
53
  &.form-control-plaintext {
@@ -100,7 +100,7 @@ export default {
100
100
  </slot>
101
101
  <div v-if="showCloseButton" class="gl-mt-n2 gl-mr-n3 gl-ml-3 gl-h-0">
102
102
  <close-button
103
- :class="{ 'gl-float-right gl-mt-2': !hasTitle }"
103
+ :class="{ 'gl-mt-2 gl-float-right': !hasTitle }"
104
104
  data-testid="close-button"
105
105
  @click="close"
106
106
  />
@@ -238,7 +238,7 @@ export default {
238
238
  </template>
239
239
  </gl-disclosure-dropdown-item>
240
240
  </template>
241
- <div v-else class="gl-font-sm gl-text-secondary gl-py-2 gl-px-4">
241
+ <div v-else class="gl-font-sm gl-py-2 gl-px-4 gl-text-secondary">
242
242
  {{ noRecentSearchesText }}
243
243
  </div>
244
244
 
@@ -8,10 +8,10 @@
8
8
  }
9
9
 
10
10
  .primary-stop {
11
- @include gl-stop-color-gray-100;
11
+ stop-color: var(--gl-skeleton-loader-background-color);
12
12
  }
13
13
 
14
14
  .secondary-stop {
15
- @include gl-stop-color-gray-50;
15
+ stop-color: var(--gl-skeleton-loader-shimmer-color);
16
16
  }
17
17
  }
@@ -112,7 +112,7 @@ export default {
112
112
  <slot :name="headSlotName" v-bind="scope"
113
113
  ><span>{{ scope.label }}</span></slot
114
114
  ><template v-if="isSortable(scope)">
115
- <div class="gl-ml-2 gl-w-5 gl-text-gray-900 gl-display-flex gl-justify-content-center">
115
+ <div class="gl-ml-2 gl-w-5 gl-display-flex gl-justify-content-center gl-text-gray-900">
116
116
  <span
117
117
  name="sort-icon"
118
118
  data-testid="sort-icon"
@@ -415,7 +415,7 @@ export default {
415
415
  <input
416
416
  ref="textInput"
417
417
  type="text"
418
- class="gl-token-selector-input gl-bg-none gl-font-regular gl-font-base gl-line-height-normal gl-px-1 gl-h-auto gl-text-gray-900 gl-border-none gl-outline-none gl-flex-grow-1 gl-w-40p"
418
+ class="gl-token-selector-input gl-bg-none gl-font-regular gl-font-base gl-line-height-normal gl-px-1 gl-h-auto gl-border-none gl-outline-none gl-flex-grow-1 gl-w-40p gl-text-gray-900"
419
419
  :value="inputText"
420
420
  :autocomplete="autocomplete"
421
421
  :aria-labelledby="ariaLabelledby"
@@ -121,7 +121,7 @@ export default {
121
121
  v-bind="$attrs"
122
122
  v-on="$listeners"
123
123
  >
124
- <div class="gl-display-flex gl-align-items-center gl-text-gray-700 gl-mb-2">
124
+ <div class="gl-display-flex gl-align-items-center gl-mb-2 gl-text-gray-700">
125
125
  <gl-icon
126
126
  v-if="showTitleIcon"
127
127
  :name="titleIcon"
@@ -54,7 +54,7 @@ export default {
54
54
  <div class="gl-display-flex gl-flex-direction-column gl-justify-content-end">
55
55
  <div
56
56
  v-if="showDelimiter"
57
- class="gl-my-5 gl-display-flex gl-align-items-center gl-text-gray-500 gl-gap-4"
57
+ class="gl-my-5 gl-display-flex gl-align-items-center gl-gap-4 gl-text-gray-500"
58
58
  data-testid="conversation-delimiter"
59
59
  >
60
60
  <hr class="gl-flex-grow-1" />
@@ -76,7 +76,7 @@ export default {
76
76
  <transition-group
77
77
  ref="transition"
78
78
  name="text"
79
- class="transition gl-display-inline-block gl-relative gl-vertical-align-bottom"
79
+ class="transition gl-display-inline-block gl-vertical-align-bottom gl-relative"
80
80
  @after-leave="computeTransitionWidth"
81
81
  >
82
82
  <span
@@ -187,8 +187,8 @@ export default {
187
187
  <div
188
188
  class="gl-p-4 gl-mb-4 gl-rounded-lg gl-line-height-20 gl-word-break-word duo-chat-message"
189
189
  :class="{
190
- 'gl-ml-auto gl-bg-blue-100 gl-text-blue-900 gl-rounded-bottom-right-none': isUserMessage,
191
- 'gl-rounded-bottom-left-none gl-text-gray-900 gl-border-1 gl-border-solid gl-border-gray-50':
190
+ 'gl-ml-auto gl-bg-blue-100 gl-rounded-bottom-right-none gl-text-blue-900': isUserMessage,
191
+ 'gl-rounded-bottom-left-none gl-border-1 gl-border-solid gl-border-gray-50 gl-text-gray-900':
192
192
  isAssistantMessage,
193
193
  'gl-bg-white': isAssistantMessage && !error,
194
194
  'gl-bg-red-50 gl-border-none!': error,
@@ -199,7 +199,7 @@ export default {
199
199
  :aria-label="$options.i18n.MESSAGE_ERROR"
200
200
  name="status_warning_borderless"
201
201
  :size="16"
202
- class="gl-text-red-600 gl-border gl-border-red-500 gl-rounded-full gl-mr-3 gl-flex-shrink-0 error-icon"
202
+ class="gl-border gl-border-red-500 gl-rounded-full gl-mr-3 gl-flex-shrink-0 error-icon gl-text-red-600"
203
203
  data-testid="error"
204
204
  />
205
205
  <div ref="content-wrapper" :class="{ 'has-error': error }">
@@ -409,7 +409,7 @@ export default {
409
409
  <aside
410
410
  v-if="!isHidden"
411
411
  id="chat-component"
412
- class="markdown-code-block duo-chat-drawer gl-max-h-full gl-bottom-0 gl-shadow-none gl-border-l gl-border-t duo-chat"
412
+ class="markdown-code-block duo-chat-drawer gl-max-h-full gl-shadow-none gl-border-l gl-border-t duo-chat gl-bottom-0"
413
413
  role="complementary"
414
414
  data-testid="chat-component"
415
415
  >
@@ -444,7 +444,7 @@ export default {
444
444
  :dismissible="false"
445
445
  variant="tip"
446
446
  :show-icon="false"
447
- class="gl-text-center gl-border-t gl-p-4 gl-text-gray-700 gl-bg-gray-50 legal-warning gl-max-w-full"
447
+ class="gl-text-center gl-border-t gl-p-4 gl-bg-gray-50 legal-warning gl-max-w-full gl-text-gray-700"
448
448
  role="alert"
449
449
  data-testid="chat-legal-warning"
450
450
  >{{ $options.i18n.CHAT_LEGAL_GENERATED_BY_AI }}</gl-alert
@@ -523,7 +523,7 @@ export default {
523
523
  <gl-card
524
524
  v-if="shouldShowSlashCommands"
525
525
  ref="commands"
526
- class="slash-commands !gl-absolute gl-translate-y-n100 gl-list-style-none gl-pl-0 gl-w-full gl-shadow-md"
526
+ class="slash-commands gl-translate-y-n100 gl-list-style-none gl-pl-0 gl-w-full gl-shadow-md !gl-absolute"
527
527
  body-class="gl-p-2!"
528
528
  >
529
529
  <gl-dropdown-item
@@ -535,7 +535,7 @@ export default {
535
535
  >
536
536
  <span class="gl-display-flex gl-justify-content-space-between">
537
537
  <span class="gl-display-block">{{ command.name }}</span>
538
- <small class="gl-text-gray-500 gl-font-style-italic gl-text-right gl-pl-3">{{
538
+ <small class="gl-font-style-italic gl-text-right gl-pl-3 gl-text-gray-500">{{
539
539
  command.description
540
540
  }}</small>
541
541
  </span>
@@ -546,7 +546,7 @@ export default {
546
546
  ref="prompt"
547
547
  v-model="prompt"
548
548
  data-testid="chat-prompt-input"
549
- class="gl-absolute gl-h-full! gl-py-4! gl-bg-transparent! gl-rounded-top-right-none gl-rounded-bottom-right-none gl-shadow-none!"
549
+ class="gl-h-full! gl-py-4! gl-bg-transparent! gl-rounded-top-right-none gl-rounded-bottom-right-none gl-shadow-none! gl-absolute"
550
550
  :class="{ 'gl-text-truncate': !prompt }"
551
551
  :placeholder="inputPlaceholder"
552
552
  autofocus
@@ -561,7 +561,7 @@ export default {
561
561
  icon="paper-airplane"
562
562
  category="primary"
563
563
  variant="confirm"
564
- class="!gl-absolute gl-bottom-2 gl-right-2 gl-rounded-base!"
564
+ class="gl-rounded-base! !gl-absolute gl-bottom-2 gl-right-2"
565
565
  type="submit"
566
566
  data-testid="chat-prompt-submit-button"
567
567
  :aria-label="$options.i18n.CHAT_SUBMIT_LABEL"
@@ -571,7 +571,7 @@ export default {
571
571
  icon="stop"
572
572
  category="primary"
573
573
  variant="default"
574
- class="!gl-absolute gl-bottom-2 gl-right-2 gl-rounded-base!"
574
+ class="gl-rounded-base! !gl-absolute gl-bottom-2 gl-right-2"
575
575
  data-testid="chat-prompt-cancel-button"
576
576
  :aria-label="$options.i18n.CHAT_CANCEL_LABEL"
577
577
  @click="cancelPrompt"
@@ -579,7 +579,7 @@ export default {
579
579
  </template>
580
580
  </gl-form-input-group>
581
581
  <gl-form-text
582
- class="gl-text-gray-400 gl-line-height-20 gl-mt-3"
582
+ class="gl-line-height-20 gl-mt-3 gl-text-gray-400"
583
583
  data-testid="chat-legal-disclaimer"
584
584
  >{{ $options.i18n.CHAT_LEGAL_DISCLAIMER }}</gl-form-text
585
585
  >