@soft-stech/bootsman-ui-shadcn 2.0.32 → 2.0.33
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/dist/{BuiToastViewport.vue_vue_type_script_setup_true_lang-Df_BhI0w.js → BuiToastViewport.vue_vue_type_script_setup_true_lang-D6QKAUE5.js} +1 -1
- package/dist/components/toast/BuiToastViewport.js +1 -1
- package/dist/components/toast/index.js +1 -1
- package/dist/components/toast/use-toast.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/components/toast/BuiToastViewport.vue +1 -1
- package/src/components/toast/use-toast.ts +1 -1
|
@@ -179,7 +179,7 @@ const xe = /* @__PURE__ */ _({
|
|
|
179
179
|
const i = c;
|
|
180
180
|
return (u, a) => (p(), f(s(le), x(i, {
|
|
181
181
|
class: s(ae)(
|
|
182
|
-
"fixed top-0 z-100 flex max-h-screen w-full flex-col-reverse p-4 sm:
|
|
182
|
+
"fixed top-0 z-100 flex max-h-screen w-full flex-col-reverse gap-2 p-4 sm:top-auto sm:right-0 sm:bottom-0 sm:flex-col md:max-w-[420px]",
|
|
183
183
|
i.class
|
|
184
184
|
)
|
|
185
185
|
}), null, 16, ["class"]));
|
|
@@ -6,7 +6,7 @@ import { u as q } from "../../useForwardExpose-DmyWSR4F.js";
|
|
|
6
6
|
import { P as D } from "../../Presence-BadhDRMZ.js";
|
|
7
7
|
import { b as A } from "../../ToastClose-B0fnVCIU.js";
|
|
8
8
|
import { useVModel as N } from "@vueuse/core";
|
|
9
|
-
import { _ as R } from "../../BuiToastViewport.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { _ as R } from "../../BuiToastViewport.vue_vue_type_script_setup_true_lang-D6QKAUE5.js";
|
|
10
10
|
import { _ as fe } from "../../BuiToastAction.vue_vue_type_script_setup_true_lang-fvsdWGKt.js";
|
|
11
11
|
import { _ as O } from "../../BuiToastClose.vue_vue_type_script_setup_true_lang-DG-vzARZ.js";
|
|
12
12
|
import { _ as F } from "../../BuiToastTitle.vue_vue_type_script_setup_true_lang-CxCpkjZZ.js";
|
package/dist/index.js
CHANGED
|
@@ -143,7 +143,7 @@ import { _ as Wa } from "./BuiTableFooter.vue_vue_type_script_setup_true_lang-yW
|
|
|
143
143
|
import { _ as Za } from "./BuiDataTableColumnList.vue_vue_type_script_setup_true_lang-D7BaWJlh.js";
|
|
144
144
|
import { _ as oi } from "./BuiTabs.vue_vue_type_script_setup_true_lang--Pf-gBbc.js";
|
|
145
145
|
import { _ as ei } from "./BuiTabsContent.vue_vue_type_script_setup_true_lang-C_8zNmbh.js";
|
|
146
|
-
import { _ as ai } from "./BuiToastViewport.vue_vue_type_script_setup_true_lang-
|
|
146
|
+
import { _ as ai } from "./BuiToastViewport.vue_vue_type_script_setup_true_lang-D6QKAUE5.js";
|
|
147
147
|
import { _ as ui } from "./BuiToastAction.vue_vue_type_script_setup_true_lang-fvsdWGKt.js";
|
|
148
148
|
import { _ as si } from "./BuiToastClose.vue_vue_type_script_setup_true_lang-DG-vzARZ.js";
|
|
149
149
|
import { _ as Bi } from "./BuiToastTitle.vue_vue_type_script_setup_true_lang-CxCpkjZZ.js";
|
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@ const props = defineProps<ToastViewportProps & { class?: string }>()
|
|
|
10
10
|
v-bind="props"
|
|
11
11
|
:class="
|
|
12
12
|
cn(
|
|
13
|
-
'fixed top-0 z-100 flex max-h-screen w-full flex-col-reverse p-4 sm:
|
|
13
|
+
'fixed top-0 z-100 flex max-h-screen w-full flex-col-reverse gap-2 p-4 sm:top-auto sm:right-0 sm:bottom-0 sm:flex-col md:max-w-[420px]',
|
|
14
14
|
props.class
|
|
15
15
|
)
|
|
16
16
|
"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { computed, ref, type Component, type VNode, type ComputedRef } from 'vue'
|
|
2
2
|
import { type ToastProps } from './BuiToast.vue'
|
|
3
3
|
|
|
4
|
-
const TOAST_LIMIT =
|
|
4
|
+
const TOAST_LIMIT = 3
|
|
5
5
|
const TOAST_REMOVE_DELAY = 1000000
|
|
6
6
|
|
|
7
7
|
export type StringOrVNode = string | VNode | (() => VNode)
|