@ambuj.bhaskar/react-component-library 0.24.17-alpha → 0.24.18-alpha
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/assets/index.css +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +19 -16
- package/dist/index.umd.js +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -75112,43 +75112,46 @@ const _ke = (e) => uD[e], oc = [
|
|
|
75112
75112
|
pickerRangeColor: h,
|
|
75113
75113
|
pickerBackgroundColor: C,
|
|
75114
75114
|
pickerBorderColor: m,
|
|
75115
|
-
|
|
75116
|
-
|
|
75117
|
-
|
|
75118
|
-
|
|
75115
|
+
textColor: A,
|
|
75116
|
+
allowClear: v = !1,
|
|
75117
|
+
disabledDate: p = (x) => !1,
|
|
75118
|
+
disableFutureDates: _ = !1,
|
|
75119
|
+
...w
|
|
75119
75120
|
}) => {
|
|
75120
|
-
const
|
|
75121
|
-
if (t &&
|
|
75122
|
-
const
|
|
75123
|
-
(
|
|
75121
|
+
const x = e ? [d0(e[0]), d0(e[1])] : void 0, E = (S) => {
|
|
75122
|
+
if (t && S) {
|
|
75123
|
+
const M = S.map(
|
|
75124
|
+
(H) => (H == null ? void 0 : H.toDate()) || /* @__PURE__ */ new Date()
|
|
75124
75125
|
);
|
|
75125
|
-
t(
|
|
75126
|
+
t(M);
|
|
75126
75127
|
} else t && t([]);
|
|
75127
75128
|
};
|
|
75128
75129
|
return /* @__PURE__ */ z.jsx(
|
|
75129
75130
|
Hke,
|
|
75130
75131
|
{
|
|
75131
75132
|
showTime: r,
|
|
75132
|
-
...
|
|
75133
|
-
value:
|
|
75134
|
-
onChange:
|
|
75133
|
+
...w,
|
|
75134
|
+
value: x,
|
|
75135
|
+
onChange: E,
|
|
75135
75136
|
format: o,
|
|
75136
75137
|
presets: i,
|
|
75137
|
-
disabledDate:
|
|
75138
|
+
disabledDate: _ ? (S) => Mke(S) || p(S) : p,
|
|
75138
75139
|
style: {
|
|
75139
75140
|
width: a,
|
|
75140
75141
|
"--c_trigger_background": c,
|
|
75141
75142
|
"--c_trigger_border": u,
|
|
75142
|
-
"--c_highlight": d
|
|
75143
|
+
"--c_highlight": d,
|
|
75144
|
+
"--c_text_primary": A
|
|
75143
75145
|
},
|
|
75144
75146
|
popupStyle: {
|
|
75145
75147
|
"--c_highlight": d,
|
|
75146
75148
|
"--c_date_range_fill": h,
|
|
75147
75149
|
"--c_surface_border": m,
|
|
75148
|
-
"--c_surface": C
|
|
75150
|
+
"--c_surface": C,
|
|
75151
|
+
"--c_text_primary": A
|
|
75149
75152
|
},
|
|
75150
75153
|
className: `date-range-picker ${n} h_${s}`,
|
|
75151
|
-
allowClear:
|
|
75154
|
+
allowClear: v
|
|
75152
75155
|
}
|
|
75153
75156
|
);
|
|
75154
75157
|
};
|