UNPKG

gatsby-drupal-webform

Version:
239 lines (105 loc) 9.58 kB
# [4.0.0](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/compare/v3.0.0...v4.0.0) (2021-02-23) ### Bug Fixes * fix typescript errors when trying to use customComponents ([c98ff68](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/commit/c98ff68b9c2826e6e4f7f91f1821a21d2a0d8707)) ### Features * export event handler types ([39fb6b0](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/commit/39fb6b0e9a9bcc7d3bd291dfdbdbdf8f7b83ff57)), closes [#98](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/issues/98) ### BREAKING CHANGES * Modify Webform component props # [3.0.0](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/compare/v2.6.4...v3.0.0) (2021-02-23) ### Bug Fixes * memonize webform elements array ([a6e28a2](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/commit/a6e28a286ad3eb2a46e5a7638e7f01ca782fe504)) * modify form callbacks to include request data ([5654bc0](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/commit/5654bc07167b445954c2e3be679cd52e213fa9ee)) ### Code Refactoring * remove gatsby peer dependency ([b9d0ab2](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/commit/b9d0ab2d337134f18d7ce1bb3a80e40438324ab3)), closes [#8](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/issues/8) ### Features * make form buttons easier to configure ([d9d3d4e](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/commit/d9d3d4e4b99aec6c62506a949edba092b64b1a09)) ### BREAKING CHANGES * Removed SimpleWebform graphql fragment * Modified callback signature for WebformSubmitHandler, WebformSuccessHandler, WebformErrorHandler ## [2.6.4](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/compare/v2.6.3...v2.6.4) (2021-02-18) ### Bug Fixes * relax axios version requirements ([186fed0](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/commit/186fed000e72fa5f35f3de717e9fda6643f710af)) ## [2.6.3](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/compare/v2.6.2...v2.6.3) (2021-02-18) ### Bug Fixes * trigger release ([cc23ee1](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/commit/cc23ee16d64b1aec94e66198d80c9617c32d1e5c)) ## [2.6.2](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/compare/v2.6.1...v2.6.2) (2020-09-16) ### Bug Fixes * crash on Samsung Internet < 8.0 ([c323332](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/commit/c3233329eccb4794d8e58cdc2833b293db6a9e72)) ## [2.6.1](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/compare/v2.6.0...v2.6.1) (2020-03-31) ### Bug Fixes * single checkbox serialization ([e2b8c1f](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/commit/e2b8c1f4edcd2e0baf7142b6241bdc60ca5d0b60)) # [2.6.0](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/compare/v2.5.0...v2.6.0) (2020-03-04) ### Bug Fixes * guessInitialState() state name 'hidden' does not exists ([b7aa14b](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/commit/b7aa14bdd76f49a57584ed69c34998cbdcf67323)) * small fix for id attribute generation ([779a19d](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/commit/779a19d9c3dcdbbe9364c0e00d98321a983653dd)) ### Features * add state support for checkbox and radio group elements ([967c0d3](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/commit/967c0d348af53a55508ca52a2ff288373002c0ca)) # [2.5.0](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/compare/v2.4.2...v2.5.0) (2020-02-04) ### Features * support drupal wrapper and label css classes ([b2440c8](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/commit/b2440c83e83977152618df8e8fcee9bf833a7932)) ## [2.4.2](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/compare/v2.4.1...v2.4.2) (2019-12-17) ### Bug Fixes * fix invisible state not hiding elements ([ad9dbb3](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/commit/ad9dbb303df8d59e2fa19ccd43fc1437841fc69a)) ## [2.4.1](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/compare/v2.4.0...v2.4.1) (2019-12-17) ### Bug Fixes * properly handle states for processed_text elements ([1874c6b](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/commit/1874c6bef0042a8a87f0eb604d7d7344fc508673)) # [2.4.0](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/compare/v2.3.0...v2.4.0) (2019-12-10) ### Bug Fixes * drupal module returns boolean values as integers ([88d23e8](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/commit/88d23e84354bfcd20a9e0925620f86fa16aa77d5)) ### Features * allow extra data to be sent with form submit ([5ba7570](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/commit/5ba75706afe957b4b8afc781612a58a8e5a44ada)) # [2.3.0](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/compare/v2.2.2...v2.3.0) (2019-11-30) ### Bug Fixes * required property for inputs should be boolean ([9cd7602](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/commit/9cd7602eadfbfcc398c36cd0d97b21ea7943affa)) ### Features * add is-invalid class to WebformElementWrapper has error ([ef33a36](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/commit/ef33a36b35b9474222a576922cf1fcb13d5ca744)) ## [2.2.2](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/compare/v2.2.1...v2.2.2) (2019-11-30) ### Bug Fixes * invalid checkbox markup again :( ([ddec943](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/commit/ddec94305a5c1da78053a826c749e9f40d081428)) ## [2.2.1](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/compare/v2.2.0...v2.2.1) (2019-11-30) ### Bug Fixes * invalid checkbox markup ([eb28811](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/commit/eb2881155131696e1888dc12118faa8e3035c4b5)) # [2.2.0](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/compare/v2.1.2...v2.2.0) (2019-11-29) ### Features * add useWebformElement and WebformElementWrapper API ([a863262](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/commit/a863262de29acc095b6c9cd985f54f18880f5c74)) ## [2.1.2](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/compare/v2.1.1...v2.1.2) (2019-11-27) ### Bug Fixes * add id attribute to select element ([d7e7d1b](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/commit/d7e7d1b2717f8a6696491e1170f9d28dc222d3f9)) ## [2.1.1](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/compare/v2.1.0...v2.1.1) (2019-11-27) ### Bug Fixes * spelling noValidate ([57b3808](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/commit/57b3808e6f078638380fe30502e1b39a4e742392)) # [2.1.0](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/compare/v2.0.3...v2.1.0) (2019-11-27) ### Features * add novalidate prop to component ([f0e1040](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/commit/f0e104067a59dacc81e102030d648de84bec1bf3)) * export WebformCustomComponent type ([d37e3a2](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/commit/d37e3a24369d2d573df72ac62bb4a5ea6a16a78e)) ## [2.0.3](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/compare/v2.0.2...v2.0.3) (2019-11-23) ### Bug Fixes * correctly hide hidden elements ([903307d](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/commit/903307d856d7cb2119145200f7f36a831db367a8)) * fix custom components using name instead of type (typo) ([7f775d5](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/commit/7f775d52dd46f4908ebd05ea37e7d3f199aeb932)) ## [2.0.2](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/compare/v2.0.1...v2.0.2) (2019-11-04) ### Bug Fixes * correct onSuccess handler parameter order ([64e0c5f](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/commit/64e0c5f4f82b9ad869b0ead3b7383bef3e03667a)) ## [2.0.1](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/compare/v2.0.0...v2.0.1) (2019-11-04) ### Bug Fixes * fix readme ([ad58796](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/commit/ad5879625267e8d0124ca076eaba1f410ff15912)) # [2.0.0](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/compare/v1.0.3...v2.0.0) (2019-11-04) ### Bug Fixes * move drupal to examples directory ([367253f](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/commit/367253f01935c9157d5fc1eac1d59dc413317a79)) * try this to get types working :) ([1fcc419](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/commit/1fcc419396a0cc167f9dad5e112072055791d7e7)) ### Features * add drupal module ([897e221](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/commit/897e221ace9b18278315009b630839b066d8499c)) ### BREAKING CHANGES * api format change ## [1.0.3](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/compare/v1.0.2...v1.0.3) (2019-09-09) ### Bug Fixes * export types 💡 ([edee9bb](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/commit/edee9bb)) ## [1.0.2](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/compare/v1.0.1...v1.0.2) (2019-08-21) ### Bug Fixes * fix class names ([c7c797c](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/commit/c7c797c)) ## [1.0.1](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/compare/v1.0.0...v1.0.1) (2019-08-20) ### Bug Fixes * fix type generation ([34b610c](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/commit/34b610c)) # 1.0.0 (2019-08-20) ### Features * add components ([bb7afd4](https://github.com/oikeuttaelaimille/gatsby-drupal-webform/commit/bb7afd4))