@avakhula/ui 0.1.13 → 0.1.15
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/.prettierrc.json +0 -0
- package/.storybook/intelliboardTheme.js +0 -0
- package/.storybook/manager.js +0 -0
- package/.storybook/scss-loader.scss +0 -0
- package/.storybook/withSource.js +0 -0
- package/README.md +0 -0
- package/dist/index.js +9028 -7513
- package/dist/index.umd.cjs +76 -73
- package/dist/style.css +1 -1
- package/index.html +0 -0
- package/package.json +4 -3
- package/src/App.vue +5 -128
- package/src/EventEmmiter.js +0 -0
- package/src/assets/scss/mixins/dropdown-list-item.scss +13 -1
- package/src/assets/scss/mixins.scss +0 -0
- package/src/assets/scss/reset.scss +0 -0
- package/src/assets/scss/style.scss +0 -0
- package/src/assets/scss/typography.scss +0 -0
- package/src/components/Alert/Alert.vue +5 -0
- package/src/components/Alert/alert.scss +6 -1
- package/src/components/Avatar/Avatar.stories.js +5 -1
- package/src/components/Avatar/Avatar.vue +25 -2
- package/src/components/Avatar/constants.js +6 -0
- package/src/components/Badge/Badge.stories.js +0 -0
- package/src/components/Breadcrumbs/Breadcrumbs.vue +17 -7
- package/src/components/Button/Button.stories.js +0 -0
- package/src/components/Button/Button.vue +19 -3
- package/src/components/Button/button.scss +5 -0
- package/src/components/Button/constants.js +0 -0
- package/src/components/ButtonGroup/ButtonGroup.vue +0 -0
- package/src/components/Chips/Chips.stories.js +30 -0
- package/src/components/Chips/Chips.vue +125 -0
- package/src/components/Dropdown/Dropdown.spec.js +0 -0
- package/src/components/Dropdown/DropdownDivider.vue +0 -0
- package/src/components/Dropdown/DropdownItem.vue +26 -4
- package/src/components/Dropdown/DropdownList.vue +0 -0
- package/src/components/Dropdown/constants.js +0 -0
- package/src/components/Form/CharactersCount.vue +10 -7
- package/src/components/Form/Checkbox/Checkbox.vue +25 -11
- package/src/components/Form/CheckboxGroup/CheckboxGroup.vue +15 -0
- package/src/components/Form/CheckboxGroup/readme.mdx +2 -0
- package/src/components/Form/DatePicker/DatePicker.scss +352 -261
- package/src/components/Form/DatePicker/DatePicker.vue +72 -17
- package/src/components/Form/DatePicker/Icons/chevron-back.js +0 -0
- package/src/components/Form/DatePicker/Icons/chevron-forward.js +0 -0
- package/src/components/Form/FormGroup/FormGroup.stories.js +0 -0
- package/src/components/Form/FormGroup/FormGroup.vue +3 -3
- package/src/components/Form/FormGroup/FormGroupSet.stories.js +0 -0
- package/src/components/Form/FormGroup/FormGroupSet.vue +0 -0
- package/src/components/Form/Input/Input.vue +116 -13
- package/src/components/Form/Input/input.scss +61 -2
- package/src/components/Form/Label/Label.vue +22 -10
- package/src/components/Form/PhoneInput/PhoneInput.vue +26 -12
- package/src/components/Form/PhoneInput/phoneInput.scss +38 -6
- package/src/components/Form/Radio/Radio.vue +16 -44
- package/src/components/Form/Radio/radio.scss +5 -2
- package/src/components/Form/TextEditor/TextEditor.vue +117 -22
- package/src/components/Form/TextEditor/icons/svg/chevron-down.svg +0 -0
- package/src/components/Form/TextEditor/icons/toolbarIcons.js +0 -0
- package/src/components/Form/TextEditor/plugins/alphabetList.js +0 -0
- package/src/components/Form/TextEditor/textEditor.scss +56 -32
- package/src/components/Form/Textarea/Textarea.spec.js +0 -0
- package/src/components/Form/Textarea/Textarea.vue +19 -6
- package/src/components/Form/Textarea/textarea.scss +30 -2
- package/src/components/Icon.vue +0 -0
- package/src/components/IconButton/IconButton.scss +11 -0
- package/src/components/IconButton/IconButton.stories.js +0 -0
- package/src/components/IconButton/IconButton.vue +6 -9
- package/src/components/IconButton/constants.js +0 -0
- package/src/components/Modal/Modal.vue +42 -9
- package/src/components/Pagination/LimitSelector.vue +5 -0
- package/src/components/Pagination/Pagination.stories.js +0 -0
- package/src/components/Pagination/Pagination.vue +9 -2
- package/src/components/Panel/Panel.vue +87 -6
- package/src/components/Popover/Popover.stories.js +0 -0
- package/src/components/Popover/Popover.vue +47 -19
- package/src/components/Popover/popover.scss +27 -7
- package/src/components/ProgressBar/ProgressBar.stories.js +0 -0
- package/src/components/Sorting/Sorting.vue +24 -26
- package/src/components/Sorting/constants.js +0 -0
- package/src/components/SplitButton/SplitButton.vue +51 -8
- package/src/components/SplitButton/SplitButtonItem.vue +13 -1
- package/src/components/SplitButton/constants.js +0 -0
- package/src/components/Table/Cells/Cell.vue +0 -0
- package/src/components/Table/Cells/CheckboxCell.vue +0 -0
- package/src/components/Table/Row.vue +0 -0
- package/src/components/Table/Table.stories.js +0 -0
- package/src/components/Table/Table.vue +0 -0
- package/src/components/Tabs/Tab.vue +4 -0
- package/src/components/Tabs/Tabs.vue +5 -0
- package/src/components/Tabs/tabs.scss +8 -2
- package/src/components/TagPill/TagPill.vue +6 -0
- package/src/components/TagPill/constants.js +0 -0
- package/src/components/ToggleTip/ToggleTip.stories.js +0 -0
- package/src/components/ToggleTip/ToggleTip.vue +0 -0
- package/src/components/Tooltip/Tooltip.stories.js +0 -0
- package/src/components/Tooltip/Tooltip.vue +1 -1
- package/src/components/TreeSelect/Option.vue +48 -16
- package/src/components/TreeSelect/Select.vue +101 -39
- package/src/components/TreeSelect/mixins/InfinityLoaderMixin.js +40 -0
- package/src/components/TreeSelect/scss/option.scss +31 -0
- package/src/components/TreeSelect/scss/select.scss +48 -2
- package/src/constants/events.js +0 -0
- package/src/constants/keyCodes.js +1 -0
- package/src/directives/outside/outside.js +0 -0
- package/src/directives/tooltip/TooltipController.js +2 -0
- package/src/directives/tooltip/textOverflowTooltip.js +3 -1
- package/src/directives/tooltip/tooltip.js +15 -0
- package/src/helpers/generateUID.js +0 -0
- package/src/helpers/getHrefFromID.js +0 -0
- package/src/helpers/multiLineOverflows.js +0 -0
- package/src/helpers/stripHtml.js +4 -0
- package/src/index.js +2 -0
- package/src/stories/link.stories.js +0 -0
- package/static/Logo.svg +0 -0
- package/vite.config.js +0 -0
|
@@ -49,14 +49,14 @@ $input-hover-placeholder-color: $neutral-900;
|
|
|
49
49
|
$input-hover-error-color: $red-800;
|
|
50
50
|
$input-active-bg: $blue-50;
|
|
51
51
|
|
|
52
|
-
// Calendar icon
|
|
52
|
+
// Calendar icon
|
|
53
53
|
$calendar-icon: $neutral-900;
|
|
54
54
|
$calendar-active-icon: $blue-900;
|
|
55
55
|
$calendar-hover-icon: $blue-700;
|
|
56
56
|
$calendar-disabled-icon: $neutral-500;
|
|
57
57
|
$calendar-focus-icon: $blue-900;
|
|
58
58
|
|
|
59
|
-
.flatpickr-wrapper {
|
|
59
|
+
.ib-flatpickr-wrapper {
|
|
60
60
|
width: 100%;
|
|
61
61
|
|
|
62
62
|
.label {
|
|
@@ -124,6 +124,23 @@ $calendar-focus-icon: $blue-900;
|
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
+
&.is-disabled {
|
|
128
|
+
.date-picker-input {
|
|
129
|
+
color: $input-disabled-color !important;
|
|
130
|
+
background-color: $input-disabled-bg !important;
|
|
131
|
+
border-bottom-color: $neutral-500 !important;
|
|
132
|
+
cursor: default;
|
|
133
|
+
|
|
134
|
+
&::placeholder {
|
|
135
|
+
color: $input-disabled-placeholder-color!important;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.calendar-icon {
|
|
140
|
+
color: $calendar-disabled-icon !important;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
127
144
|
&.is-range {
|
|
128
145
|
max-width: 312px;
|
|
129
146
|
|
|
@@ -135,345 +152,419 @@ $calendar-focus-icon: $blue-900;
|
|
|
135
152
|
justify-content: space-between;
|
|
136
153
|
}
|
|
137
154
|
}
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
|
|
141
155
|
|
|
142
|
-
.date-picker-input {
|
|
143
|
-
|
|
144
|
-
@include Ib-H4-regular;
|
|
145
|
-
padding: 0 30px 0 15px;
|
|
146
|
-
height: 36px;
|
|
147
|
-
border-radius: 4px 4px 0 0;
|
|
148
|
-
background-color: $input-bg;
|
|
149
|
-
color: $input-color;
|
|
150
|
-
cursor: pointer;
|
|
151
|
-
border: none;
|
|
152
|
-
outline: none;
|
|
153
|
-
border-bottom: 1px solid $input-border-color;
|
|
154
|
-
transition: color 0.3s, border-bottom-color 0.3s, border-radius 0.3s, background-color 0.3s;
|
|
155
|
-
|
|
156
|
-
&::placeholder {
|
|
156
|
+
.date-picker-input {
|
|
157
|
+
width: 100%;
|
|
157
158
|
@include Ib-H4-regular;
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
color: $input-
|
|
163
|
-
|
|
164
|
-
border
|
|
159
|
+
padding: 0 30px 0 15px;
|
|
160
|
+
height: 36px;
|
|
161
|
+
border-radius: 4px 4px 0 0;
|
|
162
|
+
background-color: $input-bg;
|
|
163
|
+
color: $input-color;
|
|
164
|
+
cursor: pointer;
|
|
165
|
+
border: none;
|
|
166
|
+
outline: none;
|
|
167
|
+
border-bottom: 1px solid $input-border-color;
|
|
168
|
+
transition: color 0.3s, border-bottom-color 0.3s, border-radius 0.3s, background-color 0.3s;
|
|
165
169
|
|
|
166
170
|
&::placeholder {
|
|
167
|
-
|
|
171
|
+
@include Ib-H4-regular;
|
|
172
|
+
color: $input-placeholder-color;
|
|
168
173
|
}
|
|
169
174
|
|
|
170
|
-
|
|
171
|
-
color: $
|
|
172
|
-
|
|
173
|
-
|
|
175
|
+
&:disabled {
|
|
176
|
+
color: $input-disabled-color;
|
|
177
|
+
background-color: $input-disabled-bg;
|
|
178
|
+
border-bottom-color: $neutral-900;
|
|
174
179
|
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
@include focus(0px);
|
|
180
|
+
&::placeholder {
|
|
181
|
+
color: $input-disabled-placeholder-color;
|
|
182
|
+
}
|
|
179
183
|
|
|
180
|
-
|
|
181
|
-
|
|
184
|
+
& + .calendar-icon {
|
|
185
|
+
color: $calendar-disabled-icon;
|
|
186
|
+
}
|
|
182
187
|
}
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
.input-wrapper:hover {
|
|
186
|
-
.date-picker-input {
|
|
187
|
-
color: $input-hover-color;
|
|
188
|
-
background-color: $input-hover-bg;
|
|
189
|
-
border-bottom-color: $input-hover-border-color;
|
|
190
188
|
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
189
|
+
&:focus {
|
|
190
|
+
border-radius: 4px;
|
|
191
|
+
border-bottom: 0;
|
|
192
|
+
@include focus(0px);
|
|
194
193
|
|
|
195
|
-
|
|
196
|
-
|
|
194
|
+
& + .calendar-icon {
|
|
195
|
+
color: $calendar-focus-icon;
|
|
196
|
+
}
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
width: 312px;
|
|
209
|
-
min-width: 312px;
|
|
210
|
-
max-width: 312px;
|
|
211
|
-
background-color: $datepicker-bg;
|
|
212
|
-
|
|
213
|
-
&::after,
|
|
214
|
-
&::before {
|
|
215
|
-
display: none;
|
|
216
|
-
}
|
|
199
|
+
.input-wrapper:hover {
|
|
200
|
+
.date-picker-input {
|
|
201
|
+
color: $input-hover-color;
|
|
202
|
+
background-color: $input-hover-bg;
|
|
203
|
+
border-bottom-color: $input-hover-border-color;
|
|
204
|
+
|
|
205
|
+
&::placeholder {
|
|
206
|
+
color: $input-hover-placeholder-color;
|
|
207
|
+
}
|
|
217
208
|
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
209
|
+
& + .calendar-icon {
|
|
210
|
+
color: $calendar-hover-icon;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
221
213
|
}
|
|
222
214
|
|
|
223
|
-
.
|
|
224
|
-
|
|
215
|
+
.flatpickr-wrapper {
|
|
216
|
+
position: relative;
|
|
225
217
|
}
|
|
226
218
|
|
|
227
|
-
.
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
219
|
+
.flatpickr-calendar {
|
|
220
|
+
padding: 15px;
|
|
221
|
+
box-shadow: $datepicker-shadow;
|
|
222
|
+
width: 312px;
|
|
223
|
+
min-width: 312px;
|
|
224
|
+
max-width: 312px;
|
|
225
|
+
background-color: $datepicker-bg;
|
|
233
226
|
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
227
|
+
&::after,
|
|
228
|
+
&::before {
|
|
229
|
+
display: none;
|
|
237
230
|
}
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
.numInput {
|
|
241
|
-
@include Ib-H4-medium;
|
|
242
|
-
font-weight: 500!important;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
.flatpickr-months {
|
|
246
|
-
display: flex;
|
|
247
|
-
align-items: center;
|
|
248
|
-
height: 36px;
|
|
249
|
-
margin-bottom: 5px;
|
|
250
|
-
}
|
|
251
231
|
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
width: 24px;
|
|
256
|
-
height: 24px;
|
|
257
|
-
border: 2px solid transparent;
|
|
258
|
-
transition: border 0.3s;
|
|
259
|
-
padding: 0;
|
|
260
|
-
display: flex;
|
|
261
|
-
align-items: center;
|
|
262
|
-
justify-content: center;
|
|
263
|
-
font-size: 16px;
|
|
264
|
-
border-radius: 4px;
|
|
265
|
-
background: $ghost-btn-background;
|
|
266
|
-
|
|
267
|
-
svg {
|
|
268
|
-
width: 16px;
|
|
269
|
-
height: 16px;
|
|
270
|
-
|
|
271
|
-
path {
|
|
272
|
-
stroke: $ghost-btn-color;
|
|
273
|
-
}
|
|
232
|
+
.numInputWrapper {
|
|
233
|
+
width: 60px;
|
|
234
|
+
padding: 5px 0px 5px 10px;
|
|
274
235
|
}
|
|
275
236
|
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
border-color: $ghost-btn-hover-border-color;
|
|
237
|
+
.cur-year {
|
|
238
|
+
padding: 0 !important;
|
|
239
|
+
}
|
|
280
240
|
|
|
281
|
-
|
|
282
|
-
|
|
241
|
+
.numInputWrapper,
|
|
242
|
+
.flatpickr-monthDropdown-months {
|
|
243
|
+
@include Ib-H4-medium;
|
|
244
|
+
padding: 5px 10px;
|
|
245
|
+
border-radius: 4px;
|
|
246
|
+
border: 2px solid transparent;
|
|
283
247
|
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
248
|
+
&:hover {
|
|
249
|
+
border-color: $blue-300;
|
|
250
|
+
background-color: $blue-100;
|
|
287
251
|
}
|
|
288
252
|
}
|
|
289
253
|
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
svg path {
|
|
294
|
-
stroke: $ghost-btn-active-color;
|
|
295
|
-
}
|
|
254
|
+
.numInput {
|
|
255
|
+
@include Ib-H4-medium;
|
|
256
|
+
font-weight: 500!important;
|
|
296
257
|
}
|
|
297
|
-
}
|
|
298
|
-
.flatpickr-days,
|
|
299
|
-
.flatpickr-innerContainer {
|
|
300
|
-
overflow: visible;
|
|
301
|
-
}
|
|
302
258
|
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
}
|
|
259
|
+
.flatpickr-months {
|
|
260
|
+
display: flex;
|
|
261
|
+
align-items: center;
|
|
262
|
+
height: 36px;
|
|
263
|
+
margin-bottom: 5px;
|
|
264
|
+
}
|
|
310
265
|
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
266
|
+
.flatpickr-prev-month,
|
|
267
|
+
.flatpickr-next-month {
|
|
268
|
+
position: initial;
|
|
269
|
+
width: 24px;
|
|
270
|
+
height: 24px;
|
|
271
|
+
border: 2px solid transparent;
|
|
272
|
+
transition: border 0.3s;
|
|
273
|
+
padding: 0;
|
|
274
|
+
display: flex;
|
|
275
|
+
align-items: center;
|
|
276
|
+
justify-content: center;
|
|
277
|
+
font-size: 16px;
|
|
278
|
+
border-radius: 4px;
|
|
279
|
+
background: $ghost-btn-background;
|
|
315
280
|
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
max-width: 287px;
|
|
320
|
-
min-width: 287px;
|
|
321
|
-
margin-left: -5px;
|
|
322
|
-
}
|
|
281
|
+
svg {
|
|
282
|
+
width: 16px;
|
|
283
|
+
height: 16px;
|
|
323
284
|
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
border: 2px solid $day-border;
|
|
285
|
+
path {
|
|
286
|
+
stroke: $ghost-btn-color;
|
|
287
|
+
}
|
|
288
|
+
}
|
|
329
289
|
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
290
|
+
&:focus,
|
|
291
|
+
&:hover {
|
|
292
|
+
background: $ghost-btn-hover-background;
|
|
293
|
+
border-color: $ghost-btn-hover-border-color;
|
|
334
294
|
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
background-color: transparent;
|
|
338
|
-
}
|
|
295
|
+
svg {
|
|
296
|
+
fill: transparent;
|
|
339
297
|
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
298
|
+
path {
|
|
299
|
+
stroke: $ghost-btn-hover-color;
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
}
|
|
345
303
|
|
|
346
|
-
|
|
347
|
-
|
|
304
|
+
&:active {
|
|
305
|
+
color: $ghost-btn-active-color;
|
|
306
|
+
background: $ghost-btn-active-background;
|
|
307
|
+
svg path {
|
|
308
|
+
stroke: $ghost-btn-active-color;
|
|
309
|
+
}
|
|
310
|
+
}
|
|
348
311
|
}
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
background-color: $day-selected-bg;
|
|
312
|
+
.flatpickr-days,
|
|
313
|
+
.flatpickr-innerContainer {
|
|
314
|
+
overflow: visible;
|
|
353
315
|
}
|
|
354
316
|
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
317
|
+
.flatpickr-current-month {
|
|
318
|
+
@include Ib-H4-medium;
|
|
319
|
+
padding: 0;
|
|
320
|
+
display: flex;
|
|
321
|
+
align-items: center;
|
|
322
|
+
justify-content: space-between;
|
|
360
323
|
}
|
|
361
324
|
|
|
362
|
-
|
|
363
|
-
|
|
325
|
+
.flatpickr-weekday {
|
|
326
|
+
@include Ib-H4-medium;
|
|
327
|
+
color: $weekday-color;
|
|
364
328
|
}
|
|
365
329
|
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
330
|
+
.flatpickr-weekdaycontainer,
|
|
331
|
+
.dayContainer {
|
|
332
|
+
width: 287px;
|
|
333
|
+
max-width: 287px;
|
|
334
|
+
min-width: 287px;
|
|
335
|
+
margin-left: -5px;
|
|
371
336
|
}
|
|
372
337
|
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
338
|
+
.flatpickr-day {
|
|
339
|
+
@include Ib-H4-medium;
|
|
340
|
+
color: $day-color;
|
|
376
341
|
border-radius: 4px;
|
|
377
|
-
|
|
378
|
-
}
|
|
379
|
-
|
|
380
|
-
&.inRange {
|
|
381
|
-
border-radius: 4px !important;
|
|
382
|
-
border-radius: 0;
|
|
383
|
-
background-color: $day-selected-in-range;
|
|
384
|
-
box-shadow: -5px 0 0 $day-selected-in-range,
|
|
385
|
-
5px 0 0 $day-selected-in-range;
|
|
342
|
+
border: 2px solid $day-border;
|
|
386
343
|
|
|
387
344
|
&.prevMonthDay,
|
|
388
345
|
&.nextMonthDay {
|
|
389
|
-
color: $day-color;
|
|
390
|
-
border: transparent;
|
|
346
|
+
color: $day-prev-next-color;
|
|
391
347
|
}
|
|
392
348
|
|
|
393
349
|
&:focus {
|
|
394
|
-
|
|
350
|
+
border: transparent;
|
|
351
|
+
background-color: transparent;
|
|
395
352
|
}
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
&.inRange {
|
|
399
|
-
border-radius: 4px;
|
|
400
353
|
|
|
401
354
|
&:hover {
|
|
402
|
-
position: relative;
|
|
403
355
|
color: $day-hover-color;
|
|
404
356
|
background-color: $day-hover-bg;
|
|
405
|
-
border:
|
|
406
|
-
z-index: 1000;
|
|
357
|
+
border-color: $day-hover-border-color;
|
|
407
358
|
}
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
&.today.inRange,
|
|
411
|
-
&.today {
|
|
412
|
-
color: $white;
|
|
413
|
-
border-color: transparent;
|
|
414
|
-
background-color: $blue-800;
|
|
415
|
-
transition: border 0.3s, color 0.3s, background-color 0.3s;
|
|
416
359
|
|
|
417
|
-
&:focus
|
|
418
|
-
|
|
419
|
-
border: transparent;
|
|
420
|
-
background-color: $blue-700;
|
|
360
|
+
&:focus {
|
|
361
|
+
@include focus(2px);
|
|
421
362
|
}
|
|
422
363
|
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
background-color: $
|
|
364
|
+
&.selected {
|
|
365
|
+
color: $day-selected-color;
|
|
366
|
+
background-color: $day-selected-bg;
|
|
426
367
|
}
|
|
427
|
-
}
|
|
428
368
|
|
|
429
|
-
|
|
430
|
-
|
|
369
|
+
&.startRange {
|
|
370
|
+
box-shadow: 5px 0 0 $day-selected-in-range;
|
|
371
|
+
&.startRange:hover {
|
|
372
|
+
box-shadow: none;
|
|
373
|
+
}
|
|
374
|
+
}
|
|
431
375
|
|
|
432
|
-
&.
|
|
376
|
+
&.endRange {
|
|
433
377
|
box-shadow: -5px 0 0 $day-selected-in-range;
|
|
434
378
|
}
|
|
435
379
|
|
|
436
|
-
&.
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
380
|
+
&.startRange,
|
|
381
|
+
&.endRange {
|
|
382
|
+
color: $day-start-end-range-color;
|
|
383
|
+
background-color: $day-start-end-range-bg;
|
|
384
|
+
border-radius: 4px;
|
|
440
385
|
}
|
|
441
|
-
}
|
|
442
386
|
|
|
443
|
-
|
|
444
|
-
|
|
387
|
+
&.startRange.endRange {
|
|
388
|
+
color: $day-start-end-range-color;
|
|
389
|
+
background-color: $day-start-end-range-bg;
|
|
390
|
+
border-radius: 4px;
|
|
391
|
+
box-shadow: none;
|
|
392
|
+
}
|
|
445
393
|
|
|
446
394
|
&.inRange {
|
|
447
|
-
|
|
395
|
+
border-radius: 4px !important;
|
|
396
|
+
border-radius: 0;
|
|
397
|
+
background-color: $day-selected-in-range;
|
|
398
|
+
box-shadow: -5px 0 0 $day-selected-in-range,
|
|
399
|
+
5px 0 0 $day-selected-in-range;
|
|
400
|
+
|
|
401
|
+
&.prevMonthDay,
|
|
402
|
+
&.nextMonthDay {
|
|
403
|
+
color: $day-color;
|
|
404
|
+
border: transparent;
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
&:focus {
|
|
408
|
+
z-index: 100;
|
|
409
|
+
}
|
|
448
410
|
}
|
|
449
411
|
|
|
450
|
-
&.
|
|
451
|
-
|
|
412
|
+
&.inRange {
|
|
413
|
+
border-radius: 4px;
|
|
414
|
+
|
|
415
|
+
&:hover {
|
|
416
|
+
position: relative;
|
|
417
|
+
color: $day-hover-color;
|
|
418
|
+
background-color: $day-hover-bg;
|
|
419
|
+
border: 2px solid $day-hover-border-color;
|
|
420
|
+
z-index: 1000;
|
|
421
|
+
}
|
|
452
422
|
}
|
|
453
423
|
|
|
454
|
-
&.
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
border-
|
|
424
|
+
&.today.inRange,
|
|
425
|
+
&.today {
|
|
426
|
+
color: $white;
|
|
427
|
+
border-color: transparent;
|
|
428
|
+
background-color: $blue-800;
|
|
429
|
+
transition: border 0.3s, color 0.3s, background-color 0.3s;
|
|
430
|
+
|
|
431
|
+
&:focus,
|
|
432
|
+
&:hover {
|
|
433
|
+
border: transparent;
|
|
434
|
+
background-color: $blue-700;
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
&:active {
|
|
438
|
+
border: transparent;
|
|
439
|
+
background-color: $blue-900;
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
&.flatpickr-disabled {
|
|
444
|
+
color: $neutral-500 !important;
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
&:nth-child(7n) {
|
|
448
|
+
border-radius: 0 4px 4px 0 !important;
|
|
449
|
+
|
|
450
|
+
&.inRange {
|
|
451
|
+
box-shadow: -5px 0 0 $day-selected-in-range;
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
&.selected,
|
|
455
|
+
&:hover,
|
|
456
|
+
&:focus {
|
|
457
|
+
border-radius: 4px !important;
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
&:nth-child(7n + 1) {
|
|
462
|
+
border-radius: 4px 0 0 4px !important;
|
|
463
|
+
|
|
464
|
+
&.inRange {
|
|
465
|
+
box-shadow: 5px 0 0 $day-selected-in-range;
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
&.endRange {
|
|
469
|
+
box-shadow: none !important;
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
&.selected,
|
|
473
|
+
&:hover,
|
|
474
|
+
&:focus {
|
|
475
|
+
border-radius: 4px !important;
|
|
476
|
+
}
|
|
458
477
|
}
|
|
459
478
|
}
|
|
479
|
+
|
|
480
|
+
.flatpickr-day,
|
|
481
|
+
.flatpickr-weekday {
|
|
482
|
+
display: flex;
|
|
483
|
+
height: 36px;
|
|
484
|
+
width: 36px;
|
|
485
|
+
max-width: 36px;
|
|
486
|
+
min-width: 36px;
|
|
487
|
+
align-items: center;
|
|
488
|
+
justify-content: center;
|
|
489
|
+
margin: 0 0 5px 5px;
|
|
490
|
+
}
|
|
460
491
|
}
|
|
461
492
|
|
|
462
|
-
.flatpickr-day,
|
|
463
|
-
.flatpickr-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
width: 36px;
|
|
467
|
-
max-width: 36px;
|
|
468
|
-
min-width: 36px;
|
|
469
|
-
align-items: center;
|
|
470
|
-
justify-content: center;
|
|
471
|
-
margin: 0 0 5px 5px;
|
|
493
|
+
.flatpickr-day.selected.startRange + .endRange:not(:nth-child(7n + 1)),
|
|
494
|
+
.flatpickr-day.startRange.startRange + .endRange:not(:nth-child(7n + 1)),
|
|
495
|
+
.flatpickr-day.endRange.startRange + .endRange:not(:nth-child(7n + 1)) {
|
|
496
|
+
box-shadow: -5px 0 0 $day-selected-in-range;
|
|
472
497
|
}
|
|
473
|
-
}
|
|
474
498
|
|
|
475
|
-
.flatpickr-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
499
|
+
.flatpickr-time {
|
|
500
|
+
border-top: none!important;
|
|
501
|
+
// padding-bottom: 5px;
|
|
502
|
+
&:after {
|
|
503
|
+
display: none;
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
.flatpickr-time-separator {
|
|
507
|
+
display: none;
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
.numInputWrapper{
|
|
511
|
+
margin: 0;
|
|
512
|
+
padding: 0;
|
|
513
|
+
overflow: visible;
|
|
514
|
+
|
|
515
|
+
input {
|
|
516
|
+
height: 36px;
|
|
517
|
+
border-bottom: 1px solid $gray-200;
|
|
518
|
+
border-radius: 4px 4px 0px 0px!important;
|
|
519
|
+
background-color: $gray-100;
|
|
520
|
+
|
|
521
|
+
&:hover {
|
|
522
|
+
color: $input-hover-color;
|
|
523
|
+
background-color: $input-hover-bg;
|
|
524
|
+
|
|
525
|
+
&::placeholder {
|
|
526
|
+
color: $input-hover-placeholder-color;
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
&:focus {
|
|
531
|
+
border-radius: 4px!important;
|
|
532
|
+
border-bottom: 0px;
|
|
533
|
+
@include focus(0px);
|
|
534
|
+
}
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
.flatpickr-am-pm {
|
|
539
|
+
height: 36px;
|
|
540
|
+
width: 36px;
|
|
541
|
+
line-height: 33px;
|
|
542
|
+
border: 2px solid transparent;
|
|
543
|
+
transition: border 0.3s;
|
|
544
|
+
color: $neutral-900;
|
|
545
|
+
border-radius: 4px;
|
|
546
|
+
background: $gray-100;
|
|
547
|
+
|
|
548
|
+
&:hover {
|
|
549
|
+
border-color: $blue-300;
|
|
550
|
+
color: $blue-700;
|
|
551
|
+
background: $blue-100;
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
&.active,
|
|
555
|
+
&:active {
|
|
556
|
+
border-color: transparent;
|
|
557
|
+
color: $blue-900;
|
|
558
|
+
background-color: $blue-200;
|
|
559
|
+
color: $blue-900;
|
|
560
|
+
background: $blue-50;
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
&:focus {
|
|
564
|
+
border-radius: 4px!important;
|
|
565
|
+
border-bottom: 0px;
|
|
566
|
+
@include focus(-2px);
|
|
567
|
+
}
|
|
568
|
+
}
|
|
569
|
+
}
|
|
479
570
|
}
|