Skip to content

Commit

Permalink
use preact everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
arshaw committed Apr 26, 2020
1 parent 4f3cc99 commit 087b0f9
Show file tree
Hide file tree
Showing 114 changed files with 135 additions and 137 deletions.
2 changes: 1 addition & 1 deletion packages-contrib/react
2 changes: 1 addition & 1 deletion packages-contrib/vue
2 changes: 1 addition & 1 deletion packages-premium
2 changes: 1 addition & 1 deletion packages/__tests__/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"private": true,
"dependencies": {
"@fullcalendar/preact": "*",
"@fullcalendar/core": "*",
"@fullcalendar/common": "*",
"@fullcalendar/interaction": "*",
"@fullcalendar/daygrid": "*",
"@fullcalendar/timegrid": "*",
Expand Down
2 changes: 1 addition & 1 deletion packages/__tests__/src/date-render/dayNumbers.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import arLocale from '@fullcalendar/core/locales/ar'
import arLocale from '@fullcalendar/common/locales/ar'
import { DayGridViewWrapper } from '../lib/wrappers/DayGridViewWrapper'

describe('dayNumbers', function() {
Expand Down
2 changes: 1 addition & 1 deletion packages/__tests__/src/datelib/formatting-api.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { formatDate, formatRange } from '@fullcalendar/core'
import { formatDate, formatRange } from '@fullcalendar/preact'

describe('formatDate', function() {

Expand Down
2 changes: 1 addition & 1 deletion packages/__tests__/src/datelib/luxon.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Calendar } from '@fullcalendar/preact'
import esLocale from '@fullcalendar/core/locales/es'
import esLocale from '@fullcalendar/common/locales/es'
import luxonPlugin, { toLuxonDateTime, toLuxonDuration } from '@fullcalendar/luxon'
import dayGridPlugin from '@fullcalendar/daygrid'
import { testTimeZoneImpl } from '../lib/timeZoneImpl'
Expand Down
2 changes: 1 addition & 1 deletion packages/__tests__/src/datelib/main.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { formatPrettyTimeZoneOffset, formatIsoTimeZoneOffset, formatIsoWithoutTz } from '../lib/datelib-utils'
import { getDSTDeadZone } from '../lib/dst-dead-zone'
import { DateEnv, createFormatter, createDuration, startOfDay, diffWholeWeeks, diffWholeDays, diffDayAndTime } from '@fullcalendar/core'
import { DateEnv, createFormatter, createDuration, startOfDay, diffWholeWeeks, diffWholeDays, diffDayAndTime } from '@fullcalendar/preact'
import { Calendar } from '@fullcalendar/preact'
import dayGridPlugin from '@fullcalendar/daygrid'

Expand Down
2 changes: 1 addition & 1 deletion packages/__tests__/src/event-drag/all-day-change.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { drag } from '../lib/EventDragUtils'
import { parseMarker, addMs } from '@fullcalendar/core'
import { parseMarker, addMs } from '@fullcalendar/preact'
import { TimeGridViewWrapper } from '../lib/wrappers/TimeGridViewWrapper'
import { intersectRects } from '../lib/geom'

Expand Down
2 changes: 1 addition & 1 deletion packages/__tests__/src/legacy/ListView.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import frLocale from '@fullcalendar/core/locales/fr'
import frLocale from '@fullcalendar/common/locales/fr'
import { ListViewWrapper } from '../lib/wrappers/ListViewWrapper'

describe('ListView rendering', function() {
Expand Down
2 changes: 1 addition & 1 deletion packages/__tests__/src/legacy/allDayText.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import ptBrLocale from '@fullcalendar/core/locales/pt-br'
import ptBrLocale from '@fullcalendar/common/locales/pt-br'
import { TimeGridViewWrapper } from '../lib/wrappers/TimeGridViewWrapper'

describe('allDayText', function() {
Expand Down
2 changes: 1 addition & 1 deletion packages/__tests__/src/legacy/buttonText.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import frLocale from '@fullcalendar/core/locales/fr'
import frLocale from '@fullcalendar/common/locales/fr'
import { CalendarWrapper } from '../lib/wrappers/CalendarWrapper'

describe('button text', function() {
Expand Down
6 changes: 3 additions & 3 deletions packages/__tests__/src/legacy/columnHeaderFormat.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import frLocale from '@fullcalendar/core/locales/fr'
import enGbLocale from '@fullcalendar/core/locales/en-gb'
import koLocale from '@fullcalendar/core/locales/ko'
import frLocale from '@fullcalendar/common/locales/fr'
import enGbLocale from '@fullcalendar/common/locales/en-gb'
import koLocale from '@fullcalendar/common/locales/ko'
import { DayGridViewWrapper } from '../lib/wrappers/DayGridViewWrapper'
import { TimeGridViewWrapper } from '../lib/wrappers/TimeGridViewWrapper'

Expand Down
2 changes: 1 addition & 1 deletion packages/__tests__/src/legacy/computeEdges.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { getStockScrollbarWidths } from '../lib/dom-misc'
import { computeEdges } from '@fullcalendar/core'
import { computeEdges } from '@fullcalendar/preact'

describe('computeEdges', function() {

Expand Down
2 changes: 1 addition & 1 deletion packages/__tests__/src/legacy/computerInnerRect.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { getStockScrollbarWidths } from '../lib/dom-misc'
import { computeInnerRect } from '@fullcalendar/core'
import { computeInnerRect } from '@fullcalendar/preact'

describe('computeInnerRect', function() {
var INNER_WIDTH = 150
Expand Down
2 changes: 1 addition & 1 deletion packages/__tests__/src/legacy/current-date.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { addDays } from '@fullcalendar/core'
import { addDays } from '@fullcalendar/preact'
import { parseUtcDate } from '../lib/date-parsing'
import { CalendarWrapper } from '../lib/wrappers/CalendarWrapper'

Expand Down
2 changes: 1 addition & 1 deletion packages/__tests__/src/legacy/custom-view-class.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createPlugin, sliceEvents } from '@fullcalendar/core'
import { createPlugin, sliceEvents } from '@fullcalendar/preact'
import { CalendarWrapper } from '../lib/wrappers/CalendarWrapper'

describe('custom view class', function() { // TODO: rename file
Expand Down
4 changes: 2 additions & 2 deletions packages/__tests__/src/legacy/custom-view-duration.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import frLocale from '@fullcalendar/core/locales/fr'
import { createPlugin } from '@fullcalendar/core' // View
import frLocale from '@fullcalendar/common/locales/fr'
import { createPlugin } from '@fullcalendar/preact' // View
import { DayGridViewWrapper } from '../lib/wrappers/DayGridViewWrapper'
import { CalendarWrapper } from '../lib/wrappers/CalendarWrapper'
import { TimeGridViewWrapper } from '../lib/wrappers/TimeGridViewWrapper'
Expand Down
2 changes: 1 addition & 1 deletion packages/__tests__/src/legacy/dayNames.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { removeLtrCharCodes } from '../lib/string'
import { addDays } from '@fullcalendar/core'
import { addDays } from '@fullcalendar/preact'
import { parseUtcDate } from '../lib/date-parsing'
import { DayGridViewWrapper } from '../lib/wrappers/DayGridViewWrapper'
import { CalendarWrapper } from '../lib/wrappers/CalendarWrapper'
Expand Down
2 changes: 1 addition & 1 deletion packages/__tests__/src/legacy/dayPopoverFormat.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import frLocale from '@fullcalendar/core/locales/fr'
import frLocale from '@fullcalendar/common/locales/fr'
import { DayGridViewWrapper } from '../lib/wrappers/DayGridViewWrapper'
import { flushToDom } from '@fullcalendar/preact'

Expand Down
2 changes: 1 addition & 1 deletion packages/__tests__/src/legacy/dir.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import arLocale from '@fullcalendar/core/locales/ar'
import arLocale from '@fullcalendar/common/locales/ar'
import { CalendarWrapper } from '../lib/wrappers/CalendarWrapper'

describe('direction', function() {
Expand Down
2 changes: 1 addition & 1 deletion packages/__tests__/src/legacy/emitter.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Emitter } from '@fullcalendar/core'
import { Emitter } from '@fullcalendar/preact'

describe('emitter', function() {

Expand Down
2 changes: 1 addition & 1 deletion packages/__tests__/src/legacy/event-dnd.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createDuration } from '@fullcalendar/core'
import { createDuration } from '@fullcalendar/preact'
import { DayGridViewWrapper } from '../lib/wrappers/DayGridViewWrapper'
import { waitEventDrag2 } from '../lib/wrappers/interaction-util'
import { TimeGridViewWrapper } from '../lib/wrappers/TimeGridViewWrapper'
Expand Down
2 changes: 1 addition & 1 deletion packages/__tests__/src/legacy/event-resize.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createDuration } from '@fullcalendar/core'
import { createDuration } from '@fullcalendar/preact'
import { DayGridViewWrapper } from '../lib/wrappers/DayGridViewWrapper'
import { waitEventResize2 } from '../lib/wrappers/interaction-util'
import { TimeGridViewWrapper } from '../lib/wrappers/TimeGridViewWrapper'
Expand Down
2 changes: 1 addition & 1 deletion packages/__tests__/src/legacy/eventLimitText.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import frLocale from '@fullcalendar/core/locales/fr'
import frLocale from '@fullcalendar/common/locales/fr'
import { DayGridViewWrapper } from '../lib/wrappers/DayGridViewWrapper'

describe('moreLinkText', function() { // TODO: rename file
Expand Down
2 changes: 1 addition & 1 deletion packages/__tests__/src/legacy/eventTimeFormat.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import enGbLocale from '@fullcalendar/core/locales/en-gb'
import enGbLocale from '@fullcalendar/common/locales/en-gb'
import { CalendarWrapper } from '../lib/wrappers/CalendarWrapper'

describe('eventTimeFormat', function() {
Expand Down
2 changes: 1 addition & 1 deletion packages/__tests__/src/legacy/firstDay.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import enGbLocale from '@fullcalendar/core/locales/en-gb'
import enGbLocale from '@fullcalendar/common/locales/en-gb'
import { DayGridViewWrapper } from '../lib/wrappers/DayGridViewWrapper'
import { CalendarWrapper } from '../lib/wrappers/CalendarWrapper'

Expand Down
6 changes: 3 additions & 3 deletions packages/__tests__/src/legacy/locale.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import esLocale from '@fullcalendar/core/locales/es'
import frLocale from '@fullcalendar/core/locales/fr'
import arLocale from '@fullcalendar/core/locales/ar'
import esLocale from '@fullcalendar/common/locales/es'
import frLocale from '@fullcalendar/common/locales/fr'
import arLocale from '@fullcalendar/common/locales/ar'
import { CalendarWrapper } from '../lib/wrappers/CalendarWrapper'
import { TimeGridViewWrapper } from '../lib/wrappers/TimeGridViewWrapper'

Expand Down
2 changes: 1 addition & 1 deletion packages/__tests__/src/legacy/navLinks.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { DayGridViewWrapper } from '../lib/wrappers/DayGridViewWrapper'
import { TimeGridViewWrapper } from '../lib/wrappers/TimeGridViewWrapper'
import { CalendarWrapper } from '../lib/wrappers/CalendarWrapper'
import { ListViewWrapper } from '../lib/wrappers/ListViewWrapper'
import { addDays } from '@fullcalendar/core'
import { addDays } from '@fullcalendar/preact'

describe('navLinks', function() {
pushOptions({
Expand Down
2 changes: 1 addition & 1 deletion packages/__tests__/src/legacy/slotLabelFormat.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import enGbLocale from '@fullcalendar/core/locales/en-gb'
import enGbLocale from '@fullcalendar/common/locales/en-gb'
import { TimeGridViewWrapper } from '../lib/wrappers/TimeGridViewWrapper'

describe('slotLabelFormat', function() {
Expand Down
2 changes: 1 addition & 1 deletion packages/__tests__/src/legacy/titleFormat.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import frLocale from '@fullcalendar/core/locales/fr'
import frLocale from '@fullcalendar/common/locales/fr'
import { CalendarWrapper } from '../lib/wrappers/CalendarWrapper'

describe('titleFormat', function() {
Expand Down
2 changes: 1 addition & 1 deletion packages/__tests__/src/legacy/views-specific-options.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createPlugin } from '@fullcalendar/core'
import { createPlugin } from '@fullcalendar/preact'
import dayGridPlugin from '@fullcalendar/daygrid'

describe('view-specific options', function() {
Expand Down
2 changes: 1 addition & 1 deletion packages/__tests__/src/legacy/weekLabel.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import esLocale from '@fullcalendar/core/locales/es'
import esLocale from '@fullcalendar/common/locales/es'
import { TimeGridViewWrapper } from '../lib/wrappers/TimeGridViewWrapper'

describe('weekText', function() { // TODO: rename file
Expand Down
2 changes: 1 addition & 1 deletion packages/__tests__/src/legacy/weekNumberCalculation.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { DayGridViewWrapper } from '../lib/wrappers/DayGridViewWrapper'
import { TimeGridViewWrapper } from '../lib/wrappers/TimeGridViewWrapper'
import arLocale from '@fullcalendar/core/locales/ar'
import arLocale from '@fullcalendar/common/locales/ar'

describe('weekNumberCalculation', function() {
pushOptions({
Expand Down
2 changes: 1 addition & 1 deletion packages/__tests__/src/lib/ViewRenderUtils.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { formatIsoDay } from './datelib-utils'
import { addDays } from '@fullcalendar/core'
import { addDays } from '@fullcalendar/preact'
import { CalendarWrapper } from './wrappers/CalendarWrapper'


Expand Down
2 changes: 1 addition & 1 deletion packages/__tests__/src/lib/dnd-resize-utils.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { formatIsoDay } from './datelib-utils'
import { parseMarker, addDays } from '@fullcalendar/core'
import { parseMarker, addDays } from '@fullcalendar/preact'
import { TimeGridViewWrapper } from './wrappers/TimeGridViewWrapper'
import { DayGridViewWrapper } from './wrappers/DayGridViewWrapper'
import { CalendarWrapper } from './wrappers/CalendarWrapper'
Expand Down
2 changes: 1 addition & 1 deletion packages/__tests__/src/lib/hacks.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { config } from '@fullcalendar/core'
import { config } from '@fullcalendar/preact'

beforeEach(function() {

Expand Down
2 changes: 1 addition & 1 deletion packages/__tests__/src/lib/wrappers/CalendarWrapper.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { findElements } from '@fullcalendar/core'
import { findElements } from '@fullcalendar/preact'
import { Calendar } from '@fullcalendar/preact'
import { ToolbarWrapper } from './ToolbarWrapper'

Expand Down
2 changes: 1 addition & 1 deletion packages/__tests__/src/lib/wrappers/DayGridWrapper.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { findElements } from '@fullcalendar/core'
import { findElements } from '@fullcalendar/preact'
import { formatIsoDay } from '../datelib-utils'
import { getRectCenter, intersectRects, addPoints, subtractPoints } from '../geom'
import { CalendarWrapper } from './CalendarWrapper'
Expand Down
2 changes: 1 addition & 1 deletion packages/__tests__/src/lib/wrappers/DayHeaderWrapper.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { findElements } from '@fullcalendar/core'
import { findElements } from '@fullcalendar/preact'
import { parseIsoAsUtc, formatIsoDay } from '../datelib-utils'
import { parseUtcDate } from '../date-parsing'
import { CalendarWrapper } from './CalendarWrapper'
Expand Down
2 changes: 1 addition & 1 deletion packages/__tests__/src/lib/wrappers/ListViewWrapper.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ViewWrapper } from './ViewWrapper'
import { findElements } from '@fullcalendar/core'
import { findElements } from '@fullcalendar/preact'
import { Calendar } from '@fullcalendar/preact'
import { formatIsoDay } from '../datelib-utils'

Expand Down
2 changes: 1 addition & 1 deletion packages/__tests__/src/lib/wrappers/TimeGridWrapper.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { findElements, startOfDay, createDuration, parseMarker, addDays, addMs, getRectCenter, asRoughMs } from '@fullcalendar/core'
import { findElements, startOfDay, createDuration, parseMarker, addDays, addMs, getRectCenter, asRoughMs } from '@fullcalendar/preact'
import { formatIsoDay, formatIsoTime, ensureDate } from '../datelib-utils'
import { parseUtcDate } from '../date-parsing'
import { getBoundingRect } from '../dom-geom'
Expand Down
4 changes: 2 additions & 2 deletions packages/bootstrap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
"tslib": "^1.9.3"
},
"peerDependencies": {
"@fullcalendar/core": "5.0.0-beta.2"
"@fullcalendar/common": "5.0.0-beta.2"
},
"devDependencies": {
"@fullcalendar/core": "5.0.0-beta.2"
"@fullcalendar/common": "5.0.0-beta.2"
}
}
2 changes: 1 addition & 1 deletion packages/bootstrap/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Theme, createPlugin } from '@fullcalendar/core'
import { Theme, createPlugin } from '@fullcalendar/common'
import './main.scss'

export class BootstrapTheme extends Theme {
Expand Down
2 changes: 1 addition & 1 deletion packages/bundle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "fullcalendar",
"version": "5.0.0-beta.2",
"devDependencies": {
"@fullcalendar/core": "5.0.0-beta.2",
"@fullcalendar/preact": "5.0.0-beta.2",
"@fullcalendar/interaction": "5.0.0-beta.2",
"@fullcalendar/daygrid": "5.0.0-beta.2",
"@fullcalendar/timegrid": "5.0.0-beta.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/bundle/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export * from '@fullcalendar/timegrid'
export * from '@fullcalendar/list'
export * from '@fullcalendar/bootstrap'

import { globalPlugins } from '@fullcalendar/core'
import { globalPlugins } from '@fullcalendar/preact'
import interactionPlugin from '@fullcalendar/interaction'
import dayGridPlugin from '@fullcalendar/daygrid'
import timeGridPlugin from '@fullcalendar/timegrid'
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"private": true,
"name": "@fullcalendar/core",
"name": "@fullcalendar/common",
"version": "5.0.0-beta.2",
"title": "FullCalendar Core Package",
"description": "Provides core functionality, including the Calendar class",
Expand Down
4 changes: 2 additions & 2 deletions packages/daygrid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
"tslib": "^1.9.3"
},
"peerDependencies": {
"@fullcalendar/core": "5.0.0-beta.2"
"@fullcalendar/common": "5.0.0-beta.2"
},
"devDependencies": {
"@fullcalendar/core": "5.0.0-beta.2"
"@fullcalendar/common": "5.0.0-beta.2"
}
}
2 changes: 1 addition & 1 deletion packages/daygrid/src/DayTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
CssDimValue,
Hit,
DateProfile
} from '@fullcalendar/core'
} from '@fullcalendar/common'
import { Table } from './Table'
import { TableSeg } from './TableSeg'

Expand Down
2 changes: 1 addition & 1 deletion packages/daygrid/src/DayTableView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
DaySeriesModel,
DayTableModel,
ChunkContentCallbackArgs
} from '@fullcalendar/core'
} from '@fullcalendar/common'
import { TableView } from './TableView'
import { DayTable } from './DayTable'

Expand Down
2 changes: 1 addition & 1 deletion packages/daygrid/src/MorePopover.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { DateComponent, DateMarker, h, EventInstanceHash, createFormatter, Hit, addDays, DateRange, getSegMeta, DayCellRoot, DayCellContent, DateProfile } from '@fullcalendar/core'
import { DateComponent, DateMarker, h, EventInstanceHash, createFormatter, Hit, addDays, DateRange, getSegMeta, DayCellRoot, DayCellContent, DateProfile } from '@fullcalendar/common'
import { TableSeg } from './TableSeg'
import { TableBlockEvent } from './TableBlockEvent'
import { TableListItemEvent } from './TableListItemEvent'
Expand Down
2 changes: 1 addition & 1 deletion packages/daygrid/src/Popover.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {
h, ComponentChildren, applyStyle, BaseComponent, DelayedRunner, Ref, setRef
} from '@fullcalendar/core'
} from '@fullcalendar/common'


export interface PopoverProps {
Expand Down
2 changes: 1 addition & 1 deletion packages/daygrid/src/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
DateMarker,
EventApi,
DateProfile
} from '@fullcalendar/core'
} from '@fullcalendar/common'
import { TableSeg, splitSegsByRow, splitInteractionByRow } from './TableSeg'
import { TableRow } from './TableRow'
import { TableCellModel, MoreLinkArg } from './TableCell'
Expand Down
2 changes: 1 addition & 1 deletion packages/daygrid/src/TableBlockEvent.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { h, StandardEvent, BaseComponent, MinimalEventProps } from '@fullcalendar/core'
import { h, StandardEvent, BaseComponent, MinimalEventProps } from '@fullcalendar/common'
import { DEFAULT_TABLE_EVENT_TIME_FORMAT } from './event-rendering'


Expand Down
2 changes: 1 addition & 1 deletion packages/daygrid/src/TableCell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import {
DateProfile,
VUIEvent,
setRef,
} from '@fullcalendar/core'
} from '@fullcalendar/common'
import { TableSeg } from './TableSeg'


Expand Down
2 changes: 1 addition & 1 deletion packages/daygrid/src/TableDateProfileGenerator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {
DateProfileGenerator,
addWeeks, diffWeeks,
DateRange
} from '@fullcalendar/core'
} from '@fullcalendar/common'

export class TableDateProfileGenerator extends DateProfileGenerator {

Expand Down

0 comments on commit 087b0f9

Please sign in to comment.