lew-ui 2.6.2 → 2.6.5

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/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2023 lew
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2023 lew
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,46 +1,46 @@
1
- # Lew UI
2
-
3
- A Component Library for Vue3. Doc address: https://lew.kamtao.com
4
-
5
- English | [中文](./README.zh-CN.md)
6
-
7
- ## Install
8
-
9
- ```bash
10
- npm install lew-ui
11
- ```
12
-
13
- ## How to use
14
-
15
- ```js
16
- // main.ts
17
- import 'lew-ui/style'
18
- ```
19
-
20
- ```vue
21
- <script setup lang="ts">
22
- // page.vue
23
- import { LewButton } from 'lew-ui'
24
- </script>
25
-
26
- <template>
27
- <lew-button text="Submit" />
28
- </template>
29
- ```
30
-
31
- ## Open Source Libraries
32
-
33
- Lew UI uses the following open source libraries:
34
-
35
- - [Tippy.js](https://atomiks.github.io/tippyjs/): For creating tooltips and popovers
36
- - [Lucide](https://github.com/lucide-icons/lucide): Provides a clean and beautiful icon set
37
- - [VueUse](https://vueuse.org/): Collection of Vue Composition API utilities
38
- - [Day.js](https://day.js.org/): Lightweight library for date manipulation
39
- - [Yup](https://github.com/jquense/yup): Object schema validation library
40
- - [vue-virt-list](https://github.com/kolarorz/vue-virt-list): Virtual list
41
-
42
- We are grateful for the support these excellent open source projects provide to Lew UI.
43
-
44
- ## License
45
-
46
- Lew UI is open source software licensed as MIT.
1
+ # Lew UI
2
+
3
+ A Component Library for Vue3. Doc address: https://lew.kamtao.com
4
+
5
+ English | [中文](./README.zh-CN.md)
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ npm install lew-ui
11
+ ```
12
+
13
+ ## How to use
14
+
15
+ ```js
16
+ // main.ts
17
+ import 'lew-ui/style'
18
+ ```
19
+
20
+ ```vue
21
+ <script setup lang="ts">
22
+ // page.vue
23
+ import { LewButton } from 'lew-ui'
24
+ </script>
25
+
26
+ <template>
27
+ <lew-button text="Submit" />
28
+ </template>
29
+ ```
30
+
31
+ ## Open Source Libraries
32
+
33
+ Lew UI uses the following open source libraries:
34
+
35
+ - [Tippy.js](https://atomiks.github.io/tippyjs/): For creating tooltips and popovers
36
+ - [Lucide](https://github.com/lucide-icons/lucide): Provides a clean and beautiful icon set
37
+ - [VueUse](https://vueuse.org/): Collection of Vue Composition API utilities
38
+ - [Day.js](https://day.js.org/): Lightweight library for date manipulation
39
+ - [Yup](https://github.com/jquense/yup): Object schema validation library
40
+ - [vue-virt-list](https://github.com/kolarorz/vue-virt-list): Virtual list
41
+
42
+ We are grateful for the support these excellent open source projects provide to Lew UI.
43
+
44
+ ## License
45
+
46
+ Lew UI is open source software licensed as MIT.
package/README.zh-CN.md CHANGED
@@ -1,48 +1,48 @@
1
- # Lew UI
2
-
3
- 一个用于 Vue3 的组件库。文档地址:https://lew.kamtao.com
4
-
5
- [英文](./README.md) | 中文
6
-
7
- ## 安装
8
-
9
- ```bash
10
- npm install lew-ui
11
- ```
12
-
13
- ## 如何使用
14
-
15
- main.ts
16
-
17
- ```js
18
- // main.ts
19
- import 'lew-ui/style'
20
- ```
21
-
22
- ```vue
23
- <script setup lang="ts">
24
- // page.vue
25
- import { LewButton } from 'lew-ui'
26
- </script>
27
-
28
- <template>
29
- <lew-button text="提交" />
30
- </template>
31
- ```
32
-
33
- ## 开源库声明
34
-
35
- Lew UI 使用了以下开源库:
36
-
37
- - [tippy.js](https://atomiks.github.io/tippyjs/): 用于创建工具提示和弹出框
38
- - [Lucide](https://github.com/lucide-icons/lucide): 提供简洁美观的图标集
39
- - [VueUse](https://vueuse.org/): Vue Composition API 实用工具集合
40
- - [Day.js](https://day.js.org/): 轻量级日期处理库
41
- - [Yup](https://github.com/jquense/yup): 对象模式验证库
42
- - [vue-virt-list](https://github.com/kolarorz/vue-virt-list): 虚拟列表
43
-
44
- 我们感谢这些优秀的开源项目为 Lew UI 提供的支持。
45
-
46
- ## 许可证
47
-
48
- Lew UI 是根据 MIT 许可证的开源软件。
1
+ # Lew UI
2
+
3
+ 一个用于 Vue3 的组件库。文档地址:https://lew.kamtao.com
4
+
5
+ [英文](./README.md) | 中文
6
+
7
+ ## 安装
8
+
9
+ ```bash
10
+ npm install lew-ui
11
+ ```
12
+
13
+ ## 如何使用
14
+
15
+ main.ts
16
+
17
+ ```js
18
+ // main.ts
19
+ import 'lew-ui/style'
20
+ ```
21
+
22
+ ```vue
23
+ <script setup lang="ts">
24
+ // page.vue
25
+ import { LewButton } from 'lew-ui'
26
+ </script>
27
+
28
+ <template>
29
+ <lew-button text="提交" />
30
+ </template>
31
+ ```
32
+
33
+ ## 开源库声明
34
+
35
+ Lew UI 使用了以下开源库:
36
+
37
+ - [tippy.js](https://atomiks.github.io/tippyjs/): 用于创建工具提示和弹出框
38
+ - [Lucide](https://github.com/lucide-icons/lucide): 提供简洁美观的图标集
39
+ - [VueUse](https://vueuse.org/): Vue Composition API 实用工具集合
40
+ - [Day.js](https://day.js.org/): 轻量级日期处理库
41
+ - [Yup](https://github.com/jquense/yup): 对象模式验证库
42
+ - [vue-virt-list](https://github.com/kolarorz/vue-virt-list): 虚拟列表
43
+
44
+ 我们感谢这些优秀的开源项目为 Lew UI 提供的支持。
45
+
46
+ ## 许可证
47
+
48
+ Lew UI 是根据 MIT 许可证的开源软件。
@@ -124,6 +124,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
124
124
  };
125
125
  }>, {
126
126
  toFocus: () => any;
127
+ toBlur: () => any;
127
128
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
128
129
  blur: (...args: any[]) => void;
129
130
  change: (...args: any[]) => void;
@@ -1,5 +1,5 @@
1
1
  declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
2
- modelValue: import('vue').PropType<any>;
2
+ modelValue: import('vue').PropType<string[] | undefined>;
3
3
  size: {
4
4
  type: PropType<import('../../..').InputTagSize>;
5
5
  default: string;
@@ -46,7 +46,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
46
46
  add: (...args: any[]) => void;
47
47
  remove: (...args: any[]) => void;
48
48
  }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
49
- modelValue: import('vue').PropType<any>;
49
+ modelValue: import('vue').PropType<string[] | undefined>;
50
50
  size: {
51
51
  type: PropType<import('../../..').InputTagSize>;
52
52
  default: string;
@@ -25,6 +25,16 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
25
25
  default: string;
26
26
  description: string;
27
27
  };
28
+ popoverWidth: {
29
+ type: (StringConstructor | NumberConstructor)[];
30
+ default: string;
31
+ description: string;
32
+ };
33
+ autoWidth: {
34
+ type: BooleanConstructor;
35
+ default: boolean;
36
+ description: string;
37
+ };
28
38
  trigger: {
29
39
  type: PropType<import('../../..').SelectTrigger>;
30
40
  default: string;
@@ -112,6 +122,16 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
112
122
  default: string;
113
123
  description: string;
114
124
  };
125
+ popoverWidth: {
126
+ type: (StringConstructor | NumberConstructor)[];
127
+ default: string;
128
+ description: string;
129
+ };
130
+ autoWidth: {
131
+ type: BooleanConstructor;
132
+ default: boolean;
133
+ description: string;
134
+ };
115
135
  trigger: {
116
136
  type: PropType<import('../../..').SelectTrigger>;
117
137
  default: string;
@@ -187,7 +207,9 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
187
207
  options: SelectOptions[] | import('../../..').SelectOptionsGroup[];
188
208
  readonly: boolean;
189
209
  clearable: boolean;
210
+ autoWidth: boolean;
190
211
  defaultValue: string | number;
212
+ popoverWidth: string | number;
191
213
  itemHeight: number;
192
214
  searchable: boolean;
193
215
  searchMethod: (params: import('../../..').SelectSearchMethodParams) => SelectOptions[];
@@ -41,6 +41,16 @@ export declare const selectProps: {
41
41
  default: string;
42
42
  description: string;
43
43
  };
44
+ popoverWidth: {
45
+ type: (StringConstructor | NumberConstructor)[];
46
+ default: string;
47
+ description: string;
48
+ };
49
+ autoWidth: {
50
+ type: BooleanConstructor;
51
+ default: boolean;
52
+ description: string;
53
+ };
44
54
  trigger: {
45
55
  type: PropType<SelectTrigger>;
46
56
  default: string;