@schedule-x/react 1.37.0 → 1.39.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/.github/workflows/test-e2e.yml +6 -0
- package/CHANGELOG.md +53 -78
- package/cypress/e2e/002-custom-events.cy.ts +1 -1
- package/cypress/pages/002-custom-events/002-custom-events.tsx +3 -1
- package/cypress.config.ts +1 -1
- package/development/next-app/package-lock.json +3 -3
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,278 +2,253 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
4
4
|
|
|
5
|
-
# [1.
|
|
5
|
+
# [1.39.0](https://github.com/schedule-x/react/compare/v1.38.0...v1.39.0) (2024-05-13)
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
### Features
|
|
9
9
|
|
|
10
|
-
* update schedule-x monorepo packages to v1.
|
|
10
|
+
* update schedule-x monorepo packages to v1.41.0 ([#112](https://github.com/schedule-x/react/issues/112)) ([c1b153a](https://github.com/schedule-x/react/commit/c1b153adba271467118fba3031c207adb5056ad6))
|
|
11
11
|
|
|
12
|
-
# [1.
|
|
12
|
+
# [1.38.0](https://github.com/schedule-x/react/compare/v1.37.0...v1.38.0) (2024-05-11)
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
### Features
|
|
16
16
|
|
|
17
|
-
* update schedule-x monorepo packages to v1.
|
|
17
|
+
* update schedule-x monorepo packages to v1.40.0 ([#110](https://github.com/schedule-x/react/issues/110)) ([2bd2454](https://github.com/schedule-x/react/commit/2bd24541197d3ac4e57f2e3a5e124a0aab82921d))
|
|
18
18
|
|
|
19
|
-
# [1.
|
|
19
|
+
# [1.37.0](https://github.com/schedule-x/react/compare/v1.36.0...v1.37.0) (2024-05-09)
|
|
20
20
|
|
|
21
|
+
### Features
|
|
22
|
+
|
|
23
|
+
- update schedule-x monorepo packages to v1.39.0 ([#108](https://github.com/schedule-x/react/issues/108)) ([29e0572](https://github.com/schedule-x/react/commit/29e05727ea0fc67fa304a6857d02f0e779656821))
|
|
24
|
+
|
|
25
|
+
# [1.36.0](https://github.com/schedule-x/react/compare/v1.35.0...v1.36.0) (2024-05-07)
|
|
21
26
|
|
|
22
27
|
### Features
|
|
23
28
|
|
|
24
|
-
|
|
29
|
+
- update schedule-x monorepo packages to v1.38.0 ([#104](https://github.com/schedule-x/react/issues/104)) ([ca69698](https://github.com/schedule-x/react/commit/ca696987049a9b914ae50add988c5db89058374e))
|
|
25
30
|
|
|
26
|
-
# [1.
|
|
31
|
+
# [1.35.0](https://github.com/schedule-x/react/compare/v1.34.0...v1.35.0) (2024-05-01)
|
|
27
32
|
|
|
33
|
+
### Features
|
|
34
|
+
|
|
35
|
+
- make commonjs filename use cjs extension ([#103](https://github.com/schedule-x/react/issues/103)) ([cae187b](https://github.com/schedule-x/react/commit/cae187b4ae576711f07ed4437bdec3f4f8b42791))
|
|
36
|
+
|
|
37
|
+
# [1.34.0](https://github.com/schedule-x/react/compare/v1.33.0...v1.34.0) (2024-04-30)
|
|
28
38
|
|
|
29
39
|
### Features
|
|
30
40
|
|
|
31
|
-
|
|
41
|
+
- **deps:** update devdependencies (non-major) ([#102](https://github.com/schedule-x/react/issues/102)) ([8f22c1f](https://github.com/schedule-x/react/commit/8f22c1f3b058aa9fcc0238527fcc054489a0ddae))
|
|
32
42
|
|
|
33
43
|
# [1.33.0](https://github.com/schedule-x/react/compare/v1.32.0...v1.33.0) (2024-04-26)
|
|
34
44
|
|
|
35
|
-
|
|
36
45
|
### Features
|
|
37
46
|
|
|
38
|
-
|
|
47
|
+
- update schedule-x calendar to 1.35.0 ([#100](https://github.com/schedule-x/react/issues/100)) ([85a7893](https://github.com/schedule-x/react/commit/85a7893a2e70a17e43ed251fad42f2b0bcf0604a))
|
|
39
48
|
|
|
40
49
|
# [1.32.0](https://github.com/schedule-x/react/compare/v1.31.0...v1.32.0) (2024-04-20)
|
|
41
50
|
|
|
42
|
-
|
|
43
51
|
### Features
|
|
44
52
|
|
|
45
|
-
|
|
53
|
+
- update schedule-x monorepo packages to v1.34.0 ([#98](https://github.com/schedule-x/react/issues/98)) ([f392471](https://github.com/schedule-x/react/commit/f392471b1247e0e229d6ed452ca1f4cbb536fba2))
|
|
46
54
|
|
|
47
55
|
# [1.31.0](https://github.com/schedule-x/react/compare/v1.30.0...v1.31.0) (2024-04-20)
|
|
48
56
|
|
|
49
|
-
|
|
50
57
|
### Features
|
|
51
58
|
|
|
52
|
-
|
|
59
|
+
- update schedule-x monorepo packages to v1.33.0 ([#96](https://github.com/schedule-x/react/issues/96)) ([7cb2b9f](https://github.com/schedule-x/react/commit/7cb2b9fe37d85ba5bd2c4aeeee9c7620b74d175b))
|
|
53
60
|
|
|
54
61
|
# [1.30.0](https://github.com/schedule-x/react/compare/v1.29.1...v1.30.0) (2024-04-16)
|
|
55
62
|
|
|
56
|
-
|
|
57
63
|
### Features
|
|
58
64
|
|
|
59
|
-
|
|
65
|
+
- update schedule-x monorepo packages to v1.32.0 ([#95](https://github.com/schedule-x/react/issues/95)) ([bcfb5d8](https://github.com/schedule-x/react/commit/bcfb5d8787acc3a45e3f3c7a28f0061ec2c3a7f8))
|
|
60
66
|
|
|
61
67
|
## [1.29.1](https://github.com/schedule-x/react/compare/v1.29.0...v1.29.1) (2024-04-08)
|
|
62
68
|
|
|
63
|
-
|
|
64
69
|
### Bug Fixes
|
|
65
70
|
|
|
66
|
-
|
|
71
|
+
- update schedule-x monorepo packages to v1.30.1 ([#92](https://github.com/schedule-x/react/issues/92)) ([9880656](https://github.com/schedule-x/react/commit/98806560582ab0fb3745d2753b9ec43ca1db13d6))
|
|
67
72
|
|
|
68
73
|
# [1.29.0](https://github.com/schedule-x/react/compare/v1.28.0...v1.29.0) (2024-04-06)
|
|
69
74
|
|
|
70
|
-
|
|
71
75
|
### Features
|
|
72
76
|
|
|
73
|
-
|
|
77
|
+
- update schedule-x monorepo packages to v1.30.0 ([#88](https://github.com/schedule-x/react/issues/88)) ([76e4830](https://github.com/schedule-x/react/commit/76e483009a46e1cfb1f61fcd0f2312d0fc6eacd0))
|
|
74
78
|
|
|
75
79
|
# [1.28.0](https://github.com/schedule-x/react/compare/v1.27.0...v1.28.0) (2024-04-05)
|
|
76
80
|
|
|
77
|
-
|
|
78
81
|
### Features
|
|
79
82
|
|
|
80
|
-
|
|
83
|
+
- update schedule-x monorepo packages to v1.29.1 ([#87](https://github.com/schedule-x/react/issues/87)) ([acae383](https://github.com/schedule-x/react/commit/acae3839610dddc83f71be2e0bfde710ffaf87cc))
|
|
81
84
|
|
|
82
85
|
# [1.27.0](https://github.com/schedule-x/react/compare/v1.26.0...v1.27.0) (2024-04-04)
|
|
83
86
|
|
|
84
|
-
|
|
85
87
|
### Features
|
|
86
88
|
|
|
87
|
-
|
|
89
|
+
- update schedule-x monorepo packages to v1.29.0 ([#86](https://github.com/schedule-x/react/issues/86)) ([3d1776e](https://github.com/schedule-x/react/commit/3d1776e4749a61115d2763dd0620f74ae2b23fe0))
|
|
88
90
|
|
|
89
91
|
# [1.26.0](https://github.com/schedule-x/react/compare/v1.25.0...v1.26.0) (2024-04-03)
|
|
90
92
|
|
|
91
|
-
|
|
92
93
|
### Features
|
|
93
94
|
|
|
94
|
-
|
|
95
|
+
- update schedule-x monorepo packages to v1.28.0 ([#83](https://github.com/schedule-x/react/issues/83)) ([76c17a6](https://github.com/schedule-x/react/commit/76c17a6b9eae603b24058f77d69889276e0dfb1a))
|
|
95
96
|
|
|
96
97
|
# [1.25.0](https://github.com/schedule-x/react/compare/v1.24.0...v1.25.0) (2024-04-02)
|
|
97
98
|
|
|
98
|
-
|
|
99
99
|
### Features
|
|
100
100
|
|
|
101
|
-
|
|
101
|
+
- update schedule-x monorepo packages to v1.27.1 ([#82](https://github.com/schedule-x/react/issues/82)) ([b95b577](https://github.com/schedule-x/react/commit/b95b5773a100935689442e1b6cace876eacc6d41))
|
|
102
102
|
|
|
103
103
|
# [1.24.0](https://github.com/schedule-x/react/compare/v1.23.0...v1.24.0) (2024-03-29)
|
|
104
104
|
|
|
105
|
-
|
|
106
105
|
### Features
|
|
107
106
|
|
|
108
|
-
|
|
107
|
+
- update schedule-x monorepo packages to v1.27.0 ([#81](https://github.com/schedule-x/react/issues/81)) ([9392bf7](https://github.com/schedule-x/react/commit/9392bf7e1627dc67c8efa4a0ce9bf5a3c54a08ae))
|
|
109
108
|
|
|
110
109
|
# [1.23.0](https://github.com/schedule-x/react/compare/v1.22.0...v1.23.0) (2024-03-28)
|
|
111
110
|
|
|
112
|
-
|
|
113
111
|
### Features
|
|
114
112
|
|
|
115
|
-
|
|
113
|
+
- update schedule-x monorepo packages to v1.26.0 ([#79](https://github.com/schedule-x/react/issues/79)) ([57abba8](https://github.com/schedule-x/react/commit/57abba8fb832f7fc58ca2ee4327ad6ad78c64cee))
|
|
116
114
|
|
|
117
115
|
# [1.22.0](https://github.com/schedule-x/react/compare/v1.21.0...v1.22.0) (2024-03-18)
|
|
118
116
|
|
|
119
|
-
|
|
120
117
|
### Features
|
|
121
118
|
|
|
122
|
-
|
|
119
|
+
- update schedule-x monorepo packages to v1.25.0 ([#76](https://github.com/schedule-x/react/issues/76)) ([ad30a55](https://github.com/schedule-x/react/commit/ad30a555693ab5ae75f992e6f440e27f25eb3636))
|
|
123
120
|
|
|
124
121
|
# [1.21.0](https://github.com/schedule-x/react/compare/v1.20.0...v1.21.0) (2024-03-16)
|
|
125
122
|
|
|
126
|
-
|
|
127
123
|
### Features
|
|
128
124
|
|
|
129
|
-
|
|
125
|
+
- update schedule-x monorepo packages to v1.24.0 ([#72](https://github.com/schedule-x/react/issues/72)) ([c462226](https://github.com/schedule-x/react/commit/c462226c86ef9300fbd5e9da7250179ab9e58130))
|
|
130
126
|
|
|
131
127
|
# [1.20.0](https://github.com/schedule-x/react/compare/v1.19.0...v1.20.0) (2024-03-09)
|
|
132
128
|
|
|
133
|
-
|
|
134
129
|
### Features
|
|
135
130
|
|
|
136
|
-
|
|
131
|
+
- custom event modal ([#73](https://github.com/schedule-x/react/issues/73)) ([3130130](https://github.com/schedule-x/react/commit/313013032a21270eef78ba30fc4cb8e7024e20ac))
|
|
137
132
|
|
|
138
133
|
# [1.19.0](https://github.com/schedule-x/react/compare/v1.18.1...v1.19.0) (2024-03-04)
|
|
139
134
|
|
|
140
|
-
|
|
141
135
|
### Features
|
|
142
136
|
|
|
143
|
-
|
|
137
|
+
- update schedule-x monorepo packages to v1.21.0 ([#69](https://github.com/schedule-x/react/issues/69)) ([4a7302d](https://github.com/schedule-x/react/commit/4a7302d19d78a8e19e898da0f3cfa83bd5b9426f))
|
|
144
138
|
|
|
145
139
|
## [1.18.1](https://github.com/schedule-x/react/compare/v1.18.0...v1.18.1) (2024-03-04)
|
|
146
140
|
|
|
147
|
-
|
|
148
141
|
### Bug Fixes
|
|
149
142
|
|
|
150
|
-
|
|
143
|
+
- **deps:** update dependency next to v14.1.1 ([#66](https://github.com/schedule-x/react/issues/66)) ([fd450fa](https://github.com/schedule-x/react/commit/fd450fac1d239d85b221fbd2c8347b07b757b122))
|
|
151
144
|
|
|
152
145
|
# [1.18.0](https://github.com/schedule-x/react/compare/v1.17.0...v1.18.0) (2024-03-04)
|
|
153
146
|
|
|
154
|
-
|
|
155
147
|
### Features
|
|
156
148
|
|
|
157
|
-
|
|
149
|
+
- update schedule-x monorepo packages to v1.20.0 ([#67](https://github.com/schedule-x/react/issues/67)) ([6ae23fb](https://github.com/schedule-x/react/commit/6ae23fbc2cf6adce53914c06c4e6137c8980bed1))
|
|
158
150
|
|
|
159
151
|
# [1.17.0](https://github.com/schedule-x/react/compare/v1.16.0...v1.17.0) (2024-02-28)
|
|
160
152
|
|
|
161
|
-
|
|
162
153
|
### Features
|
|
163
154
|
|
|
164
|
-
|
|
155
|
+
- **deps:** update schedule-x monorepo packages to v1.19.0 ([#64](https://github.com/schedule-x/react/issues/64)) ([311bb66](https://github.com/schedule-x/react/commit/311bb66da60fd810316ac0e9447c7b7d34d7f8ce))
|
|
165
156
|
|
|
166
157
|
# [1.16.0](https://github.com/schedule-x/react/compare/v1.15.1...v1.16.0) (2024-02-24)
|
|
167
158
|
|
|
168
|
-
|
|
169
159
|
### Features
|
|
170
160
|
|
|
171
|
-
|
|
161
|
+
- update schedule-x monorepo packages to v1.18.0 ([#62](https://github.com/schedule-x/react/issues/62)) ([0a79d46](https://github.com/schedule-x/react/commit/0a79d46c2f67093596d65ddcb5c433a36d24eff0))
|
|
172
162
|
|
|
173
163
|
## [1.15.1](https://github.com/schedule-x/react/compare/v1.15.0...v1.15.1) (2024-02-17)
|
|
174
164
|
|
|
175
|
-
|
|
176
165
|
### Bug Fixes
|
|
177
166
|
|
|
178
|
-
|
|
167
|
+
- update schedule-x monorepo packages to v1.17.1 ([#60](https://github.com/schedule-x/react/issues/60)) ([69f63e4](https://github.com/schedule-x/react/commit/69f63e447a61adb237a7b5f41ec0ad40eac6f29b))
|
|
179
168
|
|
|
180
169
|
# [1.15.0](https://github.com/schedule-x/react/compare/v1.14.0...v1.15.0) (2024-02-10)
|
|
181
170
|
|
|
182
|
-
|
|
183
171
|
### Features
|
|
184
172
|
|
|
185
|
-
|
|
173
|
+
- update schedule-x monorepo packages to v1.17.0 ([#57](https://github.com/schedule-x/react/issues/57)) ([4afd480](https://github.com/schedule-x/react/commit/4afd480390b67912d60b9926a713a2e783ad72ac))
|
|
186
174
|
|
|
187
175
|
# [1.14.0](https://github.com/schedule-x/react/compare/v1.13.0...v1.14.0) (2024-02-10)
|
|
188
176
|
|
|
189
|
-
|
|
190
177
|
### Features
|
|
191
178
|
|
|
192
|
-
|
|
179
|
+
- update schedule-x monorepo packages to v1.17.0 ([#56](https://github.com/schedule-x/react/issues/56)) ([d6122c1](https://github.com/schedule-x/react/commit/d6122c12d869d75c2c7e44eb2df871274991a827))
|
|
193
180
|
|
|
194
181
|
# [1.13.0](https://github.com/schedule-x/react/compare/v1.12.0...v1.13.0) (2024-02-10)
|
|
195
182
|
|
|
196
|
-
|
|
197
183
|
### Features
|
|
198
184
|
|
|
199
|
-
|
|
185
|
+
- update schedule-x monorepo packages to v1.16.0 ([#55](https://github.com/schedule-x/react/issues/55)) ([e9d781e](https://github.com/schedule-x/react/commit/e9d781e1d9e4943439d674245f566401d161e036))
|
|
200
186
|
|
|
201
187
|
# [1.12.0](https://github.com/schedule-x/react/compare/v1.11.0...v1.12.0) (2024-02-06)
|
|
202
188
|
|
|
203
|
-
|
|
204
189
|
### Features
|
|
205
190
|
|
|
206
|
-
|
|
191
|
+
- update schedule-x monorepo packages to v1.15.0 ([#53](https://github.com/schedule-x/react/issues/53)) ([8e58292](https://github.com/schedule-x/react/commit/8e58292765a7613d00e1bb8f56bc71605b4c891b))
|
|
207
192
|
|
|
208
193
|
# [1.11.0](https://github.com/schedule-x/react/compare/v1.10.1...v1.11.0) (2024-02-05)
|
|
209
194
|
|
|
210
|
-
|
|
211
195
|
### Features
|
|
212
196
|
|
|
213
|
-
|
|
197
|
+
- update schedule-x monorepo packages to v1.14.0 ([#51](https://github.com/schedule-x/react/issues/51)) ([8a30fc0](https://github.com/schedule-x/react/commit/8a30fc0a0b180dd8f3b5aefa0b3863966ad5a1c4))
|
|
214
198
|
|
|
215
199
|
## [1.10.1](https://github.com/schedule-x/react/compare/v1.10.0...v1.10.1) (2024-02-02)
|
|
216
200
|
|
|
217
|
-
|
|
218
201
|
### Bug Fixes
|
|
219
202
|
|
|
220
|
-
|
|
203
|
+
- update schedule-x monorepo packages to v1.12.2 ([#48](https://github.com/schedule-x/react/issues/48)) ([dc9cfba](https://github.com/schedule-x/react/commit/dc9cfba309c545e9226574bb4487b549c823da51))
|
|
221
204
|
|
|
222
205
|
# [1.10.0](https://github.com/schedule-x/react/compare/v1.9.0...v1.10.0) (2024-01-29)
|
|
223
206
|
|
|
224
|
-
|
|
225
207
|
### Features
|
|
226
208
|
|
|
227
|
-
|
|
209
|
+
- update schedule-x monorepo packages to v1.12.1 ([#47](https://github.com/schedule-x/react/issues/47)) ([e2a56df](https://github.com/schedule-x/react/commit/e2a56dfa77ffa8da3fdddbc7b092c21865971127))
|
|
228
210
|
|
|
229
211
|
# [1.9.0](https://github.com/schedule-x/react/compare/v1.8.0...v1.9.0) (2024-01-27)
|
|
230
212
|
|
|
231
|
-
|
|
232
213
|
### Features
|
|
233
214
|
|
|
234
|
-
|
|
215
|
+
- update schedule-x monorepo packages to v1.12.0 ([#45](https://github.com/schedule-x/react/issues/45)) ([456ccd4](https://github.com/schedule-x/react/commit/456ccd43c55cc8831958ab59b9cfe2a7a2549da7))
|
|
235
216
|
|
|
236
217
|
# [1.8.0](https://github.com/schedule-x/react/compare/v1.7.0...v1.8.0) (2024-01-27)
|
|
237
218
|
|
|
238
|
-
|
|
239
219
|
### Features
|
|
240
220
|
|
|
241
|
-
|
|
221
|
+
- update schedule-x monorepo packages to v1.11.0 ([#44](https://github.com/schedule-x/react/issues/44)) ([a50d7f9](https://github.com/schedule-x/react/commit/a50d7f95f6c4e9010f080f697117f57a7294623b))
|
|
242
222
|
|
|
243
223
|
# [1.7.0](https://github.com/schedule-x/react/compare/v1.6.2...v1.7.0) (2024-01-26)
|
|
244
224
|
|
|
245
|
-
|
|
246
225
|
### Features
|
|
247
226
|
|
|
248
|
-
|
|
227
|
+
- update schedule-x monorepo packages to v1.10.0 ([#43](https://github.com/schedule-x/react/issues/43)) ([7b3a640](https://github.com/schedule-x/react/commit/7b3a6406e26751b1b35eb08831339db85e074508))
|
|
249
228
|
|
|
250
229
|
## [1.6.2](https://github.com/schedule-x/react/compare/v1.6.1...v1.6.2) (2024-01-22)
|
|
251
230
|
|
|
252
|
-
|
|
253
231
|
### Bug Fixes
|
|
254
232
|
|
|
255
|
-
|
|
233
|
+
- update schedule-x monorepo packages to v1.9.1 ([#39](https://github.com/schedule-x/react/issues/39)) ([42e347f](https://github.com/schedule-x/react/commit/42e347f47c9a49222b9be148b8cb3fc0997b56ad))
|
|
256
234
|
|
|
257
235
|
## [1.6.1](https://github.com/schedule-x/react/compare/v1.6.0...v1.6.1) (2024-01-19)
|
|
258
236
|
|
|
259
|
-
|
|
260
237
|
### Bug Fixes
|
|
261
238
|
|
|
262
|
-
|
|
239
|
+
- **deps:** update dependency next to v14.1.0 ([#36](https://github.com/schedule-x/react/issues/36)) ([6bafa5b](https://github.com/schedule-x/react/commit/6bafa5b1fa7cad179888a7b92449bc4cd3b3bdde))
|
|
263
240
|
|
|
264
241
|
# [1.6.0](https://github.com/schedule-x/react/compare/v1.5.0...v1.6.0) (2024-01-17)
|
|
265
242
|
|
|
266
|
-
|
|
267
243
|
### Features
|
|
268
244
|
|
|
269
|
-
|
|
245
|
+
- update schedule-x monorepo packages to v1.9.0 ([#34](https://github.com/schedule-x/react/issues/34)) ([7dccabb](https://github.com/schedule-x/react/commit/7dccabb57e7ca8d6c2bd4e71dd496fa85ef89306))
|
|
270
246
|
|
|
271
247
|
# [1.5.0](https://github.com/schedule-x/react/compare/v1.4.0...v1.5.0) (2024-01-15)
|
|
272
248
|
|
|
273
|
-
|
|
274
249
|
### Features
|
|
275
250
|
|
|
276
|
-
|
|
251
|
+
- add useNextCalendarApp hook ([#32](https://github.com/schedule-x/react/issues/32)) ([2d3c561](https://github.com/schedule-x/react/commit/2d3c561c479eeea38011588842484e140416644c))
|
|
277
252
|
|
|
278
253
|
# [1.4.0](https://github.com/schedule-x/react/compare/v1.3.2...v1.4.0) (2024-01-13)
|
|
279
254
|
|
|
@@ -22,7 +22,7 @@ describe('Custom events', () => {
|
|
|
22
22
|
|
|
23
23
|
describe('Custom events test on mobile', () => {
|
|
24
24
|
beforeEach(() => {
|
|
25
|
-
cy.visit('/cypress/pages/002-custom-events/002-custom-events.html')
|
|
25
|
+
cy.visit('/cypress/pages/002-custom-events/002-custom-events.html?view=month-agenda')
|
|
26
26
|
cy.viewport('iphone-6')
|
|
27
27
|
})
|
|
28
28
|
|
|
@@ -21,9 +21,11 @@ import CustomMonthGridEvent from './components/CustomMonthGridEvent.tsx'
|
|
|
21
21
|
|
|
22
22
|
// eslint-disable-next-line react-refresh/only-export-components
|
|
23
23
|
function App() {
|
|
24
|
+
const viewParamInURL = new URLSearchParams(window.location.search).get('view')
|
|
25
|
+
|
|
24
26
|
const calendarApp = useCalendarApp({
|
|
25
27
|
views: [viewWeek, viewMonthGrid, viewDay, viewMonthAgenda],
|
|
26
|
-
defaultView:
|
|
28
|
+
defaultView: viewParamInURL || 'week',
|
|
27
29
|
events: [
|
|
28
30
|
{
|
|
29
31
|
id: '1',
|
package/cypress.config.ts
CHANGED
|
@@ -174,9 +174,9 @@
|
|
|
174
174
|
}
|
|
175
175
|
},
|
|
176
176
|
"node_modules/@types/node": {
|
|
177
|
-
"version": "20.12.
|
|
178
|
-
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.
|
|
179
|
-
"integrity": "sha512-
|
|
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
180
|
"dev": true,
|
|
181
181
|
"dependencies": {
|
|
182
182
|
"undici-types": "~5.26.4"
|
package/package.json
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"main": "dist/index.cjs",
|
|
15
15
|
"module": "dist/index.js",
|
|
16
16
|
"types": "dist/types/index.d.ts",
|
|
17
|
-
"version": "1.
|
|
17
|
+
"version": "1.39.0",
|
|
18
18
|
"type": "module",
|
|
19
19
|
"scripts": {
|
|
20
20
|
"dev": "vite",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"build:publish": "npm run build && npm publish"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
29
|
-
"@schedule-x/calendar": "1.
|
|
29
|
+
"@schedule-x/calendar": "1.41.0",
|
|
30
30
|
"react": "^16.7.0 || ^17 || ^18",
|
|
31
31
|
"react-dom": "^16.7.0 || ^17 || ^18"
|
|
32
32
|
},
|