@isma91/react-scheduler 4.0.6 → 4.0.7

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 (56) hide show
  1. package/dist/LICENSE +24 -0
  2. package/dist/README.md +174 -0
  3. package/dist/package.json +65 -0
  4. package/package.json +83 -9
  5. /package/{SchedulerComponent.d.ts → dist/SchedulerComponent.d.ts} +0 -0
  6. /package/{components → dist/components}/common/Cell.d.ts +0 -0
  7. /package/{components → dist/components}/common/LocaleArrow.d.ts +0 -0
  8. /package/{components → dist/components}/common/ResourceHeader.d.ts +0 -0
  9. /package/{components → dist/components}/common/Tabs.d.ts +0 -0
  10. /package/{components → dist/components}/common/TodayTypo.d.ts +0 -0
  11. /package/{components → dist/components}/common/WithResources.d.ts +0 -0
  12. /package/{components → dist/components}/events/Actions.d.ts +0 -0
  13. /package/{components → dist/components}/events/AgendaEventsList.d.ts +0 -0
  14. /package/{components → dist/components}/events/CurrentTimeBar.d.ts +0 -0
  15. /package/{components → dist/components}/events/EmptyAgenda.d.ts +0 -0
  16. /package/{components → dist/components}/events/EventItem.d.ts +0 -0
  17. /package/{components → dist/components}/events/EventItemPopover.d.ts +0 -0
  18. /package/{components → dist/components}/events/MonthEvents.d.ts +0 -0
  19. /package/{components → dist/components}/events/TodayEvents.d.ts +0 -0
  20. /package/{components → dist/components}/hoc/DateProvider.d.ts +0 -0
  21. /package/{components → dist/components}/inputs/DatePicker.d.ts +0 -0
  22. /package/{components → dist/components}/inputs/Input.d.ts +0 -0
  23. /package/{components → dist/components}/inputs/SelectInput.d.ts +0 -0
  24. /package/{components → dist/components}/month/MonthTable.d.ts +0 -0
  25. /package/{components → dist/components}/nav/DayDateBtn.d.ts +0 -0
  26. /package/{components → dist/components}/nav/MonthDateBtn.d.ts +0 -0
  27. /package/{components → dist/components}/nav/Navigation.d.ts +0 -0
  28. /package/{components → dist/components}/nav/WeekDateBtn.d.ts +0 -0
  29. /package/{components → dist/components}/week/WeekTable.d.ts +0 -0
  30. /package/{helpers → dist/helpers}/constants.d.ts +0 -0
  31. /package/{helpers → dist/helpers}/generals.d.ts +0 -0
  32. /package/{hooks → dist/hooks}/useArrowDisable.d.ts +0 -0
  33. /package/{hooks → dist/hooks}/useCellAttributes.d.ts +0 -0
  34. /package/{hooks → dist/hooks}/useDragAttributes.d.ts +0 -0
  35. /package/{hooks → dist/hooks}/useEventPermissions.d.ts +0 -0
  36. /package/{hooks → dist/hooks}/useStore.d.ts +0 -0
  37. /package/{hooks → dist/hooks}/useSyncScroll.d.ts +0 -0
  38. /package/{hooks → dist/hooks}/useWindowResize.d.ts +0 -0
  39. /package/{index.d.ts → dist/index.d.ts} +0 -0
  40. /package/{index.js → dist/index.js} +0 -0
  41. /package/{positionManger → dist/positionManger}/context.d.ts +0 -0
  42. /package/{positionManger → dist/positionManger}/provider.d.ts +0 -0
  43. /package/{positionManger → dist/positionManger}/usePosition.d.ts +0 -0
  44. /package/{store → dist/store}/context.d.ts +0 -0
  45. /package/{store → dist/store}/default.d.ts +0 -0
  46. /package/{store → dist/store}/provider.d.ts +0 -0
  47. /package/{store → dist/store}/types.d.ts +0 -0
  48. /package/{styles → dist/styles}/styles.d.ts +0 -0
  49. /package/{types.d.ts → dist/types.d.ts} +0 -0
  50. /package/{views → dist/views}/Day.d.ts +0 -0
  51. /package/{views → dist/views}/DayAgenda.d.ts +0 -0
  52. /package/{views → dist/views}/Editor.d.ts +0 -0
  53. /package/{views → dist/views}/Month.d.ts +0 -0
  54. /package/{views → dist/views}/MonthAgenda.d.ts +0 -0
  55. /package/{views → dist/views}/Week.d.ts +0 -0
  56. /package/{views → dist/views}/WeekAgenda.d.ts +0 -0
package/dist/LICENSE ADDED
@@ -0,0 +1,24 @@
1
+ This is free and unencumbered software released into the public domain.
2
+
3
+ Anyone is free to copy, modify, publish, use, compile, sell, or
4
+ distribute this software, either in source code form or as a compiled
5
+ binary, for any purpose, commercial or non-commercial, and by any
6
+ means.
7
+
8
+ In jurisdictions that recognize copyright laws, the author or authors
9
+ of this software dedicate any and all copyright interest in the
10
+ software to the public domain. We make this dedication for the benefit
11
+ of the public at large and to the detriment of our heirs and
12
+ successors. We intend this dedication to be an overt act of
13
+ relinquishment in perpetuity of all present and future rights to this
14
+ software under copyright law.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19
+ IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
20
+ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
21
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22
+ OTHER DEALINGS IN THE SOFTWARE.
23
+
24
+ For more information, please refer to <https://unlicense.org>
package/dist/README.md ADDED
@@ -0,0 +1,174 @@
1
+ # React Scheduler Component
2
+
3
+ > :rocket: **Fork Notice**: This is a modernized fork of [@aldabil/react-scheduler](https://github.com/aldabil21/react-scheduler) with:
4
+ > - React 19 support
5
+ > - MUI 7 / @mui/x-date-pickers 8 support
6
+ > - date-fns 4 support
7
+ > - Additional features (see changelog)
8
+
9
+ [![npm package](https://img.shields.io/npm/v/@isma91/react-scheduler/latest.svg)](https://www.npmjs.com/package/@isma91/react-scheduler)
10
+
11
+
12
+ > :warning: **Notice**: This component uses `mui`/`emotion`/`date-fns`. if your project is not already using these libs, this component may not be suitable.
13
+
14
+ ## Installation
15
+
16
+ ```jsx
17
+ npm i @isma91/react-scheduler
18
+ ```
19
+
20
+ If you plan to use `recurring` events in your scheduler, install `rrule` [package](https://www.npmjs.com/package/rrule)
21
+
22
+ ## Usage
23
+
24
+ ```jsx
25
+ import { Scheduler } from "@isma91/react-scheduler";
26
+ ```
27
+
28
+ ## Example
29
+
30
+ ```jsx
31
+ <Scheduler
32
+ view="month"
33
+ events={[
34
+ {
35
+ event_id: 1,
36
+ title: "Event 1",
37
+ start: new Date("2021/5/2 09:30"),
38
+ end: new Date("2021/5/2 10:30"),
39
+ },
40
+ {
41
+ event_id: 2,
42
+ title: "Event 2",
43
+ start: new Date("2021/5/4 10:00"),
44
+ end: new Date("2021/5/4 11:00"),
45
+ },
46
+ ]}
47
+ />
48
+ ```
49
+
50
+ ### Scheduler Props
51
+
52
+ All props are _optional_
53
+ | Prop | Value |
54
+ |----------|-------------|
55
+ | height | number. Min height of table. <br> _Default_: 600
56
+ | view | string. Initial view to load. options: "week", "month", "day". <br> _Default_: "week" (if it's not null)
57
+ | agenda | boolean. Activate agenda view
58
+ | alwaysShowAgendaDays | boolean. if true, day rows without events will be shown
59
+ | month | Object. Month view props. <br> _default_: <pre>{<br>weekDays: [0, 1, 2, 3, 4, 5], <br>weekStartOn: 6, <br>startHour: 9, <br>endHour: 17,<br>cellRenderer?:(props: CellProps) => React.ReactNode,<br>navigation: true,<br>disableGoToDay: false<br>}</pre>
60
+ | week | Object. Week view props. <br> _default_: <pre>{ <br>weekDays: [0, 1, 2, 3, 4, 5], <br>weekStartOn: 6, <br>startHour: 9, <br>endHour: 17,<br>step: 60,<br>cellRenderer?:(props: CellProps) => React.ReactNode,<br>navigation: true,<br>disableGoToDay: false<br>}</pre>
61
+ | day | Object. Day view props. <br> _default_: <pre>{<br>startHour: 9, <br>endHour: 17, <br>step: 60,<br>cellRenderer?:(props: CellProps) => React.ReactNode,<br>hourRenderer?:(hour: string) => React.ReactNode,<br>navigation: true<br>}</pre>
62
+ | selectedDate | Date. Initial selected date. <br>_Default_: `new Date()`
63
+ | navigation | boolean. Show/Hide top bar date navigation. <br>_Default_: `true`
64
+ | navigationPickerProps | CalendarPickerProps for top bar date navigation. Ref [CalendarPicker API](https://mui.com/x/api/date-pickers/calendar-picker/#main-content)
65
+ | disableViewNavigator | boolean. Show/Hide top bar date View navigator. <br>_Default_: `false`
66
+ | events | Array of ProcessedEvent. <br>_Default_: [] <br> <pre>type ProcessedEvent = {<br>event*id: number or string;<br>title: string;<br>subtitle?: string;<br>start: Date;<br>end: Date;<br>disabled?: boolean;<br>recurring: RRule;<br>color?: string or "palette.path";<br>textColor?: string or "palette.path";<br>editable?: boolean;<br>deletable?: boolean;<br>draggable?: boolean;<br>allDay?: boolean;<br>agendaAvatar?: React.ReactElement \| string<br>sx?: Mui sx prop<br>} </pre>
67
+ | eventRenderer | Function(event:ProcessedEvent): React.ReactNode.<br> A function that overrides the event item render function, see demo \_Custom Event Renderer* below
68
+ | editable | boolean. If `true`, the scheduler cell click will not open the editor, and the event item will not show the edit button, this is applied to all events, and can be overridden in each event property, see `ProcessedEvent` type.
69
+ | deletable | boolean. Whether the event item will show the delete button, this is applied to all events, and can be overridden in each event property, see `ProcessedEvent` type.
70
+ | draggable | boolean. Whether activate drag&drop for the events, this is applied to all events, and can be overridden in each event property, see `ProcessedEvent` type.
71
+ | getRemoteEvents | Function(RemoteQuery). Return promise of array of events. Can be used as a callback to fetch events by parent component or fetch.<br><pre>type RemoteQuery = { <br> start: Date;<br> end: Date;<br> view: "day" \| "week" \| "month";<br>}</pre>
72
+ | refetch | Function accessible via ref to manually trigger a reload of remote events. Only works when `getRemoteEvents` is provided. <br>_Usage_: `schedulerRef.current?.scheduler?.refetch()` |
73
+ | fields | Array of extra fields with configurations. <br> Example: <pre> { <br> name: "description", <br> type: "input" , <br> config: { label: "Description", required: true, min: 3, email: true, variant: "outlined", ....<br>}</pre>
74
+ | loading | boolean. Loading state of the calendar table
75
+ | loadingComponent | Custom component to override the default `CircularProgress`
76
+ | onConfirm | Function(event, action). Return promise with the new added/edited event use with remote data. <br> _action_: `add` | `edit`
77
+ | onDelete | Function(id) Return promise with the deleted event id to use with remote data.
78
+ | customEditor | Function(scheduler). Override editor modal. <br> Provided prop _scheduler_ object with helper props: <br> <pre>{<br>state: state obj, <br>close(): void<br>loading(status: boolean): void<br>edited?: ProcessedEvent<br>onConfirm(event: ProcessedEvent, action:EventActions): void<br>}</pre>
79
+ | customViewer | Function(event: ProcessedEvent, close: () => void). Used to render fully customized content of the event popper. If used, `viewerExtraComponent` & `viewerTitleComponent` will be ignored
80
+ | viewerExtraComponent | Function(fields, event) OR Component. Additional component in event viewer popper
81
+ | viewerTitleComponent | Function(event). Helper function to render custom title in event popper
82
+ | viewerSubtitleComponent | Function(event). Helper function to render custom subtitle in event popper
83
+ | disableViewer | boolean. If true, the viewer popover will be disabled globally
84
+ | resources | Array. Resources array to split event views with resources <br>_Example_ <pre>{<br>assignee: 1,<br>text: "User One", <br>subtext: "Sales Manager", <br>avatar: "https://picsum.photos/200/300", <br>color: "#ab2d2d",<br> }</pre>
85
+ | resourceFields | Object. Map the resources correct fields. <br>_Example_:<pre>{<br>idField: "admin*id", <br>textField: "title", <br>subTextField: "mobile",<br>avatarField: "title", <br>colorField: "background",<br>}</pre>
86
+ | resourceHeaderComponent | Function(resource). Override header component of resource
87
+ | resourceViewMode | Display resources mode. <br>\_Options*: `default` | `vertical` | `tabs`
88
+ | onResourceChange | Function(resource: Resource): void. Triggered when the resource tabs changes, only applicable when `resourceViewMode="tabs"`
89
+ | direction | string. Table direction. `rtl` | `ltr`
90
+ | dialogMaxWidth | Edito dialog maxWith. Ex: `lg` | `md` | `sm`... _Default_:`md`
91
+ | locale | Locale of date-fns. _Default_: `enUS`
92
+ | hourFormat | Hour format. <br>_Options_: `12` | `24`. _Default_: `12`
93
+ | timeZone| String, time zone [IANA ID](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones)
94
+ | translations | Object. Translations view props. <br> _default_: <pre>{<br> navigation: {<br> month: "Month",<br> week: "Week",<br> day: "Day",<br> today: "Today"<br> agenda: "Agenda"<br> },<br> form: {<br> addTitle: "Add Event",<br> editTitle: "Edit Event",<br> confirm: "Confirm",<br> delete: "Delete",<br> cancel: "Cancel"<br> },<br> event: {<br> title: "Title",<br> subtitle: "Subtitle",<br> start: "Start",<br> end: "End",<br> allDay: "All Day"<br>},<br> validation: {<br> required: "Required",<br> invalidEmail: "Invalid Email",<br> onlyNumbers: "Only Numbers Allowed",<br> min: "Minimum {{min}} letters",<br> max: "Maximum {{max}} letters"<br> },<br> moreEvents: "More...",<br> noDataToDisplay: "No data to display",<br> loading: "Loading..."<br>}</pre>
95
+ | onEventDrop | Function(event: DragEvent<HTMLButtonElement>, droppedOn: Date, updatedEvent: ProcessedEvent, originalEvent: ProcessedEvent). Return a promise, used to update remote data of the dropped event. Return an event to update state internally, or void if event state is managed within component
96
+ | onEventClick | Function(event: ProcessedEvent): void. Triggered when an event item is clicked
97
+ | onEventEdit | Function(event: ProcessedEvent): void. Triggered when an event item is being edited from the popover
98
+ | onCellClick | Function(start: Date, end: Date, resourceKey?: string, resourceVal?: string | number): void. Triggered when a cell in the grid is clicked
99
+ | onSelectedDateChange | Function(date: Date): void. Triggered when the `selectedDate` prop changes by navigation date picker or `today` button
100
+ | onViewChange | Function(view: View, agenda?: boolean): void. Triggered when navigation view changes
101
+ | stickyNavigation | If `true`, the navigation controller bar will be sticky
102
+ | onClickMore | Function(date: Date, goToDay: Function(date: Date): void): void. Triggered when the "More..." button is clicked, it receives the date and a `goToDay` function that shows a day view for a specfic date.
103
+ | stickyNavigationOffset | number. Top offset in pixels when sticky navigation is enabled. <br>_Default_: `0` |
104
+ | stickyNavigationHeight | number. Height of the sticky navigation header in pixels. Used to calculate offset for sticky elements below the header. <br>_Default_: `40` |
105
+ | customHeaderContent | Function. Custom content to display in the scheduler header. Wrap with `useCallback` if using state/props to avoid re-renders. <br>_Example_: `() => <Button>Refresh</Button>` |
106
+ | currentTime | Date. Override the current time used for the time indicator bar. Useful when working with different timezones or for testing. <br>_Default_: `new Date()` |
107
+ | showCurrentTimeBar | boolean. Show/hide the current time indicator bar. <br>_Default_: `true` |
108
+ | currentTimeBarColor | string. Color of the current time indicator bar. <br>_Default_: `theme.palette.error.light` (red) |
109
+ | forceInlineMultiDay | boolean. When `true`, events spanning multiple days with `allDay: false` will be displayed in the time grid instead of the all-day header. Events will be split visually at midnight boundaries. <br>_Default_: `false` |
110
+ | displayHourRange | boolean. Controls visibility of the secondary information in Agenda list items. When `false`, hides the secondary text.<br>_Default_: `true` |
111
+
112
+ ### SchedulerRef
113
+
114
+ Used to help manage and control the internal state of the `Scheduler` component from outside of `Scheduler` props, Example:
115
+
116
+ ```js
117
+ import { Scheduler } from "@isma91/react-scheduler";
118
+ import type { SchedulerRef } from "@isma91/react-scheduler/types"
119
+
120
+ const SomeComponent = () => {
121
+ const calendarRef = useRef<SchedulerRef>(null);
122
+
123
+ return <Fragment>
124
+ <div>
125
+ <Button onClick={()=>{
126
+ calendarRef.current.scheduler.handleState("day", "view");
127
+ }}>
128
+ Change View
129
+ </Button>
130
+ <Button onClick={()=>{
131
+ calendarRef.current.scheduler.triggerDialog(true, {
132
+ start: /*Put the start date*/,
133
+ end: /*Put the end date*/
134
+ })
135
+ }}>
136
+ Add Event Tomorrow
137
+ </Button>
138
+ </div>
139
+
140
+ <Scheduler
141
+ ref={calendarRef}
142
+ events={EVENTS}
143
+ //...
144
+ />
145
+ </Fragment>
146
+ };
147
+ ```
148
+
149
+ The `calendarRef` holds the entire internal state of the Scheduler component. Perhaps the most useful method inside the `calendarRef` is `handleState`, example:
150
+
151
+ ```
152
+ calendarRef.current.scheduler.handleState(value, key);
153
+ ```
154
+
155
+ consider looking inside `SchedulerRef` type to see all fields & methods available.
156
+
157
+ ### Demos
158
+
159
+ - [Basic](https://codesandbox.io/p/sandbox/standard-x24pqk)
160
+ - [Remote Data](https://codesandbox.io/s/remote-data-j13ei)
161
+ - [Custom Fields](https://codesandbox.io/s/custom-fields-b2kbv)
162
+ - [Editor/Viewer Override](https://codesandbox.io/s/customeditor-tt2pf)
163
+ - [Resources/View Mode](https://codesandbox.io/s/resources-7wlcy)
164
+ - [Custom Cell Action](https://codesandbox.io/s/custom-cell-action-n02dv)
165
+ - [Custom Event Renderer](https://codesandbox.io/s/custom-event-renderer-rkf4xw)
166
+
167
+ ### Todos
168
+
169
+ - [ ] Tests
170
+ - [x] Drag&Drop - partially
171
+ - [ ] Resizable
172
+ - [x] Recurring events - partially
173
+ - [x] Localization
174
+ - [x] Hour format 12 | 24
@@ -0,0 +1,65 @@
1
+ {
2
+ "name": "@isma91/react-scheduler",
3
+ "version": "4.0.7",
4
+ "description": "React scheduler component based on Material-UI & date-fns",
5
+ "files": [
6
+ "dist"
7
+ ],
8
+ "type": "module",
9
+ "main": "dist/index.js",
10
+ "types": "dist/index.d.ts",
11
+ "exports": {
12
+ ".": {
13
+ "import": "./dist/index.js",
14
+ "types": "./dist/index.d.ts"
15
+ }
16
+ },
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "https://github.com/isma91/react-scheduler.git"
20
+ },
21
+ "author": "isma91 (fork of Aldabil)",
22
+ "bugs": {
23
+ "url": "https://github.com/isma91/react-scheduler/issues"
24
+ },
25
+ "keywords": [
26
+ "react",
27
+ "material-ui",
28
+ "calendar",
29
+ "scheduler"
30
+ ],
31
+ "license": "MIT",
32
+ "peerDependencies": {
33
+ "@mui/icons-material": ">=7.0.0",
34
+ "@mui/material": ">=7.0.0",
35
+ "@mui/x-date-pickers": ">=7.0.0",
36
+ "date-fns": ">=4.0.0",
37
+ "react": ">=18.0.0",
38
+ "react-dom": ">=18.0.0",
39
+ "rrule": ">=2.8.1"
40
+ },
41
+ "peerDependenciesMeta": {
42
+ "rrule": {
43
+ "optional": true
44
+ }
45
+ },
46
+ "eslintConfig": {
47
+ "extends": [
48
+ "react-app",
49
+ "react-app/jest"
50
+ ]
51
+ },
52
+ "browserslist": {
53
+ "production": [
54
+ ">0.2%",
55
+ "not dead",
56
+ "not op_mini all"
57
+ ],
58
+ "development": [
59
+ "last 1 chrome version",
60
+ "last 1 firefox version",
61
+ "last 1 safari version"
62
+ ]
63
+ },
64
+ "homepage": "https://github.com/aldabil21/react-scheduler#readme"
65
+ }
package/package.json CHANGED
@@ -1,19 +1,45 @@
1
1
  {
2
2
  "name": "@isma91/react-scheduler",
3
- "version": "4.0.6",
3
+ "version": "4.0.7",
4
4
  "description": "React scheduler component based on Material-UI & date-fns",
5
5
  "files": [
6
- "*"
6
+ "dist"
7
7
  ],
8
8
  "type": "module",
9
+ "scripts": {
10
+ "start": "vite serve",
11
+ "build": "vite build --mode production",
12
+ "postbuild": "node ./scripts/post-pack.js",
13
+ "local:pack": "npm run build && cd dist && npm pack && mv *.tgz ../",
14
+ "format": "prettier --check \"**/*.{js,jsx,ts,tsx,json}\"",
15
+ "format:write": "prettier --write \"**/*.{js,jsx,ts,tsx,json}\"",
16
+ "lint": "npm run types && eslint .",
17
+ "lint:fix": "eslint . --fix",
18
+ "types": "tsc --noEmit",
19
+ "prepare": "husky install",
20
+ "pre:commit": "lint-staged",
21
+ "test": "jest",
22
+ "test:watch": "jest --watch",
23
+ "test:ci": "jest --ci",
24
+ "check:dist": "node ./scripts/check-dist.mjs",
25
+ "prepublishOnly": "npm run build && npm run check:dist && npm pack --dry-run"
26
+ },
27
+ "main": "dist/index.js",
28
+ "types": "dist/index.d.ts",
9
29
  "exports": {
10
- "./types": {
11
- "import": "./types.d.ts"
12
- },
13
30
  ".": {
14
- "import": "./index.js"
31
+ "import": "./dist/index.js",
32
+ "types": "./dist/index.d.ts"
15
33
  }
16
34
  },
35
+ "lint-staged": {
36
+ "**/*.{ts,js,tsx,jsx}": [
37
+ "npm run lint"
38
+ ],
39
+ "**/*.{ts,js,tsx,jsx,json,yml}": [
40
+ "npm run format:write"
41
+ ]
42
+ },
17
43
  "repository": {
18
44
  "type": "git",
19
45
  "url": "https://github.com/isma91/react-scheduler.git"
@@ -29,6 +55,55 @@
29
55
  "scheduler"
30
56
  ],
31
57
  "license": "MIT",
58
+ "devDependencies": {
59
+ "@emotion/react": "^11.14.0",
60
+ "@emotion/styled": "^11.14.0",
61
+ "@eslint/compat": "^1.2.6",
62
+ "@eslint/eslintrc": "^3.2.0",
63
+ "@eslint/js": "^9.20.0",
64
+ "@mui/icons-material": ">=7.0.2",
65
+ "@mui/material": ">=7.0.2",
66
+ "@mui/x-date-pickers": ">=8.0.0",
67
+ "@testing-library/dom": "^10.4.0",
68
+ "@testing-library/jest-dom": "^6.6.3",
69
+ "@testing-library/react": "^16.2.0",
70
+ "@testing-library/user-event": "^14.6.1",
71
+ "@types/jest": "^29.5.14",
72
+ "@types/react": "^19.0.10",
73
+ "@types/react-dom": "^19.0.4",
74
+ "@types/rollup-plugin-peer-deps-external": "^2",
75
+ "@typescript-eslint/parser": "^8.24.1",
76
+ "@vitejs/plugin-react": "^4.3.4",
77
+ "date-fns": ">=4.1.0",
78
+ "eslint": "^9.20.1",
79
+ "eslint-import-resolver-typescript": "^3.8.3",
80
+ "eslint-plugin-import": "^2.31.0",
81
+ "eslint-plugin-jsx-a11y": "^6.10.2",
82
+ "eslint-plugin-promise": "^7.2.1",
83
+ "eslint-plugin-react": "^7.37.4",
84
+ "eslint-plugin-react-hooks": "^5.2.0",
85
+ "eslint-plugin-react-refresh": "^0.4.19",
86
+ "globals": "^16.0.0",
87
+ "husky": "^9.1.7",
88
+ "jest": "^29.7.0",
89
+ "jest-environment-jsdom": "^29.7.0",
90
+ "lint-staged": "^15.4.3",
91
+ "prettier": "^3.5.1",
92
+ "react": ">=19.0.0",
93
+ "react-dom": "^19.0.0",
94
+ "react-router-dom": "^7.3.0",
95
+ "rollup-plugin-peer-deps-external": "^2.2.4",
96
+ "rrule": "^2.8.1",
97
+ "ts-jest": "^29.2.5",
98
+ "ts-node": "^10.9.2",
99
+ "typescript": "^5.7.3",
100
+ "typescript-eslint": "^8.24.1",
101
+ "vite": "^6.1.1",
102
+ "vite-plugin-checker": "^0.9.0",
103
+ "vite-plugin-dts": "^4.5.0",
104
+ "vite-plugin-svgr": "^4.3.0",
105
+ "vite-tsconfig-paths": "^5.1.4"
106
+ },
32
107
  "peerDependencies": {
33
108
  "@mui/icons-material": ">=7.0.0",
34
109
  "@mui/material": ">=7.0.0",
@@ -60,6 +135,5 @@
60
135
  "last 1 firefox version",
61
136
  "last 1 safari version"
62
137
  ]
63
- },
64
- "homepage": "https://github.com/aldabil21/react-scheduler#readme"
65
- }
138
+ }
139
+ }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes