@gitlab/ui 80.17.0 → 80.19.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.
@@ -235,6 +235,78 @@ $data-viz-green-300: #366800 !default;
235
235
  $data-viz-green-200: #275600 !default;
236
236
  $data-viz-green-100: #1a4500 !default;
237
237
  $data-viz-green-50: #133a03 !default;
238
+ $gl-color-theme-light-red-950: #5c1105;
239
+ $gl-color-theme-light-red-900: #751709;
240
+ $gl-color-theme-light-red-800: #8b2212;
241
+ $gl-color-theme-light-red-700: #a02e1c;
242
+ $gl-color-theme-light-red-600: #b53a26;
243
+ $gl-color-theme-light-red-500: #c24b38;
244
+ $gl-color-theme-light-red-400: #d36250;
245
+ $gl-color-theme-light-red-300: #e07f6f;
246
+ $gl-color-theme-light-red-200: #ebada2;
247
+ $gl-color-theme-light-red-100: #f6d9d5;
248
+ $gl-color-theme-light-red-50: #faf2f1;
249
+ $gl-color-theme-light-red-10: #fdf9f8;
250
+ $gl-color-theme-red-950: #380700;
251
+ $gl-color-theme-red-900: #580d02;
252
+ $gl-color-theme-red-800: #761405;
253
+ $gl-color-theme-red-700: #8f2110;
254
+ $gl-color-theme-red-600: #a13322;
255
+ $gl-color-theme-red-500: #ad4a3b;
256
+ $gl-color-theme-red-400: #c66e60;
257
+ $gl-color-theme-red-300: #d59086;
258
+ $gl-color-theme-red-200: #e3bab5;
259
+ $gl-color-theme-red-100: #ecd3d0;
260
+ $gl-color-theme-red-50: #f4e9e7;
261
+ $gl-color-theme-red-10: #faf4f3;
262
+ $gl-color-theme-green-950: #052e19;
263
+ $gl-color-theme-green-900: #0e4328;
264
+ $gl-color-theme-green-800: #155635;
265
+ $gl-color-theme-green-700: #1b653f;
266
+ $gl-color-theme-green-600: #25744c;
267
+ $gl-color-theme-green-500: #308258;
268
+ $gl-color-theme-green-400: #499767;
269
+ $gl-color-theme-green-300: #69af7d;
270
+ $gl-color-theme-green-200: #8cc497;
271
+ $gl-color-theme-green-100: #b1d6b5;
272
+ $gl-color-theme-green-50: #dde9de;
273
+ $gl-color-theme-green-10: #eef4ef;
274
+ $gl-color-theme-light-blue-950: #0a3764;
275
+ $gl-color-theme-light-blue-900: #0c4277;
276
+ $gl-color-theme-light-blue-800: #0e4d8d;
277
+ $gl-color-theme-light-blue-700: #145aa1;
278
+ $gl-color-theme-light-blue-600: #2268ae;
279
+ $gl-color-theme-light-blue-500: #3476b9;
280
+ $gl-color-theme-light-blue-400: #4f8bc7;
281
+ $gl-color-theme-light-blue-300: #74a3d3;
282
+ $gl-color-theme-light-blue-200: #a0bedc;
283
+ $gl-color-theme-light-blue-100: #c1d4e6;
284
+ $gl-color-theme-light-blue-50: #dde6ee;
285
+ $gl-color-theme-light-blue-10: #eef3f7;
286
+ $gl-color-theme-blue-950: #04101c;
287
+ $gl-color-theme-blue-900: #0b2640;
288
+ $gl-color-theme-blue-800: #153c63;
289
+ $gl-color-theme-blue-700: #235180;
290
+ $gl-color-theme-blue-600: #346596;
291
+ $gl-color-theme-blue-500: #4977a5;
292
+ $gl-color-theme-blue-400: #628eb9;
293
+ $gl-color-theme-blue-300: #81a5c9;
294
+ $gl-color-theme-blue-200: #a6bdd5;
295
+ $gl-color-theme-blue-100: #b9cadc;
296
+ $gl-color-theme-blue-50: #cdd8e3;
297
+ $gl-color-theme-blue-10: #e6ecf0;
298
+ $gl-color-theme-indigo-950: #14143d;
299
+ $gl-color-theme-indigo-900: #222261;
300
+ $gl-color-theme-indigo-800: #303083;
301
+ $gl-color-theme-indigo-700: #41419f;
302
+ $gl-color-theme-indigo-600: #5252b5;
303
+ $gl-color-theme-indigo-500: #6666c4;
304
+ $gl-color-theme-indigo-400: #8181d7;
305
+ $gl-color-theme-indigo-300: #a2a2e6;
306
+ $gl-color-theme-indigo-200: #c7c7f2;
307
+ $gl-color-theme-indigo-100: #dbdbf8;
308
+ $gl-color-theme-indigo-50: #f1f1ff;
309
+ $gl-color-theme-indigo-10: #f8f8ff;
238
310
  $gl-color-red-950: #4d0a00;
239
311
  $gl-color-red-900: #660e00;
240
312
  $gl-color-red-800: #8d1300;
@@ -335,6 +407,10 @@ $gl-icon-color-disabled: $gl-color-neutral-500; // Used for an icon within a dis
335
407
  $gl-icon-color-strong: $gl-color-neutral-10; // Used for an icon with the highest contrast.
336
408
  $gl-icon-color-subtle: $gl-color-neutral-300; // Used for a static or decorational icon. Can be paired with subtle text.
337
409
  $gl-icon-color-default: $gl-color-neutral-100; // Used for the default icon color. Can be paired with default text.
410
+ $gl-border-color-transparent: $gl-color-alpha-0; // Used when a border needs to be present, but not visibly perceived.
411
+ $gl-border-color-strong: $gl-color-neutral-400; // Used for a distinct border that emphasizes an edge or boundaries.
412
+ $gl-border-color-subtle: $gl-color-neutral-900; // Used for a border that has a little more definition, or is used in combination with a subtle background.
413
+ $gl-border-color-default: $gl-color-neutral-800; // Used for the default border color.
338
414
  $gl-background-color-disabled: $gl-color-neutral-900; // Used to identify a disabled section.
339
415
  $gl-background-color-strong: $gl-color-neutral-800; // Used to make the background easily stand out from the default.
340
416
  $gl-background-color-subtle: $gl-color-neutral-900; // Used to slightly differentiate the background from the default.
@@ -235,6 +235,78 @@ $data-viz-green-300: #94c25e !default;
235
235
  $data-viz-green-200: #b0d97b !default;
236
236
  $data-viz-green-100: #c6ed94 !default;
237
237
  $data-viz-green-50: #ddfab7 !default;
238
+ $gl-color-theme-light-red-950: #5c1105;
239
+ $gl-color-theme-light-red-900: #751709;
240
+ $gl-color-theme-light-red-800: #8b2212;
241
+ $gl-color-theme-light-red-700: #a02e1c;
242
+ $gl-color-theme-light-red-600: #b53a26;
243
+ $gl-color-theme-light-red-500: #c24b38;
244
+ $gl-color-theme-light-red-400: #d36250;
245
+ $gl-color-theme-light-red-300: #e07f6f;
246
+ $gl-color-theme-light-red-200: #ebada2;
247
+ $gl-color-theme-light-red-100: #f6d9d5;
248
+ $gl-color-theme-light-red-50: #faf2f1;
249
+ $gl-color-theme-light-red-10: #fdf9f8;
250
+ $gl-color-theme-red-950: #380700;
251
+ $gl-color-theme-red-900: #580d02;
252
+ $gl-color-theme-red-800: #761405;
253
+ $gl-color-theme-red-700: #8f2110;
254
+ $gl-color-theme-red-600: #a13322;
255
+ $gl-color-theme-red-500: #ad4a3b;
256
+ $gl-color-theme-red-400: #c66e60;
257
+ $gl-color-theme-red-300: #d59086;
258
+ $gl-color-theme-red-200: #e3bab5;
259
+ $gl-color-theme-red-100: #ecd3d0;
260
+ $gl-color-theme-red-50: #f4e9e7;
261
+ $gl-color-theme-red-10: #faf4f3;
262
+ $gl-color-theme-green-950: #052e19;
263
+ $gl-color-theme-green-900: #0e4328;
264
+ $gl-color-theme-green-800: #155635;
265
+ $gl-color-theme-green-700: #1b653f;
266
+ $gl-color-theme-green-600: #25744c;
267
+ $gl-color-theme-green-500: #308258;
268
+ $gl-color-theme-green-400: #499767;
269
+ $gl-color-theme-green-300: #69af7d;
270
+ $gl-color-theme-green-200: #8cc497;
271
+ $gl-color-theme-green-100: #b1d6b5;
272
+ $gl-color-theme-green-50: #dde9de;
273
+ $gl-color-theme-green-10: #eef4ef;
274
+ $gl-color-theme-light-blue-950: #0a3764;
275
+ $gl-color-theme-light-blue-900: #0c4277;
276
+ $gl-color-theme-light-blue-800: #0e4d8d;
277
+ $gl-color-theme-light-blue-700: #145aa1;
278
+ $gl-color-theme-light-blue-600: #2268ae;
279
+ $gl-color-theme-light-blue-500: #3476b9;
280
+ $gl-color-theme-light-blue-400: #4f8bc7;
281
+ $gl-color-theme-light-blue-300: #74a3d3;
282
+ $gl-color-theme-light-blue-200: #a0bedc;
283
+ $gl-color-theme-light-blue-100: #c1d4e6;
284
+ $gl-color-theme-light-blue-50: #dde6ee;
285
+ $gl-color-theme-light-blue-10: #eef3f7;
286
+ $gl-color-theme-blue-950: #04101c;
287
+ $gl-color-theme-blue-900: #0b2640;
288
+ $gl-color-theme-blue-800: #153c63;
289
+ $gl-color-theme-blue-700: #235180;
290
+ $gl-color-theme-blue-600: #346596;
291
+ $gl-color-theme-blue-500: #4977a5;
292
+ $gl-color-theme-blue-400: #628eb9;
293
+ $gl-color-theme-blue-300: #81a5c9;
294
+ $gl-color-theme-blue-200: #a6bdd5;
295
+ $gl-color-theme-blue-100: #b9cadc;
296
+ $gl-color-theme-blue-50: #cdd8e3;
297
+ $gl-color-theme-blue-10: #e6ecf0;
298
+ $gl-color-theme-indigo-950: #14143d;
299
+ $gl-color-theme-indigo-900: #222261;
300
+ $gl-color-theme-indigo-800: #303083;
301
+ $gl-color-theme-indigo-700: #41419f;
302
+ $gl-color-theme-indigo-600: #5252b5;
303
+ $gl-color-theme-indigo-500: #6666c4;
304
+ $gl-color-theme-indigo-400: #8181d7;
305
+ $gl-color-theme-indigo-300: #a2a2e6;
306
+ $gl-color-theme-indigo-200: #c7c7f2;
307
+ $gl-color-theme-indigo-100: #dbdbf8;
308
+ $gl-color-theme-indigo-50: #f1f1ff;
309
+ $gl-color-theme-indigo-10: #f8f8ff;
238
310
  $gl-color-red-950: #4d0a00;
239
311
  $gl-color-red-900: #660e00;
240
312
  $gl-color-red-800: #8d1300;
@@ -335,6 +407,10 @@ $gl-icon-color-disabled: $gl-color-neutral-300; // Used for an icon within a dis
335
407
  $gl-icon-color-strong: $gl-color-neutral-900; // Used for an icon with the highest contrast.
336
408
  $gl-icon-color-subtle: $gl-color-neutral-500; // Used for a static or decorational icon. Can be paired with subtle text.
337
409
  $gl-icon-color-default: $gl-color-neutral-700; // Used for the default icon color. Can be paired with default text.
410
+ $gl-border-color-transparent: $gl-color-alpha-0; // Used when a border needs to be present, but not visibly perceived.
411
+ $gl-border-color-strong: $gl-color-neutral-400; // Used for a distinct border that emphasizes an edge or boundaries.
412
+ $gl-border-color-subtle: $gl-color-neutral-50; // Used for a border that has a little more definition, or is used in combination with a subtle background.
413
+ $gl-border-color-default: $gl-color-neutral-100; // Used for the default border color.
338
414
  $gl-background-color-disabled: $gl-color-neutral-10; // Used to identify a disabled section.
339
415
  $gl-background-color-strong: $gl-color-neutral-50; // Used to make the background easily stand out from the default.
340
416
  $gl-background-color-subtle: $gl-color-neutral-10; // Used to slightly differentiate the background from the default.
@@ -7,6 +7,10 @@ $gl-background-color-default: var(--gl-background-color-default);
7
7
  $gl-background-color-subtle: var(--gl-background-color-subtle);
8
8
  $gl-background-color-strong: var(--gl-background-color-strong);
9
9
  $gl-background-color-disabled: var(--gl-background-color-disabled);
10
+ $gl-border-color-default: var(--gl-border-color-default);
11
+ $gl-border-color-subtle: var(--gl-border-color-subtle);
12
+ $gl-border-color-strong: var(--gl-border-color-strong);
13
+ $gl-border-color-transparent: var(--gl-border-color-transparent);
10
14
  $gl-color-alpha-0: var(--gl-color-alpha-0);
11
15
  $gl-color-alpha-dark-2: var(--gl-color-alpha-dark-2);
12
16
  $gl-color-alpha-dark-4: var(--gl-color-alpha-dark-4);
@@ -90,6 +94,78 @@ $gl-color-red-700: var(--gl-color-red-700);
90
94
  $gl-color-red-800: var(--gl-color-red-800);
91
95
  $gl-color-red-900: var(--gl-color-red-900);
92
96
  $gl-color-red-950: var(--gl-color-red-950);
97
+ $gl-color-theme-indigo-10: var(--gl-color-theme-indigo-10);
98
+ $gl-color-theme-indigo-50: var(--gl-color-theme-indigo-50);
99
+ $gl-color-theme-indigo-100: var(--gl-color-theme-indigo-100);
100
+ $gl-color-theme-indigo-200: var(--gl-color-theme-indigo-200);
101
+ $gl-color-theme-indigo-300: var(--gl-color-theme-indigo-300);
102
+ $gl-color-theme-indigo-400: var(--gl-color-theme-indigo-400);
103
+ $gl-color-theme-indigo-500: var(--gl-color-theme-indigo-500);
104
+ $gl-color-theme-indigo-600: var(--gl-color-theme-indigo-600);
105
+ $gl-color-theme-indigo-700: var(--gl-color-theme-indigo-700);
106
+ $gl-color-theme-indigo-800: var(--gl-color-theme-indigo-800);
107
+ $gl-color-theme-indigo-900: var(--gl-color-theme-indigo-900);
108
+ $gl-color-theme-indigo-950: var(--gl-color-theme-indigo-950);
109
+ $gl-color-theme-blue-10: var(--gl-color-theme-blue-10);
110
+ $gl-color-theme-blue-50: var(--gl-color-theme-blue-50);
111
+ $gl-color-theme-blue-100: var(--gl-color-theme-blue-100);
112
+ $gl-color-theme-blue-200: var(--gl-color-theme-blue-200);
113
+ $gl-color-theme-blue-300: var(--gl-color-theme-blue-300);
114
+ $gl-color-theme-blue-400: var(--gl-color-theme-blue-400);
115
+ $gl-color-theme-blue-500: var(--gl-color-theme-blue-500);
116
+ $gl-color-theme-blue-600: var(--gl-color-theme-blue-600);
117
+ $gl-color-theme-blue-700: var(--gl-color-theme-blue-700);
118
+ $gl-color-theme-blue-800: var(--gl-color-theme-blue-800);
119
+ $gl-color-theme-blue-900: var(--gl-color-theme-blue-900);
120
+ $gl-color-theme-blue-950: var(--gl-color-theme-blue-950);
121
+ $gl-color-theme-light-blue-10: var(--gl-color-theme-light-blue-10);
122
+ $gl-color-theme-light-blue-50: var(--gl-color-theme-light-blue-50);
123
+ $gl-color-theme-light-blue-100: var(--gl-color-theme-light-blue-100);
124
+ $gl-color-theme-light-blue-200: var(--gl-color-theme-light-blue-200);
125
+ $gl-color-theme-light-blue-300: var(--gl-color-theme-light-blue-300);
126
+ $gl-color-theme-light-blue-400: var(--gl-color-theme-light-blue-400);
127
+ $gl-color-theme-light-blue-500: var(--gl-color-theme-light-blue-500);
128
+ $gl-color-theme-light-blue-600: var(--gl-color-theme-light-blue-600);
129
+ $gl-color-theme-light-blue-700: var(--gl-color-theme-light-blue-700);
130
+ $gl-color-theme-light-blue-800: var(--gl-color-theme-light-blue-800);
131
+ $gl-color-theme-light-blue-900: var(--gl-color-theme-light-blue-900);
132
+ $gl-color-theme-light-blue-950: var(--gl-color-theme-light-blue-950);
133
+ $gl-color-theme-green-10: var(--gl-color-theme-green-10);
134
+ $gl-color-theme-green-50: var(--gl-color-theme-green-50);
135
+ $gl-color-theme-green-100: var(--gl-color-theme-green-100);
136
+ $gl-color-theme-green-200: var(--gl-color-theme-green-200);
137
+ $gl-color-theme-green-300: var(--gl-color-theme-green-300);
138
+ $gl-color-theme-green-400: var(--gl-color-theme-green-400);
139
+ $gl-color-theme-green-500: var(--gl-color-theme-green-500);
140
+ $gl-color-theme-green-600: var(--gl-color-theme-green-600);
141
+ $gl-color-theme-green-700: var(--gl-color-theme-green-700);
142
+ $gl-color-theme-green-800: var(--gl-color-theme-green-800);
143
+ $gl-color-theme-green-900: var(--gl-color-theme-green-900);
144
+ $gl-color-theme-green-950: var(--gl-color-theme-green-950);
145
+ $gl-color-theme-red-10: var(--gl-color-theme-red-10);
146
+ $gl-color-theme-red-50: var(--gl-color-theme-red-50);
147
+ $gl-color-theme-red-100: var(--gl-color-theme-red-100);
148
+ $gl-color-theme-red-200: var(--gl-color-theme-red-200);
149
+ $gl-color-theme-red-300: var(--gl-color-theme-red-300);
150
+ $gl-color-theme-red-400: var(--gl-color-theme-red-400);
151
+ $gl-color-theme-red-500: var(--gl-color-theme-red-500);
152
+ $gl-color-theme-red-600: var(--gl-color-theme-red-600);
153
+ $gl-color-theme-red-700: var(--gl-color-theme-red-700);
154
+ $gl-color-theme-red-800: var(--gl-color-theme-red-800);
155
+ $gl-color-theme-red-900: var(--gl-color-theme-red-900);
156
+ $gl-color-theme-red-950: var(--gl-color-theme-red-950);
157
+ $gl-color-theme-light-red-10: var(--gl-color-theme-light-red-10);
158
+ $gl-color-theme-light-red-50: var(--gl-color-theme-light-red-50);
159
+ $gl-color-theme-light-red-100: var(--gl-color-theme-light-red-100);
160
+ $gl-color-theme-light-red-200: var(--gl-color-theme-light-red-200);
161
+ $gl-color-theme-light-red-300: var(--gl-color-theme-light-red-300);
162
+ $gl-color-theme-light-red-400: var(--gl-color-theme-light-red-400);
163
+ $gl-color-theme-light-red-500: var(--gl-color-theme-light-red-500);
164
+ $gl-color-theme-light-red-600: var(--gl-color-theme-light-red-600);
165
+ $gl-color-theme-light-red-700: var(--gl-color-theme-light-red-700);
166
+ $gl-color-theme-light-red-800: var(--gl-color-theme-light-red-800);
167
+ $gl-color-theme-light-red-900: var(--gl-color-theme-light-red-900);
168
+ $gl-color-theme-light-red-950: var(--gl-color-theme-light-red-950);
93
169
  $data-viz-green-50: var(--data-viz-green-50);
94
170
  $data-viz-green-100: var(--data-viz-green-100);
95
171
  $data-viz-green-200: var(--data-viz-green-200);
@@ -224,6 +224,14 @@ const backgroundColors = {
224
224
  disabled:
225
225
  'var(--gl-background-color-disabled, var(--gl-color-neutral-10, #fbfafd))',
226
226
  };
227
+ const borderColors = {
228
+ default:
229
+ 'var(--gl-border-color-default, var(--gl-color-neutral-100, #dcdcde))',
230
+ subtle: 'var(--gl-border-color-subtle, var(--gl-color-neutral-50, #ececef))',
231
+ strong: 'var(--gl-border-color-strong, var(--gl-color-neutral-400, #89888d))',
232
+ transparent:
233
+ 'var(--gl-border-color-transparent, var(--gl-color-alpha-0, transparent))',
234
+ };
227
235
  const iconColors = {
228
236
  default: 'var(--gl-icon-color-default, var(--gl-color-neutral-700, #535158))',
229
237
  subtle: 'var(--gl-icon-color-subtle, var(--gl-color-neutral-500, #737278))',
@@ -274,6 +282,11 @@ const backgroundColor = {
274
282
  ...backgroundColors,
275
283
  };
276
284
 
285
+ const borderColor = {
286
+ ...colors,
287
+ ...borderColors,
288
+ };
289
+
277
290
  const fill = {
278
291
  ...colors,
279
292
  icon: {
@@ -292,6 +305,7 @@ const textColor = {
292
305
  module.exports = {
293
306
  colors,
294
307
  backgroundColor,
308
+ borderColor,
295
309
  textColor,
296
310
  fill,
297
311
  };
@@ -22,14 +22,14 @@ var script = {
22
22
  }
23
23
  },
24
24
  methods: {
25
- isAlpha(value) {
26
- return value.startsWith('rgba(');
25
+ isHex(value) {
26
+ return value.startsWith('#');
27
27
  },
28
28
  getTokenName(token) {
29
29
  return token.path.filter(Boolean).join('.');
30
30
  },
31
31
  getClasses(value) {
32
- if (this.isAlpha(value)) return '';
32
+ if (!this.isHex(value)) return '';
33
33
  if (!this.isBackgroundColorStory) return '';
34
34
  const textColorVariant = colorFromBackground(value, 4.5);
35
35
  return {
@@ -54,7 +54,7 @@ var script = {
54
54
  const __vue_script__ = script;
55
55
 
56
56
  /* template */
57
- var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.containerClass},[_c('ul',{staticClass:"gl-list-style-none gl-m-0 gl-p-0"},_vm._l((_vm.tokens),function(token){return _c('li',{key:token.name,staticClass:"gl-display-flex gl-flex-wrap gl-align-items-center gl-justify-content-space-between gl-gap-3 gl-p-3",class:_vm.getClasses(token.value),style:(_vm.getStyle(token.value))},[_c('code',{directives:[{name:"gl-tooltip",rawName:"v-gl-tooltip"}],staticClass:"gl-reset-color",attrs:{"title":token.comment}},[_vm._v("\n "+_vm._s(_vm.getTokenName(token))+"\n ")]),_vm._v(" "),_c('div',{staticClass:"gl-display-flex gl-align-items-center gl-gap-3"},[(token.deprecated)?_c('gl-badge',{directives:[{name:"gl-tooltip",rawName:"v-gl-tooltip"}],attrs:{"title":token.comment,"variant":"danger"}},[_vm._v("\n Deprecated\n ")]):_vm._e(),_vm._v(" "),_c('code',{staticClass:"gl-reset-color"},[_vm._v(_vm._s(token.value))]),_vm._v(" "),(!_vm.isAlpha(token.value))?_c('gl-color-contrast',{attrs:{"foreground":token.value,"background":_vm.darkBackground}}):_vm._e(),_vm._v(" "),(!_vm.isAlpha(token.value))?_c('gl-color-contrast',{attrs:{"foreground":token.value,"background":_vm.lightBackground}}):_vm._e()],1)])}),0)])};
57
+ var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.containerClass},[_c('ul',{staticClass:"gl-list-style-none gl-m-0 gl-p-0"},_vm._l((_vm.tokens),function(token){return _c('li',{key:token.name,staticClass:"gl-display-flex gl-flex-wrap gl-align-items-center gl-justify-content-space-between gl-gap-3 gl-p-3",class:_vm.getClasses(token.value),style:(_vm.getStyle(token.value))},[_c('code',{directives:[{name:"gl-tooltip",rawName:"v-gl-tooltip"}],staticClass:"gl-reset-color",attrs:{"title":token.comment}},[_vm._v("\n "+_vm._s(_vm.getTokenName(token))+"\n ")]),_vm._v(" "),_c('div',{staticClass:"gl-display-flex gl-align-items-center gl-gap-3"},[(token.deprecated)?_c('gl-badge',{directives:[{name:"gl-tooltip",rawName:"v-gl-tooltip"}],attrs:{"title":token.comment,"variant":"danger"}},[_vm._v("\n Deprecated\n ")]):_vm._e(),_vm._v(" "),_c('code',{staticClass:"gl-reset-color"},[_vm._v(_vm._s(token.value))]),_vm._v(" "),(_vm.isHex(token.value))?_c('gl-color-contrast',{attrs:{"foreground":token.value,"background":_vm.darkBackground}}):_vm._e(),_vm._v(" "),(_vm.isHex(token.value))?_c('gl-color-contrast',{attrs:{"foreground":token.value,"background":_vm.lightBackground}}):_vm._e()],1)])}),0)])};
58
58
  var __vue_staticRenderFns__ = [];
59
59
 
60
60
  /* style */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/ui",
3
- "version": "80.17.0",
3
+ "version": "80.19.0",
4
4
  "description": "GitLab UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -107,7 +107,7 @@
107
107
  "@gitlab/eslint-plugin": "19.5.0",
108
108
  "@gitlab/fonts": "^1.3.0",
109
109
  "@gitlab/stylelint-config": "6.1.0",
110
- "@gitlab/svgs": "3.99.0",
110
+ "@gitlab/svgs": "3.101.0",
111
111
  "@jest/test-sequencer": "^29.7.0",
112
112
  "@rollup/plugin-commonjs": "^11.1.0",
113
113
  "@rollup/plugin-node-resolve": "^7.1.3",
@@ -119,7 +119,7 @@
119
119
  "@storybook/addon-viewport": "^7.6.19",
120
120
  "@storybook/builder-webpack5": "^7.6.19",
121
121
  "@storybook/test": "^7.6.19",
122
- "@storybook/test-runner": "0.18.1",
122
+ "@storybook/test-runner": "0.18.2",
123
123
  "@storybook/theming": "^7.6.19",
124
124
  "@storybook/vue": "^7.6.17",
125
125
  "@storybook/vue-webpack5": "^7.6.17",
@@ -144,7 +144,7 @@
144
144
  "emoji-regex": "^10.0.0",
145
145
  "eslint": "8.57.0",
146
146
  "eslint-import-resolver-jest": "3.0.2",
147
- "eslint-plugin-cypress": "3.2.0",
147
+ "eslint-plugin-cypress": "3.3.0",
148
148
  "eslint-plugin-storybook": "0.8.0",
149
149
  "glob": "10.3.3",
150
150
  "identity-obj-proxy": "^3.0.0",
@@ -0,0 +1,35 @@
1
+ {
2
+ "border": {
3
+ "color": {
4
+ "default": {
5
+ "$value": {
6
+ "default": "{color.neutral.100}",
7
+ "dark": "{color.neutral.800}"
8
+ },
9
+ "$type": "color",
10
+ "$description": "Used for the default border color."
11
+ },
12
+ "subtle": {
13
+ "$value": {
14
+ "default": "{color.neutral.50}",
15
+ "dark": "{color.neutral.900}"
16
+ },
17
+ "$type": "color",
18
+ "$description": "Used for a border that has a little more definition, or is used in combination with a subtle background."
19
+ },
20
+ "strong": {
21
+ "$value": {
22
+ "default": "{color.neutral.400}",
23
+ "dark": "{color.neutral.400}"
24
+ },
25
+ "$type": "color",
26
+ "$description": "Used for a distinct border that emphasizes an edge or boundaries."
27
+ },
28
+ "transparent": {
29
+ "$value": "{color.alpha.0}",
30
+ "$type": "color",
31
+ "$description": "Used when a border needs to be present, but not visibly perceived."
32
+ }
33
+ }
34
+ }
35
+ }
@@ -237,6 +237,78 @@
237
237
  --data-viz-green-200: #b0d97b;
238
238
  --data-viz-green-100: #c6ed94;
239
239
  --data-viz-green-50: #ddfab7;
240
+ --gl-color-theme-light-red-950: #5c1105;
241
+ --gl-color-theme-light-red-900: #751709;
242
+ --gl-color-theme-light-red-800: #8b2212;
243
+ --gl-color-theme-light-red-700: #a02e1c;
244
+ --gl-color-theme-light-red-600: #b53a26;
245
+ --gl-color-theme-light-red-500: #c24b38;
246
+ --gl-color-theme-light-red-400: #d36250;
247
+ --gl-color-theme-light-red-300: #e07f6f;
248
+ --gl-color-theme-light-red-200: #ebada2;
249
+ --gl-color-theme-light-red-100: #f6d9d5;
250
+ --gl-color-theme-light-red-50: #faf2f1;
251
+ --gl-color-theme-light-red-10: #fdf9f8;
252
+ --gl-color-theme-red-950: #380700;
253
+ --gl-color-theme-red-900: #580d02;
254
+ --gl-color-theme-red-800: #761405;
255
+ --gl-color-theme-red-700: #8f2110;
256
+ --gl-color-theme-red-600: #a13322;
257
+ --gl-color-theme-red-500: #ad4a3b;
258
+ --gl-color-theme-red-400: #c66e60;
259
+ --gl-color-theme-red-300: #d59086;
260
+ --gl-color-theme-red-200: #e3bab5;
261
+ --gl-color-theme-red-100: #ecd3d0;
262
+ --gl-color-theme-red-50: #f4e9e7;
263
+ --gl-color-theme-red-10: #faf4f3;
264
+ --gl-color-theme-green-950: #052e19;
265
+ --gl-color-theme-green-900: #0e4328;
266
+ --gl-color-theme-green-800: #155635;
267
+ --gl-color-theme-green-700: #1b653f;
268
+ --gl-color-theme-green-600: #25744c;
269
+ --gl-color-theme-green-500: #308258;
270
+ --gl-color-theme-green-400: #499767;
271
+ --gl-color-theme-green-300: #69af7d;
272
+ --gl-color-theme-green-200: #8cc497;
273
+ --gl-color-theme-green-100: #b1d6b5;
274
+ --gl-color-theme-green-50: #dde9de;
275
+ --gl-color-theme-green-10: #eef4ef;
276
+ --gl-color-theme-light-blue-950: #0a3764;
277
+ --gl-color-theme-light-blue-900: #0c4277;
278
+ --gl-color-theme-light-blue-800: #0e4d8d;
279
+ --gl-color-theme-light-blue-700: #145aa1;
280
+ --gl-color-theme-light-blue-600: #2268ae;
281
+ --gl-color-theme-light-blue-500: #3476b9;
282
+ --gl-color-theme-light-blue-400: #4f8bc7;
283
+ --gl-color-theme-light-blue-300: #74a3d3;
284
+ --gl-color-theme-light-blue-200: #a0bedc;
285
+ --gl-color-theme-light-blue-100: #c1d4e6;
286
+ --gl-color-theme-light-blue-50: #dde6ee;
287
+ --gl-color-theme-light-blue-10: #eef3f7;
288
+ --gl-color-theme-blue-950: #04101c;
289
+ --gl-color-theme-blue-900: #0b2640;
290
+ --gl-color-theme-blue-800: #153c63;
291
+ --gl-color-theme-blue-700: #235180;
292
+ --gl-color-theme-blue-600: #346596;
293
+ --gl-color-theme-blue-500: #4977a5;
294
+ --gl-color-theme-blue-400: #628eb9;
295
+ --gl-color-theme-blue-300: #81a5c9;
296
+ --gl-color-theme-blue-200: #a6bdd5;
297
+ --gl-color-theme-blue-100: #b9cadc;
298
+ --gl-color-theme-blue-50: #cdd8e3;
299
+ --gl-color-theme-blue-10: #e6ecf0;
300
+ --gl-color-theme-indigo-950: #14143d;
301
+ --gl-color-theme-indigo-900: #222261;
302
+ --gl-color-theme-indigo-800: #303083;
303
+ --gl-color-theme-indigo-700: #41419f;
304
+ --gl-color-theme-indigo-600: #5252b5;
305
+ --gl-color-theme-indigo-500: #6666c4;
306
+ --gl-color-theme-indigo-400: #8181d7;
307
+ --gl-color-theme-indigo-300: #a2a2e6;
308
+ --gl-color-theme-indigo-200: #c7c7f2;
309
+ --gl-color-theme-indigo-100: #dbdbf8;
310
+ --gl-color-theme-indigo-50: #f1f1ff;
311
+ --gl-color-theme-indigo-10: #f8f8ff;
240
312
  --gl-color-red-950: #4d0a00;
241
313
  --gl-color-red-900: #660e00;
242
314
  --gl-color-red-800: #8d1300;
@@ -337,6 +409,10 @@
337
409
  --gl-icon-color-strong: var(--gl-color-neutral-900); /* Used for an icon with the highest contrast. */
338
410
  --gl-icon-color-subtle: var(--gl-color-neutral-500); /* Used for a static or decorational icon. Can be paired with subtle text. */
339
411
  --gl-icon-color-default: var(--gl-color-neutral-700); /* Used for the default icon color. Can be paired with default text. */
412
+ --gl-border-color-transparent: var(--gl-color-alpha-0); /* Used when a border needs to be present, but not visibly perceived. */
413
+ --gl-border-color-strong: var(--gl-color-neutral-400); /* Used for a distinct border that emphasizes an edge or boundaries. */
414
+ --gl-border-color-subtle: var(--gl-color-neutral-50); /* Used for a border that has a little more definition, or is used in combination with a subtle background. */
415
+ --gl-border-color-default: var(--gl-color-neutral-100); /* Used for the default border color. */
340
416
  --gl-background-color-disabled: var(--gl-color-neutral-10); /* Used to identify a disabled section. */
341
417
  --gl-background-color-strong: var(--gl-color-neutral-50); /* Used to make the background easily stand out from the default. */
342
418
  --gl-background-color-subtle: var(--gl-color-neutral-10); /* Used to slightly differentiate the background from the default. */
@@ -237,6 +237,78 @@
237
237
  --data-viz-green-200: #275600;
238
238
  --data-viz-green-100: #1a4500;
239
239
  --data-viz-green-50: #133a03;
240
+ --gl-color-theme-light-red-950: #5c1105;
241
+ --gl-color-theme-light-red-900: #751709;
242
+ --gl-color-theme-light-red-800: #8b2212;
243
+ --gl-color-theme-light-red-700: #a02e1c;
244
+ --gl-color-theme-light-red-600: #b53a26;
245
+ --gl-color-theme-light-red-500: #c24b38;
246
+ --gl-color-theme-light-red-400: #d36250;
247
+ --gl-color-theme-light-red-300: #e07f6f;
248
+ --gl-color-theme-light-red-200: #ebada2;
249
+ --gl-color-theme-light-red-100: #f6d9d5;
250
+ --gl-color-theme-light-red-50: #faf2f1;
251
+ --gl-color-theme-light-red-10: #fdf9f8;
252
+ --gl-color-theme-red-950: #380700;
253
+ --gl-color-theme-red-900: #580d02;
254
+ --gl-color-theme-red-800: #761405;
255
+ --gl-color-theme-red-700: #8f2110;
256
+ --gl-color-theme-red-600: #a13322;
257
+ --gl-color-theme-red-500: #ad4a3b;
258
+ --gl-color-theme-red-400: #c66e60;
259
+ --gl-color-theme-red-300: #d59086;
260
+ --gl-color-theme-red-200: #e3bab5;
261
+ --gl-color-theme-red-100: #ecd3d0;
262
+ --gl-color-theme-red-50: #f4e9e7;
263
+ --gl-color-theme-red-10: #faf4f3;
264
+ --gl-color-theme-green-950: #052e19;
265
+ --gl-color-theme-green-900: #0e4328;
266
+ --gl-color-theme-green-800: #155635;
267
+ --gl-color-theme-green-700: #1b653f;
268
+ --gl-color-theme-green-600: #25744c;
269
+ --gl-color-theme-green-500: #308258;
270
+ --gl-color-theme-green-400: #499767;
271
+ --gl-color-theme-green-300: #69af7d;
272
+ --gl-color-theme-green-200: #8cc497;
273
+ --gl-color-theme-green-100: #b1d6b5;
274
+ --gl-color-theme-green-50: #dde9de;
275
+ --gl-color-theme-green-10: #eef4ef;
276
+ --gl-color-theme-light-blue-950: #0a3764;
277
+ --gl-color-theme-light-blue-900: #0c4277;
278
+ --gl-color-theme-light-blue-800: #0e4d8d;
279
+ --gl-color-theme-light-blue-700: #145aa1;
280
+ --gl-color-theme-light-blue-600: #2268ae;
281
+ --gl-color-theme-light-blue-500: #3476b9;
282
+ --gl-color-theme-light-blue-400: #4f8bc7;
283
+ --gl-color-theme-light-blue-300: #74a3d3;
284
+ --gl-color-theme-light-blue-200: #a0bedc;
285
+ --gl-color-theme-light-blue-100: #c1d4e6;
286
+ --gl-color-theme-light-blue-50: #dde6ee;
287
+ --gl-color-theme-light-blue-10: #eef3f7;
288
+ --gl-color-theme-blue-950: #04101c;
289
+ --gl-color-theme-blue-900: #0b2640;
290
+ --gl-color-theme-blue-800: #153c63;
291
+ --gl-color-theme-blue-700: #235180;
292
+ --gl-color-theme-blue-600: #346596;
293
+ --gl-color-theme-blue-500: #4977a5;
294
+ --gl-color-theme-blue-400: #628eb9;
295
+ --gl-color-theme-blue-300: #81a5c9;
296
+ --gl-color-theme-blue-200: #a6bdd5;
297
+ --gl-color-theme-blue-100: #b9cadc;
298
+ --gl-color-theme-blue-50: #cdd8e3;
299
+ --gl-color-theme-blue-10: #e6ecf0;
300
+ --gl-color-theme-indigo-950: #14143d;
301
+ --gl-color-theme-indigo-900: #222261;
302
+ --gl-color-theme-indigo-800: #303083;
303
+ --gl-color-theme-indigo-700: #41419f;
304
+ --gl-color-theme-indigo-600: #5252b5;
305
+ --gl-color-theme-indigo-500: #6666c4;
306
+ --gl-color-theme-indigo-400: #8181d7;
307
+ --gl-color-theme-indigo-300: #a2a2e6;
308
+ --gl-color-theme-indigo-200: #c7c7f2;
309
+ --gl-color-theme-indigo-100: #dbdbf8;
310
+ --gl-color-theme-indigo-50: #f1f1ff;
311
+ --gl-color-theme-indigo-10: #f8f8ff;
240
312
  --gl-color-red-950: #4d0a00;
241
313
  --gl-color-red-900: #660e00;
242
314
  --gl-color-red-800: #8d1300;
@@ -337,6 +409,10 @@
337
409
  --gl-icon-color-strong: var(--gl-color-neutral-10); /* Used for an icon with the highest contrast. */
338
410
  --gl-icon-color-subtle: var(--gl-color-neutral-300); /* Used for a static or decorational icon. Can be paired with subtle text. */
339
411
  --gl-icon-color-default: var(--gl-color-neutral-100); /* Used for the default icon color. Can be paired with default text. */
412
+ --gl-border-color-transparent: var(--gl-color-alpha-0); /* Used when a border needs to be present, but not visibly perceived. */
413
+ --gl-border-color-strong: var(--gl-color-neutral-400); /* Used for a distinct border that emphasizes an edge or boundaries. */
414
+ --gl-border-color-subtle: var(--gl-color-neutral-900); /* Used for a border that has a little more definition, or is used in combination with a subtle background. */
415
+ --gl-border-color-default: var(--gl-color-neutral-800); /* Used for the default border color. */
340
416
  --gl-background-color-disabled: var(--gl-color-neutral-900); /* Used to identify a disabled section. */
341
417
  --gl-background-color-strong: var(--gl-color-neutral-800); /* Used to make the background easily stand out from the default. */
342
418
  --gl-background-color-subtle: var(--gl-color-neutral-900); /* Used to slightly differentiate the background from the default. */