@dataloop-ai/components 0.19.89 → 0.19.91

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.89",
3
+ "version": "0.19.91",
4
4
  "exports": {
5
5
  ".": "./index.ts",
6
6
  "./models": "./models.ts",
@@ -115,7 +115,8 @@ export default defineComponent({
115
115
  rowGap,
116
116
  columnGap,
117
117
  maxElementsPerRow,
118
- items
118
+ items,
119
+ virtualScroll
119
120
  } = toRefs(props)
120
121
 
121
122
  const isLayoutMode = computed(() => mode.value == DlGridMode.LAYOUT)
@@ -130,8 +131,8 @@ export default defineComponent({
130
131
 
131
132
  const hasVirtualScroll = computed(
132
133
  () =>
133
- props.items?.length > props.virtualScrollThreshold &&
134
- props.virtualScroll
134
+ items.value?.length > props.virtualScrollThreshold ||
135
+ virtualScroll.value
135
136
  )
136
137
 
137
138
  const gridStyles = computed(() => {
@@ -16,7 +16,7 @@
16
16
  >
17
17
  <div
18
18
  :for="individualProps[index].id"
19
- style="display: inline-flex; gap: 5px"
19
+ style="display: inline-flex; margin-right: 5px"
20
20
  >
21
21
  <span>{{ option.label }}</span>
22
22
  <span
@@ -180,6 +180,7 @@
180
180
  icon="icon-dl-column"
181
181
  tooltip="Manage columns"
182
182
  :disabled="isDataEmpty"
183
+ padding="0"
183
184
  >
184
185
  <slot
185
186
  name="header-cell-visible-columns-menu"
@@ -570,6 +571,7 @@
570
571
  icon="icon-dl-column"
571
572
  tooltip="Manage columns"
572
573
  :disabled="isDataEmpty"
574
+ padding="0"
573
575
  >
574
576
  <slot
575
577
  name="header-cell-visible-columns-menu"
@@ -276,6 +276,7 @@
276
276
  line-height: 14px;
277
277
 
278
278
  .dl-table__control {
279
+ width: 100%;
279
280
  min-height: 24px;
280
281
  }
281
282
  }