@gitlab/ui 32.21.0 → 32.24.1
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/base/accordion/accordion.documentation.js +8 -0
- package/dist/components/base/accordion/accordion_item.documentation.js +7 -0
- package/dist/components/base/daterange_picker/daterange_picker.documentation.js +8 -0
- package/dist/components/base/segmented_control/examples/segmented_control.basic.example.js +6 -0
- package/dist/components/charts/bar/bar.documentation.js +2 -5
- 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/documentation/components_documentation.js +3 -0
- package/documentation/documented_stories.js +1 -0
- package/package.json +4 -4
- package/src/components/base/accordion/accordion.documentation.js +6 -0
- package/src/components/base/accordion/accordion_item.documentation.js +5 -0
- package/src/components/base/daterange_picker/daterange_picker.documentation.js +6 -0
- package/src/components/base/segmented_control/examples/segmented_control.basic.example.vue +2 -0
- package/src/components/base/segmented_control/segmented_control.scss +73 -14
- package/src/components/base/tabs/tabs/tabs.scss +15 -6
- package/src/components/charts/bar/bar.documentation.js +0 -2
- package/src/components/charts/bar/bar.md +0 -2
- package/src/components/charts/bar/bar.stories.js +35 -58
- package/src/scss/utilities.scss +34 -0
- package/src/scss/utility-mixins/box-shadow.scss +13 -0
- package/src/scss/utility-mixins/sizing.scss +4 -0
- package/dist/components/charts/bar/examples/bar.basic.example.js +0 -42
- package/dist/components/charts/bar/examples/bar.long_labels.example.js +0 -55
- package/dist/components/charts/bar/examples/bar.multiple_series.example.js +0 -48
- package/dist/components/charts/bar/examples/bar.negative_values.example.js +0 -43
- package/dist/components/charts/bar/examples/index.js +0 -28
- package/src/components/charts/bar/examples/bar.basic.example.vue +0 -14
- package/src/components/charts/bar/examples/bar.long_labels.example.vue +0 -26
- package/src/components/charts/bar/examples/bar.multiple_series.example.vue +0 -22
- package/src/components/charts/bar/examples/bar.negative_values.example.vue +0 -15
- package/src/components/charts/bar/examples/index.js +0 -33
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<gl-bar-chart
|
|
3
|
-
:data="{
|
|
4
|
-
Office: [
|
|
5
|
-
[100, 'Jim Halpert'],
|
|
6
|
-
[210, 'Dwight Kurt Schrute'],
|
|
7
|
-
[300, 'Pam Beesly'],
|
|
8
|
-
[340, 'Ryan Howard'],
|
|
9
|
-
[130, 'Kelly Rajnigandha Kapoor'],
|
|
10
|
-
[50, 'Scranton Strangler'],
|
|
11
|
-
[90, 'Michael Gary Scott'],
|
|
12
|
-
[-10, 'Andrew Baines Bernard'],
|
|
13
|
-
[50, 'Stanley Hudson'],
|
|
14
|
-
[30, 'Erin Hannon'],
|
|
15
|
-
[50, 'Creed Bratton'],
|
|
16
|
-
[90, 'Oscar'],
|
|
17
|
-
[10, 'Kevin Malone'],
|
|
18
|
-
[50, 'Angela Martin'],
|
|
19
|
-
[30, 'Toby Flenderson'],
|
|
20
|
-
],
|
|
21
|
-
}"
|
|
22
|
-
y-axis-title="People"
|
|
23
|
-
x-axis-title="Percentage"
|
|
24
|
-
x-axis-type="value"
|
|
25
|
-
/>
|
|
26
|
-
</template>
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<gl-bar-chart
|
|
3
|
-
:data="{
|
|
4
|
-
Office: [
|
|
5
|
-
[78, 'Andrew Baines Bernard'],
|
|
6
|
-
[123, 'Angela Martin'],
|
|
7
|
-
],
|
|
8
|
-
ModernFamily: [
|
|
9
|
-
[39, 'Phil Dunphy'],
|
|
10
|
-
[4, 'Luke Dunphy'],
|
|
11
|
-
],
|
|
12
|
-
Friends: [
|
|
13
|
-
[239, 'Chandler Muriel Bing'],
|
|
14
|
-
[92, 'Joseph Francis Tribbiani'],
|
|
15
|
-
],
|
|
16
|
-
}"
|
|
17
|
-
:option="{}"
|
|
18
|
-
y-axis-title="People"
|
|
19
|
-
x-axis-title="Percentage"
|
|
20
|
-
x-axis-type="value"
|
|
21
|
-
/>
|
|
22
|
-
</template>
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<gl-bar-chart
|
|
3
|
-
:data="{
|
|
4
|
-
Full: [
|
|
5
|
-
[-78, 'Jim Halpert'],
|
|
6
|
-
[123, 'Kelly Rajnigandha Kapoor'],
|
|
7
|
-
[-10, 'Michael Gary Scott'],
|
|
8
|
-
],
|
|
9
|
-
}"
|
|
10
|
-
:option="{}"
|
|
11
|
-
y-axis-title="People"
|
|
12
|
-
x-axis-title="Percentage"
|
|
13
|
-
x-axis-type="value"
|
|
14
|
-
/>
|
|
15
|
-
</template>
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import BarChartBasicExample from './bar.basic.example.vue';
|
|
2
|
-
import BarChartLongLablesExample from './bar.long_labels.example.vue';
|
|
3
|
-
import BarChartMultipleSeriesExample from './bar.multiple_series.example.vue';
|
|
4
|
-
import BarChartNegativeValuesExample from './bar.negative_values.example.vue';
|
|
5
|
-
|
|
6
|
-
export default [
|
|
7
|
-
{
|
|
8
|
-
name: 'Basic',
|
|
9
|
-
items: [
|
|
10
|
-
{
|
|
11
|
-
id: 'bar-basic',
|
|
12
|
-
name: 'Basic',
|
|
13
|
-
description: 'Basic Bar Chart',
|
|
14
|
-
component: BarChartBasicExample,
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
id: 'bar-negative-labels',
|
|
18
|
-
name: 'Negative values',
|
|
19
|
-
component: BarChartNegativeValuesExample,
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
id: 'bar-long-labels',
|
|
23
|
-
name: 'Long labels with negative values',
|
|
24
|
-
component: BarChartLongLablesExample,
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
id: 'bar-multiple-series',
|
|
28
|
-
name: 'Multiple Series Bar Chart',
|
|
29
|
-
component: BarChartMultipleSeriesExample,
|
|
30
|
-
},
|
|
31
|
-
],
|
|
32
|
-
},
|
|
33
|
-
];
|