@dataloop-ai/components 0.18.80 → 0.18.82
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 +1 -1
- package/src/components/compound/DlCard/DlCard.vue +1 -0
- package/src/components/shared/DlVirtualScroll/types/VirtualScrollParamsType.ts +1 -1
- package/src/components/shared/DlVirtualScroll/types.ts +4 -0
- package/src/components/shared/DlVirtualScroll/useVirtualScroll.ts +2 -2
- package/src/components/shared/types.ts +2 -0
- package/src/demos/DlCardDemo.vue +7 -0
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
Ref
|
|
16
16
|
} from 'vue-demi'
|
|
17
17
|
import { noop } from '../../../utils/events'
|
|
18
|
-
import {
|
|
18
|
+
import { DlVirtualScrollParamsType } from './types/VirtualScrollParamsType'
|
|
19
19
|
|
|
20
20
|
export interface ScrollDetails {
|
|
21
21
|
scrollStart: number
|
|
@@ -282,7 +282,7 @@ export function useVirtualScroll({
|
|
|
282
282
|
getVirtualScrollEl,
|
|
283
283
|
virtualScrollItemSizeComputed, // optional
|
|
284
284
|
debounceValue
|
|
285
|
-
}:
|
|
285
|
+
}: DlVirtualScrollParamsType) {
|
|
286
286
|
const vm = getCurrentInstance()
|
|
287
287
|
|
|
288
288
|
const { props, emit, proxy } = vm
|
package/src/demos/DlCardDemo.vue
CHANGED
|
@@ -73,6 +73,13 @@
|
|
|
73
73
|
</div>
|
|
74
74
|
</template>
|
|
75
75
|
</DlCard>
|
|
76
|
+
|
|
77
|
+
<div>Text Card</div>
|
|
78
|
+
<DlCard
|
|
79
|
+
title="This-test--tes-tes-t-est-set-se-tse-t-est-set-se-ts-et-set-se-ts-et-set-tse-tse-tes-t"
|
|
80
|
+
text="sdaljfaldksfj;asdjfal;ksdf;ajksd;faj;lskdf;alkjsdflk;ajsd;lfjas;ldjfa;ldsjfals;dj"
|
|
81
|
+
:links="interactiveProps.links"
|
|
82
|
+
/>
|
|
76
83
|
</div>
|
|
77
84
|
</template>
|
|
78
85
|
|