@mptw/skylens-ui 1.5.4 → 1.5.6
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/app.vue +3 -4
- package/app/assets/css/layout.css +1 -1
- package/app/assets/css/main.css +0 -6
- package/app/components/SLAlertModal.vue +1 -1
- package/app/components/SLBreadcrumbs.vue +1 -1
- package/app/components/SLButton.vue +1 -1
- package/app/components/SLCalendarButton.vue +1 -1
- package/app/components/SLCalendarPopup.vue +1 -1
- package/app/components/SLCard.vue +1 -1
- package/app/components/SLChart.vue +1 -1
- package/app/components/SLCheckbox.vue +1 -1
- package/app/components/SLCircleButton.vue +1 -1
- package/app/components/SLCollapsableBlock.vue +1 -1
- package/app/components/SLCollapsableMulitPillSelect.vue +1 -1
- package/app/components/SLConfirmModal.vue +1 -1
- package/app/components/SLContextMenu.vue +1 -1
- package/app/components/SLDateInput.vue +1 -1
- package/app/components/SLDatePicker.vue +1 -1
- package/app/components/SLDownloadButton.vue +1 -1
- package/app/components/SLDropdown.vue +1 -1
- package/app/components/SLDropdownItem.vue +1 -1
- package/app/components/SLElementWithTitle.vue +1 -1
- package/app/components/SLEyeCheckbox.vue +1 -1
- package/app/components/SLFileInput.vue +1 -1
- package/app/components/SLGenderAgeSelect.vue +1 -1
- package/app/components/SLHourRangeInput.vue +1 -1
- package/app/components/SLIOSSwitch.vue +2 -2
- package/app/components/SLIconButton.vue +1 -1
- package/app/components/SLInfoTip.vue +1 -1
- package/app/components/SLInsightSitePage.vue +1 -1
- package/app/components/SLLegend.vue +1 -1
- package/app/components/SLLinearProgressBar.vue +1 -1
- package/app/components/SLLink.vue +1 -1
- package/app/components/SLLoading.vue +1 -1
- package/app/components/SLModal.vue +1 -1
- package/app/components/SLMonthCalendarButton.vue +1 -1
- package/app/components/SLMonthPicker.vue +1 -1
- package/app/components/SLMultiEmailInput.vue +1 -1
- package/app/components/SLMultiSelect.vue +1 -1
- package/app/components/SLNoData.vue +1 -1
- package/app/components/SLNotification.vue +1 -1
- package/app/components/SLPageModal.vue +1 -1
- package/app/components/SLPagination.vue +1 -1
- package/app/components/SLPillCheckbox.vue +1 -1
- package/app/components/SLPillLabel.vue +1 -1
- package/app/components/SLPopupMenuButton.vue +1 -1
- package/app/components/SLProfileButton.vue +1 -1
- package/app/components/SLProjectShareItem.vue +1 -1
- package/app/components/SLRadioButton.vue +1 -1
- package/app/components/SLRadioButtonGroup.vue +1 -1
- package/app/components/SLRadioGroup.vue +26 -6
- package/app/components/SLRangeInput.vue +1 -1
- package/app/components/SLRightSider.vue +1 -1
- package/app/components/SLSearchInput.vue +1 -1
- package/app/components/SLSelect.vue +1 -1
- package/app/components/SLSelectAllToggle.vue +1 -1
- package/app/components/SLSidebarNav.vue +1 -1
- package/app/components/SLSidebarNavGroupItem.vue +1 -1
- package/app/components/SLSidebarNavGroupItemSection.vue +1 -1
- package/app/components/SLSidebarNavLinkItem.vue +1 -1
- package/app/components/SLSidebarNavSectionItem.vue +1 -1
- package/app/components/SLSitePage.vue +1 -1
- package/app/components/SLSkyInsightSitePage.vue +1 -1
- package/app/components/SLSortByDropdown.vue +1 -1
- package/app/components/SLSpinIcon.vue +1 -1
- package/app/components/SLStayRangeInput.vue +1 -1
- package/app/components/SLTable.vue +1 -1
- package/app/components/SLTableTooltip.vue +1 -1
- package/app/components/SLTabs.vue +1 -1
- package/app/components/SLTextInput.vue +1 -1
- package/app/components/SLTextarea.vue +1 -1
- package/app/components/SLToast.vue +1 -1
- package/app/components/SLToggleButton.vue +1 -1
- package/app/components/SLTwoLayerMultiSelect.vue +1 -1
- package/app/components/SLTwoLayerSelect.vue +1 -1
- package/app/components/SLTwoLayerSingleSelect.vue +1 -1
- package/app/components/SLWarnModal.vue +1 -1
- package/nuxt.config.ts +5 -5
- package/package.json +1 -1
package/app/app.vue
CHANGED
package/app/assets/css/main.css
CHANGED
|
@@ -159,14 +159,8 @@
|
|
|
159
159
|
|
|
160
160
|
--transition-input-focus: "margin, padding, color, font-size, line-height, background-color";
|
|
161
161
|
--transition-app-header: "margin, width";
|
|
162
|
-
--transition-width: "width";
|
|
163
|
-
--transition-height: "height";
|
|
164
|
-
--transition-margin: "margin";
|
|
165
|
-
--transition-font-size: "font-size";
|
|
166
|
-
--transition-padding: "padding";
|
|
167
162
|
--transition-sidebar-nav-item: "border-radius, width";
|
|
168
163
|
--transition-sidebar-nav-item-icon: "width, height, font-size";
|
|
169
|
-
--transition-border-radius: "border-radius";
|
|
170
164
|
|
|
171
165
|
--text-shadow-default: "0px 4px 4px rgba(0, 0, 0, 0.25)";
|
|
172
166
|
--text-shadow-md: "0px 2px 8px rgba(88, 82, 103, 0.25)";
|
|
@@ -110,7 +110,7 @@ export default defineComponent({
|
|
|
110
110
|
</script>
|
|
111
111
|
|
|
112
112
|
<style>
|
|
113
|
-
@reference '
|
|
113
|
+
@reference 'ui/app/assets/css/main.css';
|
|
114
114
|
|
|
115
115
|
.btn {
|
|
116
116
|
@apply relative inline-flex items-center justify-center p-1.75 border border-transparent rounded bg-transparent text-base leading-[1.3125] focus:outline-none;
|
|
@@ -775,7 +775,7 @@ export default defineComponent({
|
|
|
775
775
|
</script>
|
|
776
776
|
|
|
777
777
|
<style>
|
|
778
|
-
@reference '
|
|
778
|
+
@reference 'ui/app/assets/css/main.css';
|
|
779
779
|
|
|
780
780
|
.calendar-popup {
|
|
781
781
|
@apply w-auto py-4 border border-primary-100 rounded-lg bg-white shadow-md overflow-hidden;
|
|
@@ -72,7 +72,7 @@ export default defineComponent({
|
|
|
72
72
|
</script>
|
|
73
73
|
|
|
74
74
|
<style>
|
|
75
|
-
@reference '
|
|
75
|
+
@reference 'ui/app/assets/css/main.css';
|
|
76
76
|
|
|
77
77
|
.circle-button {
|
|
78
78
|
@apply inline-flex items-center justify-center relative w-10 h-10 rounded-full bg-white text-xl leading-5.75 text-white;
|
|
@@ -73,7 +73,7 @@ export default defineComponent({
|
|
|
73
73
|
</script>
|
|
74
74
|
|
|
75
75
|
<style>
|
|
76
|
-
@reference '
|
|
76
|
+
@reference 'ui/app/assets/css/main.css';
|
|
77
77
|
|
|
78
78
|
.collapsable-multi-pill-select .toggle-button {
|
|
79
79
|
@apply inline-flex items-center justify-between w-80 p-2 mb-2 border border-primary-500 rounded text-base text-pgray-2;
|
|
@@ -23,7 +23,7 @@ export default defineComponent({
|
|
|
23
23
|
</script>
|
|
24
24
|
|
|
25
25
|
<style>
|
|
26
|
-
@reference '
|
|
26
|
+
@reference 'ui/app/assets/css/main.css';
|
|
27
27
|
|
|
28
28
|
.dropdown-item {
|
|
29
29
|
@apply block p-2 bg-white text-sm text-primary whitespace-nowrap hover:text-primary hover:bg-primary-50 focus:text-primary focus:bg-primary-50 active:text-primary active:bg-primary-50;
|
|
@@ -170,7 +170,7 @@ export default defineComponent({
|
|
|
170
170
|
</script>
|
|
171
171
|
|
|
172
172
|
<style>
|
|
173
|
-
@reference '
|
|
173
|
+
@reference 'ui/app/assets/css/main.css';
|
|
174
174
|
|
|
175
175
|
.ios-switch {
|
|
176
176
|
@apply inline-block relative overflow-hidden;
|
|
@@ -240,7 +240,7 @@ export default defineComponent({
|
|
|
240
240
|
}
|
|
241
241
|
|
|
242
242
|
.ios-switch label::before {
|
|
243
|
-
content:
|
|
243
|
+
content: "";
|
|
244
244
|
@apply block absolute left-0.75 inset-y-0.75 w-7.25 bg-white rounded-full shadow-default;
|
|
245
245
|
}
|
|
246
246
|
|
|
@@ -100,7 +100,7 @@ export default defineComponent({
|
|
|
100
100
|
</script>
|
|
101
101
|
|
|
102
102
|
<style scoped>
|
|
103
|
-
@reference '
|
|
103
|
+
@reference 'ui/app/assets/css/main.css';
|
|
104
104
|
|
|
105
105
|
.icon-btn {
|
|
106
106
|
@apply inline-flex flex-nowrap justify-start items-center p-[0.59375rem] border rounded-full text-base text-white overflow-hidden transition-[width] duration-300;
|
|
@@ -181,7 +181,7 @@ export default defineComponent({
|
|
|
181
181
|
</script>
|
|
182
182
|
|
|
183
183
|
<style>
|
|
184
|
-
@reference '
|
|
184
|
+
@reference 'ui/app/assets/css/main.css';
|
|
185
185
|
|
|
186
186
|
.info-tip {
|
|
187
187
|
@apply inline-flex ml-2 text-base leading-4.5 text-primary hover:text-primary-600 cursor-default;
|
|
@@ -143,7 +143,7 @@ export default defineComponent({
|
|
|
143
143
|
</script>
|
|
144
144
|
|
|
145
145
|
<style lang="css">
|
|
146
|
-
@reference '
|
|
146
|
+
@reference 'ui/app/assets/css/main.css';
|
|
147
147
|
|
|
148
148
|
.notification {
|
|
149
149
|
@apply z-100 fixed top-0 left-0 w-full h-full pointer-events-none;
|
|
@@ -175,7 +175,7 @@ export default defineComponent({
|
|
|
175
175
|
</script>
|
|
176
176
|
|
|
177
177
|
<style>
|
|
178
|
-
@reference '
|
|
178
|
+
@reference 'ui/app/assets/css/main.css';
|
|
179
179
|
|
|
180
180
|
.profile-button .toggle-button {
|
|
181
181
|
@apply inline-flex items-center justify-center w-7 h-7 p-0 rounded-full bg-primary-400 text-lg text-white font-bold hover:bg-primary-600 active:bg-primary;
|
|
@@ -105,7 +105,7 @@ export default defineComponent({
|
|
|
105
105
|
</script>
|
|
106
106
|
|
|
107
107
|
<style>
|
|
108
|
-
@reference '
|
|
108
|
+
@reference 'ui/app/assets/css/main.css';
|
|
109
109
|
|
|
110
110
|
.radio-group {
|
|
111
111
|
@apply inline-flex p-0.5 bg-primary-100 border border-primary-200 rounded;
|
|
@@ -143,7 +143,11 @@ export default defineComponent({
|
|
|
143
143
|
@apply bg-third-600 text-white;
|
|
144
144
|
}
|
|
145
145
|
|
|
146
|
-
.radio-group.radio-group--third-600
|
|
146
|
+
.radio-group.radio-group--third-600
|
|
147
|
+
.radio
|
|
148
|
+
input:checked
|
|
149
|
+
+ .element-with-title
|
|
150
|
+
label {
|
|
147
151
|
@apply text-third;
|
|
148
152
|
}
|
|
149
153
|
|
|
@@ -159,7 +163,11 @@ export default defineComponent({
|
|
|
159
163
|
@apply bg-card-lightpr-bg text-primary-600;
|
|
160
164
|
}
|
|
161
165
|
|
|
162
|
-
.radio-group.radio-group--edit.color-invert
|
|
166
|
+
.radio-group.radio-group--edit.color-invert
|
|
167
|
+
.radio
|
|
168
|
+
input:checked
|
|
169
|
+
+ .element-with-title
|
|
170
|
+
label {
|
|
163
171
|
@apply bg-edit text-white;
|
|
164
172
|
}
|
|
165
173
|
|
|
@@ -167,7 +175,11 @@ export default defineComponent({
|
|
|
167
175
|
@apply bg-edit text-white;
|
|
168
176
|
}
|
|
169
177
|
|
|
170
|
-
.radio-group.radio-group--edit
|
|
178
|
+
.radio-group.radio-group--edit
|
|
179
|
+
.radio
|
|
180
|
+
input:checked
|
|
181
|
+
+ .element-with-title
|
|
182
|
+
label {
|
|
171
183
|
@apply text-primary;
|
|
172
184
|
}
|
|
173
185
|
|
|
@@ -183,7 +195,11 @@ export default defineComponent({
|
|
|
183
195
|
@apply bg-card-lightpr-bg text-primary-600;
|
|
184
196
|
}
|
|
185
197
|
|
|
186
|
-
.radio-group.radio-group--insight-title.color-invert
|
|
198
|
+
.radio-group.radio-group--insight-title.color-invert
|
|
199
|
+
.radio
|
|
200
|
+
input:checked
|
|
201
|
+
+ .element-with-title
|
|
202
|
+
label {
|
|
187
203
|
@apply bg-edit text-white;
|
|
188
204
|
}
|
|
189
205
|
|
|
@@ -191,7 +207,11 @@ export default defineComponent({
|
|
|
191
207
|
@apply bg-primary-100 text-primary;
|
|
192
208
|
}
|
|
193
209
|
|
|
194
|
-
.radio-group.radio-group--insight-title
|
|
210
|
+
.radio-group.radio-group--insight-title
|
|
211
|
+
.radio
|
|
212
|
+
input:checked
|
|
213
|
+
+ .element-with-title
|
|
214
|
+
label {
|
|
195
215
|
@apply bg-insight-title text-white;
|
|
196
216
|
}
|
|
197
217
|
|
|
@@ -71,7 +71,7 @@ export default defineComponent({
|
|
|
71
71
|
</script>
|
|
72
72
|
|
|
73
73
|
<style>
|
|
74
|
-
@reference '
|
|
74
|
+
@reference 'ui/app/assets/css/main.css';
|
|
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;
|
|
@@ -61,7 +61,7 @@ export default defineComponent({
|
|
|
61
61
|
</script>
|
|
62
62
|
|
|
63
63
|
<style>
|
|
64
|
-
@reference '
|
|
64
|
+
@reference 'ui/app/assets/css/main.css';
|
|
65
65
|
|
|
66
66
|
.sl-toggle-button {
|
|
67
67
|
@apply inline-flex items-center justify-center p-1.5 space-x-2 bg-primary-100 rounded text-base text-primary-600;
|
|
@@ -215,7 +215,7 @@ export default defineComponent({
|
|
|
215
215
|
</script>
|
|
216
216
|
|
|
217
217
|
<style>
|
|
218
|
-
@reference '
|
|
218
|
+
@reference 'ui/app/assets/css/main.css';
|
|
219
219
|
|
|
220
220
|
.tw-layer-select {
|
|
221
221
|
@apply flex flex-col w-138 h-67.75 pt-2.75 px-2.75 bg-white border border-primary-100 rounded shadow-default;
|
package/nuxt.config.ts
CHANGED
|
@@ -9,7 +9,7 @@ export default defineNuxtConfig({
|
|
|
9
9
|
name: "skylens-ui",
|
|
10
10
|
},
|
|
11
11
|
alias: {
|
|
12
|
-
|
|
12
|
+
ui: fileURLToPath(new URL("./", import.meta.url)),
|
|
13
13
|
},
|
|
14
14
|
runtimeConfig: {
|
|
15
15
|
public: {
|
|
@@ -19,11 +19,11 @@ export default defineNuxtConfig({
|
|
|
19
19
|
},
|
|
20
20
|
},
|
|
21
21
|
css: [
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
22
|
+
"ui/app/assets/css/main.css",
|
|
23
|
+
"ui/app/assets/css/icons.css",
|
|
24
|
+
"ui/app/assets/css/layout.css",
|
|
25
25
|
],
|
|
26
|
-
plugins: ["
|
|
26
|
+
plugins: ["ui/app/plugins/v-calendar.ts"],
|
|
27
27
|
vite: {
|
|
28
28
|
plugins: [tailwindcss()],
|
|
29
29
|
},
|