@dataloop-ai/components 0.19.79 → 0.19.81
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/package.json
CHANGED
|
@@ -88,6 +88,7 @@
|
|
|
88
88
|
separate-close-popup
|
|
89
89
|
:disabled="disabled"
|
|
90
90
|
:max-height="maxHeight"
|
|
91
|
+
:max-width="menuMaxWidth"
|
|
91
92
|
@before-show="onBeforeShow"
|
|
92
93
|
@show="onShow"
|
|
93
94
|
@before-hide="onBeforeHide"
|
|
@@ -148,6 +149,7 @@
|
|
|
148
149
|
separate-close-popup
|
|
149
150
|
:disabled="disabled"
|
|
150
151
|
:max-height="maxHeight"
|
|
152
|
+
:max-width="menuMaxWidth"
|
|
151
153
|
:arrow-nav-items="arrowNavItems"
|
|
152
154
|
@before-show="onBeforeShow"
|
|
153
155
|
@show="onShow"
|
|
@@ -215,6 +217,7 @@ export default defineComponent({
|
|
|
215
217
|
default: 'top end'
|
|
216
218
|
},
|
|
217
219
|
menuOffset: { type: Array, default: () => [0, 0] },
|
|
220
|
+
menuMaxWidth: { type: String, default: null },
|
|
218
221
|
disableMainButton: Boolean,
|
|
219
222
|
disableDropdown: Boolean,
|
|
220
223
|
noIconAnimation: Boolean,
|
|
@@ -427,7 +427,9 @@
|
|
|
427
427
|
</template>
|
|
428
428
|
<DlTr v-if="isDataEmpty">
|
|
429
429
|
<DlTd colspan="100%">
|
|
430
|
-
<div
|
|
430
|
+
<div
|
|
431
|
+
class="flex justify-center full-width empty-state-wrapper"
|
|
432
|
+
>
|
|
431
433
|
<dl-empty-state v-bind="emptyStateProps">
|
|
432
434
|
<template
|
|
433
435
|
v-for="(_, slot) in $slots"
|
|
@@ -843,7 +845,9 @@
|
|
|
843
845
|
<slot name="no-data">
|
|
844
846
|
<DlTr v-if="isDataEmpty && hasEmptyStateProps && !loading">
|
|
845
847
|
<DlTd colspan="100%">
|
|
846
|
-
<div
|
|
848
|
+
<div
|
|
849
|
+
class="flex justify-center full-width empty-state-wrapper"
|
|
850
|
+
>
|
|
847
851
|
<dl-empty-state v-bind="emptyStateProps">
|
|
848
852
|
<template
|
|
849
853
|
v-for="(_, slot) in $slots"
|
|
@@ -2067,4 +2071,8 @@ th,
|
|
|
2067
2071
|
td {
|
|
2068
2072
|
box-sizing: border-box;
|
|
2069
2073
|
}
|
|
2074
|
+
|
|
2075
|
+
.empty-state-wrapper {
|
|
2076
|
+
margin-top: 16px;
|
|
2077
|
+
}
|
|
2070
2078
|
</style>
|