Commit Graph

177 Commits

Author SHA1 Message Date
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
renovate[bot] ca0165ff5d Update dependency deasync to v0.1.14 (https://github.com/woocommerce/woocommerce-admin/pull/839) 2018-11-14 11:55:18 -05:00
renovate[bot] 7c640c1c1c Update babel monorepo to v7.1.6 (https://github.com/woocommerce/woocommerce-admin/pull/834) 2018-11-14 10:46:47 -05:00
Paul Sealock c809fa6cb9 Apply onQueryChange to more than just 'filter' 2018-11-14 09:56:39 +13:00
renovate[bot] a2f0f5c875 Update dependency husky to v1.1.4 (https://github.com/woocommerce/woocommerce-admin/pull/829) 2018-11-13 09:16:01 -05:00
renovate[bot] c83d1d0779 Update dependency eslint to v5.9.0 (https://github.com/woocommerce/woocommerce-admin/pull/810) 2018-11-12 12:03:48 -05:00
renovate[bot] 585b234ed7 Update dependency d3-array to v2 (https://github.com/woocommerce/woocommerce-admin/pull/811) 2018-11-12 11:25:54 -05:00
renovate[bot] 004f27223c Update dependency stylelint to v9.8.0 (https://github.com/woocommerce/woocommerce-admin/pull/809) 2018-11-12 11:24:53 -05:00
renovate[bot] 9ccddf5a19 Pin dependency @wordpress/custom-templated-path-webpack-plugin to 1.1.5 (https://github.com/woocommerce/woocommerce-admin/pull/788) 2018-11-07 12:25:48 -05:00
renovate[bot] d68604629c Update dependency eslint-plugin-jest to v22 (https://github.com/woocommerce/woocommerce-admin/pull/791) 2018-11-07 12:08:24 -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
Kevin Killingsworth fbed89eb19 Update @wordpress/data for 3.x (https://github.com/woocommerce/woocommerce-admin/pull/783)
* fix: Remove state argument from resolvers.

State is no longer the first argument to resolvers as of @wordpress/data
version 3.0.0

* Update @wordpress/data to 3.1.0

* Adjust resolvers to work with v2 and v3 wp.data

This adds code to inspect the arguments of the resolvers to allow for
working with v2 or v3 wp.data. This is only temporary.

* resolvers: fix tests

This fixes tests by removing empty state objects from them.
2018-11-05 18:30:32 -05:00
Paul Sealock 50e635e716 Add Variations autocompleter 2018-11-05 17:43:59 -05:00
renovate[bot] 3dd11ae8d5 Update dependency webpack to v4.25.1 (https://github.com/woocommerce/woocommerce-admin/pull/780) 2018-11-05 15:29:55 -05:00
renovate[bot] 6fc439ee92 Update dependency webpack to v4.25.0 (https://github.com/woocommerce/woocommerce-admin/pull/777) 2018-11-05 13:00:38 -05:00
renovate[bot] 82acb08069 Update dependency eslint-plugin-jest to v21.27.1 (https://github.com/woocommerce/woocommerce-admin/pull/767) 2018-11-05 12:57:01 -05:00
renovate[bot] 19f1c01861 Update dependency node-sass to v4.10.0 (https://github.com/woocommerce/woocommerce-admin/pull/766)
* Update dependency node-sass to v4.10.0

* Update package-lock
2018-11-05 10:10:54 -05:00
renovate[bot] 95d50a6736 Update dependency buble to v0.19.6 (https://github.com/woocommerce/woocommerce-admin/pull/612) 2018-11-04 16:37:55 -05:00
renovate[bot] c8625ca0d1 Update dependency stylelint to v9.7.1 (https://github.com/woocommerce/woocommerce-admin/pull/744) 2018-11-03 13:27:16 -04:00
renovate[bot] 3ef218b0bf Update wordpress monorepo (https://github.com/woocommerce/woocommerce-admin/pull/745) 2018-11-03 13:23:57 -04:00
renovate[bot] 930bbad2b9 Update dependency eslint-plugin-jest to v21.27.0 (https://github.com/woocommerce/woocommerce-admin/pull/765) 2018-11-03 11:35:54 -04:00
Kelly Dwan 2b29dc7d1c Build: Switch react imports to use core packages (https://github.com/woocommerce/woocommerce-admin/pull/755)
* Remove react, react-dom, and redux imports in favor of core packages

* Move build dependencies out of `devDependencies`
2018-11-02 15:37:28 -04:00
Kelly Dwan c29043a3bc Switch to using `@wordpress/viewport` for responsive screen layouts (https://github.com/woocommerce/woocommerce-admin/pull/761)
* Switch to Gutenberg viewport package

* Switch CSS breakpoints to core-supported values

* Fix double-calendar logic
2018-11-02 15:20:11 -04:00
renovate[bot] 4bf4d93999 Update dependency husky to v1.1.3 (https://github.com/woocommerce/woocommerce-admin/pull/757)
* Update dependency husky to v1.1.3

* Update commit hooks to husky v1 config

v1.0 moved away from `scripts`, to a custom property in package.json
2018-11-02 12:48:24 -04:00
renovate[bot] 39683ec4e3 Update dependency webpack to v4.24.0 (https://github.com/woocommerce/woocommerce-admin/pull/760) 2018-11-02 12:15:46 -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
Jonathan Belcher d260205c11 Add stylelint (https://github.com/woocommerce/woocommerce-admin/pull/728)
* Add stylelint

* Pinn dependencies

* Make fix command work

No double colons are allowed in npm commands.
2018-10-30 08:56:22 -04:00
renovate[bot] e996d305cc Update dependency css-loader to v1.0.1 (https://github.com/woocommerce/woocommerce-admin/pull/719) 2018-10-29 11:26:42 -04:00
renovate[bot] 56f87e25fa Update wordpress monorepo (https://github.com/woocommerce/woocommerce-admin/pull/715) 2018-10-29 11:26:10 -04:00
Paul Sealock 7e5c124ce1 Filters: Add params to request query 2018-10-29 13:07:13 +13:00
renovate[bot] 7288434f79 Update dependency eslint to v5.8.0 (https://github.com/woocommerce/woocommerce-admin/pull/709) 2018-10-26 13:22:44 -04:00
renovate[bot] 9c0dd84677 Update dependency eslint-plugin-jest to v21.26.2 (https://github.com/woocommerce/woocommerce-admin/pull/705) 2018-10-26 10:19:23 -04:00
Paul Sealock 01fa16aa35 Merge pull request woocommerce/woocommerce-admin#679 from woocommerce/add/date-picker-dashboard
Dashboard: Add DatePicker
2018-10-26 10:05:04 +13:00
renovate[bot] 56f047c6f3 Pin dependency @babel/plugin-transform-react-jsx to 7.0.0 (https://github.com/woocommerce/woocommerce-admin/pull/680) 2018-10-25 15:26:06 -04:00
renovate[bot] 6ce21d5fff Update dependency webpack to v4.23.1 (https://github.com/woocommerce/woocommerce-admin/pull/683) 2018-10-25 15:24:44 -04:00
Paul Sealock 02383f0ce7 Dashboard: Add DatePicker 2018-10-25 11:40:59 +13:00
Jonathan Belcher 86b9a31735 Updates Package Lock (https://github.com/woocommerce/woocommerce-admin/pull/676) 2018-10-24 16:20:47 -04:00
renovate[bot] 393a56183b Update dependency webpack to v4.23.0 (https://github.com/woocommerce/woocommerce-admin/pull/673) 2018-10-24 16:16:18 -04:00
renovate[bot] 72ed89a19c Update dependency eslint-plugin-jest to v21.26.1 (https://github.com/woocommerce/woocommerce-admin/pull/672) 2018-10-24 16:11:14 -04:00
Jonathan Belcher 8825c91802 Updates Package Lock (https://github.com/woocommerce/woocommerce-admin/pull/670) 2018-10-24 11:22:29 -04:00
renovate[bot] 8acafde981 Update dependency autoprefixer to v9.3.1 (https://github.com/woocommerce/woocommerce-admin/pull/669) 2018-10-24 11:18:43 -04:00
renovate[bot] cc635d7697 Update react monorepo to v16.6.0 (https://github.com/woocommerce/woocommerce-admin/pull/662) 2018-10-24 11:17:16 -04:00
Jonathan Belcher cb69cf1051 Updates Package Lock (https://github.com/woocommerce/woocommerce-admin/pull/657) 2018-10-23 15:13:55 -04:00
renovate[bot] 2a68549e30 Update dependency @wordpress/api-fetch to v2.1.0 (https://github.com/woocommerce/woocommerce-admin/pull/625) 2018-10-23 14:00:15 -04:00
renovate[bot] a978fa1e5e Update dependency eslint-plugin-jest to v21.26.0 (https://github.com/woocommerce/woocommerce-admin/pull/629) 2018-10-23 13:59:42 -04:00
renovate[bot] 9de04598a9 Update dependency webpack to v4.22.0 (https://github.com/woocommerce/woocommerce-admin/pull/617) 2018-10-23 11:10:49 -04:00
renovate[bot] 19295ebcfb Update dependency autoprefixer to v9.3.0 (https://github.com/woocommerce/woocommerce-admin/pull/637) 2018-10-23 11:09:45 -04:00
Jonathan Belcher e85ad7d410 Updates package lock (https://github.com/woocommerce/woocommerce-admin/pull/607)
* Updates package lock

* Recreate package-lock
2018-10-22 12:23:53 -04:00
renovate[bot] 1dfd3b186b Update wordpress monorepo to v2.1.4 (https://github.com/woocommerce/woocommerce-admin/pull/614) 2018-10-19 20:35:53 -04:00
Jonathan Belcher 3e92954438 Fixes React Live by pinning buble version (https://github.com/woocommerce/woocommerce-admin/pull/608)
This (sort of) pins buble to the last good version, 0.19.4. react-live uses a ^ version, which picked up the broken release during the renovate update sweep.
2018-10-19 16:36:02 -04:00
renovate[bot] 41536b35cb Update dependency react-live to v1.12.0 (https://github.com/woocommerce/woocommerce-admin/pull/590) 2018-10-19 13:25:39 -04:00
renovate[bot] 0bff5beecf Update dependency husky to v1 (https://github.com/woocommerce/woocommerce-admin/pull/599) 2018-10-19 13:25:11 -04:00
renovate[bot] cc36f993d7 Update dependency babel-eslint to v10 (https://github.com/woocommerce/woocommerce-admin/pull/598) 2018-10-19 13:24:50 -04:00
renovate[bot] f850eb1a40 Update wordpress monorepo (https://github.com/woocommerce/woocommerce-admin/pull/597) 2018-10-19 13:06:42 -04:00
renovate[bot] 0da0cb9b05 Update react monorepo to v16.5.2 (https://github.com/woocommerce/woocommerce-admin/pull/596) 2018-10-19 13:01:49 -04:00
renovate[bot] 097aae16c2 Update dependency webpack-cli to v3.1.2 (https://github.com/woocommerce/woocommerce-admin/pull/595) 2018-10-19 13:00:20 -04:00
renovate[bot] 35c644b4f7 Update dependency webpack to v4.21.0 (https://github.com/woocommerce/woocommerce-admin/pull/594) 2018-10-19 12:58:35 -04:00
renovate[bot] 83621afc85 Update dependency style-loader to v0.23.1 (https://github.com/woocommerce/woocommerce-admin/pull/593) 2018-10-19 12:56:48 -04:00
renovate[bot] 6797a2a80f Update dependency recast to v0.16.0 (https://github.com/woocommerce/woocommerce-admin/pull/592) 2018-10-19 12:55:42 -04:00
renovate[bot] 1de58e7573 Update dependency node-sass to v4.9.4 (https://github.com/woocommerce/woocommerce-admin/pull/589) 2018-10-19 12:54:21 -04:00
renovate[bot] 7f549f20bb Update dependency marked to v0.5.1 (https://github.com/woocommerce/woocommerce-admin/pull/588) 2018-10-19 10:08:05 -04:00
renovate[bot] 891aeee03d Update dependency eslint-plugin-jsx-a11y to v6.1.2 (https://github.com/woocommerce/woocommerce-admin/pull/587) 2018-10-19 10:05:22 -04:00
renovate[bot] 8d22e614c2 Update dependency eslint-plugin-jest to v21.25.1 (https://github.com/woocommerce/woocommerce-admin/pull/586) 2018-10-19 09:58:49 -04:00
renovate[bot] 98f17ca36a Update dependency eslint-loader to v2.1.1 (https://github.com/woocommerce/woocommerce-admin/pull/585) 2018-10-19 09:53:36 -04:00
renovate[bot] 2393a736ce Update dependency eslint to v5.7.0 (https://github.com/woocommerce/woocommerce-admin/pull/584) 2018-10-19 09:44:01 -04:00
renovate[bot] 8fb274c1d2 Update dependency babel-loader to v8.0.4 (https://github.com/woocommerce/woocommerce-admin/pull/578) 2018-10-19 09:33:27 -04:00
renovate[bot] 575013094e Update dependency autoprefixer to v9.2.1 (https://github.com/woocommerce/woocommerce-admin/pull/577) 2018-10-19 09:31:25 -04:00
renovate[bot] bc15a107dd Update dependency ast-types to v0.11.6 (https://github.com/woocommerce/woocommerce-admin/pull/576) 2018-10-19 09:25:57 -04:00
renovate[bot] 33ea703c31 Update babel monorepo to v7.1.2 (https://github.com/woocommerce/woocommerce-admin/pull/575) 2018-10-18 15:42:28 -04:00
renovate[bot] 9c147c6e82 Pin dependencies (https://github.com/woocommerce/woocommerce-admin/pull/573) 2018-10-18 12:57:29 -04:00
Claudio Sanches 986f4a8289 Updated pre-commit hook to execute PHP Lint and PHP_CodeSniffer 2018-09-27 13:57:04 -03:00
Claudio Sanches c0eadbaabb Merge branch 'master' into feature/438 2018-09-27 12:39:57 -03:00
Kelly Dwan 5dc1addbf8 Build: Update i18n generation to combine JS + PHP translations (https://github.com/woocommerce/woocommerce-admin/pull/481)
* Generate the PHP translations file from the POT file after building the project

* Remove unused tasks

* Update i18n task to generate JS pot file, then convert that to PHP, then run grunt php pot generation

* Update docs

* Pipe babel file output to null, not entire output of command

Helps with debugging the babel command itself
2018-09-26 10:23:55 -04:00
Kelly Dwan e2aa414f4f Add `cross-env` to allow building on Windows (https://github.com/woocommerce/woocommerce-admin/pull/473) 2018-09-25 16:50:51 -04:00
Paul Sealock 58195911a7 AdvancedFilters: Add request for orders statuses 2018-09-25 11:39:47 +12:00
Kelly Dwan 62276fb361 Add visual component docs from markdown examples (https://github.com/woocommerce/woocommerce-admin/pull/470)
* Remove content from README, leaving only the example

* Rename edited READMEs

* Add a devdocs page rendering from markdown example files

* Add more components to devdocs

* Add the rest of the component examples

* Add navigation to single components, show generated readme on single component view

* Style devdocs like calypso

* Split devdocs into two columns at “desktop” sizes

* Update segmented selection example

* Update link

* Add header to avoid notices error
2018-09-24 11:36:35 -04:00
Claudio Sanches 0136912a06 Added grunt-checktextdomain 2018-09-21 14:13:28 -03:00
Paul Sealock a299aad167 Coupons: add config, autocompleter 2018-09-21 11:54:22 +12:00
Kelly Dwan cd58cc78ac Build: Update packages (https://github.com/woocommerce/woocommerce-admin/pull/434)
* Update packages to latest versions

* Update snapshot to match updated jest format

* Add missing packages

* Pin docsify-cli to GitHub commit with security fix

* Update engines settings

* Update packages

Again, some things are already out of date from last week

* Regenerate docs
2018-09-18 17:37:57 -04:00
Robert Elliott e79a4b9025 remove he package and rename uniqueDates to ticks 2018-09-17 11:07:11 +02:00
Robert Elliott a7ed5f0c85 html encoder for currency symbols 2018-09-12 13:16:36 +02:00
Robert Elliott 32285df636 package-lock bump 2018-09-11 13:16:14 +02:00
Robert Elliott c11da940e2 if legend item unchecked no hover status
modified:   client/components/chart/legend.js
	modified:   client/components/chart/style.scss
	modified:   package-lock.json
2018-09-06 18:15:08 +02:00
Albert Juhé Lluveras 090ecf3a8a IE11: fix CSS grid in Summary (https://github.com/woocommerce/woocommerce-admin/pull/353)
* Fix Summary values not visible with IE11

* Fix Summary grid for IE11

* Move grid position mixin to _mixins file, so it can be used for other elements

* Remove set-grid-positions mixin and improve code understandability
2018-09-06 17:11:34 +02:00
Albert Juhé Lluveras da2317f154 Add CSV download to Revenue table (https://github.com/woocommerce/woocommerce-admin/pull/326)
* Add CSV download to Revenue table

* Set revelant file name for revenue CSV file download

* Add package-lock.json

* Move CSV download logic inside /lib/

* Remove 'totals' from table CSV

* Check parameters are arrays in generateCSVDataFromTable

* Add @TODO comment about downloading large sets of data
2018-09-03 09:54:45 +02:00
Kelly Dwan 2ab7618447 Docs Project: Add markdown files, docsify to render site (https://github.com/woocommerce/woocommerce-admin/pull/337)
* Add generated docs to repo, add command to regenerate docs

* Add docsify to render markdown files & search from GitHub.io

* Add prop type description if it exists

This property is only filled in on descendent proptypes (items in a shape, for example)

* Vaguely woo-themed

* Tweak spacing in markdown file, add final newline to each file
2018-08-31 16:13:20 -04:00
Kelly Dwan d36511479e Docs Project: Add documentation parser + inline documentation (https://github.com/woocommerce/woocommerce-admin/pull/336)
* Switch all components to default exports

This ensures we can read all components for documentation generation (plus, standardizing is good)

* Add documentation to component file

* Fix table exports

* Move readme docs into inline docs

Includes updating new props, adding prop shapes

* Add doc-generation scripts to pull exported component docs into folder

* Remove key propType, causing react special-keys warning

* Fix proptype

* Update incorrect comment

* Remove template import, we can just use string concat

* Fix typo, update docs
2018-08-31 13:27:21 -04:00
Kelly Dwan 39ca2cc627 Remove apiRequest in favor of apiFetch (https://github.com/woocommerce/woocommerce-admin/pull/309) 2018-08-21 15:02:49 -04:00
Justin Shreve 4397ce8271 Add Revenue Report API/data-layer (https://github.com/woocommerce/woocommerce-admin/pull/293)
* Adds data layer functions for fetching the revenue report API

* Handle PR feedback: jsDoc updates, create query string util function, api namespace constat.

* Serialize query args in a consistent order
2018-08-15 09:44:49 -04:00
Robert Elliott 11d6e8ba87 rebase with master after some afk 2018-08-13 12:24:10 +02:00
Paul Sealock 45231f9049 add theming to Gutenberg components' 2018-08-02 12:25:00 +12:00
Timmy Crawford 3f2a6a2fd6 Fix for gutenberg 3.4 2018-08-01 12:07:17 -07:00
Justin Shreve d346945702 Add Collapsed Review View (https://github.com/woocommerce/woocommerce-admin/pull/242)
* Add Collapsed Review View

* Fix spacing issue on main button action
2018-08-01 08:21:51 -04:00
Justin Shreve e27af517a4 Add CSS autoprefixer (https://github.com/woocommerce/woocommerce-admin/pull/244) 2018-07-30 10:05:22 -04:00
Paul Sealock b34b2efbbc Use wp.data on Orders report
Update to Gutenberg 3.3
2018-07-30 11:17:28 +12:00
Paul Sealock 1c447396c8 Datepicker: Custom: Add styles 2018-07-30 10:36:38 +12:00
Robert Elliott dd663e0cd9 init for legends PR
updates from feedback
2018-07-25 17:04:03 +02:00
Kelly Dwan 944b7ab460 Update to Gutenberg 3.3 (https://github.com/woocommerce/woocommerce-admin/pull/234)
Removes Gutenberg package dependency in favor of published sub-packages, update tests and build process to reflect new package locations
2018-07-23 16:14:40 -04:00
Paul Sealock 186c803c31 FilterPicker: Add Animation 2018-07-20 15:42:36 +12:00
Kelly Dwan 8b36066f0b Update `react-world-flags` package (https://github.com/woocommerce/woocommerce-admin/pull/230)
* Update react-world-flags to remove dependency on SSH url

* Remove git config
2018-07-19 12:30:25 -04:00