@sheinx/base 3.9.0-beta.31 → 3.9.0-beta.32

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.
@@ -1 +1 @@
1
- {"version":3,"file":"result.d.ts","sourceRoot":"","sources":["result.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAY5C,QAAA,MAAM,MAAM,mGAgdX,CAAC;AAEF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"result.d.ts","sourceRoot":"","sources":["result.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAY5C,QAAA,MAAM,MAAM,mGAidX,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -215,6 +215,7 @@ var Result = function Result(props) {
215
215
  }, _hooks.util.getDataAttribute({
216
216
  type: disabled === true ? 'dark' : undefined
217
217
  })), {}, {
218
+ title: typeof content === 'string' ? content : undefined,
218
219
  children: content
219
220
  }), index);
220
221
  };
@@ -239,6 +240,7 @@ var Result = function Result(props) {
239
240
  var content = renderResultContent(result[0]);
240
241
  return /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
241
242
  className: styles.ellipsis,
243
+ title: typeof content === 'string' ? content : undefined,
242
244
  children: content
243
245
  }, 'single');
244
246
  };
@@ -1 +1 @@
1
- {"version":3,"file":"result.d.ts","sourceRoot":"","sources":["result.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAY5C,QAAA,MAAM,MAAM,mGAgdX,CAAC;AAEF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"result.d.ts","sourceRoot":"","sources":["result.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAY5C,QAAA,MAAM,MAAM,mGAidX,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -207,6 +207,7 @@ var Result = function Result(props) {
207
207
  }, util.getDataAttribute({
208
208
  type: disabled === true ? 'dark' : undefined
209
209
  })), {}, {
210
+ title: typeof content === 'string' ? content : undefined,
210
211
  children: content
211
212
  }), index);
212
213
  };
@@ -231,6 +232,7 @@ var Result = function Result(props) {
231
232
  var content = renderResultContent(result[0]);
232
233
  return /*#__PURE__*/_jsx("span", {
233
234
  className: styles.ellipsis,
235
+ title: typeof content === 'string' ? content : undefined,
234
236
  children: content
235
237
  }, 'single');
236
238
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sheinx/base",
3
- "version": "3.9.0-beta.31",
3
+ "version": "3.9.0-beta.32",
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.0-beta.31",
13
+ "@sheinx/hooks": "3.9.0-beta.32",
14
14
  "immer": "^10.0.0",
15
15
  "classnames": "^2.0.0",
16
16
  "@shined/reactive": "^0.3.3"