mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-25 05:02:57 +01:00
Add missing exports
This commit is contained in:
parent
9798306f0e
commit
2b1f13a109
@ -27,7 +27,7 @@ export const hideTooltipOnEsc = {
|
|||||||
/**
|
/**
|
||||||
* Prevents the tooltip from staying open when the breadcrumbs expand and push the toggle button in the layout
|
* Prevents the tooltip from staying open when the breadcrumbs expand and push the toggle button in the layout
|
||||||
*/
|
*/
|
||||||
const hideTooltipOnBreadcrumbExpandAndCollapse = {
|
export const hideTooltipOnBreadcrumbExpandAndCollapse = {
|
||||||
name: 'hideTooltipOnBreadcrumbAndCollapse',
|
name: 'hideTooltipOnBreadcrumbAndCollapse',
|
||||||
fn({ hide }: Instance) {
|
fn({ hide }: Instance) {
|
||||||
function onBreadcrumbExpandAndCollapse() {
|
function onBreadcrumbExpandAndCollapse() {
|
||||||
@ -62,7 +62,7 @@ const hideTooltipOnBreadcrumbExpandAndCollapse = {
|
|||||||
/**
|
/**
|
||||||
* If the toggle button has a toggle arrow, rotate it when open and closed
|
* If the toggle button has a toggle arrow, rotate it when open and closed
|
||||||
*/
|
*/
|
||||||
const rotateToggleIcon = {
|
export const rotateToggleIcon = {
|
||||||
name: 'rotateToggleIcon',
|
name: 'rotateToggleIcon',
|
||||||
fn(instance: Instance) {
|
fn(instance: Instance) {
|
||||||
const dropdownIcon = instance.reference.querySelector('.icon-arrow-down');
|
const dropdownIcon = instance.reference.querySelector('.icon-arrow-down');
|
||||||
|
Loading…
Reference in New Issue
Block a user