Skip to content

Releases: rooseveltframework/semantic-forms

4.0.2

19 Sep 18:44
568de9c
Compare
Choose a tag to compare
  • Fixed a visual bug that occurred when single checkbox elements had extra elements included.
  • Updated various dependencies.

4.0.1

16 Sep 13:27
4139ccf
Compare
Choose a tag to compare
  • Added invalid help text support.
  • Fixed a bug that caused float labels to break when certain browser extensions were enabled.

4.0.0

15 Sep 12:41
2482b29
Compare
Choose a tag to compare
  • Breaking: Overhauled entire codebase to drive it using mostly CSS grid instead of flexbox. This makes everything more flexible overall and fit more designs better. However the CSS and markup changes will likely cause breaking changes to previous integrations, so when upgrading make some time to visually test all your pages to alter any CSS overrides you had in place accordingly. You also might want to make some markup changes to make use of new available classes to tweak the fit of individual form fields on specific forms.
  • Altered fields to fit available space better at various screen sizes.
  • Added multiple utility classes that define how wide inputs will span in the responsive layout.
  • Added support for input type=image.
  • Added support for secondary labels.
  • Added styling for invalid form fields.
  • Added asterisk that appears on required inputs.
  • Improved accessibility considerably. Now has 100% Lighthouse score.
  • Added feature to progressively nest fieldsets with progressively darker/lighter background colors.
  • Fixed bug causing clear button appearing on disabled inputs.
  • Fixed bug causing clear button to overlap with scrollbars on textareas.
  • Fixed bug causing nested fieldset to have incorrect padding and margins.
  • Fixed various other small bugs.
  • Replaced the less CSS preprocessor with sass.
  • Updated various dependencies.

3.2.1

16 Jun 04:11
23d804d
Compare
Choose a tag to compare
  • Fixed a bug that could cause checkboxes and radio buttons to not submit their values to the server properly.
  • Updated various dependencies.

3.2.0

28 Feb 14:57
Compare
Choose a tag to compare
  • Added a reinitialization method to re-scan existing forms. Called with window.semanticForms.reinitialize(formName).
  • Altered logic to enhance forms so that it now ignores inputs that have already been enhanced.
  • Updated dependencies.

3.1.0

08 Jan 06:02
Compare
Choose a tag to compare
  • Added dark mode support.
  • Deprecated "reset" versions and "no images" versions.
  • Added mutation observer that monitors changes to the DOM and will enhance any additional semanticForms forms you insert, but the monitoring may not be perfect. If you want to re-scan for new forms to enhance manually, you may still need to call window.semanticForms().
  • Fixed a bug that caused DOM events to be duplicated when DOM elements are added dynamically after the first page load.
  • Updated dependencies.

3.0.8

19 Jul 14:01
Compare
Choose a tag to compare
  • Fixed main export on case-sensitive file systems.
  • Updated dependencies.

3.0.7

21 Jun 17:50
Compare
Choose a tag to compare
  • Fixed Chrome issue for forms with no placeholder.

3.0.6

21 Jun 03:33
Compare
Choose a tag to compare
  • Fixed missing files in npm package.

3.0.5

21 Jun 03:27
Compare
Choose a tag to compare
  • Added "reset" versions of the CSS files that set all: unset; before applying any semantic forms styles to help avoid conflicts with other CSS. There is a performance degradation to using this technique, so you should only use this if absolutely necessary.