Comparing version 1.3.0 to 1.4.0
@@ -9,6 +9,23 @@ # Changelog | ||
## [[v1.3.0]](https://github.com/springload/draftail/releases/tag/v1.3.0) | ||
## [[v1.4.0]](https://github.com/springload/draftail/releases/tag/v1.4.0) | ||
> Documentation: [draftail.org/docs/getting-started](https://www.draftail.org/docs/getting-started) | ||
### Added | ||
- Make it possible to hide buttons with default labels by setting their `label` to `null`. [#442](https://github.com/springload/draftail/pull/442) | ||
### Changed | ||
- Improve the editor props’ JSDoc annotations. [#441](https://github.com/springload/draftail/pull/441) | ||
### Fixed | ||
- Fix empty buttons appearing when providing custom formats without a defined label or icon. [#442](https://github.com/springload/draftail/pull/442) | ||
- Clear save timeout handler when unmounting the editor. [#208](https://github.com/springload/draftail/issues/208), [#443](https://github.com/springload/draftail/pull/443) | ||
## [[v1.3.0]](https://github.com/springload/draftail/releases/tag/v1.3.0) | ||
> Documentation: [draftail.org/docs/1.3.0/getting-started](https://www.draftail.org/docs/1.3.0/getting-started) | ||
🎉 blog post for this release: [Draftail v1.3.0: community improvements, beyond Wagtail](https://www.draftail.org/blog/2019/03/03/draftail-v1-2-0-supporting-modern-experiences). | ||
@@ -15,0 +32,0 @@ |
108
package.json
{ | ||
"name": "draftail", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"description": "📝🍸 A configurable rich text editor built with Draft.js", | ||
@@ -48,18 +48,20 @@ "author": "Springload", | ||
"devDependencies": { | ||
"@babel/core": "^7.1.2", | ||
"@babel/preset-env": "^7.1.0", | ||
"@babel/preset-flow": "^7.0.0", | ||
"@babel/preset-react": "^7.0.0", | ||
"@sentry/browser": "^4.2.3", | ||
"@storybook/addon-viewport": "^5.0.0", | ||
"@storybook/react": "^5.0.0", | ||
"@thibaudcolas/eslint-plugin-cookbook": "^4.0.1", | ||
"@thibaudcolas/stylelint-config-cookbook": "^2.0.1", | ||
"autoprefixer": "^7.1.2", | ||
"babel-eslint": "^10.0.1", | ||
"babel-jest": "^24.1.0", | ||
"babel-loader": "^8.0.4", | ||
"@babel/core": "7.10.5", | ||
"@babel/preset-env": "7.10.4", | ||
"@babel/preset-flow": "7.10.4", | ||
"@babel/preset-react": "7.10.4", | ||
"@sentry/browser": "5.27.4", | ||
"@storybook/addon-storyshots": "5.3.19", | ||
"@storybook/addon-viewport": "5.3.19", | ||
"@storybook/react": "5.3.19", | ||
"@thibaudcolas/eslint-plugin-cookbook": "4.0.1", | ||
"@thibaudcolas/stylelint-config-cookbook": "2.0.1", | ||
"autoprefixer": "10.0.2", | ||
"babel-eslint": "10.0.3", | ||
"babel-jest": "24.1.0", | ||
"babel-plugin-require-context-hook": "1.0.0", | ||
"core-js": "^2.5.1", | ||
"danger": "^4.0.2", | ||
"dotenv": "^6.0.0", | ||
"coveralls": "3.1.0", | ||
"danger": "10.5.3", | ||
"dotenv": "8.2.0", | ||
"draft-convert": "^2.1.4", | ||
@@ -71,42 +73,43 @@ "draft-js": "0.10.5", | ||
"draft-js-side-toolbar-plugin": "^3.0.1", | ||
"enzyme": "^3.7.0", | ||
"enzyme-adapter-react-16": "^1.6.0", | ||
"enzyme-to-json": "^3.3.4", | ||
"eslint": "^5.6.0", | ||
"eslint-plugin-compat": "^2.5.1", | ||
"eslint-plugin-flowtype": "^3.2.0", | ||
"express": "^4.16.3", | ||
"flow-bin": "^0.92.1", | ||
"enzyme": "3.11.0", | ||
"enzyme-adapter-react-16": "1.15.2", | ||
"enzyme-to-json": "3.5.0", | ||
"eslint": "5.6.0", | ||
"eslint-plugin-compat": "2.5.1", | ||
"eslint-plugin-flowtype": "3.2.0", | ||
"express": "4.17.1", | ||
"flow-bin": "0.121.0", | ||
"formik": "^1.4.1", | ||
"immutable": "~3.7.4", | ||
"jest": "^24.1.0", | ||
"jest-axe": "^3.1.1", | ||
"jest-environment-node": "^24.0.0", | ||
"jest-image-snapshot": "^2.8.0", | ||
"markov_draftjs": "^0.1.1", | ||
"mkdirp": "^0.5.1", | ||
"normalize.css": "^7.0.0", | ||
"postcss-cli": "^6.0.1", | ||
"postcss-loader": "^3.0.0", | ||
"prettier": "^1.16.4", | ||
"jest": "24.1.0", | ||
"jest-axe": "3.1.1", | ||
"jest-environment-node": "24.0.0", | ||
"jest-image-snapshot": "4.2.0", | ||
"markov_draftjs": "0.1.1", | ||
"mkdirp": "0.5.1", | ||
"normalize.css": "8.0.1", | ||
"postcss-cli": "8.3.0", | ||
"postcss-loader": "4.1.0", | ||
"prettier": "2.2.0", | ||
"prismjs": "^1.8.4", | ||
"puppeteer": "^1.11.0", | ||
"react": "^16.8.3", | ||
"react-benchmark": "^2.1.0", | ||
"puppeteer": "1.11.0", | ||
"react": "16.14.0", | ||
"react-benchmark": "2.1.1", | ||
"react-color": "2.19.3", | ||
"react-component-benchmark": "0.0.4", | ||
"react-dom": "^16.8.3", | ||
"react-dom": "16.14.0", | ||
"react-intl": "^2.7.2", | ||
"react-modal": "^3.1.5", | ||
"react-test-renderer": "^16.8.3", | ||
"react-test-renderer": "16.14.0", | ||
"reading-time": "^1.1.0", | ||
"rimraf": "^2.6.2", | ||
"rollup": "^0.66.2", | ||
"rollup-plugin-babel": "^4.0.3", | ||
"sass": "^1.14.1", | ||
"sass-loader": "^7.1.0", | ||
"rimraf": "3.0.2", | ||
"rollup": "2.33.3", | ||
"rollup-plugin-babel": "4.4.0", | ||
"sass": "1.29.0", | ||
"sass-loader": "10.1.0", | ||
"stats-js": "^1.0.0", | ||
"storybook-addon-intl": "^2.3.1", | ||
"style-loader": "^0.23.0", | ||
"stylelint": "^9.6.0", | ||
"webpack-bundle-analyzer": "^3.0.2" | ||
"storybook-addon-intl": "2.4.1", | ||
"style-loader": "2.0.0", | ||
"stylelint": "9.6.0", | ||
"webpack-bundle-analyzer": "4.1.0" | ||
}, | ||
@@ -121,9 +124,8 @@ "peerDependencies": { | ||
"build:rollup": "rollup -c", | ||
"build:styles": "sass lib/index.scss | postcss --use autoprefixer --no-map > dist/draftail.css", | ||
"build:storybook": "build-storybook -c .storybook -o public/storybook", | ||
"build:styles": "sass lib/index.scss | postcss --no-map > dist/draftail.css", | ||
"build:storybook": "build-storybook -c .storybook -o public/storybook --quiet", | ||
"build": "npm run build:rollup -s && npm run build:storybook -s && npm run build:styles -s", | ||
"dist": "NODE_ENV=production npm run build -s", | ||
"danger": "danger ci --verbose", | ||
"lint": "eslint . && flow && stylelint '**/*.scss' && prettier --check '**/*.{js,scss,css,json,md,yml,yaml,html}'", | ||
"format": "prettier --write '**/*.{js,scss,css,json,md,yml,yaml,html}'", | ||
"lint": "eslint . && flow --quiet && stylelint '**/*.scss' && prettier --check '**/?(.)*.{md,css,scss,js,json,json5,yaml,yml,html}'", | ||
"format": "prettier --write '**/?(.)*.{md,css,scss,js,json,json5,yaml,yml,html}'", | ||
"test": "jest", | ||
@@ -130,0 +132,0 @@ "test:integration": "jest --config tests/integration/jest.config.js", |
@@ -1,3 +0,5 @@ | ||
# [Draftail](https://www.draftail.org/) [![npm](https://img.shields.io/npm/v/draftail.svg)](https://www.npmjs.com/package/draftail) [![Build Status](https://travis-ci.org/springload/draftail.svg?branch=master)](https://travis-ci.org/springload/draftail) [![Coverage Status](https://coveralls.io/repos/github/springload/draftail/badge.svg)](https://coveralls.io/github/springload/draftail) [<img src="https://cdn.rawgit.com/springload/awesome-wagtail/ac912cc661a7099813f90545adffa6bb3e75216c/logo.svg" width="104" align="right" alt="Wagtail">](https://wagtail.io/) | ||
# [Draftail](https://www.draftail.org/) [<img src="https://raw.githubusercontent.com/thibaudcolas/draftail.org/main/.github/draftail-logo.svg?sanitize=true" width="90" height="90" align="right">](https://www.draftail.org/) | ||
[![npm](https://img.shields.io/npm/v/draftail.svg)](https://www.npmjs.com/package/draftail) [![![Build status](https://github.com/springload/draftail/workflows/CI/badge.svg)](https://github.com/springload/draftail/actions) [![Coverage Status](https://coveralls.io/repos/github/springload/draftail/badge.svg)](https://coveralls.io/github/springload/draftail) [![Netlify Status](https://api.netlify.com/api/v1/badges/cb4f2732-c1c5-4566-b22e-ce491f504a82/deploy-status)](https://app.netlify.com/sites/draftail-demos/deploys) | ||
> :memo::cocktail: A configurable rich text editor built with [Draft.js](https://draftjs.org/). Check out our [demos](https://www.draftail.org/examples)! | ||
@@ -9,6 +11,4 @@ | ||
Draftail aims for a mouse-free, keyboard-centric experience. Most formatting can be done by using common keyboard shortcuts, inspired by Google Docs and [Markdown](https://en.wikipedia.org/wiki/Markdown). | ||
Draftail aims for a mouse-free, keyboard-centric experience. Here are important features worth highlighting: | ||
Here are important features worth highlighting: | ||
- Support for [keyboard shortcuts](https://www.draftail.org/docs/keyboard-shortcuts). Lots of them! | ||
@@ -35,3 +35,3 @@ - Paste from Word. Or any other editor. It just works. | ||
See anything you like in here? Anything missing? We welcome all support, whether on bug reports, feature requests, code, design, reviews, tests, documentation, and more. Please have a look at our [contribution guidelines](.github/CONTRIBUTING.md). | ||
See anything you like in here? Anything missing? We welcome all support, whether on bug reports, feature requests, code, design, reviews, tests, documentation, and more. Please have a look at our [contribution guidelines](docs/CONTRIBUTING.md). | ||
@@ -42,2 +42,2 @@ If you just want to set up the project on your own computer, the contribution guidelines also contain all of the setup commands. | ||
Draftail is made possible by the work of [Springload](https://github.com/springload/). View the full list of [contributors](https://github.com/springload/draftail/graphs/contributors). [MIT](LICENSE) licensed. | ||
Draftail is made possible by the work of [Springload](https://github.com/springload/). View the full list of [contributors](https://github.com/springload/draftail/graphs/contributors). [MIT](LICENSE) licensed. The [draftail.org](https://github.com/thibaudcolas/draftail.org) documentation and demos are powered by [Netlify](https://www.netlify.com/). |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
204612
4146
65
1552