@secondstaxorg/sscomp 1.8.28 → 1.8.31

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.js CHANGED
@@ -17256,6 +17256,7 @@ const CalendarContainer$1 = styled.div`
17256
17256
  .previous-month-day,.next-month-day,.past-day,.future-day,.min-year,.max-year,.disabled-month,.disabled-year{
17257
17257
  color: ${theme.colors["neutral-200"]};
17258
17258
  cursor: default;
17259
+ background: none;
17259
17260
  &:hover{
17260
17261
  background: none;
17261
17262
  }
@@ -17268,6 +17269,7 @@ const CalendarContainer$1 = styled.div`
17268
17269
  .selected-day,.selected-day:hover,.selected-year,.selected-year:hover{
17269
17270
  background: ${theme.colors["neutral-900"]} !important;
17270
17271
  color: #ffffff;
17272
+ border-radius: 30px;
17271
17273
  }
17272
17274
  .current-day{
17273
17275
  font-weight: bold;
@@ -17329,6 +17331,13 @@ const DatePicker = (props) => {
17329
17331
 
17330
17332
  const calendarRef = React$1.useRef(null);
17331
17333
 
17334
+ React$1.useEffect(()=>{
17335
+ console.log('past days',disablePastDays);
17336
+ console.log('future days',disableFutureDays);
17337
+ console.log('numInFYears',numInvalidFutureYears);
17338
+ console.log('numInPYears',numInvalidPastYears);
17339
+ },[]);
17340
+
17332
17341
  React$1.useEffect(() => {
17333
17342
  if (value) {
17334
17343
  setSelectedDate(value);
@@ -17389,21 +17398,21 @@ const DatePicker = (props) => {
17389
17398
  };
17390
17399
 
17391
17400
  return (
17392
- React$1.createElement('div', { style: style, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 91}}
17401
+ React$1.createElement('div', { style: style, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 98}}
17393
17402
  , label &&
17394
- React$1.createElement(InputLabel$9, {__self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 93}}
17395
- , React$1.createElement('label', { className: "paragraph2Medium", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 94}}, label)
17396
- , subtext && React$1.createElement('span', { className: "paragraph1Regular", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 95}}, subtext)
17403
+ React$1.createElement(InputLabel$9, {__self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 100}}
17404
+ , React$1.createElement('label', { className: "paragraph2Medium", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 101}}, label)
17405
+ , subtext && React$1.createElement('span', { className: "paragraph1Regular", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 102}}, subtext)
17397
17406
  )
17398
17407
 
17399
17408
  , React$1.createElement(DatePickerContainer, { ref: calendarRef, className: `date-field ${validationStatus}`,
17400
- style: {width: width ? width : '100%'}, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 98}}
17401
- , React$1.createElement(InputField$5, { className: `${validationStatus} ${isCalendarOpen ? 'focused' : ''}`, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 100}}
17409
+ style: {width: width ? width : '100%'}, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 105}}
17410
+ , React$1.createElement(InputField$5, { className: `${validationStatus} ${isCalendarOpen ? 'focused' : ''}`, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 107}}
17402
17411
  , React$1.createElement('input', { type: "text", className: "sr-only", required: required,
17403
17412
  value: !selectedDate ? '' : selectedDate , onChange: () => {
17404
17413
  }, onInvalid: () => {
17405
17414
  setValidationStatus('error');
17406
- }, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 101}})
17415
+ }, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 108}})
17407
17416
  , React$1.createElement('input', {
17408
17417
  type: "text",
17409
17418
  value: selectedDate ? selectedDate.toLocaleDateString('en-GB', options) : '',
@@ -17417,7 +17426,7 @@ const DatePicker = (props) => {
17417
17426
  if (required && !selectedDate) {
17418
17427
  setValidationStatus('error');
17419
17428
  }
17420
- }, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 106}}
17429
+ }, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 113}}
17421
17430
  )
17422
17431
  , React$1.createElement('button', { type: "button", onClick: () => {
17423
17432
  if (isCalendarOpen) {
@@ -17425,36 +17434,36 @@ const DatePicker = (props) => {
17425
17434
  setIsCalendarOpen(false);
17426
17435
  }, 50);
17427
17436
  }
17428
- }, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 121}}
17437
+ }, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 128}}
17429
17438
  /*calendar icon*/
17430
- , React$1.createElement('svg', { width: "21", height: "22", viewBox: "0 0 21 22" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 129}}
17439
+ , React$1.createElement('svg', { width: "21", height: "22", viewBox: "0 0 21 22" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 136}}
17431
17440
  , React$1.createElement('path', {
17432
17441
  d: "M10.5 18C10.6978 18 10.8911 17.9414 11.0556 17.8315C11.22 17.7216 11.3482 17.5654 11.4239 17.3827C11.4996 17.2 11.5194 16.9989 11.4808 16.8049C11.4422 16.6109 11.347 16.4327 11.2071 16.2929C11.0673 16.153 10.8891 16.0578 10.6951 16.0192C10.5011 15.9806 10.3 16.0004 10.1173 16.0761C9.93459 16.1518 9.77841 16.28 9.66853 16.4444C9.55865 16.6089 9.5 16.8022 9.5 17C9.5 17.2652 9.60536 17.5196 9.79289 17.7071C9.98043 17.8946 10.2348 18 10.5 18ZM15.5 18C15.6978 18 15.8911 17.9414 16.0556 17.8315C16.22 17.7216 16.3482 17.5654 16.4239 17.3827C16.4996 17.2 16.5194 16.9989 16.4808 16.8049C16.4422 16.6109 16.347 16.4327 16.2071 16.2929C16.0673 16.153 15.8891 16.0578 15.6951 16.0192C15.5011 15.9806 15.3 16.0004 15.1173 16.0761C14.9346 16.1518 14.7784 16.28 14.6685 16.4444C14.5586 16.6089 14.5 16.8022 14.5 17C14.5 17.2652 14.6054 17.5196 14.7929 17.7071C14.9804 17.8946 15.2348 18 15.5 18ZM15.5 14C15.6978 14 15.8911 13.9414 16.0556 13.8315C16.22 13.7216 16.3482 13.5654 16.4239 13.3827C16.4996 13.2 16.5194 12.9989 16.4808 12.8049C16.4422 12.6109 16.347 12.4327 16.2071 12.2929C16.0673 12.153 15.8891 12.0578 15.6951 12.0192C15.5011 11.9806 15.3 12.0004 15.1173 12.0761C14.9346 12.1518 14.7784 12.28 14.6685 12.4444C14.5586 12.6089 14.5 12.8022 14.5 13C14.5 13.2652 14.6054 13.5196 14.7929 13.7071C14.9804 13.8946 15.2348 14 15.5 14ZM10.5 14C10.6978 14 10.8911 13.9414 11.0556 13.8315C11.22 13.7216 11.3482 13.5654 11.4239 13.3827C11.4996 13.2 11.5194 12.9989 11.4808 12.8049C11.4422 12.6109 11.347 12.4327 11.2071 12.2929C11.0673 12.153 10.8891 12.0578 10.6951 12.0192C10.5011 11.9806 10.3 12.0004 10.1173 12.0761C9.93459 12.1518 9.77841 12.28 9.66853 12.4444C9.55865 12.6089 9.5 12.8022 9.5 13C9.5 13.2652 9.60536 13.5196 9.79289 13.7071C9.98043 13.8946 10.2348 14 10.5 14ZM17.5 2H16.5V1C16.5 0.734784 16.3946 0.48043 16.2071 0.292893C16.0196 0.105357 15.7652 0 15.5 0C15.2348 0 14.9804 0.105357 14.7929 0.292893C14.6054 0.48043 14.5 0.734784 14.5 1V2H6.5V1C6.5 0.734784 6.39464 0.48043 6.20711 0.292893C6.01957 0.105357 5.76522 0 5.5 0C5.23478 0 4.98043 0.105357 4.79289 0.292893C4.60536 0.48043 4.5 0.734784 4.5 1V2H3.5C2.70435 2 1.94129 2.31607 1.37868 2.87868C0.816071 3.44129 0.5 4.20435 0.5 5V19C0.5 19.7956 0.816071 20.5587 1.37868 21.1213C1.94129 21.6839 2.70435 22 3.5 22H17.5C18.2956 22 19.0587 21.6839 19.6213 21.1213C20.1839 20.5587 20.5 19.7956 20.5 19V5C20.5 4.20435 20.1839 3.44129 19.6213 2.87868C19.0587 2.31607 18.2956 2 17.5 2ZM18.5 19C18.5 19.2652 18.3946 19.5196 18.2071 19.7071C18.0196 19.8946 17.7652 20 17.5 20H3.5C3.23478 20 2.98043 19.8946 2.79289 19.7071C2.60536 19.5196 2.5 19.2652 2.5 19V10H18.5V19ZM18.5 8H2.5V5C2.5 4.73478 2.60536 4.48043 2.79289 4.29289C2.98043 4.10536 3.23478 4 3.5 4H4.5V5C4.5 5.26522 4.60536 5.51957 4.79289 5.70711C4.98043 5.89464 5.23478 6 5.5 6C5.76522 6 6.01957 5.89464 6.20711 5.70711C6.39464 5.51957 6.5 5.26522 6.5 5V4H14.5V5C14.5 5.26522 14.6054 5.51957 14.7929 5.70711C14.9804 5.89464 15.2348 6 15.5 6C15.7652 6 16.0196 5.89464 16.2071 5.70711C16.3946 5.51957 16.5 5.26522 16.5 5V4H17.5C17.7652 4 18.0196 4.10536 18.2071 4.29289C18.3946 4.48043 18.5 4.73478 18.5 5V8ZM5.5 14C5.69778 14 5.89112 13.9414 6.05557 13.8315C6.22002 13.7216 6.34819 13.5654 6.42388 13.3827C6.49957 13.2 6.51937 12.9989 6.48079 12.8049C6.4422 12.6109 6.34696 12.4327 6.20711 12.2929C6.06725 12.153 5.88907 12.0578 5.69509 12.0192C5.50111 11.9806 5.30004 12.0004 5.11732 12.0761C4.93459 12.1518 4.77841 12.28 4.66853 12.4444C4.55865 12.6089 4.5 12.8022 4.5 13C4.5 13.2652 4.60536 13.5196 4.79289 13.7071C4.98043 13.8946 5.23478 14 5.5 14ZM5.5 18C5.69778 18 5.89112 17.9414 6.05557 17.8315C6.22002 17.7216 6.34819 17.5654 6.42388 17.3827C6.49957 17.2 6.51937 16.9989 6.48079 16.8049C6.4422 16.6109 6.34696 16.4327 6.20711 16.2929C6.06725 16.153 5.88907 16.0578 5.69509 16.0192C5.50111 15.9806 5.30004 16.0004 5.11732 16.0761C4.93459 16.1518 4.77841 16.28 4.66853 16.4444C4.55865 16.6089 4.5 16.8022 4.5 17C4.5 17.2652 4.60536 17.5196 4.79289 17.7071C4.98043 17.8946 5.23478 18 5.5 18Z" ,
17433
- fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 130}})
17442
+ fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 137}})
17434
17443
  )
17435
17444
  )
17436
17445
  )
17437
17446
  , isCalendarOpen && (
17438
- React$1.createElement(CalendarSheet, {__self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 137}}
17447
+ React$1.createElement(CalendarSheet, {__self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 144}}
17439
17448
  , React$1.createElement(Calendar, { onChange: (e) => {
17440
17449
  handleDateChange(e);
17441
17450
  setValidationStatus('success');
17442
17451
  }, selected: selectedDate, disablePastDaysProp: !!disablePastDays,
17443
17452
  disableFutureDaysProp: !!disableFutureDays,
17444
17453
  numInvalidPastYearsProp: numInvalidPastYears,
17445
- numInvalidFutureYearsProp: numInvalidFutureYears, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 138}}
17454
+ numInvalidFutureYearsProp: numInvalidFutureYears, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 145}}
17446
17455
  )
17447
17456
  )
17448
17457
  )
17449
17458
  , required && validationStatus === 'error' &&
17450
- React$1.createElement(ErrorMessage$5, {__self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 149}}
17459
+ React$1.createElement(ErrorMessage$5, {__self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 156}}
17451
17460
  /*exclamation-triangle*/
17452
- , React$1.createElement('svg', { width: "16", height: "14", viewBox: "0 0 16 14" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 151}}
17461
+ , React$1.createElement('svg', { width: "16", height: "14", viewBox: "0 0 16 14" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 158}}
17453
17462
  , React$1.createElement('path', {
17454
17463
  d: "M8.00006 9.66669C7.86821 9.66669 7.73931 9.70578 7.62968 9.77904C7.52005 9.85229 7.4346 9.95641 7.38414 10.0782C7.33368 10.2 7.32048 10.3341 7.3462 10.4634C7.37193 10.5927 7.43542 10.7115 7.52866 10.8048C7.62189 10.898 7.74068 10.9615 7.87 10.9872C7.99932 11.0129 8.13336 10.9997 8.25518 10.9493C8.377 10.8988 8.48112 10.8134 8.55437 10.7037C8.62763 10.5941 8.66673 10.4652 8.66673 10.3334C8.66673 10.1565 8.59649 9.98697 8.47146 9.86195C8.34644 9.73692 8.17687 9.66669 8.00006 9.66669ZM15.1134 10.6467L9.74673 1.31335C9.57326 1.00236 9.31992 0.743323 9.01285 0.562997C8.70579 0.382672 8.35615 0.287598 8.00006 0.287598C7.64396 0.287598 7.29433 0.382672 6.98726 0.562997C6.6802 0.743323 6.42686 1.00236 6.25339 1.31335L0.92006 10.6467C0.74059 10.9494 0.644155 11.294 0.640489 11.6459C0.636824 11.9978 0.726058 12.3444 0.899184 12.6507C1.07231 12.9571 1.3232 13.2123 1.62652 13.3907C1.92984 13.5691 2.27485 13.6643 2.62673 13.6667H13.3734C13.7281 13.6702 14.0773 13.5793 14.3853 13.4033C14.6933 13.2273 14.949 12.9726 15.126 12.6652C15.3031 12.3579 15.3953 12.009 15.3931 11.6542C15.3908 11.2995 15.2943 10.9518 15.1134 10.6467ZM13.9601 11.98C13.9016 12.084 13.8164 12.1704 13.7132 12.2302C13.61 12.29 13.4927 12.321 13.3734 12.32H2.62673C2.50747 12.321 2.39013 12.29 2.28694 12.2302C2.18375 12.1704 2.0985 12.084 2.04006 11.98C1.98155 11.8787 1.95074 11.7637 1.95074 11.6467C1.95074 11.5297 1.98155 11.4147 2.04006 11.3134L7.37339 1.98002C7.42934 1.87082 7.51433 1.77917 7.61902 1.71518C7.72371 1.65119 7.84403 1.61733 7.96673 1.61733C8.08942 1.61733 8.20974 1.65119 8.31443 1.71518C8.41912 1.77917 8.50411 1.87082 8.56006 1.98002L13.9267 11.3134C13.9929 11.4132 14.0309 11.5291 14.0367 11.6488C14.0426 11.7684 14.0161 11.8875 13.9601 11.9934V11.98ZM8.00006 4.33335C7.82325 4.33335 7.65368 4.40359 7.52866 4.52861C7.40363 4.65364 7.33339 4.82321 7.33339 5.00002V7.66669C7.33339 7.8435 7.40363 8.01307 7.52866 8.13809C7.65368 8.26311 7.82325 8.33335 8.00006 8.33335C8.17687 8.33335 8.34644 8.26311 8.47146 8.13809C8.59649 8.01307 8.66673 7.8435 8.66673 7.66669V5.00002C8.66673 4.82321 8.59649 4.65364 8.47146 4.52861C8.34644 4.40359 8.17687 4.33335 8.00006 4.33335Z" ,
17455
- fill: "#F80000", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 152}})
17464
+ fill: "#F80000", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 159}})
17456
17465
  )
17457
- , React$1.createElement('span', { className: "paragraph1Regular", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 156}}, "This field is required" )
17466
+ , React$1.createElement('span', { className: "paragraph1Regular", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 163}}, "This field is required" )
17458
17467
  )
17459
17468
 
17460
17469
  )
@@ -17562,7 +17571,7 @@ const Calendar = ({onChange,selected,disablePastDaysProp,disableFutureDaysProp,n
17562
17571
  for (let i = firstDay - 1; i >= 0; i--) {
17563
17572
  const day = daysInPreviousMonth - i;
17564
17573
  days.push(
17565
- React$1.createElement('div', { key: `previous-day-${day}`, className: "calendar-day previous-month-day paragraph1Regular" , __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 264}}
17574
+ React$1.createElement('div', { key: `previous-day-${day}`, className: "calendar-day previous-month-day paragraph1Regular" , __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 271}}
17566
17575
  , day
17567
17576
  )
17568
17577
  );
@@ -17611,7 +17620,7 @@ const Calendar = ({onChange,selected,disablePastDaysProp,disableFutureDaysProp,n
17611
17620
  React$1.createElement('div', {
17612
17621
  key: `current-day-${day}`,
17613
17622
  className: `calendar-day paragraph1Regular ${dayClassName}`,
17614
- onClick: handleClick, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 310}}
17623
+ onClick: handleClick, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 317}}
17615
17624
 
17616
17625
  , day
17617
17626
  )
@@ -17622,7 +17631,7 @@ const Calendar = ({onChange,selected,disablePastDaysProp,disableFutureDaysProp,n
17622
17631
  const remainingDays = (7 - (days.length % 7)) % 7;
17623
17632
  for (let day = 1; day <= remainingDays; day++) {
17624
17633
  days.push(
17625
- React$1.createElement('div', { key: `next-day-${day}`, className: "calendar-day next-month-day paragraph1Regular" , __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 324}}
17634
+ React$1.createElement('div', { key: `next-day-${day}`, className: "calendar-day next-month-day paragraph1Regular" , __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 331}}
17626
17635
  , day
17627
17636
  )
17628
17637
  );
@@ -17669,14 +17678,14 @@ const Calendar = ({onChange,selected,disablePastDaysProp,disableFutureDaysProp,n
17669
17678
  if(disableFutureMonth(i) == 'disabled-month') return
17670
17679
  if (disablePastMonth(i) == 'disabled-month') return
17671
17680
  handleSelectMonth(i);
17672
- }, className: `paragraph1Regular ${disablePastMonth(i) || disableFutureMonth(i) || 'month-option'}`, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 367}}
17681
+ }, className: `paragraph1Regular ${disablePastMonth(i) || disableFutureMonth(i) || 'month-option'}`, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 374}}
17673
17682
  , monthsOfYear[i]
17674
17683
  )
17675
17684
  );
17676
17685
  }
17677
17686
 
17678
17687
  return (
17679
- React$1.createElement('div', { className: "month-options", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 378}}, months)
17688
+ React$1.createElement('div', { className: "month-options", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 385}}, months)
17680
17689
  )
17681
17690
  };
17682
17691
 
@@ -17700,6 +17709,25 @@ const Calendar = ({onChange,selected,disablePastDaysProp,disableFutureDaysProp,n
17700
17709
  }
17701
17710
  }
17702
17711
 
17712
+ function disableInvalidFutureYears(year){
17713
+ const valFtrYr = new Date().getFullYear() + numInvalidFutureYearsProp; //valid future year
17714
+
17715
+ if (year <= valFtrYr){
17716
+ return 'disabled-year'
17717
+ }else {
17718
+ return ''
17719
+ }
17720
+ }
17721
+
17722
+ function disableInvalidPastYears(year){
17723
+ const valFtrYr = new Date().getFullYear() - numInvalidPastYearsProp; //valid future year
17724
+ if (year >= valFtrYr){
17725
+ return 'disabled-year'
17726
+ }else {
17727
+ return ''
17728
+ }
17729
+ }
17730
+
17703
17731
 
17704
17732
  for (let year = currentYear - 10; year <= currentYear + 10; year++) {
17705
17733
  const selectedClass = year === currentDate.getFullYear() ? ' selected-year' : '';
@@ -17707,100 +17735,102 @@ const Calendar = ({onChange,selected,disablePastDaysProp,disableFutureDaysProp,n
17707
17735
  React$1.createElement('div', { key: year, onClick: () => {
17708
17736
  if (disablePastYear(year) == 'disabled-year') return
17709
17737
  if (disableFutureYear(year) == 'disabled-year') return
17738
+ if (disableInvalidPastYears(year) == 'disabled-year') return
17739
+ if (disableInvalidFutureYears(year) == 'disabled-year') return
17710
17740
  handleSelectYear(year);
17711
- }, className: `paragraph1Regular ${disablePastYear(year) || disableFutureYear(year) || 'year-option'}${selectedClass}`, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 406}}
17741
+ }, className: `paragraph1Regular ${disablePastYear(year) || disableFutureYear(year) || disableInvalidFutureYears(year) ||disableInvalidPastYears(year) || 'year-option'}${selectedClass}`, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 432}}
17712
17742
  , year
17713
17743
  )
17714
17744
  );
17715
17745
  }
17716
17746
 
17717
17747
  return (
17718
- React$1.createElement('div', { className: "year-picker", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 417}}
17719
- , React$1.createElement('div', { className: "year-options", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 418}}, years)
17748
+ React$1.createElement('div', { className: "year-picker", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 445}}
17749
+ , React$1.createElement('div', { className: "year-options", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 446}}, years)
17720
17750
  )
17721
17751
  )
17722
17752
  };
17723
17753
 
17724
17754
  return (
17725
- React$1.createElement(CalendarContainer$1, { className: "calendar-flyout", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 424}}
17726
- , React$1.createElement('div', { className: "header", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 425}}
17755
+ React$1.createElement(CalendarContainer$1, { className: "calendar-flyout", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 452}}
17756
+ , React$1.createElement('div', { className: "header", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 453}}
17727
17757
  , !calendarView && !monthPickerView &&
17728
- React$1.createElement('button', { type: "button", onClick: handlePreviousYear, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 427}}
17758
+ React$1.createElement('button', { type: "button", onClick: handlePreviousYear, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 455}}
17729
17759
  /*circle arrow left*/
17730
- , React$1.createElement('svg', { width: "20", height: "20", viewBox: "0 0 20 20" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 429}}
17760
+ , React$1.createElement('svg', { width: "20", height: "20", viewBox: "0 0 20 20" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 457}}
17731
17761
  , React$1.createElement('path', {
17732
17762
  d: "M6.29 9.29C6.19896 9.3851 6.12759 9.49725 6.08 9.62C5.97998 9.86346 5.97998 10.1365 6.08 10.38C6.12759 10.5028 6.19896 10.6149 6.29 10.71L9.29 13.71C9.4783 13.8983 9.7337 14.0041 10 14.0041C10.2663 14.0041 10.5217 13.8983 10.71 13.71C10.8983 13.5217 11.0041 13.2663 11.0041 13C11.0041 12.7337 10.8983 12.4783 10.71 12.29L9.41 11H13C13.2652 11 13.5196 10.8946 13.7071 10.7071C13.8946 10.5196 14 10.2652 14 10C14 9.73478 13.8946 9.48043 13.7071 9.29289C13.5196 9.10536 13.2652 9 13 9H9.41L10.71 7.71C10.8037 7.61704 10.8781 7.50644 10.9289 7.38458C10.9797 7.26272 11.0058 7.13201 11.0058 7C11.0058 6.86799 10.9797 6.73728 10.9289 6.61542C10.8781 6.49356 10.8037 6.38296 10.71 6.29C10.617 6.19627 10.5064 6.12188 10.3846 6.07111C10.2627 6.02034 10.132 5.9942 10 5.9942C9.86799 5.9942 9.73728 6.02034 9.61542 6.07111C9.49356 6.12188 9.38296 6.19627 9.29 6.29L6.29 9.29ZM0 10C0 11.9778 0.58649 13.9112 1.6853 15.5557C2.78412 17.2002 4.3459 18.4819 6.17317 19.2388C8.00043 19.9957 10.0111 20.1937 11.9509 19.8079C13.8907 19.422 15.6725 18.4696 17.0711 17.0711C18.4696 15.6725 19.422 13.8907 19.8079 11.9509C20.1937 10.0111 19.9957 8.00043 19.2388 6.17317C18.4819 4.3459 17.2002 2.78412 15.5557 1.6853C13.9112 0.58649 11.9778 0 10 0C8.68678 0 7.38642 0.258658 6.17317 0.761205C4.95991 1.26375 3.85752 2.00035 2.92893 2.92893C1.05357 4.8043 0 7.34784 0 10ZM18 10C18 11.5823 17.5308 13.129 16.6518 14.4446C15.7727 15.7602 14.5233 16.7855 13.0615 17.391C11.5997 17.9965 9.99113 18.155 8.43928 17.8463C6.88743 17.5376 5.46197 16.7757 4.34315 15.6569C3.22433 14.538 2.4624 13.1126 2.15372 11.5607C1.84504 10.0089 2.00346 8.40034 2.60896 6.93853C3.21447 5.47672 4.23984 4.22729 5.55544 3.34824C6.87103 2.46919 8.41775 2 10 2C12.1217 2 14.1566 2.84285 15.6569 4.34315C17.1571 5.84344 18 7.87827 18 10Z" ,
17733
- fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 430}})
17763
+ fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 458}})
17734
17764
  )
17735
17765
  )
17736
17766
 
17737
17767
  , calendarView &&
17738
- React$1.createElement('button', { type: "button", onClick: handlePreviousMonth, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 437}}
17768
+ React$1.createElement('button', { type: "button", onClick: handlePreviousMonth, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 465}}
17739
17769
  /*left angle*/
17740
- , React$1.createElement('svg', { width: "8", height: "12", viewBox: "0 0 8 12" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 439}}
17770
+ , React$1.createElement('svg', { width: "8", height: "12", viewBox: "0 0 8 12" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 467}}
17741
17771
  , React$1.createElement('path', {
17742
17772
  d: "M3.28982 5.99995L6.82982 2.45995C7.01607 2.27259 7.12061 2.01913 7.12061 1.75495C7.12061 1.49076 7.01607 1.23731 6.82982 1.04995C6.73686 0.95622 6.62626 0.881826 6.5044 0.831057C6.38254 0.780288 6.25183 0.75415 6.11982 0.75415C5.98781 0.75415 5.8571 0.780288 5.73524 0.831057C5.61339 0.881826 5.50278 0.95622 5.40982 1.04995L1.16982 5.28995C1.07609 5.38291 1.0017 5.49351 0.950931 5.61537C0.900162 5.73723 0.874023 5.86794 0.874023 5.99995C0.874023 6.13196 0.900162 6.26267 0.950931 6.38453C1.0017 6.50638 1.07609 6.61699 1.16982 6.70995L5.40982 10.9999C5.50326 11.0926 5.61408 11.166 5.73592 11.2157C5.85775 11.2655 5.98821 11.2907 6.11982 11.2899C6.25143 11.2907 6.38189 11.2655 6.50373 11.2157C6.62557 11.166 6.73638 11.0926 6.82982 10.9999C7.01607 10.8126 7.12061 10.5591 7.12061 10.2949C7.12061 10.0308 7.01607 9.77731 6.82982 9.58995L3.28982 5.99995Z" ,
17743
- fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 440}})
17773
+ fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 468}})
17744
17774
  )
17745
17775
  )
17746
17776
 
17747
- , React$1.createElement('div', { className: "month-year-area", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 446}}
17777
+ , React$1.createElement('div', { className: "month-year-area", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 474}}
17748
17778
  , monthPickerView &&
17749
- React$1.createElement('button', { type: "button", className: "month-cls-btn", onClick: toggleMonthPicker, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 448}}
17779
+ React$1.createElement('button', { type: "button", className: "month-cls-btn", onClick: toggleMonthPicker, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 476}}
17750
17780
  /*times-icon*/
17751
- , React$1.createElement('svg', { width: "24", height: "24", viewBox: "0 0 24 24" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 450}}
17752
- , React$1.createElement('path', { d: "M13.4099 11.9999L17.7099 7.70994C17.8982 7.52164 18.004 7.26624 18.004 6.99994C18.004 6.73364 17.8982 6.47825 17.7099 6.28994C17.5216 6.10164 17.2662 5.99585 16.9999 5.99585C16.7336 5.99585 16.4782 6.10164 16.2899 6.28994L11.9999 10.5899L7.70994 6.28994C7.52164 6.10164 7.26624 5.99585 6.99994 5.99585C6.73364 5.99585 6.47824 6.10164 6.28994 6.28994C6.10164 6.47825 5.99585 6.73364 5.99585 6.99994C5.99585 7.26624 6.10164 7.52164 6.28994 7.70994L10.5899 11.9999L6.28994 16.2899C6.19621 16.3829 6.12182 16.4935 6.07105 16.6154C6.02028 16.7372 5.99414 16.8679 5.99414 16.9999C5.99414 17.132 6.02028 17.2627 6.07105 17.3845C6.12182 17.5064 6.19621 17.617 6.28994 17.7099C6.3829 17.8037 6.4935 17.8781 6.61536 17.9288C6.73722 17.9796 6.86793 18.0057 6.99994 18.0057C7.13195 18.0057 7.26266 17.9796 7.38452 17.9288C7.50638 17.8781 7.61698 17.8037 7.70994 17.7099L11.9999 13.4099L16.2899 17.7099C16.3829 17.8037 16.4935 17.8781 16.6154 17.9288C16.7372 17.9796 16.8679 18.0057 16.9999 18.0057C17.132 18.0057 17.2627 17.9796 17.3845 17.9288C17.5064 17.8781 17.617 17.8037 17.7099 17.7099C17.8037 17.617 17.8781 17.5064 17.9288 17.3845C17.9796 17.2627 18.0057 17.132 18.0057 16.9999C18.0057 16.8679 17.9796 16.7372 17.9288 16.6154C17.8781 16.4935 17.8037 16.3829 17.7099 16.2899L13.4099 11.9999Z" , fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 451}})
17781
+ , React$1.createElement('svg', { width: "24", height: "24", viewBox: "0 0 24 24" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 478}}
17782
+ , React$1.createElement('path', { d: "M13.4099 11.9999L17.7099 7.70994C17.8982 7.52164 18.004 7.26624 18.004 6.99994C18.004 6.73364 17.8982 6.47825 17.7099 6.28994C17.5216 6.10164 17.2662 5.99585 16.9999 5.99585C16.7336 5.99585 16.4782 6.10164 16.2899 6.28994L11.9999 10.5899L7.70994 6.28994C7.52164 6.10164 7.26624 5.99585 6.99994 5.99585C6.73364 5.99585 6.47824 6.10164 6.28994 6.28994C6.10164 6.47825 5.99585 6.73364 5.99585 6.99994C5.99585 7.26624 6.10164 7.52164 6.28994 7.70994L10.5899 11.9999L6.28994 16.2899C6.19621 16.3829 6.12182 16.4935 6.07105 16.6154C6.02028 16.7372 5.99414 16.8679 5.99414 16.9999C5.99414 17.132 6.02028 17.2627 6.07105 17.3845C6.12182 17.5064 6.19621 17.617 6.28994 17.7099C6.3829 17.8037 6.4935 17.8781 6.61536 17.9288C6.73722 17.9796 6.86793 18.0057 6.99994 18.0057C7.13195 18.0057 7.26266 17.9796 7.38452 17.9288C7.50638 17.8781 7.61698 17.8037 7.70994 17.7099L11.9999 13.4099L16.2899 17.7099C16.3829 17.8037 16.4935 17.8781 16.6154 17.9288C16.7372 17.9796 16.8679 18.0057 16.9999 18.0057C17.132 18.0057 17.2627 17.9796 17.3845 17.9288C17.5064 17.8781 17.617 17.8037 17.7099 17.7099C17.8037 17.617 17.8781 17.5064 17.9288 17.3845C17.9796 17.2627 18.0057 17.132 18.0057 16.9999C18.0057 16.8679 17.9796 16.7372 17.9288 16.6154C17.8781 16.4935 17.8037 16.3829 17.7099 16.2899L13.4099 11.9999Z" , fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 479}})
17753
17783
  )
17754
17784
  )
17755
17785
 
17756
- , React$1.createElement('div', { className: "month-year-btn-container", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 455}}
17757
- , React$1.createElement('button', { type: "button", className: "month-year", onClick: toggleYearPicker, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 456}}
17786
+ , React$1.createElement('div', { className: "month-year-btn-container", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 483}}
17787
+ , React$1.createElement('button', { type: "button", className: "month-year", onClick: toggleYearPicker, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 484}}
17758
17788
  , currentDate.toLocaleString('en-us', {month: 'long', year: 'numeric'})
17759
17789
  /*{currentYear}*/
17760
17790
  , React$1.createElement('svg', { className: calendarView ? 'year-view' : '', width: "12", height: "8", viewBox: "0 0 12 8" ,
17761
- fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 459}}
17791
+ fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 487}}
17762
17792
  , React$1.createElement('path', {
17763
17793
  d: "M11 1.17C10.8126 0.983753 10.5592 0.879211 10.295 0.879211C10.0308 0.879211 9.77737 0.983753 9.59001 1.17L6.00001 4.71L2.46001 1.17C2.27265 0.983753 2.0192 0.879211 1.75501 0.879211C1.49082 0.879211 1.23737 0.983753 1.05001 1.17C0.956281 1.26297 0.881887 1.37357 0.831118 1.49543C0.780349 1.61729 0.754211 1.74799 0.754211 1.88C0.754211 2.01202 0.780349 2.14272 0.831118 2.26458C0.881887 2.38644 0.956281 2.49704 1.05001 2.59L5.29001 6.83C5.38297 6.92373 5.49357 6.99813 5.61543 7.04889C5.73729 7.09966 5.868 7.1258 6.00001 7.1258C6.13202 7.1258 6.26273 7.09966 6.38459 7.04889C6.50645 6.99813 6.61705 6.92373 6.71001 6.83L11 2.59C11.0937 2.49704 11.1681 2.38644 11.2189 2.26458C11.2697 2.14272 11.2958 2.01202 11.2958 1.88C11.2958 1.74799 11.2697 1.61729 11.2189 1.49543C11.1681 1.37357 11.0937 1.26297 11 1.17Z" ,
17764
- fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 461}})
17794
+ fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 489}})
17765
17795
  )
17766
17796
  )
17767
17797
  )
17768
17798
  )
17769
17799
  , calendarView &&
17770
- React$1.createElement('button', { type: "button", onClick: handleNextMonth, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 469}}
17800
+ React$1.createElement('button', { type: "button", onClick: handleNextMonth, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 497}}
17771
17801
  /*right angle*/
17772
- , React$1.createElement('svg', { width: "8", height: "12", viewBox: "0 0 8 12" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 471}}
17802
+ , React$1.createElement('svg', { width: "8", height: "12", viewBox: "0 0 8 12" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 499}}
17773
17803
  , React$1.createElement('path', {
17774
17804
  d: "M6.83019 5.28995L2.59019 1.04995C2.49722 0.95622 2.38662 0.881826 2.26476 0.831057C2.1429 0.780288 2.0122 0.75415 1.88019 0.75415C1.74818 0.75415 1.61747 0.780288 1.49561 0.831057C1.37375 0.881826 1.26315 0.95622 1.17019 1.04995C0.983936 1.23731 0.879395 1.49076 0.879395 1.75495C0.879395 2.01913 0.983936 2.27259 1.17019 2.45995L4.71019 5.99995L1.17019 9.53995C0.983936 9.72731 0.879395 9.98076 0.879395 10.2449C0.879395 10.5091 0.983936 10.7626 1.17019 10.9499C1.26363 11.0426 1.37444 11.116 1.49628 11.1657C1.61812 11.2155 1.74858 11.2407 1.88019 11.2399C2.01179 11.2407 2.14226 11.2155 2.26409 11.1657C2.38593 11.116 2.49675 11.0426 2.59019 10.9499L6.83019 6.70995C6.92392 6.61699 6.99831 6.50638 7.04908 6.38453C7.09985 6.26267 7.12599 6.13196 7.12599 5.99995C7.12599 5.86794 7.09985 5.73723 7.04908 5.61537C6.99831 5.49351 6.92392 5.38291 6.83019 5.28995Z" ,
17775
- fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 472}})
17805
+ fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 500}})
17776
17806
  )
17777
17807
  )
17778
17808
 
17779
17809
  , !calendarView && !monthPickerView &&
17780
- React$1.createElement('button', { type: "button", onClick: handleNextYear, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 479}}
17810
+ React$1.createElement('button', { type: "button", onClick: handleNextYear, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 507}}
17781
17811
  /*circle arrow right*/
17782
- , React$1.createElement('svg', { width: "20", height: "20", viewBox: "0 0 20 20" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 481}}
17812
+ , React$1.createElement('svg', { width: "20", height: "20", viewBox: "0 0 20 20" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 509}}
17783
17813
  , React$1.createElement('path', {
17784
17814
  d: "M13.71 10.71C13.801 10.6149 13.8724 10.5028 13.92 10.38C14.02 10.1365 14.02 9.86347 13.92 9.62C13.8724 9.49725 13.801 9.38511 13.71 9.29L10.71 6.29C10.5217 6.1017 10.2663 5.99591 10 5.99591C9.7337 5.99591 9.47831 6.1017 9.29 6.29C9.1017 6.47831 8.99591 6.7337 8.99591 7C8.99591 7.26631 9.1017 7.5217 9.29 7.71L10.59 9H7C6.73479 9 6.48043 9.10536 6.2929 9.2929C6.10536 9.48043 6 9.73479 6 10C6 10.2652 6.10536 10.5196 6.2929 10.7071C6.48043 10.8946 6.73479 11 7 11H10.59L9.29 12.29C9.19628 12.383 9.12188 12.4936 9.07111 12.6154C9.02034 12.7373 8.99421 12.868 8.99421 13C8.99421 13.132 9.02034 13.2627 9.07111 13.3846C9.12188 13.5064 9.19628 13.617 9.29 13.71C9.38297 13.8037 9.49357 13.8781 9.61543 13.9289C9.73729 13.9797 9.86799 14.0058 10 14.0058C10.132 14.0058 10.2627 13.9797 10.3846 13.9289C10.5064 13.8781 10.617 13.8037 10.71 13.71L13.71 10.71ZM20 10C20 8.02219 19.4135 6.08879 18.3147 4.4443C17.2159 2.79981 15.6541 1.51809 13.8268 0.761209C11.9996 0.00433284 9.98891 -0.193701 8.0491 0.192152C6.10929 0.578004 4.32746 1.53041 2.92894 2.92894C1.53041 4.32746 0.578004 6.10929 0.192152 8.0491C-0.193701 9.98891 0.00433284 11.9996 0.761209 13.8268C1.51809 15.6541 2.79981 17.2159 4.4443 18.3147C6.08879 19.4135 8.02219 20 10 20C12.6522 20 15.1957 18.9464 17.0711 17.0711C18.9464 15.1957 20 12.6522 20 10ZM2 10C2 8.41775 2.4692 6.87104 3.34825 5.55544C4.2273 4.23985 5.47673 3.21447 6.93854 2.60897C8.40035 2.00347 10.0089 1.84504 11.5607 2.15372C13.1126 2.4624 14.538 3.22433 15.6569 4.34315C16.7757 5.46197 17.5376 6.88743 17.8463 8.43928C18.155 9.99113 17.9965 11.5997 17.391 13.0615C16.7855 14.5233 15.7602 15.7727 14.4446 16.6518C13.129 17.5308 11.5823 18 10 18C7.87827 18 5.84344 17.1572 4.34315 15.6569C2.84286 14.1566 2 12.1217 2 10Z" ,
17785
- fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 482}})
17815
+ fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 510}})
17786
17816
  )
17787
17817
  )
17788
17818
 
17789
17819
  )
17790
17820
  /*calendar view*/
17791
- , React$1.createElement('div', { style: {display: calendarView ? 'block ' : 'none'}, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 490}}
17792
- , React$1.createElement('div', { className: "weekdays", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 491}}
17821
+ , React$1.createElement('div', { style: {display: calendarView ? 'block ' : 'none'}, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 518}}
17822
+ , React$1.createElement('div', { className: "weekdays", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 519}}
17793
17823
  , daysOfWeek.map((day) => (
17794
- React$1.createElement('div', { key: day, className: "weekday", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 493}}
17824
+ React$1.createElement('div', { key: day, className: "weekday", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 521}}
17795
17825
  , day
17796
17826
  )
17797
17827
  ))
17798
17828
  )
17799
- , React$1.createElement('div', { className: "days", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 498}}, renderCalendar())
17829
+ , React$1.createElement('div', { className: "days", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 526}}, renderCalendar())
17800
17830
  )
17801
17831
 
17802
17832
  /*year picker*/
17803
- , React$1.createElement('div', { style: {display: !calendarView ? 'block' : 'none'}, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 502}}
17833
+ , React$1.createElement('div', { style: {display: !calendarView ? 'block' : 'none'}, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 530}}
17804
17834
  , monthPickerView && renderMonthPicker()
17805
17835
  , !monthPickerView && renderYearPicker(currentYear)
17806
17836
  )