Release/v0.8.0 (https://github.com/woocommerce/woocommerce-admin/pull/1710)
* Update version number and docs. * Updates after release.
This commit is contained in:
parent
7890b4c19e
commit
82730d315b
|
@ -13,6 +13,13 @@ Props
|
|||
|
||||
Filters available for that report.
|
||||
|
||||
### `isRequesting`
|
||||
|
||||
- Type: Boolean
|
||||
- Default: `false`
|
||||
|
||||
Whether there is an API call running.
|
||||
|
||||
### `itemsLabel`
|
||||
|
||||
- Type: String
|
||||
|
@ -20,6 +27,14 @@ Filters available for that report.
|
|||
|
||||
Label describing the legend items.
|
||||
|
||||
### `limitProperty`
|
||||
|
||||
- Type: String
|
||||
- Default: null
|
||||
|
||||
Allows specifying a property different from the `endpoint` that will be used
|
||||
to limit the items when there is an active search.
|
||||
|
||||
### `mode`
|
||||
|
||||
- Type: String
|
||||
|
|
|
@ -25,6 +25,14 @@ For example, if `taxes` is provided, data will be fetched from the report
|
|||
`taxes` endpoint (ie: `/wc/v4/reports/taxes/stats`). If the provided endpoint
|
||||
doesn't exist, an error will be shown to the user with `ReportError`.
|
||||
|
||||
### `limitProperty`
|
||||
|
||||
- Type: String
|
||||
- Default: null
|
||||
|
||||
Allows specifying a property different from the `endpoint` that will be used
|
||||
to limit the items when there is an active search.
|
||||
|
||||
### `query`
|
||||
|
||||
- **Required**
|
||||
|
@ -33,6 +41,13 @@ doesn't exist, an error will be shown to the user with `ReportError`.
|
|||
|
||||
The query string represented in object form.
|
||||
|
||||
### `isRequesting`
|
||||
|
||||
- Type: Boolean
|
||||
- Default: null
|
||||
|
||||
Whether there is an API call running.
|
||||
|
||||
### `selectedChart`
|
||||
|
||||
- **Required**
|
||||
|
|
|
@ -115,6 +115,13 @@ Render a chart placeholder to signify an in-flight data request.
|
|||
Position the legend must be displayed in. If it's not defined, it's calculated
|
||||
depending on the viewport width and the mode.
|
||||
|
||||
### `screenReaderFormat`
|
||||
|
||||
- Type: One of type: string, func
|
||||
- Default: `'%B %-d, %Y'`
|
||||
|
||||
A datetime formatting string or overriding function to format the screen reader labels.
|
||||
|
||||
### `showHeaderControls`
|
||||
|
||||
- Type: Boolean
|
||||
|
@ -132,7 +139,7 @@ A title describing this chart.
|
|||
### `tooltipLabelFormat`
|
||||
|
||||
- Type: One of type: string, func
|
||||
- Default: `'%B %d, %Y'`
|
||||
- Default: `'%B %-d, %Y'`
|
||||
|
||||
A datetime formatting string or overriding function to format the tooltip label.
|
||||
|
||||
|
|
|
@ -31,6 +31,13 @@ the click event.
|
|||
Props
|
||||
-----
|
||||
|
||||
### `checked`
|
||||
|
||||
- Type: Boolean
|
||||
- Default: null
|
||||
|
||||
Whether the menu item is checked or not. Only relevant for menu items with `isCheckbox`.
|
||||
|
||||
### `children`
|
||||
|
||||
- Type: ReactNode
|
||||
|
@ -38,6 +45,13 @@ Props
|
|||
|
||||
A renderable component (or string) which will be displayed as the content of this item. Generally a `ToggleControl`.
|
||||
|
||||
### `isCheckbox`
|
||||
|
||||
- Type: Boolean
|
||||
- Default: `false`
|
||||
|
||||
Whether the menu item is a checkbox (will render a FormToggle and use the `menuitemcheckbox` role).
|
||||
|
||||
### `isClickable`
|
||||
|
||||
- Type: Boolean
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "wc-admin",
|
||||
"version": "0.7.0",
|
||||
"version": "0.8.0",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -9112,8 +9112,7 @@
|
|||
},
|
||||
"ansi-regex": {
|
||||
"version": "2.1.1",
|
||||
"bundled": true,
|
||||
"optional": true
|
||||
"bundled": true
|
||||
},
|
||||
"aproba": {
|
||||
"version": "1.2.0",
|
||||
|
@ -9131,13 +9130,11 @@
|
|||
},
|
||||
"balanced-match": {
|
||||
"version": "1.0.0",
|
||||
"bundled": true,
|
||||
"optional": true
|
||||
"bundled": true
|
||||
},
|
||||
"brace-expansion": {
|
||||
"version": "1.1.11",
|
||||
"bundled": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"balanced-match": "^1.0.0",
|
||||
"concat-map": "0.0.1"
|
||||
|
@ -9150,18 +9147,15 @@
|
|||
},
|
||||
"code-point-at": {
|
||||
"version": "1.1.0",
|
||||
"bundled": true,
|
||||
"optional": true
|
||||
"bundled": true
|
||||
},
|
||||
"concat-map": {
|
||||
"version": "0.0.1",
|
||||
"bundled": true,
|
||||
"optional": true
|
||||
"bundled": true
|
||||
},
|
||||
"console-control-strings": {
|
||||
"version": "1.1.0",
|
||||
"bundled": true,
|
||||
"optional": true
|
||||
"bundled": true
|
||||
},
|
||||
"core-util-is": {
|
||||
"version": "1.0.2",
|
||||
|
@ -9264,8 +9258,7 @@
|
|||
},
|
||||
"inherits": {
|
||||
"version": "2.0.3",
|
||||
"bundled": true,
|
||||
"optional": true
|
||||
"bundled": true
|
||||
},
|
||||
"ini": {
|
||||
"version": "1.3.5",
|
||||
|
@ -9275,7 +9268,6 @@
|
|||
"is-fullwidth-code-point": {
|
||||
"version": "1.0.0",
|
||||
"bundled": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"number-is-nan": "^1.0.0"
|
||||
}
|
||||
|
@ -9288,20 +9280,17 @@
|
|||
"minimatch": {
|
||||
"version": "3.0.4",
|
||||
"bundled": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"brace-expansion": "^1.1.7"
|
||||
}
|
||||
},
|
||||
"minimist": {
|
||||
"version": "0.0.8",
|
||||
"bundled": true,
|
||||
"optional": true
|
||||
"bundled": true
|
||||
},
|
||||
"minipass": {
|
||||
"version": "2.3.5",
|
||||
"bundled": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"safe-buffer": "^5.1.2",
|
||||
"yallist": "^3.0.0"
|
||||
|
@ -9318,7 +9307,6 @@
|
|||
"mkdirp": {
|
||||
"version": "0.5.1",
|
||||
"bundled": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"minimist": "0.0.8"
|
||||
}
|
||||
|
@ -9391,8 +9379,7 @@
|
|||
},
|
||||
"number-is-nan": {
|
||||
"version": "1.0.1",
|
||||
"bundled": true,
|
||||
"optional": true
|
||||
"bundled": true
|
||||
},
|
||||
"object-assign": {
|
||||
"version": "4.1.1",
|
||||
|
@ -9402,7 +9389,6 @@
|
|||
"once": {
|
||||
"version": "1.4.0",
|
||||
"bundled": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"wrappy": "1"
|
||||
}
|
||||
|
@ -9478,8 +9464,7 @@
|
|||
},
|
||||
"safe-buffer": {
|
||||
"version": "5.1.2",
|
||||
"bundled": true,
|
||||
"optional": true
|
||||
"bundled": true
|
||||
},
|
||||
"safer-buffer": {
|
||||
"version": "2.1.2",
|
||||
|
@ -9509,7 +9494,6 @@
|
|||
"string-width": {
|
||||
"version": "1.0.2",
|
||||
"bundled": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"code-point-at": "^1.0.0",
|
||||
"is-fullwidth-code-point": "^1.0.0",
|
||||
|
@ -9527,7 +9511,6 @@
|
|||
"strip-ansi": {
|
||||
"version": "3.0.1",
|
||||
"bundled": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"ansi-regex": "^2.0.0"
|
||||
}
|
||||
|
@ -9566,13 +9549,11 @@
|
|||
},
|
||||
"wrappy": {
|
||||
"version": "1.0.2",
|
||||
"bundled": true,
|
||||
"optional": true
|
||||
"bundled": true
|
||||
},
|
||||
"yallist": {
|
||||
"version": "3.0.3",
|
||||
"bundled": true,
|
||||
"optional": true
|
||||
"bundled": true
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "wc-admin",
|
||||
"version": "0.7.0",
|
||||
"version": "0.8.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.7.0
|
||||
* Version: 0.8.0
|
||||
*
|
||||
* @package WC_Admin
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue