@dataloop-ai/components 0.17.55 → 0.17.57

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.55",
3
+ "version": "0.17.57",
4
4
  "exports": {
5
5
  ".": "./index.ts",
6
6
  "./models": "./models.ts",
@@ -213,6 +213,7 @@ export default defineComponent({
213
213
 
214
214
  &_icon {
215
215
  margin-right: 7px;
216
+ margin-top: 2px;
216
217
  vertical-align: middle;
217
218
  }
218
219
 
@@ -295,6 +295,14 @@ export default defineComponent({
295
295
  : getGradationValues(this.matrix)
296
296
  }
297
297
  },
298
+ watch: {
299
+ matrix: {
300
+ handler(value) {
301
+ this.currentBrushState.max = value.length
302
+ this.resizeMatrix()
303
+ }
304
+ }
305
+ },
298
306
  mounted() {
299
307
  if (!this.isValidMatrix) return
300
308
  this.resizeMatrix()