Packages – Components: Move proptype-validator utility into src (https://github.com/woocommerce/woocommerce-admin/pull/962)
* Move proptype-validator utility into src Only src files are transpiled for external use, so requiring this file was breaking my jest tests * Bump the package version + changelog
This commit is contained in:
parent
9b0c767749
commit
6e3242c421
|
@ -1,3 +1,7 @@
|
|||
# 1.1.1
|
||||
|
||||
- Fix incorrectly loaded `proptype-validator`
|
||||
|
||||
# 1.1.0
|
||||
|
||||
- Add `interpolate-components` as an explicit dependency, fixes issue with
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@woocommerce/components",
|
||||
"version": "1.1.0",
|
||||
"version": "1.1.1",
|
||||
"description": "UI components for WooCommerce.",
|
||||
"author": "Automattic",
|
||||
"license": "GPL-2.0-or-later",
|
||||
|
|
|
@ -11,7 +11,7 @@ import PropTypes from 'prop-types';
|
|||
*/
|
||||
import EllipsisMenu from '../ellipsis-menu';
|
||||
import { H, Section } from '../section';
|
||||
import { validateComponent } from '../../lib/proptype-validator';
|
||||
import { validateComponent } from '../lib/proptype-validator';
|
||||
|
||||
/**
|
||||
* A basic card component with a header. The header can contain a title, an action, and an `EllipsisMenu` menu.
|
||||
|
|
|
@ -11,7 +11,7 @@ import PropTypes from 'prop-types';
|
|||
*/
|
||||
import EllipsisMenu from '../ellipsis-menu';
|
||||
import { H } from '../section';
|
||||
import { validateComponent } from '../../lib/proptype-validator';
|
||||
import { validateComponent } from '../lib/proptype-validator';
|
||||
|
||||
/**
|
||||
* A header component. The header can contain a title, actions via children, and an `EllipsisMenu` menu.
|
||||
|
|
Loading…
Reference in New Issue