This repository was archived by the owner on Jul 19, 2025. It is now read-only.
Releases: dsuryd/dotNetify-Elements
Releases · dsuryd/dotNetify-Elements
v1.5
Features
- Add capability in
Markdownto conditionally render text sections. - Add
MarkdownTOCsupport for URL fragments. - Add
Imagesupport forcssattribute. d-vm-contextnow emitsonExceptionevent upon receiving server-side exception.- Add
d-styleto provide plain scoped styling.
Bug Fixes
- Fix stale
vmContextissue affecting web components. - Fix modal web component not running closing animation.
- Fix
VMContextnot rendering state on re-mounting. - Refactor
Cardweb component to improve the handling of children components. - Refactor
Tabweb 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
componentDidMounttoconstructor. - replace
NavMenuTargetelement toRouteTargetcomponent.
- move VM connect from
Bug Fixes
- Fix
MarkdownTOC failing to scroll a header into view if the title contains a period.
1.4.1
- Replace anchor tag in
Tabcomponent with div to prevent page navigation.
1.4.2 (pending release)
- Fix
NavMenuto auto-expand the selected item's group without defining route templates.
v1.3
v1.2
Features
LineChart component improvements:
- simplify enabling streaming by adding
streamingproperty. - add
tooltipproperty 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-adapterin 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
/libfolder. - Set
dotNetify,react,react-dom, andstyled-componentsas peer dependencies. - Change
NavMenuTargetto 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
tabIndexproperty on multiple elements. - Support
inputRefproperty on basic form elements.
v1.0
- Introduce
RichTextEditorelement based on Quill.js. - Update
VMContextweb component to support late attribute binding. - Refactor 'Panel' web component to avoid issues caused by React rendering.
- Update
Elementelement 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
switchproperty 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;
withThemeis no longer required. - Add
iconproperty toButton. - Include row key when passing data grid edits back to the view model.
- Add
textproperty to markdown element to pass the markdown text. - Add
textproperty to the alert element to pass the alert text. - Add
onConnectedevent to VMContext element to provide the dotNetify VM object and initial state when first connected. - Change GridColumn
keyproperty tocolKey. - Change TabItem
keyproperty toitemKey. - Change styled-component target version from 3 to 4.