Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@event-calendar/core

Package Overview
Dependencies
Maintainers
1
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@event-calendar/core - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

5

index.js

@@ -14,3 +14,2 @@ import { is_function, noop, identity, tick, 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, get_current_component } from 'svelte/internal';

date: new Date(),
dateClick: undefined,
datesSet: undefined,

@@ -26,2 +25,3 @@ dayHeaderFormat: {

eventBackgroundColor: undefined,
eventTextColor: undefined,
eventClick: undefined,

@@ -385,7 +385,6 @@ eventColor: undefined,

this._resBgColor = writable(noop);
this._resTxtColor = writable(noop);
// Interaction
this._interaction = writable({});
this._iEvents = writable([null, null]); // interaction events: [drag/resize, pointer]
this._draggable = writable(noop);
this._resizable = writable(noop);
this._classes = writable(identity);

@@ -392,0 +391,0 @@ this._iClass = writable(undefined);

4

package.json
{
"name": "@event-calendar/core",
"version": "1.0.0",
"version": "1.1.0",
"title": "Event Calendar Core package",

@@ -40,5 +40,5 @@ "description": "Full-sized drag & drop event calendar with resource view",

"dependencies": {
"@event-calendar/common": "~1.0.0",
"@event-calendar/common": "~1.1.0",
"svelte": "^3.55.1"
}
}

@@ -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)

* Lightweight (34kb [br](https://en.wikipedia.org/wiki/Brotli) compressed)
* Lightweight (29kb [br](https://en.wikipedia.org/wiki/Brotli) compressed)
* Zero-dependency (pre-built bundle)

@@ -58,2 +58,3 @@ * Used on over 60,000 websites with [Bookly](https://wordpress.org/plugins/bookly-responsive-appointment-booking-tool/)

- [eventStartEditable](#eventstarteditable)
- [eventTextColor](#eventtextcolor)
- [eventTimeFormat](#eventtimeformat)

@@ -197,4 +198,4 @@ - [filterResourcesWithEvents](#filterresourceswithevents)

```html
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@event-calendar/build@1.0.0/event-calendar.min.css">
<script src="https://cdn.jsdelivr.net/npm/@event-calendar/build@1.0.0/event-calendar.min.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@event-calendar/build@1.1.0/event-calendar.min.css">
<script src="https://cdn.jsdelivr.net/npm/@event-calendar/build@1.1.0/event-calendar.min.js"></script>
```

@@ -1254,2 +1255,10 @@

### eventTextColor
- Type `string`
- Default `undefined`
Sets the default text color for events on the calendar.
You can use any of the CSS color formats such `'#f00'`, `'#ff0000'`, `'rgb(255,0,0)'`, or `'red'`.
### filterResourcesWithEvents

@@ -2194,2 +2203,12 @@ - Type `boolean`

`textColor`
</td>
<td>
The [eventTextColor](#eventtextcolor) override for this specific event
</td>
</tr>
<tr>
<td>
`extendedProps`

@@ -2332,2 +2351,12 @@ </td>

`textColor`
</td>
<td>
`string` Sets the event’s text color just like the calendar-wide [eventTextColor](#eventtextcolor) option. Default `undefined`
</td>
</tr>
<tr>
<td>
`color`

@@ -2435,2 +2464,9 @@ </td>

</tr>
<tr>
<td>
`eventTextColor`
</td>
<td>Default text color for this resource's events</td>
</tr>
</table>

@@ -2483,2 +2519,12 @@

</tr>
<tr>
<td>
`eventTextColor`
</td>
<td>
`string` Sets the default text color for this resource's events just like the calendar-wide [eventTextColor](#eventtextcolor) option. Default `undefined`
</td>
</tr>
</table>

@@ -2485,0 +2531,0 @@

@@ -13,3 +13,2 @@ import {assign, createDate, createDuration, setMidnight} from '@event-calendar/common';

date: new Date(),
dateClick: undefined,
datesSet: undefined,

@@ -25,2 +24,3 @@ dayHeaderFormat: {

eventBackgroundColor: undefined,
eventTextColor: undefined,
eventClick: undefined,

@@ -27,0 +27,0 @@ eventColor: undefined,

@@ -54,7 +54,6 @@ import {writable} from 'svelte/store';

this._resBgColor = writable(noop);
this._resTxtColor = writable(noop);
// Interaction
this._interaction = writable({});
this._iEvents = writable([null, null]); // interaction events: [drag/resize, pointer]
this._draggable = writable(noop);
this._resizable = writable(noop);
this._classes = writable(identity);

@@ -61,0 +60,0 @@ this._iClass = writable(undefined);

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc