behnoo-calendar 1.0.0
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/README.md +302 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +198 -0
- package/dist/index.js +1731 -0
- package/dist/src/index.d.ts +4 -0
- package/dist/style.css +2 -0
- package/package.json +75 -0
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { default as VueCalendar } from './components/VueCalendar.vue';
|
|
2
|
+
export { default as CalendarAgenda } from './components/CalendarAgenda.vue';
|
|
3
|
+
export type { CalendarMode, CalendarType, CalendarEvent, I18nTranslations, CalendarDateRange, CalendarTimeRange, CalendarDay, } from './types/index';
|
|
4
|
+
export { getAccessibleTextColor, getContrastRatio, getRelativeLuminance, parseColorToRgb, type RgbColor, } from './utils/color';
|
package/dist/style.css
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
:root{--color-surface:#fff;--color-surface-variant:#f8f8fa;--color-on-surface:#2c2c2e;--color-primary:#1a9d90;--color-error:#e52b16;--color-outline:#d1d0d2;--color-outline-variant:#f0f0f0;--cal-surface:#fff;--cal-surface-variant:#f8f8fa;--cal-on-surface:#2c2c2e;--cal-primary:#1a9d90;--cal-error:#e52b16;--cal-outline:#d1d0d2;--cal-outline-variant:#f0f0f0;--text-label-md:14px;--text-label-md--line-height:28px;--text-label-md--font-weight:500;--text-label-sm:12px;--text-label-sm--line-height:24px;--text-label-sm--font-weight:500;--text-body-sm:12px;--text-body-sm--line-height:24px;--text-body-sm--font-weight:400;--text-title-sm:14px;--text-title-sm--line-height:28px;--text-title-sm--font-weight:700;--cal-today-bg-light:radial-gradient(circle at 70% 0%, #10121b, #393e4d);--cal-today-bg-dark:radial-gradient(circle at 70% 0%, #d1d0d2, #9b9a9d);--cal-today-bg:var(--cal-today-bg-light);--cal-today-column-bg-light:#1a9d900d;--cal-today-column-bg-dark:#40b8ac14;--cal-today-column-bg:var(--cal-today-column-bg-light)}.dark{--color-surface:#151823;--color-surface-variant:#242836;--color-on-surface:#fff;--color-primary:#40b8ac;--color-error:#ea5545;--color-outline:#605f63;--color-outline-variant:#3a393c;--cal-surface:#151823;--cal-surface-variant:#242836;--cal-on-surface:#fff;--cal-primary:#40b8ac;--cal-error:#ea5545;--cal-outline:#605f63;--cal-outline-variant:#3a393c;--cal-today-bg:var(--cal-today-bg-dark);--cal-today-column-bg:var(--cal-today-column-bg-dark)}.bg-today{background-image:var(--cal-today-bg)}.bg-today-column{background-color:var(--cal-today-column-bg)}.cal-scrollbar{scrollbar-width:thin;scrollbar-color:var(--color-primary) var(--color-surface-variant)}.cal-scrollbar::-webkit-scrollbar{width:2px;height:2px}.cal-scrollbar::-webkit-scrollbar-track{background:var(--color-surface-variant)}.cal-scrollbar::-webkit-scrollbar-thumb{background:var(--color-primary);border-radius:10px}.english-num[data-v-683574e2]{font-family:"IranYekan" sans-serif!important}.hw-accel-height[data-v-d90e616f]{will-change:height}.hw-accel[data-v-d90e616f]{will-change:transform, opacity}.calendar-view-enter-active[data-v-66575d8b],.calendar-view-leave-active[data-v-66575d8b]{width:100%;transition:all .2s ease-out;top:0;left:0;position:absolute!important}.calendar-view-enter-from[data-v-66575d8b]{opacity:0;transform:scale(1.02)}.calendar-view-leave-to[data-v-66575d8b]{opacity:0;transform:scale(.98)}.fade-overlay-enter-active[data-v-66575d8b],.fade-overlay-leave-active[data-v-66575d8b]{transition:opacity .2s ease-out}.fade-overlay-enter-from[data-v-66575d8b],.fade-overlay-leave-to[data-v-66575d8b]{opacity:0}.calendar-agenda[data-v-d9fbe1f4]{font-family:inherit}.agenda-day-row[data-v-d9fbe1f4]{transition:all .15s ease-in-out}.agenda-event-card[data-v-d9fbe1f4]{-webkit-user-select:none;user-select:none}
|
|
2
|
+
/*$vite$:1*/
|
package/package.json
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "behnoo-calendar",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Multi-calendar Vue 3 component — Gregorian, Jalaali (Persian), and Islamic calendar systems",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"vue",
|
|
7
|
+
"calendar",
|
|
8
|
+
"jalaali",
|
|
9
|
+
"persian",
|
|
10
|
+
"islamic",
|
|
11
|
+
"gregorian",
|
|
12
|
+
"rtl",
|
|
13
|
+
"vue3"
|
|
14
|
+
],
|
|
15
|
+
"license": "MIT",
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "https://github.com/dopedev-dev/vue-calendar.git"
|
|
19
|
+
},
|
|
20
|
+
"homepage": "https://github.com/dopedev-dev/vue-calendar#readme",
|
|
21
|
+
"bugs": {
|
|
22
|
+
"url": "https://github.com/dopedev-dev/vue-calendar/issues"
|
|
23
|
+
},
|
|
24
|
+
"type": "module",
|
|
25
|
+
"files": [
|
|
26
|
+
"dist",
|
|
27
|
+
"README.md",
|
|
28
|
+
"LICENSE"
|
|
29
|
+
],
|
|
30
|
+
"sideEffects": [
|
|
31
|
+
"**/*.css"
|
|
32
|
+
],
|
|
33
|
+
"main": "./dist/index.cjs",
|
|
34
|
+
"module": "./dist/index.js",
|
|
35
|
+
"exports": {
|
|
36
|
+
".": {
|
|
37
|
+
"import": "./dist/index.js",
|
|
38
|
+
"types": "./dist/src/index.d.ts",
|
|
39
|
+
"require": "./dist/index.cjs"
|
|
40
|
+
},
|
|
41
|
+
"./style.css": "./dist/style.css"
|
|
42
|
+
},
|
|
43
|
+
"types": "./dist/src/index.d.ts",
|
|
44
|
+
"publishConfig": {
|
|
45
|
+
"access": "public"
|
|
46
|
+
},
|
|
47
|
+
"peerDependencies": {
|
|
48
|
+
"vue": "^3.5.0"
|
|
49
|
+
},
|
|
50
|
+
"devDependencies": {
|
|
51
|
+
"@tailwindcss/vite": "^4.3.0",
|
|
52
|
+
"@tsconfig/node24": "^24.0.4",
|
|
53
|
+
"@types/node": "^24.12.2",
|
|
54
|
+
"@vitejs/plugin-vue": "^6.0.6",
|
|
55
|
+
"@vue/tsconfig": "^0.9.1",
|
|
56
|
+
"npm-run-all2": "^8.0.4",
|
|
57
|
+
"typescript": "~6.0.0",
|
|
58
|
+
"vite": "^8.0.8",
|
|
59
|
+
"vite-plugin-dts": "^4.5.4",
|
|
60
|
+
"vite-plugin-vue-devtools": "^8.1.1",
|
|
61
|
+
"vue": "^3.5.32",
|
|
62
|
+
"vue-tsc": "^3.2.6"
|
|
63
|
+
},
|
|
64
|
+
"engines": {
|
|
65
|
+
"node": ">=18.0.0"
|
|
66
|
+
},
|
|
67
|
+
"scripts": {
|
|
68
|
+
"dev": "vite",
|
|
69
|
+
"build": "run-p type-check \"build-only {@}\" --",
|
|
70
|
+
"build:lib": "vite build --config vite.lib.config.ts",
|
|
71
|
+
"preview": "vite preview",
|
|
72
|
+
"build-only": "vite build",
|
|
73
|
+
"type-check": "vue-tsc --build"
|
|
74
|
+
}
|
|
75
|
+
}
|