0.1.33 • Published 4 months ago
grevlingui v0.1.33
Grevlingui
Gui elements for basic mobile web app stuff
Components:
- Menu
- SettingsButton
- MenuButton
- RadioButton
- RadioGroup
- CheckBox
- ToggleSwitch
Props:
Some are passed down to child components
Menu
- onCloseClickOverride
- callback function allowing reuse of close menu button
- shouldCloseOnClick
- callback function to "validate" whether the click should cause the menu to close
- transitionTime
- default 400
- zIndex
- the lowest z-index, there are different levels
- default 2
- color
- bgColor
- menuBgColor
- overrides bgColor
- backdropColor
- color for the backdrop on partial slider menu
- default #e3e6e850
- settings
- boolean, whether to use settings icon
- default falsy
- renderButton
- render function for custom button
- className
- extra class names for the menu
- fullSlider
- boolean, whether the slider menu should cover the entire available width
- default falsy
- fader
- boolean, whether the menu should fade instead of sliding in from the side
- left
- boolean, makes the menu slide in from the left instead of the right
- default falsy
SettingsButton / MenuButton
- open
- boolean, whether to display as a close button
- setOpen
- callback function to set the open state
- transitionTime
- in ms
- default 300
- stageDelay
- delay between the 2 "stages" in the animation
- default 100
- color
- default 'white'
- backgroundColor
- styles
- style override for the button
- className
- extra class names for the button
- rounding
- SettingsButton only
- how rounded the icon should be
RadioButton
- todo
RadioGroup
- todo
CheckBox
- todo
ToggleSwitch
- todo
0.1.33
4 months ago
0.1.30
9 months ago
0.1.32
9 months ago
0.1.27
9 months ago
0.1.28
9 months ago
0.1.29
9 months ago
0.1.24
9 months ago
0.1.25
9 months ago
0.1.26
9 months ago
0.1.20
1 year ago
0.1.21
1 year ago
0.1.22
1 year ago
0.1.23
1 year ago
0.1.16
1 year ago
0.1.17
1 year ago
0.1.18
1 year ago
0.1.19
1 year ago
0.1.11
2 years ago
0.1.12
2 years ago
0.1.13
2 years ago
0.1.14
2 years ago
0.1.15
2 years ago
0.1.10
2 years ago
0.1.9
2 years ago
0.1.8
2 years ago
0.1.7
2 years ago
0.1.6
2 years ago
0.1.5
2 years ago
0.1.4
2 years ago
0.1.3
2 years ago
0.1.2
2 years ago
0.1.1
2 years ago
0.1.0
2 years ago
0.0.1
2 years ago