@gitlab/ui 137.3.0 → 138.0.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 (83) hide show
  1. package/dist/components/base/alert/alert.js +2 -2
  2. package/dist/components/base/drawer/drawer.js +0 -1
  3. package/dist/components/base/filtered_search/filtered_search_token_segment.js +0 -1
  4. package/dist/components/base/form/form_group/form_group.js +0 -1
  5. package/dist/components/base/modal/modal.js +1 -5
  6. package/dist/components/base/new_dropdowns/base_dropdown/dropdown_container.js +1 -1
  7. package/dist/components/base/new_dropdowns/disclosure/disclosure_dropdown.js +5 -4
  8. package/dist/components/base/new_dropdowns/disclosure/disclosure_dropdown_item.js +35 -20
  9. package/dist/components/base/toast/index.js +1 -1
  10. package/dist/components/base/toggle/toggle.js +0 -1
  11. package/dist/components/mixins/tooltip_mixin.js +1 -1
  12. package/dist/index.css +2 -2
  13. package/dist/index.css.map +1 -1
  14. package/dist/tailwind.css +1 -1
  15. package/dist/tailwind.css.map +1 -1
  16. package/dist/tokens/build/js/tokens.dark.js +299 -299
  17. package/dist/tokens/build/js/tokens.js +302 -302
  18. package/dist/utils/confetti/confetti.js +189 -0
  19. package/dist/utils/confetti/constants.js +36 -0
  20. package/dist/utils/confetti/field.js +114 -0
  21. package/dist/utils/confetti/palette.js +6 -0
  22. package/dist/utils/confetti/particles.js +92 -0
  23. package/dist/utils/matrix/columns.js +54 -0
  24. package/dist/utils/matrix/constants.js +19 -0
  25. package/dist/utils/matrix/matrix.js +157 -0
  26. package/dist/utils/matrix/palette.js +9 -0
  27. package/dist/utils.js +2 -0
  28. package/dist/vendor/bootstrap-vue/src/components/popover/helpers/bv-popover-template.js +4 -2
  29. package/dist/vendor/bootstrap-vue/src/components/tooltip/helpers/bv-tooltip-template.js +3 -1
  30. package/package.json +3 -2
  31. package/src/components/base/alert/alert.scss +18 -18
  32. package/src/components/base/alert/alert.vue +2 -1
  33. package/src/components/base/drawer/drawer.vue +0 -1
  34. package/src/components/base/filtered_search/filtered_search_token_segment.vue +0 -1
  35. package/src/components/base/form/form_group/form_group.vue +0 -2
  36. package/src/components/base/form/form_select/form_select.vue +0 -1
  37. package/src/components/base/modal/modal.vue +0 -3
  38. package/src/components/base/new_dropdowns/base_dropdown/dropdown_container.js +1 -1
  39. package/src/components/base/new_dropdowns/disclosure/disclosure_dropdown.scss +2 -1
  40. package/src/components/base/new_dropdowns/disclosure/disclosure_dropdown.vue +4 -1
  41. package/src/components/base/new_dropdowns/disclosure/disclosure_dropdown_item.vue +33 -14
  42. package/src/components/base/tabs/tabs/scrollable_tabs.vue +0 -1
  43. package/src/components/base/tabs/tabs/tabs.vue +0 -1
  44. package/src/components/base/toast/index.js +1 -1
  45. package/src/components/base/toggle/toggle.vue +0 -1
  46. package/src/components/charts/heatmap/index.js +1 -1
  47. package/src/components/mixins/tooltip_mixin.js +1 -1
  48. package/src/tokens/build/css/tokens.css +74 -74
  49. package/src/tokens/build/css/tokens.dark.css +70 -70
  50. package/src/tokens/build/docs/tokens-tailwind-docs.dark.json +303 -303
  51. package/src/tokens/build/docs/tokens-tailwind-docs.json +323 -323
  52. package/src/tokens/build/figma/constants.dark.json +207 -207
  53. package/src/tokens/build/figma/constants.json +207 -207
  54. package/src/tokens/build/figma/mode.dark.json +37 -37
  55. package/src/tokens/build/figma/mode.json +35 -35
  56. package/src/tokens/build/js/tokens.dark.js +299 -300
  57. package/src/tokens/build/js/tokens.js +302 -303
  58. package/src/tokens/build/json/tokens.dark.json +369 -369
  59. package/src/tokens/build/json/tokens.json +376 -376
  60. package/src/tokens/build/scss/_tokens.dark.scss +70 -70
  61. package/src/tokens/build/scss/_tokens.scss +74 -74
  62. package/src/tokens/constant/color.blue.tokens.json +39 -39
  63. package/src/tokens/constant/color.green.tokens.json +41 -41
  64. package/src/tokens/constant/color.orange.tokens.json +43 -43
  65. package/src/tokens/constant/color.purple.tokens.json +40 -40
  66. package/src/tokens/constant/color.red.tokens.json +44 -44
  67. package/src/tokens/contextual/avatar.tokens.json +13 -13
  68. package/src/tokens/contextual/button.tokens.json +22 -22
  69. package/src/tokens/contextual/chart.tokens.json +3 -3
  70. package/src/tokens/semantic/action.tokens.json +18 -18
  71. package/src/utils/confetti/confetti.js +191 -0
  72. package/src/utils/confetti/constants.js +42 -0
  73. package/src/utils/confetti/field.js +134 -0
  74. package/src/utils/confetti/palette.js +15 -0
  75. package/src/utils/confetti/particles.js +98 -0
  76. package/src/utils/matrix/columns.js +53 -0
  77. package/src/utils/matrix/constants.js +19 -0
  78. package/src/utils/matrix/matrix.js +185 -0
  79. package/src/utils/matrix/palette.js +18 -0
  80. package/src/utils.js +2 -0
  81. package/src/vendor/bootstrap-vue/src/components/popover/helpers/bv-popover-template.js +7 -2
  82. package/src/vendor/bootstrap-vue/src/components/tooltip/helpers/bv-tooltip-template.js +2 -1
  83. package/translations.js +1 -1
@@ -42,10 +42,12 @@ const BVPopoverTemplate = /*#__PURE__*/extend({
42
42
  attrs: {
43
43
  role: 'presentation'
44
44
  }
45
- }, [$title]), isUndefinedOrNull($content) || $content === '' ? /* istanbul ignore next */h() : h('div', {
45
+ },
46
+ // `innerHTML` overrides children, so avoid passing both — Vue 3 warns otherwise
47
+ titleDomProps.innerHTML ? [] : [$title]), isUndefinedOrNull($content) || $content === '' ? /* istanbul ignore next */h() : h('div', {
46
48
  staticClass: 'popover-body',
47
49
  domProps: contentDomProps
48
- }, [$content])]);
50
+ }, contentDomProps.innerHTML ? [] : [$content])]);
49
51
  }
50
52
  }
51
53
  });
@@ -113,7 +113,9 @@ const BVTooltipTemplate = /*#__PURE__*/extend({
113
113
  }), h('div', {
114
114
  staticClass: 'tooltip-inner',
115
115
  domProps
116
- }, [$title])]);
116
+ },
117
+ // `innerHTML` overrides children, so avoid passing both — Vue 3 warns otherwise
118
+ domProps.innerHTML ? [] : [$title])]);
117
119
  }
118
120
  }
119
121
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/ui",
3
- "version": "137.3.0",
3
+ "version": "138.0.0",
4
4
  "description": "GitLab UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -109,6 +109,7 @@
109
109
  "@gitlab/fonts": "^1.3.1",
110
110
  "@gitlab/hybrid-vue": "npm:@vue/compat@3.5.34",
111
111
  "@gitlab/svgs": "*",
112
+ "@gitlab/vue-router-vue3": "npm:vue-router@^4.6.4",
112
113
  "@jest/test-sequencer": "30.5.2",
113
114
  "@rollup/plugin-commonjs": "^28.0.9",
114
115
  "@rollup/plugin-node-resolve": "^16.0.3",
@@ -169,7 +170,7 @@
169
170
  "rollup-plugin-string": "^3.0.0",
170
171
  "rollup-plugin-svg": "^2.0.0",
171
172
  "rollup-plugin-vue": "^5.1.9",
172
- "sass": "^1.104.1",
173
+ "sass": "^1.105.0",
173
174
  "sass-loader": "^10.5.2",
174
175
  "sass-true": "^9",
175
176
  "start-server-and-test": "^2.1.5",
@@ -26,20 +26,24 @@ $gl-alert-padding-x: var(--gl-alert-padding-x, 0px);
26
26
  }
27
27
 
28
28
  .gl-alert {
29
- @apply gl-py-5;
29
+ @apply gl-py-3;
30
30
  @apply gl-text-base;
31
31
  border-radius: var(--gl-alert-border-radius);
32
- padding-inline: calc(#{$gl-spacing-scale-9} + #{$gl-alert-padding-x});
32
+ padding-inline: calc(#{$gl-spacing-scale-7} + #{$gl-alert-padding-x});
33
33
  position: relative;
34
34
  border: 1px solid;
35
35
 
36
36
  &-not-dismissible {
37
- padding-right: calc(#{$gl-spacing-scale-5} + #{$gl-alert-padding-x});
37
+ padding-right: calc(#{$gl-spacing-scale-4} + #{$gl-alert-padding-x});
38
38
  }
39
39
 
40
40
  .gl-link:not(.gl-label-link) {
41
41
  @apply gl-underline;
42
42
  }
43
+
44
+ &.gl-alert-has-actions {
45
+ @apply gl-pb-4;
46
+ }
43
47
  }
44
48
 
45
49
  .gl-alert-sticky {
@@ -48,20 +52,19 @@ $gl-alert-padding-x: var(--gl-alert-padding-x, 0px);
48
52
  }
49
53
 
50
54
  .gl-alert-title {
51
- @apply gl-heading-scale-400 -gl-mt-1 gl-mb-2;
55
+ @apply gl-heading-scale-300;
56
+ @apply gl-mb-2;
57
+ @apply gl-leading-20;
52
58
  }
53
59
 
54
60
  .gl-alert-icon-container {
55
- position: absolute;
56
- top: #{$gl-spacing-scale-4 + $gl-spacing-scale-1};
57
- left: calc(#{$gl-spacing-scale-5} + #{$gl-alert-padding-x});
61
+ @apply gl-absolute;
62
+ @apply gl-top-3;
63
+ left: calc(#{$gl-spacing-scale-3} + #{$gl-alert-padding-x});
58
64
  @apply gl-flex;
59
65
  @apply gl-items-center;
60
- height: $gl-line-height-24;
61
-
62
- .gl-alert-has-title & {
63
- top: $gl-spacing-scale-4;
64
- }
66
+ // Match line-height on first line of title or slot text content
67
+ height: $gl-line-height-20;
65
68
  }
66
69
 
67
70
  .gl-alert-body {
@@ -89,12 +92,9 @@ $gl-alert-padding-x: var(--gl-alert-padding-x, 0px);
89
92
  // This is the replacement for .gl-alert-dismiss
90
93
  .gl-dismiss-btn {
91
94
  position: absolute;
92
- top: $gl-spacing-scale-4;
93
- right: calc(#{$gl-spacing-scale-4} + #{$gl-alert-padding-x});
94
-
95
- .gl-alert-has-title & {
96
- top: $gl-spacing-scale-4;
97
- }
95
+ // Pull the button up by half its overhang so it aligns with first line title or slot text content
96
+ top: calc(#{$gl-spacing-scale-3} - (#{$gl-button-small-size} - #{$gl-line-height-20}) / 2);
97
+ right: calc(#{$gl-spacing-scale-2} + #{$gl-alert-padding-x});
98
98
  }
99
99
 
100
100
  /* Variants */
@@ -147,7 +147,6 @@ export default {
147
147
  return alertVariantIconMap[this.variant];
148
148
  },
149
149
  shouldRenderActions() {
150
- // eslint-disable-next-line @gitlab/vue-prefer-dollar-scopedslots
151
150
  return Boolean(this.$slots.actions || this.actionButtons.length);
152
151
  },
153
152
  actionButtons() {
@@ -239,6 +238,7 @@ export default {
239
238
  { 'gl-alert-sticky': sticky },
240
239
  { 'gl-alert-not-dismissible': !dismissible },
241
240
  { 'gl-alert-has-title': !!title },
241
+ { 'gl-alert-has-actions': shouldRenderActions },
242
242
  { 'gl-focus': hasProgrammaticFocus },
243
243
  variantClass,
244
244
  ]"
@@ -263,6 +263,7 @@ export default {
263
263
  v-for="(actionButton, index) in actionButtons"
264
264
  :key="index"
265
265
  class="gl-alert-action"
266
+ size="small"
266
267
  v-bind="actionButton.attrs"
267
268
  v-on="actionButton.listeners"
268
269
  >
@@ -72,7 +72,6 @@ export default {
72
72
  };
73
73
  },
74
74
  shouldRenderFooter() {
75
- // eslint-disable-next-line @gitlab/vue-prefer-dollar-scopedslots
76
75
  return Boolean(this.$slots.footer);
77
76
  },
78
77
  variantClass() {
@@ -212,7 +212,6 @@ export default {
212
212
  },
213
213
 
214
214
  hasOptionsOrSuggestions() {
215
- // eslint-disable-next-line @gitlab/vue-prefer-dollar-scopedslots
216
215
  return this.options?.length || isSlotNotEmpty(this.$slots.suggestions);
217
216
  },
218
217
 
@@ -70,7 +70,6 @@ export default {
70
70
  return defaultClass;
71
71
  },
72
72
  hasLabelDescription() {
73
- // eslint-disable-next-line @gitlab/vue-prefer-dollar-scopedslots
74
73
  return Boolean(this.labelDescription || this.$slots['label-description']);
75
74
  },
76
75
  },
@@ -95,7 +94,6 @@ export default {
95
94
  </div>
96
95
  </template>
97
96
 
98
- <!-- eslint-disable-next-line @gitlab/vue-prefer-dollar-scopedslots -->
99
97
  <template v-for="slot in Object.keys($slots)" #[slot]>
100
98
  <slot :name="slot"></slot>
101
99
  </template>
@@ -60,7 +60,6 @@ export default {
60
60
  <template>
61
61
  <span class="gl-form-select-wrapper" :class="cssClasses">
62
62
  <b-form-select class="gl-form-select" v-bind="$attrs" :class="selectClass" v-on="$listeners">
63
- <!-- eslint-disable-next-line @gitlab/vue-prefer-dollar-scopedslots -->
64
63
  <template v-for="slot in Object.keys($slots)" #[slot]>
65
64
  <slot :name="slot"></slot>
66
65
  </template>
@@ -146,11 +146,9 @@ export default {
146
146
  },
147
147
  computed: {
148
148
  shouldRenderModalOk() {
149
- // eslint-disable-next-line @gitlab/vue-prefer-dollar-scopedslots
150
149
  return Boolean(this.$slots['modal-ok']);
151
150
  },
152
151
  shouldRenderModalCancel() {
153
- // eslint-disable-next-line @gitlab/vue-prefer-dollar-scopedslots
154
152
  return Boolean(this.$slots['modal-cancel']);
155
153
  },
156
154
  shouldRenderModalFooter() {
@@ -158,7 +156,6 @@ export default {
158
156
  this.actionCancel ||
159
157
  this.actionSecondary ||
160
158
  this.actionPrimary ||
161
- // eslint-disable-next-line @gitlab/vue-prefer-dollar-scopedslots
162
159
  this.$slots['modal-footer'],
163
160
  );
164
161
  },
@@ -1,4 +1,4 @@
1
- /* eslint-disable import/no-default-export */
1
+ /* eslint-disable import-x/no-default-export */
2
2
  import { MountingPortal } from 'portal-vue';
3
3
  import { POSITION_ABSOLUTE, POSITION_FIXED } from '../constants';
4
4
 
@@ -6,7 +6,8 @@
6
6
 
7
7
  .gl-new-dropdown-item-content {
8
8
  &:disabled,
9
- &[disabled] {
9
+ &[disabled],
10
+ &.disabled {
10
11
  color: var(--gl-dropdown-option-text-color-disabled);
11
12
  cursor: not-allowed;
12
13
  background: none;
@@ -247,7 +247,6 @@ export default {
247
247
  disclosureTag() {
248
248
  if (
249
249
  this.items?.length ||
250
- // eslint-disable-next-line @gitlab/vue-prefer-dollar-scopedslots
251
250
  hasOnlyListItems(this.$scopedSlots.default || this.$slots.default)
252
251
  ) {
253
252
  return 'ul';
@@ -378,6 +377,9 @@ export default {
378
377
  this.closeAndFocus();
379
378
  }
380
379
  },
380
+ isDisabled(item) {
381
+ return item.disabled;
382
+ },
381
383
  uniqueItemId() {
382
384
  return uniqueId(`disclosure-item-`);
383
385
  },
@@ -443,6 +445,7 @@ export default {
443
445
  :key="uniqueItemId()"
444
446
  :siblings-have-icons="siblingsHaveIcons"
445
447
  :item="item"
448
+ :disabled="isDisabled(item)"
446
449
  @action="handleAction"
447
450
  >
448
451
  <template v-if="'list-item' in $scopedSlots" #list-item>
@@ -50,6 +50,15 @@ export default {
50
50
  default: false,
51
51
  required: false,
52
52
  },
53
+
54
+ /**
55
+ * Is the item able to be selected
56
+ */
57
+ disabled: {
58
+ type: Boolean,
59
+ default: false,
60
+ required: false,
61
+ },
53
62
  },
54
63
  computed: {
55
64
  isLink() {
@@ -108,6 +117,7 @@ export default {
108
117
  ? // eslint-disable-next-line @gitlab/tailwind-no-interpolation
109
118
  `gl-new-dropdown-item-${this.itemVariant}`
110
119
  : '',
120
+ this.disabled ? 'disabled' : '',
111
121
  ];
112
122
  },
113
123
  iconName() {
@@ -125,22 +135,24 @@ export default {
125
135
  },
126
136
  methods: {
127
137
  onKeydown(event) {
128
- const { code } = event;
138
+ if (!this.disabled) {
139
+ const { code } = event;
129
140
 
130
- if (code === ENTER || code === SPACE) {
131
- if (this.isCustomContent) {
132
- this.action();
133
- } else {
134
- stopEvent(event);
135
- /** Instead of simply navigating or calling the action, we want
136
- * the `a/button` to be the target of the event as it might have additional attributes.
137
- * E.g. `a` might have `target` attribute.
138
- */
139
- const e = new MouseEvent('click', { bubbles: true, cancelable: true });
140
- if (this.isLink) {
141
- this.$refs.item.$el.dispatchEvent(e);
141
+ if (code === ENTER || code === SPACE) {
142
+ if (this.isCustomContent) {
143
+ this.action();
142
144
  } else {
143
- this.$refs.item?.dispatchEvent(e);
145
+ stopEvent(event);
146
+ /** Instead of simply navigating or calling the action, we want
147
+ * the `a/button` to be the target of the event as it might have additional attributes.
148
+ * E.g. `a` might have `target` attribute.
149
+ */
150
+ const e = new MouseEvent('click', { bubbles: true, cancelable: true });
151
+ if (this.isLink) {
152
+ this.$refs.item.$el.dispatchEvent(e);
153
+ } else {
154
+ this.$refs.item?.dispatchEvent(e);
155
+ }
144
156
  }
145
157
  }
146
158
  }
@@ -148,6 +160,11 @@ export default {
148
160
  action() {
149
161
  this.$emit('action', this.item);
150
162
  },
163
+ handleClick(event) {
164
+ if (this.disabled) {
165
+ stopEvent(event);
166
+ }
167
+ },
151
168
  },
152
169
  };
153
170
  </script>
@@ -157,6 +174,7 @@ export default {
157
174
  :tabindex="listIndex"
158
175
  :class="classes"
159
176
  data-testid="disclosure-dropdown-item"
177
+ :aria-disabled="disabled"
160
178
  v-on="wrapperListeners"
161
179
  >
162
180
  <slot>
@@ -167,6 +185,7 @@ export default {
167
185
  class="gl-new-dropdown-item-content"
168
186
  :tabindex="componentIndex"
169
187
  v-on="itemComponent.listeners"
188
+ @click="handleClick"
170
189
  >
171
190
  <span class="gl-new-dropdown-item-text-wrapper">
172
191
  <slot name="list-item">
@@ -125,7 +125,6 @@ export default {
125
125
  v-bind="passthroughAttrs"
126
126
  v-on="$listeners"
127
127
  >
128
- <!-- eslint-disable-next-line @gitlab/vue-prefer-dollar-scopedslots -->
129
128
  <template v-for="slot in Object.keys($slots)" #[slot]>
130
129
  <slot :name="slot"></slot>
131
130
  </template>
@@ -238,7 +238,6 @@ export default {
238
238
  v-bind="$attrs"
239
239
  v-on="listeners"
240
240
  >
241
- <!-- eslint-disable-next-line @gitlab/vue-prefer-dollar-scopedslots -->
242
241
  <template v-for="slot in Object.keys($slots)" #[slot]>
243
242
  <slot :name="slot"></slot>
244
243
  </template>
@@ -1,4 +1,4 @@
1
- /* eslint-disable import/no-default-export */
1
+ /* eslint-disable import-x/no-default-export */
2
2
  import Vue from 'vue';
3
3
  import { createNewChildComponent } from '../../../vendor/bootstrap-vue/src/utils/create-new-child-component';
4
4
  import GlToaster from './toaster.vue';
@@ -97,7 +97,6 @@ export default {
97
97
  return Boolean(this.$scopedSlots.description || this.description) && this.isVerticalLayout;
98
98
  },
99
99
  shouldRenderHelp() {
100
- // eslint-disable-next-line @gitlab/vue-prefer-dollar-scopedslots
101
100
  return Boolean(this.$slots.help || this.help) && this.isVerticalLayout;
102
101
  },
103
102
  toggleClasses() {
@@ -1,4 +1,4 @@
1
1
  import Heatmap from './heatmap.vue';
2
2
 
3
- // eslint-disable-next-line import/no-default-export
3
+ // eslint-disable-next-line import-x/no-default-export
4
4
  export default Heatmap;
@@ -1,6 +1,6 @@
1
1
  import { tooltipActionEvents } from '../../utils/constants';
2
2
 
3
- // eslint-disable-next-line import/no-default-export
3
+ // eslint-disable-next-line import-x/no-default-export
4
4
  export default (tooltipRefName) => ({
5
5
  mounted() {
6
6
  /**
@@ -20,17 +20,17 @@
20
20
  --gl-color-alpha-light-24: rgba(255, 255, 255, 0.24);
21
21
  --gl-color-alpha-light-36: rgba(255, 255, 255, 0.36);
22
22
  --gl-color-alpha-light-40: rgba(255, 255, 255, 0.4);
23
- --gl-color-blue-50: #e9f3fc;
24
- --gl-color-blue-100: #cbe2f9;
25
- --gl-color-blue-200: #9dc7f1;
26
- --gl-color-blue-300: #63a6e9;
27
- --gl-color-blue-400: #428fdc;
28
- --gl-color-blue-500: #1f75cb;
29
- --gl-color-blue-600: #2f68b4;
30
- --gl-color-blue-700: #2f5ca0;
31
- --gl-color-blue-800: #284779;
32
- --gl-color-blue-900: #213454;
33
- --gl-color-blue-950: #1d283e;
23
+ --gl-color-blue-50: #e8f2fd;
24
+ --gl-color-blue-100: #c8e0f9;
25
+ --gl-color-blue-200: #9dc8f2;
26
+ --gl-color-blue-300: #64a7e9;
27
+ --gl-color-blue-400: #3f8edd;
28
+ --gl-color-blue-500: #1f73ca;
29
+ --gl-color-blue-600: #2566b5;
30
+ --gl-color-blue-700: #27599f;
31
+ --gl-color-blue-800: #254581;
32
+ --gl-color-blue-900: #1f3166;
33
+ --gl-color-blue-950: #1d2153;
34
34
  --gl-color-brand-white: #fff;
35
35
  --gl-color-brand-charcoal: #171321;
36
36
  --gl-color-brand-orange-01g: #ffd1bf;
@@ -101,17 +101,17 @@
101
101
  --gl-color-data-orange-800: #6f3500;
102
102
  --gl-color-data-orange-900: #5e2f05;
103
103
  --gl-color-data-orange-950: #4b2707;
104
- --gl-color-green-50: #ecf4ee;
105
- --gl-color-green-100: #c3e6cd;
106
- --gl-color-green-200: #91d4a8;
107
- --gl-color-green-300: #52b87a;
108
- --gl-color-green-400: #2da160;
109
- --gl-color-green-500: #108548;
110
- --gl-color-green-600: #2f7549;
111
- --gl-color-green-700: #306440;
112
- --gl-color-green-800: #225131;
113
- --gl-color-green-900: #1e3e28;
114
- --gl-color-green-950: #17291c;
104
+ --gl-color-green-50: #e6f5ea;
105
+ --gl-color-green-100: #bee6d0;
106
+ --gl-color-green-200: #84d4b6;
107
+ --gl-color-green-300: #35b597;
108
+ --gl-color-green-400: #129c84;
109
+ --gl-color-green-500: #0d8070;
110
+ --gl-color-green-600: #0c7265;
111
+ --gl-color-green-700: #0b645a;
112
+ --gl-color-green-800: #075048;
113
+ --gl-color-green-900: #003c36;
114
+ --gl-color-green-950: #002c26;
115
115
  --gl-color-neutral-0: #fff;
116
116
  --gl-color-neutral-10: #f7f7f5;
117
117
  --gl-color-neutral-50: #ecebea;
@@ -126,39 +126,39 @@
126
126
  --gl-color-neutral-900: #28272d;
127
127
  --gl-color-neutral-950: #18171d;
128
128
  --gl-color-neutral-1000: #050408;
129
- --gl-color-orange-50: #fdf1dd;
130
- --gl-color-orange-100: #f5d9a8;
131
- --gl-color-orange-200: #e9be74;
132
- --gl-color-orange-300: #d99530;
133
- --gl-color-orange-400: #c17d10;
134
- --gl-color-orange-500: #ab6100;
135
- --gl-color-orange-600: #995715;
136
- --gl-color-orange-700: #894b16;
137
- --gl-color-orange-800: #693c14;
138
- --gl-color-orange-900: #532e16;
139
- --gl-color-orange-950: #382315;
140
- --gl-color-purple-50: #f4f0ff;
141
- --gl-color-purple-100: #e1d8f9;
142
- --gl-color-purple-200: #cbbbf2;
143
- --gl-color-purple-300: #ac93e6;
144
- --gl-color-purple-400: #9475db;
145
- --gl-color-purple-500: #7b58cf;
146
- --gl-color-purple-600: #6a4fb4;
147
- --gl-color-purple-700: #5c47a6;
148
- --gl-color-purple-800: #493c83;
149
- --gl-color-purple-900: #342d59;
150
- --gl-color-purple-950: #27243e;
151
- --gl-color-red-50: #fcf1ef;
152
- --gl-color-red-100: #fdd4cd;
153
- --gl-color-red-200: #fcb5aa;
154
- --gl-color-red-300: #f6806d;
155
- --gl-color-red-400: #ec5941;
156
- --gl-color-red-500: #dd2b0e;
157
- --gl-color-red-600: #c02f12;
158
- --gl-color-red-700: #a32c12;
159
- --gl-color-red-800: #812713;
160
- --gl-color-red-900: #582014;
161
- --gl-color-red-950: #3e1a14;
129
+ --gl-color-orange-50: #fdf0d5;
130
+ --gl-color-orange-100: #fada9c;
131
+ --gl-color-orange-200: #f7b951;
132
+ --gl-color-orange-300: #fb8017;
133
+ --gl-color-orange-400: #e95f21;
134
+ --gl-color-orange-500: #c74816;
135
+ --gl-color-orange-600: #b34013;
136
+ --gl-color-orange-700: #9e3811;
137
+ --gl-color-orange-800: #7d2d0e;
138
+ --gl-color-orange-900: #5d220d;
139
+ --gl-color-orange-950: #461807;
140
+ --gl-color-purple-50: #f4f0fc;
141
+ --gl-color-purple-100: #e1daf7;
142
+ --gl-color-purple-200: #c9beef;
143
+ --gl-color-purple-300: #a997e1;
144
+ --gl-color-purple-400: #927cd7;
145
+ --gl-color-purple-500: #7862c8;
146
+ --gl-color-purple-600: #6a54c0;
147
+ --gl-color-purple-700: #5b46b8;
148
+ --gl-color-purple-800: #483698;
149
+ --gl-color-purple-900: #362676;
150
+ --gl-color-purple-950: #291a5c;
151
+ --gl-color-red-50: #feeef0;
152
+ --gl-color-red-100: #ffd3d7;
153
+ --gl-color-red-200: #ffafb8;
154
+ --gl-color-red-300: #fc7988;
155
+ --gl-color-red-400: #f15168;
156
+ --gl-color-red-500: #de1d4b;
157
+ --gl-color-red-600: #c52042;
158
+ --gl-color-red-700: #ac203a;
159
+ --gl-color-red-800: #891c2f;
160
+ --gl-color-red-900: #641925;
161
+ --gl-color-red-950: #48151d;
162
162
  --gl-font-family-regular: var(--default-regular-font, 'GitLab Sans'),'GitLab Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Noto Sans',Ubuntu,Cantarell,'Helvetica Neue',sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol','Noto Color Emoji';
163
163
  --gl-font-family-monospace: var(--default-mono-font, 'GitLab Mono'),'GitLab Mono','JetBrains Mono',Menlo,'DejaVu Sans Mono','Liberation Mono',Consolas,'Ubuntu Mono','Courier New','andale mono','lucida console',monospace;
164
164
  --gl-font-size-100: 0.75rem; /** Used for meta text and small labels. */
@@ -244,11 +244,11 @@
244
244
  --gl-zindex-4: 4;
245
245
  --gl-zindex-200: 200;
246
246
  --gl-zindex-9999: 9999;
247
- --gl-avatar-fallback-background-color-red: rgba(252, 181, 170, 0.23921568627450981); /** Red background for avatar fallback with no particular meaning. */
248
- --gl-avatar-fallback-background-color-purple: rgba(203, 187, 242, 0.23921568627450981); /** Purple background for avatar fallback with no particular meaning. */
249
- --gl-avatar-fallback-background-color-blue: rgba(157, 199, 241, 0.23921568627450981); /** Blue background for avatar fallback with no particular meaning. */
250
- --gl-avatar-fallback-background-color-green: rgba(145, 212, 168, 0.23921568627450981); /** Green background for avatar fallback with no particular meaning. */
251
- --gl-avatar-fallback-background-color-orange: rgba(233, 190, 116, 0.23921568627450981); /** Orange background for avatar fallback with no particular meaning. */
247
+ --gl-avatar-fallback-background-color-red: rgba(255, 175, 184, 0.23921568627450981); /** Red background for avatar fallback with no particular meaning. */
248
+ --gl-avatar-fallback-background-color-purple: rgba(201, 190, 239, 0.23921568627450981); /** Purple background for avatar fallback with no particular meaning. */
249
+ --gl-avatar-fallback-background-color-blue: rgba(157, 200, 242, 0.23921568627450981); /** Blue background for avatar fallback with no particular meaning. */
250
+ --gl-avatar-fallback-background-color-green: rgba(132, 212, 182, 0.23921568627450981); /** Green background for avatar fallback with no particular meaning. */
251
+ --gl-avatar-fallback-background-color-orange: rgba(247, 185, 81, 0.23921568627450981); /** Orange background for avatar fallback with no particular meaning. */
252
252
  --gl-avatar-fallback-background-color-neutral: rgba(191, 191, 195, 0.23921568627450981); /** Neutral background for avatar fallback with no particular meaning. */
253
253
  --gl-broadcast-banner-background-color-blue: #235180; /** Used for the background for the blue banner type. */
254
254
  --gl-broadcast-banner-background-color-green: #1b653f; /** Used for the background for the green banner type. */
@@ -266,7 +266,7 @@
266
266
  --gl-broadcast-banner-border-color-lightindigo: #41419f; /** Used for the border for the lightindigo banner type. */
267
267
  --gl-broadcast-banner-border-color-lightred: #8f2110; /** Used for the border for the lightred banner type. */
268
268
  --gl-broadcast-banner-border-color-red: #580d02; /** Used for the border for the red banner type. */
269
- --gl-chart-threshold-area-color: rgba(221, 43, 14, 0.1); /** Used in charts to delineate a threshold area in a chart. */
269
+ --gl-chart-threshold-area-color: rgba(222, 29, 75, 0.1); /** Used in charts to delineate a threshold area in a chart. */
270
270
  --gl-illustration-stroke-color-default: #171321; /** Default stroke color to define shape and provide essential detail. */
271
271
  --gl-illustration-stroke-width-default: 2; /** Default stroke width to define shape and provide essential detail. */
272
272
  --gl-illustration-fill-color-default: #fff; /** Default fill color for an element where specific meaning or emphasis is not required. */
@@ -379,9 +379,9 @@
379
379
  --t-white-a-04: rgba(255, 255, 255, 0.04); /** Use color.alpha.light.4 instead. */
380
380
  --t-white-a-06: rgba(255, 255, 255, 0.06); /** Use color.alpha.light.6 instead. */
381
381
  --t-white-a-08: rgba(255, 255, 255, 0.08); /** Use color.alpha.light.8 instead. */
382
- --gl-action-danger-background-color-default: rgba(245, 127, 108, 0); /** Used for the background of a danger (destructive) action in the default state. */
383
- --gl-action-danger-background-color-hover: rgba(245, 127, 108, 0.16); /** Used for the background of a danger (destructive) action in the hover state. */
384
- --gl-action-danger-background-color-active: rgba(174, 24, 0, 0.24); /** Used for the background of a danger (destructive) action in the active state. */
382
+ --gl-action-danger-background-color-default: rgba(222, 29, 75, 0); /** Used for the background of a danger (destructive) action in the default state. */
383
+ --gl-action-danger-background-color-hover: rgba(222, 29, 75, 0.16); /** Used for the background of a danger (destructive) action in the hover state. */
384
+ --gl-action-danger-background-color-active: rgba(172, 32, 58, 0.24); /** Used for the background of a danger (destructive) action in the active state. */
385
385
  --gl-letter-spacing-heading: -0.01em;
386
386
  --gl-heading-3-letter-spacing: inherit;
387
387
  --gl-heading-4-letter-spacing: inherit;
@@ -577,20 +577,20 @@
577
577
  --gl-button-confirm-secondary-border-color-hover: var(--gl-color-neutral-950); /** Used for the border of an outlined confirm (positive) button in the hover state. */
578
578
  --gl-button-confirm-secondary-border-color-active: var(--gl-color-neutral-1000); /** Used for the border of an outlined confirm (positive) button in the active state. */
579
579
  --gl-button-danger-primary-foreground-color-default: var(--gl-color-neutral-0); /** Used for the foreground of a danger (destructive) primary button in the default state. */
580
- --gl-button-danger-primary-background-color-default: var(--gl-color-red-500); /** Used for the background of a danger (destructive) primary button in the default state. */
581
- --gl-button-danger-primary-background-color-hover: var(--gl-color-red-600); /** Used for the background of a danger (destructive) primary button in the hover state. */
582
- --gl-button-danger-primary-background-color-active: var(--gl-color-red-800); /** Used for the background of a danger (destructive) primary button in the active state. */
583
- --gl-button-danger-primary-border-color-default: var(--gl-color-red-600); /** Used for the border of a danger (destructive) primary button in the default state. */
584
- --gl-button-danger-primary-border-color-hover: var(--gl-color-red-800); /** Used for the border of a danger (destructive) primary button in the hover state. */
585
- --gl-button-danger-primary-border-color-active: var(--gl-color-red-900); /** Used for the border of a danger (destructive) primary button in the active state. */
586
- --gl-button-danger-secondary-foreground-color-default: var(--gl-color-red-500); /** Used for the foreground of a danger (destructive) button in the default state. */
587
- --gl-button-danger-secondary-foreground-color-hover: var(--gl-color-red-700); /** Used for the foreground of a danger (destructive) button in the hover state. */
580
+ --gl-button-danger-primary-background-color-default: var(--gl-color-red-600); /** Used for the background of a danger (destructive) primary button in the default state. */
581
+ --gl-button-danger-primary-background-color-hover: var(--gl-color-red-700); /** Used for the background of a danger (destructive) primary button in the hover state. */
582
+ --gl-button-danger-primary-background-color-active: var(--gl-color-red-900); /** Used for the background of a danger (destructive) primary button in the active state. */
583
+ --gl-button-danger-primary-border-color-default: var(--gl-color-red-700); /** Used for the border of a danger (destructive) primary button in the default state. */
584
+ --gl-button-danger-primary-border-color-hover: var(--gl-color-red-900); /** Used for the border of a danger (destructive) primary button in the hover state. */
585
+ --gl-button-danger-primary-border-color-active: var(--gl-color-red-950); /** Used for the border of a danger (destructive) primary button in the active state. */
586
+ --gl-button-danger-secondary-foreground-color-default: var(--gl-color-red-600); /** Used for the foreground of a danger (destructive) button in the default state. */
587
+ --gl-button-danger-secondary-foreground-color-hover: var(--gl-color-red-800); /** Used for the foreground of a danger (destructive) button in the hover state. */
588
588
  --gl-button-danger-secondary-foreground-color-active: var(--gl-color-red-900); /** Used for the foreground of a danger (destructive) button in the active state. */
589
589
  --gl-button-danger-secondary-background-color-default: var(--gl-color-neutral-0); /** Used for the background of an outlined danger (destructive) button in the default state. */
590
590
  --gl-button-danger-secondary-background-color-hover: var(--gl-color-red-50); /** Used for the background of an outlined danger (destructive) button in the hover state. */
591
591
  --gl-button-danger-secondary-background-color-active: var(--gl-color-red-100); /** Used for the background of an outlined danger (destructive) button in the active state. */
592
- --gl-button-danger-secondary-border-color-default: var(--gl-color-red-500); /** Used for the border of an outlined danger (destructive) button in the default state. */
593
- --gl-button-danger-secondary-border-color-hover: var(--gl-color-red-700); /** Used for the border of an outlined danger (destructive) button in the hover state. */
592
+ --gl-button-danger-secondary-border-color-default: var(--gl-color-red-600); /** Used for the border of an outlined danger (destructive) button in the default state. */
593
+ --gl-button-danger-secondary-border-color-hover: var(--gl-color-red-800); /** Used for the border of an outlined danger (destructive) button in the hover state. */
594
594
  --gl-button-danger-secondary-border-color-active: var(--gl-color-red-900); /** Used for the border of an outlined danger (destructive) button in the active state. */
595
595
  --gl-button-danger-tertiary-background-color-default: var(--gl-action-danger-background-color-default); /** Used for the background of a borderless, tertiary danger (destructive) button in the default state. */
596
596
  --gl-button-danger-tertiary-background-color-hover: var(--gl-action-danger-background-color-hover); /** Used for the background of a borderless, tertiary danger (destructive) button in the hover state. */