@event-calendar/resource-time-grid
Advanced tools
Comparing version 2.1.0 to 2.2.0
{ | ||
"name": "@event-calendar/resource-time-grid", | ||
"version": "2.1.0", | ||
"version": "2.2.0", | ||
"title": "Event Calendar ResourceTimeGrid plugin", | ||
@@ -29,6 +29,6 @@ "description": "Full-sized drag & drop event calendar with resource view", | ||
"dependencies": { | ||
"@event-calendar/core": "~2.1.0", | ||
"@event-calendar/time-grid": "~2.1.0", | ||
"@event-calendar/core": "~2.2.0", | ||
"@event-calendar/time-grid": "~2.2.0", | ||
"svelte": "^4.1.1" | ||
} | ||
} |
@@ -29,2 +29,3 @@ # Event Calendar [![](https://data.jsdelivr.com/v1/package/npm/@event-calendar/build/badge)](https://www.jsdelivr.com/package/npm/@event-calendar/build) [![npm](https://img.shields.io/npm/dm/@event-calendar/core?color=red&label=npm&style=flat-square)](https://www.npmjs.com/package/@event-calendar/core) | ||
- [datesSet](#datesset) | ||
- [dayCellFormat](#daycellformat) | ||
- [dayHeaderFormat](#dayheaderformat) | ||
@@ -48,5 +49,5 @@ - [dayMaxEvents](#daymaxevents) | ||
- [eventDrop](#eventdrop) | ||
- [eventDurationEditable](#eventdurationeditable) | ||
</td><td> | ||
- [eventDurationEditable](#eventdurationeditable) | ||
- [eventLongPressDelay](#eventlongpressdelay) | ||
@@ -77,5 +78,5 @@ - [eventMouseEnter](#eventmouseenter) | ||
- [noEventsClick](#noeventsclick) | ||
- [noEventsContent](#noeventscontent) | ||
</td><td> | ||
- [noEventsContent](#noeventscontent) | ||
- [nowIndicator](#nowindicator) | ||
@@ -201,4 +202,4 @@ - [pointer](#pointer) | ||
```html | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@event-calendar/build@2.1.0/event-calendar.min.css"> | ||
<script src="https://cdn.jsdelivr.net/npm/@event-calendar/build@2.1.0/event-calendar.min.js"></script> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@event-calendar/build@2.2.0/event-calendar.min.css"> | ||
<script src="https://cdn.jsdelivr.net/npm/@event-calendar/build@2.2.0/event-calendar.min.js"></script> | ||
``` | ||
@@ -460,2 +461,25 @@ | ||
### dayCellFormat | ||
- Type `object` or `function` | ||
- Default `{day: 'numeric'}` | ||
Defines the text that is displayed inside the day cell in the `dayGrid` view. | ||
This value can be either an object with options for the native JavaScript [Intl.DateTimeFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat) object, or a callback function that returns a [Content](#content) with the formatted string: | ||
```js | ||
function (date) { | ||
// return Content with the formatted date string | ||
} | ||
``` | ||
<table> | ||
<tr> | ||
<td> | ||
`date` | ||
</td> | ||
<td>JavaScript Date object that needs to be formatted</td> | ||
</tr> | ||
</table> | ||
### dayHeaderFormat | ||
@@ -462,0 +486,0 @@ - Type `object` or `function` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
111814
2727
+ Added@event-calendar/core@2.2.0(transitive)
+ Added@event-calendar/time-grid@2.2.0(transitive)
- Removed@event-calendar/core@2.1.0(transitive)
- Removed@event-calendar/time-grid@2.1.0(transitive)
Updated@event-calendar/core@~2.2.0