@saasmakers/ui 0.1.89 → 0.1.91

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.
@@ -162,7 +162,7 @@ defineExpose({ focus })
162
162
  'text-right': alignment === 'right',
163
163
  'bg-gray-100 dark:bg-gray-900': background === 'gray',
164
164
  'bg-white dark:bg-gray-900': background === 'white',
165
- 'border shadow-sm border-gray-200 dark:border-gray-800 px-4 hover:border-gray-300 focus:border-gray-400 dark:hover:border-gray-700 dark:focus:border-gray-600': border === 'full',
165
+ 'border shadow-sm border-gray-200 dark:border-gray-800 px-3 hover:border-gray-300 focus:border-gray-400 dark:hover:border-gray-700 dark:focus:border-gray-600': border === 'full',
166
166
  'border-b border-gray-200 dark:border-gray-800 px-10': border === 'bottom',
167
167
  'border-0 p-0': border === 'none',
168
168
  'text-xs': size === 'xs',
@@ -168,7 +168,7 @@ function onOptionClick(event: MouseEvent, option: FieldSelectOption) {
168
168
  'border-gray-400 dark:border-gray-600': opened,
169
169
  'hover:border-gray-300 dark:hover:border-gray-700': !opened,
170
170
  'focus:border-gray-400 dark:focus:border-gray-600': !disabled,
171
- 'px-4': padding,
171
+ 'px-3': padding,
172
172
  'text-2xs h-8': size === 'xs',
173
173
  'text-xs h-10': size === 'sm',
174
174
  'text-sm h-12': size === 'base',
@@ -248,7 +248,7 @@ function onOptionClick(event: MouseEvent, option: FieldSelectOption) {
248
248
  :key="option.value"
249
249
  class="group flex cursor-pointer items-center outline-none"
250
250
  :class="{
251
- 'border-b border-gray-200 dark:border-gray-800 px-4 py-3 hover:bg-gray-100 dark:hover:bg-gray-900 last:border-b-0': computedColumns.length < 2,
251
+ 'border-b border-gray-200 dark:border-gray-800 p-3 hover:bg-gray-100 dark:hover:bg-gray-900 last:border-b-0': computedColumns.length < 2,
252
252
  'px-2 py-1 last:mb-2': computedColumns.length >= 2,
253
253
  'font-medium underline': selectedOption && option.value === selectedOption.value,
254
254
  'text-gray-900 dark:text-gray-100': selectedOption && option.value === selectedOption.value,
@@ -22,7 +22,6 @@ const emit = defineEmits<{
22
22
 
23
23
  const modelValue = defineModel<FieldTime['modelValue']>({ default: '' })
24
24
 
25
- const root = ref<HTMLDivElement>()
26
25
  const uuid = ref(`${Math.floor((1 + Math.random()) * 0x100000)}`)
27
26
 
28
27
  function onFieldBlur(event: FocusEvent) {
@@ -31,7 +30,7 @@ function onFieldBlur(event: FocusEvent) {
31
30
  </script>
32
31
 
33
32
  <template>
34
- <div ref="root">
33
+ <div>
35
34
  <FieldLabel
36
35
  v-if="label"
37
36
  :disabled="disabled"
@@ -43,11 +42,11 @@ function onFieldBlur(event: FocusEvent) {
43
42
  :size="size"
44
43
  />
45
44
 
46
- <div class="item-center h-[42px] flex overflow-hidden border border-gray-200 rounded-lg pl-3 pr-2 dark:border-gray-800 focus-within:border-gray-400 hover:border-gray-300 dark:focus-within:border-gray-600 dark:hover:border-gray-700">
45
+ <div class="item-center h-[42px] flex overflow-hidden border border-gray-200 rounded-lg px-3 dark:border-gray-800 focus-within:border-gray-400 hover:border-gray-300 dark:focus-within:border-gray-600 dark:hover:border-gray-700">
47
46
  <input
48
47
  :id="`${id}`"
49
48
  v-model="modelValue"
50
- class="text-sm outline-none"
49
+ class="text-sm outline-none [&::-webkit-calendar-picker-indicator]:hidden"
51
50
  :class="{
52
51
  'bg-gray-100 dark:bg-gray-900': background === 'gray',
53
52
  'bg-white dark:bg-gray-900': background === 'white',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@saasmakers/ui",
3
3
  "type": "module",
4
- "version": "0.1.89",
4
+ "version": "0.1.91",
5
5
  "private": false,
6
6
  "description": "Reusable Nuxt UI components for SaaS Makers projects",
7
7
  "license": "MIT",