@lendi-ui/auto-complete
Advanced tools
Comparing version 5.2.3 to 5.2.4
## [5.1.0] 2020-03-17 [FUNNEL-1124]( | ||
## 5.2.4 | ||
### Patch Changes | ||
- type issue | ||
- Updated dependencies [undefined] | ||
- @lendi-ui/icon@9.7.5 | ||
- @lendi-ui/text-input@4.2.3 | ||
- @lendi-ui/typography@5.1.4 | ||
## 5.2.3 | ||
@@ -4,0 +14,0 @@ |
@@ -166,14 +166,14 @@ 'use strict'; | ||
var { | ||
AutoCompleteSize | ||
size | ||
} = _ref2; | ||
return iconBySizeMixin(AutoCompleteSize); | ||
return iconBySizeMixin(size); | ||
}); | ||
var CloseIcon = styled__default['default'](icon.Close)(_templateObject10(), (_ref3) => { | ||
var { | ||
AutoCompleteSize | ||
size | ||
} = _ref3; | ||
return iconBySizeMixin(AutoCompleteSize); | ||
return iconBySizeMixin(size); | ||
}); | ||
var iconBySizeMixin = AutoCompleteSize => breakpoint.map(AutoCompleteSize, val => { | ||
var iconBySizeMixin = size => breakpoint.map(size, 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 {AutoCompleteSize: AutoCompleteSize} = _ref2; | ||
return iconBySizeMixin(AutoCompleteSize); | ||
var {size: size} = _ref2; | ||
return iconBySizeMixin(size); | ||
}), CloseIcon = styled__default.default(icon.Close)(_templateObject10(), _ref3 => { | ||
var {AutoCompleteSize: AutoCompleteSize} = _ref3; | ||
return iconBySizeMixin(AutoCompleteSize); | ||
}), iconBySizeMixin = AutoCompleteSize => breakpoint.map(AutoCompleteSize, val => { | ||
var {size: size} = _ref3; | ||
return iconBySizeMixin(size); | ||
}), iconBySizeMixin = size => breakpoint.map(size, val => { | ||
switch (val) { | ||
@@ -128,0 +128,0 @@ case "sm": |
@@ -157,14 +157,14 @@ import { Component, createElement, createRef, cloneElement } from 'react'; | ||
var { | ||
AutoCompleteSize | ||
size | ||
} = _ref2; | ||
return iconBySizeMixin(AutoCompleteSize); | ||
return iconBySizeMixin(size); | ||
}); | ||
var CloseIcon = styled(Close)(_templateObject10(), (_ref3) => { | ||
var { | ||
AutoCompleteSize | ||
size | ||
} = _ref3; | ||
return iconBySizeMixin(AutoCompleteSize); | ||
return iconBySizeMixin(size); | ||
}); | ||
var iconBySizeMixin = AutoCompleteSize => map(AutoCompleteSize, val => { | ||
var iconBySizeMixin = size => map(size, 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 AutoCompleteSize = BreakpointValue<SizeVariant> | BreakpointValueMap<SizeVariant>; | ||
export declare type Size = BreakpointValue<SizeVariant> | BreakpointValueMap<SizeVariant>; | ||
export declare type AutoCompleteValue = string | number; | ||
@@ -28,3 +28,3 @@ export interface DataSourceItem { | ||
placeholder?: string; | ||
size?: AutoCompleteSize; | ||
size?: Size; | ||
} | ||
@@ -31,0 +31,0 @@ export interface AutoCompleteStatefulProps extends AutoCompleteBaseProps { |
{ | ||
"name": "@lendi-ui/auto-complete", | ||
"version": "5.2.3", | ||
"version": "5.2.4", | ||
"license": "ISC", | ||
@@ -22,7 +22,7 @@ "source": "src/index.tsx", | ||
"@lendi-ui/depth": "^4.1.1", | ||
"@lendi-ui/icon": "^9.7.4", | ||
"@lendi-ui/icon": "^9.7.5", | ||
"@lendi-ui/spacing": "^7.1.1", | ||
"@lendi-ui/spinner": "^4.1.1", | ||
"@lendi-ui/text-input": "^4.2.2", | ||
"@lendi-ui/typography": "^5.1.3", | ||
"@lendi-ui/text-input": "^4.2.3", | ||
"@lendi-ui/typography": "^5.1.4", | ||
"@lendi-ui/utils": "^5.1.1", | ||
@@ -33,3 +33,3 @@ "@types/lodash": "^4.14.144", | ||
"devDependencies": { | ||
"@lendi-ui/field": "^3.1.3", | ||
"@lendi-ui/field": "^3.1.4", | ||
"@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
101987
Updated@lendi-ui/icon@^9.7.5
Updated@lendi-ui/text-input@^4.2.3
Updated@lendi-ui/typography@^5.1.4