@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 +30 -0
- package/README.md +1 -0
- package/dist/input.js +2270 -2213
- package/dist/input.umd.cjs +5 -5
- package/dist/src/FzCurrencyInput.vue.d.ts +36 -29
- package/dist/src/FzInput.vue.d.ts +21 -14
- package/dist/src/types.d.ts +6 -0
- package/dist/src/utils.d.ts +2 -2
- package/dist/style.css +1 -1
- package/package.json +9 -7
- package/src/FzInput.vue +2 -0
- package/src/__tests__/{FzInput.test.ts → FzInput.spec.ts} +41 -0
- package/src/types.ts +6 -0
- package/src/utils.ts +19 -9
- package/tsconfig.tsbuildinfo +1 -1
- package/vitest.config.ts +9 -1
- package/coverage/FzCurrencyInput.vue.html +0 -640
- package/coverage/FzInput.vue.html +0 -709
- package/coverage/base.css +0 -224
- package/coverage/block-navigation.js +0 -87
- package/coverage/clover.xml +0 -494
- package/coverage/coverage-final.json +0 -4
- package/coverage/favicon.png +0 -0
- package/coverage/index.html +0 -146
- package/coverage/prettify.css +0 -1
- package/coverage/prettify.js +0 -2
- package/coverage/sort-arrow-sprite.png +0 -0
- package/coverage/sorter.js +0 -196
- package/coverage/useInputStyle.ts.html +0 -343
- /package/src/__tests__/{FzCurrencyInput.test.ts → FzCurrencyInput.spec.ts} +0 -0
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
|
|