Releases: day8/re-com
Releases · day8/re-com
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.
Cross-browser Flexbox Support (Safari)
- BREAKING CHANGE: CSS changes
- BREAKING CHANGE: To be compatible with Safari (and potentially others later), we should replace {:display "flex"}, {:flex "none"} etc. with new API calls.
- Added cross-browser Flexbox support. Initially for Safari through the -webkit- browser prefix. Previously it rendered all boxes down the page (abysmally).
- Exposed new box API functions: flex-child-style, justify-style, align-style, scroll-style
- Added a new API call to complete the set: flex-flow-style
- Refactored all re-com components to use the new box functions.
- Refactored the demo to use the new box functions.
- Further progress on the box demo.
Layout improvements
- BREAKING CHANGE: [layout] now expects standard reagent components rather than component functions. i.e [comp] rather than comp.
- Other [layout] changes:
- Added visual drag handle in middle of splitter.
- Now using alternative mouse cursors.
- Very light mouse over color (and handle colour darkens too).
- Added a couple of helper functions to popover to neaten the code up.
- In LHS menu, renamed "Basic" to "Basic Button"