@dataloop-ai/components 0.17.79 → 0.17.81

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.17.79",
3
+ "version": "0.17.81",
4
4
  "exports": {
5
5
  ".": "./index.ts",
6
6
  "./models": "./models.ts",
@@ -93,7 +93,18 @@ export default defineComponent({
93
93
  }
94
94
  },
95
95
  emits: ['update:modelValue', 'hide', 'show'],
96
- data() {
96
+ data(): {
97
+ uuid: string
98
+ show: boolean
99
+ draggableOptions: {
100
+ draggableX: number
101
+ draggableY: number
102
+ originalX: number
103
+ originalY: number
104
+ draggableCursor: string
105
+ }
106
+ visibleDragIcon: boolean
107
+ } {
97
108
  return {
98
109
  uuid: `dl-dialog-box-${v4()}`,
99
110
  show: this.modelValue,
@@ -123,7 +134,7 @@ export default defineComponent({
123
134
  }px`
124
135
  }
125
136
  },
126
- iconStyles() {
137
+ iconStyles(): Record<string, string> {
127
138
  return {
128
139
  cursor: this.draggableOptions.draggableCursor,
129
140
  visibility: this.visibleDragIcon ? 'visible' : 'hidden'
@@ -102,6 +102,8 @@ export default defineComponent({
102
102
  --jse-background-color: var(--dl-color-tooltip-text);
103
103
  --jse-value-color-boolean: #ae6307;
104
104
  --jse-value-color-string: #337433;
105
+ --jse-panel-background: var(--dl-color-fill);
106
+ --jse-panel-border: var(--dl-color-separator);
105
107
  height: 100%;
106
108
  .jse-error {
107
109
  display: none !important;
@@ -26,7 +26,7 @@
26
26
  />
27
27
  </template>
28
28
  <template #body>
29
- <div style="height: 200px">
29
+ <div style="height: 350px">
30
30
  <dl-json-editor v-model="dialogJsonModel" />
31
31
  </div>
32
32
  </template>