@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
|
@@ -385,90 +385,87 @@ export default defineComponent({
|
|
|
385
385
|
|
|
386
386
|
.table {
|
|
387
387
|
@apply block relative w-full overflow-hidden;
|
|
388
|
-
}
|
|
389
388
|
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
}
|
|
389
|
+
&.table-responsive {
|
|
390
|
+
@apply overflow-auto;
|
|
393
391
|
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
}
|
|
392
|
+
table {
|
|
393
|
+
@apply table-auto;
|
|
394
|
+
}
|
|
395
|
+
}
|
|
397
396
|
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
}
|
|
397
|
+
table {
|
|
398
|
+
@apply w-full table-fixed;
|
|
401
399
|
|
|
402
|
-
.
|
|
403
|
-
|
|
404
|
-
}
|
|
400
|
+
tbody tr.body-header-row td {
|
|
401
|
+
@apply bg-primary-50 text-lg font-bold shadow-inline;
|
|
402
|
+
}
|
|
405
403
|
|
|
406
|
-
.
|
|
407
|
-
|
|
408
|
-
}
|
|
404
|
+
tbody.clickable tr {
|
|
405
|
+
@apply cursor-pointer;
|
|
406
|
+
}
|
|
409
407
|
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
@apply cursor-pointer;
|
|
413
|
-
}
|
|
408
|
+
tbody tr td {
|
|
409
|
+
@apply p-2 border-b text-base text-pgray-2;
|
|
414
410
|
|
|
415
|
-
.
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
opacity 0.1s ease;
|
|
420
|
-
}
|
|
411
|
+
&.text-right.sortable {
|
|
412
|
+
@apply pr-8;
|
|
413
|
+
}
|
|
414
|
+
}
|
|
421
415
|
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
@apply opacity-100;
|
|
425
|
-
}
|
|
416
|
+
thead tr {
|
|
417
|
+
@apply border-b border-primary-600 bg-white;
|
|
426
418
|
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
}
|
|
419
|
+
th {
|
|
420
|
+
@apply px-2 pb-2 text-base font-normal text-primary whitespace-nowrap;
|
|
430
421
|
|
|
431
|
-
.
|
|
432
|
-
|
|
433
|
-
}
|
|
422
|
+
&:hover .sort-icon, &.sorting .sort-icon {
|
|
423
|
+
@apply opacity-100;
|
|
424
|
+
}
|
|
434
425
|
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
}
|
|
426
|
+
&.sortable, &.filterable {
|
|
427
|
+
@apply cursor-pointer;
|
|
428
|
+
}
|
|
438
429
|
|
|
439
|
-
.
|
|
440
|
-
|
|
441
|
-
}
|
|
430
|
+
&.filterable .filter-icon {
|
|
431
|
+
@apply opacity-100;
|
|
432
|
+
}
|
|
442
433
|
|
|
443
|
-
.
|
|
444
|
-
|
|
434
|
+
.sort-icon {
|
|
435
|
+
@apply opacity-0;
|
|
436
|
+
transition: transform 0.2s ease,
|
|
437
|
+
opacity 0.1s ease;
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
}
|
|
445
442
|
}
|
|
446
443
|
|
|
447
444
|
.table-header-filter-popup {
|
|
448
445
|
@apply z-10 flex border border-primary-600 rounded overflow-hidden invisible pointer-events-none;
|
|
449
|
-
}
|
|
450
446
|
|
|
451
|
-
|
|
452
|
-
|
|
447
|
+
&[data-show] {
|
|
448
|
+
@apply visible pointer-events-auto;
|
|
449
|
+
}
|
|
453
450
|
}
|
|
454
451
|
|
|
455
452
|
.table-header-filter-popup-content {
|
|
456
453
|
@apply flex flex-col;
|
|
457
|
-
}
|
|
458
454
|
|
|
459
|
-
.table-header-filter-
|
|
460
|
-
|
|
461
|
-
}
|
|
455
|
+
.table-header-filter-item {
|
|
456
|
+
@apply inline-flex justify-center p-2 bg-white text-sm text-pgray-3 hover:bg-primary-50;
|
|
462
457
|
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
}
|
|
458
|
+
&.active {
|
|
459
|
+
@apply bg-primary-100 text-primary;
|
|
466
460
|
|
|
467
|
-
.
|
|
468
|
-
|
|
469
|
-
}
|
|
461
|
+
.icon {
|
|
462
|
+
@apply text-primary;
|
|
463
|
+
}
|
|
464
|
+
}
|
|
470
465
|
|
|
471
|
-
.
|
|
472
|
-
|
|
466
|
+
.icon {
|
|
467
|
+
@apply text-base leading-none;
|
|
468
|
+
}
|
|
469
|
+
}
|
|
473
470
|
}
|
|
474
471
|
</style>
|
|
@@ -75,51 +75,49 @@ export default defineComponent({
|
|
|
75
75
|
|
|
76
76
|
.table-tooltip {
|
|
77
77
|
@apply inline-block p-4 border border-primary-600 rounded bg-white shadow-popup-sm pointer-events-none;
|
|
78
|
-
}
|
|
79
78
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
}
|
|
79
|
+
table {
|
|
80
|
+
@apply w-full text-base text-pgray-2;
|
|
83
81
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
}
|
|
82
|
+
tbody tr td, tbody tr th {
|
|
83
|
+
@apply py-1 px-3 text-center;
|
|
84
|
+
}
|
|
87
85
|
|
|
88
|
-
.
|
|
89
|
-
|
|
90
|
-
}
|
|
86
|
+
tbody tr.header-row {
|
|
87
|
+
@apply border-b;
|
|
88
|
+
}
|
|
91
89
|
|
|
92
|
-
.
|
|
93
|
-
|
|
94
|
-
}
|
|
90
|
+
tbody tr.date-row {
|
|
91
|
+
@apply text-pgray-3;
|
|
95
92
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
}
|
|
93
|
+
td, th {
|
|
94
|
+
@apply text-left;
|
|
95
|
+
}
|
|
99
96
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
}
|
|
97
|
+
&:first-child {
|
|
98
|
+
@apply text-primary;
|
|
103
99
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
}
|
|
100
|
+
td {
|
|
101
|
+
@apply pt-0;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
107
104
|
|
|
108
|
-
|
|
109
|
-
|
|
105
|
+
td {
|
|
106
|
+
@apply pt-4;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
.table-tooltip
|
|
113
|
-
|
|
114
|
-
@apply text-left;
|
|
115
|
-
}
|
|
112
|
+
.table-tooltip-title {
|
|
113
|
+
@apply mb-4 text-base text-pgray-2 font-bold;
|
|
116
114
|
|
|
117
|
-
|
|
118
|
-
|
|
115
|
+
&:not(:last-child) {
|
|
116
|
+
@apply mb-1;
|
|
117
|
+
}
|
|
119
118
|
}
|
|
120
119
|
|
|
121
|
-
.table-tooltip
|
|
122
|
-
|
|
123
|
-
@apply py-1 px-3 text-center;
|
|
120
|
+
.table-tooltip-caption {
|
|
121
|
+
@apply mb-2 text-sm text-pgray-2;
|
|
124
122
|
}
|
|
125
123
|
</style>
|