@sidekick-coder/zenith-kit 0.3.10 → 0.3.11

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": "@sidekick-coder/zenith-kit",
3
- "version": "0.3.10",
3
+ "version": "0.3.11",
4
4
  "license": "MIT",
5
5
  "description": "Package to use with zenith framework",
6
6
  "author": "Henrique Oliveira <henriqueoliwork@gmail.com>",
@@ -5,7 +5,6 @@ import { toTypedSchema } from '@vee-validate/valibot'
5
5
  import { computed, ref, watch } from 'vue'
6
6
  import type { PropType } from 'vue'
7
7
  import type { BaseSchema } from 'valibot'
8
- import { toast } from 'vue-sonner'
9
8
  import ClientOnly from './ClientOnly.vue'
10
9
  import FormAutoFieldList from './FormAutoFieldList.vue'
11
10
 
@@ -23,6 +22,7 @@ import {
23
22
  import { tryCatch } from '#shared/utils/tryCatch.ts'
24
23
  import { validator } from '#shared/facades/validator.ts'
25
24
  import type { DefineFormField } from '#client/utils/defineFormFields.ts'
25
+ import toast from '#client/facades/toast.ts'
26
26
 
27
27
  const props = defineProps({
28
28
  title: {
@@ -1,7 +1,6 @@
1
1
  <script setup lang="ts">
2
2
  import { ref } from 'vue'
3
3
  import { useField } from 'vee-validate'
4
- import { toast } from 'vue-sonner'
5
4
 
6
5
  import { $fetch } from '#client/utils/fetcher.ts'
7
6
  import { $file } from '#client/utils/file.ts'
@@ -16,6 +15,7 @@ import {
16
15
  } from '#client/components/ui/form/index.ts'
17
16
  import Button from '#client/components/ZButton.vue'
18
17
  import Icon from '#client/components/Icon.vue'
18
+ import toast from '#client/facades/toast.ts'
19
19
 
20
20
  const props = defineProps({
21
21
  name: {
@@ -24,7 +24,7 @@ import {
24
24
  useSidebar,
25
25
  } from '#client/components/ui/sidebar/index.ts'
26
26
  import Icon from '#client/components/Icon.vue'
27
- import { toast } from 'vue-sonner'
27
+ import toast from '#client/facades/toast.ts'
28
28
 
29
29
  interface Link {
30
30
  label: string
@@ -1,5 +1,5 @@
1
1
  <script setup lang="ts">
2
- import { toast } from 'vue-sonner'
2
+ import toast from '#client/facades/toast.ts'
3
3
  import Button from './ZButton.vue'
4
4
  import ClientOnly from './ClientOnly.vue'
5
5
  import {
@@ -5,7 +5,7 @@ import { toTypedSchema } from '@vee-validate/valibot'
5
5
  import { computed, ref, watch } from 'vue'
6
6
  import type { PropType } from 'vue'
7
7
  import type { BaseSchema } from 'valibot'
8
- import { toast } from 'vue-sonner'
8
+ import toast from '#client/facades/toast.ts'
9
9
  import ClientOnly from './ClientOnly.vue'
10
10
  import FormAutoFieldList from './FormAutoFieldList.vue'
11
11
 
@@ -1,6 +1,6 @@
1
- import { toast } from 'vue-sonner'
2
1
  import qs from 'qs'
3
2
  import { tryCatch } from '#shared/utils/tryCatch.ts'
3
+ import toast from '#client/facades/toast.ts'
4
4
 
5
5
  export interface FetchOptions extends RequestInit {
6
6
  query?: Record<string, any>
@@ -1,3 +1,3 @@
1
- import { toast } from 'vue-sonner'
1
+ import toast from "#client/facades/toast.ts";
2
2
 
3
3
  export const $toast = toast