@dataloop-ai/components 0.14.5 → 0.14.6

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.14.5",
3
+ "version": "0.14.6",
4
4
  "exports": {
5
5
  ".": "./index.ts",
6
6
  "./models": "./models.ts",
@@ -15,7 +15,10 @@
15
15
  :class="classes"
16
16
  :style="styles"
17
17
  >
18
- <draggable-upper @move="movePopup" />
18
+ <draggable-upper
19
+ v-if="draggable"
20
+ @move="movePopup"
21
+ />
19
22
  <popup-header
20
23
  :title="title"
21
24
  :additional-info="additionalInfo"
@@ -157,7 +160,8 @@ export default defineComponent({
157
160
  maxHeight: { type: String, default: 'auto' },
158
161
  maxWidth: { type: String, default: 'auto' },
159
162
  height: { type: String, default: 'auto' },
160
- width: { type: String, default: 'auto' }
163
+ width: { type: String, default: 'auto' },
164
+ draggable: Boolean
161
165
  },
162
166
  emits: [
163
167
  'hide-button-click',
@@ -28,12 +28,12 @@
28
28
 
29
29
  th:first-child,
30
30
  td:first-child {
31
- padding-left: 16px;
31
+ padding-left: 8px;
32
32
  }
33
33
 
34
34
  th:last-child,
35
35
  td:last-child {
36
- padding-right: 16px;
36
+ padding-right: 8px;
37
37
  }
38
38
 
39
39
  thead tr {
@@ -55,7 +55,7 @@
55
55
  text-overflow: ellipsis;
56
56
  white-space: nowrap;
57
57
  overflow: hidden;
58
- padding: 10px 16px;
58
+ padding: 10px 8px;
59
59
  }
60
60
 
61
61
  th {