Repository navigation
Releases
Releases · lrstanley/bloom
v0.0.0-alpha.5
✨ Highlights
- Fitted layers measure at their fixed size: a layer with one side fixed and the other fitted to its content,
such asLayer(dialog).Size(40, 0), now measures its content at that fixed size. Before, it measured at the
overlay's full size, so a component saw the screen's width inContext.Width, and text that wraps got a height too
short for the width it was drawn at, cutting off its last rows.
Changelog
🐞 Bug Fixes
- c5ed6a2: layers: measure a fitted side at the layer's fixed size (@lrstanley)
Full changelog: v0.0.0-alpha.4...v0.0.0-alpha.5
📦 Install
go get bloomfx.dev/bloom@v0.0.0-alpha.5Docs: bloomfx.dev/bloom
💬 What to do next?
- 🙋♂️ Running into an issue or want a specific feature? Take a look here!
- ⌚ Find previous releases.
- 🗝️ Find a vulnerability? Check out our Security and Disclosure policy.
- 🔗 Other useful links:
v0.0.0-alpha.4
✨ Highlights
- Floating layers:
Layer(menu).Float()places and draws a layer against the whole screen rather than the
overlay it's declared in, so a dropdown inside a dialog or a form row isn't cut off at its edge. It's still part of
what it's declared in: anchoring,on.ClickOutside, modal scopes, and focus treat it that way, and it's drawn over
the dialog it's in. See the newdropdownsexample. - Anchored layers flip: a layer anchored with
AnchorTothat doesn't fit on the side asked for goes on the
opposite one when it fits there, such as a dropdown opening above its field near the bottom of the screen. A corner
flips each way on its own, andOffsetis mirrored with it. A component in the layer reads the side it went on from
Context.Side.
⚠️ Behavior changes
- Anchored layers flip by default. One that fits on neither side is shifted over its node, as before.
Changelog
✨ New Features
- b1d1c13: layers: float a layer past its overlay, and flip anchored ones (@lrstanley)
🧹 Misc
1 change
- df1f716: move viewport text, selection, and memo internals out of root (@lrstanley)
Full changelog: v0.0.0-alpha.3...v0.0.0-alpha.4
📦 Install
go get bloomfx.dev/bloom@v0.0.0-alpha.4Docs: bloomfx.dev/bloom
💬 What to do next?
- 🙋♂️ Running into an issue or want a specific feature? Take a look here!
- ⌚ Find previous releases.
- 🗝️ Find a vulnerability? Check out our Security and Disclosure policy.
- 🔗 Other useful links:
v0.0.0-alpha.3
✨ Highlights
MinSize:bloom.MinSize(w, h, child)drawschildwhen it has at leastw×hcells, and otherwise a
short centered note, such as "window too small, min 80x24".- Braille backdrop:
fx.Brailleredraws everything beneath a layer as gray braille dots that follow the shape of
what was there, turning cells to dots in a scattered order as the layer enters. - Scrollbar hover styles:
HoverStylesets how a scrollbar looks while the pointer is over it or it's being
dragged. Without one, it looks the same as it does otherwise.
⚠️ Breaking changes
ScrollbarNode.ThumbandScrollbarNode.Trackare replaced byStyle(bloom.ScrollbarStyle{...}), which takes the
glyph and style of both the thumb and the track. For example,.Thumb("┃", s)becomes
.Style(bloom.ScrollbarStyle{Thumb: "┃", ThumbStyle: s}).
Changelog
✨ New Features
- d446b73: add MinSize, a note in place of a layout the window is too small for (@lrstanley)
- 7b584ad: fx: add a braille backdrop (@lrstanley)
- aa6a5c1: scrollbar: change how a scrollbar looks under the pointer (@lrstanley)
🐞 Bug Fixes
- 4d4664b: docs: pin bun to 1.4.4 for the Cloudflare build (@lrstanley)
- 67c1b0c: docs: keep the exact import path redirects ahead of the splat (@lrstanley)
- dc171f4: scrollbar: keep a scrollbar's look under the pointer by default (@lrstanley)
📚 Documentation
- 2f1310b: give viewports, lists, selection, and sizing in Update their own pages (@lrstanley)
- 0a4da2c: frame the demos on gradients, with a drop shadow (@lrstanley)
🧹 Misc
- 9320bd5: replace the Makefile with a Taskfile, and add a release task (@lrstanley)
- ed6de12: docs: serve the dev and preview servers on all interfaces (@lrstanley)
- a2e194e: docs: deploy from Actions, and record the demos in the build (@lrstanley)
- 7d907e3: examples: hold on screens only while recording demos (@lrstanley)
- b0c72e9: examples: wait for each wheel step in the logs test (@lrstanley)
- 496a38a: task: skip the demo and docs tasks when their inputs are unchanged (@lrstanley)
📦 Dependency Updates
- 77d4c72: deps: bump steep to v0.0.0-alpha.11 (@lrstanley)
Full changelog: v0.0.0-alpha.2...v0.0.0-alpha.3
📦 Install
$ go get bloomfx.dev/bloom@v0.0.0-alpha.3💬 What to do next?
- 🙋♂️ Running into an issue or want a specific feature? Take a look here!
- ⌚ Find previous releases.
- 🗝️ Find a vulnerability? Check out our Security and Disclosure policy.
- 🔗 Other useful links: