@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.
- package/app/components/SLAlertModal.vue +18 -18
- package/app/components/SLButton.vue +108 -148
- package/app/components/SLCalendarButton.vue +24 -24
- package/app/components/SLCard.vue +44 -44
- package/app/components/SLCheckbox.vue +45 -46
- package/app/components/SLCircleButton.vue +13 -13
- package/app/components/SLCollapsableBlock.vue +15 -15
- package/app/components/SLCollapsableMulitPillSelect.vue +9 -9
- package/app/components/SLContextMenu.vue +9 -9
- package/app/components/SLDateInput.vue +41 -48
- package/app/components/SLDownloadButton.vue +12 -12
- package/app/components/SLDropdown.vue +21 -21
- package/app/components/SLDropdownItem.vue +3 -3
- package/app/components/SLElementWithTitle.vue +3 -3
- package/app/components/SLEyeCheckbox.vue +36 -36
- package/app/components/SLFileInput.vue +16 -16
- package/app/components/SLGenderAgeSelect.vue +39 -39
- package/app/components/SLHourRangeInput.vue +19 -20
- package/app/components/SLIOSSwitch.vue +72 -73
- package/app/components/SLIconButton.vue +29 -21
- package/app/components/SLInfoTip.vue +35 -36
- package/app/components/SLLegend.vue +9 -9
- package/app/components/SLLink.vue +3 -3
- package/app/components/SLLoading.vue +25 -25
- package/app/components/SLModal.vue +79 -79
- package/app/components/SLMonthCalendarButton.vue +46 -46
- package/app/components/SLMonthPicker.vue +28 -30
- package/app/components/SLMultiEmailInput.vue +72 -72
- package/app/components/SLMultiSelect.vue +27 -29
- package/app/components/SLPageModal.vue +5 -5
- package/app/components/SLPagination.vue +31 -31
- package/app/components/SLPillCheckbox.vue +42 -42
- package/app/components/SLPillLabel.vue +36 -36
- package/app/components/SLPopupMenuButton.vue +16 -16
- package/app/components/SLProfileButton.vue +17 -17
- package/app/components/SLProjectShareItem.vue +18 -17
- package/app/components/SLRadioButton.vue +33 -33
- package/app/components/SLRadioButtonGroup.vue +6 -6
- package/app/components/SLRadioGroup.vue +93 -93
- package/app/components/SLRangeInput.vue +17 -19
- package/app/components/SLRightSider.vue +19 -20
- package/app/components/SLSearchInput.vue +7 -7
- package/app/components/SLSelect.vue +90 -92
- package/app/components/SLSelectAllToggle.vue +45 -45
- package/app/components/SLSidebarNav.vue +148 -151
- package/app/components/SLSidebarNavGroupItemSection.vue +70 -78
- package/app/components/SLSidebarNavLinkItem.vue +51 -53
- package/app/components/SLSitePage.vue +6 -6
- package/app/components/SLSortByDropdown.vue +18 -18
- package/app/components/SLStayRangeInput.vue +40 -40
- package/app/components/SLTable.vue +56 -59
- package/app/components/SLTableTooltip.vue +31 -33
- package/app/components/SLTabs.vue +220 -220
- package/app/components/SLTextInput.vue +64 -74
- package/app/components/SLTextarea.vue +9 -9
- package/app/components/SLToast.vue +1 -2
- package/app/components/SLToggleButton.vue +12 -12
- package/app/components/SLTwoLayerMultiSelect.vue +56 -56
- package/app/components/SLTwoLayerSelect.vue +39 -39
- package/app/components/SLTwoLayerSingleSelect.vue +21 -21
- package/app/components/SLWarnModal.vue +3 -3
- package/package.json +1 -1
|
@@ -69,65 +69,65 @@ export default defineComponent({
|
|
|
69
69
|
|
|
70
70
|
.select-all-toggle {
|
|
71
71
|
@apply inline-flex items-stretch border rounded-sm bg-white overflow-hidden;
|
|
72
|
-
}
|
|
73
72
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
}
|
|
73
|
+
&.select-all-toggle-xs .select-all-option {
|
|
74
|
+
@apply text-xs;
|
|
75
|
+
}
|
|
77
76
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
}
|
|
77
|
+
&.select-all-toggle-sm .select-all-option {
|
|
78
|
+
@apply py-1.25 text-xs;
|
|
79
|
+
}
|
|
81
80
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
}
|
|
81
|
+
&.select-all-toggle-primary-600 {
|
|
82
|
+
@apply border-primary-600;
|
|
85
83
|
|
|
86
|
-
.select-all-
|
|
87
|
-
|
|
88
|
-
}
|
|
84
|
+
.select-all-divider {
|
|
85
|
+
@apply bg-primary-600;
|
|
86
|
+
}
|
|
89
87
|
|
|
90
|
-
.select-all-
|
|
91
|
-
|
|
92
|
-
}
|
|
88
|
+
.select-all-option {
|
|
89
|
+
@apply text-primary-600;
|
|
93
90
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
}
|
|
91
|
+
&.active {
|
|
92
|
+
@apply bg-primary;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
97
96
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
}
|
|
97
|
+
&.select-all-toggle-secondary {
|
|
98
|
+
@apply border-secondary-400;
|
|
101
99
|
|
|
102
|
-
.select-all-
|
|
103
|
-
|
|
104
|
-
}
|
|
100
|
+
.select-all-divider {
|
|
101
|
+
@apply bg-primary-600;
|
|
102
|
+
}
|
|
105
103
|
|
|
106
|
-
.select-all-
|
|
107
|
-
|
|
108
|
-
}
|
|
104
|
+
.select-all-option {
|
|
105
|
+
@apply text-secondary-400;
|
|
109
106
|
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
}
|
|
107
|
+
&.active {
|
|
108
|
+
@apply bg-secondary;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
113
112
|
|
|
114
|
-
.select-all-
|
|
115
|
-
|
|
116
|
-
}
|
|
113
|
+
.select-all-option-none {
|
|
114
|
+
@apply pr-2 pl-1.75;
|
|
115
|
+
}
|
|
117
116
|
|
|
118
|
-
.select-all-
|
|
119
|
-
|
|
120
|
-
}
|
|
117
|
+
.select-all-option-all {
|
|
118
|
+
@apply px-2;
|
|
119
|
+
}
|
|
121
120
|
|
|
122
|
-
.select-all-
|
|
123
|
-
|
|
124
|
-
}
|
|
121
|
+
.select-all-divider {
|
|
122
|
+
@apply mt-0.5 mb-0.5 w-px;
|
|
123
|
+
}
|
|
125
124
|
|
|
126
|
-
.select-all-
|
|
127
|
-
|
|
128
|
-
}
|
|
125
|
+
.select-all-option {
|
|
126
|
+
@apply block py-1 bg-white text-sm;
|
|
129
127
|
|
|
130
|
-
|
|
131
|
-
|
|
128
|
+
&.active {
|
|
129
|
+
@apply text-white;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
132
|
}
|
|
133
133
|
</style>
|
|
@@ -251,210 +251,208 @@ export default defineComponent({
|
|
|
251
251
|
|
|
252
252
|
.sidebar {
|
|
253
253
|
@apply relative h-full;
|
|
254
|
-
}
|
|
255
254
|
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
255
|
+
&.dark
|
|
256
|
+
nav
|
|
257
|
+
.nav-wrapper.custom-scrollbar-y::-webkit-scrollbar-thumb:hover {
|
|
258
|
+
@apply bg-primary-600;
|
|
259
|
+
}
|
|
259
260
|
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
}
|
|
261
|
+
&.dark nav .nav-wrapper.custom-scrollbar-y::-webkit-scrollbar-thumb {
|
|
262
|
+
@apply bg-primary-600;
|
|
263
|
+
}
|
|
263
264
|
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
}
|
|
265
|
+
&.dark.closure .sidebar-logo .logo img.color-small {
|
|
266
|
+
@apply lg:hidden;
|
|
267
|
+
}
|
|
267
268
|
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
}
|
|
269
|
+
&.dark.closure .sidebar-logo .logo img.white-small {
|
|
270
|
+
@apply lg:block;
|
|
271
|
+
}
|
|
271
272
|
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
}
|
|
273
|
+
&.dark.closure .sidebar-logo .logo img.white-big {
|
|
274
|
+
@apply lg:hidden;
|
|
275
|
+
}
|
|
275
276
|
|
|
276
|
-
.sidebar.
|
|
277
|
-
|
|
278
|
-
}
|
|
277
|
+
&.dark .sidebar-logo .logo img.color-big {
|
|
278
|
+
@apply hidden;
|
|
279
|
+
}
|
|
279
280
|
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
}
|
|
281
|
+
&.dark .sidebar-logo .logo img.white-big {
|
|
282
|
+
@apply block;
|
|
283
|
+
}
|
|
283
284
|
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
}
|
|
285
|
+
&.closure .sidebar-mode-setting-title {
|
|
286
|
+
@apply hidden;
|
|
287
|
+
}
|
|
287
288
|
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
}
|
|
289
|
+
&.closure nav.site-nav .nav-wrapper {
|
|
290
|
+
@apply lg:items-center;
|
|
291
|
+
}
|
|
291
292
|
|
|
292
|
-
.sidebar
|
|
293
|
-
|
|
294
|
-
.nav-wrapper.custom-scrollbar-y::-webkit-scrollbar-thumb:hover {
|
|
295
|
-
@apply bg-primary-600;
|
|
296
|
-
}
|
|
293
|
+
&.closure .sidebar-mode-setting {
|
|
294
|
+
@apply p-0 justify-center space-x-0;
|
|
297
295
|
|
|
298
|
-
.
|
|
299
|
-
|
|
300
|
-
}
|
|
296
|
+
.ios-switch {
|
|
297
|
+
@apply grow-0 shrink-0;
|
|
298
|
+
}
|
|
299
|
+
}
|
|
301
300
|
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
}
|
|
301
|
+
&.introing .sidebar-intro-modal {
|
|
302
|
+
@apply block;
|
|
303
|
+
}
|
|
305
304
|
|
|
306
|
-
.
|
|
307
|
-
|
|
308
|
-
}
|
|
305
|
+
&.dark.closure .sidebar-toggle {
|
|
306
|
+
@apply bg-primary-900;
|
|
309
307
|
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
}
|
|
308
|
+
&:hover {
|
|
309
|
+
@apply bg-primary-600;
|
|
310
|
+
}
|
|
311
|
+
}
|
|
313
312
|
|
|
314
|
-
.sidebar
|
|
315
|
-
|
|
316
|
-
}
|
|
313
|
+
.sidebar-mode-setting-title {
|
|
314
|
+
@apply grow-0 shrink-0;
|
|
315
|
+
}
|
|
317
316
|
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
}
|
|
317
|
+
&.dark .sidebar-mode-setting {
|
|
318
|
+
@apply text-white;
|
|
321
319
|
|
|
322
|
-
.
|
|
323
|
-
|
|
324
|
-
}
|
|
320
|
+
.ios-switch label {
|
|
321
|
+
@apply bg-nav-color-switch-bg border-primary-600;
|
|
325
322
|
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
}
|
|
323
|
+
&::before {
|
|
324
|
+
@apply border-primary-600 bg-primary-300;
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
}
|
|
329
328
|
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
}
|
|
329
|
+
&.introing .sidebar-wrapper {
|
|
330
|
+
@apply pointer-events-none;
|
|
331
|
+
}
|
|
333
332
|
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
}
|
|
333
|
+
&.closure .sidebar-wrapper {
|
|
334
|
+
@apply -ml-[188px] lg:ml-0 lg:w-[84px];
|
|
335
|
+
}
|
|
337
336
|
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
}
|
|
337
|
+
&.closure .sidebar-toggle {
|
|
338
|
+
@apply -mr-5 bg-primary-300 rounded-l-none rounded-r-xl text-white;
|
|
341
339
|
|
|
342
|
-
.
|
|
343
|
-
|
|
344
|
-
}
|
|
340
|
+
.icon-chevron-right {
|
|
341
|
+
@apply inline-block;
|
|
342
|
+
}
|
|
345
343
|
|
|
346
|
-
.
|
|
347
|
-
|
|
348
|
-
}
|
|
344
|
+
.icon-chevron-left {
|
|
345
|
+
@apply hidden;
|
|
346
|
+
}
|
|
349
347
|
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
}
|
|
348
|
+
&:hover {
|
|
349
|
+
@apply bg-primary-400 text-white;
|
|
350
|
+
}
|
|
351
|
+
}
|
|
353
352
|
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
}
|
|
353
|
+
&.closure .sidebar-modal {
|
|
354
|
+
@apply hidden;
|
|
355
|
+
}
|
|
357
356
|
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
}
|
|
357
|
+
&.dark .sidebar-wrapper {
|
|
358
|
+
@apply bg-primary-800;
|
|
359
|
+
}
|
|
361
360
|
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
}
|
|
361
|
+
&.closure .sidebar-logo {
|
|
362
|
+
@apply lg:py-3 lg:px-0;
|
|
365
363
|
|
|
366
|
-
.
|
|
367
|
-
|
|
368
|
-
}
|
|
364
|
+
.logo img.color-small {
|
|
365
|
+
@apply lg:block;
|
|
366
|
+
}
|
|
369
367
|
|
|
370
|
-
.
|
|
371
|
-
|
|
372
|
-
}
|
|
368
|
+
.logo img.color-big {
|
|
369
|
+
@apply lg:hidden;
|
|
370
|
+
}
|
|
371
|
+
}
|
|
373
372
|
|
|
374
|
-
.sidebar
|
|
375
|
-
|
|
376
|
-
}
|
|
373
|
+
.sidebar-mode-setting {
|
|
374
|
+
@apply grow-0 shrink-0 flex items-center justify-start my-4 pl-4 space-x-2 text-xs text-primary;
|
|
377
375
|
|
|
378
|
-
.
|
|
379
|
-
|
|
380
|
-
}
|
|
376
|
+
.ios-switch {
|
|
377
|
+
@apply grow-0 shrink-0;
|
|
381
378
|
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
}
|
|
379
|
+
label {
|
|
380
|
+
@apply border-primary-100 bg-primary-25;
|
|
385
381
|
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
}
|
|
382
|
+
&::before {
|
|
383
|
+
@apply border-primary-100;
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
}
|
|
389
388
|
|
|
390
|
-
.sidebar-
|
|
391
|
-
|
|
392
|
-
}
|
|
389
|
+
&.dark .sidebar-toggle {
|
|
390
|
+
@apply bg-primary-900 text-white;
|
|
393
391
|
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
}
|
|
392
|
+
&:hover {
|
|
393
|
+
@apply bg-primary-600;
|
|
394
|
+
}
|
|
395
|
+
}
|
|
397
396
|
|
|
398
|
-
.
|
|
399
|
-
|
|
400
|
-
.sidebar-logo .logo img.color-small {
|
|
401
|
-
@apply hidden;
|
|
402
|
-
}
|
|
397
|
+
nav.site-nav {
|
|
398
|
+
@apply grow px-1 overflow-hidden;
|
|
403
399
|
|
|
404
|
-
.
|
|
405
|
-
|
|
406
|
-
}
|
|
400
|
+
.nav-wrapper {
|
|
401
|
+
@apply flex flex-col h-full px-3;
|
|
407
402
|
|
|
408
|
-
.sidebar
|
|
409
|
-
|
|
403
|
+
.sidebar-nav-divide-item {
|
|
404
|
+
@apply w-full h-px my-2 bg-primary-200;
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
}
|
|
410
408
|
}
|
|
411
409
|
|
|
412
|
-
.sidebar
|
|
413
|
-
@apply w-full h-
|
|
410
|
+
.sidebar-modal {
|
|
411
|
+
@apply fixed top-0 left-0 w-full h-full bg-white opacity-0 lg:hidden;
|
|
414
412
|
}
|
|
415
413
|
|
|
416
|
-
.sidebar
|
|
417
|
-
@apply
|
|
414
|
+
.sidebar-intro-modal {
|
|
415
|
+
@apply fixed top-0 left-0 w-full h-full bg-mask/80 hidden;
|
|
418
416
|
}
|
|
419
417
|
|
|
420
|
-
.sidebar
|
|
421
|
-
@apply
|
|
418
|
+
.sidebar-wrapper {
|
|
419
|
+
@apply relative flex flex-col w-[188px] h-full bg-white rounded-r-lg shadow-default transition-all;
|
|
422
420
|
}
|
|
423
421
|
|
|
424
|
-
.sidebar
|
|
425
|
-
@apply grow-0 shrink-0;
|
|
426
|
-
}
|
|
422
|
+
.sidebar-logo {
|
|
423
|
+
@apply grow-0 shrink-0 relative flex justify-center py-4 pr-11 pl-6 transition-all;
|
|
427
424
|
|
|
428
|
-
.
|
|
429
|
-
|
|
430
|
-
}
|
|
425
|
+
.logo {
|
|
426
|
+
@apply block;
|
|
431
427
|
|
|
432
|
-
.
|
|
433
|
-
|
|
428
|
+
img.white-big, img.white-small, img.color-small {
|
|
429
|
+
@apply hidden;
|
|
430
|
+
}
|
|
431
|
+
}
|
|
434
432
|
}
|
|
435
433
|
|
|
436
434
|
.sidebar-toggle {
|
|
437
435
|
@apply absolute top-0 right-0 flex justify-center items-center w-5 h-10 mt-2.5 bg-primary-50 rounded-l-xl text-sm text-primary-500 leading-none transition-all;
|
|
438
|
-
}
|
|
439
436
|
|
|
440
|
-
.
|
|
441
|
-
|
|
442
|
-
}
|
|
437
|
+
.icon-chevron-right {
|
|
438
|
+
@apply hidden;
|
|
439
|
+
}
|
|
443
440
|
|
|
444
|
-
|
|
445
|
-
|
|
441
|
+
&:hover {
|
|
442
|
+
@apply bg-primary-300 text-white;
|
|
443
|
+
}
|
|
446
444
|
}
|
|
447
445
|
|
|
448
446
|
.sidebar-nav-intro {
|
|
449
447
|
@apply w-[288px] p-4 bg-white rounded-lg hidden;
|
|
450
|
-
}
|
|
451
448
|
|
|
452
|
-
.sidebar-nav-intro
|
|
453
|
-
|
|
454
|
-
}
|
|
449
|
+
&[data-popper-placement^="right"] > .sidebar-nav-intro-arrow {
|
|
450
|
+
@apply -left-3.75 top-4;
|
|
451
|
+
}
|
|
455
452
|
|
|
456
|
-
|
|
457
|
-
|
|
453
|
+
&[data-show] {
|
|
454
|
+
@apply block;
|
|
455
|
+
}
|
|
458
456
|
}
|
|
459
457
|
|
|
460
458
|
.sidebar-nav-intro-header {
|
|
@@ -469,18 +467,17 @@ export default defineComponent({
|
|
|
469
467
|
@apply text-right;
|
|
470
468
|
}
|
|
471
469
|
|
|
472
|
-
.sidebar-nav-intro-arrow,
|
|
473
|
-
.sidebar-nav-intro-arrow::before {
|
|
470
|
+
.sidebar-nav-intro-arrow, .sidebar-nav-intro-arrow::before {
|
|
474
471
|
@apply absolute w-[17px] h-[20px] bg-contain;
|
|
475
472
|
background: url("@@uiAppImage/commons/nav-intro-arrow.svg") top left no-repeat;
|
|
473
|
+
|
|
474
|
+
&::before {
|
|
475
|
+
content: "";
|
|
476
|
+
@apply visible;
|
|
477
|
+
}
|
|
476
478
|
}
|
|
477
479
|
|
|
478
480
|
.sidebar-nav-intro-arrow {
|
|
479
481
|
@apply invisible;
|
|
480
482
|
}
|
|
481
|
-
|
|
482
|
-
.sidebar-nav-intro-arrow::before {
|
|
483
|
-
content: "";
|
|
484
|
-
@apply visible;
|
|
485
|
-
}
|
|
486
483
|
</style>
|