@imaginario27/air-ui-ds 1.2.1 → 1.2.3
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.
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
:modelValue
|
|
4
4
|
:closeOnClickOutside
|
|
5
5
|
:hasCornerCloseButton
|
|
6
|
-
:
|
|
6
|
+
:cardClass
|
|
7
7
|
@update:modelValue="updateModelValue"
|
|
8
8
|
>
|
|
9
9
|
<ModalContent class="!gap-6 items-center">
|
|
@@ -111,7 +111,7 @@ defineProps({
|
|
|
111
111
|
default: Orientation.HORIZONTAL,
|
|
112
112
|
validator: (value: Orientation) => Object.values(Orientation).includes(value),
|
|
113
113
|
},
|
|
114
|
-
|
|
114
|
+
cardClass: {
|
|
115
115
|
type: String as PropType<string>,
|
|
116
116
|
default: 'max-w-[520px]',
|
|
117
117
|
},
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
:modelValue
|
|
4
4
|
:closeOnClickOutside
|
|
5
5
|
:hasCornerCloseButton
|
|
6
|
-
:
|
|
6
|
+
:cardClass
|
|
7
7
|
@update:modelValue="updateModelValue"
|
|
8
8
|
>
|
|
9
9
|
<ModalContent class="!gap-6 items-center">
|
|
@@ -105,7 +105,7 @@ defineProps({
|
|
|
105
105
|
default: Orientation.VERTICAL,
|
|
106
106
|
validator: (value: Orientation) => Object.values(Orientation).includes(value),
|
|
107
107
|
},
|
|
108
|
-
|
|
108
|
+
cardClass: {
|
|
109
109
|
type: String as PropType<string>,
|
|
110
110
|
default: 'max-w-[520px]',
|
|
111
111
|
},
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
'bg-background-surface rounded-lg shadow-xl',
|
|
47
47
|
'relative w-full my-8',
|
|
48
48
|
'overflow-visible',
|
|
49
|
-
|
|
49
|
+
cardClass,
|
|
50
50
|
]"
|
|
51
51
|
>
|
|
52
52
|
<ActionIconButton
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
@click="closeModal"
|
|
59
59
|
/>
|
|
60
60
|
|
|
61
|
-
<div :class="['p-4 md:p-6',
|
|
61
|
+
<div :class="['p-4 md:p-6', cardClass]">
|
|
62
62
|
<slot />
|
|
63
63
|
</div>
|
|
64
64
|
</div>
|
|
@@ -86,7 +86,7 @@ const props = defineProps({
|
|
|
86
86
|
},
|
|
87
87
|
overlayClass: String as PropType<string>,
|
|
88
88
|
containerClass: String as PropType<string>,
|
|
89
|
-
|
|
89
|
+
cardClass: {
|
|
90
90
|
type: String as PropType<string>,
|
|
91
91
|
default: 'max-w-[600px]',
|
|
92
92
|
},
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
:modelValue
|
|
4
4
|
:closeOnClickOutside
|
|
5
5
|
:hasCornerCloseButton
|
|
6
|
-
:
|
|
6
|
+
:cardClass
|
|
7
7
|
@update:modelValue="updateModelValue"
|
|
8
8
|
>
|
|
9
9
|
<ModalContent class="!gap-6 items-center">
|
|
@@ -54,7 +54,7 @@ defineProps({
|
|
|
54
54
|
type: String as PropType<string>,
|
|
55
55
|
default: 'Close',
|
|
56
56
|
},
|
|
57
|
-
|
|
57
|
+
cardClass: {
|
|
58
58
|
type: String as PropType<string>,
|
|
59
59
|
default: 'max-w-[400px]',
|
|
60
60
|
},
|