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.37 to 1.0.38

2

dist/cjs/index.d.ts
export { useCollection } from './use-collection.js';
export { CollectionRef, FilteringOptions, UseCollectionOptions, UseCollectionResult, PropertyFilterOperator, PropertyFilterOperatorExtended, PropertyFilterOperatorMatch, PropertyFilterOperation, PropertyFilterToken, PropertyFilterQuery, PropertyFilterProperty, PropertyFilterOption, } from './interfaces';
export { CollectionRef, FilteringOptions, PropertyFilterOperation, PropertyFilterOperator, PropertyFilterOperatorExtended, PropertyFilterOperatorForm, PropertyFilterOperatorFormat, PropertyFilterOperatorFormProps, PropertyFilterOperatorMatch, PropertyFilterOption, PropertyFilterProperty, PropertyFilterQuery, PropertyFilterToken, UseCollectionOptions, UseCollectionResult, } from './interfaces';

@@ -108,2 +108,4 @@ import * as React from 'react';

match?: PropertyFilterOperatorMatch<TokenValue>;
form?: PropertyFilterOperatorForm<TokenValue>;
format?: PropertyFilterOperatorFormat<TokenValue>;
}

@@ -113,2 +115,10 @@ export declare type PropertyFilterOperatorMatch<TokenValue> = PropertyFilterOperatorMatchByType | PropertyFilterOperatorMatchCustom<TokenValue>;

export declare type PropertyFilterOperatorMatchCustom<TokenValue> = (itemValue: unknown, tokenValue: TokenValue) => boolean;
export interface PropertyFilterOperatorFormProps<TokenValue> {
value: null | TokenValue;
onChange: (value: null | TokenValue) => void;
filter: string;
operator: PropertyFilterOperator;
}
export declare type PropertyFilterOperatorForm<TokenValue> = React.FC<PropertyFilterOperatorFormProps<TokenValue>>;
export declare type PropertyFilterOperatorFormat<TokenValue> = (value: TokenValue) => string;
export declare type PropertyFilterOperation = 'and' | 'or';

@@ -115,0 +125,0 @@ export interface PropertyFilterToken {

export { useCollection } from './use-collection.js';
export { CollectionRef, FilteringOptions, UseCollectionOptions, UseCollectionResult, PropertyFilterOperator, PropertyFilterOperatorExtended, PropertyFilterOperatorMatch, PropertyFilterOperation, PropertyFilterToken, PropertyFilterQuery, PropertyFilterProperty, PropertyFilterOption, } from './interfaces';
export { CollectionRef, FilteringOptions, PropertyFilterOperation, PropertyFilterOperator, PropertyFilterOperatorExtended, PropertyFilterOperatorForm, PropertyFilterOperatorFormat, PropertyFilterOperatorFormProps, PropertyFilterOperatorMatch, PropertyFilterOption, PropertyFilterProperty, PropertyFilterQuery, PropertyFilterToken, UseCollectionOptions, UseCollectionResult, } from './interfaces';

@@ -108,2 +108,4 @@ import * as React from 'react';

match?: PropertyFilterOperatorMatch<TokenValue>;
form?: PropertyFilterOperatorForm<TokenValue>;
format?: PropertyFilterOperatorFormat<TokenValue>;
}

@@ -113,2 +115,10 @@ export declare type PropertyFilterOperatorMatch<TokenValue> = PropertyFilterOperatorMatchByType | PropertyFilterOperatorMatchCustom<TokenValue>;

export declare type PropertyFilterOperatorMatchCustom<TokenValue> = (itemValue: unknown, tokenValue: TokenValue) => boolean;
export interface PropertyFilterOperatorFormProps<TokenValue> {
value: null | TokenValue;
onChange: (value: null | TokenValue) => void;
filter: string;
operator: PropertyFilterOperator;
}
export declare type PropertyFilterOperatorForm<TokenValue> = React.FC<PropertyFilterOperatorFormProps<TokenValue>>;
export declare type PropertyFilterOperatorFormat<TokenValue> = (value: TokenValue) => string;
export declare type PropertyFilterOperation = 'and' | 'or';

@@ -115,0 +125,0 @@ export interface PropertyFilterToken {

{
"bundleDependencies": false,
"commit": "5726a4d",
"commit": "7fa4874",
"deprecated": false,

@@ -50,4 +50,4 @@ "exports": {

"type": "module",
"version": "1.0.37",
"version": "1.0.38",
"license": "Apache-2.0"
}
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