Release/v0.6.0 (https://github.com/woocommerce/woocommerce-admin/pull/1417)
* Bump versions to 0.6.0 * Update docs * Updates after running build.
This commit is contained in:
parent
e2da828d1f
commit
974d263f69
|
@ -1,9 +1,9 @@
|
|||
`Flag` (component)
|
||||
==================
|
||||
|
||||
Use the `Flag` component to display a country's flag.
|
||||
|
||||
Use the `Flag` component to display a country's flag using the operating system's emojis.
|
||||
|
||||
React component.
|
||||
|
||||
Props
|
||||
-----
|
||||
|
@ -22,27 +22,6 @@ Two letter, three letter or three digit country code.
|
|||
|
||||
An order can be passed instead of `code` and the code will automatically be pulled from the billing or shipping data.
|
||||
|
||||
### `round`
|
||||
|
||||
- Type: Boolean
|
||||
- Default: `true`
|
||||
|
||||
True to display a rounded flag.
|
||||
|
||||
### `height`
|
||||
|
||||
- Type: Number
|
||||
- Default: `24`
|
||||
|
||||
Flag image height.
|
||||
|
||||
### `width`
|
||||
|
||||
- Type: Number
|
||||
- Default: `24`
|
||||
|
||||
Flag image width.
|
||||
|
||||
### `className`
|
||||
|
||||
- Type: String
|
||||
|
@ -50,3 +29,10 @@ Flag image width.
|
|||
|
||||
Additional CSS classes.
|
||||
|
||||
### `size`
|
||||
|
||||
- Type: Number
|
||||
- Default: null
|
||||
|
||||
Supply a font size to be applied to the emoji flag.
|
||||
|
||||
|
|
|
@ -12,17 +12,17 @@ Props
|
|||
### `children`
|
||||
|
||||
- **Required**
|
||||
- Type: ReactNode
|
||||
- Type: Function
|
||||
- Default: null
|
||||
|
||||
A list of `<SummaryNumber />`s
|
||||
A function returning a list of `<SummaryNumber />`s
|
||||
|
||||
### `label`
|
||||
|
||||
- Type: String
|
||||
- Default: null
|
||||
- Default: `__( 'Performance Indicators', 'wc-admin' )`
|
||||
|
||||
An optional label of this group, read to screen reader users. Defaults to "Performance Indicators".
|
||||
An optional label of this group, read to screen reader users.
|
||||
|
||||
`SummaryNumber` (component)
|
||||
===========================
|
||||
|
@ -46,7 +46,7 @@ If omitted, no change value will display.
|
|||
### `href`
|
||||
|
||||
- Type: String
|
||||
- Default: `'/analytics'`
|
||||
- Default: `''`
|
||||
|
||||
An internal link to the report focused on this number.
|
||||
|
||||
|
@ -109,6 +109,13 @@ A boolean used to show a highlight style on this number.
|
|||
|
||||
A string or number value to display - a string is allowed so we can accept currency formatting.
|
||||
|
||||
### `onLinkClickCallback`
|
||||
|
||||
- Type: Function
|
||||
- Default: `noop`
|
||||
|
||||
A function to be called after a SummaryNumber, rendered as a link, is clicked.
|
||||
|
||||
`SummaryListPlaceholder` (component)
|
||||
====================================
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "wc-admin",
|
||||
"version": "0.5.0",
|
||||
"version": "0.6.0",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "wc-admin",
|
||||
"version": "0.5.0",
|
||||
"version": "0.6.0",
|
||||
"main": "js/index.js",
|
||||
"author": "Automattic",
|
||||
"license": "GPL-2.0-or-later",
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
* Author URI: https://woocommerce.com/
|
||||
* Text Domain: wc-admin
|
||||
* Domain Path: /languages
|
||||
* Version: 0.5.0
|
||||
* Version: 0.6.0
|
||||
*
|
||||
* @package WC_Admin
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue