@koine/react 1.0.0 → 1.0.1
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/index.esm.js +2 -2
- package/index.umd.js +2 -2
- package/package.json +3 -3
package/index.esm.js
CHANGED
|
@@ -9873,11 +9873,11 @@ var TypeStairs = /*#__PURE__*/ forwardRef(function(param, ref) {
|
|
|
9873
9873
|
var rows = limit ? splitTextIntoRows(children, limit) : [
|
|
9874
9874
|
children
|
|
9875
9875
|
];
|
|
9876
|
-
return /*#__PURE__*/ React.createElement(React.Fragment, null, rows.
|
|
9876
|
+
return rows.length > 1 ? /*#__PURE__*/ React.createElement(React.Fragment, null, rows.map(function(row, rowIndex) {
|
|
9877
9877
|
return /*#__PURE__*/ React.createElement("span", {
|
|
9878
9878
|
key: "row-".concat(rowIndex)
|
|
9879
9879
|
}, renderRow(row, rowIndex, ref), rowIndex !== rows.length - 1 && /*#__PURE__*/ React.createElement("br", null));
|
|
9880
|
-
}) : renderRow(rows[0], 0, ref)
|
|
9880
|
+
})) : renderRow(rows[0], 0, ref);
|
|
9881
9881
|
});
|
|
9882
9882
|
/**
|
|
9883
9883
|
* every number chars find a space and break, then restart the gradient weight
|
package/index.umd.js
CHANGED
|
@@ -9855,11 +9855,11 @@
|
|
|
9855
9855
|
var rows = limit ? splitTextIntoRows(children, limit) : [
|
|
9856
9856
|
children
|
|
9857
9857
|
];
|
|
9858
|
-
return /*#__PURE__*/ React.createElement(React.Fragment, null, rows.
|
|
9858
|
+
return rows.length > 1 ? /*#__PURE__*/ React.createElement(React.Fragment, null, rows.map(function(row, rowIndex) {
|
|
9859
9859
|
return /*#__PURE__*/ React.createElement("span", {
|
|
9860
9860
|
key: "row-".concat(rowIndex)
|
|
9861
9861
|
}, renderRow(row, rowIndex, ref), rowIndex !== rows.length - 1 && /*#__PURE__*/ React.createElement("br", null));
|
|
9862
|
-
}) : renderRow(rows[0], 0, ref)
|
|
9862
|
+
})) : renderRow(rows[0], 0, ref);
|
|
9863
9863
|
});
|
|
9864
9864
|
/**
|
|
9865
9865
|
* every number chars find a space and break, then restart the gradient weight
|
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@koine/react",
|
|
3
3
|
"sideEffects": false,
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.1",
|
|
5
5
|
"main": "./index.umd.js",
|
|
6
6
|
"module": "./index.esm.js",
|
|
7
7
|
"typings": "./index.d.ts",
|
|
8
8
|
"dependencies": {},
|
|
9
9
|
"peerDependencies": {
|
|
10
|
-
"react": "^17.0.2 || ^18",
|
|
11
10
|
"styled-components": "^5.3.5",
|
|
12
11
|
"framer-motion": "^6.2.9",
|
|
12
|
+
"react": "^17.0.2",
|
|
13
13
|
"@mui/base": "^5.0.0-alpha.75",
|
|
14
|
-
"@koine/utils": "1.0.
|
|
14
|
+
"@koine/utils": "1.0.1",
|
|
15
15
|
"@react-icons/all-files": "^4.1.0",
|
|
16
16
|
"date-fns": "^2.28.0",
|
|
17
17
|
"react-swipeable": "^6.2.1",
|