@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.
- package/CHANGELOG.md +20 -0
- package/dist/components/base/button_group/button_group.js +10 -4
- package/dist/components/dashboards/dashboard_panel/dashboard_panel.js +7 -10
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/tailwind.css +1 -1
- package/dist/tokens/build/js/tokens.dark.js +1 -1
- package/dist/tokens/build/js/tokens.js +1 -1
- package/dist/tokens/css/tokens.css +1 -1
- package/dist/tokens/css/tokens.dark.css +1 -1
- package/dist/tokens/js/tokens.dark.js +1 -1
- package/dist/tokens/js/tokens.js +1 -1
- package/dist/tokens/json/tokens.dark.json +3 -3
- package/dist/tokens/json/tokens.json +3 -3
- package/dist/tokens/scss/_tokens.dark.scss +1 -1
- package/dist/tokens/scss/_tokens.scss +1 -1
- package/dist/tokens/tailwind/tokens.cjs +1 -1
- package/dist/vendor/bootstrap-vue/src/constants/components.js +1 -2
- package/dist/vendor/bootstrap-vue/src/vue.js +17 -0
- package/package.json +8 -6
- package/src/components/base/button_group/button_group.md +19 -3
- package/src/components/base/button_group/button_group.vue +11 -6
- package/src/components/base/new_dropdowns/disclosure/disclosure_dropdown.md +15 -0
- package/src/components/base/new_dropdowns/listbox/listbox.md +15 -0
- package/src/components/dashboards/dashboard_panel/dashboard_panel.vue +5 -5
- package/src/tokens/build/css/tokens.css +1 -1
- package/src/tokens/build/css/tokens.dark.css +1 -1
- package/src/tokens/build/js/tokens.dark.js +1 -1
- package/src/tokens/build/js/tokens.js +1 -1
- package/src/tokens/build/json/tokens.dark.json +3 -3
- package/src/tokens/build/json/tokens.json +3 -3
- package/src/tokens/build/scss/_tokens.dark.scss +1 -1
- package/src/tokens/build/scss/_tokens.scss +1 -1
- package/src/tokens/build/tailwind/tokens.cjs +1 -1
- package/src/tokens/icon.tokens.json +2 -2
- package/src/vendor/bootstrap-vue/src/constants/components.js +0 -1
- package/src/vendor/bootstrap-vue/src/vue.js +18 -0
- package/dist/vendor/bootstrap-vue/src/components/button-group/button-group.js +0 -44
- package/dist/vendor/bootstrap-vue/src/components/button-group/index.js +0 -1
- package/src/vendor/bootstrap-vue/src/components/button-group/README.md +0 -107
- package/src/vendor/bootstrap-vue/src/components/button-group/button-group.js +0 -42
- package/src/vendor/bootstrap-vue/src/components/button-group/button-group.spec.js +0 -98
- package/src/vendor/bootstrap-vue/src/components/button-group/index.js +0 -3
- 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
|
-
|
|
7
|
-
|
|
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('
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
106
|
-
return ((_this$titlePopover = this.titlePopover) === null || _this$titlePopover === void 0 ? void 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
|
|
110
|
-
return ((_this$titlePopover2 = this.titlePopover) === null || _this$titlePopover2 === void 0 ? void 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
|
-
|
|
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
|
};
|