@shoplflow/base 0.39.2 → 0.40.0
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.cjs +4 -4
- package/dist/index.js +4 -4
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -5969,7 +5969,7 @@ var MonthDatepicker = ({
|
|
|
5969
5969
|
disabled = true;
|
|
5970
5970
|
}
|
|
5971
5971
|
if (currentYear === minYear) {
|
|
5972
|
-
if (month
|
|
5972
|
+
if (month < minMonth) {
|
|
5973
5973
|
disabled = true;
|
|
5974
5974
|
}
|
|
5975
5975
|
}
|
|
@@ -5981,7 +5981,7 @@ var MonthDatepicker = ({
|
|
|
5981
5981
|
disabled = true;
|
|
5982
5982
|
}
|
|
5983
5983
|
if (currentYear === maxYear) {
|
|
5984
|
-
if (month
|
|
5984
|
+
if (month > maxMonth) {
|
|
5985
5985
|
disabled = true;
|
|
5986
5986
|
}
|
|
5987
5987
|
}
|
|
@@ -6364,7 +6364,7 @@ var WeekDatepicker = ({
|
|
|
6364
6364
|
disabled = true;
|
|
6365
6365
|
}
|
|
6366
6366
|
if (currentYear === minYear) {
|
|
6367
|
-
if (currentWeek
|
|
6367
|
+
if (currentWeek < minWeek) {
|
|
6368
6368
|
disabled = true;
|
|
6369
6369
|
}
|
|
6370
6370
|
}
|
|
@@ -6376,7 +6376,7 @@ var WeekDatepicker = ({
|
|
|
6376
6376
|
disabled = true;
|
|
6377
6377
|
}
|
|
6378
6378
|
if (currentYear === maxYear) {
|
|
6379
|
-
if (currentWeek
|
|
6379
|
+
if (currentWeek > maxWeek) {
|
|
6380
6380
|
disabled = true;
|
|
6381
6381
|
}
|
|
6382
6382
|
}
|
package/dist/index.js
CHANGED
|
@@ -5942,7 +5942,7 @@ var MonthDatepicker = ({
|
|
|
5942
5942
|
disabled = true;
|
|
5943
5943
|
}
|
|
5944
5944
|
if (currentYear === minYear) {
|
|
5945
|
-
if (month
|
|
5945
|
+
if (month < minMonth) {
|
|
5946
5946
|
disabled = true;
|
|
5947
5947
|
}
|
|
5948
5948
|
}
|
|
@@ -5954,7 +5954,7 @@ var MonthDatepicker = ({
|
|
|
5954
5954
|
disabled = true;
|
|
5955
5955
|
}
|
|
5956
5956
|
if (currentYear === maxYear) {
|
|
5957
|
-
if (month
|
|
5957
|
+
if (month > maxMonth) {
|
|
5958
5958
|
disabled = true;
|
|
5959
5959
|
}
|
|
5960
5960
|
}
|
|
@@ -6337,7 +6337,7 @@ var WeekDatepicker = ({
|
|
|
6337
6337
|
disabled = true;
|
|
6338
6338
|
}
|
|
6339
6339
|
if (currentYear === minYear) {
|
|
6340
|
-
if (currentWeek
|
|
6340
|
+
if (currentWeek < minWeek) {
|
|
6341
6341
|
disabled = true;
|
|
6342
6342
|
}
|
|
6343
6343
|
}
|
|
@@ -6349,7 +6349,7 @@ var WeekDatepicker = ({
|
|
|
6349
6349
|
disabled = true;
|
|
6350
6350
|
}
|
|
6351
6351
|
if (currentYear === maxYear) {
|
|
6352
|
-
if (currentWeek
|
|
6352
|
+
if (currentWeek > maxWeek) {
|
|
6353
6353
|
disabled = true;
|
|
6354
6354
|
}
|
|
6355
6355
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shoplflow/base",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.40.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -90,9 +90,9 @@
|
|
|
90
90
|
"react-datepicker": "^7.3.0",
|
|
91
91
|
"react-dom": "^18.2.0",
|
|
92
92
|
"simplebar-react": "^3.2.6",
|
|
93
|
-
"@shoplflow/hada-assets": "^0.1.3",
|
|
94
93
|
"@shoplflow/shopl-assets": "^0.12.10",
|
|
95
|
-
"@shoplflow/utils": "^0.6.5"
|
|
94
|
+
"@shoplflow/utils": "^0.6.5",
|
|
95
|
+
"@shoplflow/hada-assets": "^0.1.3"
|
|
96
96
|
},
|
|
97
97
|
"scripts": {
|
|
98
98
|
"type-check": "tsc --noEmit",
|