Skip to content

0.7.0

Compare
Choose a tag to compare
@Gregg8 Gregg8 released this 01 Dec 23:31
· 1294 commits to master since this release

No additional changes since alpha2. Combined list of changes and fixes...

Changes

  • Added two new popover-content-wrapper arguments:
    • :position-offset - px offset of the arrow from its default :position along the popover border. Is ignored when :position is one of the :xxx-center variants. Positive numbers slide the popover toward its center.
    • :arrow-gap - px gap between the anchor and the arrow tip. Positive numbers push the popover away from the anchor.
  • Bumped the following:
    • clojurescript ("1.7.48" ==> "1.7.145")
    • reagent ("0.5.1-rc3" ==> "0.5.1")
    • cljs-time ("0.3.10" ==> "0.3.14")
    • And some dev dependencies
    • Remember, it is the deps in your app's project.clj which determines which version of these libs are ultimately used.

Fixes

  • In popover-content-wrapper, the :arrow-length argument never worked. Although it drew an arrow of the correct size, it positioned the arrow 11px away from the popover no matter what number was specified.
  • id-fn and label-fn fixes and fixes and improvements:
    • In tab components:
      • Fixed validate-fn (fn? => ifn?) for :id-fn and :label-fn to allow keywords
      • Improved types and descriptions
    • In selection-list:
      • Fixed default for :label-fn from 'str to :label
      • Improved types and descriptions
    • In dropdown:
      • Fixed validate-fn (vector? => vector-of-maps?) for :choices
  • Fixed #59 - Components in splitter panels not updating
  • Fixed #61 - datepicker-dropdown should deref-or-value model
  • Fixed a popover bug where, if you have an element with relative or absolute positioning, then any child popovers with :no-clip? set to true will not be positioned correctly. e.g., if there was a :no-clip? popover within another :no-clip? popover, the position of the nested one would be wrong
  • Fixed inline styles in alert-box demos