@gitlab/ui 36.7.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 (42) hide show
  1. package/CHANGELOG.md +18 -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/charts/area/area.documentation.js +1 -7
  5. package/dist/components/charts/line/line.documentation.js +2 -5
  6. package/dist/index.css +1 -1
  7. package/dist/index.css.map +1 -1
  8. package/dist/utils/stories_utils.js +13 -1
  9. package/documentation/documented_stories.js +2 -0
  10. package/package.json +2 -2
  11. package/src/components/base/accordion/accordion.stories.js +2 -1
  12. package/src/components/base/alert/alert.scss +0 -38
  13. package/src/components/base/alert/alert.spec.js +0 -1
  14. package/src/components/base/alert/alert.stories.js +0 -8
  15. package/src/components/base/alert/alert.vue +30 -41
  16. package/src/components/base/badge/badge.stories.js +4 -24
  17. package/src/components/base/card/card.vue +2 -2
  18. package/src/components/base/daterange_picker/daterange_picker.stories.js +10 -35
  19. package/src/components/base/icon/icon.stories.js +2 -5
  20. package/src/components/base/toggle/toggle.stories.js +2 -3
  21. package/src/components/charts/area/area.documentation.js +0 -5
  22. package/src/components/charts/area/area.stories.js +127 -127
  23. package/src/components/charts/bar/bar.stories.js +8 -5
  24. package/src/components/charts/heatmap/heatmap.stories.js +13 -16
  25. package/src/components/charts/line/line.documentation.js +0 -2
  26. package/src/components/charts/line/line.md +0 -2
  27. package/src/components/charts/line/line.stories.js +124 -113
  28. package/src/utils/stories_utils.js +6 -0
  29. package/src/utils/stories_utils.spec.js +18 -0
  30. package/dist/components/charts/area/examples/area.basic.example.js +0 -45
  31. package/dist/components/charts/area/examples/area.basic_plus.example.js +0 -53
  32. package/dist/components/charts/area/examples/index.js +0 -19
  33. package/dist/components/charts/line/examples/index.js +0 -19
  34. package/dist/components/charts/line/examples/line.basic.example.js +0 -45
  35. package/dist/components/charts/line/examples/line.series.example.js +0 -53
  36. package/src/components/charts/area/area.md +0 -1
  37. package/src/components/charts/area/examples/area.basic.example.vue +0 -14
  38. package/src/components/charts/area/examples/area.basic_plus.example.vue +0 -25
  39. package/src/components/charts/area/examples/index.js +0 -22
  40. package/src/components/charts/line/examples/index.js +0 -22
  41. package/src/components/charts/line/examples/line.basic.example.vue +0 -14
  42. package/src/components/charts/line/examples/line.series.example.vue +0 -25
@@ -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,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 +0,0 @@
1
- ### Area Chart
@@ -1,14 +0,0 @@
1
- <template>
2
- <gl-area-chart
3
- :data="[
4
- {
5
- name: 'Values',
6
- data: [
7
- [0, 5],
8
- [4, 3],
9
- [8, 10],
10
- ],
11
- },
12
- ]"
13
- />
14
- </template>
@@ -1,25 +0,0 @@
1
- <template>
2
- <gl-area-chart
3
- :data="[
4
- {
5
- name: 'Values',
6
- data: [
7
- [0, 5],
8
- [4, 3],
9
- [8, 10],
10
- ],
11
- },
12
- ]"
13
- :option="{
14
- series: [
15
- {
16
- type: 'scatter',
17
- data: [
18
- [2, 5],
19
- [6, 10],
20
- ],
21
- },
22
- ],
23
- }"
24
- />
25
- </template>
@@ -1,22 +0,0 @@
1
- import AreaBasicExample from './area.basic.example.vue';
2
- import AreaBasicPlusExample from './area.basic_plus.example.vue';
3
-
4
- export default [
5
- {
6
- name: 'Basic',
7
- items: [
8
- {
9
- id: 'area-basic',
10
- name: 'Basic',
11
- description: 'Basic Area Chart',
12
- component: AreaBasicExample,
13
- },
14
- {
15
- id: 'area-basic-plus',
16
- name: 'Basic plus custom series',
17
- description: 'Basic area chart with custom series added',
18
- component: AreaBasicPlusExample,
19
- },
20
- ],
21
- },
22
- ];
@@ -1,22 +0,0 @@
1
- import LineBasicExample from './line.basic.example.vue';
2
- import LineSeriesExample from './line.series.example.vue';
3
-
4
- export default [
5
- {
6
- name: 'Basic',
7
- items: [
8
- {
9
- id: 'line-basic',
10
- name: 'Basic',
11
- description: 'Basic line chart',
12
- component: LineBasicExample,
13
- },
14
- {
15
- id: 'line-basic-plus',
16
- name: 'Basic plus custom series',
17
- description: 'Basic line chart with custom series added',
18
- component: LineSeriesExample,
19
- },
20
- ],
21
- },
22
- ];
@@ -1,14 +0,0 @@
1
- <template>
2
- <gl-line-chart
3
- :data="[
4
- {
5
- name: 'Values',
6
- data: [
7
- [0, 5],
8
- [4, 3],
9
- [8, 10],
10
- ],
11
- },
12
- ]"
13
- />
14
- </template>
@@ -1,25 +0,0 @@
1
- <template>
2
- <gl-line-chart
3
- :data="[
4
- {
5
- name: 'Values',
6
- data: [
7
- [0, 5],
8
- [4, 3],
9
- [8, 10],
10
- ],
11
- },
12
- ]"
13
- :option="{
14
- series: [
15
- {
16
- type: 'scatter',
17
- data: [
18
- [2, 5],
19
- [6, 10],
20
- ],
21
- },
22
- ],
23
- }"
24
- />
25
- </template>