@event-calendar/list
Advanced tools
Comparing version 0.10.2 to 0.11.0
{ | ||
"name": "@event-calendar/list", | ||
"version": "0.10.2", | ||
"version": "0.11.0", | ||
"title": "Event Calendar List plugin", | ||
@@ -36,5 +36,5 @@ "description": "Full-sized drag & drop event calendar with resource view", | ||
"dependencies": { | ||
"@event-calendar/common": "~0.10.2", | ||
"@event-calendar/common": "~0.11.0", | ||
"svelte": "^3.47.0" | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
# Event Calendar [![](https://data.jsdelivr.com/v1/package/npm/@event-calendar/build/badge)](https://www.jsdelivr.com/package/npm/@event-calendar/build) [![Donate](https://img.shields.io/badge/Donate_$10-PayPal-green.svg)](https://www.paypal.me/vkurko/10usd) [![Donate](https://img.shields.io/badge/Donate_$1-PayPal-green.svg)](https://www.paypal.me/vkurko/1usd) | ||
# Event Calendar [![](https://data.jsdelivr.com/v1/package/npm/@event-calendar/build/badge)](https://www.jsdelivr.com/package/npm/@event-calendar/build) [![Sponsor](https://img.shields.io/badge/Sponsor-$10-green.svg)](https://www.paypal.me/vkurko/10usd) [![Sponsor](https://img.shields.io/badge/Sponsor-$1-green.svg)](https://www.paypal.me/vkurko/1usd) | ||
@@ -7,3 +7,3 @@ See [demo](https://vkurko.github.io/calendar/). | ||
* Lightweight (49kb [br](https://en.wikipedia.org/wiki/Brotli) compressed `modern` version) | ||
* Lightweight (55kb [br](https://en.wikipedia.org/wiki/Brotli) compressed `modern` version) | ||
* Zero-dependency (pre-built bundle) | ||
@@ -23,2 +23,4 @@ * Used by [Bookly](https://wordpress.org/plugins/bookly-responsive-appointment-booking-tool/) | ||
- [allDayContent](#alldaycontent) | ||
- [allDaySlot](#alldayslot) | ||
- [buttonText](#buttontext) | ||
@@ -43,5 +45,5 @@ - [date](#date) | ||
- [eventDragMinDistance](#eventdragmindistance) | ||
- [eventDragStart](#eventdragstart) | ||
</td><td> | ||
- [eventDragStart](#eventdragstart) | ||
- [eventDragStop](#eventdragstop) | ||
@@ -218,2 +220,37 @@ - [eventDrop](#eventdrop) | ||
### allDayContent | ||
- Type `string`, `object`or `function` | ||
- Default `'all-day'` | ||
Defines the content that is displayed as a title of the `all-day` slot. | ||
This value can be either a string containing HTML `'<p>...</p>'`, an object containing the HTML string `{html: '<p>...</p>'}`, an object containing an array of DOM nodes `{domNodes: [node1, node2, ...]}` or a function that returns any of the above formats: | ||
```js | ||
function (arg) { | ||
// return string or object | ||
} | ||
``` | ||
`arg` is an object with the following properties: | ||
<table> | ||
<tr> | ||
<td> | ||
`text` | ||
</td> | ||
<td> | ||
The default text | ||
</td> | ||
</tr> | ||
</table> | ||
### allDaySlot | ||
- Type `boolean` | ||
- Default `false` | ||
Determines whether the `all-day` slot is displayed at the top of the calendar. | ||
When hidden with false, all-day events will not be displayed in `timeGrid`/`resourceTimeGrid` views. | ||
### buttonText | ||
@@ -1698,2 +1735,11 @@ - Type `object` | ||
`allDay` | ||
</td> | ||
<td> | ||
Boolean (`true` or `false`). Determines if the event is shown in the `all-day` slot</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
`start` | ||
@@ -1819,2 +1865,12 @@ </td> | ||
`allDay` | ||
</td> | ||
<td> | ||
`boolean` Determines if the event is shown in the all-day slot. Default `false` | ||
</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
`start` | ||
@@ -1821,0 +1877,0 @@ </td> |
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
82027
2113
+ Added@event-calendar/common@0.11.2(transitive)
- Removed@event-calendar/common@0.10.2(transitive)