hamzus-ui 0.0.169 → 0.0.170
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/package.json
CHANGED
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
selectedMonth = currentMonth
|
|
68
68
|
selectedYear = currentYear
|
|
69
69
|
|
|
70
|
-
handleUpdateValue(day)
|
|
70
|
+
handleUpdateValue(day, false)
|
|
71
71
|
})
|
|
72
72
|
|
|
73
73
|
function getYearList(startYear = 1997) {
|
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
weeks = generateCalendarMatrix(currentYear, currentMonth - 1);
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
function handleUpdateValue(day) {
|
|
164
|
+
function handleUpdateValue(day, toggleDisplayAfter = true) {
|
|
165
165
|
if (day !== null) {
|
|
166
166
|
selectedDay = day;
|
|
167
167
|
selectedYear = currentYear;
|
|
@@ -185,7 +185,7 @@
|
|
|
185
185
|
onChange(value);
|
|
186
186
|
}
|
|
187
187
|
|
|
188
|
-
|
|
188
|
+
if (toggleDisplayAfter) toggleDisplay();
|
|
189
189
|
}
|
|
190
190
|
function handleUpdateHour(inputValue) {
|
|
191
191
|
|