svelte-range-calendar 0.1.0 → 0.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/dist/Calendar.svelte +1 -2
- package/dist/shared/dates.js +1 -1
- package/package.json +2 -3
- package/src/Calendar.svelte +1 -2
- package/src/shared/dates.ts +1 -1
package/dist/Calendar.svelte
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import './Calendar.css';
|
|
3
3
|
|
|
4
|
-
import { getMonthEnd, getMonthStart } from '
|
|
5
|
-
import { getUserLocale } from 'get-user-locale';
|
|
4
|
+
import { getMonthEnd, getMonthStart, getUserLocale } from 'svelte-date-utils';
|
|
6
5
|
import { untrack } from 'svelte';
|
|
7
6
|
|
|
8
7
|
import Navigation from './Navigation.svelte';
|
package/dist/shared/dates.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getCenturyEnd, getCenturyStart, getDayEnd, getDayStart, getDecadeEnd, getDecadeStart, getMonthEnd, getMonthStart, getYearEnd, getYearStart, } from '
|
|
1
|
+
import { getCenturyEnd, getCenturyStart, getDayEnd, getDayStart, getDecadeEnd, getDecadeStart, getMonthEnd, getMonthStart, getYearEnd, getYearStart, } from 'svelte-date-utils';
|
|
2
2
|
export const views = ['century', 'decade', 'year', 'month'];
|
|
3
3
|
/** Type of date represented by a single tile in a given view. */
|
|
4
4
|
export const tileTypes = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "svelte-range-calendar",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "A calendar with range selection for your Svelte app.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"calendar",
|
|
@@ -50,8 +50,7 @@
|
|
|
50
50
|
"watch": "svelte-package --input src --output dist --watch"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"
|
|
54
|
-
"get-user-locale": "^3.0.0"
|
|
53
|
+
"svelte-date-utils": "^0.3.0"
|
|
55
54
|
},
|
|
56
55
|
"devDependencies": {
|
|
57
56
|
"@sveltejs/package": "^3.0.1",
|
package/src/Calendar.svelte
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import './Calendar.css';
|
|
3
3
|
|
|
4
|
-
import { getMonthEnd, getMonthStart } from '
|
|
5
|
-
import { getUserLocale } from 'get-user-locale';
|
|
4
|
+
import { getMonthEnd, getMonthStart, getUserLocale } from 'svelte-date-utils';
|
|
6
5
|
import { untrack } from 'svelte';
|
|
7
6
|
|
|
8
7
|
import Navigation from './Navigation.svelte';
|
package/src/shared/dates.ts
CHANGED