Releases: dsuryd/dotNetify-Elements
Releases · dsuryd/dotNetify-Elements
v1.5
Features
- Add capability in
Markdown
to conditionally render text sections. - Add
MarkdownTOC
support for URL fragments. - Add
Image
support forcss
attribute. d-vm-context
now emitsonException
event upon receiving server-side exception.- Add
d-style
to provide plain scoped styling.
Bug Fixes
- Fix stale
vmContext
issue affecting web components. - Fix modal web component not running closing animation.
- Fix
VMContext
not rendering state on re-mounting. - Refactor
Card
web component to improve the handling of children components. - Refactor
Tab
web component to improve the handling of children components.
v.1.4
Features
- Improved support for dotNetify's server-side render (SSR) feature:
- move VM connect from
componentDidMount
toconstructor
. - replace
NavMenuTarget
element toRouteTarget
component.
- move VM connect from
Bug Fixes
- Fix
Markdown
TOC failing to scroll a header into view if the title contains a period.
1.4.1
- Replace anchor tag in
Tab
component with div to prevent page navigation.
1.4.2 (pending release)
- Fix
NavMenu
to auto-expand the selected item's group without defining route templates.
v1.3
v1.2
Features
LineChart component improvements:
- simplify enabling streaming by adding
streaming
property. - add
tooltip
property to show tooltip when mouse is over the line chart. - add 'zoom' property; by default this is enabled.
Bug Fixes
- Fix 'skip undefined' console error when streaming chart.
v1.1
This release adds the following new features:
- Provide createWebComponent API to convert React component into web component.
import { createWebComponent } from dotnetify-elements/web-components/core;
createWebComponent(MyApp, 'my-app');
- Include
custom-elements-es5-adapter
in the bundle. Including script tag on the page with web components is no longer required. - Add IE11 support for web components.
Enhancements and bug fixes:
- Separate web components from React components. To import web components, use:
import dotnetify-elements/web-components/[component-name];
- Add basic React component and web component bundles, which exclude larger components such as Chart, DataGrid, and RichTextEditor to reduce the bundle size. These bundles can be found inside the
/lib
folder. - Set
dotNetify
,react
,react-dom
, andstyled-components
as peer dependencies. - Change
NavMenuTarget
to set the width of child element to 'inherit'. - Fix Button component to center-justify the label.
- Fix Button component to allow enable override when used as form submit button.
- Support
tabIndex
property on multiple elements. - Support
inputRef
property on basic form elements.
v1.0
- Introduce
RichTextEditor
element based on Quill.js. - Update
VMContext
web component to support late attribute binding. - Refactor 'Panel' web component to avoid issues caused by React rendering.
- Update
Element
element to support css attribute when a template is specified. - Web component theming support.
v0.5
- Support web components (except IE11).
- Update the styles of checkbox and radio elements.
- Add
switch
property to the checkbox element to render it as a switch. - Support using script tag on individual component bundles.
- Set light theme as default to every component;
withTheme
is no longer required. - Add
icon
property toButton
. - Include row key when passing data grid edits back to the view model.
- Add
text
property to markdown element to pass the markdown text. - Add
text
property to the alert element to pass the alert text. - Add
onConnected
event to VMContext element to provide the dotNetify VM object and initial state when first connected. - Change GridColumn
key
property tocolKey
. - Change TabItem
key
property toitemKey
. - Change styled-component target version from 3 to 4.