@schedule-x/react
Advanced tools
Comparing version 2.13.0 to 2.13.1
@@ -41,2 +41,5 @@ 'use strict'; | ||
calendarApp.render(calendarElement); | ||
return () => { | ||
calendarApp.destroy(); | ||
}; | ||
}, [calendarApp, customComponents, randomId]); | ||
@@ -43,0 +46,0 @@ return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsxs(react.Fragment, { children: [jsxRuntime.jsx("div", { className: "sx-react-calendar-wrapper", id: randomId }), customComponentsMeta.map(({ Component, wrapperElement }) => { |
@@ -39,2 +39,5 @@ import { jsx, Fragment, jsxs } from 'react/jsx-runtime'; | ||
calendarApp.render(calendarElement); | ||
return () => { | ||
calendarApp.destroy(); | ||
}; | ||
}, [calendarApp, customComponents, randomId]); | ||
@@ -41,0 +44,0 @@ return (jsx(Fragment, { children: jsxs(Fragment$1, { children: [jsx("div", { className: "sx-react-calendar-wrapper", id: randomId }), customComponentsMeta.map(({ Component, wrapperElement }) => { |
@@ -18,3 +18,3 @@ { | ||
"types": "dist/types/index.d.ts", | ||
"version": "2.13.0", | ||
"version": "2.13.1", | ||
"type": "module", | ||
@@ -35,3 +35,3 @@ "files": [ | ||
"peerDependencies": { | ||
"@schedule-x/calendar": "^2.3.0", | ||
"@schedule-x/calendar": "^2.14.1", | ||
"react": "^16.7.0 || ^17 || ^18 || ^19", | ||
@@ -45,10 +45,10 @@ "react-dom": "^16.7.0 || ^17 || ^18 || ^19" | ||
"@rollup/plugin-typescript": "^11.1.5", | ||
"@schedule-x/calendar-controls": "^2.3.0", | ||
"@schedule-x/drag-and-drop": "^2.3.0", | ||
"@schedule-x/e2e-testing": "^2.3.0", | ||
"@schedule-x/eslint-config": "^2.3.0", | ||
"@schedule-x/event-modal": "^2.3.0", | ||
"@schedule-x/events-service": "^2.3.0", | ||
"@schedule-x/prettier-config": "^2.3.0", | ||
"@schedule-x/shared": "^2.3.0", | ||
"@schedule-x/calendar-controls": "^2.14.1", | ||
"@schedule-x/drag-and-drop": "^2.14.1", | ||
"@schedule-x/e2e-testing": "^2.14.1", | ||
"@schedule-x/eslint-config": "^2.14.1", | ||
"@schedule-x/event-modal": "^2.14.1", | ||
"@schedule-x/events-service": "^2.14.1", | ||
"@schedule-x/prettier-config": "^2.14.1", | ||
"@schedule-x/shared": "^2.14.1", | ||
"@schedule-x/theme-default": "^2.0.0", | ||
@@ -55,0 +55,0 @@ "@semantic-release/changelog": "^6.0.3", |
Sorry, the diff of this file is not supported yet
13668
218