intelicoreact 0.0.6 → 0.0.7
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/Atomic/FormElements/CheckboxInput/CheckboxInput.js +6 -2
- package/dist/Atomic/FormElements/CheckboxInput/CheckboxInput.scss +91 -60
- package/dist/Atomic/FormElements/CheckboxInput/CheckboxInput.stories.js +2 -1
- package/dist/Atomic/FormElements/Dropdown/Dropdown.js +40 -9
- package/dist/Atomic/FormElements/Dropdown/Dropdown.scss +21 -3
- package/dist/Atomic/FormElements/Dropdown/Dropdown.stories.js +22 -6
- package/dist/Atomic/FormElements/Input/Input.js +15 -4
- package/dist/Atomic/FormElements/Input/Input.stories.js +7 -1
- package/dist/Atomic/FormElements/InputDateRange/{components/InputDateRange.js → InputDateRange.js} +61 -50
- package/dist/Atomic/FormElements/InputDateRange/{components/InputDateRange.scss → InputDateRange.scss} +218 -222
- package/dist/Atomic/FormElements/InputDateRange/InputDateRange.stories.js +11 -5
- package/dist/Atomic/FormElements/InputDateRange/components/Datepicker.js +27 -6
- package/dist/Atomic/FormElements/InputDateRange/components/OpenedPart.js +20 -11
- package/dist/Atomic/FormElements/InputDateRange/components/SelectItem.js +14 -6
- package/dist/Atomic/FormElements/InputDateRange/{index.js → dependencies.js} +18 -17
- package/dist/Atomic/FormElements/RangeCalendar/RangeCalendar.js +7 -2
- package/dist/Atomic/FormElements/Table/Table.scss +1 -1
- package/dist/Atomic/FormElements/Textarea/Textarea.scss +1 -1
- package/dist/Atomic/MainMenu/MainMenu.scss +2 -2
- package/dist/Atomic/UI/Accordion/Accordion.scss +2 -2
- package/dist/Atomic/UI/Arrow/Arrow.scss +0 -3
- package/dist/Atomic/UI/Calendar/Calendar.js +3 -2
- package/dist/Atomic/UI/Calendar/Calendar.stories.js +3 -2
- package/dist/Atomic/UI/Status/Status.scss +1 -1
- package/dist/Molecular/Datepicker/Datepicker.js +451 -0
- package/dist/Molecular/Datepicker/Datepicker.scss +8 -0
- package/dist/Molecular/Datepicker/Datepicker.stories.js +44 -0
- package/dist/{Atomic/FormElements/Calendar → Molecular/Datepicker/components}/Calendar.js +50 -39
- package/dist/scss/_vars.scss +3 -1
- package/dist/scss/main.scss +1 -1
- package/package.json +3 -2
- package/src/Atomic/FormElements/CheckboxInput/CheckboxInput.js +12 -2
- package/src/Atomic/FormElements/CheckboxInput/CheckboxInput.scss +91 -60
- package/src/Atomic/FormElements/CheckboxInput/CheckboxInput.stories.js +4 -3
- package/src/Atomic/FormElements/Dropdown/Dropdown.js +64 -27
- package/src/Atomic/FormElements/Dropdown/Dropdown.scss +21 -3
- package/src/Atomic/FormElements/Dropdown/Dropdown.stories.js +28 -15
- package/src/Atomic/FormElements/Input/Input.js +4 -0
- package/src/Atomic/FormElements/Input/Input.stories.js +7 -1
- package/src/Atomic/FormElements/InputDateRange/{components/InputDateRange.js → InputDateRange.js} +65 -54
- package/src/Atomic/FormElements/InputDateRange/{components/InputDateRange.scss → InputDateRange.scss} +218 -222
- package/src/Atomic/FormElements/InputDateRange/InputDateRange.stories.js +9 -2
- package/src/Atomic/FormElements/InputDateRange/components/Datepicker.js +42 -27
- package/src/Atomic/FormElements/InputDateRange/components/OpenedPart.js +11 -6
- package/src/Atomic/FormElements/InputDateRange/components/SelectItem.js +5 -3
- package/src/Atomic/FormElements/InputDateRange/{index.js → dependencies.js} +15 -11
- package/src/Atomic/FormElements/RangeCalendar/RangeCalendar.js +5 -2
- package/src/Atomic/FormElements/Table/Table.scss +1 -1
- package/src/Atomic/FormElements/Textarea/Textarea.scss +1 -1
- package/src/Atomic/MainMenu/MainMenu.scss +2 -2
- package/src/Atomic/UI/Accordion/Accordion.scss +2 -2
- package/src/Atomic/UI/Arrow/Arrow.scss +0 -3
- package/src/Atomic/UI/Calendar/Calendar.js +2 -2
- package/src/Atomic/UI/Calendar/Calendar.stories.js +2 -1
- package/src/Atomic/UI/Status/Status.scss +1 -1
- package/src/Molecular/Datepicker/Datepicker.js +346 -0
- package/src/Molecular/Datepicker/Datepicker.scss +8 -0
- package/src/Molecular/Datepicker/Datepicker.stories.js +27 -0
- package/src/Molecular/Datepicker/components/Calendar.js +118 -0
- package/src/scss/_vars.scss +3 -1
- package/src/scss/main.scss +1 -1
- package/dist/Atomic/FormElements/Calendar/Calendar.scss +0 -543
- package/dist/Atomic/FormElements/Calendar/Calendar.stories.js +0 -33
- package/dist/scss/anme/_anme-bootstrap-grid.scss +0 -748
- package/dist/scss/anme/_anme-elements.scss +0 -269
- package/dist/scss/anme/_anme-grid.scss +0 -111
- package/dist/scss/anme/_anme-justify.scss +0 -111
- package/dist/scss/anme/_anme-mixins-media.scss +0 -116
- package/dist/scss/anme/_anme-mixins.scss +0 -166
- package/dist/scss/anme/_anme-normalize.scss +0 -8
- package/dist/scss/anme/_anme-overall.scss +0 -34
- package/dist/scss/anme/_anme-padding-margins.scss +0 -419
- package/dist/scss/anme/_anme-table.scss +0 -81
- package/dist/scss/anme/_anme-theme.scss +0 -275
- package/dist/scss/anme/_anme-vars.scss +0 -91
- package/dist/scss/anme/_code-styling.scss +0 -23
- package/dist/scss/anme/styles.scss +0 -12
- package/src/scss/anme/_anme-bootstrap-grid.scss +0 -748
- package/src/scss/anme/_anme-elements.scss +0 -269
- package/src/scss/anme/_anme-grid.scss +0 -111
- package/src/scss/anme/_anme-justify.scss +0 -111
- package/src/scss/anme/_anme-mixins-media.scss +0 -116
- package/src/scss/anme/_anme-mixins.scss +0 -166
- package/src/scss/anme/_anme-normalize.scss +0 -8
- package/src/scss/anme/_anme-overall.scss +0 -34
- package/src/scss/anme/_anme-padding-margins.scss +0 -419
- package/src/scss/anme/_anme-table.scss +0 -81
- package/src/scss/anme/_anme-theme.scss +0 -275
- package/src/scss/anme/_anme-vars.scss +0 -91
- package/src/scss/anme/_code-styling.scss +0 -23
- package/src/scss/anme/styles.scss +0 -12
|
@@ -1,7 +1,19 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--input-height: 28px;
|
|
3
|
+
--label-line-height: 16px;
|
|
4
|
+
// --border-color: rgba(0, 0, 0, 0.3);
|
|
5
|
+
--border-color: #E2E5EC;
|
|
6
|
+
--calendar-range-point-color: #6b81dd;
|
|
7
|
+
--font-family: 'Roboto';
|
|
8
|
+
--font-size: 13px;
|
|
9
|
+
--line-height: 20px;
|
|
10
|
+
--border-radius: 3px;
|
|
11
|
+
}
|
|
12
|
+
|
|
1
13
|
.date-range-input {
|
|
2
14
|
position: relative;
|
|
3
|
-
width:
|
|
4
|
-
height:
|
|
15
|
+
width: 335px;
|
|
16
|
+
height: calc(var(--input-height) + var(--label-line-height));
|
|
5
17
|
|
|
6
18
|
display: flex;
|
|
7
19
|
flex-flow: column nowrap;
|
|
@@ -15,21 +27,16 @@
|
|
|
15
27
|
|
|
16
28
|
&__label {
|
|
17
29
|
margin-bottom: 2px;
|
|
18
|
-
|
|
19
|
-
font-
|
|
20
|
-
|
|
21
|
-
font-weight: 500;
|
|
22
|
-
font-size: 12px;
|
|
23
|
-
line-height: 18px;
|
|
24
|
-
letter-spacing: 0.2px;
|
|
25
|
-
color: #757F8C;
|
|
30
|
+
font-family: var(--font-family);
|
|
31
|
+
font-size: var(--font-size);
|
|
32
|
+
line-height: var(--label-line-height);
|
|
26
33
|
}
|
|
27
34
|
|
|
28
35
|
&__wraper {
|
|
29
36
|
position: relative;
|
|
30
37
|
box-sizing: border-box;
|
|
31
38
|
width: 100%;
|
|
32
|
-
height:
|
|
39
|
+
height: 100%;
|
|
33
40
|
}
|
|
34
41
|
|
|
35
42
|
&__absolut-wraper {
|
|
@@ -43,11 +50,11 @@
|
|
|
43
50
|
flex-flow: column nowrap;
|
|
44
51
|
justify-content: flex-start;
|
|
45
52
|
align-items: flex-start;
|
|
46
|
-
|
|
53
|
+
|
|
47
54
|
background: transparent;
|
|
48
55
|
z-index: 1;
|
|
49
56
|
|
|
50
|
-
|
|
57
|
+
|
|
51
58
|
&_right-position {
|
|
52
59
|
left: auto;
|
|
53
60
|
right: 0;
|
|
@@ -58,71 +65,42 @@
|
|
|
58
65
|
&__static-part{
|
|
59
66
|
box-sizing: border-box;
|
|
60
67
|
width: 100%;
|
|
61
|
-
height:
|
|
62
|
-
|
|
68
|
+
height: var(--input-height);
|
|
69
|
+
border-radius: var(--border-radius);
|
|
63
70
|
|
|
64
71
|
display: flex;
|
|
65
72
|
flex-flow: row nowrap;
|
|
66
73
|
justify-content: flex-end;
|
|
67
74
|
align-items: flex-start;
|
|
68
|
-
|
|
75
|
+
|
|
69
76
|
background: #FFFFFF;
|
|
70
|
-
border: 1px solid
|
|
71
|
-
box-sizing: border-box;
|
|
72
|
-
border-radius: 6px;
|
|
77
|
+
border: 1px solid var(--border-color);
|
|
73
78
|
}
|
|
74
79
|
|
|
75
80
|
&_focused {
|
|
76
81
|
.date-range-input__static-part {
|
|
77
|
-
border: 1px solid
|
|
78
|
-
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
&__arrows-block{
|
|
82
|
-
box-sizing: border-box;
|
|
83
|
-
width: fit-content;
|
|
84
|
-
height: 100%;
|
|
85
|
-
padding: 1px 0;
|
|
86
|
-
display: flex;
|
|
87
|
-
flex-flow: row nowrap;
|
|
88
|
-
justify-content: flex-start;
|
|
89
|
-
align-items: flex-start;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
&__arrow {
|
|
93
|
-
box-sizing: border-box;
|
|
94
|
-
width: 40px;
|
|
95
|
-
height: 100%;
|
|
96
|
-
border-left: 2px solid #EAF2FF;
|
|
97
|
-
cursor: pointer;
|
|
98
|
-
|
|
99
|
-
&:active {
|
|
100
|
-
background-color: #EAF2FF;
|
|
82
|
+
border: 1px solid blue;
|
|
83
|
+
filter: drop-shadow(0px 0px 4px rgba(93, 120, 255, 0.5));
|
|
101
84
|
}
|
|
102
85
|
}
|
|
103
86
|
|
|
104
87
|
&__toggle-button {
|
|
105
88
|
width: 100%;
|
|
106
89
|
height: 100%;
|
|
107
|
-
padding:
|
|
108
|
-
|
|
90
|
+
padding: 0 10px;
|
|
91
|
+
|
|
109
92
|
display: flex;
|
|
93
|
+
flex-direction: row;
|
|
110
94
|
flex-flow: row nowrap;
|
|
111
95
|
justify-content: flex-start;
|
|
112
96
|
align-items: center;
|
|
113
97
|
|
|
114
98
|
cursor: pointer;
|
|
115
99
|
}
|
|
116
|
-
|
|
100
|
+
|
|
117
101
|
&__interval-key {
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
font-style: normal;
|
|
121
|
-
font-weight: normal;
|
|
122
|
-
font-size: 16px;
|
|
123
|
-
line-height: 24px;
|
|
124
|
-
letter-spacing: 0.2px;
|
|
125
|
-
color: #A6AAB4;
|
|
102
|
+
display: inline-block;
|
|
103
|
+
margin-right: 5px;
|
|
126
104
|
text-transform: capitalize;
|
|
127
105
|
white-space: nowrap;
|
|
128
106
|
text-align: left;
|
|
@@ -130,13 +108,7 @@
|
|
|
130
108
|
}
|
|
131
109
|
|
|
132
110
|
&__range{
|
|
133
|
-
|
|
134
|
-
font-style: normal;
|
|
135
|
-
font-weight: normal;
|
|
136
|
-
font-size: 16px;
|
|
137
|
-
line-height: 24px;
|
|
138
|
-
letter-spacing: 0.2px;
|
|
139
|
-
color: #171D33;
|
|
111
|
+
display: inline-block;
|
|
140
112
|
pointer-events: none;
|
|
141
113
|
word-wrap: break-word;
|
|
142
114
|
|
|
@@ -153,11 +125,31 @@
|
|
|
153
125
|
}
|
|
154
126
|
|
|
155
127
|
&_little {
|
|
156
|
-
font-size:
|
|
128
|
+
font-size: calc(var(--font-size) - 2px);
|
|
157
129
|
}
|
|
158
130
|
}
|
|
159
131
|
}
|
|
160
132
|
|
|
133
|
+
&__arrows-block{
|
|
134
|
+
box-sizing: border-box;
|
|
135
|
+
width: fit-content;
|
|
136
|
+
height: 100%;
|
|
137
|
+
display: flex;
|
|
138
|
+
flex-flow: row nowrap;
|
|
139
|
+
justify-content: flex-start;
|
|
140
|
+
align-items: center;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
&__arrow {
|
|
144
|
+
box-sizing: border-box;
|
|
145
|
+
width: auto;
|
|
146
|
+
height: 100%;
|
|
147
|
+
cursor: pointer;
|
|
148
|
+
|
|
149
|
+
&:active {
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
|
|
161
153
|
&__compact {
|
|
162
154
|
.date-range-input__toggle-button {
|
|
163
155
|
padding-right: 18px;
|
|
@@ -172,16 +164,13 @@
|
|
|
172
164
|
|
|
173
165
|
&_error {
|
|
174
166
|
.date-range-input__wraper {
|
|
175
|
-
// border-color: #f06d8d;
|
|
176
167
|
border-color: #FA564C;
|
|
177
168
|
}
|
|
178
169
|
}
|
|
179
170
|
|
|
180
171
|
&_disabled {
|
|
181
172
|
.date-range-input__wraper {
|
|
182
|
-
|
|
183
|
-
opacity: 0.5;
|
|
184
|
-
border-color: #a6acb1;
|
|
173
|
+
opacity: 0.7;
|
|
185
174
|
pointer-events: none;
|
|
186
175
|
}
|
|
187
176
|
|
|
@@ -194,12 +183,8 @@
|
|
|
194
183
|
position: absolute;
|
|
195
184
|
left: 8px;
|
|
196
185
|
bottom: -20px;
|
|
197
|
-
font-
|
|
198
|
-
|
|
199
|
-
font-weight: 500;
|
|
200
|
-
font-size: 12px;
|
|
201
|
-
line-height: 18px;
|
|
202
|
-
letter-spacing: 0.2px;
|
|
186
|
+
font-size: var(--font-size);
|
|
187
|
+
line-height: var(--line-height);
|
|
203
188
|
color: #FA564C;
|
|
204
189
|
}
|
|
205
190
|
|
|
@@ -217,9 +202,9 @@
|
|
|
217
202
|
flex-flow: row nowrap;
|
|
218
203
|
justify-content: flex-start;
|
|
219
204
|
align-items: stretch;
|
|
220
|
-
border: 1px solid
|
|
221
|
-
|
|
222
|
-
|
|
205
|
+
border: 1px solid var(--border-color);
|
|
206
|
+
border-radius: var(--border-radius);
|
|
207
|
+
background: #FFFFFF;
|
|
223
208
|
|
|
224
209
|
&_right-position-once-element {
|
|
225
210
|
justify-content: flex-end;
|
|
@@ -228,9 +213,8 @@
|
|
|
228
213
|
|
|
229
214
|
&__intervals-list {
|
|
230
215
|
width: fit-content;
|
|
231
|
-
height: fit-content;
|
|
232
216
|
padding: 6px 0;
|
|
233
|
-
border-right: 1px solid
|
|
217
|
+
border-right: 1px solid var(--border-color);
|
|
234
218
|
}
|
|
235
219
|
|
|
236
220
|
&__intervals-item {
|
|
@@ -239,26 +223,24 @@
|
|
|
239
223
|
|
|
240
224
|
width: 100%;
|
|
241
225
|
padding: 4px 8px 4px 32px;
|
|
242
|
-
// margin-bottom: 8px;
|
|
243
226
|
|
|
244
227
|
text-transform: capitalize;
|
|
245
|
-
font-family: Sarabun;
|
|
246
|
-
font-style: normal;
|
|
247
|
-
font-weight: normal;
|
|
248
228
|
white-space: nowrap;
|
|
249
|
-
font-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
229
|
+
font-style: normal;
|
|
230
|
+
font-weight: 300;
|
|
231
|
+
font-family: var(--font-family);
|
|
232
|
+
font-size: var(--font-size);
|
|
233
|
+
line-height: var(--line-height);
|
|
253
234
|
cursor: pointer;
|
|
254
|
-
|
|
235
|
+
|
|
255
236
|
display: flex;
|
|
256
237
|
flex-flow: row nowrap;
|
|
257
238
|
justify-content: flex-start;
|
|
258
239
|
align-items: center;
|
|
259
240
|
|
|
260
241
|
&:hover {
|
|
261
|
-
background-color:
|
|
242
|
+
// background-color: rgba(128, 128, 128, 0.1);
|
|
243
|
+
background-color: #F2F2F8;
|
|
262
244
|
}
|
|
263
245
|
|
|
264
246
|
&-icon-active {
|
|
@@ -269,8 +251,7 @@
|
|
|
269
251
|
|
|
270
252
|
&_disabled {
|
|
271
253
|
pointer-events: none;
|
|
272
|
-
color: #
|
|
273
|
-
// opacity: 0.3;
|
|
254
|
+
color: rgba($color: #000000, $alpha: 0.3);
|
|
274
255
|
}
|
|
275
256
|
}
|
|
276
257
|
|
|
@@ -281,8 +262,6 @@
|
|
|
281
262
|
}
|
|
282
263
|
|
|
283
264
|
.date-picker {
|
|
284
|
-
width: 670px;
|
|
285
|
-
min-height: 400px;
|
|
286
265
|
display: flex;
|
|
287
266
|
flex-flow: column nowrap;
|
|
288
267
|
justify-content: space-between;
|
|
@@ -291,11 +270,10 @@
|
|
|
291
270
|
&__header {
|
|
292
271
|
box-sizing: border-box;
|
|
293
272
|
width: 100%;
|
|
294
|
-
min-height: 74px;
|
|
295
273
|
height: fit-content;
|
|
296
|
-
padding:
|
|
297
|
-
border-radius: 0 16px 0 0;
|
|
274
|
+
padding: 7.5px 15px;
|
|
298
275
|
border: none;
|
|
276
|
+
background-color: #F7FAFC;
|
|
299
277
|
|
|
300
278
|
display: flex;
|
|
301
279
|
flex-flow: column nowrap;
|
|
@@ -305,40 +283,43 @@
|
|
|
305
283
|
|
|
306
284
|
&__inputs-block {
|
|
307
285
|
width: 100%;
|
|
308
|
-
height:
|
|
286
|
+
height: fit-content;
|
|
309
287
|
display: flex;
|
|
310
288
|
flex-flow: row nowrap;
|
|
311
289
|
justify-content: flex-start;
|
|
312
290
|
align-items: center;
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
font-style: normal;
|
|
316
|
-
font-weight: 500;
|
|
317
|
-
font-size: 16px;
|
|
318
|
-
line-height: 22px;
|
|
319
|
-
letter-spacing: 0.2px;
|
|
320
|
-
color: #3B414B;
|
|
291
|
+
font-size: var(--font-size);
|
|
292
|
+
line-height: var(--line-height);
|
|
321
293
|
|
|
322
294
|
&>div:not(.date-picker__inputs-separator) {
|
|
295
|
+
width: 110px;
|
|
323
296
|
height: 100%;
|
|
324
297
|
margin-right: 9px;
|
|
325
298
|
|
|
326
|
-
|
|
327
|
-
border: 1px solid #EAF2FF;
|
|
328
|
-
// border: 1px solid #1F7499;
|
|
299
|
+
border: 1px solid var(--border-color);
|
|
329
300
|
box-sizing: border-box;
|
|
330
|
-
border-radius: 6px;
|
|
331
301
|
|
|
332
302
|
&:last-child {
|
|
333
303
|
margin-right: 0;
|
|
334
304
|
}
|
|
335
305
|
|
|
336
|
-
&.
|
|
337
|
-
|
|
306
|
+
&.input__wrap {
|
|
307
|
+
box-sizing: border-box;
|
|
338
308
|
box-shadow: none;
|
|
309
|
+
border-radius: var(--border-radius);
|
|
310
|
+
|
|
311
|
+
&_focus {
|
|
312
|
+
border: 1px solid blue;
|
|
313
|
+
box-shadow: none;
|
|
314
|
+
}
|
|
339
315
|
}
|
|
340
316
|
}
|
|
341
317
|
|
|
318
|
+
&>div.dropdown {
|
|
319
|
+
width: 80px;
|
|
320
|
+
border-radius: var(--border-radius);
|
|
321
|
+
}
|
|
322
|
+
|
|
342
323
|
.date-picker__inputs-separator {
|
|
343
324
|
margin-right: 9px;
|
|
344
325
|
}
|
|
@@ -346,27 +327,52 @@
|
|
|
346
327
|
|
|
347
328
|
&__date-input {
|
|
348
329
|
box-sizing: border-box;
|
|
349
|
-
width:
|
|
350
|
-
height:
|
|
351
|
-
padding:
|
|
330
|
+
width: fit-content;
|
|
331
|
+
height: fit-content;
|
|
332
|
+
padding: 3px 10px;
|
|
333
|
+
border-radius: var(--border-radius);
|
|
352
334
|
|
|
353
|
-
font-family:
|
|
354
|
-
font-style:
|
|
355
|
-
font-weight:
|
|
356
|
-
font-size:
|
|
357
|
-
line-height:
|
|
335
|
+
font-family: var(--font-family);
|
|
336
|
+
font-style: normal;
|
|
337
|
+
font-weight: 300;
|
|
338
|
+
font-size: var(--font-size);
|
|
339
|
+
line-height: var(--input-height);
|
|
358
340
|
letter-spacing: inherit;
|
|
359
341
|
color: inherit;
|
|
360
342
|
}
|
|
361
343
|
|
|
362
344
|
&__hour-select-input {
|
|
363
|
-
width:
|
|
364
|
-
height:
|
|
365
|
-
|
|
345
|
+
width: 70px;
|
|
346
|
+
height: fit-content;
|
|
347
|
+
border-radius: var(--border-radius);
|
|
348
|
+
|
|
366
349
|
&>.dropdown__trigger {
|
|
367
|
-
box-sizing: border-box;
|
|
368
350
|
width: 100%;
|
|
369
351
|
height: 100%;
|
|
352
|
+
padding-left: 10px;
|
|
353
|
+
padding-right: 15px;
|
|
354
|
+
|
|
355
|
+
font-family: inherit;
|
|
356
|
+
font-style: inherit;
|
|
357
|
+
font-weight: inherit;
|
|
358
|
+
font-size: inherit;
|
|
359
|
+
line-height: inherit;
|
|
360
|
+
letter-spacing: inherit;
|
|
361
|
+
color: inherit;
|
|
362
|
+
|
|
363
|
+
box-sizing: border-box;
|
|
364
|
+
box-shadow: none;
|
|
365
|
+
border: none;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
& .dropdown__list-item{
|
|
369
|
+
font-family: inherit;
|
|
370
|
+
font-style: inherit;
|
|
371
|
+
font-weight: inherit;
|
|
372
|
+
font-size: inherit;
|
|
373
|
+
line-height: inherit;
|
|
374
|
+
letter-spacing: inherit;
|
|
375
|
+
color: inherit;
|
|
370
376
|
}
|
|
371
377
|
}
|
|
372
378
|
|
|
@@ -377,172 +383,160 @@
|
|
|
377
383
|
&__calendars {
|
|
378
384
|
box-sizing: border-box;
|
|
379
385
|
width: 100%;
|
|
380
|
-
height:
|
|
381
|
-
padding:
|
|
382
|
-
border-top: 1px solid
|
|
383
|
-
border-bottom: 1px solid
|
|
386
|
+
height: 100%;
|
|
387
|
+
padding: 10px 16px;
|
|
388
|
+
border-top: 1px solid var(--border-color);
|
|
389
|
+
border-bottom: 1px solid var(--border-color);
|
|
384
390
|
background-color: #FFFFFF;
|
|
385
391
|
|
|
386
392
|
display: flex;
|
|
387
393
|
flex-flow: row nowrap;
|
|
388
|
-
justify-content:
|
|
389
|
-
align-items:
|
|
394
|
+
justify-content: center;
|
|
395
|
+
align-items: flex-start;
|
|
396
|
+
|
|
397
|
+
&-wrapper {
|
|
398
|
+
width: 100%;
|
|
399
|
+
// width: fit-content;
|
|
400
|
+
display: flex;
|
|
401
|
+
flex-flow: row nowrap;
|
|
402
|
+
justify-content: space-between;
|
|
403
|
+
align-items: flex-start;
|
|
404
|
+
}
|
|
390
405
|
|
|
391
406
|
.date-picker__calendar {
|
|
392
407
|
&:first-child{
|
|
393
|
-
margin-right:
|
|
408
|
+
margin-right: 10px;
|
|
394
409
|
}
|
|
395
410
|
}
|
|
396
411
|
|
|
397
412
|
.range-calendar {
|
|
398
413
|
box-sizing: border-box;
|
|
399
|
-
width:
|
|
400
|
-
height:
|
|
401
|
-
|
|
414
|
+
width: fit-content;
|
|
415
|
+
height: fit-content;
|
|
416
|
+
|
|
402
417
|
&-header {
|
|
403
|
-
height:
|
|
418
|
+
height: fit-content;
|
|
404
419
|
margin-bottom: 12px;
|
|
405
|
-
|
|
420
|
+
|
|
421
|
+
font-size: calc(var(--font-size) + 2px);
|
|
422
|
+
line-height: calc(var(--line-height) + 4px);
|
|
423
|
+
|
|
424
|
+
font-style: normal;
|
|
425
|
+
font-weight: 500;
|
|
426
|
+
|
|
406
427
|
display: flex;
|
|
407
428
|
justify-content: space-between;
|
|
408
429
|
align-items: center;
|
|
409
|
-
|
|
430
|
+
|
|
410
431
|
&__title {
|
|
411
|
-
font-family: 'Sarabun';
|
|
412
|
-
font-style: normal;
|
|
413
|
-
font-weight: 500;
|
|
414
|
-
font-size: 16px;
|
|
415
|
-
line-height: 22px;
|
|
416
432
|
text-align: center;
|
|
417
|
-
letter-spacing: 0.2px;
|
|
418
|
-
color: #3B414B;
|
|
419
433
|
}
|
|
420
|
-
|
|
434
|
+
|
|
421
435
|
&__next, &__prev {
|
|
422
|
-
|
|
423
|
-
height: 32px;
|
|
424
|
-
background-color: #EAF2FF;
|
|
425
|
-
border-radius: 10px;
|
|
426
|
-
color: #171D33;
|
|
436
|
+
background-color: transparent;
|
|
427
437
|
cursor: pointer;
|
|
428
438
|
}
|
|
429
439
|
}
|
|
430
|
-
|
|
440
|
+
|
|
431
441
|
&__week {
|
|
432
442
|
display: flex;
|
|
433
|
-
|
|
443
|
+
|
|
434
444
|
&-title {
|
|
435
445
|
margin-bottom: 5px;
|
|
436
446
|
}
|
|
437
447
|
}
|
|
438
|
-
|
|
448
|
+
|
|
439
449
|
&__day {
|
|
440
450
|
position: relative;
|
|
441
451
|
box-sizing: border-box;
|
|
442
|
-
width:
|
|
443
|
-
height:
|
|
444
|
-
|
|
452
|
+
width: 29px;
|
|
453
|
+
height: 22px;
|
|
454
|
+
margin: 1px 0;
|
|
445
455
|
flex-grow: 1;
|
|
446
456
|
flex-basis: 0;
|
|
447
|
-
// padding: 1px 6px;
|
|
448
457
|
user-select: none;
|
|
449
|
-
|
|
458
|
+
|
|
450
459
|
display: flex;
|
|
451
460
|
justify-content: center;
|
|
452
461
|
align-items: center;
|
|
453
|
-
|
|
454
|
-
font-
|
|
455
|
-
|
|
456
|
-
font-weight: 500;
|
|
457
|
-
font-size: 16px;
|
|
458
|
-
line-height: 22px;
|
|
462
|
+
|
|
463
|
+
font-size: var(--font-size);
|
|
464
|
+
line-height: var(--line-height);
|
|
459
465
|
text-align: center;
|
|
460
|
-
|
|
461
|
-
color: #3B414B;
|
|
462
|
-
|
|
466
|
+
|
|
463
467
|
&--clickable {
|
|
464
468
|
cursor: pointer;
|
|
465
|
-
|
|
469
|
+
|
|
466
470
|
&:hover {
|
|
467
471
|
background: #E2E6F8;
|
|
468
472
|
}
|
|
469
473
|
}
|
|
470
|
-
|
|
474
|
+
|
|
471
475
|
&--disabled {
|
|
472
476
|
cursor: default;
|
|
473
477
|
opacity: 0.2;
|
|
474
478
|
pointer-events: none;
|
|
475
|
-
|
|
476
|
-
&:hover {
|
|
477
|
-
background: inherit;
|
|
478
|
-
}
|
|
479
|
-
}
|
|
480
|
-
|
|
481
|
-
&--range-end {
|
|
482
|
-
background: #EAF2FF;
|
|
483
|
-
border: 1px solid #EAF2FF;
|
|
484
|
-
border-radius: 0 24px 24px 0;
|
|
485
|
-
color: #1F7499;
|
|
486
|
-
|
|
487
|
-
&::before {
|
|
488
|
-
content: '';
|
|
489
|
-
display: block;
|
|
490
|
-
width: 100%;
|
|
491
|
-
height: 100%;
|
|
492
|
-
box-sizing: border-box;
|
|
493
|
-
position: absolute;
|
|
494
|
-
border: 1px solid #1F7499;
|
|
495
|
-
border-radius: 24px;
|
|
496
|
-
pointer-events: none;
|
|
497
|
-
}
|
|
498
479
|
|
|
499
480
|
&:hover {
|
|
500
|
-
|
|
501
|
-
background-color: #1F7499;
|
|
502
|
-
border-radius: 24px;
|
|
481
|
+
background: inherit;
|
|
503
482
|
}
|
|
504
483
|
}
|
|
505
484
|
|
|
506
|
-
&--range-
|
|
507
|
-
|
|
508
|
-
|
|
485
|
+
// &--range-end {
|
|
486
|
+
// background: #EAF2FF;
|
|
487
|
+
// border: 1px solid #EAF2FF;
|
|
488
|
+
// border-radius: 0 24px 24px 0;
|
|
489
|
+
// color: var(--calendar-range-point-color);
|
|
490
|
+
|
|
491
|
+
// &::before {
|
|
492
|
+
// content: '';
|
|
493
|
+
// display: block;
|
|
494
|
+
// width: 100%;
|
|
495
|
+
// height: 100%;
|
|
496
|
+
// box-sizing: border-box;
|
|
497
|
+
// position: absolute;
|
|
498
|
+
// border: 1px solid var(--calendar-range-point-color);
|
|
499
|
+
// border-radius: 24px;
|
|
500
|
+
// pointer-events: none;
|
|
501
|
+
// }
|
|
502
|
+
|
|
503
|
+
// &:hover {
|
|
504
|
+
// color: #F8FBFF;
|
|
505
|
+
// background-color: var(--calendar-range-point-color);
|
|
506
|
+
// border-radius: 24px;
|
|
507
|
+
// }
|
|
508
|
+
// }
|
|
509
|
+
|
|
510
|
+
&--range-start, &--range-end {
|
|
511
|
+
background: var(--calendar-range-point-color);
|
|
512
|
+
border: 1px solid var(--calendar-range-point-color);
|
|
509
513
|
box-sizing: border-box;
|
|
510
|
-
border-radius:
|
|
514
|
+
border-radius: var(--border-radius);
|
|
511
515
|
color: #F8FBFF;
|
|
512
|
-
|
|
516
|
+
|
|
513
517
|
&:hover {
|
|
514
|
-
background:
|
|
518
|
+
background: var(--calendar-range-point-color);
|
|
515
519
|
color: #F8FBFF;
|
|
516
520
|
}
|
|
517
521
|
}
|
|
518
|
-
|
|
522
|
+
|
|
519
523
|
&--range-inside {
|
|
520
524
|
background: #EAF2FF;
|
|
521
525
|
}
|
|
522
|
-
|
|
526
|
+
|
|
523
527
|
&--prev-range-end {
|
|
524
528
|
background: #E2E5EC;
|
|
525
|
-
border-radius:
|
|
529
|
+
border-radius: var(--border-radius);
|
|
526
530
|
}
|
|
527
|
-
|
|
531
|
+
|
|
528
532
|
&--prev-range-inside {
|
|
529
533
|
background: #F7F8FA;
|
|
530
534
|
}
|
|
531
|
-
|
|
535
|
+
|
|
532
536
|
&--title {
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
font-family: Sarabun;
|
|
538
|
-
font-style: normal;
|
|
539
|
-
font-weight: 500;
|
|
540
|
-
font-size: 16px;
|
|
541
|
-
line-height: 22px;
|
|
542
|
-
text-align: center;
|
|
543
|
-
letter-spacing: 0.2px;
|
|
544
|
-
color: #757F8C;
|
|
545
|
-
|
|
537
|
+
font-size: var(--font-size);
|
|
538
|
+
line-height: var(--line-height);
|
|
539
|
+
|
|
546
540
|
&:hover {
|
|
547
541
|
background: inherit;
|
|
548
542
|
}
|
|
@@ -554,11 +548,10 @@
|
|
|
554
548
|
&__footer {
|
|
555
549
|
box-sizing: border-box;
|
|
556
550
|
width: 100%;
|
|
557
|
-
height: 56px;
|
|
558
|
-
min-height: 56px;
|
|
559
551
|
padding: 8px 16px;
|
|
560
|
-
border-radius: 0 0
|
|
552
|
+
border-radius: 0 0 var(--border-radius) 0;
|
|
561
553
|
border: none;
|
|
554
|
+
background-color: #F7FAFC;
|
|
562
555
|
|
|
563
556
|
display: flex;
|
|
564
557
|
flex-flow: row nowrap;
|
|
@@ -577,16 +570,19 @@
|
|
|
577
570
|
}
|
|
578
571
|
|
|
579
572
|
&__button {
|
|
580
|
-
height: 100%;
|
|
581
573
|
text-transform: capitalize;
|
|
582
|
-
|
|
574
|
+
|
|
583
575
|
&:first-child {
|
|
584
576
|
width: 80px;
|
|
585
577
|
margin-right: 16px;
|
|
578
|
+
background-color: #FFFFFF;
|
|
579
|
+
border: 1px solid #A6ACB1;
|
|
580
|
+
border-radius: var(--border-radius);
|
|
586
581
|
}
|
|
587
582
|
|
|
588
583
|
&:last-child {
|
|
589
|
-
|
|
584
|
+
width: 110px;
|
|
585
|
+
border-radius: var(--border-radius);
|
|
590
586
|
}
|
|
591
587
|
}
|
|
592
588
|
|