sprintify-ui 0.9.1 → 0.9.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.
@@ -13,6 +13,7 @@ declare function __VLS_template(): {
13
13
  index: number;
14
14
  }): any;
15
15
  checkedHeader?(_: any): any;
16
+ empty?(_: {}): any;
16
17
  filters?(_: {
17
18
  query: {
18
19
  [x: string]: any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sprintify-ui",
3
- "version": "0.9.1",
3
+ "version": "0.9.3",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "build": "rimraf dist && vue-tsc && vite build",
@@ -170,7 +170,7 @@ const styles = computed(() => {
170
170
  });
171
171
 
172
172
  const containerClass = computed(() => {
173
- const classes = ['flex items-center justify-center'];
173
+ const classes = ['flex items-center justify-between w-full'];
174
174
 
175
175
  if (props.loading) {
176
176
  classes.push('opacity-0');
@@ -160,15 +160,19 @@
160
160
  </div>
161
161
  <div
162
162
  v-else-if="dataIteratorProps.firstLoad"
163
- class="flex items-center justify-center py-16"
164
163
  >
165
- <div class="flex flex-col items-center">
166
- <BaseEmptyState class="w-24" />
167
-
168
- <p class="mt-3 text-center text-sm text-slate-600">
169
- {{ t('sui.nothing_found') }}
170
- </p>
171
- </div>
164
+ <slot name="empty">
165
+ <div class="flex items-center justify-center py-16">
166
+
167
+ <div class="flex flex-col items-center">
168
+ <BaseEmptyState class="w-24" />
169
+
170
+ <p class="mt-3 text-center text-sm text-slate-600">
171
+ {{ t('sui.nothing_found') }}
172
+ </p>
173
+ </div>
174
+ </div>
175
+ </slot>
172
176
  </div>
173
177
  </template>
174
178
  </BaseDataTableTemplate>