@gitlab/ui 56.2.1 → 56.3.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 +13 -0
- package/dist/components/base/form/form_checkbox/form_checkbox_group.js +1 -1
- package/dist/components/base/form/form_radio_group/form_radio_group.js +1 -1
- package/dist/components/base/popover/popover.js +6 -1
- package/dist/components/base/table/table.js +12 -1
- package/dist/components/base/table_lite/table_lite.js +13 -2
- package/dist/index.css +2 -2
- package/dist/index.css.map +1 -1
- package/package.json +3 -3
- package/scss_to_js/scss_variables.js +1 -0
- package/scss_to_js/scss_variables.json +5 -0
- package/src/components/base/form/form_checkbox/form_checkbox_group.vue +1 -1
- package/src/components/base/form/form_input/form_input.scss +0 -5
- package/src/components/base/form/form_radio_group/form_radio_group.vue +1 -1
- package/src/components/base/form/form_select/form_select.scss +1 -6
- package/src/components/base/popover/popover.vue +6 -0
- package/src/components/base/table/table.spec.js +12 -1
- package/src/components/base/table/table.vue +11 -1
- package/src/components/base/table_lite/table_lite.spec.js +21 -0
- package/src/components/base/table_lite/table_lite.vue +9 -1
- package/src/scss/variables.scss +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
# [56.3.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v56.2.1...v56.3.0) (2023-03-08)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **GlFormDate:** fix feedback text size ([02a6b18](https://gitlab.com/gitlab-org/gitlab-ui/commit/02a6b187e6f78e1144a15395cd9d4be45e5acc67)), closes [/gitlab.com/gitlab-org/gitlab-ui/blob/v56.2.0/src/components/base/form/form_group/form_group.scss#L24](https://gitlab.com//gitlab.com/gitlab-org/gitlab-ui/blob/v56.2.0/src/components/base/form/form_group/form_group.scss/issues/L24) [/gitlab.com/gitlab-org/gitlab-ui/-/merge_requests/3115#note_1152044321](https://gitlab.com//gitlab.com/gitlab-org/gitlab-ui/-/merge_requests/3115/issues/note_1152044321)
|
|
7
|
+
* **GlTable:** ensure gl-table class on table element ([5edfc06](https://gitlab.com/gitlab-org/gitlab-ui/commit/5edfc069570eb61b3f02299e1a8d569d03bf21cb))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* **deps:** upgrade bootstrap-vue to v2.23.1 ([5fa1033](https://gitlab.com/gitlab-org/gitlab-ui/commit/5fa10330f92cbfa0c8be81b67f44d8a3f2f988b1))
|
|
13
|
+
|
|
1
14
|
## [56.2.1](https://gitlab.com/gitlab-org/gitlab-ui/compare/v56.2.0...v56.2.1) (2023-03-08)
|
|
2
15
|
|
|
3
16
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BFormCheckboxGroup } from 'bootstrap-vue/esm/index.js';
|
|
2
|
-
import formOptionsMixin from 'bootstrap-vue/esm/mixins/form-options';
|
|
2
|
+
import { formOptionsMixin } from 'bootstrap-vue/esm/mixins/form-options';
|
|
3
3
|
import { SafeHtmlDirective } from '../../../../directives/safe_html/safe_html';
|
|
4
4
|
import GlFormCheckbox from './form_checkbox';
|
|
5
5
|
import __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BFormRadioGroup } from 'bootstrap-vue/esm/index.js';
|
|
2
|
-
import formOptionsMixin from 'bootstrap-vue/esm/mixins/form-options';
|
|
2
|
+
import { formOptionsMixin } from 'bootstrap-vue/esm/mixins/form-options';
|
|
3
3
|
import { SafeHtmlDirective } from '../../../../directives/safe_html/safe_html';
|
|
4
4
|
import GlFormRadio from '../form_radio/form_radio';
|
|
5
5
|
import __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.js';
|
|
@@ -43,6 +43,11 @@ var script = {
|
|
|
43
43
|
type: String,
|
|
44
44
|
required: false,
|
|
45
45
|
default: popoverPlacements.top
|
|
46
|
+
},
|
|
47
|
+
boundaryPadding: {
|
|
48
|
+
type: [Number, String],
|
|
49
|
+
required: false,
|
|
50
|
+
default: 5
|
|
46
51
|
}
|
|
47
52
|
},
|
|
48
53
|
computed: {
|
|
@@ -69,7 +74,7 @@ var script = {
|
|
|
69
74
|
const __vue_script__ = script;
|
|
70
75
|
|
|
71
76
|
/* template */
|
|
72
|
-
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-popover',_vm._g(_vm._b({ref:_vm.$options.popoverRefName,attrs:{"custom-class":_vm.customClass,"triggers":_vm.triggers,"title":_vm.title,"placement":_vm.placement},scopedSlots:_vm._u([(_vm.shouldShowTitle)?{key:"title",fn:function(){return [_vm._t("title",function(){return [_vm._v("\n "+_vm._s(_vm.title)+"\n ")]}),_vm._v(" "),(_vm.showCloseButton)?_c('close-button',{staticClass:"gl-float-right gl-mt-n2 gl-mr-n3",attrs:{"data-testid":"close-button"},on:{"click":_vm.close}}):_vm._e()]},proxy:true}:null],null,true)},'b-popover',_vm.$attrs,false),_vm.$listeners),[_vm._v(" "),_vm._t("default")],2)};
|
|
77
|
+
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-popover',_vm._g(_vm._b({ref:_vm.$options.popoverRefName,attrs:{"custom-class":_vm.customClass,"triggers":_vm.triggers,"title":_vm.title,"placement":_vm.placement,"boundary-padding":_vm.boundaryPadding},scopedSlots:_vm._u([(_vm.shouldShowTitle)?{key:"title",fn:function(){return [_vm._t("title",function(){return [_vm._v("\n "+_vm._s(_vm.title)+"\n ")]}),_vm._v(" "),(_vm.showCloseButton)?_c('close-button',{staticClass:"gl-float-right gl-mt-n2 gl-mr-n3",attrs:{"data-testid":"close-button"},on:{"click":_vm.close}}):_vm._e()]},proxy:true}:null],null,true)},'b-popover',_vm.$attrs,false),_vm.$listeners),[_vm._v(" "),_vm._t("default")],2)};
|
|
73
78
|
var __vue_staticRenderFns__ = [];
|
|
74
79
|
|
|
75
80
|
/* style */
|
|
@@ -11,11 +11,22 @@ const shouldUseFullTable = _ref => {
|
|
|
11
11
|
} = _ref;
|
|
12
12
|
return tableFullProps.some(prop => $attrs[prop] !== undefined) || tableFullSlots.some(slot => $scopedSlots[slot] !== undefined);
|
|
13
13
|
};
|
|
14
|
+
const {
|
|
15
|
+
tableClass
|
|
16
|
+
} = BTable.options.props;
|
|
14
17
|
var script = {
|
|
15
18
|
components: {
|
|
16
19
|
BTable
|
|
17
20
|
},
|
|
18
21
|
inheritAttrs: false,
|
|
22
|
+
props: {
|
|
23
|
+
tableClass
|
|
24
|
+
},
|
|
25
|
+
computed: {
|
|
26
|
+
localTableClass() {
|
|
27
|
+
return ['gl-table', this.tableClass];
|
|
28
|
+
}
|
|
29
|
+
},
|
|
19
30
|
mounted() {
|
|
20
31
|
// logWarning will call isDev before logging any message
|
|
21
32
|
// this additional call to isDev is being made to exit the condition early when run in production
|
|
@@ -29,7 +40,7 @@ var script = {
|
|
|
29
40
|
const __vue_script__ = script;
|
|
30
41
|
|
|
31
42
|
/* template */
|
|
32
|
-
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-table',_vm._g(_vm._b({
|
|
43
|
+
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-table',_vm._g(_vm._b({attrs:{"table-class":_vm.localTableClass},scopedSlots:_vm._u([_vm._l((Object.keys(_vm.$scopedSlots)),function(slot){return {key:slot,fn:function(scope){return [_vm._t(slot,null,null,scope)]}}})],null,true)},'b-table',_vm.$attrs,false),_vm.$listeners))};
|
|
33
44
|
var __vue_staticRenderFns__ = [];
|
|
34
45
|
|
|
35
46
|
/* style */
|
|
@@ -1,18 +1,29 @@
|
|
|
1
1
|
import { BTableLite } from 'bootstrap-vue/esm/index.js';
|
|
2
2
|
import __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.js';
|
|
3
3
|
|
|
4
|
+
const {
|
|
5
|
+
tableClass
|
|
6
|
+
} = BTableLite.options.props;
|
|
4
7
|
var script = {
|
|
5
8
|
components: {
|
|
6
9
|
BTableLite
|
|
7
10
|
},
|
|
8
|
-
inheritAttrs: false
|
|
11
|
+
inheritAttrs: false,
|
|
12
|
+
props: {
|
|
13
|
+
tableClass
|
|
14
|
+
},
|
|
15
|
+
computed: {
|
|
16
|
+
localTableClass() {
|
|
17
|
+
return ['gl-table', this.tableClass];
|
|
18
|
+
}
|
|
19
|
+
}
|
|
9
20
|
};
|
|
10
21
|
|
|
11
22
|
/* script */
|
|
12
23
|
const __vue_script__ = script;
|
|
13
24
|
|
|
14
25
|
/* template */
|
|
15
|
-
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-table-lite',_vm._g(_vm._b({
|
|
26
|
+
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-table-lite',_vm._g(_vm._b({attrs:{"table-class":_vm.localTableClass},scopedSlots:_vm._u([_vm._l((Object.keys(_vm.$scopedSlots)),function(slot){return {key:slot,fn:function(scope){return [_vm._t(slot,null,null,scope)]}}})],null,true)},'b-table-lite',_vm.$attrs,false),_vm.$listeners))};
|
|
16
27
|
var __vue_staticRenderFns__ = [];
|
|
17
28
|
|
|
18
29
|
/* style */
|