@polymarbot/nuxt-layer-shadcn-ui 0.8.3 → 0.8.4

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.
@@ -16,6 +16,7 @@ const meta = {
16
16
  loading: { control: 'boolean' },
17
17
  disabled: { control: 'boolean' },
18
18
  confirmDisabled: { control: 'boolean' },
19
+ modal: { control: 'boolean' },
19
20
  showCancel: { control: 'boolean' },
20
21
  showClose: { control: 'boolean' },
21
22
  closeOnClickOutside: { control: 'boolean' },
@@ -33,6 +34,7 @@ const meta = {
33
34
  loading: false,
34
35
  disabled: false,
35
36
  confirmDisabled: false,
37
+ modal: true,
36
38
  showCancel: true,
37
39
  showClose: true,
38
40
  closeOnClickOutside: false,
@@ -14,6 +14,7 @@ import type { ModalProps } from './types'
14
14
  defineOptions({ inheritAttrs: false })
15
15
 
16
16
  const props = withDefaults(defineProps<ModalProps>(), {
17
+ modal: true,
17
18
  showCancel: true,
18
19
  showClose: true,
19
20
  closeOnClickOutside: false,
@@ -90,6 +91,7 @@ const contentClass = computed(() =>
90
91
  <template>
91
92
  <Dialog
92
93
  :open="dialogOpen"
94
+ :modal="modal"
93
95
  @update:open="onOpenUpdate"
94
96
  >
95
97
  <DialogTrigger
@@ -6,6 +6,7 @@ export interface ModalProps {
6
6
  loading?: boolean
7
7
  disabled?: boolean
8
8
  confirmDisabled?: boolean
9
+ modal?: boolean
9
10
  showCancel?: boolean
10
11
  showClose?: boolean
11
12
  closeOnClickOutside?: boolean
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polymarbot/nuxt-layer-shadcn-ui",
3
- "version": "0.8.3",
3
+ "version": "0.8.4",
4
4
  "description": "Nuxt layer providing shadcn-vue based UI components",
5
5
  "type": "module",
6
6
  "main": "./nuxt.config.ts",
@@ -42,5 +42,5 @@
42
42
  "vue-i18n": "^11",
43
43
  "vue-router": "^4 || ^5"
44
44
  },
45
- "gitHead": "f94301982df19c6252955e0f21f2aeb959c48a70"
45
+ "gitHead": "d561383c133bd4f981cc2c289fbc675bcdaec917"
46
46
  }