What's New
Release notes and changelog for all packages.0.7.2
New Features
- Tables draw a line on every cell edge, not only between rows, on both
Markdownand the RichText surfaces, and the grid closes at the table's rim. A reader following one row across never needed vertical lines, but someone editing a table has to aim at a cell and judge where a selection stops, and the empty 3×3 a toolbar insert produces was three horizontal rules with no sign it had three columns. The line is the same--color-borderalready used between rows, the rim merges with it into one rule rather than doubling at the edge, and both surfaces move together — the read and edit renderings match block for block, more closely than before.
Documentation
- The
RichTextEditordocs now listisOptional,isRequired,labelTooltipandnamespace, four props the editor already accepted, soastryx component RichTextEditorand the docsite props table show the Required/Optional indicator,aria-required, the label tooltip and the Lexical namespace.
Contributors
Thanks to everyone who contributed to this release:
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.