@schedule-x/react 1.39.0 → 1.39.2

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 -306
  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
package/package.json CHANGED
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "name": "@schedule-x/react",
3
+ "license": "MIT",
3
4
  "publishConfig": {
4
5
  "access": "public"
5
6
  },
@@ -14,8 +15,11 @@
14
15
  "main": "dist/index.cjs",
15
16
  "module": "dist/index.js",
16
17
  "types": "dist/types/index.d.ts",
17
- "version": "1.39.0",
18
+ "version": "1.39.2",
18
19
  "type": "module",
20
+ "files": [
21
+ "dist"
22
+ ],
19
23
  "scripts": {
20
24
  "dev": "vite",
21
25
  "build": "rollup -c",
@@ -26,7 +30,7 @@
26
30
  "build:publish": "npm run build && npm publish"
27
31
  },
28
32
  "peerDependencies": {
29
- "@schedule-x/calendar": "1.41.0",
33
+ "@schedule-x/calendar": "1.41.1",
30
34
  "react": "^16.7.0 || ^17 || ^18",
31
35
  "react-dom": "^16.7.0 || ^17 || ^18"
32
36
  },
package/.eslintrc.cjs DELETED
@@ -1,19 +0,0 @@
1
- module.exports = {
2
- root: true,
3
- env: { browser: true, es2020: true },
4
- extends: [
5
- '@schedule-x/eslint-config',
6
- 'eslint:recommended',
7
- 'plugin:@typescript-eslint/recommended',
8
- 'plugin:react-hooks/recommended',
9
- ],
10
- ignorePatterns: ['dist', '.eslintrc.cjs'],
11
- parser: '@typescript-eslint/parser',
12
- plugins: ['react-refresh'],
13
- rules: {
14
- 'react-refresh/only-export-components': [
15
- 'warn',
16
- { allowConstantExport: true },
17
- ],
18
- },
19
- }
@@ -1,28 +0,0 @@
1
- name: Build
2
- on:
3
- pull_request:
4
- paths:
5
- - 'src/**'
6
- - 'rollup.config.js'
7
- - 'tsconfig.json'
8
- - 'package.json'
9
- - 'package-lock.json'
10
- push:
11
- branches:
12
- - main
13
-
14
- jobs:
15
- build_library:
16
- name: Library
17
- runs-on: ubuntu-latest
18
- steps:
19
- - name: Checkout ✅
20
- uses: actions/checkout@v4
21
- - name: Setup Node.js 🔧
22
- uses: actions/setup-node@v4
23
- with:
24
- node-version: 'lts/*'
25
- - name: Install dependencies 🛠️
26
- run: npm i
27
- - name: Build
28
- run: npm run build
@@ -1,19 +0,0 @@
1
- name: Lint
2
- on:
3
- pull_request:
4
-
5
- jobs:
6
- release:
7
- name: Lint
8
- runs-on: ubuntu-latest
9
- steps:
10
- - name: Checkout ✅
11
- uses: actions/checkout@v4
12
- - name: Setup Node.js 🔧
13
- uses: actions/setup-node@v4
14
- with:
15
- node-version: 'lts/*'
16
- - name: Install dependencies 🛠️
17
- run: npm i
18
- - name: Lint TS 🧹
19
- run: npm run lint
@@ -1,34 +0,0 @@
1
- name: Release
2
- on:
3
- push:
4
- branches:
5
- - main
6
- - 'ci/semantic_release'
7
-
8
- jobs:
9
- release:
10
- name: Release
11
- runs-on: ubuntu-latest
12
- permissions:
13
- contents: write # to be able to publish a GitHub release
14
- issues: write # to be able to comment on released issues
15
- pull-requests: write # to be able to comment on released pull requests
16
- steps:
17
- - name: Checkout ✅
18
- uses: actions/checkout@v4
19
- with:
20
- fetch-depth: 0
21
- token: ${{ secrets.GITHUB_TOKEN }}
22
- - name: Setup Node.js 🔧
23
- uses: actions/setup-node@v4
24
- with:
25
- node-version: 'lts/*'
26
- - name: Install dependencies 🛠️
27
- run: npm ci --ignore-scripts
28
- - name: Build 📦
29
- run: npm run build
30
- - name: Release 🚀
31
- env:
32
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33
- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
34
- run: npx semantic-release
@@ -1,29 +0,0 @@
1
- name: End-to-end tests
2
- on:
3
- pull_request:
4
- paths:
5
- - 'src/**'
6
- - 'cypress/**'
7
- - 'package.json'
8
- - 'package-lock.json'
9
- - 'tsconfig.json'
10
-
11
- jobs:
12
- chrome:
13
- runs-on: ubuntu-latest
14
- steps:
15
- - uses: actions/checkout@v4
16
- - name: Install dependencies ⬇️
17
- run: npm install
18
- - name: Build lib 🔨
19
- run: npm run build
20
- - uses: cypress-io/github-action@v4
21
- with:
22
- browser: chrome
23
- start: npm run dev
24
- - uses: actions/upload-artifact@v4
25
- if: failure()
26
- with:
27
- name: cypress-videos
28
- path: cypress/videos
29
- retention-days: 14
package/.husky/pre-commit DELETED
@@ -1,5 +0,0 @@
1
- #!/usr/bin/env sh
2
- . "$(dirname -- "$0")/_/husky.sh"
3
-
4
- npm run lint
5
- npm run format
package/.prettierrc DELETED
@@ -1 +0,0 @@
1
- "@schedule-x/prettier-config"
package/.releaserc DELETED
@@ -1,43 +0,0 @@
1
- {
2
- "release": {
3
- "branches": [
4
- "main",
5
- "ci/semantic_release"
6
- ]
7
- },
8
- "branches": [
9
- "main",
10
- "ci/semantic_release"
11
- ],
12
- "tagFormat": "v${version}",
13
- "plugins": [
14
- "@semantic-release/commit-analyzer",
15
- "@semantic-release/release-notes-generator",
16
- [
17
- "@semantic-release/changelog",
18
- {
19
- "changelogTitle": "# Changelog\n\nAll notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines."
20
- }
21
- ],
22
- "@semantic-release/npm",
23
- [
24
- "@semantic-release/git",
25
- {
26
- "assets": [
27
- "CHANGELOG.md",
28
- "package.json",
29
- "package-lock.json",
30
- "npm-shrinkwrap.json"
31
- ],
32
- "message": "chore(release): publish version ${nextRelease.version}"
33
- }
34
- ],
35
- [
36
- "@semantic-release/github",
37
- {
38
- "message": "Release <%= nextRelease.version %> - <%= new Date().toLocaleDateString('en-US', {year: 'numeric', month: 'short', day: 'numeric', hour: 'numeric', minute: 'numeric' }) %> [skip ci]\n\n<%= nextRelease.notes %>"
39
- }
40
- ]
41
- ],
42
- "dryRun": false
43
- }
package/CHANGELOG.md DELETED
@@ -1,306 +0,0 @@
1
- # Changelog
2
-
3
- All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
4
-
5
- # [1.39.0](https://github.com/schedule-x/react/compare/v1.38.0...v1.39.0) (2024-05-13)
6
-
7
-
8
- ### Features
9
-
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
-
12
- # [1.38.0](https://github.com/schedule-x/react/compare/v1.37.0...v1.38.0) (2024-05-11)
13
-
14
-
15
- ### Features
16
-
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
-
19
- # [1.37.0](https://github.com/schedule-x/react/compare/v1.36.0...v1.37.0) (2024-05-09)
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)
26
-
27
- ### Features
28
-
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))
30
-
31
- # [1.35.0](https://github.com/schedule-x/react/compare/v1.34.0...v1.35.0) (2024-05-01)
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)
38
-
39
- ### Features
40
-
41
- - **deps:** update devdependencies (non-major) ([#102](https://github.com/schedule-x/react/issues/102)) ([8f22c1f](https://github.com/schedule-x/react/commit/8f22c1f3b058aa9fcc0238527fcc054489a0ddae))
42
-
43
- # [1.33.0](https://github.com/schedule-x/react/compare/v1.32.0...v1.33.0) (2024-04-26)
44
-
45
- ### Features
46
-
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))
48
-
49
- # [1.32.0](https://github.com/schedule-x/react/compare/v1.31.0...v1.32.0) (2024-04-20)
50
-
51
- ### Features
52
-
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))
54
-
55
- # [1.31.0](https://github.com/schedule-x/react/compare/v1.30.0...v1.31.0) (2024-04-20)
56
-
57
- ### Features
58
-
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))
60
-
61
- # [1.30.0](https://github.com/schedule-x/react/compare/v1.29.1...v1.30.0) (2024-04-16)
62
-
63
- ### Features
64
-
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))
66
-
67
- ## [1.29.1](https://github.com/schedule-x/react/compare/v1.29.0...v1.29.1) (2024-04-08)
68
-
69
- ### Bug Fixes
70
-
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))
72
-
73
- # [1.29.0](https://github.com/schedule-x/react/compare/v1.28.0...v1.29.0) (2024-04-06)
74
-
75
- ### Features
76
-
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))
78
-
79
- # [1.28.0](https://github.com/schedule-x/react/compare/v1.27.0...v1.28.0) (2024-04-05)
80
-
81
- ### Features
82
-
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))
84
-
85
- # [1.27.0](https://github.com/schedule-x/react/compare/v1.26.0...v1.27.0) (2024-04-04)
86
-
87
- ### Features
88
-
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))
90
-
91
- # [1.26.0](https://github.com/schedule-x/react/compare/v1.25.0...v1.26.0) (2024-04-03)
92
-
93
- ### Features
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))
96
-
97
- # [1.25.0](https://github.com/schedule-x/react/compare/v1.24.0...v1.25.0) (2024-04-02)
98
-
99
- ### Features
100
-
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
-
103
- # [1.24.0](https://github.com/schedule-x/react/compare/v1.23.0...v1.24.0) (2024-03-29)
104
-
105
- ### Features
106
-
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))
108
-
109
- # [1.23.0](https://github.com/schedule-x/react/compare/v1.22.0...v1.23.0) (2024-03-28)
110
-
111
- ### Features
112
-
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))
114
-
115
- # [1.22.0](https://github.com/schedule-x/react/compare/v1.21.0...v1.22.0) (2024-03-18)
116
-
117
- ### Features
118
-
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))
120
-
121
- # [1.21.0](https://github.com/schedule-x/react/compare/v1.20.0...v1.21.0) (2024-03-16)
122
-
123
- ### Features
124
-
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))
126
-
127
- # [1.20.0](https://github.com/schedule-x/react/compare/v1.19.0...v1.20.0) (2024-03-09)
128
-
129
- ### Features
130
-
131
- - custom event modal ([#73](https://github.com/schedule-x/react/issues/73)) ([3130130](https://github.com/schedule-x/react/commit/313013032a21270eef78ba30fc4cb8e7024e20ac))
132
-
133
- # [1.19.0](https://github.com/schedule-x/react/compare/v1.18.1...v1.19.0) (2024-03-04)
134
-
135
- ### Features
136
-
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))
138
-
139
- ## [1.18.1](https://github.com/schedule-x/react/compare/v1.18.0...v1.18.1) (2024-03-04)
140
-
141
- ### Bug Fixes
142
-
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))
144
-
145
- # [1.18.0](https://github.com/schedule-x/react/compare/v1.17.0...v1.18.0) (2024-03-04)
146
-
147
- ### Features
148
-
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))
150
-
151
- # [1.17.0](https://github.com/schedule-x/react/compare/v1.16.0...v1.17.0) (2024-02-28)
152
-
153
- ### Features
154
-
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))
156
-
157
- # [1.16.0](https://github.com/schedule-x/react/compare/v1.15.1...v1.16.0) (2024-02-24)
158
-
159
- ### Features
160
-
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))
162
-
163
- ## [1.15.1](https://github.com/schedule-x/react/compare/v1.15.0...v1.15.1) (2024-02-17)
164
-
165
- ### Bug Fixes
166
-
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))
168
-
169
- # [1.15.0](https://github.com/schedule-x/react/compare/v1.14.0...v1.15.0) (2024-02-10)
170
-
171
- ### Features
172
-
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))
174
-
175
- # [1.14.0](https://github.com/schedule-x/react/compare/v1.13.0...v1.14.0) (2024-02-10)
176
-
177
- ### Features
178
-
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))
180
-
181
- # [1.13.0](https://github.com/schedule-x/react/compare/v1.12.0...v1.13.0) (2024-02-10)
182
-
183
- ### Features
184
-
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))
186
-
187
- # [1.12.0](https://github.com/schedule-x/react/compare/v1.11.0...v1.12.0) (2024-02-06)
188
-
189
- ### Features
190
-
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))
192
-
193
- # [1.11.0](https://github.com/schedule-x/react/compare/v1.10.1...v1.11.0) (2024-02-05)
194
-
195
- ### Features
196
-
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))
198
-
199
- ## [1.10.1](https://github.com/schedule-x/react/compare/v1.10.0...v1.10.1) (2024-02-02)
200
-
201
- ### Bug Fixes
202
-
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))
204
-
205
- # [1.10.0](https://github.com/schedule-x/react/compare/v1.9.0...v1.10.0) (2024-01-29)
206
-
207
- ### Features
208
-
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))
210
-
211
- # [1.9.0](https://github.com/schedule-x/react/compare/v1.8.0...v1.9.0) (2024-01-27)
212
-
213
- ### Features
214
-
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))
216
-
217
- # [1.8.0](https://github.com/schedule-x/react/compare/v1.7.0...v1.8.0) (2024-01-27)
218
-
219
- ### Features
220
-
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))
222
-
223
- # [1.7.0](https://github.com/schedule-x/react/compare/v1.6.2...v1.7.0) (2024-01-26)
224
-
225
- ### Features
226
-
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))
228
-
229
- ## [1.6.2](https://github.com/schedule-x/react/compare/v1.6.1...v1.6.2) (2024-01-22)
230
-
231
- ### Bug Fixes
232
-
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))
234
-
235
- ## [1.6.1](https://github.com/schedule-x/react/compare/v1.6.0...v1.6.1) (2024-01-19)
236
-
237
- ### Bug Fixes
238
-
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))
240
-
241
- # [1.6.0](https://github.com/schedule-x/react/compare/v1.5.0...v1.6.0) (2024-01-17)
242
-
243
- ### Features
244
-
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))
246
-
247
- # [1.5.0](https://github.com/schedule-x/react/compare/v1.4.0...v1.5.0) (2024-01-15)
248
-
249
- ### Features
250
-
251
- - add useNextCalendarApp hook ([#32](https://github.com/schedule-x/react/issues/32)) ([2d3c561](https://github.com/schedule-x/react/commit/2d3c561c479eeea38011588842484e140416644c))
252
-
253
- # [1.4.0](https://github.com/schedule-x/react/compare/v1.3.2...v1.4.0) (2024-01-13)
254
-
255
- ### Features
256
-
257
- - update schedule-x monorepo packages to v1.6.0 ([#29](https://github.com/schedule-x/react/issues/29)) ([02fb337](https://github.com/schedule-x/react/commit/02fb3378b9957abcd50f0f5e066bc2744620c53f))
258
-
259
- ## [1.3.2](https://github.com/schedule-x/react/compare/v1.3.1...v1.3.2) (2024-01-11)
260
-
261
- ### Bug Fixes
262
-
263
- - **deps:** update schedule-x monorepo packages to v1.5.1 ([#27](https://github.com/schedule-x/react/issues/27)) ([437ec00](https://github.com/schedule-x/react/commit/437ec004959beb80cf482b60a5824bdc53258f69))
264
-
265
- ## [1.3.1](https://github.com/schedule-x/react/compare/v1.3.0...v1.3.1) (2024-01-08)
266
-
267
- ### Bug Fixes
268
-
269
- - **deps:** update schedule-x monorepo packages to v1.4.1 ([#25](https://github.com/schedule-x/react/issues/25)) ([f123728](https://github.com/schedule-x/react/commit/f1237289df77e0cbe2e632a9f9580275cca136f7))
270
-
271
- # [1.3.0](https://github.com/schedule-x/react/compare/v1.2.1...v1.3.0) (2024-01-05)
272
-
273
- ### Features
274
-
275
- - **deps:** update schedule-x monorepo packages to v1.4.0 ([#18](https://github.com/schedule-x/react/issues/18)) ([6ac8ac4](https://github.com/schedule-x/react/commit/6ac8ac4db022e7e792a512e5db0f2f06d8373871))
276
-
277
- ## [1.2.1](https://github.com/schedule-x/react/compare/v1.2.0...v1.2.1) (2024-01-04)
278
-
279
- ### Bug Fixes
280
-
281
- - usage in nextjs ([#22](https://github.com/schedule-x/react/issues/22)) ([70f81df](https://github.com/schedule-x/react/commit/70f81dff94c7c3334cf69ed5935aa4b0fdf6966d))
282
-
283
- # [1.2.0](https://github.com/schedule-x/react/compare/v1.1.1...v1.2.0) (2024-01-04)
284
-
285
- ### Features
286
-
287
- - bump calendar monorepo packages to 1.3.0 ([#21](https://github.com/schedule-x/react/issues/21)) ([bcba535](https://github.com/schedule-x/react/commit/bcba5359d430942ea82ec5662c9848791c9b2f13))
288
-
289
- ## [1.1.1](https://github.com/schedule-x/react/compare/v1.1.0...v1.1.1) (2023-12-29)
290
-
291
- ### Bug Fixes
292
-
293
- - **event-modal:** make icon color in event modal reactive to theme changes ([96f68d7](https://github.com/schedule-x/react/commit/96f68d7025531f97f245822e1c177b3119f2ba1e))
294
-
295
- # [1.1.0](https://github.com/schedule-x/react/compare/v1.0.0...v1.1.0) (2023-12-29)
296
-
297
- ### Features
298
-
299
- - **calendar:** add callbacks for clicking on date and times ([070bbe7](https://github.com/schedule-x/react/commit/070bbe79b9fdcf2b7aee3adeda5d10e30ae3d93f))
300
-
301
- # 1.0.0 (2023-12-29)
302
-
303
- ### Features
304
-
305
- - custom components for week and day views ([#3](https://github.com/schedule-x/react/issues/3)) ([fe838a5](https://github.com/schedule-x/react/commit/fe838a5597fa947760b26fb5c97537de54e65272))
306
- - enable custom components in month view ([#5](https://github.com/schedule-x/react/issues/5)) ([c2e2ddf](https://github.com/schedule-x/react/commit/c2e2ddf95040ba1d5273c8b866767c0f3934036c))
@@ -1,15 +0,0 @@
1
- import { createCalendarHeaderPageObject } from '@schedule-x/e2e-testing'
2
-
3
- describe('Smoke test', () => {
4
- const calendarHeader = createCalendarHeaderPageObject()
5
-
6
- beforeEach(() => {
7
- cy.visit('/cypress/pages/001-smoke/001-smoke.html')
8
- })
9
-
10
- it('should navigate between views', () => {
11
- calendarHeader.openViewByLabel('Month')
12
- calendarHeader.openViewByLabel('Day')
13
- calendarHeader.openViewByLabel('Week')
14
- })
15
- })
@@ -1,33 +0,0 @@
1
- import { createCalendarHeaderPageObject } from '@schedule-x/e2e-testing'
2
-
3
- const calendarHeader = createCalendarHeaderPageObject()
4
-
5
- describe('Custom events', () => {
6
- beforeEach(() => {
7
- cy.visit('/cypress/pages/002-custom-events/002-custom-events.html')
8
- })
9
-
10
- it('should render custom events in week view', () => {
11
- cy.contains('Event 1')
12
- cy.contains('ID: 1')
13
- cy.contains('Event 2|ID2')
14
- })
15
-
16
- it('should render custom events in month view', () => {
17
- calendarHeader.openViewByLabel('Month')
18
- cy.contains('Event 1|ID1').should('exist')
19
- cy.contains('Event 2|ID2').should('exist')
20
- })
21
- })
22
-
23
- describe('Custom events test on mobile', () => {
24
- beforeEach(() => {
25
- cy.visit('/cypress/pages/002-custom-events/002-custom-events.html?view=month-agenda')
26
- cy.viewport('iphone-6')
27
- })
28
-
29
- it('should render custom events in month agenda view', () => {
30
- calendarHeader.openViewByLabel('Month')
31
- cy.contains('Event 1|ID1').should('exist')
32
- })
33
- })
@@ -1,5 +0,0 @@
1
- {
2
- "name": "Using fixtures to represent data",
3
- "email": "hello@cypress.io",
4
- "body": "Fixtures are a great way to mock data for responses to routes"
5
- }
@@ -1,21 +0,0 @@
1
- <!doctype html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8" />
5
- <meta
6
- name="viewport"
7
- content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
8
- />
9
- <meta http-equiv="X-UA-Compatible" content="ie=edge" />
10
- <title>Browser test | React Calendar | Smoke</title>
11
- <style>
12
- body {
13
- margin: 0;
14
- }
15
- </style>
16
- </head>
17
- <body>
18
- <div id="root"></div>
19
- <script type="module" src="001-smoke.tsx"></script>
20
- </body>
21
- </html>
@@ -1,47 +0,0 @@
1
- import '@fontsource/open-sans'
2
- import '@fontsource/open-sans/300.css'
3
- import '@fontsource/open-sans/500-italic.css'
4
- import '@fontsource/open-sans/700.css'
5
- import '@fontsource/open-sans/700-italic.css'
6
- import ReactDOM from 'react-dom/client'
7
- import React from 'react'
8
- import { Calendar, useCalendarApp } from '../../..'
9
- import {
10
- viewDay,
11
- viewMonthAgenda,
12
- viewMonthGrid,
13
- viewWeek,
14
- } from '@schedule-x/calendar'
15
- import '../index.css'
16
- import '@schedule-x/theme-default/dist/index.css'
17
-
18
- // eslint-disable-next-line react-refresh/only-export-components
19
- function App() {
20
- const calendarApp = useCalendarApp({
21
- views: [viewWeek, viewMonthGrid, viewDay, viewMonthAgenda],
22
- defaultView: viewWeek.name,
23
- events: [
24
- {
25
- id: '1',
26
- title: 'Event 1',
27
- start: '2023-12-15 06:00',
28
- end: '2023-12-15 08:00',
29
- },
30
- ],
31
- selectedDate: '2023-12-15',
32
- })
33
-
34
- return (
35
- <>
36
- <div className="schedule-x-calendar">
37
- <Calendar calendarApp={calendarApp} />
38
- </div>
39
- </>
40
- )
41
- }
42
-
43
- ReactDOM.createRoot(document.getElementById('root')!).render(
44
- <React.StrictMode>
45
- <App />
46
- </React.StrictMode>
47
- )