@schedule-x/react 1.38.0 → 1.39.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.
Files changed (58) hide show
  1. package/package.json +6 -2
  2. package/.eslintrc.cjs +0 -19
  3. package/.github/workflows/build-library.yml +0 -28
  4. package/.github/workflows/lint.yml +0 -19
  5. package/.github/workflows/release.yml +0 -34
  6. package/.github/workflows/test-e2e.yml +0 -29
  7. package/.husky/pre-commit +0 -5
  8. package/.prettierrc +0 -1
  9. package/.releaserc +0 -43
  10. package/CHANGELOG.md +0 -299
  11. package/cypress/e2e/001-smoke.cy.ts +0 -15
  12. package/cypress/e2e/002-custom-events.cy.ts +0 -33
  13. package/cypress/fixtures/example.json +0 -5
  14. package/cypress/pages/001-smoke/001-smoke.html +0 -21
  15. package/cypress/pages/001-smoke/001-smoke.tsx +0 -47
  16. package/cypress/pages/002-custom-events/002-custom-events.html +0 -21
  17. package/cypress/pages/002-custom-events/002-custom-events.tsx +0 -67
  18. package/cypress/pages/002-custom-events/components/CustomDateGridEvent.tsx +0 -26
  19. package/cypress/pages/002-custom-events/components/CustomMonthAgendaEvent.tsx +0 -26
  20. package/cypress/pages/002-custom-events/components/CustomMonthGridEvent.tsx +0 -26
  21. package/cypress/pages/002-custom-events/components/CustomTimeGridEvent.tsx +0 -30
  22. package/cypress/pages/index.css +0 -10
  23. package/cypress/support/commands.ts +0 -37
  24. package/cypress/support/e2e.ts +0 -20
  25. package/cypress.config.ts +0 -8
  26. package/development/App.css +0 -42
  27. package/development/App.tsx +0 -67
  28. package/development/assets/react.svg +0 -1
  29. package/development/components/CustomDateGridEvent.tsx +0 -26
  30. package/development/components/CustomEventModal.tsx +0 -26
  31. package/development/components/CustomTimeGridEvent.tsx +0 -29
  32. package/development/index.css +0 -30
  33. package/development/main.tsx +0 -10
  34. package/development/next-app/README.md +0 -36
  35. package/development/next-app/app/favicon.ico +0 -0
  36. package/development/next-app/app/globals.css +0 -113
  37. package/development/next-app/app/layout.tsx +0 -22
  38. package/development/next-app/app/page.module.css +0 -231
  39. package/development/next-app/app/page.tsx +0 -50
  40. package/development/next-app/cypress.config.js +0 -9
  41. package/development/next-app/next.config.js +0 -4
  42. package/development/next-app/package-lock.json +0 -464
  43. package/development/next-app/package.json +0 -22
  44. package/development/next-app/public/next.svg +0 -1
  45. package/development/next-app/public/vercel.svg +0 -1
  46. package/development/next-app/tsconfig.json +0 -27
  47. package/development/vite-env.d.ts +0 -1
  48. package/index.html +0 -13
  49. package/renovate.json +0 -16
  50. package/rollup.config.js +0 -37
  51. package/src/index.tsx +0 -5
  52. package/src/schedule-x-calendar.tsx +0 -94
  53. package/src/types/custom-components.ts +0 -8
  54. package/src/use-calendar-app.tsx +0 -23
  55. package/tsconfig.json +0 -26
  56. package/tsconfig.node.json +0 -10
  57. package/tsconfig.rollup.json +0 -27
  58. package/vite.config.ts +0 -7
@@ -1,464 +0,0 @@
1
- {
2
- "name": "next-app",
3
- "version": "0.1.0",
4
- "lockfileVersion": 3,
5
- "requires": true,
6
- "packages": {
7
- "": {
8
- "name": "next-app",
9
- "version": "0.1.0",
10
- "dependencies": {
11
- "next": "14.2.3",
12
- "react": "^18",
13
- "react-dom": "^18"
14
- },
15
- "devDependencies": {
16
- "@types/node": "^20",
17
- "@types/react": "^18",
18
- "@types/react-dom": "^18",
19
- "typescript": "^5"
20
- }
21
- },
22
- "node_modules/@next/env": {
23
- "version": "14.2.3",
24
- "resolved": "https://registry.npmjs.org/@next/env/-/env-14.2.3.tgz",
25
- "integrity": "sha512-W7fd7IbkfmeeY2gXrzJYDx8D2lWKbVoTIj1o1ScPHNzvp30s1AuoEFSdr39bC5sjxJaxTtq3OTCZboNp0lNWHA=="
26
- },
27
- "node_modules/@next/swc-darwin-arm64": {
28
- "version": "14.2.3",
29
- "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.2.3.tgz",
30
- "integrity": "sha512-3pEYo/RaGqPP0YzwnlmPN2puaF2WMLM3apt5jLW2fFdXD9+pqcoTzRk+iZsf8ta7+quAe4Q6Ms0nR0SFGFdS1A==",
31
- "cpu": [
32
- "arm64"
33
- ],
34
- "optional": true,
35
- "os": [
36
- "darwin"
37
- ],
38
- "engines": {
39
- "node": ">= 10"
40
- }
41
- },
42
- "node_modules/@next/swc-darwin-x64": {
43
- "version": "14.2.3",
44
- "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-14.2.3.tgz",
45
- "integrity": "sha512-6adp7waE6P1TYFSXpY366xwsOnEXM+y1kgRpjSRVI2CBDOcbRjsJ67Z6EgKIqWIue52d2q/Mx8g9MszARj8IEA==",
46
- "cpu": [
47
- "x64"
48
- ],
49
- "optional": true,
50
- "os": [
51
- "darwin"
52
- ],
53
- "engines": {
54
- "node": ">= 10"
55
- }
56
- },
57
- "node_modules/@next/swc-linux-arm64-gnu": {
58
- "version": "14.2.3",
59
- "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.2.3.tgz",
60
- "integrity": "sha512-cuzCE/1G0ZSnTAHJPUT1rPgQx1w5tzSX7POXSLaS7w2nIUJUD+e25QoXD/hMfxbsT9rslEXugWypJMILBj/QsA==",
61
- "cpu": [
62
- "arm64"
63
- ],
64
- "optional": true,
65
- "os": [
66
- "linux"
67
- ],
68
- "engines": {
69
- "node": ">= 10"
70
- }
71
- },
72
- "node_modules/@next/swc-linux-arm64-musl": {
73
- "version": "14.2.3",
74
- "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.2.3.tgz",
75
- "integrity": "sha512-0D4/oMM2Y9Ta3nGuCcQN8jjJjmDPYpHX9OJzqk42NZGJocU2MqhBq5tWkJrUQOQY9N+In9xOdymzapM09GeiZw==",
76
- "cpu": [
77
- "arm64"
78
- ],
79
- "optional": true,
80
- "os": [
81
- "linux"
82
- ],
83
- "engines": {
84
- "node": ">= 10"
85
- }
86
- },
87
- "node_modules/@next/swc-linux-x64-gnu": {
88
- "version": "14.2.3",
89
- "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.2.3.tgz",
90
- "integrity": "sha512-ENPiNnBNDInBLyUU5ii8PMQh+4XLr4pG51tOp6aJ9xqFQ2iRI6IH0Ds2yJkAzNV1CfyagcyzPfROMViS2wOZ9w==",
91
- "cpu": [
92
- "x64"
93
- ],
94
- "optional": true,
95
- "os": [
96
- "linux"
97
- ],
98
- "engines": {
99
- "node": ">= 10"
100
- }
101
- },
102
- "node_modules/@next/swc-linux-x64-musl": {
103
- "version": "14.2.3",
104
- "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.2.3.tgz",
105
- "integrity": "sha512-BTAbq0LnCbF5MtoM7I/9UeUu/8ZBY0i8SFjUMCbPDOLv+un67e2JgyN4pmgfXBwy/I+RHu8q+k+MCkDN6P9ViQ==",
106
- "cpu": [
107
- "x64"
108
- ],
109
- "optional": true,
110
- "os": [
111
- "linux"
112
- ],
113
- "engines": {
114
- "node": ">= 10"
115
- }
116
- },
117
- "node_modules/@next/swc-win32-arm64-msvc": {
118
- "version": "14.2.3",
119
- "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.2.3.tgz",
120
- "integrity": "sha512-AEHIw/dhAMLNFJFJIJIyOFDzrzI5bAjI9J26gbO5xhAKHYTZ9Or04BesFPXiAYXDNdrwTP2dQceYA4dL1geu8A==",
121
- "cpu": [
122
- "arm64"
123
- ],
124
- "optional": true,
125
- "os": [
126
- "win32"
127
- ],
128
- "engines": {
129
- "node": ">= 10"
130
- }
131
- },
132
- "node_modules/@next/swc-win32-ia32-msvc": {
133
- "version": "14.2.3",
134
- "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.2.3.tgz",
135
- "integrity": "sha512-vga40n1q6aYb0CLrM+eEmisfKCR45ixQYXuBXxOOmmoV8sYST9k7E3US32FsY+CkkF7NtzdcebiFT4CHuMSyZw==",
136
- "cpu": [
137
- "ia32"
138
- ],
139
- "optional": true,
140
- "os": [
141
- "win32"
142
- ],
143
- "engines": {
144
- "node": ">= 10"
145
- }
146
- },
147
- "node_modules/@next/swc-win32-x64-msvc": {
148
- "version": "14.2.3",
149
- "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.2.3.tgz",
150
- "integrity": "sha512-Q1/zm43RWynxrO7lW4ehciQVj+5ePBhOK+/K2P7pLFX3JaJ/IZVC69SHidrmZSOkqz7ECIOhhy7XhAFG4JYyHA==",
151
- "cpu": [
152
- "x64"
153
- ],
154
- "optional": true,
155
- "os": [
156
- "win32"
157
- ],
158
- "engines": {
159
- "node": ">= 10"
160
- }
161
- },
162
- "node_modules/@swc/counter": {
163
- "version": "0.1.3",
164
- "resolved": "https://registry.npmjs.org/@swc/counter/-/counter-0.1.3.tgz",
165
- "integrity": "sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ=="
166
- },
167
- "node_modules/@swc/helpers": {
168
- "version": "0.5.5",
169
- "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.5.tgz",
170
- "integrity": "sha512-KGYxvIOXcceOAbEk4bi/dVLEK9z8sZ0uBB3Il5b1rhfClSpcX0yfRO0KmTkqR2cnQDymwLB+25ZyMzICg/cm/A==",
171
- "dependencies": {
172
- "@swc/counter": "^0.1.3",
173
- "tslib": "^2.4.0"
174
- }
175
- },
176
- "node_modules/@types/node": {
177
- "version": "20.12.11",
178
- "resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.11.tgz",
179
- "integrity": "sha512-vDg9PZ/zi+Nqp6boSOT7plNuthRugEKixDv5sFTIpkE89MmNtEArAShI4mxuX2+UrLEe9pxC1vm2cjm9YlWbJw==",
180
- "dev": true,
181
- "dependencies": {
182
- "undici-types": "~5.26.4"
183
- }
184
- },
185
- "node_modules/@types/prop-types": {
186
- "version": "15.7.11",
187
- "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.11.tgz",
188
- "integrity": "sha512-ga8y9v9uyeiLdpKddhxYQkxNDrfvuPrlFb0N1qnZZByvcElJaXthF1UhvCh9TLWJBEHeNtdnbysW7Y6Uq8CVng==",
189
- "dev": true
190
- },
191
- "node_modules/@types/react": {
192
- "version": "18.3.1",
193
- "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.1.tgz",
194
- "integrity": "sha512-V0kuGBX3+prX+DQ/7r2qsv1NsdfnCLnTgnRJ1pYnxykBhGMz+qj+box5lq7XsO5mtZsBqpjwwTu/7wszPfMBcw==",
195
- "dev": true,
196
- "dependencies": {
197
- "@types/prop-types": "*",
198
- "csstype": "^3.0.2"
199
- }
200
- },
201
- "node_modules/@types/react-dom": {
202
- "version": "18.3.0",
203
- "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.3.0.tgz",
204
- "integrity": "sha512-EhwApuTmMBmXuFOikhQLIBUn6uFg81SwLMOAUgodJF14SOBOCMdU04gDoYi0WOJJHD144TL32z4yDqCW3dnkQg==",
205
- "dev": true,
206
- "dependencies": {
207
- "@types/react": "*"
208
- }
209
- },
210
- "node_modules/busboy": {
211
- "version": "1.6.0",
212
- "resolved": "https://registry.npmjs.org/busboy/-/busboy-1.6.0.tgz",
213
- "integrity": "sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==",
214
- "dependencies": {
215
- "streamsearch": "^1.1.0"
216
- },
217
- "engines": {
218
- "node": ">=10.16.0"
219
- }
220
- },
221
- "node_modules/caniuse-lite": {
222
- "version": "1.0.30001579",
223
- "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001579.tgz",
224
- "integrity": "sha512-u5AUVkixruKHJjw/pj9wISlcMpgFWzSrczLZbrqBSxukQixmg0SJ5sZTpvaFvxU0HoQKd4yoyAogyrAz9pzJnA==",
225
- "funding": [
226
- {
227
- "type": "opencollective",
228
- "url": "https://opencollective.com/browserslist"
229
- },
230
- {
231
- "type": "tidelift",
232
- "url": "https://tidelift.com/funding/github/npm/caniuse-lite"
233
- },
234
- {
235
- "type": "github",
236
- "url": "https://github.com/sponsors/ai"
237
- }
238
- ]
239
- },
240
- "node_modules/client-only": {
241
- "version": "0.0.1",
242
- "resolved": "https://registry.npmjs.org/client-only/-/client-only-0.0.1.tgz",
243
- "integrity": "sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA=="
244
- },
245
- "node_modules/csstype": {
246
- "version": "3.1.3",
247
- "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz",
248
- "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==",
249
- "dev": true
250
- },
251
- "node_modules/graceful-fs": {
252
- "version": "4.2.11",
253
- "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
254
- "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ=="
255
- },
256
- "node_modules/js-tokens": {
257
- "version": "4.0.0",
258
- "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
259
- "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="
260
- },
261
- "node_modules/loose-envify": {
262
- "version": "1.4.0",
263
- "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",
264
- "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==",
265
- "dependencies": {
266
- "js-tokens": "^3.0.0 || ^4.0.0"
267
- },
268
- "bin": {
269
- "loose-envify": "cli.js"
270
- }
271
- },
272
- "node_modules/nanoid": {
273
- "version": "3.3.7",
274
- "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz",
275
- "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==",
276
- "funding": [
277
- {
278
- "type": "github",
279
- "url": "https://github.com/sponsors/ai"
280
- }
281
- ],
282
- "bin": {
283
- "nanoid": "bin/nanoid.cjs"
284
- },
285
- "engines": {
286
- "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
287
- }
288
- },
289
- "node_modules/next": {
290
- "version": "14.2.3",
291
- "resolved": "https://registry.npmjs.org/next/-/next-14.2.3.tgz",
292
- "integrity": "sha512-dowFkFTR8v79NPJO4QsBUtxv0g9BrS/phluVpMAt2ku7H+cbcBJlopXjkWlwxrk/xGqMemr7JkGPGemPrLLX7A==",
293
- "dependencies": {
294
- "@next/env": "14.2.3",
295
- "@swc/helpers": "0.5.5",
296
- "busboy": "1.6.0",
297
- "caniuse-lite": "^1.0.30001579",
298
- "graceful-fs": "^4.2.11",
299
- "postcss": "8.4.31",
300
- "styled-jsx": "5.1.1"
301
- },
302
- "bin": {
303
- "next": "dist/bin/next"
304
- },
305
- "engines": {
306
- "node": ">=18.17.0"
307
- },
308
- "optionalDependencies": {
309
- "@next/swc-darwin-arm64": "14.2.3",
310
- "@next/swc-darwin-x64": "14.2.3",
311
- "@next/swc-linux-arm64-gnu": "14.2.3",
312
- "@next/swc-linux-arm64-musl": "14.2.3",
313
- "@next/swc-linux-x64-gnu": "14.2.3",
314
- "@next/swc-linux-x64-musl": "14.2.3",
315
- "@next/swc-win32-arm64-msvc": "14.2.3",
316
- "@next/swc-win32-ia32-msvc": "14.2.3",
317
- "@next/swc-win32-x64-msvc": "14.2.3"
318
- },
319
- "peerDependencies": {
320
- "@opentelemetry/api": "^1.1.0",
321
- "@playwright/test": "^1.41.2",
322
- "react": "^18.2.0",
323
- "react-dom": "^18.2.0",
324
- "sass": "^1.3.0"
325
- },
326
- "peerDependenciesMeta": {
327
- "@opentelemetry/api": {
328
- "optional": true
329
- },
330
- "@playwright/test": {
331
- "optional": true
332
- },
333
- "sass": {
334
- "optional": true
335
- }
336
- }
337
- },
338
- "node_modules/picocolors": {
339
- "version": "1.0.0",
340
- "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",
341
- "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ=="
342
- },
343
- "node_modules/postcss": {
344
- "version": "8.4.31",
345
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz",
346
- "integrity": "sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==",
347
- "funding": [
348
- {
349
- "type": "opencollective",
350
- "url": "https://opencollective.com/postcss/"
351
- },
352
- {
353
- "type": "tidelift",
354
- "url": "https://tidelift.com/funding/github/npm/postcss"
355
- },
356
- {
357
- "type": "github",
358
- "url": "https://github.com/sponsors/ai"
359
- }
360
- ],
361
- "dependencies": {
362
- "nanoid": "^3.3.6",
363
- "picocolors": "^1.0.0",
364
- "source-map-js": "^1.0.2"
365
- },
366
- "engines": {
367
- "node": "^10 || ^12 || >=14"
368
- }
369
- },
370
- "node_modules/react": {
371
- "version": "18.2.0",
372
- "resolved": "https://registry.npmjs.org/react/-/react-18.2.0.tgz",
373
- "integrity": "sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==",
374
- "dependencies": {
375
- "loose-envify": "^1.1.0"
376
- },
377
- "engines": {
378
- "node": ">=0.10.0"
379
- }
380
- },
381
- "node_modules/react-dom": {
382
- "version": "18.2.0",
383
- "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz",
384
- "integrity": "sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==",
385
- "dependencies": {
386
- "loose-envify": "^1.1.0",
387
- "scheduler": "^0.23.0"
388
- },
389
- "peerDependencies": {
390
- "react": "^18.2.0"
391
- }
392
- },
393
- "node_modules/scheduler": {
394
- "version": "0.23.0",
395
- "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz",
396
- "integrity": "sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==",
397
- "dependencies": {
398
- "loose-envify": "^1.1.0"
399
- }
400
- },
401
- "node_modules/source-map-js": {
402
- "version": "1.0.2",
403
- "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz",
404
- "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==",
405
- "engines": {
406
- "node": ">=0.10.0"
407
- }
408
- },
409
- "node_modules/streamsearch": {
410
- "version": "1.1.0",
411
- "resolved": "https://registry.npmjs.org/streamsearch/-/streamsearch-1.1.0.tgz",
412
- "integrity": "sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==",
413
- "engines": {
414
- "node": ">=10.0.0"
415
- }
416
- },
417
- "node_modules/styled-jsx": {
418
- "version": "5.1.1",
419
- "resolved": "https://registry.npmjs.org/styled-jsx/-/styled-jsx-5.1.1.tgz",
420
- "integrity": "sha512-pW7uC1l4mBZ8ugbiZrcIsiIvVx1UmTfw7UkC3Um2tmfUq9Bhk8IiyEIPl6F8agHgjzku6j0xQEZbfA5uSgSaCw==",
421
- "dependencies": {
422
- "client-only": "0.0.1"
423
- },
424
- "engines": {
425
- "node": ">= 12.0.0"
426
- },
427
- "peerDependencies": {
428
- "react": ">= 16.8.0 || 17.x.x || ^18.0.0-0"
429
- },
430
- "peerDependenciesMeta": {
431
- "@babel/core": {
432
- "optional": true
433
- },
434
- "babel-plugin-macros": {
435
- "optional": true
436
- }
437
- }
438
- },
439
- "node_modules/tslib": {
440
- "version": "2.6.2",
441
- "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz",
442
- "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q=="
443
- },
444
- "node_modules/typescript": {
445
- "version": "5.4.5",
446
- "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz",
447
- "integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==",
448
- "dev": true,
449
- "bin": {
450
- "tsc": "bin/tsc",
451
- "tsserver": "bin/tsserver"
452
- },
453
- "engines": {
454
- "node": ">=14.17"
455
- }
456
- },
457
- "node_modules/undici-types": {
458
- "version": "5.26.5",
459
- "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz",
460
- "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==",
461
- "dev": true
462
- }
463
- }
464
- }
@@ -1,22 +0,0 @@
1
- {
2
- "name": "next-app",
3
- "version": "0.1.0",
4
- "private": true,
5
- "scripts": {
6
- "dev": "next dev",
7
- "build": "next build",
8
- "start": "next start",
9
- "lint": "next lint"
10
- },
11
- "dependencies": {
12
- "react": "^18",
13
- "react-dom": "^18",
14
- "next": "14.2.3"
15
- },
16
- "devDependencies": {
17
- "typescript": "^5",
18
- "@types/node": "^20",
19
- "@types/react": "^18",
20
- "@types/react-dom": "^18"
21
- }
22
- }
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 394 80"><path fill="#000" d="M262 0h68.5v12.7h-27.2v66.6h-13.6V12.7H262V0ZM149 0v12.7H94v20.4h44.3v12.6H94v21h55v12.6H80.5V0h68.7zm34.3 0h-17.8l63.8 79.4h17.9l-32-39.7 32-39.6h-17.9l-23 28.6-23-28.6zm18.3 56.7-9-11-27.1 33.7h17.8l18.3-22.7z"/><path fill="#000" d="M81 79.3 17 0H0v79.3h13.6V17l50.2 62.3H81Zm252.6-.4c-1 0-1.8-.4-2.5-1s-1.1-1.6-1.1-2.6.3-1.8 1-2.5 1.6-1 2.6-1 1.8.3 2.5 1a3.4 3.4 0 0 1 .6 4.3 3.7 3.7 0 0 1-3 1.8zm23.2-33.5h6v23.3c0 2.1-.4 4-1.3 5.5a9.1 9.1 0 0 1-3.8 3.5c-1.6.8-3.5 1.3-5.7 1.3-2 0-3.7-.4-5.3-1s-2.8-1.8-3.7-3.2c-.9-1.3-1.4-3-1.4-5h6c.1.8.3 1.6.7 2.2s1 1.2 1.6 1.5c.7.4 1.5.5 2.4.5 1 0 1.8-.2 2.4-.6a4 4 0 0 0 1.6-1.8c.3-.8.5-1.8.5-3V45.5zm30.9 9.1a4.4 4.4 0 0 0-2-3.3 7.5 7.5 0 0 0-4.3-1.1c-1.3 0-2.4.2-3.3.5-.9.4-1.6 1-2 1.6a3.5 3.5 0 0 0-.3 4c.3.5.7.9 1.3 1.2l1.8 1 2 .5 3.2.8c1.3.3 2.5.7 3.7 1.2a13 13 0 0 1 3.2 1.8 8.1 8.1 0 0 1 3 6.5c0 2-.5 3.7-1.5 5.1a10 10 0 0 1-4.4 3.5c-1.8.8-4.1 1.2-6.8 1.2-2.6 0-4.9-.4-6.8-1.2-2-.8-3.4-2-4.5-3.5a10 10 0 0 1-1.7-5.6h6a5 5 0 0 0 3.5 4.6c1 .4 2.2.6 3.4.6 1.3 0 2.5-.2 3.5-.6 1-.4 1.8-1 2.4-1.7a4 4 0 0 0 .8-2.4c0-.9-.2-1.6-.7-2.2a11 11 0 0 0-2.1-1.4l-3.2-1-3.8-1c-2.8-.7-5-1.7-6.6-3.2a7.2 7.2 0 0 1-2.4-5.7 8 8 0 0 1 1.7-5 10 10 0 0 1 4.3-3.5c2-.8 4-1.2 6.4-1.2 2.3 0 4.4.4 6.2 1.2 1.8.8 3.2 2 4.3 3.4 1 1.4 1.5 3 1.5 5h-5.8z"/></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 283 64"><path fill="black" d="M141 16c-11 0-19 7-19 18s9 18 20 18c7 0 13-3 16-7l-7-5c-2 3-6 4-9 4-5 0-9-3-10-7h28v-3c0-11-8-18-19-18zm-9 15c1-4 4-7 9-7s8 3 9 7h-18zm117-15c-11 0-19 7-19 18s9 18 20 18c6 0 12-3 16-7l-8-5c-2 3-5 4-8 4-5 0-9-3-11-7h28l1-3c0-11-8-18-19-18zm-10 15c2-4 5-7 10-7s8 3 9 7h-19zm-39 3c0 6 4 10 10 10 4 0 7-2 9-5l8 5c-3 5-9 8-17 8-11 0-19-7-19-18s8-18 19-18c8 0 14 3 17 8l-8 5c-2-3-5-5-9-5-6 0-10 4-10 10zm83-29v46h-9V5h9zM37 0l37 64H0L37 0zm92 5-27 48L74 5h10l18 30 17-30h10zm59 12v10l-3-1c-6 0-10 4-10 10v15h-9V17h9v9c0-5 6-9 13-9z"/></svg>
@@ -1,27 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "target": "es5",
4
- "lib": ["dom", "dom.iterable", "esnext"],
5
- "allowJs": true,
6
- "skipLibCheck": true,
7
- "strict": true,
8
- "noEmit": true,
9
- "esModuleInterop": true,
10
- "module": "ESNext",
11
- "moduleResolution": "bundler",
12
- "resolveJsonModule": true,
13
- "isolatedModules": true,
14
- "jsx": "preserve",
15
- "incremental": true,
16
- "plugins": [
17
- {
18
- "name": "next"
19
- }
20
- ],
21
- "paths": {
22
- "@/*": ["./*"]
23
- }
24
- },
25
- "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
26
- "exclude": ["node_modules"]
27
- }
@@ -1 +0,0 @@
1
- /// <reference types="vite/client" />
package/index.html DELETED
@@ -1,13 +0,0 @@
1
- <!doctype html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8" />
5
- <link rel="icon" type="image/svg+xml" href="/vite.svg" />
6
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
- <title>Vite + React + TS</title>
8
- </head>
9
- <body>
10
- <div id="root"></div>
11
- <script type="module" src="/development/main.tsx"></script>
12
- </body>
13
- </html>
package/renovate.json DELETED
@@ -1,16 +0,0 @@
1
- {
2
- "$schema": "https://docs.renovatebot.com/renovate-schema.json",
3
- "extends": ["config:base", ":disableDependencyDashboard"],
4
- "packageRules": [
5
- {
6
- "matchDepTypes": ["devDependencies"],
7
- "matchUpdateTypes": ["patch", "minor"],
8
- "groupName": "devDependencies (non-major)"
9
- },
10
- {
11
- "groupName": "Schedule-X monorepo packages",
12
- "packagePatterns": ["^@schedule-x.*"]
13
- }
14
- ],
15
- "ignoreDeps": ["react", "react-dom"]
16
- }
package/rollup.config.js DELETED
@@ -1,37 +0,0 @@
1
- import resolve from '@rollup/plugin-node-resolve'
2
- import commonjs from '@rollup/plugin-commonjs'
3
- import typescript from '@rollup/plugin-typescript'
4
- import external from 'rollup-plugin-peer-deps-external'
5
- import postcss from 'rollup-plugin-postcss'
6
- import { readFile } from 'fs/promises'
7
-
8
- const pJson = JSON.parse(
9
- await readFile(new URL('./package.json', import.meta.url))
10
- )
11
-
12
- export default {
13
- input: 'src/index.tsx',
14
- output: [
15
- {
16
- // deprecate with v2
17
- file: pJson.main,
18
- format: 'cjs',
19
- name: 'react-lib',
20
- },
21
- {
22
- file: pJson.module,
23
- format: 'esm',
24
- },
25
- {
26
- file: 'dist/index.cjs.js',
27
- format: 'cjs',
28
- },
29
- ],
30
- plugins: [
31
- external(),
32
- resolve(),
33
- commonjs(),
34
- typescript({ tsconfig: './tsconfig.rollup.json' }),
35
- postcss(),
36
- ],
37
- }
package/src/index.tsx DELETED
@@ -1,5 +0,0 @@
1
- // @deprecated. To be removed in v1.0.0
2
- export { ScheduleXCalendar as Calendar } from './schedule-x-calendar.tsx'
3
-
4
- export { ScheduleXCalendar } from './schedule-x-calendar.tsx'
5
- export { useCalendarApp, useNextCalendarApp } from './use-calendar-app.tsx'