Socket
Socket
Sign inDemoInstall

@elvia/elvis-dropdown

Package Overview
Dependencies
Maintainers
7
Versions
100
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 9.3.2 to 9.3.3

10

CHANGELOG.json

@@ -5,2 +5,12 @@ {

{
"date": "07.02.24",
"version": "9.3.3",
"changelog": [
{
"type": "bug_fix",
"changes": ["Fixed the <code>ariaLabel</code> prop not working for web components."]
}
]
},
{
"date": "12.01.24",

@@ -7,0 +17,0 @@ "version": "9.3.2",

28

dist/main/web-component.js

@@ -6,6 +6,6 @@ // components/elvis-dropdown/src/react/config.ts

static get observedAttributes() {
return ["items", "isfullwidth", "isrequired", "issearchable", "alloptionsselectedlabel", "erroroptions", "label", "menuposition", "placeholder", "placeholdericon", "value", "size", "isdisabled", "ismulti", "hasselectalloption", "selectalloption", "nooptionsmessage", "hasloadmoreitemsbutton", "isloadingmoreitems", "labeltransformation", "classname", "inlinestyle", "iscompact"];
return ["items", "isfullwidth", "isrequired", "issearchable", "alloptionsselectedlabel", "erroroptions", "label", "menuposition", "placeholder", "placeholdericon", "value", "size", "isdisabled", "ismulti", "arialabel", "hasselectalloption", "selectalloption", "nooptionsmessage", "hasloadmoreitemsbutton", "isloadingmoreitems", "labeltransformation", "classname", "inlinestyle"];
}
static getComponentData() {
return { "name": "Dropdown", "attributes": [{ "name": "items", "type": "object" }, { "name": "isFullWidth", "type": "boolean" }, { "name": "isRequired", "type": "boolean" }, { "name": "isSearchable", "type": "boolean" }, { "name": "allOptionsSelectedLabel", "type": "string" }, { "name": "errorOptions", "type": "object" }, { "name": "label", "type": "string" }, { "name": "menuPosition", "type": "string" }, { "name": "placeholder", "type": "string" }, { "name": "placeholderIcon", "type": "string" }, { "name": "value", "type": "string" }, { "name": "size", "type": "string" }, { "name": "isDisabled", "type": "boolean" }, { "name": "isMulti", "type": "boolean" }, { "name": "hasSelectAllOption", "type": "boolean" }, { "name": "selectAllOption", "type": "string" }, { "name": "noOptionsMessage", "type": "string" }, { "name": "hasLoadMoreItemsButton", "type": "boolean" }, { "name": "isLoadingMoreItems", "type": "boolean" }, { "name": "labelTransformation", "type": "function" }, { "name": "className", "type": "string" }, { "name": "inlineStyle", "type": "object" }, { "name": "isCompact", "type": "boolean", "deprecatedDetails": { "version": "7.0.0", "newProp": "size", "isDirectReplacement": "false" } }] };
return { "name": "Dropdown", "attributes": [{ "name": "items", "type": "object" }, { "name": "isFullWidth", "type": "boolean" }, { "name": "isRequired", "type": "boolean" }, { "name": "isSearchable", "type": "boolean" }, { "name": "allOptionsSelectedLabel", "type": "string" }, { "name": "errorOptions", "type": "object" }, { "name": "label", "type": "string" }, { "name": "menuPosition", "type": "string" }, { "name": "placeholder", "type": "string" }, { "name": "placeholderIcon", "type": "string" }, { "name": "value", "type": "string" }, { "name": "size", "type": "string" }, { "name": "isDisabled", "type": "boolean" }, { "name": "isMulti", "type": "boolean" }, { "name": "ariaLabel", "type": "string" }, { "name": "hasSelectAllOption", "type": "boolean" }, { "name": "selectAllOption", "type": "string" }, { "name": "noOptionsMessage", "type": "string" }, { "name": "hasLoadMoreItemsButton", "type": "boolean" }, { "name": "isLoadingMoreItems", "type": "boolean" }, { "name": "labelTransformation", "type": "function" }, { "name": "className", "type": "string" }, { "name": "inlineStyle", "type": "object" }] };
}

@@ -150,2 +150,14 @@ set items(newValue) {

}
set ariaLabel(newValue) {
super.setProps({ "arialabel": newValue });
}
get ariaLabel() {
return super.getProps()["arialabel"];
}
set arialabel(newValue) {
super.setProps({ "arialabel": newValue });
}
get arialabel() {
return super.getProps()["arialabel"];
}
set hasSelectAllOption(newValue) {

@@ -247,14 +259,2 @@ super.setProps({ "hasselectalloption": newValue });

}
set isCompact(newValue) {
super.setProps({ "iscompact": newValue });
}
get isCompact() {
return super.getProps()["iscompact"];
}
set iscompact(newValue) {
super.setProps({ "iscompact": newValue });
}
get iscompact() {
return super.getProps()["iscompact"];
}
constructor() {

@@ -261,0 +261,0 @@ super(_ElviaComponent, ReactComponent["Dropdown"]);

@@ -50,2 +50,5 @@ // components/elvis-dropdown/src/react/elvia-dropdown.tsx

}, {
name: "ariaLabel",
type: "string"
}, {
name: "hasSelectAllOption",

@@ -74,10 +77,2 @@ type: "boolean"

type: "object"
}, {
name: "isCompact",
type: "boolean",
deprecatedDetails: {
version: "7.0.0",
newProp: "size",
isDirectReplacement: false
}
}]

@@ -84,0 +79,0 @@ };

@@ -15,6 +15,2 @@ import { FormFieldSizes, BaseProps, HasValue, HasError } from '@elvia/elvis-toolbox';

placeholderIcon?: string;
/**
* @deprecated Removed in version 7.0.0. Replaced by `size`.
*/
isCompact?: boolean;
size?: FormFieldSizes;

@@ -21,0 +17,0 @@ isDisabled?: boolean;

{
"name": "@elvia/elvis-dropdown",
"version": "9.3.2",
"version": "9.3.3",
"license": "MIT",

@@ -5,0 +5,0 @@ "homepage": "https://design.elvia.io/components/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