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

@event-calendar/common

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@event-calendar/common - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

3

index.js

@@ -390,3 +390,4 @@ import { run_all, is_function } from 'svelte/internal';

extendedProps: event.extendedProps || {},
backgroundColor: event.backgroundColor || event.color
backgroundColor: event.backgroundColor || event.color,
textColor: event.textColor
}));

@@ -393,0 +394,0 @@ }

{
"name": "@event-calendar/common",
"version": "1.0.0",
"version": "1.1.0",
"title": "Event Calendar Common package",

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

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

@@ -24,3 +24,4 @@ import {addDay, datesEqual, createDate, cloneDate, setMidnight, toLocalDate, noTimePart} from './date';

extendedProps: event.extendedProps || {},
backgroundColor: event.backgroundColor || event.color
backgroundColor: event.backgroundColor || event.color,
textColor: event.textColor
}));

@@ -27,0 +28,0 @@ }

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