@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
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.38.0",
18
+ "version": "1.39.1",
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.40.0",
33
+ "@schedule-x/calendar": "1.41.0",
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,299 +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.38.0](https://github.com/schedule-x/react/compare/v1.37.0...v1.38.0) (2024-05-11)
6
-
7
-
8
- ### Features
9
-
10
- * 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))
11
-
12
- # [1.37.0](https://github.com/schedule-x/react/compare/v1.36.0...v1.37.0) (2024-05-09)
13
-
14
- ### Features
15
-
16
- - 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))
17
-
18
- # [1.36.0](https://github.com/schedule-x/react/compare/v1.35.0...v1.36.0) (2024-05-07)
19
-
20
- ### Features
21
-
22
- - 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))
23
-
24
- # [1.35.0](https://github.com/schedule-x/react/compare/v1.34.0...v1.35.0) (2024-05-01)
25
-
26
- ### Features
27
-
28
- - make commonjs filename use cjs extension ([#103](https://github.com/schedule-x/react/issues/103)) ([cae187b](https://github.com/schedule-x/react/commit/cae187b4ae576711f07ed4437bdec3f4f8b42791))
29
-
30
- # [1.34.0](https://github.com/schedule-x/react/compare/v1.33.0...v1.34.0) (2024-04-30)
31
-
32
- ### Features
33
-
34
- - **deps:** update devdependencies (non-major) ([#102](https://github.com/schedule-x/react/issues/102)) ([8f22c1f](https://github.com/schedule-x/react/commit/8f22c1f3b058aa9fcc0238527fcc054489a0ddae))
35
-
36
- # [1.33.0](https://github.com/schedule-x/react/compare/v1.32.0...v1.33.0) (2024-04-26)
37
-
38
- ### Features
39
-
40
- - 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))
41
-
42
- # [1.32.0](https://github.com/schedule-x/react/compare/v1.31.0...v1.32.0) (2024-04-20)
43
-
44
- ### Features
45
-
46
- - 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))
47
-
48
- # [1.31.0](https://github.com/schedule-x/react/compare/v1.30.0...v1.31.0) (2024-04-20)
49
-
50
- ### Features
51
-
52
- - 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
-
54
- # [1.30.0](https://github.com/schedule-x/react/compare/v1.29.1...v1.30.0) (2024-04-16)
55
-
56
- ### Features
57
-
58
- - 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))
59
-
60
- ## [1.29.1](https://github.com/schedule-x/react/compare/v1.29.0...v1.29.1) (2024-04-08)
61
-
62
- ### Bug Fixes
63
-
64
- - 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))
65
-
66
- # [1.29.0](https://github.com/schedule-x/react/compare/v1.28.0...v1.29.0) (2024-04-06)
67
-
68
- ### Features
69
-
70
- - 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))
71
-
72
- # [1.28.0](https://github.com/schedule-x/react/compare/v1.27.0...v1.28.0) (2024-04-05)
73
-
74
- ### Features
75
-
76
- - 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))
77
-
78
- # [1.27.0](https://github.com/schedule-x/react/compare/v1.26.0...v1.27.0) (2024-04-04)
79
-
80
- ### Features
81
-
82
- - 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))
83
-
84
- # [1.26.0](https://github.com/schedule-x/react/compare/v1.25.0...v1.26.0) (2024-04-03)
85
-
86
- ### Features
87
-
88
- - 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))
89
-
90
- # [1.25.0](https://github.com/schedule-x/react/compare/v1.24.0...v1.25.0) (2024-04-02)
91
-
92
- ### Features
93
-
94
- - 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))
95
-
96
- # [1.24.0](https://github.com/schedule-x/react/compare/v1.23.0...v1.24.0) (2024-03-29)
97
-
98
- ### Features
99
-
100
- - 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))
101
-
102
- # [1.23.0](https://github.com/schedule-x/react/compare/v1.22.0...v1.23.0) (2024-03-28)
103
-
104
- ### Features
105
-
106
- - 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))
107
-
108
- # [1.22.0](https://github.com/schedule-x/react/compare/v1.21.0...v1.22.0) (2024-03-18)
109
-
110
- ### Features
111
-
112
- - 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))
113
-
114
- # [1.21.0](https://github.com/schedule-x/react/compare/v1.20.0...v1.21.0) (2024-03-16)
115
-
116
- ### Features
117
-
118
- - 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))
119
-
120
- # [1.20.0](https://github.com/schedule-x/react/compare/v1.19.0...v1.20.0) (2024-03-09)
121
-
122
- ### Features
123
-
124
- - custom event modal ([#73](https://github.com/schedule-x/react/issues/73)) ([3130130](https://github.com/schedule-x/react/commit/313013032a21270eef78ba30fc4cb8e7024e20ac))
125
-
126
- # [1.19.0](https://github.com/schedule-x/react/compare/v1.18.1...v1.19.0) (2024-03-04)
127
-
128
- ### Features
129
-
130
- - 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))
131
-
132
- ## [1.18.1](https://github.com/schedule-x/react/compare/v1.18.0...v1.18.1) (2024-03-04)
133
-
134
- ### Bug Fixes
135
-
136
- - **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))
137
-
138
- # [1.18.0](https://github.com/schedule-x/react/compare/v1.17.0...v1.18.0) (2024-03-04)
139
-
140
- ### Features
141
-
142
- - 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))
143
-
144
- # [1.17.0](https://github.com/schedule-x/react/compare/v1.16.0...v1.17.0) (2024-02-28)
145
-
146
- ### Features
147
-
148
- - **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))
149
-
150
- # [1.16.0](https://github.com/schedule-x/react/compare/v1.15.1...v1.16.0) (2024-02-24)
151
-
152
- ### Features
153
-
154
- - 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))
155
-
156
- ## [1.15.1](https://github.com/schedule-x/react/compare/v1.15.0...v1.15.1) (2024-02-17)
157
-
158
- ### Bug Fixes
159
-
160
- - 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))
161
-
162
- # [1.15.0](https://github.com/schedule-x/react/compare/v1.14.0...v1.15.0) (2024-02-10)
163
-
164
- ### Features
165
-
166
- - 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))
167
-
168
- # [1.14.0](https://github.com/schedule-x/react/compare/v1.13.0...v1.14.0) (2024-02-10)
169
-
170
- ### Features
171
-
172
- - 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))
173
-
174
- # [1.13.0](https://github.com/schedule-x/react/compare/v1.12.0...v1.13.0) (2024-02-10)
175
-
176
- ### Features
177
-
178
- - 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))
179
-
180
- # [1.12.0](https://github.com/schedule-x/react/compare/v1.11.0...v1.12.0) (2024-02-06)
181
-
182
- ### Features
183
-
184
- - 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))
185
-
186
- # [1.11.0](https://github.com/schedule-x/react/compare/v1.10.1...v1.11.0) (2024-02-05)
187
-
188
- ### Features
189
-
190
- - 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))
191
-
192
- ## [1.10.1](https://github.com/schedule-x/react/compare/v1.10.0...v1.10.1) (2024-02-02)
193
-
194
- ### Bug Fixes
195
-
196
- - 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))
197
-
198
- # [1.10.0](https://github.com/schedule-x/react/compare/v1.9.0...v1.10.0) (2024-01-29)
199
-
200
- ### Features
201
-
202
- - 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))
203
-
204
- # [1.9.0](https://github.com/schedule-x/react/compare/v1.8.0...v1.9.0) (2024-01-27)
205
-
206
- ### Features
207
-
208
- - 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))
209
-
210
- # [1.8.0](https://github.com/schedule-x/react/compare/v1.7.0...v1.8.0) (2024-01-27)
211
-
212
- ### Features
213
-
214
- - 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))
215
-
216
- # [1.7.0](https://github.com/schedule-x/react/compare/v1.6.2...v1.7.0) (2024-01-26)
217
-
218
- ### Features
219
-
220
- - 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))
221
-
222
- ## [1.6.2](https://github.com/schedule-x/react/compare/v1.6.1...v1.6.2) (2024-01-22)
223
-
224
- ### Bug Fixes
225
-
226
- - 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))
227
-
228
- ## [1.6.1](https://github.com/schedule-x/react/compare/v1.6.0...v1.6.1) (2024-01-19)
229
-
230
- ### Bug Fixes
231
-
232
- - **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))
233
-
234
- # [1.6.0](https://github.com/schedule-x/react/compare/v1.5.0...v1.6.0) (2024-01-17)
235
-
236
- ### Features
237
-
238
- - 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))
239
-
240
- # [1.5.0](https://github.com/schedule-x/react/compare/v1.4.0...v1.5.0) (2024-01-15)
241
-
242
- ### Features
243
-
244
- - add useNextCalendarApp hook ([#32](https://github.com/schedule-x/react/issues/32)) ([2d3c561](https://github.com/schedule-x/react/commit/2d3c561c479eeea38011588842484e140416644c))
245
-
246
- # [1.4.0](https://github.com/schedule-x/react/compare/v1.3.2...v1.4.0) (2024-01-13)
247
-
248
- ### Features
249
-
250
- - 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))
251
-
252
- ## [1.3.2](https://github.com/schedule-x/react/compare/v1.3.1...v1.3.2) (2024-01-11)
253
-
254
- ### Bug Fixes
255
-
256
- - **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))
257
-
258
- ## [1.3.1](https://github.com/schedule-x/react/compare/v1.3.0...v1.3.1) (2024-01-08)
259
-
260
- ### Bug Fixes
261
-
262
- - **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))
263
-
264
- # [1.3.0](https://github.com/schedule-x/react/compare/v1.2.1...v1.3.0) (2024-01-05)
265
-
266
- ### Features
267
-
268
- - **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))
269
-
270
- ## [1.2.1](https://github.com/schedule-x/react/compare/v1.2.0...v1.2.1) (2024-01-04)
271
-
272
- ### Bug Fixes
273
-
274
- - usage in nextjs ([#22](https://github.com/schedule-x/react/issues/22)) ([70f81df](https://github.com/schedule-x/react/commit/70f81dff94c7c3334cf69ed5935aa4b0fdf6966d))
275
-
276
- # [1.2.0](https://github.com/schedule-x/react/compare/v1.1.1...v1.2.0) (2024-01-04)
277
-
278
- ### Features
279
-
280
- - 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))
281
-
282
- ## [1.1.1](https://github.com/schedule-x/react/compare/v1.1.0...v1.1.1) (2023-12-29)
283
-
284
- ### Bug Fixes
285
-
286
- - **event-modal:** make icon color in event modal reactive to theme changes ([96f68d7](https://github.com/schedule-x/react/commit/96f68d7025531f97f245822e1c177b3119f2ba1e))
287
-
288
- # [1.1.0](https://github.com/schedule-x/react/compare/v1.0.0...v1.1.0) (2023-12-29)
289
-
290
- ### Features
291
-
292
- - **calendar:** add callbacks for clicking on date and times ([070bbe7](https://github.com/schedule-x/react/commit/070bbe79b9fdcf2b7aee3adeda5d10e30ae3d93f))
293
-
294
- # 1.0.0 (2023-12-29)
295
-
296
- ### Features
297
-
298
- - 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))
299
- - 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
- )
@@ -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 | Custom events</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="002-custom-events.tsx"></script>
20
- </body>
21
- </html>