Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 4.4.1 #158

Merged
merged 16 commits into from
Oct 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
## [4.4.1](https://github.com/react-scheduler/react-big-schedule/compare/4.4.0...4.4.1)
`2024-10-06`

- Fix `CHANGELOG.MD` file.
- Removed `default` keyword from Scheduler Class in `typing/index.d.ts` file of typescript by [@ansulagrawal](https://github.com/ansulagrawal) in [#154](https://github.com/react-scheduler/react-big-schedule/pull/154).
- Updated utcOffset method calls to pass `new Date()` instead of `new Date().utcOffset` by [@ansulagrawal](https://github.com/ansulagrawal) in [#155](https://github.com/react-scheduler/react-big-schedule/pull/155).
-Updated `node_modules` version by [@ansulagrawal](https://github.com/ansulagrawal).

## [4.4.0](https://github.com/react-scheduler/react-big-schedule/compare/4.3.3...4.4.0)

`2024-02-21`

- Updated `node_modules` version by [@ansulagrawal](https://github.com/ansulagrawal) in [#132](https://github.com/react-scheduler/react-big-schedule/pull/132).
- Fix Issue of Displaying hour headers properly in ViewType.Da by [@ansulagrawal](https://github.com/ansulagrawal) in [#131](https://github.com/react-scheduler/react-big-schedule/pull/131).
- Fix Issue of Displaying hour headers properly in ViewType.Data by [@ansulagrawal](https://github.com/ansulagrawal) in [#131](https://github.com/react-scheduler/react-big-schedule/pull/131).
- Bump webpack-dev-server from 4.15.1 to 5.0.2 by [@dependabot](https://github.com/dependabot) in [#130](https://github.com/react-scheduler/react-big-schedule/pull/130).

## [4.3.3](https://github.com/react-scheduler/react-big-schedule/compare/4.3.2...4.3.3)
Expand Down
42 changes: 21 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,37 +59,37 @@
"fix": "eslint ./"
},
"dependencies": {
"@ant-design/icons": "^5.3.0",
"antd": "^5.14.1",
"dayjs": "^1.11.10",
"@ant-design/icons": "^5.5.1",
"antd": "^5.21.2",
"dayjs": "^1.11.13",
"prop-types": "^15.8.1",
"react": "^18.2.0",
"react": "^18.3.1",
"react-dnd": "^14.0.5",
"react-dnd-html5-backend": "^14.1.0",
"react-dom": "^18.2.0",
"react-dom": "^18.3.1",
"rrule": "^2.8.1"
},
"devDependencies": {
"@babel/cli": "^7.23.9",
"@babel/core": "^7.23.9",
"@babel/eslint-parser": "^7.23.10",
"@babel/preset-env": "^7.23.9",
"@babel/preset-react": "^7.23.3",
"babel-loader": "^9.1.3",
"@babel/cli": "^7.25.7",
"@babel/core": "^7.25.7",
"@babel/eslint-parser": "^7.25.7",
"@babel/preset-env": "^7.25.7",
"@babel/preset-react": "^7.25.7",
"babel-loader": "^9.2.1",
"copy-webpack-plugin": "^12.0.2",
"css-loader": "^6.10.0",
"eslint": "^8.56.0",
"css-loader": "^7.1.2",
"eslint": "^8.2.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-webpack-plugin": "^4.0.1",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jsx-a11y": "^6.10.0",
"eslint-plugin-react": "^7.37.1",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-webpack-plugin": "^4.2.0",
"fs-extra": "^11.2.0",
"html-webpack-plugin": "^5.6.0",
"style-loader": "^3.3.4",
"webpack": "^5.90.3",
"style-loader": "^4.0.0",
"webpack": "^5.95.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.0.2"
"webpack-dev-server": "^5.1.0"
}
}
4 changes: 2 additions & 2 deletions src/components/SchedulerData.js
Original file line number Diff line number Diff line change
Expand Up @@ -583,12 +583,12 @@ export default class SchedulerData {
recurringEventEnd: item.end,
id: `${item.id}-${index}`,
start: rule.origOptions.tzid
? this.localeDayjs.utc(time).utcOffset(this.localeDayjs(new Date().utcOffset)(), true).format(DATETIME_FORMAT)
? this.localeDayjs.utc(time).utcOffset(this.localeDayjs(new Date()).utcOffset(), true).format(DATETIME_FORMAT)
: this.localeDayjs(new Date(time)).format(DATETIME_FORMAT),
end: rule.origOptions.tzid
? this.localeDayjs
.utc(time)
.utcOffset(this.localeDayjs(new Date().utcOffset)(), true)
.utcOffset(this.localeDayjs(new Date()).utcOffset(), true)
.add(oldEnd.diff(oldStart), 'ms')
.add(this.localeDayjs(new Date(oldUntil)).utcOffset() - this.localeDayjs(new Date(item.start)).utcOffset(), 'm')
.format(DATETIME_FORMAT)
Expand Down
2 changes: 1 addition & 1 deletion typing/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ConfigType, Dayjs, OptionType } from 'dayjs';
import React, { CSSProperties } from 'react';

export default class Scheduler<EventType extends EventItem = EventItem> extends React.Component<SchedulerProps<EventType>, any> {}
export class Scheduler<EventType extends EventItem = EventItem> extends React.Component<SchedulerProps<EventType>, any> {}

export const AddMorePopover: <EventType extends EventItem = EventItem>(props: AddMorePopoverProps<EventType>) => React.ReactElement;

Expand Down