Commit Graph

429 Commits

Author SHA1 Message Date
Paul Sealock 0ab5c735be Remove order statuses wc- prefix 2018-11-28 15:58:17 +13:00
Kelly Dwan 4b8969acc7 chore(release): publish
- @woocommerce/components@1.1.0
 - @woocommerce/date@1.0.2
 - @woocommerce/navigation@1.1.0
2018-11-27 15:57:27 -05:00
Jonathan Belcher e2faa2fee2 Tag component snapshots (https://github.com/woocommerce/woocommerce-admin/pull/877)
* Tag component snapshots

* Make snapshots better

* Update snapshots
2018-11-27 13:57:52 -05:00
Kelly Dwan 8828345f86 Remove import from local files (https://github.com/woocommerce/woocommerce-admin/pull/939)
These are exported packages, they can’t rely on any local files.
2018-11-27 10:46:22 -08:00
Jonathan Belcher a308fcc830 Adds snapshots for the Split Button component (https://github.com/woocommerce/woocommerce-admin/pull/891)
* Adds snapshots for the Split Button component

* Update snapshots

* Remove duplicate test
2018-11-26 13:44:05 -05:00
Albert Juhé Lluveras 0cbe3034d8 Merge report tables (https://github.com/woocommerce/woocommerce-admin/pull/928)
* Merge report tables

* Remove unnecessary semicolon

* Improve sorting of variables

* Rename props to tableProps in ReportTable
2018-11-26 08:01:20 -06:00
Robert Elliott 24758bc80d squashed commits for chart packaging
expand formatting function to xFormats

adding getTooltipValueFormat

remove old chart examples

remove magic numbers and use variables

refactor getTooltipRowValue

update package-lock

allow function formatters and use @wordpress/elements
2018-11-21 16:10:56 +02:00
Paul Sealock f4c2140258 Update uses of Gutenberg popover for content sizing 2018-11-21 12:00:40 +13:00
Albert Juhé Lluveras 2a95345bb9 Add chartMode property to filters configuration (https://github.com/woocommerce/woocommerce-admin/pull/884)
* Add chartMode property to filters configuration

* Add tests

* Cleanup

* Add chartMode propType to filters
2018-11-20 16:21:47 -06:00
Kelly Dwan 38ef25a272 Add missing dependency from components package (https://github.com/woocommerce/woocommerce-admin/pull/890) 2018-11-20 14:23:42 -05:00
Paul Sealock 38264239fc Merge pull request woocommerce/woocommerce-admin#824 from woocommerce/add/product-detail-link
Add/product detail link
2018-11-20 13:14:34 +13:00
Paul Sealock b7acbd9b2f Add Product Detail link in table 2018-11-20 12:57:36 +13:00
Paul Sealock 0d59998625 Persist chart settings 2018-11-20 12:55:30 +13:00
Albert Juhé Lluveras 9938707970 Add Taxes report table (https://github.com/woocommerce/woocommerce-admin/pull/881)
* Add Taxes report table

* Add taxes autocompleter to Search

* Minor fixes

* Improve @TODO comment explanation
2018-11-19 09:55:15 -06:00
Kelly Dwan 741f5cc6c6 chore(release): publish
- @woocommerce/components@1.0.1
 - @woocommerce/date@1.0.1
2018-11-16 15:31:11 -05:00
Kelly Dwan 87cf118878 Remove imports from file that doesn’t exist in packages (https://github.com/woocommerce/woocommerce-admin/pull/876) 2018-11-16 14:31:20 -05:00
renovate[bot] 098b24e99e fix(deps): update dependency @babel/runtime-corejs2 to v7.1.5 (https://github.com/woocommerce/woocommerce-admin/pull/865) 2018-11-16 09:14:34 -05:00
renovate[bot] 97faa52909 fix(deps): update dependency d3-array to v2 (https://github.com/woocommerce/woocommerce-admin/pull/872) 2018-11-16 09:13:50 -05:00
Kelly Dwan 94200cbbc1 chore(release): publish
- @woocommerce/components@1.0.0-alpha.1
 - @woocommerce/csv-export@1.0.0-alpha.1
 - @woocommerce/currency@1.0.0-alpha.1
 - @woocommerce/date@1.0.0-alpha.1
 - @woocommerce/navigation@1.0.0-alpha.1
2018-11-15 18:31:20 -05:00
Kelly Dwan 2a9cb6509b Build: Move components to packages dir (https://github.com/woocommerce/woocommerce-admin/pull/804)
* Move components to packages folder

* Update documentation generator to handle packages/components and client/components

* Update component locations

* Update CSS build process

* Remove react-dates css, this is already included by gutenberg

* Fix CSS style - single quotes

* Fix incorrect imports

* Update package-lock with new dependencies

* Update component locations for devdocs

* Fix location of tests
2018-11-15 13:16:23 -05:00
Paul Sealock c809fa6cb9 Apply onQueryChange to more than just 'filter' 2018-11-14 09:56:39 +13:00
Robert Elliott bd1997b725 Merge pull request woocommerce/woocommerce-admin#785 from woocommerce/add/chart-63day-x1month-x2year
Component - chart: more than 9 weeks of ticks change xFormat to months & x2Format to yrs
2018-11-13 10:16:01 +02:00
Kelly Dwan 89cee0df90 Build: Move filter code to the navigation package (https://github.com/woocommerce/woocommerce-admin/pull/803)
* Move filter code to the navigation package

- Moves filter-related code to navigation, so it can be shared between components and the app
- Fixes spelling of “flatten”
- Update README docs with new functions

* Use `get` to prevent errors if options is not an array/is empty

* Update documentation and tests
2018-11-12 11:17:18 -05:00
renovate[bot] cbcdf9ba78 Update babel monorepo to v7.1.5 (https://github.com/woocommerce/woocommerce-admin/pull/789) 2018-11-07 12:04:34 -05:00
Kelly Dwan 8af82f3dee Build: Move `lib/csv` to packages (https://github.com/woocommerce/woocommerce-admin/pull/756)
* Move CSV to packages

* Update CSV imports

* Add some basic usage documentation

* Add csv lib to the enqueued assets

* Change name to `csv-export`

* Update webpack build process to allow for package names with dashes

* Fix capitalization

* Update readme with docs extracted from jsdoc

* Fix merge conflict commit 😣

* Check that generateCSVFileName is called with correct params
2018-11-06 16:53:22 -05:00
Robert Elliott d59594c4f6 at more than 9 weeks of ticks change xFormat to months and x2Format to years 2018-11-06 16:02:16 +02:00
Kelly Dwan d27cb26ef7 Build: Move `lib/nav-utils` and `lib/history` to `@woocommerce/navigation` (https://github.com/woocommerce/woocommerce-admin/pull/763)
* Move nav-utils and history to new package

* Update config to build and use new navigation package

* Update all imports to use new navigation package

* Remove unnecessary README

* Update nav-utils path
2018-11-05 16:02:04 -05:00
renovate[bot] 3ef218b0bf Update wordpress monorepo (https://github.com/woocommerce/woocommerce-admin/pull/745) 2018-11-03 13:23:57 -04:00
Kelly Dwan f62537fc17 Try: Add Lerna to split out utility packages (https://github.com/woocommerce/woocommerce-admin/pull/678)
* Add lerna & GB package-building script

* Move currency library to lerna module

* Update lerna config

* Add publish commands

* Add currency as an faux-external module

* Add separate command to build just core files

* Update dependency path

* Update build script to build all packages into `dist`

* Add packages to the jest test setup

* Move date library to packages

* Update imports to use @woocommerce/date

* Output wcSettings definition before any scripts are output

Fixes issues where wc-dates lib relies on settings object

* Add the build step into travis

* Update jest config to dynamically get package paths

* Update package postcss config to match wc-admin’s main config

* Add combined watch scripts for package+app, add a `clean` command to clean up old build files

* Ignore PHPCS error (leave todo message to fix)

* Concat files with a space, fix issue where all files join in one continuous string and fail the check
2018-10-30 14:57:48 -04:00