@appscode/design-system 2.17.83 → 2.17.84

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appscode/design-system",
3
- "version": "2.17.83",
3
+ "version": "2.17.84",
4
4
  "description": "A design system for Appscode websites and dashboards made using Bulma",
5
5
  "main": "main.scss",
6
6
  "scripts": {
@@ -28,7 +28,6 @@ defineEmits(["onDelete"]);
28
28
  const open = defineModel({ type: Boolean });
29
29
 
30
30
  const Modal = defineAsyncComponent(() => import("./DialogModal.vue"));
31
- const AcButton = defineAsyncComponent(() => import("./../button/Button.vue"));
32
31
  </script>
33
32
 
34
33
  <template>
@@ -43,27 +42,14 @@ const AcButton = defineAsyncComponent(() => import("./../button/Button.vue"));
43
42
  :ignore-outside-click="ignoreOutsideClick"
44
43
  >
45
44
  <!-- freedom content start -->
46
- <h1>Lorem ipsum dolor sit amet consectetur adipisicing elit. beatae.</h1>
45
+ <slot name="custom-message">
46
+ <h1>{{ message }}</h1>
47
+ </slot>
47
48
  <!-- freedom content end -->
48
49
 
49
50
  <!-- modal footer start -->
50
51
  <template #modal-footer-left>
51
- <div class="buttons">
52
- <ac-button
53
- title="Yes, Do this"
54
- modifier-classes="is-primary"
55
- :is-loader-active="isDeleteActive"
56
- @click.stop="$emit('onDelete', itemName)"
57
- data-testid="delete-confirmation-modal-confirm-button"
58
- />
59
- <ac-button
60
- @click.stop="open = false"
61
- title="Cancel"
62
- modifier-classes="is-outlined"
63
- :disabled="isDeleteActive || disableModalClose"
64
- data-testid="delete-confirmation-modal-close-button"
65
- />
66
- </div>
52
+ <slot name="footer-button" />
67
53
  </template>
68
54
  </modal>
69
55
  <!-- modal end -->