New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@react-stately/table

Package Overview
Dependencies
Maintainers
2
Versions
891
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-stately/table - npm Package Compare versions

Comparing version 3.0.0-nightly.2785 to 3.0.0-nightly.2791

36

dist/main.js

@@ -384,3 +384,8 @@ var _react2 = require("react");

}
}; // We don't want getCollectionNode to show up in the type definition
};
/**
* A TableHeader is a container for the Column elements in a Table. Columns can be statically defined
* as children, or generated dynamically using a function based on the data passed to the `columns` prop.
*/
// We don't want getCollectionNode to show up in the type definition

@@ -434,3 +439,8 @@

};
}; // We don't want getCollectionNode to show up in the type definition
};
/**
* A TableBody is a container for the Row elements of a Table. Rows can be statically defined
* as children, or generated dynamically using a function based on the data passed to the `items` prop.
*/
// We don't want getCollectionNode to show up in the type definition

@@ -500,3 +510,9 @@

updateContext(context);
}; // We don't want getCollectionNode to show up in the type definition
};
/**
* A Column represents a field of each item within a Table. Columns may also contain nested
* Column elements to represent column groups. Nested columns can be statically defined as
* children, or dynamically generated using a function based on the `childColumns` prop.
*/
// We don't want getCollectionNode to show up in the type definition

@@ -570,3 +586,9 @@

};
}; // We don't want getCollectionNode to show up in the type definition
};
/**
* A Row represents a single item in a Table and contains Cell elements for each column.
* Cells can be statically defined as children, or generated dynamically using a function
* based on the columns defined in the TableHeader.
*/
// We don't want getCollectionNode to show up in the type definition

@@ -606,3 +628,7 @@

};
}; // We don't want getCollectionNode to show up in the type definition
};
/**
* A Cell represents the value of a single Column within a Table Row.
*/
// We don't want getCollectionNode to show up in the type definition

@@ -609,0 +635,0 @@

@@ -361,3 +361,8 @@ import _react, { useMemo } from "react";

}
}; // We don't want getCollectionNode to show up in the type definition
};
/**
* A TableHeader is a container for the Column elements in a Table. Columns can be statically defined
* as children, or generated dynamically using a function based on the data passed to the `columns` prop.
*/
// We don't want getCollectionNode to show up in the type definition

@@ -410,3 +415,8 @@

};
}; // We don't want getCollectionNode to show up in the type definition
};
/**
* A TableBody is a container for the Row elements of a Table. Rows can be statically defined
* as children, or generated dynamically using a function based on the data passed to the `items` prop.
*/
// We don't want getCollectionNode to show up in the type definition

@@ -475,3 +485,9 @@

updateContext(context);
}; // We don't want getCollectionNode to show up in the type definition
};
/**
* A Column represents a field of each item within a Table. Columns may also contain nested
* Column elements to represent column groups. Nested columns can be statically defined as
* children, or dynamically generated using a function based on the `childColumns` prop.
*/
// We don't want getCollectionNode to show up in the type definition

@@ -544,3 +560,9 @@

};
}; // We don't want getCollectionNode to show up in the type definition
};
/**
* A Row represents a single item in a Table and contains Cell elements for each column.
* Cells can be statically defined as children, or generated dynamically using a function
* based on the columns defined in the TableHeader.
*/
// We don't want getCollectionNode to show up in the type definition

@@ -579,3 +601,7 @@

};
}; // We don't want getCollectionNode to show up in the type definition
};
/**
* A Cell represents the value of a single Column within a Table Row.
*/
// We don't want getCollectionNode to show up in the type definition

@@ -582,0 +608,0 @@

@@ -29,6 +29,27 @@ import { CollectionBase, MultipleSelection, Node, SelectionMode, Sortable, SortDescriptor } from "@react-types/shared";

export function useTableState<T extends object>(props: TableStateProps<T>): TableState<T>;
/**
* A TableHeader is a container for the Column elements in a Table. Columns can be statically defined
* as children, or generated dynamically using a function based on the data passed to the `columns` prop.
*/
export let TableHeader: <T>(props: TableHeaderProps<T>) => JSX.Element;
/**
* A TableBody is a container for the Row elements of a Table. Rows can be statically defined
* as children, or generated dynamically using a function based on the data passed to the `items` prop.
*/
export let TableBody: <T>(props: TableBodyProps<T>) => JSX.Element;
/**
* A Column represents a field of each item within a Table. Columns may also contain nested
* Column elements to represent column groups. Nested columns can be statically defined as
* children, or dynamically generated using a function based on the `childColumns` prop.
*/
export let Column: <T>(props: ColumnProps<T>) => JSX.Element;
/**
* A Row represents a single item in a Table and contains Cell elements for each column.
* Cells can be statically defined as children, or generated dynamically using a function
* based on the columns defined in the TableHeader.
*/
export let Row: (props: RowProps) => JSX.Element;
/**
* A Cell represents the value of a single Column within a Table Row.
*/
export let Cell: (props: CellProps) => JSX.Element;

@@ -35,0 +56,0 @@ export { Section } from '@react-stately/collections';

14

package.json
{
"name": "@react-stately/table",
"version": "3.0.0-nightly.2785+4ffc6447a",
"version": "3.0.0-nightly.2791+4c94b3187",
"description": "Spectrum UI components in React",

@@ -21,7 +21,7 @@ "license": "Apache-2.0",

"@babel/runtime": "^7.6.2",
"@react-stately/collections": "3.0.0-nightly.1100+4ffc6447a",
"@react-stately/grid": "3.0.0-nightly.2785+4ffc6447a",
"@react-types/grid": "3.0.0-nightly.2785+4ffc6447a",
"@react-types/shared": "3.0.0-nightly.1100+4ffc6447a",
"@react-types/table": "3.0.0-nightly.2785+4ffc6447a"
"@react-stately/collections": "3.0.0-nightly.1106+4c94b3187",
"@react-stately/grid": "3.0.0-nightly.2791+4c94b3187",
"@react-types/grid": "3.0.0-nightly.2791+4c94b3187",
"@react-types/shared": "3.0.0-nightly.1106+4c94b3187",
"@react-types/table": "3.0.0-nightly.2791+4c94b3187"
},

@@ -34,3 +34,3 @@ "peerDependencies": {

},
"gitHead": "4ffc6447a8f8b22e316383997e1d0b31d8602a56"
"gitHead": "4c94b31875cc349a9dadb40a23aaf33a6334e7f8"
}

@@ -35,4 +35,7 @@ /*

/**
* A Cell represents the value of a single Column within a Table Row.
*/
// We don't want getCollectionNode to show up in the type definition
let _Cell = Cell as (props: CellProps) => JSX.Element;
export {_Cell as Cell};

@@ -71,4 +71,9 @@ /*

/**
* A Column represents a field of each item within a Table. Columns may also contain nested
* Column elements to represent column groups. Nested columns can be statically defined as
* children, or dynamically generated using a function based on the `childColumns` prop.
*/
// We don't want getCollectionNode to show up in the type definition
let _Column = Column as <T>(props: ColumnProps<T>) => JSX.Element;
export {_Column as Column};

@@ -77,4 +77,9 @@ /*

/**
* A Row represents a single item in a Table and contains Cell elements for each column.
* Cells can be statically defined as children, or generated dynamically using a function
* based on the columns defined in the TableHeader.
*/
// We don't want getCollectionNode to show up in the type definition
let _Row = Row as (props: RowProps) => JSX.Element;
export {_Row as Row};

@@ -32,3 +32,3 @@ /*

}
for (let item of items) {

@@ -56,4 +56,8 @@ yield {

/**
* A TableBody is a container for the Row elements of a Table. Rows can be statically defined
* as children, or generated dynamically using a function based on the data passed to the `items` prop.
*/
// We don't want getCollectionNode to show up in the type definition
let _TableBody = TableBody as <T>(props: TableBodyProps<T>) => JSX.Element;
export {_TableBody as TableBody};

@@ -48,4 +48,8 @@ /*

/**
* A TableHeader is a container for the Column elements in a Table. Columns can be statically defined
* as children, or generated dynamically using a function based on the data passed to the `columns` prop.
*/
// We don't want getCollectionNode to show up in the type definition
let _TableHeader = TableHeader as <T>(props: TableHeaderProps<T>) => JSX.Element;
export {_TableHeader as TableHeader};

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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