@weni/unnnic-system 3.11.1-alpha.1 → 3.11.1-alpha.2
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/components/Drawer/Drawer.vue.d.ts.map +1 -1
- package/dist/components/ui/drawer/Drawer.vue.d.ts.map +1 -1
- package/dist/components/ui/drawer/DrawerClose.vue.d.ts.map +1 -1
- package/dist/components/ui/drawer/DrawerContent.vue.d.ts.map +1 -1
- package/dist/components/ui/drawer/DrawerDescription.vue.d.ts.map +1 -1
- package/dist/components/ui/drawer/DrawerFooter.vue.d.ts.map +1 -1
- package/dist/components/ui/drawer/DrawerHeader.vue.d.ts.map +1 -1
- package/dist/components/ui/drawer/DrawerOverlay.vue.d.ts.map +1 -1
- package/dist/components/ui/drawer/DrawerTitle.vue.d.ts.map +1 -1
- package/dist/components/ui/drawer/DrawerTrigger.vue.d.ts.map +1 -1
- package/dist/{es-1e5cce64.mjs → es-2f0d1dd1.mjs} +1 -1
- package/dist/{index-8d75623f.mjs → index-7d496127.mjs} +24 -14
- package/dist/{pt-br-defd03da.mjs → pt-br-ec24bd23.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/unnnic.mjs +1 -1
- package/dist/unnnic.umd.js +1 -1
- package/package.json +1 -1
- package/src/components/Drawer/Drawer.vue +6 -2
- package/src/components/ui/drawer/Drawer.vue +4 -0
- package/src/components/ui/drawer/DrawerClose.vue +4 -0
- package/src/components/ui/drawer/DrawerContent.vue +5 -1
- package/src/components/ui/drawer/DrawerDescription.vue +4 -0
- package/src/components/ui/drawer/DrawerFooter.vue +5 -1
- package/src/components/ui/drawer/DrawerHeader.vue +5 -1
- package/src/components/ui/drawer/DrawerOverlay.vue +5 -1
- package/src/components/ui/drawer/DrawerTitle.vue +5 -1
- package/src/components/ui/drawer/DrawerTrigger.vue +4 -0
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<Drawer
|
|
3
|
-
:open="modelValue"
|
|
4
|
-
@update:open="$emit('update:modelValue', $event)"
|
|
5
3
|
class="unnnic-drawer"
|
|
6
4
|
data-testid="drawer"
|
|
5
|
+
:open="modelValue"
|
|
6
|
+
@update:open="$emit('update:modelValue', $event)"
|
|
7
7
|
>
|
|
8
8
|
<DrawerContent
|
|
9
9
|
:showOverlay="!withoutOverlay"
|
|
@@ -96,6 +96,10 @@ import {
|
|
|
96
96
|
DrawerDescription,
|
|
97
97
|
} from '../ui/drawer';
|
|
98
98
|
|
|
99
|
+
defineOptions({
|
|
100
|
+
name: 'UnnnicDrawer',
|
|
101
|
+
});
|
|
102
|
+
|
|
99
103
|
const props = defineProps({
|
|
100
104
|
title: {
|
|
101
105
|
type: String,
|
|
@@ -3,6 +3,10 @@ import type { DrawerRootEmits, DrawerRootProps } from 'vaul-vue';
|
|
|
3
3
|
import { useForwardPropsEmits } from 'reka-ui';
|
|
4
4
|
import { DrawerRoot } from 'vaul-vue';
|
|
5
5
|
|
|
6
|
+
defineOptions({
|
|
7
|
+
name: 'UnnnicDrawerNext',
|
|
8
|
+
});
|
|
9
|
+
|
|
6
10
|
const props = withDefaults(defineProps<DrawerRootProps>(), {
|
|
7
11
|
shouldScaleBackground: true,
|
|
8
12
|
});
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
2
|
import type { DialogContentEmits, DialogContentProps } from 'reka-ui';
|
|
3
|
-
import type
|
|
3
|
+
import { type HTMLAttributes } from 'vue';
|
|
4
4
|
import { reactiveOmit } from '@vueuse/core';
|
|
5
5
|
import { useForwardPropsEmits } from 'reka-ui';
|
|
6
6
|
import { DrawerContent, DrawerPortal } from 'vaul-vue';
|
|
7
7
|
import { cn } from '@/lib/utils';
|
|
8
8
|
import DrawerOverlay from './DrawerOverlay.vue';
|
|
9
9
|
|
|
10
|
+
defineOptions({
|
|
11
|
+
name: 'UnnnicDrawerContent',
|
|
12
|
+
});
|
|
13
|
+
|
|
10
14
|
const props = withDefaults(
|
|
11
15
|
defineProps<
|
|
12
16
|
DialogContentProps & {
|
|
@@ -5,6 +5,10 @@ import { reactiveOmit } from '@vueuse/core';
|
|
|
5
5
|
import { DrawerDescription } from 'vaul-vue';
|
|
6
6
|
import { cn } from '@/lib/utils';
|
|
7
7
|
|
|
8
|
+
defineOptions({
|
|
9
|
+
name: 'UnnnicDrawerDescription',
|
|
10
|
+
});
|
|
11
|
+
|
|
8
12
|
const props = defineProps<
|
|
9
13
|
DrawerDescriptionProps & { class?: HTMLAttributes['class'] }
|
|
10
14
|
>();
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
|
-
import type
|
|
2
|
+
import { type HTMLAttributes } from 'vue';
|
|
3
3
|
import { cn } from '@/lib/utils';
|
|
4
4
|
|
|
5
|
+
defineOptions({
|
|
6
|
+
name: 'UnnnicDrawerFooter',
|
|
7
|
+
});
|
|
8
|
+
|
|
5
9
|
const props = defineProps<{
|
|
6
10
|
class?: HTMLAttributes['class'];
|
|
7
11
|
}>();
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
|
-
import type
|
|
2
|
+
import { type HTMLAttributes } from 'vue';
|
|
3
3
|
import { cn } from '@/lib/utils';
|
|
4
4
|
import UnnnicButton from '@/components/Button/Button.vue';
|
|
5
5
|
import DrawerClose from './DrawerClose.vue';
|
|
6
6
|
|
|
7
|
+
defineOptions({
|
|
8
|
+
name: 'UnnnicDrawerHeader',
|
|
9
|
+
});
|
|
10
|
+
|
|
7
11
|
const props = defineProps<{
|
|
8
12
|
class?: HTMLAttributes['class'];
|
|
9
13
|
}>();
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
2
|
import type { DialogOverlayProps } from 'reka-ui';
|
|
3
|
-
import type
|
|
3
|
+
import { type HTMLAttributes } from 'vue';
|
|
4
4
|
import { reactiveOmit } from '@vueuse/core';
|
|
5
5
|
import { DrawerOverlay } from 'vaul-vue';
|
|
6
6
|
import { cn } from '@/lib/utils';
|
|
7
7
|
|
|
8
|
+
defineOptions({
|
|
9
|
+
name: 'UnnnicDrawerOverlay',
|
|
10
|
+
});
|
|
11
|
+
|
|
8
12
|
const props = defineProps<
|
|
9
13
|
DialogOverlayProps & { class?: HTMLAttributes['class'] }
|
|
10
14
|
>();
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
2
|
import type { DrawerTitleProps } from 'vaul-vue';
|
|
3
|
-
import type
|
|
3
|
+
import { type HTMLAttributes } from 'vue';
|
|
4
4
|
import { reactiveOmit } from '@vueuse/core';
|
|
5
5
|
import { DrawerTitle } from 'vaul-vue';
|
|
6
6
|
import { cn } from '@/lib/utils';
|
|
7
7
|
|
|
8
|
+
defineOptions({
|
|
9
|
+
name: 'UnnnicDrawerTitle',
|
|
10
|
+
});
|
|
11
|
+
|
|
8
12
|
const props = defineProps<
|
|
9
13
|
DrawerTitleProps & { class?: HTMLAttributes['class'] }
|
|
10
14
|
>();
|