Changes in version 0.0.90 - tip_on() puts a tip on an HTML tag: plain text, or a named template filled from a record. - tip_define() and tip_template() build and name templates, with tip_title(), tip_text(), tip_badge(), tip_fields() and tip_code() for the blocks. Placeholders are checked when the template is made. - tip_on() looks inside the tag for something that can take keyboard focus before it warns, so the div Shiny puts around an input no longer gets a warning (#32). - tip_on() gives an icon-only button, with no aria-label of its own, the words of a plain-text tip as its aria-label, so a screen reader has a name to read (#32). Engine 0.49.0 reads that name once: a tip that says the same as the tag's name is no longer also given as its description (#38). - tip_badge() takes status ("success", "warning", "danger" or "info"; any other word is an error) in place of tone. The badge is coloured from the page's Bootstrap colours by a few lines of CSS that come with the engine's dependency (#32). - tip_table() is an experimental spike that puts tips on the rows, cells and header cells of a DT::datatable() or reactable::reactable() table, drawn from each row's own values and following the data row through sorting, filtering and paging. Its shape may change (#36). Its id is a Shiny id, the same as tip_on()'s will be: one string with no whitespace, so ns() ids work, and every marked row, cell and header cell gets its own tip id derived from it (#41). The engine's kind of the tips is fixed (table_row, table_cell, table_header) and no longer set by id. - tip_table() tips now show for the keyboard: the table gets one tab stop and the arrow keys, Home and End move between the rows, cells and header cells that have a tip (#39). The tips of a reactable::reactable() table are now described to screen readers, and a description no longer stays behind with the old row when reactable reuses its rows after a sort or a page change (#39). The help page lists what was checked in a browser (DT with scrollX, scrollY, fixedHeader, colReorder, responsive and server mode; reactable with selection, groupBy and details), and what is not supported (#39). - tip_spec() (experimental) gives one tip_table() target its own settings, for now a placement: as rows, or as an entry of the named list given to cells or headers. A setting left as NULL is taken from tip_table(); a cell follows the table's placement, not its row's (#41). - use_hovercraft() gives the tip engine's script and CSS as an HTML dependency. - tip_theme() and use_hovercraft(style = ) set how the tips look: roles for light and dark (fill, words, border, code background, corner, shadow, typeface), a bslib::bs_theme(), or CSS variables (through tip_style(theme = )). The tip follows data-bs-theme, so it turns dark with bslib::input_dark_mode(). Words below 4.5:1 on their fill give a hovercraft_contrast warning. - The tip is now a shade of its page (Bootstrap's tertiary background with the page's text colour, in light and in dark), no longer the page inverted. A bslib::bs_theme() given to use_hovercraft(style = ) is read the same way, and the contrast check measures a role you leave out against that default. The bundled engine ships tip.json and its five preset files. - tip_style() bundles a preset, a theme and a class for the tip box, and tip_presets() lists the presets (tip_presets() and a preset name as style are stable; tip_style() is experimental). tip_on() and use_hovercraft() take it as style =, which also takes a preset name, "none", or one part of a style: a tip_theme() or a bslib::bs_theme(). A tag's style beats the page's, and a value set nearer wins, value by value. A bare list, or a string with : or ; such as "color: red", stops with an error that says what style takes (#34, #42). - use_hovercraft(theme = ) is now use_hovercraft(style = ), with no old argument kept (#42). - A page's theme is written on body and no longer on :root, so a page preset no longer overwrites it; the page's preset and class are written on the page as the engine's own attributes (#42). - tip_on(marker = ) (experimental) draws a visible cue on a tipped tag, off by default (NULL or "none"): "underline", "icon", "corner", a bare tag as a custom icon, or a tip_marker(). tip_marker(type, ..., line, icon) (experimental) chooses the line of an underline ("dotted", "dashed" or "wavy", a long gentle wave in the text's own colour; left out, it follows the tip preset) or gives an icon, added as a hidden child. The markers are drawn by their own small CSS file, attached only when a marker is used. The pointer over a marked tag is the help cursor (a hand when the tip can be pinned), and a marker is in the tag's text colour so it keeps its contrast in light and dark. - tip_table(marker = ) and tip_spec(marker = ) (experimental) draw a small corner triangle on the cells and header cells that have a tip, in DT and reactable tables, off by default. A tip_spec() marker beats the table's, and "none" takes it off one column. A row takes no marker, and "underline", "icon" and an icon of your own stop with an error for now. The triangle is a background, so it takes no room and leaves the sort arrows of a DT table alone (#48). - tip_table(style = ) and tip_spec(style = ) (experimental) give the tips of a table their look: a preset name, a tip_style(), a tip_theme() or a bslib::bs_theme(), as tip_on(style = ) takes. The style of a tip_spec() beats the table's part by part, and a row's own style also reaches its cells that have none of their own (#50). - tip_on(placement = ) chooses the side a tip opens on ("auto", "top", "bottom", "left" or "right"); left out, it is the page's choice, "auto" unless a tagged ancestor sets a side. tip_on(id = ) gives the tip a Shiny id, written with ns() in a module's UI (tip_table(id = ) takes the plain id and adds the prefix itself); it names the tip for tip_show(), tip_hide(), tip_update() and the hint input (#21, #50, #56). - The bundled tip engine is now 0.50.0. It adds a hint event, calls to show, hide, pin and close a tip, short and long forms of a tip, motion and size settings, and a tip for a natively disabled control with a reason; the calls to show and hide a tip, the hint, pin and copy events, the pin and the reason of a disabled control have an R side (#52, #56, #8, #13, #14). - tip_style() (experimental) gains motion ("fade", "slide" or "none"), gap, max_width and pin_width, checked against the ranges in the tip engine's contract and written on the page or on one tag like a theme; the nearest value wins, value by value, and a reader's reduced-motion setting always wins. There is no delay: the engine reads it only from the file of a preset (#54). - Two vignettes, "Get started with hovercraft" and "Themes and looks", and four articles on the website: tips in a Shiny app, tips on tables, a short tip with a long form, and the book. The website's reference is grouped by what you do, and the README is shorter and points to the guides (#188). - The tip has a small arrow pointing at its tag, on by default and drawn when its fill is opaque (#31). - tip_theme(font = ) now sets the engine's own tip font variable, so a theme's font beats the font of a preset (#31). - tip_template() stops with the "comes with a later version" error for a plain-list group or host block, or a block with the engine's new parent, kicker or meta fields, which have no R constructor yet; tip_template_fields() reads the title's new placeholders (#31). - The bundled tip engine is now 0.51.0. It marks an element while its tip is open and can anchor a tip on the element's content (#58). - tip_table() anchors the tip of every cell and header cell on its text, so a right-aligned number or header no longer gets a tip pointing at empty space. A row's tip still opens at the pointer. There is no argument for it (#58). - A marked tag (tip_on(marker = ), tip_table(marker = )) is highlighted while its tip is open: a soft tint on the words, the icon's tag or the cell, a glow round a bslib::value_box(). There is no argument for it (#58). - tip_show(), tip_hide() and tip_update() (experimental) open, close and change a tip from a Shiny server function, by the tip's id (the id given to tip_on() or the tag's own id), or, for a tip_table() tip, by the table's id with row = and column =. They take the module's namespace from session. tip_hide() closes a hint and never a pin. tip_update() rewrites text, template, record (which needs its template in the same call) or placement; an open tip draws its new words at once and a new placement is used the next time it opens (#56). - tip_on(events = ) (experimental) asks for a Shiny input: "hint" sends input$_hint, a list of state, text, by, via, reason, each time the tip opens or closes. It is off unless asked for, since it sends a message on every hover. "pin" and "copy" send the pin and the Copy press as well (#56, #14). - The bundled tip engine is now 0.52.0. It adds a pin set by hand, a part mark, a class for the reason line and a by and via option on pin(); tip_on(pin = ) uses the manual pin, the part mark and by and via on pin() (#62, #13). - tip_on(when_disabled = ) (experimental) gives a control that is switched off a reason: while it is disabled, its tip says "Not available:" and the reason, with a small lock before it, and when it is enabled again the reason goes and the control's own tip shows as usual. It works for a control disabled when the page is built and for one switched off later by the update*(disabled = ) functions of Shiny, by script or by a disabled fieldset, on a Bootstrap 5 page and on the Bootstrap 3 page of a plain fluidPage(). The control is put in a small wrapper that is a tab stop only while the control is disabled, since a disabled control takes no keyboard focus and, under Bootstrap 5, no pointer: a button's wrapper has the role of a button and any other control's is a group named by its label. Focus moves to the wrapper when a focused control is switched off, and back when it is switched on. The wrapper takes the control's width and its place in a flex row; a control inside a btn-group or input-group, and a control disabled by aria-disabled alone, are not covered. tip_on() called again on the wrapper replaces the tip whole and keeps one wrapper when it is given a new reason (without one, the bare control comes back); a reason of blanks is an error, and a marker without a tip of its own is left off with a warning (#8). - tip_output(output, keep_alive = TRUE) (experimental) puts any Shiny output inside a tip_template() — plots, DT, reactable, gt or uiOutput(). With keep_alive = TRUE closing the tip parks the bound output in a hidden holder and refreshes its visibility when shown again; keep_alive = FALSE unbinds and destroys it on close. Works with a shinycssloaders loader without clashing (waiter and bones are expected to work and are untested), shows loading, error with Retry and empty states, and keeps tip markup deterministic for shiny::bindCache(). Retry re-runs a render that reads input$_retry; otherwise the tip goes back to the error state. The help page shows how one output follows the open item of several (#63). - tip_template() gains named head, body and foot slots, with foot separated by a subtle divider; tip_define() accepts Shiny ns() module-namespaced template names (and dynamic dots via !!ns("name") :=) so two copies of one module keep their own templates; and tip_badge(status = ) accepts a placeholder such as "{{ status }}" filled from the record (#65). - use_hovercraft(max_pins = , keys = ) (experimental): max_pins keeps up to 10 pinned tips open (the default, 1, is one at a time; at the limit the oldest closes), and keys switches the letter keys off, keys = FALSE for all or keys = c(pin = FALSE) for one (a key left out stays on; Escape always closes; more is the M key of tip_more()). The number goes to the page in a dependency of its own, given only when max_pins or keys is written (even max_pins = 1), and a second, different number or key setting warns in the browser's console and the first holds. tip_table(max_pins = ) gives a table's rows a count of their own, outside the app's: a row pinned past it closes that table's oldest pin and no other. It needs id and a rows spec that pins. All pins open together cannot pass the engine's cap of 10, and on a viewport narrower than 600 pixels the engine keeps one pin at a time (a bottom sheet). A pin that a table's own count closes reports as the engine's limit does (reason "replaced"). A pinned tip_output() finds its item by the tip's id, so several pins can share one output. With several pins open, each pinned tip that has a long form has its own More / Less button, and the M key acts on the pinned tip that holds the focus (#98). - tip_on() and tip_spec() gain more for a short tip and a long one. more takes markdown words (with placeholders), a tip_template() or a tip_more(); tip_more(on = "pin") without a tag that can pin and an id stops with a classed error. Pinning a short tip whose long form shows on a pin (tip_more(on = "pin")) smoothly grows the box into its long form while keeping its arrow, placement, theme and focus intact, and disables animation under reduced motion (#57). - tip_table(rows = , cells = , headers = ) takes a tip_output() given by id and parks it from the table's own script; one given as a tag stops with an error that says to put the tag in the UI. In a table, tip_spec(more = ) holds the long form behind a "More" button, as tip_on() does; tip_more(on = "pin") stops with an error anywhere but the spec for rows of a table with pin = TRUE (#63, #57). - tip_badge(status = ) takes a placeholder only as the whole value: "pre {{ tone }}" stops with the status error instead of always drawing a plain badge (#57, #65). - A pinned tip with a long form starts the long form with a hairline, as the hover form does (also when the "More" button opens it), and clips its box while it grows, so the long form no longer draws outside the box. The output a more template holds is put in the page's body by the script, not written into the head (#57). - tip_show(), tip_hide() and tip_update() (experimental) take row and column for the tips of a tip_table(): row alone is a row, row and column a cell, column alone a header cell. row is the position of the row in the data the table has now; column is a data column's name or position (the row names of a reactable are not one). A name that is not a column of a table already drawn is an error that lists the columns; a name given before the table's first draw is read when the call is sent, and warns (class hovercraft_warning_table) and sends nothing if it is still not a column. In tip_update(), NULL now leaves a value as it is, NA takes it away and "" clears the text, and tip_update(id, text = NULL) alone is an error, since there is nothing to change. In the three calls, session now comes after ..., which must be empty. Every call is sent when the flush that follows it is done, and asks for that flush, so tip_show() in the same observer as the renderUI() that draws the tag reaches the new tag, and a call from a later callback is sent too. No server call pins a tip or closes a pin (#114). - tip_on() has rules a frozen API needs. A second call on a tag replaces the old tip whole, id, events, pin and when_disabled included, and warns once (class hovercraft_warning_retip) when the old tip had an id, events or a pin and the new call names none of id, events and pin (pin = FALSE counts as naming it). pin = "click" stops with an error on a control or a tag that holds one, and says to use pin = TRUE. events = "pin" or "copy" without a pin, a list of CSS variables in the style of one tag, and anything but one tag as tag stop with an error (a tab's title is the way out). A tag with a title attribute keeps it and warns (class hovercraft_warning_title). template takes a tip_template() as well as a name, and text fills its {{ field }} placeholders when record is given, so {{ }} in the text is live with a record and stays as written without one. A CSS-variable list in the style of a tip_spec() or a tip_table() is an error too (#112). - tip_on(pin = ) (stable, one pinned tip at a time) lets a reader keep a tip open. pin = TRUE draws a small pin button in the top-right corner of the tip, on the same line as a one-sentence tip, and gives the keyboard a pin key, P, that the tagged item announces as aria-keyshortcuts and that works while the tagged item has the focus or the pointer rests on it (the item under the pointer wins when the focus is on another), never while the focus is in a field, and pins once when held down; a page switches it off for every reader with use_hovercraft(keys = FALSE), there is no switch for one reader (#132); a click, a key or a tap on the item itself never pins, so a row that selects itself keeps selecting. pin = "click" is the engine's classic pin, where a click on the item pins too. A pin needs an id and a tag that the engine can pin (not a link, a submit button or a field). The pinned tip keeps the engine's own close button. - tip_on(events = ) now takes "pin" and "copy" as well as "hint": input$_pin holds state, text, by, via and reason of a pin, and input$_copy the field, block, ok, by and via of a Copy press, the same in modules and sent only when asked (#14). - tip_code(copy = TRUE) is accepted: a code block in a pinned tip has a Copy button, which also works on a page that is not served over https (#13). - use_hovercraft(), tip_define() and every tag that has a tip no longer write inline