srcdev-nuxt-forms 2.4.19 → 2.4.20

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.
@@ -23,7 +23,7 @@ export const propValidators = {
23
23
  'fvs-wght-800',
24
24
  'fvs-wght-900',
25
25
  ],
26
- theme: ['primary', 'secondary', 'tertiary', 'ghost', 'error', 'success', 'warning', 'input-action'],
26
+ theme: ['primary', 'secondary', 'tertiary', 'ghost', 'error', 'success', 'warning', 'input-action', 'input-action-underlined'],
27
27
  checkboxAppearance: [null, 'with-decorator'],
28
28
  checkboxStyle: ['check', 'cross'],
29
29
  radioAppearance: [null, 'with-decorator'],
@@ -179,7 +179,7 @@ watch(
179
179
 
180
180
  &.underlined {
181
181
  --_label-text-color: var(--theme-form-input-text-label-color-underlined);
182
- --_label-offset: 1rem 0;
182
+ --_label-offset: 1rem 0.2rem;
183
183
  --_input-text-with-label-background-color: color-mix(in srgb, currentColor 5%, transparent);
184
184
 
185
185
  --_input-text-wrapper-underlined-border-radius-top-left: 0;
@@ -191,7 +191,7 @@ watch(
191
191
 
192
192
  &:has(.input-text-wrapper.active),
193
193
  &:has(.input-text-wrapper.dirty) {
194
- --_label-offset: 0 -4.2rem;
194
+ --_label-offset: 0 -3.2rem;
195
195
  --_label-text-weight: bolder;
196
196
  --_label-text-size: var(--step-1);
197
197
  /* line-height: 1.5; */
@@ -202,7 +202,7 @@ watch(
202
202
  &.outlined {
203
203
  --_label-text-color: var(--theme-form-input-text-label-color-outlined);
204
204
 
205
- --_label-offset: 1rem 0;
205
+ --_label-offset: 1rem -0.2rem;
206
206
  --_input-text-with-label-background-color: var(--theme-form-input-bg-normal);
207
207
 
208
208
  --_input-text-wrapper-padding-block: 0.4em 0;
@@ -160,7 +160,7 @@ watch(
160
160
 
161
161
  &:has(.input-textarea-wrapper.active),
162
162
  &:has(.input-textarea-wrapper.dirty) {
163
- --_label-offset: 0 -4.2rem;
163
+ --_label-offset: 0 -3.2rem;
164
164
  --_label-textarea-weight: bolder;
165
165
  --_label-textarea-size: var(--step-1);
166
166
  /* line-height: 1.5; */
@@ -174,7 +174,7 @@ watch(
174
174
  --_label-offset: 1rem 0;
175
175
  --_input-textarea-with-label-background-color: var(--theme-form-input-bg-normal);
176
176
 
177
- --_input-textarea-wrapper-padding-block: 0.4em;
177
+ --_input-textarea-wrapper-padding-block: 0.4em 0;
178
178
  --_label-textarea-height: fit-content;
179
179
 
180
180
  &:has(.input-textarea-wrapper.active),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "srcdev-nuxt-forms",
3
3
  "type": "module",
4
- "version": "2.4.19",
4
+ "version": "2.4.20",
5
5
  "main": "nuxt.config.ts",
6
6
  "scripts": {
7
7
  "clean": "rm -rf .nuxt && rm -rf .output && rm -rf .playground/.nuxt && rm -rf .playground/.output",