@falcondev-oss/nuxt-layers-base 0.31.0 → 0.31.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.
@@ -42,8 +42,9 @@ const config = useRuntimeConfig()
42
42
  :default-size="16"
43
43
  collapsible
44
44
  :ui="{
45
- header: 'border-b border-default',
46
- footer: 'border-t border-default',
45
+ ...sidebar?.ui,
46
+ header: [sidebar?.ui?.header ?? '', 'border-b border-default'].join(' ').trim(),
47
+ footer: [sidebar?.ui?.footer ?? '', 'border-t border-default'].join(' ').trim(),
47
48
  }"
48
49
  >
49
50
  <template
@@ -89,9 +89,11 @@ const model_ = { model }
89
89
  <UFormField
90
90
  v-bind="formFieldProps"
91
91
  :ui="{
92
- hint: isOverMaxLength ? 'text-error' : '',
92
+ ...formFieldProps.ui,
93
+ hint: [formFieldProps.ui?.hint ?? '', isOverMaxLength ? 'text-error' : ''].join(' ').trim(),
93
94
  }"
94
95
  :error="!!field.errors"
96
+ :class="props.class"
95
97
  >
96
98
  <template #hint="{ hint }">
97
99
  <span class="flex items-center gap-1.5">
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@falcondev-oss/nuxt-layers-base",
3
3
  "type": "module",
4
- "version": "0.31.0",
4
+ "version": "0.31.2",
5
5
  "description": "Nuxt layer with lots of useful helpers and @nuxt/ui components",
6
6
  "license": "MIT",
7
7
  "repository": "github:falcondev-oss/nuxt-layers",