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

@semcore/dropdown

Package Overview
Dependencies
Maintainers
1
Versions
312
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@semcore/dropdown - npm Package Compare versions

Comparing version 2.2.1 to 2.2.2

6

CHANGELOG.md

@@ -5,2 +5,8 @@ # Changelog

## [2.2.2] - 2021-06-08
### Fixed
- Fix TS type
## [2.2.1] - 2021-05-07

@@ -7,0 +13,0 @@

23

lib/types/index.d.ts
import { ComponentProps } from 'react';
import { CProps, ReturnEl } from '@semcore/core';
import Popper, { IPopperContext, IPopperProps, IPopperHandlers } from '@semcore/popper';
import Popper, {
IPopperContext,
IPopperProps,
IPopperHandlers,
IPopperGetterContext,
} from '@semcore/popper';

@@ -21,13 +26,13 @@ export interface IDropdownProps extends IPopperProps {

export interface IDropdownContext extends IPopperContext {
}
export interface IDropdownContext extends IPopperContext {}
export interface IDropdownHandlers extends IPopperHandlers {
}
export interface IDropdownHandlers extends IPopperHandlers {}
declare const Dropdown: ((props: CProps<IDropdownProps, IDropdownContext, IDropdownHandlers>) => ReturnEl) & {
Trigger: <T>(props: ComponentProps<typeof Popper.Trigger> & T) => ReturnEl;
Popper: <T>(props: ComponentProps<typeof Popper.Popper> & T) => ReturnEl;
declare const Dropdown: (<T>(
props: CProps<IDropdownProps & T, IDropdownContext, IDropdownHandlers>,
) => ReturnEl) & {
Trigger: typeof Popper.Trigger
Popper: typeof Popper.Popper
};
export default Dropdown;
export default Dropdown;
{
"name": "@semcore/dropdown",
"description": "SEMRush Dropdown Component",
"version": "2.2.1",
"version": "2.2.2",
"main": "lib/cjs/index.js",

@@ -6,0 +6,0 @@ "module": "lib/es6/index.js",

import { ComponentProps } from 'react';
import { CProps, ReturnEl } from '@semcore/core';
import Popper, { IPopperContext, IPopperProps, IPopperHandlers } from '@semcore/popper';
import Popper, {
IPopperContext,
IPopperProps,
IPopperHandlers,
IPopperGetterContext,
} from '@semcore/popper';

@@ -21,13 +26,13 @@ export interface IDropdownProps extends IPopperProps {

export interface IDropdownContext extends IPopperContext {
}
export interface IDropdownContext extends IPopperContext {}
export interface IDropdownHandlers extends IPopperHandlers {
}
export interface IDropdownHandlers extends IPopperHandlers {}
declare const Dropdown: ((props: CProps<IDropdownProps, IDropdownContext, IDropdownHandlers>) => ReturnEl) & {
Trigger: <T>(props: ComponentProps<typeof Popper.Trigger> & T) => ReturnEl;
Popper: <T>(props: ComponentProps<typeof Popper.Popper> & T) => ReturnEl;
declare const Dropdown: (<T>(
props: CProps<IDropdownProps & T, IDropdownContext, IDropdownHandlers>,
) => ReturnEl) & {
Trigger: typeof Popper.Trigger
Popper: typeof Popper.Popper
};
export default Dropdown;
export default Dropdown;
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