@event-calendar/core
Advanced tools
Comparing version 0.12.0 to 0.13.0
22
index.js
@@ -459,3 +459,3 @@ import { is_function, tick, noop, identity, SvelteComponent, init, safe_not_equal, empty, insert, destroy_each, detach, component_subscribe, set_store_value, element, text, attr, append, listen, set_data, transition_in, group_outros, check_outros, transition_out, space, create_component, mount_component, destroy_component, construct_svelte_component, set_style } from 'svelte/internal'; | ||
// (38:1) {:else} | ||
// (38:4) {:else} | ||
function create_else_block$1(ctx) { | ||
@@ -509,3 +509,3 @@ let button; | ||
// (36:30) | ||
// (36:33) | ||
function create_if_block_4(ctx) { | ||
@@ -554,3 +554,3 @@ let button; | ||
// (34:29) | ||
// (34:32) | ||
function create_if_block_3(ctx) { | ||
@@ -597,3 +597,3 @@ let button; | ||
// (32:28) | ||
// (32:31) | ||
function create_if_block_2(ctx) { | ||
@@ -640,3 +640,3 @@ let button; | ||
// (30:29) | ||
// (30:32) | ||
function create_if_block_1(ctx) { | ||
@@ -670,3 +670,3 @@ let h2; | ||
// (29:1) {#if button == ''} | ||
// (29:4) {#if button == ''} | ||
function create_if_block$1(ctx) { | ||
@@ -874,3 +874,3 @@ return { c: noop, m: noop, p: noop, d: noop }; | ||
// (28:4) {:else} | ||
// (28:16) {:else} | ||
function create_else_block(ctx) { | ||
@@ -909,3 +909,3 @@ let buttons; | ||
// (24:4) {#if buttons.length > 1} | ||
// (24:16) {#if buttons.length > 1} | ||
function create_if_block(ctx) { | ||
@@ -954,3 +954,3 @@ let div; | ||
// (23:3) {#each sections[key] as buttons} | ||
// (23:12) {#each sections[key] as buttons} | ||
function create_each_block_1(ctx) { | ||
@@ -1025,3 +1025,3 @@ let current_block_type_index; | ||
// (21:1) {#each Object.keys(sections) as key} | ||
// (21:4) {#each Object.keys(sections) as key} | ||
function create_each_block(ctx) { | ||
@@ -1464,3 +1464,3 @@ let div; | ||
if ($_interaction.action) { | ||
$_interaction.action.clearSelection(); | ||
$_interaction.action.unselect(); | ||
} | ||
@@ -1467,0 +1467,0 @@ |
{ | ||
"name": "@event-calendar/core", | ||
"version": "0.12.0", | ||
"version": "0.13.0", | ||
"title": "Event Calendar Core package", | ||
@@ -37,5 +37,5 @@ "description": "Full-sized drag & drop event calendar with resource view", | ||
"dependencies": { | ||
"@event-calendar/common": "~0.12.0", | ||
"@event-calendar/common": "~0.13.0", | ||
"svelte": "^3.51.0" | ||
} | ||
} |
@@ -7,3 +7,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) [![Sponsor](https://img.shields.io/badge/Sponsor-$10-blue.svg?style=flat-square&logo=paypal)](https://www.paypal.me/vkurko/10usd) | ||
* Lightweight (52kb [br](https://en.wikipedia.org/wiki/Brotli) compressed `modern` version) | ||
* Lightweight (54kb [br](https://en.wikipedia.org/wiki/Brotli) compressed `modern` version) | ||
* Zero-dependency (pre-built bundle) | ||
@@ -46,6 +46,7 @@ * Used by [Bookly](https://wordpress.org/plugins/bookly-responsive-appointment-booking-tool/) | ||
- [eventDragStop](#eventdragstop) | ||
- [eventDrop](#eventdrop) | ||
</td><td> | ||
- [eventDrop](#eventdrop) | ||
- [eventDurationEditable](#eventdurationeditable) | ||
- [eventLongPressDelay](#eventlongpressdelay) | ||
- [eventMouseEnter](#eventmouseenter) | ||
@@ -71,2 +72,3 @@ - [eventMouseLeave](#eventmouseleave) | ||
- [locale](#locale) | ||
- [longPressDelay](#longpressdelay) | ||
- [monthMode](#monthmode) | ||
@@ -84,2 +86,3 @@ </td><td> | ||
- [selectBackgroundColor](#selectbackgroundcolor) | ||
- [selectLongPressDelay](#selectlongpressdelay) | ||
- [selectMinDistance](#selectmindistance) | ||
@@ -829,2 +832,10 @@ - [scrollTime](#scrolltime) | ||
### eventLongPressDelay | ||
- Type `integer` | ||
- Default `undefined` | ||
For touch devices, the amount of time (in milliseconds) the user must hold down a tap before the event becomes draggable/resizable. | ||
If not specified, it falls back to [longPressDelay](#longpressdelay). | ||
### eventMouseEnter | ||
@@ -1375,2 +1386,10 @@ - Type `function` | ||
### longPressDelay | ||
- Type `integer` | ||
- Default `1000` | ||
For touch devices, the amount of time (in milliseconds) the user must hold down a tap before the event becomes draggable/resizable or the date becomes selectable. | ||
For a more granular configuration, see [eventLongPressDelay](#eventlongpressdelay) and [selectLongPressDelay](#selectlongpressdelay). | ||
### monthMode | ||
@@ -1571,2 +1590,10 @@ - Type `boolean` | ||
### selectLongPressDelay | ||
- Type `integer` | ||
- Default `undefined` | ||
For touch devices, the amount of time (in milliseconds) the user must hold down a tap before the date becomes selectable. | ||
If not specified, it falls back to [longPressDelay](#longpressdelay). | ||
### selectMinDistance | ||
@@ -1573,0 +1600,0 @@ - Type `integer` |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
135493
2308
+ Added@event-calendar/common@0.13.4(transitive)
- Removed@event-calendar/common@0.12.0(transitive)