histropediajs 1.6.0 → 1.6.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/index.d.ts CHANGED
@@ -121,7 +121,12 @@ export type DateParts = {
121
121
  millisecond?: number;
122
122
  };
123
123
 
124
- /** General date input that can include precision. */
124
+ /**
125
+ * General date input that can include precision.
126
+ * Omitted precision is inferred from the smallest supplied time component (including zero).
127
+ * Without time components it defaults to day, even for year-only or year/month objects.
128
+ * Explicit precision always overrides inference.
129
+ */
125
130
  export type DateInput = DateParts & { precision?: Precision };
126
131
 
127
132
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "histropediajs",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "description": "JavaScript library for rendering interactive zoomable timelines in HTML5 canvas.",
5
5
  "main": "./dist/histropedia.esm.js",
6
6
  "module": "./dist/histropedia.esm.js",