Releases: day8/re-com
Releases · day8/re-com
0.7.0-alpha2
Changes
- 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, your app will determine which version of these libs are used by re-com.
Fixes
- 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
0.7.0-alpha1
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
andlabel-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
- Fixed
- In
selection-list
:- Fixed default for
:label-fn
from'str
to:label
- Improved types and descriptions
- Fixed default for
- In
dropdown
:- Fixed
validate-fn
(vector?
=>vector-of-maps?
) for:choices
- Fixed
- In
0.6.2
Changes
- Bumped Reagent to
0.5.1-rc3
. - Now displays
component-path
in validation errors and warnings (requires Reagent0.5.1-rc2
or above). - Removed the following classes from
re-com.css
as they were only meant for the demo, which now uses inline styles:- alert-success-modern
- alert-warning-modern
- alert-danger-modern
0.6.1
0.6.0
Breaking Changes
- #36 - Upgrade to Latest Version Of the Material Design Icon Font.
- You'll need to go through the Upgrading from 1.x to 2.x document as there have been quite a number of icons renamed along with other changes described there.
- All icons must now include the
zmdi
CSS class and where they previously began withmd-
, they all now begin withzmdi-
. - v2 icons are not fixed-width now so we've added the
zmdi-hc-fw-rc
CSS class to make them behave like v1 width icons. Just add this to the[:i]
markup. - Putting this all together, where you had
[:i.md-add]
, you would now use[:i.zmdi.zmdi-hc-fw-rc.zmdi-plus]
(note renaming fromadd
toplus
). - Make sure to refresh all files from the run/resources/public/assets directory in your projects. i.e. both
css
andfonts
. - Note that
re-com.css
has also been modified.
- #15 - support optional
:id-fn
in selection-list like in dropdown.- If
:id-fn
not provided, then:model
must contain:id
field for each item, otherwise:id
is optional. :on-change
is now passed "a set of the ids (as defined by:id-fn
) of the selected items" instead of "a set of selected items".- Changed from Alpha to Stable status.
- If
- #16 - Datepicker: replace
:enabled-days
with:selectable-fn
pred.- remove datepicker :pre assertion for selected day.
Changes
- #14 - Eventually remove bug warning in h-box demo.
- #22 - Access to backdrop
:on-click
event on modal-panel (see updated demo page). - #31 - Improve figwheel usage.
- #32 - Better alert-boxes (see updated demo page for details).
- #37 - Update cljs-time dependency which allows compatibility with boot.
- #38 - Datepicker dropdown - added parameter for empty default value.
- change datepicker parameter :model to be optional.
- #46 - Use lein-shell native OS specific commands.
- #50 - Update popovers.cljs.
- Updated to work with Clojure 1.7.0, ClojureScript 0.0-3308, cljs-time 0.3.10, figwheel 0.3.7.
- Added support for Bootstrap 3.3.5 (re-demo is updated).
- Added CONTRIBUTING.md. Please submit pull requests using the develop branch :-)
Fixes
- #13 - Allow for data-* and aria-* attributes in html-attr?
- #17 - ctrl-a (select all) not working for input-text in Firefox.
- #18 - Make re-com scrollers compatible with the spec.
- #24 - Fix ALL backdrop problems.
- #34 - Fix modal-panel to re-render with new props.
- #35 - merge bug with [p] component.
- #42 - Move secretary into dev dependencies.
- #45 - Correct key for -webkit-user-select.
0.5.4
Changes
- Switched browser detection to use the built-in goog isChrome() API.
- Changed function specs in (component)-args-desc to new Haskell type notation.
- Fixed title page description re Segoe/Roboto and updated README.
- Tidied up the h-box demo code. Removed Segoe/Roboto font references.
Fixes
- A selection-list with nothing chosen was returning #{nil} in some cases. Now returns #{}.
- Incorporated pull request #8 changes (:id-fn and :label-fn in dropdown component) and made further changes to fully address this issue.
- For the
input-txt
component,:type "text"
was not being added.
0.5.3
Changes
- Created a very detailed demo to explain h-box. Try it out here.
- Added :max-width and :max-height to all box components.
- Added :style parameter to all tab components.
- Added :flex parameter to [p] component.
- [gap]
- Added :width and :height parameters.
- Added results boxes for demo1 in [gap] demo page.
- [h/v-split]
- Added :size, :width and :height parameters.
- Updated descriptions.
- Popover components
- Updated popover descriptions to match the actual situation that :showing? MUST be an atom.
- Added :style parameter to [close-button].
- Added :close-button? parameter to [popover-tooltip].
- Changed close icons in popovers and alerts to material design icons.
Fixes
- Addressed issue #7 - [label] only works with strings and not hiccup syntax.
- Fixed an [h-box/v-box] :gap issue where for example, an h-box with :gaps directly within another h-box will cause their parent container to incorrectly size itself.
- Fixed bug in [popover-anchor-wrapper] where :flex wasn't being set.
- Fixed bug in tabs where (id-fn %) has not been added.
- Fixed bug - padding on close button in :size editor.
- Fixed bug - wrapping ":status-icon?" text.
0.5.2
0.5.1
0.5.0
Version 0.5.0
- fix #2 - Custom styling for labels for Tabs. (made similar changes to dropdown component).
- fix #4 - Split Component: Add on-drag-complete function to the API.
- Also added
class
,style
andattr
parameters to bothv-split
andh-split
components. - fix #3: Fixed usage example for scroller v-scroll variable.
- Correct various working and spelling mistakes.