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

@awsui/collection-hooks

Package Overview
Dependencies
Maintainers
3
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@awsui/collection-hooks - npm Package Compare versions

Comparing version 1.0.10 to 1.0.11

1

dist/use-collection.js

@@ -33,3 +33,4 @@ var __assign = (this && this.__assign) || function () {

pagesCount: pagesCount,
allItems: allItems,
}));
}

3

dist/utils.d.ts

@@ -26,6 +26,7 @@ import { Dispatch, Reducer } from 'react';

}): CollectionActions<T>;
export declare function createSyncProps<T>(options: CollectionOptions<T>, { filteringText, sortingState, selectedItems, currentPageIndex }: CollectionState<T>, actions: CollectionActions<T>, collectionRef: React.RefObject<CollectionRef>, { pagesCount, actualPageIndex }: {
export declare function createSyncProps<T>(options: CollectionOptions<T>, { filteringText, sortingState, selectedItems, currentPageIndex }: CollectionState<T>, actions: CollectionActions<T>, collectionRef: React.RefObject<CollectionRef>, { pagesCount, actualPageIndex, allItems, }: {
pagesCount?: number;
actualPageIndex?: number;
allItems: ReadonlyArray<T>;
}): Pick<CollectionSyncResult<T>, 'collectionProps' | 'filterProps' | 'paginationProps'>;
export {};

@@ -54,5 +54,5 @@ var __assign = (this && this.__assign) || function () {

var filteringText = _a.filteringText, sortingState = _a.sortingState, selectedItems = _a.selectedItems, currentPageIndex = _a.currentPageIndex;
var pagesCount = _b.pagesCount, actualPageIndex = _b.actualPageIndex;
var pagesCount = _b.pagesCount, actualPageIndex = _b.actualPageIndex, allItems = _b.allItems;
return {
collectionProps: __assign(__assign(__assign({ empty: options.filtering ? (filteringText ? options.filtering.noMatch : options.filtering.empty) : null }, (options.sorting
collectionProps: __assign(__assign(__assign({ empty: options.filtering ? (allItems.length ? options.filtering.noMatch : options.filtering.empty) : null }, (options.sorting
? {

@@ -59,0 +59,0 @@ onSortingChange: function (_a) {

{
"name": "@awsui/collection-hooks",
"version": "1.0.10",
"version": "1.0.11",
"type": "module",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

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