@gitlab/ui 36.5.1 → 37.0.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.
Files changed (85) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/dist/components/base/alert/alert.js +1 -11
  3. package/dist/components/base/card/card.js +1 -1
  4. package/dist/components/base/form/form_radio_group/form_radio_group.documentation.js +2 -48
  5. package/dist/components/base/form/form_radio_group/form_radio_group.js +22 -2
  6. package/dist/components/base/pagination/pagination.js +1 -1
  7. package/dist/components/charts/area/area.documentation.js +1 -7
  8. package/dist/components/charts/heatmap/heatmap.documentation.js +0 -3
  9. package/dist/components/charts/line/line.documentation.js +2 -5
  10. package/dist/components/charts/series_label/series_label.documentation.js +2 -5
  11. package/dist/index.css +2 -2
  12. package/dist/index.css.map +1 -1
  13. package/dist/utility_classes.css +1 -1
  14. package/dist/utility_classes.css.map +1 -1
  15. package/dist/utils/stories_utils.js +13 -1
  16. package/documentation/documented_stories.js +5 -0
  17. package/package.json +13 -13
  18. package/scss_to_js/scss_variables.js +1 -0
  19. package/scss_to_js/scss_variables.json +5 -0
  20. package/src/components/base/accordion/accordion.stories.js +2 -1
  21. package/src/components/base/alert/alert.scss +0 -38
  22. package/src/components/base/alert/alert.spec.js +0 -1
  23. package/src/components/base/alert/alert.stories.js +0 -8
  24. package/src/components/base/alert/alert.vue +30 -41
  25. package/src/components/base/badge/badge.stories.js +4 -24
  26. package/src/components/base/card/card.vue +2 -2
  27. package/src/components/base/daterange_picker/daterange_picker.stories.js +10 -35
  28. package/src/components/base/form/form_radio_group/form_radio_group.documentation.js +0 -48
  29. package/src/components/base/form/form_radio_group/form_radio_group.md +0 -2
  30. package/src/components/base/form/form_radio_group/form_radio_group.stories.js +50 -29
  31. package/src/components/base/form/form_radio_group/form_radio_group.vue +22 -2
  32. package/src/components/base/icon/icon.stories.js +2 -5
  33. package/src/components/base/paginated_list/__snapshots__/paginated_list.spec.js.snap +10 -10
  34. package/src/components/base/pagination/pagination.stories.js +5 -1
  35. package/src/components/base/pagination/pagination.vue +1 -1
  36. package/src/components/base/toggle/toggle.stories.js +2 -3
  37. package/src/components/charts/area/area.documentation.js +0 -5
  38. package/src/components/charts/area/area.stories.js +127 -127
  39. package/src/components/charts/bar/bar.stories.js +8 -5
  40. package/src/components/charts/heatmap/heatmap.documentation.js +0 -2
  41. package/src/components/charts/heatmap/heatmap.stories.js +58 -44
  42. package/src/components/charts/line/line.documentation.js +0 -2
  43. package/src/components/charts/line/line.md +0 -2
  44. package/src/components/charts/line/line.stories.js +124 -113
  45. package/src/components/charts/series_label/series_label.documentation.js +0 -2
  46. package/src/components/charts/series_label/series_label.md +0 -2
  47. package/src/components/charts/series_label/series_label.stories.js +62 -59
  48. package/src/scss/utilities.scss +40 -0
  49. package/src/scss/utility-mixins/border.scss +21 -0
  50. package/src/scss/variables.scss +2 -0
  51. package/src/utils/stories_utils.js +6 -0
  52. package/src/utils/stories_utils.spec.js +18 -0
  53. package/dist/components/base/form/form_radio_group/examples/form_radio_group.options_array.example.js +0 -59
  54. package/dist/components/base/form/form_radio_group/examples/form_radio_group.slots.example.js +0 -48
  55. package/dist/components/base/form/form_radio_group/examples/index.js +0 -17
  56. package/dist/components/charts/area/examples/area.basic.example.js +0 -45
  57. package/dist/components/charts/area/examples/area.basic_plus.example.js +0 -53
  58. package/dist/components/charts/area/examples/index.js +0 -19
  59. package/dist/components/charts/heatmap/examples/heatmap.custom_options.example.js +0 -79
  60. package/dist/components/charts/heatmap/examples/heatmap.hourly.example.js +0 -70
  61. package/dist/components/charts/heatmap/examples/heatmap.responsive.example.js +0 -70
  62. package/dist/components/charts/heatmap/examples/heatmap.totals.example.js +0 -62
  63. package/dist/components/charts/heatmap/examples/index.js +0 -31
  64. package/dist/components/charts/line/examples/index.js +0 -19
  65. package/dist/components/charts/line/examples/line.basic.example.js +0 -45
  66. package/dist/components/charts/line/examples/line.series.example.js +0 -53
  67. package/dist/components/charts/series_label/examples/index.js +0 -13
  68. package/dist/components/charts/series_label/examples/series_label.basic.example.js +0 -38
  69. package/src/components/base/form/form_radio_group/examples/form_radio_group.options_array.example.vue +0 -27
  70. package/src/components/base/form/form_radio_group/examples/form_radio_group.slots.example.vue +0 -21
  71. package/src/components/base/form/form_radio_group/examples/index.js +0 -20
  72. package/src/components/charts/area/area.md +0 -1
  73. package/src/components/charts/area/examples/area.basic.example.vue +0 -14
  74. package/src/components/charts/area/examples/area.basic_plus.example.vue +0 -25
  75. package/src/components/charts/area/examples/index.js +0 -22
  76. package/src/components/charts/heatmap/examples/heatmap.custom_options.example.vue +0 -70
  77. package/src/components/charts/heatmap/examples/heatmap.hourly.example.vue +0 -62
  78. package/src/components/charts/heatmap/examples/heatmap.responsive.example.vue +0 -63
  79. package/src/components/charts/heatmap/examples/heatmap.totals.example.vue +0 -38
  80. package/src/components/charts/heatmap/examples/index.js +0 -36
  81. package/src/components/charts/line/examples/index.js +0 -22
  82. package/src/components/charts/line/examples/line.basic.example.vue +0 -14
  83. package/src/components/charts/line/examples/line.series.example.vue +0 -25
  84. package/src/components/charts/series_label/examples/index.js +0 -15
  85. package/src/components/charts/series_label/examples/series_label.basic.example.vue +0 -3
@@ -1,45 +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-area-chart',{attrs:{"data":[
7
- {
8
- name: 'Values',
9
- data: [
10
- [0, 5],
11
- [4, 3],
12
- [8, 10] ],
13
- } ]}})};
14
- var __vue_staticRenderFns__ = [];
15
-
16
- /* style */
17
- const __vue_inject_styles__ = undefined;
18
- /* scoped */
19
- const __vue_scope_id__ = undefined;
20
- /* module identifier */
21
- const __vue_module_identifier__ = undefined;
22
- /* functional template */
23
- const __vue_is_functional_template__ = false;
24
- /* style inject */
25
-
26
- /* style inject SSR */
27
-
28
- /* style inject shadow dom */
29
-
30
-
31
-
32
- const __vue_component__ = __vue_normalize__(
33
- { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
34
- __vue_inject_styles__,
35
- {},
36
- __vue_scope_id__,
37
- __vue_is_functional_template__,
38
- __vue_module_identifier__,
39
- false,
40
- undefined,
41
- undefined,
42
- undefined
43
- );
44
-
45
- export default __vue_component__;
@@ -1,53 +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-area-chart',{attrs:{"data":[
7
- {
8
- name: 'Values',
9
- data: [
10
- [0, 5],
11
- [4, 3],
12
- [8, 10] ],
13
- } ],"option":{
14
- series: [
15
- {
16
- type: 'scatter',
17
- data: [
18
- [2, 5],
19
- [6, 10] ],
20
- } ],
21
- }}})};
22
- var __vue_staticRenderFns__ = [];
23
-
24
- /* style */
25
- const __vue_inject_styles__ = undefined;
26
- /* scoped */
27
- const __vue_scope_id__ = undefined;
28
- /* module identifier */
29
- const __vue_module_identifier__ = undefined;
30
- /* functional template */
31
- const __vue_is_functional_template__ = false;
32
- /* style inject */
33
-
34
- /* style inject SSR */
35
-
36
- /* style inject shadow dom */
37
-
38
-
39
-
40
- const __vue_component__ = __vue_normalize__(
41
- { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
42
- __vue_inject_styles__,
43
- {},
44
- __vue_scope_id__,
45
- __vue_is_functional_template__,
46
- __vue_module_identifier__,
47
- false,
48
- undefined,
49
- undefined,
50
- undefined
51
- );
52
-
53
- export default __vue_component__;
@@ -1,19 +0,0 @@
1
- import AreaBasicExample from './area.basic.example';
2
- import AreaBasicPlusExample from './area.basic_plus.example';
3
-
4
- var index = [{
5
- name: 'Basic',
6
- items: [{
7
- id: 'area-basic',
8
- name: 'Basic',
9
- description: 'Basic Area Chart',
10
- component: AreaBasicExample
11
- }, {
12
- id: 'area-basic-plus',
13
- name: 'Basic plus custom series',
14
- description: 'Basic area chart with custom series added',
15
- component: AreaBasicPlusExample
16
- }]
17
- }];
18
-
19
- export default index;
@@ -1,79 +0,0 @@
1
- import __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.js';
2
-
3
- var script = {
4
- data() {
5
- return {
6
- series: (() => {
7
- const hours = 24;
8
- const days = 7;
9
- const res = [];
10
-
11
- for (let x = 0; x < hours; x += 1) {
12
- for (let y = 0; y < days; y += 1) {
13
- let val = Math.random() * 10;
14
-
15
- if (Math.random() > 0.5) {
16
- val = '-';
17
- }
18
-
19
- res.push([x, y, val]);
20
- }
21
- }
22
-
23
- return res;
24
- })(),
25
- xAxisLabels: ['12', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11'],
26
- yAxisLabels: ['Sat', 'Fri', 'Thu', 'Wed', 'Tue', 'Mon', 'Sun']
27
- };
28
- }
29
-
30
- };
31
-
32
- /* script */
33
- const __vue_script__ = script;
34
-
35
- /* template */
36
- var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('gl-heatmap',{attrs:{"data-series":_vm.series,"x-axis-labels":_vm.xAxisLabels,"y-axis-labels":_vm.yAxisLabels,"options":{
37
- xAxis: {
38
- splitArea: {
39
- show: false,
40
- },
41
- },
42
- yAxis: {
43
- splitArea: {
44
- show: false,
45
- },
46
- },
47
- }}})};
48
- var __vue_staticRenderFns__ = [];
49
-
50
- /* style */
51
- const __vue_inject_styles__ = undefined;
52
- /* scoped */
53
- const __vue_scope_id__ = undefined;
54
- /* module identifier */
55
- const __vue_module_identifier__ = undefined;
56
- /* functional template */
57
- const __vue_is_functional_template__ = false;
58
- /* style inject */
59
-
60
- /* style inject SSR */
61
-
62
- /* style inject shadow dom */
63
-
64
-
65
-
66
- const __vue_component__ = __vue_normalize__(
67
- { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
68
- __vue_inject_styles__,
69
- __vue_script__,
70
- __vue_scope_id__,
71
- __vue_is_functional_template__,
72
- __vue_module_identifier__,
73
- false,
74
- undefined,
75
- undefined,
76
- undefined
77
- );
78
-
79
- export default __vue_component__;
@@ -1,70 +0,0 @@
1
- import __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.js';
2
-
3
- var script = {
4
- data() {
5
- return {
6
- series: (() => {
7
- const hours = 24;
8
- const days = 7;
9
- const res = [];
10
-
11
- for (let x = 0; x < hours; x += 1) {
12
- for (let y = 0; y < days; y += 1) {
13
- let val = Math.random() * 10;
14
-
15
- if (Math.random() > 0.7) {
16
- val = '-';
17
- }
18
-
19
- res.push([x, y, val]);
20
- }
21
- }
22
-
23
- return res;
24
- })(),
25
- xAxisLabels: ['12', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11'],
26
- yAxisLabels: ['Sat', 'Fri', 'Thu', 'Wed', 'Tue', 'Mon', 'Sun'],
27
- xAxisName: 'Hour',
28
- yAxisName: 'Day'
29
- };
30
- }
31
-
32
- };
33
-
34
- /* script */
35
- const __vue_script__ = script;
36
-
37
- /* template */
38
- var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('gl-heatmap',{attrs:{"data-series":_vm.series,"x-axis-labels":_vm.xAxisLabels,"y-axis-labels":_vm.yAxisLabels,"x-axis-name":_vm.xAxisName,"y-axis-name":_vm.yAxisName}})};
39
- var __vue_staticRenderFns__ = [];
40
-
41
- /* style */
42
- const __vue_inject_styles__ = undefined;
43
- /* scoped */
44
- const __vue_scope_id__ = undefined;
45
- /* module identifier */
46
- const __vue_module_identifier__ = undefined;
47
- /* functional template */
48
- const __vue_is_functional_template__ = false;
49
- /* style inject */
50
-
51
- /* style inject SSR */
52
-
53
- /* style inject shadow dom */
54
-
55
-
56
-
57
- const __vue_component__ = __vue_normalize__(
58
- { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
59
- __vue_inject_styles__,
60
- __vue_script__,
61
- __vue_scope_id__,
62
- __vue_is_functional_template__,
63
- __vue_module_identifier__,
64
- false,
65
- undefined,
66
- undefined,
67
- undefined
68
- );
69
-
70
- export default __vue_component__;
@@ -1,70 +0,0 @@
1
- import __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.js';
2
-
3
- var script = {
4
- data() {
5
- return {
6
- series: (() => {
7
- const hours = 24;
8
- const days = 7;
9
- const res = [];
10
-
11
- for (let x = 0; x < hours; x += 1) {
12
- for (let y = 0; y < days; y += 1) {
13
- let val = Math.random() * 10;
14
-
15
- if (Math.random() > 0.7) {
16
- val = '-';
17
- }
18
-
19
- res.push([x, y, val]);
20
- }
21
- }
22
-
23
- return res;
24
- })(),
25
- xAxisLabels: ['12', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11'],
26
- yAxisLabels: ['Sat', 'Fri', 'Thu', 'Wed', 'Tue', 'Mon', 'Sun'],
27
- xAxisName: 'Hour',
28
- yAxisName: 'Day'
29
- };
30
- }
31
-
32
- };
33
-
34
- /* script */
35
- const __vue_script__ = script;
36
-
37
- /* template */
38
- var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('gl-heatmap',{attrs:{"data-series":_vm.series,"x-axis-labels":_vm.xAxisLabels,"y-axis-labels":_vm.yAxisLabels,"x-axis-name":_vm.xAxisName,"y-axis-name":_vm.yAxisName,"responsive":false}})};
39
- var __vue_staticRenderFns__ = [];
40
-
41
- /* style */
42
- const __vue_inject_styles__ = undefined;
43
- /* scoped */
44
- const __vue_scope_id__ = undefined;
45
- /* module identifier */
46
- const __vue_module_identifier__ = undefined;
47
- /* functional template */
48
- const __vue_is_functional_template__ = false;
49
- /* style inject */
50
-
51
- /* style inject SSR */
52
-
53
- /* style inject shadow dom */
54
-
55
-
56
-
57
- const __vue_component__ = __vue_normalize__(
58
- { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
59
- __vue_inject_styles__,
60
- __vue_script__,
61
- __vue_scope_id__,
62
- __vue_is_functional_template__,
63
- __vue_module_identifier__,
64
- false,
65
- undefined,
66
- undefined,
67
- undefined
68
- );
69
-
70
- export default __vue_component__;
@@ -1,62 +0,0 @@
1
- import __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.js';
2
-
3
- var script = {
4
- data() {
5
- return {
6
- series: (() => {
7
- const hours = 12;
8
- const days = 20;
9
- const res = [];
10
-
11
- for (let x = 0; x < hours; x += 1) {
12
- for (let y = 0; y < days; y += 1) {
13
- const val = Math.ceil(Math.random() * (y % 12) - 3);
14
- res.push([x, y, val]);
15
- }
16
- }
17
-
18
- return res;
19
- })(),
20
- xAxisLabels: ['7am', '8am', '9am', '10am', '11am', '12pm', '1pm', '2pm', '3pm', '4pm', '5pm', '6pm']
21
- };
22
- }
23
-
24
- };
25
-
26
- /* script */
27
- const __vue_script__ = script;
28
-
29
- /* template */
30
- var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('gl-heatmap',{attrs:{"title":"Pageviews per hour","data-series":_vm.series,"x-axis-labels":_vm.xAxisLabels}})};
31
- var __vue_staticRenderFns__ = [];
32
-
33
- /* style */
34
- const __vue_inject_styles__ = undefined;
35
- /* scoped */
36
- const __vue_scope_id__ = undefined;
37
- /* module identifier */
38
- const __vue_module_identifier__ = undefined;
39
- /* functional template */
40
- const __vue_is_functional_template__ = false;
41
- /* style inject */
42
-
43
- /* style inject SSR */
44
-
45
- /* style inject shadow dom */
46
-
47
-
48
-
49
- const __vue_component__ = __vue_normalize__(
50
- { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
51
- __vue_inject_styles__,
52
- __vue_script__,
53
- __vue_scope_id__,
54
- __vue_is_functional_template__,
55
- __vue_module_identifier__,
56
- false,
57
- undefined,
58
- undefined,
59
- undefined
60
- );
61
-
62
- export default __vue_component__;
@@ -1,31 +0,0 @@
1
- import CustomOptionsExample from './heatmap.custom_options.example';
2
- import HourlyExample from './heatmap.hourly.example';
3
- import CustomResponsiveExample from './heatmap.responsive.example';
4
- import TotalsExample from './heatmap.totals.example';
5
-
6
- var index = [{
7
- name: 'Calendar',
8
- items: [{
9
- id: 'heatmap-hourly',
10
- name: 'Hourly breakdown',
11
- description: 'HourlyExample',
12
- component: HourlyExample
13
- }, {
14
- id: 'heatmap-totals',
15
- name: 'Histograms over time',
16
- description: 'TotalsExample',
17
- component: TotalsExample
18
- }, {
19
- id: 'heatmap-custom-options',
20
- name: 'Heatmap with no background',
21
- description: 'CustomOptionsExample',
22
- component: CustomOptionsExample
23
- }, {
24
- id: 'heatmap-responsive',
25
- name: 'Heatmap which is non mobile responsive',
26
- description: 'CustomResponsiveExample',
27
- component: CustomResponsiveExample
28
- }]
29
- }];
30
-
31
- export default index;
@@ -1,19 +0,0 @@
1
- import LineBasicExample from './line.basic.example';
2
- import LineSeriesExample from './line.series.example';
3
-
4
- var index = [{
5
- name: 'Basic',
6
- items: [{
7
- id: 'line-basic',
8
- name: 'Basic',
9
- description: 'Basic line chart',
10
- component: LineBasicExample
11
- }, {
12
- id: 'line-basic-plus',
13
- name: 'Basic plus custom series',
14
- description: 'Basic line chart with custom series added',
15
- component: LineSeriesExample
16
- }]
17
- }];
18
-
19
- export default index;
@@ -1,45 +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-line-chart',{attrs:{"data":[
7
- {
8
- name: 'Values',
9
- data: [
10
- [0, 5],
11
- [4, 3],
12
- [8, 10] ],
13
- } ]}})};
14
- var __vue_staticRenderFns__ = [];
15
-
16
- /* style */
17
- const __vue_inject_styles__ = undefined;
18
- /* scoped */
19
- const __vue_scope_id__ = undefined;
20
- /* module identifier */
21
- const __vue_module_identifier__ = undefined;
22
- /* functional template */
23
- const __vue_is_functional_template__ = false;
24
- /* style inject */
25
-
26
- /* style inject SSR */
27
-
28
- /* style inject shadow dom */
29
-
30
-
31
-
32
- const __vue_component__ = __vue_normalize__(
33
- { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
34
- __vue_inject_styles__,
35
- {},
36
- __vue_scope_id__,
37
- __vue_is_functional_template__,
38
- __vue_module_identifier__,
39
- false,
40
- undefined,
41
- undefined,
42
- undefined
43
- );
44
-
45
- export default __vue_component__;
@@ -1,53 +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-line-chart',{attrs:{"data":[
7
- {
8
- name: 'Values',
9
- data: [
10
- [0, 5],
11
- [4, 3],
12
- [8, 10] ],
13
- } ],"option":{
14
- series: [
15
- {
16
- type: 'scatter',
17
- data: [
18
- [2, 5],
19
- [6, 10] ],
20
- } ],
21
- }}})};
22
- var __vue_staticRenderFns__ = [];
23
-
24
- /* style */
25
- const __vue_inject_styles__ = undefined;
26
- /* scoped */
27
- const __vue_scope_id__ = undefined;
28
- /* module identifier */
29
- const __vue_module_identifier__ = undefined;
30
- /* functional template */
31
- const __vue_is_functional_template__ = false;
32
- /* style inject */
33
-
34
- /* style inject SSR */
35
-
36
- /* style inject shadow dom */
37
-
38
-
39
-
40
- const __vue_component__ = __vue_normalize__(
41
- { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
42
- __vue_inject_styles__,
43
- {},
44
- __vue_scope_id__,
45
- __vue_is_functional_template__,
46
- __vue_module_identifier__,
47
- false,
48
- undefined,
49
- undefined,
50
- undefined
51
- );
52
-
53
- export default __vue_component__;
@@ -1,13 +0,0 @@
1
- import SeriesLabelBasicExample from './series_label.basic.example';
2
-
3
- var index = [{
4
- name: 'Basic',
5
- items: [{
6
- id: 'series-label-basic',
7
- name: 'Basic',
8
- description: 'Basic Series Label',
9
- component: SeriesLabelBasicExample
10
- }]
11
- }];
12
-
13
- export default index;
@@ -1,38 +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-chart-series-label',{attrs:{"color":"#1F78D1"}},[_vm._v("Series Name")])};
7
- var __vue_staticRenderFns__ = [];
8
-
9
- /* style */
10
- const __vue_inject_styles__ = undefined;
11
- /* scoped */
12
- const __vue_scope_id__ = undefined;
13
- /* module identifier */
14
- const __vue_module_identifier__ = undefined;
15
- /* functional template */
16
- const __vue_is_functional_template__ = false;
17
- /* style inject */
18
-
19
- /* style inject SSR */
20
-
21
- /* style inject shadow dom */
22
-
23
-
24
-
25
- const __vue_component__ = __vue_normalize__(
26
- { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
27
- __vue_inject_styles__,
28
- {},
29
- __vue_scope_id__,
30
- __vue_is_functional_template__,
31
- __vue_module_identifier__,
32
- false,
33
- undefined,
34
- undefined,
35
- undefined
36
- );
37
-
38
- export default __vue_component__;
@@ -1,27 +0,0 @@
1
- <script>
2
- export default {
3
- data() {
4
- return {
5
- selected: 'String option',
6
- options: [
7
- 'String option',
8
- { text: 'Object option', value: 'object' },
9
- { html: '<i>HTML</i> option', value: 'html' },
10
- { text: 'Disabled option', value: 'disabledOption', disabled: true },
11
- ],
12
- };
13
- },
14
- };
15
- </script>
16
-
17
- <template>
18
- <!--
19
- options: [
20
- 'String option',
21
- { text: 'Object option', value: 'object' },
22
- { html: '<i>HTML</i> option', value: 'html' },
23
- { text: 'Disabled option', value: 'disabledOption', disabled: true },
24
- ],
25
- -->
26
- <gl-form-radio-group v-model="selected" :options="options" />
27
- </template>
@@ -1,21 +0,0 @@
1
- <script>
2
- export default {
3
- data() {
4
- return {
5
- selected: 'one',
6
- };
7
- },
8
- };
9
- </script>
10
-
11
- <template>
12
- <gl-form-radio-group v-model="selected">
13
- <gl-form-radio value="one">One</gl-form-radio>
14
- <gl-form-radio value="two">
15
- Two
16
- <template #help>Help text</template>
17
- </gl-form-radio>
18
- <gl-form-radio value="three">Three</gl-form-radio>
19
- <gl-form-radio value="four" disabled>Disabled option</gl-form-radio>
20
- </gl-form-radio-group>
21
- </template>
@@ -1,20 +0,0 @@
1
- import FormRadioGroupOptionsArray from './form_radio_group.options_array.example.vue';
2
- import FormRadioGroupSlots from './form_radio_group.slots.example.vue';
3
-
4
- export default [
5
- {
6
- name: 'Radio Group',
7
- items: [
8
- {
9
- id: 'form-radio-group-slots',
10
- name: 'Form Radio Group using Slots',
11
- component: FormRadioGroupSlots,
12
- },
13
- {
14
- id: 'form-radio-group-options-array',
15
- name: 'Form Radio Group using Options Array',
16
- component: FormRadioGroupOptionsArray,
17
- },
18
- ],
19
- },
20
- ];
@@ -1 +0,0 @@
1
- ### Area Chart