v0.4.0
Leptonic now supports server-side-rendering (SSR). This book is now deployed with SSR enabled.
The leptonic-template-ssr and leptonic-template-csr templates were created. Use them to get started quickly.
Changed
- Getting started instructions were consolidated.
- Installation instructions are now much more straight-forward.
- Modals are now SSR compatible. The
ModalFncomponent was dropped. If you used it, just rename all occurrences toModal. If you previously usedModal, you might see some 'requires Fn but is FnOnce error's. Storing values moved intoModals children throughstore_valueshould be a quick fix. - Tabs are now SSR compatible. Rendering order changed to make this possible. This should not affect anyone.
- Toggles are now SSR compatible. Rendering of the (optional) icons changed. This should only affect you if custom styling is in play.
- Tables are now SSR compatible. Components were renamed to
TableHeader,TableBody,TableRow,TableHeaderCellandTableCell. - The
build.rsscript, which previously had to be create by the consumer is now longer required. It was moved into leptonic itself and will automatically take care of copying files required for a build. - The
Codeblock component now has aCopy to clipboardbutton (thanks to https://github.com/wt). - A
SelectOptionno longer requires to beEq. - The
uuiddependency was bumped to version 1.6. - A
RwSignalcan act as anOuttype - Modals now support the
on_escapeprop, letting you handle escape key presses. - The Tiptap-Editor functionality is now gated through the new
tiptapfeature. Enabling it will alter the build to automatically include required JS files.
Fixed
- Fixed a bug which led to buttons not getting disabled properly.
What's Changed
- Allow converting RwSignal to Out by @Jobarion in #21
- Add a clipboard copy button to the block code component. by @wt in #23
- docs: Remove (ignored) parameter from "title" closure of Alert by @ja-he in #31
- Add search_filter_provider to select components by @tordynnar in #24
- Fix nesting of multiple tabs by @mondeja in #28
New Contributors
- @Jobarion made their first contribution in #21
- @wt made their first contribution in #23
- @ja-he made their first contribution in #31
- @tordynnar made their first contribution in #24
- @mondeja made their first contribution in #28
Cmpare: v0.3.0...v0.4.0