@mptw/skylens-ui 1.5.16 → 1.5.18

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.
Files changed (62) hide show
  1. package/app/components/SLAlertModal.vue +18 -18
  2. package/app/components/SLButton.vue +108 -148
  3. package/app/components/SLCalendarButton.vue +24 -24
  4. package/app/components/SLCard.vue +44 -44
  5. package/app/components/SLCheckbox.vue +45 -46
  6. package/app/components/SLCircleButton.vue +13 -13
  7. package/app/components/SLCollapsableBlock.vue +15 -15
  8. package/app/components/SLCollapsableMulitPillSelect.vue +9 -9
  9. package/app/components/SLContextMenu.vue +9 -9
  10. package/app/components/SLDateInput.vue +41 -48
  11. package/app/components/SLDownloadButton.vue +12 -12
  12. package/app/components/SLDropdown.vue +21 -21
  13. package/app/components/SLDropdownItem.vue +3 -3
  14. package/app/components/SLElementWithTitle.vue +3 -3
  15. package/app/components/SLEyeCheckbox.vue +36 -36
  16. package/app/components/SLFileInput.vue +16 -16
  17. package/app/components/SLGenderAgeSelect.vue +39 -39
  18. package/app/components/SLHourRangeInput.vue +19 -20
  19. package/app/components/SLIOSSwitch.vue +72 -73
  20. package/app/components/SLIconButton.vue +29 -21
  21. package/app/components/SLInfoTip.vue +35 -36
  22. package/app/components/SLLegend.vue +9 -9
  23. package/app/components/SLLink.vue +3 -3
  24. package/app/components/SLLoading.vue +25 -25
  25. package/app/components/SLModal.vue +79 -79
  26. package/app/components/SLMonthCalendarButton.vue +46 -46
  27. package/app/components/SLMonthPicker.vue +28 -30
  28. package/app/components/SLMultiEmailInput.vue +72 -72
  29. package/app/components/SLMultiSelect.vue +27 -29
  30. package/app/components/SLPageModal.vue +5 -5
  31. package/app/components/SLPagination.vue +31 -31
  32. package/app/components/SLPillCheckbox.vue +42 -42
  33. package/app/components/SLPillLabel.vue +36 -36
  34. package/app/components/SLPopupMenuButton.vue +16 -16
  35. package/app/components/SLProfileButton.vue +17 -17
  36. package/app/components/SLProjectShareItem.vue +18 -17
  37. package/app/components/SLRadioButton.vue +33 -33
  38. package/app/components/SLRadioButtonGroup.vue +6 -6
  39. package/app/components/SLRadioGroup.vue +93 -93
  40. package/app/components/SLRangeInput.vue +17 -19
  41. package/app/components/SLRightSider.vue +19 -20
  42. package/app/components/SLSearchInput.vue +7 -7
  43. package/app/components/SLSelect.vue +90 -92
  44. package/app/components/SLSelectAllToggle.vue +45 -45
  45. package/app/components/SLSidebarNav.vue +148 -151
  46. package/app/components/SLSidebarNavGroupItemSection.vue +70 -78
  47. package/app/components/SLSidebarNavLinkItem.vue +51 -53
  48. package/app/components/SLSitePage.vue +6 -6
  49. package/app/components/SLSortByDropdown.vue +18 -18
  50. package/app/components/SLStayRangeInput.vue +40 -40
  51. package/app/components/SLTable.vue +56 -59
  52. package/app/components/SLTableTooltip.vue +31 -33
  53. package/app/components/SLTabs.vue +220 -220
  54. package/app/components/SLTextInput.vue +64 -74
  55. package/app/components/SLTextarea.vue +9 -9
  56. package/app/components/SLToast.vue +1 -2
  57. package/app/components/SLToggleButton.vue +12 -12
  58. package/app/components/SLTwoLayerMultiSelect.vue +56 -56
  59. package/app/components/SLTwoLayerSelect.vue +39 -39
  60. package/app/components/SLTwoLayerSingleSelect.vue +21 -21
  61. package/app/components/SLWarnModal.vue +3 -3
  62. package/package.json +1 -1
@@ -401,68 +401,63 @@ export default defineComponent({
401
401
 
402
402
  .sidebar.dark .sidebar-nav-group-item-section-header {
403
403
  @apply bg-primary-900 text-white hover:bg-primary;
404
- }
405
404
 
406
- .sidebar.dark .sidebar-nav-group-item-section-header.active,
407
- .sidebar.dark .sidebar-nav-group-item-section-header.router-link-exact-active {
408
- @apply bg-primary-600 hover:bg-primary-600;
405
+ &.active, &.router-link-exact-active {
406
+ @apply bg-primary-600 hover:bg-primary-600;
407
+ }
409
408
  }
410
409
 
411
410
  .sidebar.dark
412
411
  .sidebar-nav-group-item-section-body-wrapper
413
412
  .sidebar-nav-group-item-section-link {
414
413
  @apply bg-primary-900 text-white hover:bg-primary-800 active:bg-primary-600;
415
- }
416
414
 
417
- .sidebar.dark
418
- .sidebar-nav-group-item-section-body-wrapper
419
- .sidebar-nav-group-item-section-link.router-link-exact-active {
420
- @apply bg-primary-600 hover:bg-primary-600;
415
+ &.router-link-exact-active {
416
+ @apply bg-primary-600 hover:bg-primary-600;
417
+ }
421
418
  }
422
419
 
423
420
  .sidebar-nav-group-item-section {
424
421
  @apply flex flex-col;
425
- }
426
422
 
427
- .sidebar-nav-group-item-section.collapsed
423
+ &.collapsed
428
424
  .sidebar-nav-group-item-section-header-right
429
425
  .sidebar-nav-group-item-section-status
430
426
  .sidebar-nav-group-item-section-toggle-btn {
431
- @apply rotate-0;
427
+ @apply rotate-0;
428
+ }
432
429
  }
433
430
 
434
431
  .sidebar-nav-group-item-section-header {
435
432
  @apply flex items-center flex-nowrap py-2 pr-1 pl-2 bg-primary-50 rounded-lg text-base text-primary hover:bg-primary-200 hover:font-bold;
436
- }
437
433
 
438
- .sidebar-nav-group-item-section-header:hover
434
+ &.active
439
435
  .sidebar-nav-group-item-section-header-right
440
436
  .sidebar-nav-group-item-section-status
441
- .sidebar-nav-group-item-section-add-btn {
442
- @apply text-primary;
443
- }
444
-
445
- .sidebar-nav-group-item-section-header.active,
446
- .sidebar-nav-group-item-section-header.router-link-exact-active {
447
- @apply bg-primary-600 text-white font-bold hover:bg-primary-600 hover:text-white hover:font-bold;
448
- }
449
-
450
- .sidebar-nav-group-item-section-header.active
437
+ .sidebar-nav-group-item-section-add-btn, &.router-link-exact-active
451
438
  .sidebar-nav-group-item-section-header-right
452
439
  .sidebar-nav-group-item-section-status
453
- .sidebar-nav-group-item-section-add-btn,
454
- .sidebar-nav-group-item-section-header.router-link-exact-active
440
+ .sidebar-nav-group-item-section-add-btn {
441
+ @apply text-white;
442
+ }
443
+
444
+ &.router-link-exact-active
455
445
  .sidebar-nav-group-item-section-header-right
456
446
  .sidebar-nav-group-item-section-status
457
447
  .sidebar-nav-group-item-section-add-btn {
458
- @apply text-white;
459
- }
448
+ @apply hidden;
449
+ }
460
450
 
461
- .sidebar-nav-group-item-section-header.router-link-exact-active
451
+ &:hover
462
452
  .sidebar-nav-group-item-section-header-right
463
453
  .sidebar-nav-group-item-section-status
464
454
  .sidebar-nav-group-item-section-add-btn {
465
- @apply hidden;
455
+ @apply text-primary;
456
+ }
457
+
458
+ &.active, &.router-link-exact-active {
459
+ @apply bg-primary-600 text-white font-bold hover:bg-primary-600 hover:text-white hover:font-bold;
460
+ }
466
461
  }
467
462
 
468
463
  .sidebar-nav-group-item-section-header-left {
@@ -471,10 +466,10 @@ export default defineComponent({
471
466
 
472
467
  .sidebar-nav-group-item-section-header-right {
473
468
  @apply grow flex items-center justify-between flex-nowrap space-x-1;
474
- }
475
469
 
476
- .sidebar-nav-group-item-section-header-right .sidebar-nav-group-section-title {
477
- @apply grow inline-flex items-center h-6 pl-1 whitespace-nowrap;
470
+ .sidebar-nav-group-section-title {
471
+ @apply grow inline-flex items-center h-6 pl-1 whitespace-nowrap;
472
+ }
478
473
  }
479
474
 
480
475
  .sidebar-nav-group-item-section-header-right
@@ -505,70 +500,67 @@ export default defineComponent({
505
500
  .sidebar-nav-group-item-section-body-wrapper
506
501
  .sidebar-nav-group-item-section-link {
507
502
  @apply block py-1 px-2 bg-primary-50 rounded-lg text-sm text-primary whitespace-nowrap hover:bg-primary-200 hover:font-bold active:bg-primary-600 active:text-white active:font-bold;
508
- }
509
503
 
510
- .sidebar-nav-group-item-section-body-wrapper
511
- .sidebar-nav-group-item-section-link.router-link-exact-active {
512
- @apply bg-primary-600 text-white font-bold hover:bg-primary-600 hover:text-white hover:font-bold;
504
+ &.router-link-exact-active {
505
+ @apply bg-primary-600 text-white font-bold hover:bg-primary-600 hover:text-white hover:font-bold;
506
+ }
513
507
  }
514
508
 
515
509
  .sidebar-nav-group-item-section-popup {
516
510
  @apply flex-col min-w-[142px] p-2 space-y-1 bg-white rounded-lg overflow-hidden shadow-md hidden;
517
- }
518
511
 
519
- .sidebar-nav-group-item-section-popup.dark {
520
- @apply bg-primary-900;
521
- }
512
+ &.single
513
+ .sidebar-nav-group-item-section-popup-link {
514
+ @apply py-2 pr-1 pl-2;
515
+ }
522
516
 
523
- .sidebar-nav-group-item-section-popup.dark.single
524
- .sidebar-nav-group-item-section-popup-link:hover
525
- .sidebar-nav-group-item-section-popup-link-icon {
526
- @apply text-primary-500;
527
- }
517
+ &.dark
518
+ .sidebar-nav-group-item-section-popup-link {
519
+ @apply bg-primary-900 text-white hover:bg-primary active:bg-primary-600;
528
520
 
529
- .sidebar-nav-group-item-section-popup.dark.single
530
- .sidebar-nav-group-item-section-popup-link.router-link-exact-active
531
- .sidebar-nav-group-item-section-popup-link-icon,
532
- .sidebar-nav-group-item-section-popup.dark.single
533
- .sidebar-nav-group-item-section-popup-link:active
534
- .sidebar-nav-group-item-section-popup-link-icon {
535
- @apply text-primary;
536
- }
521
+ &.router-link-exact-active {
522
+ @apply bg-primary-600 hover:bg-primary-600;
523
+ }
524
+ }
537
525
 
538
- .sidebar-nav-group-item-section-popup.dark.single
539
- .sidebar-nav-group-item-section-popup-link-icon {
540
- @apply text-primary-500;
541
- }
526
+ &[data-show] {
527
+ @apply flex;
528
+ }
542
529
 
543
- .sidebar-nav-group-item-section-popup.dark
544
- .sidebar-nav-group-item-section-popup-link {
545
- @apply bg-primary-900 text-white hover:bg-primary active:bg-primary-600;
546
- }
530
+ &.single {
531
+ @apply p-0;
532
+ }
547
533
 
548
- .sidebar-nav-group-item-section-popup.dark
549
- .sidebar-nav-group-item-section-popup-link.router-link-exact-active {
550
- @apply bg-primary-600 hover:bg-primary-600;
551
- }
534
+ &.dark {
535
+ @apply bg-primary-900;
552
536
 
553
- .sidebar-nav-group-item-section-popup[data-show] {
554
- @apply flex;
555
- }
537
+ &.single
538
+ .sidebar-nav-group-item-section-popup-link.router-link-exact-active
539
+ .sidebar-nav-group-item-section-popup-link-icon, &.single
540
+ .sidebar-nav-group-item-section-popup-link:active
541
+ .sidebar-nav-group-item-section-popup-link-icon {
542
+ @apply text-primary;
543
+ }
556
544
 
557
- .sidebar-nav-group-item-section-popup.single {
558
- @apply p-0;
559
- }
545
+ &.single
546
+ .sidebar-nav-group-item-section-popup-link:hover
547
+ .sidebar-nav-group-item-section-popup-link-icon {
548
+ @apply text-primary-500;
549
+ }
560
550
 
561
- .sidebar-nav-group-item-section-popup.single
562
- .sidebar-nav-group-item-section-popup-link {
563
- @apply py-2 pr-1 pl-2;
551
+ &.single
552
+ .sidebar-nav-group-item-section-popup-link-icon {
553
+ @apply text-primary-500;
554
+ }
555
+ }
564
556
  }
565
557
 
566
558
  .sidebar-nav-group-item-section-popup-link {
567
559
  @apply flex items-center justify-between flex-nowrap py-1 px-2 space-x-4 bg-white rounded-lg text-sm text-primary hover:bg-primary-200 hover:font-bold active:bg-primary-600 active:text-white active:font-bold;
568
- }
569
560
 
570
- .sidebar-nav-group-item-section-popup-link.router-link-exact-active {
571
- @apply bg-primary-600 text-white font-bold hover:bg-primary-600 hover:text-white hover:font-bold;
561
+ &.router-link-exact-active {
562
+ @apply bg-primary-600 text-white font-bold hover:bg-primary-600 hover:text-white hover:font-bold;
563
+ }
572
564
  }
573
565
 
574
566
  .sidebar-nav-group-item-section-popup-link-icon {
@@ -237,10 +237,10 @@ export default defineComponent({
237
237
 
238
238
  .sidebar.closure .sidebar-nav-link-item-left {
239
239
  @apply lg:inline-flex;
240
- }
241
240
 
242
- .sidebar.closure .sidebar-nav-link-item-left .item-status {
243
- @apply lg:inline-flex;
241
+ .item-status {
242
+ @apply lg:inline-flex;
243
+ }
244
244
  }
245
245
 
246
246
  .sidebar.closure .sidebar-nav-link-item-right {
@@ -249,11 +249,10 @@ export default defineComponent({
249
249
 
250
250
  .sidebar.dark .sidebar-nav-link-item {
251
251
  @apply bg-primary-800 text-white hover:bg-primary active:bg-primary-600;
252
- }
253
252
 
254
- .sidebar.dark .sidebar-nav-link-item.router-link-exact-active,
255
- .sidebar.dark .sidebar-nav-link-item.router-link-active {
256
- @apply bg-primary-600 hover:bg-primary-600 active:bg-primary-600;
253
+ &.router-link-exact-active, &.router-link-active {
254
+ @apply bg-primary-600 hover:bg-primary-600 active:bg-primary-600;
255
+ }
257
256
  }
258
257
 
259
258
  .sidebar.dark
@@ -268,80 +267,79 @@ export default defineComponent({
268
267
 
269
268
  .sidebar-nav-link-item {
270
269
  @apply flex items-center justify-start py-2 pr-3 pl-2 bg-white rounded-lg text-base text-primary hover:bg-primary-200 hover:font-bold active:bg-primary-600 active:text-white active:font-bold;
271
- }
272
270
 
273
- .sidebar-nav-link-item.router-link-exact-active,
274
- .sidebar-nav-link-item.router-link-active {
275
- @apply bg-primary-600 text-white font-bold hover:bg-primary-600 hover:text-white active:font-bold;
276
- }
271
+ &.sidebar-nav-link-item--home.router-link-exact-active.router-link-active {
272
+ @apply bg-primary-600 text-white font-bold hover:bg-primary-600 hover:text-white hover:font-bold;
273
+ }
277
274
 
278
- .sidebar-nav-link-item.sidebar-nav-link-item--home.router-link-active {
279
- @apply bg-white text-primary font-normal hover:bg-primary-200 hover:font-bold active:bg-primary-600 active:text-white active:font-bold;
280
- }
275
+ &.router-link-exact-active, &.router-link-active {
276
+ @apply bg-primary-600 text-white font-bold hover:bg-primary-600 hover:text-white active:font-bold;
277
+ }
278
+
279
+ &.sidebar-nav-link-item--home.router-link-active {
280
+ @apply bg-white text-primary font-normal hover:bg-primary-200 hover:font-bold active:bg-primary-600 active:text-white active:font-bold;
281
+ }
281
282
 
282
- .sidebar-nav-link-item.sidebar-nav-link-item--home.router-link-exact-active.router-link-active {
283
- @apply bg-primary-600 text-white font-bold hover:bg-primary-600 hover:text-white hover:font-bold;
283
+ + .sidebar-nav-link-item {
284
+ @apply mt-1;
285
+ }
284
286
  }
285
287
 
286
288
  .sidebar-nav-link-item-left {
287
289
  @apply relative grow-0 shrink-0;
288
- }
289
290
 
290
- .sidebar-nav-link-item-left .item-pre-icon {
291
- @apply inline-flex;
292
- }
291
+ .item-pre-icon {
292
+ @apply inline-flex;
293
+ }
293
294
 
294
- .sidebar-nav-link-item-left .item-status {
295
- @apply absolute -top-2.5 -left-2.5 text-base hidden;
296
- }
295
+ .item-status {
296
+ @apply absolute -top-2.5 -left-2.5 text-base hidden;
297
297
 
298
- .sidebar-nav-link-item-left .item-status.status--new::before {
299
- content: "";
300
- @apply block absolute top-1/2 left-1/2 w-2 h-2 -translate-x-1/2 -translate-y-1/2 bg-white;
301
- }
298
+ &.status--new::before {
299
+ content: "";
300
+ @apply block absolute top-1/2 left-1/2 w-2 h-2 -translate-x-1/2 -translate-y-1/2 bg-white;
301
+ }
302
302
 
303
- .sidebar-nav-link-item-left .item-status.status--new .icon {
304
- @apply relative text-highlight-500;
303
+ &.status--new .icon {
304
+ @apply relative text-highlight-500;
305
+ }
306
+ }
305
307
  }
306
308
 
307
309
  .sidebar-nav-link-item-right {
308
310
  @apply grow flex items-center flex-nowrap space-x-1.5;
309
- }
310
311
 
311
- .sidebar-nav-link-item-right .item-title {
312
- @apply grow inline-flex items-center h-6 pl-1 whitespace-nowrap;
313
- }
314
-
315
- .sidebar-nav-link-item-right .item-post-icon {
316
- @apply grow-0 shrink-0 relative inline-flex;
317
- }
312
+ .item-post-icon {
313
+ @apply grow-0 shrink-0 relative inline-flex;
318
314
 
319
- .sidebar-nav-link-item-right .item-post-icon.status--new::before {
320
- content: "";
321
- @apply block absolute top-1/2 left-1/2 w-2 h-2 -translate-x-1/2 -translate-y-1/2 bg-white;
322
- }
315
+ &.status--new::before {
316
+ content: "";
317
+ @apply block absolute top-1/2 left-1/2 w-2 h-2 -translate-x-1/2 -translate-y-1/2 bg-white;
318
+ }
323
319
 
324
- .sidebar-nav-link-item-right .item-post-icon.status--new .icon {
325
- @apply relative text-highlight-500;
326
- }
320
+ &.status--new .icon {
321
+ @apply relative text-highlight-500;
322
+ }
323
+ }
327
324
 
328
- .sidebar-nav-link-item + .sidebar-nav-link-item {
329
- @apply mt-1;
325
+ .item-title {
326
+ @apply grow inline-flex items-center h-6 pl-1 whitespace-nowrap;
327
+ }
330
328
  }
331
329
 
332
330
  .sidebar-nav-link-item-popup {
333
331
  @apply rounded-lg overflow-hidden shadow-md hidden;
334
- }
335
332
 
336
- .sidebar-nav-link-item-popup[data-show] {
337
- @apply block;
333
+ &[data-show] {
334
+ @apply block;
335
+ }
338
336
  }
339
337
 
340
338
  .sidebar-nav-link-item-popup-link {
341
339
  @apply flex items-center p-2 space-x-4 bg-white text-sm text-primary whitespace-nowrap hover:bg-primary-200 hover:font-bold active:bg-primary-600 active:text-white active:font-bold;
342
- }
343
340
 
344
- .sidebar-nav-link-item-popup-link.router-link-exact-active {
345
- @apply bg-primary-600 text-white font-bold hover:bg-primary-600 hover:text-white hover:font-bold;
341
+ &.router-link-exact-active {
342
+ @apply bg-primary-600 text-white font-bold hover:bg-primary-600 hover:text-white hover:font-bold;
343
+ }
346
344
  }
347
345
  </style>
@@ -119,14 +119,14 @@ export default defineComponent({
119
119
 
120
120
  .site-page-header {
121
121
  @apply flex justify-between mb-4;
122
- }
123
122
 
124
- .site-page-header.empty {
125
- @apply mb-0;
126
- }
123
+ &.empty {
124
+ @apply mb-0;
127
125
 
128
- .site-page-header.empty .site-page-header-left #site-page-header-left-bottom {
129
- @apply mt-0;
126
+ .site-page-header-left #site-page-header-left-bottom {
127
+ @apply mt-0;
128
+ }
129
+ }
130
130
  }
131
131
 
132
132
  .site-page-header-left-top {
@@ -166,37 +166,37 @@ export default defineComponent({
166
166
 
167
167
  .sort-by-dropdown {
168
168
  @apply inline-flex;
169
- }
170
169
 
171
- .sort-by-dropdown.single .sort-by-dropdown-toggle {
172
- @apply bg-white cursor-default;
173
- }
170
+ &.single .sort-by-dropdown-toggle {
171
+ @apply bg-white cursor-default;
174
172
 
175
- .sort-by-dropdown.single .sort-by-dropdown-toggle .icon {
176
- @apply hidden;
173
+ .icon {
174
+ @apply hidden;
175
+ }
176
+ }
177
177
  }
178
178
 
179
179
  .sort-by-dropdown-toggle {
180
180
  @apply inline-flex items-center px-1 py-0.5 space-x-2 bg-primary-50 rounded text-sm text-primary;
181
- }
182
181
 
183
- .sort-by-dropdown-toggle .icon {
184
- @apply text-xs;
182
+ .icon {
183
+ @apply text-xs;
184
+ }
185
185
  }
186
186
 
187
187
  .sort-by-dropdown-menu {
188
188
  @apply z-2 flex-col min-w-21 bg-white border border-primary-600 rounded overflow-hidden hidden;
189
- }
190
189
 
191
- .sort-by-dropdown-menu[data-show] {
192
- @apply inline-flex;
193
- }
190
+ .sort-by-dropdown-item {
191
+ @apply inline-flex p-2 bg-white text-sm text-pgray-3;
194
192
 
195
- .sort-by-dropdown-menu .sort-by-dropdown-item {
196
- @apply inline-flex p-2 bg-white text-sm text-pgray-3;
197
- }
193
+ &.active {
194
+ @apply bg-primary-100 text-primary;
195
+ }
196
+ }
198
197
 
199
- .sort-by-dropdown-menu .sort-by-dropdown-item.active {
200
- @apply bg-primary-100 text-primary;
198
+ &[data-show] {
199
+ @apply inline-flex;
200
+ }
201
201
  }
202
202
  </style>
@@ -260,58 +260,58 @@ export default defineComponent({
260
260
 
261
261
  .stay-range-input {
262
262
  @apply flex flex-col;
263
- }
264
263
 
265
- .stay-range-input.inline {
266
- @apply flex flex-row;
267
- }
264
+ &.disabled .input-group input[type="text"],
265
+ &.readonly .input-group input[type="text"] {
266
+ @apply border-primary-600 bg-primary-100;
267
+ }
268
268
 
269
- .stay-range-input.inline > label {
270
- @apply grow-0 shrink-0 mb-0 mr-2 py-2 border-t border-b border-transparent;
271
- }
269
+ .is-invalid .input-group input[type="text"] {
270
+ @apply border-danger;
271
+ }
272
272
 
273
- .stay-range-input.inline .form-control {
274
- @apply grow;
275
- }
273
+ .is-invalid .invalid-feedback {
274
+ @apply block;
275
+ }
276
276
 
277
- .stay-range-input.disabled .input-group input[type="text"],
278
- .stay-range-input.readonly .input-group input[type="text"] {
279
- @apply border-primary-600 bg-primary-100;
280
- }
277
+ .form-control-container {
278
+ @apply flex items-center space-x-2;
279
+ }
281
280
 
282
- .stay-range-input > label {
283
- @apply mb-2 text-base leading-[1.3125] text-pgray-2;
284
- }
281
+ .input-group-splitter {
282
+ @apply grow-0 shrink-0 w-3 h-px bg-primary;
283
+ }
285
284
 
286
- .stay-range-input .is-invalid .input-group input[type="text"] {
287
- @apply border-danger;
288
- }
285
+ .invalid-feedback {
286
+ @apply hidden text-danger text-xs;
287
+ }
289
288
 
290
- .stay-range-input .is-invalid .invalid-feedback {
291
- @apply block;
292
- }
289
+ .input-group {
290
+ @apply grow flex flex-nowrap space-x-2;
293
291
 
294
- .stay-range-input .form-control-container {
295
- @apply flex items-center space-x-2;
296
- }
292
+ input[type="text"] {
293
+ @apply grow-0 shrink-0 w-11 bg-white border border-primary-600 rounded text-base text-center text-pgray-2 outline-none;
294
+ }
297
295
 
298
- .stay-range-input .input-group {
299
- @apply grow flex flex-nowrap space-x-2;
300
- }
296
+ .custom-select {
297
+ @apply w-full;
298
+ }
299
+ }
301
300
 
302
- .stay-range-input .input-group input[type="text"] {
303
- @apply grow-0 shrink-0 w-11 border border-primary-600 rounded text-base text-center text-pgray-2 outline-none;
304
- }
301
+ > label {
302
+ @apply mb-2 text-base leading-[1.3125] text-pgray-2;
303
+ }
305
304
 
306
- .stay-range-input .input-group .custom-select {
307
- @apply w-full;
308
- }
305
+ &.inline {
306
+ @apply flex flex-row;
309
307
 
310
- .stay-range-input .input-group-splitter {
311
- @apply grow-0 shrink-0 w-3 h-px bg-primary;
312
- }
308
+ .form-control {
309
+ @apply grow;
310
+ }
313
311
 
314
- .stay-range-input .invalid-feedback {
315
- @apply hidden text-danger text-xs;
312
+ > label {
313
+ @apply grow-0 shrink-0 mb-0 mr-2 py-2 border-t border-b border-transparent;
314
+ }
315
+ }
316
316
  }
317
317
  </style>