vxe-pc-ui 4.6.41 → 4.6.43
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/es/button/src/button.js +40 -16
- package/es/button/style.css +6 -25
- package/es/button/style.min.css +1 -1
- package/es/button-group/style.css +20 -8
- package/es/button-group/style.min.css +1 -1
- package/es/icon/style.css +1 -1
- package/es/select/src/select.js +1 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/ui/index.js +3 -3
- package/es/ui/src/log.js +1 -1
- package/es/vxe-button/style.css +6 -25
- package/es/vxe-button/style.min.css +1 -1
- package/es/vxe-button-group/style.css +20 -8
- package/es/vxe-button-group/style.min.css +1 -1
- package/lib/button/src/button.js +37 -16
- package/lib/button/src/button.min.js +1 -1
- package/lib/button/style/style.css +6 -25
- package/lib/button/style/style.min.css +1 -1
- package/lib/button-group/style/style.css +20 -8
- package/lib/button-group/style/style.min.css +1 -1
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/index.umd.js +42 -21
- package/lib/index.umd.min.js +1 -1
- package/lib/select/src/select.js +1 -1
- package/lib/select/src/select.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/ui/index.js +3 -3
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/lib/vxe-button/style/style.css +6 -25
- package/lib/vxe-button/style/style.min.css +1 -1
- package/lib/vxe-button-group/style/style.css +20 -8
- package/lib/vxe-button-group/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/button/src/button.ts +43 -16
- package/packages/color-picker/src/color-picker.ts +1 -1
- package/packages/select/src/select.ts +1 -1
- package/packages/ui/index.ts +2 -2
- package/styles/components/button-group.scss +21 -12
- package/styles/components/button.scss +6 -28
- package/styles/theme/base.scss +4 -4
- package/types/components/button.d.ts +29 -4
- package/types/components/color-picker.d.ts +1 -1
- package/types/components/table.d.ts +2 -0
- package/types/ui/global-icon.d.ts +1 -1
- /package/es/icon/{iconfont.1751346277481.ttf → iconfont.1751505769649.ttf} +0 -0
- /package/es/icon/{iconfont.1751346277481.woff → iconfont.1751505769649.woff} +0 -0
- /package/es/icon/{iconfont.1751346277481.woff2 → iconfont.1751505769649.woff2} +0 -0
- /package/es/{iconfont.1751346277481.ttf → iconfont.1751505769649.ttf} +0 -0
- /package/es/{iconfont.1751346277481.woff → iconfont.1751505769649.woff} +0 -0
- /package/es/{iconfont.1751346277481.woff2 → iconfont.1751505769649.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1751346277481.ttf → iconfont.1751505769649.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1751346277481.woff → iconfont.1751505769649.woff} +0 -0
- /package/lib/icon/style/{iconfont.1751346277481.woff2 → iconfont.1751505769649.woff2} +0 -0
- /package/lib/{iconfont.1751346277481.ttf → iconfont.1751505769649.ttf} +0 -0
- /package/lib/{iconfont.1751346277481.woff → iconfont.1751505769649.woff} +0 -0
- /package/lib/{iconfont.1751346277481.woff2 → iconfont.1751505769649.woff2} +0 -0
|
@@ -43,7 +43,14 @@ export namespace VxeButtonPropTypes {
|
|
|
43
43
|
export type Placement = '' | 'top' | 'bottom'
|
|
44
44
|
export type Status = VxeComponentStatusType
|
|
45
45
|
export type Title = string
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* 按钮的前缀图标,属于 prefix-icon 的简写
|
|
49
|
+
*/
|
|
46
50
|
export type Icon = string
|
|
51
|
+
export type PrefixIcon = string
|
|
52
|
+
export type SuffixIcon = string
|
|
53
|
+
|
|
47
54
|
export type Round = boolean
|
|
48
55
|
export type Circle = boolean
|
|
49
56
|
export type Disabled = boolean
|
|
@@ -94,9 +101,17 @@ export interface VxeButtonProps {
|
|
|
94
101
|
*/
|
|
95
102
|
status?: VxeButtonPropTypes.Status
|
|
96
103
|
/**
|
|
97
|
-
*
|
|
104
|
+
* 按钮的前缀图标,属于 prefix-icon 的简写
|
|
98
105
|
*/
|
|
99
106
|
icon?: VxeButtonPropTypes.Icon
|
|
107
|
+
/**
|
|
108
|
+
* 按钮的前缀图标
|
|
109
|
+
*/
|
|
110
|
+
prefixIcon?: VxeButtonPropTypes.PrefixIcon
|
|
111
|
+
/**
|
|
112
|
+
* 按钮的后缀图标
|
|
113
|
+
*/
|
|
114
|
+
suffixIcon?: VxeButtonPropTypes.SuffixIcon
|
|
100
115
|
/**
|
|
101
116
|
* 圆角边框
|
|
102
117
|
*/
|
|
@@ -230,15 +245,25 @@ export interface VxeButtonSlots {
|
|
|
230
245
|
/**
|
|
231
246
|
* 自定义按钮内容
|
|
232
247
|
*/
|
|
233
|
-
default?: (params:
|
|
248
|
+
default?: (params: VxeButtonSlotTypes.DefaultSlotParams) => any
|
|
249
|
+
/**
|
|
250
|
+
* 自定义自定义图标
|
|
251
|
+
*/
|
|
252
|
+
prefix?: (params: VxeButtonSlotTypes.DefaultSlotParams) => any
|
|
234
253
|
/**
|
|
235
254
|
* 自定义自定义图标
|
|
236
255
|
*/
|
|
237
|
-
|
|
256
|
+
suffix?: (params: VxeButtonSlotTypes.DefaultSlotParams) => any
|
|
238
257
|
/**
|
|
239
258
|
* 自定义下拉按钮
|
|
240
259
|
*/
|
|
241
|
-
dropdowns?: (params:
|
|
260
|
+
dropdowns?: (params: VxeButtonSlotTypes.DefaultSlotParams) => any
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* 已废弃,被 prefix 替换
|
|
264
|
+
* @deprecated
|
|
265
|
+
*/
|
|
266
|
+
icon?: (params: VxeButtonSlotTypes.DefaultSlotParams) => any
|
|
242
267
|
}
|
|
243
268
|
|
|
244
269
|
export const Button: typeof VxeButton
|
|
@@ -25,7 +25,7 @@ export interface VxeColorPickerPrivateRef extends ColorPickerPrivateRef { }
|
|
|
25
25
|
export namespace VxeColorPickerPropTypes {
|
|
26
26
|
export type ModelValue = string | null
|
|
27
27
|
export type Size = VxeComponentSizeType
|
|
28
|
-
export type Type = 'rgb' | '
|
|
28
|
+
export type Type = 'rgb' | 'hex'
|
|
29
29
|
export type ClassName = string | ((params: { $colorPicker: VxeColorPickerConstructor }) => string)
|
|
30
30
|
export type PopupClassName = string | ((params: {$colorPicker: VxeColorPickerConstructor }) => string)
|
|
31
31
|
export type Colors = string[] | {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|