@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dataloop-ai/components",
3
- "version": "0.18.80",
3
+ "version": "0.18.82",
4
4
  "exports": {
5
5
  ".": "./index.ts",
6
6
  "./models": "./models.ts",
@@ -618,6 +618,7 @@ export default defineComponent({
618
618
  width: var(--dl-card-width);
619
619
 
620
620
  &--content {
621
+ overflow-wrap: anywhere;
621
622
  padding: var(--dl-card-content-padding);
622
623
  &_text {
623
624
  font-size: 12px;
@@ -1,6 +1,6 @@
1
1
  import { ComputedRef } from 'vue-demi'
2
2
 
3
- export type VirtualScrollParamsType = {
3
+ export type DlVirtualScrollParamsType = {
4
4
  virtualScrollLength: ComputedRef<number>
5
5
  getVirtualScrollTarget: () => HTMLElement | undefined
6
6
  getVirtualScrollEl: () => HTMLElement
@@ -0,0 +1,4 @@
1
+ export * from './types'
2
+
3
+ import { ScrollDetails as DlVirtualScrollScrollDetails } from './useVirtualScroll'
4
+ export type { DlVirtualScrollScrollDetails }
@@ -15,7 +15,7 @@ import {
15
15
  Ref
16
16
  } from 'vue-demi'
17
17
  import { noop } from '../../../utils/events'
18
- import { VirtualScrollParamsType } from './types/VirtualScrollParamsType'
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
- }: VirtualScrollParamsType) {
285
+ }: DlVirtualScrollParamsType) {
286
286
  const vm = getCurrentInstance()
287
287
 
288
288
  const { props, emit, proxy } = vm
@@ -5,3 +5,5 @@ export enum DlTextTransformOptions {
5
5
  LOWERCASE = 'lowercase',
6
6
  DEFAULT = 'default' // Default behavior is to make only the first letter of the sentence is capital
7
7
  }
8
+
9
+ export * from './DlVirtualScroll/types'
@@ -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