layerchart 0.14.0 → 0.14.1
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/utils/ticks.d.ts +2 -2
- package/dist/utils/ticks.js +1 -1
- package/package.json +1 -1
package/dist/utils/ticks.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare function getMajorTicks(start: Date, end: Date): import("d3-time").TimeInterval | null
|
|
1
|
+
export declare function getMajorTicks(start: Date, end: Date): import("d3-time").TimeInterval | null;
|
|
2
2
|
export declare function formatMajorTick(date: Date, rangeStart: Date, rangeEnd: Date): any;
|
|
3
|
-
export declare function getMinorTicks(start: Date, end: Date): import("d3-time").TimeInterval | null
|
|
3
|
+
export declare function getMinorTicks(start: Date, end: Date): import("d3-time").TimeInterval | null;
|
package/dist/utils/ticks.js
CHANGED
|
@@ -2,7 +2,7 @@ import { timeYear, timeMonth, timeWeek, timeDay, timeHour, timeMinute, timeSecon
|
|
|
2
2
|
import { format } from 'date-fns';
|
|
3
3
|
import { formatDate, PeriodType } from 'svelte-ux/utils/date';
|
|
4
4
|
import { getDuration } from 'svelte-ux/utils/duration';
|
|
5
|
-
import { fail } from 'svelte-ux
|
|
5
|
+
import { fail } from 'svelte-ux';
|
|
6
6
|
// TODO: Use PeriodType along with Duration to format (and possibly select intervals)
|
|
7
7
|
const majorTicks = [
|
|
8
8
|
{
|