@bem-react/core
Advanced tools
Comparing version 0.2.3 to 0.2.4
@@ -6,2 +6,11 @@ # Change Log | ||
<a name="0.2.4"></a> | ||
## [0.2.4](https://github.com/bem/bem-react-core/compare/@bem-react/core@0.2.3...@bem-react/core@0.2.4) (2018-08-30) | ||
**Note:** Version bump only for package @bem-react/core | ||
<a name="0.2.3"></a> | ||
@@ -8,0 +17,0 @@ ## [0.2.3](https://github.com/bem/bem-react-core/compare/@bem-react/core@0.2.2...@bem-react/core@0.2.3) (2018-08-29) |
@@ -9,6 +9,4 @@ import * as React from 'react'; | ||
export declare type ModMatch = Record<string, string | boolean | number>; | ||
export declare const matchSubset: (props: Record<string, any>, match: Record<string, any>) => boolean; | ||
export declare function withBemClassName<P extends IClassNameProps>(cn: ClassNameFormatter, mapPropsToBemMods?: (props: P) => NoStrictMods | undefined): (WrappedComponent: any) => React.StatelessComponent<P>; | ||
export declare function withBemMod<P extends IClassNameProps>(cn: ClassNameFormatter, mod: NoStrictMods, cb?: ModBody<P>): (WrappedComponent: React.StatelessComponent<P>) => (props: P) => JSX.Element; | ||
export declare function withBemClassMix<P extends IClassNameProps>(...mix: Array<string | undefined>): (WrappedComponent: React.ComponentType<P>) => (props: P) => JSX.Element; | ||
export declare const classnames: (...args: (string | undefined)[]) => string; |
{ | ||
"name": "@bem-react/core", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"description": "BEM React Core", | ||
@@ -28,6 +28,6 @@ "repository": { | ||
"unit": "../../node_modules/.bin/mocha --opts ../../mocha.opts --", | ||
"test": "npm run unit test/*.test.ts" | ||
"test": "../../node_modules/.bin/nyc npm run unit test/*.test.tsx" | ||
}, | ||
"dependencies": { | ||
"@bem-react/classname": "^0.2.1", | ||
"@bem-react/classname": "^0.2.2", | ||
"object-assign": "^4.1.1" | ||
@@ -38,3 +38,19 @@ }, | ||
}, | ||
"gitHead": "0621f4c90b1a9ead311f94c1736b0d6164d7878d" | ||
"nyc": { | ||
"include": [ | ||
"core.tsx" | ||
], | ||
"extension": [ | ||
".ts", | ||
".tsx" | ||
], | ||
"reporter": [ | ||
"text", | ||
"html" | ||
], | ||
"sourceMap": true, | ||
"instrument": true, | ||
"all": true | ||
}, | ||
"gitHead": "c6f8cd0423ca4d872aad1925bac6a552e82ac626" | ||
} |
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
2
10233
4
17
Updated@bem-react/classname@^0.2.2