@shoplflow/base 0.31.18 → 0.31.19

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
@@ -5068,6 +5068,9 @@ var getEachDateStyle = (props) => {
5068
5068
  };
5069
5069
  var getEachMonthAreaStyle = (props) => {
5070
5070
  const { inRange, isStart, isEnd, isReady, disabled } = props;
5071
+ if (isStart && isEnd) {
5072
+ return;
5073
+ }
5071
5074
  if (isStart && isReady && !isEnd) {
5072
5075
  return react$1.css`
5073
5076
  &::after {
@@ -5439,7 +5442,10 @@ var getEachDateStyle3 = (props) => {
5439
5442
  };
5440
5443
  var getEachWeekAreaStyle = (props) => {
5441
5444
  const { inRange, isStart, isEnd, isReady, disabled } = props;
5442
- if (isStart && isReady && !isEnd) {
5445
+ if (isStart && isEnd) {
5446
+ return;
5447
+ }
5448
+ if (isStart && isReady) {
5443
5449
  return react$1.css`
5444
5450
  &::after {
5445
5451
  content: '';