@gitlab/ui 137.3.1 → 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 (79) hide show
  1. package/dist/components/base/alert/alert.js +0 -1
  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 +1 -3
  8. package/dist/components/base/toast/index.js +1 -1
  9. package/dist/components/base/toggle/toggle.js +0 -1
  10. package/dist/components/mixins/tooltip_mixin.js +1 -1
  11. package/dist/index.css +2 -2
  12. package/dist/index.css.map +1 -1
  13. package/dist/tailwind.css +1 -1
  14. package/dist/tailwind.css.map +1 -1
  15. package/dist/tokens/build/js/tokens.dark.js +299 -299
  16. package/dist/tokens/build/js/tokens.js +302 -302
  17. package/dist/utils/confetti/confetti.js +189 -0
  18. package/dist/utils/confetti/constants.js +36 -0
  19. package/dist/utils/confetti/field.js +114 -0
  20. package/dist/utils/confetti/palette.js +6 -0
  21. package/dist/utils/confetti/particles.js +92 -0
  22. package/dist/utils/matrix/columns.js +54 -0
  23. package/dist/utils/matrix/constants.js +19 -0
  24. package/dist/utils/matrix/matrix.js +157 -0
  25. package/dist/utils/matrix/palette.js +9 -0
  26. package/dist/utils.js +2 -0
  27. package/dist/vendor/bootstrap-vue/src/components/popover/helpers/bv-popover-template.js +4 -2
  28. package/dist/vendor/bootstrap-vue/src/components/tooltip/helpers/bv-tooltip-template.js +3 -1
  29. package/package.json +3 -2
  30. package/src/components/base/alert/alert.vue +0 -1
  31. package/src/components/base/drawer/drawer.vue +0 -1
  32. package/src/components/base/filtered_search/filtered_search_token_segment.vue +0 -1
  33. package/src/components/base/form/form_group/form_group.vue +0 -2
  34. package/src/components/base/form/form_select/form_select.vue +0 -1
  35. package/src/components/base/modal/modal.vue +0 -3
  36. package/src/components/base/new_dropdowns/base_dropdown/dropdown_container.js +1 -1
  37. package/src/components/base/new_dropdowns/disclosure/disclosure_dropdown.vue +0 -1
  38. package/src/components/base/tabs/tabs/scrollable_tabs.vue +0 -1
  39. package/src/components/base/tabs/tabs/tabs.vue +0 -1
  40. package/src/components/base/toast/index.js +1 -1
  41. package/src/components/base/toggle/toggle.vue +0 -1
  42. package/src/components/charts/heatmap/index.js +1 -1
  43. package/src/components/mixins/tooltip_mixin.js +1 -1
  44. package/src/tokens/build/css/tokens.css +74 -74
  45. package/src/tokens/build/css/tokens.dark.css +70 -70
  46. package/src/tokens/build/docs/tokens-tailwind-docs.dark.json +303 -303
  47. package/src/tokens/build/docs/tokens-tailwind-docs.json +323 -323
  48. package/src/tokens/build/figma/constants.dark.json +207 -207
  49. package/src/tokens/build/figma/constants.json +207 -207
  50. package/src/tokens/build/figma/mode.dark.json +37 -37
  51. package/src/tokens/build/figma/mode.json +35 -35
  52. package/src/tokens/build/js/tokens.dark.js +299 -300
  53. package/src/tokens/build/js/tokens.js +302 -303
  54. package/src/tokens/build/json/tokens.dark.json +369 -369
  55. package/src/tokens/build/json/tokens.json +376 -376
  56. package/src/tokens/build/scss/_tokens.dark.scss +70 -70
  57. package/src/tokens/build/scss/_tokens.scss +74 -74
  58. package/src/tokens/constant/color.blue.tokens.json +39 -39
  59. package/src/tokens/constant/color.green.tokens.json +41 -41
  60. package/src/tokens/constant/color.orange.tokens.json +43 -43
  61. package/src/tokens/constant/color.purple.tokens.json +40 -40
  62. package/src/tokens/constant/color.red.tokens.json +44 -44
  63. package/src/tokens/contextual/avatar.tokens.json +13 -13
  64. package/src/tokens/contextual/button.tokens.json +22 -22
  65. package/src/tokens/contextual/chart.tokens.json +3 -3
  66. package/src/tokens/semantic/action.tokens.json +18 -18
  67. package/src/utils/confetti/confetti.js +191 -0
  68. package/src/utils/confetti/constants.js +42 -0
  69. package/src/utils/confetti/field.js +134 -0
  70. package/src/utils/confetti/palette.js +15 -0
  71. package/src/utils/confetti/particles.js +98 -0
  72. package/src/utils/matrix/columns.js +53 -0
  73. package/src/utils/matrix/constants.js +19 -0
  74. package/src/utils/matrix/matrix.js +185 -0
  75. package/src/utils/matrix/palette.js +18 -0
  76. package/src/utils.js +2 -0
  77. package/src/vendor/bootstrap-vue/src/components/popover/helpers/bv-popover-template.js +7 -2
  78. package/src/vendor/bootstrap-vue/src/components/tooltip/helpers/bv-tooltip-template.js +2 -1
  79. package/translations.js +1 -1
@@ -136,7 +136,6 @@ var script = {
136
136
  return alertVariantIconMap[this.variant];
137
137
  },
138
138
  shouldRenderActions() {
139
- // eslint-disable-next-line @gitlab/vue-prefer-dollar-scopedslots
140
139
  return Boolean(this.$slots.actions || this.actionButtons.length);
141
140
  },
142
141
  actionButtons() {
@@ -70,7 +70,6 @@ var script = {
70
70
  };
71
71
  },
72
72
  shouldRenderFooter() {
73
- // eslint-disable-next-line @gitlab/vue-prefer-dollar-scopedslots
74
73
  return Boolean(this.$slots.footer);
75
74
  },
76
75
  variantClass() {
@@ -224,7 +224,6 @@ var script = {
224
224
  },
225
225
  hasOptionsOrSuggestions() {
226
226
  var _this$options2;
227
- // eslint-disable-next-line @gitlab/vue-prefer-dollar-scopedslots
228
227
  return ((_this$options2 = this.options) === null || _this$options2 === void 0 ? void 0 : _this$options2.length) || isSlotNotEmpty(this.$slots.suggestions);
229
228
  },
230
229
  defaultSuggestedValue() {
@@ -72,7 +72,6 @@ var script = {
72
72
  return defaultClass;
73
73
  },
74
74
  hasLabelDescription() {
75
- // eslint-disable-next-line @gitlab/vue-prefer-dollar-scopedslots
76
75
  return Boolean(this.labelDescription || this.$slots['label-description']);
77
76
  }
78
77
  }
@@ -140,17 +140,13 @@ var script = {
140
140
  },
141
141
  computed: {
142
142
  shouldRenderModalOk() {
143
- // eslint-disable-next-line @gitlab/vue-prefer-dollar-scopedslots
144
143
  return Boolean(this.$slots['modal-ok']);
145
144
  },
146
145
  shouldRenderModalCancel() {
147
- // eslint-disable-next-line @gitlab/vue-prefer-dollar-scopedslots
148
146
  return Boolean(this.$slots['modal-cancel']);
149
147
  },
150
148
  shouldRenderModalFooter() {
151
- return Boolean(this.actionCancel || this.actionSecondary || this.actionPrimary ||
152
- // eslint-disable-next-line @gitlab/vue-prefer-dollar-scopedslots
153
- this.$slots['modal-footer']);
149
+ return Boolean(this.actionCancel || this.actionSecondary || this.actionPrimary || this.$slots['modal-footer']);
154
150
  }
155
151
  },
156
152
  mounted() {
@@ -1,7 +1,7 @@
1
1
  import { MountingPortal } from 'portal-vue';
2
2
  import { POSITION_ABSOLUTE, POSITION_FIXED } from '../constants';
3
3
 
4
- /* eslint-disable import/no-default-export */
4
+ /* eslint-disable import-x/no-default-export */
5
5
  var dropdown_container = {
6
6
  props: {
7
7
  /**
@@ -226,9 +226,7 @@ var script = {
226
226
  computed: {
227
227
  disclosureTag() {
228
228
  var _this$items;
229
- if ((_this$items = this.items) !== null && _this$items !== void 0 && _this$items.length ||
230
- // eslint-disable-next-line @gitlab/vue-prefer-dollar-scopedslots
231
- hasOnlyListItems(this.$scopedSlots.default || this.$slots.default)) {
229
+ if ((_this$items = this.items) !== null && _this$items !== void 0 && _this$items.length || hasOnlyListItems(this.$scopedSlots.default || this.$slots.default)) {
232
230
  return 'ul';
233
231
  }
234
232
  return 'div';
@@ -2,7 +2,7 @@ import Vue from 'vue';
2
2
  import { createNewChildComponent } from '../../../vendor/bootstrap-vue/src/utils/create-new-child-component';
3
3
  import GlToaster from './toaster';
4
4
 
5
- /* eslint-disable import/no-default-export */
5
+ /* eslint-disable import-x/no-default-export */
6
6
  let toastsCount = 0;
7
7
  let toasterInstance = null;
8
8
  function ensureToaster(vm) {
@@ -95,7 +95,6 @@ var script = {
95
95
  return Boolean(this.$scopedSlots.description || this.description) && this.isVerticalLayout;
96
96
  },
97
97
  shouldRenderHelp() {
98
- // eslint-disable-next-line @gitlab/vue-prefer-dollar-scopedslots
99
98
  return Boolean(this.$slots.help || this.help) && this.isVerticalLayout;
100
99
  },
101
100
  toggleClasses() {
@@ -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
  var tooltip_mixin = tooltipRefName => ({
5
5
  mounted() {
6
6
  /**