@dashspec/renderer 0.1.42 → 0.1.43

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/CHANGELOG.md CHANGED
@@ -14,6 +14,13 @@ under the new version.
14
14
 
15
15
  ## [Unreleased]
16
16
 
17
+ ## [0.1.43] - 2026-11-19
18
+
19
+ ### Added
20
+
21
+ - `DateRange` filters take `single: true`: the calendar picks one date (from = to); the presets stay (e.g. Today,
22
+ Yesterday or a date).
23
+
17
24
  ## [0.1.42] - 2026-11-19
18
25
 
19
26
  ### Added
@@ -980,7 +980,9 @@ var kinds = {
980
980
  default: DateRangeValue.optional(),
981
981
  min: Template.optional(),
982
982
  max: Template.optional(),
983
- maxDays: z6.number().int().min(1).optional()
983
+ maxDays: z6.number().int().min(1).optional(),
984
+ /** The calendar picks one date (from = to) instead of a range; the presets stay. */
985
+ single: z6.boolean().optional()
984
986
  }).strict(),
985
987
  Date: z6.object({
986
988
  ...base,
@@ -1469,7 +1471,7 @@ function migrateDocument(input, widgets = []) {
1469
1471
  import { z as z10 } from "zod";
1470
1472
 
1471
1473
  // src/version.ts
1472
- var RENDERER_VERSION = "0.1.42";
1474
+ var RENDERER_VERSION = "0.1.43";
1473
1475
  var parse2 = (v) => {
1474
1476
  const m = /^v?(\d+)(?:\.(\d+))?(?:\.(\d+))?(?:[-+].*)?$/.exec(v.trim());
1475
1477
  return m ? [Number(m[1]), Number(m[2] ?? 0), Number(m[3] ?? 0)] : void 0;
@@ -3202,4 +3204,4 @@ export {
3202
3204
  RepeaterContract,
3203
3205
  builtInWidgetChecks
3204
3206
  };
3205
- //# sourceMappingURL=chunk-O4BYNRCA.js.map
3207
+ //# sourceMappingURL=chunk-IBSZQEYY.js.map