@lendi-ui/auto-complete
Advanced tools
Comparing version 5.2.1 to 5.2.2
## [5.1.0] 2020-03-17 [FUNNEL-1124]( | ||
## 5.2.2 | ||
### Patch Changes | ||
- 0f4cc643: fixed Size type problem | ||
- Updated dependencies [0f4cc643] | ||
- @lendi-ui/icon@9.7.3 | ||
- @lendi-ui/typography@5.1.2 | ||
## 5.2.1 | ||
@@ -4,0 +13,0 @@ |
@@ -166,14 +166,14 @@ 'use strict'; | ||
var { | ||
size | ||
AutoCompleteSize | ||
} = _ref2; | ||
return iconBySizeMixin(size); | ||
return iconBySizeMixin(AutoCompleteSize); | ||
}); | ||
var CloseIcon = styled__default['default'](icon.Close)(_templateObject10(), (_ref3) => { | ||
var { | ||
size | ||
AutoCompleteSize | ||
} = _ref3; | ||
return iconBySizeMixin(size); | ||
return iconBySizeMixin(AutoCompleteSize); | ||
}); | ||
var iconBySizeMixin = size => breakpoint.map(size, val => { | ||
var iconBySizeMixin = AutoCompleteSize => breakpoint.map(AutoCompleteSize, val => { | ||
switch (val) { | ||
@@ -180,0 +180,0 @@ case 'sm': |
@@ -120,8 +120,8 @@ "use strict"; | ||
}), AutoCompleteWrapper = styled__default.default.div(_templateObject6(), utils.normalise), AfterIconWrapper = styled__default.default.span(_templateObject7(), spacing.p("sm")), CloseWrapper = styled__default.default.span(_templateObject8()), SpinnerWrapper = styled__default.default(Spinner__default.default)(_templateObject9(), _ref2 => { | ||
var {size: size} = _ref2; | ||
return iconBySizeMixin(size); | ||
var {AutoCompleteSize: AutoCompleteSize} = _ref2; | ||
return iconBySizeMixin(AutoCompleteSize); | ||
}), CloseIcon = styled__default.default(icon.Close)(_templateObject10(), _ref3 => { | ||
var {size: size} = _ref3; | ||
return iconBySizeMixin(size); | ||
}), iconBySizeMixin = size => breakpoint.map(size, val => { | ||
var {AutoCompleteSize: AutoCompleteSize} = _ref3; | ||
return iconBySizeMixin(AutoCompleteSize); | ||
}), iconBySizeMixin = AutoCompleteSize => breakpoint.map(AutoCompleteSize, val => { | ||
switch (val) { | ||
@@ -128,0 +128,0 @@ case "sm": |
@@ -157,14 +157,14 @@ import { Component, createElement, createRef, cloneElement } from 'react'; | ||
var { | ||
size | ||
AutoCompleteSize | ||
} = _ref2; | ||
return iconBySizeMixin(size); | ||
return iconBySizeMixin(AutoCompleteSize); | ||
}); | ||
var CloseIcon = styled(Close)(_templateObject10(), (_ref3) => { | ||
var { | ||
size | ||
AutoCompleteSize | ||
} = _ref3; | ||
return iconBySizeMixin(size); | ||
return iconBySizeMixin(AutoCompleteSize); | ||
}); | ||
var iconBySizeMixin = size => map(size, val => { | ||
var iconBySizeMixin = AutoCompleteSize => map(AutoCompleteSize, val => { | ||
switch (val) { | ||
@@ -171,0 +171,0 @@ case 'sm': |
@@ -6,3 +6,3 @@ /// <reference types="react" /> | ||
declare type SizeVariant = 'lg' | 'md' | 'sm'; | ||
export declare type Size = BreakpointValue<SizeVariant> | BreakpointValueMap<SizeVariant>; | ||
export declare type AutoCompleteSize = BreakpointValue<SizeVariant> | BreakpointValueMap<SizeVariant>; | ||
export declare type AutoCompleteValue = string | number; | ||
@@ -28,3 +28,3 @@ export interface DataSourceItem { | ||
placeholder?: string; | ||
size?: Size; | ||
size?: AutoCompleteSize; | ||
} | ||
@@ -31,0 +31,0 @@ export interface AutoCompleteStatefulProps extends AutoCompleteBaseProps { |
{ | ||
"name": "@lendi-ui/auto-complete", | ||
"version": "5.2.1", | ||
"version": "5.2.2", | ||
"license": "ISC", | ||
@@ -22,7 +22,7 @@ "source": "src/index.tsx", | ||
"@lendi-ui/depth": "^4.1.1", | ||
"@lendi-ui/icon": "^9.7.1", | ||
"@lendi-ui/icon": "^9.7.3", | ||
"@lendi-ui/spacing": "^7.1.1", | ||
"@lendi-ui/spinner": "^4.1.1", | ||
"@lendi-ui/text-input": "^4.2.1", | ||
"@lendi-ui/typography": "^5.1.1", | ||
"@lendi-ui/typography": "^5.1.2", | ||
"@lendi-ui/utils": "^5.1.1", | ||
@@ -33,3 +33,3 @@ "@types/lodash": "^4.14.144", | ||
"devDependencies": { | ||
"@lendi-ui/field": "^3.1.1", | ||
"@lendi-ui/field": "^3.1.2", | ||
"@lendi-ui/theme": "*", | ||
@@ -36,0 +36,0 @@ "@types/react": "^16.4.8", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Unpublished package
Supply chain riskPackage version was not found on the registry. It may exist on a different registry and need to be configured to pull from that registry.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Unpublished package
Supply chain riskPackage version was not found on the registry. It may exist on a different registry and need to be configured to pull from that registry.
Found 1 instance in 1 package
101887
Updated@lendi-ui/icon@^9.7.3
Updated@lendi-ui/typography@^5.1.2