@dataloop-ai/components 0.17.13 → 0.17.14

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.13",
3
+ "version": "0.17.14",
4
4
  "exports": {
5
5
  ".": "./index.ts",
6
6
  "./models": "./models.ts",
@@ -144,6 +144,7 @@
144
144
  style="border-radius: 0"
145
145
  :disabled="disabled || readonly"
146
146
  :arrow-nav-items="options"
147
+ :max-height="dropdownMaxHeight"
147
148
  @show="onMenuOpen"
148
149
  @hide="closeMenu"
149
150
  @highlightedIndex="setHighlightedIndex"
@@ -152,7 +153,6 @@
152
153
  <dl-list
153
154
  class="select-list"
154
155
  :padding="false"
155
- :max-height="dropdownMaxHeight"
156
156
  >
157
157
  <dl-list-item v-if="noOptions">
158
158
  <dl-item-section color="dl-color-medium">
@@ -22,10 +22,6 @@ export default defineComponent({
22
22
  tag: {
23
23
  type: String,
24
24
  default: 'div'
25
- },
26
- maxHeight: {
27
- type: String,
28
- default: '30vh'
29
25
  }
30
26
  },
31
27
  data() {
@@ -41,11 +37,6 @@ export default defineComponent({
41
37
  (this.separator ? ' dl-list--separator' : '') +
42
38
  (this.padding ? ' dl-list--padding' : '')
43
39
  )
44
- },
45
- cssVars(): Record<string, string> {
46
- return {
47
- '--dl-list-calculated-max-height': this.maxHeight
48
- }
49
40
  }
50
41
  }
51
42
  })
@@ -72,6 +63,5 @@ export default defineComponent({
72
63
  &--padding {
73
64
  padding: 8px 0;
74
65
  }
75
- max-height: var(--dl-list-max-height, --dl-list-calculated-max-height);
76
66
  }
77
67
  </style>