Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

Commit

Permalink
Release/v0.8.0 (#1710)
Browse files Browse the repository at this point in the history
* Update version number and docs.

* Updates after release.
  • Loading branch information
timmyc authored Feb 28, 2019
1 parent cfa02f8 commit 68672e8
Show file tree
Hide file tree
Showing 7 changed files with 66 additions and 34 deletions.
15 changes: 15 additions & 0 deletions docs/components/analytics/report-chart.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,28 @@ Props

Filters available for that report.

### `isRequesting`

- Type: Boolean
- Default: `false`

Whether there is an API call running.

### `itemsLabel`

- Type: String
- Default: null

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
Expand Down
15 changes: 15 additions & 0 deletions docs/components/analytics/report-summary.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**
Expand All @@ -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**
Expand Down
9 changes: 8 additions & 1 deletion docs/components/packages/chart.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.

Expand Down
14 changes: 14 additions & 0 deletions docs/components/packages/ellipsis-menu.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,27 @@ 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
- Default: null

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
Expand Down
43 changes: 12 additions & 31 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion wc-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit 68672e8

Please sign in to comment.