Socket
Socket
Sign inDemoInstall

@elvia/elvis-dropdown

Package Overview
Dependencies
Maintainers
7
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@elvia/elvis-dropdown - npm Package Compare versions

Comparing version 7.0.2 to 7.1.0

dist/react/js/sharedTypes.d.ts

12

CHANGELOG.json

@@ -5,2 +5,14 @@ {

{
"date": "12.06.23",
"version": "7.1.0",
"changelog": [
{
"type": "bug_fix",
"changes": [
"Now exporting some types for use with web component. They are available from <code>import {} from '@elvia/elvis-dropdown';</code>."
]
}
]
},
{
"date": "01.06.23",

@@ -7,0 +19,0 @@ "version": "7.0.2",

4

dist/react/js/dropdown-input/dropdownInputStyles.d.ts

@@ -1,3 +0,1 @@

export declare const Input: import("styled-components").StyledComponent<"input", any, {
type: "text";
}, "type">;
export declare const Input: import("styled-components").StyledComponent<"input", any, {}, never>;
import { FormFieldSizes, BaseProps, HasValue, HasError } from '@elvia/elvis-toolbox';
import { DropdownItemStatus } from './statusToIconMap';
import { DropdownItem, DropdownValue, DropdownValueType } from './sharedTypes';
export { DropdownItem, DropdownValue, DropdownValueType } from './sharedTypes';
export type DropdownMenuPosition = 'top' | 'bottom' | 'auto';
export type DropdownValueType = string | number;
export type DropdownValue = DropdownValueType | DropdownValueType[] | undefined | null;
export interface DropdownItem {
value: DropdownValueType;
label: string;
icon?: string;
isDisabled?: boolean;
status?: DropdownItemStatus;
tooltip?: string;
children?: DropdownItem[];
}
export interface DropdownProps extends BaseProps, HasValue<DropdownValue>, HasError {

@@ -16,0 +6,0 @@ /**

@@ -5,3 +5,3 @@ /*

*/
export{};
export{DropdownItem,DropdownValue,DropdownValueType}from"./sharedTypes";
//# sourceMappingURL=elviaDropdown.types.js.map
import type { IconType } from '@elvia/elvis-assets-icons/dist/icons/_iconType';
import { ColorLabel } from '@elvia/elvis-colors';
export type DropdownItemStatus = 'error' | 'warning' | 'info' | 'informative';
import { DropdownItemStatus } from './sharedTypes';
type StatusToIconMap = {

@@ -5,0 +5,0 @@ [key in DropdownItemStatus]: {

{
"name": "@elvia/elvis-dropdown",
"version": "7.0.2",
"version": "7.1.0",
"main": "web_component.js",

@@ -9,2 +9,3 @@ "license": "MIT",

"web_component.js",
"web_component.d.ts",
"react.js",

@@ -11,0 +12,0 @@ "react.d.ts",

Sorry, the diff of this file is not supported yet

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