Releases: edcarroll/ng2-semantic-ui
v0.9.7
- Localization
- Improved German locale (thanks to @Micha-Richter)
- Select
- Fixed Edge showing
null
on templated & formatted selects (thanks to @yavorskiy-web, closes #285)
- Fixed Edge showing
- Pagination
- Fixed start page number issues (thanks to @liammann)
- General
v0.9.6
- Localization
- Added Georgian locale (thanks to @vaso991)
- Added Dutch locale (thanks to @martijnmelchers)
- Datepicker
- Improved mobile detection support for
pickerUseNativeOnMobile
- Improved mobile detection support for
- Popup
- Fixed AoT compilation error (closes #247)
- General
- Replaced all document
@HostListener
s with manual bindings to improve performance (closes #255)
- Replaced all document
v0.9.5
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
- Added
- Modal
- Select
- Added support for hidden labels in multi select (thanks to @mcosta74, closes #188)
- Fixed
ngModel
not clearing whenundefined
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
- Added Australian locale (thanks to @trevordaniels)
- Dimmer
- Fixed transition being applied when initially dimmed
- Message
- 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)
- Replaced
v0.9.4
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
- Fixed typo in French locale (thanks to @harogaston)
- General
- Updated deps to support Angular 5 (beta and above) (closes #190)
v0.9.3
- Radiobutton
- Added support for reactive forms (closes #168)
name
andvalue
are now required properties (though this won't affect existing code)
- Added support for reactive forms (closes #168)
- Datepicker
- Dates not in a month are now no longer disabled (addresses part of #165)
- Localization
- Popup
- Modal
- Select
- Fixed issues when handling falsy values (closes #175)
- General
- Fixed
NgModule
imports for Modal & Select (closes #160)
- Fixed
v0.9.2
v0.9.0
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:
- English UK (en-GB)
- English US (en-US)
- Spanish (es) (thanks to @genuinefafa)
- Portuguese (pt) (thanks to @fniwes)
- French (fr) (thanks to @ciaraward)
- German (de) (thanks to @ciaraward)
- Italian (it) (thanks to @mcosta74)
- 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 usingoptions
(closes #143) - Fixed not opening when down key pressed (closes #128)
- Split
options
intooptions
andoptionsLookup
BREAKING - Renamed
availableOptions
tofilteredOptions
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
intooptions
andoptionsLookup
BREAKING - Renamed
itemSelected
toresultSelected
BREAKING - Removed
ngModel
support BREAKING
- Added
- 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)
- Added
- 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
withfilteredOptions
.availableOptions
has been deprecated and will be removed in0.10.0
, asfilteredOptions
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
withlocaleOverrides
as per the new localization service.
- If using a remote lookup function, rename
- 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 ofitem
have been replaced by the clearerresult
as there was a mix before. - Remove all uses of
[(ngModel)]
asngModel
support has been dropped. Instead, use(resultSelected)
to track the last selected option.
- If using a remote lookup function, rename
That covers everything you need to do for a clean upgrade.
v0.8.4
v0.8.3
v0.8.2
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.