@gitlab/ui 105.7.0 → 106.1.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 (44) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/components/base/button_group/button_group.js +10 -4
  3. package/dist/components/dashboards/dashboard_panel/dashboard_panel.js +7 -10
  4. package/dist/index.css +1 -1
  5. package/dist/index.css.map +1 -1
  6. package/dist/tailwind.css +1 -1
  7. package/dist/tokens/build/js/tokens.dark.js +1 -1
  8. package/dist/tokens/build/js/tokens.js +1 -1
  9. package/dist/tokens/css/tokens.css +1 -1
  10. package/dist/tokens/css/tokens.dark.css +1 -1
  11. package/dist/tokens/js/tokens.dark.js +1 -1
  12. package/dist/tokens/js/tokens.js +1 -1
  13. package/dist/tokens/json/tokens.dark.json +3 -3
  14. package/dist/tokens/json/tokens.json +3 -3
  15. package/dist/tokens/scss/_tokens.dark.scss +1 -1
  16. package/dist/tokens/scss/_tokens.scss +1 -1
  17. package/dist/tokens/tailwind/tokens.cjs +1 -1
  18. package/dist/vendor/bootstrap-vue/src/constants/components.js +1 -2
  19. package/dist/vendor/bootstrap-vue/src/vue.js +17 -0
  20. package/package.json +8 -6
  21. package/src/components/base/button_group/button_group.md +19 -3
  22. package/src/components/base/button_group/button_group.vue +11 -6
  23. package/src/components/base/new_dropdowns/disclosure/disclosure_dropdown.md +15 -0
  24. package/src/components/base/new_dropdowns/listbox/listbox.md +15 -0
  25. package/src/components/dashboards/dashboard_panel/dashboard_panel.vue +5 -5
  26. package/src/tokens/build/css/tokens.css +1 -1
  27. package/src/tokens/build/css/tokens.dark.css +1 -1
  28. package/src/tokens/build/js/tokens.dark.js +1 -1
  29. package/src/tokens/build/js/tokens.js +1 -1
  30. package/src/tokens/build/json/tokens.dark.json +3 -3
  31. package/src/tokens/build/json/tokens.json +3 -3
  32. package/src/tokens/build/scss/_tokens.dark.scss +1 -1
  33. package/src/tokens/build/scss/_tokens.scss +1 -1
  34. package/src/tokens/build/tailwind/tokens.cjs +1 -1
  35. package/src/tokens/icon.tokens.json +2 -2
  36. package/src/vendor/bootstrap-vue/src/constants/components.js +0 -1
  37. package/src/vendor/bootstrap-vue/src/vue.js +18 -0
  38. package/dist/vendor/bootstrap-vue/src/components/button-group/button-group.js +0 -44
  39. package/dist/vendor/bootstrap-vue/src/components/button-group/index.js +0 -1
  40. package/src/vendor/bootstrap-vue/src/components/button-group/README.md +0 -107
  41. package/src/vendor/bootstrap-vue/src/components/button-group/button-group.js +0 -42
  42. package/src/vendor/bootstrap-vue/src/components/button-group/button-group.spec.js +0 -98
  43. package/src/vendor/bootstrap-vue/src/components/button-group/index.js +0 -3
  44. package/src/vendor/bootstrap-vue/src/components/button-group/package.json +0 -29
package/CHANGELOG.md CHANGED
@@ -1,3 +1,23 @@
1
+ # [106.1.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v106.0.0...v106.1.0) (2025-01-07)
2
+
3
+
4
+ ### Features
5
+
6
+ * Update @vue/compat to 3.5.13 ([8d6d8b0](https://gitlab.com/gitlab-org/gitlab-ui/commit/8d6d8b03017ab694ef2bd51d5d127ecf7a94778d))
7
+
8
+ # [106.0.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v105.7.0...v106.0.0) (2024-12-20)
9
+
10
+
11
+ ### Features
12
+
13
+ * **GlButtonGroup:** migrate GlButtonGroup ([e1f4927](https://gitlab.com/gitlab-org/gitlab-ui/commit/e1f4927497af1c5e16debfb8a3a668f3c064d5c5))
14
+
15
+
16
+ ### BREAKING CHANGES
17
+
18
+ * **GlButtonGroup:** this removes the `size`, `tag`, and `ariaRole`
19
+ props from GlButtonGroup.
20
+
1
21
  # [105.7.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v105.6.0...v105.7.0) (2024-12-19)
2
22
 
3
23
 
@@ -1,10 +1,16 @@
1
- import { BButtonGroup } from '../../../vendor/bootstrap-vue/src/components/button-group/button-group';
2
1
  import __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.js';
3
2
 
4
3
  var script = {
5
4
  name: 'GlButtonGroup',
6
- components: {
7
- BButtonGroup
5
+ props: {
6
+ /**
7
+ * When set, rendered the button group in vertical mode.
8
+ */
9
+ vertical: {
10
+ type: Boolean,
11
+ required: false,
12
+ default: false
13
+ }
8
14
  }
9
15
  };
10
16
 
@@ -12,7 +18,7 @@ var script = {
12
18
  const __vue_script__ = script;
13
19
 
14
20
  /* template */
15
- var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-button-group',_vm._g(_vm._b({},'b-button-group',_vm.$attrs,false),_vm.$listeners),[_vm._t("default")],2)};
21
+ var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',_vm._g({class:!_vm.vertical ? 'btn-group' : 'btn-group-vertical',attrs:{"role":"group"}},_vm.$listeners),[_vm._t("default")],2)};
16
22
  var __vue_staticRenderFns__ = [];
17
23
 
18
24
  /* style */
@@ -94,28 +94,25 @@ var script = {
94
94
  return `${this.containerClass} ${this.borderClass}`;
95
95
  },
96
96
  hasTitleIcon() {
97
- var _this$titleIcon;
98
- return ((_this$titleIcon = this.titleIcon) === null || _this$titleIcon === void 0 ? void 0 : _this$titleIcon.length) > 0;
97
+ return Boolean(this.titleIcon);
99
98
  },
100
99
  hasTitle() {
101
- var _this$title;
102
- return ((_this$title = this.title) === null || _this$title === void 0 ? void 0 : _this$title.length) > 0;
100
+ return Boolean(this.title);
103
101
  },
104
102
  hasTitlePopover() {
105
- var _this$titlePopover, _this$titlePopover$de;
106
- return ((_this$titlePopover = this.titlePopover) === null || _this$titlePopover === void 0 ? void 0 : (_this$titlePopover$de = _this$titlePopover.description) === null || _this$titlePopover$de === void 0 ? void 0 : _this$titlePopover$de.length) > 0;
103
+ var _this$titlePopover;
104
+ return Boolean((_this$titlePopover = this.titlePopover) === null || _this$titlePopover === void 0 ? void 0 : _this$titlePopover.description);
107
105
  },
108
106
  hasTitlePopoverLink() {
109
- var _this$titlePopover2, _this$titlePopover2$d;
110
- return ((_this$titlePopover2 = this.titlePopover) === null || _this$titlePopover2 === void 0 ? void 0 : (_this$titlePopover2$d = _this$titlePopover2.descriptionLink) === null || _this$titlePopover2$d === void 0 ? void 0 : _this$titlePopover2$d.length) > 0;
107
+ var _this$titlePopover2;
108
+ return Boolean((_this$titlePopover2 = this.titlePopover) === null || _this$titlePopover2 === void 0 ? void 0 : _this$titlePopover2.descriptionLink);
111
109
  },
112
110
  shouldShowActions() {
113
111
  var _this$actions;
114
112
  return ((_this$actions = this.actions) === null || _this$actions === void 0 ? void 0 : _this$actions.length) > 0;
115
113
  },
116
114
  isLoadingDelayed() {
117
- var _this$loadingDelayedT;
118
- return this.loadingDelayed && ((_this$loadingDelayedT = this.loadingDelayedText) === null || _this$loadingDelayedT === void 0 ? void 0 : _this$loadingDelayedT.length) > 0;
115
+ return this.loadingDelayed && Boolean(this.loadingDelayedText);
119
116
  }
120
117
  }
121
118
  };