@dataloop-ai/components 0.14.5 → 0.15.2

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.15.2",
4
4
  "exports": {
5
5
  ".": "./index.ts",
6
6
  "./models": "./models.ts",
@@ -217,9 +217,9 @@ body {
217
217
  --dl-color-lighter: #ffffff66;
218
218
  --dl-color-hover: #AEB9FF;
219
219
  --dl-color-disabled: #ffffff40;
220
- --dl-color-fill: #ffffff40;
221
- --dl-color-fill-secondary: #F8F8F8;
222
- --dl-color-fill-hover: #ffffff26;
220
+ --dl-color-fill: #ffffff0D;
221
+ --dl-color-fill-secondary: #F8F8F81A;
222
+ --dl-color-fill-hover: #ffffff1A;
223
223
  --dl-color-separator: #ffffff26;
224
224
  --dl-color-body-background: #24282D;
225
225
  --dl-color-panel-background: #30363D;
@@ -233,8 +233,8 @@ body {
233
233
  --dl-color-positive-background: #3A644E;
234
234
  --dl-color-info-background: #2F3C4B;
235
235
  --dl-color-icon-default: #ffffffbf;
236
- --dl-color-fill-secondary: #FFFFFF %10;
237
- --dl-color-fill-third: #9E9E9E %10;
236
+ --dl-color-fill-secondary: #FFFFFF1A;
237
+ --dl-color-fill-third: #9E9E9E1A;
238
238
  --dl-color-link: #53B2E8;
239
239
  --dl-color-info: #92CDF2;
240
240
  --dl-color-cell-background: #FFFAE2;
@@ -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',
@@ -78,8 +78,8 @@ export default defineComponent({
78
78
  id: { type: [String, Number], default: null },
79
79
  label: { type: String, default: null },
80
80
  padding: { type: String, default: '5px' },
81
- modelValue: { type: [String, Number], required: true },
82
- value: { type: [String, Number], required: true },
81
+ modelValue: { type: [String, Number, Boolean], required: true },
82
+ value: { type: [String, Number, Boolean], required: true },
83
83
  tabindex: { type: String, default: '0' },
84
84
  subLabel: { type: String, default: '' },
85
85
  subLabelSize: { type: String, default: '10px' }
@@ -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 {