@react-fabric/data 1.0.0-beta.52 → 1.0.0-beta.53
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.
|
@@ -100,7 +100,7 @@ var TreeNode = function TreeNode(_ref) {
|
|
|
100
100
|
canSelect ? onSelect(node.id) : canCheck ? onChecked(node.id) : onToggle(node.id);
|
|
101
101
|
},
|
|
102
102
|
children: [nodeIcon && /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
103
|
-
className: "flex-content w-6 self-center leading-none",
|
|
103
|
+
className: "flex-content max-w-6 me-1 self-center leading-none",
|
|
104
104
|
children: [/*#__PURE__*/react.isValidElement(nodeIcon) && nodeIcon, utilities.isString(nodeIcon) && /*#__PURE__*/jsxRuntime.jsx(core.Icon, {
|
|
105
105
|
icon: nodeIcon,
|
|
106
106
|
bg: node.iconBg,
|
|
@@ -100,7 +100,7 @@ var TreeNode = function TreeNode(_ref) {
|
|
|
100
100
|
canSelect ? onSelect(node.id) : canCheck ? onChecked(node.id) : onToggle(node.id);
|
|
101
101
|
},
|
|
102
102
|
children: [nodeIcon && /*#__PURE__*/jsxs("div", {
|
|
103
|
-
className: "flex-content w-6 self-center leading-none",
|
|
103
|
+
className: "flex-content max-w-6 me-1 self-center leading-none",
|
|
104
104
|
children: [/*#__PURE__*/isValidElement(nodeIcon) && nodeIcon, isString(nodeIcon) && /*#__PURE__*/jsx(Icon, {
|
|
105
105
|
icon: nodeIcon,
|
|
106
106
|
bg: node.iconBg,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-fabric/data",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.53",
|
|
4
4
|
"description": "RUF: Data package",
|
|
5
5
|
"author": "Adarsh Pastakia <adarshpastakia@outlook.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
"watch": "npm-run-all -p watch:rollup watch:dts"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@react-fabric/core": "^1.0.0-beta.
|
|
39
|
-
"@react-fabric/date": "^1.0.0-beta.
|
|
40
|
-
"@react-fabric/form": "^1.0.0-beta.
|
|
38
|
+
"@react-fabric/core": "^1.0.0-beta.53",
|
|
39
|
+
"@react-fabric/date": "^1.0.0-beta.53",
|
|
40
|
+
"@react-fabric/form": "^1.0.0-beta.53",
|
|
41
41
|
"@react-fabric/utilities": "^1.0.0-beta.52",
|
|
42
42
|
"@tanstack/react-virtual": "^3.13.9",
|
|
43
43
|
"classnames": "^2.5.1",
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"node": ">=18.12.0",
|
|
55
55
|
"npm": ">=8.19.0"
|
|
56
56
|
},
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "1042327831f9c908912c552d5c2704b765a6f9c2"
|
|
58
58
|
}
|
package/src/tree/TreeNode.tsx
CHANGED
|
@@ -166,7 +166,7 @@ export const TreeNode = ({
|
|
|
166
166
|
}
|
|
167
167
|
>
|
|
168
168
|
{nodeIcon && (
|
|
169
|
-
<div className="flex-content w-6 self-center leading-none">
|
|
169
|
+
<div className="flex-content max-w-6 me-1 self-center leading-none">
|
|
170
170
|
{isValidElement(nodeIcon) && nodeIcon}
|
|
171
171
|
{isString(nodeIcon) && (
|
|
172
172
|
<Icon
|