@dataloop-ai/components 0.20.169 → 0.20.170

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.170",
4
4
  "exports": {
5
5
  ".": "./index.ts",
6
6
  "./models": "./models.ts",
@@ -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