Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rc-table

Package Overview
Dependencies
Maintainers
9
Versions
440
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-table - npm Package Compare versions

Comparing version 7.35.1 to 7.35.2

4

es/hooks/useColumns/useWidthColumns.js

@@ -35,3 +35,4 @@ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";

// Fill width
var restWidth = Math.max(scrollWidth - totalWidth, missWidthCount);
var maxFitWidth = Math.max(scrollWidth, clientWidth);
var restWidth = Math.max(maxFitWidth - totalWidth, missWidthCount);
var restCount = missWidthCount;

@@ -54,3 +55,2 @@ var avgWidth = restWidth / missWidthCount;

});
var maxFitWidth = Math.max(scrollWidth, clientWidth);

@@ -57,0 +57,0 @@ // If realTotal is less than clientWidth,

import { EXPAND_COLUMN, INTERNAL_HOOKS } from './constant';
import { FooterComponents as Summary } from './Footer';
import type { Reference } from './interface';
import type { ColumnType, Reference } from './interface';
import Column from './sugar/Column';

@@ -11,3 +11,3 @@ import ColumnGroup from './sugar/ColumnGroup';

import VirtualTable, { genVirtualTable } from './VirtualTable';
export { genTable, Summary, Column, ColumnGroup, type TableProps, INTERNAL_COL_DEFINE, EXPAND_COLUMN, INTERNAL_HOOKS, VirtualTable, genVirtualTable, type VirtualTableProps, type Reference, };
export { genTable, Summary, Column, ColumnGroup, type TableProps, INTERNAL_COL_DEFINE, EXPAND_COLUMN, INTERNAL_HOOKS, VirtualTable, genVirtualTable, type VirtualTableProps, type Reference, type ColumnType, };
export default Table;

@@ -45,3 +45,4 @@ "use strict";

// Fill width
var restWidth = Math.max(scrollWidth - totalWidth, missWidthCount);
var maxFitWidth = Math.max(scrollWidth, clientWidth);
var restWidth = Math.max(maxFitWidth - totalWidth, missWidthCount);
var restCount = missWidthCount;

@@ -64,3 +65,2 @@ var avgWidth = restWidth / missWidthCount;

});
var maxFitWidth = Math.max(scrollWidth, clientWidth);

@@ -67,0 +67,0 @@ // If realTotal is less than clientWidth,

import { EXPAND_COLUMN, INTERNAL_HOOKS } from './constant';
import { FooterComponents as Summary } from './Footer';
import type { Reference } from './interface';
import type { ColumnType, Reference } from './interface';
import Column from './sugar/Column';

@@ -11,3 +11,3 @@ import ColumnGroup from './sugar/ColumnGroup';

import VirtualTable, { genVirtualTable } from './VirtualTable';
export { genTable, Summary, Column, ColumnGroup, type TableProps, INTERNAL_COL_DEFINE, EXPAND_COLUMN, INTERNAL_HOOKS, VirtualTable, genVirtualTable, type VirtualTableProps, type Reference, };
export { genTable, Summary, Column, ColumnGroup, type TableProps, INTERNAL_COL_DEFINE, EXPAND_COLUMN, INTERNAL_HOOKS, VirtualTable, genVirtualTable, type VirtualTableProps, type Reference, type ColumnType, };
export default Table;
{
"name": "rc-table",
"version": "7.35.1",
"version": "7.35.2",
"description": "table ui component for react",

@@ -5,0 +5,0 @@ "engines": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc