Skip to content

0.7.0-alpha1

Pre-release
Pre-release
Compare
Choose a tag to compare
@Gregg8 Gregg8 released this 15 Oct 05:10
· 1306 commits to master since this release

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.

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