@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"
@@ -179,6 +179,7 @@ export interface FieldSelect {
179
179
  searchPlaceholder?: string
180
180
  size?: FieldSize
181
181
  square?: boolean
182
+ uppercase?: boolean
182
183
  validation?: VuelidateValidation
183
184
  }
184
185
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saasmakers/ui",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "private": false,
5
5
  "description": "Reusable Nuxt UI components for SaaS Makers projects",
6
6
  "license": "MIT",