@shwfed/nuxt 0.10.13 → 0.10.15

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 (60) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/module.mjs +1 -0
  3. package/dist/runtime/components/app.d.vue.ts +2 -1
  4. package/dist/runtime/components/app.vue.d.ts +2 -1
  5. package/dist/runtime/components/button.d.vue.ts +63 -4
  6. package/dist/runtime/components/button.vue +12 -2
  7. package/dist/runtime/components/button.vue.d.ts +63 -4
  8. package/dist/runtime/components/modal.d.vue.ts +53 -0
  9. package/dist/runtime/components/modal.vue +141 -0
  10. package/dist/runtime/components/modal.vue.d.ts +53 -0
  11. package/dist/runtime/components/ui/app/App.d.vue.ts +7 -5
  12. package/dist/runtime/components/ui/app/App.vue +23 -8
  13. package/dist/runtime/components/ui/app/App.vue.d.ts +7 -5
  14. package/dist/runtime/components/ui/app/OverlayHost.d.vue.ts +3 -0
  15. package/dist/runtime/components/ui/app/OverlayHost.vue +91 -0
  16. package/dist/runtime/components/ui/app/OverlayHost.vue.d.ts +3 -0
  17. package/dist/runtime/components/ui/button-configurator/ButtonConfiguratorDialog.d.vue.ts +52 -0
  18. package/dist/runtime/components/ui/button-configurator/ButtonConfiguratorDialog.vue.d.ts +52 -0
  19. package/dist/runtime/components/ui/buttons/Buttons.d.vue.ts +54 -2
  20. package/dist/runtime/components/ui/buttons/Buttons.vue +56 -3
  21. package/dist/runtime/components/ui/buttons/Buttons.vue.d.ts +54 -2
  22. package/dist/runtime/components/ui/buttons/schema.d.ts +307 -0
  23. package/dist/runtime/components/ui/buttons/schema.js +11 -2
  24. package/dist/runtime/components/ui/drawer/Drawer.d.vue.ts +31 -0
  25. package/dist/runtime/components/ui/drawer/Drawer.vue +38 -0
  26. package/dist/runtime/components/ui/drawer/Drawer.vue.d.ts +31 -0
  27. package/dist/runtime/components/ui/drawer/DrawerClose.d.vue.ts +14 -0
  28. package/dist/runtime/components/ui/drawer/DrawerClose.vue +19 -0
  29. package/dist/runtime/components/ui/drawer/DrawerClose.vue.d.ts +14 -0
  30. package/dist/runtime/components/ui/drawer/DrawerContent.d.vue.ts +20 -0
  31. package/dist/runtime/components/ui/drawer/DrawerContent.vue +50 -0
  32. package/dist/runtime/components/ui/drawer/DrawerContent.vue.d.ts +20 -0
  33. package/dist/runtime/components/ui/drawer/DrawerDescription.d.vue.ts +18 -0
  34. package/dist/runtime/components/ui/drawer/DrawerDescription.vue +26 -0
  35. package/dist/runtime/components/ui/drawer/DrawerDescription.vue.d.ts +18 -0
  36. package/dist/runtime/components/ui/drawer/DrawerFooter.d.vue.ts +17 -0
  37. package/dist/runtime/components/ui/drawer/DrawerFooter.vue +15 -0
  38. package/dist/runtime/components/ui/drawer/DrawerFooter.vue.d.ts +17 -0
  39. package/dist/runtime/components/ui/drawer/DrawerHeader.d.vue.ts +17 -0
  40. package/dist/runtime/components/ui/drawer/DrawerHeader.vue +15 -0
  41. package/dist/runtime/components/ui/drawer/DrawerHeader.vue.d.ts +17 -0
  42. package/dist/runtime/components/ui/drawer/DrawerOverlay.d.vue.ts +7 -0
  43. package/dist/runtime/components/ui/drawer/DrawerOverlay.vue +19 -0
  44. package/dist/runtime/components/ui/drawer/DrawerOverlay.vue.d.ts +7 -0
  45. package/dist/runtime/components/ui/drawer/DrawerTitle.d.vue.ts +18 -0
  46. package/dist/runtime/components/ui/drawer/DrawerTitle.vue +26 -0
  47. package/dist/runtime/components/ui/drawer/DrawerTitle.vue.d.ts +18 -0
  48. package/dist/runtime/components/ui/drawer/DrawerTrigger.d.vue.ts +14 -0
  49. package/dist/runtime/components/ui/drawer/DrawerTrigger.vue +19 -0
  50. package/dist/runtime/components/ui/drawer/DrawerTrigger.vue.d.ts +14 -0
  51. package/dist/runtime/components/ui/drawer/index.d.ts +8 -0
  52. package/dist/runtime/components/ui/drawer/index.js +8 -0
  53. package/dist/runtime/composables/useOverlay.d.ts +86 -0
  54. package/dist/runtime/composables/useOverlay.js +201 -0
  55. package/dist/runtime/layouts/default.d.vue.ts +2 -1
  56. package/dist/runtime/layouts/default.vue.d.ts +2 -1
  57. package/dist/runtime/plugins/overlay/index.d.ts +6 -0
  58. package/dist/runtime/plugins/overlay/index.js +12 -0
  59. package/dist/runtime/plugins/toast/index.d.ts +2 -2
  60. package/package.json +2 -1
@@ -0,0 +1,12 @@
1
+ import { defineNuxtPlugin } from "#app";
2
+ import { useOverlay } from "../../composables/useOverlay.js";
3
+ export default defineNuxtPlugin({
4
+ name: "shwfed-nuxt:overlay",
5
+ setup: () => {
6
+ return {
7
+ provide: {
8
+ overlay: useOverlay()
9
+ }
10
+ };
11
+ }
12
+ });
@@ -9,6 +9,7 @@ declare const _default: import("#app").Plugin<{
9
9
  promise: <ToastData>(promise: Promise<ToastData> | (() => Promise<ToastData>), data?: ({
10
10
  id?: number | string | undefined;
11
11
  icon?: import("vue").Component | undefined;
12
+ dismissible?: boolean | undefined;
12
13
  class?: string | undefined;
13
14
  style?: import("vue").CSSProperties | undefined;
14
15
  cancel?: (import("vue-sonner").Action | import("vue").Component) | undefined;
@@ -18,7 +19,6 @@ declare const _default: import("#app").Plugin<{
18
19
  richColors?: boolean | undefined;
19
20
  invert?: boolean | undefined;
20
21
  closeButton?: boolean | undefined;
21
- dismissible?: boolean | undefined;
22
22
  duration?: number | undefined;
23
23
  important?: boolean | undefined;
24
24
  action?: (import("vue-sonner").Action | import("vue").Component) | undefined;
@@ -62,6 +62,7 @@ declare const _default: import("#app").Plugin<{
62
62
  promise: <ToastData>(promise: Promise<ToastData> | (() => Promise<ToastData>), data?: ({
63
63
  id?: number | string | undefined;
64
64
  icon?: import("vue").Component | undefined;
65
+ dismissible?: boolean | undefined;
65
66
  class?: string | undefined;
66
67
  style?: import("vue").CSSProperties | undefined;
67
68
  cancel?: (import("vue-sonner").Action | import("vue").Component) | undefined;
@@ -71,7 +72,6 @@ declare const _default: import("#app").Plugin<{
71
72
  richColors?: boolean | undefined;
72
73
  invert?: boolean | undefined;
73
74
  closeButton?: boolean | undefined;
74
- dismissible?: boolean | undefined;
75
75
  duration?: number | undefined;
76
76
  important?: boolean | undefined;
77
77
  action?: (import("vue-sonner").Action | import("vue").Component) | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shwfed/nuxt",
3
- "version": "0.10.13",
3
+ "version": "0.10.15",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -66,6 +66,7 @@
66
66
  "reka-ui": "^2.7.0",
67
67
  "sortablejs": "^1.15.0",
68
68
  "tailwind-merge": "^3.4.0",
69
+ "vaul-vue": "^0.4.1",
69
70
  "vue": "^3.5.27",
70
71
  "vue-i18n": "^11.2.8",
71
72
  "vue-sonner": "^2.0.9",