Releases: xsoulspace/vuefer
v0.8.5
experimental build
v0.8.4
feat: # as path alias for example project
v0.8.3
experimental build
v0.8.2
fix: build command
v0.8.1
fix: declaration files and css
v0.8.0
v0.8.0
BREAKING CHANGE: Now package name is Vuefer
. vue_flutter_tailwind
will be deprecated as it will reach stable version.
BREAKING CHANGE: Webpack replaced with Vite
BREAKING CHANGE: MultiProvider.create
replaced to MultiProvider.build
BREAKING CHANGE: Scaffold({})
now builds as Scaffold.build({})
BREAKING CHANGE: Alignment.toOverlay
no is Alignment.overlay
feat: Navigation push now can align Dialog(route) window
feat: Drawer
feat: AppBar
feat: Scaffold now has drawer and appBar
To use Drawer you must first initialize somewhere above Navigation
with NavigationContorller
as below:
MultiProvider.build({
models: [NavigationController],
child: Navigation({
child: ...,
}),
})
To open Drawer use
Scaffold.openDrawer()
To close Drawer use
Scaffold.closeDrawer()
Scaffold.build({
drawer: Drawer({
child: Column({
children: [
Text({
text: ref('Drawer header'),
}),
],
}),
}),
appBar: AppBar({
leading: ElevatedButton({
child: Text({
text: ref('='),
}),
onTap: () => {
Scaffold.openDrawer()
},
}),
title: Text({
text: ref('Title'),
}),
actions: [
ElevatedButton({
child: Text({
text: ref('a'),
}),
}),
ElevatedButton({
child: Text({
text: ref('b'),
}),
}),
ElevatedButton({
child: Text({
text: ref('c'),
}),
}),
],
}),
body: Home(),
})
v0.7.2
BREAKING CHANGE: DropdownButton and DropdownMenuItem title now is ref
BREAKING CHANGE fix: typo MutliDropdownController to MultiDropdownController
v0.7.1
fix: relative paths
v0.7.0
feat: MultiDropdownButton
Usage:
Create controller in setup or anywehere and
give generic type to use
const IndexedText {
id: string
text: string
}
const multiDropdownController = new MutliDropdownFieldController<IndexedText>(
{ keyofValue: 'id' }
)
Then use MultiDropdownButton with DropdownMenuItem in items
to make it work
MultiDropdownButton({
controller: multiDropdownController,
items: dropdownItems.map((el) =>
DropdownMenuItem({
child: Text({
text: ref(el.text),
}),
value: el,
key: el.id,
title: el.text,
})
),
}),
To get or change selected values use:
controller.value
v0.6.16
fix: double grid items