shinyMobile 0.8.0
shinyMobile 0.8.0
This release is to addresse the following reverse dependency issue with shiny. Moreover, it also starts the road to v1.0.0 (later this year).
Soft Deprecations
f7AddMessages()
will becomeupdateF7Messages()
in future releasef7HideNavbar()
andf7ShowNavbar()
will be replaced byupdateF7Navbar()
f7ShowPopup()
will becomeupdateF7Popup()
f7checkBox()
will becomef7Checkbox()
f7checkBoxGroup()
will becomef7CheckboxGroup()
f7ValidateInput()
will becomevalidateF7Input()
f7InsertTab()
andf7RemoveTab()
will becomesinsertF7Tab()
andremoveF7Tab()
,
respectivelyf7ShowPreloader()
andf7HidePreloader()
will becomeshowF7Preloader()
and
hideF7Preloader()
, respectively.f7Popover()
andf7PopoverTarget()
replaced byaddF7Popover()
andtoggleF7Popover()
create_manifest()
is going to be replaced by the workflow described here: https://unleash-shiny.rinterface.com/mobile-pwa.html#charpente-and-pwa-tools
Breaking changes
Inputs
updateF7Fabs()
: inputId becomes id
Layout
f7Appbar()
: left_panel becomes leftPanel and right_panel rightPanelf7Init()
removed. Now pass it through thef7Page()
optionsf7Navbar()
: left_panel becomes leftPanel and right_panel rightPanelf7Panel()
andupdateF7Panel()
: inputId becomes idf7InsertTab()
andf7RemoveTab()
: inputId becomes id
Cards
f7ExpandableCard()
andf7Card()
: img becomes imagef7SocialCard()
: author_img becomes image
Lists
f7ListItem()
: url becomes hreff7VirtualListItem()
: url becomes hrefupdateF7VirtualList()
: old_index and new_index become oldIndex and newIndex, respectively
Interactions
- session not mandatory in
f7Toast()
,updateF7Progress()
, ... and has been
swapped at the end of the parameters for more convenience f7Dialog()
: inputId becomes idupdateF7Sheet()
: inputId becomes id
Buttons
f7Link()
: external has been removed from (much simpler), src becomes hreff7Button()
: src becomes href
Others
- session swapped to the end in
f7Gauge()
and not mandatory. Default toshiny::getDefaultReactiveDomain()
f7Chip()
: icon_status becomes iconStatus, img becomes image- inputId becomes id in
f7Accordion()
andupdateF7Accordion()
- Remove
f7ProgressInf()
(useless) - Change
f7Swiper()
API. New options parameter f7PhotoBrowser()
is now called from the shiny server function. See help, id and
label have been removed- id mandatory for
f7Searchbar()
Major changes
- New
updateF7Entity()
- New
updateF7ActionSheet()
- New
addF7Tooltip()
andupdateF7Tooltip()
to generate tooltips from the server - New allowPWA parameter in
f7Page()
so that we doesn't oblige users to create a PWA f7Page()
has a new options parameter as replacement off7Init()
. Much simpler to handle- update framework7 from 5.5.0 to 5.7.14
- add
f7Menu()
,f7MenuItem()
,f7MenuDropdown()
,f7MenuDropdownDivider()
andupdateF7MenuDropdown()
: special buttons and dropdown elements, behaving like action buttons
Minor changes
- app instance accessible from anywhere is JS code
- New ... parameter for
f7PhotoBrowser()
- Add choices to
updateF7SmartSelect()
: thanks @Edireito - Add disconnect toast if
shiny:disconnect
occurs. Gives ability to reload or reconnect