This release also fixes an issue with R CMD check and htmltools
f7Dialog()has a fixed height of 300px and vertical overflow to avoid issues.
f7SearchBar()to provide more configuration. Fixes #47: thanks @rodrigoheck.
f7Gauge(). Fixes #84: thanks @tanho63.
f7Gauge()JS code (no user impact).
insertF7Tab()are losing reactivity.
f7DatePicker()visibility issue. Thanks @styvens.
f7Button()with link not working. Thanks @bwganblack.
f7SmartSelect()on selection. Thanks @dewalex.
This release is to addresses the following reverse dependency issue with shiny. Moreover, it also starts the road to v1.0.0 (later this year).
updateF7Messages()in future release
f7ShowNavbar()will be replaced by
create_manifest()is going to be replaced by the workflow described here: https://unleash-shiny.rinterface.com/mobile-pwa.html#charpente-and-pwa-tools
updateF7Fabs(): inputId becomes id
f7Gauge()and not mandatory. Default to
f7Chip(): icon_status becomes iconStatus, img becomes image
f7Swiper()API. New options parameter
f7PhotoBrowser()is now called from the shiny server function. See help, id and label have been removed
updateF7Tooltip()to generate tooltips from the server
f7Page()so that we doesn’t oblige users to create a PWA
f7Page()has a new options parameter as replacement of
f7Init(). Much simpler to handle
updateF7MenuDropdown(): special buttons and dropdown elements, behaving like action buttons
f7SmartSelect(): type param becomes openIn to align with other inputs
f7Messages(): messages are updated on the server side with
f7MessageBar()to send messages from the server side.
f7ActionSheet(): to access the currently selected button, use input$[sheet_id]_button. This is to make action sheets compatible with shiny modules. Moreover, the buttons provided must be included in a list (not in a dataframe)
f7Sheet()is still inserted in the UI side but can be triggered either on the server side in combination with
updateF7Sheet()(see example) or on the UI side. Overall, this improves flexibility since user may choose any trigger element. In practice, any element having
data-sheetpointing to the sheet id as well as the “sheet-open” css class may open it, instead of having a default trigger contained in the sheet. A use case may be to open a sheet in the tabbar (the trigger would be a
f7TabLink()that is a special button styled for the tabbar)
sessionis now optional and has been moved to the last position in function call
f7AutoComplete(): type becomes openIn to align with the framework7 documentation
f7Popup(). It has now an input associated giving the popup state (opened or closed) as well as new parameters: backdrop, closeByBackdropClick, closeOnEscape, animate and swipeToClose. label parameters has been removed. To create an
f7Popup()tag in you UI. On the server side call
f7TogglePopup(). See documentation for a detailed example. Thanks @pasahe
f7Gauge()valueText was removed. It does not make sense that the value can be accidentally different from the text displayed. valueText is then an internal parameter.
f7DatePicker(): min becomes minDate, max becomes maxDate and format becomes dateFormat
input$lastInputChanged(see shinyMobile tools vignette for more details)
f7SmartSelect()has input binding as well as an update function
updateF7VirtualList(): high performance list with caching system -> faster rendering (up to 10x faster than
f7List()). Ability to add item(s), remove item(s), move item, filter items, …
f7TabLayout(). This allows to use the
f7Messagebar()in a tabs layout configuration.
f7ValidateInput()function to validate input from the server side (similar to shinyFeedback but internal to shinyMobile and without dependencies)
updateF7Login()feature to provide UI boilerplates for authentication
f7Tabs()may be used as standalone components with the style argument (segmented or strong). toolbar has the default behavior.
f7Icon()and icons dependencies. thanks @pvictor
updateF7DatePicker(): thanks @pvictor
f7Fabs()to get the status of the container
f7Init(). Pull the screen from top to bottom fires
input$ptrwhich becomes TRUE. When the pull to refresh event is finished,
input$ptris NULL. Useful to trigger events in an observeEvent
updateF7Select(): thanks @Seyphaton for the suggestion
f7TogglePopup()to close/open a
f7Popup(). Thanks @pasahe
preview_mobile(): function that previews your app in a seleted range of devices (iphone, samsung, htc, …)
f7File()for file upload. See shiny
f7DownloadButton()to work properly with the shiny
downloadHandlerfunction. Thanks @bwganblack for the report
f7Init()to control the delay necessary to trigger a long press (default to 750 ms)
updateF7TextArea()on the server side
f7TabLink()(special link to insert in
f7Tabs()that may open a
f7Popup()+ rewrite js binding. Thanks @pvictor
f7DatePicker(): direction, openIn, scrollToInput, closeByOutsideClick, toolbar, toolbarCloseText, header and headerPlaceholder
updateF7Gauge(). Thanks @rodrigoheck for the suggestion
f7Slider()to prevent wrong behaviour when used in
f7Select()does not rely anymore on the shiny selectInput binding (does not have impact on user experience)
f7Tab(): allows to navigate through hidden tabs without displaying them in the tab menu. Thanks @rodrigoheck
updateF7Picker(): rotateEffect, openIn, scrollToInput, closeByOutsideClick, toolbar, toolbarCloseText and sheetSwipeToClose
f7Slider()labels (remove enableLabels param)
f7Stepper(): add 2 more parameters (decimalPoint and buttonsEndInputMode)
f7Init(). This improves perfomances on old devices
f7SingleLayout()example (replace sliderInput by f7Slider)
f7SplitLayout()example (replace sliderInput by f7Slider)
updateF7AutoComplete: text input was not updated. Thanks @sanchez5674 for the report
f7Page(). Thanks @ pvictor
f7Sheet()wrong css style applied when multiple sheets are in the same app
f7Tabs(): if one put
f7Tab()in a parent
f7Tabs(), the input binding was giving the wrong tab for the top level tabset (once we clicked in the tab containing the sub-tabset).
f7RemoveTab()when swipeable is TRUE
f7Tabs()on click. This allows to use
f7Tabs()without swipeable and animated
f7Panel()(need to provide the
f7Swipeout()to make the current tab swipping if in
f7Fab()label white background color in dark mode
f7Navbar()would center the body content on scroll, due to a css conflict
f7TabLayout(): When setting value of a slider in a swipeable f7TabLayout it cause the tab to be swip. This describe here : framework7io/framework7#2603. Thanks @pvictor
f7DatePicker()format for months. Thanks @kmaheshkulkarni
f7DatePicker(): the viewport does not scroll to input by default
f7Popup(). Thanks @pasahe
f7Popup()triggers shiny output rendering. Thanks @pasahe
updateF7Gauge()-> wrong fraction for semi circle gauges.
f7Stepper(): some options were not properly initialized (max, min, …)
f7Slider()example 2: wrong argument in help
f7Icon()example: wrong function name
f7Sheet(): hiddenItems is NULL by default