diff --git a/CHANGELOG.md b/CHANGELOG.md index f462b31a..3cf87660 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,13 +1,15 @@ + ## [2.5.2](https://github.com/algolia/docsearch/compare/v2.5.1...v2.5.2) (2017-12-07) ### Features -* **doc:** Precise attribution policy regarding `powered by algolia` -* **doc:** Enhance doc -* **build:** Provide styles in npm packages +- **doc:** Precise attribution policy regarding `powered by algolia` +- **doc:** Enhance doc +- **build:** Provide styles in npm packages ### Dependency updates + - Renovate - autoprefixer 7.2.1 - babel-eslint 8.0.3 @@ -23,365 +25,298 @@ - webpack-dev-server 2.9.7 - babel-eslint 8.0.3 - - - - + ## [2.5.1](https://github.com/algolia/docsearch/compare/v2.5.0...v2.5.1) (2017-11-28) ### Bug Fixes -* **build:** fix minification since uglifyjs 3 ([68d3e0b](https://github.com/algolia/docsearch/commit/68d3e0b827603c7dc589f60b907fab25a60d0ff9)) - +- **build:** fix minification since uglifyjs 3 ([68d3e0b](https://github.com/algolia/docsearch/commit/68d3e0b827603c7dc589f60b907fab25a60d0ff9)) -# [2.5.0](https://github.com/algolia/docsearch/compare/v2.4.1...v2.5.0) (2017-11-28) +# [2.5.0](https://github.com/algolia/docsearch/compare/v2.4.1...v2.5.0) (2017-11-28) ### Bug Fixes -* **autocompleteOptions:** allow cssClasses options ([#246](https://github.com/algolia/docsearch/issues/246)) ([6de70c3](https://github.com/algolia/docsearch/commit/6de70c3)) - +- **autocompleteOptions:** allow cssClasses options ([#246](https://github.com/algolia/docsearch/issues/246)) ([6de70c3](https://github.com/algolia/docsearch/commit/6de70c3)) ### Features -* **global:** Add responsive feature to the dropdown ([777d2d4](https://github.com/algolia/docsearch/commit/777d2d4)) - - +- **global:** Add responsive feature to the dropdown ([777d2d4](https://github.com/algolia/docsearch/commit/777d2d4)) + ## [2.4.1](https://github.com/algolia/docsearch/compare/v2.4.0...v2.4.1) (2017-08-08) ### Features -* **doc:** Enhance doc +- **doc:** Enhance doc + # [2.4.0](https://github.com/algolia/docsearch/compare/v2.3.3...v2.4.0) (2017-08-08) ### Features -* **doc:** Enhance doc +- **doc:** Enhance doc + ## [2.3.3](https://github.com/algolia/docsearch/compare/v2.3.2...v2.3.3) (2017-03-27) - ### Bug Fixes -* **build:** fix badly handled webpack upgrade ([3cbfbb1](https://github.com/algolia/docsearch/commit/3cbfbb1)) - - +- **build:** fix badly handled webpack upgrade ([3cbfbb1](https://github.com/algolia/docsearch/commit/3cbfbb1)) + ## [2.3.2](https://github.com/algolia/docsearch/compare/v2.3.1...v2.3.2) (2017-03-27) - - + ## [2.3.1](https://github.com/algolia/docsearch/compare/v2.3.0...v2.3.1) (2017-02-23) - - + # [2.3.0](https://github.com/algolia/docsearch/compare/v2.2.1...v2.3.0) (2017-02-08) - - + ## [2.2.1](https://github.com/algolia/docsearch/compare/v2.2.0...v2.2.1) (2017-01-11) - - + # [2.2.0](https://github.com/algolia/docsearch/compare/v2.1.8...v2.2.0) (2016-12-13) - - + ## [2.1.8](https://github.com/algolia/docsearch/compare/v2.1.7...v2.1.8) (2016-10-04) - - + ## [2.1.7](https://github.com/algolia/docsearch/compare/v2.1.6...v2.1.7) (2016-10-03) - ### Bug Fixes -* **zepto:** upgrade autocomplete.js ([#150](https://github.com/algolia/docsearch/issues/150)) ([e024917](https://github.com/algolia/docsearch/commit/e024917)) - - +- **zepto:** upgrade autocomplete.js ([#150](https://github.com/algolia/docsearch/issues/150)) ([e024917](https://github.com/algolia/docsearch/commit/e024917)) + ## [2.1.6](https://github.com/algolia/docsearch/compare/v2.1.5...v2.1.6) (2016-10-02) - - + ## [2.1.5](https://github.com/algolia/docsearch/compare/v2.1.4...v2.1.5) (2016-09-15) - ### Bug Fixes -* **empty:** query should be escaped (self-XSS) ([#147](https://github.com/algolia/docsearch/issues/147)) ([3aed41b](https://github.com/algolia/docsearch/commit/3aed41b)) - - +- **empty:** query should be escaped (self-XSS) ([#147](https://github.com/algolia/docsearch/issues/147)) ([3aed41b](https://github.com/algolia/docsearch/commit/3aed41b)) + ## [2.1.4](https://github.com/algolia/docsearch/compare/v2.1.3...v2.1.4) (2016-08-03) - - + ## [2.1.3](https://github.com/algolia/docsearch/compare/v2.1.2...v2.1.3) (2016-08-03) - - + ## [2.1.2](https://github.com/algolia/docsearch/compare/v2.1.1...v2.1.2) (2016-07-22) - - + ## [2.1.1](https://github.com/algolia/docsearch/compare/v2.1.0...v2.1.1) (2016-07-22) - - + # [2.1.0](https://github.com/algolia/docsearch/compare/v2.0.7...v2.1.0) (2016-07-07) - ### Bug Fixes -* **doc:** docsearch header link ([#117](https://github.com/algolia/docsearch/issues/117)) ([66e68a9](https://github.com/algolia/docsearch/commit/66e68a9)) - - +- **doc:** docsearch header link ([#117](https://github.com/algolia/docsearch/issues/117)) ([66e68a9](https://github.com/algolia/docsearch/commit/66e68a9)) + ## [2.0.7](https://github.com/algolia/docsearch/compare/v2.0.6...v2.0.7) (2016-06-28) - - + ## [2.0.6](https://github.com/algolia/docsearch/compare/v2.0.5...v2.0.6) (2016-06-28) - ### Bug Fixes -* **typos:** no result page ([0f40e1d](https://github.com/algolia/docsearch/commit/0f40e1d)) - +- **typos:** no result page ([0f40e1d](https://github.com/algolia/docsearch/commit/0f40e1d)) ### Features -* **docs:** new community header / footer ([#114](https://github.com/algolia/docsearch/issues/114)) ([af76d31](https://github.com/algolia/docsearch/commit/af76d31)) - - +- **docs:** new community header / footer ([#114](https://github.com/algolia/docsearch/issues/114)) ([af76d31](https://github.com/algolia/docsearch/commit/af76d31)) + ## [2.0.5](https://github.com/algolia/docsearch/compare/v2.0.4...v2.0.5) (2016-06-21) - ### Bug Fixes -* **DOM:** potential issue with simple layout if there is lvl0, lvl2 but no lvl1 ([57c0101](https://github.com/algolia/docsearch/commit/57c0101)) - - +- **DOM:** potential issue with simple layout if there is lvl0, lvl2 but no lvl1 ([57c0101](https://github.com/algolia/docsearch/commit/57c0101)) + ## [2.0.4](https://github.com/algolia/docsearch/compare/v2.0.3...v2.0.4) (2016-06-21) - ### Features -* **DOM:** split simple and collumns template ([2a3b7eb](https://github.com/algolia/docsearch/commit/2a3b7eb)) - - +- **DOM:** split simple and collumns template ([2a3b7eb](https://github.com/algolia/docsearch/commit/2a3b7eb)) + ## [2.0.3](https://github.com/algolia/docsearch/compare/v2.0.2...v2.0.3) (2016-06-20) - - + ## [2.0.2](https://github.com/algolia/docsearch/compare/v2.0.1...v2.0.2) (2016-06-14) - ### Features -* **dom:** better handling of simple design ([6bba640](https://github.com/algolia/docsearch/commit/6bba640)) - - +- **dom:** better handling of simple design ([6bba640](https://github.com/algolia/docsearch/commit/6bba640)) + ## [2.0.1](https://github.com/algolia/docsearch/compare/v2.0.0...v2.0.1) (2016-06-14) - - + # [2.0.0](https://github.com/algolia/docsearch/compare/v1.3.0...v2.0.0) (2016-06-14) - ### Features -* **v2:** modification for v2 ([#112](https://github.com/algolia/docsearch/issues/112)) ([f0a7e6b](https://github.com/algolia/docsearch/commit/f0a7e6b)), closes [#92](https://github.com/algolia/docsearch/issues/92) [#102](https://github.com/algolia/docsearch/issues/102) - - +- **v2:** modification for v2 ([#112](https://github.com/algolia/docsearch/issues/112)) ([f0a7e6b](https://github.com/algolia/docsearch/commit/f0a7e6b)), closes [#92](https://github.com/algolia/docsearch/issues/92) [#102](https://github.com/algolia/docsearch/issues/102) + # [1.3.0](https://github.com/algolia/docsearch/compare/1.2.0...v1.3.0) (2016-06-12) - - + # [1.2.0](https://github.com/algolia/docsearch/compare/v1.1.3...1.2.0) (2016-06-10) - ### Features -* **DOM:** add an align class ([#108](https://github.com/algolia/docsearch/issues/108)) ([9421897](https://github.com/algolia/docsearch/commit/9421897)) -* **serve:** Watch and serve all needed files ([#91](https://github.com/algolia/docsearch/issues/91)) ([ef83775](https://github.com/algolia/docsearch/commit/ef83775)) -* **website:** add echo ([#94](https://github.com/algolia/docsearch/issues/94)) ([8a34ecb](https://github.com/algolia/docsearch/commit/8a34ecb)) - - +- **DOM:** add an align class ([#108](https://github.com/algolia/docsearch/issues/108)) ([9421897](https://github.com/algolia/docsearch/commit/9421897)) +- **serve:** Watch and serve all needed files ([#91](https://github.com/algolia/docsearch/issues/91)) ([ef83775](https://github.com/algolia/docsearch/commit/ef83775)) +- **website:** add echo ([#94](https://github.com/algolia/docsearch/issues/94)) ([8a34ecb](https://github.com/algolia/docsearch/commit/8a34ecb)) + ## [1.1.3](https://github.com/algolia/docsearch/compare/v1.1.2...v1.1.3) (2016-04-04) - ### Bug Fixes -* **autocomplete.js:** upgrade the underlying autocomplete.js to ensur… ([4d7022e](https://github.com/algolia/docsearch/commit/4d7022e)), closes [#89](https://github.com/algolia/docsearch/issues/89) - - +- **autocomplete.js:** upgrade the underlying autocomplete.js to ensur… ([4d7022e](https://github.com/algolia/docsearch/commit/4d7022e)), closes [#89](https://github.com/algolia/docsearch/issues/89) + ## [1.1.2](https://github.com/algolia/docsearch/compare/v1.1.1...v1.1.2) (2016-03-24) - ### Features -* **website:** React :raised_hands:, popped out on the top with React ([db9c100](https://github.com/algolia/docsearch/commit/db9c100)) - - +- **website:** React :raised_hands:, popped out on the top with React ([db9c100](https://github.com/algolia/docsearch/commit/db9c100)) + ## [1.1.1](https://github.com/algolia/docsearch/compare/v1.1.0...v1.1.1) (2016-03-16) - ### Bug Fixes -* **algoliaOptions:** ensure we keep default options ([b284dda](https://github.com/algolia/docsearch/commit/b284dda)), closes [#78](https://github.com/algolia/docsearch/issues/78) -* **autocomplete:** auto select top result ([473824a](https://github.com/algolia/docsearch/commit/473824a)), closes [#81](https://github.com/algolia/docsearch/issues/81) -* **dev:** Fixed the dev example, targeting an existing index ([df13e34](https://github.com/algolia/docsearch/commit/df13e34)) -* **website:** responsive logo ([b856d67](https://github.com/algolia/docsearch/commit/b856d67)) - +- **algoliaOptions:** ensure we keep default options ([b284dda](https://github.com/algolia/docsearch/commit/b284dda)), closes [#78](https://github.com/algolia/docsearch/issues/78) +- **autocomplete:** auto select top result ([473824a](https://github.com/algolia/docsearch/commit/473824a)), closes [#81](https://github.com/algolia/docsearch/issues/81) +- **dev:** Fixed the dev example, targeting an existing index ([df13e34](https://github.com/algolia/docsearch/commit/df13e34)) +- **website:** responsive logo ([b856d67](https://github.com/algolia/docsearch/commit/b856d67)) ### Features -* **serve:** Add `npm run serve` to expose js and css locally ([31e5d13](https://github.com/algolia/docsearch/commit/31e5d13)) -* **website:** community header ([366cc0d](https://github.com/algolia/docsearch/commit/366cc0d)) -* **website:** Logo Update - Og screen + favicon ([c7eb54a](https://github.com/algolia/docsearch/commit/c7eb54a)) -* **website:** removed demos ([6d8eb34](https://github.com/algolia/docsearch/commit/6d8eb34)) -* **website:** update ([9498e3b](https://github.com/algolia/docsearch/commit/9498e3b)) -* **website:** updated logo ([fa413d9](https://github.com/algolia/docsearch/commit/fa413d9)) - - +- **serve:** Add `npm run serve` to expose js and css locally ([31e5d13](https://github.com/algolia/docsearch/commit/31e5d13)) +- **website:** community header ([366cc0d](https://github.com/algolia/docsearch/commit/366cc0d)) +- **website:** Logo Update - Og screen + favicon ([c7eb54a](https://github.com/algolia/docsearch/commit/c7eb54a)) +- **website:** removed demos ([6d8eb34](https://github.com/algolia/docsearch/commit/6d8eb34)) +- **website:** update ([9498e3b](https://github.com/algolia/docsearch/commit/9498e3b)) +- **website:** updated logo ([fa413d9](https://github.com/algolia/docsearch/commit/fa413d9)) + # [1.1.0](https://github.com/algolia/docsearch/compare/v1.0.2...v1.1.0) (2016-02-01) - ### Bug Fixes -* **dropdown:** Visually group suggestions together ([592c8f2](https://github.com/algolia/docsearch/commit/592c8f2)) - +- **dropdown:** Visually group suggestions together ([592c8f2](https://github.com/algolia/docsearch/commit/592c8f2)) ### Features -* **website:** ensure the inputs are mandatory ([e59d132](https://github.com/algolia/docsearch/commit/e59d132)) - - +- **website:** ensure the inputs are mandatory ([e59d132](https://github.com/algolia/docsearch/commit/e59d132)) + ## [1.0.2](https://github.com/algolia/docsearch/compare/v1.0.1...v1.0.2) (2015-12-28) - ### Bug Fixes -* **debut:** do not enable debug by default ([188f49e](https://github.com/algolia/docsearch/commit/188f49e)) -* **url:** Removes concatenation of URL with hash if it contains a hash ([348df1c](https://github.com/algolia/docsearch/commit/348df1c)), closes [#53](https://github.com/algolia/docsearch/issues/53) -* **usage:** fixed usage to match the latest prototype version ([f6edc9e](https://github.com/algolia/docsearch/commit/f6edc9e)) - - +- **debut:** do not enable debug by default ([188f49e](https://github.com/algolia/docsearch/commit/188f49e)) +- **url:** Removes concatenation of URL with hash if it contains a hash ([348df1c](https://github.com/algolia/docsearch/commit/348df1c)), closes [#53](https://github.com/algolia/docsearch/issues/53) +- **usage:** fixed usage to match the latest prototype version ([f6edc9e](https://github.com/algolia/docsearch/commit/f6edc9e)) + ## [1.0.1](https://github.com/algolia/docsearch/compare/v1.0.0...v1.0.1) (2015-12-24) - ### Bug Fixes -* **handleSelected:** ensure we're calling setVal on the right object ([31abbd7](https://github.com/algolia/docsearch/commit/31abbd7)), closes [#51](https://github.com/algolia/docsearch/issues/51) - - +- **handleSelected:** ensure we're calling setVal on the right object ([31abbd7](https://github.com/algolia/docsearch/commit/31abbd7)), closes [#51](https://github.com/algolia/docsearch/issues/51) + # [1.0.0](https://github.com/algolia/docsearch/compare/v0.0.7...v1.0.0) (2015-12-24) - ### Bug Fixes -* **isSubCategoryHeader:** ensure we hide the content of the left column if this flag is not set ([0e04ce4](https://github.com/algolia/docsearch/commit/0e04ce4)), closes [#47](https://github.com/algolia/docsearch/issues/47) - - +- **isSubCategoryHeader:** ensure we hide the content of the left column if this flag is not set ([0e04ce4](https://github.com/algolia/docsearch/commit/0e04ce4)), closes [#47](https://github.com/algolia/docsearch/issues/47) + ## [0.0.7](https://github.com/algolia/docsearch/compare/v0.0.6...v0.0.7) (2015-12-22) - ### Bug Fixes -* **appId:** Allow passing a custom appId ([e1777d3](https://github.com/algolia/docsearch/commit/e1777d3)), closes [#21](https://github.com/algolia/docsearch/issues/21) -* **css:** Renaming all `ads-` prefix to `algolia-docsearch-` ([c6fc53f](https://github.com/algolia/docsearch/commit/c6fc53f)) - - +- **appId:** Allow passing a custom appId ([e1777d3](https://github.com/algolia/docsearch/commit/e1777d3)), closes [#21](https://github.com/algolia/docsearch/issues/21) +- **css:** Renaming all `ads-` prefix to `algolia-docsearch-` ([c6fc53f](https://github.com/algolia/docsearch/commit/c6fc53f)) + ## [0.0.6](https://github.com/algolia/docsearch/compare/v0.0.5...v0.0.6) (2015-12-16) - - + ## [0.0.5](https://github.com/algolia/docsearch/compare/v0.0.4...v0.0.5) (2015-12-16) - - + ## [0.0.4](https://github.com/algolia/docsearch/compare/v0.0.3...v0.0.4) (2015-12-16) - - + ## [0.0.3](https://github.com/algolia/docsearch/compare/v0.0.2...v0.0.3) (2015-12-16) - - -## [0.0.2](https://github.com/algolia/docsearch/compare/bdac9dd...v0.0.2) (2015-12-16) +## [0.0.2](https://github.com/algolia/docsearch/compare/bdac9dd...v0.0.2) (2015-12-16) ### Bug Fixes -* **colors:** Reduce number of colors ([125d1c7](https://github.com/algolia/docsearch/commit/125d1c7)) -* **snippet:** Fix typo in method name ([751dfdb](https://github.com/algolia/docsearch/commit/751dfdb)) - +- **colors:** Reduce number of colors ([125d1c7](https://github.com/algolia/docsearch/commit/125d1c7)) +- **snippet:** Fix typo in method name ([751dfdb](https://github.com/algolia/docsearch/commit/751dfdb)) ### Features -* **gh-pages:** Add gh-pages deploy script ([ab1a299](https://github.com/algolia/docsearch/commit/ab1a299)) -* **main:** Add main wrapper ([bdac9dd](https://github.com/algolia/docsearch/commit/bdac9dd)) -* **styling:** Set grayscale as default, add styling as external file ([5d8cca8](https://github.com/algolia/docsearch/commit/5d8cca8)) - - - +- **gh-pages:** Add gh-pages deploy script ([ab1a299](https://github.com/algolia/docsearch/commit/ab1a299)) +- **main:** Add main wrapper ([bdac9dd](https://github.com/algolia/docsearch/commit/bdac9dd)) +- **styling:** Set grayscale as default, add styling as external file ([5d8cca8](https://github.com/algolia/docsearch/commit/5d8cca8)) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1be36cd2..1b2d31bc 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -2,6 +2,7 @@ Hi (future) collaborator! + **Table of Contents** - [Where to start?][1] @@ -66,7 +67,6 @@ Refer to `./docs/README.md` for more information `npm run release` will guide you through the release process. Note that you have to use `npm` and not `yarn` for this one otherwise it won't deploy to npm. - [1]: #where-to-start [2]: #development-workflow [3]: #requirements diff --git a/docs/package.json b/docs/package.json index 31ade090..7ea3f806 100644 --- a/docs/package.json +++ b/docs/package.json @@ -63,9 +63,9 @@ "remark-preset-lint-markdown-style-guide": "2.1.2", "remark-preset-lint-recommended": "3.0.2", "remark-reference-links": "4.0.2", - "stylelint": "9.6.0", + "stylelint": "9.7.1", "stylelint-csstree-validator": "1.3.0", - "tailwindcss": "0.6.6", + "tailwindcss": "0.7.0", "textlint": "11.0.1", "textlint-rule-alex": "1.3.1", "textlint-rule-common-misspellings": "1.0.1", diff --git a/docs/yarn.lock b/docs/yarn.lock index e2944053..6b9c9ef7 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -45,7 +45,7 @@ dependencies: "@babel/highlight" "^7.0.0" -"@babel/core@7.1.2", "@babel/core@^7.0.0": +"@babel/core@7.1.2", "@babel/core@^7.1.2": version "7.1.2" resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.1.2.tgz#f8d2a9ceb6832887329a7b60f9d035791400ba4e" integrity sha512-IFeSSnjXdhDaoysIlev//UzHZbdEmm7D0EIH2qtse9xK7mXEZQpYjs2P00XlP1qYsYvid79p+Zgg6tz1mp6iVw== @@ -1225,6 +1225,18 @@ autoprefixer@8.6.5: postcss "^6.0.23" postcss-value-parser "^3.2.3" +autoprefixer@^7.1.6: + version "7.2.6" + resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-7.2.6.tgz#256672f86f7c735da849c4f07d008abb056067dc" + integrity sha512-Iq8TRIB+/9eQ8rbGhcP7ct5cYb/3qjNYAR2SnzLCEcwF6rvVOax8+9+fccgXk4bEhQGjOZd5TLhsksmAdsbGqQ== + dependencies: + browserslist "^2.11.3" + caniuse-lite "^1.0.30000805" + normalize-range "^0.1.2" + num2fraction "^1.2.2" + postcss "^6.0.17" + postcss-value-parser "^3.2.3" + autoprefixer@^9.0.0: version "9.1.0" resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-9.1.0.tgz#566a70d1148046b96b31efa08090f1999ffb6d8c" @@ -1263,6 +1275,13 @@ babel-eslint@8.2.6, babel-eslint@^8.2.3: eslint-scope "3.7.1" eslint-visitor-keys "^1.0.0" +babel-extract-comments@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/babel-extract-comments/-/babel-extract-comments-1.0.0.tgz#0a2aedf81417ed391b85e18b4614e693a0351a21" + integrity sha512-qWWzi4TlddohA91bFwgt6zO/J0X+io7Qp184Fw0m2JYRSTZnJbFR8+07KmzudHCZgOiKRCrjhylwv9Xd8gfhVQ== + dependencies: + babylon "^6.18.0" + babel-plugin-dynamic-import-node-sync@2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/babel-plugin-dynamic-import-node-sync/-/babel-plugin-dynamic-import-node-sync-2.0.1.tgz#698be7a91ffcdab2986027ed6575b162560d4384" @@ -1270,6 +1289,19 @@ babel-plugin-dynamic-import-node-sync@2.0.1: dependencies: "@babel/plugin-syntax-dynamic-import" "^7.0.0-beta.39" +babel-plugin-syntax-object-rest-spread@^6.8.0: + version "6.13.0" + resolved "https://registry.yarnpkg.com/babel-plugin-syntax-object-rest-spread/-/babel-plugin-syntax-object-rest-spread-6.13.0.tgz#fd6536f2bce13836ffa3a5458c4903a597bb3bf5" + integrity sha1-/WU28rzhODb/o6VFjEkDpZe7O/U= + +babel-plugin-transform-object-rest-spread@^6.26.0: + version "6.26.0" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-object-rest-spread/-/babel-plugin-transform-object-rest-spread-6.26.0.tgz#0f36692d50fef6b7e2d4b3ac1478137a963b7b06" + integrity sha1-DzZpLVD+9rfi1LOsFHgTepY7ewY= + dependencies: + babel-plugin-syntax-object-rest-spread "^6.8.0" + babel-runtime "^6.26.0" + babel-runtime@^6.26.0, babel-runtime@^6.9.2: version "6.26.0" resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.26.0.tgz#965c7058668e82b55d7bfe04ff2337bc8b5647fe" @@ -1404,6 +1436,14 @@ braces@^2.3.0, braces@^2.3.1: split-string "^3.0.2" to-regex "^3.0.1" +browserslist@^2.11.3: + version "2.11.3" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-2.11.3.tgz#fe36167aed1bbcde4827ebfe71347a2cc70b99b2" + integrity sha512-yWu5cXT7Av6mVwzWc8lMsJMHWn4xyjSuGYi4IozbVTLUOEYPSagUB8kiMDUHA1fS3zjr8nkxkn9jdvug4BBRmA== + dependencies: + caniuse-lite "^1.0.30000792" + electron-to-chromium "^1.3.30" + browserslist@^3.2.8: version "3.2.8" resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-3.2.8.tgz#b0005361d6471f0f5952797a76fc985f1f978fc6" @@ -1453,6 +1493,11 @@ builtin-modules@^1.0.0: resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-1.1.1.tgz#270f076c5a72c02f5b65a47df94c5fe3a278892f" integrity sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8= +bytes@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.0.0.tgz#d32815404d689699f85a4ea4fa8755dd13a96048" + integrity sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg= + cache-base@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/cache-base/-/cache-base-1.0.1.tgz#0a7f46416831c8b662ee36fe4e7c59d76f666ab2" @@ -1522,6 +1567,11 @@ camelcase@^4.0.0, camelcase@^4.1.0: resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-4.1.0.tgz#d545635be1e33c542649c69173e5de6acfae34dd" integrity sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0= +caniuse-lite@^1.0.30000792, caniuse-lite@^1.0.30000805: + version "1.0.30000904" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000904.tgz#4445d00da859a0e0ae6dbb2876c545f3324f6c74" + integrity sha512-M4sXvogCoY5Fp6fuXIaQG/MIexlEFQ3Lgwban+KlqiQUbUIkSmjAB8ZJIP79aj2cdqz2F1Lb+Z+5GwHvCrbLtg== + caniuse-lite@^1.0.30000844, caniuse-lite@^1.0.30000864, caniuse-lite@^1.0.30000865, caniuse-lite@^1.0.30000872: version "1.0.30000874" resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000874.tgz#a641b1f1c420d58d9b132920ef6ba87bbdcd2223" @@ -1790,7 +1840,7 @@ commander@2.15.1: resolved "https://registry.yarnpkg.com/commander/-/commander-2.15.1.tgz#df46e867d0fc2aec66a34662b406a9ccafff5b0f" integrity sha512-VlfT9F3V0v+jr4yxPc5gg9s62/fIVWsd2Bk2iD435um1NlGMYdVCq+MjcXnhYq2icNOizHr1kK+5TI6H0Hy0ag== -commander@^2.11.0, commander@^2.8.1: +commander@^2.8.1: version "2.17.1" resolved "https://registry.yarnpkg.com/commander/-/commander-2.17.1.tgz#bd77ab7de6de94205ceacc72f1716d29f20a77bf" integrity sha512-wPMUt6FnH2yzG95SA6mzjQOEKUU3aLaDEmzs1ti+1E9h+CsrZghRlqEM/EJ4KscsQVG8uNN4uVreUeT8+drlgg== @@ -2226,6 +2276,11 @@ ee-first@1.1.1: resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0= +electron-to-chromium@^1.3.30: + version "1.3.83" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.83.tgz#74584eb0972bb6777811c5d68d988c722f5e6666" + integrity sha512-DqJoDarxq50dcHsOOlMLNoy+qQitlMNbYb6wwbE0oUw2veHdRkpNrhmngiUYKMErdJ8SJ48rpJsZTQgy5SoEAA== + electron-to-chromium@^1.3.47, electron-to-chromium@^1.3.52: version "1.3.55" resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.55.tgz#f150e10b20b77d9d41afcca312efe0c3b1a7fdce" @@ -2551,6 +2606,13 @@ expand-range@^1.8.1: dependencies: fill-range "^2.1.0" +expand-tilde@^2.0.0, expand-tilde@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/expand-tilde/-/expand-tilde-2.0.2.tgz#97e801aa052df02454de46b02bf621642cdc8502" + integrity sha1-l+gBqgUt8CRU3kawK/YhZCzchQI= + dependencies: + homedir-polyfill "^1.0.1" + extend-shallow@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-2.0.1.tgz#51af7d614ad9a9f610ea1bafbb989d6b1c56890f" @@ -3028,6 +3090,26 @@ global-dirs@^0.1.0: dependencies: ini "^1.3.4" +global-modules@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/global-modules/-/global-modules-1.0.0.tgz#6d770f0eb523ac78164d72b5e71a8877265cc3ea" + integrity sha512-sKzpEkf11GpOFuw0Zzjzmt4B4UZwjOcG757PPvrfhxcLFbq0wpsgpOqxpxtxFiCG4DtG93M6XRVbF2oGdev7bg== + dependencies: + global-prefix "^1.0.1" + is-windows "^1.0.1" + resolve-dir "^1.0.0" + +global-prefix@^1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/global-prefix/-/global-prefix-1.0.2.tgz#dbf743c6c14992593c655568cb66ed32c0122ebe" + integrity sha1-2/dDxsFJklk8ZVVoy2btMsASLr4= + dependencies: + expand-tilde "^2.0.2" + homedir-polyfill "^1.0.1" + ini "^1.3.4" + is-windows "^1.0.1" + which "^1.2.14" + globals@^11.0.1, globals@^11.1.0: version "11.7.0" resolved "https://registry.yarnpkg.com/globals/-/globals-11.7.0.tgz#a583faa43055b1aca771914bf68258e2fc125673" @@ -3751,7 +3833,7 @@ is-whitespace-character@^1.0.0: resolved "https://registry.yarnpkg.com/is-whitespace-character/-/is-whitespace-character-1.0.2.tgz#ede53b4c6f6fb3874533751ec9280d01928d03ed" integrity sha512-SzM+T5GKUCtLhlHFKt2SDAX2RFzfS6joT91F2/WSi9LxgFdsnhfPK/UIA+JhRR2xuyLdrCys2PiFDrtn1fU5hQ== -is-windows@^1.0.2: +is-windows@^1.0.1, is-windows@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d" integrity sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA== @@ -3924,10 +4006,10 @@ kind-of@^6.0.0, kind-of@^6.0.2: resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.2.tgz#01146b36a6218e64e58f3a8d66de5d7fc6f6d051" integrity sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA== -known-css-properties@^0.8.0: - version "0.8.0" - resolved "https://registry.yarnpkg.com/known-css-properties/-/known-css-properties-0.8.0.tgz#2f62aaab90ece0c788d0c49e08c1e5d9b689238d" - integrity sha512-pku5zscbIr9YsA6lFU1nhFGSAXsdJtEQ2WilCL40d0YCoDofBlNohMUq32wyt7tpiiaZ09GKyLZFrB1ijx6+WA== +known-css-properties@^0.9.0: + version "0.9.0" + resolved "https://registry.yarnpkg.com/known-css-properties/-/known-css-properties-0.9.0.tgz#28f8a7134cfa3b0aa08b1e5edf64a57f64fc23af" + integrity sha512-2G/A/8XPhH6MmuVgl079wYsgdqfXE3cfm62txk/ajS4wvRWo6tEHcgQCJCHOOy12Fse1Sxlbf7/IJBpR9hnVew== latest-version@^3.0.0: version "3.1.0" @@ -4059,6 +4141,11 @@ lodash.intersection@^4.4.0: resolved "https://registry.yarnpkg.com/lodash.intersection/-/lodash.intersection-4.4.0.tgz#0a11ba631d0e95c23c7f2f4cbb9a692ed178e705" integrity sha1-ChG6Yx0OlcI8fy9Mu5ppLtF45wU= +lodash.toarray@^4.4.0: + version "4.4.0" + resolved "https://registry.yarnpkg.com/lodash.toarray/-/lodash.toarray-4.4.0.tgz#24c4bfcd6b2fba38bfd0594db1179d8e9b656561" + integrity sha1-JMS/zWsvuji/0FlNsRedjptlZWE= + lodash@4.17.11: version "4.17.11" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.11.tgz#b39ea6229ef607ecd89e2c8df12536891cac9b8d" @@ -4539,6 +4626,13 @@ no-cliches@^0.1.0: resolved "https://registry.yarnpkg.com/no-cliches/-/no-cliches-0.1.0.tgz#f4eb81a551fecde813f8c611e35e64a5118dc38c" integrity sha1-9OuBpVH+zegT+MYR415kpRGNw4w= +node-emoji@^1.8.1: + version "1.8.1" + resolved "https://registry.yarnpkg.com/node-emoji/-/node-emoji-1.8.1.tgz#6eec6bfb07421e2148c75c6bba72421f8530a826" + integrity sha512-+ktMAh1Jwas+TnGodfCfjUbJKoANqPaJFN0z0iqh41eqD8dvguNzcitVSBSVK1pidz0AqGbLKcoVuVLRVZ/aVg== + dependencies: + lodash.toarray "^4.4.0" + node-modules-regexp@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/node-modules-regexp/-/node-modules-regexp-1.0.0.tgz#8d9dbe28964a4ac5712e9131642107c71e90ec40" @@ -5179,21 +5273,21 @@ postcss-js@^1.0.1: camelcase-css "^1.0.1" postcss "^6.0.11" -postcss-jsx@^0.34.0: - version "0.34.0" - resolved "https://registry.yarnpkg.com/postcss-jsx/-/postcss-jsx-0.34.0.tgz#5a122af914f911fab4a9b8fcf3adc73c2dfe1bdd" - integrity sha512-UJISlEGWH/LeMYudAwq9GeqfyPW9AeRq87GHOlbquxOIakKr0Aqu6l9Cx0Fg20f3A9bKJcX1NGX4/xzIs7PlZQ== +postcss-jsx@^0.35.0: + version "0.35.0" + resolved "https://registry.yarnpkg.com/postcss-jsx/-/postcss-jsx-0.35.0.tgz#1d6cb82393994cdc7e9aa421648e3f0f3f98209b" + integrity sha512-AU2/9QDmHYJRxTiniMt2bJ9fwCzVF6n00VnR4gdnFGHeXRW2mGwoptpuPgYjfivkdI8LlNIuo+w8TyS6a4JhJw== dependencies: - "@babel/core" "^7.0.0" + "@babel/core" "^7.1.2" optionalDependencies: postcss-styled ">=0.34.0" -postcss-less@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/postcss-less/-/postcss-less-2.0.0.tgz#5d190b8e057ca446d60fe2e2587ad791c9029fb8" - integrity sha512-pPNsVnpCB13nBMOcl5GVh8JGmB0JGFjqkLUDzKdVpptFFKEe9wFdEzvh2j4lD2AD+7qcrUfw9Ta+oi5+Fw7jjQ== +postcss-less@^3.0.1: + version "3.0.2" + resolved "https://registry.yarnpkg.com/postcss-less/-/postcss-less-3.0.2.tgz#9cf94e2cc90f8566858939e278fb9f0b713908df" + integrity sha512-+JBOampmDnuaf4w8OIEqkCiF+sOm/nWukDsC+1FTrYcIstptOISzGpYZk24Qh+Ewlmzmi53sRyiTbiGvMCDRwA== dependencies: - postcss "^5.2.16" + postcss "^7.0.3" postcss-markdown@^0.34.0: version "0.34.0" @@ -5303,7 +5397,7 @@ postcss@6.0.22: source-map "^0.6.1" supports-color "^5.4.0" -postcss@6.0.23, postcss@^6.0.1, postcss@^6.0.11, postcss@^6.0.14, postcss@^6.0.22, postcss@^6.0.23, postcss@^6.0.9, postcss@^6.x: +postcss@6.0.23, postcss@^6.0.1, postcss@^6.0.11, postcss@^6.0.14, postcss@^6.0.17, postcss@^6.0.22, postcss@^6.0.23, postcss@^6.0.9, postcss@^6.x: version "6.0.23" resolved "https://registry.yarnpkg.com/postcss/-/postcss-6.0.23.tgz#61c82cc328ac60e677645f979054eb98bc0e3324" integrity sha512-soOk1h6J3VMTZtVeVpv15/Hpdl2cBLX3CAw4TAbkpTJiNPk9YP/zWcD1ND+xEtvyuuvKzbxliTOIyvkSeSJ6ag== @@ -5312,7 +5406,7 @@ postcss@6.0.23, postcss@^6.0.1, postcss@^6.0.11, postcss@^6.0.14, postcss@^6.0.2 source-map "^0.6.1" supports-color "^5.4.0" -postcss@^5.0.8, postcss@^5.2.16, postcss@^5.2.4: +postcss@^5.0.8, postcss@^5.2.4: version "5.2.18" resolved "https://registry.yarnpkg.com/postcss/-/postcss-5.2.18.tgz#badfa1497d46244f6390f58b319830d9107853c5" integrity sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg== @@ -5331,6 +5425,15 @@ postcss@^7.0.0, postcss@^7.0.2: source-map "^0.6.1" supports-color "^5.4.0" +postcss@^7.0.3: + version "7.0.5" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-7.0.5.tgz#70e6443e36a6d520b0fd4e7593fcca3635ee9f55" + integrity sha512-HBNpviAUFCKvEh7NZhw1e8MBPivRszIiUnhrJ+sBFVSYSqubrzwX3KG51mYgcRHX8j/cAgZJedONZcm5jTBdgQ== + dependencies: + chalk "^2.4.1" + source-map "^0.6.1" + supports-color "^5.5.0" + prelude-ls@~1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" @@ -5351,6 +5454,11 @@ prettier@1.14.3: resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.14.3.tgz#90238dd4c0684b7edce5f83b0fb7328e48bd0895" integrity sha512-qZDVnCrnpsRJJq5nSsiHCE3BYMED2OtsI+cmzIzF1QIfqm5ALf8tEJcO27zV1gKNKRPdhjO0dNWnrzssDQ1tFg== +pretty-hrtime@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/pretty-hrtime/-/pretty-hrtime-1.0.3.tgz#b7e3ea42435a4c9b2759d99e0f201eb195802ee1" + integrity sha1-t+PqQkNaTJsnWdmeDyAesZWALuE= + private@^0.1.6: version "0.1.8" resolved "https://registry.yarnpkg.com/private/-/private-0.1.8.tgz#2381edb3689f7a53d653190060fcf822d2f368ff" @@ -6546,6 +6654,14 @@ require-uncached@^1.0.3: caller-path "^0.1.0" resolve-from "^1.0.0" +resolve-dir@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/resolve-dir/-/resolve-dir-1.0.1.tgz#79a40644c362be82f26effe739c9bb5382046f43" + integrity sha1-eaQGRMNivoLybv/nOcm7U4IEb0M= + dependencies: + expand-tilde "^2.0.0" + global-modules "^1.0.0" + resolve-from@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-1.0.1.tgz#26cbfe935d1aeeeabb29bc3fe5aeb01e93d44226" @@ -7106,6 +7222,14 @@ strip-bom@^3.0.0: resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3" integrity sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM= +strip-comments@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/strip-comments/-/strip-comments-1.0.2.tgz#82b9c45e7f05873bee53f37168af930aa368679d" + integrity sha512-kL97alc47hoyIQSV165tTt9rG5dn4w1dNnBhOQ3bOU1Nc1hel09jnXANaHJ7vzHLd4Ju8kseDGzlev96pghLFw== + dependencies: + babel-extract-comments "^1.0.0" + babel-plugin-transform-object-rest-spread "^6.26.0" + strip-eof@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/strip-eof/-/strip-eof-1.0.0.tgz#bb43ff5598a6eb05d89b59fcd129c983313606bf" @@ -7159,10 +7283,10 @@ stylelint-csstree-validator@1.3.0: dependencies: css-tree "1.0.0-alpha.29" -stylelint@9.6.0: - version "9.6.0" - resolved "https://registry.yarnpkg.com/stylelint/-/stylelint-9.6.0.tgz#f0b366f33b6ccf3e5096d60722ed27b6470b41d8" - integrity sha512-Q0UcbFPRiC+3FejNyIBAWbMuKwZNAC0kvZtGQbjwA9LMKDod6xMlBsiIigQxmE3ywpmTeFj3mkG5Jj36EfC7XA== +stylelint@9.7.1: + version "9.7.1" + resolved "https://registry.yarnpkg.com/stylelint/-/stylelint-9.7.1.tgz#522f8795832a9f7e062e5e4105c0e05fb53f827f" + integrity sha512-w3Xxnm2YElBmNAhmTjkTEyklAU2P+R8QMqDVM3S98zRLNPNLcCRXWzqtYsItbZYHQzSNOa6K20KxPVPfD8SFAw== dependencies: autoprefixer "^9.0.0" balanced-match "^1.0.0" @@ -7172,13 +7296,14 @@ stylelint@9.6.0: execall "^1.0.0" file-entry-cache "^2.0.0" get-stdin "^6.0.0" + global-modules "^1.0.0" globby "^8.0.0" globjoin "^0.1.4" html-tags "^2.0.0" ignore "^4.0.0" import-lazy "^3.1.0" imurmurhash "^0.1.4" - known-css-properties "^0.8.0" + known-css-properties "^0.9.0" leven "^2.1.0" lodash "^4.17.4" log-symbols "^2.0.0" @@ -7189,8 +7314,8 @@ stylelint@9.6.0: pify "^4.0.0" postcss "^7.0.0" postcss-html "^0.34.0" - postcss-jsx "^0.34.0" - postcss-less "^2.0.0" + postcss-jsx "^0.35.0" + postcss-less "^3.0.1" postcss-markdown "^0.34.0" postcss-media-query-parser "^0.2.3" postcss-reporter "^6.0.0" @@ -7251,6 +7376,13 @@ supports-color@^5.3.0, supports-color@^5.4.0: dependencies: has-flag "^3.0.0" +supports-color@^5.5.0: + version "5.5.0" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" + integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== + dependencies: + has-flag "^3.0.0" + svg-tags@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/svg-tags/-/svg-tags-1.0.0.tgz#58f71cee3bd519b59d4b2a843b6c7de64ac04764" @@ -7290,21 +7422,26 @@ table@^5.0.0: slice-ansi "1.0.0" string-width "^2.1.1" -tailwindcss@0.6.6: - version "0.6.6" - resolved "https://registry.yarnpkg.com/tailwindcss/-/tailwindcss-0.6.6.tgz#a8c8a8bf7d230c8bc10031672923d84af29cd34d" - integrity sha512-g6xb7kcPIom85K7ak16AUBrwN3tPdhrQoKJ7Jl7OJ3zBOQNHthquZ1/q+0V6fj9jsC66jrDCQxn72DIjK4aYgg== +tailwindcss@0.7.0: + version "0.7.0" + resolved "https://registry.yarnpkg.com/tailwindcss/-/tailwindcss-0.7.0.tgz#8c893ed8194ffe98ba4d816962700299a734ea1a" + integrity sha512-zqLmKyvOdXJ979KhZ+dy1mm2No1axjydscW+mbrz46ueOlbg+qhE4MuN3Chfzmv4XTwxW7LnPE2Eg94jyHs5Xg== dependencies: - commander "^2.11.0" + autoprefixer "^7.1.6" + bytes "^3.0.0" + chalk "^2.4.1" css.escape "^1.5.1" fs-extra "^4.0.2" lodash "^4.17.5" + node-emoji "^1.8.1" perfectionist "^2.4.0" postcss "^6.0.9" postcss-functions "^3.0.0" postcss-js "^1.0.1" postcss-nested "^3.0.0" postcss-selector-parser "^3.1.1" + pretty-hrtime "^1.0.3" + strip-comments "^1.0.2" tar@^4: version "4.4.6" @@ -8026,7 +8163,7 @@ which-module@^2.0.0: resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a" integrity sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho= -which@^1.2.9: +which@^1.2.14, which@^1.2.9: version "1.3.1" resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ== diff --git a/package.json b/package.json index 9203fae1..78dcf1f3 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,8 @@ "docs:serve": "cd ./docs && yarn serve", "docs:deploy": "cd ./docs && yarn deploy", "lint": "./scripts/lint", + "format:scss": "prettier --write ./src/**/*.scss", + "format:md": "prettier --write '**/*.md'", "release": "./scripts/release", "release:beta": "./scripts/release-beta", "serve": "./scripts/serve", @@ -46,7 +48,7 @@ "babel-plugin-rewire": "1.2.0", "babel-preset-env": "1.7.0", "babel-preset-stage-3": "6.24.1", - "conventional-changelog-cli": "2.0.5", + "conventional-changelog-cli": "2.0.11", "cssnano": "4.1.4", "eslint": "5.4.0", "eslint-config-algolia": "13.2.3", @@ -68,7 +70,7 @@ "sinon": "6.3.5", "uglify-js": "3.4.9", "webpack": "3.12.0", - "webpack-cli": "3.1.1" + "webpack-cli": "3.1.2" }, "peerDependencies": {}, "dependencies": { diff --git a/src/styles/_dropdown.scss b/src/styles/_dropdown.scss index 750e76fd..f2dd6bf0 100644 --- a/src/styles/_dropdown.scss +++ b/src/styles/_dropdown.scss @@ -350,6 +350,12 @@ background-color: $code-background; border-radius: 3px; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; +<<<<<<< HEAD +======= + .algolia-docsearch-suggestion--highlight { + background: none; + } +>>>>>>> master } // Rules to display categories and subcategories diff --git a/src/styles/_searchbox.scss b/src/styles/_searchbox.scss index f2274a1c..23cdd3c6 100644 --- a/src/styles/_searchbox.scss +++ b/src/styles/_searchbox.scss @@ -1,4 +1,3 @@ - @function even-px($value) { @if type-of($value) == 'number' { @if (unitless($value)) { @@ -9,7 +8,7 @@ $value: $value * 1.3333 * 1px; } @else if unit($value) == '%' { $value: $value * 16 / 100% * 1px; - }; + } $value: round($value); @if ($value % 2 != 0) { $value: $value + 1; @@ -34,7 +33,7 @@ $icon-position: left, $icon-color: #888, $icon-background: $input-focus-border-color, - $icon-background-opacity: .1, + $icon-background-opacity: 0.1, $icon-clear: 'sbx-icon-clear-1', $icon-clear-size: $font-size / 1.1 ) { @@ -42,12 +41,12 @@ display: inline-block; position: relative; width: $input-width; - height: even-px($input-height)!important; + height: even-px($input-height) !important; white-space: nowrap; box-sizing: border-box; - visibility: visible!important; + visibility: visible !important; - .algolia-autocomplete{ + .algolia-autocomplete { display: block; width: 100%; height: 100%; @@ -63,17 +62,23 @@ &__input { display: inline-block; box-sizing: border-box; - transition: box-shadow .4s ease, background .4s ease; + transition: box-shadow 0.4s ease, background 0.4s ease; border: 0; border-radius: even-px($border-radius); box-shadow: inset 0 0 0 $border-width $input-border-color; background: $input-background !important; padding: 0; - padding-right: if($icon-position == 'right', even-px($input-height) + even-px($icon-clear-size) + 8px, even-px($input-height * .8)) - + if($icon-background-opacity == 0, 0, even-px($font-size)); - padding-left: if($icon-position == 'right', - even-px($font-size / 2) + even-px($border-radius / 2), - even-px($input-height) + if($icon-background-opacity == 0, 0, even-px($font-size * 1.2))); + padding-right: if( + $icon-position == 'right', + even-px($input-height) + even-px($icon-clear-size) + 8px, + even-px($input-height * 0.8) + ) + if($icon-background-opacity == 0, 0, even-px($font-size)); + padding-left: if( + $icon-position == 'right', + even-px($font-size / 2) + even-px($border-radius / 2), + even-px($input-height) + + if($icon-background-opacity == 0, 0, even-px($font-size * 1.2)) + ); width: 100%; height: 100%; vertical-align: middle; @@ -102,7 +107,6 @@ &::placeholder { color: $placeholder-color; } - } &__submit { @@ -110,10 +114,15 @@ top: 0; margin: 0; border: 0; - border-radius: if($icon-position == 'right', 0 $border-radius $border-radius 0, $border-radius 0 0 $border-radius); + border-radius: if( + $icon-position == 'right', + 0 $border-radius $border-radius 0, + $border-radius 0 0 $border-radius + ); background-color: rgba($icon-background, $icon-background-opacity); padding: 0; - width: even-px($input-height) + if($icon-background-opacity == 0, 0, even-px($font-size / 2)); + width: even-px($input-height) + + if($icon-background-opacity == 0, 0, even-px($font-size / 2)); height: 100%; vertical-align: middle; text-align: center; @@ -157,9 +166,12 @@ display: block; position: absolute; top: (even-px($input-height) - even-px($icon-clear-size)) / 2 - 4px; - right: if($icon-position == 'right', - even-px($input-height) + if($icon-background-opacity == 0, 0 , even-px($font-size)), - (even-px($input-height) - even-px($icon-clear-size)) / 2 - 4px); + right: if( + $icon-position == 'right', + even-px($input-height) + + if($icon-background-opacity == 0, 0, even-px($font-size)), + (even-px($input-height) - even-px($icon-clear-size)) / 2 - 4px + ); margin: 0; border: 0; background: none; @@ -167,7 +179,7 @@ padding: 0; font-size: inherit; user-select: none; - fill: rgba(#000, .5); + fill: rgba(#000, 0.5); &.hide { display: none; @@ -188,10 +200,10 @@ &__input:valid ~ &__reset { display: block; animation-name: sbx-reset-in; - animation-duration: .15s; + animation-duration: 0.15s; } - @at-root{ + @at-root { @keyframes sbx-reset-in { 0% { transform: translate3d(-20%, 0, 0); diff --git a/src/styles/_variables.scss b/src/styles/_variables.scss index 69ea58e1..93a2839d 100644 --- a/src/styles/_variables.scss +++ b/src/styles/_variables.scss @@ -1,26 +1,26 @@ // SEARCHBOX $searchbox-config: ( input-width: 200px, - input-height: 32px, - border-width: 1px, - border-radius: 16px, - input-border-color: #CCCCCC, - input-focus-border-color: #AAAAAA, - input-background: #FFFFFF, - input-focus-background: #FFFFFF, - font-size: 12px, - placeholder-color: #AAAAAA, - icon-size: 14px, - icon-position: left, - icon-color: #6D7E96, - icon-background: #458EE1, - icon-background-opacity: 0, - icon-clear-size: 8px + input-height: 32px, + border-width: 1px, + border-radius: 16px, + input-border-color: #cccccc, + input-focus-border-color: #aaaaaa, + input-background: #ffffff, + input-focus-background: #ffffff, + font-size: 12px, + placeholder-color: #aaaaaa, + icon-size: 14px, + icon-position: left, + icon-color: #6d7e96, + icon-background: #458ee1, + icon-background-opacity: 0, + icon-clear-size: 8px ) !default; // DROPDOWN $dropdown-config: ( - main-color: #458EE1, + main-color: #458ee1, layout-type: normal, layout-width: normal, layout-alignment: align, @@ -32,14 +32,14 @@ $dropdown-config: ( branding-position: bottom, spacing: normal, include-desc: yes, - background-category-header: #ffffff, + background-category-header: #ffffff, font-size: normal, - header-color: #33363D, - title-color: #02060C, - subtitle-color: #A4A7AE, - text-color: #63676D, - highlight-color: #3881FF, - highlight-opacity: .1, + header-color: #33363d, + title-color: #02060c, + subtitle-color: #a4a7ae, + text-color: #63676d, + highlight-color: #3881ff, + highlight-opacity: 0.1, highlight-type: underline ) !default; diff --git a/src/styles/main.scss b/src/styles/main.scss index 34b24fa6..a9f8004a 100644 --- a/src/styles/main.scss +++ b/src/styles/main.scss @@ -1,6 +1,6 @@ -@import "variables"; -@import "dropdown"; -@import "searchbox"; +@import 'variables'; +@import 'dropdown'; +@import 'searchbox'; $searchbox: true !default; diff --git a/yarn.lock b/yarn.lock index 3db2f415..aa38ff18 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1710,100 +1710,94 @@ contra@^1.6.8: atoa "1.0.0" ticky "1.0.1" -conventional-changelog-angular@^1.6.6: - version "1.6.6" - resolved "https://registry.yarnpkg.com/conventional-changelog-angular/-/conventional-changelog-angular-1.6.6.tgz#b27f2b315c16d0a1f23eb181309d0e6a4698ea0f" +conventional-changelog-angular@^5.0.2: + version "5.0.2" + resolved "https://registry.yarnpkg.com/conventional-changelog-angular/-/conventional-changelog-angular-5.0.2.tgz#39d945635e03b6d0c9d4078b1df74e06163dc66a" dependencies: compare-func "^1.3.1" q "^1.5.1" -conventional-changelog-atom@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/conventional-changelog-atom/-/conventional-changelog-atom-2.0.0.tgz#cd6453469cfb8fc345af3391b92990251c95558b" +conventional-changelog-atom@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/conventional-changelog-atom/-/conventional-changelog-atom-2.0.1.tgz#dc88ce650ffa9ceace805cbe70f88bfd0cb2c13a" dependencies: q "^1.5.1" -conventional-changelog-cli@2.0.5: - version "2.0.5" - resolved "https://registry.yarnpkg.com/conventional-changelog-cli/-/conventional-changelog-cli-2.0.5.tgz#37c2477ea43522a5f63e52ad977d8c9e1f863211" +conventional-changelog-cli@2.0.11: + version "2.0.11" + resolved "https://registry.yarnpkg.com/conventional-changelog-cli/-/conventional-changelog-cli-2.0.11.tgz#18210bfcd61660140e3160e6d00d68abe260e493" dependencies: add-stream "^1.0.0" - conventional-changelog "^2.0.3" + conventional-changelog "^3.0.5" lodash "^4.2.1" meow "^4.0.0" tempfile "^1.1.1" -conventional-changelog-codemirror@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/conventional-changelog-codemirror/-/conventional-changelog-codemirror-2.0.0.tgz#bfb61ccabacdd3bf8425a5cbe92276c86c5a0c1e" +conventional-changelog-codemirror@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/conventional-changelog-codemirror/-/conventional-changelog-codemirror-2.0.1.tgz#acc046bc0971460939a0cc2d390e5eafc5eb30da" dependencies: q "^1.5.1" -conventional-changelog-core@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/conventional-changelog-core/-/conventional-changelog-core-3.1.0.tgz#96a81bb3301b4b2a3dc2851cc54c5fb674ac1942" +conventional-changelog-core@^3.1.5: + version "3.1.5" + resolved "https://registry.yarnpkg.com/conventional-changelog-core/-/conventional-changelog-core-3.1.5.tgz#c2edf928539308b54fe1b90a2fc731abc021852c" dependencies: - conventional-changelog-writer "^4.0.0" - conventional-commits-parser "^3.0.0" + conventional-changelog-writer "^4.0.2" + conventional-commits-parser "^3.0.1" dateformat "^3.0.0" get-pkg-repo "^1.0.0" - git-raw-commits "^2.0.0" + git-raw-commits "2.0.0" git-remote-origin-url "^2.0.0" - git-semver-tags "^2.0.0" + git-semver-tags "^2.0.2" lodash "^4.2.1" normalize-package-data "^2.3.5" q "^1.5.1" - read-pkg "^1.1.0" - read-pkg-up "^1.0.1" + read-pkg "^3.0.0" + read-pkg-up "^3.0.0" through2 "^2.0.0" -conventional-changelog-ember@^2.0.1: +conventional-changelog-ember@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/conventional-changelog-ember/-/conventional-changelog-ember-2.0.2.tgz#284ffdea8c83ea8c210b65c5b4eb3e5cc0f4f51a" + dependencies: + q "^1.5.1" + +conventional-changelog-eslint@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/conventional-changelog-eslint/-/conventional-changelog-eslint-3.0.1.tgz#f65e0e7f63dc09c044244b8785313a602e628002" + dependencies: + q "^1.5.1" + +conventional-changelog-express@^2.0.1: version "2.0.1" - resolved "https://registry.yarnpkg.com/conventional-changelog-ember/-/conventional-changelog-ember-2.0.1.tgz#5a5595b9ed50a6daca4bd3508a47ffe4a1a7152f" + resolved "https://registry.yarnpkg.com/conventional-changelog-express/-/conventional-changelog-express-2.0.1.tgz#fea2231d99a5381b4e6badb0c1c40a41fcacb755" dependencies: q "^1.5.1" -conventional-changelog-eslint@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/conventional-changelog-eslint/-/conventional-changelog-eslint-3.0.0.tgz#cc5376cb29a622c1ade197e155bf054640c05cd3" +conventional-changelog-jquery@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/conventional-changelog-jquery/-/conventional-changelog-jquery-3.0.4.tgz#7eb598467b83db96742178e1e8d68598bffcd7ae" dependencies: q "^1.5.1" -conventional-changelog-express@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/conventional-changelog-express/-/conventional-changelog-express-2.0.0.tgz#d3d020118fbfce21a75e025ec097101e355a2361" - dependencies: - q "^1.5.1" - -conventional-changelog-jquery@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/conventional-changelog-jquery/-/conventional-changelog-jquery-0.1.0.tgz#0208397162e3846986e71273b6c79c5b5f80f510" - dependencies: - q "^1.4.1" - -conventional-changelog-jscs@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/conventional-changelog-jscs/-/conventional-changelog-jscs-0.1.0.tgz#0479eb443cc7d72c58bf0bcf0ef1d444a92f0e5c" - dependencies: - q "^1.4.1" - -conventional-changelog-jshint@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/conventional-changelog-jshint/-/conventional-changelog-jshint-2.0.0.tgz#7a038330f485082e489f47f5d07539036949f87d" +conventional-changelog-jshint@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/conventional-changelog-jshint/-/conventional-changelog-jshint-2.0.1.tgz#11c0e8283abf156a4ff78e89be6fdedf9bd72202" dependencies: compare-func "^1.3.1" q "^1.5.1" -conventional-changelog-preset-loader@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-2.0.1.tgz#d134734e0cc1b91b88b30586c5991f31442029f1" +conventional-changelog-preset-loader@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-2.0.2.tgz#81d1a07523913f3d17da3a49f0091f967ad345b0" -conventional-changelog-writer@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/conventional-changelog-writer/-/conventional-changelog-writer-4.0.0.tgz#3ed983c8ef6a3aa51fe44e82c9c75e86f1b5aa42" +conventional-changelog-writer@^4.0.2: + version "4.0.2" + resolved "https://registry.yarnpkg.com/conventional-changelog-writer/-/conventional-changelog-writer-4.0.2.tgz#eb493ed84269e7a663da36e49af51c54639c9a67" dependencies: compare-func "^1.3.1" - conventional-commits-filter "^2.0.0" + conventional-commits-filter "^2.0.1" dateformat "^3.0.0" handlebars "^4.0.2" json-stringify-safe "^5.0.1" @@ -1813,32 +1807,31 @@ conventional-changelog-writer@^4.0.0: split "^1.0.0" through2 "^2.0.0" -conventional-changelog@^2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/conventional-changelog/-/conventional-changelog-2.0.3.tgz#779cff582c0091d2b24574003eaa82ef5ddf653d" +conventional-changelog@^3.0.5: + version "3.0.5" + resolved "https://registry.yarnpkg.com/conventional-changelog/-/conventional-changelog-3.0.5.tgz#660a61c1c5c9c9ba967ff3d2f5e7e9d7e0680be6" dependencies: - conventional-changelog-angular "^1.6.6" - conventional-changelog-atom "^2.0.0" - conventional-changelog-codemirror "^2.0.0" - conventional-changelog-core "^3.1.0" - conventional-changelog-ember "^2.0.1" - conventional-changelog-eslint "^3.0.0" - conventional-changelog-express "^2.0.0" - conventional-changelog-jquery "^0.1.0" - conventional-changelog-jscs "^0.1.0" - conventional-changelog-jshint "^2.0.0" - conventional-changelog-preset-loader "^2.0.1" + conventional-changelog-angular "^5.0.2" + conventional-changelog-atom "^2.0.1" + conventional-changelog-codemirror "^2.0.1" + conventional-changelog-core "^3.1.5" + conventional-changelog-ember "^2.0.2" + conventional-changelog-eslint "^3.0.1" + conventional-changelog-express "^2.0.1" + conventional-changelog-jquery "^3.0.4" + conventional-changelog-jshint "^2.0.1" + conventional-changelog-preset-loader "^2.0.2" -conventional-commits-filter@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/conventional-commits-filter/-/conventional-commits-filter-2.0.0.tgz#a0ce1d1ff7a1dd7fab36bee8e8256d348d135651" +conventional-commits-filter@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/conventional-commits-filter/-/conventional-commits-filter-2.0.1.tgz#55a135de1802f6510b6758e0a6aa9e0b28618db3" dependencies: is-subset "^0.1.1" modify-values "^1.0.0" -conventional-commits-parser@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/conventional-commits-parser/-/conventional-commits-parser-3.0.0.tgz#7f604549a50bd8f60443fbe515484b1c2f06a5c4" +conventional-commits-parser@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/conventional-commits-parser/-/conventional-commits-parser-3.0.1.tgz#fe1c49753df3f98edb2285a5e485e11ffa7f2e4c" dependencies: JSONStream "^1.0.4" is-text-path "^1.0.0" @@ -3183,7 +3176,7 @@ getpass@^0.1.1: dependencies: assert-plus "^1.0.0" -git-raw-commits@^2.0.0: +git-raw-commits@2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/git-raw-commits/-/git-raw-commits-2.0.0.tgz#d92addf74440c14bcc5c83ecce3fb7f8a79118b5" dependencies: @@ -3200,9 +3193,9 @@ git-remote-origin-url@^2.0.0: gitconfiglocal "^1.0.0" pify "^2.3.0" -git-semver-tags@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/git-semver-tags/-/git-semver-tags-2.0.0.tgz#c218fd895bdf8e8e02f6bde555b2c3893ac73cd7" +git-semver-tags@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/git-semver-tags/-/git-semver-tags-2.0.2.tgz#f506ec07caade191ac0c8d5a21bdb8131b4934e3" dependencies: meow "^4.0.0" semver "^5.5.0" @@ -6208,7 +6201,7 @@ punycode@^2.1.0: version "2.1.1" resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" -q@^1.1.2, q@^1.4.1, q@^1.5.1: +q@^1.1.2, q@^1.5.1: version "1.5.1" resolved "https://registry.yarnpkg.com/q/-/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7" @@ -6289,7 +6282,7 @@ read-pkg-up@^3.0.0: find-up "^2.0.0" read-pkg "^3.0.0" -read-pkg@^1.0.0, read-pkg@^1.1.0: +read-pkg@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-1.1.0.tgz#f5ffaa5ecd29cb31c0474bca7d756b6bb29e3f28" dependencies: @@ -7724,9 +7717,9 @@ webidl-conversions@^4.0.2: version "4.0.2" resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-4.0.2.tgz#a855980b1f0b6b359ba1d5d9fb39ae941faa63ad" -webpack-cli@3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/webpack-cli/-/webpack-cli-3.1.1.tgz#92be3e324c1788208a301172139febb476566262" +webpack-cli@3.1.2: + version "3.1.2" + resolved "https://registry.yarnpkg.com/webpack-cli/-/webpack-cli-3.1.2.tgz#17d7e01b77f89f884a2bbf9db545f0f6a648e746" dependencies: chalk "^2.4.1" cross-spawn "^6.0.5"