universal-datetime-picker 2.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/package.json ADDED
@@ -0,0 +1,232 @@
1
+ {
2
+ "name": "universal-datetime-picker",
3
+ "version": "2.0.0",
4
+ "description": "Universal date, time, datetime, and range picker for React, Vue, Svelte, Angular, vanilla JS, and CDN — accessible, TypeScript, dayjs, CSS themes",
5
+ "license": "MIT",
6
+ "author": "Raghav Bhardwaj",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "https://github.com/Bhardwaj-Raghav/universal-datetime-picker.git"
10
+ },
11
+ "homepage": "https://universal-datetime-picker.vercel.app",
12
+ "bugs": {
13
+ "url": "https://github.com/Bhardwaj-Raghav/universal-datetime-picker/issues"
14
+ },
15
+ "keywords": [
16
+ "universal",
17
+ "framework-agnostic",
18
+ "headless",
19
+ "react",
20
+ "vue",
21
+ "svelte",
22
+ "angular",
23
+ "vanilla",
24
+ "web-components",
25
+ "custom-elements",
26
+ "cdn",
27
+ "reactjs",
28
+ "react-component",
29
+ "component",
30
+ "ui",
31
+ "ui-component",
32
+ "form",
33
+ "input",
34
+ "picker",
35
+ "date",
36
+ "time",
37
+ "datetime",
38
+ "calendar",
39
+ "datepicker",
40
+ "date-picker",
41
+ "timepicker",
42
+ "time-picker",
43
+ "datetimepicker",
44
+ "datetime-picker",
45
+ "date-time-picker",
46
+ "date-time",
47
+ "react-datepicker",
48
+ "react-datetime",
49
+ "react-datetime-picker",
50
+ "react-date-picker",
51
+ "react-time-picker",
52
+ "react-calendar",
53
+ "calendar-picker",
54
+ "month-picker",
55
+ "year-picker",
56
+ "range",
57
+ "date-range",
58
+ "daterange",
59
+ "date-range-picker",
60
+ "daterangepicker",
61
+ "range-picker",
62
+ "calendar-range",
63
+ "typescript",
64
+ "ts",
65
+ "types",
66
+ "accessible",
67
+ "accessibility",
68
+ "a11y",
69
+ "aria",
70
+ "keyboard",
71
+ "dayjs",
72
+ "popup",
73
+ "popover",
74
+ "overlay",
75
+ "inline",
76
+ "modal",
77
+ "dropdown",
78
+ "select",
79
+ "theme",
80
+ "themeable",
81
+ "theming",
82
+ "css-variables",
83
+ "dark-mode",
84
+ "dark-theme",
85
+ "light-theme",
86
+ "i18n",
87
+ "intl",
88
+ "locale",
89
+ "localization",
90
+ "l10n",
91
+ "12-hour",
92
+ "24-hour",
93
+ "ampm",
94
+ "schedule",
95
+ "booking",
96
+ "appointment",
97
+ "frontend",
98
+ "web",
99
+ "npm",
100
+ "open-source",
101
+ "mit",
102
+ "universal-datetime-picker"
103
+ ],
104
+ "sideEffects": [
105
+ "**/*.css",
106
+ "./dist/cdn/*",
107
+ "./dist/wc/*",
108
+ "./dist/vue/*",
109
+ "./dist/svelte/*",
110
+ "./dist/angular/*"
111
+ ],
112
+ "files": [
113
+ "dist"
114
+ ],
115
+ "main": "./dist/index.js",
116
+ "module": "./dist/index.mjs",
117
+ "types": "./dist/index.d.ts",
118
+ "unpkg": "./dist/cdn/universal-datetime-picker.iife.js",
119
+ "jsdelivr": "./dist/cdn/universal-datetime-picker.iife.js",
120
+ "exports": {
121
+ ".": {
122
+ "types": "./dist/index.d.ts",
123
+ "import": "./dist/index.mjs",
124
+ "require": "./dist/index.js"
125
+ },
126
+ "./core": {
127
+ "types": "./dist/core/index.d.ts",
128
+ "import": "./dist/core/index.mjs",
129
+ "require": "./dist/core/index.js"
130
+ },
131
+ "./vanilla": {
132
+ "types": "./dist/vanilla/index.d.ts",
133
+ "import": "./dist/vanilla/index.mjs",
134
+ "require": "./dist/vanilla/index.js"
135
+ },
136
+ "./wc": {
137
+ "types": "./dist/wc/index.d.ts",
138
+ "import": "./dist/wc/index.mjs",
139
+ "require": "./dist/wc/index.js"
140
+ },
141
+ "./vue": {
142
+ "types": "./dist/vue/index.d.ts",
143
+ "import": "./dist/vue/index.mjs",
144
+ "require": "./dist/vue/index.js"
145
+ },
146
+ "./svelte": {
147
+ "types": "./dist/svelte/index.d.ts",
148
+ "import": "./dist/svelte/index.mjs",
149
+ "require": "./dist/svelte/index.js"
150
+ },
151
+ "./angular": {
152
+ "types": "./dist/angular/index.d.ts",
153
+ "import": "./dist/angular/index.mjs",
154
+ "require": "./dist/angular/index.js"
155
+ },
156
+ "./style.css": "./dist/style.css",
157
+ "./package.json": "./package.json"
158
+ },
159
+ "scripts": {
160
+ "build": "tsup && npm run build:css",
161
+ "build:css": "sass src/styles/datepicker.scss dist/style.css --style=compressed --no-source-map",
162
+ "dev": "vite --config playground/vite.config.ts",
163
+ "website": "astro dev --root website --port 5174",
164
+ "website:build": "astro build --root website",
165
+ "typecheck": "tsc --noEmit",
166
+ "lint": "eslint .",
167
+ "test": "vitest run",
168
+ "test:watch": "vitest",
169
+ "storybook": "storybook dev -p 6006",
170
+ "build-storybook": "storybook build",
171
+ "prepublishOnly": "npm run typecheck && npm run test && npm run build"
172
+ },
173
+ "peerDependencies": {
174
+ "react": ">=18.0.0",
175
+ "react-dom": ">=18.0.0"
176
+ },
177
+ "peerDependenciesMeta": {
178
+ "react": {
179
+ "optional": true
180
+ },
181
+ "react-dom": {
182
+ "optional": true
183
+ }
184
+ },
185
+ "dependencies": {
186
+ "dayjs": "^1.11.13"
187
+ },
188
+ "devDependencies": {
189
+ "@astrojs/preact": "^6.0.1",
190
+ "@astrojs/react": "^6.0.1",
191
+ "@astrojs/sitemap": "^3.7.3",
192
+ "@astrojs/solid-js": "^7.0.1",
193
+ "@astrojs/svelte": "^9.0.1",
194
+ "@astrojs/vue": "^7.0.1",
195
+ "@eslint/js": "^9.21.0",
196
+ "@storybook/addon-docs": "^10.5.2",
197
+ "@storybook/react": "^10.5.2",
198
+ "@storybook/react-vite": "^10.5.2",
199
+ "@testing-library/jest-dom": "^6.6.3",
200
+ "@testing-library/react": "^16.2.0",
201
+ "@testing-library/user-event": "^14.6.1",
202
+ "@types/mime-types": "^3.0.1",
203
+ "@types/react": "^18.3.18",
204
+ "@types/react-dom": "^18.3.5",
205
+ "@vitejs/plugin-react": "^4.3.4",
206
+ "astro": "^7.1.1",
207
+ "eslint": "^9.21.0",
208
+ "eslint-plugin-react-hooks": "^5.1.0",
209
+ "eslint-plugin-storybook": "10.5.2",
210
+ "globals": "^15.15.0",
211
+ "jsdom": "^26.0.0",
212
+ "mime-types": "^3.0.2",
213
+ "preact": "^10.29.7",
214
+ "prettier": "^3.5.2",
215
+ "react": "^18.3.1",
216
+ "react-dom": "^18.3.1",
217
+ "sass": "^1.85.0",
218
+ "sharp": "^0.35.3",
219
+ "solid-js": "^1.9.14",
220
+ "storybook": "^10.5.2",
221
+ "svelte": "^5.56.8",
222
+ "tsup": "^8.3.6",
223
+ "typescript": "^5.7.3",
224
+ "typescript-eslint": "^8.24.1",
225
+ "vite": "^6.1.0",
226
+ "vitest": "^3.0.5",
227
+ "vue": "^3.5.40"
228
+ },
229
+ "engines": {
230
+ "node": ">=18"
231
+ }
232
+ }