luyoumin-ui 0.0.36 → 0.0.37

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.
@@ -0,0 +1,18 @@
1
+ export {}
2
+
3
+ import { GenericImg, LymButton, LymCheckBox, LymCheckBoxGroup, LymColorPicker, LymDialog, LymDrawer, LymInput, LymLink } from './index'
4
+
5
+ // 自动注册全局组件虽然很方便,但在使用时缺少了ts类型提示,下面介绍一下为全局组件添加类型提示
6
+ declare module 'vue' {
7
+ export interface GlobalComponents {
8
+ GenericImg: typeof GenericImg
9
+ LymButton: typeof LymButton
10
+ LymCheckBox: typeof LymCheckBox
11
+ LymCheckBoxGroup: typeof LymCheckBoxGroup
12
+ LymColorPicker: typeof LymColorPicker
13
+ LymDialog: typeof LymDialog
14
+ LymDrawer: typeof LymDrawer
15
+ LymInput: typeof LymInput
16
+ LymLink: typeof LymLink
17
+ }
18
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "luyoumin-ui",
3
- "version": "0.0.36",
3
+ "version": "0.0.37",
4
4
  "description": "Ui component library based on Vue3",
5
5
  "author": "luyoumin",
6
6
  "license": "MIT",
@@ -11,7 +11,8 @@
11
11
  "type": "module",
12
12
  "files": [
13
13
  "dist",
14
- "src/style.css"
14
+ "src/style.css",
15
+ "src/global.d.ts"
15
16
  ],
16
17
  "scripts": {
17
18
  "dev": "vite",
@@ -0,0 +1,26 @@
1
+ export {}
2
+
3
+ import GenericImg from './components/generic-img/GenericImg.vue';
4
+ import LymButton from './components/LymButton.vue';
5
+ import LymCheckBox from './components/LymCheckBox.vue';
6
+ import LymCheckBoxGroup from './components/LymCheckBoxGroup.vue';
7
+ import LymColorPicker from './components/LymColorPicker.vue';
8
+ import LymDialog from './components/LymDialog.vue';
9
+ import LymDrawer from './components/LymDrawer.vue';
10
+ import LymInput from './components/LymInput.vue';
11
+ import LymLink from './components/LymLink.vue';
12
+
13
+ // 自动注册全局组件虽然很方便,但在使用时缺少了ts类型提示,下面介绍一下为全局组件添加类型提示
14
+ declare module 'vue' {
15
+ export interface GlobalComponents {
16
+ GenericImg: typeof GenericImg
17
+ LymButton: typeof LymButton
18
+ LymCheckBox: typeof LymCheckBox
19
+ LymCheckBoxGroup: typeof LymCheckBoxGroup
20
+ LymColorPicker: typeof LymColorPicker
21
+ LymDialog: typeof LymDialog
22
+ LymDrawer: typeof LymDrawer
23
+ LymInput: typeof LymInput
24
+ LymLink: typeof LymLink
25
+ }
26
+ }