@event-calendar/core 2.2.0 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -196,8 +196,8 @@ import '@event-calendar/core/index.css';
196
196
  ### Pre-built browser ready bundle
197
197
  Include the following lines of code in the `<head>` section of your page:
198
198
  ```html
199
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@event-calendar/build@2.2.0/event-calendar.min.css">
200
- <script src="https://cdn.jsdelivr.net/npm/@event-calendar/build@2.2.0/event-calendar.min.js"></script>
199
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@event-calendar/build@2.3.0/event-calendar.min.css">
200
+ <script src="https://cdn.jsdelivr.net/npm/@event-calendar/build@2.3.0/event-calendar.min.js"></script>
201
201
  ```
202
202
 
203
203
  <details>
@@ -1463,7 +1463,7 @@ _a view name like_ `dayGridMonth`
1463
1463
 
1464
1464
  ### height
1465
1465
  - Type `string`
1466
- - Default `'auto'`
1466
+ - Default `undefined`
1467
1467
 
1468
1468
  Defines the height of the entire calendar.
1469
1469
 
@@ -1930,7 +1930,7 @@ This should be a value that can be parsed into a [Duration](#duration-object) ob
1930
1930
 
1931
1931
  ### theme
1932
1932
  - Type `object` or `function`
1933
- - Default `{active: 'ec-active', allDay: 'ec-all-day', bgEvent: 'ec-bg-event', bgEvents: 'ec-bg-events', body: 'ec-body', button: 'ec-button', buttonGroup: 'ec-button-group', calendar: 'ec', compact: 'ec-compact', content: 'ec-content', day: 'ec-day', dayFoot: 'ec-day-foot', dayHead: 'ec-day-head', daySide: 'ec-day-side', days: 'ec-days', draggable: 'ec-draggable', dragging: 'ec-dragging', event: 'ec-event', eventBody: 'ec-event-body', eventTag: 'ec-event-tag', eventTime: 'ec-event-time', eventTitle: 'ec-event-title', events: 'ec-events', extra: 'ec-extra', ghost: 'ec-ghost', handle: 'ec-handle', header: 'ec-header', hiddenScroll: 'ec-hidden-scroll', highlight: 'ec-highlight', icon: 'ec-icon', line: 'ec-line', lines: 'ec-lines', noEvents: 'ec-no-events', nowIndicator: 'ec-now-indicator', otherMonth: 'ec-other-month', pointer: 'ec-pointer', popup: 'ec-popup', preview: 'ec-preview', resizer: 'ec-resizer', resizingX: 'ec-resizing-x', resizingY: 'ec-resizing-y', resource: 'ec-resource', resourceTitle: 'ec-resource-title', selecting: 'ec-selecting', sidebar: 'ec-sidebar', sidebarTitle: 'ec-sidebar-title', time: 'ec-time', title: 'ec-title', today: 'ec-today', toolbar: 'ec-toolbar', uniform: 'ec-uniform', view: '', withScroll: 'ec-with-scroll'}`
1933
+ - Default `{active: 'ec-active', allDay: 'ec-all-day', bgEvent: 'ec-bg-event', bgEvents: 'ec-bg-events', body: 'ec-body', button: 'ec-button', buttonGroup: 'ec-button-group', calendar: 'ec', compact: 'ec-compact', content: 'ec-content', day: 'ec-day', dayFoot: 'ec-day-foot', dayHead: 'ec-day-head', daySide: 'ec-day-side', days: 'ec-days', draggable: 'ec-draggable', dragging: 'ec-dragging', event: 'ec-event', eventBody: 'ec-event-body', eventTag: 'ec-event-tag', eventTime: 'ec-event-time', eventTitle: 'ec-event-title', events: 'ec-events', extra: 'ec-extra', ghost: 'ec-ghost', handle: 'ec-handle', header: 'ec-header', hiddenScroll: 'ec-hidden-scroll', highlight: 'ec-highlight', icon: 'ec-icon', line: 'ec-line', lines: 'ec-lines', noEvents: 'ec-no-events', nowIndicator: 'ec-now-indicator', otherMonth: 'ec-other-month', pointer: 'ec-pointer', popup: 'ec-popup', preview: 'ec-preview', resizer: 'ec-resizer', resizingX: 'ec-resizing-x', resizingY: 'ec-resizing-y', resource: 'ec-resource', resourceTitle: 'ec-resource-title', selecting: 'ec-selecting', sidebar: 'ec-sidebar', sidebarTitle: 'ec-sidebar-title', time: 'ec-time', title: 'ec-title', today: 'ec-today', toolbar: 'ec-toolbar', uniform: 'ec-uniform', view: '', weekdays: ['ec-sun', 'ec-mon', 'ec-tue', 'ec-wed', 'ec-thu', 'ec-fri', 'ec-sat'], withScroll: 'ec-with-scroll'}`
1934
1934
  > Views override the default value as follows:
1935
1935
  > - dayGridMonth `theme => ({...theme, view: 'ec-day-grid ec-month-view'})`
1936
1936
  > - listDay `theme => ({...theme, view: 'ec-list ec-day-view'})`
package/index.js CHANGED
@@ -661,7 +661,7 @@ function createOptions(plugins) {
661
661
  center: '',
662
662
  end: 'today prev,next'
663
663
  },
664
- height: 'auto',
664
+ height: undefined,
665
665
  hiddenDays: [],
666
666
  highlightedDates: [], // ec option
667
667
  lazyFetching: true,
@@ -715,6 +715,7 @@ function createOptions(plugins) {
715
715
  title: 'ec-title',
716
716
  toolbar: 'ec-toolbar',
717
717
  view: '',
718
+ weekdays: ['ec-sun', 'ec-mon', 'ec-tue', 'ec-wed', 'ec-thu', 'ec-fri', 'ec-sat'],
718
719
  withScroll: 'ec-with-scroll'
719
720
  },
720
721
  titleFormat: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@event-calendar/core",
3
- "version": "2.2.0",
3
+ "version": "2.3.0",
4
4
  "title": "Event Calendar Core package",
5
5
  "description": "Full-sized drag & drop event calendar with resource view",
6
6
  "keywords": [
@@ -38,7 +38,7 @@ export function createOptions(plugins) {
38
38
  center: '',
39
39
  end: 'today prev,next'
40
40
  },
41
- height: 'auto',
41
+ height: undefined,
42
42
  hiddenDays: [],
43
43
  highlightedDates: [], // ec option
44
44
  lazyFetching: true,
@@ -92,6 +92,7 @@ export function createOptions(plugins) {
92
92
  title: 'ec-title',
93
93
  toolbar: 'ec-toolbar',
94
94
  view: '',
95
+ weekdays: ['ec-sun', 'ec-mon', 'ec-tue', 'ec-wed', 'ec-thu', 'ec-fri', 'ec-sat'],
95
96
  withScroll: 'ec-with-scroll'
96
97
  },
97
98
  titleFormat: {