nuxt-ui-elements 0.1.18 → 0.1.19

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/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nuxt-ui-elements",
3
3
  "configKey": "uiElements",
4
- "version": "0.1.18",
4
+ "version": "0.1.19",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
@@ -32,7 +32,8 @@ function parseDateInput(input) {
32
32
  return parseDate(datePart);
33
33
  }
34
34
  }
35
- return parseZonedDateTime(isoString);
35
+ const withTimezone = isoString.replace("Z", "+00:00[UTC]");
36
+ return parseZonedDateTime(withTimezone);
36
37
  }
37
38
  if (typeof input === "string") {
38
39
  if (input.includes("T") || input.includes(" ")) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-ui-elements",
3
- "version": "0.1.18",
3
+ "version": "0.1.19",
4
4
  "description": "A collection of beautiful, animated UI components for Nuxt applications",
5
5
  "license": "MIT",
6
6
  "repository": "https://github.com/genu/nuxt-ui-elements.git",
@@ -40,6 +40,7 @@
40
40
  "@nuxt/test-utils": "^3.22.0",
41
41
  "@types/culori": "^4.0.1",
42
42
  "@types/node": "latest",
43
+ "@vitest/coverage-v8": "^4.0.16",
43
44
  "changelogen": "^0.6.2",
44
45
  "eslint": "^9.39.2",
45
46
  "eslint-config-prettier": "10.1.8",
@@ -64,6 +65,7 @@
64
65
  "release": "pnpm lint && pnpm test && pnpm prepack && changelogen --release && pnpm publish && git push --follow-tags",
65
66
  "test": "vitest run",
66
67
  "test:watch": "vitest watch",
68
+ "test:coverage": "vitest run --coverage",
67
69
  "test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit"
68
70
  }
69
71
  }