@dataloop-ai/components 0.17.12 → 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.12",
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"
@@ -151,7 +152,6 @@
151
152
  >
152
153
  <dl-list
153
154
  class="select-list"
154
- :style="dropdownCSSVars"
155
155
  :padding="false"
156
156
  >
157
157
  <dl-list-item v-if="noOptions">
@@ -551,11 +551,6 @@ export default defineComponent({
551
551
  : '28px'
552
552
  }
553
553
  },
554
- dropdownCSSVars(): Record<string, string> {
555
- return {
556
- '--dl-select-dropdown-max-height': this.dropdownMaxHeight
557
- }
558
- },
559
554
  asteriskClasses(): string[] {
560
555
  const classes = ['required-asterisk']
561
556
  if (this.redAsterisk) {
@@ -965,6 +960,7 @@ export default defineComponent({
965
960
  background-color: var(--dl-color-fill);
966
961
  }
967
962
 
963
+ //todo: This doesnt work because of portal.
968
964
  .select-list {
969
965
  padding: 5px 0;
970
966
  max-height: var(--dl-select-dropdown-max-height);
@@ -3,6 +3,7 @@
3
3
  :is="tag"
4
4
  :id="uuid"
5
5
  :class="classes"
6
+ :style="cssVars"
6
7
  >
7
8
  <slot :clickable="clickable" />
8
9
  </component>