@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.
- package/CHANGELOG.md +28 -0
- package/dist/components/base/paginated_list/paginated_list.documentation.js +2 -5
- package/dist/components/base/toast/toast.documentation.js +2 -5
- package/dist/utility_classes.css +1 -1
- package/dist/utility_classes.css.map +1 -1
- package/documentation/documented_stories.js +2 -0
- package/package.json +9 -9
- package/scss_to_js/scss_variables.js +1 -0
- package/scss_to_js/scss_variables.json +5 -0
- package/src/components/base/paginated_list/paginated_list.documentation.js +0 -2
- package/src/components/base/paginated_list/paginated_list.md +0 -2
- package/src/components/base/paginated_list/paginated_list.stories.js +162 -154
- package/src/components/base/toast/toast.documentation.js +0 -2
- package/src/components/base/toast/toast.md +0 -11
- package/src/components/base/toast/toast.stories.js +66 -50
- package/src/scss/utilities.scss +34 -2
- package/src/scss/utility-mixins/flex.scss +6 -0
- package/src/scss/utility-mixins/spacing.scss +9 -1
- package/src/scss/utility-mixins/typography.scss +4 -0
- package/src/scss/variables.scss +1 -0
- package/dist/components/base/paginated_list/examples/index.js +0 -49
- package/dist/components/base/paginated_list/examples/paginated_list.basic.example.js +0 -51
- package/dist/components/base/paginated_list/examples/paginated_list.no_filter.example.js +0 -51
- package/dist/components/base/paginated_list/examples/paginated_list.with_empty_list.example.js +0 -38
- package/dist/components/base/paginated_list/examples/paginated_list.with_filter_function.example.js +0 -51
- package/dist/components/base/paginated_list/examples/paginated_list.with_header_slot.example.js +0 -51
- package/dist/components/base/paginated_list/examples/paginated_list.with_row_slot.example.js +0 -53
- package/dist/components/base/paginated_list/examples/paginated_list.with_subheader_slot.example.js +0 -51
- package/dist/components/base/toast/examples/index.js +0 -19
- package/dist/components/base/toast/examples/toast.action.example.js +0 -40
- package/dist/components/base/toast/examples/toast.default.example.js +0 -38
- package/src/components/base/paginated_list/examples/index.js +0 -57
- package/src/components/base/paginated_list/examples/paginated_list.basic.example.vue +0 -19
- package/src/components/base/paginated_list/examples/paginated_list.no_filter.example.vue +0 -20
- package/src/components/base/paginated_list/examples/paginated_list.with_empty_list.example.vue +0 -3
- package/src/components/base/paginated_list/examples/paginated_list.with_filter_function.example.vue +0 -20
- package/src/components/base/paginated_list/examples/paginated_list.with_header_slot.example.vue +0 -23
- package/src/components/base/paginated_list/examples/paginated_list.with_row_slot.example.vue +0 -25
- package/src/components/base/paginated_list/examples/paginated_list.with_subheader_slot.example.vue +0 -23
- package/src/components/base/toast/examples/index.js +0 -22
- package/src/components/base/toast/examples/toast.action.example.vue +0 -11
- package/src/components/base/toast/examples/toast.default.example.vue +0 -3
package/src/components/base/paginated_list/examples/paginated_list.with_header_slot.example.vue
DELETED
|
@@ -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>
|
package/src/components/base/paginated_list/examples/paginated_list.with_row_slot.example.vue
DELETED
|
@@ -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>
|
package/src/components/base/paginated_list/examples/paginated_list.with_subheader_slot.example.vue
DELETED
|
@@ -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 #subheader>
|
|
20
|
-
Dropdown content can go here when like when an action button is clicked
|
|
21
|
-
</template>
|
|
22
|
-
</gl-paginated-list>
|
|
23
|
-
</template>
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import ToastActionExample from './toast.action.example.vue';
|
|
2
|
-
import ToastDefaultExample from './toast.default.example.vue';
|
|
3
|
-
|
|
4
|
-
export default [
|
|
5
|
-
{
|
|
6
|
-
name: 'Basic',
|
|
7
|
-
items: [
|
|
8
|
-
{
|
|
9
|
-
id: 'toast-default',
|
|
10
|
-
name: 'Default',
|
|
11
|
-
description: 'Default Toast',
|
|
12
|
-
component: ToastDefaultExample,
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
id: 'toast-action',
|
|
16
|
-
name: 'Action',
|
|
17
|
-
description: 'Toast with an Action',
|
|
18
|
-
component: ToastActionExample,
|
|
19
|
-
},
|
|
20
|
-
],
|
|
21
|
-
},
|
|
22
|
-
];
|