@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.mjs CHANGED
@@ -1216,7 +1216,8 @@ var JalaliDatePicker = ({
1216
1216
  isLoading,
1217
1217
  maxDate,
1218
1218
  minDate,
1219
- clear = true
1219
+ clear = true,
1220
+ views
1220
1221
  }) => {
1221
1222
  const today = moment();
1222
1223
  const [open, setOpen] = useState4(false);
@@ -1261,7 +1262,7 @@ var JalaliDatePicker = ({
1261
1262
  disabled: isLoading || disabled,
1262
1263
  closeOnSelect: false,
1263
1264
  openTo: "day",
1264
- views: ["year", "month", "day"],
1265
+ views: views ?? ["year", "month", "day"],
1265
1266
  label,
1266
1267
  value: field.value ? moment(field.value) : null,
1267
1268
  slotProps: {