@saasmakers/ui 2.0.36 → 2.0.37

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.
@@ -11,6 +11,7 @@ const props = withDefaults(defineProps<Omit<FieldSelect, 'modelValue'>>(), {
11
11
  direction: 'bottom',
12
12
  disabled: false,
13
13
  hideError: false,
14
+ hideCaret: false,
14
15
  hideLabel: false,
15
16
  label: '',
16
17
  labelIcon: undefined,
@@ -279,7 +280,7 @@ function selectOption(event: MouseEvent, value: string) {
279
280
  </span>
280
281
 
281
282
  <BaseIcon
282
- v-if="caret"
283
+ v-if="caret && !hideCaret"
283
284
  class="flex-initial"
284
285
  :class="{
285
286
  'ml-2': !hideLabel,
@@ -122,6 +122,7 @@ export interface FieldSelect {
122
122
  direction?: FieldSelectDirection
123
123
  disabled?: boolean
124
124
  hideError?: boolean
125
+ hideCaret?: boolean
125
126
  hideLabel?: boolean
126
127
  label?: BaseTextText
127
128
  labelIcon?: string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saasmakers/ui",
3
- "version": "2.0.36",
3
+ "version": "2.0.37",
4
4
  "private": false,
5
5
  "description": "Reusable Nuxt UI components for SaaS Makers projects",
6
6
  "license": "MIT",