Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@highlight-ui/dropdown-menu

Package Overview
Dependencies
Maintainers
4
Versions
154
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@highlight-ui/dropdown-menu - npm Package Compare versions

Comparing version 1.3.1 to 2.0.0

2

dist/cjs/index.d.ts
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';

2

dist/cjs/src/DropdownMenuHeader/DropdownMenuHeader.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc