manolis-ui 1.1.0 → 1.1.1

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,6 +1,6 @@
1
1
  {
2
2
  "name": "manolis-ui",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "configKey": "manolisUI",
5
5
  "compatibility": {
6
6
  "nuxt": ">=3.10.0"
package/dist/module.mjs CHANGED
@@ -13,7 +13,7 @@ const __filename = __cjs_url__.fileURLToPath(import.meta.url);
13
13
  const __dirname = __cjs_path__.dirname(__filename);
14
14
  const require = __cjs_mod__.createRequire(import.meta.url);
15
15
  const name = "manolis-ui";
16
- const version = "1.1.0";
16
+ const version = "1.1.1";
17
17
 
18
18
  function installTailwind(moduleOptions, nuxt = useNuxt(), resolve = createResolver(import.meta.url).resolve) {
19
19
  const runtimeDir = resolve("./runtime");
@@ -169,8 +169,9 @@ const monthIndex = computed(() => {
169
169
  const daysOfWeek = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']
170
170
  const firstDay = computed(() => new Date(currentYear.value, monthIndex.value).getDay())
171
171
  const daysInMonth = computed(() => {
172
- return Array.from({ length: new Date(currentYear.value, monthIndex.value + 1, 0).getDate() }, (_, i) => new Date(currentYear.value, monthIndex.value, i + 1))
173
- })
172
+ const days = new Date(currentYear.value, monthIndex.value + 1, 0).getDate();
173
+ return Array.from({ length: days }, (_, i) => new Date(currentYear.value, monthIndex.value, i + 1));
174
+ });
174
175
  const emptyDays = computed(() => Array.from({ length: firstDay.value }, (_, i) => i))
175
176
  const hours = Array.from({ length: 12 }, (_, i) => (i + 1).toString().padStart(2, '0'))
176
177
  const minutes = Array.from({ length: 60 }, (_, i) => i.toString().padStart(2, '0'))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "manolis-ui",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "My new Nuxt module",
5
5
  "repository": "manolis-trading/manolis-ui",
6
6
  "license": "MIT",