@mptw/skylens-ui 1.5.18 → 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
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mptw/skylens-ui",
3
3
  "type": "module",
4
- "version": "1.5.18",
4
+ "version": "1.5.19",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground",