@samk-dev/nuxt-vcalendar
Advanced tools
Comparing version 1.0.2 to 1.0.3
import * as _nuxt_schema from '@nuxt/schema'; | ||
import { Defaults } from 'v-calendar/src/utils/defaults'; | ||
@@ -8,2 +7,29 @@ type VCalendarComponents = { | ||
}; | ||
interface DarkModeClassConfig { | ||
selector: string; | ||
darkClass: string; | ||
} | ||
type DarkModeConfig = boolean | 'system' | Partial<DarkModeClassConfig>; | ||
interface DatePickerPopoverDefaults { | ||
visibility?: string; | ||
placement?: string; | ||
isInteractive?: boolean; | ||
} | ||
interface DatePickerDefaults { | ||
updateOnInput?: boolean; | ||
inputDebounce?: number; | ||
popover?: DatePickerPopoverDefaults; | ||
} | ||
interface Defaults { | ||
componentPrefix?: string; | ||
color?: string; | ||
isDark?: DarkModeConfig; | ||
navVisibility?: string; | ||
titlePosition?: string; | ||
transition?: string; | ||
touch?: object; | ||
masks?: object; | ||
locales?: any; | ||
datePicker?: DatePickerDefaults; | ||
} | ||
interface ModuleOptions { | ||
@@ -38,2 +64,2 @@ /** | ||
export { type ModuleOptions, type VCalendarComponents, _default as default }; | ||
export { type Defaults, type ModuleOptions, type VCalendarComponents, _default as default }; |
{ | ||
"name": "@samk-dev/nuxt-vcalendar", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"configKey": "vcalendar", | ||
@@ -5,0 +5,0 @@ "compatibility": { |
@@ -16,2 +16,2 @@ | ||
export type { ModuleOptions, VCalendarComponents, default } from './module' | ||
export type { Defaults, ModuleOptions, VCalendarComponents, default } from './module' |
{ | ||
"name": "@samk-dev/nuxt-vcalendar", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Integrates V Calendar in Nuxt", | ||
@@ -38,8 +38,9 @@ "repository": "samk-dev/nuxt-vcalendar", | ||
"format": "prettier --write \"**/*.{ts,tsx,vue,json}\"", | ||
"prepare": "husky install", | ||
"prepare": "husky", | ||
"test": "vitest run", | ||
"test:watch": "vitest watch" | ||
"test:watch": "vitest watch", | ||
"update:deps": "npx npm-check-updates --interactive --format group" | ||
}, | ||
"dependencies": { | ||
"@nuxt/kit": "^3.6.5", | ||
"@nuxt/kit": "^3.11.2", | ||
"@popperjs/core": "^2.11.8", | ||
@@ -49,13 +50,13 @@ "v-calendar": "^3.1.2" | ||
"devDependencies": { | ||
"@commitlint/cli": "^17.7.2", | ||
"@commitlint/config-conventional": "^17.7.0", | ||
"@nuxt/module-builder": "^0.5.4", | ||
"@nuxt/schema": "^3.6.5", | ||
"@samk-dev/eslint-config": "^1.0.5", | ||
"@samk-dev/prettier-config": "^1.0.3", | ||
"@types/node": "^18.18.3", | ||
"@commitlint/cli": "^19.2.1", | ||
"@commitlint/config-conventional": "^19.1.0", | ||
"@nuxt/module-builder": "^0.5.5", | ||
"@nuxt/schema": "^3.11.2", | ||
"@samk-dev/eslint-config": "^1.0.6", | ||
"@samk-dev/prettier-config": "^1.0.4", | ||
"@types/node": "^20.12.4", | ||
"changelogen": "^0.5.5", | ||
"husky": "^8.0.3", | ||
"lint-staged": "^14.0.1", | ||
"nuxt": "^3.8.2" | ||
"husky": "^9.0.11", | ||
"lint-staged": "^15.2.2", | ||
"nuxt": "^3.11.2" | ||
}, | ||
@@ -62,0 +63,0 @@ "overrides": { |
@@ -23,2 +23,12 @@ # Nuxt VCalendar | ||
```bash | ||
npx nuxi@latest module add @samk-dev/nuxt-vcalendar | ||
``` | ||
That's it! You can now use Nuxt VCalendar in your Nuxt app ✨ | ||
## Manual Installation | ||
1. Add @samk-dev/nuxt-vcalendar dependency to your project | ||
```bash | ||
# Using pnpm | ||
@@ -42,4 +52,6 @@ pnpm add -D @samk-dev/nuxt-vcalendar | ||
That's it! You can now use Nuxt VCalendar in your Nuxt app ✨ | ||
## Stackblitz example | ||
[https://stackblitz.com/edit/nuxt-starter-2zwgab?file=app.vue](https://stackblitz.com/edit/nuxt-starter-2zwgab?file=app.vue) | ||
## Usage Example | ||
@@ -138,3 +150,3 @@ | ||
![Alt](https://repobeats.axiom.co/api/embed/33e6456563229344406c4f0ce45eba84c5a85c26.svg "Repobeats analytics image") | ||
![Alt](https://repobeats.axiom.co/api/embed/33e6456563229344406c4f0ce45eba84c5a85c26.svg 'Repobeats analytics image') | ||
@@ -141,0 +153,0 @@ <!-- Badges --> |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12927
145
160
+ Added@vue/compiler-core@3.5.5(transitive)
+ Added@vue/compiler-dom@3.5.5(transitive)
+ Added@vue/compiler-sfc@3.5.5(transitive)
+ Added@vue/compiler-ssr@3.5.5(transitive)
+ Added@vue/reactivity@3.5.5(transitive)
+ Added@vue/runtime-core@3.5.5(transitive)
+ Added@vue/runtime-dom@3.5.5(transitive)
+ Added@vue/server-renderer@3.5.5(transitive)
+ Added@vue/shared@3.5.5(transitive)
+ Addedvue@3.5.5(transitive)
- Removed@vue/compiler-core@3.5.6(transitive)
- Removed@vue/compiler-dom@3.5.6(transitive)
- Removed@vue/compiler-sfc@3.5.6(transitive)
- Removed@vue/compiler-ssr@3.5.6(transitive)
- Removed@vue/reactivity@3.5.6(transitive)
- Removed@vue/runtime-core@3.5.6(transitive)
- Removed@vue/runtime-dom@3.5.6(transitive)
- Removed@vue/server-renderer@3.5.6(transitive)
- Removed@vue/shared@3.5.6(transitive)
- Removedvue@3.5.6(transitive)
Updated@nuxt/kit@^3.11.2