@shoplflow/base 0.39.2 → 0.40.1

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 CHANGED
@@ -2969,10 +2969,7 @@ var getButtonWrapperStyleBySizeVar = ({ sizeVar, isFocused }) => {
2969
2969
  border-width: ${isFocused ? "2px" : "1px"};
2970
2970
  transition: border-width 0.2s ease-in-out;
2971
2971
  border-radius: 12px;
2972
-
2973
- &:hover {
2974
- border-width: 2px;
2975
- }
2972
+ border-width: 1.5px;
2976
2973
  `;
2977
2974
  default:
2978
2975
  return react$1.css`
@@ -5969,7 +5966,7 @@ var MonthDatepicker = ({
5969
5966
  disabled = true;
5970
5967
  }
5971
5968
  if (currentYear === minYear) {
5972
- if (month <= minMonth) {
5969
+ if (month < minMonth) {
5973
5970
  disabled = true;
5974
5971
  }
5975
5972
  }
@@ -5981,7 +5978,7 @@ var MonthDatepicker = ({
5981
5978
  disabled = true;
5982
5979
  }
5983
5980
  if (currentYear === maxYear) {
5984
- if (month >= maxMonth) {
5981
+ if (month > maxMonth) {
5985
5982
  disabled = true;
5986
5983
  }
5987
5984
  }
@@ -6364,7 +6361,7 @@ var WeekDatepicker = ({
6364
6361
  disabled = true;
6365
6362
  }
6366
6363
  if (currentYear === minYear) {
6367
- if (currentWeek <= minWeek) {
6364
+ if (currentWeek < minWeek) {
6368
6365
  disabled = true;
6369
6366
  }
6370
6367
  }
@@ -6376,7 +6373,7 @@ var WeekDatepicker = ({
6376
6373
  disabled = true;
6377
6374
  }
6378
6375
  if (currentYear === maxYear) {
6379
- if (currentWeek >= maxWeek) {
6376
+ if (currentWeek > maxWeek) {
6380
6377
  disabled = true;
6381
6378
  }
6382
6379
  }
package/dist/index.js CHANGED
@@ -2942,10 +2942,7 @@ var getButtonWrapperStyleBySizeVar = ({ sizeVar, isFocused }) => {
2942
2942
  border-width: ${isFocused ? "2px" : "1px"};
2943
2943
  transition: border-width 0.2s ease-in-out;
2944
2944
  border-radius: 12px;
2945
-
2946
- &:hover {
2947
- border-width: 2px;
2948
- }
2945
+ border-width: 1.5px;
2949
2946
  `;
2950
2947
  default:
2951
2948
  return css`
@@ -5942,7 +5939,7 @@ var MonthDatepicker = ({
5942
5939
  disabled = true;
5943
5940
  }
5944
5941
  if (currentYear === minYear) {
5945
- if (month <= minMonth) {
5942
+ if (month < minMonth) {
5946
5943
  disabled = true;
5947
5944
  }
5948
5945
  }
@@ -5954,7 +5951,7 @@ var MonthDatepicker = ({
5954
5951
  disabled = true;
5955
5952
  }
5956
5953
  if (currentYear === maxYear) {
5957
- if (month >= maxMonth) {
5954
+ if (month > maxMonth) {
5958
5955
  disabled = true;
5959
5956
  }
5960
5957
  }
@@ -6337,7 +6334,7 @@ var WeekDatepicker = ({
6337
6334
  disabled = true;
6338
6335
  }
6339
6336
  if (currentYear === minYear) {
6340
- if (currentWeek <= minWeek) {
6337
+ if (currentWeek < minWeek) {
6341
6338
  disabled = true;
6342
6339
  }
6343
6340
  }
@@ -6349,7 +6346,7 @@ var WeekDatepicker = ({
6349
6346
  disabled = true;
6350
6347
  }
6351
6348
  if (currentYear === maxYear) {
6352
- if (currentWeek >= maxWeek) {
6349
+ if (currentWeek > maxWeek) {
6353
6350
  disabled = true;
6354
6351
  }
6355
6352
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shoplflow/base",
3
- "version": "0.39.2",
3
+ "version": "0.40.1",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/index.js",