Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v3.2.0 #164

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## [3.2.0](https://github.com/6eDesign/svelte-calendar/compare/v3.1.6...v3.2.0) (2022-10-10)

### Feature ADD
* Added the posibility to block specific dates.

## [3.1.6](https://github.com/6eDesign/svelte-calendar/compare/v3.1.5...v3.1.6) (2021-09-22)


Expand Down
75 changes: 38 additions & 37 deletions docs/docs/examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,45 +2,45 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="/svelte-calendar/favicon.png" />
<link rel="icon" href="/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link href="https://fonts.googleapis.com/css?family=Rajdhani:400,700" rel="stylesheet">




<link rel="modulepreload" href="/svelte-calendar/internal/start-98bec3dd.js">
<link rel="modulepreload" href="/svelte-calendar/internal/chunks/vendor-92032e4e.js">
<link rel="modulepreload" href="/svelte-calendar/internal/chunks/paths-45dac81d.js">
<link rel="modulepreload" href="/svelte-calendar/internal/pages/__layout.svelte-e352adb1.js">
<link rel="modulepreload" href="/svelte-calendar/internal/chunks/stores-442f1fc3.js">
<link rel="modulepreload" href="/svelte-calendar/internal/chunks/CrossfadeProvider-5db38033.js">
<link rel="modulepreload" href="/svelte-calendar/internal/chunks/ToggleSwitch-cf11535b.js">
<link rel="modulepreload" href="/svelte-calendar/internal/chunks/NavBarItem-ed624b64.js">
<link rel="modulepreload" href="/svelte-calendar/internal/pages/docs/examples.svelte-2112ff71.js">
<link rel="modulepreload" href="/svelte-calendar/internal/chunks/defaults-ac00e4f9.js">
<link rel="modulepreload" href="/svelte-calendar/internal/chunks/DocPage-03f8739d.js">
<link rel="modulepreload" href="/svelte-calendar/internal/chunks/CodeExample-3d94adef.js">
<link rel="modulepreload" href="/svelte-calendar/internal/chunks/QuickStart-742f5a97.js">
<link rel="modulepreload" href="/svelte-calendar/internal/chunks/Datepicker-b03a577c.js">
<link rel="stylesheet" href="/svelte-calendar/internal/assets/start-61d1577b.css">
<link rel="stylesheet" href="/svelte-calendar/internal/assets/pages/__layout.svelte-8929d842.css">
<link rel="stylesheet" href="/svelte-calendar/internal/assets/ToggleSwitch-4095d7e6.css">
<link rel="stylesheet" href="/svelte-calendar/internal/assets/NavBarItem-32e7e302.css">
<link rel="stylesheet" href="/svelte-calendar/internal/assets/pages/docs/examples.svelte-d5bf0724.css">
<link rel="stylesheet" href="/svelte-calendar/internal/assets/InlineCalendar.svelte_svelte&type=style&lang-87586471.css">
<link rel="stylesheet" href="/svelte-calendar/internal/assets/prism-material-dark-cdee7720.css">
<link rel="stylesheet" href="/svelte-calendar/internal/assets/defaults-3eadd8a6.css">
<link rel="stylesheet" href="/svelte-calendar/internal/assets/DocPage-fb7d9fd4.css">
<link rel="stylesheet" href="/svelte-calendar/internal/assets/CodeExample-b2b88c71.css">
<link rel="stylesheet" href="/svelte-calendar/internal/assets/QuickStart-67e28897.css">
<link rel="stylesheet" href="/svelte-calendar/internal/assets/Datepicker-05024fa8.css">
<link rel="modulepreload" href="/./internal/start-e7ecf17a.js">
<link rel="modulepreload" href="/./internal/chunks/vendor-92032e4e.js">
<link rel="modulepreload" href="/./internal/chunks/paths-45dac81d.js">
<link rel="modulepreload" href="/./internal/pages/__layout.svelte-e352adb1.js">
<link rel="modulepreload" href="/./internal/chunks/stores-442f1fc3.js">
<link rel="modulepreload" href="/./internal/chunks/CrossfadeProvider-5db38033.js">
<link rel="modulepreload" href="/./internal/chunks/ToggleSwitch-cf11535b.js">
<link rel="modulepreload" href="/./internal/chunks/NavBarItem-ed624b64.js">
<link rel="modulepreload" href="/./internal/pages/docs/examples.svelte-06fba0e0.js">
<link rel="modulepreload" href="/./internal/chunks/defaults-f88dd676.js">
<link rel="modulepreload" href="/./internal/chunks/DocPage-03f8739d.js">
<link rel="modulepreload" href="/./internal/chunks/CodeExample-852f326a.js">
<link rel="modulepreload" href="/./internal/chunks/QuickStart-52df537d.js">
<link rel="modulepreload" href="/./internal/chunks/Datepicker-108a1eb4.js">
<link rel="stylesheet" href="/./internal/assets/start-61d1577b.css">
<link rel="stylesheet" href="/./internal/assets/pages/__layout.svelte-8929d842.css">
<link rel="stylesheet" href="/./internal/assets/ToggleSwitch-4095d7e6.css">
<link rel="stylesheet" href="/./internal/assets/NavBarItem-32e7e302.css">
<link rel="stylesheet" href="/./internal/assets/pages/docs/examples.svelte-d5bf0724.css">
<link rel="stylesheet" href="/./internal/assets/InlineCalendar.svelte_svelte&type=style&lang-87586471.css">
<link rel="stylesheet" href="/./internal/assets/prism-material-dark-cdee7720.css">
<link rel="stylesheet" href="/./internal/assets/defaults-3eadd8a6.css">
<link rel="stylesheet" href="/./internal/assets/DocPage-fb7d9fd4.css">
<link rel="stylesheet" href="/./internal/assets/CodeExample-b2b88c71.css">
<link rel="stylesheet" href="/./internal/assets/QuickStart-67e28897.css">
<link rel="stylesheet" href="/./internal/assets/Datepicker-05024fa8.css">

<script type="module">
import { start } from "/svelte-calendar/internal/start-98bec3dd.js";
import { start } from "/./internal/start-e7ecf17a.js";
start({
target: document.querySelector("#svelte"),
paths: {"base":"/svelte-calendar","assets":"/svelte-calendar"},
paths: {"base":"","assets":"/."},
session: {},
host: location.host,
route: true,
Expand All @@ -50,8 +50,8 @@
status: 200,
error: null,
nodes: [
import("/svelte-calendar/internal/pages/__layout.svelte-e352adb1.js"),
import("/svelte-calendar/internal/pages/docs/examples.svelte-2112ff71.js")
import("/./internal/pages/__layout.svelte-e352adb1.js"),
import("/./internal/pages/docs/examples.svelte-06fba0e0.js")
],
page: {
host: location.host, // TODO this is redundant
Expand All @@ -67,22 +67,23 @@
<div id="svelte">


<div style="--sc-theme-calendar-width: 700px;--sc-theme-calendar-maxWidth: 100vw;--sc-theme-calendar-legend-height: 45px;--sc-theme-calendar-shadow: 0px 10px 26px rgba(0, 0, 0, 0.25);--sc-theme-calendar-colors-text-primary: #eee;--sc-theme-calendar-colors-text-highlight: #fff;--sc-theme-calendar-colors-background-primary: #333;--sc-theme-calendar-colors-background-highlight: #5829d6;--sc-theme-calendar-colors-background-hover: #222;--sc-theme-calendar-colors-border: #222;--sc-theme-calendar-font-regular: 1.5em;--sc-theme-calendar-font-large: 37em;--sc-theme-calendar-grid-disabledOpacity: .5;--sc-theme-calendar-grid-outsiderOpacity: .7" class="container svelte-alugsa"><div class="header svelte-alugsa"><div class="stage svelte-alugsa"><img src="/svelte-calendar/logo.png" alt="6eDesign" style="transform: rotate(0deg);" class="svelte-alugsa"></div>
<div style="--sc-theme-calendar-width: 700px;--sc-theme-calendar-maxWidth: 100vw;--sc-theme-calendar-legend-height: 45px;--sc-theme-calendar-shadow: 0px 10px 26px rgba(0, 0, 0, 0.25);--sc-theme-calendar-colors-text-primary: #eee;--sc-theme-calendar-colors-text-highlight: #fff;--sc-theme-calendar-colors-background-primary: #333;--sc-theme-calendar-colors-background-highlight: #5829d6;--sc-theme-calendar-colors-background-hover: #222;--sc-theme-calendar-colors-border: #222;--sc-theme-calendar-font-regular: 1.5em;--sc-theme-calendar-font-large: 37em;--sc-theme-calendar-grid-disabledOpacity: .5;--sc-theme-calendar-grid-outsiderOpacity: .7" class="container svelte-alugsa"><div class="header svelte-alugsa"><div class="stage svelte-alugsa"><img src="/logo.png" alt="6eDesign" style="transform: rotate(0deg);" class="svelte-alugsa"></div>
<h1 class="svelte-alugsa">svelte-calendar</h1>
<div class="header-right svelte-alugsa"><div></div>
<div><div style="width: 45px;height: 20px;border-radius: calc(20px / 2)" class="svelte-2zwp1f"><button style="width: 20px;height: 20px;transform: translateX(calc(45px - 20px))" class="svelte-2zwp1f"></button>
</div>
<span class="svelte-alugsa">Dark Mode</span></div></div></div>
<div class="body svelte-alugsa"><nav class="svelte-d27jud"><section class="flex svelte-d27jud"><a href="/svelte-calendar/" class="svelte-wa7nne"><span class="text svelte-wa7nne">Home</span>
</a><a href="/svelte-calendar/docs/quick-start" class="svelte-wa7nne"><span class="text svelte-wa7nne">Quick-Start</span>
</a><a href="/svelte-calendar/docs/props" class="svelte-wa7nne"><span class="text svelte-wa7nne">Props</span>
</a><a href="/svelte-calendar/docs/examples" class="svelte-wa7nne active"><span class="text svelte-wa7nne">Examples</span>
<span class="highlight svelte-wa7nne"></span></a><a href="/svelte-calendar/docs/theme-editor/light" class="svelte-wa7nne"><span class="text svelte-wa7nne">Theme Editor</span>
<div class="body svelte-alugsa"><nav class="svelte-d27jud"><section class="flex svelte-d27jud"><a href="/" class="svelte-wa7nne"><span class="text svelte-wa7nne">Home</span>
</a><a href="/docs/quick-start" class="svelte-wa7nne"><span class="text svelte-wa7nne">Quick-Start</span>
</a><a href="/docs/props" class="svelte-wa7nne"><span class="text svelte-wa7nne">Props</span>
</a><a href="/docs/examples" class="svelte-wa7nne active"><span class="text svelte-wa7nne">Examples</span>
<span class="highlight svelte-wa7nne"></span></a><a href="/docs/theme-editor/light" class="svelte-wa7nne"><span class="text svelte-wa7nne">Theme Editor</span>
</a></section>
<section class="svelte-d27jud"></section></nav>
<div class="route-wrapper svelte-alugsa"><div class="grid svelte-8l7gct"><h1 class="pad svelte-8l7gct">Examples</h1>
<div class="svelte-8l7gct pad"><div class="grid svelte-187o1v3"><div class="svelte-187o1v3"><a href="#example" class="svelte-187o1v3">Quick Start</a>
</div><div class="svelte-187o1v3"><a href="#example" class="svelte-187o1v3">Start &amp; End</a>
</div><div class="svelte-187o1v3"><a href="#example" class="svelte-187o1v3">Blocked Days</a>
</div><div class="svelte-187o1v3"><a href="#example" class="svelte-187o1v3">Inline Calendar</a>
</div><div class="svelte-187o1v3"><a href="#example" class="svelte-187o1v3">Dark Theme</a>
</div><div class="svelte-187o1v3"><a href="#example" class="svelte-187o1v3">Custom Theme</a>
Expand Down
14 changes: 7 additions & 7 deletions docs/docs/props/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,23 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="/svelte-calendar/favicon.png" />
<link rel="icon" href="/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link href="https://fonts.googleapis.com/css?family=Rajdhani:400,700" rel="stylesheet">




<link rel="modulepreload" href="/svelte-calendar/internal/start-98bec3dd.js">
<link rel="modulepreload" href="/svelte-calendar/internal/chunks/vendor-92032e4e.js">
<link rel="modulepreload" href="/svelte-calendar/internal/chunks/paths-45dac81d.js">
<link rel="stylesheet" href="/svelte-calendar/internal/assets/start-61d1577b.css">
<link rel="modulepreload" href="/./internal/start-e7ecf17a.js">
<link rel="modulepreload" href="/./internal/chunks/vendor-92032e4e.js">
<link rel="modulepreload" href="/./internal/chunks/paths-45dac81d.js">
<link rel="stylesheet" href="/./internal/assets/start-61d1577b.css">

<script type="module">
import { start } from "/svelte-calendar/internal/start-98bec3dd.js";
import { start } from "/./internal/start-e7ecf17a.js";
start({
target: document.querySelector("#svelte"),
paths: {"base":"/svelte-calendar","assets":"/svelte-calendar"},
paths: {"base":"","assets":"/."},
session: {},
host: location.host,
route: true,
Expand Down
14 changes: 7 additions & 7 deletions docs/docs/quick-start/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,23 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="/svelte-calendar/favicon.png" />
<link rel="icon" href="/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link href="https://fonts.googleapis.com/css?family=Rajdhani:400,700" rel="stylesheet">




<link rel="modulepreload" href="/svelte-calendar/internal/start-98bec3dd.js">
<link rel="modulepreload" href="/svelte-calendar/internal/chunks/vendor-92032e4e.js">
<link rel="modulepreload" href="/svelte-calendar/internal/chunks/paths-45dac81d.js">
<link rel="stylesheet" href="/svelte-calendar/internal/assets/start-61d1577b.css">
<link rel="modulepreload" href="/./internal/start-e7ecf17a.js">
<link rel="modulepreload" href="/./internal/chunks/vendor-92032e4e.js">
<link rel="modulepreload" href="/./internal/chunks/paths-45dac81d.js">
<link rel="stylesheet" href="/./internal/assets/start-61d1577b.css">

<script type="module">
import { start } from "/svelte-calendar/internal/start-98bec3dd.js";
import { start } from "/./internal/start-e7ecf17a.js";
start({
target: document.querySelector("#svelte"),
paths: {"base":"/svelte-calendar","assets":"/svelte-calendar"},
paths: {"base":"","assets":"/."},
session: {},
host: location.host,
route: true,
Expand Down
Loading