@dataloop-ai/components 0.17.28 → 0.17.29

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.28",
3
+ "version": "0.17.29",
4
4
  "exports": {
5
5
  ".": "./index.ts",
6
6
  "./models": "./models.ts",
@@ -481,6 +481,7 @@ export default defineComponent({
481
481
  .popup-content {
482
482
  max-width: 100%;
483
483
  padding: 0 16px;
484
+ height: 100%;
484
485
  }
485
486
 
486
487
  .popup-footer {
@@ -22,7 +22,6 @@
22
22
  </template>
23
23
  </dl-popup>
24
24
  </dl-button>
25
- <div />
26
25
  <dl-button label="Open Popup persistent">
27
26
  <dl-popup
28
27
  title="Edit Item Description"
@@ -54,6 +53,37 @@
54
53
  </template>
55
54
  </dl-popup>
56
55
  </dl-button>
56
+ <dl-button label="Open Popup with max height 50px">
57
+ <dl-popup
58
+ title="Edit Item Description"
59
+ additional-info="Some additional information"
60
+ subtitle="Some text for better explanation."
61
+ with-close-button
62
+ max-height="50px"
63
+ >
64
+ <dl-text-area
65
+ v-model="text"
66
+ :max-length="100"
67
+ show-counter
68
+ placeholder="Type your text"
69
+ width="203px"
70
+ />
71
+ <template #close-button>
72
+ <dl-button
73
+ flat
74
+ style="padding-bottom: 0; padding-top: 0"
75
+ label="clear"
76
+ size="m"
77
+ @click="handleClear"
78
+ />
79
+ </template>
80
+ <template #footer>
81
+ <dl-button fluid>
82
+ Save
83
+ </dl-button>
84
+ </template>
85
+ </dl-popup>
86
+ </dl-button>
57
87
  </div>
58
88
  </template>
59
89
  <script lang="ts">