@dataloop-ai/components 0.18.17 → 0.18.19

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.17",
3
+ "version": "0.18.19",
4
4
  "exports": {
5
5
  ".": "./index.ts",
6
6
  "./models": "./models.ts",
@@ -77,7 +77,7 @@ import { colorNames } from '../../../utils/css-color-names'
77
77
  import { useSizeObserver } from '../../../hooks/use-size-observer'
78
78
  import { v4 } from 'uuid'
79
79
  import { ButtonColors } from './types'
80
- import { transformOptions } from '../../shared/types'
80
+ import { DlTransformOptions } from '../../shared/types'
81
81
  import { stringStyleToRecord } from '../../../utils'
82
82
  import { textTransform } from '../../../utils/string'
83
83
  import { isString } from 'lodash'
@@ -153,7 +153,7 @@ export default defineComponent({
153
153
  type: String,
154
154
  default: 'default',
155
155
  validator: (value: string): boolean =>
156
- transformOptions.includes(value)
156
+ DlTransformOptions.includes(value)
157
157
  },
158
158
  /**
159
159
  * Doesn't allow the button's text to be wrapped along multiple rows
@@ -63,7 +63,7 @@ import {
63
63
  setRemoveIconWidth
64
64
  } from './utils'
65
65
  import { v4 } from 'uuid'
66
- import { transformOptions } from '../../shared/types'
66
+ import { DlTransformOptions } from '../../shared/types'
67
67
 
68
68
  export default defineComponent({
69
69
  name: 'DlChip',
@@ -87,7 +87,7 @@ export default defineComponent({
87
87
  type: String,
88
88
  default: 'default',
89
89
  validator: (value: string): boolean =>
90
- transformOptions.includes(value)
90
+ DlTransformOptions.includes(value)
91
91
  },
92
92
  overflow: { type: Boolean, default: false },
93
93
  fit: { type: Boolean, default: false }
@@ -188,7 +188,7 @@ import {
188
188
  Ref
189
189
  } from 'vue-demi'
190
190
  import { v4 } from 'uuid'
191
- import { transformOptions } from '../../shared/types'
191
+ import { DlTransformOptions } from '../../shared/types'
192
192
 
193
193
  export default defineComponent({
194
194
  name: 'DlDropdownButton',
@@ -241,7 +241,7 @@ export default defineComponent({
241
241
  type: String,
242
242
  default: 'default',
243
243
  validator: (value: string): boolean =>
244
- transformOptions.includes(value)
244
+ DlTransformOptions.includes(value)
245
245
  },
246
246
  outlined: Boolean,
247
247
  padding: { type: String, default: '5px' },
@@ -12,7 +12,7 @@
12
12
  import { v4 } from 'uuid'
13
13
  import { defineComponent, PropType } from 'vue-demi'
14
14
  import { getColor } from '../../../utils'
15
- import { transformOptions } from '../../shared/types'
15
+ import { DlTransformOptions } from '../../shared/types'
16
16
 
17
17
  type Variant = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p'
18
18
 
@@ -35,7 +35,7 @@ export default defineComponent({
35
35
  type: String,
36
36
  default: 'default',
37
37
  validator: (value: string): boolean =>
38
- transformOptions.includes(value)
38
+ DlTransformOptions.includes(value)
39
39
  },
40
40
  bold: Boolean,
41
41
  color: {
@@ -1,4 +1,4 @@
1
- export const transformOptions: string[] = [
1
+ export const DlTransformOptions: string[] = [
2
2
  'none',
3
3
  'capitalize',
4
4
  'uppercase',
@@ -1,5 +1,7 @@
1
+ export * from './shared/types'
1
2
  export * from './essential/types'
2
3
  export * from './basic/types'
3
4
  export * from './compound/types'
5
+
4
6
  import { TInputSizes as DlInputSizes } from '../utils/input-sizes'
5
7
  export type { DlInputSizes }