@awsui/collection-hooks
Advanced tools
Comparing version 1.0.34 to 1.0.35
import * as React from 'react'; | ||
interface CustomEvent<T> { | ||
interface CustomEventLike<T> { | ||
detail: T; | ||
@@ -66,7 +66,7 @@ } | ||
empty?: React.ReactNode; | ||
onSortingChange?(event: CustomEvent<SortingState<T>>): void; | ||
onSortingChange?(event: CustomEventLike<SortingState<T>>): void; | ||
sortingColumn?: SortingColumn<T>; | ||
sortingDescending?: boolean; | ||
selectedItems?: ReadonlyArray<T>; | ||
onSelectionChange?(event: CustomEvent<SelectionChangeDetail<T>>): void; | ||
onSelectionChange?(event: CustomEventLike<SelectionChangeDetail<T>>): void; | ||
trackBy?: string | ((item: T) => string); | ||
@@ -78,3 +78,3 @@ ref: React.RefObject<CollectionRef>; | ||
filteringText: string; | ||
onChange(event: CustomEvent<{ | ||
onChange(event: CustomEventLike<{ | ||
filteringText: string; | ||
@@ -85,3 +85,3 @@ }>): void; | ||
query: PropertyFilterQuery; | ||
onChange(event: CustomEvent<PropertyFilterQuery>): void; | ||
onChange(event: CustomEventLike<PropertyFilterQuery>): void; | ||
filteringProperties: readonly P[]; | ||
@@ -93,3 +93,3 @@ filteringOptions: readonly PropertyFilterOption[]; | ||
currentPageIndex: number; | ||
onChange(event: CustomEvent<{ | ||
onChange(event: CustomEventLike<{ | ||
currentPageIndex: number; | ||
@@ -96,0 +96,0 @@ }>): void; |
import * as React from 'react'; | ||
interface CustomEvent<T> { | ||
interface CustomEventLike<T> { | ||
detail: T; | ||
@@ -66,7 +66,7 @@ } | ||
empty?: React.ReactNode; | ||
onSortingChange?(event: CustomEvent<SortingState<T>>): void; | ||
onSortingChange?(event: CustomEventLike<SortingState<T>>): void; | ||
sortingColumn?: SortingColumn<T>; | ||
sortingDescending?: boolean; | ||
selectedItems?: ReadonlyArray<T>; | ||
onSelectionChange?(event: CustomEvent<SelectionChangeDetail<T>>): void; | ||
onSelectionChange?(event: CustomEventLike<SelectionChangeDetail<T>>): void; | ||
trackBy?: string | ((item: T) => string); | ||
@@ -78,3 +78,3 @@ ref: React.RefObject<CollectionRef>; | ||
filteringText: string; | ||
onChange(event: CustomEvent<{ | ||
onChange(event: CustomEventLike<{ | ||
filteringText: string; | ||
@@ -85,3 +85,3 @@ }>): void; | ||
query: PropertyFilterQuery; | ||
onChange(event: CustomEvent<PropertyFilterQuery>): void; | ||
onChange(event: CustomEventLike<PropertyFilterQuery>): void; | ||
filteringProperties: readonly P[]; | ||
@@ -93,3 +93,3 @@ filteringOptions: readonly PropertyFilterOption[]; | ||
currentPageIndex: number; | ||
onChange(event: CustomEvent<{ | ||
onChange(event: CustomEventLike<{ | ||
currentPageIndex: number; | ||
@@ -96,0 +96,0 @@ }>): void; |
{ | ||
"bundleDependencies": false, | ||
"commit": "ad5bd07", | ||
"commit": "9c34625", | ||
"deprecated": false, | ||
@@ -50,4 +50,4 @@ "exports": { | ||
"type": "module", | ||
"version": "1.0.34", | ||
"version": "1.0.35", | ||
"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
69493