@dataloop-ai/components 0.19.151 → 0.19.153

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.19.151",
3
+ "version": "0.19.153",
4
4
  "exports": {
5
5
  ".": "./index.ts",
6
6
  "./models": "./models.ts",
@@ -205,7 +205,7 @@ body {
205
205
  --dl-color-fill-third: #fbfbfb;
206
206
  --dl-color-link: #20abfa;
207
207
  --dl-color-cell-background: #fffae2;
208
- --dl-color-disabled-slider: #e4e4e4;
208
+ --dl-color-disabled-slider: #B3B3B3;
209
209
  --q-color-positive: #38d079;
210
210
  --q-color-warning: #e1b75b;
211
211
 
@@ -468,13 +468,15 @@ export default defineComponent({
468
468
  emit('focus')
469
469
  }
470
470
 
471
- const processBlur = () => {
471
+ const processBlur = (force: boolean = false) => {
472
472
  input.value.scrollLeft = 0
473
473
  input.value.scrollTop = 0
474
474
  focused.value = false
475
475
  expanded.value = true
476
- updateJSONQuery()
477
- emit('blur')
476
+ if (!force) {
477
+ updateJSONQuery()
478
+ emit('blur')
479
+ }
478
480
  }
479
481
 
480
482
  const blur = (
@@ -497,7 +499,7 @@ export default defineComponent({
497
499
  return
498
500
  }
499
501
 
500
- processBlur()
502
+ processBlur(force)
501
503
  } else {
502
504
  focus()
503
505
  cancelBlur.value = cancelBlur.value - 1
@@ -97,8 +97,8 @@ export function useTablePaginationState(
97
97
  const computedPagination = computed(() => {
98
98
  const pag = pagination.value
99
99
  ? {
100
- ...innerPagination.value,
101
- ...pagination.value
100
+ ...pagination.value,
101
+ ...innerPagination.value
102
102
  }
103
103
  : innerPagination.value
104
104
 
@@ -364,14 +364,6 @@
364
364
  bottom: 0;
365
365
  pointer-events: none;
366
366
  }
367
-
368
- &:before {
369
- // background-color: var(--dl-color-fill-hover);
370
- }
371
-
372
- &:after {
373
- // background-color: var(--dl-color-fill);
374
- }
375
367
  }
376
368
 
377
369
  tr.selected td:after {
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div>
3
- <div style="padding-bottom: 10px">
3
+ <div style="padding-bottom: 10px; max-width: 100px">
4
4
  <div>Number input</div>
5
5
  <dl-input
6
6
  v-model="numberVal"
@@ -100,7 +100,8 @@
100
100
  :draggable="draggable"
101
101
  :dense="dense"
102
102
  :pagination="{
103
- rowsPerPage: 10
103
+ rowsPerPage: 10,
104
+ page: 2
104
105
  }"
105
106
  class="sticky-header"
106
107
  :filter="filter"