Skip to content

Commit

Permalink
chore: bump to latest version (#3)
Browse files Browse the repository at this point in the history
* fix: correct luxon localizer formatting (jquense#2172)

* chore(release): set `package.json` to 0.40.1 [skip ci]

## [0.40.1](jquense/react-big-calendar@v0.40.0...v0.40.1) (2022-04-18)

### Bug Fixes

* correct luxon localizer formatting ([jquense#2172](jquense#2172)) ([b130351](jquense@b130351))

* Added support for React v18.x.x

* fix: Allow resize to last visible slot

Resolves issue with resizing an event to the end of the viewable TimeGrid

jquense#2147

* chore(release): set `package.json` to 0.40.2 [skip ci]

## [0.40.2](jquense/react-big-calendar@v0.40.1...v0.40.2) (2022-06-16)

### Bug Fixes

* Allow resize to last visible slot ([f26c8a7](jquense@f26c8a7)), closes [jquense#2147](jquense#2147)

* fix(DND): Corrects issue of losing droppable event when releasing on non-event related containers (jquense#2199)

jquense#2198 jquense#1902

* chore(release): set `package.json` to 0.40.3 [skip ci]

## [0.40.3](jquense/react-big-calendar@v0.40.2...v0.40.3) (2022-07-01)

### Bug Fixes

* **DND:** Corrects issue of losing droppable event when releasing on non-event related containers ([jquense#2199](jquense#2199)) ([508b668](jquense@508b668)), closes [jquense#2198](jquense#2198) [jquense#1902](jquense#1902)

* fix: replace findDOMNode with refs

jquense#2193

* chore(release): set `package.json` to 0.40.4 [skip ci]

## [0.40.4](jquense/react-big-calendar@v0.40.3...v0.40.4) (2022-07-01)

### Bug Fixes

* replace findDOMNode with refs ([a902d20](jquense@a902d20)), closes [jquense#2193](jquense#2193)

* fix: correct TimeGutter ref use

This resolves an issue with errors thrown in TimeGrid views

jquense#2200

* chore(release): set `package.json` to 0.40.5 [skip ci]

## [0.40.5](jquense/react-big-calendar@v0.40.4...v0.40.5) (2022-07-05)

### Bug Fixes

* correct TimeGutter ref use ([574dbf7](jquense@574dbf7)), closes [jquense#2200](jquense#2200)

* fix: correct TimeGutter ref (jquense#2204)

Corrects issue with TimeGutter ref in TimeGrid views

jquense#2201

* chore(release): set `package.json` to 0.40.6 [skip ci]

## [0.40.6](jquense/react-big-calendar@v0.40.5...v0.40.6) (2022-07-05)

### Bug Fixes

* correct TimeGutter ref ([jquense#2204](jquense#2204)) ([055cdd0](jquense@055cdd0)), closes [jquense#2201](jquense#2201)

* fix: adjust TimeGutter for DST (jquense#2205)

Handle memoization of 'start' and 'end' to prevent infinite useEffect, and add DST fix back to the TimeGutter

* chore(release): set `package.json` to 0.40.7 [skip ci]

## [0.40.7](jquense/react-big-calendar@v0.40.6...v0.40.7) (2022-07-05)

### Bug Fixes

* adjust TimeGutter for DST ([jquense#2205](jquense#2205)) ([4ba1255](jquense@4ba1255))

* fix: resolve resizing events in Month view

Resolves issue where user could no longer resize events in the Month view.

jquense#2207

* chore(release): set `package.json` to 0.40.8 [skip ci]

## [0.40.8](jquense/react-big-calendar@v0.40.7...v0.40.8) (2022-07-07)

### Bug Fixes

* resolve resizing events in Month view ([c7b105f](jquense@c7b105f)), closes [jquense#2207](jquense#2207)

* feat(localizers): move localizer dependencies

Move moment, moment-timezone, luxon and globalize
from devDependencies to dependencies, requiring devs
to explicitly include in their projects. Update
other dependencies.

BREAKING CHANGE: moment, luxon and globalize are no longer bundled

* chore(release): set `package.json` to 1.0.0 [skip ci]

# [1.0.0](jquense/react-big-calendar@v0.40.8...v1.0.0) (2022-07-07)

### Features

* **localizers:** move localizer dependencies ([e4a3235](jquense@e4a3235))

### BREAKING CHANGES

* **localizers:** moment, luxon and globalize are no longer bundled

* fix: zero duration no-overlap events (jquense#2213)

Corrects issue with the no-overlap algorithm with events that have no duration

* chore(release): set `package.json` to 1.0.1 [skip ci]

## [1.0.1](jquense/react-big-calendar@v1.0.0...v1.0.1) (2022-07-07)

### Bug Fixes

* zero duration no-overlap events ([jquense#2213](jquense#2213)) ([bbe1109](jquense@bbe1109))

* feat: remove unneeded dependencies (jquense#2215)

Remove all bootstrap and font-awesome dependencies,
as well as undistributed LESS files and fonts

* chore(release): set `package.json` to 1.1.0 [skip ci]

# [1.1.0](jquense/react-big-calendar@v1.0.1...v1.1.0) (2022-07-08)

### Features

* remove unneeded dependencies ([jquense#2215](jquense#2215)) ([fb05151](jquense@fb05151))

* feat: replace unsafe deprecated methods (jquense#2216)

This replaces deprecated React methods from the components, leading the way to eventual StrictMode compliance.

jquense#1200 jquense#1777 jquense#1481 jquense#2126 jquense#2104 jquense#2105 jquense#1526

* chore(release): set `package.json` to 1.2.0 [skip ci]

# [1.2.0](jquense/react-big-calendar@v1.1.0...v1.2.0) (2022-07-08)

### Features

* replace unsafe deprecated methods ([jquense#2216](jquense#2216)) ([c5c6a8b](jquense@c5c6a8b)), closes [jquense#1200](jquense#1200) [jquense#1777](jquense#1777) [jquense#1481](jquense#1481) [jquense#2126](jquense#2126) [jquense#2104](jquense#2104) [jquense#2105](jquense#2105) [jquense#1526](jquense#1526)

* fix: update to current react-overlays (jquense#2217)

Update react-overlays to resolve issues with StrictMode, and constrain popup to within Month container.

jquense#2186

* chore(release): set `package.json` to 1.2.1 [skip ci]

## [1.2.1](jquense/react-big-calendar@v1.2.0...v1.2.1) (2022-07-08)

### Bug Fixes

* update to current react-overlays ([jquense#2217](jquense#2217)) ([27ebe46](jquense@27ebe46)), closes [jquense#2186](jquense#2186)

* fix: correct popupOffset (jquense#2218)

Correct error when popupOffset is an object

* chore(release): set `package.json` to 1.2.2 [skip ci]

## [1.2.2](jquense/react-big-calendar@v1.2.1...v1.2.2) (2022-07-11)

### Bug Fixes

* correct popupOffset ([jquense#2218](jquense#2218)) ([6fdec30](jquense@6fdec30))

* fix: correct time-header-gutter (jquense#2219)

make sure the header gutter is measured properly

* chore(release): set `package.json` to 1.2.3 [skip ci]

## [1.2.3](jquense/react-big-calendar@v1.2.2...v1.2.3) (2022-07-11)

### Bug Fixes

* correct time-header-gutter ([jquense#2219](jquense#2219)) ([160e251](jquense@160e251))

* fix: do the math ourselves (jquense#2220)

Remove requirement for SASS math plugin by doing the math ourselves

* chore(release): set `package.json` to 1.2.4 [skip ci]

## [1.2.4](jquense/react-big-calendar@v1.2.3...v1.2.4) (2022-07-11)

### Bug Fixes

* do the math ourselves ([jquense#2220](jquense#2220)) ([cace54e](jquense@cace54e))

* feat: use custom event wrapper when dragging (jquense#2221)

Closes jquense#1864

* chore(release): set `package.json` to 1.3.0 [skip ci]

# [1.3.0](jquense/react-big-calendar@v1.2.4...v1.3.0) (2022-07-11)

### Features

* use custom event wrapper when dragging ([jquense#2221](jquense#2221)) ([73ed69a](jquense@73ed69a)), closes [jquense#1864](jquense#1864)

* fix: revert change (jquense#2223)

Pull changes

* chore(release): set `package.json` to 1.3.1 [skip ci]

## [1.3.1](jquense/react-big-calendar@v1.3.0...v1.3.1) (2022-07-12)

### Bug Fixes

* revert change ([jquense#2223](jquense#2223)) ([bdb0595](jquense@bdb0595))

* fix: temp fix for DayColumn render (jquense#2224)

This will work until we can refactor as a
functional component with hooks

Closes jquense#2222

* chore(release): set `package.json` to 1.3.2 [skip ci]

## [1.3.2](jquense/react-big-calendar@v1.3.1...v1.3.2) (2022-07-12)

### Bug Fixes

* temp fix for DayColumn render ([jquense#2224](jquense#2224)) ([48b23a2](jquense@48b23a2)), closes [jquense#2222](jquense#2222)

* fix: revert (jquense#2227)

Have to roll back changes until we can refactor as functional component with hooks

* chore(release): set `package.json` to 1.3.3 [skip ci]

## [1.3.3](jquense/react-big-calendar@v1.3.2...v1.3.3) (2022-07-12)

### Bug Fixes

* revert ([jquense#2227](jquense#2227)) ([b81fa14](jquense@b81fa14))

* feat: allow using custom event wrapper component while dragging (jquense#2228)

Closes jquense#1864

* chore(release): set `package.json` to 1.4.0 [skip ci]

# [1.4.0](jquense/react-big-calendar@v1.3.3...v1.4.0) (2022-07-12)

### Features

* allow using custom event wrapper component while dragging ([jquense#2228](jquense#2228)) ([afa8824](jquense@afa8824)), closes [jquense#1864](jquense#1864)

* fix(dnd): dont use classname (jquense#2232)

allow for className object usage

* chore(release): set `package.json` to 1.4.1 [skip ci]

## [1.4.1](jquense/react-big-calendar@v1.4.0...v1.4.1) (2022-07-15)

### Bug Fixes

* **dnd:** dont use classname ([jquense#2232](jquense#2232)) ([2332f12](jquense@2332f12))

* fix: do not autoscroll on event selection (jquense#2234)

Closes jquense#2233

* chore(release): set `package.json` to 1.4.2 [skip ci]

## [1.4.2](jquense/react-big-calendar@v1.4.1...v1.4.2) (2022-07-15)

### Bug Fixes

* do not autoscroll on event selection ([jquense#2234](jquense#2234)) ([b85b1ff](jquense@b85b1ff)), closes [jquense#2233](jquense#2233)

* fix: auto scroll on event selection (jquense#2235)

Fixes jquense#2233

* chore(release): set `package.json` to 1.4.3 [skip ci]

## [1.4.3](jquense/react-big-calendar@v1.4.2...v1.4.3) (2022-07-19)

### Bug Fixes

* auto scroll on event selection ([jquense#2235](jquense#2235)) ([6d87ebb](jquense@6d87ebb)), closes [jquense#2233](jquense#2233)

* feat(time-gutter-wrapper): expose time gutter wrapper component (jquense#2236)

Allows clients to override the time gutter wrapper.

* chore(release): set `package.json` to 1.5.0 [skip ci]

# [1.5.0](jquense/react-big-calendar@v1.4.3...v1.5.0) (2022-07-19)

### Features

* **time-gutter-wrapper:** expose time gutter wrapper component ([jquense#2236](jquense#2236)) ([39ff8a1](jquense@39ff8a1))

* docs: add demo image to README (jquense#2237)

Update to README

Thanks to ipiranhaa for the idea

* docs: make "Docs" tab default (jquense#2289)

* fix: typo for prop titles (jquense#2298)

* chore(release): set `package.json` to 1.5.1 [skip ci]

## [1.5.1](jquense/react-big-calendar@v1.5.0...v1.5.1) (2022-11-09)

### Bug Fixes

* typo for prop titles ([jquense#2298](jquense#2298)) ([11fd6c8](jquense@11fd6c8))

* fix: do not send undefined/null gutterRef to getWidth (jquense#2300)

* chore(release): set `package.json` to 1.5.2 [skip ci]

## [1.5.2](jquense/react-big-calendar@v1.5.1...v1.5.2) (2022-11-10)

### Bug Fixes

* do not send undefined/null gutterRef to getWidth ([jquense#2300](jquense#2300)) ([7b5f5b8](jquense@7b5f5b8))

* feat: Dayjs localizer (jquense#2264)

* docs: fixed instructions to run examples locally
* fix: luxon story now uses luxon instead of moment
* fix(moment localizer): removed comments about 'day' and 'date' in the call to isSame()
* feat: created dayjs localizer
* fix(dayjs localizer): min() & max() now both behave correctly when a default timezone is applied
* docs(localizer guide): edited last two paragraphs to include the new localizer
* fix(dayjs localizer): dayjs plugins are now loaded by the localizer
* docs: updated README.md & exampleCode to reflect dayjs plugins being loaded by the localizer
* docs(localizer props): added dayjs example & sorted examples alphabetically
* docs(exampleCode dayjs): use dayjs to construct date based props
* test: added commented out dayjs configuration
* revert(README.md): remove note on node 16 storybook requirement
* fix(dayjs localizer): dayjs plugins are now loaded by the dayjsLocalizer
* docs(dayjs localizer): mention dayjs plugins being loaded by the dayjsLocalizer
* docs(timezones): mention the dayjsLocalizer's ability to handle timezones too

Big thanks to @marnixhoh for the effort and patience

jquense#2264

* chore(release): set `package.json` to 1.6.0 [skip ci]

# [1.6.0](jquense/react-big-calendar@v1.5.2...v1.6.0) (2023-01-04)

### Features

* Dayjs localizer ([jquense#2264](jquense#2264)) ([537c6f3](jquense@537c6f3))

* ci: correct release (jquense#2326)

* ci: update storybook (jquense#2327)

Updates to multiple dependencies, including all Storybook dependencies, all testing dependencies, and multiple ci/automation dependencies. Babel and Rollup will require research and minor process refactoring.

* ci: correct release (jquense#2331)

* fix: set width (jquense#2332)

* chore(release): set `package.json` to 1.6.1 [skip ci]

## [1.6.1](jquense/react-big-calendar@v1.6.0...v1.6.1) (2023-01-05)

### Bug Fixes

* set width ([jquense#2332](jquense#2332)) ([86b26cd](jquense@86b26cd))

* ci: attempt resolution (jquense#2333)

* docs: add slack invite links (jquense#2335)

Add invite to new Slack workspace.

* fix: no-overlap layout algorithm (jquense#2239)

Corrects issue with no-overlap layout

jquense#2240

* ci: update config (jquense#2340)

* ci: update build configuration (jquense#2341)

Updated Babel, ESLint and Rollup dependencies
Removed sizeSnapshot, which is not compatible with ESM

* ci: update action (jquense#2342)

Attempt to use the semantic-release GitHub Action

* ci: update configs (jquense#2343)

* fix: correct publishing (jquense#2350)

Another attempt

* chore(release): set `package.json` to 1.6.2 [skip ci]

## [1.6.2](jquense/react-big-calendar@v1.6.1...v1.6.2) (2023-01-31)

### Bug Fixes

* correct publishing ([jquense#2350](jquense#2350)) ([ae15118](jquense@ae15118))
* no-overlap layout algorithm ([jquense#2239](jquense#2239)) ([f7bfd11](jquense@f7bfd11)), closes [jquense#2240](jquense#2240)

* ci: try again (jquense#2351)

and another

* ci: the old college try (jquense#2352)

* ci: with publishConfig (jquense#2353)

* ci: and another (jquense#2354)

* ci: once again (jquense#2355)

* ci: and again (jquense#2356)

* ci: still trying (jquense#2357)

* fix: Fixed publish script (fix jquense#2330) (jquense#2358)

* chore(release): set `package.json` to 1.6.3 [skip ci]

## [1.6.3](jquense/react-big-calendar@v1.6.2...v1.6.3) (2023-02-01)

### Bug Fixes

* Fixed publish script (fix [jquense#2330](jquense#2330)) ([jquense#2358](jquense#2358)) ([a4e54be](jquense@a4e54be))

* ci: update doc release (jquense#2360)

* fix: rounding behavior in Luxon localizer (jquense#2362)

Round down the date difference returned in the diff function of the luxon localizer to the nearest whole number, aligning the behavior with other localizers.

jquense#2361

* chore(release): set `package.json` to 1.6.4 [skip ci]

## [1.6.4](jquense/react-big-calendar@v1.6.3...v1.6.4) (2023-02-09)

### Bug Fixes

* rounding behavior in Luxon localizer ([jquense#2362](jquense#2362)) ([409cff1](jquense@409cff1)), closes [jquense#2361](jquense#2361)

* ci: update Storybook (jquense#2365)

Update Storybook to 6.5.16

* fix: calendar auto scroll while dragging event at top/bottom edge (jquense#2230)

Closes jquense#2231

* chore(release): set `package.json` to 1.6.5 [skip ci]

## [1.6.5](jquense/react-big-calendar@v1.6.4...v1.6.5) (2023-02-14)

### Bug Fixes

* calendar auto scroll while dragging event at top/bottom edge ([jquense#2230](jquense#2230)) ([d1c5085](jquense@d1c5085)), closes [jquense#2231](jquense#2231)

* fix: pass dates to slotGroupPropGetter (jquense#2066)

Fixes an issue where you could not properly style slot groups

* chore(release): set `package.json` to 1.6.6 [skip ci]

## [1.6.6](jquense/react-big-calendar@v1.6.5...v1.6.6) (2023-02-15)

### Bug Fixes

* pass dates to slotGroupPropGetter ([jquense#2066](jquense#2066)) ([943ae6e](jquense@943ae6e))

* fix: 1px misalignment (jquense#2367)

Correct slight misalignment between the `TimeGridHeader` and the scrollbar

* chore(release): set `package.json` to 1.6.7 [skip ci]

## [1.6.7](jquense/react-big-calendar@v1.6.6...v1.6.7) (2023-02-15)

### Bug Fixes

* 1px misalignment ([jquense#2367](jquense#2367)) ([7479b4d](jquense@7479b4d))

* fix: correct treatment of boolean view in 'views' (jquense#2368)

* chore(release): set `package.json` to 1.6.8 [skip ci]

## [1.6.8](jquense/react-big-calendar@v1.6.7...v1.6.8) (2023-02-17)

### Bug Fixes

* correct treatment of boolean view in 'views' ([jquense#2368](jquense#2368)) ([0e6b771](jquense@0e6b771))

* fix(moment): wrong time on the day when DST changes (jquense#2374)

Corrects issue with DST offset when using the moment or Luxon localizers
Thanks to @bu6n for the fix

jquense#2296

* chore(release): set `package.json` to 1.6.9 [skip ci]

## [1.6.9](jquense/react-big-calendar@v1.6.8...v1.6.9) (2023-03-24)

### Bug Fixes

* **moment:** wrong time on the day when DST changes ([jquense#2374](jquense#2374)) ([b82ceb7](jquense@b82ceb7)), closes [jquense#2296](jquense#2296)

* docs: add decorator to wrap story in container (jquense#2385)

* feat: Support multiple resources on an event

Allows for defining multiple resources on a single event,
so that the event can display in multiple resource columns
simultaneously
Co-authored-by: Jim Hlad <[email protected]>
Co-authored-by: Jim Hlad <[email protected]>

jquense#2405 jquense#1649

* chore(release): set `package.json` to 1.7.0 [skip ci]

# [1.7.0](jquense/react-big-calendar@v1.6.9...v1.7.0) (2023-06-02)

### Features

* Support multiple resources on an event ([91155c5](jquense@91155c5)), closes [jquense#2405](jquense#2405) [jquense#1649](jquense#1649)

* feat(allDayMaxRows): Allow for more granular control

Allows for more granular control over the number of events display in the all day row
at the top of the TimeGrid
Co-authored-by: Arturo Fornes <[email protected]>

Closes jquense#2386

* chore(release): set `package.json` to 1.8.0 [skip ci]

# [1.8.0](jquense/react-big-calendar@v1.7.0...v1.8.0) (2023-06-02)

### Features

* **allDayMaxRows:** Allow for more granular control ([36871bf](jquense@36871bf)), closes [jquense#2386](jquense#2386)

* docs: add resourceId to onSelectSlot documentation (jquense#2408)

* fix: scrollToTime does not work properly, when min specified (jquense#2051)

Fixed a bug that prevented scrollToTime does not working properly, when min specified.

* chore(release): set `package.json` to 1.8.1 [skip ci]

## [1.8.1](jquense/react-big-calendar@v1.8.0...v1.8.1) (2023-06-05)

### Bug Fixes

* scrollToTime does not work properly, when min specified ([jquense#2051](jquense#2051)) ([04c1888](jquense@04c1888))

* fix(rtl DnD): Dragging an event in the RTL month view calendar gets confused to the wrong side (jquense#2426)

jquense#2310 jquense#1801

* chore(release): set `package.json` to 1.8.2 [skip ci]

## [1.8.2](jquense/react-big-calendar@v1.8.1...v1.8.2) (2023-08-07)

### Bug Fixes

* **rtl DnD:** Dragging an event in the RTL month view calendar gets confused to the wrong side ([jquense#2426](jquense#2426)) ([ebe8c2c](jquense@ebe8c2c)), closes [jquense#2310](jquense#2310) [jquense#1801](jquense#1801)

* ci: update Globalize (jquense#2430)

jquense#2429

* ci: revert globalize dependency upgrade messaging (jquense#2431)

Revert 'globalize' dependency upgrade, and mark for future work

jquense#2429

* fix: Modify events.js (jquense#2444)

Name change due to Itaewon Halloween disaster.

* chore(release): set `package.json` to 1.8.3 [skip ci]

## [1.8.3](jquense/react-big-calendar@v1.8.2...v1.8.3) (2023-09-18)

### Bug Fixes

* Modify events.js ([jquense#2444](jquense#2444)) ([2a838d9](jquense@2a838d9))

* fix: typo (jquense#2443)

Quick PR to fix the typo in the docs

* chore(release): set `package.json` to 1.8.4 [skip ci]

## [1.8.4](jquense/react-big-calendar@v1.8.3...v1.8.4) (2023-09-18)

### Bug Fixes

* typo ([jquense#2443](jquense#2443)) ([407e168](jquense@407e168))

* fix: fixing invalid ref with invalid scrollHeight (jquense#2459)

* chore(release): set `package.json` to 1.8.5 [skip ci]

## [1.8.5](jquense/react-big-calendar@v1.8.4...v1.8.5) (2023-10-30)

### Bug Fixes

* fixing invalid ref with invalid scrollHeight ([jquense#2459](jquense#2459)) ([a4bc8f3](jquense@a4bc8f3))

* docs: Update README.md

New Slack group invite link

* Made events accessible in week and day views (jquense#2473)

jquense#2037

* docs: Update Slack Invite in README.md

* fix(DnD): dragAndDrop EventWrapper.js error: cannot add property 'X', object is not extensible

* Fix dragAndDrop EventWrapper.js error: cannot add property 'X', object is not extensible

Fix for error: cannot add property 'X', object is not extensible

An error appears when trying to modify this.props. The solution is to create a copy of the props using JSON.parse() and JSON.stringify()

https://stackoverflow.com/questions/55567386/react-cannot-add-property-x-object-is-not-extensible

* Update EventWrapper.js

---------

Co-authored-by: martinvu-dev <[email protected]>

* chore(release): set `package.json` to 1.8.6 [skip ci]

## [1.8.6](jquense/react-big-calendar@v1.8.5...v1.8.6) (2024-01-08)

### Bug Fixes

* **DnD:** dragAndDrop EventWrapper.js error: cannot add property 'X', object is not extensible ([0c4826a](jquense@0c4826a))

* fix: add isBackgroundEvent to onSelectEvent event obj (jquense#2491)

Adds isBackgroundEvent flag to 'event' objects passed to `onSelectEvent`. This allows the user to tailor their `onSelectEvent` methods for different functionality, if the selected `event` is a `backgroundEvent`

* chore(release): set `package.json` to 1.8.7 [skip ci]

## [1.8.7](jquense/react-big-calendar@v1.8.6...v1.8.7) (2024-01-26)

### Bug Fixes

* add isBackgroundEvent to onSelectEvent event obj ([jquense#2491](jquense#2491)) ([fdbb496](jquense@fdbb496))

* docs: update onSelectEvent prop story (jquense#2492)

* feat: showMore message add event info (jquense#2496)

* feat: showMore message add event info

* feat: add remaining events and all events in day

---------

authored-by: mutao.zht <[email protected]>

* chore(release): set `package.json` to 1.9.0 [skip ci]

# [1.9.0](jquense/react-big-calendar@v1.8.7...v1.9.0) (2024-02-07)

### Features

* showMore message add event info ([jquense#2496](jquense#2496)) ([18012b7](jquense@18012b7))

* fix(dnd): move merge components

Resolves issue with using the DnD HOC where components are not receiving state updates

jquense#2359

* chore(release): set `package.json` to 1.9.1 [skip ci]

## [1.9.1](jquense/react-big-calendar@v1.9.0...v1.9.1) (2024-02-07)

### Bug Fixes

* **dnd:** move merge components ([fd02261](jquense@fd02261)), closes [jquense#2359](jquense#2359)

* fix: changed flex-direction for rbc-toolbar mobile (jquense#2497)

jquense#1699

* chore(release): set `package.json` to 1.9.2 [skip ci]

## [1.9.2](jquense/react-big-calendar@v1.9.1...v1.9.2) (2024-02-09)

### Bug Fixes

* changed flex-direction for rbc-toolbar mobile ([jquense#2497](jquense#2497)) ([8d7b20d](jquense@8d7b20d)), closes [jquense#1699](jquense#1699)

* Update README.md

Update the Slack invite link

* feat(event sort): update event sort for multi day (jquense#2502)

This changes the event sort used in the Month view to prioritize items in this order

- Multi Day events first
- Then all day events
- Then by start time
- Then by end time

* chore(release): set `package.json` to 1.10.0 [skip ci]

# [1.10.0](jquense/react-big-calendar@v1.9.2...v1.10.0) (2024-02-09)

### Features

* **event sort:** update event sort for multi day ([jquense#2502](jquense#2502)) ([ff209d0](jquense@ff209d0))

* docs: correct some linking (jquense#2507)

jquense#2505

* fix(ARIA): remove tabindex (jquense#2508)

The tabindex, applied to the event div, creates invalid ARIA component nesting

jquense#2498

* chore(release): set `package.json` to 1.10.1 [skip ci]

## [1.10.1](jquense/react-big-calendar@v1.10.0...v1.10.1) (2024-02-14)

### Bug Fixes

* **ARIA:** remove tabindex ([jquense#2508](jquense#2508)) ([7e01c3d](jquense@7e01c3d)), closes [jquense#2498](jquense#2498)

* Update CONTRIBUTING.md

* Update README.md

* fix: day events sort fixed (jquense#2512)

Co-authored-by: mutao.zht <[email protected]>

* chore(release): set `package.json` to 1.10.2 [skip ci]

## [1.10.2](jquense/react-big-calendar@v1.10.1...v1.10.2) (2024-02-19)

### Bug Fixes

* day events sort fixed ([jquense#2512](jquense#2512)) ([ac1ff00](jquense@ac1ff00))

* chore: re-apply workflow change

---------

Co-authored-by: inshatan <[email protected]>
Co-authored-by: semantic-release-bot <[email protected]>
Co-authored-by: Philipp Michelfeit <[email protected]>
Co-authored-by: Bart van Andel <[email protected]>
Co-authored-by: Dovydas <[email protected]>
Co-authored-by: Steve 'Cutter' Blades <[email protected]>
Co-authored-by: Nikita Levchuk <[email protected]>
Co-authored-by: Dhruv Goel <[email protected]>
Co-authored-by: Lukas Bak <[email protected]>
Co-authored-by: Billy <[email protected]>
Co-authored-by: Li Ming <[email protected]>
Co-authored-by: Marnix Heuker of Hoek <[email protected]>
Co-authored-by: Edgard Lorraine Messias <[email protected]>
Co-authored-by: pdady <[email protected]>
Co-authored-by: Amit Desai <[email protected]>
Co-authored-by: Eugene Sokovikov <[email protected]>
Co-authored-by: rajeshrajesh <[email protected]>
Co-authored-by: Billy <[email protected]>
Co-authored-by: basstager <[email protected]>
Co-authored-by: Arturo Fornés Arvayo <[email protected]>
Co-authored-by: Masato Hirokami <[email protected]>
Co-authored-by: Amir Bashan <[email protected]>
Co-authored-by: JSR <[email protected]>
Co-authored-by: Karl Horky <[email protected]>
Co-authored-by: Eduard A <[email protected]>
Co-authored-by: Sankalp Sharma <[email protected]>
Co-authored-by: moonbeam-dev <[email protected]>
Co-authored-by: martinvu-dev <[email protected]>
Co-authored-by: zht826 <[email protected]>
Co-authored-by: Iuri Wollmann <[email protected]>
Co-authored-by: Hunter Madsen <[email protected]>
Co-authored-by: mutao.zht <[email protected]>
  • Loading branch information
1 parent ab01fc5 commit 68ab5f4
Show file tree
Hide file tree
Showing 102 changed files with 8,444 additions and 7,395 deletions.
46 changes: 46 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
module.exports = {
parser: '@babel/eslint-parser',
parserOptions: {
ecmaVersion: 2020,
sourceType: 'module',
},
extends: ['jason/react', 'prettier', 'plugin:storybook/recommended'],
plugins: ['react-hooks'],
env: {
node: true,
browser: true,
es6: true,
},
overrides: [
{
// or whatever matches stories specified in .storybook/main.js
files: ['*.stories.@(ts|tsx|js|jsx|mjs|cjs)'],
rules: {
// example of overriding a rule
//'storybook/hierarchy-separator': 'error',
// example of disabling a rule
'storybook/default-exports': 'off',
},
},
],
rules: {
'global-require': 'off',
'no-console': [
'error',
{
allow: ['warn', 'error', 'info'],
},
],
'no-unused-vars': [
'error',
{
vars: 'all',
args: 'after-used',
varsIgnorePattern: '^_',
argsIgnorePattern: '^_',
},
],
'react-hooks/rules-of-hooks': 'error',
'react-hooks/exhaustive-deps': 'warn',
},
}
34 changes: 0 additions & 34 deletions .eslintrc.json

This file was deleted.

10 changes: 7 additions & 3 deletions .github/workflows/storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ jobs:
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 'lts/*'

- name: Install and Build 🔧
run: | # Install npm packages and build the Storybook files
Expand All @@ -22,11 +27,10 @@ jobs:
- name: Deploy 🚀
# https://github.com/JamesIves/github-pages-deploy-action
uses: JamesIves/github-pages-deploy-action@v4.2.5
uses: JamesIves/github-pages-deploy-action@v4.4.1
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages # The branch the action should deploy to.
folder: storybook-static # The folder that the build-storybook script generates files.
target-folder: examples
clean: true # Automatically remove deleted files from the deploy branch
commit-msg: 'docs: update documentation site'
commit-message: 'docs: update documentation site'
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: '16.13.2'
node-version: '18.13.0'

- name: Install Dependencies
run: yarn install
Expand Down
7 changes: 4 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ node_modules
# Mac OS X
.DS_Store

# Storybook

storybook-static/*
# Yarn Cache
.yarn
# Yarn NodeLinker
.yarnrc.yml
13 changes: 8 additions & 5 deletions .scripts/build.mjs
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
#!/usr/bin/env zx
import isCI from 'is-ci';
import isCI from 'is-ci'

const {
b = isCI, // pass `-b` to build if you want it to run browserslist update outside of CI environment
} = argv;
} = argv

if (b) {
// Update browserslist
await $`npx browserslist@latest --update-db`;
await $`npx update-browserslist-db@latest`
}

console.log(chalk.blue('[BEGIN BUILD]'))
console.log(chalk.blue('Building js'))
// build distributables
await $`NODE_ENV=production rollup -c`;
await $`NODE_ENV=production rollup -c`
console.log(chalk.blue(`Compiling 'lib' js files`))
// build files used for overrides
await $`NODE_ENV=production RBC_CJS_BUILD=true babel src --out-dir lib`
Expand All @@ -22,7 +22,10 @@ console.log(chalk.blue(`Copying SASS files to 'lib'`))
await fs.copy('./src/sass', './lib/sass')
console.log(chalk.blue(`...and the 'Add-on' SASS`))
// don't forget DnD
await fs.copy('./src/addons/dragAndDrop/styles.scss', './lib/addons/dragAndDrop/styles.scss')
await fs.copy(
'./src/addons/dragAndDrop/styles.scss',
'./lib/addons/dragAndDrop/styles.scss'
)
console.log(chalk.blue('Now we will build some CSS'))
// Compile SASS from './lib' to get sourcemaps
console.log(chalk.blue('Compile base styles'))
Expand Down
50 changes: 0 additions & 50 deletions .size-snapshot.json

This file was deleted.

8 changes: 8 additions & 0 deletions .storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@ module.exports = {
},
},
},
{
name: '@storybook/addon-postcss',
options: {
postcssLoaderOptions: {
implementation: require('postcss'),
},
},
},
],
framework: '@storybook/react',
core: {
Expand Down
1 change: 1 addition & 0 deletions .storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ export const parameters = {
['Introduction', 'props'],
],
},
viewMode: 'docs',
}
Loading

0 comments on commit 68ab5f4

Please sign in to comment.