rangeflow 1.0.1 → 1.0.2

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -534,8 +534,8 @@ function Oe() {
534
534
  children: /* @__PURE__ */ p("div", {
535
535
  className: "flex items-center",
536
536
  children: o.map((e, n) => /* @__PURE__ */ m("button", {
537
- "data-active": c === n || void 0,
538
537
  className: y("rangeflow-tab relative z-1 flex items-center px-1.5 py-1"),
538
+ "data-active": c === n || void 0,
539
539
  onClick: () => {
540
540
  t((t) => {
541
541
  t.range.from = e.from, t.range.to = e.to;
@@ -553,7 +553,7 @@ function Oe() {
553
553
  damping: 25
554
554
  }
555
555
  })]
556
- }, `${e.from.getDate()}_${e.to.getDate()}`))
556
+ }, `${e.from.getTime()}_${e.to.getTime()}`))
557
557
  })
558
558
  });
559
559
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rangeflow",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "type": "module",
5
5
  "description": "A fancy date range picker built with React and Tailwind.",
6
6
  "license": "MIT",