@indielayer/ui 1.5.0 → 1.5.1
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/docs/pages/component/modal/composed.vue +7 -0
- package/docs/pages/component/modal/usage.vue +1 -1
- package/lib/components/button/Button.vue.js +2 -2
- package/lib/components/button/Button.vue2.js +26 -26
- package/lib/components/modal/Modal.vue.js +34 -32
- package/lib/index.js +1 -1
- package/lib/index.umd.js +2 -2
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
- package/src/components/button/Button.vue +1 -1
- package/src/components/modal/Modal.vue +4 -2
- package/src/version.ts +1 -1
package/lib/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "1.5.
|
|
1
|
+
declare const _default: "1.5.1";
|
|
2
2
|
export default _default;
|
package/lib/version.js
CHANGED
package/package.json
CHANGED
|
@@ -122,7 +122,7 @@ defineExpose({ focus, blur })
|
|
|
122
122
|
:label="loadingLabel"
|
|
123
123
|
:status="loadingStatus"
|
|
124
124
|
/>
|
|
125
|
-
<div :class="{ 'invisible': loading }">
|
|
125
|
+
<div class="inline-flex items-center justify-center" :class="{ 'invisible': loading }">
|
|
126
126
|
<x-icon
|
|
127
127
|
v-if="computedIconLeft"
|
|
128
128
|
:size="computedSize"
|
|
@@ -89,7 +89,9 @@ watch(value, (val) => {
|
|
|
89
89
|
|
|
90
90
|
if (val) {
|
|
91
91
|
setTimeout(() => {
|
|
92
|
-
stopClickOutside = onClickOutside(modalRef, clickOutsideCallback
|
|
92
|
+
stopClickOutside = onClickOutside(modalRef, clickOutsideCallback, {
|
|
93
|
+
ignore: ['.v-popper__popper'],
|
|
94
|
+
})
|
|
93
95
|
})
|
|
94
96
|
}
|
|
95
97
|
})
|
|
@@ -187,7 +189,7 @@ defineExpose({ open, close })
|
|
|
187
189
|
role="dialog"
|
|
188
190
|
aria-modal="true"
|
|
189
191
|
aria-labelledby="modal-headline"
|
|
190
|
-
@submit="$emit('submit')"
|
|
192
|
+
@submit="(isValid: boolean) => $emit('submit', isValid)"
|
|
191
193
|
>
|
|
192
194
|
<slot name="image"></slot>
|
|
193
195
|
<div v-if="hasHeader" :class="classes.header">
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export default '1.5.
|
|
1
|
+
export default '1.5.1'
|