Skip to content

Releases: sharkdp/purescript-flare

v0.4.3

02 Feb 21:07
Compare
Choose a tag to compare
  • PureScript 0.8 updates

v0.4.2

09 Jan 17:20
Compare
Choose a tag to compare
  • Added stringPattern
  • Generate unique IDs for Flare components, resolves #10

v0.4.1

04 Jan 20:07
Compare
Choose a tag to compare
  • Added fieldset to group components
  • Added setupFlare

v0.4.0

15 Dec 20:51
Compare
Choose a tag to compare
  • The signature of button has changed. It now takes two values of type a as arguments and yields a value of type a:
button :: forall a e. Label -> a -> a -> UI e a

The first is the default value if the button is not pressed and the second one is yielded when the button is pressed. The updated Example 13 shows a nice use case.

  • The new function
liftSF :: forall e a b. (Signal a -> Signal b) -> UI e a -> UI e b

can be used to lift functions from Signals to Flares, see Example 16.

v0.3.0

12 Dec 11:42
Compare
Choose a tag to compare
  • runFlare now expects the UI to contain a String instead of (Show a) -> a (@hdgarrood)
  • Similarly, select, radioGroup, buttons now expect a custom toString function
  • runFlareShow can be used for testing/debugging (analogous to the previous runFlare).
  • A new component buttons allows to add several buttons at once (returning a single output)

v0.2.1

11 Dec 23:48
Compare
Choose a tag to compare
  • Updated docs
  • Updated and new examples
  • Update build command (@Softsapiens)

v0.2.0

04 Dec 22:00
Compare
Choose a tag to compare
  • Use purescript-smolder as a HTML backend
  • Add radio groups (can be used instead of select)
  • Add optional, which returns a Maybe

v0.1.7

01 Dec 14:43
Compare
Choose a tag to compare
  • The returned values from int, intRange and numberRange are now guaranteed to lie within the corresponding range
  • Added runFlareWith for custom effectful UIs
  • Added runFlareS for string output
  • All child elements are cleared before the Flare UI is attached to a parent element
  • Updated dependencies

v0.1.6

28 Nov 21:35
Compare
Choose a tag to compare
  • Add NaN check for numberRange and intRange

v0.1.5

28 Nov 21:21
Compare
Choose a tag to compare
  • Added intRange and numberRange (renamed the sliders to intSlider and numberSlider)