y200subcontrols 0.1.31 → 0.1.32

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.
@@ -60,6 +60,13 @@ function handleChange(event) {
60
60
  const year = Number(datePart[0]);
61
61
  const month = Number(datePart[1]);
62
62
  const dayOfMonth = Number(datePart[2]);
63
+ if (inputType === "date") {
64
+ value = new Date(year, month - 1, dayOfMonth);
65
+ dispatch("dateChanged", {
66
+ date: value
67
+ });
68
+ return;
69
+ }
63
70
  const timeParts = parts[1].split(":");
64
71
  const hours = Number(timeParts[0]);
65
72
  const minutes = Number(timeParts[1]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "y200subcontrols",
3
- "version": "0.1.31",
3
+ "version": "0.1.32",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run package",