Skip to content

Releases: zigomir/caly

Play nice with vite 2

04 Jan 12:51
59a67c2
Compare
Choose a tag to compare

No need to expose exports field.

Simpler include for bundlers

21 Nov 13:40
Compare
Choose a tag to compare

Updating the paths

24 Oct 09:53
Compare
Choose a tag to compare

Hopefully one could now include calendar like so:

<script type="module" src="https://cdn.skypack.dev/caly"></script>
<caly-calendar year="2020" month="10"></caly-calendar>

On unpkg it already works like this with <script type="module" src="https://unpkg.com/caly"></script>

Add missing package.json fields

24 Oct 09:34
aa40596
Compare
Choose a tag to compare

That's it – just want to bump the score on https://www.skypack.dev/view/caly 🤞

Add misc slot

17 Sep 08:55
9c7f7b1
Compare
Choose a tag to compare
Merge pull request #7 from zigomir/miscellaneous-slot

Add misc slot

Adds Custom Elements Bundle

17 Sep 08:26
5171276
Compare
Choose a tag to compare

Custom Elements Bundle

This may be preferred for projects that are already handling bundling, lazy-loading and defining the custom elements themselves.

Based on the docs

Usage

yarn add @stencil/core
# or
npm install @stencil/core
import { defineCustomElements } from 'caly/dist/custom-elements'
defineCustomElements()

0.5.0 = 0.5.1

12 Sep 16:07
Compare
Choose a tag to compare

GitHub will let me "publish release" even when package.json isn't updated properly 🥇

New features

12 Sep 16:02
Compare
Choose a tag to compare
  • Year and month default to today
  • use ISO formatted dates: 2020-12-31 over 31-12-2020
  • expose more style properties
  • disableDays option to prevent user selecting specific dates; e.g. dates after today or prior 2019
  • event to expose which day is currently hovered
  • when rendering multiple months, option to show months before current month instead of after. What about one prior and one after? 🤔

Stencil 2.0!

11 Sep 10:15
866d571
Compare
Choose a tag to compare

Some diffs in build.

Ranges!

01 Mar 22:22
6f4bb22
Compare
Choose a tag to compare

Ranges!

<caly-calendar
  year="2020"
  month="2"
+  range
+  number-of-months="2"
></caly-calendar>