Releases: Fryuni/inox-tools
@inox-tools/utils@0.8.1
Patch Changes
- e5bb120: Export utility type
UnwrapLaziesto turn an array ofLazyinstances into an array of their lazy values.
@inox-tools/utils@0.8.0
Minor Changes
- 29e5288: Improved Lazy utility with new features:
- Added circular dependency detection that throws a clear error when a Lazy value tries to access itself during initialization
- Implemented Promise interface (
then,catch,finally) allowing Lazy instances to be awaited directly - Added attachment system for side effects:
attach()registers callbacks when values are computed,chain()creates derived Lazy instances - Added static methods for working with multiple lazies:
attachMulti,chainMulti,attachAll,chainAll - Added new
LazyKeyedclass for managing keyed lazy values with per-key memoization, attachments, and chaining
@inox-tools/star-warp@0.5.1
Patch Changes
- Updated dependencies [29e5288]
- @inox-tools/utils@0.8.0
@inox-tools/server-islands@0.4.1
Patch Changes
- Updated dependencies [29e5288]
- @inox-tools/utils@0.8.0
@inox-tools/runtime-logger@0.7.1
Patch Changes
- Updated dependencies [29e5288]
- @inox-tools/utils@0.8.0
- @inox-tools/modular-station@0.7.1
@inox-tools/request-state@0.7.2
Patch Changes
- Updated dependencies [29e5288]
- @inox-tools/utils@0.8.0
@inox-tools/request-nanostores@0.6.1
Patch Changes
- Updated dependencies [29e5288]
- @inox-tools/utils@0.8.0
- @inox-tools/request-state@0.7.2
@inox-tools/portal-gun@1.3.1
Patch Changes
-
6328ff4: Fixed portals placed inside inline elements (like
<p>tags) when the portal content contains block elements (like<div>).Previously, using a custom element tag for portal entries caused HTML parsers to treat the portal as an inline element, leading to malformed HTML when block elements were sent through the portal. Now portal entries use a
<div>placeholder with a data attribute, which correctly handles the block-in-inline parsing behavior.Note: When a block element inside a portal causes it to be moved out of an inline element, the inline element will be split, leaving empty tags (e.g.,
<p></p><p></p>). This is standard HTML parsing behavior and matches how MDX handles components that are alone on their lines. If this is undesired, consider using a plugin or a separate middleware to remove consecutive empty<p>tags.Fixes #257
-
Updated dependencies [29e5288]
- @inox-tools/utils@0.8.0
- @inox-tools/runtime-logger@0.7.1
@inox-tools/modular-station@0.7.1
Patch Changes
- Updated dependencies [29e5288]
- @inox-tools/utils@0.8.0
@inox-tools/inline-mod@2.3.1
Patch Changes
- Updated dependencies [29e5288]
- @inox-tools/utils@0.8.0