@launchpad-ui/dropdown
Advanced tools
Comparing version 0.6.5 to 0.6.6
/// <reference types="react" /> | ||
import type { PopoverProps } from '@launchpad-ui/popover'; | ||
declare type DropdownState = { | ||
type DropdownState = { | ||
isOpen?: boolean; | ||
}; | ||
declare type DropdownProps<T extends string | object | number> = PopoverProps & { | ||
type DropdownProps<T extends string | object | number> = PopoverProps & { | ||
onSelect?: (item: T, stateChanges: DropdownState) => void; | ||
@@ -8,0 +8,0 @@ onStateChange?: (state: DropdownState) => void; |
/// <reference types="react" /> | ||
import type { ButtonProps } from '@launchpad-ui/button'; | ||
declare type DropdownButtonProps = ButtonProps & { | ||
type DropdownButtonProps = ButtonProps & { | ||
hideCaret?: boolean; | ||
@@ -5,0 +5,0 @@ }; |
{ | ||
"name": "@launchpad-ui/dropdown", | ||
"version": "0.6.5", | ||
"version": "0.6.6", | ||
"status": "beta", | ||
@@ -28,7 +28,7 @@ "publishConfig": { | ||
"dependencies": { | ||
"classix": "^2.1.13", | ||
"@launchpad-ui/button": "~0.7.10", | ||
"@launchpad-ui/icons": "~0.6.3", | ||
"@launchpad-ui/popover": "~0.8.21", | ||
"@launchpad-ui/tokens": "~0.3.1", | ||
"classix": "^2.1.13" | ||
"@launchpad-ui/popover": "~0.8.22", | ||
"@launchpad-ui/tokens": "~0.3.1" | ||
}, | ||
@@ -35,0 +35,0 @@ "peerDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
25847