@dataloop-ai/components 0.20.169 → 0.20.171

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.169",
3
+ "version": "0.20.171",
4
4
  "exports": {
5
5
  ".": "./index.ts",
6
6
  "./models": "./models.ts",
@@ -23,7 +23,7 @@
23
23
  "check-only": "if grep -E -H -r --exclude-dir=.git --exclude-dir=node_modules --exclude=*.json --exclude=*.yml '^(describe|it).only' .; then echo 'Found only in test files' && exit 1; fi"
24
24
  },
25
25
  "dependencies": {
26
- "@dataloop-ai/icons": "^3.1.33",
26
+ "@dataloop-ai/icons": "^3.1.37",
27
27
  "@types/flat": "^5.0.2",
28
28
  "@types/lodash": "^4.14.184",
29
29
  "@types/sortablejs": "^1.15.7",
@@ -78,6 +78,7 @@ export default defineComponent({
78
78
  props: {
79
79
  width: { type: [Number, String], default: 400 },
80
80
  height: { type: [Number, String], default: 'fit-content' },
81
+ hideHeader: { type: Boolean, default: false },
81
82
  fullscreen: Boolean,
82
83
  fullHeight: Boolean,
83
84
  separators: { type: Boolean, default: true },
@@ -176,7 +177,7 @@ export default defineComponent({
176
177
  return !!parentClassList?.contains('content')
177
178
  },
178
179
  hasHeader(): boolean {
179
- return !!this.$slots.header
180
+ return !!this.$slots.header && !this.hideHeader
180
181
  },
181
182
  hasFooter(): boolean {
182
183
  return !!this.$slots.footer
@@ -101,7 +101,9 @@
101
101
  v-if="multiselect && (!searchable || !isExpanded)"
102
102
  class="root-container--placeholder"
103
103
  >
104
- <template v-if="allFiltersModel">
104
+ <template
105
+ v-if="allFiltersModel || isAllOptionsSelected"
106
+ >
105
107
  <dl-ellipsis :text="computedAllItemsLabel" />
106
108
  </template>
107
109
  <template v-else>
@@ -426,6 +428,7 @@ export default defineComponent({
426
428
  alignRight: { type: Boolean, default: false },
427
429
  allItemsOption: { type: Boolean, default: false },
428
430
  allItemsOptionLabel: { type: String, default: null },
431
+ isAllOptionsSelected: { type: Boolean, default: false },
429
432
  placeholder: { type: String, default: null },
430
433
  removableSelection: { type: Boolean, default: false },
431
434
  width: { type: String, default: '100%' },