Skip to content

2.2.0

Compare
Choose a tag to compare
@Gregg8 Gregg8 released this 05 Nov 01:00
· 1074 commits to master since this release

Component Styling Improvements

  • Added more classes to the components for easier styling via CSS. Every component now has an "rc-" style at the root level. Also added some inner classes where useful. Classes were added in the following component modules:
    • buttons
    • datepicker
    • misc (checkbox, radio-button, slider, progress-bar)
    • modal-panel
    • popover
    • selection-list
    • text
    • typeahead
  • With the aim of having :class, :style and :attr args for all components:
    • popover-anchor-wrapper/content-wrapper/tooltip: added :class and :attr args
    • checkbox/radio-button: added :class arg
    • alert-list: added :alert-class and :alert-style args to style the alerts in the list and added rc-alert-list class
    • selection-list: added :class, :style and :attr args
    • tab components: added :class and :attr args
    • typeahead: added :attr arg

Other Changes

  • Added a generic close-button component and replaced the three custom ones in popover, alerts and the h-box demo. This is exposed publicly via the re-com.core/close-button
  • Allow nil to be passed for input-text model (converts to ""). Thanks p-himik for validation fn
  • Improved the argument docs to provide clarity for the :class, :style and :attr args for each component in regards to which part of the component they apply to
  • Merged #169 - Add :placeholder option for datepicker dropdown
  • Merged #171 - Parametrize color of the svg arrow (stroke attribute)
  • Merged #172 - Add missing closing bracket to sample code

Fixes

  • Merged #168 - Hides suggestions on blur; Added option to change model on every keystroke (this fixes #141 - Typeahead doesn't close when clicking outside)
  • Fixed #187 - How does input-text handle keyboard events in the :on-change function?