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

@awsui/collection-hooks

Package Overview
Dependencies
Maintainers
4
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.13 to 1.0.14

1

dist/cjs/index.d.ts
export { useCollection } from './use-collection.js';
export { UseCollectionResult, CollectionRef } from './interfaces';

6

dist/cjs/interfaces.d.ts

@@ -83,3 +83,3 @@ import * as React from 'react';

}
interface CollectionBaseResult<T> {
interface UseCollectionResultBase<T> {
items: ReadonlyArray<T>;

@@ -119,5 +119,5 @@ actions: CollectionActions<T>;

}
export interface CollectionSyncResult<T> extends CollectionBaseResult<T> {
export interface UseCollectionResult<T> extends UseCollectionResultBase<T> {
filteredItemsCount: number | undefined;
paginationProps: CollectionBaseResult<T>['paginationProps'] & {
paginationProps: UseCollectionResultBase<T>['paginationProps'] & {
pagesCount: number;

@@ -124,0 +124,0 @@ };

@@ -1,2 +0,2 @@

import { CollectionOptions, CollectionSyncResult } from './interfaces';
export declare function useCollection<T>(allItems: ReadonlyArray<T>, options: CollectionOptions<T>): CollectionSyncResult<T>;
import { CollectionOptions, UseCollectionResult } from './interfaces';
export declare function useCollection<T>(allItems: ReadonlyArray<T>, options: CollectionOptions<T>): UseCollectionResult<T>;
import { Dispatch, Reducer } from 'react';
import { CollectionActions, CollectionOptions, CollectionState, SortingState, CollectionSyncResult, CollectionRef, Query } from './interfaces';
import { CollectionActions, CollectionOptions, CollectionState, SortingState, UseCollectionResult, CollectionRef, Query } from './interfaces';
interface SelectionAction<T> {

@@ -34,3 +34,3 @@ type: 'selection';

allItems: ReadonlyArray<T>;
}): Pick<CollectionSyncResult<T>, 'collectionProps' | 'filterProps' | 'paginationProps' | 'propertyFilterProps'>;
}): Pick<UseCollectionResult<T>, 'collectionProps' | 'filterProps' | 'paginationProps' | 'propertyFilterProps'>;
export {};
export { useCollection } from './use-collection.js';
export { UseCollectionResult, CollectionRef } from './interfaces';

@@ -83,3 +83,3 @@ import * as React from 'react';

}
interface CollectionBaseResult<T> {
interface UseCollectionResultBase<T> {
items: ReadonlyArray<T>;

@@ -119,5 +119,5 @@ actions: CollectionActions<T>;

}
export interface CollectionSyncResult<T> extends CollectionBaseResult<T> {
export interface UseCollectionResult<T> extends UseCollectionResultBase<T> {
filteredItemsCount: number | undefined;
paginationProps: CollectionBaseResult<T>['paginationProps'] & {
paginationProps: UseCollectionResultBase<T>['paginationProps'] & {
pagesCount: number;

@@ -124,0 +124,0 @@ };

@@ -1,2 +0,2 @@

import { CollectionOptions, CollectionSyncResult } from './interfaces';
export declare function useCollection<T>(allItems: ReadonlyArray<T>, options: CollectionOptions<T>): CollectionSyncResult<T>;
import { CollectionOptions, UseCollectionResult } from './interfaces';
export declare function useCollection<T>(allItems: ReadonlyArray<T>, options: CollectionOptions<T>): UseCollectionResult<T>;
import { Dispatch, Reducer } from 'react';
import { CollectionActions, CollectionOptions, CollectionState, SortingState, CollectionSyncResult, CollectionRef, Query } from './interfaces';
import { CollectionActions, CollectionOptions, CollectionState, SortingState, UseCollectionResult, CollectionRef, Query } from './interfaces';
interface SelectionAction<T> {

@@ -34,3 +34,3 @@ type: 'selection';

allItems: ReadonlyArray<T>;
}): Pick<CollectionSyncResult<T>, 'collectionProps' | 'filterProps' | 'paginationProps' | 'propertyFilterProps'>;
}): Pick<UseCollectionResult<T>, 'collectionProps' | 'filterProps' | 'paginationProps' | 'propertyFilterProps'>;
export {};
{
"name": "@awsui/collection-hooks",
"version": "1.0.13",
"version": "1.0.14",
"type": "module",

@@ -5,0 +5,0 @@ "main": "./dist/cjs/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