Skip to content

Commit bb60983

Browse files
francis-jvkurko
authored andcommitted
v4.5.0
viewDidMount input parameter has been adjusted to match documentation Fixed event styles not being applied
1 parent 105a8f3 commit bb60983

File tree

11 files changed

+38
-16
lines changed

11 files changed

+38
-16
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# EventCalendar changelog
22

3+
## 4.5.0
4+
June 27, 2025
5+
* `viewDidMount` input parameter has been adjusted to match documentation ([522](https://github.com/vkurko/calendar/issues/522))
6+
* Fixed event styles not being applied ([520](https://github.com/vkurko/calendar/issues/520), [521](https://github.com/vkurko/calendar/pull/521))
7+
38
## 4.4.2
49
June 26, 2025
510
* Fixed an issue with `updateEvent()` producing an error ([516](https://github.com/vkurko/calendar/issues/516))

README.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,21 @@ Full-sized drag & drop JavaScript event calendar with resource & timeline views:
1111

1212
Inspired by [FullCalendar](https://fullcalendar.io/), it implements similar options.
1313

14+
### Featured sponsors
15+
16+
<table>
17+
<tr>
18+
<td>
19+
20+
[![@steveb85](https://avatars.githubusercontent.com/u/50031994?s=52&v=4)](https://github.com/steveb85)
21+
</td>
22+
<td>
23+
24+
:heavy_plus_sign: [Get on the list](https://github.com/sponsors/vkurko)
25+
</td>
26+
</tr>
27+
</table>
28+
1429
## Table of contents
1530
- [Usage](#usage)
1631
- [JavaScript module](#javascript-module)
@@ -228,8 +243,8 @@ This bundle contains a version of the calendar that includes all plugins and is
228243

229244
The first step is to include the following lines of code in the `<head>` section of your page:
230245
```html
231-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@event-calendar/build@4.4.2/dist/event-calendar.min.css">
232-
<script src="https://cdn.jsdelivr.net/npm/@event-calendar/build@4.4.2/dist/event-calendar.min.js"></script>
246+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@event-calendar/build@4.5.0/dist/event-calendar.min.css">
247+
<script src="https://cdn.jsdelivr.net/npm/@event-calendar/build@4.5.0/dist/event-calendar.min.js"></script>
233248
```
234249

235250
<details>

docs/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
<link rel="manifest" href="site.webmanifest">
1313
<link rel="stylesheet" href="global.css?20231021">
1414

15-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@event-calendar/build@4.4.2/dist/event-calendar.min.css">
16-
<script src="https://cdn.jsdelivr.net/npm/@event-calendar/build@4.4.2/dist/event-calendar.min.js"></script>
15+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@event-calendar/build@4.5.0/dist/event-calendar.min.css">
16+
<script src="https://cdn.jsdelivr.net/npm/@event-calendar/build@4.5.0/dist/event-calendar.min.js"></script>
1717

1818
<style>
1919
.ec-timeline .ec-time, .ec-timeline .ec-line {

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "event-calendar",
33
"private": true,
4-
"version": "4.4.2",
4+
"version": "4.5.0",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",

packages/build/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,8 @@ This bundle contains a version of the calendar that includes all plugins and is
228228

229229
The first step is to include the following lines of code in the `<head>` section of your page:
230230
```html
231-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@event-calendar/build@4.4.2/dist/event-calendar.min.css">
232-
<script src="https://cdn.jsdelivr.net/npm/@event-calendar/build@4.4.2/dist/event-calendar.min.js"></script>
231+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@event-calendar/build@4.5.0/dist/event-calendar.min.css">
232+
<script src="https://cdn.jsdelivr.net/npm/@event-calendar/build@4.5.0/dist/event-calendar.min.js"></script>
233233
```
234234

235235
<details>

packages/build/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@event-calendar/build",
3-
"version": "4.4.2",
3+
"version": "4.5.0",
44
"title": "Event Calendar",
55
"description": "Full-sized drag & drop event calendar with resource & timeline views",
66
"keywords": [

packages/core/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,8 @@ This bundle contains a version of the calendar that includes all plugins and is
228228

229229
The first step is to include the following lines of code in the `<head>` section of your page:
230230
```html
231-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@event-calendar/build@4.4.2/dist/event-calendar.min.css">
232-
<script src="https://cdn.jsdelivr.net/npm/@event-calendar/build@4.4.2/dist/event-calendar.min.js"></script>
231+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@event-calendar/build@4.5.0/dist/event-calendar.min.css">
232+
<script src="https://cdn.jsdelivr.net/npm/@event-calendar/build@4.5.0/dist/event-calendar.min.js"></script>
233233
```
234234

235235
<details>

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@event-calendar/core",
3-
"version": "4.4.2",
3+
"version": "4.5.0",
44
"title": "Event Calendar Core package",
55
"description": "Full-sized drag & drop event calendar with resource & timeline views",
66
"keywords": [

packages/core/src/lib/components/BaseEvent.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
let txtColor = $derived(event.textColor ?? resourceTextColor(event, $resources) ?? $eventTextColor);
2828
let style = $derived(entries(styles(
2929
{'background-color': bgColor, 'color': txtColor}
30-
)).map(entry => `${entry[0]}:${entry[1]}`).join(';'));
30+
)).map(entry => `${entry[0]}:${entry[1]}`).concat(event.styles).join(';'));
3131
3232
// Class
3333
let classNames = $derived(classes([

0 commit comments

Comments
 (0)