@gitlab/ui 32.61.0 → 32.64.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 (42) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/dist/components/base/paginated_list/paginated_list.documentation.js +2 -5
  3. package/dist/components/base/toast/toast.documentation.js +2 -5
  4. package/dist/utility_classes.css +1 -1
  5. package/dist/utility_classes.css.map +1 -1
  6. package/documentation/documented_stories.js +2 -0
  7. package/package.json +9 -9
  8. package/scss_to_js/scss_variables.js +1 -0
  9. package/scss_to_js/scss_variables.json +5 -0
  10. package/src/components/base/paginated_list/paginated_list.documentation.js +0 -2
  11. package/src/components/base/paginated_list/paginated_list.md +0 -2
  12. package/src/components/base/paginated_list/paginated_list.stories.js +162 -154
  13. package/src/components/base/toast/toast.documentation.js +0 -2
  14. package/src/components/base/toast/toast.md +0 -11
  15. package/src/components/base/toast/toast.stories.js +66 -50
  16. package/src/scss/utilities.scss +34 -2
  17. package/src/scss/utility-mixins/flex.scss +6 -0
  18. package/src/scss/utility-mixins/spacing.scss +9 -1
  19. package/src/scss/utility-mixins/typography.scss +4 -0
  20. package/src/scss/variables.scss +1 -0
  21. package/dist/components/base/paginated_list/examples/index.js +0 -49
  22. package/dist/components/base/paginated_list/examples/paginated_list.basic.example.js +0 -51
  23. package/dist/components/base/paginated_list/examples/paginated_list.no_filter.example.js +0 -51
  24. package/dist/components/base/paginated_list/examples/paginated_list.with_empty_list.example.js +0 -38
  25. package/dist/components/base/paginated_list/examples/paginated_list.with_filter_function.example.js +0 -51
  26. package/dist/components/base/paginated_list/examples/paginated_list.with_header_slot.example.js +0 -51
  27. package/dist/components/base/paginated_list/examples/paginated_list.with_row_slot.example.js +0 -53
  28. package/dist/components/base/paginated_list/examples/paginated_list.with_subheader_slot.example.js +0 -51
  29. package/dist/components/base/toast/examples/index.js +0 -19
  30. package/dist/components/base/toast/examples/toast.action.example.js +0 -40
  31. package/dist/components/base/toast/examples/toast.default.example.js +0 -38
  32. package/src/components/base/paginated_list/examples/index.js +0 -57
  33. package/src/components/base/paginated_list/examples/paginated_list.basic.example.vue +0 -19
  34. package/src/components/base/paginated_list/examples/paginated_list.no_filter.example.vue +0 -20
  35. package/src/components/base/paginated_list/examples/paginated_list.with_empty_list.example.vue +0 -3
  36. package/src/components/base/paginated_list/examples/paginated_list.with_filter_function.example.vue +0 -20
  37. package/src/components/base/paginated_list/examples/paginated_list.with_header_slot.example.vue +0 -23
  38. package/src/components/base/paginated_list/examples/paginated_list.with_row_slot.example.vue +0 -25
  39. package/src/components/base/paginated_list/examples/paginated_list.with_subheader_slot.example.vue +0 -23
  40. package/src/components/base/toast/examples/index.js +0 -22
  41. package/src/components/base/toast/examples/toast.action.example.vue +0 -11
  42. package/src/components/base/toast/examples/toast.default.example.vue +0 -3
@@ -134,6 +134,10 @@
134
134
  padding-right: $gl-spacing-scale-9;
135
135
  }
136
136
 
137
+ @mixin gl-pr-10 {
138
+ padding-right: $gl-spacing-scale-10;
139
+ }
140
+
137
141
  @mixin gl-pl-0 {
138
142
  padding-left: 0;
139
143
  }
@@ -174,6 +178,10 @@
174
178
  padding-left: $gl-spacing-scale-9;
175
179
  }
176
180
 
181
+ @mixin gl-pl-10 {
182
+ padding-left: $gl-spacing-scale-10;
183
+ }
184
+
177
185
  @mixin gl-pl-11 {
178
186
  padding-left: $gl-spacing-scale-11;
179
187
  }
@@ -742,7 +750,7 @@
742
750
  */
743
751
 
744
752
  @mixin gl-gap-x-3 {
745
- * + * {
753
+ > * + * {
746
754
  margin-left: #{$gl-spacing-scale-3};
747
755
  }
748
756
  }
@@ -177,6 +177,10 @@
177
177
  line-height: $gl-line-height-36;
178
178
  }
179
179
 
180
+ @mixin gl-line-height-42 {
181
+ line-height: $gl-line-height-42;
182
+ }
183
+
180
184
  @mixin gl-line-height-52 {
181
185
  line-height: $gl-line-height-52;
182
186
  }
@@ -316,6 +316,7 @@ $gl-line-height-24: px-to-rem(24px);
316
316
  $gl-line-height-28: px-to-rem(28px);
317
317
  $gl-line-height-32: px-to-rem(32px);
318
318
  $gl-line-height-36: px-to-rem(36px);
319
+ $gl-line-height-42: px-to-rem(42px);
319
320
  $gl-line-height-44: px-to-rem(44px);
320
321
  $gl-line-height-52: px-to-rem(52px);
321
322
 
@@ -1,49 +0,0 @@
1
- import PaginatedListBasicExample from './paginated_list.basic.example';
2
- import PaginatedListNoFilterExample from './paginated_list.no_filter.example';
3
- import PaginatedListWithEmptyListExample from './paginated_list.with_empty_list.example';
4
- import PaginatedListWithFilterFunctionExample from './paginated_list.with_filter_function.example';
5
- import PaginatedListWithHeaderSlotExample from './paginated_list.with_header_slot.example';
6
- import PaginatedListWithRowSlotExample from './paginated_list.with_row_slot.example';
7
- import PaginatedListWithSubheaderSlotExample from './paginated_list.with_subheader_slot.example';
8
-
9
- var index = [{
10
- name: 'Basic',
11
- items: [{
12
- id: 'paginated-list-basic',
13
- name: 'Basic',
14
- description: 'Basic Paginated List',
15
- component: PaginatedListBasicExample
16
- }, {
17
- id: 'paginated-list-no-filter',
18
- name: 'No Filter',
19
- description: 'Paginated List with no button',
20
- component: PaginatedListNoFilterExample
21
- }, {
22
- id: 'paginated-list-with-empty-list',
23
- name: 'With empty list',
24
- description: 'Paginated List empty list',
25
- component: PaginatedListWithEmptyListExample
26
- }, {
27
- id: 'paginated-list-with-header-slot',
28
- name: 'With header slot',
29
- description: 'Paginated List header slot',
30
- component: PaginatedListWithHeaderSlotExample
31
- }, {
32
- id: 'paginated-list-with-subheader-slot',
33
- name: 'With subheader slot',
34
- description: 'Paginated List subheader slot',
35
- component: PaginatedListWithSubheaderSlotExample
36
- }, {
37
- id: 'paginated-list-with-row-slot',
38
- name: 'With row slot',
39
- description: 'Paginated List with row slot',
40
- component: PaginatedListWithRowSlotExample
41
- }, {
42
- id: 'paginated-list-with-filter-function',
43
- name: 'With filter function',
44
- description: 'Paginated List with filter function',
45
- component: PaginatedListWithFilterFunctionExample
46
- }]
47
- }];
48
-
49
- export default index;
@@ -1,51 +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-paginated-list',{attrs:{"list":[
7
- { id: 'foo' },
8
- { id: 'bar' },
9
- { id: 'baz' },
10
- { id: 'qux' },
11
- { id: 'quux' },
12
- { id: 'corge' },
13
- { id: 'grault' },
14
- { id: 'garply' },
15
- { id: 'waldo' },
16
- { id: 'fred' },
17
- { id: 'xyzzy' },
18
- { id: 'plugh' },
19
- { id: 'thud' } ]}})};
20
- var __vue_staticRenderFns__ = [];
21
-
22
- /* style */
23
- const __vue_inject_styles__ = undefined;
24
- /* scoped */
25
- const __vue_scope_id__ = undefined;
26
- /* module identifier */
27
- const __vue_module_identifier__ = undefined;
28
- /* functional template */
29
- const __vue_is_functional_template__ = false;
30
- /* style inject */
31
-
32
- /* style inject SSR */
33
-
34
- /* style inject shadow dom */
35
-
36
-
37
-
38
- const __vue_component__ = __vue_normalize__(
39
- { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
40
- __vue_inject_styles__,
41
- {},
42
- __vue_scope_id__,
43
- __vue_is_functional_template__,
44
- __vue_module_identifier__,
45
- false,
46
- undefined,
47
- undefined,
48
- undefined
49
- );
50
-
51
- export default __vue_component__;
@@ -1,51 +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-paginated-list',{attrs:{"list":[
7
- { id: 'foo' },
8
- { id: 'bar' },
9
- { id: 'baz' },
10
- { id: 'qux' },
11
- { id: 'quux' },
12
- { id: 'corge' },
13
- { id: 'grault' },
14
- { id: 'garply' },
15
- { id: 'waldo' },
16
- { id: 'fred' },
17
- { id: 'xyzzy' },
18
- { id: 'plugh' },
19
- { id: 'thud' } ],"filterable":false}})};
20
- var __vue_staticRenderFns__ = [];
21
-
22
- /* style */
23
- const __vue_inject_styles__ = undefined;
24
- /* scoped */
25
- const __vue_scope_id__ = undefined;
26
- /* module identifier */
27
- const __vue_module_identifier__ = undefined;
28
- /* functional template */
29
- const __vue_is_functional_template__ = false;
30
- /* style inject */
31
-
32
- /* style inject SSR */
33
-
34
- /* style inject shadow dom */
35
-
36
-
37
-
38
- const __vue_component__ = __vue_normalize__(
39
- { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
40
- __vue_inject_styles__,
41
- {},
42
- __vue_scope_id__,
43
- __vue_is_functional_template__,
44
- __vue_module_identifier__,
45
- false,
46
- undefined,
47
- undefined,
48
- undefined
49
- );
50
-
51
- export default __vue_component__;
@@ -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-paginated-list',{attrs:{"list":[]}})};
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,51 +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-paginated-list',{attrs:{"list":[
7
- { id: 'foo' },
8
- { id: 'bar' },
9
- { id: 'baz' },
10
- { id: 'qux' },
11
- { id: 'quux' },
12
- { id: 'corge' },
13
- { id: 'grault' },
14
- { id: 'garply' },
15
- { id: 'waldo' },
16
- { id: 'fred' },
17
- { id: 'xyzzy' },
18
- { id: 'plugh' },
19
- { id: 'thud' } ],"filter":function (item, queryStr) { return item.id.includes(queryStr); }}})};
20
- var __vue_staticRenderFns__ = [];
21
-
22
- /* style */
23
- const __vue_inject_styles__ = undefined;
24
- /* scoped */
25
- const __vue_scope_id__ = undefined;
26
- /* module identifier */
27
- const __vue_module_identifier__ = undefined;
28
- /* functional template */
29
- const __vue_is_functional_template__ = false;
30
- /* style inject */
31
-
32
- /* style inject SSR */
33
-
34
- /* style inject shadow dom */
35
-
36
-
37
-
38
- const __vue_component__ = __vue_normalize__(
39
- { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
40
- __vue_inject_styles__,
41
- {},
42
- __vue_scope_id__,
43
- __vue_is_functional_template__,
44
- __vue_module_identifier__,
45
- false,
46
- undefined,
47
- undefined,
48
- undefined
49
- );
50
-
51
- export default __vue_component__;
@@ -1,51 +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-paginated-list',{attrs:{"list":[
7
- { id: 'foo' },
8
- { id: 'bar' },
9
- { id: 'baz' },
10
- { id: 'qux' },
11
- { id: 'quux' },
12
- { id: 'corge' },
13
- { id: 'grault' },
14
- { id: 'garply' },
15
- { id: 'waldo' },
16
- { id: 'fred' },
17
- { id: 'xyzzy' },
18
- { id: 'plugh' },
19
- { id: 'thud' } ]},scopedSlots:_vm._u([{key:"header",fn:function(){return [_c('gl-button',{staticClass:"order-1",attrs:{"variant":"success"}},[_vm._v("Foo Button")])]},proxy:true}])})};
20
- var __vue_staticRenderFns__ = [];
21
-
22
- /* style */
23
- const __vue_inject_styles__ = undefined;
24
- /* scoped */
25
- const __vue_scope_id__ = undefined;
26
- /* module identifier */
27
- const __vue_module_identifier__ = undefined;
28
- /* functional template */
29
- const __vue_is_functional_template__ = false;
30
- /* style inject */
31
-
32
- /* style inject SSR */
33
-
34
- /* style inject shadow dom */
35
-
36
-
37
-
38
- const __vue_component__ = __vue_normalize__(
39
- { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
40
- __vue_inject_styles__,
41
- {},
42
- __vue_scope_id__,
43
- __vue_is_functional_template__,
44
- __vue_module_identifier__,
45
- false,
46
- undefined,
47
- undefined,
48
- undefined
49
- );
50
-
51
- 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-paginated-list',{attrs:{"list":[
7
- { id: 'foo' },
8
- { id: 'bar' },
9
- { id: 'baz' },
10
- { id: 'qux' },
11
- { id: 'quux' },
12
- { id: 'corge' },
13
- { id: 'grault' },
14
- { id: 'garply' },
15
- { id: 'waldo' },
16
- { id: 'fred' },
17
- { id: 'xyzzy' },
18
- { id: 'plugh' },
19
- { id: 'thud' } ]},scopedSlots:_vm._u([{key:"default",fn:function(ref){
20
- var listItem = ref.listItem;
21
- return [_c('gl-button',{staticClass:"order-1",attrs:{"variant":"success"},on:{"click":_vm.alert}},[_vm._v("\n "+_vm._s(listItem.id)+"\n ")])]}}])})};
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,51 +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-paginated-list',{attrs:{"list":[
7
- { id: 'foo' },
8
- { id: 'bar' },
9
- { id: 'baz' },
10
- { id: 'qux' },
11
- { id: 'quux' },
12
- { id: 'corge' },
13
- { id: 'grault' },
14
- { id: 'garply' },
15
- { id: 'waldo' },
16
- { id: 'fred' },
17
- { id: 'xyzzy' },
18
- { id: 'plugh' },
19
- { id: 'thud' } ]},scopedSlots:_vm._u([{key:"subheader",fn:function(){return [_vm._v("\n Dropdown content can go here when like when an action button is clicked\n ")]},proxy:true}])})};
20
- var __vue_staticRenderFns__ = [];
21
-
22
- /* style */
23
- const __vue_inject_styles__ = undefined;
24
- /* scoped */
25
- const __vue_scope_id__ = undefined;
26
- /* module identifier */
27
- const __vue_module_identifier__ = undefined;
28
- /* functional template */
29
- const __vue_is_functional_template__ = false;
30
- /* style inject */
31
-
32
- /* style inject SSR */
33
-
34
- /* style inject shadow dom */
35
-
36
-
37
-
38
- const __vue_component__ = __vue_normalize__(
39
- { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
40
- __vue_inject_styles__,
41
- {},
42
- __vue_scope_id__,
43
- __vue_is_functional_template__,
44
- __vue_module_identifier__,
45
- false,
46
- undefined,
47
- undefined,
48
- undefined
49
- );
50
-
51
- export default __vue_component__;
@@ -1,19 +0,0 @@
1
- import ToastActionExample from './toast.action.example';
2
- import ToastDefaultExample from './toast.default.example';
3
-
4
- var index = [{
5
- name: 'Basic',
6
- items: [{
7
- id: 'toast-default',
8
- name: 'Default',
9
- description: 'Default Toast',
10
- component: ToastDefaultExample
11
- }, {
12
- id: 'toast-action',
13
- name: 'Action',
14
- description: 'Toast with an Action',
15
- component: ToastActionExample
16
- }]
17
- }];
18
-
19
- export default index;
@@ -1,40 +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-button',{on:{"click":function($event){_vm.$toast.show('This is a toast with an action.', {
7
- action: { text: 'Undo', onClick: function () {} },
8
- });}}},[_vm._v("\n Show toast with an action\n")])};
9
- var __vue_staticRenderFns__ = [];
10
-
11
- /* style */
12
- const __vue_inject_styles__ = undefined;
13
- /* scoped */
14
- const __vue_scope_id__ = undefined;
15
- /* module identifier */
16
- const __vue_module_identifier__ = undefined;
17
- /* functional template */
18
- const __vue_is_functional_template__ = false;
19
- /* style inject */
20
-
21
- /* style inject SSR */
22
-
23
- /* style inject shadow dom */
24
-
25
-
26
-
27
- const __vue_component__ = __vue_normalize__(
28
- { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
29
- __vue_inject_styles__,
30
- {},
31
- __vue_scope_id__,
32
- __vue_is_functional_template__,
33
- __vue_module_identifier__,
34
- false,
35
- undefined,
36
- undefined,
37
- undefined
38
- );
39
-
40
- export default __vue_component__;
@@ -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-button',{on:{"click":function($event){return _vm.$toast.show('This is the default toast.')}}},[_vm._v("Show default toast")])};
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,57 +0,0 @@
1
- import PaginatedListBasicExample from './paginated_list.basic.example.vue';
2
- import PaginatedListNoFilterExample from './paginated_list.no_filter.example.vue';
3
- import PaginatedListWithEmptyListExample from './paginated_list.with_empty_list.example.vue';
4
- import PaginatedListWithFilterFunctionExample from './paginated_list.with_filter_function.example.vue';
5
- import PaginatedListWithHeaderSlotExample from './paginated_list.with_header_slot.example.vue';
6
- import PaginatedListWithRowSlotExample from './paginated_list.with_row_slot.example.vue';
7
- import PaginatedListWithSubheaderSlotExample from './paginated_list.with_subheader_slot.example.vue';
8
-
9
- export default [
10
- {
11
- name: 'Basic',
12
- items: [
13
- {
14
- id: 'paginated-list-basic',
15
- name: 'Basic',
16
- description: 'Basic Paginated List',
17
- component: PaginatedListBasicExample,
18
- },
19
- {
20
- id: 'paginated-list-no-filter',
21
- name: 'No Filter',
22
- description: 'Paginated List with no button',
23
- component: PaginatedListNoFilterExample,
24
- },
25
- {
26
- id: 'paginated-list-with-empty-list',
27
- name: 'With empty list',
28
- description: 'Paginated List empty list',
29
- component: PaginatedListWithEmptyListExample,
30
- },
31
- {
32
- id: 'paginated-list-with-header-slot',
33
- name: 'With header slot',
34
- description: 'Paginated List header slot',
35
- component: PaginatedListWithHeaderSlotExample,
36
- },
37
- {
38
- id: 'paginated-list-with-subheader-slot',
39
- name: 'With subheader slot',
40
- description: 'Paginated List subheader slot',
41
- component: PaginatedListWithSubheaderSlotExample,
42
- },
43
- {
44
- id: 'paginated-list-with-row-slot',
45
- name: 'With row slot',
46
- description: 'Paginated List with row slot',
47
- component: PaginatedListWithRowSlotExample,
48
- },
49
- {
50
- id: 'paginated-list-with-filter-function',
51
- name: 'With filter function',
52
- description: 'Paginated List with filter function',
53
- component: PaginatedListWithFilterFunctionExample,
54
- },
55
- ],
56
- },
57
- ];
@@ -1,19 +0,0 @@
1
- <template>
2
- <gl-paginated-list
3
- :list="[
4
- { id: 'foo' },
5
- { id: 'bar' },
6
- { id: 'baz' },
7
- { id: 'qux' },
8
- { id: 'quux' },
9
- { id: 'corge' },
10
- { id: 'grault' },
11
- { id: 'garply' },
12
- { id: 'waldo' },
13
- { id: 'fred' },
14
- { id: 'xyzzy' },
15
- { id: 'plugh' },
16
- { id: 'thud' },
17
- ]"
18
- />
19
- </template>
@@ -1,20 +0,0 @@
1
- <template>
2
- <gl-paginated-list
3
- :list="[
4
- { id: 'foo' },
5
- { id: 'bar' },
6
- { id: 'baz' },
7
- { id: 'qux' },
8
- { id: 'quux' },
9
- { id: 'corge' },
10
- { id: 'grault' },
11
- { id: 'garply' },
12
- { id: 'waldo' },
13
- { id: 'fred' },
14
- { id: 'xyzzy' },
15
- { id: 'plugh' },
16
- { id: 'thud' },
17
- ]"
18
- :filterable="false"
19
- />
20
- </template>
@@ -1,3 +0,0 @@
1
- <template>
2
- <gl-paginated-list :list="[]" />
3
- </template>
@@ -1,20 +0,0 @@
1
- <template>
2
- <gl-paginated-list
3
- :list="[
4
- { id: 'foo' },
5
- { id: 'bar' },
6
- { id: 'baz' },
7
- { id: 'qux' },
8
- { id: 'quux' },
9
- { id: 'corge' },
10
- { id: 'grault' },
11
- { id: 'garply' },
12
- { id: 'waldo' },
13
- { id: 'fred' },
14
- { id: 'xyzzy' },
15
- { id: 'plugh' },
16
- { id: 'thud' },
17
- ]"
18
- :filter="(item, queryStr) => item.id.includes(queryStr)"
19
- />
20
- </template>