release 0.12.0

This commit is contained in:
Paul Sealock 2019-05-15 09:43:47 +12:00
parent ea74f23822
commit 9ff4684be7
9 changed files with 69 additions and 37 deletions

View File

@ -13,6 +13,13 @@ Props
A moment date object representing the selected date. `null` for no selection.
### `disabled`
- Type: Boolean
- Default: null
Whether the input is disabled.
### `text`
- Type: String

View File

@ -187,6 +187,13 @@ A datetime formatting string, passed to d3TimeFormat.
A datetime formatting string, passed to d3TimeFormat.
### `yBelow1Format`
- Type: String
- Default: null
A number formatting string, passed to d3Format.
### `yFormat`
- Type: String

View File

@ -14,12 +14,12 @@ Props
The label shown when hovering/focusing on the icon button.
### `children`
### `renderContent`
- Type: ReactNode
- Type: Function
- Default: null
A list of `MenuTitle`/`MenuItem` components
A function returning `MenuTitle`/`MenuItem` components as a render prop. Arguments from Dropdown passed as function arguments.
`MenuItem` (component)
======================

View File

@ -183,6 +183,7 @@ Props
- label: String - A label above the filter selector.
- staticParams: Array - Url parameters to persist when selecting a new filter.
- param: String - The url paramter this filter will modify.
- defaultValue: String - The default paramter value to use instead of 'all'.
- showFilters: Function - Determine if the filter should be shown. Supply a function with the query object as an argument returning a boolean.
- filters: Array
- chartMode: One of: 'item-comparison', 'time-comparison'

View File

@ -317,6 +317,7 @@ Additional CSS classes.
- Type: Array
- defaultSort: Boolean - Boolean, true if this column is the default for sorting. Only one column should have this set.
- defaultOrder: String - String, asc|desc if this column is the default for sorting. Only one column should have this set.
- isLeftAligned: Boolean - Boolean, true if this column should be aligned to the left.
- isNumeric: Boolean - Boolean, true if this column is a number value.
- isSortable: Boolean - Boolean, true if this column is sortable.

View File

@ -1,6 +1,6 @@
{
"name": "@woocommerce/admin-library",
"version": "0.11.0",
"version": "0.12.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
@ -8811,8 +8811,7 @@
},
"ansi-regex": {
"version": "2.1.1",
"bundled": true,
"optional": true
"bundled": true
},
"aproba": {
"version": "1.2.0",
@ -8830,13 +8829,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"
@ -8849,18 +8846,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",
@ -8963,8 +8957,7 @@
},
"inherits": {
"version": "2.0.3",
"bundled": true,
"optional": true
"bundled": true
},
"ini": {
"version": "1.3.5",
@ -8974,7 +8967,6 @@
"is-fullwidth-code-point": {
"version": "1.0.0",
"bundled": true,
"optional": true,
"requires": {
"number-is-nan": "^1.0.0"
}
@ -8987,20 +8979,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"
@ -9017,7 +9006,6 @@
"mkdirp": {
"version": "0.5.1",
"bundled": true,
"optional": true,
"requires": {
"minimist": "0.0.8"
}
@ -9090,8 +9078,7 @@
},
"number-is-nan": {
"version": "1.0.1",
"bundled": true,
"optional": true
"bundled": true
},
"object-assign": {
"version": "4.1.1",
@ -9101,7 +9088,6 @@
"once": {
"version": "1.4.0",
"bundled": true,
"optional": true,
"requires": {
"wrappy": "1"
}
@ -9177,8 +9163,7 @@
},
"safe-buffer": {
"version": "5.1.2",
"bundled": true,
"optional": true
"bundled": true
},
"safer-buffer": {
"version": "2.1.2",
@ -9208,7 +9193,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",
@ -9226,7 +9210,6 @@
"strip-ansi": {
"version": "3.0.1",
"bundled": true,
"optional": true,
"requires": {
"ansi-regex": "^2.0.0"
}
@ -9265,13 +9248,11 @@
},
"wrappy": {
"version": "1.0.2",
"bundled": true,
"optional": true
"bundled": true
},
"yallist": {
"version": "3.0.3",
"bundled": true,
"optional": true
"bundled": true
}
}
},

View File

@ -1,6 +1,6 @@
{
"name": "@woocommerce/admin-library",
"version": "0.11.0",
"version": "0.12.0",
"homepage": "https://woocommerce.github.io/woocommerce-admin/",
"repository": {
"type": "git",

View File

@ -77,6 +77,41 @@ Release and roadmap notes are available on the [WooCommerce Developers Blog](htt
== Changelog ==
= 0.12.0 2019-05-14
- Fix: dashboard issues #2194
- Fix: Dashboard: re-arrange section dropdown order #2216
- Fix: Refactor page handler API #2209
- Fix: EllipsisMenu misalignment in wide containers #2207
- Dev: Handle “all guests” when getting customers from orders. #2038
- Dev: Order milestones: prevent order count queries from being issues on every request. #2224
- Dev: Replace Rebuild reports settings with Import Historical Data #2198
- Dev: add a defaultValue parameter to the ReportFilters component #2150 👏 @rrennick
- Dev: Record refunds separate from order entries #2083
- Dev: Add refund filtering to order reports #2179
- Dev: Hook up API Historical Data screen to API endpoints #2177
- Fix: Show Y grid ticks/lines in charts where all values are lower than 1 #2147
- Fix: Dashboard: Rename class/feature to remove conflict with legacy dashboard widget #2138
- Fix: add defaultOrder field to tablecard header #2139 👏 @rrennick
- Fix: Travis: Exit scripts with error when one occurs #2184
- Dev: Add profile wizard base page #1933
- Dev: Save section/block preferences in user data #2148
- Fix: Vertically center Dashboard 'Add more' button #2171
- Fix: Don't make an API call when there are no performance indicators #2157
- Dev: Add Historical Data Import Screen #2073
- Fix: Fix customer type filter param in orders report #2169
- Dev: EllipsisMenu: Refactor children to renderContent #2154
- Dev: Dashboard: Section add, remove, move up, and move down #2134
- Fix: Persist chart interval in Dashboard #2156
- Dev: Allow renaming Dashboard sections #2131
- Dev: Add import endpoint and controller #2034
- Fix: Prevent chart type buttons breaking in two lines #2135
- Dev: Support Sequential Order Numbers in Downloads Report order number filter #1907
- Dev: Scroll to top of the table when navigating table pages #2051
- Dev: Add empty state for the Reviews panels #2124
== Changelog ==
= 0.11.0 2019-04-17
- Dev: Extend report submenu items #2033

View File

@ -7,7 +7,7 @@
* Author URI: https://woocommerce.com/
* Text Domain: woocommerce-admin
* Domain Path: /languages
* Version: 0.11.0
* Version: 0.12.0
*
* WC requires at least: 3.6.0
* WC tested up to: 3.6.2
@ -40,7 +40,7 @@ if ( ! defined( 'WC_ADMIN_PLUGIN_FILE' ) ) {
}
if ( ! defined( 'WC_ADMIN_VERSION_NUMBER' ) ) {
define( 'WC_ADMIN_VERSION_NUMBER', '0.11.0' );
define( 'WC_ADMIN_VERSION_NUMBER', '0.12.0' );
}
/**