@clayui/autocomplete
Advanced tools
Comparing version 3.35.3 to 3.36.0
@@ -6,2 +6,8 @@ # Change Log | ||
# [3.36.0](https://github.com/liferay/clay/compare/v3.35.3...v3.36.0) (2021-09-23) | ||
### Features | ||
- **@clayui/autocomplete:** adds `closeOnClickOutside` API support to DropDown ([ece1061](https://github.com/liferay/clay/commit/ece1061)) | ||
## [3.35.3](https://github.com/liferay/clay/compare/v3.35.2...v3.35.3) (2021-09-09) | ||
@@ -8,0 +14,0 @@ |
@@ -0,1 +1,2 @@ | ||
import ClayDropDown from '@clayui/drop-down'; | ||
import React from 'react'; | ||
@@ -5,2 +6,3 @@ export interface IProps extends React.HTMLAttributes<HTMLDivElement> { | ||
active?: boolean; | ||
closeOnClickOutside?: React.ComponentProps<typeof ClayDropDown.Menu>['closeOnClickOutside']; | ||
onSetActive?: (val: boolean) => void; | ||
@@ -7,0 +9,0 @@ } |
@@ -25,2 +25,3 @@ "use strict"; | ||
children = _ref.children, | ||
closeOnClickOutside = _ref.closeOnClickOutside, | ||
_ref$onSetActive = _ref.onSetActive, | ||
@@ -44,2 +45,3 @@ onSetActive = _ref$onSetActive === void 0 ? function () {} : _ref$onSetActive; | ||
className: "autocomplete-dropdown-menu", | ||
closeOnClickOutside: closeOnClickOutside, | ||
onSetActive: onSetActive, | ||
@@ -46,0 +48,0 @@ ref: menuElementRef, |
{ | ||
"name": "@clayui/autocomplete", | ||
"version": "3.35.3", | ||
"version": "3.36.0", | ||
"description": "ClayAutocomplete component", | ||
@@ -29,4 +29,4 @@ "license": "BSD-3-Clause", | ||
"dependencies": { | ||
"@clayui/drop-down": "^3.35.3", | ||
"@clayui/form": "^3.35.3", | ||
"@clayui/drop-down": "^3.36.0", | ||
"@clayui/form": "^3.36.0", | ||
"@clayui/loading-indicator": "^3.32.0", | ||
@@ -42,3 +42,4 @@ "fuzzy": "^0.1.3" | ||
"extends browserslist-config-clay" | ||
] | ||
], | ||
"gitHead": "e91895f788381be22112ad3e98a755a7992ff448" | ||
} |
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
62945
739
0
Updated@clayui/drop-down@^3.36.0
Updated@clayui/form@^3.36.0