@highlight-ui/dropdown-menu
Advanced tools
Comparing version 1.3.1 to 2.0.0
export { default as DropdownMenu } from './src/DropdownMenu/DropdownMenu'; | ||
export type { DropdownMenuProps } from './src/DropdownMenu/DropdownMenu'; | ||
export { DropdownMenuHeader } from './src/DropdownMenuHeader/DropdownMenuHeader'; | ||
export type { DropdownMenuHeaderProps } from './src/DropdownMenuHeader/DropdownMenuHeader'; | ||
export { DropdownMenuItem } from './src/DropdownMenuItem/DropdownMenuItem'; | ||
@@ -6,0 +4,0 @@ export type { DropdownMenuItemProps } from './src/DropdownMenuItem/DropdownMenuItem'; |
@@ -5,7 +5,9 @@ import * as React from 'react'; | ||
className?: string; | ||
title: string; | ||
}>; | ||
export declare const DropdownMenuHeader: React.ForwardRefExoticComponent<{ | ||
className?: string | undefined; | ||
title: string; | ||
} & { | ||
children?: React.ReactNode; | ||
} & React.RefAttributes<HTMLDivElement>>; |
@@ -12,2 +12,3 @@ import * as React from 'react'; | ||
selected?: boolean; | ||
disabled?: boolean; | ||
}>> & React.ComponentPropsWithoutRef<'a'> & React.ComponentPropsWithoutRef<'button'>; | ||
@@ -14,0 +15,0 @@ export declare class DropdownMenuItem extends React.PureComponent<DropdownMenuItemProps> { |
@@ -11,2 +11,4 @@ import * as React from 'react'; | ||
preventToCloseOnClick?: boolean; | ||
/** Gives this dropdown a title */ | ||
title?: string; | ||
} & React.ComponentPropsWithoutRef<'div'>; | ||
@@ -13,0 +15,0 @@ export declare class DropdownMenuList extends React.Component<DropdownMenuListProps> { |
export { default as DropdownMenu } from './src/DropdownMenu/DropdownMenu'; | ||
export type { DropdownMenuProps } from './src/DropdownMenu/DropdownMenu'; | ||
export { DropdownMenuHeader } from './src/DropdownMenuHeader/DropdownMenuHeader'; | ||
export type { DropdownMenuHeaderProps } from './src/DropdownMenuHeader/DropdownMenuHeader'; | ||
export { DropdownMenuItem } from './src/DropdownMenuItem/DropdownMenuItem'; | ||
@@ -6,0 +4,0 @@ export type { DropdownMenuItemProps } from './src/DropdownMenuItem/DropdownMenuItem'; |
@@ -5,7 +5,9 @@ import * as React from 'react'; | ||
className?: string; | ||
title: string; | ||
}>; | ||
export declare const DropdownMenuHeader: React.ForwardRefExoticComponent<{ | ||
className?: string | undefined; | ||
title: string; | ||
} & { | ||
children?: React.ReactNode; | ||
} & React.RefAttributes<HTMLDivElement>>; |
@@ -12,2 +12,3 @@ import * as React from 'react'; | ||
selected?: boolean; | ||
disabled?: boolean; | ||
}>> & React.ComponentPropsWithoutRef<'a'> & React.ComponentPropsWithoutRef<'button'>; | ||
@@ -14,0 +15,0 @@ export declare class DropdownMenuItem extends React.PureComponent<DropdownMenuItemProps> { |
@@ -11,2 +11,4 @@ import * as React from 'react'; | ||
preventToCloseOnClick?: boolean; | ||
/** Gives this dropdown a title */ | ||
title?: string; | ||
} & React.ComponentPropsWithoutRef<'div'>; | ||
@@ -13,0 +15,0 @@ export declare class DropdownMenuList extends React.Component<DropdownMenuListProps> { |
{ | ||
"name": "@highlight-ui/dropdown-menu", | ||
"version": "1.3.1", | ||
"version": "2.0.0", | ||
"author": "Personio GmbH", | ||
@@ -26,7 +26,7 @@ "main": "dist/cjs/index.js", | ||
"devDependencies": { | ||
"@highlight-ui/button": "^7.0.4", | ||
"@highlight-ui/button": "^7.0.5", | ||
"@highlight-ui/configs-base-jest": "^2.0.1", | ||
"@highlight-ui/configs-base-tsconfig": "^1.1.1", | ||
"@highlight-ui/configs-scripts": "^1.0.1", | ||
"@highlight-ui/theme": "^4.2.1", | ||
"@highlight-ui/theme": "^5.0.0", | ||
"@highlight-ui/typography": "^3.0.14", | ||
@@ -47,3 +47,3 @@ "@storybook/react": "^6.2.7", | ||
"dependencies": { | ||
"@highlight-ui/icon": "^3.0.14", | ||
"@highlight-ui/typography": "^3.0.15", | ||
"@highlight-ui/utils-commons": "^1.3.7", | ||
@@ -56,3 +56,3 @@ "lodash": "^4.17.21" | ||
}, | ||
"gitHead": "8863c364123293c7c7123244908c0c8f2f1eb701" | ||
"gitHead": "7984103404adf5407783e9d34c290c0c2d73da7d" | ||
} |
@@ -12,7 +12,12 @@ # `@highlight-ui/dropdown-menu` | ||
In your TypeScript file: | ||
```ts | ||
import { DropdownMenu, DropdownMenuProps } from '@highlight-ui/dropdown-menu'; | ||
import { DropdownMenu, DropdownMenuProps, | ||
DropdownMenuItem, DropdownMenuItemProps | ||
DropdownMenuList, DropdownMenuListProps | ||
DropdownMenuToggle, DropdownMenuToggleProps } from '@highlight-ui/dropdown-menu'; | ||
``` | ||
In your (S)CSS file: | ||
```scss | ||
@@ -19,0 +24,0 @@ @import url('@highlight-ui/dropdown-menu'); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
1377372
30
154
2
3
2
6
14719
+ Added@highlight-ui/typography@3.0.30(transitive)
- Removed@highlight-ui/icon@^3.0.14
- Removed@highlight-ui/icon@3.0.30(transitive)