@usssa/component-library 1.0.0-alpha.103 → 1.0.0-alpha.104
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
|
@@ -7,68 +7,59 @@ import UTooltip from './UTooltip.vue'
|
|
|
7
7
|
const emit = defineEmits(['update:modelValue'])
|
|
8
8
|
|
|
9
9
|
const props = defineProps({
|
|
10
|
-
|
|
10
|
+
color: {
|
|
11
11
|
type: String,
|
|
12
|
+
default: 'neutral-7',
|
|
12
13
|
},
|
|
13
|
-
|
|
14
|
-
type:
|
|
15
|
-
|
|
14
|
+
disableAvatar: {
|
|
15
|
+
type: Boolean,
|
|
16
|
+
default: true,
|
|
16
17
|
},
|
|
17
|
-
|
|
18
|
-
type:
|
|
19
|
-
required:
|
|
18
|
+
filterFn: {
|
|
19
|
+
type: Function,
|
|
20
|
+
required: false,
|
|
20
21
|
},
|
|
21
|
-
|
|
22
|
+
hintIcon: {
|
|
22
23
|
type: String,
|
|
24
|
+
default: 'fa-kit-duotone fa-triangle-exclamation',
|
|
23
25
|
},
|
|
24
|
-
|
|
26
|
+
hintText: {
|
|
25
27
|
type: String,
|
|
26
28
|
},
|
|
27
29
|
isRequired: {
|
|
28
30
|
type: Boolean,
|
|
29
31
|
default: false,
|
|
30
32
|
},
|
|
31
|
-
|
|
33
|
+
label: {
|
|
32
34
|
type: String,
|
|
33
35
|
},
|
|
34
36
|
leftIcon: {
|
|
35
37
|
type: String,
|
|
36
38
|
},
|
|
37
|
-
|
|
38
|
-
type: String,
|
|
39
|
-
|
|
40
|
-
hintIcon: {
|
|
41
|
-
type: String,
|
|
42
|
-
default: 'fa-kit-duotone fa-triangle-exclamation',
|
|
39
|
+
modelValue: {
|
|
40
|
+
type: [String, Number],
|
|
41
|
+
requried: true,
|
|
43
42
|
},
|
|
44
|
-
|
|
43
|
+
noSearchText: {
|
|
45
44
|
type: String,
|
|
46
|
-
default: 'Select',
|
|
47
|
-
},
|
|
48
|
-
useInput: {
|
|
49
|
-
type: Boolean,
|
|
50
45
|
required: false,
|
|
51
46
|
},
|
|
52
|
-
|
|
53
|
-
type:
|
|
54
|
-
|
|
47
|
+
options: {
|
|
48
|
+
type: Array,
|
|
49
|
+
required: true,
|
|
55
50
|
},
|
|
56
|
-
|
|
51
|
+
optionValue: {
|
|
57
52
|
type: String,
|
|
58
|
-
default: 'md',
|
|
59
|
-
validator: (val) => ['sm', 'md', 'lg'].includes(val),
|
|
60
53
|
},
|
|
61
|
-
|
|
54
|
+
optionLabel: {
|
|
62
55
|
type: String,
|
|
63
|
-
required: false,
|
|
64
56
|
},
|
|
65
|
-
|
|
66
|
-
type:
|
|
67
|
-
required: false,
|
|
57
|
+
toolTipText: {
|
|
58
|
+
type: String,
|
|
68
59
|
},
|
|
69
|
-
|
|
60
|
+
placeholder: {
|
|
70
61
|
type: String,
|
|
71
|
-
default: '
|
|
62
|
+
default: 'Select',
|
|
72
63
|
},
|
|
73
64
|
popupClass: {
|
|
74
65
|
type: String,
|
|
@@ -78,6 +69,15 @@ const props = defineProps({
|
|
|
78
69
|
type: Boolean,
|
|
79
70
|
default: false,
|
|
80
71
|
},
|
|
72
|
+
size: {
|
|
73
|
+
type: String,
|
|
74
|
+
default: 'md',
|
|
75
|
+
validator: (val) => ['sm', 'md', 'lg'].includes(val),
|
|
76
|
+
},
|
|
77
|
+
useInput: {
|
|
78
|
+
type: Boolean,
|
|
79
|
+
required: false,
|
|
80
|
+
},
|
|
81
81
|
})
|
|
82
82
|
|
|
83
83
|
const model = computed({
|
|
@@ -240,7 +240,6 @@ const model = computed({
|
|
|
240
240
|
border-radius: $xs
|
|
241
241
|
box-shadow: $shadow-2
|
|
242
242
|
max-height: 11.25rem !important
|
|
243
|
-
width: 18rem
|
|
244
243
|
overflow-y: auto
|
|
245
244
|
scrollbar-width: none
|
|
246
245
|
|