@sheinx/base 3.9.6-beta.4 → 3.9.6-beta.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.
|
@@ -69,7 +69,7 @@ var ListOption = function ListOption(props) {
|
|
|
69
69
|
highlight = _useContext.highlight;
|
|
70
70
|
var result = _hooks.util.getHighlightText({
|
|
71
71
|
enable: highlight,
|
|
72
|
-
nodeList: renderItem(data),
|
|
72
|
+
nodeList: renderItem(data, index),
|
|
73
73
|
searchWords: filterText,
|
|
74
74
|
highlightClassName: commonStyles === null || commonStyles === void 0 ? void 0 : commonStyles.highlight
|
|
75
75
|
});
|
|
@@ -5,12 +5,12 @@ export interface UploadImageProps<T> extends Omit<UploadProps<T>, 'listType'> {
|
|
|
5
5
|
* @en Upload image container width
|
|
6
6
|
* @default 80
|
|
7
7
|
*/
|
|
8
|
-
width?: number;
|
|
8
|
+
width?: number | string;
|
|
9
9
|
/**
|
|
10
10
|
* @cn 上传图片容器高度
|
|
11
11
|
* @en Upload image container height
|
|
12
12
|
* @default 80
|
|
13
13
|
*/
|
|
14
|
-
height?: number;
|
|
14
|
+
height?: number | string;
|
|
15
15
|
}
|
|
16
16
|
//# sourceMappingURL=image.type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image.type.d.ts","sourceRoot":"","sources":["image.type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,MAAM,WAAW,gBAAgB,CAAC,CAAC,CAAE,SAAQ,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC;IAC3E;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"image.type.d.ts","sourceRoot":"","sources":["image.type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,MAAM,WAAW,gBAAgB,CAAC,CAAC,CAAE,SAAQ,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC;IAC3E;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC1B"}
|
|
@@ -63,7 +63,7 @@ var ListOption = function ListOption(props) {
|
|
|
63
63
|
highlight = _useContext.highlight;
|
|
64
64
|
var result = util.getHighlightText({
|
|
65
65
|
enable: highlight,
|
|
66
|
-
nodeList: renderItem(data),
|
|
66
|
+
nodeList: renderItem(data, index),
|
|
67
67
|
searchWords: filterText,
|
|
68
68
|
highlightClassName: commonStyles === null || commonStyles === void 0 ? void 0 : commonStyles.highlight
|
|
69
69
|
});
|
|
@@ -5,12 +5,12 @@ export interface UploadImageProps<T> extends Omit<UploadProps<T>, 'listType'> {
|
|
|
5
5
|
* @en Upload image container width
|
|
6
6
|
* @default 80
|
|
7
7
|
*/
|
|
8
|
-
width?: number;
|
|
8
|
+
width?: number | string;
|
|
9
9
|
/**
|
|
10
10
|
* @cn 上传图片容器高度
|
|
11
11
|
* @en Upload image container height
|
|
12
12
|
* @default 80
|
|
13
13
|
*/
|
|
14
|
-
height?: number;
|
|
14
|
+
height?: number | string;
|
|
15
15
|
}
|
|
16
16
|
//# sourceMappingURL=image.type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image.type.d.ts","sourceRoot":"","sources":["image.type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,MAAM,WAAW,gBAAgB,CAAC,CAAC,CAAE,SAAQ,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC;IAC3E;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"image.type.d.ts","sourceRoot":"","sources":["image.type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,MAAM,WAAW,gBAAgB,CAAC,CAAC,CAAE,SAAQ,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC;IAC3E;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC1B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sheinx/base",
|
|
3
|
-
"version": "3.9.6-beta.
|
|
3
|
+
"version": "3.9.6-beta.5",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"module": "./esm/index.js",
|
|
11
11
|
"typings": "./cjs/index.d.ts",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@sheinx/hooks": "3.9.6-beta.
|
|
13
|
+
"@sheinx/hooks": "3.9.6-beta.5",
|
|
14
14
|
"immer": "^10.0.0",
|
|
15
15
|
"classnames": "^2.0.0",
|
|
16
16
|
"@shined/reactive": "^0.3.3"
|