@gitlab/ui 32.63.0 → 32.65.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 (39) 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 +1 -1
  8. package/src/components/base/paginated_list/paginated_list.documentation.js +0 -2
  9. package/src/components/base/paginated_list/paginated_list.md +0 -2
  10. package/src/components/base/paginated_list/paginated_list.stories.js +162 -154
  11. package/src/components/base/toast/toast.documentation.js +0 -2
  12. package/src/components/base/toast/toast.md +0 -11
  13. package/src/components/base/toast/toast.stories.js +66 -50
  14. package/src/scss/utilities.scss +32 -4
  15. package/src/scss/utility-mixins/flex.scss +1 -1
  16. package/src/scss/utility-mixins/opacity.scss +8 -0
  17. package/src/scss/utility-mixins/spacing.scss +9 -1
  18. package/dist/components/base/paginated_list/examples/index.js +0 -49
  19. package/dist/components/base/paginated_list/examples/paginated_list.basic.example.js +0 -51
  20. package/dist/components/base/paginated_list/examples/paginated_list.no_filter.example.js +0 -51
  21. package/dist/components/base/paginated_list/examples/paginated_list.with_empty_list.example.js +0 -38
  22. package/dist/components/base/paginated_list/examples/paginated_list.with_filter_function.example.js +0 -51
  23. package/dist/components/base/paginated_list/examples/paginated_list.with_header_slot.example.js +0 -51
  24. package/dist/components/base/paginated_list/examples/paginated_list.with_row_slot.example.js +0 -53
  25. package/dist/components/base/paginated_list/examples/paginated_list.with_subheader_slot.example.js +0 -51
  26. package/dist/components/base/toast/examples/index.js +0 -19
  27. package/dist/components/base/toast/examples/toast.action.example.js +0 -40
  28. package/dist/components/base/toast/examples/toast.default.example.js +0 -38
  29. package/src/components/base/paginated_list/examples/index.js +0 -57
  30. package/src/components/base/paginated_list/examples/paginated_list.basic.example.vue +0 -19
  31. package/src/components/base/paginated_list/examples/paginated_list.no_filter.example.vue +0 -20
  32. package/src/components/base/paginated_list/examples/paginated_list.with_empty_list.example.vue +0 -3
  33. package/src/components/base/paginated_list/examples/paginated_list.with_filter_function.example.vue +0 -20
  34. package/src/components/base/paginated_list/examples/paginated_list.with_header_slot.example.vue +0 -23
  35. package/src/components/base/paginated_list/examples/paginated_list.with_row_slot.example.vue +0 -25
  36. package/src/components/base/paginated_list/examples/paginated_list.with_subheader_slot.example.vue +0 -23
  37. package/src/components/base/toast/examples/index.js +0 -22
  38. package/src/components/base/toast/examples/toast.action.example.vue +0 -11
  39. package/src/components/base/toast/examples/toast.default.example.vue +0 -3
@@ -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>
@@ -1,23 +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 #header>
20
- <gl-button variant="success" class="order-1">Foo Button</gl-button>
21
- </template>
22
- </gl-paginated-list>
23
- </template>
@@ -1,25 +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 #default="{ listItem }">
20
- <gl-button variant="success" class="order-1" @click="alert">
21
- {{ listItem.id }}
22
- </gl-button>
23
- </template>
24
- </gl-paginated-list>
25
- </template>