pixel-react 1.6.1 → 1.6.2
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/lib/components/TableTree/types.d.ts +1 -1
 - package/lib/index.d.ts +1 -1
 - package/lib/index.esm.js +3 -3
 - package/lib/index.esm.js.map +1 -1
 - package/lib/index.js +3 -3
 - package/lib/index.js.map +1 -1
 - package/package.json +1 -1
 - package/src/components/Select/Select.tsx +1 -1
 - package/src/components/TableTree/TableTree.tsx +2 -2
 - package/src/components/TableTree/types.ts +1 -1
 
    
        package/lib/index.js
    CHANGED
    
    | 
         @@ -2819,7 +2819,7 @@ const Select$1 = ({ 
     | 
|
| 
       2819 
2819 
     | 
    
         
             
                  })]
         
     | 
| 
       2820 
2820 
     | 
    
         
             
                }), errorMsg && jsxRuntime.jsx(Typography, {
         
     | 
| 
       2821 
2821 
     | 
    
         
             
                  as: "div",
         
     | 
| 
       2822 
     | 
    
         
            -
                  lineHeight: " 
     | 
| 
      
 2822 
     | 
    
         
            +
                  lineHeight: "15px",
         
     | 
| 
       2823 
2823 
     | 
    
         
             
                  fontSize: 10,
         
     | 
| 
       2824 
2824 
     | 
    
         
             
                  color: "var(--error_light)",
         
     | 
| 
       2825 
2825 
     | 
    
         
             
                  className: "ff-select-error-msg",
         
     | 
| 
         @@ -9225,7 +9225,7 @@ const TableBody = /*#__PURE__*/React.memo(({ 
     | 
|
| 
       9225 
9225 
     | 
    
         
             
                node,
         
     | 
| 
       9226 
9226 
     | 
    
         
             
                level
         
     | 
| 
       9227 
9227 
     | 
    
         
             
              }) => {
         
     | 
| 
       9228 
     | 
    
         
            -
                const isExpanded = expandedNodes.includes(node 
     | 
| 
      
 9228 
     | 
    
         
            +
                const isExpanded = expandedNodes.includes(node?.id);
         
     | 
| 
       9229 
9229 
     | 
    
         
             
                return jsxRuntime.jsx(TableRow, {
         
     | 
| 
       9230 
9230 
     | 
    
         
             
                  node: node,
         
     | 
| 
       9231 
9231 
     | 
    
         
             
                  level: level,
         
     | 
| 
         @@ -9250,7 +9250,7 @@ const TreeTable = ({ 
     | 
|
| 
       9250 
9250 
     | 
    
         
             
              expandedNodes = [],
         
     | 
| 
       9251 
9251 
     | 
    
         
             
              onExpand
         
     | 
| 
       9252 
9252 
     | 
    
         
             
            }) => {
         
     | 
| 
       9253 
     | 
    
         
            -
              const handleToggleExpand = React.useCallback(node => onExpand?.(!expandedNodes.includes(node 
     | 
| 
      
 9253 
     | 
    
         
            +
              const handleToggleExpand = React.useCallback(node => onExpand?.(!expandedNodes.includes(node?.id), node?.id), [expandedNodes, onExpand]);
         
     | 
| 
       9254 
9254 
     | 
    
         
             
              const handleCheckBoxChange = React.useCallback((type, node) => {
         
     | 
| 
       9255 
9255 
     | 
    
         
             
                const nodeId = node.id;
         
     | 
| 
       9256 
9256 
     | 
    
         
             
                if (type === 'radio') {
         
     |