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.47 to 3.0.0-alpha.48

4

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

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

},
"gitHead": "86187bb4d4ee85cd6865a626a0a2bf4692970677"
"gitHead": "ca65f71ce06ac3cca9d1a378ffe5a056c9bc676d"
}
import React from 'react';
import { SelectButtonClasses } from './components/SelectButton';
import { UseSelectStateChange } from 'downshift';
import { SelectItemType } from './types';

@@ -17,4 +18,5 @@ import { ForwardRefComponent } from '../utils/component-helpers/polymorphic';

};
onChange: (changes: UseSelectStateChange<SelectItemType>) => void;
}
export declare const Select: ForwardRefComponent<"div", SelectProps>;
//# sourceMappingURL=index.d.ts.map

@@ -20,6 +20,7 @@ var __rest = (this && this.__rest) || function (s, e) {

export const Select = forwardRef((_a, ref) => {
var { children, items, itemToString, label, placeholder, classes, className, disabled, error, type = 'classic' } = _a, props = __rest(_a, ["children", "items", "itemToString", "label", "placeholder", "classes", "className", "disabled", "error", "type"]);
var { children, items, itemToString, label, placeholder, classes, className, disabled, error, type = 'classic', onChange: onSelectedItemChange } = _a, props = __rest(_a, ["children", "items", "itemToString", "label", "placeholder", "classes", "className", "disabled", "error", "type", "onChange"]);
const { isOpen, selectedItem, getToggleButtonProps, getLabelProps, getMenuProps, highlightedIndex, getItemProps } = useSelect({
items,
itemToString,
onSelectedItemChange,
});

@@ -26,0 +27,0 @@ return (_jsxs("div", Object.assign({ ref: ref, className: cn({

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