@gitlab/ui 89.7.0 → 90.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/charts/stacked_column/stacked_column.js +6 -1
- package/dist/config.js +0 -4
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.js +0 -1
- package/package.json +1 -1
- package/src/components/base/form/form_group/form_group.scss +7 -8
- package/src/components/charts/stacked_column/stacked_column.vue +6 -1
- package/src/config.js +0 -5
- package/src/index.js +0 -1
- package/dist/components/base/form/form_text/form_text.js +0 -46
- package/src/components/base/form/form_text/form_text.md +0 -4
- package/src/components/base/form/form_text/form_text.vue +0 -11
package/dist/index.js
CHANGED
|
@@ -4,7 +4,6 @@ export { default as GlTableLite } from './components/base/table_lite/table_lite'
|
|
|
4
4
|
export { default as GlDropdownForm } from './components/base/dropdown/dropdown_form';
|
|
5
5
|
export { default as GlKeysetPagination } from './components/base/keyset_pagination/keyset_pagination';
|
|
6
6
|
export { default as GlInputGroupText } from './components/base/form/input_group_text/input_group_text';
|
|
7
|
-
export { default as GlFormText } from './components/base/form/form_text/form_text';
|
|
8
7
|
export { default as GlFormCombobox } from './components/base/form/form_combobox/form_combobox';
|
|
9
8
|
export { default as GlTokenSelector } from './components/base/token_selector/token_selector';
|
|
10
9
|
export { default as GlNavItemDropdown } from './components/base/nav/nav_item_dropdown';
|
package/package.json
CHANGED
|
@@ -30,18 +30,22 @@
|
|
|
30
30
|
|
|
31
31
|
.invalid-feedback,
|
|
32
32
|
.valid-feedback,
|
|
33
|
-
.text-
|
|
33
|
+
.text-muted,
|
|
34
34
|
.gl-text-secondary {
|
|
35
35
|
@include gl-font-base;
|
|
36
36
|
@include gl-line-height-normal;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
+
.text-muted {
|
|
40
|
+
@apply gl-text-subtle #{!important};
|
|
41
|
+
}
|
|
42
|
+
|
|
39
43
|
.form-control {
|
|
40
44
|
+ .invalid-feedback,
|
|
41
45
|
+ .valid-feedback,
|
|
42
|
-
+ .text-gl-muted,
|
|
43
|
-
&.is-valid + .invalid-feedback + .text-gl-muted,
|
|
44
46
|
+ .gl-text-secondary,
|
|
47
|
+
+ .text-muted,
|
|
48
|
+
&.is-valid + .invalid-feedback + .text-muted,
|
|
45
49
|
&.is-valid + .invalid-feedback + .gl-text-secondary {
|
|
46
50
|
// See https://gitlab.com/gitlab-org/gitlab-ui/-/merge_requests/2806
|
|
47
51
|
// for the reasoning behind the "valid+invalid" selector above
|
|
@@ -49,11 +53,6 @@
|
|
|
49
53
|
}
|
|
50
54
|
}
|
|
51
55
|
|
|
52
|
-
// Deprecated, soon to be removed
|
|
53
|
-
.text-gl-muted {
|
|
54
|
-
color: var(--gl-text-color-subtle);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
56
|
legend {
|
|
58
57
|
border-bottom: 0;
|
|
59
58
|
}
|
|
@@ -98,6 +98,11 @@ export default {
|
|
|
98
98
|
required: false,
|
|
99
99
|
default: () => [],
|
|
100
100
|
},
|
|
101
|
+
includeLegendAvgMax: {
|
|
102
|
+
type: Boolean,
|
|
103
|
+
required: false,
|
|
104
|
+
default: true,
|
|
105
|
+
},
|
|
101
106
|
legendAverageText: {
|
|
102
107
|
type: String,
|
|
103
108
|
required: false,
|
|
@@ -242,7 +247,7 @@ export default {
|
|
|
242
247
|
name: series.name,
|
|
243
248
|
type: series.type,
|
|
244
249
|
color: this.getColor(index),
|
|
245
|
-
data: series.data.map((data) => data),
|
|
250
|
+
data: this.includeLegendAvgMax ? series.data.map((data) => data) : undefined,
|
|
246
251
|
yAxisIndex: series.yAxisIndex,
|
|
247
252
|
});
|
|
248
253
|
return acc;
|
package/src/config.js
CHANGED
|
@@ -3,10 +3,6 @@ import translationKeys from '../translations';
|
|
|
3
3
|
import { BVConfigPlugin } from './vendor/bootstrap-vue/src/bv-config';
|
|
4
4
|
import { tooltipDelay } from './utils/constants';
|
|
5
5
|
|
|
6
|
-
const bFormTextGlobalConfig = {
|
|
7
|
-
textVariant: 'gl-muted',
|
|
8
|
-
};
|
|
9
|
-
|
|
10
6
|
const tooltipGlobalConfig = {
|
|
11
7
|
// Work around for https://github.com/bootstrap-vue/bootstrap-vue/issues/6507
|
|
12
8
|
boundaryPadding: 5,
|
|
@@ -62,7 +58,6 @@ const setConfigs = ({ translations, useImprovedHideHeuristics } = {}) => {
|
|
|
62
58
|
configured = true;
|
|
63
59
|
|
|
64
60
|
Vue.use(BVConfigPlugin, {
|
|
65
|
-
BFormText: bFormTextGlobalConfig,
|
|
66
61
|
BTooltip: tooltipGlobalConfig,
|
|
67
62
|
BPopover: {
|
|
68
63
|
delay: popoverDelayConfig,
|
package/src/index.js
CHANGED
|
@@ -11,7 +11,6 @@ export { default as GlTableLite } from './components/base/table_lite/table_lite.
|
|
|
11
11
|
export { default as GlDropdownForm } from './components/base/dropdown/dropdown_form.vue';
|
|
12
12
|
export { default as GlKeysetPagination } from './components/base/keyset_pagination/keyset_pagination.vue';
|
|
13
13
|
export { default as GlInputGroupText } from './components/base/form/input_group_text/input_group_text.vue';
|
|
14
|
-
export { default as GlFormText } from './components/base/form/form_text/form_text.vue';
|
|
15
14
|
export { default as GlFormCombobox } from './components/base/form/form_combobox/form_combobox.vue';
|
|
16
15
|
export { default as GlTokenSelector } from './components/base/token_selector/token_selector.vue';
|
|
17
16
|
export { default as GlNavItemDropdown } from './components/base/nav/nav_item_dropdown.vue';
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { BFormText } from '../../../../vendor/bootstrap-vue/src/components/form/form-text';
|
|
2
|
-
import __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.js';
|
|
3
|
-
|
|
4
|
-
var script = {
|
|
5
|
-
...BFormText.options,
|
|
6
|
-
name: 'GlFormText',
|
|
7
|
-
render(createElement, context) {
|
|
8
|
-
return BFormText.options.render(createElement, context);
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
/* script */
|
|
13
|
-
const __vue_script__ = script;
|
|
14
|
-
|
|
15
|
-
/* template */
|
|
16
|
-
|
|
17
|
-
/* style */
|
|
18
|
-
const __vue_inject_styles__ = undefined;
|
|
19
|
-
/* scoped */
|
|
20
|
-
const __vue_scope_id__ = undefined;
|
|
21
|
-
/* module identifier */
|
|
22
|
-
const __vue_module_identifier__ = undefined;
|
|
23
|
-
/* functional template */
|
|
24
|
-
const __vue_is_functional_template__ = undefined;
|
|
25
|
-
/* style inject */
|
|
26
|
-
|
|
27
|
-
/* style inject SSR */
|
|
28
|
-
|
|
29
|
-
/* style inject shadow dom */
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
const __vue_component__ = __vue_normalize__(
|
|
34
|
-
{},
|
|
35
|
-
__vue_inject_styles__,
|
|
36
|
-
__vue_script__,
|
|
37
|
-
__vue_scope_id__,
|
|
38
|
-
__vue_is_functional_template__,
|
|
39
|
-
__vue_module_identifier__,
|
|
40
|
-
false,
|
|
41
|
-
undefined,
|
|
42
|
-
undefined,
|
|
43
|
-
undefined
|
|
44
|
-
);
|
|
45
|
-
|
|
46
|
-
export default __vue_component__;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<script>
|
|
2
|
-
import { BFormText } from '../../../../vendor/bootstrap-vue/src/components/form/form-text';
|
|
3
|
-
|
|
4
|
-
export default {
|
|
5
|
-
...BFormText.options,
|
|
6
|
-
name: 'GlFormText',
|
|
7
|
-
render(createElement, context) {
|
|
8
|
-
return BFormText.options.render(createElement, context);
|
|
9
|
-
},
|
|
10
|
-
};
|
|
11
|
-
</script>
|