@mptw/skylens-ui 1.5.17 → 1.5.19

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 CHANGED
@@ -1,27 +1,6 @@
1
1
  <template lang="pug">
2
2
  div
3
- SLSidebarNav
3
+ SLInfoTip(info='aabbccdd')
4
4
  </template>
5
5
 
6
- <script setup lang="ts">
7
- import { ScreenSize } from "./interface/commons";
8
-
9
- const screenSize = ref<ScreenSize>(ScreenSize["2xl"]);
10
-
11
- const screenSizeString = computed(() => {
12
- switch (screenSize.value) {
13
- case ScreenSize.md:
14
- return "md";
15
- case ScreenSize.lg:
16
- return "lg";
17
- case ScreenSize["1.5xl"]:
18
- return "1.5xl";
19
- case ScreenSize["2xl"]:
20
- return "2xl";
21
- case ScreenSize.xl:
22
- return "xl";
23
- default:
24
- return "";
25
- }
26
- });
27
- </script>
6
+ <script setup lang="ts"></script>
@@ -1,11 +1,11 @@
1
1
  @font-face {
2
2
  font-family: "MEShPlus-font-icon";
3
- src: url("fonts/MEShPlus-font-icon.eot?63gs52");
3
+ src: url("fonts/MEShPlus-font-icon.eot?3utd08");
4
4
  src:
5
- url("fonts/MEShPlus-font-icon.eot?63gs52#iefix") format("embedded-opentype"),
6
- url("fonts/MEShPlus-font-icon.ttf?63gs52") format("truetype"),
7
- url("fonts/MEShPlus-font-icon.woff?63gs52") format("woff"),
8
- url("fonts/MEShPlus-font-icon.svg?63gs52#MEShPlus-font-icon") format("svg");
5
+ url("fonts/MEShPlus-font-icon.eot?3utd08#iefix") format("embedded-opentype"),
6
+ url("fonts/MEShPlus-font-icon.ttf?3utd08") format("truetype"),
7
+ url("fonts/MEShPlus-font-icon.woff?3utd08") format("woff"),
8
+ url("fonts/MEShPlus-font-icon.svg?3utd08#MEShPlus-font-icon") format("svg");
9
9
  font-weight: normal;
10
10
  font-style: normal;
11
11
  font-display: block;
@@ -190,34 +190,19 @@ export default defineComponent({
190
190
  @apply inline-flex cursor-default;
191
191
  }
192
192
 
193
- .info-content {
194
- @apply relative py-5 pl-4 pr-6 border border-primary-600/50 rounded-lg bg-white text-sm text-pgray-2 text-left font-normal whitespace-normal shadow-popup-sm;
195
-
196
- .pin-toggle {
197
- @apply absolute top-0 right-0 mt-2 mr-2 text-base text-primary-600;
198
-
199
- &:hover .icon:before {
200
- content: "\\e967";
201
- }
202
-
203
- .icon:before {
204
- content: "\\e980";
205
- }
206
- }
207
- }
208
-
209
193
  .info {
210
194
  @apply z-10 absolute invisible;
211
195
 
212
- &[data-show], &.pinned {
196
+ &[data-show],
197
+ &.pinned {
213
198
  @apply visible;
214
199
 
215
200
  .info-content .pin-toggle:hover .icon:before {
216
- content: "\\e943";
201
+ content: "\e9c0";
217
202
  }
218
203
 
219
204
  .info-content .pin-toggle .icon:before {
220
- content: "\\e943";
205
+ content: "\e967";
221
206
  }
222
207
  }
223
208
 
@@ -228,6 +213,22 @@ export default defineComponent({
228
213
  &[data-popper-placement^="right"] {
229
214
  @apply pl-3;
230
215
  }
216
+
217
+ .info-content {
218
+ @apply relative py-5 pl-4 pr-6 border border-primary-600/50 rounded-lg bg-white text-sm text-pgray-2 text-left font-normal whitespace-normal shadow-popup-sm;
219
+
220
+ .pin-toggle {
221
+ @apply absolute top-0 right-0 mt-2 mr-2 text-base text-primary-600;
222
+
223
+ &:hover .icon:before {
224
+ content: "\e967";
225
+ }
226
+
227
+ .icon:before {
228
+ content: "\e980";
229
+ }
230
+ }
231
+ }
231
232
  }
232
233
  }
233
234
 
@@ -718,7 +718,7 @@ export default defineComponent({
718
718
  .multi-email-input-body .multi-email-input-role {
719
719
  @apply grow-0 shrink-0 flex;
720
720
 
721
- :deep(.dropdown-toggle) {
721
+ & :deep(.dropdown-toggle) {
722
722
  @apply text-sm;
723
723
  }
724
724
  }
@@ -726,14 +726,15 @@ export default defineComponent({
726
726
  .multi-email-input-autocomplete {
727
727
  @apply z-50 max-h-[116px] p-1 bg-white rounded shadow-default hidden;
728
728
 
729
- :deep(.swiper-scrollbar-drag) {
729
+ & :deep(.swiper-scrollbar-drag) {
730
730
  @apply bg-primary-300;
731
731
  }
732
732
 
733
733
  .autotcomplete-item {
734
734
  @apply block w-full py-1 px-2 bg-white text-sm text-pgray-2;
735
735
 
736
- &:hover, &.focused {
736
+ &:hover,
737
+ &.focused {
737
738
  @apply bg-primary-100;
738
739
  }
739
740
  }
@@ -79,11 +79,11 @@ export default defineComponent({
79
79
  .item-actions {
80
80
  @apply grow-0 shrink-0;
81
81
 
82
- :deep(.dropdown-toggle) {
82
+ & :deep(.dropdown-toggle) {
83
83
  @apply py-0.75 border-primary-600 bg-white text-sm;
84
84
  }
85
85
 
86
- :deep(.dropdown-menu) {
86
+ & :deep(.dropdown-menu) {
87
87
  @apply border-primary-600;
88
88
  }
89
89
 
@@ -99,6 +99,7 @@ export default defineComponent({
99
99
 
100
100
  .project-share-item
101
101
  .item-actions
102
+ &
102
103
  :deep(.dropdown-menu)
103
104
  .dropdown-list-wrapper
104
105
  .dropdown-list {
@@ -261,7 +261,8 @@ export default defineComponent({
261
261
  .stay-range-input {
262
262
  @apply flex flex-col;
263
263
 
264
- &.disabled .input-group input[type="text"], &.readonly .input-group input[type="text"] {
264
+ &.disabled .input-group input[type="text"],
265
+ &.readonly .input-group input[type="text"] {
265
266
  @apply border-primary-600 bg-primary-100;
266
267
  }
267
268
 
@@ -289,7 +290,7 @@ export default defineComponent({
289
290
  @apply grow flex flex-nowrap space-x-2;
290
291
 
291
292
  input[type="text"] {
292
- @apply grow-0 shrink-0 w-11 border border-primary-600 rounded text-base text-center text-pgray-2 outline-none;
293
+ @apply grow-0 shrink-0 w-11 bg-white border border-primary-600 rounded text-base text-center text-pgray-2 outline-none;
293
294
  }
294
295
 
295
296
  .custom-select {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mptw/skylens-ui",
3
3
  "type": "module",
4
- "version": "1.5.17",
4
+ "version": "1.5.19",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground",