@gitlab/ui 32.62.0 → 32.65.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 (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 +42 -2
  15. package/src/scss/utility-mixins/flex.scss +6 -0
  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,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
- ];
@@ -1,11 +0,0 @@
1
- <template>
2
- <gl-button
3
- @click="
4
- $toast.show('This is a toast with an action.', {
5
- action: { text: 'Undo', onClick: () => {} },
6
- })
7
- "
8
- >
9
- Show toast with an action
10
- </gl-button>
11
- </template>
@@ -1,3 +0,0 @@
1
- <template>
2
- <gl-button @click="$toast.show('This is the default toast.')">Show default toast</gl-button>
3
- </template>