@saasmakers/ui 2.1.1 → 2.1.2
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.
|
@@ -26,6 +26,7 @@ const props = withDefaults(defineProps<Omit<FieldSelect, 'modelValue'>>(), {
|
|
|
26
26
|
searchPlaceholder: '',
|
|
27
27
|
size: 'base',
|
|
28
28
|
square: false,
|
|
29
|
+
uppercase: true,
|
|
29
30
|
validation: undefined,
|
|
30
31
|
})
|
|
31
32
|
|
|
@@ -331,6 +332,7 @@ function toggle() {
|
|
|
331
332
|
'cursor-pointer': !disabled,
|
|
332
333
|
'shadow-sm': border === 'full',
|
|
333
334
|
'w-fit': iconOnly || square,
|
|
335
|
+
'field-uppercase': uppercase,
|
|
334
336
|
}"
|
|
335
337
|
>
|
|
336
338
|
<div
|
|
@@ -445,6 +447,7 @@ function toggle() {
|
|
|
445
447
|
'text-xs': size === 'sm',
|
|
446
448
|
'text-sm': size === 'base',
|
|
447
449
|
'text-base': size === 'lg',
|
|
450
|
+
'field-uppercase': uppercase,
|
|
448
451
|
'md:min-w-xl p-1 pb-0': isMultiColumn,
|
|
449
452
|
}"
|
|
450
453
|
role="listbox"
|
package/app/types/fields.d.ts
CHANGED