hamzus-ui 0.0.136 → 0.0.138
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/index.d.ts +3 -4
- package/index.js +3 -4
- package/package.json +1 -1
- package/src/components/hamzus-ui/Input/Input.svelte +5 -0
package/index.d.ts
CHANGED
|
@@ -30,10 +30,9 @@ export { default as SoundTrack } from "./src/components/hamzus-ui/SoundTrack/Sou
|
|
|
30
30
|
export { default as DateTimePicker } from "./src/components/hamzus-ui/DateTimePicker/DateTimePicker.svelte"
|
|
31
31
|
export { default as DatePicker } from "./src/components/hamzus-ui/DatePicker/DatePicker.svelte"
|
|
32
32
|
export { default as YearPicker } from "./src/components/hamzus-ui/YearPicker/YearPicker.svelte"
|
|
33
|
-
export { default as
|
|
34
|
-
export { default as
|
|
35
|
-
export { default as
|
|
36
|
-
export { default as Day } from "./src/components/hamzus-ui/Day/Day.svelte"
|
|
33
|
+
export { default as MonthOfYearPicker } from "./src/components/hamzus-ui/MonthOfYearPicker/MonthOfYearPicker.svelte"
|
|
34
|
+
export { default as MonthPicker } from "./src/components/hamzus-ui/MonthPicker/MonthPicker.svelte"
|
|
35
|
+
export { default as DayPicker } from "./src/components/hamzus-ui/DayPicker/DayPicker.svelte"
|
|
37
36
|
export { default as TimePicker } from "./src/components/hamzus-ui/TimePicker/TimePicker.svelte"
|
|
38
37
|
|
|
39
38
|
// navigation
|
package/index.js
CHANGED
|
@@ -27,10 +27,9 @@ export { default as SoundTrack } from "./src/components/hamzus-ui/SoundTrack/Sou
|
|
|
27
27
|
export { default as DateTimePicker } from "./src/components/hamzus-ui/DateTimePicker/DateTimePicker.svelte"
|
|
28
28
|
export { default as DatePicker } from "./src/components/hamzus-ui/DatePicker/DatePicker.svelte"
|
|
29
29
|
export { default as YearPicker } from "./src/components/hamzus-ui/YearPicker/YearPicker.svelte"
|
|
30
|
-
export { default as
|
|
31
|
-
export { default as
|
|
32
|
-
export { default as
|
|
33
|
-
export { default as Day } from "./src/components/hamzus-ui/Day/Day.svelte"
|
|
30
|
+
export { default as MonthOfYearPicker } from "./src/components/hamzus-ui/MonthOfYearPicker/MonthOfYearPicker.svelte"
|
|
31
|
+
export { default as MonthPicker } from "./src/components/hamzus-ui/MonthPicker/MonthPicker.svelte"
|
|
32
|
+
export { default as DayPicker } from "./src/components/hamzus-ui/DayPicker/DayPicker.svelte"
|
|
34
33
|
export { default as TimePicker } from "./src/components/hamzus-ui/TimePicker/TimePicker.svelte"
|
|
35
34
|
|
|
36
35
|
// navigation
|
package/package.json
CHANGED
|
@@ -48,6 +48,11 @@
|
|
|
48
48
|
|
|
49
49
|
// Supprime tout sauf chiffres et un seul point
|
|
50
50
|
inputValue = inputValue.replace(/[^0-9.]/g, '');
|
|
51
|
+
|
|
52
|
+
// si le step est a 1 ou plus grand on retire les virgule
|
|
53
|
+
if (step !== "" && step >= 1) {
|
|
54
|
+
inputValue = inputValue.replace(".", '');
|
|
55
|
+
}
|
|
51
56
|
}
|
|
52
57
|
|
|
53
58
|
if (formatPattern.length == 0) {
|