What's New
Release notes and changelog for all packages.0.7.1
New Features
@astryxdesign/richtextis now a stable package, released together with@astryxdesign/coreat the same version. Install it without the@canarytag:npm install @astryxdesign/richtext. It providesRichTextEditor,RichTextView,RichTextEditorToolbar,RichTextEditorAutoLinkPlugin, the headless Markdown serializers (also at@astryxdesign/richtext/markdown), and Markdown plugin support throughcreateRichTextExtension.RichTextViewand coreMarkdownrender the same document the same way, and Markdown that is imported and exported without edits comes back byte for byte.lexicaland the@lexical/*packages remain optional peer dependencies. (#7224)
Fixes
@astryxdesign/richtext(and the Lab and Charts packages) now declare their stylesheet as a side effect, so a bundler that removes side-effect-free imports keepsimport '@astryxdesign/richtext/richtext.css'instead of dropping it and leaving the editor unstyled. JavaScript modules stay tree-shakable. (#7586)astryx.css,reset.css, and every other package stylesheet (richtext.css,lab.css,charts.css) now open with@layer reset, astryx-base, astryx-theme;, the same line theme stylesheets carry. The Astryx layer order holds whichever Astryx stylesheet loads first: loadingreset.cssafterastryx.cssno longer lets the reset override component styles, and theme overrides keep winning. Setups that already declare the order on their own first line are unchanged. (#7585)
Documentation
- The
@astryxdesign/richtextREADME shows the full stylesheet setup: Core'sreset.cssandastryx.css, your theme's CSS, andrichtext.css. It says the package ships prebuilt CSS, so you never compile its source, and thatrichtext.csssits in@layer astryx-base, so theme overrides win oncereset.css(or the layer-order line) loads first. (#7582)
Contributors
Thanks to everyone who contributed to this release:
0.1.9
No changes in this release.