@dataloop-ai/components 0.16.33 → 0.16.35

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.16.33",
3
+ "version": "0.16.35",
4
4
  "exports": {
5
5
  ".": "./index.ts",
6
6
  "./models": "./models.ts",
@@ -340,6 +340,7 @@ export default defineComponent({
340
340
  padding: 0;
341
341
  flex: 10000 1 0%;
342
342
  flex-wrap: nowrap;
343
+ line-height: 1;
343
344
  z-index: 0;
344
345
  user-select: none !important;
345
346
  min-width: 1.5em;
@@ -60,6 +60,7 @@
60
60
  }`"
61
61
  />
62
62
  <dl-icon
63
+ class="expand-icon"
63
64
  :class="iconClass"
64
65
  :icon="dropdownIcon"
65
66
  :size="iconSize"
@@ -446,8 +447,29 @@ export default defineComponent({
446
447
  }
447
448
  }
448
449
  }
450
+
451
+ .expand-icon {
452
+ display: flex !important;
453
+ justify-content: center !important;
454
+ align-items: center;
455
+ color: var(--dl-color-medium);
456
+ transition-property: transform, -webkit-transform;
457
+ transition-duration: 0.28s, 0.28s;
458
+ transition-timing-function: ease, ease;
459
+ transition-delay: 0s, 0s;
460
+ &.expanded {
461
+ transform: rotate(180deg);
462
+ }
463
+ }
449
464
  }
450
465
  ::v-deep .dl-button-no-wrap {
451
466
  flex-grow: 1;
452
467
  }
453
468
  </style>
469
+ <style lang="scss">
470
+ .dl-btn-dropdown {
471
+ .dl-btn-content {
472
+ line-height: unset;
473
+ }
474
+ }
475
+ </style>