@neatui/nuxt 1.3.0 → 1.4.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neatui/nuxt",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
4
4
  "description": "NeatUI component library for Nuxt 3",
5
5
  "main": "./src/index.ts",
6
6
  "license": "MIT",
@@ -257,7 +257,7 @@
257
257
  padding: 0.25em;
258
258
  margin-left: -1rem;
259
259
  text-align: center;
260
- transform: scale(0.9);
260
+ transform: scale(0.8);
261
261
  transition: all 0.2s;
262
262
  border-radius: 50%;
263
263
  background:
@@ -271,7 +271,7 @@
271
271
 
272
272
  .fekit-layer-close {
273
273
  &:hover {
274
- transform: scale(0.9) rotate(90deg);
274
+ transform: scale(0.8) rotate(90deg);
275
275
  }
276
276
  &:active {
277
277
  transform: scale(0.7) rotate(90deg);
@@ -1,12 +1,8 @@
1
- import Layer from './Layer.vue';
2
-
3
1
  export const _tasks: any = {};
4
2
  export const _state: any = {};
5
3
  export const getActiveLayer = () => {
6
4
  return Object.values(_tasks).filter((task: any) => task.view > 0);
7
5
  };
8
- const LayerById = (id: any) => {
6
+ export const LayerById = (id: any) => {
9
7
  return _tasks[id];
10
8
  };
11
-
12
- export { Layer, LayerById };
@@ -1,4 +1,5 @@
1
- import { Layer, LayerById } from './LayerView/index';
1
+ import Layer from './LayerView/Layer.vue';
2
+ import { LayerById } from './LayerView/index';
2
3
  import Icon from './Icon.vue';
3
4
  import IFollowView from './IFollowView.vue';
4
5
  import IPickerView from './IPickerView.vue';