DataFormsJS v5.14.0 Release Notes
Release Date: 2022-11-28 // almost 2 years ago-
- ➕ Added ability to use HTML Attribute
[data-format]
from Web Component<url-router>
when using attribute[url-param]
. The same functionality when using Web Component<json-data>
with attribute[data-bind]
is provided.- This includes using
data-format="number|date|dateTime|time|{function}"
and custom functions. js/web-components/url-router.js
https://github.com/dataformsjs/dataformsjs/blob/master/js/web-components/url-router.js
- This includes using
- ⚡️ Updated Image Gallery Controls/Components:
- Fixed issue where
pinch-to-zoom
on mobile devices would cause previous/next image navigation to occur. js/web-components/image-gallery.js
https://github.com/dataformsjs/dataformsjs/blob/master/js/web-components/image-gallery.jsjs/plugins/imageGallery.js
https://github.com/dataformsjs/dataformsjs/blob/master/js/plugins/imageGallery.jsjs/react/es6/ImageGallery.js
https://github.com/dataformsjs/dataformsjs/blob/master/js/react/es6/ImageGallery.js
- Fixed issue where
- ➕ Added ability to use HTML Attribute
Previous changes from v5.13.1
-
- ⚡️ Update Code Comments on React Component
<JsonData>
- Previously
@license
was included in the main comment which resulted in Vite including about 5 kB (uncompressed) and about 1.5 kB of extra code on the build process. - Comments were updated so that they are not included on build resulting in smaller files.
- Previously
- ⚡️ Update Framework, React, and Web Components for Date/Time formatting:
- Update for
en-US
to use format{date} {time}
instead of{date}, {time}
because most people in the US (and software programs) do not use the comma while Chrome uses the comma.
- Update for
- ⚡️ Update Code Comments on React Component