Skip to content

Releases: edcarroll/ng2-semantic-ui

v0.9.7

16 Mar 23:41
Compare
Choose a tag to compare
  • Localization
  • Select
    • Fixed Edge showing null on templated & formatted selects (thanks to @yavorskiy-web, closes #285)
  • Pagination
    • Fixed start page number issues (thanks to @liammann)
  • General
    • Fixed Popper related TS error (thanks to @kloener, closes #355)
    • Updated TS peer dependency to use a caret (thanks to @jonaschn, closes #317)

v0.9.6

20 Aug 11:43
Compare
Choose a tag to compare
  • Localization
  • Datepicker
    • Improved mobile detection support for pickerUseNativeOnMobile
  • Popup
    • Fixed AoT compilation error (closes #247)
  • General
    • Replaced all document @HostListeners with manual bindings to improve performance (closes #255)

v0.9.5

14 Aug 14:27
Compare
Choose a tag to compare

0.9.5 is here and it brings a host of bugfixes, as well as a few new features. Massive thank you to @mcosta74 and @harogaston for their work on this release 🎉

  • Datepicker
    • Added support for 12 hour time display (thanks to @harogaston, closes #164)
    • Added pickerInitialDate property, allowing you to change the date the datepicker initially opens on (thanks to @harogaston, addresses #165)
    • Fixed datepicker calendar headers not conforming to locale configuration (thanks to @harogaston)
    • Fixed duplication issue when rapidly opening and closing the picker
  • Popup
    • Added popupTemplateContext property, allowing you to bind a variable to the popup template (closes #127)
    • Fixed elements in template not being focusable (closes #200)
    • Fixed performance issues with large numbers of popups on a page (closes #194)
    • Fixed navigating during delay causing destroyed view errors (closes #189)
    • Fixed conflict with BrowserAnimationsModule (closes #204)
    • Fixed rare destroyed view errors
  • Modal
    • Added support for mini and tiny sizes (thanks to @mcosta74, closes #203)
    • Fixed modals reappearing after navigating upon dismiss (closes #186)
    • Fixed scrolling support for long modals (closes #126)
    • Fixed aggressive autofocus occasionally causing changed after checked errors
  • Select
    • Added support for hidden labels in multi select (thanks to @mcosta74, closes #188)
    • Fixed ngModel not clearing when undefined passed (thanks to @lialosiu)
    • Fixed selected options not updating when options are updated (closes #206)
    • Fixed labels not updating when using OnPush change detection (closes #213)
  • Localization
  • Dimmer
    • Fixed transition being applied when initially dimmed
  • Message
    • Fixed styling on icon messages (thanks to @mcosta74, closes #192)
  • Dropdown
    • Fixed error thrown when trying to keyboard navigate an empty dropdown
  • General
    • Replaced FocusEvent with a custom interface to support UC browser (closes #202)

v0.9.4

27 Jul 13:59
Compare
Choose a tag to compare

Hotfix release to fix #195. Also includes other fixes already in master.

  • Popup
    • Locked down Popper.js deps until Typescript definitions are fixed (closes #195)
  • Dimmer
    • Fixed dimmer transition getting out of sync
  • Select
    • Updated Angular minimum deps to 4.3.1 (closes #113)
  • Localization
  • General
    • Updated deps to support Angular 5 (beta and above) (closes #190)

v0.9.3

19 Jul 22:48
Compare
Choose a tag to compare
  • Radiobutton
    • Added support for reactive forms (closes #168)
      • name and value are now required properties (though this won't affect existing code)
  • Datepicker
    • Dates not in a month are now no longer disabled (addresses part of #165)
  • Localization
  • Popup
    • Fixed Typescript 2.4.1 compilation error (closes #166)
    • Fixed occasional 'attempt to use destroyed view' errors (closes #178)
  • Modal
    • Fixed ModalTemplate warning when using Angular CLI (closes #171)
    • Fixed autofocus not working in IE11 (closes #167)
  • Select
    • Fixed issues when handling falsy values (closes #175)
  • General
    • Fixed NgModule imports for Modal & Select (closes #160)

v0.9.2

04 Jul 12:45
Compare
Choose a tag to compare
  • General
    • Added ng-touched support to select, datepicker & checkbox for better form validation (closes #155)
  • Accordion
    • Fixed ChangedAfterChecked errors on dynamic panels (closes #158)
  • Select
    • labelField no longer causes an error when pointing at a non-string field (closes #157)

v0.9.0

03 Jul 19:56
Compare
Choose a tag to compare

0.9.0 is here and it brings 2 brand new components and a multitude of additions & fixes for various other components.

Since this is a <1.0.0 release, there are a number of breaking changes. If updating from 0.8.4 please read the upgrade guide below the release notes.


Release Notes

  • Datepicker (new component) (closes #99)
    • Supports picking dates, times, datetimes, months & years
    • Supports constraining date with minimum & maximums
    • Supports being attached to an input element for text entry
    • Validation errors automatically applied when using reactive forms
    • Configurable native fallback on mobile browsers
    • Timezone independent
    • Fully localizable
  • Pagination (new component) (closes #112) (huge thanks to @mcosta74 for writing the component!)
    • Supports navigation & boundary links
    • Supports rotation of page numbers
    • Configurable page sizes & limits
  • Localization (new service)
    • Components relying on in-built text can now be centrally localized
    • Options for datepicker, select & search components
    • Allows customisation of in-built locales, as well as ability to load entirely custom ones
    • Supports following locales out of the box:
  • Select
    • Added support for more built in Semantic UI styles BREAKING
    • Added support for in menu searching
    • Added icon property to choose dropdown icon
    • Added optionsFilter option for a custom search function (closes #137)
    • Added localization support
    • Added full tabbing support
    • Fixed ngModel not setting initial value when not using options (closes #143)
    • Fixed not opening when down key pressed (closes #128)
    • Split options into options and optionsLookup BREAKING
    • Renamed availableOptions to filteredOptions DEPRECATED
    • Removed noResultsMessage BREAKING
    • Removed selection as default class BREAKING
  • Search
    • Added resultTemplate option for specifying result template (closes #136)
    • Added resultFormatter option for specifying result formatter function
    • Added retainSelectedResult option that controls automatic clearing of the input
    • Added optionsFilter option for a custom search function (addresses #137)
    • Added localization support
    • Added full tabbing support
    • Split options into options and optionsLookup BREAKING
    • Renamed itemSelected to resultSelected BREAKING
    • Removed ngModel support BREAKING
  • Modal
    • Added isInverted option (thanks to @trevordaniels)
    • Elements with the autofocus attribute now get focus when modals open (closes #150)
    • Fixed alignment on scrolling modals (closes #126)
  • Popup
    • Added support for Semantic UI directional transitions
    • Elements with the autofocus attribute now get focus when the popups open (closes #150)
  • Dropdown
    • Dropdowns now autoclose when losing focus via tabbing
  • Checkbox
    • Checkboxes & radiobuttons now focus on click

Upgrade Guide

To fix each of the breaking changes from above follow the individual bullet points below:

  • Select
    • If using a remote lookup function, rename [options] to [optionsLookup]. The split was introduced because having a single property can be confusing.
    • Replace all occurrences of availableOptions with filteredOptions. availableOptions has been deprecated and will be removed in 0.10.0, as filteredOptions is clearer.
    • Add class="selection" to all of your existing <sui-select> and <sui-multi-select> components. selection was removed as a default class to support a wider range of Semantic UI select styles.
    • Replace uses of noResultsMessage with localeOverrides as per the new localization service.
  • Search
    • If using a remote lookup function, rename [options] to [optionsLookup]. The split was introduced because having a single property can be confusing.
    • Replace all occurrences of (itemSelected) with (resultSelected). This is because all instances of item have been replaced by the clearer result as there was a mix before.
    • Remove all uses of [(ngModel)] as ngModel support has been dropped. Instead, use (resultSelected) to track the last selected option.

That covers everything you need to do for a clean upgrade.

v0.8.4

21 Jun 17:05
Compare
Choose a tag to compare
  • Select
    • Fixed searchable selects not closing when clicking caret (closes #118)
  • Dropdown
    • Fixed not opening when toggled by another page element (closes #122)
  • Modal
    • Fixed not working in IE11 (closes #120)
  • General
    • Added support for strictNullChecks

v0.8.3

15 Jun 06:01
Compare
Choose a tag to compare
  • Search
    • Added maxResults option (closes #94)
    • Added more transition options to control results menu (#98)
    • Fixed not closing when result selected (closes #95)
  • Select
    • Added more transition options to control options menu (#98)
  • Progress
    • Fixed border radius styles not applying when attached (closes #101)
    • Fixed ignoring of manually added success class (closes #100)
  • General
    • Fixed support for some older browsers (closes #92)

v0.8.2

07 Jun 00:25
Compare
Choose a tag to compare

This release moves the web-animations-js polyfill back outside the library, so it must be manually imported by users when using either the collapse or accordion components.

This is a BREAKING CHANGE as for full browser support you must follow the instructions in the docs.

Closes #91 and #92.