@awsui/collection-hooks
Advanced tools
Comparing version 1.0.37 to 1.0.38
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" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
79049
1463