rangeflow 1.0.0 → 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.
- package/dist/index.js +2 -2
- package/package.json +19 -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.
|
|
556
|
+
}, `${e.from.getTime()}_${e.to.getTime()}`))
|
|
557
557
|
})
|
|
558
558
|
});
|
|
559
559
|
}
|
package/package.json
CHANGED
|
@@ -1,9 +1,27 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rangeflow",
|
|
3
|
-
"version": "1.0.
|
|
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",
|
|
7
|
+
"homepage": "https://rangeflow.raminmousavi.dev",
|
|
8
|
+
"keywords": [
|
|
9
|
+
"react",
|
|
10
|
+
"react-component",
|
|
11
|
+
"date-picker",
|
|
12
|
+
"date-range",
|
|
13
|
+
"date-range-picker",
|
|
14
|
+
"range-picker",
|
|
15
|
+
"calendar",
|
|
16
|
+
"slider",
|
|
17
|
+
"date-slider",
|
|
18
|
+
"tailwind",
|
|
19
|
+
"tailwindcss",
|
|
20
|
+
"react-day-picker",
|
|
21
|
+
"typescript",
|
|
22
|
+
"dayjs",
|
|
23
|
+
"rangeflow"
|
|
24
|
+
],
|
|
7
25
|
"module": "./dist/index.js",
|
|
8
26
|
"types": "./dist/index.d.ts",
|
|
9
27
|
"exports": {
|