@nexxtmove/ui 1.0.7 → 1.0.8
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/index.d.ts +1 -0
- package/dist/index.js +17 -13
- package/package.json +1 -1
- package/src/components/Modal/Modal.vue +2 -1
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -6359,19 +6359,23 @@ var ls = /* @__PURE__ */ g({
|
|
|
6359
6359
|
onEscapeKeyDown: s[2] ||= (t) => !e.dismissible && t.preventDefault()
|
|
6360
6360
|
}, {
|
|
6361
6361
|
default: F(() => [
|
|
6362
|
-
e.title || n.value ? (D(), u("div", Ws, [d("div", null, [
|
|
6363
|
-
|
|
6364
|
-
|
|
6365
|
-
|
|
6366
|
-
|
|
6367
|
-
|
|
6368
|
-
|
|
6369
|
-
|
|
6370
|
-
|
|
6371
|
-
|
|
6372
|
-
|
|
6373
|
-
|
|
6374
|
-
|
|
6362
|
+
e.title || n.value || o.$slots.header ? (D(), u("div", Ws, [d("div", null, [
|
|
6363
|
+
e.title ? (D(), c(N(pe), {
|
|
6364
|
+
key: 0,
|
|
6365
|
+
class: "heading-2"
|
|
6366
|
+
}, {
|
|
6367
|
+
default: F(() => [m(M(e.title), 1)]),
|
|
6368
|
+
_: 1
|
|
6369
|
+
})) : l("", !0),
|
|
6370
|
+
n.value ? (D(), c(N(le), {
|
|
6371
|
+
key: 1,
|
|
6372
|
+
class: "small-normal"
|
|
6373
|
+
}, {
|
|
6374
|
+
default: F(() => [m(M(n.value), 1)]),
|
|
6375
|
+
_: 1
|
|
6376
|
+
})) : l("", !0),
|
|
6377
|
+
A(o.$slots, "header")
|
|
6378
|
+
]), e.showClose ? (D(), c(N(se), {
|
|
6375
6379
|
key: 0,
|
|
6376
6380
|
class: "ml-4 shrink-0 cursor-pointer rounded p-1 focus-visible:outline-2"
|
|
6377
6381
|
}, {
|
package/package.json
CHANGED
|
@@ -85,7 +85,7 @@ const sizeClass = {
|
|
|
85
85
|
@escape-key-down="!dismissible && $event.preventDefault()"
|
|
86
86
|
>
|
|
87
87
|
<div
|
|
88
|
-
v-if="title || description"
|
|
88
|
+
v-if="title || description || $slots.header"
|
|
89
89
|
class="flex items-start justify-between border-b border-gray-200 px-6 py-5"
|
|
90
90
|
>
|
|
91
91
|
<div>
|
|
@@ -93,6 +93,7 @@ const sizeClass = {
|
|
|
93
93
|
<DialogDescription v-if="description" class="small-normal">
|
|
94
94
|
{{ description }}
|
|
95
95
|
</DialogDescription>
|
|
96
|
+
<slot name="header" />
|
|
96
97
|
</div>
|
|
97
98
|
<DialogClose
|
|
98
99
|
v-if="showClose"
|