@charcoal-ui/react-sandbox 2.2.1 → 2.4.0
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/dist/components/TextEllipsis/helper.d.ts +1 -1
- package/dist/components/TextEllipsis/helper.d.ts.map +1 -1
- package/dist/index.cjs +1 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +1 -2
- package/dist/index.modern.js.map +1 -1
- package/dist/index.module.js +1 -2
- package/dist/index.module.js.map +1 -1
- package/package.json +7 -7
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ReactNode, ReactText } from 'react';
|
|
2
|
-
export declare const childToString: (child?: boolean | {} |
|
|
2
|
+
export declare const childToString: (child?: ReactText | boolean | {} | null) => string;
|
|
3
3
|
export declare const onlyText: (children: ReactNode) => string;
|
|
4
4
|
//# sourceMappingURL=helper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helper.d.ts","sourceRoot":"","sources":["../../../src/components/TextEllipsis/helper.ts"],"names":[],"mappings":"AAEA,OAAO,EAIL,SAAS,EACT,SAAS,EACV,MAAM,OAAO,CAAA;AAQd,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"helper.d.ts","sourceRoot":"","sources":["../../../src/components/TextEllipsis/helper.ts"],"names":[],"mappings":"AAEA,OAAO,EAIL,SAAS,EACT,SAAS,EACV,MAAM,OAAO,CAAA;AAQd,eAAO,MAAM,aAAa,WAEhB,SAAS,GAAG,OAAO,GAAG,EAAE,GAAG,IAAI,KACtC,MAcF,CAAA;AAED,eAAO,MAAM,QAAQ,aAAc,SAAS,KAAG,MAqB9C,CAAA"}
|
package/dist/index.cjs
CHANGED
|
@@ -16,7 +16,7 @@ var ReactDOM__default = /*#__PURE__*/_interopDefaultLegacy(ReactDOM);
|
|
|
16
16
|
var warning__default = /*#__PURE__*/_interopDefaultLegacy(warning);
|
|
17
17
|
|
|
18
18
|
function _extends() {
|
|
19
|
-
_extends = Object.assign
|
|
19
|
+
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
20
20
|
for (var i = 1; i < arguments.length; i++) {
|
|
21
21
|
var source = arguments[i];
|
|
22
22
|
|
|
@@ -29,7 +29,6 @@ function _extends() {
|
|
|
29
29
|
|
|
30
30
|
return target;
|
|
31
31
|
};
|
|
32
|
-
|
|
33
32
|
return _extends.apply(this, arguments);
|
|
34
33
|
}
|
|
35
34
|
|