@gitlab/ui 105.1.1 → 105.2.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 (59) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/components/base/datepicker/datepicker.js +2 -2
  3. package/dist/components/base/paginated_list/paginated_list.js +1 -1
  4. package/dist/components/regions/dashboard_skeleton/dashboard_skeleton.js +2 -2
  5. package/dist/components/utilities/friendly_wrap/friendly_wrap.js +1 -1
  6. package/dist/index.css +1 -1
  7. package/dist/index.css.map +1 -1
  8. package/dist/tailwind.css +1 -1
  9. package/dist/tailwind.css.map +1 -1
  10. package/dist/tokens/build/js/tokens.dark.js +33 -1
  11. package/dist/tokens/build/js/tokens.js +33 -1
  12. package/dist/tokens/css/tokens.css +32 -0
  13. package/dist/tokens/css/tokens.dark.css +32 -0
  14. package/dist/tokens/js/tokens.dark.js +32 -0
  15. package/dist/tokens/js/tokens.js +32 -0
  16. package/dist/tokens/json/tokens.dark.json +887 -0
  17. package/dist/tokens/json/tokens.json +887 -0
  18. package/dist/tokens/scss/_tokens.dark.scss +32 -0
  19. package/dist/tokens/scss/_tokens.scss +32 -0
  20. package/dist/tokens/scss/_tokens_custom_properties.scss +32 -0
  21. package/dist/tokens/tokens_table.js +1 -1
  22. package/dist/vendor/bootstrap-vue/src/components/dropdown/dropdown.js +1 -1
  23. package/dist/vendor/bootstrap-vue/src/components/form/form-invalid-feedback.js +1 -1
  24. package/dist/vendor/bootstrap-vue/src/components/form/form-valid-feedback.js +1 -1
  25. package/dist/vendor/bootstrap-vue/src/components/form-group/form-group.js +4 -4
  26. package/dist/vendor/bootstrap-vue/src/components/modal/helpers/modal-manager.js +1 -1
  27. package/dist/vendor/bootstrap-vue/src/components/table/helpers/mixin-sorting.js +2 -2
  28. package/dist/vendor/bootstrap-vue/src/components/table/helpers/mixin-table-renderer.js +1 -1
  29. package/dist/vendor/bootstrap-vue/src/components/table/helpers/mixin-thead.js +1 -1
  30. package/package.json +2 -1
  31. package/src/components/base/datepicker/datepicker.vue +2 -2
  32. package/src/components/base/paginated_list/paginated_list.vue +1 -1
  33. package/src/components/regions/dashboard_skeleton/dashboard_skeleton.vue +12 -10
  34. package/src/components/utilities/friendly_wrap/friendly_wrap.vue +1 -1
  35. package/src/tokens/build/css/tokens.css +32 -0
  36. package/src/tokens/build/css/tokens.dark.css +32 -0
  37. package/src/tokens/build/js/tokens.dark.js +32 -0
  38. package/src/tokens/build/js/tokens.js +32 -0
  39. package/src/tokens/build/json/tokens.dark.json +887 -0
  40. package/src/tokens/build/json/tokens.json +887 -0
  41. package/src/tokens/build/scss/_tokens.dark.scss +32 -0
  42. package/src/tokens/build/scss/_tokens.scss +32 -0
  43. package/src/tokens/build/scss/_tokens_custom_properties.scss +32 -0
  44. package/src/tokens/contextual/illustration.tokens.json +366 -0
  45. package/src/tokens/tokens_table.vue +1 -1
  46. package/src/vendor/bootstrap-vue/src/components/dropdown/dropdown.js +1 -1
  47. package/src/vendor/bootstrap-vue/src/components/form/form-invalid-feedback.js +1 -1
  48. package/src/vendor/bootstrap-vue/src/components/form/form-invalid-feedback.spec.js +10 -10
  49. package/src/vendor/bootstrap-vue/src/components/form/form-valid-feedback.js +1 -1
  50. package/src/vendor/bootstrap-vue/src/components/form/form-valid-feedback.spec.js +10 -10
  51. package/src/vendor/bootstrap-vue/src/components/form-group/form-group.js +4 -4
  52. package/src/vendor/bootstrap-vue/src/components/form-group/form-group.spec.js +3 -3
  53. package/src/vendor/bootstrap-vue/src/components/modal/helpers/modal-manager.js +1 -1
  54. package/src/vendor/bootstrap-vue/src/components/table/helpers/mixin-sorting.js +2 -2
  55. package/src/vendor/bootstrap-vue/src/components/table/helpers/mixin-table-renderer.js +1 -1
  56. package/src/vendor/bootstrap-vue/src/components/table/helpers/mixin-thead.js +1 -1
  57. package/src/vendor/bootstrap-vue/src/components/table/table-lite.spec.js +2 -2
  58. package/src/vendor/bootstrap-vue/src/components/table/table-simple.spec.js +2 -2
  59. package/src/vendor/bootstrap-vue/src/components/table/table.spec.js +2 -2
@@ -242,6 +242,38 @@ $gl-avatar-fallback-background-color-blue: #9dc7f13d; // Blue background for ava
242
242
  $gl-avatar-fallback-background-color-green: #91d4a83d; // Green background for avatar fallback with no particular meaning.
243
243
  $gl-avatar-fallback-background-color-orange: #e9be743d; // Orange background for avatar fallback with no particular meaning.
244
244
  $gl-avatar-fallback-background-color-neutral: #bfbfc33d; // Neutral background for avatar fallback with no particular meaning.
245
+ $gl-illustration-stroke-color-default: #e3e3e8; // Default stroke color to define shape and provide essential detail.
246
+ $gl-illustration-stroke-width-default: 0.09375rem; // Default stroke width to define shape and provide essential detail.
247
+ $gl-illustration-fill-color-default: #423f4f; // Default fill color for an element where specific meaning or emphasis is not required.
248
+ $gl-illustration-status-fill-color-neutral: #6f6796; // Used as a fill to convey a concept which is neither positive or negative.
249
+ $gl-illustration-status-fill-color-success: #3b8581; // Used as a fill to convey a success or active concept, has a positive connotation.
250
+ $gl-illustration-status-fill-color-warning: #ab752f; // Used as a fill to convey a caution or warning concept, has a slightly negative connotation.
251
+ $gl-illustration-status-fill-color-danger: #aa563a; // Used as a fill to convey a critical or danger concept, has a negative connotation.
252
+ $gl-illustration-accent-stroke-color-orange: #e3865f; // Used for orange accent stroke detail on an object or attention-drawing element.
253
+ $gl-illustration-accent-stroke-color-teal: #6baea3; // Used for teal accent stroke detail on an object or attention-drawing element.
254
+ $gl-illustration-accent-stroke-color-strong: #aea5d6; // Used for dark accent stroke detail on an object or attention-drawing element.
255
+ $gl-illustration-accent-fill-color-subtle: #5c5371; // Used to add depth to a secondary element and supporting surface.
256
+ $gl-illustration-accent-fill-color-strong: #6f6796; // Used for an element requiring visual emphasis without competing with primary content or status indicators.
257
+ $gl-illustration-accent-fill-color-orange: #aa563a; // Used to add orange to a secondary element and supporting surface.
258
+ $gl-illustration-accent-fill-color-teal: #3b8581; // Used to add teal to a secondary element and supporting surface.
259
+ $gl-illustration-base-fill-color: #32303c; // Used for the consistent background shape present across all illustrations. Provides a unified foundation that visually grounds each illustration while maintaining system cohesion.
260
+ $gl-illustration-isometric-stroke-color-default: #e3e3e8; // Default stroke color to define shape and provide essential detail in isometric illustration.
261
+ $gl-illustration-isometric-stroke-width-default: 0.09375rem; // Default stroke width to define shape and provide essential detail in isometric illustration.
262
+ $gl-illustration-isometric-glyph-top-fill-color: #5a566c; // Used for the top face of isometric text and number elements.
263
+ $gl-illustration-isometric-glyph-front-fill-color: #423f4f; // Used for the front face of isometric text and number elements.
264
+ $gl-illustration-isometric-glyph-side-fill-color: #373441; // Used for the side face of isometric text and number elements.
265
+ $gl-illustration-isometric-glyph-shadow-fill-color: #292730; // Used for the shadow of isometric text and number elements.
266
+ $gl-illustration-isometric-object-top-fill-color: #aa563a; // Used for the top face of an isometric object or symbol.
267
+ $gl-illustration-isometric-object-front-fill-color: #a54623; // Used for the front face of an isometric object or symbol.
268
+ $gl-illustration-isometric-object-side-fill-color: #8f4424; // Used for the side face of an isometric object or symbol.
269
+ $gl-illustration-isometric-object-highlight-fill-color: #423f4f; // Used for the face of an isometric object or symbol that requires maximum distinction from other elements.
270
+ $gl-illustration-isometric-object-shadow-fill-color: #3d2b2a; // Used for the shadow of an isometric object or symbol.
271
+ $gl-illustration-isometric-accent-top-fill-color: #6d6972; // Used for the top face of a supporting isometric element. Provides subtle dimensional variation without competing with primary content.
272
+ $gl-illustration-isometric-accent-front-fill-color: #49474d; // Used for the front face of a supporting isometric element. Provides subtle dimensional variation without competing with primary content.
273
+ $gl-illustration-isometric-accent-side-fill-color: #212023; // Used for the side face of a supporting isometric element. Provides subtle dimensional variation without competing with primary content.
274
+ $gl-illustration-isometric-base-top-fill-color: #32303c; // Used for the top surface of an isometric base platform.
275
+ $gl-illustration-isometric-base-front-fill-color: #2b2932; // Used for the front face of an isometric base platform.
276
+ $gl-illustration-isometric-base-side-fill-color: #23222b; // Used for the side face of an isometric base platform.
245
277
  $theme-indigo-10: #14143d !default;
246
278
  $theme-indigo-50: #222261 !default;
247
279
  $theme-indigo-100: #303083 !default;
@@ -242,6 +242,38 @@ $gl-avatar-fallback-background-color-blue: #9dc7f13d; // Blue background for ava
242
242
  $gl-avatar-fallback-background-color-green: #91d4a83d; // Green background for avatar fallback with no particular meaning.
243
243
  $gl-avatar-fallback-background-color-orange: #e9be743d; // Orange background for avatar fallback with no particular meaning.
244
244
  $gl-avatar-fallback-background-color-neutral: #bfbfc33d; // Neutral background for avatar fallback with no particular meaning.
245
+ $gl-illustration-stroke-color-default: #171321; // Default stroke color to define shape and provide essential detail.
246
+ $gl-illustration-stroke-width-default: 0.125rem; // Default stroke width to define shape and provide essential detail.
247
+ $gl-illustration-fill-color-default: #fff; // Default fill color for an element where specific meaning or emphasis is not required.
248
+ $gl-illustration-status-fill-color-neutral: #aea5d6; // Used as a fill to convey a concept which is neither positive or negative.
249
+ $gl-illustration-status-fill-color-success: #6fdac9; // Used as a fill to convey a success or active concept, has a positive connotation.
250
+ $gl-illustration-status-fill-color-warning: #fca326; // Used as a fill to convey a caution or warning concept, has a slightly negative connotation.
251
+ $gl-illustration-status-fill-color-danger: #ff9d73; // Used as a fill to convey a critical or danger concept, has a negative connotation.
252
+ $gl-illustration-accent-stroke-color-orange: #ff9d73; // Used for orange accent stroke detail on an object or attention-drawing element.
253
+ $gl-illustration-accent-stroke-color-teal: #6fdac9; // Used for teal accent stroke detail on an object or attention-drawing element.
254
+ $gl-illustration-accent-stroke-color-strong: #aea5d6; // Used for dark accent stroke detail on an object or attention-drawing element.
255
+ $gl-illustration-accent-fill-color-subtle: #d0c5e2; // Used to add depth to a secondary element and supporting surface.
256
+ $gl-illustration-accent-fill-color-strong: #aea5d6; // Used for an element requiring visual emphasis without competing with primary content or status indicators.
257
+ $gl-illustration-accent-fill-color-orange: #ff9d73; // Used to add orange to a secondary element and supporting surface.
258
+ $gl-illustration-accent-fill-color-teal: #6fdac9; // Used to add teal to a secondary element and supporting surface.
259
+ $gl-illustration-base-fill-color: #e7e4f2; // Used for the consistent background shape present across all illustrations. Provides a unified foundation that visually grounds each illustration while maintaining system cohesion.
260
+ $gl-illustration-isometric-stroke-color-default: #171321; // Default stroke color to define shape and provide essential detail in isometric illustration.
261
+ $gl-illustration-isometric-stroke-width-default: 0.125rem; // Default stroke width to define shape and provide essential detail in isometric illustration.
262
+ $gl-illustration-isometric-glyph-top-fill-color: #c5f4ec; // Used for the top face of isometric text and number elements.
263
+ $gl-illustration-isometric-glyph-front-fill-color: #fff; // Used for the front face of isometric text and number elements.
264
+ $gl-illustration-isometric-glyph-side-fill-color: #6fdac9; // Used for the side face of isometric text and number elements.
265
+ $gl-illustration-isometric-glyph-shadow-fill-color: #10b1b1; // Used for the shadow of isometric text and number elements.
266
+ $gl-illustration-isometric-object-top-fill-color: #ff9d73; // Used for the top face of an isometric object or symbol.
267
+ $gl-illustration-isometric-object-front-fill-color: #ffc2a8; // Used for the front face of an isometric object or symbol.
268
+ $gl-illustration-isometric-object-side-fill-color: #ff7b42; // Used for the side face of an isometric object or symbol.
269
+ $gl-illustration-isometric-object-highlight-fill-color: #fff; // Used for the face of an isometric object or symbol that requires maximum distinction from other elements.
270
+ $gl-illustration-isometric-object-shadow-fill-color: #e24329; // Used for the shadow of an isometric object or symbol.
271
+ $gl-illustration-isometric-accent-top-fill-color: #45424d; // Used for the top face of a supporting isometric element. Provides subtle dimensional variation without competing with primary content.
272
+ $gl-illustration-isometric-accent-front-fill-color: #74717a; // Used for the front face of a supporting isometric element. Provides subtle dimensional variation without competing with primary content.
273
+ $gl-illustration-isometric-accent-side-fill-color: #2b2838; // Used for the side face of a supporting isometric element. Provides subtle dimensional variation without competing with primary content.
274
+ $gl-illustration-isometric-base-top-fill-color: #e7e4f2; // Used for the top surface of an isometric base platform.
275
+ $gl-illustration-isometric-base-front-fill-color: #d5d0e8; // Used for the front face of an isometric base platform.
276
+ $gl-illustration-isometric-base-side-fill-color: #aea5d6; // Used for the side face of an isometric base platform.
245
277
  $theme-indigo-10: #f8f8ff !default;
246
278
  $theme-indigo-50: #f1f1ff !default;
247
279
  $theme-indigo-100: #dbdbf8 !default;
@@ -651,6 +651,38 @@ $gl-filtered-search-token-data-background-color-default: var(--gl-filtered-searc
651
651
  $gl-filtered-search-token-data-background-color-hover: var(--gl-filtered-search-token-data-background-color-hover);
652
652
  $gl-filtered-search-token-operator-background-color-default: var(--gl-filtered-search-token-operator-background-color-default);
653
653
  $gl-filtered-search-token-operator-background-color-hover: var(--gl-filtered-search-token-operator-background-color-hover);
654
+ $gl-illustration-stroke-color-default: var(--gl-illustration-stroke-color-default);
655
+ $gl-illustration-stroke-width-default: var(--gl-illustration-stroke-width-default);
656
+ $gl-illustration-fill-color-default: var(--gl-illustration-fill-color-default);
657
+ $gl-illustration-status-fill-color-neutral: var(--gl-illustration-status-fill-color-neutral);
658
+ $gl-illustration-status-fill-color-success: var(--gl-illustration-status-fill-color-success);
659
+ $gl-illustration-status-fill-color-warning: var(--gl-illustration-status-fill-color-warning);
660
+ $gl-illustration-status-fill-color-danger: var(--gl-illustration-status-fill-color-danger);
661
+ $gl-illustration-accent-stroke-color-orange: var(--gl-illustration-accent-stroke-color-orange);
662
+ $gl-illustration-accent-stroke-color-teal: var(--gl-illustration-accent-stroke-color-teal);
663
+ $gl-illustration-accent-stroke-color-strong: var(--gl-illustration-accent-stroke-color-strong);
664
+ $gl-illustration-accent-fill-color-subtle: var(--gl-illustration-accent-fill-color-subtle);
665
+ $gl-illustration-accent-fill-color-strong: var(--gl-illustration-accent-fill-color-strong);
666
+ $gl-illustration-accent-fill-color-orange: var(--gl-illustration-accent-fill-color-orange);
667
+ $gl-illustration-accent-fill-color-teal: var(--gl-illustration-accent-fill-color-teal);
668
+ $gl-illustration-base-fill-color: var(--gl-illustration-base-fill-color);
669
+ $gl-illustration-isometric-stroke-color-default: var(--gl-illustration-isometric-stroke-color-default);
670
+ $gl-illustration-isometric-stroke-width-default: var(--gl-illustration-isometric-stroke-width-default);
671
+ $gl-illustration-isometric-glyph-top-fill-color: var(--gl-illustration-isometric-glyph-top-fill-color);
672
+ $gl-illustration-isometric-glyph-front-fill-color: var(--gl-illustration-isometric-glyph-front-fill-color);
673
+ $gl-illustration-isometric-glyph-side-fill-color: var(--gl-illustration-isometric-glyph-side-fill-color);
674
+ $gl-illustration-isometric-glyph-shadow-fill-color: var(--gl-illustration-isometric-glyph-shadow-fill-color);
675
+ $gl-illustration-isometric-object-top-fill-color: var(--gl-illustration-isometric-object-top-fill-color);
676
+ $gl-illustration-isometric-object-front-fill-color: var(--gl-illustration-isometric-object-front-fill-color);
677
+ $gl-illustration-isometric-object-side-fill-color: var(--gl-illustration-isometric-object-side-fill-color);
678
+ $gl-illustration-isometric-object-highlight-fill-color: var(--gl-illustration-isometric-object-highlight-fill-color);
679
+ $gl-illustration-isometric-object-shadow-fill-color: var(--gl-illustration-isometric-object-shadow-fill-color);
680
+ $gl-illustration-isometric-accent-top-fill-color: var(--gl-illustration-isometric-accent-top-fill-color);
681
+ $gl-illustration-isometric-accent-front-fill-color: var(--gl-illustration-isometric-accent-front-fill-color);
682
+ $gl-illustration-isometric-accent-side-fill-color: var(--gl-illustration-isometric-accent-side-fill-color);
683
+ $gl-illustration-isometric-base-top-fill-color: var(--gl-illustration-isometric-base-top-fill-color);
684
+ $gl-illustration-isometric-base-front-fill-color: var(--gl-illustration-isometric-base-front-fill-color);
685
+ $gl-illustration-isometric-base-side-fill-color: var(--gl-illustration-isometric-base-side-fill-color);
654
686
  $gl-label-light-text-color: var(--gl-label-light-text-color);
655
687
  $gl-label-light-button-background-color-default: var(--gl-label-light-button-background-color-default);
656
688
  $gl-label-light-button-background-color-hover: var(--gl-label-light-button-background-color-hover);
@@ -101,7 +101,7 @@ var script = {
101
101
  value: token.$value,
102
102
  valueLabel: this.getValueLabel(token),
103
103
  deprecated: token.deprecated,
104
- description: token.comment
104
+ description: token.$description
105
105
  };
106
106
  },
107
107
  transformTokensToTableRows(tokens) {
@@ -61,7 +61,7 @@ const BDropdown = /*#__PURE__*/extend({
61
61
  // It needs also to be applied when `block` is disabled to allow multiple
62
62
  // dropdowns to be aligned one line
63
63
  'btn-group': split || !block,
64
- // When `block` is enabled and we are in `split` mode the 'd-flex' class
64
+ // When `block` is enabled and we are in `split` mode the 'gl-flex' class
65
65
  // needs to be applied to allow the buttons to stretch to full width
66
66
  'gl-flex': block && split
67
67
  }];
@@ -36,7 +36,7 @@ const BFormInvalidFeedback = /*#__PURE__*/extend({
36
36
  const show = props.forceShow === true || props.state === false;
37
37
  return h(props.tag, mergeData(data, {
38
38
  class: {
39
- 'd-block': show,
39
+ '!gl-block': show,
40
40
  'invalid-feedback': !tooltip,
41
41
  'invalid-tooltip': tooltip
42
42
  },
@@ -36,7 +36,7 @@ const BFormValidFeedback = /*#__PURE__*/extend({
36
36
  const show = props.forceShow === true || props.state === true;
37
37
  return h(props.tag, mergeData(data, {
38
38
  class: {
39
- 'd-block': show,
39
+ '!gl-block': show,
40
40
  'valid-feedback': !tooltip,
41
41
  'valid-tooltip': tooltip
42
42
  },
@@ -219,7 +219,7 @@ const BFormGroup = {
219
219
  if (this.labelSrOnly) {
220
220
  if (labelContent) {
221
221
  $label = h(labelTag, {
222
- class: 'sr-only',
222
+ class: 'gl-sr-only',
223
223
  attrs: {
224
224
  id: labelId,
225
225
  for: labelFor || null
@@ -254,10 +254,10 @@ const BFormGroup = {
254
254
  // See: https://github.com/twbs/bootstrap/issues/27805
255
255
  isHorizontal || isFieldset ? 'col-form-label' : '',
256
256
  // Emulate label padding top of `0` on legend when not horizontal
257
- !isHorizontal && isFieldset ? 'pt-0' : '',
258
- // If not horizontal and not a legend, we add 'd-block' class to label
257
+ !isHorizontal && isFieldset ? '!gl-pt-0' : '',
258
+ // If not horizontal and not a legend, we add '!gl-block' class to label
259
259
  // so that label-align works
260
- !isHorizontal && !isFieldset ? 'd-block' : '', labelSize ? `col-form-label-${labelSize}` : '', this.labelAlignClasses, this.labelClass]
260
+ !isHorizontal && !isFieldset ? '!gl-block' : '', labelSize ? `col-form-label-${labelSize}` : '', this.labelAlignClasses, this.labelClass]
261
261
  }, [labelContent]);
262
262
  }
263
263
  }
@@ -87,7 +87,7 @@ const ModalManager = /*#__PURE__*/extend({
87
87
  // Create a temporary `div.modal-backdrop` to get computed z-index
88
88
  const div = document.createElement('div');
89
89
  addClass(div, 'modal-backdrop');
90
- addClass(div, 'd-none');
90
+ addClass(div, 'gl-hidden');
91
91
  setStyle(div, 'display', 'none');
92
92
  document.body.appendChild(div);
93
93
  this.baseZIndex = toInteger(getCS(div).zIndex, DEFAULT_ZINDEX);
@@ -243,7 +243,7 @@ const sortingMixin = extend({
243
243
  'aria-sort': ariaSort
244
244
  };
245
245
  },
246
- // A label to be placed in an `.sr-only` element in the header cell
246
+ // A label to be placed in an `.gl-sr-only` element in the header cell
247
247
  sortTheadThLabel(key, field, isFoot) {
248
248
  // No label if not a sortable table
249
249
  if (!this.isSortable || isFoot && this.noFooterSorting) {
@@ -281,7 +281,7 @@ const sortingMixin = extend({
281
281
  // Non sortable column
282
282
  labelSorting = localSortBy ? this.labelSortClear : '';
283
283
  }
284
- // Return the `.sr-only` sort label or `null` if no label
284
+ // Return the `.gl-sr-only` sort label or `null` if no label
285
285
  return trim(labelSorting) || null;
286
286
  }
287
287
  }
@@ -98,7 +98,7 @@ const tableRendererMixin = extend({
98
98
  'table-borderless': this.borderless,
99
99
  'table-sm': this.small,
100
100
  // The following are b-table custom styles
101
- border: this.outlined,
101
+ 'gl-border': this.outlined,
102
102
  'b-table-fixed': this.fixed,
103
103
  'b-table-caption-top': this.captionTop,
104
104
  'b-table-no-border-collapse': this.noBorderCollapse
@@ -117,7 +117,7 @@ const theadMixin = extend({
117
117
  const data = {
118
118
  class: [{
119
119
  // We need to make the header cell relative when we have
120
- // a `.sr-only` sort label to work around overflow issues
120
+ // a `.gl-sr-only` sort label to work around overflow issues
121
121
  'gl-relative': sortLabel
122
122
  }, this.fieldClasses(field), sortClass],
123
123
  props: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/ui",
3
- "version": "105.1.1",
3
+ "version": "105.2.0",
4
4
  "description": "GitLab UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -127,6 +127,7 @@
127
127
  "@storybook/vue-webpack5": "^7.6.17",
128
128
  "@storybook/vue3": "^7.6.20",
129
129
  "@storybook/vue3-webpack5": "^7.6.20",
130
+ "@studiometa/stylelint-formatter-gitlab": "^0.0.1",
130
131
  "@types/jest-image-snapshot": "^6.4.0",
131
132
  "@vue/compat": "^3.2.40",
132
133
  "@vue/compiler-sfc": "^3.2.40",
@@ -283,8 +283,8 @@ export default {
283
283
 
284
284
  const pikadayConfig = {
285
285
  field: this.$el.querySelector('input[type="text"]'),
286
- // `position-absolute` is needed because of this bug: https://github.com/Pikaday/Pikaday/issues/840
287
- theme: `gl-datepicker-theme position-absolute ${this.theme}`,
286
+ // `!gl-absolute` is needed because of this bug: https://github.com/Pikaday/Pikaday/issues/840
287
+ theme: `gl-datepicker-theme !gl-absolute ${this.theme}`,
288
288
  defaultDate: this.defaultDate || this.value,
289
289
  setDefaultDate: Boolean(this.value) || Boolean(this.defaultDate),
290
290
  minDate: this.minDate,
@@ -171,7 +171,7 @@ export default {
171
171
  <!-- display: inline -->
172
172
  <div
173
173
  v-if="emptyList"
174
- class="bs-callout bs-callout-warning mt-3 empty-message"
174
+ class="bs-callout bs-callout-warning empty-message gl-mt-5"
175
175
  :class="{ 'empty-message': zeroTotal, 'empty-search': zeroSearchResults }"
176
176
  >{{ zeroTotal ? emptyMessage : emptySearchMessage }}</div
177
177
  >
@@ -15,25 +15,27 @@ export default {
15
15
  </script>
16
16
  <template>
17
17
  <div class="row dashboard-cards">
18
- <div v-for="index in cards" :key="index" class="col-12 col-md-6 col-xl-4 px-2">
19
- <div class="rounded-top py-4 bg-light"></div>
18
+ <div v-for="index in cards" :key="index" class="col-12 col-md-6 col-xl-4 gl-px-3">
19
+ <div class="gl-rounded-t-base gl-bg-status-neutral gl-py-6"></div>
20
20
  <div class="dashboard-card-body card-body bg-secondary">
21
21
  <div class="row">
22
- <div class="col-1 align-self-center">
23
- <div class="bg-light p-3 rounded-circle"></div>
22
+ <div class="col-1 gl-self-center">
23
+ <div class="gl-rounded-full gl-bg-status-neutral gl-p-5"></div>
24
24
  </div>
25
25
 
26
- <div class="col-10 col-sm-6 align-self-center pl-4">
27
- <div class="dashboard-card-skeleton-info bg-light py-2 w-100 mb-2"></div>
28
- <div class="dashboard-card-skeleton-info bg-light py-2 w-100"></div>
26
+ <div class="col-10 col-sm-6 pl-4 gl-self-center">
27
+ <div
28
+ class="dashboard-card-skeleton-info gl-mb-3 gl-w-full gl-bg-status-neutral gl-py-3"
29
+ ></div>
30
+ <div class="dashboard-card-skeleton-info gl-w-full gl-bg-status-neutral gl-py-3"></div>
29
31
  </div>
30
32
 
31
- <div class="col-sm-5 align-self-center d-none d-sm-block">
32
- <div class="dashboard-card-skeleton-info bg-light py-2 w-100"></div>
33
+ <div class="col-sm-5 gl-hidden gl-self-center sm:gl-block">
34
+ <div class="dashboard-card-skeleton-info gl-w-full gl-bg-status-neutral gl-py-3"></div>
33
35
  </div>
34
36
  </div>
35
37
 
36
- <div class="dashboard-card-footer bg-light py-3 mt-3"></div>
38
+ <div class="dashboard-card-footer gl-mt-5 gl-bg-status-neutral gl-py-5"></div>
37
39
  </div>
38
40
  </div>
39
41
  </div>
@@ -27,7 +27,7 @@ export default {
27
27
  const textParts = splitAfterSymbols(symbols, text ?? '');
28
28
  const content = intersperse(() => createElement('wbr'), textParts);
29
29
 
30
- return createElement('span', { class: 'text-break' }, content);
30
+ return createElement('span', { class: 'gl-break-words' }, content);
31
31
  },
32
32
  };
33
33
  </script>
@@ -244,6 +244,38 @@
244
244
  --gl-avatar-fallback-background-color-green: #91d4a83d; /* Green background for avatar fallback with no particular meaning. */
245
245
  --gl-avatar-fallback-background-color-orange: #e9be743d; /* Orange background for avatar fallback with no particular meaning. */
246
246
  --gl-avatar-fallback-background-color-neutral: #bfbfc33d; /* Neutral background for avatar fallback with no particular meaning. */
247
+ --gl-illustration-stroke-color-default: #171321; /* Default stroke color to define shape and provide essential detail. */
248
+ --gl-illustration-stroke-width-default: 0.125rem; /* Default stroke width to define shape and provide essential detail. */
249
+ --gl-illustration-fill-color-default: #fff; /* Default fill color for an element where specific meaning or emphasis is not required. */
250
+ --gl-illustration-status-fill-color-neutral: #aea5d6; /* Used as a fill to convey a concept which is neither positive or negative. */
251
+ --gl-illustration-status-fill-color-success: #6fdac9; /* Used as a fill to convey a success or active concept, has a positive connotation. */
252
+ --gl-illustration-status-fill-color-warning: #fca326; /* Used as a fill to convey a caution or warning concept, has a slightly negative connotation. */
253
+ --gl-illustration-status-fill-color-danger: #ff9d73; /* Used as a fill to convey a critical or danger concept, has a negative connotation. */
254
+ --gl-illustration-accent-stroke-color-orange: #ff9d73; /* Used for orange accent stroke detail on an object or attention-drawing element. */
255
+ --gl-illustration-accent-stroke-color-teal: #6fdac9; /* Used for teal accent stroke detail on an object or attention-drawing element. */
256
+ --gl-illustration-accent-stroke-color-strong: #aea5d6; /* Used for dark accent stroke detail on an object or attention-drawing element. */
257
+ --gl-illustration-accent-fill-color-subtle: #d0c5e2; /* Used to add depth to a secondary element and supporting surface. */
258
+ --gl-illustration-accent-fill-color-strong: #aea5d6; /* Used for an element requiring visual emphasis without competing with primary content or status indicators. */
259
+ --gl-illustration-accent-fill-color-orange: #ff9d73; /* Used to add orange to a secondary element and supporting surface. */
260
+ --gl-illustration-accent-fill-color-teal: #6fdac9; /* Used to add teal to a secondary element and supporting surface. */
261
+ --gl-illustration-base-fill-color: #e7e4f2; /* Used for the consistent background shape present across all illustrations. Provides a unified foundation that visually grounds each illustration while maintaining system cohesion. */
262
+ --gl-illustration-isometric-stroke-color-default: #171321; /* Default stroke color to define shape and provide essential detail in isometric illustration. */
263
+ --gl-illustration-isometric-stroke-width-default: 0.125rem; /* Default stroke width to define shape and provide essential detail in isometric illustration. */
264
+ --gl-illustration-isometric-glyph-top-fill-color: #c5f4ec; /* Used for the top face of isometric text and number elements. */
265
+ --gl-illustration-isometric-glyph-front-fill-color: #fff; /* Used for the front face of isometric text and number elements. */
266
+ --gl-illustration-isometric-glyph-side-fill-color: #6fdac9; /* Used for the side face of isometric text and number elements. */
267
+ --gl-illustration-isometric-glyph-shadow-fill-color: #10b1b1; /* Used for the shadow of isometric text and number elements. */
268
+ --gl-illustration-isometric-object-top-fill-color: #ff9d73; /* Used for the top face of an isometric object or symbol. */
269
+ --gl-illustration-isometric-object-front-fill-color: #ffc2a8; /* Used for the front face of an isometric object or symbol. */
270
+ --gl-illustration-isometric-object-side-fill-color: #ff7b42; /* Used for the side face of an isometric object or symbol. */
271
+ --gl-illustration-isometric-object-highlight-fill-color: #fff; /* Used for the face of an isometric object or symbol that requires maximum distinction from other elements. */
272
+ --gl-illustration-isometric-object-shadow-fill-color: #e24329; /* Used for the shadow of an isometric object or symbol. */
273
+ --gl-illustration-isometric-accent-top-fill-color: #45424d; /* Used for the top face of a supporting isometric element. Provides subtle dimensional variation without competing with primary content. */
274
+ --gl-illustration-isometric-accent-front-fill-color: #74717a; /* Used for the front face of a supporting isometric element. Provides subtle dimensional variation without competing with primary content. */
275
+ --gl-illustration-isometric-accent-side-fill-color: #2b2838; /* Used for the side face of a supporting isometric element. Provides subtle dimensional variation without competing with primary content. */
276
+ --gl-illustration-isometric-base-top-fill-color: #e7e4f2; /* Used for the top surface of an isometric base platform. */
277
+ --gl-illustration-isometric-base-front-fill-color: #d5d0e8; /* Used for the front face of an isometric base platform. */
278
+ --gl-illustration-isometric-base-side-fill-color: #aea5d6; /* Used for the side face of an isometric base platform. */
247
279
  --theme-indigo-10: #f8f8ff;
248
280
  --theme-indigo-50: #f1f1ff;
249
281
  --theme-indigo-100: #dbdbf8;
@@ -244,6 +244,38 @@
244
244
  --gl-avatar-fallback-background-color-green: #91d4a83d; /* Green background for avatar fallback with no particular meaning. */
245
245
  --gl-avatar-fallback-background-color-orange: #e9be743d; /* Orange background for avatar fallback with no particular meaning. */
246
246
  --gl-avatar-fallback-background-color-neutral: #bfbfc33d; /* Neutral background for avatar fallback with no particular meaning. */
247
+ --gl-illustration-stroke-color-default: #e3e3e8; /* Default stroke color to define shape and provide essential detail. */
248
+ --gl-illustration-stroke-width-default: 0.09375rem; /* Default stroke width to define shape and provide essential detail. */
249
+ --gl-illustration-fill-color-default: #423f4f; /* Default fill color for an element where specific meaning or emphasis is not required. */
250
+ --gl-illustration-status-fill-color-neutral: #6f6796; /* Used as a fill to convey a concept which is neither positive or negative. */
251
+ --gl-illustration-status-fill-color-success: #3b8581; /* Used as a fill to convey a success or active concept, has a positive connotation. */
252
+ --gl-illustration-status-fill-color-warning: #ab752f; /* Used as a fill to convey a caution or warning concept, has a slightly negative connotation. */
253
+ --gl-illustration-status-fill-color-danger: #aa563a; /* Used as a fill to convey a critical or danger concept, has a negative connotation. */
254
+ --gl-illustration-accent-stroke-color-orange: #e3865f; /* Used for orange accent stroke detail on an object or attention-drawing element. */
255
+ --gl-illustration-accent-stroke-color-teal: #6baea3; /* Used for teal accent stroke detail on an object or attention-drawing element. */
256
+ --gl-illustration-accent-stroke-color-strong: #aea5d6; /* Used for dark accent stroke detail on an object or attention-drawing element. */
257
+ --gl-illustration-accent-fill-color-subtle: #5c5371; /* Used to add depth to a secondary element and supporting surface. */
258
+ --gl-illustration-accent-fill-color-strong: #6f6796; /* Used for an element requiring visual emphasis without competing with primary content or status indicators. */
259
+ --gl-illustration-accent-fill-color-orange: #aa563a; /* Used to add orange to a secondary element and supporting surface. */
260
+ --gl-illustration-accent-fill-color-teal: #3b8581; /* Used to add teal to a secondary element and supporting surface. */
261
+ --gl-illustration-base-fill-color: #32303c; /* Used for the consistent background shape present across all illustrations. Provides a unified foundation that visually grounds each illustration while maintaining system cohesion. */
262
+ --gl-illustration-isometric-stroke-color-default: #e3e3e8; /* Default stroke color to define shape and provide essential detail in isometric illustration. */
263
+ --gl-illustration-isometric-stroke-width-default: 0.09375rem; /* Default stroke width to define shape and provide essential detail in isometric illustration. */
264
+ --gl-illustration-isometric-glyph-top-fill-color: #5a566c; /* Used for the top face of isometric text and number elements. */
265
+ --gl-illustration-isometric-glyph-front-fill-color: #423f4f; /* Used for the front face of isometric text and number elements. */
266
+ --gl-illustration-isometric-glyph-side-fill-color: #373441; /* Used for the side face of isometric text and number elements. */
267
+ --gl-illustration-isometric-glyph-shadow-fill-color: #292730; /* Used for the shadow of isometric text and number elements. */
268
+ --gl-illustration-isometric-object-top-fill-color: #aa563a; /* Used for the top face of an isometric object or symbol. */
269
+ --gl-illustration-isometric-object-front-fill-color: #a54623; /* Used for the front face of an isometric object or symbol. */
270
+ --gl-illustration-isometric-object-side-fill-color: #8f4424; /* Used for the side face of an isometric object or symbol. */
271
+ --gl-illustration-isometric-object-highlight-fill-color: #423f4f; /* Used for the face of an isometric object or symbol that requires maximum distinction from other elements. */
272
+ --gl-illustration-isometric-object-shadow-fill-color: #3d2b2a; /* Used for the shadow of an isometric object or symbol. */
273
+ --gl-illustration-isometric-accent-top-fill-color: #6d6972; /* Used for the top face of a supporting isometric element. Provides subtle dimensional variation without competing with primary content. */
274
+ --gl-illustration-isometric-accent-front-fill-color: #49474d; /* Used for the front face of a supporting isometric element. Provides subtle dimensional variation without competing with primary content. */
275
+ --gl-illustration-isometric-accent-side-fill-color: #212023; /* Used for the side face of a supporting isometric element. Provides subtle dimensional variation without competing with primary content. */
276
+ --gl-illustration-isometric-base-top-fill-color: #32303c; /* Used for the top surface of an isometric base platform. */
277
+ --gl-illustration-isometric-base-front-fill-color: #2b2932; /* Used for the front face of an isometric base platform. */
278
+ --gl-illustration-isometric-base-side-fill-color: #23222b; /* Used for the side face of an isometric base platform. */
247
279
  --theme-indigo-10: #14143d;
248
280
  --theme-indigo-50: #222261;
249
281
  --theme-indigo-100: #303083;
@@ -651,6 +651,38 @@ export const GL_FILTERED_SEARCH_TOKEN_DATA_BACKGROUND_COLOR_DEFAULT = '#3a383f';
651
651
  export const GL_FILTERED_SEARCH_TOKEN_DATA_BACKGROUND_COLOR_HOVER = '#4c4b51';
652
652
  export const GL_FILTERED_SEARCH_TOKEN_OPERATOR_BACKGROUND_COLOR_DEFAULT = '#28272d';
653
653
  export const GL_FILTERED_SEARCH_TOKEN_OPERATOR_BACKGROUND_COLOR_HOVER = '#3a383f';
654
+ export const GL_ILLUSTRATION_STROKE_COLOR_DEFAULT = '#e3e3e8';
655
+ export const GL_ILLUSTRATION_STROKE_WIDTH_DEFAULT = '0.09375rem';
656
+ export const GL_ILLUSTRATION_FILL_COLOR_DEFAULT = '#423f4f';
657
+ export const GL_ILLUSTRATION_STATUS_FILL_COLOR_NEUTRAL = '#6f6796';
658
+ export const GL_ILLUSTRATION_STATUS_FILL_COLOR_SUCCESS = '#3b8581';
659
+ export const GL_ILLUSTRATION_STATUS_FILL_COLOR_WARNING = '#ab752f';
660
+ export const GL_ILLUSTRATION_STATUS_FILL_COLOR_DANGER = '#aa563a';
661
+ export const GL_ILLUSTRATION_ACCENT_STROKE_COLOR_ORANGE = '#e3865f';
662
+ export const GL_ILLUSTRATION_ACCENT_STROKE_COLOR_TEAL = '#6baea3';
663
+ export const GL_ILLUSTRATION_ACCENT_STROKE_COLOR_STRONG = '#aea5d6';
664
+ export const GL_ILLUSTRATION_ACCENT_FILL_COLOR_SUBTLE = '#5c5371';
665
+ export const GL_ILLUSTRATION_ACCENT_FILL_COLOR_STRONG = '#6f6796';
666
+ export const GL_ILLUSTRATION_ACCENT_FILL_COLOR_ORANGE = '#aa563a';
667
+ export const GL_ILLUSTRATION_ACCENT_FILL_COLOR_TEAL = '#3b8581';
668
+ export const GL_ILLUSTRATION_BASE_FILL_COLOR = '#32303c';
669
+ export const GL_ILLUSTRATION_ISOMETRIC_STROKE_COLOR_DEFAULT = '#e3e3e8';
670
+ export const GL_ILLUSTRATION_ISOMETRIC_STROKE_WIDTH_DEFAULT = '0.09375rem';
671
+ export const GL_ILLUSTRATION_ISOMETRIC_GLYPH_TOP_FILL_COLOR = '#5a566c';
672
+ export const GL_ILLUSTRATION_ISOMETRIC_GLYPH_FRONT_FILL_COLOR = '#423f4f';
673
+ export const GL_ILLUSTRATION_ISOMETRIC_GLYPH_SIDE_FILL_COLOR = '#373441';
674
+ export const GL_ILLUSTRATION_ISOMETRIC_GLYPH_SHADOW_FILL_COLOR = '#292730';
675
+ export const GL_ILLUSTRATION_ISOMETRIC_OBJECT_TOP_FILL_COLOR = '#aa563a';
676
+ export const GL_ILLUSTRATION_ISOMETRIC_OBJECT_FRONT_FILL_COLOR = '#a54623';
677
+ export const GL_ILLUSTRATION_ISOMETRIC_OBJECT_SIDE_FILL_COLOR = '#8f4424';
678
+ export const GL_ILLUSTRATION_ISOMETRIC_OBJECT_HIGHLIGHT_FILL_COLOR = '#423f4f';
679
+ export const GL_ILLUSTRATION_ISOMETRIC_OBJECT_SHADOW_FILL_COLOR = '#3d2b2a';
680
+ export const GL_ILLUSTRATION_ISOMETRIC_ACCENT_TOP_FILL_COLOR = '#6d6972';
681
+ export const GL_ILLUSTRATION_ISOMETRIC_ACCENT_FRONT_FILL_COLOR = '#49474d';
682
+ export const GL_ILLUSTRATION_ISOMETRIC_ACCENT_SIDE_FILL_COLOR = '#212023';
683
+ export const GL_ILLUSTRATION_ISOMETRIC_BASE_TOP_FILL_COLOR = '#32303c';
684
+ export const GL_ILLUSTRATION_ISOMETRIC_BASE_FRONT_FILL_COLOR = '#2b2932';
685
+ export const GL_ILLUSTRATION_ISOMETRIC_BASE_SIDE_FILL_COLOR = '#23222b';
654
686
  export const GL_LABEL_LIGHT_TEXT_COLOR = '#18171d';
655
687
  export const GL_LABEL_LIGHT_BUTTON_BACKGROUND_COLOR_DEFAULT = 'transparent';
656
688
  export const GL_LABEL_LIGHT_BUTTON_BACKGROUND_COLOR_HOVER = '#18171d';
@@ -651,6 +651,38 @@ export const GL_FILTERED_SEARCH_TOKEN_DATA_BACKGROUND_COLOR_DEFAULT = '#dcdcde';
651
651
  export const GL_FILTERED_SEARCH_TOKEN_DATA_BACKGROUND_COLOR_HOVER = '#bfbfc3';
652
652
  export const GL_FILTERED_SEARCH_TOKEN_OPERATOR_BACKGROUND_COLOR_DEFAULT = '#ececef';
653
653
  export const GL_FILTERED_SEARCH_TOKEN_OPERATOR_BACKGROUND_COLOR_HOVER = '#dcdcde';
654
+ export const GL_ILLUSTRATION_STROKE_COLOR_DEFAULT = '#171321';
655
+ export const GL_ILLUSTRATION_STROKE_WIDTH_DEFAULT = '0.125rem';
656
+ export const GL_ILLUSTRATION_FILL_COLOR_DEFAULT = '#fff';
657
+ export const GL_ILLUSTRATION_STATUS_FILL_COLOR_NEUTRAL = '#aea5d6';
658
+ export const GL_ILLUSTRATION_STATUS_FILL_COLOR_SUCCESS = '#6fdac9';
659
+ export const GL_ILLUSTRATION_STATUS_FILL_COLOR_WARNING = '#fca326';
660
+ export const GL_ILLUSTRATION_STATUS_FILL_COLOR_DANGER = '#ff9d73';
661
+ export const GL_ILLUSTRATION_ACCENT_STROKE_COLOR_ORANGE = '#ff9d73';
662
+ export const GL_ILLUSTRATION_ACCENT_STROKE_COLOR_TEAL = '#6fdac9';
663
+ export const GL_ILLUSTRATION_ACCENT_STROKE_COLOR_STRONG = '#aea5d6';
664
+ export const GL_ILLUSTRATION_ACCENT_FILL_COLOR_SUBTLE = '#d0c5e2';
665
+ export const GL_ILLUSTRATION_ACCENT_FILL_COLOR_STRONG = '#aea5d6';
666
+ export const GL_ILLUSTRATION_ACCENT_FILL_COLOR_ORANGE = '#ff9d73';
667
+ export const GL_ILLUSTRATION_ACCENT_FILL_COLOR_TEAL = '#6fdac9';
668
+ export const GL_ILLUSTRATION_BASE_FILL_COLOR = '#e7e4f2';
669
+ export const GL_ILLUSTRATION_ISOMETRIC_STROKE_COLOR_DEFAULT = '#171321';
670
+ export const GL_ILLUSTRATION_ISOMETRIC_STROKE_WIDTH_DEFAULT = '0.125rem';
671
+ export const GL_ILLUSTRATION_ISOMETRIC_GLYPH_TOP_FILL_COLOR = '#c5f4ec';
672
+ export const GL_ILLUSTRATION_ISOMETRIC_GLYPH_FRONT_FILL_COLOR = '#fff';
673
+ export const GL_ILLUSTRATION_ISOMETRIC_GLYPH_SIDE_FILL_COLOR = '#6fdac9';
674
+ export const GL_ILLUSTRATION_ISOMETRIC_GLYPH_SHADOW_FILL_COLOR = '#10b1b1';
675
+ export const GL_ILLUSTRATION_ISOMETRIC_OBJECT_TOP_FILL_COLOR = '#ff9d73';
676
+ export const GL_ILLUSTRATION_ISOMETRIC_OBJECT_FRONT_FILL_COLOR = '#ffc2a8';
677
+ export const GL_ILLUSTRATION_ISOMETRIC_OBJECT_SIDE_FILL_COLOR = '#ff7b42';
678
+ export const GL_ILLUSTRATION_ISOMETRIC_OBJECT_HIGHLIGHT_FILL_COLOR = '#fff';
679
+ export const GL_ILLUSTRATION_ISOMETRIC_OBJECT_SHADOW_FILL_COLOR = '#e24329';
680
+ export const GL_ILLUSTRATION_ISOMETRIC_ACCENT_TOP_FILL_COLOR = '#45424d';
681
+ export const GL_ILLUSTRATION_ISOMETRIC_ACCENT_FRONT_FILL_COLOR = '#74717a';
682
+ export const GL_ILLUSTRATION_ISOMETRIC_ACCENT_SIDE_FILL_COLOR = '#2b2838';
683
+ export const GL_ILLUSTRATION_ISOMETRIC_BASE_TOP_FILL_COLOR = '#e7e4f2';
684
+ export const GL_ILLUSTRATION_ISOMETRIC_BASE_FRONT_FILL_COLOR = '#d5d0e8';
685
+ export const GL_ILLUSTRATION_ISOMETRIC_BASE_SIDE_FILL_COLOR = '#aea5d6';
654
686
  export const GL_LABEL_LIGHT_TEXT_COLOR = '#18171d';
655
687
  export const GL_LABEL_LIGHT_BUTTON_BACKGROUND_COLOR_DEFAULT = 'transparent';
656
688
  export const GL_LABEL_LIGHT_BUTTON_BACKGROUND_COLOR_HOVER = '#18171d';