UNPKG

formsy-semantic-ui-react

Version:

Formsy-React wrappers for Semantic-Ui-React's form Components

258 lines (169 loc) 17 kB
### Changelog All notable changes to this project will be documented in this file. Dates are displayed in UTC. Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). #### [v2.3.8](https://github.com/zabute/formsy-semantic-ui-react/compare/v2.3.7...v2.3.8) - fix: add name prop to onChange dropdown props [`b884fd1`](https://github.com/zabute/formsy-semantic-ui-react/commit/b884fd198c0579cf1249c47fa220f70c5fd9b405) #### [v2.3.7](https://github.com/zabute/formsy-semantic-ui-react/compare/v2.3.6...v2.3.7) > 14 January 2025 - bump example deps [`eac34a2`](https://github.com/zabute/formsy-semantic-ui-react/commit/eac34a2ba171b13b9e114bfde25d06b6446659c3) - bump deps [`f9b6cdc`](https://github.com/zabute/formsy-semantic-ui-react/commit/f9b6cdcea5fca8f32f7a4a9dcbaf4a4efb120036) - refactor: improve prop filtering [`d47a795`](https://github.com/zabute/formsy-semantic-ui-react/commit/d47a795a0bff0ca39822d2acea48b1a68d3e7cb2) #### [v2.3.6](https://github.com/zabute/formsy-semantic-ui-react/compare/v2.3.5...v2.3.6) > 24 April 2024 - Revert "fix: Form static props are recognized as any in TS" [`12bd234`](https://github.com/zabute/formsy-semantic-ui-react/commit/12bd234e71defdcf1b01a53aef147ada972e1ecf) #### [v2.3.5](https://github.com/zabute/formsy-semantic-ui-react/compare/v2.3.4...v2.3.5) > 24 April 2024 - build(deps): bump browserify-sign from 4.2.1 to 4.2.2 in /example [`#142`](https://github.com/zabute/formsy-semantic-ui-react/pull/142) - build(deps): bump @babel/traverse from 7.11.0 to 7.23.2 in /example [`#140`](https://github.com/zabute/formsy-semantic-ui-react/pull/140) - build(deps): bump @babel/traverse from 7.22.8 to 7.23.2 [`#141`](https://github.com/zabute/formsy-semantic-ui-react/pull/141) - fix: Form static props are recognized as any in TS [`a8953c6`](https://github.com/zabute/formsy-semantic-ui-react/commit/a8953c66a46776f0924db39ebd5feef73ef832ff) #### [v2.3.4](https://github.com/zabute/formsy-semantic-ui-react/compare/v2.3.3...v2.3.4) > 20 September 2023 - Bump @adobe/css-tools from 4.2.0 to 4.3.1 [`#139`](https://github.com/zabute/formsy-semantic-ui-react/pull/139) - fix: move @types/hoist-non-react-statics from deps to devDeps [`cd72fb6`](https://github.com/zabute/formsy-semantic-ui-react/commit/cd72fb64597db16c9bb8a7e5e916462dbf34d46f) #### [v2.3.3](https://github.com/zabute/formsy-semantic-ui-react/compare/v2.3.2...v2.3.3) > 27 July 2023 - fix: remove weird props that becomes mandatory [`ed08cd9`](https://github.com/zabute/formsy-semantic-ui-react/commit/ed08cd9ff8f81448f2f22eea5d082ccbfedc6363) #### [v2.3.2](https://github.com/zabute/formsy-semantic-ui-react/compare/v2.3.1...v2.3.2) > 27 July 2023 - fix: remove formRadioGroup since the inner field applies the error correctly [`4f479c1`](https://github.com/zabute/formsy-semantic-ui-react/commit/4f479c16ebc87ad43c6aedcbab0dc92b7a1e6528) #### [v2.3.1](https://github.com/zabute/formsy-semantic-ui-react/compare/v2.3.0...v2.3.1) > 27 July 2023 - fix: remove double disable class [`4304469`](https://github.com/zabute/formsy-semantic-ui-react/commit/43044691fb9e3a4ea1e2ab3819188512bdcef3a1) #### [v2.3.0](https://github.com/zabute/formsy-semantic-ui-react/compare/v2.2.4...v2.3.0) > 27 July 2023 - Bump word-wrap from 1.2.3 to 1.2.4 [`#136`](https://github.com/zabute/formsy-semantic-ui-react/pull/136) - Bump word-wrap from 1.2.3 to 1.2.4 in /example [`#137`](https://github.com/zabute/formsy-semantic-ui-react/pull/137) - Bump semver from 5.7.1 to 5.7.2 [`#135`](https://github.com/zabute/formsy-semantic-ui-react/pull/135) - Bump semver from 5.7.1 to 5.7.2 in /example [`#134`](https://github.com/zabute/formsy-semantic-ui-react/pull/134) - Bump http-cache-semantics from 4.1.0 to 4.1.1 [`#133`](https://github.com/zabute/formsy-semantic-ui-react/pull/133) - Bump json5 from 1.0.1 to 1.0.2 [`#132`](https://github.com/zabute/formsy-semantic-ui-react/pull/132) - Bump minimatch from 3.0.4 to 3.1.2 in /example [`#131`](https://github.com/zabute/formsy-semantic-ui-react/pull/131) - Bump json5 from 1.0.1 to 1.0.2 in /example [`#130`](https://github.com/zabute/formsy-semantic-ui-react/pull/130) - fix: handle radio group props properly, closes #138 [`#138`](https://github.com/zabute/formsy-semantic-ui-react/issues/138) - Bump deps [`2364fed`](https://github.com/zabute/formsy-semantic-ui-react/commit/2364fed1ddf6c872dd12bbc9268b23011dd0373b) #### [v2.2.4](https://github.com/zabute/formsy-semantic-ui-react/compare/v2.2.3...v2.2.4) > 9 December 2022 - Bump qs from 6.5.2 to 6.5.3 in /example [`#129`](https://github.com/zabute/formsy-semantic-ui-react/pull/129) - Bump qs from 6.5.2 to 6.5.3 [`#128`](https://github.com/zabute/formsy-semantic-ui-react/pull/128) - Bump minimatch from 3.0.4 to 3.1.2 [`#127`](https://github.com/zabute/formsy-semantic-ui-react/pull/127) - Bump decode-uri-component from 0.2.0 to 0.2.2 in /example [`#126`](https://github.com/zabute/formsy-semantic-ui-react/pull/126) - Bump decode-uri-component from 0.2.0 to 0.2.2 [`#125`](https://github.com/zabute/formsy-semantic-ui-react/pull/125) #### [v2.2.3](https://github.com/zabute/formsy-semantic-ui-react/compare/v2.2.2...v2.2.3) > 9 November 2022 - fix: add input value type to generics in a less destructive place [`d8d01ae`](https://github.com/zabute/formsy-semantic-ui-react/commit/d8d01aed5964fa5e842a208830b05ebb69837265) #### [v2.2.2](https://github.com/zabute/formsy-semantic-ui-react/compare/v2.2.1...v2.2.2) > 9 November 2022 - fix: add input value type to generics [`7584bf4`](https://github.com/zabute/formsy-semantic-ui-react/commit/7584bf44528bbb303a204e1174960d7613cbb32f) #### [v2.2.1](https://github.com/zabute/formsy-semantic-ui-react/compare/v2.2.0...v2.2.1) > 9 November 2022 - Small example fixes [`c7be9be`](https://github.com/zabute/formsy-semantic-ui-react/commit/c7be9bebbef1d3854ba1ad796e8a0e8d804beb5b) - fix: restore checkbox label [`37fd904`](https://github.com/zabute/formsy-semantic-ui-react/commit/37fd904e0591937b6840934971df1f0834a9f619) #### [v2.2.0](https://github.com/zabute/formsy-semantic-ui-react/compare/v2.1.3...v2.2.0) > 9 November 2022 - Bump shelljs from 0.8.4 to 0.8.5 [`#124`](https://github.com/zabute/formsy-semantic-ui-react/pull/124) - Bump minimist from 1.2.5 to 1.2.7 [`#123`](https://github.com/zabute/formsy-semantic-ui-react/pull/123) - Bump tmpl from 1.0.4 to 1.0.5 [`#122`](https://github.com/zabute/formsy-semantic-ui-react/pull/122) - Migrate to React testing lib [`#121`](https://github.com/zabute/formsy-semantic-ui-react/pull/121) - Bump terser from 4.8.0 to 4.8.1 [`#120`](https://github.com/zabute/formsy-semantic-ui-react/pull/120) - Bump minimist from 1.2.5 to 1.2.6 [`#119`](https://github.com/zabute/formsy-semantic-ui-react/pull/119) - Bump node-fetch from 2.6.1 to 2.6.7 [`#118`](https://github.com/zabute/formsy-semantic-ui-react/pull/118) - Bump lodash-es from 4.17.20 to 4.17.21 [`#117`](https://github.com/zabute/formsy-semantic-ui-react/pull/117) - Bump minimist from 1.2.5 to 1.2.6 in /example [`#116`](https://github.com/zabute/formsy-semantic-ui-react/pull/116) - Bump shelljs from 0.8.4 to 0.8.5 [`#115`](https://github.com/zabute/formsy-semantic-ui-react/pull/115) - Bump tmpl from 1.0.4 to 1.0.5 [`#114`](https://github.com/zabute/formsy-semantic-ui-react/pull/114) - Update ci deps [`41e4d29`](https://github.com/zabute/formsy-semantic-ui-react/commit/41e4d29108f2155fd59c89e79f6d271a62fd8c79) - Bump deps [`2e63e13`](https://github.com/zabute/formsy-semantic-ui-react/commit/2e63e138ee1f2c059a7c6e34b1f611ba1b297cfe) - fix: Don't pass label prop to Semantic-ui components [`343bbc0`](https://github.com/zabute/formsy-semantic-ui-react/commit/343bbc074ce3ad5adf4d948a5c32a986b4398473) #### [v2.1.3](https://github.com/zabute/formsy-semantic-ui-react/compare/v2.1.2...v2.1.3) > 21 September 2021 - fix: exclude inputClassName from input props [`#113`](https://github.com/zabute/formsy-semantic-ui-react/pull/113) - Bump color-string from 1.5.3 to 1.6.0 in /example [`#111`](https://github.com/zabute/formsy-semantic-ui-react/pull/111) - Bump path-parse from 1.0.6 to 1.0.7 in /example [`#110`](https://github.com/zabute/formsy-semantic-ui-react/pull/110) - Bump path-parse from 1.0.6 to 1.0.7 [`#109`](https://github.com/zabute/formsy-semantic-ui-react/pull/109) - Bump hosted-git-info from 2.8.8 to 2.8.9 [`#104`](https://github.com/zabute/formsy-semantic-ui-react/pull/104) #### [v2.1.2](https://github.com/zabute/formsy-semantic-ui-react/compare/v2.1.1...v2.1.2) > 10 June 2021 - Bump normalize-url from 4.5.0 to 4.5.1 [`#103`](https://github.com/zabute/formsy-semantic-ui-react/pull/103) - Bump glob-parent from 5.1.1 to 5.1.2 [`#102`](https://github.com/zabute/formsy-semantic-ui-react/pull/102) - Bump ws from 5.2.2 to 5.2.3 in /example [`#101`](https://github.com/zabute/formsy-semantic-ui-react/pull/101) - Bump trim-newlines from 3.0.0 to 3.0.1 [`#100`](https://github.com/zabute/formsy-semantic-ui-react/pull/100) - Bump ws from 7.4.4 to 7.4.6 [`#99`](https://github.com/zabute/formsy-semantic-ui-react/pull/99) - Bump browserslist from 4.14.0 to 4.16.6 in /example [`#98`](https://github.com/zabute/formsy-semantic-ui-react/pull/98) - Bump browserslist from 4.14.0 to 4.16.6 [`#97`](https://github.com/zabute/formsy-semantic-ui-react/pull/97) - Bump lodash from 4.17.20 to 4.17.21 in /example [`#96`](https://github.com/zabute/formsy-semantic-ui-react/pull/96) - Bump lodash from 4.17.20 to 4.17.21 [`#95`](https://github.com/zabute/formsy-semantic-ui-react/pull/95) - Bump handlebars from 4.7.6 to 4.7.7 [`#94`](https://github.com/zabute/formsy-semantic-ui-react/pull/94) - Bump y18n from 4.0.0 to 4.0.1 [`#93`](https://github.com/zabute/formsy-semantic-ui-react/pull/93) - Bump elliptic from 6.5.3 to 6.5.4 in /example [`#92`](https://github.com/zabute/formsy-semantic-ui-react/pull/92) #### [v2.1.1](https://github.com/zabute/formsy-semantic-ui-react/compare/v2.1.0...v2.1.1) > 14 March 2021 - Update deps [`a054d2b`](https://github.com/zabute/formsy-semantic-ui-react/commit/a054d2be25efb0cae5c5c1937e95e4917a644d77) - Add React 17 as valid peer deps [`f6589cf`](https://github.com/zabute/formsy-semantic-ui-react/commit/f6589cfda540d0de71f170e0e82ed8afa1adc8ce) #### [v2.1.0](https://github.com/zabute/formsy-semantic-ui-react/compare/v2.0.6...v2.1.0) > 20 January 2021 - Bump ini from 1.3.5 to 1.3.7 [`#91`](https://github.com/zabute/formsy-semantic-ui-react/pull/91) - Bump node-fetch from 2.6.0 to 2.6.1 [`#89`](https://github.com/zabute/formsy-semantic-ui-react/pull/89) - Bump semantic-ui-react version [`07a0951`](https://github.com/zabute/formsy-semantic-ui-react/commit/07a09518d2f200c312952a1ab89ec0c4cd012843) - Create ISSUE_TEMPLATE.md [`ead713f`](https://github.com/zabute/formsy-semantic-ui-react/commit/ead713f74d1d005fc928c6abc40ee5b436031aae) #### [v2.0.6](https://github.com/zabute/formsy-semantic-ui-react/compare/v2.0.5...v2.0.6) > 28 August 2020 - fix: set a boolean value when checkbox without value / defaultChecked [`#88`](https://github.com/zabute/formsy-semantic-ui-react/pull/88) - Add auto-changelog & np to ease releases [`1c7eeaa`](https://github.com/zabute/formsy-semantic-ui-react/commit/1c7eeaab377818418a3018bfc601c8b9a318e4ef) #### [v2.0.5](https://github.com/zabute/formsy-semantic-ui-react/compare/v2.0.4...v2.0.5) > 28 August 2020 - fix: use the correct module file name [`d753079`](https://github.com/zabute/formsy-semantic-ui-react/commit/d75307911b7d620529976a6ac85107bcc1ff8b87) #### [v2.0.4](https://github.com/zabute/formsy-semantic-ui-react/compare/v2.0.3...v2.0.4) > 25 August 2020 - fix: stop className leakage to the form itself [`5bb73f3`](https://github.com/zabute/formsy-semantic-ui-react/commit/5bb73f3ba55c2d52368636a356fd97e82539def3) #### [v2.0.3](https://github.com/zabute/formsy-semantic-ui-react/compare/v2.0.2...v2.0.3) > 24 August 2020 - Add support for textarea types [`0a68b16`](https://github.com/zabute/formsy-semantic-ui-react/commit/0a68b16304794341983c1e9b7e6089d560e21641) #### [v2.0.2](https://github.com/zabute/formsy-semantic-ui-react/compare/v2.0.1...v2.0.2) > 24 August 2020 - Improve type inference [`f865379`](https://github.com/zabute/formsy-semantic-ui-react/commit/f8653793d82570aa98ab61c63ad58ead51897932) - update ci badge [`c758484`](https://github.com/zabute/formsy-semantic-ui-react/commit/c758484a20f48fee12f73accf4b5966d426ce561) ### [v2.0.1](https://github.com/zabute/formsy-semantic-ui-react/compare/v1.2.0...v2.0.1) > 19 August 2020 - Migrate build to use tsdx [`#87`](https://github.com/zabute/formsy-semantic-ui-react/pull/87) - Migrate to tsdx [`440468e`](https://github.com/zabute/formsy-semantic-ui-react/commit/440468e3ce8894f2a43a4cde238f3db0587b8bc4) - Add github work flow [`cabb046`](https://github.com/zabute/formsy-semantic-ui-react/commit/cabb046742d771cc5b2116b35ec3434c436fe54c) - fix(types): Fix standalone components types [`b6d0832`](https://github.com/zabute/formsy-semantic-ui-react/commit/b6d0832ef2037b473ac45b43f17d04d62464a211) ### [v1.2.0](https://github.com/zabute/formsy-semantic-ui-react/compare/v0.3.5...v1.2.0) > 12 August 2020 - fix(#58) - allow render Semantic-ui input as the input of FormsyInput [`#82`](https://github.com/zabute/formsy-semantic-ui-react/pull/82) - Ignore Formsy's v2.1.0 additional validations props [`#84`](https://github.com/zabute/formsy-semantic-ui-react/pull/84) - Bump react-dom from 16.1.1 to 16.1.2 [`#86`](https://github.com/zabute/formsy-semantic-ui-react/pull/86) - Bump websocket-extensions from 0.1.3 to 0.1.4 [`#85`](https://github.com/zabute/formsy-semantic-ui-react/pull/85) - Update .travis.yml [`#78`](https://github.com/zabute/formsy-semantic-ui-react/pull/78) - Update to formsy 2 [`#77`](https://github.com/zabute/formsy-semantic-ui-react/pull/77) - Update to formsy v2 [`7121827`](https://github.com/zabute/formsy-semantic-ui-react/commit/7121827b1d84c3ae032b3d7d6d955e8a4f802c63) - Upgrade to latest babel [`936c79b`](https://github.com/zabute/formsy-semantic-ui-react/commit/936c79b8a907aa00bd28be564f888535fe87b5bc) - Add GH-pages [`f27cc42`](https://github.com/zabute/formsy-semantic-ui-react/commit/f27cc42bd4dfdc43515f4f082eaea518c2b2ebf5) #### [v0.3.5](https://github.com/zabute/formsy-semantic-ui-react/compare/v0.3.4...v0.3.5) > 25 April 2019 - fix(#37) - prevent inline prop to propagate to the input [`#57`](https://github.com/zabute/formsy-semantic-ui-react/pull/57) - fix(Dropdown, Input): don't render label element if the label is empty [`#56`](https://github.com/zabute/formsy-semantic-ui-react/pull/56) #### [v0.3.4](https://github.com/zabute/formsy-semantic-ui-react/compare/v0.3.3...v0.3.4) > 10 March 2019 - Add semantic-ui types [`#54`](https://github.com/zabute/formsy-semantic-ui-react/pull/54) - Pass dropdownProps to FormSelect [`#52`](https://github.com/zabute/formsy-semantic-ui-react/pull/52) - pass dropdownProps to FormSelect [`46bc7c2`](https://github.com/zabute/formsy-semantic-ui-react/commit/46bc7c2a76f6a87d73190a5169d2a019da6f0cbc) #### [v0.3.3](https://github.com/zabute/formsy-semantic-ui-react/compare/v0.3.2...v0.3.3) > 10 April 2018 - update old links to formsry react reopo and fix incorrect errorLabel type [`8a22648`](https://github.com/zabute/formsy-semantic-ui-react/commit/8a22648a963d36f0dab2d9ec4c226aec9123ec5d) - fix react and react-dom peerDep ranges [`04efd20`](https://github.com/zabute/formsy-semantic-ui-react/commit/04efd20ca602e4b41ffb429175c32c17cf6de5ca) #### v0.3.2 > 20 January 2018 - Include 'node' PropType as one of label types [`#28`](https://github.com/zabute/formsy-semantic-ui-react/pull/28) - Update FormExamples.js [`#26`](https://github.com/zabute/formsy-semantic-ui-react/pull/26) - Update InputExamples.js [`#25`](https://github.com/zabute/formsy-semantic-ui-react/pull/25) - add missing e/data params in onBlur event [`#23`](https://github.com/zabute/formsy-semantic-ui-react/pull/23) - Fix FormsyDropdown onBlur event do not occur. [`#20`](https://github.com/zabute/formsy-semantic-ui-react/pull/20) - Fix instance of TextArea to Form.TextArea for "Avoid nesting Form. [`#12`](https://github.com/zabute/formsy-semantic-ui-react/pull/12) - Fixed initial value warning if it is empty and not multiple. [`#10`](https://github.com/zabute/formsy-semantic-ui-react/pull/10) - Use Select for the value of 'as' in Dropdown. [`#8`](https://github.com/zabute/formsy-semantic-ui-react/pull/8) - version bump to 0.2.0 and update peerDepenencies (fixes #4) [`#4`](https://github.com/zabute/formsy-semantic-ui-react/issues/4) - rebase to master && fix conflicts [`b2d791f`](https://github.com/zabute/formsy-semantic-ui-react/commit/b2d791f2186c2949a3efbd4d37b9bdefd29bb0f0) - added yarn lockfile [`9b18fbc`](https://github.com/zabute/formsy-semantic-ui-react/commit/9b18fbc84db49e6b2dbac0a68d05241288bc8a5f) - initial commit [`95d8c00`](https://github.com/zabute/formsy-semantic-ui-react/commit/95d8c0069571545ebf9935cd8b05f9b543d87783)