@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.
Files changed (35) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/dist/components/base/accordion/accordion.documentation.js +8 -0
  3. package/dist/components/base/accordion/accordion_item.documentation.js +7 -0
  4. package/dist/components/base/daterange_picker/daterange_picker.documentation.js +8 -0
  5. package/dist/components/base/segmented_control/examples/segmented_control.basic.example.js +6 -0
  6. package/dist/components/charts/bar/bar.documentation.js +2 -5
  7. package/dist/index.css +1 -1
  8. package/dist/index.css.map +1 -1
  9. package/dist/utility_classes.css +1 -1
  10. package/dist/utility_classes.css.map +1 -1
  11. package/documentation/components_documentation.js +3 -0
  12. package/documentation/documented_stories.js +1 -0
  13. package/package.json +4 -4
  14. package/src/components/base/accordion/accordion.documentation.js +6 -0
  15. package/src/components/base/accordion/accordion_item.documentation.js +5 -0
  16. package/src/components/base/daterange_picker/daterange_picker.documentation.js +6 -0
  17. package/src/components/base/segmented_control/examples/segmented_control.basic.example.vue +2 -0
  18. package/src/components/base/segmented_control/segmented_control.scss +73 -14
  19. package/src/components/base/tabs/tabs/tabs.scss +15 -6
  20. package/src/components/charts/bar/bar.documentation.js +0 -2
  21. package/src/components/charts/bar/bar.md +0 -2
  22. package/src/components/charts/bar/bar.stories.js +35 -58
  23. package/src/scss/utilities.scss +34 -0
  24. package/src/scss/utility-mixins/box-shadow.scss +13 -0
  25. package/src/scss/utility-mixins/sizing.scss +4 -0
  26. package/dist/components/charts/bar/examples/bar.basic.example.js +0 -42
  27. package/dist/components/charts/bar/examples/bar.long_labels.example.js +0 -55
  28. package/dist/components/charts/bar/examples/bar.multiple_series.example.js +0 -48
  29. package/dist/components/charts/bar/examples/bar.negative_values.example.js +0 -43
  30. package/dist/components/charts/bar/examples/index.js +0 -28
  31. package/src/components/charts/bar/examples/bar.basic.example.vue +0 -14
  32. package/src/components/charts/bar/examples/bar.long_labels.example.vue +0 -26
  33. package/src/components/charts/bar/examples/bar.multiple_series.example.vue +0 -22
  34. package/src/components/charts/bar/examples/bar.negative_values.example.vue +0 -15
  35. package/src/components/charts/bar/examples/index.js +0 -33
@@ -73,6 +73,7 @@ export { default as GlLabelDocumentation } from '../src/components/base/label/la
73
73
  export { default as GlDatepickerDocumentation } from '../src/components/base/datepicker/datepicker.documentation';
74
74
  export { default as GlTokenDocumentation } from '../src/components/base/token/token.documentation';
75
75
  export { default as GlToggleDocumentation } from '../src/components/base/toggle/toggle.documentation';
76
+ export { default as GlDaterangePickerDocumentation } from '../src/components/base/daterange_picker/daterange_picker.documentation';
76
77
  export { default as GlSortingDocumentation } from '../src/components/base/sorting/sorting.documentation';
77
78
  export { default as GlSortingItemDocumentation } from '../src/components/base/sorting/sorting_item.documentation';
78
79
  export { default as GlInfiniteScrollDocumentation } from '../src/components/base/infinite_scroll/infinite_scroll.documentation';
@@ -92,6 +93,8 @@ export { default as GlFilteredSearchTokenSegmentDocumentation } from '../src/com
92
93
  export { default as GlFilteredSearchDocumentation } from '../src/components/base/filtered_search/filtered_search.documentation';
93
94
  export { default as GlBroadcastMessageDocumentation } from '../src/components/base/broadcast_message/broadcast_message.documentation';
94
95
  export { default as GlCollapseDocumentation } from '../src/components/base/collapse/collapse.documentation';
96
+ export { default as GlAccordionDocumentation } from '../src/components/base/accordion/accordion.documentation';
97
+ export { default as GlAccordionItemDocumentation } from '../src/components/base/accordion/accordion_item.documentation';
95
98
  export { default as GlCarouselDocumentation } from '../src/components/base/carousel/carousel.documentation';
96
99
  export { default as GlSafeLinkDirectiveDocumentation } from '../src/directives/safe_link/safe_link.documentation';
97
100
  export { default as GlSafeHtmlDirectiveDocumentation } from '../src/directives/safe_html/safe_html.documentation';
@@ -89,6 +89,7 @@ export const setupStorybookReadme = () =>
89
89
  'GlAccordion',
90
90
  'GlAccordionItem',
91
91
  'GlDaterangePicker',
92
+ 'GlBarChart',
92
93
  ],
93
94
  components: {
94
95
  GlComponentDocumentation,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/ui",
3
- "version": "32.21.0",
3
+ "version": "32.24.1",
4
4
  "description": "GitLab UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -116,7 +116,7 @@
116
116
  "jest-raw-loader": "^1.0.1",
117
117
  "jest-serializer-vue": "^2.0.2",
118
118
  "markdown-loader-jest": "^0.1.1",
119
- "markdownlint-cli": "^0.27.1",
119
+ "markdownlint-cli": "^0.29.0",
120
120
  "mockdate": "^2.0.5",
121
121
  "node-sass": "^4.14.1",
122
122
  "node-sass-magic-importer": "^5.3.2",
@@ -142,8 +142,8 @@
142
142
  "sass-true": "^5.0.0",
143
143
  "start-server-and-test": "^1.10.6",
144
144
  "storybook-readme": "5.0.9",
145
- "stylelint-config-prettier": "^8.0.2",
146
- "stylelint-prettier": "^1.1.2",
145
+ "stylelint-config-prettier": "8.0.2",
146
+ "stylelint-prettier": "1.1.2",
147
147
  "vue": "^2.6.11",
148
148
  "vue-jest": "4.0.0-rc.0",
149
149
  "vue-loader": "^15.8.3",
@@ -0,0 +1,6 @@
1
+ import description from './accordion.md';
2
+
3
+ export default {
4
+ followsDesignSystem: true,
5
+ description,
6
+ };
@@ -0,0 +1,5 @@
1
+ import description from './accordion_item.md';
2
+
3
+ export default {
4
+ description,
5
+ };
@@ -0,0 +1,6 @@
1
+ import description from './daterange_picker.md';
2
+
3
+ export default {
4
+ followsDesignSystem: true,
5
+ description,
6
+ };
@@ -6,6 +6,8 @@ export default {
6
6
  { value: 1, text: 'First' },
7
7
  { value: 2, text: 'Second', disabled: true },
8
8
  { value: 3, text: 'Third' },
9
+ { value: 4, text: 'Fourth' },
10
+ { value: 5, text: 'Fifth' },
9
11
  ],
10
12
  selected: 1,
11
13
  };
@@ -1,10 +1,30 @@
1
1
  /*
2
2
  * Segmented-control-specific utilities
3
3
  */
4
- @mixin gl-btn-gl-segmented-button-active($color) {
5
- box-shadow: inset 0 px-to-rem(2px) px-to-rem(4px) $color, inset 0 px-to-rem(1px) 0 $color,
6
- inset px-to-rem(1px) 0 0 $color, inset 0 px-to-rem(-1px) 0 $color,
7
- inset px-to-rem(-1px) 0 0 $color;
4
+
5
+ @mixin gl-btn-gl-segmented-button-first {
6
+ box-shadow: inset 0 #{$gl-border-size-1} 0 0 $gray-200,
7
+ inset 0 -#{$gl-border-size-1} 0 0 $gray-200, inset #{$gl-border-size-1} 0 0 0 $gray-200;
8
+ }
9
+
10
+ @mixin gl-btn-gl-segmented-button-last {
11
+ box-shadow: inset 0 #{$gl-border-size-1} 0 0 $gray-200,
12
+ inset 0 -#{$gl-border-size-1} 0 0 $gray-200, inset -#{$gl-border-size-1} 0 0 0 $gray-200;
13
+ }
14
+
15
+ @mixin gl-btn-gl-segmented-button-focus($color) {
16
+ box-shadow: $focus-ring, inset 0 0 0 $gl-border-size-2 $color;
17
+ }
18
+
19
+ .btn-group.gl-segmented-control {
20
+ .btn:not(:first-child),
21
+ .btn:not(:last-child) {
22
+ &.active,
23
+ &.focus,
24
+ &:hover:not(.disabled) {
25
+ @include gl-rounded-base;
26
+ }
27
+ }
8
28
  }
9
29
 
10
30
  .gl-segmented-control {
@@ -17,12 +37,42 @@
17
37
  @include gl-line-height-normal;
18
38
  @include gl-text-gray-900;
19
39
  @include gl-fill-current-color;
20
- @include gl-bg-white;
21
- @include gl-inset-border-1-gray-200;
40
+ @include gl-bg-gray-10;
41
+ @include gl-inset-border-y-1-gray-200;
42
+
43
+ &:first-child {
44
+ @include gl-btn-gl-segmented-button-first;
45
+ }
46
+ &:last-child {
47
+ @include gl-btn-gl-segmented-button-last;
48
+ }
49
+
50
+ &:hover {
51
+ @include gl-inset-border-2-gray-400;
52
+ @include gl-bg-gray-50;
53
+ }
54
+
55
+ &.focus {
56
+ @include gl-z-index-1;
57
+ @include gl-btn-gl-segmented-button-focus($gray-400);
58
+ @include gl-bg-gray-50;
59
+ }
22
60
 
23
61
  &.active {
24
- @include gl-bg-gray-10;
25
- @include gl-btn-gl-segmented-button-active($gray-200);
62
+ @include gl-z-index-2;
63
+ @include gl-inset-border-2-gray-300;
64
+ @include gl-bg-white;
65
+
66
+ &:hover {
67
+ @include gl-inset-border-2-gray-400;
68
+ @include gl-bg-gray-50;
69
+ }
70
+
71
+ &.focus,
72
+ &.focus:hover {
73
+ @include gl-btn-gl-segmented-button-focus($gray-400);
74
+ @include gl-bg-gray-50;
75
+ }
26
76
  }
27
77
 
28
78
  &:focus-within {
@@ -30,12 +80,21 @@
30
80
  }
31
81
 
32
82
  &.disabled,
33
- &[disabled] {
34
- @include gl-bg-gray-50;
35
- @include gl-text-gray-600;
36
- @include gl-inset-border-1-gray-200;
37
- @include gl-opacity-10;
38
- cursor: not-allowed !important;
83
+ &[disabled],
84
+ &.disabled:hover,
85
+ &[disabled]:hover {
86
+ @include gl-text-gray-400;
87
+ @include gl-inset-border-y-1-gray-200;
88
+ @include gl-z-index-0;
89
+ @include gl-cursor-not-allowed;
90
+
91
+ &:first-child {
92
+ @include gl-btn-gl-segmented-button-first;
93
+ }
94
+
95
+ &:last-child {
96
+ @include gl-btn-gl-segmented-button-last;
97
+ }
39
98
  }
40
99
  }
41
100
  }
@@ -6,7 +6,7 @@
6
6
  }
7
7
 
8
8
  .gl-tab-nav-item {
9
- @include gl-text-gray-500;
9
+ @include gl-text-gray-900;
10
10
  @include gl-px-4;
11
11
  @include gl-py-5;
12
12
  @include gl-line-height-normal;
@@ -17,13 +17,22 @@
17
17
 
18
18
  transition: box-shadow 100ms linear;
19
19
 
20
- &.disabled {
21
- @include gl-text-gray-200;
22
- }
23
-
24
20
  &:hover {
25
21
  @include gl-text-gray-900;
26
- @include gl-inset-border-b-2-gray-200;
22
+
23
+ &:not(.gl-tab-nav-item-active) {
24
+ @include gl-inset-border-b-2-gray-200;
25
+ }
26
+ }
27
+
28
+ &.disabled {
29
+ @include gl-pointer-events-auto;
30
+ @include gl-cursor-not-allowed;
31
+ @include gl-text-gray-400;
32
+
33
+ &:hover {
34
+ @include gl-shadow-none;
35
+ }
27
36
  }
28
37
 
29
38
  > .gl-tab-counter-badge {
@@ -1,8 +1,6 @@
1
1
  import description from './bar.md';
2
- import examples from './examples';
3
2
 
4
3
  export default {
5
4
  followsDesignSystem: true,
6
5
  description,
7
- examples,
8
6
  };
@@ -1,5 +1,3 @@
1
- ### Bar Chart
2
-
3
1
  A bar chart is similar to a column chart where the the length of bars represents the data value.
4
2
  Although alike, they are cannot be interchangeably used. Bar charts are good for displaying large
5
3
  number of categories on the y-axis.
@@ -1,20 +1,17 @@
1
- import { withKnobs, object, text } from '@storybook/addon-knobs';
2
1
  import { GlBarChart } from '../../../../charts';
3
- import { documentedStoriesOf } from '../../../../documentation/documented_stories';
4
- import { toolbox } from '../../../utils/charts/story_config';
5
2
  import readme from './bar.md';
6
3
 
7
- const components = {
8
- GlBarChart,
9
- };
10
-
11
- const template = `<gl-bar-chart
4
+ const Template = (args, { argTypes }) => ({
5
+ components: { GlBarChart },
6
+ props: Object.keys(argTypes),
7
+ template: `<gl-bar-chart
12
8
  :data="data"
13
9
  :option="option"
14
10
  :y-axis-title="yAxisTitle"
15
11
  :x-axis-title="xAxisTitle"
16
12
  :x-axis-type="xAxisType"
17
- />`;
13
+ />`,
14
+ });
18
15
 
19
16
  const mockData = {
20
17
  Office: [
@@ -31,59 +28,39 @@ const mockData = {
31
28
  ],
32
29
  };
33
30
 
34
- function generateProps({
31
+ const generateProps = ({
35
32
  data = mockData,
36
33
  option = {},
37
34
  xAxisTitle = 'Pushes per day',
38
35
  yAxisTitle = 'User',
39
36
  xAxisType = 'value',
40
- } = {}) {
41
- return {
42
- data: {
43
- default: object('Chart Data', data),
44
- },
45
- option: {
46
- default: object('Echart Options', option),
47
- },
48
- yAxisTitle: {
49
- default: text('Y Axis Title', yAxisTitle),
50
- },
51
- xAxisTitle: {
52
- default: text('X Axis Title', xAxisTitle),
53
- },
54
- xAxisType: {
55
- default: text('X Axis Type', xAxisType),
56
- },
57
- };
58
- }
37
+ } = {}) => ({
38
+ data,
39
+ option,
40
+ xAxisTitle,
41
+ yAxisTitle,
42
+ xAxisType,
43
+ });
59
44
 
60
- documentedStoriesOf('charts/bar-chart', readme)
61
- .addDecorator(withKnobs)
62
- .add('default', () => ({
63
- props: generateProps(),
64
- components,
65
- template,
66
- }))
67
- .add('with zoom and scroll', () => ({
68
- props: generateProps({
69
- option: {
70
- dataZoom: [
71
- {
72
- type: 'slider',
73
- startValue: 1,
74
- },
75
- ],
76
- },
77
- }),
78
- components,
79
- template,
80
- }))
81
- .add('with toolbox', () => ({
82
- props: generateProps({
83
- option: {
84
- toolbox,
45
+ export const Default = Template.bind({});
46
+ Default.args = generateProps();
47
+
48
+ export default {
49
+ title: 'charts/bar-chart',
50
+ component: GlBarChart,
51
+ argTypes: {
52
+ showToolbox: { control: { disable: true } },
53
+ toolboxZoomIconPath: { control: { disable: true } },
54
+ toolboxBackIconPath: { control: { disable: true } },
55
+ toolboxRestoreIconPath: { control: { disable: true } },
56
+ toolboxSaveAsImageIconPath: { control: { disable: true } },
57
+ },
58
+ parameters: {
59
+ knobs: { disable: true },
60
+ docs: {
61
+ description: {
62
+ component: readme,
85
63
  },
86
- }),
87
- components,
88
- template,
89
- }));
64
+ },
65
+ },
66
+ };
@@ -1654,6 +1654,32 @@
1654
1654
  box-shadow: inset 0 0 0 $gl-border-size-1 $gray-600 !important
1655
1655
  }
1656
1656
 
1657
+ .gl-inset-border-2-gray-300 {
1658
+ box-shadow: inset 0 0 0 $gl-border-size-2 $gray-300
1659
+ }
1660
+
1661
+ .gl-inset-border-2-gray-300\! {
1662
+ box-shadow: inset 0 0 0 $gl-border-size-2 $gray-300 !important
1663
+ }
1664
+
1665
+ .gl-inset-border-2-gray-400 {
1666
+ box-shadow: inset 0 0 0 $gl-border-size-2 $gray-400
1667
+ }
1668
+
1669
+ .gl-inset-border-2-gray-400\! {
1670
+ box-shadow: inset 0 0 0 $gl-border-size-2 $gray-400 !important
1671
+ }
1672
+
1673
+ .gl-inset-border-y-1-gray-200 {
1674
+ box-shadow: inset 0 #{$gl-border-size-1} 0 0 $gray-200,
1675
+ inset 0 -#{$gl-border-size-1} 0 0 $gray-200
1676
+ }
1677
+
1678
+ .gl-inset-border-y-1-gray-200\! {
1679
+ box-shadow: inset 0 #{$gl-border-size-1} 0 0 $gray-200,
1680
+ inset 0 -#{$gl-border-size-1} 0 0 $gray-200 !important
1681
+ }
1682
+
1657
1683
  .gl-inset-border-b-2-gray-100 {
1658
1684
  box-shadow: inset 0 -#{$gl-border-size-2} 0 0 $gray-100
1659
1685
  }
@@ -3867,6 +3893,14 @@
3867
3893
  width: 12.5% !important;
3868
3894
  }
3869
3895
 
3896
+ .gl-w-5p {
3897
+ width: 5%;
3898
+ }
3899
+
3900
+ .gl-w-5p\! {
3901
+ width: 5% !important;
3902
+ }
3903
+
3870
3904
  .gl-w-10p {
3871
3905
  width: 10%;
3872
3906
  }
@@ -23,6 +23,19 @@
23
23
  box-shadow: inset 0 0 0 $gl-border-size-1 $gray-600;
24
24
  }
25
25
 
26
+ @mixin gl-inset-border-2-gray-300 {
27
+ box-shadow: inset 0 0 0 $gl-border-size-2 $gray-300;
28
+ }
29
+
30
+ @mixin gl-inset-border-2-gray-400 {
31
+ box-shadow: inset 0 0 0 $gl-border-size-2 $gray-400;
32
+ }
33
+
34
+ @mixin gl-inset-border-y-1-gray-200 {
35
+ box-shadow: inset 0 #{$gl-border-size-1} 0 0 $gray-200,
36
+ inset 0 -#{$gl-border-size-1} 0 0 $gray-200;
37
+ }
38
+
26
39
  @mixin gl-inset-border-b-2-gray-100 {
27
40
  box-shadow: inset 0 -#{$gl-border-size-2} 0 0 $gray-100;
28
41
  }
@@ -69,6 +69,10 @@
69
69
  width: 12.5%;
70
70
  }
71
71
 
72
+ @mixin gl-w-5p {
73
+ width: 5%;
74
+ }
75
+
72
76
  // In the future, any percentage-based classes should follow this convention per the conversation at https://gitlab.com/gitlab-org/gitlab-ui/-/merge_requests/1884#note_459949588
73
77
  @mixin gl-w-10p {
74
78
  width: 10%;
@@ -1,42 +0,0 @@
1
- import __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.js';
2
-
3
- /* script */
4
-
5
- /* template */
6
- var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('gl-bar-chart',{attrs:{"data":{
7
- Full: [
8
- [78, 'Andrew Baines Bernard'],
9
- [123, 'Angela Martin'] ],
10
- },"option":{},"y-axis-title":"People","x-axis-title":"Percentage","x-axis-type":"value"}})};
11
- var __vue_staticRenderFns__ = [];
12
-
13
- /* style */
14
- const __vue_inject_styles__ = undefined;
15
- /* scoped */
16
- const __vue_scope_id__ = undefined;
17
- /* module identifier */
18
- const __vue_module_identifier__ = undefined;
19
- /* functional template */
20
- const __vue_is_functional_template__ = false;
21
- /* style inject */
22
-
23
- /* style inject SSR */
24
-
25
- /* style inject shadow dom */
26
-
27
-
28
-
29
- const __vue_component__ = __vue_normalize__(
30
- { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
31
- __vue_inject_styles__,
32
- {},
33
- __vue_scope_id__,
34
- __vue_is_functional_template__,
35
- __vue_module_identifier__,
36
- false,
37
- undefined,
38
- undefined,
39
- undefined
40
- );
41
-
42
- export default __vue_component__;
@@ -1,55 +0,0 @@
1
- import __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.js';
2
-
3
- /* script */
4
-
5
- /* template */
6
- var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('gl-bar-chart',{attrs:{"data":{
7
- Office: [
8
- [100, 'Jim Halpert'],
9
- [210, 'Dwight Kurt Schrute'],
10
- [300, 'Pam Beesly'],
11
- [340, 'Ryan Howard'],
12
- [130, 'Kelly Rajnigandha Kapoor'],
13
- [50, 'Scranton Strangler'],
14
- [90, 'Michael Gary Scott'],
15
- [-10, 'Andrew Baines Bernard'],
16
- [50, 'Stanley Hudson'],
17
- [30, 'Erin Hannon'],
18
- [50, 'Creed Bratton'],
19
- [90, 'Oscar'],
20
- [10, 'Kevin Malone'],
21
- [50, 'Angela Martin'],
22
- [30, 'Toby Flenderson'] ],
23
- },"y-axis-title":"People","x-axis-title":"Percentage","x-axis-type":"value"}})};
24
- var __vue_staticRenderFns__ = [];
25
-
26
- /* style */
27
- const __vue_inject_styles__ = undefined;
28
- /* scoped */
29
- const __vue_scope_id__ = undefined;
30
- /* module identifier */
31
- const __vue_module_identifier__ = undefined;
32
- /* functional template */
33
- const __vue_is_functional_template__ = false;
34
- /* style inject */
35
-
36
- /* style inject SSR */
37
-
38
- /* style inject shadow dom */
39
-
40
-
41
-
42
- const __vue_component__ = __vue_normalize__(
43
- { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
44
- __vue_inject_styles__,
45
- {},
46
- __vue_scope_id__,
47
- __vue_is_functional_template__,
48
- __vue_module_identifier__,
49
- false,
50
- undefined,
51
- undefined,
52
- undefined
53
- );
54
-
55
- export default __vue_component__;
@@ -1,48 +0,0 @@
1
- import __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.js';
2
-
3
- /* script */
4
-
5
- /* template */
6
- var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('gl-bar-chart',{attrs:{"data":{
7
- Office: [
8
- [78, 'Andrew Baines Bernard'],
9
- [123, 'Angela Martin'] ],
10
- ModernFamily: [
11
- [39, 'Phil Dunphy'],
12
- [4, 'Luke Dunphy'] ],
13
- Friends: [
14
- [239, 'Chandler Muriel Bing'],
15
- [92, 'Joseph Francis Tribbiani'] ],
16
- },"option":{},"y-axis-title":"People","x-axis-title":"Percentage","x-axis-type":"value"}})};
17
- var __vue_staticRenderFns__ = [];
18
-
19
- /* style */
20
- const __vue_inject_styles__ = undefined;
21
- /* scoped */
22
- const __vue_scope_id__ = undefined;
23
- /* module identifier */
24
- const __vue_module_identifier__ = undefined;
25
- /* functional template */
26
- const __vue_is_functional_template__ = false;
27
- /* style inject */
28
-
29
- /* style inject SSR */
30
-
31
- /* style inject shadow dom */
32
-
33
-
34
-
35
- const __vue_component__ = __vue_normalize__(
36
- { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
37
- __vue_inject_styles__,
38
- {},
39
- __vue_scope_id__,
40
- __vue_is_functional_template__,
41
- __vue_module_identifier__,
42
- false,
43
- undefined,
44
- undefined,
45
- undefined
46
- );
47
-
48
- export default __vue_component__;
@@ -1,43 +0,0 @@
1
- import __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.js';
2
-
3
- /* script */
4
-
5
- /* template */
6
- var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('gl-bar-chart',{attrs:{"data":{
7
- Full: [
8
- [-78, 'Jim Halpert'],
9
- [123, 'Kelly Rajnigandha Kapoor'],
10
- [-10, 'Michael Gary Scott'] ],
11
- },"option":{},"y-axis-title":"People","x-axis-title":"Percentage","x-axis-type":"value"}})};
12
- var __vue_staticRenderFns__ = [];
13
-
14
- /* style */
15
- const __vue_inject_styles__ = undefined;
16
- /* scoped */
17
- const __vue_scope_id__ = undefined;
18
- /* module identifier */
19
- const __vue_module_identifier__ = undefined;
20
- /* functional template */
21
- const __vue_is_functional_template__ = false;
22
- /* style inject */
23
-
24
- /* style inject SSR */
25
-
26
- /* style inject shadow dom */
27
-
28
-
29
-
30
- const __vue_component__ = __vue_normalize__(
31
- { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
32
- __vue_inject_styles__,
33
- {},
34
- __vue_scope_id__,
35
- __vue_is_functional_template__,
36
- __vue_module_identifier__,
37
- false,
38
- undefined,
39
- undefined,
40
- undefined
41
- );
42
-
43
- export default __vue_component__;
@@ -1,28 +0,0 @@
1
- import BarChartBasicExample from './bar.basic.example';
2
- import BarChartLongLablesExample from './bar.long_labels.example';
3
- import BarChartMultipleSeriesExample from './bar.multiple_series.example';
4
- import BarChartNegativeValuesExample from './bar.negative_values.example';
5
-
6
- var index = [{
7
- name: 'Basic',
8
- items: [{
9
- id: 'bar-basic',
10
- name: 'Basic',
11
- description: 'Basic Bar Chart',
12
- component: BarChartBasicExample
13
- }, {
14
- id: 'bar-negative-labels',
15
- name: 'Negative values',
16
- component: BarChartNegativeValuesExample
17
- }, {
18
- id: 'bar-long-labels',
19
- name: 'Long labels with negative values',
20
- component: BarChartLongLablesExample
21
- }, {
22
- id: 'bar-multiple-series',
23
- name: 'Multiple Series Bar Chart',
24
- component: BarChartMultipleSeriesExample
25
- }]
26
- }];
27
-
28
- export default index;