@bynder/compact-view
Advanced tools
Comparing version 2.5.0 to 2.6.0
/// <reference types="react" /> | ||
import React from "react"; | ||
interface MetapropertyOptionType { | ||
id: string; | ||
label: string; | ||
assetCount: number; | ||
} | ||
interface MetapropertyOptionProps { | ||
metapropertyOption: MetapropertyOptionType; | ||
selectedOptionIds?: string[]; | ||
isLoading?: boolean; | ||
onAddOption: () => void; | ||
onRemoveOption: () => void; | ||
} | ||
declare function MetapropertyOptionComponent(props: MetapropertyOptionProps): JSX.Element; | ||
interface MetapropertyType { | ||
__typename: "Metaproperty"; | ||
id: string; | ||
label: string; | ||
options: MetapropertyOptionType[]; | ||
showInGridView: boolean; | ||
showInListView: boolean; | ||
} | ||
interface MetapropertyProps { | ||
metaproperty: MetapropertyType; | ||
selectedOptionIds: string[]; | ||
isLoading: boolean; | ||
onAddOption: (metapropertyOption: MetapropertyOptionType) => void; | ||
onRemoveOption: (metapropertyOption: MetapropertyOptionType) => void; | ||
} | ||
declare function MetaPropertyFilterContent(props: MetapropertyProps): JSX.Element; | ||
interface Derivatives { | ||
@@ -14,2 +43,5 @@ thumbnail?: string; | ||
isWatermarked: boolean; | ||
metaproperties?: { | ||
nodes: MetapropertyType[]; | ||
}; | ||
} | ||
@@ -79,4 +111,5 @@ interface Props { | ||
["aria-selected"]?: boolean; | ||
metaproperties?: MetapropertyType[]; | ||
} | ||
declare function Card({ alt, className, fadeIn, id, style, stacked, title, onClick, children, ...props }: CardProps): JSX.Element; | ||
declare function Card({ alt, className, fadeIn, id, style, stacked, title, onClick, children, metaproperties, ...props }: CardProps): JSX.Element; | ||
interface CardImagesProps { | ||
@@ -126,29 +159,2 @@ urls: string[]; | ||
declare function DropdownListItem({ selected, ...props }: ListItemProps): JSX.Element; | ||
interface MetapropertyOptionType { | ||
id: string; | ||
label: string; | ||
assetCount: number; | ||
} | ||
interface MetapropertyOptionProps { | ||
metapropertyOption: MetapropertyOptionType; | ||
selectedOptionIds?: string[]; | ||
isLoading?: boolean; | ||
onAddOption: () => void; | ||
onRemoveOption: () => void; | ||
} | ||
declare function MetapropertyOptionComponent(props: MetapropertyOptionProps): JSX.Element; | ||
interface MetapropertyType { | ||
__typename: "Metaproperty"; | ||
id: string; | ||
label: string; | ||
options: MetapropertyOptionType[]; | ||
} | ||
interface MetapropertyProps { | ||
metaproperty: MetapropertyType; | ||
selectedOptionIds: string[]; | ||
isLoading: boolean; | ||
onAddOption: (metapropertyOption: MetapropertyOptionType) => void; | ||
onRemoveOption: (metapropertyOption: MetapropertyOptionType) => void; | ||
} | ||
declare function MetapropertyComponent(props: MetapropertyProps): JSX.Element; | ||
interface SmartfilterType { | ||
@@ -169,3 +175,3 @@ __typename: "Smartfilter"; | ||
} | ||
declare function SmartfilterComponent(props: SmartfilterProps): JSX.Element; | ||
declare function SmartFilterContent(props: SmartfilterProps): JSX.Element; | ||
interface Props$5 { | ||
@@ -226,2 +232,2 @@ static?: React.ReactNode; | ||
declare function Spinner(props: Props$12): JSX.Element; | ||
export { AssetCard as Asset, Asset as displayAsset, AssetList, Button, Card, CardImages, CardImage, Checkbox, Chip, Dropdown, DropdownListItem, MetapropertyComponent as Metaproperty, MetapropertyType as metaproperty, MetapropertyOptionComponent as MetapropertyOption, MetapropertyOptionType as metapropertyOption, SmartfilterComponent as Smartfilter, SmartfilterType as smartfilter, HorizontalScroll, InfiniteScroll, Modal, NoResults, Oops, OverlayButton, ShadowRoot, Skeleton, Spinner }; | ||
export { AssetCard as Asset, Asset as displayAsset, AssetList, Button, Card, CardImages, CardImage, Checkbox, Chip, Dropdown, DropdownListItem, MetaPropertyFilterContent as Metaproperty, MetapropertyType as metaproperty, MetapropertyOptionComponent as MetapropertyOption, MetapropertyOptionType as metapropertyOption, SmartFilterContent as Smartfilter, SmartfilterType as smartfilter, HorizontalScroll, InfiniteScroll, Modal, NoResults, Oops, OverlayButton, ShadowRoot, Skeleton, Spinner }; |
{ | ||
"name": "@bynder/compact-view", | ||
"description": "Bynder Compact View", | ||
"version": "2.5.0", | ||
"version": "2.6.0", | ||
"author": "Bynder", | ||
@@ -6,0 +6,0 @@ "license": "UNLICENSED", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
538810
2340