Liking cljdoc? Tell your friends :D

N.N.N (YYYY-MM-DD)

... unreleased features go here

2.13.1 (2021-02-24)

Fixed

  • Fix datepicker-dropdown exception. Regression in 2.13.0.

2.13.0 (2021-02-23)

IMPORTANT: You must upgrade your copy of re-com.css when upgrading to this release.

You also should ugprade your copies of Material Design Iconic Font CSS and font files including:

  • css/material-design-iconic-font.min.css
  • fonts/Material-Design-Iconic-Font.eot
  • fonts/Material-Design-Iconic-Font.svg
  • fonts/Material-Design-Iconic-Font.ttf
  • fonts/Material-Design-Iconic-Font.woff
  • fonts/Material-Design-Iconic-Font.woff2

Added

  • Add new debugging features, including the new :src parameter. The debug page explains more. Note: where previously parameter validation errors raised exceptions, now components instead draw themselves as a red, placeholder box, and write error information to the devtools console. This is a gentler, more informative approach - exceptions are too jarring and result in a blizzard of confusing React stack traces in the console.
  • Add a new compiler configuration re-com.config/root-url-for-compiler-output. The config page explains more.
  • Add column sorting feature to [simple-v-table]. Column specifications can now, optionally include a :sort-by key.
  • Add new arguments to [tag-dropdown] including :required? ,:min-width, :max-width, :abbrev-fn and :abbrev-characters.
  • Add the argument :split-is-px? to [splitter]. See #178
  • Add year navigation buttons to [datepicker]. See #109 Breaking the HTML structure for the datepicker navigation section was changed and certain CSS classes have been renamed/changed. If you have custom CSS selectors targeting these parts, you'll need to edit as follows:
    • available to rc-datepicker-selectable
    • disabled to rc-datepicker-disabled
    • off to rc-datepicker-unselectable (for unselectable days) or rc-datepicker-out-of-focus (for days not in the current month)
    • selected to rc-datepicker-selected
    • today to rc-datepicker-today.

Fixed

  • Previously, the argument and parts description data structures (for each component) were incorrectly included into production builds. This is now fixed. (i.e. when js/GOOG.debug is false).
  • [datepicker] week number calculation with arbitrary :start-of-week argument. See #159
  • [tag-dropdown] popover alignment is now centered under the component, rather than off to the left.
  • Fix the disabled? true state styling of [tag-dropdown]
  • Fix the disabled? true state styling of [datepicker]
  • [alert-list] no longer ignores individual alert :style argument. See #83

Changed

[text/p]
  • [text/p] is now an alias to [text/p-span]. Externally this means no change. But interally, it is implemented using [:span] instead of [:p] (allowing you to embed boxes etc). Breaking Because of the change in HTML elements used, your custom CSS selectors targetting p elements will have to be changed to target span.rc-p.
[tag-dropdown]
  • Breaking
    • Removed the tag-dropdown arguments :tag-width, :tag-height, :tag-comp and :on-tag-click. To fix, remove use of these arguments from your code.
    • Changed default of :unselect-buttons? to false, if you want to maintain the old behaviour then add :unselect-buttons? true to the arguments passed to the component.
[v-table] and [simple-v-table]

Both of these components are still Alpha. Iterative improvements have continued causing some breaking changes.

  • Breaking:
    • Argument renames. This will break any CLJS code that pass the arguments to the components. To fix, change the arg to use the new name:

      • :header-renderer arg of simple-v-table to :column-header-renderer
      • :max-table-width arg of v-table and simple-v-table to :max-width
      • :scroll-cols-into-view arg of v-table to :scroll-cols-into-view
      • :col-header-renderer arg of v-table to :column-header-renderer
      • :col-header-height arg of v-table to :column-header-height
      • :col-header-selection-fn arg of v-table to :column-header-selection-fn
      • :parts args that match :v-table-* to :* (in other words, remove v-table-)
      • :parts args that match :*-col-* to :*-column-*
      • :id-fn arg has been renamed :key-fn and its default has been changed from :id to nil. If you leave it blank or pass nil, it will use the row's internally generated 0-based row-index instead of :key-fn
      • :style-parts arg of v-table to :parts
        • Then wrap any style maps in a map with a key of :style. For example:
             :style-parts {:v-table {:background-color "lightgrey"}}
          
             ;; becomes...
          
             :parts {:wrapper {:style {:background-color "lightgrey"}}}
          
             ;; notice, the above also included a :v-table => :wrapper conversion 
          
    • Rename :valign in simple-v-table :columns specification to :vertical-align to match the associated CSS property. Fix the documentation and demos of the same.

    • :attr-parts arg of v-table has been removed. You need to incorporate it into the :parts arg. For example:

      :attr-parts {:v-table-top-left {:on-click (handler-fn ...)}}
      
      ;; becomes...
      
      :parts {:top-left {:attr {:on-click (handler-fn ...)}}}
      
      ;; notice, the above also included a :v-table-top-left => :top-left conversion 
      

2.12.0 (2012-01-23)

Fixed

  • Fix v-table as :model deref was broken in last release.
  • Fix [multi-select] and [selection-list] scrolling when disabled?
  • Fix [datepicker] styling of disabled/unselectable vs days out of the current month

Removed

  • Breaking
    • Remove re-com.misc ns. Replaced by re-com.checkbox, re-com.input-text, re-com.radio-button, re-com.slider, re-com.progress-bar and re-com.slider. If you require re-com.misc directly in your code, instead of using the aliases in re-com.core, then you will need to change that to the appropriate new namespace reference(s).

2.11.0 (2021-01-23)

Added

Changed

  • Improved disabled? styling of many components.

2.10.1 (2020-12-22)

Changed

  • Change popover-anchor-wrapper to allow the use of values in showing?. See #153

2.10.0 (2020-12-21)

Added

  • Add 15 new attributes and 1 fix to single-dropdown. See #202
  • Add datepicker i18n and ability to set its width. See #201
  • Add :on-alter to input-text-base. See #200
  • Add tooltip to horizontal-bar-tabs & :validate?. See #199

Fixed

  • Remove reset! of external-model in input-text-base event handlers. Fixes #219 Caused regression of #187. Fixed in 2.11.0.
  • Fix consistency of disabled? arg
  • Fix CSS comment syntax. See #222.
  • Fix typeahead not taking external changes into account. See #206

2.9.0 (2020-08-11)

Changed

  • Upgrade ClojureScript to 1.10.773
  • Upgrade shadow-cljs to 2.10.19
  • Upgrade core.async to 1.3.610

Fixed

  • Fix Reagent deprecation warning
  • Fix #212 - Warning/future error in React 16 (also improved the tab-index demo)
  • Fix bug where single-dropdown was optimistically updating the model and ignoring any model validation/changes made by the caller (same bug was fixed in input-text a while back: commit ebad92bc)
  • Fix invalid markup in dropdown async demo
  • Fix "validateDOMNesting(...): div cannot appear as a descendant of p" warning in info-button demo
  • Fix #185. Also added other new html attributes and new css styles
  • Remove ^:const references as this compile error was appearing in the demo: https://github.com/thheller/shadow-cljs/issues/708
  • Fix potential 'Cannot find local Karma!' error on GitHub Actions

2.8.0 (2020-03-08)

Changed

  • Upgrade reagent to 0.10.0

Fixed

  • Use reagent.impl.component/component-name instead of component-path which has been removed upstream.
  • Use reagent.dom/dom-node instead of deprecated reagent.core/dom-node.

2.7.0 (2020-02-14)

Fixed

  • Default index for lein dev-auto HTTP server is now index_dev.html instead of a 404 error. Thanks to @mmower's report on Clojurians.

Changed

  • Upgrade reagent to 0.9.1
  • Upgrade shadow-cljs to 2.8.80
  • Upgrade ClojureScript to 1.10.597
  • Upgrade karma to 4.4.1
  • Upgrade org.clojure/core.async to 0.7.559
  • Upgrade binaryage/devtools to 1.0.0

2.6.0 (2019-09-12)

Fixed

  • Fix typeahead does not take external model changes into account anymore. See #205.

Changed

Can you improve this documentation? These fine people already did:
Isaac Johnston, Mike Thompson, Gregg8, day8 & Gregg Ramsey
Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close