@mamrp/components 1.0.47 → 1.0.48
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.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1263,7 +1263,8 @@ var JalaliDatePicker = ({
|
|
|
1263
1263
|
isLoading,
|
|
1264
1264
|
maxDate,
|
|
1265
1265
|
minDate,
|
|
1266
|
-
clear = true
|
|
1266
|
+
clear = true,
|
|
1267
|
+
views
|
|
1267
1268
|
}) => {
|
|
1268
1269
|
const today = (0, import_moment_jalaali.default)();
|
|
1269
1270
|
const [open, setOpen] = (0, import_react7.useState)(false);
|
|
@@ -1308,7 +1309,7 @@ var JalaliDatePicker = ({
|
|
|
1308
1309
|
disabled: isLoading || disabled,
|
|
1309
1310
|
closeOnSelect: false,
|
|
1310
1311
|
openTo: "day",
|
|
1311
|
-
views: ["year", "month", "day"],
|
|
1312
|
+
views: views ?? ["year", "month", "day"],
|
|
1312
1313
|
label,
|
|
1313
1314
|
value: field.value ? (0, import_moment_jalaali.default)(field.value) : null,
|
|
1314
1315
|
slotProps: {
|