@@ -986,6 +986,16 @@ export function DefaultToolbarContent(): JSX_2.Element;
986986export interface DefaultToolbarProps {
987987 // (undocumented)
988988 children? : ReactNode ;
989+ // (undocumented)
990+ maxItems? : number ;
991+ // (undocumented)
992+ maxSizePx? : number ;
993+ // (undocumented)
994+ minItems? : number ;
995+ // (undocumented)
996+ minSizePx? : number ;
997+ // (undocumented)
998+ orientation? : ' horizontal' | ' vertical' ;
989999}
9901000
9911001// @public (undocumented)
@@ -2169,12 +2179,24 @@ export function OpacitySlider(): JSX_2.Element | null;
21692179export function OvalToolbarItem(): JSX_2 .Element ;
21702180
21712181// @public (undocumented)
2172- export function OverflowingToolbar({ children }: OverflowingToolbarProps ): JSX_2 .Element ;
2182+ export function OverflowingToolbar({ children , orientation , sizingParentClassName , minItems , minSizePx , maxItems , maxSizePx , }: OverflowingToolbarProps ): JSX_2 .Element ;
21732183
21742184// @public (undocumented)
21752185export interface OverflowingToolbarProps {
21762186 // (undocumented)
21772187 children: React .ReactNode ;
2188+ // (undocumented)
2189+ maxItems: number ;
2190+ // (undocumented)
2191+ maxSizePx: number ;
2192+ // (undocumented)
2193+ minItems: number ;
2194+ // (undocumented)
2195+ minSizePx: number ;
2196+ // (undocumented)
2197+ orientation: ' horizontal' | ' vertical' ;
2198+ // (undocumented)
2199+ sizingParentClassName: string ;
21782200}
21792201
21802202// @public (undocumented)
@@ -2982,6 +3004,9 @@ export function TldrawUiButtonLabel({ children }: TLUiButtonLabelProps): JSX_2.E
29823004// @public (undocumented)
29833005export const TldrawUiButtonPicker: <T extends string >(props : TLUiButtonPickerProps <T >) => ReactElement ;
29843006
3007+ // @public
3008+ export const TldrawUiColumn: ForwardRefExoticComponent <TLUiLayoutProps & RefAttributes <HTMLDivElement >>;
3009+
29853010// @public (undocumented)
29863011export function TldrawUiComponentsProvider({ overrides , children , }: TLUiComponentsProviderProps ): JSX_2 .Element ;
29873012
@@ -3075,6 +3100,27 @@ export function TldrawUiMenuSubmenu<Translation extends string = string>({ id, d
30753100// @public (undocumented)
30763101export function TldrawUiMenuToolItem({ toolId , ... rest }: TLUiMenuToolItemProps ): JSX_2 .Element | null ;
30773102
3103+ // @public (undocumented)
3104+ export interface TldrawUiOrientationContext {
3105+ // (undocumented)
3106+ orientation: ' horizontal' | ' vertical' ;
3107+ // (undocumented)
3108+ tooltipSide: ' bottom' | ' left' | ' right' | ' top' ;
3109+ }
3110+
3111+ // @public (undocumented)
3112+ export function TldrawUiOrientationProvider({ children , orientation , tooltipSide , }: TldrawUiOrientationProviderProps ): JSX_2 .Element ;
3113+
3114+ // @public (undocumented)
3115+ export interface TldrawUiOrientationProviderProps {
3116+ // (undocumented)
3117+ children: ReactNode ;
3118+ // (undocumented)
3119+ orientation: ' horizontal' | ' vertical' ;
3120+ // (undocumented)
3121+ tooltipSide? : ' bottom' | ' left' | ' right' | ' top' ;
3122+ }
3123+
30783124// @public (undocumented)
30793125export function TldrawUiPopover({ id , children , onOpenChange , open , className }: TLUiPopoverProps ): JSX_2 .Element ;
30803126
@@ -3115,7 +3161,7 @@ export const TldrawUiToolbarToggleGroup: ({ children, className, type, ...props
31153161export const TldrawUiToolbarToggleItem: ({ children, className, type, value, tooltip, ... props }: TLUiToolbarToggleItemProps ) => JSX_2 .Element ;
31163162
31173163// @public (undocumented)
3118- export function TldrawUiTooltip({ children , content , side , sideOffset , disabled , } : TldrawUiTooltipProps ) : JSX_2 . Element ;
3164+ export const TldrawUiTooltip: React_3 . ForwardRefExoticComponent < TldrawUiTooltipProps & React_3 . RefAttributes < HTMLButtonElement >> ;
31193165
31203166// @public (undocumented)
31213167export interface TldrawUiTooltipProps {
@@ -3998,6 +4044,8 @@ export interface TLUiLayoutProps extends HTMLAttributes<HTMLDivElement> {
39984044 asChild? : boolean ;
39994045 // (undocumented)
40004046 children: ReactNode ;
4047+ // (undocumented)
4048+ tooltipSide? : ' bottom' | ' left' | ' right' | ' top' ;
40014049}
40024050
40034051// @public (undocumented)
@@ -4290,7 +4338,9 @@ export interface TLUiToolbarProps extends React_3.HTMLAttributes<HTMLDivElement>
42904338 // (undocumented)
42914339 label: string ;
42924340 // (undocumented)
4293- orientation? : ' grid' | ' horizontal' ;
4341+ orientation? : ' grid' | ' horizontal' | ' vertical' ;
4342+ // (undocumented)
4343+ tooltipSide? : ' bottom' | ' left' | ' right' | ' top' ;
42944344}
42954345
42964346// @public (undocumented)
@@ -5089,6 +5139,9 @@ export function useShowCollaborationUi(): boolean;
50895139// @public (undocumented)
50905140export function useTldrawUiComponents(): TLUiComponents ;
50915141
5142+ // @public (undocumented)
5143+ export function useTldrawUiOrientation(): TldrawUiOrientationContext ;
5144+
50925145// @public (undocumented)
50935146export function useToasts(): TLUiToastsContextType ;
50945147
0 commit comments