@appsemble/preact
Advanced tools
Changelog
[0.13.13] - 2020-09-08
data-loader
): Add loadErrorMessage
parameter for translating load error messages.feed
): Add the following translatable messages to the block: anonymousLabel
,
replyErrorMessage
, replyLabel
, emptyLabel
.form
): Add support for AcceptRequirement
and LengthRequirement
for file
fields.form
): Add support for tag
on fields. This sets the tag for a field’s label, overwriting
the optional label.form
): Add support for the following translatable messages: submitLabel
,
fieldErrorLabel
, formRequirementError
, invalidLabel
, emptyFileLabel
, optionalLabel
.list
): Add parameters for translating error messages and when no data is available.table
): Add errorMessage
and emptyMessage
parameters for translation purposes.form
): Add minimum value of 1
to maxLength
and minLength
in LengthRequirement
.form
): Move accept
to AcceptRequirement
.table
): Update name
to use remappers.intl-messageformat
. Use block parameters with
remappers instead.Changelog
[0.13.11] - 2020-08-27
form
): Add support for previous button. It is defined by the previousLabel
parameter and
onPrevious
action.appsemble organization create
command to create organizations.form
): Add remapper support to submitLabel
.appsemble theme upload
command.form
): Fix logic for determining form validity.Changelog
[0.13.9] - 2020-08-21
Changelog
[0.13.8] - 2020-08-18
filter
): Add support for remappers.form
): Add support for remappers.map
): Add support for remappers.markdown
): Add support for remappers.string.replace
remapper.Changelog
[0.13.7] - 2020-07-31
form
): Add support for remappers.map
): Allow customizing the message for location errors.string.replace
remapper.map
): Make the location error English by default.onSuccess
and onError
actions.Changelog
[0.13.6] - 2020-07-27
feed
): Add support for custom markers. Refer to the block documentation for more
information.table
): Field label is now a remapper.table
): The message for the empty state can now be configured using a remapper.table
): The message for the error state can now be configured using a remapper.email
action. This action can be used to send emails based on what’s entered as its
to
, subject
, and body
parameters.email
actions from apps.feed
): Move longitude
and latitude
into the marker
object.feed
): Replace remapping logic with remappers.Changelog
[0.13.5] - 2020-07-15
throw
action. This can be used when a block specifically wants data to be thrown
instead of returned.data-path
and data-type
attributes to pages and blocks on pages.detail
): Add appsemble-
type classes to the containers of fields to make it easier to
style them. For example: appsemble-file
for file type fields.data-notifier
): Add new the data-notifier
block. This has the same functionality as the
filter block for refreshing new data, but for general use.detail-viewer
): Add icons
property which can be used to customize the way the marker
looks. It is identical to how works in map
.form
): Add appsemble-
type classes to the containers of fields to make it easier to
style them. For example: appsemble-file
for file type fields.form
): Add requirements
parameter to base of form. This can be used to perform an action
that mutates the form based on what is returned from the action.list
): Add image
property.map
): Add color
property to icons
. This can be used to change the color of custom
markers.map
): Add defaultLocation
property. This property is used to set the location of the map
when the user’s location cannot be found. It defaults to Greenwich Park.noop
action return the data it received instead of returning nothing.filter
): This block has been rewritten, because it had too many issues. Support for data
notifications has been removed. Use data-notifier
instead.form
): Move several fields specific to validation to the requirements
array. Refer to
the block documentation for specific changes.