Releases: zigomir/caly
Releases · zigomir/caly
Play nice with vite 2
Simpler include for bundlers
Updating the paths
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
That's it – just want to bump the score on https://www.skypack.dev/view/caly 🤞
Add misc slot
Merge pull request #7 from zigomir/miscellaneous-slot Add misc slot
Adds Custom Elements Bundle
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
GitHub will let me "publish release" even when package.json
isn't updated properly 🥇
New features
- Year and month default to today
- use ISO formatted dates:
2020-12-31
over31-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!
Some diffs in build.