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

@konturio/ui-kit

Package Overview
Dependencies
Maintainers
2
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@konturio/ui-kit - npm Package Compare versions

Comparing version 3.0.0-alpha.67 to 3.0.0-alpha.68

4

package.json
{
"name": "@konturio/ui-kit",
"version": "3.0.0-alpha.67",
"version": "3.0.0-alpha.68",
"repository": {

@@ -32,3 +32,3 @@ "type": "git",

},
"gitHead": "6fbb7e874859cbb727f2ca08a6618663d524f1e3"
"gitHead": "425d6654346f95eb8db04360e4ebbd14398919ee"
}

@@ -15,3 +15,3 @@ var __rest = (this && this.__rest) || function (s, e) {

import { AutocompleteButton } from './components/AutocompleteButton';
import { useCombobox } from 'downshift';
import { useCombobox, UseComboboxStateChangeTypes } from 'downshift';
import { AutocompleteItem } from './components/AutocompleteItem';

@@ -53,3 +53,9 @@ import cn from 'clsx';

setSelectedItem(defaultSelectedItem || null);
}, [setSelectedItem, defaultSelectedItem]);
if (onChange && typeof onChange === 'function') {
onChange({ selectedItem: defaultSelectedItem || null, type: UseComboboxStateChangeTypes.FunctionReset });
}
if (onSelect && typeof onSelect === 'function') {
onSelect(defaultSelectedItem || null);
}
}, [setSelectedItem, defaultSelectedItem, onChange, onSelect]);
const { isOpen, getToggleButtonProps, getLabelProps, getMenuProps, getComboboxProps, getInputProps, highlightedIndex, getItemProps, } = useCombobox({

@@ -56,0 +62,0 @@ items: filteredItems,

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