Skip to content

Releases: foliage-ui/foliage

v0.201.0

02 Oct 23:37
Compare
Choose a tag to compare

Features

  • stylis bundled into sources and dist, to fix mjs bundle error 73aa94f

v0.200.1

16 Sep 14:49
Compare
Choose a tag to compare
v0.200.1 Pre-release
Pre-release
  • added mjs build to add support for CRA

v0.200

16 Sep 14:48
Compare
Choose a tag to compare
v0.200 Pre-release
Pre-release
  • upgrade to effector 22

v0.1.0

29 May 23:34
Compare
Choose a tag to compare
v0.1.0 Pre-release
Pre-release

The simple release allows reference to other components:

import {styled} from 'leafs'
import {h} from 'forest'

const Button = styled.button`
  color: red;
`

const Group = styled.div`
	${Button} {
		color: green;
	}
`

h('div', () => {
	Group({
		fn() {
			Button({ text: "I am green" })
		}
	})
	Button({ text: "I am red" })
})