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

svelte-multiselect

Package Overview
Dependencies
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svelte-multiselect - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

4

MultiSelect.svelte.d.ts

@@ -8,4 +8,4 @@ import { SvelteComponentTyped } from "svelte";

placeholder?: string | undefined;
options: (string | number)[];
disabledOptions?: (string | number)[] | undefined;
options: string[];
disabledOptions?: string[] | undefined;
input?: HTMLInputElement | null | undefined;

@@ -12,0 +12,0 @@ noOptionsMsg?: string | undefined;

@@ -8,3 +8,3 @@ {

"license": "MIT",
"version": "1.2.0",
"version": "1.2.1",
"type": "module",

@@ -11,0 +11,0 @@ "svelte": "MultiSelect.svelte",

@@ -80,3 +80,3 @@ <div class="maybe-hide">

| :---------------- | :---------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `options` | [required] | Array of strings (or numbers) that will be listed in the dropdown selection. |
| `options` | [required] | Array of strings that will be listed in the dropdown selection. |
| `maxSelect` | `null` | `null` or positive integer to allow users to select as many as they like or a maximum number of options, respectively. |

@@ -86,3 +86,3 @@ | `selected` | `[]` (or `''` if `maxSelect === 1`) | Array of currently/pre-selected options when binding/passing as props respectively. |

| `placeholder` | `''` | String shown when no option is selected. |
| `disabledOptions` | `[]` | Array of strings (or numbers) that will be disabled in the dropdown selection. |
| `disabledOptions` | `[]` | Array of strings that will be disabled in the dropdown selection. |
| `required` | `false` | Prevents submission in an HTML form when true. |

@@ -153,3 +153,3 @@ | `input` | `undefined` | Handle to the DOM node storing the currently selected options in JSON format as its `value` attribute. |

```svelte
<MultiSelect --sms-options-bg="var(--my-css-var, white)" />
<MultiSelect --sms-options-bg="white" />
```

@@ -184,3 +184,3 @@

You can alternatively style every part of this component with more fine-grained control by using the following `:global()` CSS selectors. **Note**: Overriding properties that the component already sets internally requires the `!important` keyword.
You can alternatively style every part of this component with more fine-grained control by using the following `:global()` CSS selectors.

@@ -187,0 +187,0 @@ ```css

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