@secondstaxorg/sscomp 1.7.29 → 1.7.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
@@ -16436,7 +16436,7 @@ const DropdownIcon$2 = styled.div`
16436
16436
  `;
16437
16437
 
16438
16438
  const OptionsList$2 = styled.div`
16439
- z-index: 5;
16439
+ z-index: 10;
16440
16440
  border-radius: 8px;
16441
16441
  position: absolute;
16442
16442
  top: 55px;
@@ -16482,6 +16482,9 @@ const OptionsList$2 = styled.div`
16482
16482
  color:${theme.colors["neutral-900"]};
16483
16483
  background: white;
16484
16484
  }
16485
+ .search-field{
16486
+ background: #ffffff;
16487
+ }
16485
16488
  `;
16486
16489
 
16487
16490
  const DropdownOption$2 = styled.div`
@@ -17054,6 +17057,12 @@ const DatePickerContainer = styled.div`
17054
17057
  }
17055
17058
  `;
17056
17059
 
17060
+ const CalendarSheet = styled.div`
17061
+ position: absolute;
17062
+ margin-top: 4px;
17063
+ margin-bottom: 8px;
17064
+ z-index: 10;
17065
+ `;
17057
17066
  const InputField$3 = styled.div`
17058
17067
  border: 1px solid ${theme.colors["neutral-200"]};
17059
17068
  //width: 430px;
@@ -17112,7 +17121,7 @@ const InputField$3 = styled.div`
17112
17121
  `;
17113
17122
 
17114
17123
  const CalendarContainer$1 = styled.div`
17115
- background:#ffffff;
17124
+ background: #ffffff;
17116
17125
  padding: 16px;
17117
17126
  border-radius: 16px;
17118
17127
  /*max-width: 446px;
@@ -17120,116 +17129,120 @@ const CalendarContainer$1 = styled.div`
17120
17129
  width: 446px;
17121
17130
  box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.04);
17122
17131
  animation: openlist 0.2s ease-out;
17123
- transform-origin:top;
17124
- @keyframes openlist{
17125
- from{
17132
+ transform-origin: top;
17133
+ @keyframes openlist {
17134
+ from {
17126
17135
  transform: scaleY(0%);
17127
17136
  }
17128
- to{
17129
- transform:scaleY(100%);
17137
+ to {
17138
+ transform: scaleY(100%);
17130
17139
  }
17131
17140
  }
17132
- }
17133
- .header{
17134
- display: flex;
17135
- justify-content: space-between;
17136
- align-items: center;
17137
- margin-bottom: 10px;
17138
- }
17139
- .month-year{
17140
- width: 150px;
17141
- text-align: center;
17142
- font-weight: 500;
17143
- font-size: 16px;
17144
- cursor:pointer;
17145
- border-radius: 50px;
17146
- padding: 4px 0;
17147
- display: flex;
17148
- gap: 4px;
17149
- &:hover {
17150
- background: ${theme.colors["neutral-50"]};
17151
- }
17152
- svg {
17153
- transition: 0.3s ease-out;
17154
- -webkit-transform: rotate(-180deg);
17155
- transform: rotate(-180deg);
17156
- }
17157
- .year-view {
17158
- -webkit-transform: rotate(0deg);
17159
- transform: rotate(0deg);
17160
- }
17161
- }
17162
17141
 
17163
- button{
17164
- display: flex;
17165
- justify-content: center;
17166
- align-items: center;
17167
- height: 30px;
17168
- width: 30px;
17169
- }
17170
- .weekdays{
17171
- display: flex;
17172
- justify-content: center;
17173
- margin-bottom: 16px;
17174
- }
17175
- .weekday{
17176
- flex: 1 1 0;
17177
- text-align: center;
17178
- font-weight: 500;
17179
- }
17180
- .calendar-day{
17181
- text-align: center;
17182
- cursor:pointer;
17183
- width: 35px;
17184
- height: 35px;
17185
- display: flex;
17186
- justify-content: center;
17187
- align-items: center;
17188
- border-radius: 50%;
17189
- font-size: 14px;
17190
- &:hover{
17191
- background: ${theme.colors["neutral-50"]};
17192
- }
17193
- }
17194
- .previous-month-day,.next-month-day,.past-day,.future-day{
17195
- color: ${theme.colors["neutral-200"]};
17196
- cursor: default;
17197
- &:hover{
17198
- background: none;
17142
+ .header {
17143
+ display: flex;
17144
+ justify-content: space-between;
17145
+ align-items: center;
17146
+ margin-bottom: 10px;
17199
17147
  }
17200
- }
17201
- .days{
17202
- display: grid;
17203
- grid-template-columns: repeat(7, 1fr);
17204
- gap: 16px;
17205
- }
17206
- .selected-day,.selected-day:hover,.selected-year,.selected-year:hover{
17207
- background: ${theme.colors["neutral-900"]} !important;
17208
- color: #ffffff;
17209
- }
17210
- .current-day{
17211
- font-weight: bold;
17212
- }
17213
17148
 
17214
- //year selector
17215
- .year-options {
17216
- display: grid;
17217
- grid-template-columns: repeat(3, 1fr);
17218
- row-gap: 16px;
17219
- }
17149
+ .month-year {
17150
+ width: 150px;
17151
+ text-align: center;
17152
+ font-weight: 500;
17153
+ font-size: 16px;
17154
+ cursor: pointer;
17155
+ border-radius: 50px;
17156
+ padding: 4px 0;
17157
+ display: flex;
17158
+ gap: 4px;
17220
17159
 
17221
- .year-option {
17222
- text-align: center;
17223
- border-radius: 50px;
17224
- height: 35px;
17225
- display: flex;
17226
- justify-content: center;
17227
- align-items: center;
17228
- cursor: pointer;
17229
- &:hover {
17230
- background: ${theme.colors["neutral-50"]};
17160
+ &:hover {
17161
+ background: ${theme.colors["neutral-50"]};
17162
+ }
17163
+
17164
+ svg {
17165
+ transition: 0.3s ease-out;
17166
+ -webkit-transform: rotate(-180deg);
17167
+ transform: rotate(-180deg);
17168
+ }
17169
+
17170
+ .year-view {
17171
+ -webkit-transform: rotate(0deg);
17172
+ transform: rotate(0deg);
17173
+ }
17231
17174
  }
17232
- }
17175
+
17176
+ button{
17177
+ display: flex;
17178
+ justify-content: center;
17179
+ align-items: center;
17180
+ height: 30px;
17181
+ width: 30px;
17182
+ }
17183
+ .weekdays{
17184
+ display: flex;
17185
+ justify-content: center;
17186
+ margin-bottom: 16px;
17187
+ }
17188
+ .weekday{
17189
+ flex: 1 1 0;
17190
+ text-align: center;
17191
+ font-weight: 500;
17192
+ }
17193
+ .calendar-day{
17194
+ text-align: center;
17195
+ cursor:pointer;
17196
+ width: 35px;
17197
+ height: 35px;
17198
+ display: flex;
17199
+ justify-content: center;
17200
+ align-items: center;
17201
+ border-radius: 50%;
17202
+ font-size: 14px;
17203
+ &:hover{
17204
+ background: ${theme.colors["neutral-50"]};
17205
+ }
17206
+ }
17207
+ .previous-month-day,.next-month-day,.past-day,.future-day{
17208
+ color: ${theme.colors["neutral-200"]};
17209
+ cursor: default;
17210
+ &:hover{
17211
+ background: none;
17212
+ }
17213
+ }
17214
+ .days{
17215
+ display: grid;
17216
+ grid-template-columns: repeat(7, 1fr);
17217
+ gap: 16px;
17218
+ }
17219
+ .selected-day,.selected-day:hover,.selected-year,.selected-year:hover{
17220
+ background: ${theme.colors["neutral-900"]} !important;
17221
+ color: #ffffff;
17222
+ }
17223
+ .current-day{
17224
+ font-weight: bold;
17225
+ }
17226
+
17227
+ //year selector
17228
+ .year-options {
17229
+ display: grid;
17230
+ grid-template-columns: repeat(3, 1fr);
17231
+ row-gap: 16px;
17232
+ }
17233
+
17234
+ .year-option {
17235
+ text-align: center;
17236
+ border-radius: 50px;
17237
+ height: 35px;
17238
+ display: flex;
17239
+ justify-content: center;
17240
+ align-items: center;
17241
+ cursor: pointer;
17242
+ &:hover {
17243
+ background: ${theme.colors["neutral-50"]};
17244
+ }
17245
+ }
17233
17246
  `;
17234
17247
 
17235
17248
  const ErrorMessage$3 = styled.p`
@@ -17319,7 +17332,7 @@ const DatePicker = (props) => {
17319
17332
  )
17320
17333
  )
17321
17334
  , isCalendarOpen && (
17322
- React$1.createElement('div', { style: {position:"absolute",marginTop:4}, __self: undefined, __source: {fileName: _jsxFileName$P, lineNumber: 81}}
17335
+ React$1.createElement(CalendarSheet, {__self: undefined, __source: {fileName: _jsxFileName$P, lineNumber: 81}}
17323
17336
  , React$1.createElement(Calendar, { onChange: (e)=>{
17324
17337
  handleDateChange(e);
17325
17338
  setValidationStatus('success');
@@ -18290,6 +18303,7 @@ const DropdownField$1 = styled.div`
18290
18303
  height: 46px;
18291
18304
  border: 1px solid ${theme.colors["primary-300"]} !important;
18292
18305
  cursor: auto;
18306
+ background: #ffffff;
18293
18307
  }
18294
18308
  .search-field input{
18295
18309
  width: 100%;
@@ -25476,10 +25490,10 @@ const DropdownField = styled.div`
25476
25490
  gap: 4px;
25477
25491
  align-items: center;
25478
25492
  padding-inline: 12px;
25479
- //height: 46px;
25480
25493
  border: 1px solid ${theme.colors["primary-300"]} !important;
25481
25494
  cursor: auto;
25482
25495
  border-radius: 8px;
25496
+ background: #ffffff;
25483
25497
  }
25484
25498
  .search-field input{
25485
25499
  width: 100%;