layers-design-system 2.5.1 → 2.6.1

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/dist/main.d.ts ADDED
@@ -0,0 +1,6 @@
1
+ export { Notification };
2
+ export default LayersDesignSystem;
3
+ import Notification from "./helpers/Notification";
4
+ declare namespace LayersDesignSystem {
5
+ function install(Vue: any): void;
6
+ }
package/package.json CHANGED
@@ -6,6 +6,7 @@
6
6
  ],
7
7
  "main": "./dist/layers-design-system.umd.cjs",
8
8
  "module": "./dist/layers-design-system.js",
9
+ "types": "./dist/main.d.ts",
9
10
  "exports": {
10
11
  ".": {
11
12
  "import": "./dist/layers-design-system.js",
@@ -16,11 +17,14 @@
16
17
  "require": "./dist/style.css"
17
18
  }
18
19
  },
19
- "version": "2.5.1",
20
+ "version": "2.6.1",
21
+ "engines": {
22
+ "node": "^18"
23
+ },
20
24
  "scripts": {
21
25
  "start": "vite serve",
22
- "build": "vite build",
23
- "lint": "vite lint"
26
+ "build": "vite build && vue-tsc --declaration --emitDeclarationOnly",
27
+ "lint": "eslint"
24
28
  },
25
29
  "dependencies": {
26
30
  "@tenda.digital/vue-modals": "1.1.1",
@@ -51,6 +55,7 @@
51
55
  "layers-utils": "1.0.4",
52
56
  "mustache": "4.2.0",
53
57
  "tiptap": "1.32.2",
58
+ "typescript": "^5.1.6",
54
59
  "vant": "2.12.30",
55
60
  "vite": "^4.4.2",
56
61
  "vite-plugin-vue2": "^2.0.3",
@@ -67,6 +72,7 @@
67
72
  "sass": "1.43.2",
68
73
  "sass-loader": "7.3.1",
69
74
  "vue-template-compiler": "2.7.14",
75
+ "vue-tsc": "^1.8.4",
70
76
  "vuetify-loader": "1.7.3"
71
77
  },
72
78
  "eslintConfig": {
package/dist/favicon.ico DELETED
Binary file
package/dist/index.html DELETED
@@ -1,20 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en" class="layers-design-system">
3
- <head>
4
- <meta charset="utf-8">
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
- <meta name="viewport" content="width=device-width,initial-scale=1.0">
7
- <link rel="icon" href="<%= BASE_URL %>favicon.ico">
8
- <title>Layers Design System</title>
9
- <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Ubuntu|Roboto:300,400,500,700|Nunito:300,400,600,700,900|Material+Icons">
10
- <link rel="stylesheet" href="https://unicons.iconscout.com/release/v4.0.0/css/line.css">
11
- <link rel="stylesheet" href="https://unicons.iconscout.com/release/v4.0.0/css/solid.css">
12
- </head>
13
- <body>
14
- <noscript>
15
- <strong>We're sorry but vue doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
16
- </noscript>
17
- <div id="app"></div>
18
- <!-- built files will be auto injected -->
19
- </body>
20
- </html>