@sheinx/base 3.8.3-beta.2 → 3.8.3-beta.3

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":"list-columns.d.ts","sourceRoot":"","sources":["list-columns.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAK9C,QAAA,MAAM,WAAW,qGAwMhB,CAAC;AAEF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"list-columns.d.ts","sourceRoot":"","sources":["list-columns.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAK9C,QAAA,MAAM,WAAW,qGAyMhB,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -98,9 +98,11 @@ var ColumnsList = function ColumnsList(props) {
98
98
  };
99
99
  var renderGroupTitle = function renderGroupTitle(item, key) {
100
100
  if (item[groupKey]) {
101
+ var title = item[groupKey];
101
102
  return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
102
103
  className: styles.optionGroupTitle,
103
- children: item[groupKey]
104
+ title: typeof title === 'string' ? title : undefined,
105
+ children: title
104
106
  }, key);
105
107
  }
106
108
  return null;
@@ -202,7 +202,7 @@ var List = function List(props) {
202
202
  var title = d[groupKey];
203
203
  return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
204
204
  className: styles.optionGroupTitle,
205
- title: title,
205
+ title: typeof title === 'string' ? title : undefined,
206
206
  children: title
207
207
  });
208
208
  };
@@ -1 +1 @@
1
- {"version":3,"file":"list-columns.d.ts","sourceRoot":"","sources":["list-columns.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAK9C,QAAA,MAAM,WAAW,qGAwMhB,CAAC;AAEF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"list-columns.d.ts","sourceRoot":"","sources":["list-columns.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAK9C,QAAA,MAAM,WAAW,qGAyMhB,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -92,9 +92,11 @@ var ColumnsList = function ColumnsList(props) {
92
92
  };
93
93
  var renderGroupTitle = function renderGroupTitle(item, key) {
94
94
  if (item[groupKey]) {
95
+ var title = item[groupKey];
95
96
  return /*#__PURE__*/_jsx("div", {
96
97
  className: styles.optionGroupTitle,
97
- children: item[groupKey]
98
+ title: typeof title === 'string' ? title : undefined,
99
+ children: title
98
100
  }, key);
99
101
  }
100
102
  return null;
@@ -193,7 +193,7 @@ var List = function List(props) {
193
193
  var title = d[groupKey];
194
194
  return /*#__PURE__*/_jsx("div", {
195
195
  className: styles.optionGroupTitle,
196
- title: title,
196
+ title: typeof title === 'string' ? title : undefined,
197
197
  children: title
198
198
  });
199
199
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sheinx/base",
3
- "version": "3.8.3-beta.2",
3
+ "version": "3.8.3-beta.3",
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.8.3-beta.2",
13
+ "@sheinx/hooks": "3.8.3-beta.3",
14
14
  "immer": "^10.0.0",
15
15
  "classnames": "^2.0.0",
16
16
  "@shined/reactive": "^0.1.3-alpha.0"