Releases: skybrud/Skybrud.Umbraco.Elements
Skybrud.Umbraco.Elements v1.0.0-alpha017
Installation
Changelog
-
Fixed wrong area alias in
en-US.xml
language file (see 74c3e16)
The wrong alias resulted in labels not being correctly translated in English. -
Changed runtime level for
ElementsComposer
to avoid errors during upgrades (see 470f91d)
TheElementsValueConverter
class has a dependency forElementsConverterCollection
, but while the value converter is loaded by Umbraco during upgrades, theElementsConverterCollection
dependency wasn't registered with the DI container as the composer wasn't run during upgrades, resulting in a big YSOD. -
Replaced
<a>
with<button>
for improved accessibility (see b40f2df)
In cases where the it doesn't need to be an<a>
, the<a>
elements has now been replaced by<button>
elements instead. -
Properties overlay can now be closed by pressing ESC key (bd03031)
While the overlay has a close button, it can now also be closed by the ESC key. -
Introduced .skybrud-elements-preview-content-type class for element preview (d6b4816)
This change moves the item icon and name to a new<div>
with with the.skybrud-elements-preview-content-type
. This helps better isolating the icon and name, making it easier to style without affecting too much else. -
Updated how the package is using collapsible panels (see 6f7b1d0)
Umbraco has introduced some changes that made the UI look a bit broken, so this release takes care of those changes.
Skybrud.Umbraco.Elements v1.0.0-alpha016
Installation
Changelog
-
Removed property type error from log files (see f72e77e)
If the property type isn't found, it most likely because the property was removed from the content type, and therefore not an error that is relevant to write to the log. -
Added
owner
parameter to theSkybrudPublishedProperty
constructor (see e6facf4)
Passing along the owner (the content or element holding the property), the property value converter of each property will now have access to the "owner". For instance, this enables a value converter to read other properties of the owner. -
SkybrudPublishedElement
now exposes aParent
property (see fe2d63f)
In most cases, instances ofSkybrudPublishedElement
will be created under a parentIPublishedContent
orIPublishedElement
, in which case the parent is now exposes via theParent
property. -
Improved localization (see #3 and 0d14954)
A few more labels have now been localized. As for the rest of the package, these are now translated to English and Danish. -
Updated Skybrud.Essentials dependency (76ca177)
The dependency for Skybrud.Essentials has now been updated to the latest version.
Skybrud.Umbraco.Elements v1.0.0-alpha015
Installation
Skybrud.Umbraco.Elements v1.0.0-alpha014
Installation
Skybrud.Umbraco.Elements v1.0.0-alpha013
Installation
Skybrud.Umbraco.Elements v1.0.0-alpha012
Installation
Changelog
-
GetValueEditor
method should be called with the data type configuration - otherwise some packages won't work properly (see 57773cc)
TheGetValueEditor
method is used to pass the editor model to the Angular logic in the backoffice. If the data type configuration isn't added as a parameter to this method, the configuration passed to the Angular logic may be wrong. -
Introduced
getPropertyType
method on content types (5b402ff)
ThegetPropertyType
method along with the existinghasPropertyType
method may be used by other packages utilizing the elements package.
v1.0.0-alpha011
v1.0.0-alpha010
v1.0.0-alpha009
Installation
Changelog
v1.0.0-alpha008
Installation
Changelog
-
Improved config initialization (see 4de6c38 and ff5bce2)
TheskybrudElements
directive worked fine when being used through a data type, as the properties in the configuration would already be populated. But the directive may also be used in other places (eg. as a grid editor) where all properties are necessarily populated. The directive now makes sure to populate these properties with default values if not already specified. -
Various bug fixes and improvements