fix: intercom bubble positioning with bulk action bars (#5952)
* fix: intercom bubble positioning + action bar positioning with app sidebar * fix: docs * del: story
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import type { Ref } from 'vue'
|
||||
import type { ComputedRef, Ref } from 'vue'
|
||||
|
||||
import { createContext } from '.'
|
||||
|
||||
@@ -6,6 +6,15 @@ export interface PageContext {
|
||||
// pages may render sidebar content in #sidebar-teleport-target instead of in the main layout when true
|
||||
hierarchicalSidebarAvailable: Ref<boolean>
|
||||
showAds: Ref<boolean>
|
||||
floatingActionBarOffsets?: {
|
||||
left: Ref<string> | ComputedRef<string>
|
||||
right: Ref<string> | ComputedRef<string>
|
||||
}
|
||||
intercomBubble?: {
|
||||
width: Ref<number> | ComputedRef<number>
|
||||
horizontalPadding: Ref<number> | ComputedRef<number>
|
||||
requestVerticalClearance: (id: symbol, clearance: number | null) => void
|
||||
}
|
||||
featureFlags?: {
|
||||
serverRamAsBytesAlwaysOn?: Ref<boolean>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user