@dataloop-ai/components 0.20.236 → 0.20.237

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dataloop-ai/components",
3
- "version": "0.20.236",
3
+ "version": "0.20.237",
4
4
  "exports": {
5
5
  ".": "./index.ts",
6
6
  "./models": "./models.ts",
@@ -145,7 +145,7 @@
145
145
  </div>
146
146
  </div>
147
147
  <dl-menu
148
- v-if="!noOptions || !hideEmptyMenu"
148
+ v-if="!noOptions || !hideEmptyMenu || showAfterOptionsWhenEmpty"
149
149
  ref="menu"
150
150
  v-model="isExpanded"
151
151
  fit-container
@@ -327,7 +327,7 @@
327
327
  </div>
328
328
  </dl-list>
329
329
  <dl-list-item
330
- v-if="hasAfterOptions && !noOptions"
330
+ v-if="hasAfterOptions && (!noOptions || showAfterOptionsWhenEmpty)"
331
331
  :padding="afterOptionsPadding"
332
332
  >
333
333
  <dl-item-section>
@@ -531,6 +531,10 @@ export default defineComponent({
531
531
  type: Boolean,
532
532
  default: false
533
533
  },
534
+ showAfterOptionsWhenEmpty: {
535
+ type: Boolean,
536
+ default: false
537
+ },
534
538
  removeTabIndex: {
535
539
  type: Boolean,
536
540
  default: false