@gitlab/ui 32.54.1 → 32.57.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 +28 -0
- package/dist/components/charts/line/line.js +1 -1
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/utility_classes.css +1 -1
- package/dist/utility_classes.css.map +1 -1
- package/package.json +1 -1
- package/src/components/charts/line/line.spec.js +8 -1
- package/src/components/charts/line/line.vue +5 -9
- package/src/scss/bootstrap_vue.scss +39 -0
- package/src/scss/gitlab_ui.scss +1 -1
- package/src/scss/storybook.scss +1 -1
- package/src/scss/utilities.scss +730 -24
- package/src/scss/utility-mixins/sizing.scss +21 -3
- package/src/scss/utility-mixins/spacing.scss +414 -2
package/package.json
CHANGED
|
@@ -139,7 +139,14 @@ describe('line component', () => {
|
|
|
139
139
|
const dataTooltipTitle = 'FooBar';
|
|
140
140
|
|
|
141
141
|
beforeEach(() => {
|
|
142
|
-
createShallowWrapper(
|
|
142
|
+
createShallowWrapper(
|
|
143
|
+
{},
|
|
144
|
+
{
|
|
145
|
+
stubs: {
|
|
146
|
+
'chart-tooltip': ChartTooltipStub,
|
|
147
|
+
},
|
|
148
|
+
}
|
|
149
|
+
);
|
|
143
150
|
});
|
|
144
151
|
|
|
145
152
|
it('is initialized', () => {
|
|
@@ -354,19 +354,15 @@ export default {
|
|
|
354
354
|
:top="dataTooltipPosition.top"
|
|
355
355
|
:left="dataTooltipPosition.left"
|
|
356
356
|
>
|
|
357
|
-
<template
|
|
358
|
-
|
|
359
|
-
<
|
|
360
|
-
<slot name="tooltip-content"></slot>
|
|
361
|
-
</template>
|
|
362
|
-
<template v-else>
|
|
363
|
-
<!-- eslint-disable-next-line vue/no-deprecated-slot-attribute -->
|
|
364
|
-
<div slot="title">
|
|
357
|
+
<template #title>
|
|
358
|
+
<slot v-if="formatTooltipText" name="tooltip-title"></slot>
|
|
359
|
+
<div v-else>
|
|
365
360
|
{{ dataTooltipTitle }}
|
|
366
361
|
<template v-if="options.xAxis.name">({{ options.xAxis.name }})</template>
|
|
367
362
|
</div>
|
|
368
|
-
<tooltip-default-format :tooltip-content="dataTooltipContent" />
|
|
369
363
|
</template>
|
|
364
|
+
<slot v-if="formatTooltipText" name="tooltip-content"></slot>
|
|
365
|
+
<tooltip-default-format v-else :tooltip-content="dataTooltipContent" />
|
|
370
366
|
</chart-tooltip>
|
|
371
367
|
<chart-legend
|
|
372
368
|
v-if="compiledOptions"
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
// stylelint-disable scss/at-import-partial-extension-blacklist
|
|
2
|
+
|
|
3
|
+
// imports from https://github.com/bootstrap-vue/bootstrap-vue/blob/dev/src/index.scss
|
|
4
|
+
|
|
5
|
+
@import 'bootstrap-vue/src/variables.scss';
|
|
6
|
+
@import 'bootstrap-vue/src/utilities.scss';
|
|
7
|
+
|
|
8
|
+
// Used by BFormSpinbutton, BFormDatepicker, BFormTimepicker, BTime, BCalendar
|
|
9
|
+
@import 'bootstrap-vue/src/custom-controls.scss';
|
|
10
|
+
|
|
11
|
+
// Comment out components we are not importing in gitlab-ui
|
|
12
|
+
// Still listed for easy comparison
|
|
13
|
+
// @import 'bootstrap-vue/src/components/avatar/index.scss';
|
|
14
|
+
// @import 'bootstrap-vue/src/components/calendar/index.scss';
|
|
15
|
+
@import 'bootstrap-vue/src/components/card/index.scss';
|
|
16
|
+
@import 'bootstrap-vue/src/components/dropdown/index.scss';
|
|
17
|
+
@import 'bootstrap-vue/src/components/form-checkbox/index.scss';
|
|
18
|
+
// @import 'bootstrap-vue/src/components/form-file/index.scss';
|
|
19
|
+
@import 'bootstrap-vue/src/components/form-input/index.scss';
|
|
20
|
+
@import 'bootstrap-vue/src/components/form-radio/index.scss';
|
|
21
|
+
// @import 'bootstrap-vue/src/components/form-rating/index.scss';
|
|
22
|
+
// @import 'bootstrap-vue/src/components/form-spinbutton/index.scss';
|
|
23
|
+
@import 'bootstrap-vue/src/components/form-tags/index.scss';
|
|
24
|
+
@import 'bootstrap-vue/src/components/input-group/index.scss';
|
|
25
|
+
// @import 'bootstrap-vue/src/components/media/index.scss';
|
|
26
|
+
@import 'bootstrap-vue/src/components/modal/index.scss';
|
|
27
|
+
@import 'bootstrap-vue/src/components/nav/index.scss';
|
|
28
|
+
@import 'bootstrap-vue/src/components/navbar/index.scss';
|
|
29
|
+
// @import 'bootstrap-vue/src/components/pagination/index.scss';
|
|
30
|
+
// @import 'bootstrap-vue/src/components/pagination-nav/index.scss';
|
|
31
|
+
@import 'bootstrap-vue/src/components/popover/index.scss';
|
|
32
|
+
// @import 'bootstrap-vue/src/components/skeleton/index.scss';
|
|
33
|
+
// @import 'bootstrap-vue/src/components/sidebar/index.scss';
|
|
34
|
+
@import 'bootstrap-vue/src/components/table/index.scss';
|
|
35
|
+
// @import 'bootstrap-vue/src/components/time/index.scss';
|
|
36
|
+
@import 'bootstrap-vue/src/components/toast/index.scss';
|
|
37
|
+
@import 'bootstrap-vue/src/components/tooltip/index.scss';
|
|
38
|
+
|
|
39
|
+
// @import 'bootstrap-vue/src/icons/icons.scss';
|
package/src/scss/gitlab_ui.scss
CHANGED
package/src/scss/storybook.scss
CHANGED