@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/lib/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const _default: "1.5.0";
1
+ declare const _default: "1.5.1";
2
2
  export default _default;
package/lib/version.js CHANGED
@@ -1,4 +1,4 @@
1
- const e = "1.5.0";
1
+ const e = "1.5.1";
2
2
  export {
3
3
  e as default
4
4
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indielayer/ui",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "description": "Indielayer UI Components with Tailwind CSS build for Vue 3",
5
5
  "author": {
6
6
  "name": "João Teixeira",
@@ -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.0'
1
+ export default '1.5.1'