@fiscozen/input 1.0.0-next.0 → 1.0.0

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.
package/CHANGELOG.md ADDED
@@ -0,0 +1,30 @@
1
+ # @fiscozen/input
2
+
3
+ ## 1.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - **LIB-1898: Redesign completo di FzInput.** Floating label, nuova API per gli slot, e introduzione di FzCurrencyInput.
8
+
9
+ ### Modifiche dalla versione 0.1.17
10
+
11
+ #### Nuove funzionalità
12
+ - Floating label con supporto per tutti i tipi di input (email, telefono, URL)
13
+ - Nuovo componente **FzCurrencyInput** con formattazione automatica, supporto per valori negativi, gestione min/max, e step con `forceStep`
14
+ - Secondo pulsante icona a destra (`rightIconLast`) con gestione accessibilità
15
+ - Prop `environment` per sostituire la deprecata prop `size`
16
+ - Prop `autocomplete` per il controllo dell'autocompletamento
17
+ - Slot `left-icon` per FzCurrencyInput
18
+
19
+ #### Miglioramenti
20
+ - Gestione migliorata degli eventi di tastiera: il tasto Enter ora consente il submit del form
21
+ - Gestione incolla migliorata per FzCurrencyInput con supporto formati italiani
22
+ - Prevenzione delle race condition negli aggiornamenti del model
23
+ - Click sulle icone disabilitato quando l'input è `disabled` o `readonly`
24
+ - Miglioramento accessibilità con `aria-labelledby` e `aria-describedby`
25
+
26
+ ### Patch Changes
27
+
28
+ - Updated dependencies
29
+ - @fiscozen/button@1.0.1
30
+ - @fiscozen/composables@1.0.1
package/README.md CHANGED
@@ -95,6 +95,7 @@ const amount = ref<number | undefined>(undefined)
95
95
  | `name` | `string` | - | Native name attribute for form submission and identification |
96
96
  | `readonly` | `boolean` | `false` | Native readonly attribute. Prevents user input while keeping field focusable |
97
97
  | `maxlength` | `number` | - | Native maxlength attribute. Limits maximum number of characters |
98
+ | `autocomplete` | `boolean` | `false` | Native autocomplete attribute. Controls browser autocomplete and suggestions. When false, sets autocomplete="off" to disable browser autocomplete |
98
99
  | `rightIconClass` | `string` | - | Additional CSS classes applied to right icon container |
99
100
  | `leftIconClass` | `string` | - | Additional CSS classes applied to left icon container |
100
101